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
2e0d039ba3ce5fcbb82a8fffabce11f58b6095a5
40
py
Python
vnpy/gateway/deribit/__init__.py
ChaunceyDong/vnpy
1c1b683ffc1c842bb7661e8194eca61af30cf586
[ "MIT" ]
19,529
2015-03-02T12:17:35.000Z
2022-03-31T17:18:27.000Z
vnpy/gateway/deribit/__init__.py
ChaunceyDong/vnpy
1c1b683ffc1c842bb7661e8194eca61af30cf586
[ "MIT" ]
2,186
2015-03-04T23:16:33.000Z
2022-03-31T03:44:01.000Z
vnpy/gateway/deribit/__init__.py
ChaunceyDong/vnpy
1c1b683ffc1c842bb7661e8194eca61af30cf586
[ "MIT" ]
8,276
2015-03-02T05:21:04.000Z
2022-03-31T13:13:13.000Z
from vnpy_deribit import DeribitGateway
20
39
0.9
5
40
7
1
0
0
0
0
0
0
0
0
0
0
0
0.1
40
1
40
40
0.972222
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
0
0
0
5
2e124983d0201eb3b420e0153f925e5362dacb7f
93
py
Python
shmchannel/__init__.py
tiliado/shmem-ipc-channel
8cbbe615de441dd72f32f9b51089cf3635e04cda
[ "BSD-2-Clause" ]
null
null
null
shmchannel/__init__.py
tiliado/shmem-ipc-channel
8cbbe615de441dd72f32f9b51089cf3635e04cda
[ "BSD-2-Clause" ]
null
null
null
shmchannel/__init__.py
tiliado/shmem-ipc-channel
8cbbe615de441dd72f32f9b51089cf3635e04cda
[ "BSD-2-Clause" ]
null
null
null
# noinspection PyUnresolvedReferences from .channel import Channel, MODE_CLIENT, MODE_SERVER
31
54
0.860215
10
93
7.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.096774
93
2
55
46.5
0.928571
0.376344
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
5cf7bc6a3afc23b4034001818d67905531eacd7a
1,024
py
Python
facebook/admin.py
fabiangermann/django-facebook-graph
e63039c94a50f293ae79e8ecda24a9c7d1b61c68
[ "Apache-2.0" ]
null
null
null
facebook/admin.py
fabiangermann/django-facebook-graph
e63039c94a50f293ae79e8ecda24a9c7d1b61c68
[ "Apache-2.0" ]
null
null
null
facebook/admin.py
fabiangermann/django-facebook-graph
e63039c94a50f293ae79e8ecda24a9c7d1b61c68
[ "Apache-2.0" ]
null
null
null
""" Use this module for imports to extend the Admin classes """ from django.conf import settings if 'facebook.modules.profile.page' in settings.INSTALLED_APPS: from facebook.modules.profile.page.admin import PageAdmin if 'facebook.modules.profile.user' in settings.INSTALLED_APPS: from facebook.modules.profil...
36.571429
84
0.810547
133
1,024
6.18797
0.285714
0.255164
0.213852
0.195626
0.417983
0.417983
0.417983
0.36695
0
0
0
0
0.108398
1,024
27
85
37.925926
0.901424
0.053711
0
0
0
0
0.221064
0.221064
0
0
0
0
0
1
0
true
0
0.533333
0
0.533333
0
0
0
0
null
1
1
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
1
0
1
0
0
0
0
5
cf07b7e337196bac6efbf856a77d8683e211d5bf
211
py
Python
py_distance/__init__.py
dizley/py-distance
c67912513d268f8d01619ea0db31a6da13a8b34f
[ "MIT" ]
null
null
null
py_distance/__init__.py
dizley/py-distance
c67912513d268f8d01619ea0db31a6da13a8b34f
[ "MIT" ]
null
null
null
py_distance/__init__.py
dizley/py-distance
c67912513d268f8d01619ea0db31a6da13a8b34f
[ "MIT" ]
null
null
null
from .haversine import calculate as hav from .vincenty import calculate as vin from .law_of_cosines import calculate as cos from .equirectangular import calculate as rec from .polar_flat import calculate as pol
35.166667
45
0.834123
33
211
5.242424
0.515152
0.433526
0.491329
0
0
0
0
0
0
0
0
0
0.14218
211
5
46
42.2
0.955801
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
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
cf5475e5d324986246c2603c1bd34d02cebc7b23
113
py
Python
rl_toolkit/utils/__init__.py
markub3327/rl-toolk
c9478f614c03480f35d5f04f885e994b14a0c37f
[ "MIT" ]
7
2021-05-20T04:08:24.000Z
2022-01-09T20:25:03.000Z
rl_toolkit/utils/__init__.py
markub3327/rl-toolk
c9478f614c03480f35d5f04f885e994b14a0c37f
[ "MIT" ]
5
2021-05-17T08:39:59.000Z
2022-03-02T17:14:19.000Z
rl_toolkit/utils/__init__.py
markub3327/rl-toolk
c9478f614c03480f35d5f04f885e994b14a0c37f
[ "MIT" ]
null
null
null
from .replay_buffer import make_reverb_dataset # noqa from .variable_container import VariableContainer # noqa
37.666667
57
0.840708
14
113
6.5
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.123894
113
2
58
56.5
0.919192
0.079646
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
cf5cdcbaa07efc94d545743693d8d3f09183c455
56
py
Python
app/models/lgbm_default/__init__.py
carbonpredict/carbonpredict
702c761287ce4e088ae1817a88958a438a3cc006
[ "MIT" ]
null
null
null
app/models/lgbm_default/__init__.py
carbonpredict/carbonpredict
702c761287ce4e088ae1817a88958a438a3cc006
[ "MIT" ]
27
2020-06-11T11:00:15.000Z
2020-09-01T20:08:54.000Z
app/models/lgbm_default/__init__.py
carbonpredict/carbonpredict
702c761287ce4e088ae1817a88958a438a3cc006
[ "MIT" ]
1
2020-07-23T09:08:06.000Z
2020-07-23T09:08:06.000Z
from .impl import LGBMDefault, LGBMQuantileRegression
14
53
0.839286
5
56
9.4
1
0
0
0
0
0
0
0
0
0
0
0
0.125
56
3
54
18.666667
0.959184
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
d852e521dd2f3f19d406685f9b51238bd57c2971
532
py
Python
bifacial_radiance/__init__.py
kperrynrel/bifacial_radiance
cf5ae46b4ef93990e3e1619956a186376cb4fd8a
[ "BSD-3-Clause" ]
null
null
null
bifacial_radiance/__init__.py
kperrynrel/bifacial_radiance
cf5ae46b4ef93990e3e1619956a186376cb4fd8a
[ "BSD-3-Clause" ]
null
null
null
bifacial_radiance/__init__.py
kperrynrel/bifacial_radiance
cf5ae46b4ef93990e3e1619956a186376cb4fd8a
[ "BSD-3-Clause" ]
null
null
null
from bifacial_radiance.main import AnalysisObj, GroundObj, MetObj, RadianceObj, SceneObj #from bifacial_radiance.readepw import readepw from bifacial_radiance.module import ModuleObj from bifacial_radiance import load from bifacial_radiance import modelchain from bifacial_radiance.gui import gui from bifacial_radiance ...
40.923077
88
0.87406
68
532
6.558824
0.382353
0.242152
0.403587
0.233184
0
0
0
0
0
0
0
0
0.092105
532
12
89
44.333333
0.923395
0.084586
0
0
0
0
0.014403
0
0
0
0
0
0
1
0
false
0
0.818182
0
0.818182
0
0
0
0
null
1
1
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
1
0
0
5
d858422e4cf747e416eb28f83a9b9108dee3a1e0
130
py
Python
cozer/__version__.py
pearu/cozer
13220d2118f2704175857fd9812763ce4d0c973b
[ "BSD-3-Clause-No-Nuclear-Warranty" ]
null
null
null
cozer/__version__.py
pearu/cozer
13220d2118f2704175857fd9812763ce4d0c973b
[ "BSD-3-Clause-No-Nuclear-Warranty" ]
null
null
null
cozer/__version__.py
pearu/cozer
13220d2118f2704175857fd9812763ce4d0c973b
[ "BSD-3-Clause-No-Nuclear-Warranty" ]
null
null
null
__version__ = '2.7' try: from __svn_version__ import version __version__ += '_svn' + version except ImportError: pass
18.571429
39
0.7
15
130
5.133333
0.666667
0.25974
0
0
0
0
0
0
0
0
0
0.019608
0.215385
130
6
40
21.666667
0.735294
0
0
0
0
0
0.053846
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.333333
0
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
0
0
0
1
1
0
0
0
0
5
d86d758dad1daf99d5e3d30b6af3fef9c5de5186
96
py
Python
venv/lib/python3.8/site-packages/tomlkit/toml_file.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/tomlkit/toml_file.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/tomlkit/toml_file.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/6a/4e/f0/ca7fab77637bfe77c0c551476cd744cee56f8a9723af7b78f69c36e7b0
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.385417
0
96
1
96
96
0.510417
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
d86f1feea46ddeafa4a74388af52b02ec5b287fc
258
py
Python
django3/crud/models.py
rafaelgarbelotte/projetopi
13f8d04d06efc65da1a1cb76f2cefe1fd05d8293
[ "MIT" ]
null
null
null
django3/crud/models.py
rafaelgarbelotte/projetopi
13f8d04d06efc65da1a1cb76f2cefe1fd05d8293
[ "MIT" ]
null
null
null
django3/crud/models.py
rafaelgarbelotte/projetopi
13f8d04d06efc65da1a1cb76f2cefe1fd05d8293
[ "MIT" ]
1
2021-11-28T14:43:08.000Z
2021-11-28T14:43:08.000Z
from django.db import models class Pessoa(models.Model): nome = models.CharField(max_length=100) servico = models.CharField(max_length=100) telefone = models.CharField(max_length=30) def __str__(self): return self.nome
21.5
47
0.682171
33
258
5.121212
0.606061
0.266272
0.319527
0.426036
0.319527
0
0
0
0
0
0
0.04
0.224806
258
11
48
23.454545
0.805
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
1
0
0
0
0
null
1
1
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
0
1
1
0
0
5
d8ae91d7c1d40144d6feb2f780b687c64af54f0c
53
py
Python
Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportParens.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
404
2019-05-07T02:21:57.000Z
2022-03-31T17:03:04.000Z
Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportParens.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
1,672
2019-05-06T21:09:38.000Z
2022-03-31T23:16:04.000Z
Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportParens.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
186
2019-05-13T03:17:37.000Z
2022-03-31T16:24:05.000Z
from test_module import (module_func_2) module_func()
26.5
39
0.849057
9
53
4.555556
0.666667
0.487805
0
0
0
0
0
0
0
0
0
0.020408
0.075472
53
2
40
26.5
0.816327
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
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
0
0
1
0
1
0
0
0
0
5
d8c0e1be3f3d4a4ba487984843b13faaa4195329
823
py
Python
packages/girder_worker/girder_worker/_test_plugins/plugins.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
packages/girder_worker/girder_worker/_test_plugins/plugins.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
packages/girder_worker/girder_worker/_test_plugins/plugins.py
ShenQianwithC/HistomicsTK
4ad7e72a7ebdabbdfc879254fad04ce7ca47e320
[ "Apache-2.0" ]
null
null
null
from girder_worker import GirderWorkerPluginABC class BaseTestPlugin(GirderWorkerPluginABC): def __init__(self, *args, **kwargs): pass def task_imports(self): return [] class TestCore(BaseTestPlugin): def task_imports(self): return ['os.path'] class TestPlugin1(BaseTestPlugin)...
21.102564
52
0.712029
84
823
6.761905
0.428571
0.116197
0.123239
0.158451
0.299296
0.200704
0
0
0
0
0
0.006033
0.194411
823
38
53
21.657895
0.850679
0
0
0.304348
0
0
0.130012
0.040097
0
0
0
0
0
1
0.434783
false
0.086957
0.304348
0.173913
1.086957
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
1
0
1
1
1
1
0
0
5
d8c3a1093f761fe84067111188fdad87b8044af1
129
py
Python
daiquiri/files/settings.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
14
2018-12-23T18:35:02.000Z
2021-12-15T04:55:12.000Z
daiquiri/files/settings.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
40
2018-12-20T12:44:05.000Z
2022-03-21T11:35:20.000Z
daiquiri/files/settings.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
5
2019-05-16T08:03:35.000Z
2021-08-23T20:03:11.000Z
import daiquiri.core.env as env FILES_BASE_PATH = env.get_abspath('FILES_BASE_PATH') FILES_BASE_URL = env.get('FILES_BASE_URL')
25.8
52
0.806202
23
129
4.130435
0.478261
0.378947
0.273684
0
0
0
0
0
0
0
0
0
0.085271
129
4
53
32.25
0.805085
0
0
0
0
0
0.224806
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
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
5
2b51315066df0c693bf92a9d3eae2be377c3af1c
65
py
Python
apps/pos/models.py
gvizquel/pyerp
c859f7293cabd1003f79112463cee93ac89fccba
[ "MIT" ]
null
null
null
apps/pos/models.py
gvizquel/pyerp
c859f7293cabd1003f79112463cee93ac89fccba
[ "MIT" ]
11
2020-06-05T22:50:37.000Z
2022-02-10T09:05:56.000Z
apps/pos/models.py
gvizquel/pyerp
c859f7293cabd1003f79112463cee93ac89fccba
[ "MIT" ]
null
null
null
# Librerias en carpetas locales from .submodels.pos import PyPos
21.666667
32
0.815385
9
65
5.888889
1
0
0
0
0
0
0
0
0
0
0
0
0.138462
65
2
33
32.5
0.946429
0.446154
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
991ecaae53f0a0d99b480c8e43b493c1c7e564cb
3,461
py
Python
integration/python/test/test_aggregation_api.py
ShekharPaatni/SDK
6534ffdb63af87c02c431df9add05a90370183cb
[ "Apache-2.0" ]
11
2019-04-16T02:11:17.000Z
2021-12-16T22:51:40.000Z
integration/python/test/test_aggregation_api.py
ShekharPaatni/SDK
6534ffdb63af87c02c431df9add05a90370183cb
[ "Apache-2.0" ]
81
2019-11-19T23:24:28.000Z
2022-03-28T11:35:47.000Z
integration/python/test/test_aggregation_api.py
ShekharPaatni/SDK
6534ffdb63af87c02c431df9add05a90370183cb
[ "Apache-2.0" ]
11
2020-07-08T02:29:56.000Z
2022-03-28T10:05:33.000Z
# coding: utf-8 """ Hydrogen Integration API The Hydrogen Integration API # noqa: E501 OpenAPI spec version: 1.3.1 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import integration...
30.901786
117
0.713089
433
3,461
5.3903
0.184758
0.215938
0.143959
0.070694
0.748929
0.61054
0.600257
0.600257
0.540703
0.489289
0
0.017274
0.230569
3,461
111
118
31.18018
0.859181
0.531349
0
0.352941
1
0
0.005948
0
0
0
0
0
0
1
0.382353
false
0.352941
0.147059
0
0.558824
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
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
9958ce963946067cf63de011195b4060dfe1fc47
133,042
py
Python
docs/raspiwrite.py
LukeMcCulloch/Raspberry-Pi-Fun-Cluster-Computer
9b50fc4b0bf33f831af8372b076385e9b8f6b9b4
[ "MIT" ]
null
null
null
docs/raspiwrite.py
LukeMcCulloch/Raspberry-Pi-Fun-Cluster-Computer
9b50fc4b0bf33f831af8372b076385e9b8f6b9b4
[ "MIT" ]
null
null
null
docs/raspiwrite.py
LukeMcCulloch/Raspberry-Pi-Fun-Cluster-Computer
9b50fc4b0bf33f831af8372b076385e9b8f6b9b4
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html> <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#"> <meta charset='utf-8'> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>RasPiWrite/raspiwrite.py at master · exaviorn/RasPiWrite · GitHub</title> <link rel="...
130.561335
88,688
0.62799
21,646
133,042
3.856509
0.113416
0.215626
0.276264
0.088215
0.668164
0.650231
0.606052
0.58177
0.547809
0.523335
0
0.058996
0.086243
133,042
1,018
88,689
130.689587
0.627641
0
0
0.135945
0
0.031106
0.386125
0.073877
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
1
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
1
0
0
0
0
0
0
0
0
5
41e8e00ddc3dce0cf45ef2ddd4fcad31aba312c4
43
py
Python
src/test/data/pa3/AdditionalTestCase/UnitTest/strcat_arg0_is_emptyString.py
Leo-Enrique-Wu/chocopy_compiler_code_generation
4606be0531b3de77411572aae98f73169f46b3b9
[ "BSD-2-Clause" ]
null
null
null
src/test/data/pa3/AdditionalTestCase/UnitTest/strcat_arg0_is_emptyString.py
Leo-Enrique-Wu/chocopy_compiler_code_generation
4606be0531b3de77411572aae98f73169f46b3b9
[ "BSD-2-Clause" ]
null
null
null
src/test/data/pa3/AdditionalTestCase/UnitTest/strcat_arg0_is_emptyString.py
Leo-Enrique-Wu/chocopy_compiler_code_generation
4606be0531b3de77411572aae98f73169f46b3b9
[ "BSD-2-Clause" ]
null
null
null
print("" + "1234") print("Hello" + "World")
21.5
24
0.55814
5
43
4.8
0.8
0
0
0
0
0
0
0
0
0
0
0.105263
0.116279
43
2
24
21.5
0.526316
0
0
0
0
0
0.318182
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
0
1
0
5
51129cfa86d8d83873034b3c75e7a54a9f297b91
145
py
Python
abc/abc036/abc036b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
abc/abc036/abc036b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
abc/abc036/abc036b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
N = int(input()) s = [input() for _ in range(N)] for y in range(N): for x in range(N): print(s[N - 1 - x][y], end='') print('')
18.125
38
0.475862
27
145
2.518519
0.444444
0.308824
0.352941
0.323529
0
0
0
0
0
0
0
0.009709
0.289655
145
7
39
20.714286
0.650485
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
1
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
5
51169e2ed48fd1acd7b73a37ea57537c8a7e3f38
96
py
Python
tt/expressions/__init__.py
fkromer/tt
b4dfc90f7d0f9b5794e1f5054b640e22f6f75bf7
[ "MIT" ]
233
2016-02-05T20:13:06.000Z
2022-03-26T13:01:10.000Z
tt/expressions/__init__.py
fkromer/tt
b4dfc90f7d0f9b5794e1f5054b640e22f6f75bf7
[ "MIT" ]
8
2017-12-20T17:07:58.000Z
2020-08-06T15:44:55.000Z
tt/expressions/__init__.py
fkromer/tt
b4dfc90f7d0f9b5794e1f5054b640e22f6f75bf7
[ "MIT" ]
15
2016-03-22T23:37:56.000Z
2022-02-27T17:51:08.000Z
"""Tools for working with Boolean expressions.""" from .bexpr import BooleanExpression # noqa
24
49
0.760417
11
96
6.636364
1
0
0
0
0
0
0
0
0
0
0
0
0.145833
96
3
50
32
0.890244
0.510417
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
51394b5fdcbb8014ce17029ea6d5d771d0417075
6,528
py
Python
tests/test_collector.py
ThanhTamPotter/libvirt-prometheus-exporter
07f31b29404404f6679da5a85145c7d089e5f9e9
[ "MIT" ]
5
2019-08-14T20:35:34.000Z
2022-01-05T22:58:46.000Z
tests/test_collector.py
ThanhTamPotter/libvirt-prometheus-exporter
07f31b29404404f6679da5a85145c7d089e5f9e9
[ "MIT" ]
58
2019-08-13T23:36:48.000Z
2021-08-03T04:40:51.000Z
tests/test_collector.py
ThanhTamPotter/libvirt-prometheus-exporter
07f31b29404404f6679da5a85145c7d089e5f9e9
[ "MIT" ]
3
2019-08-14T20:35:46.000Z
2020-04-03T09:40:15.000Z
from libvirt_exporter.collector import parse_net, parse_blk class TestLibvirtCollector: def test_net_parser_will_return_empty_array(self): data = {} assert len(parse_net(data)) == 0, "a empty data set should not result in a set" def test_net_parser_will_return_single_array(self): dat...
35.096774
87
0.506434
819
6,528
3.908425
0.102564
0.247423
0.052484
0.035614
0.788816
0.783818
0.72946
0.684161
0.666979
0.61637
0
0.051117
0.334712
6,528
185
88
35.286486
0.685931
0
0
0.695402
0
0
0.283088
0
0
0
0
0
0.41954
1
0.034483
false
0
0.005747
0
0.045977
0
0
0
0
null
1
0
0
0
1
1
0
0
1
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
5
514f994228bd33486de090bc7445014fba3d10f0
364
py
Python
install_requirements.py
Chris-top/OKA-D
3a5d3bd9417c261dfa36159d5b25ccf8fb96a330
[ "MIT" ]
null
null
null
install_requirements.py
Chris-top/OKA-D
3a5d3bd9417c261dfa36159d5b25ccf8fb96a330
[ "MIT" ]
null
null
null
install_requirements.py
Chris-top/OKA-D
3a5d3bd9417c261dfa36159d5b25ccf8fb96a330
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import subprocess import sys subprocess.check_call([sys.executable, "-m", "pip", "install", "pip", "-U"]) # temporary workaroud for issue between main and develop subprocess.check_call([sys.executable, "-m", "pip", "uninstall", "depthai", "--yes"]) subprocess.check_call([sys.executable, "-m", "...
36.4
89
0.692308
47
364
5.297872
0.595745
0.180723
0.228916
0.26506
0.48996
0.48996
0.48996
0.345382
0
0
0
0.00304
0.096154
364
9
90
40.444444
0.753799
0.208791
0
0
0
0
0.255245
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
1
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
1
0
1
0
0
0
0
5
5abdb277eaed0ad8758fc422fdbb02117d940123
33
py
Python
roamPy/__init__.py
maahutch/roamPy
d3752b982eced2b514cfe34ffde5c06d5bd77d8e
[ "MIT" ]
null
null
null
roamPy/__init__.py
maahutch/roamPy
d3752b982eced2b514cfe34ffde5c06d5bd77d8e
[ "MIT" ]
null
null
null
roamPy/__init__.py
maahutch/roamPy
d3752b982eced2b514cfe34ffde5c06d5bd77d8e
[ "MIT" ]
null
null
null
from roamPy.roamClass import Roam
33
33
0.878788
5
33
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
33
1
33
33
0.966667
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
0
0
0
5
5af140404b5b58675887fc6331fa4abdd9e02bc4
136
py
Python
LeetCode/leetcode 1460.py
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
LeetCode/leetcode 1460.py
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
LeetCode/leetcode 1460.py
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
from collections import Counter class Solution: def canBeEqual(self, target, arr): return Counter(target) == Counter(arr)
19.428571
46
0.705882
16
136
6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.205882
136
6
47
22.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
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
1
0
0
0
1
1
0
0
5
5af6fd1df93f537cfe6791e413622d66e166257e
14
py
Python
Pipe.py
ricky001/Demo
d14b0daab983ad424f65d1a25a25f65e205f6fb1
[ "MIT" ]
null
null
null
Pipe.py
ricky001/Demo
d14b0daab983ad424f65d1a25a25f65e205f6fb1
[ "MIT" ]
2
2018-05-23T06:47:49.000Z
2018-06-18T07:08:23.000Z
Pipe.py
ricky001/Demo
d14b0daab983ad424f65d1a25a25f65e205f6fb1
[ "MIT" ]
null
null
null
print("pipe")
7
13
0.642857
2
14
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.071429
14
1
14
14
0.692308
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
0
1
0
5
85131aea301bea089e57a25d54c8549cc583263e
53
py
Python
cli/jobs/pipelines-with-components/basics/3a_basic_pipeline/componentC_src/hello.py
Ali-ry/azureml-examples
817ae89d2766dcafd70937a22cb3a80f100a2906
[ "MIT" ]
null
null
null
cli/jobs/pipelines-with-components/basics/3a_basic_pipeline/componentC_src/hello.py
Ali-ry/azureml-examples
817ae89d2766dcafd70937a22cb3a80f100a2906
[ "MIT" ]
null
null
null
cli/jobs/pipelines-with-components/basics/3a_basic_pipeline/componentC_src/hello.py
Ali-ry/azureml-examples
817ae89d2766dcafd70937a22cb3a80f100a2906
[ "MIT" ]
null
null
null
print("Hello Python World...\nI'm component C :-)")
26.5
52
0.641509
8
53
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.132075
53
1
53
53
0.73913
0
0
0
0
0
0.807692
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
852420f8b26f5710312eaf7e0d1fc49a0ae83d86
6,921
py
Python
groupdocs_signature_cloud/__init__.py
groupdocs-signature-cloud/groupdocs-signature-cloud-python
2b7f03b3d70f191dc1292f6221ed9301811681cf
[ "MIT" ]
null
null
null
groupdocs_signature_cloud/__init__.py
groupdocs-signature-cloud/groupdocs-signature-cloud-python
2b7f03b3d70f191dc1292f6221ed9301811681cf
[ "MIT" ]
null
null
null
groupdocs_signature_cloud/__init__.py
groupdocs-signature-cloud/groupdocs-signature-cloud-python
2b7f03b3d70f191dc1292f6221ed9301811681cf
[ "MIT" ]
1
2021-02-03T00:18:17.000Z
2021-02-03T00:18:17.000Z
# coding: utf-8 # flake8: noqa from __future__ import absolute_import # import apis from groupdocs_signature_cloud.apis.file_api import FileApi from groupdocs_signature_cloud.apis.folder_api import FolderApi from groupdocs_signature_cloud.apis.info_api import InfoApi from groupdocs_signature_cloud.apis.preview_api i...
67.194175
175
0.913741
845
6,921
7.144379
0.201183
0.191651
0.324333
0.398045
0.557893
0.416763
0.103031
0.090111
0
0
0
0.000307
0.057651
6,921
102
176
67.852941
0.92533
0.012281
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
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
1
0
1
0
1
0
0
5
518cff6cc7c374ebbc73c77c57ca2d6ecce06fbb
1,449
py
Python
untitled2.py
nephilim2016/AutoEncoder-for-GPR-Denoise
b55be16bd0b6af785efcf072d68dd5523a72f964
[ "MIT" ]
null
null
null
untitled2.py
nephilim2016/AutoEncoder-for-GPR-Denoise
b55be16bd0b6af785efcf072d68dd5523a72f964
[ "MIT" ]
null
null
null
untitled2.py
nephilim2016/AutoEncoder-for-GPR-Denoise
b55be16bd0b6af785efcf072d68dd5523a72f964
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jul 29 22:06:37 2020 @author: nephilim """ import numpy as np from matplotlib import pyplot,cm import T_PowerGain import skimage.transform # data=np.load('./TunnelLining.npy') # ProfileTargetGain=T_PowerGain.tpowGain(data,np.arange(7000)/4,0.9) # Pro...
36.225
141
0.748102
239
1,449
4.48954
0.359833
0.037279
0.014911
0.055918
0.760485
0.760485
0.760485
0.760485
0.760485
0.760485
0
0.097525
0.05176
1,449
40
142
36.225
0.683406
0.484472
0
0
0
0
0.101788
0.066025
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
1
1
1
1
1
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
5
519f0fc6d587a5bea01dc9e0f13e9fd7169ff7b2
2,918
py
Python
network_attack_simulator/envs/test/test_machine.py
Carayolj/NetworkAttackSimulator
563fcca92543dc76dcd6850c7c4ad0950966dea9
[ "MIT" ]
null
null
null
network_attack_simulator/envs/test/test_machine.py
Carayolj/NetworkAttackSimulator
563fcca92543dc76dcd6850c7c4ad0950966dea9
[ "MIT" ]
null
null
null
network_attack_simulator/envs/test/test_machine.py
Carayolj/NetworkAttackSimulator
563fcca92543dc76dcd6850c7c4ad0950966dea9
[ "MIT" ]
null
null
null
import numpy as np import unittest from network_attack_simulator.envs.action import Action from network_attack_simulator.envs.machine import Machine A_COST = 10 class MachineTestCase(unittest.TestCase): def setUp(self): self.test_r = 5000.0 self.services = np.asarray([True, False, True]) ...
36.936709
79
0.645305
380
2,918
4.847368
0.184211
0.05646
0.06949
0.081433
0.805646
0.705755
0.705755
0.705755
0.678067
0.678067
0
0.025699
0.23989
2,918
78
80
37.410256
0.804779
0.172378
0
0.442308
0
0
0.010811
0
0
0
0
0
0.384615
1
0.096154
false
0
0.076923
0
0.192308
0
0
0
0
null
0
0
0
1
1
1
1
0
1
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
5
519f3a9a270ba82a25e2ff0dc4e0c8aa634fbf41
119
py
Python
Homework/Homework_0/Python_Tutorial/Functions/function_local.py
donnel2-cooper/drone_control
3bb3a1c1f768916ac41d4b78692e2edab0776c07
[ "MIT" ]
null
null
null
Homework/Homework_0/Python_Tutorial/Functions/function_local.py
donnel2-cooper/drone_control
3bb3a1c1f768916ac41d4b78692e2edab0776c07
[ "MIT" ]
null
null
null
Homework/Homework_0/Python_Tutorial/Functions/function_local.py
donnel2-cooper/drone_control
3bb3a1c1f768916ac41d4b78692e2edab0776c07
[ "MIT" ]
null
null
null
x = 50 def func(x): print('x is',x) x = 2 print('Changed local x to',x) func(x) print('x is still',x)
13.222222
33
0.521008
24
119
2.583333
0.458333
0.16129
0.322581
0.354839
0.419355
0
0
0
0
0
0
0.035714
0.294118
119
9
34
13.222222
0.702381
0
0
0
0
0
0.266667
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.428571
1
0
0
null
0
1
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
1
0
5
51a7e9d639b3997cc869cd14a27e9e263a7dc805
2,490
py
Python
api/content/signals.py
luoyangC/island_django
e40a16f1465edc1376b00aa8f953b285f9802731
[ "Apache-2.0" ]
null
null
null
api/content/signals.py
luoyangC/island_django
e40a16f1465edc1376b00aa8f953b285f9802731
[ "Apache-2.0" ]
6
2020-05-05T07:13:16.000Z
2021-09-22T18:58:16.000Z
api/content/signals.py
luoyangC/island_django
e40a16f1465edc1376b00aa8f953b285f9802731
[ "Apache-2.0" ]
null
null
null
from django.db.models.signals import post_save, post_delete from django.dispatch import receiver from content.models import Article from action.models import Like, Fav, Comment, Reply @receiver(post_save, sender=Fav) def add_fav(sender, instance=None, **kwargs): if instance: _article = Article.ob...
30.740741
71
0.640161
304
2,490
5.013158
0.115132
0.098425
0.094488
0.125984
0.802493
0.76378
0.76378
0.76378
0.646982
0.646982
0
0.008593
0.252209
2,490
80
72
31.125
0.809882
0
0
0.5625
0
0
0.005809
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.1875
0
0
0
0
null
0
0
0
1
1
1
1
0
1
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
5
51c0bb612b44b86bb07289bebf916f8b24837acd
140
py
Python
adet/modeling/SMInst/__init__.py
shuaiqi361/AdelaiDet
35d944033a8d2f7aa623ad607b57bd8a1fe88b43
[ "BSD-2-Clause" ]
null
null
null
adet/modeling/SMInst/__init__.py
shuaiqi361/AdelaiDet
35d944033a8d2f7aa623ad607b57bd8a1fe88b43
[ "BSD-2-Clause" ]
null
null
null
adet/modeling/SMInst/__init__.py
shuaiqi361/AdelaiDet
35d944033a8d2f7aa623ad607b57bd8a1fe88b43
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from .SMInst import SMInst from .SMEncoding import SparseMaskEncoding
46.666667
70
0.814286
18
140
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.128571
140
3
71
46.666667
0.934426
0.485714
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
51c2ba8203078865d5de62c87cc3d6b582c016a9
59
py
Python
IceSpringMusicPlayer/domains/__init__.py
baijifeilong/rawsteelp
425547e6e2395bf4acb62435b18b5b3a4b7ebef4
[ "MIT" ]
null
null
null
IceSpringMusicPlayer/domains/__init__.py
baijifeilong/rawsteelp
425547e6e2395bf4acb62435b18b5b3a4b7ebef4
[ "MIT" ]
null
null
null
IceSpringMusicPlayer/domains/__init__.py
baijifeilong/rawsteelp
425547e6e2395bf4acb62435b18b5b3a4b7ebef4
[ "MIT" ]
null
null
null
# Created by BaiJiFeiLong@gmail.com at 2022-01-03 13:16:15
29.5
58
0.762712
12
59
3.75
1
0
0
0
0
0
0
0
0
0
0
0.269231
0.118644
59
1
59
59
0.596154
0.949153
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
1
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
51c4ef18c5d7f3e4f7e862d249d71f037fb10972
78
py
Python
webcam_ml/__init__.py
apockill/webcam-ml
f001688cf891c44b407823cc866d8ae9bdc4c51b
[ "MIT" ]
null
null
null
webcam_ml/__init__.py
apockill/webcam-ml
f001688cf891c44b407823cc866d8ae9bdc4c51b
[ "MIT" ]
null
null
null
webcam_ml/__init__.py
apockill/webcam-ml
f001688cf891c44b407823cc866d8ae9bdc4c51b
[ "MIT" ]
null
null
null
from .video_stream import Capture from .capsule_runtime import CapsuleRuntime
26
43
0.871795
10
78
6.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.102564
78
2
44
39
0.942857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
51ee54f6a2b58e0010425d3f8042333f2e548af2
5,189
py
Python
tests/xfdnn/test_xfdnn_compiler_caffe_deephi.py
yarenty/ml-suite
570202d904cf5980c2262b4cfc067eb8428ea8d0
[ "Apache-2.0" ]
334
2018-06-07T00:42:09.000Z
2022-01-08T19:48:50.000Z
tests/xfdnn/test_xfdnn_compiler_caffe_deephi.py
yarenty/ml-suite
570202d904cf5980c2262b4cfc067eb8428ea8d0
[ "Apache-2.0" ]
99
2018-06-20T14:13:09.000Z
2020-11-03T19:36:50.000Z
tests/xfdnn/test_xfdnn_compiler_caffe_deephi.py
yarenty/ml-suite
570202d904cf5980c2262b4cfc067eb8428ea8d0
[ "Apache-2.0" ]
151
2018-06-15T12:10:09.000Z
2021-11-19T06:22:35.000Z
#!/usr/bin/env python # # // SPDX-License-Identifier: BSD-3-CLAUSE # # (C) Copyright 2018, Xilinx, Inc. # import os,sys from xfdnn.tools.compile.bin.xfdnn_compiler_caffe import CaffeFrontend as xfdnnCompiler def run_compiler(dsp, mem, prototxt, caffemodel, quantcfg): print("Testing xfdnn_compiler_caffe...") pr...
39.310606
156
0.787242
641
5,189
6.014041
0.188768
0.093385
0.130739
0.168093
0.806226
0.766537
0.752789
0.696239
0.57406
0.48716
0
0.016046
0.099248
5,189
131
157
39.610687
0.808729
0.09154
0
0.166667
0
0.011905
0.542863
0.507552
0
0
0
0
0
1
0.083333
false
0
0.035714
0
0.154762
0.059524
0
0
0
null
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
51f94b72f1b228ed7d87c870da16af732691c7e3
47
py
Python
tests/__init__.py
mikejihbe/sentry_onboarding
f2dd4dc5b998afb6e1288d72c7d84d4b8e79aff6
[ "MIT" ]
null
null
null
tests/__init__.py
mikejihbe/sentry_onboarding
f2dd4dc5b998afb6e1288d72c7d84d4b8e79aff6
[ "MIT" ]
null
null
null
tests/__init__.py
mikejihbe/sentry_onboarding
f2dd4dc5b998afb6e1288d72c7d84d4b8e79aff6
[ "MIT" ]
null
null
null
"""Unit test package for sentry_onboarding."""
23.5
46
0.744681
6
47
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.106383
47
1
47
47
0.809524
0.851064
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
51fa1fd042aeca48ea85d4aed887649f2d457fa3
104,076
py
Python
tccli/services/cvm/v20170312/help.py
ivandksun/tencentcloud-cli-intl-en
41b84e339918961b8bc92f7498e56347d21e16d3
[ "Apache-2.0" ]
null
null
null
tccli/services/cvm/v20170312/help.py
ivandksun/tencentcloud-cli-intl-en
41b84e339918961b8bc92f7498e56347d21e16d3
[ "Apache-2.0" ]
1
2022-02-07T13:39:09.000Z
2022-02-07T13:39:09.000Z
tccli/services/cvm/v20170312/help.py
ivandksun/tencentcloud-cli-intl-en
41b84e339918961b8bc92f7498e56347d21e16d3
[ "Apache-2.0" ]
4
2020-07-20T01:51:58.000Z
2021-08-13T08:25:22.000Z
# -*- coding: utf-8 -*- DESC = "cvm-2017-03-12" INFO = { "CreateImage": { "params": [ { "name": "ImageName", "desc": "Image name" }, { "name": "InstanceId", "desc": "Instance ID used to create an image." }, { "name": "ImageDescription", ...
92.842105
3,182
0.69996
15,389
104,076
4.709013
0.068426
0.028813
0.036016
0.043468
0.742034
0.715264
0.68979
0.674735
0.650958
0.630922
0
0.024552
0.18326
104,076
1,121
3,183
92.842105
0.827971
0.000202
0
0.310714
0
0.219643
0.859746
0.042516
0
0
0
0
0
1
0
false
0.015179
0.010714
0
0.010714
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
cfc0676def4f5f1f77791e1d6222a6afd3875595
146
py
Python
Ex021-Tocando_um_mp3.py
Diego-Sil/Python_do_Curso_em_Video
31b1f059a139212d5f53c4c32038939a9d6d178b
[ "MIT" ]
null
null
null
Ex021-Tocando_um_mp3.py
Diego-Sil/Python_do_Curso_em_Video
31b1f059a139212d5f53c4c32038939a9d6d178b
[ "MIT" ]
null
null
null
Ex021-Tocando_um_mp3.py
Diego-Sil/Python_do_Curso_em_Video
31b1f059a139212d5f53c4c32038939a9d6d178b
[ "MIT" ]
null
null
null
import pygame pygame.mixer.init() pygame.init() pygame.mixer.music.load('asus-yamete-kudasai.mp3') pygame.mixer.music.play() pygame.event.wait()
18.25
50
0.767123
22
146
5.090909
0.590909
0.294643
0.285714
0
0
0
0
0
0
0
0
0.007246
0.054795
146
7
51
20.857143
0.804348
0
0
0
0
0
0.158621
0.158621
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
1
1
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
0
0
0
0
0
5
cfc5dd7d0a6b752c635de51c2d66e4d60f7090b0
2,042
py
Python
tests/rule_model_test.py
biggorilla-gh/frameit
9cae56b4089fff6c955f8b86c699aa402a1390ac
[ "Apache-2.0" ]
3
2018-12-29T01:10:37.000Z
2020-06-12T09:45:11.000Z
tests/rule_model_test.py
biggorilla-gh/frameit
9cae56b4089fff6c955f8b86c699aa402a1390ac
[ "Apache-2.0" ]
null
null
null
tests/rule_model_test.py
biggorilla-gh/frameit
9cae56b4089fff6c955f8b86c699aa402a1390ac
[ "Apache-2.0" ]
null
null
null
import unittest from frameit.models.rule_model import RuleModel class RuleModelTest(unittest.TestCase): def test_extract(self): model = RuleModel('test') model.add_rule('around * today') model.add_pattern('\d{1,2}') doc = model.nlp('I will be arriving around 3 today') ext...
37.814815
76
0.516161
262
2,042
3.931298
0.21374
0.062136
0.017476
0.085437
0.753398
0.712621
0.712621
0.712621
0.712621
0.660194
0
0.031571
0.333007
2,042
53
77
38.528302
0.72467
0
0
0.681818
0
0
0.186092
0
0
0
0
0
0.136364
1
0.113636
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
1
1
1
1
1
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
5
cfd13369de6023053104c10354eae0f15d3d8daf
162
py
Python
contrib/node/src/python/pants/contrib/node/targets/node_thrift_library.py
itsmesatwik/pants
4f3f45ab911d5ccc1d1d90c523959588e940dc8e
[ "Apache-2.0" ]
null
null
null
contrib/node/src/python/pants/contrib/node/targets/node_thrift_library.py
itsmesatwik/pants
4f3f45ab911d5ccc1d1d90c523959588e940dc8e
[ "Apache-2.0" ]
null
null
null
contrib/node/src/python/pants/contrib/node/targets/node_thrift_library.py
itsmesatwik/pants
4f3f45ab911d5ccc1d1d90c523959588e940dc8e
[ "Apache-2.0" ]
null
null
null
from pants.contrib.node.targets.node_module import NodeModule class NodeThriftLibrary(NodeModule): """ A Node library generated from Thrift IDL Files """
20.25
61
0.771605
20
162
6.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.148148
162
7
62
23.142857
0.898551
0.283951
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
cfd53cc3519346947fdfe3260ba0d219f18db206
103
py
Python
tests/measures/sample/__init__.py
tandriamil/BrFAST
b687a356acc813d45dbaf5b5eb0f360df181904a
[ "MIT" ]
6
2021-04-20T17:33:17.000Z
2021-12-20T18:59:58.000Z
tests/measures/sample/__init__.py
tandriamil/BrFAST
b687a356acc813d45dbaf5b5eb0f360df181904a
[ "MIT" ]
null
null
null
tests/measures/sample/__init__.py
tandriamil/BrFAST
b687a356acc813d45dbaf5b5eb0f360df181904a
[ "MIT" ]
2
2021-12-20T19:00:03.000Z
2022-03-22T01:57:41.000Z
#!/usr/bin/python3 """Init file of the tests.measures.sample module.""" import brfast.measures.sample
20.6
52
0.747573
15
103
5.133333
0.866667
0.363636
0
0
0
0
0
0
0
0
0
0.010753
0.097087
103
4
53
25.75
0.817204
0.621359
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
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
0
0
1
0
1
0
0
0
0
5
cff26d92fc4e060fc7732908116e5432044c1217
142
py
Python
alarm-clock/__main__.py
TeenageMutantCoder/Alarm-Clock
88adf1920354f34b2e8131233617bcd84272e9ed
[ "MIT" ]
1
2020-11-28T11:37:42.000Z
2020-11-28T11:37:42.000Z
alarm-clock/__main__.py
TeenageMutantCoder/Alarm-Clock
88adf1920354f34b2e8131233617bcd84272e9ed
[ "MIT" ]
2
2022-01-13T02:26:58.000Z
2022-03-12T00:21:38.000Z
alarm-clock/__main__.py
TeenageMutantCoder/Alarm-Clock
88adf1920354f34b2e8131233617bcd84272e9ed
[ "MIT" ]
2
2020-07-15T10:53:17.000Z
2022-03-23T18:11:28.000Z
try: from app import App except ImportError: from .app import App if __name__ == "__main__": app = App(600, 185) app.start()
15.777778
26
0.633803
20
142
4.1
0.6
0.170732
0.317073
0.390244
0
0
0
0
0
0
0
0.057143
0.260563
142
9
27
15.777778
0.72381
0
0
0
0
0
0.055944
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
1
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
1
0
0
0
0
5
cff7f2243df4b2c407e88fa346cf8b19cb5ce7e2
226
py
Python
Print/printBs.py
MooersLab/jupyterlabpymolpysnipsplus
b886750d63372434df53d4d6d7cdad6cb02ae4e7
[ "MIT" ]
null
null
null
Print/printBs.py
MooersLab/jupyterlabpymolpysnipsplus
b886750d63372434df53d4d6d7cdad6cb02ae4e7
[ "MIT" ]
null
null
null
Print/printBs.py
MooersLab/jupyterlabpymolpysnipsplus
b886750d63372434df53d4d6d7cdad6cb02ae4e7
[ "MIT" ]
null
null
null
# Description: Print the B-factors of a residue. # Source: placeHolder """ cmd.do('remove element h; iterate resi ${1: 1:13}, print(resi, name,b);') """ cmd.do('remove element h; iterate resi 1:13, print(resi, name,b);')
25.111111
73
0.659292
37
226
4.027027
0.540541
0.067114
0.147651
0.241611
0.637584
0.637584
0.416107
0.416107
0
0
0
0.036649
0.154867
226
8
74
28.25
0.743456
0.632743
0
0
0
0
0.783784
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
5c5406afb3f563a3a36c41b8a7752867b9adc933
42
py
Python
doctest_travis/__init__.py
ofosos/doctest-travis
107c3344077cb3d6aca9c4849fc0a88abc7628f4
[ "MIT" ]
null
null
null
doctest_travis/__init__.py
ofosos/doctest-travis
107c3344077cb3d6aca9c4849fc0a88abc7628f4
[ "MIT" ]
null
null
null
doctest_travis/__init__.py
ofosos/doctest-travis
107c3344077cb3d6aca9c4849fc0a88abc7628f4
[ "MIT" ]
null
null
null
from .code import stupid_sum, stupid_mul
14
40
0.809524
7
42
4.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.142857
42
2
41
21
0.888889
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
0
0
0
5
5ca2765c895bdce73bae90bf8b6ea6cc70b06557
56
py
Python
python/kyu7/ProductIDfromURL.py
Enestst/codewars
f8edffa7439a035109b1c56304a958516ade1a08
[ "MIT" ]
null
null
null
python/kyu7/ProductIDfromURL.py
Enestst/codewars
f8edffa7439a035109b1c56304a958516ade1a08
[ "MIT" ]
null
null
null
python/kyu7/ProductIDfromURL.py
Enestst/codewars
f8edffa7439a035109b1c56304a958516ade1a08
[ "MIT" ]
null
null
null
def get_product_id(url): return url.split('-')[-2]
18.666667
29
0.625
9
56
3.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0.021277
0.160714
56
2
30
28
0.680851
0
0
0
0
0
0.017857
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
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
1
0
0
0
1
1
0
0
5
5cd44ed03b2fe0e2bcadf34f4c8ba90783f36509
80
py
Python
pyldb/__init__.py
jwg4/pyldl
439e9853d22ce8fa358023aa6c4bf3030b831774
[ "MIT" ]
null
null
null
pyldb/__init__.py
jwg4/pyldl
439e9853d22ce8fa358023aa6c4bf3030b831774
[ "MIT" ]
2
2019-07-08T20:42:26.000Z
2019-07-13T07:49:13.000Z
pyldb/__init__.py
jwg4/pyldl
439e9853d22ce8fa358023aa6c4bf3030b831774
[ "MIT" ]
1
2020-09-04T23:06:17.000Z
2020-09-04T23:06:17.000Z
# flake8: noqa from .render import render_board from .retrieve import get_board
20
32
0.8125
12
80
5.25
0.666667
0
0
0
0
0
0
0
0
0
0
0.014493
0.1375
80
3
33
26.666667
0.898551
0.15
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
7a4c76fb35e12619e8c96b6943ed239c9cf57315
112
py
Python
rl_starterpack/agents/__init__.py
RL-Starterpack/rl-starterpack
af61d08eb00b0c960b103eb469a73ba2f47b9990
[ "MIT" ]
25
2020-11-23T15:26:04.000Z
2021-07-21T09:24:16.000Z
rl_starterpack/agents/__init__.py
RL-Starterpack/rl-starterpack
af61d08eb00b0c960b103eb469a73ba2f47b9990
[ "MIT" ]
null
null
null
rl_starterpack/agents/__init__.py
RL-Starterpack/rl-starterpack
af61d08eb00b0c960b103eb469a73ba2f47b9990
[ "MIT" ]
9
2021-03-28T07:45:48.000Z
2022-03-22T12:43:10.000Z
from .ac import AC from .dqn import DQN from .pg import PG from .random import RandomAgent from .tql import TQL
18.666667
31
0.776786
20
112
4.35
0.4
0
0
0
0
0
0
0
0
0
0
0
0.178571
112
5
32
22.4
0.945652
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
7a559585b40e58f8af5463494fba885bb67d5b2d
1,146
py
Python
test/test_jpiarea.py
liujb/python-geohash
aa5e18dbbf887140d77a33d84d2f07d126d47ba4
[ "Unlicense", "Apache-2.0", "MIT" ]
284
2015-03-16T08:39:44.000Z
2022-03-24T12:21:22.000Z
test/test_jpiarea.py
ynb007/python-geohash
f5d105fb140ab6a1d80b85a134f834cf9c2e2390
[ "MIT", "Apache-2.0", "Unlicense" ]
20
2015-03-16T02:57:58.000Z
2021-06-24T18:13:38.000Z
test/test_jpiarea.py
ynb007/python-geohash
f5d105fb140ab6a1d80b85a134f834cf9c2e2390
[ "MIT", "Apache-2.0", "Unlicense" ]
104
2015-03-16T08:26:39.000Z
2021-12-17T14:26:21.000Z
# coding: UTF-8 import unittest import jpiarea def dms(d,m,s): return float(d) + (float(m) + float(s)/60)/60.0 class TestReference(unittest.TestCase): # hash code examples from open iarea document # http://www.nttdocomo.co.jp/service/imode/make/content/iarea/domestic/index.html def test_lv1(self): se...
33.705882
83
0.699825
166
1,146
4.759036
0.481928
0.212658
0.091139
0.220253
0.324051
0.324051
0.324051
0.324051
0.324051
0.324051
0
0.208167
0.123909
1,146
33
84
34.727273
0.578685
0.119546
0
0.166667
0
0
0.049383
0
0
0
0
0
0.458333
1
0.208333
false
0
0.083333
0.041667
0.375
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
5
7a69f3340bd2c7a34834a01da0ae6f8be1dde37c
182
py
Python
src/model/calculation.py
ChinonsoChima/IS_218_Stats_Calc
8f494b5ac288d4cdc55ffd2cb2eb1a1707889aee
[ "MIT" ]
null
null
null
src/model/calculation.py
ChinonsoChima/IS_218_Stats_Calc
8f494b5ac288d4cdc55ffd2cb2eb1a1707889aee
[ "MIT" ]
null
null
null
src/model/calculation.py
ChinonsoChima/IS_218_Stats_Calc
8f494b5ac288d4cdc55ffd2cb2eb1a1707889aee
[ "MIT" ]
null
null
null
class Calculation: def __init__(cls, a, b, op): cls.a = float(a) cls.b = float(b) cls.op = op def getResult(cls): return cls.op(cls.a, cls.b)
22.75
35
0.521978
29
182
3.137931
0.37931
0.131868
0.131868
0
0
0
0
0
0
0
0
0
0.335165
182
8
35
22.75
0.752066
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
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
1
0
0
0
1
1
0
0
5
7a6e01293e5d018e13313ddb7457041acf654865
40
py
Python
examples/walk/__init__.py
gameduell/simcompyl
d54b7fe297cfb843c1c36b52a3b1fee449d04e6e
[ "MIT" ]
3
2019-05-29T12:28:37.000Z
2019-06-24T07:19:06.000Z
examples/walk/__init__.py
gameduell/simcompyl
d54b7fe297cfb843c1c36b52a3b1fee449d04e6e
[ "MIT" ]
3
2019-05-13T06:00:30.000Z
2019-09-30T14:19:33.000Z
examples/walk/__init__.py
gameduell/simcompyl
d54b7fe297cfb843c1c36b52a3b1fee449d04e6e
[ "MIT" ]
null
null
null
"""A random walk example simulation."""
20
39
0.7
5
40
5.6
1
0
0
0
0
0
0
0
0
0
0
0
0.125
40
1
40
40
0.8
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
7aa11f2ba928d550bdaa39d0fef504d270cfa17f
428
py
Python
rest_registration/signers/register_email.py
psibean/django-rest-registration
15f720ab3aa040775d97a2b337c98e4833d0268d
[ "MIT" ]
329
2018-05-09T13:10:37.000Z
2022-03-25T11:05:20.000Z
rest_registration/signers/register_email.py
psibean/django-rest-registration
15f720ab3aa040775d97a2b337c98e4833d0268d
[ "MIT" ]
167
2018-04-21T00:28:17.000Z
2022-03-30T09:24:52.000Z
rest_registration/signers/register_email.py
psibean/django-rest-registration
15f720ab3aa040775d97a2b337c98e4833d0268d
[ "MIT" ]
97
2018-05-09T14:17:59.000Z
2022-02-23T08:46:30.000Z
from rest_registration.settings import registration_settings from rest_registration.utils.signers import URLParamsSigner class RegisterEmailSigner(URLParamsSigner): SALT_BASE = 'register-email' USE_TIMESTAMP = True def get_base_url(self): return registration_settings.REGISTER_EMAIL_VERIFICATION_U...
30.571429
71
0.815421
48
428
6.916667
0.520833
0.240964
0.120482
0.180723
0.331325
0.331325
0.331325
0
0
0
0
0
0.140187
428
13
72
32.923077
0.902174
0
0
0
0
0
0.03271
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
1
0
0
0
0
null
1
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
1
0
0
0
1
1
0
0
5
7ac2628980688c54b34796c4a79f0aa558cdf27b
25
py
Python
dj_pagination/tests/__init__.py
sampaccoud/dj-pagination
f6d968897feda4d47282922b99fb80296b4f9e30
[ "BSD-3-Clause" ]
88
2016-08-16T20:37:31.000Z
2021-11-09T11:06:18.000Z
dj_pagination/tests/__init__.py
sampaccoud/dj-pagination
f6d968897feda4d47282922b99fb80296b4f9e30
[ "BSD-3-Clause" ]
29
2016-09-27T11:18:48.000Z
2020-11-12T13:59:58.000Z
dj_pagination/tests/__init__.py
sampaccoud/dj-pagination
f6d968897feda4d47282922b99fb80296b4f9e30
[ "BSD-3-Clause" ]
37
2016-09-05T14:22:31.000Z
2020-11-12T13:03:00.000Z
from .test_main import *
12.5
24
0.76
4
25
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.857143
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
0
0
0
5
8fa94a52be25ae24c442a879e917b0b4b402799a
160
py
Python
src/pycaenhv/config/__init__.py
vasoto/pycaenhv
387da8b95182a56cf3f26bf60fc499841d3b368b
[ "MIT" ]
null
null
null
src/pycaenhv/config/__init__.py
vasoto/pycaenhv
387da8b95182a56cf3f26bf60fc499841d3b368b
[ "MIT" ]
2
2021-08-03T13:48:54.000Z
2021-08-04T16:42:38.000Z
src/pycaenhv/config/__init__.py
vasoto/pycaenhv
387da8b95182a56cf3f26bf60fc499841d3b368b
[ "MIT" ]
1
2021-06-29T13:52:23.000Z
2021-06-29T13:52:23.000Z
from .enitites import Channel, Channels, HVBase, Config from ._toml import read_toml_config from .configurator import ChannelConfigurator from ._cli import main
40
55
0.84375
21
160
6.238095
0.619048
0.152672
0
0
0
0
0
0
0
0
0
0
0.1125
160
4
56
40
0.922535
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
890b6ca63ba5f0736693ac13a376817e88cdd3e8
26
py
Python
normalizer/__init__.py
TCC-ADS-2020/Normalizador
f0a013de91ac0aa8c1f20ccbd11f6ec353778de8
[ "MIT" ]
7
2020-07-07T10:27:02.000Z
2021-04-02T13:20:24.000Z
normalizer/__init__.py
TCC-ADS-2020/Normalizador
f0a013de91ac0aa8c1f20ccbd11f6ec353778de8
[ "MIT" ]
3
2020-03-31T09:35:53.000Z
2021-08-23T20:46:33.000Z
normalizer/__init__.py
TCC-ADS-2020/Normalizador
f0a013de91ac0aa8c1f20ccbd11f6ec353778de8
[ "MIT" ]
3
2020-08-31T10:21:21.000Z
2021-12-01T11:38:17.000Z
from .normalizer import *
13
25
0.769231
3
26
6.666667
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
0
0
0
5
8917eef7ae165ec80c1de5a491dd33007d9fef04
30
py
Python
new.py
zhouliang666/py18
33ccbaf5cd8705bc28858ee0bee37bd73a72b8ff
[ "MIT" ]
null
null
null
new.py
zhouliang666/py18
33ccbaf5cd8705bc28858ee0bee37bd73a72b8ff
[ "MIT" ]
null
null
null
new.py
zhouliang666/py18
33ccbaf5cd8705bc28858ee0bee37bd73a72b8ff
[ "MIT" ]
null
null
null
new1 = 10 new2 = 20 new3 = 30
7.5
9
0.6
6
30
3
1
0
0
0
0
0
0
0
0
0
0
0.428571
0.3
30
3
10
10
0.428571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
8f1f41290a2e6a9844e10210c5ea0698bfc59530
155
py
Python
shovel/readme.py
RazerM/odmpy
ab44bfaef27448119d0557e63c219e6a6b1be51f
[ "MIT" ]
2
2015-03-18T15:32:37.000Z
2019-04-25T22:13:43.000Z
shovel/readme.py
RazerM/odmpy
ab44bfaef27448119d0557e63c219e6a6b1be51f
[ "MIT" ]
null
null
null
shovel/readme.py
RazerM/odmpy
ab44bfaef27448119d0557e63c219e6a6b1be51f
[ "MIT" ]
2
2019-08-01T19:48:02.000Z
2020-04-17T22:06:10.000Z
from shovel import task import subprocess @task def rst(): subprocess.call(['pandoc', '--from=markdown', '--to=rst', '--output=README', 'README.md'])
22.142857
94
0.664516
20
155
5.15
0.7
0
0
0
0
0
0
0
0
0
0
0
0.122581
155
6
95
25.833333
0.757353
0
0
0
0
0
0.341935
0
0
0
0
0
0
1
0.2
true
0
0.4
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
1
0
1
0
1
0
0
5
8f3d30b0540826df625f7bf910a6f245a459fdd7
50
py
Python
wagtail/core/blocks/static_block.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
1
2022-02-09T05:25:30.000Z
2022-02-09T05:25:30.000Z
wagtail/core/blocks/static_block.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
null
null
null
wagtail/core/blocks/static_block.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
null
null
null
from wagtail.blocks.static_block import * # NOQA
25
49
0.78
7
50
5.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.14
50
1
50
50
0.883721
0.08
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
8f6881a44b7956453933a73714c5c25e81cd3f33
191
py
Python
web_scraper/__init__.py
praeducer/lambda-scrape-by-url
9263d85cfa5eeeee00e5797df864c1356de90fc6
[ "Apache-2.0" ]
1
2021-07-19T22:15:29.000Z
2021-07-19T22:15:29.000Z
web_scraper/__init__.py
praeducer/lambda-scrape-by-url
9263d85cfa5eeeee00e5797df864c1356de90fc6
[ "Apache-2.0" ]
null
null
null
web_scraper/__init__.py
praeducer/lambda-scrape-by-url
9263d85cfa5eeeee00e5797df864c1356de90fc6
[ "Apache-2.0" ]
null
null
null
from .scrape_by_url import scrape_by_url from .crawl_by_url import crawl_by_url from .crawl_by_keyword import crawl_by_keyword __all__ = ["scrape_by_url", "crawl_by_url", "crawl_by_keyword"]
38.2
63
0.837696
34
191
4.058824
0.235294
0.217391
0.23913
0.202899
0.231884
0
0
0
0
0
0
0
0.089005
191
5
63
38.2
0.793103
0
0
0
0
0
0.213542
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
1
1
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
1
0
0
0
0
5
8f752a99b3993824eca1528f20ca2de771a1951d
1,008
py
Python
lib/solutions/CHK/tests/test_checkout_solution.py
DPNT-Sourcecode/CHK-fhpr01
0c0cd73488923900ed7a5df469ad9e31a4a7eb9e
[ "Apache-2.0" ]
null
null
null
lib/solutions/CHK/tests/test_checkout_solution.py
DPNT-Sourcecode/CHK-fhpr01
0c0cd73488923900ed7a5df469ad9e31a4a7eb9e
[ "Apache-2.0" ]
null
null
null
lib/solutions/CHK/tests/test_checkout_solution.py
DPNT-Sourcecode/CHK-fhpr01
0c0cd73488923900ed7a5df469ad9e31a4a7eb9e
[ "Apache-2.0" ]
null
null
null
from ..checkout_solution import checkout class TestCheckout(): def test_illegal_val(self): assert checkout(256) == -1 def test_illegal_string(self): assert checkout('-') == -1 def test_return_val(self): """ Test return value """ assert checkout("AA") == ...
24
50
0.644841
125
1,008
4.88
0.408
0.252459
0.295082
0.098361
0.240984
0.240984
0.240984
0.240984
0.240984
0
0
0.039422
0.24504
1,008
41
51
24.585366
0.762155
0.016865
0
0.125
0
0
0.039337
0
0
0
0
0
0.458333
1
0.458333
false
0
0.041667
0
0.541667
0
0
0
0
null
1
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
1
0
1
0
0
0
0
1
0
0
5
56e241d8a3cf47c4d8882dd46ae435ee7d432218
206
py
Python
lbdrabbit/const.py
MacHu-GWU/lbdrabbit-project
e808f116bc85d95f3d545e085bede56df41b6d92
[ "MIT" ]
null
null
null
lbdrabbit/const.py
MacHu-GWU/lbdrabbit-project
e808f116bc85d95f3d545e085bede56df41b6d92
[ "MIT" ]
null
null
null
lbdrabbit/const.py
MacHu-GWU/lbdrabbit-project
e808f116bc85d95f3d545e085bede56df41b6d92
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .apigw import HttpMethod DEFAULT_LBD_HANDLER_FUNC_NAME = "handler" VALID_LBD_HANDLER_FUNC_NAME_LIST = HttpMethod.get_all_valid_func_name() + [DEFAULT_LBD_HANDLER_FUNC_NAME, ]
29.428571
107
0.800971
30
206
4.933333
0.533333
0.216216
0.283784
0.364865
0.337838
0
0
0
0
0
0
0.005376
0.097087
206
6
108
34.333333
0.790323
0.101942
0
0
0
0
0.038251
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
1
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
1
0
0
0
0
5
71254810acfa22f1bddbd0a0025b73550f6da461
1,113
py
Python
sched_slack_bot/model/reminder.py
Germandrummer92/SchedSlackBot
d211f7c0d78eb8ebbc1f22cc186c94fc61bad491
[ "MIT" ]
null
null
null
sched_slack_bot/model/reminder.py
Germandrummer92/SchedSlackBot
d211f7c0d78eb8ebbc1f22cc186c94fc61bad491
[ "MIT" ]
null
null
null
sched_slack_bot/model/reminder.py
Germandrummer92/SchedSlackBot
d211f7c0d78eb8ebbc1f22cc186c94fc61bad491
[ "MIT" ]
null
null
null
from typing import Any from sched_slack_bot.model.schedule import Schedule class Reminder: def __init__(self, schedule: Schedule): self._schedule = schedule @property def schedule_id(self) -> str: return self._schedule.id @property def channel_id_to_notify_in(self) -> str: ...
25.883721
83
0.681941
142
1,113
5.007042
0.309859
0.219409
0.202532
0.14346
0.317862
0.123769
0.123769
0.123769
0
0
0
0.002318
0.224618
1,113
42
84
26.5
0.821553
0
0
0.233333
0
0
0.015274
0
0
0
0
0
0
1
0.3
false
0
0.066667
0.233333
0.7
0
0
0
0
null
1
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
1
0
0
0
1
1
0
0
5
8542385b958d9e05d1872db62c430d3630faf910
468
py
Python
musicript/timemodifiers.py
Mygod/Musicript
7e642fc206a959dd218d5d309a1d167e582a51d9
[ "Apache-2.0" ]
1
2019-12-17T15:12:21.000Z
2019-12-17T15:12:21.000Z
musicript/timemodifiers.py
Mygod/Musicript
7e642fc206a959dd218d5d309a1d167e582a51d9
[ "Apache-2.0" ]
null
null
null
musicript/timemodifiers.py
Mygod/Musicript
7e642fc206a959dd218d5d309a1d167e582a51d9
[ "Apache-2.0" ]
null
null
null
import math from abc import ABC, abstractmethod class TimeModifier(ABC): @abstractmethod def sample(self, time): pass class ConstantTimeModifier(TimeModifier): def sample(self, time): return 0 class Vibrato(TimeModifier): def __init__(self, amplitude=10, frequency=10): self...
20.347826
53
0.645299
59
468
5.050847
0.440678
0.090604
0.130872
0.171141
0.154362
0
0
0
0
0
0
0.019943
0.25
468
22
54
21.272727
0.82906
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.066667
0.133333
0.133333
0.733333
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
1
0
1
0
1
1
0
0
5
856def55c55d80ea0f0c3b05e2b328114135977d
123
py
Python
marcottievents/etl/base/__init__.py
soccermetrics/marcotti-events
759f3a4ee130fa155fd48e216ef6197a69ee2a33
[ "MIT" ]
22
2015-12-14T20:38:32.000Z
2020-12-26T07:40:26.000Z
marcottievents/etl/base/__init__.py
soccermetrics/marcotti-events
759f3a4ee130fa155fd48e216ef6197a69ee2a33
[ "MIT" ]
null
null
null
marcottievents/etl/base/__init__.py
soccermetrics/marcotti-events
759f3a4ee130fa155fd48e216ef6197a69ee2a33
[ "MIT" ]
6
2015-12-20T05:08:57.000Z
2020-06-28T23:57:31.000Z
from .workflows import ETL from .load import MarcottiLoad from .transform import MarcottiTransform, MarcottiEventTransform
30.75
64
0.861789
13
123
8.153846
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.105691
123
3
65
41
0.963636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
85a95787c30ac793ec7c1c9fe1ef9729829840be
395
py
Python
unit_tests/test_generate_random_room_event.py
RozanovN/PythonTextBasedAdventureGame
175f154c2c1e697bf9bf9ffcf82c820e2b17ecbd
[ "MIT", "Unlicense" ]
null
null
null
unit_tests/test_generate_random_room_event.py
RozanovN/PythonTextBasedAdventureGame
175f154c2c1e697bf9bf9ffcf82c820e2b17ecbd
[ "MIT", "Unlicense" ]
null
null
null
unit_tests/test_generate_random_room_event.py
RozanovN/PythonTextBasedAdventureGame
175f154c2c1e697bf9bf9ffcf82c820e2b17ecbd
[ "MIT", "Unlicense" ]
null
null
null
from unittest import TestCase from game import generate_random_room_event as generate_random_room_event from unittest.mock import patch class Test(TestCase): @patch('random.choices', return_value=["Shifting Mist"]) def test_generate_random_room_event(self, _): expected = "Shifting Mist" actua...
32.916667
73
0.759494
50
395
5.7
0.48
0.196491
0.252632
0.322807
0.189474
0
0
0
0
0
0
0
0.164557
395
12
74
32.916667
0.863636
0
0
0
1
0
0.10101
0
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
1
1
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
1
0
1
0
0
5
a43072eaad013dff5b5d54ca4b1e2f59ae71afab
200
py
Python
src/yellowdog_client/model/compute_source_usage.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/model/compute_source_usage.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/model/compute_source_usage.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from typing import Optional @dataclass class ComputeSourceUsage: sourceTemplateId: str instanceType: Optional[str] = None imageId: Optional[str] = None
20
38
0.77
21
200
7.333333
0.619048
0.142857
0.194805
0
0
0
0
0
0
0
0
0
0.175
200
9
39
22.222222
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.857143
0
1
0
0
null
0
1
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
0
0
1
0
0
5
a45dcdf6482d795844f6c01762d46fb35cec3999
214
py
Python
raspberryturk/embedded/__init__.py
Dzhuks/raspberryturk
bb7fa25d70f8c1291997332d12fe06d19d957a4e
[ "MIT" ]
169
2017-03-16T16:27:19.000Z
2022-03-05T12:54:19.000Z
raspberryturk/embedded/__init__.py
Dzhuks/raspberryturk
bb7fa25d70f8c1291997332d12fe06d19d957a4e
[ "MIT" ]
2
2017-03-24T17:23:23.000Z
2017-03-24T19:31:49.000Z
raspberryturk/embedded/__init__.py
Dzhuks/raspberryturk
bb7fa25d70f8c1291997332d12fe06d19d957a4e
[ "MIT" ]
38
2017-03-27T00:51:49.000Z
2022-03-01T16:16:55.000Z
from raspberryturk import is_running_on_raspberryturk, RaspberryTurkError if not is_running_on_raspberryturk(): raise RaspberryTurkError("Must be running on Raspberry Turk to use {} module.".format(__name__))
42.8
100
0.82243
27
214
6.148148
0.703704
0.162651
0.13253
0.289157
0
0
0
0
0
0
0
0
0.11215
214
4
101
53.5
0.873684
0
0
0
0
0
0.238318
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
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
1
0
1
0
0
0
0
5
f12b45788800de63286e306888dabafd7e5bd258
290
py
Python
main/schema/components/media_stats.py
kristianmk/tator
0eb75ee9333316b06f773de2b75e8e797a98ffdb
[ "MIT" ]
50
2019-09-18T14:32:18.000Z
2022-03-31T16:26:07.000Z
main/schema/components/media_stats.py
kristianmk/tator
0eb75ee9333316b06f773de2b75e8e797a98ffdb
[ "MIT" ]
566
2019-09-18T16:33:40.000Z
2022-03-31T20:01:38.000Z
main/schema/components/media_stats.py
kristianmk/tator
0eb75ee9333316b06f773de2b75e8e797a98ffdb
[ "MIT" ]
19
2019-09-21T20:08:12.000Z
2022-03-17T14:53:11.000Z
media_stats = { 'type': 'object', 'properties': { 'count': {'type': 'integer', 'minimum': 0}, 'download_size': {'type': 'integer', 'minimum': 0}, 'total_size': {'type': 'integer', 'minimum': 0}, 'duration': {'type': 'number', 'minimum': 0}, }, }
29
59
0.489655
27
290
5.148148
0.518519
0.230216
0.388489
0.410072
0.330935
0
0
0
0
0
0
0.018433
0.251724
290
9
60
32.222222
0.62212
0
0
0
0
0
0.437931
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
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
5
f16315d9917b764f274ca41176b7bb063cc7e73d
30
py
Python
py/specter/_version.py
sbailey/specter
762e56914f418ebbeaa8f67afec82113c8194371
[ "BSD-3-Clause" ]
4
2016-07-20T08:47:19.000Z
2021-06-04T18:31:03.000Z
py/specter/_version.py
desihub/specter
762e56914f418ebbeaa8f67afec82113c8194371
[ "BSD-3-Clause" ]
54
2015-07-06T23:24:18.000Z
2021-03-09T22:33:48.000Z
py/specter/_version.py
desihub/specter
762e56914f418ebbeaa8f67afec82113c8194371
[ "BSD-3-Clause" ]
7
2015-06-26T18:05:32.000Z
2020-10-21T20:25:34.000Z
__version__ = '0.10.0.dev610'
15
29
0.7
5
30
3.4
0.8
0
0
0
0
0
0
0
0
0
0
0.259259
0.1
30
1
30
30
0.37037
0
0
0
0
0
0.433333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f16fb96c15ef1a3ccc4a55ff6463345c1779f283
288
py
Python
core/company.py
Meliueada/Starup-Game-Python
557cb88588ae0f2dffcdaee3333581078d82b111
[ "MIT" ]
160
2015-10-07T15:28:22.000Z
2022-03-16T05:30:55.000Z
core/company.py
sunyanlan/Starup-Game-Python
cd3989222840fb959ab8ba67952f074ce0ff7e05
[ "MIT" ]
5
2015-10-13T16:50:28.000Z
2019-02-15T06:45:30.000Z
core/company.py
sunyanlan/Starup-Game-Python
cd3989222840fb959ab8ba67952f074ce0ff7e05
[ "MIT" ]
95
2015-10-08T02:16:50.000Z
2022-02-25T03:06:00.000Z
''' Time: 2015.10.2 Author: Lionel Content: Company ''' class Company(object): def __init__(self, name=None): self.__name = name @property def name(self): return self.__name @name.setter def name(self, name): self.__name = name
15.157895
34
0.576389
35
288
4.457143
0.514286
0.25641
0.230769
0
0
0
0
0
0
0
0
0.035
0.305556
288
18
35
16
0.745
0.163194
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.111111
0.555556
0
0
0
0
null
1
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
1
0
0
0
1
1
0
0
5
74b05fd2cfe55cc5aaa75408f49e1882b2e1d1c4
153
py
Python
scoss/__init__.py
ngocjr7/scoss
a70f56a076ea5d64158625d5f221987a0210cc2d
[ "MIT" ]
4
2021-06-15T21:32:40.000Z
2022-02-23T08:16:10.000Z
scoss/__init__.py
ngocjr7/scoss
a70f56a076ea5d64158625d5f221987a0210cc2d
[ "MIT" ]
1
2021-04-18T18:16:59.000Z
2021-04-18T18:16:59.000Z
scoss/__init__.py
ngocjr7/scoss
a70f56a076ea5d64158625d5f221987a0210cc2d
[ "MIT" ]
1
2021-05-09T19:33:43.000Z
2021-05-09T19:33:43.000Z
from __future__ import absolute_import # from similarities import all_similarities from .scoss import Scoss from .smoss import SMoss from .main import *
25.5
43
0.830065
21
153
5.761905
0.428571
0
0
0
0
0
0
0
0
0
0
0
0.137255
153
5
44
30.6
0.916667
0.267974
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
74ce8335e7d7563eec56850777a07c0b76e378a5
130
py
Python
Project/Vividly/admin.py
silsashaji/Student_portal.github.io
5a6473cb4484b5b88304cda8ee4f8a3779e4c1ad
[ "MIT" ]
3
2021-05-16T07:12:40.000Z
2021-05-16T10:37:26.000Z
Project/Vividly/admin.py
silsashaji/Student_portal.github.io
5a6473cb4484b5b88304cda8ee4f8a3779e4c1ad
[ "MIT" ]
null
null
null
Project/Vividly/admin.py
silsashaji/Student_portal.github.io
5a6473cb4484b5b88304cda8ee4f8a3779e4c1ad
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import user_profile # Register your models here. admin.site.register(user_profile)
21.666667
33
0.823077
19
130
5.526316
0.631579
0.209524
0
0
0
0
0
0
0
0
0
0
0.115385
130
5
34
26
0.913043
0.2
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
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
0
0
1
0
1
0
0
0
0
5
74d711ad12c0868c1e17dd5fc1ffd9b51748eec1
70
py
Python
cortex/data/metrics/__init__.py
huanglianghua/cortex
14d21a756fa117b19f10cb7b4b6405c5b78e63b2
[ "MIT" ]
8
2020-05-01T19:06:02.000Z
2021-06-17T12:44:15.000Z
cortex/data/metrics/__init__.py
huanglianghua/cortex
14d21a756fa117b19f10cb7b4b6405c5b78e63b2
[ "MIT" ]
null
null
null
cortex/data/metrics/__init__.py
huanglianghua/cortex
14d21a756fa117b19f10cb7b4b6405c5b78e63b2
[ "MIT" ]
null
null
null
from .default_metrics import * from .metric_learning_metrics import *
23.333333
38
0.828571
9
70
6.111111
0.666667
0.472727
0
0
0
0
0
0
0
0
0
0
0.114286
70
2
39
35
0.887097
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
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
0
0
1
0
1
0
0
0
0
5
74e7417c6dc50dcc392e3c51e52f63cf28a19535
2,515
py
Python
hallo/test/modules/random/test_eight_ball.py
joshcoales/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
1
2018-05-19T22:27:20.000Z
2018-05-19T22:27:20.000Z
hallo/test/modules/random/test_eight_ball.py
joshcoales/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
75
2015-09-26T18:07:18.000Z
2022-01-04T07:15:11.000Z
hallo/test/modules/random/test_eight_ball.py
SpangleLabs/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
1
2021-04-10T12:02:47.000Z
2021-04-10T12:02:47.000Z
from hallo.events import EventMessage from hallo.modules.random.eight_ball import EightBall def test_eightball(hallo_getter): test_hallo = hallo_getter({"random"}) all_responses = ( EightBall.RESPONSES_YES_TOTALLY + EightBall.RESPONSES_YES_PROBABLY + EightBall.RESPONSES_MAYBE +...
34.930556
91
0.662425
307
2,515
5.162866
0.221498
0.102208
0.098423
0.071924
0.727445
0.727445
0.727445
0.712303
0.712303
0.712303
0
0.004692
0.237376
2,515
71
92
35.422535
0.821689
0.022266
0
0.532258
0
0
0.092872
0
0
0
0
0
0.080645
1
0.048387
false
0.016129
0.032258
0
0.080645
0
0
0
0
null
0
0
0
0
1
1
1
1
1
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
5
2d0e93c2b635320939e838c9de9d18b34c14adfe
465
py
Python
torch_metrics/regression/__init__.py
Joffreybvn/torch-metrics
587a4995730a7ec7b0370d6dd523d2c84129b255
[ "MIT" ]
95
2020-11-04T06:02:20.000Z
2022-03-17T16:27:04.000Z
torch_metrics/regression/__init__.py
Joffreybvn/torch-metrics
587a4995730a7ec7b0370d6dd523d2c84129b255
[ "MIT" ]
22
2020-11-04T06:09:29.000Z
2022-03-28T16:58:36.000Z
torch_metrics/regression/__init__.py
Joffreybvn/torch-metrics
587a4995730a7ec7b0370d6dd523d2c84129b255
[ "MIT" ]
17
2020-11-04T05:56:35.000Z
2021-08-28T15:38:14.000Z
from torch_metrics.regression.huber import Huber from torch_metrics.regression.logcosh import LogCoshError from torch_metrics.regression.mae import MeanAbsoluteError from torch_metrics.regression.meaniou import MeanIoU from torch_metrics.regression.mse import MeanSquaredError from torch_metrics.regression.msle import M...
51.666667
69
0.896774
56
465
7.303571
0.321429
0.176039
0.312958
0.508557
0
0
0
0
0
0
0
0
0.068817
465
8
70
58.125
0.944573
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
1
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
1
0
1
0
0
0
0
5
2d2bcf59ce9d61b66c636ff2dd1cab978004bf73
228
py
Python
catalog/admin.py
loctnmps08790/django_local_library
0a3772e6da5c9a90b60a7638707ba62f927ec819
[ "Unlicense" ]
null
null
null
catalog/admin.py
loctnmps08790/django_local_library
0a3772e6da5c9a90b60a7638707ba62f927ec819
[ "Unlicense" ]
4
2021-03-30T13:45:45.000Z
2021-09-22T19:14:52.000Z
catalog/admin.py
loctnmps08790/django_local_library
0a3772e6da5c9a90b60a7638707ba62f927ec819
[ "Unlicense" ]
null
null
null
from django.contrib import admin from . import models # Register your models here. admin.site.register(models.Genre) admin.site.register(models.Author) admin.site.register(models.Book) admin.site.register(models.BookInstance)
22.8
40
0.811404
32
228
5.78125
0.4375
0.194595
0.367568
0.497297
0
0
0
0
0
0
0
0
0.083333
228
9
41
25.333333
0.885167
0.114035
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
1
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
1
0
1
0
0
0
0
5
741abe2884cc68b56eec7836832afd66253ba1a6
248
py
Python
ca_on_peel/people.py
dogooderapp/scrapers-ca
5e852eea93f05f3f397eec318d3094a3b1b0b458
[ "MIT" ]
19
2015-05-26T03:18:50.000Z
2022-01-31T03:27:41.000Z
ca_on_peel/people.py
dogooderapp/scrapers-ca
5e852eea93f05f3f397eec318d3094a3b1b0b458
[ "MIT" ]
119
2015-01-09T06:09:35.000Z
2022-01-20T23:05:05.000Z
ca_on_peel/people.py
dogooderapp/scrapers-ca
5e852eea93f05f3f397eec318d3094a3b1b0b458
[ "MIT" ]
17
2015-11-23T05:00:10.000Z
2021-09-15T16:03:33.000Z
from utils import CSVScraper class PeelPersonScraper(CSVScraper): # http://opendata.peelregion.ca/data-categories/regional-geography/ward-boundaries-(2018-2022).aspx csv_url = 'http://opendata.peelregion.ca/media/43505/wards1822_csv.csv'
35.428571
103
0.78629
31
248
6.225806
0.774194
0.124352
0.227979
0.248705
0
0
0
0
0
0
0
0.07489
0.084677
248
6
104
41.333333
0.77533
0.391129
0
0
0
0
0.395973
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
1
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
1
0
1
0
0
5
7441e1558e9caa236edfeac6341855f795dad4dc
102
py
Python
reset_password/apps.py
dariusmb/drf-reset-password
6bfdbd6cc5f08301b8ee458984a464628c40aaa0
[ "MIT" ]
10
2020-07-03T09:48:56.000Z
2022-02-19T12:14:26.000Z
reset_password/apps.py
dariusmb/drf-reset-password
6bfdbd6cc5f08301b8ee458984a464628c40aaa0
[ "MIT" ]
null
null
null
reset_password/apps.py
dariusmb/drf-reset-password
6bfdbd6cc5f08301b8ee458984a464628c40aaa0
[ "MIT" ]
6
2020-08-12T08:22:50.000Z
2022-03-30T17:29:57.000Z
from django.apps import AppConfig class ResetPasswordConfig(AppConfig): name = "reset_password"
17
37
0.784314
11
102
7.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.147059
102
5
38
20.4
0.908046
0
0
0
0
0
0.137255
0
0
0
0
0
0
1
0
false
0.666667
0.333333
0
1
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
1
1
0
1
0
0
5
74845bf392854fa7e61733fabd68783c5c2b7998
440
py
Python
src/pyrin/cli/structs.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/cli/structs.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/cli/structs.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ cli structs module. """ class CLIGroups: """ cli groups class. each cli handler group will be registered with its relevant group name. usage example: `python cli.py alembic upgrade --arg value` `python cli.py babel extract --arg value` `python cli.py template...
20
75
0.640909
59
440
4.779661
0.610169
0.159574
0.195035
0.180851
0.202128
0
0
0
0
0
0
0.003021
0.247727
440
21
76
20.952381
0.848943
0.804545
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
77957514f544cb5711d1e4e6f7f7d26c7b8cab51
8,170
py
Python
network/light_port_scanner.py
greyshell/greyEnum
f6a26d62e6b45475d31273ab800073bd08429a10
[ "MIT" ]
6
2015-03-10T20:00:04.000Z
2015-07-29T03:02:02.000Z
network/light_port_scanner.py
greyshell/greyEnum
f6a26d62e6b45475d31273ab800073bd08429a10
[ "MIT" ]
3
2020-12-19T08:58:35.000Z
2021-06-02T03:12:54.000Z
network/light_port_scanner.py
greyshell/python_programming
cfe4c700675fb6f979245ceda775ecf656574312
[ "MIT" ]
1
2018-01-30T05:07:57.000Z
2018-01-30T05:07:57.000Z
#!/usr/bin/env python3 # author: greyshell # description: TBD import socket import optparse from socket import * from threading import * from time import sleep screenLock = Semaphore(value=1) def connect_scan(tgtHost, tgtPort): try: sock = socket(AF_INET, SOCK_STREAM) buffer = "greyshell\r\n" ...
55.578231
119
0.640024
1,238
8,170
4.211632
0.891761
0.004603
0.008822
0.006521
0.018028
0
0
0
0
0
0
0.598443
0.182497
8,170
146
120
55.958904
0.182213
0.010282
0
0.061404
0
0.482456
0.665924
0.615689
0
0
0
0
0
1
0.026316
false
0.008772
0.04386
0
0.078947
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
77f96612fb597128616892f1a50ecd887ed21a64
95
py
Python
tools/pbrt/pbrt/__init__.py
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
19
2016-11-07T00:01:19.000Z
2021-12-29T05:35:14.000Z
tools/pbrt/pbrt/__init__.py
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
33
2016-07-06T21:58:05.000Z
2020-08-01T18:18:24.000Z
tools/pbrt/pbrt/__init__.py
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
null
null
null
from .parser import Parser, Operation from .writer import Writer from .operator import Operator
31.666667
37
0.831579
13
95
6.076923
0.461538
0
0
0
0
0
0
0
0
0
0
0
0.126316
95
3
38
31.666667
0.951807
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
7ad8171612d362021f6126b367195026952bdba7
164
py
Python
webdev/financeiro/apps.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
webdev/financeiro/apps.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
103
2021-04-25T21:28:11.000Z
2022-03-15T01:36:31.000Z
webdev/financeiro/apps.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
from django.apps import AppConfig class FinanceiroConfig(AppConfig): name = 'webdev.financeiro' def ready(self): import webdev.financeiro.signals
20.5
40
0.731707
18
164
6.666667
0.777778
0.266667
0
0
0
0
0
0
0
0
0
0
0.189024
164
8
40
20.5
0.902256
0
0
0
0
0
0.10303
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
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
0
0
0
0
1
0
1
0
0
5
7ad9a9622017074f424dc788e8b5bc4c8242d91a
66
py
Python
gutenberg/gutenberg/management/commands/PaxHeader/rdf.py
manestay/novel-chapter-dataset
a6ebb11fc95a274642230ae56f7df874f4bb5d83
[ "MIT" ]
7
2020-05-10T19:31:00.000Z
2021-11-26T06:23:19.000Z
gutenberg/gutenberg/management/commands/PaxHeader/rdf.py
manestay/novel-chapter-dataset
a6ebb11fc95a274642230ae56f7df874f4bb5d83
[ "MIT" ]
2
2021-09-16T12:09:28.000Z
2021-12-05T21:15:06.000Z
gutenberg/gutenberg/management/commands/PaxHeader/rdf.py
manestay/novel-chapter-dataset
a6ebb11fc95a274642230ae56f7df874f4bb5d83
[ "MIT" ]
1
2021-04-02T08:24:07.000Z
2021-04-02T08:24:07.000Z
18 gid=1896053708 18 uid=1356538483 30 mtime=1603850732.734074754
16.5
29
0.848485
10
66
5.6
0.9
0
0
0
0
0
0
0
0
0
0
0.75
0.090909
66
3
30
22
0.183333
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
bb350fbdba185db87c954074c99f7b8142c1520b
144
py
Python
src/dags/__init__.py
OpenSourceEconomics/dags
6e5f5f9a9f480b67801c2ba9b0360af88ae934c2
[ "MIT" ]
6
2022-03-08T14:56:02.000Z
2022-03-30T16:54:33.000Z
src/dags/__init__.py
OpenSourceEconomics/dags
6e5f5f9a9f480b67801c2ba9b0360af88ae934c2
[ "MIT" ]
4
2022-03-08T15:26:48.000Z
2022-03-30T12:39:27.000Z
src/dags/__init__.py
OpenSourceEconomics/dags
6e5f5f9a9f480b67801c2ba9b0360af88ae934c2
[ "MIT" ]
null
null
null
from dags.dag import concatenate_functions from dags.dag import get_ancestors __all__ = [ "concatenate_functions", "get_ancestors", ]
16
42
0.756944
17
144
5.941176
0.529412
0.158416
0.217822
0.336634
0
0
0
0
0
0
0
0
0.166667
144
8
43
18
0.841667
0
0
0
0
0
0.236111
0.145833
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
1
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
1
0
0
0
0
5
bb5253ec417016df705d7343db8a2f3af3ca4562
369
py
Python
tests/schema/test_embeds.py
Justasic/Privacy.py
471e6669a1e22e539459bbeb24de4efd3b7a11e0
[ "BSD-3-Clause" ]
3
2019-11-04T16:11:36.000Z
2021-05-24T18:56:40.000Z
tests/schema/test_embeds.py
Justasic/Privacy.py
471e6669a1e22e539459bbeb24de4efd3b7a11e0
[ "BSD-3-Clause" ]
9
2019-11-09T01:47:58.000Z
2022-03-30T00:19:20.000Z
tests/schema/test_embeds.py
Justasic/Privacy.py
471e6669a1e22e539459bbeb24de4efd3b7a11e0
[ "BSD-3-Clause" ]
2
2020-08-12T03:22:29.000Z
2020-12-10T00:08:46.000Z
"""Tests for privacy.schema.embed""" from privacy.schema import embeds def test_embed_request(): embed_request_obj = embeds.EmbedRequest(token="3523-6543-1236-8975", css="https://www.not_a.url") assert embed_request_obj.token == "3523-6543-1236-8975" assert embed_request_obj.css == "https://www.not_a.url"...
36.9
101
0.747967
56
369
4.714286
0.5
0.227273
0.227273
0.238636
0.454545
0.295455
0.295455
0.295455
0.295455
0.295455
0
0.09816
0.116531
369
9
102
41
0.711656
0.081301
0
0
0
0
0.24024
0
0
0
0
0
0.5
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
1
1
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
1
0
0
0
0
0
0
0
0
0
5
24e2a90f9e0603e39583e05336c2477b26b35068
133
py
Python
src/products/signals.py
vladimir-grigoriev/python_curse
2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2
[ "Apache-2.0" ]
null
null
null
src/products/signals.py
vladimir-grigoriev/python_curse
2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2
[ "Apache-2.0" ]
null
null
null
src/products/signals.py
vladimir-grigoriev/python_curse
2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2
[ "Apache-2.0" ]
null
null
null
""" for signals handlers """ import os def image_cleaner(sender, instance, *args, **kwargs): os.remove(instance.foto.file.name)
22.166667
53
0.706767
18
133
5.166667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.135338
133
6
54
22.166667
0.808696
0.150376
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
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
1
0
0
1
0
1
0
0
5
24f47d4db37730db54360b4f1604dd6d20b10b81
163
py
Python
eahub/base/admin.py
taymonbeal/eahub.org
311be65b927b7c7b02f16fba97d74903cf13cf59
[ "MIT" ]
null
null
null
eahub/base/admin.py
taymonbeal/eahub.org
311be65b927b7c7b02f16fba97d74903cf13cf59
[ "MIT" ]
null
null
null
eahub/base/admin.py
taymonbeal/eahub.org
311be65b927b7c7b02f16fba97d74903cf13cf59
[ "MIT" ]
null
null
null
from authtools import admin as authtools_admin from django.contrib import admin from . import models admin.site.register(models.User, authtools_admin.UserAdmin)
23.285714
59
0.834356
23
163
5.826087
0.521739
0.164179
0
0
0
0
0
0
0
0
0
0
0.110429
163
6
60
27.166667
0.924138
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
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
1
0
1
0
1
0
0
5
7035017cb06faaec1cc9afcba4e9547a47799627
79
py
Python
enthought/chaco/plot.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/chaco/plot.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/chaco/plot.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from __future__ import absolute_import from chaco.plot import *
19.75
38
0.822785
11
79
5.454545
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.139241
79
3
39
26.333333
0.882353
0.151899
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
7050a2968ca74ade46ea7594009ed9fb141c32d4
139,734
py
Python
erfa_test.py
nirinA/erfa_python
eed854e15e61d08d6cefd398d5354fc87ff9a55c
[ "Unlicense" ]
2
2015-03-30T12:17:31.000Z
2016-05-03T12:58:32.000Z
erfa_test.py
nirinA/erfa_python
eed854e15e61d08d6cefd398d5354fc87ff9a55c
[ "Unlicense" ]
3
2015-02-10T22:11:14.000Z
2016-08-04T13:35:20.000Z
erfa_test.py
nirinA/erfa_python
eed854e15e61d08d6cefd398d5354fc87ff9a55c
[ "Unlicense" ]
null
null
null
import unittest import sys import math import erfa class Validate(unittest.TestCase): ''' float: self.assertAlmostEqual(value, expected, places=diff) int: self.assertEqual(value, expected) char: self.assertEqual(value, expected) ''' ## astrometry tools def test_ab(self): ...
49.656716
113
0.647459
17,814
139,734
5.064837
0.096553
0.311887
0.13995
0.172923
0.707132
0.66762
0.605431
0.545403
0.450618
0.367537
0
0.349828
0.208761
139,734
2,813
114
49.674369
0.466223
0.005396
0
0.365415
0
0
0.000144
0
0
0
0
0
0.549121
1
0.094249
false
0
0.002796
0
0.097444
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
5
7078e8717fdd336a3cfbace8df7f1abd560884a6
47
py
Python
MergeSortedLinkLists/MergeKsortedlinkedlists00.py
tnkteja/notthisagain
85e2b2cbea1298a052986e9dfe5e73d022b537f3
[ "MIT" ]
null
null
null
MergeSortedLinkLists/MergeKsortedlinkedlists00.py
tnkteja/notthisagain
85e2b2cbea1298a052986e9dfe5e73d022b537f3
[ "MIT" ]
null
null
null
MergeSortedLinkLists/MergeKsortedlinkedlists00.py
tnkteja/notthisagain
85e2b2cbea1298a052986e9dfe5e73d022b537f3
[ "MIT" ]
null
null
null
from heapq import heappushpop def solution(A):
15.666667
29
0.808511
7
47
5.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.12766
47
3
30
15.666667
0.926829
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.5
null
null
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
1
0
0
0
1
0
0
0
0
5
5616a94a62d2e2b41639cfb99c8bd17be9c433a2
53
py
Python
linkedin_jobs_scraper/query/__init__.py
magahet/py-linkedin-jobs-scraper
f0d69053455e68bd8a74ab2d79ab2c27b5e3f7d4
[ "MIT" ]
85
2020-10-21T04:09:23.000Z
2022-03-23T00:29:33.000Z
linkedin_jobs_scraper/query/__init__.py
magahet/py-linkedin-jobs-scraper
f0d69053455e68bd8a74ab2d79ab2c27b5e3f7d4
[ "MIT" ]
24
2020-11-18T10:10:32.000Z
2022-03-19T17:30:25.000Z
linkedin_jobs_scraper/query/__init__.py
magahet/py-linkedin-jobs-scraper
f0d69053455e68bd8a74ab2d79ab2c27b5e3f7d4
[ "MIT" ]
23
2020-11-18T09:31:13.000Z
2022-03-25T03:50:52.000Z
from .query import Query, QueryOptions, QueryFilters
26.5
52
0.830189
6
53
7.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.113208
53
1
53
53
0.93617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
56713b52bc3dd9b9b92ab8856d92caf06d75b040
652
py
Python
tests/test_util.py
opensanctions/nomenklatura
d845ff821a57beffb49b269b4d8c08f57bc588d7
[ "MIT" ]
4
2022-02-25T13:32:20.000Z
2022-03-15T23:35:42.000Z
tests/test_util.py
opensanctions/nomenklatura
d845ff821a57beffb49b269b4d8c08f57bc588d7
[ "MIT" ]
null
null
null
tests/test_util.py
opensanctions/nomenklatura
d845ff821a57beffb49b269b4d8c08f57bc588d7
[ "MIT" ]
1
2022-03-02T16:56:48.000Z
2022-03-02T16:56:48.000Z
from nomenklatura.util import is_qid, normalize_url def test_is_qid(): assert is_qid("Q7747") assert not is_qid("q7747") assert not is_qid("Q7747B") assert not is_qid("banana") def test_normalize_url(): assert normalize_url("http://pudo.org") == "http://pudo.org" assert normalize_url("http:/...
32.6
86
0.613497
98
652
3.928571
0.234694
0.207792
0.285714
0.285714
0.646753
0.646753
0.496104
0.324675
0.324675
0.324675
0
0.025735
0.165644
652
19
87
34.315789
0.681985
0
0
0
0
0
0.337423
0
0
0
0
0
0.6
1
0.133333
true
0
0.066667
0
0.2
0
0
0
0
null
1
1
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
1
0
0
1
0
0
0
0
0
0
5
56996dca0541939fc80483b25937d4e158c798b0
117
py
Python
znd4/tests/test_models.py
zdog234/personalWebsite
bc92910b06e698eb37d3733edf559e44ddf59bfb
[ "MIT" ]
null
null
null
znd4/tests/test_models.py
zdog234/personalWebsite
bc92910b06e698eb37d3733edf559e44ddf59bfb
[ "MIT" ]
1
2020-04-07T19:48:59.000Z
2020-04-07T19:48:59.000Z
znd4/tests/test_models.py
zdog234/personalWebsite
bc92910b06e698eb37d3733edf559e44ddf59bfb
[ "MIT" ]
null
null
null
"""Test the backend models module""" def test_foo(): """A fake test, because I just want to get nox to pass"""
19.5
61
0.649573
20
117
3.75
0.85
0
0
0
0
0
0
0
0
0
0
0
0.213675
117
5
62
23.4
0.815217
0.700855
0
0
0
0
0
0
0
0
0
0
0
1
1
true
0
0
0
1
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
1
1
0
0
0
1
0
0
5
3b3f59f8f2335e889d9633ab27e601ef41180f36
144
py
Python
Python Advanced/Advanced/Multidimensional Lists/Exercise - 2/Task01_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
1
2022-03-16T10:23:04.000Z
2022-03-16T10:23:04.000Z
Python Advanced/Advanced/Multidimensional Lists/Exercise - 2/Task01_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
Python Advanced/Advanced/Multidimensional Lists/Exercise - 2/Task01_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
matrix = [sublist.split() for sublist in input().split("|")][::-1] print(' '.join([str(number) for sublist in matrix for number in sublist]))
28.8
74
0.659722
21
144
4.52381
0.52381
0.210526
0.252632
0
0
0
0
0
0
0
0
0.008
0.131944
144
4
75
36
0.752
0
0
0
0
0
0.014085
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
1
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
1
0
5
3b4cb3f4500daaa5b82538b0f39bf7bcee7699ef
2,577
py
Python
tests/cupy_tests/cuda_tests/test_device.py
themightyoarfish/cupy
8b8723568765abcbc5519297ffaeeafbf60e9bdf
[ "MIT" ]
1
2019-04-12T12:28:43.000Z
2019-04-12T12:28:43.000Z
tests/cupy_tests/cuda_tests/test_device.py
shreyasbapat/cupy
321ab5368ce6091bf7a4d86cfe1a63ff3352b1c4
[ "MIT" ]
null
null
null
tests/cupy_tests/cuda_tests/test_device.py
shreyasbapat/cupy
321ab5368ce6091bf7a4d86cfe1a63ff3352b1c4
[ "MIT" ]
null
null
null
import unittest import pytest import six from cupy import cuda class TestDeviceComparison(unittest.TestCase): def check_eq(self, result, obj1, obj2): if result: assert obj1 == obj2 assert obj2 == obj1 assert not (obj1 != obj2) assert not (obj2 != obj1) ...
33.467532
70
0.602251
339
2,577
4.469027
0.141593
0.250825
0.181518
0.09901
0.79538
0.794719
0.753135
0.717492
0.584818
0.565677
0
0.042988
0.277842
2,577
76
71
33.907895
0.771091
0
0
0.15625
0
0
0.019402
0
0
0
0
0
0.3125
1
0.125
false
0
0.0625
0
0.203125
0
0
0
0
null
1
1
0
0
1
1
1
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
5
3b5f55759aafa376cb6c7759635f34b65e631287
126
py
Python
telegram_logging/__init__.py
lbltavares/telegram-logging
7aa726fbdee09222623022c5136212ba1b7af55c
[ "MIT" ]
10
2021-11-16T15:34:03.000Z
2021-11-19T14:18:37.000Z
telegram_logging/__init__.py
lbltavares/telegram-logging
7aa726fbdee09222623022c5136212ba1b7af55c
[ "MIT" ]
null
null
null
telegram_logging/__init__.py
lbltavares/telegram-logging
7aa726fbdee09222623022c5136212ba1b7af55c
[ "MIT" ]
null
null
null
"""A simple Telegram logging module with Handler and Formatter. """ from .telegram import TelegramFormatter, TelegramHandler
25.2
63
0.801587
14
126
7.214286
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.126984
126
4
64
31.5
0.918182
0.47619
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
8e7c0360106c9b7d1ec176cae6b39801d0eac5e0
158
py
Python
cryptography/rot13/__init__.py
BrianLusina/PyCharm
144dd4f6b2d254507237f46c8ee175c407fe053d
[ "Apache-2.0", "MIT" ]
null
null
null
cryptography/rot13/__init__.py
BrianLusina/PyCharm
144dd4f6b2d254507237f46c8ee175c407fe053d
[ "Apache-2.0", "MIT" ]
null
null
null
cryptography/rot13/__init__.py
BrianLusina/PyCharm
144dd4f6b2d254507237f46c8ee175c407fe053d
[ "Apache-2.0", "MIT" ]
null
null
null
import codecs def rot13(message: str) -> str: """ >>> rot13("Hello, World!") 'Uryyb, Jbeyq!' """ return codecs.encode(message, "rot13")
15.8
42
0.556962
17
158
5.176471
0.705882
0
0
0
0
0
0
0
0
0
0
0.05042
0.246835
158
9
43
17.555556
0.689076
0.265823
0
0
0
0
0.052083
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
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
1
0
0
1
0
1
0
0
5
8ea1779725e4d34c62beffa616f9e331f4de1f73
168
py
Python
supabase_py/__init__.py
bariqhibat/supabase-py
b20703d3d4117c911092212a796e53eb2f5286ca
[ "MIT" ]
null
null
null
supabase_py/__init__.py
bariqhibat/supabase-py
b20703d3d4117c911092212a796e53eb2f5286ca
[ "MIT" ]
null
null
null
supabase_py/__init__.py
bariqhibat/supabase-py
b20703d3d4117c911092212a796e53eb2f5286ca
[ "MIT" ]
null
null
null
__version__ = "0.0.2" from supabase_py import client, lib from supabase_py.client import Client, create_client __all__ = ["client", "lib", "Client", "create_client"]
24
54
0.744048
24
168
4.708333
0.458333
0.212389
0.247788
0
0
0
0
0
0
0
0
0.020408
0.125
168
6
55
28
0.748299
0
0
0
0
0
0.196429
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
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
5
8ec35e004395531ed48ce8d63e45c91ccabc9d8c
92
py
Python
02-functions-as-objects/02_function_as_object.py
saidulislam/Functional-Programming-in-Python
27ae205f9cf0fa38e16e29089cf72981f8a51a78
[ "Apache-2.0" ]
null
null
null
02-functions-as-objects/02_function_as_object.py
saidulislam/Functional-Programming-in-Python
27ae205f9cf0fa38e16e29089cf72981f8a51a78
[ "Apache-2.0" ]
null
null
null
02-functions-as-objects/02_function_as_object.py
saidulislam/Functional-Programming-in-Python
27ae205f9cf0fa38e16e29089cf72981f8a51a78
[ "Apache-2.0" ]
null
null
null
def square(x): return x*x print(type(square)) print(id(square)) print(str(square))
15.333333
20
0.652174
15
92
4
0.533333
0.366667
0
0
0
0
0
0
0
0
0
0
0.173913
92
6
21
15.333333
0.789474
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.6
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
0
0
0
0
0
1
0
1
0
5
8ee4b87adbb510cf4194d0f9066b8e2c7cba63b5
2,856
py
Python
venv/lib/python3.7/site-packages/rqdatac/services/orm/cash_flow_sql.py
CatTiger/vnpy
7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/rqdatac/services/orm/cash_flow_sql.py
CatTiger/vnpy
7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b
[ "MIT" ]
1
2020-04-21T02:42:32.000Z
2020-04-21T02:42:32.000Z
venv/lib/python3.7/site-packages/rqdatac/services/orm/cash_flow_sql.py
CatTiger/vnpy
7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b
[ "MIT" ]
null
null
null
# coding: utf-8 from sqlalchemy import Numeric, Column from .fundamental_base_sql import FundamentalBase class StkCashGen(FundamentalBase): cash_received_from_sales_of_goods = Column(Numeric(18, 2)) rental_cash = Column(Numeric(18, 2)) refunds_of_vat = Column(Numeric(18, 2)) refunds_of_other_taxes = C...
51
77
0.769608
405
2,856
5.019753
0.180247
0.287752
0.29513
0.314806
0.724053
0.721594
0.607969
0.454993
0.087555
0
0
0.054927
0.133053
2,856
55
78
51.927273
0.766155
0.004552
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.041667
0
1
0
0
0
0
null
1
1
1
0
1
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
5
d92ec87e9c23ab1bc746b9aa9daa64bbc47e9ba3
181
py
Python
Myboard/Board/admin.py
Chen1996-1/Django_Myboard
0f87ab5ebe8c7a98544bf0eccb7ada12b737ffd5
[ "Apache-2.0" ]
null
null
null
Myboard/Board/admin.py
Chen1996-1/Django_Myboard
0f87ab5ebe8c7a98544bf0eccb7ada12b737ffd5
[ "Apache-2.0" ]
null
null
null
Myboard/Board/admin.py
Chen1996-1/Django_Myboard
0f87ab5ebe8c7a98544bf0eccb7ada12b737ffd5
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Board,Topic,Post admin.site.register(Board) admin.site.register(Topic) admin.site.register(Post) # Register your models here.
20.111111
36
0.801105
27
181
5.37037
0.481481
0.186207
0.351724
0
0
0
0
0
0
0
0
0
0.099448
181
8
37
22.625
0.889571
0.143646
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
1
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
d9648768bacc20052057f16e8dde6dc84cdadea8
7,169
py
Python
migrations/versions/9c1435b5ebf2_.py
limvus/limbook-api
26c1c2493c4115532b3c8cdc8f6c79c16108ca20
[ "MIT" ]
null
null
null
migrations/versions/9c1435b5ebf2_.py
limvus/limbook-api
26c1c2493c4115532b3c8cdc8f6c79c16108ca20
[ "MIT" ]
32
2020-05-10T03:42:43.000Z
2022-01-13T02:40:25.000Z
migrations/versions/9c1435b5ebf2_.py
limvus/limbook-api
26c1c2493c4115532b3c8cdc8f6c79c16108ca20
[ "MIT" ]
null
null
null
"""empty message Revision ID: 9c1435b5ebf2 Revises: 77a61d457456 Create Date: 2020-05-25 00:01:29.210876 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '9c1435b5ebf2' down_revision = '77a61d457456' branch_labels = None...
39.39011
75
0.58474
715
7,169
5.685315
0.146853
0.070849
0.204674
0.129643
0.803198
0.784748
0.769004
0.740467
0.683395
0.524477
0
0.010504
0.282885
7,169
181
76
39.607735
0.780198
0.041149
0
0.646341
0
0
0.135147
0.027644
0
0
0
0
0
1
0.012195
false
0.018293
0.018293
0
0.030488
0
0
0
0
null
0
1
0
1
1
1
1
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
5