hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
8717fa6c5c9e817c4ca717c8e22ee978ed977b16
23
py
Python
test/test.py
dhiabenfraj/Qget
27f17ee6559e492e74533ed64b73488c353cf269
[ "MIT" ]
1
2021-07-07T21:58:26.000Z
2021-07-07T21:58:26.000Z
test/test.py
dhiabenfraj/Qget
27f17ee6559e492e74533ed64b73488c353cf269
[ "MIT" ]
null
null
null
test/test.py
dhiabenfraj/Qget
27f17ee6559e492e74533ed64b73488c353cf269
[ "MIT" ]
null
null
null
from ..core import test
23
23
0.782609
4
23
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
87187b29e35e40077fcb6a48e16e33514906d5d1
43
py
Python
Chapter12/run.py
shalevy1/Flask-Framework-Cookbook-Second-Edition
e219c3c243f147fa6ebd09c114b08ea2b9109cfa
[ "MIT" ]
42
2019-07-21T09:10:17.000Z
2022-02-21T01:12:18.000Z
Chapter12/run.py
shalevy1/Flask-Framework-Cookbook-Second-Edition
e219c3c243f147fa6ebd09c114b08ea2b9109cfa
[ "MIT" ]
2
2019-09-11T16:17:06.000Z
2021-03-01T18:46:20.000Z
Chapter12/run.py
shalevy1/Flask-Framework-Cookbook-Second-Edition
e219c3c243f147fa6ebd09c114b08ea2b9109cfa
[ "MIT" ]
45
2019-07-17T22:50:28.000Z
2022-03-23T13:52:59.000Z
from my_app import app app.run(debug=True)
14.333333
22
0.790698
9
43
3.666667
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.116279
43
2
23
21.5
0.868421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
87192a28aca8f78c8355f87ba88d4a61c81e47b6
722
py
Python
hamming.py
aakp10/Malice-and-Bytes
f6e1b6e72466b64476e6c4cc6dfd1021c9657644
[ "MIT" ]
null
null
null
hamming.py
aakp10/Malice-and-Bytes
f6e1b6e72466b64476e6c4cc6dfd1021c9657644
[ "MIT" ]
null
null
null
hamming.py
aakp10/Malice-and-Bytes
f6e1b6e72466b64476e6c4cc6dfd1021c9657644
[ "MIT" ]
null
null
null
''' calculate the hamming or the bit diff useful in deciding the key length for repeating XOR ''' def str_to_bytes(str,base): byte_array = bytearray() byte_array.extend([ord(ch) for ch in str]) return byte_array def calc_hamming(str1,str2): bits1 = str_to_bytes(str1,1) bits2 = str_to_bytes(str2,1)...
24.896552
51
0.531856
117
722
3.188034
0.418803
0.040214
0.080429
0.032172
0.037534
0
0
0
0
0
0
0.052301
0.33795
722
29
52
24.896552
0.728033
0.123269
0
0.095238
0
0
0.044728
0
0
0
0
0
0
1
0.095238
false
0
0
0
0.142857
0.190476
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
871991dad63c4ad8fa8f544adf07fd38c0c561b5
23,486
py
Python
elijah/provisioning/migration_profile.py
cmusatyalab/nephele
2309aa9c943300c5a1a0c6be8877902f0d4df102
[ "Apache-2.0" ]
3
2020-05-07T12:05:24.000Z
2021-09-26T23:26:30.000Z
elijah/provisioning/migration_profile.py
cmusatyalab/nephele
2309aa9c943300c5a1a0c6be8877902f0d4df102
[ "Apache-2.0" ]
3
2020-03-26T14:09:15.000Z
2020-03-27T18:43:35.000Z
elijah/provisioning/migration_profile.py
cmusatyalab/nephele
2309aa9c943300c5a1a0c6be8877902f0d4df102
[ "Apache-2.0" ]
1
2021-09-26T23:26:34.000Z
2021-09-26T23:26:34.000Z
#!/usr/bin/env python import sys import os import ast import json import math from collections import OrderedDict from .configuration import VMOverlayCreationMode from operator import itemgetter import logging LOG = logging.getLogger(__name__) _process_controller = None stage_names = ["CreateMemoryDeltalist", ...
38.755776
201
0.616495
2,973
23,486
4.529432
0.111335
0.018194
0.020422
0.008911
0.372122
0.303728
0.262364
0.205778
0.154612
0.114659
0
0.021034
0.283403
23,486
605
202
38.819835
0.779085
0.037299
0
0.183752
0
0.007737
0.07678
0.017933
0
0
0
0
0
0
null
null
0.007737
0.017408
null
null
0.015474
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8719938f2c021c751d1427c2cfe910776b37f843
410
py
Python
tests/test_types.py
biosustain/gnomic
a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e
[ "Apache-2.0" ]
9
2015-07-13T14:15:11.000Z
2020-11-20T18:42:08.000Z
tests/test_types.py
biosustain/gnomic
a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e
[ "Apache-2.0" ]
33
2015-06-19T08:47:19.000Z
2017-09-04T11:30:39.000Z
tests/test_types.py
biosustain/gnomic
a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e
[ "Apache-2.0" ]
4
2015-10-15T19:10:54.000Z
2020-01-22T09:53:18.000Z
from gnomic.types import Feature as F, Fusion def test_fusion_contains(): assert Fusion(F('a'), F('b'), F('c'), F('d')).contains(Fusion(F('b'), F('c'))) is True assert Fusion(F('a'), F('b'), F('c'), F('d')).contains(Fusion(F('a'), F('c'))) is False assert Fusion(F('a'), F('b'), F('c'), F('d')).contains(F(...
45.555556
91
0.541463
78
410
2.820513
0.25641
0.190909
0.181818
0.204545
0.636364
0.636364
0.636364
0.636364
0.636364
0.636364
0
0
0.139024
410
8
92
51.25
0.623229
0
0
0
0
0
0.053659
0
0
0
0
0
0.666667
1
0.166667
true
0
0.166667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
6
871a0f66beb18391f97445d37118a2ad38b7fddc
2,540
py
Python
network/MySourceFiles/talkback/bot.py
dstack4273/new-coder_tutorials
658344fdeca6ab3957dfe6646e5ac9b75ce07c94
[ "Zlib" ]
null
null
null
network/MySourceFiles/talkback/bot.py
dstack4273/new-coder_tutorials
658344fdeca6ab3957dfe6646e5ac9b75ce07c94
[ "Zlib" ]
null
null
null
network/MySourceFiles/talkback/bot.py
dstack4273/new-coder_tutorials
658344fdeca6ab3957dfe6646e5ac9b75ce07c94
[ "Zlib" ]
null
null
null
from twisted.internet import protocol from twisted.python import log from twisted.words.protocols import irc class TalkBackBot(irc.IRCClient): def connectionMade(self): """ called when a connection is made to a channel """ self.nickname = self.factory.nickname self.realname = self.factory....
35.277778
79
0.58622
270
2,540
5.5
0.344444
0.056566
0.035017
0.032323
0.041751
0
0
0
0
0
0
0.001145
0.312205
2,540
71
80
35.774648
0.848884
0.13189
0
0.076923
0
0
0.090951
0
0
0
0
0
0
1
0.115385
false
0
0.057692
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
871a37c41806f2818d221df8fdda465761e012df
1,034
py
Python
bluesky_widgets/examples/headless_figures.py
carez/bluesky-widgets
193db00e47d8ddf40a5eb68073a49545771ca8e4
[ "BSD-3-Clause" ]
4
2020-07-16T20:51:10.000Z
2021-08-04T20:21:50.000Z
bluesky_widgets/examples/headless_figures.py
danielballan/stream-widgets
8f5e8cec0cd08f6f3e6e17a3467818c85e643f56
[ "BSD-3-Clause" ]
124
2020-07-17T12:21:13.000Z
2022-03-30T13:44:31.000Z
bluesky_widgets/examples/headless_figures.py
danielballan/stream-widgets
8f5e8cec0cd08f6f3e6e17a3467818c85e643f56
[ "BSD-3-Clause" ]
18
2020-07-16T20:36:45.000Z
2021-09-12T17:33:43.000Z
""" Run like: python -m bluesky_widgets.examples.headless_figures and it will print to stdout the names of the figures that it creates, one per line """ import tempfile from bluesky import RunEngine from bluesky.plans import scan from ophyd.sim import motor, det from bluesky_widgets.utils.streaming import stream_do...
24.619048
82
0.77176
153
1,034
5.065359
0.529412
0.085161
0.092903
0.059355
0
0
0
0
0
0
0
0.00885
0.125725
1,034
41
83
25.219512
0.848451
0.141199
0
0
0
0
0.030682
0
0
0
0
0
0
1
0.045455
false
0
0.363636
0
0.409091
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
871a590c93d4835bfac72b7e64433be0acb694e7
3,273
py
Python
clue/tests/test_idea.py
limor-gs/clue
9fe2939fbb84edc6039048d618175f279f9ee3cb
[ "Apache-2.0" ]
2
2016-11-02T10:25:06.000Z
2017-02-27T11:23:07.000Z
clue/tests/test_idea.py
limor-gs/clue
9fe2939fbb84edc6039048d618175f279f9ee3cb
[ "Apache-2.0" ]
4
2016-02-28T13:10:59.000Z
2016-10-13T10:04:08.000Z
clue/tests/test_idea.py
limor-gs/clue
9fe2939fbb84edc6039048d618175f279f9ee3cb
[ "Apache-2.0" ]
7
2016-02-04T19:34:06.000Z
2017-07-18T08:45:26.000Z
######## # Copyright (c) 2016 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
41.961538
74
0.618698
384
3,273
5.164063
0.320313
0.060514
0.0706
0.045386
0.129097
0.066566
0.037317
0
0
0
0
0.016539
0.242591
3,273
77
75
42.506494
0.78338
0.180874
0
0.035088
0
0
0.208916
0.078202
0
0
0
0
0.350877
1
0.035088
false
0
0.017544
0
0.070175
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
871ea6889558ac7fd27492a315a3703dfd534985
435
py
Python
examples/docs_snippets/docs_snippets_tests/deploying_tests/test_dask.py
abkfenris/dagster
7f35164535200cf904a4fdb18af207ccad09ad68
[ "Apache-2.0" ]
null
null
null
examples/docs_snippets/docs_snippets_tests/deploying_tests/test_dask.py
abkfenris/dagster
7f35164535200cf904a4fdb18af207ccad09ad68
[ "Apache-2.0" ]
null
null
null
examples/docs_snippets/docs_snippets_tests/deploying_tests/test_dask.py
abkfenris/dagster
7f35164535200cf904a4fdb18af207ccad09ad68
[ "Apache-2.0" ]
null
null
null
from dagster.core.test_utils import instance_for_test from docs_snippets.deploying.dask_hello_world import ( # pylint: disable=import-error local_dask_job, ) def test_local_dask_pipeline(): with instance_for_test() as instance: result = local_dask_job.execute_in_process( instance=instanc...
29
86
0.71954
56
435
5.232143
0.553571
0.102389
0.102389
0
0
0
0
0
0
0
0
0
0.2
435
14
87
31.071429
0.841954
0.064368
0
0
0
0
0.059259
0
0
0
0
0
0.181818
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
871f8b543501c77dc6f16d8855372f414758db4d
176
py
Python
Assignment 1 - Neural networks/debugInializeWeights.py
marioyc/Hand-written-Digit-Recognition
b86e097e00d1799b8d799cb702177a2bf64ab5ee
[ "MIT" ]
null
null
null
Assignment 1 - Neural networks/debugInializeWeights.py
marioyc/Hand-written-Digit-Recognition
b86e097e00d1799b8d799cb702177a2bf64ab5ee
[ "MIT" ]
null
null
null
Assignment 1 - Neural networks/debugInializeWeights.py
marioyc/Hand-written-Digit-Recognition
b86e097e00d1799b8d799cb702177a2bf64ab5ee
[ "MIT" ]
null
null
null
from numpy import * def debugInitializeWeights(fan_out, fan_in): W = zeros((fan_out, 1 + fan_in)) W = reshape(sin(arange(size(W))+1.0), W.shape ) / 10. return W
22
58
0.636364
29
176
3.724138
0.655172
0.111111
0.111111
0
0
0
0
0
0
0
0
0.035971
0.210227
176
7
59
25.142857
0.741007
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
871f9d0c4f1b41f70e72511261f3201ecdd1fd25
3,138
py
Python
2021/2021_22.py
pbomta/Advent-of-Code
55d94bce6b1052bc9757534b76a5287f7167c7b2
[ "Unlicense" ]
null
null
null
2021/2021_22.py
pbomta/Advent-of-Code
55d94bce6b1052bc9757534b76a5287f7167c7b2
[ "Unlicense" ]
null
null
null
2021/2021_22.py
pbomta/Advent-of-Code
55d94bce6b1052bc9757534b76a5287f7167c7b2
[ "Unlicense" ]
null
null
null
from math import inf # Range is a pair, inclusive, min to max def rangeIntersects(a, b): return a[0] <= b[1] and b[0] <= a[1] assert(rangeIntersects((1,2), (3, 4)) == False) assert(rangeIntersects((0,10), (2, 8)) == True) assert(rangeIntersects((2, 8), (0,10)) == True) assert(rangeIntersects((0,10), (5, ...
30.173077
114
0.563416
425
3,138
4.065882
0.195294
0.015625
0.020833
0.009259
0.291667
0.208333
0.162037
0.162037
0.162037
0.162037
0
0.052862
0.270554
3,138
103
115
30.466019
0.702053
0.048757
0
0.230769
0
0
0.007658
0
0
0
0
0
0.153846
1
0.115385
false
0
0.012821
0.076923
0.25641
0.012821
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
872002756a9a0862e74b1130f0b4c4766bb9e758
1,496
py
Python
SoloLearnPython3/Part_2/sketch_5a.py
mahmoudmheisen91/Python_EDU
3ca08f65bb219335502159a6d13617b9a73c3b7e
[ "MIT" ]
null
null
null
SoloLearnPython3/Part_2/sketch_5a.py
mahmoudmheisen91/Python_EDU
3ca08f65bb219335502159a6d13617b9a73c3b7e
[ "MIT" ]
null
null
null
SoloLearnPython3/Part_2/sketch_5a.py
mahmoudmheisen91/Python_EDU
3ca08f65bb219335502159a6d13617b9a73c3b7e
[ "MIT" ]
null
null
null
# Dicitionary: dic = { "one": 1, "two": 2, "three": 3, } print(dic["one"]) dic["four"] = 4 dic[5] = 6 print(dic) print(6 in dic) print(5 in dic) print(dic.get("one")) print(dic.get(7, "do not exists")) print(8*"-") # Tubles: tup = (1, 2, 3, 4) print(tup[1]) tup = 1, 2, 3, 4, 4 print(tup) tup = (1,) pri...
17.395349
50
0.548128
295
1,496
2.769492
0.274576
0.051408
0.044064
0.019584
0.215422
0.053856
0
0
0
0
0
0.089943
0.182487
1,496
85
51
17.6
0.578087
0.032086
0
0.140625
0
0
0.167129
0
0
0
0
0
0
1
0
false
0
0
0
0
0.640625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
872430897fdd913765b1e57ac774c7220a6fffb1
8,568
py
Python
pyaltitude/model.py
sdizazzo/pyaltitude
9789a633fe8f9093308978b1de543f5adc8070c8
[ "MIT" ]
1
2020-03-17T07:45:11.000Z
2020-03-17T07:45:11.000Z
pyaltitude/model.py
sdizazzo/pyaltitude
9789a633fe8f9093308978b1de543f5adc8070c8
[ "MIT" ]
19
2020-02-14T05:56:22.000Z
2020-08-15T22:04:24.000Z
pyaltitude/model.py
sdizazzo/pyaltitude
9789a633fe8f9093308978b1de543f5adc8070c8
[ "MIT" ]
null
null
null
from datetime import datetime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import Column, Integer, String, Boolean, ForeignKey, Enum, DateTime from sqlalchemy import Table from sqlalchemy.dialects.postgresql import UUID Base = declarative_base() ...
38.421525
460
0.694094
1,067
8,568
5.405811
0.208997
0.09466
0.090153
0.09466
0.354022
0.261096
0.206831
0.191574
0.167649
0.167649
0
0.008974
0.1676
8,568
222
461
38.594595
0.799776
0.106676
0
0.267123
0
0.020548
0.158903
0.035166
0
0
0
0.004505
0
1
0.034247
false
0
0.054795
0.034247
0.815068
0.006849
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
87243cc999f0a739773ea300e557dba657fc768c
13,699
py
Python
tetration-ansible/library/tetration_inventory_filter.py
chrivand/tetration-ansible-playbooks
ef0fc5e3e257f3e664a8b2e00b8590e179172d66
[ "MIT" ]
2
2019-09-06T23:16:44.000Z
2021-02-17T21:52:38.000Z
tetration-ansible/library/tetration_inventory_filter.py
chrivand/tetration-ansible-playbooks
ef0fc5e3e257f3e664a8b2e00b8590e179172d66
[ "MIT" ]
null
null
null
tetration-ansible/library/tetration_inventory_filter.py
chrivand/tetration-ansible-playbooks
ef0fc5e3e257f3e664a8b2e00b8590e179172d66
[ "MIT" ]
3
2019-08-23T19:50:21.000Z
2021-04-25T01:47:48.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2018, Doron Chosnek # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 's...
33.25
176
0.614205
1,617
13,699
5.015461
0.188621
0.042417
0.025894
0.031566
0.474846
0.445376
0.41566
0.334032
0.303329
0.247226
0
0.00729
0.278998
13,699
411
177
33.3309
0.81381
0.101832
0
0.412463
0
0
0.468014
0.026159
0
0
0
0
0
1
0.002967
false
0
0.017804
0
0.020772
0.002967
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8724595ff5cdf33cc7033c23c7542d58042e448d
1,699
py
Python
controller/auth/admin.py
relarizky/flask-pre-order
d336c179414892a8fad4bdbe63c8cb5449921729
[ "MIT" ]
null
null
null
controller/auth/admin.py
relarizky/flask-pre-order
d336c179414892a8fad4bdbe63c8cb5449921729
[ "MIT" ]
null
null
null
controller/auth/admin.py
relarizky/flask-pre-order
d336c179414892a8fad4bdbe63c8cb5449921729
[ "MIT" ]
null
null
null
# Author : Relarizky # Github : https://github.com/relarizky # File Name : controller/auth/admin.py # Last Modified : 01/30/21, 14:00 PM # Copyright © Relarizky 2021 from app.model import Admin from flask import render_template, request, url_for, redirect, session, flash from flask_login import login_user, log...
26.138462
77
0.708652
228
1,699
5.078947
0.377193
0.031088
0.037997
0.041451
0.139033
0.058722
0.058722
0
0
0
0
0.009957
0.172454
1,699
64
78
26.546875
0.812945
0.159506
0
0.181818
0
0
0.150327
0.037037
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.363636
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8725b33522f602845ab11d98f5e3419251253adf
2,034
py
Python
tests/util.py
jin-qin/cs655-image-recognition
c8353dd2a5b2937678b097dddd2cf7c9910e82dd
[ "MIT" ]
1
2020-12-09T12:57:51.000Z
2020-12-09T12:57:51.000Z
tests/util.py
jin-qin/cs655-image-recognition
c8353dd2a5b2937678b097dddd2cf7c9910e82dd
[ "MIT" ]
null
null
null
tests/util.py
jin-qin/cs655-image-recognition
c8353dd2a5b2937678b097dddd2cf7c9910e82dd
[ "MIT" ]
null
null
null
def load_ground_truth(gt_file: str): ground_truth = [] with open(gt_file, 'r') as f: for idx, line in enumerate(f): ground_truth.append(int(line)) return ground_truth def load_imagenet_meta(meta_file: str): import scipy.io mat = scipy.io.loadmat(meta_file) return mat['...
30.818182
102
0.616519
303
2,034
3.940594
0.257426
0.0134
0.060302
0.073702
0.497487
0.477387
0.477387
0.477387
0.477387
0.41206
0
0.027505
0.249263
2,034
66
103
30.818182
0.75442
0.093412
0
0.521739
0
0
0.017033
0
0
0
0
0
0
1
0.108696
false
0
0.065217
0.021739
0.282609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
872b34225d36f345767f7796559b231df5f50776
12,117
py
Python
src/mysql-loader.py
AgileMedicine/GenomeDataManagementResearch
2535390b6f36fc45197b9cb2cdf54cd823bd4b1f
[ "MIT" ]
1
2015-11-04T14:37:23.000Z
2015-11-04T14:37:23.000Z
src/mysql-loader.py
AgileMedicine/GenomeDataManagementResearch
2535390b6f36fc45197b9cb2cdf54cd823bd4b1f
[ "MIT" ]
null
null
null
src/mysql-loader.py
AgileMedicine/GenomeDataManagementResearch
2535390b6f36fc45197b9cb2cdf54cd823bd4b1f
[ "MIT" ]
null
null
null
import argparse import csv, os, time import MySQLdb # http://sourceforge.net/projects/mysql-python/ import result from result import Result import gspread, getpass # https://pypi.python.org/pypi/gspread/ (v0.1.0) # Get command line arguments parser = argparse.ArgumentParser(description='Load SNP and locus data') pars...
34.521368
169
0.638689
1,535
12,117
5.002606
0.224104
0.023961
0.026566
0.020055
0.260841
0.209532
0.166949
0.140904
0.140904
0.108347
0
0.013607
0.235784
12,117
351
170
34.521368
0.815659
0.138978
0
0.273077
0
0.019231
0.247038
0.005008
0
0
0
0
0
0
null
null
0.034615
0.023077
null
null
0.069231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
872b61646177f42b5acb2f9b81247456f994ecd4
1,108
py
Python
src/python/benchmarking_utils/Shremote_cfgs/kv/make_cmd_lists.py
isaac-ped/demikernel
6f372569e3599d8bf9083df6c25490c42af74c0d
[ "MIT" ]
null
null
null
src/python/benchmarking_utils/Shremote_cfgs/kv/make_cmd_lists.py
isaac-ped/demikernel
6f372569e3599d8bf9083df6c25490c42af74c0d
[ "MIT" ]
null
null
null
src/python/benchmarking_utils/Shremote_cfgs/kv/make_cmd_lists.py
isaac-ped/demikernel
6f372569e3599d8bf9083df6c25490c42af74c0d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys import os import random import string from argparse import ArgumentParser parser = ArgumentParser() parser.add_argument('srv_file') parser.add_argument('client_file') parser.add_argument('value_size', type=int) parser.add_argument('n_keys', type=int) parser.add_argument('n_reqs', type...
29.945946
93
0.697653
179
1,108
4.167598
0.379888
0.072386
0.136729
0.064343
0.182306
0.150134
0.08311
0.08311
0.08311
0.08311
0
0.001058
0.147112
1,108
36
94
30.777778
0.78836
0.018953
0
0.071429
0
0
0.110497
0
0
0
0
0
0
1
0.071429
false
0
0.178571
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
872ba5b5d271945c338ed8551c7ef45840b7921f
3,638
py
Python
scripts/ddd/algo.py
jlstevens/awesome-panel
c67b0f4529a3ce6a8517648f49fef8358e2e2c8b
[ "Apache-2.0" ]
null
null
null
scripts/ddd/algo.py
jlstevens/awesome-panel
c67b0f4529a3ce6a8517648f49fef8358e2e2c8b
[ "Apache-2.0" ]
null
null
null
scripts/ddd/algo.py
jlstevens/awesome-panel
c67b0f4529a3ce6a8517648f49fef8358e2e2c8b
[ "Apache-2.0" ]
null
null
null
# (Name, Drunkfactor, Subs=[]) from typing import Dict, List, Optional class Person: def __init__(self, name: str, drunk_factor: int, leader_name: Optional[str]): self.name = name self.drunk_factor = drunk_factor self.leader_name = leader_name self.subs: List["Person"] = [] ...
33.376147
85
0.64431
455
3,638
4.747253
0.131868
0.152778
0.157407
0.1
0.559259
0.412963
0.285185
0.080556
0
0
0
0.006033
0.271028
3,638
108
86
33.685185
0.808446
0.007697
0
0.130952
0
0
0.010532
0
0
0
0
0
0
1
0.107143
false
0
0.011905
0.02381
0.321429
0.011905
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
872c35818533460a952cb1a53fa2609e9d3585f0
26
py
Python
trtools/charting/api.py
dalejung/trtools
39db1d72269f43e7ba380da5ad28d565137089ed
[ "MIT" ]
3
2015-01-13T01:03:22.000Z
2016-04-20T03:27:11.000Z
trtools/charting/api.py
dalejung/trtools
39db1d72269f43e7ba380da5ad28d565137089ed
[ "MIT" ]
null
null
null
trtools/charting/api.py
dalejung/trtools
39db1d72269f43e7ba380da5ad28d565137089ed
[ "MIT" ]
1
2019-10-16T19:13:47.000Z
2019-10-16T19:13:47.000Z
from ts_charting import *
13
25
0.807692
4
26
5
1
0
0
0
0
0
0
0
0
0
0
0
0.153846
26
1
26
26
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
872c5f87d460c4803f7e6f206cc087776389f03f
471
py
Python
100doc/009-student_grades.py
ralexrivero/python_fundation
34a855db7380d3d91db6a8f02d97f287d038ef5f
[ "Apache-2.0" ]
1
2021-09-19T04:09:48.000Z
2021-09-19T04:09:48.000Z
100doc/009-student_grades.py
ralexrivero/python_fundation
34a855db7380d3d91db6a8f02d97f287d038ef5f
[ "Apache-2.0" ]
null
null
null
100doc/009-student_grades.py
ralexrivero/python_fundation
34a855db7380d3d91db6a8f02d97f287d038ef5f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 scores = { "John": 75, "Ronald": 99, "Clarck": 78, "Mark": 69, "Newton": 82, } grades = {} for name in scores: score = scores[name] if score > 90: grades[name] = "Outstanding" elif score > 80: grades[name] = "Exceeds Expectations" elif score ...
18.115385
48
0.535032
57
471
4.421053
0.614035
0.15873
0
0
0
0
0
0
0
0
0
0.051205
0.295117
471
25
49
18.84
0.707831
0.044586
0
0
0
0
0.180401
0
0
0
0
0
0
1
0
false
0
0
0
0
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
872e1aac23d04b306ffe8c3898ce75501d1c58ff
12,031
py
Python
google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
1
2021-04-09T04:28:47.000Z
2021-04-09T04:28:47.000Z
google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v4/proto/resources/product_bidding_category_constant.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from g...
68.748571
1,956
0.811238
1,503
12,031
6.139055
0.157685
0.042918
0.076298
0.054189
0.67335
0.610491
0.507315
0.480221
0.39948
0.337813
0
0.041682
0.090682
12,031
174
1,957
69.143678
0.801737
0.028427
0
0.296053
1
0.013158
0.431947
0.318781
0
0
0
0
0
1
0
false
0
0.072368
0
0.072368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
872f24a9f1748544c0ae2ac0d6f70f8ed7c1dc7b
485
py
Python
python/ray/ml/preprocessors/__init__.py
siddgoel/ray
7f3031f451de410b71a5fcb18e04452bfa7351d6
[ "Apache-2.0" ]
22
2018-05-08T05:52:34.000Z
2020-04-01T10:09:55.000Z
python/ray/ml/preprocessors/__init__.py
siddgoel/ray
7f3031f451de410b71a5fcb18e04452bfa7351d6
[ "Apache-2.0" ]
51
2018-05-17T05:55:28.000Z
2020-03-18T06:49:49.000Z
python/ray/ml/preprocessors/__init__.py
siddgoel/ray
7f3031f451de410b71a5fcb18e04452bfa7351d6
[ "Apache-2.0" ]
10
2018-04-27T10:50:59.000Z
2020-02-24T02:41:43.000Z
from ray.ml.preprocessors.batch_mapper import BatchMapper from ray.ml.preprocessors.chain import Chain from ray.ml.preprocessors.encoder import OrdinalEncoder, OneHotEncoder, LabelEncoder from ray.ml.preprocessors.imputer import SimpleImputer from ray.ml.preprocessors.scaler import StandardScaler, MinMaxScaler __all__...
28.529412
84
0.76701
48
485
7.645833
0.395833
0.095368
0.122616
0.299728
0
0
0
0
0
0
0
0
0.140206
485
16
85
30.3125
0.880096
0
0
0
0
0
0.193814
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
872f3d0b33c0a9ffb9bff3a56620092d065e1e01
157
py
Python
backend/gitwrapper/urls.py
kevenleone/github-commits
ed0297a9de916b2bc0589489fab9649e9b921ced
[ "MIT" ]
2
2019-12-04T02:55:45.000Z
2020-01-23T18:12:28.000Z
backend/gitwrapper/urls.py
kevenleone/github-commits
ed0297a9de916b2bc0589489fab9649e9b921ced
[ "MIT" ]
8
2020-02-12T03:02:23.000Z
2022-02-26T20:34:16.000Z
backend/gitwrapper/urls.py
kevenleone/github-commits
ed0297a9de916b2bc0589489fab9649e9b921ced
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.WebHookViewSet.as_view({'post': 'receiveHook'}), name='receiveHook'), ]
22.428571
88
0.700637
18
157
6.055556
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.133758
157
6
89
26.166667
0.801471
0
0
0
0
0
0.165605
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
872f7a2fc8fbe9d50e0947ba871518017246583e
712
py
Python
sqjobs/brokers/eager.py
Thinkful/sqjobs
b8c99a72426f374519c495bf956f787647fa4d56
[ "BSD-3-Clause" ]
27
2015-02-13T13:47:53.000Z
2021-04-21T14:28:20.000Z
sqjobs/brokers/eager.py
Thinkful/sqjobs
b8c99a72426f374519c495bf956f787647fa4d56
[ "BSD-3-Clause" ]
14
2015-02-25T16:47:53.000Z
2021-06-10T20:36:53.000Z
sqjobs/brokers/eager.py
Thinkful/sqjobs
b8c99a72426f374519c495bf956f787647fa4d56
[ "BSD-3-Clause" ]
19
2015-02-18T12:41:24.000Z
2020-02-18T09:45:43.000Z
import sys import six from .base import Broker from ..job import JobResult class Eager(Broker): """ Broker to execute jobs in a synchronous way """ def __repr__(self): return 'Broker(Eager)' def add_job(self, job_class, *args, **kwargs): job_id = self.gen_job_id() eager...
20.941176
55
0.594101
92
712
4.326087
0.413043
0.075377
0.060302
0.050251
0
0
0
0
0
0
0
0
0.311798
712
33
56
21.575758
0.812245
0.060393
0
0
0
0
0.019908
0
0
0
0
0
0
1
0.095238
false
0
0.190476
0.047619
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
872f98cf47eef197a5d79726f16c6d8e2cffb79b
2,947
py
Python
FootGramBot/modules/helpers/database.py
ssiyad/FootGramBot
bd14b2e1bfa2a7d50f22180c5c62eb9e556a6444
[ "MIT" ]
2
2020-01-19T11:44:20.000Z
2021-12-12T18:40:17.000Z
FootGramBot/modules/helpers/database.py
ssiyad/FootGramBot
bd14b2e1bfa2a7d50f22180c5c62eb9e556a6444
[ "MIT" ]
null
null
null
FootGramBot/modules/helpers/database.py
ssiyad/FootGramBot
bd14b2e1bfa2a7d50f22180c5c62eb9e556a6444
[ "MIT" ]
1
2019-12-15T01:39:18.000Z
2019-12-15T01:39:18.000Z
import datetime import peewee db = peewee.SqliteDatabase("db.db") class Match(peewee.Model): id = peewee.PrimaryKeyField() match_id = peewee.IntegerField(unique=True) comp = peewee.CharField() matchday = peewee.IntegerField() date_utc = peewee.CharField() status = peewee.CharField() stag...
27.287037
63
0.68205
330
2,947
5.990909
0.218182
0.242792
0.100152
0.118361
0.507334
0.261002
0.17653
0.17653
0.17653
0.17653
0
0
0.20224
2,947
107
64
27.542056
0.840919
0.004411
0
0.310345
0
0
0.011255
0
0
0
0
0
0
1
0
false
0
0.022989
0
0.816092
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
873021a845521edc67649b98ab32b6aacab1aaa3
1,589
py
Python
core_modules/get_window.py
picass02005/PyMacro-async
5945de7be39793c42d2e1d53a6050809d962338d
[ "MIT" ]
1
2021-08-10T19:50:57.000Z
2021-08-10T19:50:57.000Z
core_modules/get_window.py
picass02005/PyMacro-async
5945de7be39793c42d2e1d53a6050809d962338d
[ "MIT" ]
null
null
null
core_modules/get_window.py
picass02005/PyMacro-async
5945de7be39793c42d2e1d53a6050809d962338d
[ "MIT" ]
null
null
null
import sys import psutil from global_modules import logs if sys.platform == "win32": import ctypes from ctypes import wintypes elif sys.platform == "linux" or sys.platform == "linux2": import subprocess proc = subprocess.Popen(["/bin/bash", "-c", "which xdotool"], stdout=subprocess.PIPE, stderr=sub...
31.156863
113
0.573946
170
1,589
5.294118
0.417647
0.048889
0.033333
0.04
0.255556
0.2
0.2
0.2
0
0
0
0.016043
0.293896
1,589
50
114
31.78
0.786096
0
0
0.138889
0
0
0.208307
0.028949
0
0
0
0
0
1
0.027778
false
0
0.166667
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8732060db510581dff28c7952b80edd466910f7c
3,987
py
Python
zhixuewang/session.py
lihaoze123/zhixuewang-python
7a54bb1ae96f74d3bb3a0845f3b084bb5942f758
[ "MIT" ]
22
2019-01-21T03:49:44.000Z
2020-02-13T08:43:01.000Z
zhixuewang/session.py
lihaoze123/zhixuewang-python
7a54bb1ae96f74d3bb3a0845f3b084bb5942f758
[ "MIT" ]
10
2019-01-21T03:50:23.000Z
2020-01-03T13:06:49.000Z
zhixuewang/session.py
lihaoze123/zhixuewang-python
7a54bb1ae96f74d3bb3a0845f3b084bb5942f758
[ "MIT" ]
3
2019-02-17T06:12:35.000Z
2019-10-29T13:24:06.000Z
import json import requests from zhixuewang.exceptions import LoginError, UserNotFoundError, UserOrPassError from zhixuewang.tools.password_helper import base64_encode, encode_password from zhixuewang.urls import Url def get_basic_session() -> requests.Session: session = requests.Session() session.headers[ ...
30.204545
93
0.558315
411
3,987
5.306569
0.306569
0.048143
0.024759
0.023842
0.307199
0.259514
0.215497
0.215497
0.215497
0.215497
0
0.023163
0.306998
3,987
132
94
30.204545
0.766196
0.196639
0
0.239437
0
0.028169
0.168754
0
0
0
0
0
0
1
0.070423
false
0.197183
0.070423
0
0.225352
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
873485922e32080319183a1860c2b4881a5d1722
228
py
Python
CursoEmVideo/Aula14/ex057.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
CursoEmVideo/Aula14/ex057.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
CursoEmVideo/Aula14/ex057.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
resp = str(input('Informe seu sexo [M/F]: ')).strip().upper()[0] while resp not in 'MmFf': resp = str(input('Dados inválidos! Informe seu sexo: ')).strip().upper()[0] print('Sexo {} registrado com sucesso'.format(resp))
45.6
80
0.644737
34
228
4.323529
0.647059
0.095238
0.163265
0
0
0
0
0
0
0
0
0.010256
0.144737
228
5
81
45.6
0.74359
0
0
0
0
0
0.413333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
873546bba21758a6bdeb7202c2fa9d5e03ead94d
6,031
py
Python
crawler/anidb_spider.py
Alter-0/MiraiHyoka
b1a21492a0f67a2db488aff9086e440ec65269ce
[ "Apache-2.0" ]
null
null
null
crawler/anidb_spider.py
Alter-0/MiraiHyoka
b1a21492a0f67a2db488aff9086e440ec65269ce
[ "Apache-2.0" ]
null
null
null
crawler/anidb_spider.py
Alter-0/MiraiHyoka
b1a21492a0f67a2db488aff9086e440ec65269ce
[ "Apache-2.0" ]
null
null
null
import time import requests import re import pymysql import urllib3 from lxml import etree from fake_useragent import UserAgent # from scrapy import Selector from requests.adapters import HTTPAdapter urllib3.disable_warnings() db = pymysql.connect("localhost", "root", "", "miraihyoka") cursor = db.cursor() def sp...
35.476471
122
0.503565
734
6,031
4.010899
0.26703
0.024457
0.02038
0.028533
0.461957
0.381793
0.362092
0.316576
0.316576
0.316576
0
0.023506
0.322832
6,031
169
123
35.686391
0.697356
0.196816
0
0.411765
0
0.042017
0.22296
0.081378
0
0
0
0
0
1
0.033613
false
0.033613
0.067227
0
0.134454
0.07563
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8736c28143447fda9d01e4dd913ba05e06747b0d
1,637
py
Python
main.py
okada39/pinn_projectile
0c00a1ba5a1324abf0fc4de868fff106c53ee89e
[ "MIT" ]
null
null
null
main.py
okada39/pinn_projectile
0c00a1ba5a1324abf0fc4de868fff106c53ee89e
[ "MIT" ]
null
null
null
main.py
okada39/pinn_projectile
0c00a1ba5a1324abf0fc4de868fff106c53ee89e
[ "MIT" ]
1
2022-03-05T05:35:59.000Z
2022-03-05T05:35:59.000Z
import lib.tf_silent import numpy as np import matplotlib.pyplot as plt from lib.pinn import PINN from lib.network import Network from lib.optimizer import L_BFGS_B def theoretical_motion(input, g): """ Compute the theoretical projectile motion. Args: input: ndarray with shape (num_samples, 3) for...
27.745763
85
0.64325
249
1,637
4.068273
0.37751
0.065153
0.069102
0.011846
0.01382
0
0
0
0
0
0
0.027178
0.235797
1,637
58
86
28.224138
0.782574
0.228467
0
0
0
0
0.031972
0
0
0
0
0
0
1
0.032258
false
0
0.193548
0
0.258065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87385931bf180f383987d8f5225b1fd084f846ea
1,889
py
Python
utils/image_transformation.py
groverkds/hand_sign_recognition
4ae05c43af869e990acc636b0a031f903709dfbc
[ "Apache-2.0" ]
3
2020-02-18T07:12:42.000Z
2022-01-07T14:35:42.000Z
utils/image_transformation.py
polawarrushi/hand_sign_recognition
493b3568c462280533a33cab592008c91da1f999
[ "Apache-2.0" ]
null
null
null
utils/image_transformation.py
polawarrushi/hand_sign_recognition
493b3568c462280533a33cab592008c91da1f999
[ "Apache-2.0" ]
8
2019-05-22T15:45:17.000Z
2021-09-15T17:28:50.000Z
import cv2 import numpy as np import math def transform(frame): #frame = resize(frame) try: frame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) except: pass frame = threshold(frame) frame = get_contours(frame) frame = resize(frame,100) return frame def resize(frame,size): return cv2.resize(frame,(size,size)) ...
25.527027
81
0.672843
304
1,889
4.131579
0.351974
0.038217
0.040605
0.014331
0.080414
0.069268
0
0
0
0
0
0.057545
0.172049
1,889
74
82
25.527027
0.745524
0.173637
0
0.113208
0
0
0
0
0
0
0
0
0
1
0.113208
false
0.018868
0.056604
0.018868
0.283019
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
873aac2e5f787d5a3ca6b31d3f26e38999e76248
2,357
py
Python
models/xdog.py
jialuogao/ECE539FinalProject
8feed1a1a606225dc9c55fccc09f41bf6767c3e0
[ "BSD-3-Clause" ]
null
null
null
models/xdog.py
jialuogao/ECE539FinalProject
8feed1a1a606225dc9c55fccc09f41bf6767c3e0
[ "BSD-3-Clause" ]
null
null
null
models/xdog.py
jialuogao/ECE539FinalProject
8feed1a1a606225dc9c55fccc09f41bf6767c3e0
[ "BSD-3-Clause" ]
1
2020-12-04T01:36:21.000Z
2020-12-04T01:36:21.000Z
import cv2 import numpy as np def dog(img,size=(0,0),k=1.6,sigma=0.5,gamma=1): img1 = cv2.GaussianBlur(img,size,sigma) print("img:") print(np.max(img1)) img2 = cv2.GaussianBlur(img,size,sigma*k) return (img1-gamma*img2) def xdog(img,sigma=0.5,k=1.6, gamma=1,epsilon=1,phi=1): img = dog(img,sigm...
35.712121
114
0.613492
432
2,357
3.30787
0.194444
0.016795
0.020994
0.039188
0.456963
0.370889
0.319804
0.264521
0.264521
0.23373
0
0.087297
0.188375
2,357
66
115
35.712121
0.659697
0.351718
0
0.157895
0
0
0.024422
0
0
0
0
0
0
1
0.078947
false
0
0.052632
0
0.210526
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
873c67c1eac26d9929c452d0c7419948dcea5913
803
py
Python
src/data/75.py
NULLCT/LOMC
79a16474a8f21310e0fb47e536d527dd5dc6d655
[ "MIT" ]
null
null
null
src/data/75.py
NULLCT/LOMC
79a16474a8f21310e0fb47e536d527dd5dc6d655
[ "MIT" ]
null
null
null
src/data/75.py
NULLCT/LOMC
79a16474a8f21310e0fb47e536d527dd5dc6d655
[ "MIT" ]
null
null
null
def main(): N, Q = map(int, input().split()) import collections tree = collections.defaultdict(list) for _ in range(N - 1): a, b = map(int, input().split()) a -= 1 b -= 1 tree[a].append(b) tree[b].append(a) RED = 1 BLACK = 2 colors = [None] * N ...
20.589744
43
0.447073
109
803
3.183486
0.394495
0.051873
0.095101
0.138329
0
0
0
0
0
0
0
0.016632
0.400996
803
38
44
21.131579
0.704782
0.016189
0
0
0
0
0.020305
0
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.064516
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
873db11f74a1a1143dde3d98487cd6051dbe23cc
4,483
py
Python
simplipy/device/lock.py
gderrick/simplisafe-python
7cdd9f92661e2e26bc1e5c6cb5689d5916807234
[ "MIT" ]
3
2017-05-21T16:49:38.000Z
2018-07-05T16:16:45.000Z
simplipy/device/lock.py
gderrick/simplisafe-python
7cdd9f92661e2e26bc1e5c6cb5689d5916807234
[ "MIT" ]
2
2017-07-20T11:57:23.000Z
2018-09-24T03:03:19.000Z
simplipy/device/lock.py
gderrick/simplisafe-python
7cdd9f92661e2e26bc1e5c6cb5689d5916807234
[ "MIT" ]
7
2017-04-15T05:52:09.000Z
2018-08-19T01:49:54.000Z
"""Define a SimpliSafe lock.""" from __future__ import annotations from enum import Enum from typing import TYPE_CHECKING, Any, Awaitable, Callable, cast from simplipy.const import LOGGER from simplipy.device import DeviceTypes, DeviceV3 if TYPE_CHECKING: from simplipy.system import System class LockStates(Enu...
29.11039
86
0.602275
503
4,483
5.196819
0.252485
0.038256
0.048967
0.061209
0.330145
0.320199
0.307957
0.268171
0.235654
0.235654
0
0.003094
0.279054
4,483
153
87
29.300654
0.805693
0.252063
0
0.247059
0
0
0.116837
0.033931
0
0
0
0
0
1
0.082353
false
0
0.070588
0
0.341176
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
873db35964cb2109d64b02b821d39748400ca72b
150
py
Python
vcontrol/cli/providers/list_all.py
dannypadilla/vcontrol
fe929e6138ec87e23cabd69b5c97ddb29603d0c6
[ "Apache-2.0" ]
5
2016-08-01T23:25:18.000Z
2019-06-02T00:10:32.000Z
vcontrol/cli/providers/list_all.py
dannypadilla/vcontrol
fe929e6138ec87e23cabd69b5c97ddb29603d0c6
[ "Apache-2.0" ]
120
2016-08-02T02:00:31.000Z
2017-11-01T02:38:11.000Z
vcontrol/cli/providers/list_all.py
dannypadilla/vcontrol
fe929e6138ec87e23cabd69b5c97ddb29603d0c6
[ "Apache-2.0" ]
15
2016-08-01T23:26:00.000Z
2019-11-09T13:17:54.000Z
import requests class ListProvidersC: def list_all(self, args, daemon): r = requests.get(daemon+"/providers/list") return r.text
21.428571
50
0.666667
19
150
5.210526
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.226667
150
6
51
25
0.853448
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
873e2e534ceea6ba2ca685b8e535b0bf75b98bfc
4,291
py
Python
mxnet/alexnet.py
s0nghuiming/convnet-benchmarks
5b91b6966714e8358292ae440d807c6d9d2cf7fe
[ "MIT" ]
2,829
2015-01-02T19:34:27.000Z
2022-02-22T03:42:06.000Z
mxnet/alexnet.py
Reddmist/convnet-benchmarks
b458aab61c0ac2257c0990119b5de15c1e886f02
[ "MIT" ]
90
2015-02-18T21:56:21.000Z
2021-02-06T22:20:30.000Z
mxnet/alexnet.py
Reddmist/convnet-benchmarks
b458aab61c0ac2257c0990119b5de15c1e886f02
[ "MIT" ]
644
2015-01-02T19:31:23.000Z
2022-01-07T23:53:45.000Z
# In[1]: import mxnet as mx import numpy as np import time # In[2]: # Basic Info dev = mx.gpu() batch_size = 128 dshape = (batch_size, 3, 224, 224) lshape = (batch_size) num_epoch = 100 # Mock data iterator tmp_data = np.random.uniform(-1, 1, dshape).astype("float32") train_iter = mx.io.NDArrayIter(data=tmp_data,...
30.006993
132
0.66255
678
4,291
4.061947
0.294985
0.063907
0.045752
0.055919
0.285766
0.261075
0.230211
0.211329
0.203341
0.139434
0
0.050968
0.181543
4,291
142
133
30.21831
0.7332
0.186204
0
0.189189
0
0
0.035052
0
0
0
0
0
0
1
0.040541
false
0
0.040541
0
0.121622
0.040541
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
873fd671c46e323d79a2f0109ba1aa6756c796ee
23,213
py
Python
nfv/nfv-vim/nfv_vim/api/controllers/v1/virtualised_resources/_computes_api.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
2
2020-02-07T19:01:36.000Z
2022-02-23T01:41:46.000Z
nfv/nfv-vim/nfv_vim/api/controllers/v1/virtualised_resources/_computes_api.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
1
2021-01-14T12:02:25.000Z
2021-01-14T12:02:25.000Z
nfv/nfv-vim/nfv_vim/api/controllers/v1/virtualised_resources/_computes_api.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
2
2021-01-13T08:39:21.000Z
2022-02-09T00:21:55.000Z
# Copyright (c) 2015-2016 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # import json import pecan import six from six.moves import http_client as httplib from wsme import types as wsme_types import wsmeext.pecan as wsme_pecan from nfv_common import debug from nfv_common import validate from nfv_vim...
39.477891
81
0.664283
2,503
23,213
5.870555
0.092289
0.042875
0.023207
0.026133
0.708316
0.674833
0.63121
0.570369
0.543419
0.495168
0
0.000696
0.257657
23,213
587
82
39.545145
0.85202
0.0554
0
0.544776
0
0
0.079636
0.013149
0
0
0
0
0
1
0.022388
false
0
0.022388
0
0.313433
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
873ff3f2f1aa7b6a51e18d300b678be4aed6a4d1
426
py
Python
oarepo_taxonomies/facets.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
null
null
null
oarepo_taxonomies/facets.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
9
2020-08-24T08:49:15.000Z
2021-08-05T16:45:23.000Z
oarepo_taxonomies/facets.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
1
2020-08-20T18:39:43.000Z
2020-08-20T18:39:43.000Z
def taxonomy_term_facet(field, order='desc', size=100): return { "nested": { "path": field }, "aggs": { "links": { "terms": { "field": f"{field}.links.self", 'size': size, ...
28.4
55
0.286385
26
426
4.576923
0.692308
0
0
0
0
0
0
0
0
0
0
0.01676
0.579812
426
15
56
28.4
0.648045
0
0
0
0
0
0.154567
0
0
0
0
0
0
1
0.066667
false
0
0
0.066667
0.133333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
87408a167f26c51ac79b4357fde6e86578607e21
5,219
py
Python
ncm2-plugin/ncm2_neosnippet.py
oabt/ncm2-neosnippet
b7e516d6f50eda53147569e18068f1622d2720c9
[ "MIT" ]
6
2019-01-18T18:16:05.000Z
2021-10-30T12:39:37.000Z
ncm2-plugin/ncm2_neosnippet.py
oabt/ncm2-neosnippet
b7e516d6f50eda53147569e18068f1622d2720c9
[ "MIT" ]
2
2019-01-24T18:22:01.000Z
2019-03-01T16:33:32.000Z
ncm2-plugin/ncm2_neosnippet.py
oabt/ncm2-neosnippet
b7e516d6f50eda53147569e18068f1622d2720c9
[ "MIT" ]
2
2021-09-16T03:43:23.000Z
2021-09-21T21:26:55.000Z
# -*- coding: utf-8 -*- import sys if __name__ == '__main__': sys.path.append('./pythonx') def wrap(): from ncm2_core import ncm2_core from ncm2 import getLogger import vim import ncm2_lsp_snippet.utils as lsp_utils from ncm2_lsp_snippet.parser import Parser import re import json ...
29.822857
84
0.439356
547
5,219
4.084095
0.232176
0.007162
0.032229
0.022381
0.225604
0.177261
0.143241
0.143241
0.117278
0.055506
0
0.024293
0.376892
5,219
174
85
29.994253
0.662669
0.247365
0
0.23
0
0
0.093385
0.005707
0
0
0
0
0
1
0.05
false
0
0.08
0
0.19
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8740a52f8aa78c859e8fa2b0a5e3bcbf09976324
317
py
Python
jesse/models/__init__.py
laughingwithu/jesse
c21adf59074ad62e4aa775261b4ad86c542ec4d5
[ "MIT" ]
10
2020-05-24T17:31:11.000Z
2022-03-18T00:31:14.000Z
jesse/models/__init__.py
laughingwithu/jesse
c21adf59074ad62e4aa775261b4ad86c542ec4d5
[ "MIT" ]
null
null
null
jesse/models/__init__.py
laughingwithu/jesse
c21adf59074ad62e4aa775261b4ad86c542ec4d5
[ "MIT" ]
4
2020-07-08T19:24:45.000Z
2022-01-26T12:53:04.000Z
from .Candle import Candle from .Ticker import Ticker from .Exchange import Exchange from .Order import Order from .Position import Position from .Route import Route from .CompletedTrade import CompletedTrade from .utils import store_candle_into_db, store_ticker_into_db, store_trade_into_db, store_orderbook_into_db
35.222222
107
0.85489
47
317
5.510638
0.319149
0.092664
0.127413
0
0
0
0
0
0
0
0
0
0.11041
317
8
108
39.625
0.91844
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
8742cf27f615b8219c28a68120212e7fc935f9c3
4,385
py
Python
get_students.py
pcbouman-eur/CanvasToTeams
06fb78a794fd1353336ca05881f8018310388ffe
[ "MIT" ]
null
null
null
get_students.py
pcbouman-eur/CanvasToTeams
06fb78a794fd1353336ca05881f8018310388ffe
[ "MIT" ]
null
null
null
get_students.py
pcbouman-eur/CanvasToTeams
06fb78a794fd1353336ca05881f8018310388ffe
[ "MIT" ]
1
2020-10-12T08:32:40.000Z
2020-10-12T08:32:40.000Z
from canvasapi import Canvas import json import os # Do `pip install canvasapi` first before running this script! DEFAULT_CANVAS_URL = 'https://eur.instructure.com' DEFAULT_REMOVE_PATTERN = 'groep' DEFAULT_ADD_PREFIX = 'Tutorial ' DEFAULT_IGNORE = 'Default section' print('Please enter the Canvas base URL you want to...
37.478632
128
0.661574
625
4,385
4.5104
0.2688
0.025541
0.014189
0.018092
0.1348
0.056403
0.042568
0.029798
0.029798
0
0
0.003836
0.227138
4,385
116
129
37.801724
0.827973
0.023717
0
0.136842
0
0.031579
0.28705
0.00561
0
0
0
0.008621
0
1
0
false
0
0.031579
0
0.031579
0.168421
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87455c57eb45b58bac66481bce583370c48cdd3c
7,219
py
Python
training/train_ethnicity_race.py
sciosci/demographicx
38c3d5511295414cc1bf58372398bb6ba78e9586
[ "MIT" ]
10
2021-06-06T18:43:14.000Z
2021-11-30T03:31:00.000Z
training/train_ethnicity_race.py
sciosci/demographicx
38c3d5511295414cc1bf58372398bb6ba78e9586
[ "MIT" ]
6
2021-05-07T03:28:18.000Z
2021-06-03T22:18:03.000Z
training/train_ethnicity_race.py
sciosci/demographicx
38c3d5511295414cc1bf58372398bb6ba78e9586
[ "MIT" ]
2
2021-05-06T19:16:18.000Z
2021-05-10T21:34:04.000Z
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split import torch from transformers import AutoModel, AutoTokenizer, BertTokenizer, BertForSequenceClassification from torch.utils.data import TensorDataset import transformers from tqdm.notebook import tqdm census10 = pd.read_csv(...
34.21327
128
0.630835
859
7,219
5.050058
0.250291
0.016598
0.021899
0.01314
0.189949
0.178884
0.126326
0.126326
0.101429
0.101429
0
0.021174
0.25419
7,219
211
129
34.21327
0.784547
0.026874
0
0.183099
0
0
0.078194
0.013531
0
0
0
0
0
0
null
null
0
0.084507
null
null
0.014085
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8745cd5aecce86323314f1a025b4ce6f3f4d62bc
2,771
py
Python
schedule_lib/schedexport.py
allankellynet/mimas
10025d43bba9e84f502a266760786842e7158a05
[ "MIT" ]
null
null
null
schedule_lib/schedexport.py
allankellynet/mimas
10025d43bba9e84f502a266760786842e7158a05
[ "MIT" ]
1
2020-02-05T13:00:29.000Z
2020-02-05T13:00:29.000Z
schedule_lib/schedexport.py
allankellynet/mimas
10025d43bba9e84f502a266760786842e7158a05
[ "MIT" ]
null
null
null
#----------------------------------------------------- # Mimas: conference submission and review system # (c) Allan Kelly 2016-2020 http://www.allankelly.net # Licensed under MIT License, see LICENSE file # ----------------------------------------------------- # schedule_lib/schedexport.py # # system imports import da...
35.075949
108
0.638759
348
2,771
4.91954
0.321839
0.049065
0.061332
0.064252
0.382009
0.382009
0.300234
0.257009
0.16472
0.127336
0
0.008736
0.215085
2,771
78
109
35.525641
0.778391
0.140743
0
0.113208
0
0
0.036709
0
0
0
0
0
0
1
0.150943
false
0
0.113208
0
0.283019
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8746890290bf43894664b39192400836b2665b3c
2,748
py
Python
tests/test_model/test_select.py
klen/peewee-aio
723c5f5333f5a814fefe682b175faadb9e86f747
[ "MIT" ]
5
2021-09-07T13:39:47.000Z
2022-01-14T16:01:26.000Z
tests/test_model/test_select.py
klen/peewee-aio
723c5f5333f5a814fefe682b175faadb9e86f747
[ "MIT" ]
1
2021-11-01T06:28:12.000Z
2021-11-01T12:05:50.000Z
tests/test_model/test_select.py
klen/peewee-aio
723c5f5333f5a814fefe682b175faadb9e86f747
[ "MIT" ]
null
null
null
import pytest import peewee async def test_select(TestModel, schema): await TestModel.delete() inst = await TestModel.create(data='data') assert [inst] == await TestModel.select().where(TestModel.id == inst.id) async for data in TestModel.select(): assert data == inst assert await TestM...
26.941176
82
0.671033
364
2,748
4.989011
0.214286
0.138767
0.077093
0.085903
0.373348
0.197137
0.182819
0.160793
0.072687
0.072687
0
0.011526
0.210699
2,748
101
83
27.207921
0.825726
0
0
0.169014
0
0
0.020378
0
0
0
0
0
0.422535
1
0
false
0
0.028169
0
0.126761
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
8746d96b9c229eb941dea75daa70eed79983ec48
1,102
py
Python
unchaind/util/esi.py
xnlfgh/unchaind
af59c380c02401a7ac58139d7f82507b9fb59f75
[ "MIT" ]
2
2019-01-02T20:43:50.000Z
2019-01-28T10:15:13.000Z
unchaind/util/esi.py
xnlfgh/unchaind
af59c380c02401a7ac58139d7f82507b9fb59f75
[ "MIT" ]
40
2018-12-26T16:20:57.000Z
2019-03-31T13:47:32.000Z
unchaind/util/esi.py
xnlfgh/unchaind
af59c380c02401a7ac58139d7f82507b9fb59f75
[ "MIT" ]
4
2018-12-25T22:53:51.000Z
2021-02-20T19:54:51.000Z
"""Functions to query ESI with simple caching.""" import logging import json from typing import Dict, Any from async_lru import alru_cache from unchaind.http import HTTPSession log = logging.getLogger(__name__) _ESI = "https://esi.evetech.net/latest/" @alru_cache(maxsize=8192) async def character_details(characte...
24.488889
62
0.713249
158
1,102
4.791139
0.373418
0.059445
0.06605
0.068692
0.322325
0.322325
0.322325
0.322325
0.179657
0.179657
0
0.018124
0.14882
1,102
44
63
25.045455
0.788913
0.03902
0
0.259259
0
0
0.1415
0.104463
0
0
0
0
0
1
0
false
0
0.185185
0
0.37037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8746ebe9ac343bc60b4bcbb4756f7bfd2a842179
1,460
py
Python
uttut/toolkits/tests/test_get_kth_combination.py
Yoctol/uttut
31ed12449d38fac58f50178c4ade8b011f1fcfbd
[ "MIT" ]
2
2018-03-27T03:03:37.000Z
2018-05-23T05:49:34.000Z
uttut/toolkits/tests/test_get_kth_combination.py
Yoctol/uttut
31ed12449d38fac58f50178c4ade8b011f1fcfbd
[ "MIT" ]
125
2018-04-06T14:07:36.000Z
2019-12-19T03:54:19.000Z
uttut/toolkits/tests/test_get_kth_combination.py
Yoctol/uttut
31ed12449d38fac58f50178c4ade8b011f1fcfbd
[ "MIT" ]
null
null
null
from unittest import TestCase from functools import reduce from operator import mul from ..get_kth_combination import get_kth_combination class GetKthCombinationTestCase(TestCase): def test_get_kth_combination(self): iterables = [[1, 2, 3], ['A', 'B', 'C'], ['I', 'II']] expected_outputs = [ ...
28.627451
65
0.404795
153
1,460
3.738562
0.294118
0.052448
0.148601
0.090909
0
0
0
0
0
0
0
0.02506
0.426027
1,460
50
66
29.2
0.657518
0.030822
0
0.046512
0
0
0.036093
0
0
0
0
0
0.046512
1
0.023256
false
0
0.093023
0
0.139535
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87470cd06712fce397942db7b39cc847b12c8619
3,191
py
Python
cpims/cpovc_registry/admin.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
null
null
null
cpims/cpovc_registry/admin.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
null
null
null
cpims/cpovc_registry/admin.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
1
2022-02-27T13:36:47.000Z
2022-02-27T13:36:47.000Z
"""Admin backend for editing some admin details.""" from django.contrib import admin from .models import (RegPerson, RegOrgUnit, RegOrgUnitsAuditTrail, RegPersonsAuditTrail, RegPersonsTypes, RegPersonsGeo, RegPersonsOrgUnits) from cpovc_auth.models import AppUser class Per...
29.82243
74
0.67095
338
3,191
5.991124
0.245562
0.026667
0.068148
0.088889
0.373333
0.373333
0.373333
0.334321
0.308148
0.145185
0
0
0.197117
3,191
106
75
30.103774
0.790398
0.114384
0
0.113208
0
0
0.252874
0
0
0
0
0
0
1
0.018868
false
0.018868
0.056604
0.018868
0.660377
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
874715eb3f14435bebfd2dc5d5105c4dbfec947d
15,605
py
Python
src/nasty/_retriever/retriever.py
evhart/nasty
1b14977d1ba61bdb78d0906c76dd57242a8c8923
[ "Apache-2.0" ]
null
null
null
src/nasty/_retriever/retriever.py
evhart/nasty
1b14977d1ba61bdb78d0906c76dd57242a8c8923
[ "Apache-2.0" ]
null
null
null
src/nasty/_retriever/retriever.py
evhart/nasty
1b14977d1ba61bdb78d0906c76dd57242a8c8923
[ "Apache-2.0" ]
null
null
null
# # Copyright 2019-2020 Lukas Schmelzeisen # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
39.0125
88
0.620058
1,834
15,605
5.124864
0.28735
0.016385
0.010852
0.011703
0.069369
0.051388
0.040855
0.030854
0.021704
0.021704
0
0.012499
0.302723
15,605
399
89
39.110276
0.8513
0.307658
0
0.172549
0
0.003922
0.097026
0.012962
0
0
0
0.005013
0
1
0.066667
false
0
0.070588
0.011765
0.188235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8748f79e0f132f573ff8452bf4dc8ddcf5a7d493
459
gyp
Python
trunk/build/temp_gyp/googleurl.gyp
goddino/libjingle
9516bee51c73af4c3082e74b88ed1198a0eb2bb1
[ "BSL-1.0", "BSD-3-Clause" ]
7
2015-08-06T01:46:07.000Z
2020-10-20T09:14:58.000Z
build/temp_gyp/googleurl.gyp
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
build/temp_gyp/googleurl.gyp
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
16
2015-01-08T01:47:24.000Z
2022-02-25T06:06:06.000Z
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'targets': [ { 'target_name': 'googleurl', 'type': 'none', 'dependencies': [ ...
20.863636
72
0.551198
53
459
4.660377
0.792453
0.048583
0.072874
0.097166
0.121457
0
0
0
0
0
0
0.015106
0.278867
459
21
73
21.857143
0.731118
0.346405
0
0.294118
0
0
0.486486
0.253378
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8749546a60191753751f4566ae41d416cd04bbb7
149
py
Python
DailyLife/picOCR_toExcel/ExcelProcessing/__init__.py
Ayusummer/DailyNotes
af7d0c784eac4de28814eb89c8977f45334d6e62
[ "MIT" ]
2
2021-05-08T09:54:35.000Z
2021-09-11T06:54:16.000Z
DailyLife/picOCR_toExcel/ExcelProcessing/__init__.py
Ayusummer/DailyNotes
af7d0c784eac4de28814eb89c8977f45334d6e62
[ "MIT" ]
null
null
null
DailyLife/picOCR_toExcel/ExcelProcessing/__init__.py
Ayusummer/DailyNotes
af7d0c784eac4de28814eb89c8977f45334d6e62
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2021/5/13 22:53 # @Author : 咸鱼型233 # @File : __init__.py.py # @Software: PyCharm # @Function: # @ChangeLog
18.625
28
0.57047
19
149
4.263158
0.947368
0
0
0
0
0
0
0
0
0
0
0.12931
0.221477
149
7
29
21.285714
0.568966
0.899329
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
87496f81b610008db1d5c2d95fe6e8e7e5030953
1,411
py
Python
saleor/account/migrations/0055_alter_user_options.py
BearerPipelineTest/saleor
1257145235cd2f59e932ac067ee18673fd5b6a54
[ "CC-BY-4.0" ]
null
null
null
saleor/account/migrations/0055_alter_user_options.py
BearerPipelineTest/saleor
1257145235cd2f59e932ac067ee18673fd5b6a54
[ "CC-BY-4.0" ]
null
null
null
saleor/account/migrations/0055_alter_user_options.py
BearerPipelineTest/saleor
1257145235cd2f59e932ac067ee18673fd5b6a54
[ "CC-BY-4.0" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-25 10:29 from django.db import migrations from django.db.models.signals import post_migrate def assing_permissions(apps, schema_editor): def on_migrations_complete(sender=None, **kwargs): Group = apps.get_model("auth", "Group") Permission = apps.get_model("au...
32.068182
83
0.615167
138
1,411
6.043478
0.507246
0.089928
0.028777
0.038369
0.06235
0
0
0
0
0
0
0.018465
0.27073
1,411
43
84
32.813953
0.792031
0.031892
0
0.060606
1
0
0.158358
0.021261
0
0
0
0
0
1
0.060606
false
0
0.060606
0
0.212121
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
874b705419cf395df3f79f2899e5d1923206a536
165
py
Python
src/Payload2Std.py
Hing9/Payload2Std-IDA
ffaaa903301cbc700667bd8052d3027e482d6601
[ "MIT" ]
null
null
null
src/Payload2Std.py
Hing9/Payload2Std-IDA
ffaaa903301cbc700667bd8052d3027e482d6601
[ "MIT" ]
null
null
null
src/Payload2Std.py
Hing9/Payload2Std-IDA
ffaaa903301cbc700667bd8052d3027e482d6601
[ "MIT" ]
null
null
null
from __future__ import print_function import idaapi def PLUGIN_ENTRY(): from Payload2Std.plugin import Payload2StdPlugin return Payload2StdPlugin()
13.75
52
0.775758
17
165
7.176471
0.705882
0
0
0
0
0
0
0
0
0
0
0.022388
0.187879
165
11
53
15
0.88806
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.6
0
1
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
874dd0ef2fc879a426a0de09a6582dbf87216983
7,242
py
Python
cmmcdb/management/commands/importpdf.py
linville/cmmcdb
acb60fa7278711a2f685ccbadd3d6767689a8236
[ "0BSD" ]
1
2020-10-29T22:27:55.000Z
2020-10-29T22:27:55.000Z
cmmcdb/management/commands/importpdf.py
linville/cmmcdb
acb60fa7278711a2f685ccbadd3d6767689a8236
[ "0BSD" ]
1
2020-02-12T02:34:56.000Z
2020-02-12T02:34:56.000Z
cmmcdb/management/commands/importpdf.py
linville/cmmcdb
acb60fa7278711a2f685ccbadd3d6767689a8236
[ "0BSD" ]
null
null
null
# This imports the CMMC pdf as distributed by OUSD(A&S). from django.core.management.base import BaseCommand, CommandError from django.db.models import IntegerField, Case, Sum, Value, When from cmmcdb.models import * import argparse import camelot import re import pprint def remove_prefix(text, prefix): if tex...
32.475336
112
0.548743
828
7,242
4.724638
0.275362
0.056493
0.059816
0.033231
0.117587
0.095092
0.075153
0.056237
0.056237
0.056237
0
0.014565
0.336371
7,242
222
113
32.621622
0.799209
0.114747
0
0.22
0
0.02
0.179584
0.035228
0
0
0
0
0
1
0.06
false
0.026667
0.053333
0
0.18
0.026667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
874e4aee29d15243a99028c3d561c5293417a2a1
1,834
py
Python
ModuleSolvers/Keypad.py
rjslater2000/KeepTalkingBot
4d5fac633542f967384779b8049765a97f6a1cf8
[ "MIT" ]
null
null
null
ModuleSolvers/Keypad.py
rjslater2000/KeepTalkingBot
4d5fac633542f967384779b8049765a97f6a1cf8
[ "MIT" ]
null
null
null
ModuleSolvers/Keypad.py
rjslater2000/KeepTalkingBot
4d5fac633542f967384779b8049765a97f6a1cf8
[ "MIT" ]
null
null
null
# ============================================================ # Title: Keep Talking and Nobody Explodes Solver: Keypad # Author: Ryan J. Slater # Date: 4/3/2019 # ============================================================ def solveKeypad(keypadSymbols): # Symbols on the player's keypad # List of the 6 columns...
40.755556
110
0.553435
163
1,834
6.177914
0.595092
0.029791
0.021847
0
0
0
0
0
0
0
0
0.006618
0.258451
1,834
44
111
41.681818
0.733824
0.251908
0
0.076923
0
0
0.24595
0.032401
0
0
0
0
0
1
0.038462
false
0
0
0
0.076923
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
874fd1f2ba70228bca6680f864212ca6f601b7bc
138
py
Python
supervisor/tests/fixtures/spew.py
orgsea/supervisor-py3k
34eec9cb4f6b8798155508bdf6b2e6f9e43466cf
[ "ZPL-2.1" ]
29
2017-03-06T11:20:50.000Z
2021-05-19T22:05:05.000Z
supervisor/tests/fixtures/spew.py
orgsea/supervisor-py3k
34eec9cb4f6b8798155508bdf6b2e6f9e43466cf
[ "ZPL-2.1" ]
1
2017-07-23T15:23:47.000Z
2017-07-23T15:31:02.000Z
supervisor/tests/fixtures/spew.py
orgsea/supervisor-py3k
34eec9cb4f6b8798155508bdf6b2e6f9e43466cf
[ "ZPL-2.1" ]
13
2017-03-02T11:52:39.000Z
2019-11-21T08:51:26.000Z
#!<<PYTHON>> import time counter = 0 while 1: time.sleep(0.01) print(("more spewage %s" % counter)) counter += 1
12.545455
40
0.536232
18
138
4.111111
0.722222
0
0
0
0
0
0
0
0
0
0
0.0625
0.304348
138
10
41
13.8
0.708333
0.07971
0
0
0
0
0.12931
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
874fe6723780a293d95e2506de662b55ab1b2deb
2,385
py
Python
lib/cicdctl/utils/packer/driver.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
8
2020-08-10T20:57:24.000Z
2021-08-08T10:46:20.000Z
lib/cicdctl/utils/packer/driver.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
null
null
null
lib/cicdctl/utils/packer/driver.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
1
2020-08-10T20:42:09.000Z
2020-08-10T20:42:09.000Z
import json from . import env, packer_dir, packer_templates, workspace from ...commands.types.target import Target from ..terraform.driver import TerraformDriver from ..terraform.routing import routing_targets # Supported packer sub-commands packer_commands = [ 'validate', 'build', 'console', ] class ...
34.565217
117
0.615933
274
2,385
5.087591
0.30292
0.05165
0.021521
0.02439
0.106169
0.04878
0
0
0
0
0
0.000557
0.24696
2,385
68
118
35.073529
0.775612
0.012159
0
0.037736
0
0
0.155905
0.084537
0
0
0
0
0
1
0.132075
false
0
0.09434
0
0.301887
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8750ee733ecb801c032c59be486b95a731ca328e
3,776
py
Python
src/tfi/cli/__init__.py
ajbouh/tfi
6e89e8c8f1ca3b285c788cc6b802fc44f9001290
[ "MIT" ]
160
2017-09-13T00:32:05.000Z
2018-05-21T18:17:32.000Z
src/tfi/cli/__init__.py
tesserai/tfi
6e89e8c8f1ca3b285c788cc6b802fc44f9001290
[ "MIT" ]
6
2017-09-14T17:54:21.000Z
2018-01-27T19:31:18.000Z
src/tfi/cli/__init__.py
ajbouh/tfi
6e89e8c8f1ca3b285c788cc6b802fc44f9001290
[ "MIT" ]
11
2017-09-13T00:37:08.000Z
2018-03-05T08:03:34.000Z
import ast import argparse import inspect from collections import OrderedDict from functools import partial from tfi.base import _GetAttrAccumulator as _GetAttrAccumulator from tfi.data import file as _tfi_data_file from tfi.resolve.model import resolve_auto as _resolve_auto def _split_list(l, delim): for ix in ...
34.018018
91
0.632945
498
3,776
4.554217
0.238956
0.030864
0.024691
0.030864
0.185185
0.17284
0.130511
0.130511
0.130511
0.092593
0
0.001803
0.265625
3,776
110
92
34.327273
0.816084
0.025689
0
0.10989
0
0
0.053047
0.017954
0
0
0
0
0
1
0.076923
false
0
0.087912
0.010989
0.274725
0.010989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8750ef6c1f8df8e5cfed4cf40f5f33bfd4632996
691
py
Python
models.py
dragonfi/tutorboard
0ab324c0950db0bdfdc1cc8f4af4b472739f7d4c
[ "MIT" ]
null
null
null
models.py
dragonfi/tutorboard
0ab324c0950db0bdfdc1cc8f4af4b472739f7d4c
[ "MIT" ]
null
null
null
models.py
dragonfi/tutorboard
0ab324c0950db0bdfdc1cc8f4af4b472739f7d4c
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Task(db.Model): id = db.Column(db.Integer, primary_key=True) description = db.Column(db.Text, nullable=False) solutions = db.relationship('Solution', backref='task', lazy=True) def __repr__(self): return 'Task({},"{}...")'.forma...
30.043478
77
0.654124
89
691
4.932584
0.337079
0.091116
0.113895
0.082005
0.398633
0.355353
0.355353
0.182232
0.182232
0.182232
0
0.006981
0.170767
691
22
78
31.409091
0.759162
0
0
0.4
0
0
0.086831
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0.133333
0.866667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
8751741b04da988eb0285b8a2d51d356dab136f2
3,941
py
Python
trio_cdp/generated/animation.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
trio_cdp/generated/animation.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
trio_cdp/generated/animation.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
# DO NOT EDIT THIS FILE! # # This code is generated off of PyCDP modules. If you need to make # changes, edit the generator and regenerate all of the modules. from __future__ import annotations import typing from ..context import get_connection_context, get_session_context import cdp.animation from cdp.animation imp...
27.950355
89
0.705405
491
3,941
5.507128
0.201629
0.057692
0.069157
0.088757
0.481509
0.369083
0.281435
0.157544
0.047337
0.047337
0
0
0.207815
3,941
140
90
28.15
0.866111
0.038061
0
0.098592
1
0
0.094141
0.064646
0
0
0
0
0
1
0
false
0
0.070423
0
0.211268
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
87524cfb18180e13d8c4e3dcda35f9acda0079e3
954
py
Python
cg_pyrosetta/tests/test_sequence_mover_fac.py
shirtsgroup/cg_pyrosetta
bf69737e9bd88735e17c48629b9bc420e5ca2024
[ "MIT" ]
null
null
null
cg_pyrosetta/tests/test_sequence_mover_fac.py
shirtsgroup/cg_pyrosetta
bf69737e9bd88735e17c48629b9bc420e5ca2024
[ "MIT" ]
17
2020-01-22T18:48:04.000Z
2021-07-22T20:20:41.000Z
cg_pyrosetta/tests/test_sequence_mover_fac.py
shirtsgroup/cg_pyrosetta
bf69737e9bd88735e17c48629b9bc420e5ca2024
[ "MIT" ]
null
null
null
import numpy as np import pyrosetta import pytest from cg_pyrosetta.CG_monte_carlo import SequenceMoverFactory import os import sys import warnings current_path = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.abspath(current_path + '/../PyRosetta4.modified')) @pytest.fixture def pose(): r...
28.909091
79
0.751572
136
954
4.955882
0.367647
0.071217
0.035608
0.059347
0.378338
0.378338
0.271513
0.271513
0.145401
0.145401
0
0.027778
0.132075
954
32
80
29.8125
0.786232
0
0
0.083333
0
0
0.122642
0.060797
0
0
0
0
0.041667
1
0.125
false
0
0.291667
0.041667
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8754c125fa1cff09a4ed9e9d885b2be469315ee3
6,337
py
Python
app.py
daylinepp/building_energy_modeling
9af8753a3b8c8f809c89335051caaec2e80353de
[ "Apache-2.0" ]
null
null
null
app.py
daylinepp/building_energy_modeling
9af8753a3b8c8f809c89335051caaec2e80353de
[ "Apache-2.0" ]
null
null
null
app.py
daylinepp/building_energy_modeling
9af8753a3b8c8f809c89335051caaec2e80353de
[ "Apache-2.0" ]
null
null
null
import streamlit as st import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt import plotly.express as px import os from datetime import datetime from fbprophet import Prophet from fbprophet.plot import plot_plotly, plot_components_plotly import pickle st.set_page_config(layout="wide") # or "c...
41.418301
148
0.655831
934
6,337
4.292291
0.313705
0.006485
0.006735
0.01796
0.198553
0.142679
0.126715
0.126715
0.109254
0.109254
0
0.072553
0.2083
6,337
153
149
41.418301
0.72653
0.077008
0
0.069565
0
0.017391
0.344323
0.011636
0
0
0
0
0
1
0.017391
false
0.008696
0.086957
0
0.121739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8755cd1b05ceffa0493eb022ef6a315245e9e2ab
332
py
Python
.ycm_extra_conf.py
solson/spideros
a9c34f3aec10283d5623e821d70c2d9fb5fce843
[ "0BSD" ]
9
2016-07-07T18:12:27.000Z
2022-03-11T06:41:38.000Z
.ycm_extra_conf.py
solson/spideros
a9c34f3aec10283d5623e821d70c2d9fb5fce843
[ "0BSD" ]
null
null
null
.ycm_extra_conf.py
solson/spideros
a9c34f3aec10283d5623e821d70c2d9fb5fce843
[ "0BSD" ]
null
null
null
import os def FlagsForFile(filename, **kwargs): os.chdir(os.path.dirname(os.path.abspath(__file__))) flags = os.popen('scons -Q ycm=1').read().split() # Force YCM to recognize all files as C++, including header files flags.extend(['-x', 'c++']) return { 'flags': flags, 'do_cache':...
23.714286
69
0.60241
45
332
4.333333
0.755556
0.061538
0
0
0
0
0
0
0
0
0
0.003891
0.225904
332
13
70
25.538462
0.754864
0.189759
0
0
0
0
0.11985
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
875952b9744afa889de0c9dbfe04a7449fa2ee22
35
py
Python
taboo/defender/__init__.py
haoxizhong/taboo
62ff4bd172dcdd9ea7be68b6c63a639dcbf2b49d
[ "MIT" ]
null
null
null
taboo/defender/__init__.py
haoxizhong/taboo
62ff4bd172dcdd9ea7be68b6c63a639dcbf2b49d
[ "MIT" ]
null
null
null
taboo/defender/__init__.py
haoxizhong/taboo
62ff4bd172dcdd9ea7be68b6c63a639dcbf2b49d
[ "MIT" ]
null
null
null
from .defender import TabooDefender
35
35
0.885714
4
35
7.75
1
0
0
0
0
0
0
0
0
0
0
0
0.085714
35
1
35
35
0.96875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
875a0a16179324cc82e78ef539254663941e1147
28,824
py
Python
test/integration/test_context.py
buddly27/nomenclator-nuke
783a9ff9bba0a974cf4532ca5c14bb3fc0312af9
[ "MIT" ]
11
2021-09-06T15:41:28.000Z
2022-03-21T23:52:59.000Z
test/integration/test_context.py
buddly27/nomenclator-nuke
783a9ff9bba0a974cf4532ca5c14bb3fc0312af9
[ "MIT" ]
2
2021-09-14T02:56:55.000Z
2021-09-14T03:00:03.000Z
test/integration/test_context.py
buddly27/nomenclator-nuke
783a9ff9bba0a974cf4532ca5c14bb3fc0312af9
[ "MIT" ]
2
2021-09-07T06:53:06.000Z
2021-09-13T19:20:22.000Z
# -*- coding: utf-8 -*- import os import pytest @pytest.fixture(autouse=True) def mock_fetch_next_version(mocker): """Mock 'nomenclator.utilities.fetch_next_version' function.""" import nomenclator.utilities return mocker.patch.object( nomenclator.utilities, "fetch_next_version", return_value=2 ...
34.769602
93
0.549438
2,785
28,824
5.448474
0.064991
0.059971
0.034071
0.055358
0.937722
0.924674
0.913734
0.906682
0.895347
0.895347
0
0.018329
0.331842
28,824
828
94
34.811594
0.769562
0.06734
0
0.906475
0
0
0.161223
0.091875
0
0
0
0
0.100719
1
0.015827
false
0.057554
0.031655
0
0.048921
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
875cb8cbaa0fe6b6a1719f73429c58c0603f7d8b
1,168
py
Python
contrib/performance/graph.py
eventable/CalendarServer
384444edb1966b530bc391789afbe3fb9cd6fd3e
[ "Apache-2.0" ]
1
2017-02-18T19:22:19.000Z
2017-02-18T19:22:19.000Z
contrib/performance/graph.py
eventable/CalendarServer
384444edb1966b530bc391789afbe3fb9cd6fd3e
[ "Apache-2.0" ]
null
null
null
contrib/performance/graph.py
eventable/CalendarServer
384444edb1966b530bc391789afbe3fb9cd6fd3e
[ "Apache-2.0" ]
null
null
null
## # Copyright (c) 2010-2015 Apple Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
28.487805
76
0.689212
181
1,168
4.40884
0.624309
0.075188
0.032581
0.0401
0
0
0
0
0
0
0
0.022364
0.196062
1,168
40
77
29.2
0.827476
0.494007
0
0
0
0
0.036649
0
0
0
0
0
0
1
0.055556
false
0
0.222222
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
875ec9f5980ae4006e483fb09e4a32c7cc1d5558
1,599
py
Python
data_gen.py
GNovich/InsightFace_Pytorch
30ffb7bf3fddc2d2e6d740b4645926f65ba82f66
[ "MIT" ]
null
null
null
data_gen.py
GNovich/InsightFace_Pytorch
30ffb7bf3fddc2d2e6d740b4645926f65ba82f66
[ "MIT" ]
null
null
null
data_gen.py
GNovich/InsightFace_Pytorch
30ffb7bf3fddc2d2e6d740b4645926f65ba82f66
[ "MIT" ]
null
null
null
import os import pickle import cv2 as cv from PIL import Image from torch.utils.data import Dataset from torchvision import transforms from Arc_coll_config import IMG_DIR from Arc_coll_config import pickle_file from image_aug import image_aug # Data augmentation and normalization for training # Just normalization fo...
28.052632
93
0.62414
218
1,599
4.458716
0.348624
0.024691
0.030864
0.041152
0.307613
0.260288
0.260288
0.22428
0.22428
0.22428
0
0.062862
0.243902
1,599
56
94
28.553571
0.741108
0.162602
0
0.095238
0
0
0.024849
0
0
0
0
0.017857
0
1
0.071429
false
0
0.214286
0.02381
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
875f48a8750a8948ca911f41ca81eee06ebbf4f4
43
py
Python
doctr/models/artefacts/__init__.py
mzeidhassan/doctr
14b376e07d31b09b6bd31bceebf6ffb477c30f08
[ "Apache-2.0" ]
628
2021-02-13T21:49:37.000Z
2022-03-31T19:48:57.000Z
doctr/models/artefacts/__init__.py
mzeidhassan/doctr
14b376e07d31b09b6bd31bceebf6ffb477c30f08
[ "Apache-2.0" ]
694
2021-02-08T15:23:38.000Z
2022-03-31T07:24:59.000Z
doctr/models/artefacts/__init__.py
mzeidhassan/doctr
14b376e07d31b09b6bd31bceebf6ffb477c30f08
[ "Apache-2.0" ]
90
2021-04-28T05:39:02.000Z
2022-03-31T06:48:36.000Z
from .barcode import * from .face import *
14.333333
22
0.72093
6
43
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.186047
43
2
23
21.5
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
87600684cfa7503e26d347dadd2d740320b15700
4,813
py
Python
limix/mtset/core/splitter_bed.py
fpcasale/limix
a6bc2850f243fe779991bb53a24ddbebe0ab74d2
[ "Apache-2.0" ]
null
null
null
limix/mtset/core/splitter_bed.py
fpcasale/limix
a6bc2850f243fe779991bb53a24ddbebe0ab74d2
[ "Apache-2.0" ]
null
null
null
limix/mtset/core/splitter_bed.py
fpcasale/limix
a6bc2850f243fe779991bb53a24ddbebe0ab74d2
[ "Apache-2.0" ]
null
null
null
import sys import h5py import pdb import scipy as SP import scipy.stats as ST import scipy.linalg as LA import time as TIME import copy import warnings import os import csv def splitGeno( pos, method='slidingWindow', size=5e4, step=None, annotation_file=None, cis=1e4, ...
30.462025
101
0.571161
603
4,813
4.412935
0.271973
0.052612
0.024427
0.025554
0.094701
0.021796
0
0
0
0
0
0.012262
0.322252
4,813
157
102
30.656051
0.803495
0.212757
0
0.107143
0
0
0.079663
0.007885
0
0
0
0
0.017857
1
0.026786
false
0.008929
0.098214
0
0.151786
0.008929
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8760be4a49dcada94b6edc683340f8b51aad145b
4,021
py
Python
python/birdVid/jetsonvid.py
plertvilai/birdCam_jetson
8e74bbc81c289b3e0158edbd471fda0f3ed2b9fb
[ "MIT" ]
null
null
null
python/birdVid/jetsonvid.py
plertvilai/birdCam_jetson
8e74bbc81c289b3e0158edbd471fda0f3ed2b9fb
[ "MIT" ]
null
null
null
python/birdVid/jetsonvid.py
plertvilai/birdCam_jetson
8e74bbc81c289b3e0158edbd471fda0f3ed2b9fb
[ "MIT" ]
null
null
null
import os import signal import subprocess import time import argparse #--------------Argument Parser-----------------------# parser = argparse.ArgumentParser(description = "NVIDIA JETSON GSTREAMER VIDEO CONTROLLER") parser.add_argument("-f", "--format", type=str, default="mp4",help="Select video format: mp4 or avi") p...
50.898734
108
0.671475
557
4,021
4.806104
0.208259
0.008965
0.063504
0.05678
0.537916
0.523721
0.523721
0.523721
0.523721
0.516997
0
0.042614
0.136285
4,021
79
109
50.898734
0.728189
0.012932
0
0.409091
0
0
0.33619
0.021169
0
0
0
0
0
1
0
false
0
0.075758
0
0.075758
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
876363de67d7e19c2bc42088f35ad5bbb3552735
1,301
py
Python
textual_widgets/status_bar.py
Cvaniak/RichWatch
9190feff4771e2ab66bfc935c18b08832675ae0a
[ "MIT" ]
19
2021-11-06T13:37:06.000Z
2022-03-03T13:30:14.000Z
textual_widgets/status_bar.py
Cvaniak/RichWatch
9190feff4771e2ab66bfc935c18b08832675ae0a
[ "MIT" ]
null
null
null
textual_widgets/status_bar.py
Cvaniak/RichWatch
9190feff4771e2ab66bfc935c18b08832675ae0a
[ "MIT" ]
null
null
null
from textual.widget import Widget from datetime import datetime, timedelta import threading from rich.panel import Panel from rich.align import Align class StatusBar(Widget): delta_time: timedelta = timedelta(seconds=0) last_updated: datetime = datetime.now() auto_refresh: bool = False def __init__(s...
31.731707
82
0.64412
166
1,301
4.861446
0.355422
0.109046
0.092937
0.042131
0
0
0
0
0
0
0
0.007056
0.23751
1,301
40
83
32.525
0.806452
0
0
0
0
0
0.112221
0.049193
0
0
0
0
0
1
0.1875
false
0
0.15625
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8763ae338bb7899bfcebd3fd05cc212794853da9
550
py
Python
cnki2bibtex/misc/Configure.py
SNBQT/CNKI_2_BibTeX
433a7cd5e3b3904cf1ce08943acf0219a46d7f5b
[ "MIT" ]
null
null
null
cnki2bibtex/misc/Configure.py
SNBQT/CNKI_2_BibTeX
433a7cd5e3b3904cf1ce08943acf0219a46d7f5b
[ "MIT" ]
null
null
null
cnki2bibtex/misc/Configure.py
SNBQT/CNKI_2_BibTeX
433a7cd5e3b3904cf1ce08943acf0219a46d7f5b
[ "MIT" ]
null
null
null
import os import re def setIDFormat(idFormat): filePath = os.path.join(os.path.expanduser('~'), r".cnki2bib.cfg") with open(filePath, "w", encoding="utf-8") as f: f.write("[settings]\nid_format = {}".format(idFormat)) def getIDFormat(): filePath = os.path.join(os.path.expanduser('~'), r".cnki2bi...
28.947368
70
0.610909
74
550
4.513514
0.5
0.08982
0.083832
0.107784
0.365269
0.275449
0.275449
0.275449
0.275449
0.275449
0
0.011416
0.203636
550
18
71
30.555556
0.751142
0
0
0.142857
0
0
0.158182
0.038182
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87652a6548a857dcb3c2c0ce34f6a848940238f4
40
py
Python
src/multitfa/data/__init__.py
biosustain/multitfa
ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50
[ "Apache-2.0" ]
4
2020-11-27T20:25:57.000Z
2021-03-12T22:01:34.000Z
src/multitfa/data/__init__.py
biosustain/multitfa
ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50
[ "Apache-2.0" ]
8
2020-11-29T23:56:31.000Z
2021-04-09T11:23:17.000Z
src/multitfa/data/__init__.py
biosustain/multitfa
ab5a9bf6c19a94a221c9a137cccfcacdc2c1cb50
[ "Apache-2.0" ]
1
2021-11-11T09:22:57.000Z
2021-11-11T09:22:57.000Z
"""Provide data file to the package."""
20
39
0.675
6
40
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
40
1
40
40
0.794118
0.825
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
87653949be2b4676bd9984a9e858c1f1c37db637
226
py
Python
setup.py
prise6/lincoln-psg-challenge
5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8
[ "MIT" ]
null
null
null
setup.py
prise6/lincoln-psg-challenge
5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8
[ "MIT" ]
1
2021-03-25T23:11:26.000Z
2021-03-25T23:11:26.000Z
setup.py
prise6/lincoln-psg-challenge
5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='Tentative pour repondre au challenge psh lincoln', author='fvi', license='MIT', )
20.545455
67
0.676991
28
226
5.392857
0.821429
0.15894
0
0
0
0
0
0
0
0
0
0.016484
0.19469
226
10
68
22.6
0.813187
0
0
0
0
0
0.274336
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8766a6e9f00642b5a5fdfbdbd3dd11843e43e5fa
679
py
Python
pygmyui/pygmy/urls.py
ParikhKadam/pygmy
eecab36204d41f2c446b86e1e71d9e768b54dd1d
[ "MIT" ]
571
2017-11-17T06:12:21.000Z
2022-03-04T11:58:23.000Z
pygmyui/pygmy/urls.py
ParikhKadam/pygmy
eecab36204d41f2c446b86e1e71d9e768b54dd1d
[ "MIT" ]
49
2017-11-19T08:25:14.000Z
2022-02-10T07:55:27.000Z
pygmyui/pygmy/urls.py
ParikhKadam/pygmy
eecab36204d41f2c446b86e1e71d9e768b54dd1d
[ "MIT" ]
104
2018-01-11T20:47:42.000Z
2022-02-27T17:35:48.000Z
from django.conf.urls import url from django.views.generic.base import TemplateView from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^dashboard$', views.dashboard, name='dashboard'), url(r'^shorten$', views.link_shortener, name='link_shortener'), url(r'^shorten/(?P<cod...
39.941176
79
0.661267
102
679
4.27451
0.323529
0.073395
0.041284
0.055046
0.12844
0.12844
0.12844
0.091743
0.091743
0
0
0.01005
0.120766
679
17
80
39.941176
0.720268
0
0
0
0
0
0.300442
0.119293
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8767256081fc71f1d084a564f165d56367f8cd9c
2,008
py
Python
test/test_basic_arithmetics.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
1
2018-10-14T02:05:58.000Z
2018-10-14T02:05:58.000Z
test/test_basic_arithmetics.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
1
2018-10-05T01:48:48.000Z
2018-10-05T01:48:48.000Z
test/test_basic_arithmetics.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
null
null
null
import cv2 import numpy as np from unittest import TestCase from arithmetics import basic_arithmetics as ba class TestBasicArithmetic(TestCase): def setUp(self): self.image_path = '../asserts/images/elena.jpg' def test_add_gray_success(self): gray = cv2.imread(self.image_path, 0) gray...
37.886792
72
0.667829
278
2,008
4.600719
0.215827
0.056294
0.060985
0.056294
0.63878
0.485536
0.347928
0.347928
0.258014
0.190774
0
0.039795
0.224104
2,008
52
73
38.615385
0.78113
0
0
0.295455
0
0
0.094124
0.068227
0
0
0
0
0.318182
1
0.159091
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87675a6355b680d0db60fc1d904549ff0e81e47c
217,622
py
Python
pysnmp-with-texts/XYLAN-CSM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/XYLAN-CSM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/XYLAN-CSM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module XYLAN-CSM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XYLAN-CSM-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:44:56 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
187.605172
13,661
0.798582
26,148
217,622
6.645633
0.054039
0.051516
0.090154
0.009046
0.601928
0.502377
0.479553
0.461184
0.444254
0.401513
0
0.046763
0.095772
217,622
1,159
13,662
187.767041
0.836305
0.00147
0
0
0
0.126846
0.365382
0.027065
0
0
0
0
0
1
0
false
0.005213
0.00695
0
0.008688
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
876766c561b859c70c957c43e586ea639ba523b8
329
py
Python
libraryuir/web/__init__.py
lijin688/libraryuir_backend
c61f4d01bf8a813fb191752067fbeac49363d5d7
[ "MIT" ]
null
null
null
libraryuir/web/__init__.py
lijin688/libraryuir_backend
c61f4d01bf8a813fb191752067fbeac49363d5d7
[ "MIT" ]
null
null
null
libraryuir/web/__init__.py
lijin688/libraryuir_backend
c61f4d01bf8a813fb191752067fbeac49363d5d7
[ "MIT" ]
null
null
null
import sys from flask import Flask, request from flask_cors import * def create_app(): app = Flask(__name__) app.config['JSON_AS_ASCII'] = False # server端支持跨域访问 CORS(app, supports_credentials=True) from libraryuir.web.book_view import views as book_view app.register_blueprint(book_view) r...
23.5
59
0.738602
46
329
5
0.586957
0.104348
0
0
0
0
0
0
0
0
0
0
0.18845
329
14
60
23.5
0.861423
0.039514
0
0
0
0
0.04127
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8767c2defee1ddba9d152cc3799159ec8c08e936
14,354
py
Python
beschi/writers/swift.py
sjml/beschi
f531c4bb182a1e0386c97a642cbf260b4173fae5
[ "MIT" ]
3
2022-02-22T12:21:28.000Z
2022-02-22T12:21:39.000Z
beschi/writers/swift.py
sjml/beschi
f531c4bb182a1e0386c97a642cbf260b4173fae5
[ "MIT" ]
null
null
null
beschi/writers/swift.py
sjml/beschi
f531c4bb182a1e0386c97a642cbf260b4173fae5
[ "MIT" ]
1
2022-02-22T23:51:02.000Z
2022-02-22T23:51:02.000Z
from ..protocol import Protocol, Variable, Struct, NUMERIC_TYPE_SIZES from ..writer import Writer from .. import LIB_NAME, LIB_VERSION LANGUAGE_NAME = "Swift" class SwiftWriter(Writer): language_name = LANGUAGE_NAME default_extension = ".swift" def __init__(self, p: Protocol, extra_args: dict[str,any] =...
42.847761
156
0.558451
1,665
14,354
4.634234
0.113514
0.13647
0.197123
0.103681
0.594997
0.528383
0.478745
0.400985
0.309357
0.277735
0
0.012971
0.301797
14,354
334
157
42.976048
0.756935
0
0
0.438538
0
0.016611
0.261669
0.092309
0
0
0
0
0.003322
1
0.019934
false
0
0.013289
0
0.049834
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8767c80a7746be422c50eab9a0a2b3e1924aecc9
2,006
py
Python
modules/vulnerabilities/apache/apache-flink-unauth-rce.py
cckuailong/pocsploit
fe4a3154e59d2bebd55ccfdf62f4f7efb21b5a2a
[ "MIT" ]
106
2022-03-18T06:51:09.000Z
2022-03-31T19:11:41.000Z
modules/vulnerabilities/apache/apache-flink-unauth-rce.py
cckuailong/pocsploit
fe4a3154e59d2bebd55ccfdf62f4f7efb21b5a2a
[ "MIT" ]
5
2022-03-27T07:37:32.000Z
2022-03-31T13:56:11.000Z
modules/vulnerabilities/apache/apache-flink-unauth-rce.py
cckuailong/pocsploit
fe4a3154e59d2bebd55ccfdf62f4f7efb21b5a2a
[ "MIT" ]
30
2022-03-21T01:27:08.000Z
2022-03-31T12:28:01.000Z
import requests # Vuln Base Info def info(): return { "author": "cckuailong", "name": '''Apache Flink Unauth RCE''', "description": '''''', "severity": "critical", "references": [ "https://www.exploit-db.com/exploits/48978", "https://adamc95.medium....
27.108108
156
0.560818
210
2,006
5.333333
0.528571
0.0375
0.024107
0.025
0
0
0
0
0
0
0
0.061737
0.265204
2,006
74
157
27.108108
0.6981
0.043868
0
0
0
0.018868
0.363304
0.105071
0
0
0
0
0
1
0.09434
false
0
0.018868
0.056604
0.207547
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87680095c411796de2122adf5dd6e5fdfea46b57
6,506
py
Python
runner.py
RokoMijic/ExperimentRunner
db3a7a4d6fb94a5e04d6e036eb3093d0d6585882
[ "MIT" ]
1
2020-06-05T14:10:35.000Z
2020-06-05T14:10:35.000Z
runner.py
RokoMijic/ExperimentRunner
db3a7a4d6fb94a5e04d6e036eb3093d0d6585882
[ "MIT" ]
null
null
null
runner.py
RokoMijic/ExperimentRunner
db3a7a4d6fb94a5e04d6e036eb3093d0d6585882
[ "MIT" ]
null
null
null
import joblib from joblib import Parallel, delayed from joblib import parallel_backend import contextlib from tqdm import tqdm from itertools import product from functools import cmp_to_key from more_itertools import unique_everseen import pandas as pd import random import time @contextlib.contextmanager def tq...
45.180556
187
0.626806
750
6,506
5.193333
0.274667
0.040051
0.042362
0.025674
0.080616
0.068293
0.044159
0.02516
0
0
0
0.003968
0.264064
6,506
143
188
45.496504
0.809524
0.27467
0
0
0
0
0.057287
0.0055
0
0
0
0
0
1
0.107692
false
0
0.169231
0.030769
0.369231
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8768c12dcf5136a2165949341f7a6e6c3de174c2
829
py
Python
openslides_backend/action/actions/speaker/delete.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
5
2020-01-20T13:57:15.000Z
2021-03-27T14:14:44.000Z
openslides_backend/action/actions/speaker/delete.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
859
2020-01-11T22:58:37.000Z
2022-03-30T14:54:06.000Z
openslides_backend/action/actions/speaker/delete.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
16
2020-01-04T20:28:57.000Z
2022-02-10T12:06:54.000Z
from typing import Any, Dict from ....models.models import Speaker from ....permissions.permissions import Permissions from ....shared.patterns import FullQualifiedId from ...generics.delete import DeleteAction from ...util.default_schema import DefaultSchema from ...util.register import register_action @register_ac...
34.541667
79
0.721351
91
829
6.450549
0.450549
0.030664
0
0
0
0
0
0
0
0
0
0
0.165259
829
23
80
36.043478
0.848266
0
0
0
0
0
0.036188
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8769ba1e000c17f1074edf2f90c4ce691acd0ade
76
py
Python
TSIS_1/topic_1/e.py
GMKanat/PP2_spring
423617d559c5690f689741aaa152b9fee5082baf
[ "MIT" ]
null
null
null
TSIS_1/topic_1/e.py
GMKanat/PP2_spring
423617d559c5690f689741aaa152b9fee5082baf
[ "MIT" ]
null
null
null
TSIS_1/topic_1/e.py
GMKanat/PP2_spring
423617d559c5690f689741aaa152b9fee5082baf
[ "MIT" ]
null
null
null
import math s = 0 for i in range(1, 11): s += 1/(i*i) print(math.sqrt(6*s))
15.2
22
0.592105
19
76
2.368421
0.684211
0
0
0
0
0
0
0
0
0
0
0.096774
0.184211
76
5
23
15.2
0.629032
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
876a409c57c4b45c28cb622436406f6c3d3033b0
418
py
Python
systemfixtures/tests/test_network.py
alejdg/systemfixtures
d1c42d83c3dca2a36b52e8fc214639ebcb1cd8a1
[ "MIT" ]
13
2017-01-24T15:25:47.000Z
2022-01-06T23:56:06.000Z
systemfixtures/tests/test_network.py
cjwatson/systemfixtures
6ff52e224585d8fab2908dc08a22fe36dcaf93d4
[ "MIT" ]
10
2017-03-08T09:36:01.000Z
2022-02-09T11:08:00.000Z
systemfixtures/tests/test_network.py
cjwatson/systemfixtures
6ff52e224585d8fab2908dc08a22fe36dcaf93d4
[ "MIT" ]
5
2017-03-08T09:30:51.000Z
2022-02-05T23:22:25.000Z
import requests from testtools import TestCase from ..network import FakeNetwork class FakeGroupsTest(TestCase): def setUp(self): super(FakeGroupsTest, self).setUp() self.network = self.useFixture(FakeNetwork()) def test_get(self): self.network.get('http://test.com', text='data') ...
23.222222
56
0.672249
48
418
5.833333
0.458333
0.064286
0.078571
0.1
0
0
0
0
0
0
0
0
0.196172
418
17
57
24.588235
0.833333
0
0
0
0
0
0.090909
0
0
0
0
0
0.090909
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
876b4a85a4bf452833f0afedb2e9e840f2ad8a96
8,054
py
Python
tests/decorators/test_ready_to_wear.py
Kilerd/pydecor
2a6169150a0a9b6a41fd88a6cb6885520d71e115
[ "MIT" ]
29
2017-06-13T13:58:06.000Z
2022-01-18T05:24:28.000Z
tests/decorators/test_ready_to_wear.py
Kilerd/pydecor
2a6169150a0a9b6a41fd88a6cb6885520d71e115
[ "MIT" ]
18
2017-09-04T04:43:12.000Z
2021-05-17T06:32:07.000Z
tests/decorators/test_ready_to_wear.py
Kilerd/pydecor
2a6169150a0a9b6a41fd88a6cb6885520d71e115
[ "MIT" ]
5
2019-12-27T01:17:38.000Z
2020-11-10T06:30:47.000Z
"""Test ready-to-use decorators.""" import typing as t from logging import getLogger from time import sleep from unittest.mock import Mock, call import pytest from pydecor.caches import FIFOCache, LRUCache, TimedCache from pydecor.constants import LOG_CALL_FMT_STR from pydecor.decorators import ( log_call, i...
29.610294
74
0.586913
1,072
8,054
4.281716
0.166045
0.081481
0.104575
0.061002
0.449673
0.398475
0.389325
0.368627
0.368627
0.368627
0
0.02344
0.295505
8,054
271
75
29.719557
0.785513
0.169853
0
0.424419
0
0
0.017887
0
0
0
0
0
0.244186
1
0.081395
false
0
0.046512
0.011628
0.174419
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
876bb31792d5bda715bba9f6833569c6590f7aa2
33,973
py
Python
src/the_tale/the_tale/game/balance/constants.py
SilentWrangler/the-tale
a121128edd2a9e36133eb047946ccb9593801ea6
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/balance/constants.py
SilentWrangler/the-tale
a121128edd2a9e36133eb047946ccb9593801ea6
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/balance/constants.py
SilentWrangler/the-tale
a121128edd2a9e36133eb047946ccb9593801ea6
[ "BSD-3-Clause" ]
null
null
null
import smart_imports smart_imports.all() TIME_TO_LVL_DELTA: float = 7 # разница во времени получения двух соседних уровней TIME_TO_LVL_MULTIPLIER: float = 1.02 # множитель опыта, возводится в степень уровня INITIAL_HP: int = 500 # начальное здоровье героя HP_PER_LVL: int = 50 # бонус к здоровью на уровень MO...
50.33037
215
0.791099
4,856
33,973
5.216227
0.233526
0.020134
0.004974
0.004422
0.2167
0.115871
0.072167
0.054955
0.038847
0.027556
0
0.022774
0.131457
33,973
674
216
50.405045
0.835158
0.430518
0
0
0
0
0
0
0
0
0
0.001484
0
1
0.003279
false
0.009836
0.006557
0.003279
0.013115
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
876c05276d4206f01cd3257543b6922a7f4d4074
5,485
py
Python
pyissues/base.py
HuangFuSL/python-issues
d7c360e89503add9f56676326d628b80c7a84923
[ "MIT" ]
null
null
null
pyissues/base.py
HuangFuSL/python-issues
d7c360e89503add9f56676326d628b80c7a84923
[ "MIT" ]
null
null
null
pyissues/base.py
HuangFuSL/python-issues
d7c360e89503add9f56676326d628b80c7a84923
[ "MIT" ]
null
null
null
"""Base module of pyissues package This module provides data model for issues and comments from the Python Issue Tracker (https://bugs.python.org) with methods to save the issue in base64-encoded XML format. """ from __future__ import annotations import base64 import warnings from typing import List import lxml.etre...
32.455621
86
0.572288
654
5,485
4.58104
0.221713
0.028037
0.048064
0.03271
0.344793
0.291389
0.228638
0.128505
0.11749
0.11749
0
0.006223
0.326162
5,485
168
87
32.64881
0.804383
0.082407
0
0.300813
0
0
0.041541
0
0
0
0
0
0
1
0.146341
false
0
0.04878
0.089431
0.341463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
876cdd25bd6c170926affd14714731d33eb9c2f7
1,387
py
Python
proteinStructureParser.py
fabridigua/ML-1D-Convolutional-NN-for-Proteins-Solvent-Accessibility-Prediction
9e1b1d062d0195216999066cafa22ecdd355e4f9
[ "Apache-2.0" ]
2
2018-06-22T19:43:03.000Z
2018-11-13T22:49:53.000Z
proteinStructureParser.py
fabridigua/ML-1D-Convolutional-NN-for-Proteins-Solvent-Accessibility-Prediction
9e1b1d062d0195216999066cafa22ecdd355e4f9
[ "Apache-2.0" ]
null
null
null
proteinStructureParser.py
fabridigua/ML-1D-Convolutional-NN-for-Proteins-Solvent-Accessibility-Prediction
9e1b1d062d0195216999066cafa22ecdd355e4f9
[ "Apache-2.0" ]
1
2020-07-05T13:30:02.000Z
2020-07-05T13:30:02.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Feb 16 19:48:03 2018 @author: fabrizio OLD: it is only a parser of dataset metadata """ import numpy as np import random as rd file='cullpdb+profile_6133_filtered.npy' dataset = np.load('data/'+file) print(('-'*10)+'dataset: '+file+('-'*10)) print('s...
24.333333
131
0.596972
198
1,387
4.136364
0.505051
0.04884
0.041514
0.053724
0
0
0
0
0
0
0
0.04418
0.151406
1,387
56
132
24.767857
0.651657
0.162942
0
0.074074
0
0
0.213345
0.028973
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0.407407
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
876cf5fd2d08bb1b880b8eefb9e65e2e38aa8a0b
5,399
py
Python
virgil_crypto/tests/card_crypto_test.py
VirgilSecurity/crypto-python
dce0a816c76201631917777fd11a841a27b484ba
[ "BSD-3-Clause" ]
9
2016-11-07T07:01:04.000Z
2021-08-31T06:58:43.000Z
virgil_crypto/tests/card_crypto_test.py
VirgilSecurity/crypto-python
dce0a816c76201631917777fd11a841a27b484ba
[ "BSD-3-Clause" ]
2
2020-04-10T08:14:05.000Z
2021-03-24T02:49:08.000Z
virgil_crypto/tests/card_crypto_test.py
VirgilSecurity/crypto-python
dce0a816c76201631917777fd11a841a27b484ba
[ "BSD-3-Clause" ]
null
null
null
# Copyright (C) 2016-2018 Virgil Security Inc. # # Lead Maintainer: Virgil Security Inc. <support@virgilsecurity.com> # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # (1) Redistribution...
46.543103
128
0.764586
707
5,399
5.574257
0.27157
0.059376
0.078153
0.060898
0.493276
0.458767
0.340269
0.307282
0.285207
0.218219
0
0.011532
0.164845
5,399
115
129
46.947826
0.862497
0.285794
0
0.080645
0
0
0.042386
0.023025
0
0
0
0
0.258065
1
0.258065
false
0
0.209677
0
0.483871
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
876d6a278d755862379ea5ca9e828a1fe542edf0
171
py
Python
webserver/moduler/controller/controller.py
akhtarnabeel/ecoforecastCS
31bfeb3d663fb113bac9efe86caea4bf908fa434
[ "MIT" ]
null
null
null
webserver/moduler/controller/controller.py
akhtarnabeel/ecoforecastCS
31bfeb3d663fb113bac9efe86caea4bf908fa434
[ "MIT" ]
null
null
null
webserver/moduler/controller/controller.py
akhtarnabeel/ecoforecastCS
31bfeb3d663fb113bac9efe86caea4bf908fa434
[ "MIT" ]
2
2020-05-01T17:58:17.000Z
2020-07-27T20:38:40.000Z
#!usr/bin/python import configparser; config = configparser.ConfigParser();config.read('config.cfg') if __name__=="__main__": print type(config['web-server']['port'])
21.375
83
0.730994
21
171
5.571429
0.761905
0.307692
0
0
0
0
0
0
0
0
0
0
0.081871
171
7
84
24.428571
0.745223
0.087719
0
0
0
0
0.206452
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
5
876eb547b3459facec759055ce7fa56b3f74684a
428
py
Python
docs/source/conf.py
macro1/usps-client
2da52e898ec8cb7619194a4200aa1c55c1312a66
[ "ISC" ]
null
null
null
docs/source/conf.py
macro1/usps-client
2da52e898ec8cb7619194a4200aa1c55c1312a66
[ "ISC" ]
null
null
null
docs/source/conf.py
macro1/usps-client
2da52e898ec8cb7619194a4200aa1c55c1312a66
[ "ISC" ]
null
null
null
# Configuration file for the Sphinx documentation builder. from usps_client.version import VERSION as version release = version project = "usps-client" copyright = "2019, macro1" author = "macro1" extensions = ["sphinx.ext.autodoc", "sphinxcontrib.apidoc"] templates_path = ["_templates"] exclude_patterns = [] html_...
22.526316
59
0.752336
51
428
6.078431
0.72549
0.064516
0
0
0
0
0
0
0
0
0
0.016043
0.126168
428
18
60
23.777778
0.812834
0.130841
0
0
0
0
0.275676
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
876ede29782dcc03bd77b7f37401acb9803a8eda
4,578
py
Python
uavnoma/generate_values.py
fakenmc/uavnoma
b2b2729417c66cde93cd1692e539d565dacbf52c
[ "MIT" ]
8
2021-11-26T06:40:01.000Z
2022-03-27T05:52:13.000Z
uavnoma/generate_values.py
fakenmc/uavnoma
b2b2729417c66cde93cd1692e539d565dacbf52c
[ "MIT" ]
6
2021-06-24T23:49:39.000Z
2022-02-20T09:27:10.000Z
uavnoma/generate_values.py
fakenmc/uavnoma
b2b2729417c66cde93cd1692e539d565dacbf52c
[ "MIT" ]
3
2021-09-25T13:45:48.000Z
2021-12-14T11:52:18.000Z
""" This module contains functions to generate simulation parameters. """ import numpy as np from numpy import sqrt import math def random_position_uav(number_UAV, radius_UAV, uav_height): """Returns a random UAV position based on 3D Cartesian coordinates. x_r: x-axis | y_r: y-axis | z_r: height...
28.434783
137
0.647007
668
4,578
4.273952
0.218563
0.014011
0.022417
0.015762
0.24028
0.114186
0.097373
0.088967
0.088967
0.088967
0
0.007141
0.265837
4,578
161
138
28.434783
0.842309
0.597204
0
0
1
0
0
0
0
0
0
0
0
1
0.097561
false
0
0.073171
0
0.268293
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
876f9687ce17964a9b95e1f021971cdbe5981ac3
6,888
py
Python
utils/cwbqpe.py
tingsyo/qpetw
e0f87a401649b367506370beeffaeffcc9484407
[ "Unlicense" ]
null
null
null
utils/cwbqpe.py
tingsyo/qpetw
e0f87a401649b367506370beeffaeffcc9484407
[ "Unlicense" ]
null
null
null
utils/cwbqpe.py
tingsyo/qpetw
e0f87a401649b367506370beeffaeffcc9484407
[ "Unlicense" ]
null
null
null
import os, gzip, struct import numpy as np class cwbqpe: '''Class for processing CWB pre-QC QPE data.''' def __init__(self, file=None, data=None): self.uri = file self.header = None self.data = data def help(self): print("This toolset provides functions accessing CW...
47.178082
233
0.558072
970
6,888
3.931959
0.228866
0.08128
0.085212
0.104877
0.402202
0.356843
0.340325
0.325118
0.325118
0.325118
0
0.061629
0.260308
6,888
145
234
47.503448
0.686948
0.091609
0
0.392857
0
0.008929
0.138281
0
0
0
0
0
0
1
0.0625
false
0
0.017857
0
0.089286
0.053571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87717e4313134831e035a396909646739e4f9b6f
676
py
Python
main.py
SuperGarryGamer/open-salami
82c77cfe32718da49cdfdbfdba668b278be80924
[ "BSD-3-Clause" ]
null
null
null
main.py
SuperGarryGamer/open-salami
82c77cfe32718da49cdfdbfdba668b278be80924
[ "BSD-3-Clause" ]
null
null
null
main.py
SuperGarryGamer/open-salami
82c77cfe32718da49cdfdbfdba668b278be80924
[ "BSD-3-Clause" ]
null
null
null
import time import uasyncio from machine import Pin import driver FRAMERATE = 30 BOUNCE_DELAY = 0.05 DISPLAY = driver.Display(0x3C) last_bounce_time = 0 DISPLAY.draw_bitmap(0, 0, '/title.pbm') pointer_spr = driver.Sprite(DISPLAY, 30, 42) pointer_spr.load_from_pbm('/pointer.pbm') DISPLAY.on() A_PIN = Pin(0, Pin.IN...
18.27027
46
0.686391
103
676
4.320388
0.466019
0.026966
0.040449
0
0
0
0
0
0
0
0
0.030521
0.176036
676
37
47
18.27027
0.768402
0.140533
0
0
0
0
0.038062
0
0
0
0.00692
0
0
1
0
false
0
0.173913
0
0.173913
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87719faaac0b9d47604da6e340200e1581603f56
1,098
py
Python
setup.py
hrpzcf/vidtoch
f7ef0253437223be9a6a1a6687bb0aec469738f2
[ "MIT" ]
1
2021-12-27T08:27:01.000Z
2021-12-27T08:27:01.000Z
setup.py
hrpzcf/vidtoch
f7ef0253437223be9a6a1a6687bb0aec469738f2
[ "MIT" ]
null
null
null
setup.py
hrpzcf/vidtoch
f7ef0253437223be9a6a1a6687bb0aec469738f2
[ "MIT" ]
null
null
null
# coding: utf-8 from setuptools import find_packages, setup from vidtoch import AUTHOR, EMAIL, NAME, VERSION, WEBSITE description = "一个帮你将视频转为字符视频的模块。" try: with open("README.md", "r", encoding="utf-8") as mdfile: long_description = mdfile.read() except Exception: long_description = description setu...
28.153846
60
0.659381
119
1,098
5.97479
0.529412
0.105485
0.109705
0.109705
0.078762
0
0
0
0
0
0
0.01611
0.208561
1,098
38
61
28.894737
0.802071
0.01184
0
0
0
0
0.301939
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87720964d62bb2a24bd03a50a485513a7385c4e9
237
py
Python
solutions/958_check_completeness_of_a_binary_tree.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/958_check_completeness_of_a_binary_tree.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/958_check_completeness_of_a_binary_tree.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
class Solution: def isCompleteTree(self, root: TreeNode) -> bool: q = [root] i = 0 while q[i]: q.append(q[i].left) q.append(q[i].right) i += 1 return not any(q[i:])
23.7
53
0.451477
32
237
3.34375
0.59375
0.074766
0.149533
0.168224
0
0
0
0
0
0
0
0.014184
0.405063
237
9
54
26.333333
0.744681
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8772111eedb044054a5137527f58f3cbbf8cf376
259
py
Python
NPS Exercise Files/Chapter 5/5-8.py
coderXeno/eric-matthes-py-book-solutions
791a5f82f9d3bebcd8be919d54a7b592664c24d5
[ "MIT" ]
null
null
null
NPS Exercise Files/Chapter 5/5-8.py
coderXeno/eric-matthes-py-book-solutions
791a5f82f9d3bebcd8be919d54a7b592664c24d5
[ "MIT" ]
null
null
null
NPS Exercise Files/Chapter 5/5-8.py
coderXeno/eric-matthes-py-book-solutions
791a5f82f9d3bebcd8be919d54a7b592664c24d5
[ "MIT" ]
null
null
null
usernames = ["rx","bb123","admin","helloooo","lolbro","uvvv"] for name in usernames: if name == "admin": print("Hello admin, would you like to see a status report?") else: print("Hello "+name+", thank you for logging in again.")
37
69
0.602317
35
259
4.457143
0.714286
0.128205
0
0
0
0
0
0
0
0
0
0.015075
0.23166
259
7
70
37
0.768844
0
0
0
0
0
0.492126
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8772a816426c89d517e6ce3effa48bd93c2dd2bb
433
py
Python
appg/api_messages.py
poxstone/appg
fe59b83d0f497e7d6033bde601bb1f61c95aba0c
[ "CNRI-Python", "Condor-1.1", "Naumen", "Linux-OpenIB", "MS-PL" ]
null
null
null
appg/api_messages.py
poxstone/appg
fe59b83d0f497e7d6033bde601bb1f61c95aba0c
[ "CNRI-Python", "Condor-1.1", "Naumen", "Linux-OpenIB", "MS-PL" ]
null
null
null
appg/api_messages.py
poxstone/appg
fe59b83d0f497e7d6033bde601bb1f61c95aba0c
[ "CNRI-Python", "Condor-1.1", "Naumen", "Linux-OpenIB", "MS-PL" ]
null
null
null
from protorpc import messages import endpoints class Greeting(messages.Message): """Greeting that stores a message.""" message = messages.StringField(1) class GreetingCollection(messages.Message): """Collection of Greetings.""" items = messages.MessageField(Greeting, 1, repeated=True) STORED_GREETI...
25.470588
61
0.734411
45
433
7.044444
0.555556
0.094637
0
0
0
0
0
0
0
0
0
0.005391
0.143187
433
17
62
25.470588
0.849057
0.12933
0
0
0
0
0.070845
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
87738f3cbba8bb6fb3bd35ef57cb06f1d963828d
508
py
Python
minizoo/templates/codes/prophet.py
kasey-/minizoo
4b24ab0b5760c0ac3f9b6e4c47f1bf6c4ca7bb1a
[ "Unlicense" ]
null
null
null
minizoo/templates/codes/prophet.py
kasey-/minizoo
4b24ab0b5760c0ac3f9b6e4c47f1bf6c4ca7bb1a
[ "Unlicense" ]
4
2020-07-16T17:59:25.000Z
2022-02-12T06:33:52.000Z
minizoo/templates/codes/prophet.py
kasey-/minizoo
4b24ab0b5760c0ac3f9b6e4c47f1bf6c4ca7bb1a
[ "Unlicense" ]
null
null
null
#Source: https://facebook.github.io/prophet/docs/quick_start.html import pandas as pd from fbprophet import Prophet df = pd.read_csv('./example_wp_log_peyton_manning.csv') df = df.rename(columns={df.columns[0]:"ds", df.columns[1]:"y"}) df.head() m = Prophet() m.fit(df) future = m.make_future_dataframe(periods=365) ...
22.086957
65
0.724409
81
508
4.407407
0.604938
0.05042
0
0
0
0
0
0
0
0
0
0.019523
0.09252
508
22
66
23.090909
0.754881
0.125984
0
0
0
0
0.14447
0.079007
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8774d2ff578357700ec356c81bc564547e7db736
29
py
Python
app/modules/__init__.py
janlycn/flask-restful-demo
905301fe62cdbb17ddccc80aca0d9d16ec43dc64
[ "Apache-2.0" ]
1
2018-07-20T03:37:40.000Z
2018-07-20T03:37:40.000Z
app/modules/__init__.py
janlycn/flask-restful-demo
905301fe62cdbb17ddccc80aca0d9d16ec43dc64
[ "Apache-2.0" ]
null
null
null
app/modules/__init__.py
janlycn/flask-restful-demo
905301fe62cdbb17ddccc80aca0d9d16ec43dc64
[ "Apache-2.0" ]
null
null
null
from lib.extensions import db
29
29
0.862069
5
29
5
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.961538
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6