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
82e489351a86b012ce0ba55de6f401f68e9dbadc
800
py
Python
intermol/forces/morse_bond.py
jpthompson17/InterMol
9289ea770bc2d069482bf5fa74dceea4c14d0e4b
[ "MIT" ]
null
null
null
intermol/forces/morse_bond.py
jpthompson17/InterMol
9289ea770bc2d069482bf5fa74dceea4c14d0e4b
[ "MIT" ]
null
null
null
intermol/forces/morse_bond.py
jpthompson17/InterMol
9289ea770bc2d069482bf5fa74dceea4c14d0e4b
[ "MIT" ]
null
null
null
from intermol.decorators import * from abstract_bond import * class MorseBond(AbstractBond): @accepts_compatible_units(None, None, units.nanometers, units.kilojoules_per_mole, units.nanometers**(-1)) def __init__(self, atom1, atom2, length, D, beta): """ """ AbstractBond.__init__(self,...
33.333333
121
0.60625
99
800
4.676768
0.313131
0.151188
0.056156
0.077754
0.25054
0.25054
0.25054
0.25054
0.25054
0.25054
0
0.017974
0.235
800
23
122
34.782609
0.738562
0
0
0
0
0
0.021684
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.2
0.666667
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
0
0
1
1
0
0
3
7d5338d351f2f54655d1206bf0dc48a6506fae49
22
py
Python
pyomni/object/__init__.py
taxpon/pyomni
74e256b6fc9cf0f4bcfc575bb8ed702f573a967f
[ "MIT" ]
12
2015-12-20T13:13:22.000Z
2022-01-29T05:32:35.000Z
pyomni/object/__init__.py
taxpon/pyomni
74e256b6fc9cf0f4bcfc575bb8ed702f573a967f
[ "MIT" ]
1
2020-09-15T15:59:07.000Z
2020-09-15T15:59:07.000Z
pyomni/object/__init__.py
taxpon/pyomni
74e256b6fc9cf0f4bcfc575bb8ed702f573a967f
[ "MIT" ]
2
2016-04-20T15:59:57.000Z
2019-06-16T12:42:10.000Z
__author__ = 'takuro'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
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
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
3
7d77442f0f6764a683b27654774d491e70a76332
120
py
Python
var.py
mrgiser/helloworld-python
7af347e125e7189f4ed26c24d25e4c7664072892
[ "Apache-2.0" ]
null
null
null
var.py
mrgiser/helloworld-python
7af347e125e7189f4ed26c24d25e4c7664072892
[ "Apache-2.0" ]
null
null
null
var.py
mrgiser/helloworld-python
7af347e125e7189f4ed26c24d25e4c7664072892
[ "Apache-2.0" ]
null
null
null
# 文件名: var.py i = 5 print(i) i = i + 1 print(i) s = '''This is a multi-line string. This is the second line.''' print(s)
15
35
0.608333
26
120
2.807692
0.615385
0.164384
0
0
0
0
0
0
0
0
0
0.021053
0.208333
120
8
36
15
0.747368
0.091667
0
0.285714
0
0
0.490741
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7d83f12a06892d9106235a3970241a136b00c86f
1,137
py
Python
2019/2019_01b.py
davidxiao93/Advent-of-Code
29503100ae4eb46b048fc3ab68ff0181c6f00ee5
[ "MIT" ]
null
null
null
2019/2019_01b.py
davidxiao93/Advent-of-Code
29503100ae4eb46b048fc3ab68ff0181c6f00ee5
[ "MIT" ]
null
null
null
2019/2019_01b.py
davidxiao93/Advent-of-Code
29503100ae4eb46b048fc3ab68ff0181c6f00ee5
[ "MIT" ]
null
null
null
input = """120183 105169 58942 105283 100729 57778 59601 86011 148930 76533 132625 79105 66334 87695 148836 129384 71225 96010 67221 139037 90010 72531 145543 137983 63687 131307 62602 129223 76717 98896 58484 127996 128840 60723 149932 141443 96997 96196 104670 104055 129552 54426 104507 80241 91570 140053 106108 1197...
9.319672
49
0.74934
167
1,137
4.952096
0.736527
0.050786
0.053204
0.041112
0.058041
0
0
0
0
0
0
0.622074
0.211082
1,137
122
50
9.319672
0.299889
0
0
0
0
0
0.572056
0
0
1
0
0
0
1
0.008621
false
0
0
0
0.017241
0.008621
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
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
7d8ab57ad94587aa01f5ece0ecae602fd3c81ec7
6,442
py
Python
persistence/generalSettingsSnapshot.py
charlesmadere/cynanbot
67c5f09eb553ddd5121594abe3974e9100728bda
[ "Unlicense" ]
2
2020-07-09T06:11:49.000Z
2020-11-09T21:56:09.000Z
persistence/generalSettingsSnapshot.py
charlesmadere/cynanbot
67c5f09eb553ddd5121594abe3974e9100728bda
[ "Unlicense" ]
null
null
null
persistence/generalSettingsSnapshot.py
charlesmadere/cynanbot
67c5f09eb553ddd5121594abe3974e9100728bda
[ "Unlicense" ]
1
2020-12-04T06:19:24.000Z
2020-12-04T06:19:24.000Z
from typing import Dict, List import CynanBotCommon.utils as utils class GeneralSettingsSnapshot(): def __init__(self, jsonContents: Dict[str, object]): if not utils.hasItems(jsonContents): raise ValueError(f'jsonContents argument is malformed: \"{jsonContents}\"') self._...
44.123288
118
0.725862
513
6,442
8.951267
0.263158
0.142857
0.088415
0.119991
0.412021
0.39939
0.39939
0
0
0
0
0.003992
0.183328
6,442
145
119
44.427586
0.868846
0
0
0
0
0
0.15023
0.083532
0
0
0
0
0
1
0.416667
false
0
0.020833
0.385417
0.864583
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
0
0
1
1
0
0
3
7d8f89d4e39f2da8c69849bbdfb539ea567a5a40
72
py
Python
try_match/__init__.py
zen-xu/try_match
ef3292e5392890b936246f4693deacfd2d11b8bc
[ "Apache-2.0" ]
3
2019-09-11T07:25:23.000Z
2021-07-16T21:40:14.000Z
try_match/__init__.py
zen-xu/try_match
ef3292e5392890b936246f4693deacfd2d11b8bc
[ "Apache-2.0" ]
null
null
null
try_match/__init__.py
zen-xu/try_match
ef3292e5392890b936246f4693deacfd2d11b8bc
[ "Apache-2.0" ]
null
null
null
from ._try_match import DefaultCase, Case, match __version__ = "0.2.0"
18
48
0.75
11
72
4.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.048387
0.138889
72
3
49
24
0.725806
0
0
0
0
0
0.069444
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7dab0a4dc65507dec58ece4fa5eca2767ae9d103
467
py
Python
constants_physicochemicals.py
pysg/pyther
6a47fc41533cc50bc64134e42ddd3ed8d54d75c7
[ "MIT" ]
9
2017-07-10T19:21:35.000Z
2022-01-24T16:41:34.000Z
constants_physicochemicals.py
NERD-cpu/pyther
6a47fc41533cc50bc64134e42ddd3ed8d54d75c7
[ "MIT" ]
1
2017-05-28T01:45:00.000Z
2018-01-08T14:54:31.000Z
constants_physicochemicals.py
NERD-cpu/pyther
6a47fc41533cc50bc64134e42ddd3ed8d54d75c7
[ "MIT" ]
3
2017-08-18T18:47:21.000Z
2021-03-01T02:25:24.000Z
import numpy as np # Constante universal de los gases R [=] definir las unidades ##### RGAS = 0.08314472 # Definir el significado fisicoquímico A0, B0, C0 = 0.0017, 1.9681, -2.7238 # Definir el significado fisicoquímico A1, B1, C1 = -2.4407, 7.4513, 12.504 # Definir el significado fisicoquímico D = np.array([0.4283...
27.470588
74
0.706638
79
467
4.177215
0.64557
0.081818
0.181818
0.3
0
0
0
0
0
0
0
0.240933
0.173448
467
16
75
29.1875
0.61399
0.552463
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
0
0
0
3
7dc568c7d08cc7ffd36927913071b06d008eddc2
235
py
Python
Practice/CK87MEDI.py
anirudhkannanvp/CODECHEF
6d108058c11207caa2e35e471ba88f84c0ea9774
[ "MIT" ]
null
null
null
Practice/CK87MEDI.py
anirudhkannanvp/CODECHEF
6d108058c11207caa2e35e471ba88f84c0ea9774
[ "MIT" ]
null
null
null
Practice/CK87MEDI.py
anirudhkannanvp/CODECHEF
6d108058c11207caa2e35e471ba88f84c0ea9774
[ "MIT" ]
null
null
null
for _ in range(int(input())): n,k=map(int,input().split()) n1=n arr=list(map(int,input().split())) maxe=max(arr)+1 arr.sort() k1=k while(k1): k1-=1 arr.append(maxe) print(arr[(n1+k)//2])
19.583333
38
0.506383
39
235
3.025641
0.538462
0.20339
0.186441
0.271186
0
0
0
0
0
0
0
0.046243
0.26383
235
11
39
21.363636
0.635838
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
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
0
0
0
0
3
8157f0f83774eb84b82120ab995e69bab379df69
102
py
Python
kindle_clippings_parser/__init__.py
AndrewDang-Tran/kindle-clippings-parser
8dab5d85853a39cb96287d3afba0ce74798d9bae
[ "MIT" ]
null
null
null
kindle_clippings_parser/__init__.py
AndrewDang-Tran/kindle-clippings-parser
8dab5d85853a39cb96287d3afba0ce74798d9bae
[ "MIT" ]
null
null
null
kindle_clippings_parser/__init__.py
AndrewDang-Tran/kindle-clippings-parser
8dab5d85853a39cb96287d3afba0ce74798d9bae
[ "MIT" ]
null
null
null
from .KindleClippingsParser import KindleClippingsParser __all__ = [ 'KindleClippingsParser', ]
14.571429
56
0.784314
6
102
12.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.147059
102
6
57
17
0.873563
0
0
0
0
0
0.205882
0.205882
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
81594009e438925128164201eb8a0603408dd61e
138
py
Python
looker_deployer/utils/parse_ini.py
hselbie/looker_deployer
fc97ba1f6f5288e4e3413fb89f7ea16db6543ac8
[ "MIT" ]
null
null
null
looker_deployer/utils/parse_ini.py
hselbie/looker_deployer
fc97ba1f6f5288e4e3413fb89f7ea16db6543ac8
[ "MIT" ]
1
2021-08-05T16:19:09.000Z
2021-08-05T16:19:09.000Z
looker_deployer/utils/parse_ini.py
hselbie/looker_deployer
fc97ba1f6f5288e4e3413fb89f7ea16db6543ac8
[ "MIT" ]
null
null
null
import configparser def read_ini(ini="../looker.ini"): config = configparser.ConfigParser() config.read(ini) return config
15.333333
40
0.695652
16
138
5.9375
0.5
0.147368
0
0
0
0
0
0
0
0
0
0
0.181159
138
8
41
17.25
0.840708
0
0
0
0
0
0.094203
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
81746f125d0ae0ec6e9a905d6b7f21308526804e
436
py
Python
client-portal/include/parsers/family_schema.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
null
null
null
client-portal/include/parsers/family_schema.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
null
null
null
client-portal/include/parsers/family_schema.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
1
2021-09-19T10:58:17.000Z
2021-09-19T10:58:17.000Z
from marshmallow import Schema, fields class FamilyDetailsSchema(Schema): email = fields.String(required=True) father_name = fields.String(required=True) mother_name = fields.String(required=True) father_occupation = fields.String(required=True) mother_occupation = fields.String(required=T...
36.333333
54
0.752294
51
436
6.27451
0.333333
0.2625
0.4375
0.525
0.7875
0.2125
0
0
0
0
0
0
0.158257
436
11
55
39.636364
0.871935
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
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
0
0
0
0
3
8198a7234f7f4f3059a2c31e4cf42ab8e6ec162a
317
py
Python
mowgli_etl/loader/json/jsonl_path_loader.py
tetherless-world/mowgli
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
4
2021-01-15T15:36:23.000Z
2021-09-01T06:52:05.000Z
mowgli_etl/loader/json/jsonl_path_loader.py
tetherless-world/mowgli
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
63
2020-05-04T13:48:04.000Z
2020-06-06T02:32:58.000Z
mowgli_etl/loader/json/jsonl_path_loader.py
tetherless-world/mowgli-etl
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
null
null
null
from mowgli_etl.loader._kg_path_loader import _KgPathLoader from mowgli_etl.loader.json._jsonl_loader import _JsonlLoader class JsonlPathLoader(_KgPathLoader, _JsonlLoader): _JSONL_FILE_NAME = "paths.jsonl" close = _JsonlLoader.close load_kg_path = _JsonlLoader._load_model open = _JsonlLoader.open
31.7
61
0.810726
39
317
6.051282
0.512821
0.084746
0.110169
0.161017
0
0
0
0
0
0
0
0
0.129338
317
9
62
35.222222
0.855072
0
0
0
0
0
0.0347
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
819f60a1091ef66e4982c8ec885944754f2f14ae
811
py
Python
sdk/python/yl_sdk.py
ihuanglei/yeelight
6a31beb9a790b4ce85c77db0abe13e25e93a3811
[ "MIT" ]
null
null
null
sdk/python/yl_sdk.py
ihuanglei/yeelight
6a31beb9a790b4ce85c77db0abe13e25e93a3811
[ "MIT" ]
null
null
null
sdk/python/yl_sdk.py
ihuanglei/yeelight
6a31beb9a790b4ce85c77db0abe13e25e93a3811
[ "MIT" ]
null
null
null
import urllib import urllib2 class YLSdk(object): __instance = None # 单例 def __new__(cls, *args, **kwargs): if not cls.__instance: cls.__instance = super(Singleton, cls).__new__( cls, *args, **kwargs) return cls.__instance def __init__(self, server_url): ...
18.431818
63
0.55857
90
811
4.666667
0.533333
0.085714
0.092857
0.07619
0
0
0
0
0
0
0
0.005545
0.332922
811
43
64
18.860465
0.770795
0.036991
0
0.16
0
0
0.015524
0
0
0
0
0
0
1
0.32
false
0.16
0.08
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
c49fb8384bd888f96b59620b0870b9aaa1e8eda3
7,031
py
Python
mutiny/actions.py
nfusionz/mutiny
d25a5470410c59de32b28e597a601c37beed2d8e
[ "MIT" ]
null
null
null
mutiny/actions.py
nfusionz/mutiny
d25a5470410c59de32b28e597a601c37beed2d8e
[ "MIT" ]
null
null
null
mutiny/actions.py
nfusionz/mutiny
d25a5470410c59de32b28e597a601c37beed2d8e
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Union from mutiny.game_data import GameData from mutiny.game_enum import ActionEnum, RoleEnum from mutiny.exceptions import InvalidMove from mutiny.constants import * import mutiny.states from mutiny.state_interface import StateInterface class QueuedAction(ABC):...
26.235075
119
0.66477
853
7,031
5.297773
0.174678
0.082762
0.030095
0.053109
0.594158
0.521797
0.491702
0.452755
0.380394
0.370657
0
0.000942
0.244915
7,031
267
120
26.333333
0.850254
0.106102
0
0.636364
0
0
0.006465
0
0
0
0
0.007491
0
1
0.278409
false
0.022727
0.051136
0.1875
0.630682
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
0
0
1
1
0
0
3
c4c00e619d4980ca074c2657fb8f7be89f049c32
99
py
Python
AtlassianApp/apps.py
mjlabe/atlassian-integration-django-app
7b5b1ed8b2fd0fbe792eec73a96f0fe963be0f03
[ "MIT" ]
null
null
null
AtlassianApp/apps.py
mjlabe/atlassian-integration-django-app
7b5b1ed8b2fd0fbe792eec73a96f0fe963be0f03
[ "MIT" ]
2
2020-06-05T23:00:10.000Z
2021-06-10T21:56:54.000Z
AtlassianApp/apps.py
mjlabe/atlassian-integration-django-app
7b5b1ed8b2fd0fbe792eec73a96f0fe963be0f03
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AtlassianappConfig(AppConfig): name = 'AtlassianApp'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
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
0
0
0
1
0
0
0
0
3
c4cc42a9e26ae56d5d0f9ff5faff6fd4828d08da
562
py
Python
applications/TableTennis/predict/action_detect/reader/__init__.py
txyugood/PaddleTableTennis
be4d33b5990da9c75fcd11f341ae09a73bfdbaba
[ "Apache-2.0" ]
5
2022-01-30T07:35:58.000Z
2022-02-08T05:45:20.000Z
applications/TableTennis/predict/action_detect/reader/__init__.py
txyugood/PaddleTableTennis
be4d33b5990da9c75fcd11f341ae09a73bfdbaba
[ "Apache-2.0" ]
1
2022-01-14T02:33:28.000Z
2022-01-14T02:33:28.000Z
applications/TableTennis/predict/action_detect/reader/__init__.py
txyugood/PaddleTableTennis
be4d33b5990da9c75fcd11f341ae09a73bfdbaba
[ "Apache-2.0" ]
1
2022-01-24T16:27:01.000Z
2022-01-24T16:27:01.000Z
""" read map for model """ from reader.reader_utils import regist_reader, get_reader # import reader.tsminf_reader as tsminf_reader # import reader.audio_reader as audio_reader import reader.bmninf_reader as bmninf_reader import reader.feature_reader as feature_reader # regist reader, sort by alphabet # regist_reader(...
35.125
57
0.825623
76
562
5.828947
0.342105
0.189616
0.162528
0.13544
0.162528
0
0
0
0
0
0
0
0.087189
562
15
58
37.466667
0.863548
0.512456
0
0
0
0
0.034483
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
c4d51b311b11cde3cc61a6ddf5f13cacb85e99dc
97
py
Python
numpy_test.py
thorsilver/Social-Care-ABM-for-UQ
43bc3c6c05d81fc5134d2debccfb86a7f8e8fe38
[ "MIT" ]
null
null
null
numpy_test.py
thorsilver/Social-Care-ABM-for-UQ
43bc3c6c05d81fc5134d2debccfb86a7f8e8fe38
[ "MIT" ]
null
null
null
numpy_test.py
thorsilver/Social-Care-ABM-for-UQ
43bc3c6c05d81fc5134d2debccfb86a7f8e8fe38
[ "MIT" ]
1
2018-01-05T15:42:40.000Z
2018-01-05T15:42:40.000Z
import numpy as np fert_data = r = np.genfromtxt('babyrate.csv', delimiter=',', names=False)
24.25
74
0.690722
14
97
4.714286
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
3
75
32.333333
0.804878
0
0
0
0
0
0.138298
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f20acffb9380a1731e46c2905340ad65ad3b464a
21,324
py
Python
tests/examples/minlplib/tln12.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/tln12.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/tln12.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 04/21/18 13:54:54 # # Equation counts # Total E G L N X C B # 73 1 0 72 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
54.817481
120
0.604952
4,041
21,324
3.192279
0.08389
0.117209
0.205581
0.27814
0.713178
0.695504
0.678295
0.677674
0.677674
0.196744
0
0.233147
0.185378
21,324
388
121
54.958763
0.50947
0.031889
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.003413
0
0.003413
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
0
0
0
3
f22383f824194567c99ad3058410694989546f11
1,065
py
Python
tests/test_csp.py
lgmoneda/aima-python
ab868f5f224f93ba0e3a3e0543cbbc423869f7c6
[ "MIT" ]
null
null
null
tests/test_csp.py
lgmoneda/aima-python
ab868f5f224f93ba0e3a3e0543cbbc423869f7c6
[ "MIT" ]
null
null
null
tests/test_csp.py
lgmoneda/aima-python
ab868f5f224f93ba0e3a3e0543cbbc423869f7c6
[ "MIT" ]
1
2020-03-04T12:59:07.000Z
2020-03-04T12:59:07.000Z
import pytest from csp import * #noqa def test_backtracking_search(): assert (backtracking_search(australia) is not None) == True assert (backtracking_search(australia, select_unassigned_variable=mrv) is not None) == True assert (backtracking_search(australia, order_domain_values=lcv) is not None) == Tru...
40.961538
97
0.675117
134
1,065
5.104478
0.320896
0.210526
0.245614
0.133041
0.663743
0.663743
0.622807
0.568713
0.432749
0.339181
0
0.004706
0.201878
1,065
25
98
42.6
0.8
0.003756
0
0
0
0
0.031132
0
0
0
0
0
0.473684
1
0.157895
false
0
0.105263
0
0.263158
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
0
0
0
0
0
0
0
0
3
4814f9a86d109779bf5a1d52a4e7cece6da42acf
3,625
py
Python
python/src/main/python/pyalink/alink/batch/mixins.py
Yankee24/Alink
fb06bd7f0e3f7e298679e13a2e0e6f38db9e2242
[ "Apache-2.0" ]
null
null
null
python/src/main/python/pyalink/alink/batch/mixins.py
Yankee24/Alink
fb06bd7f0e3f7e298679e13a2e0e6f38db9e2242
[ "Apache-2.0" ]
null
null
null
python/src/main/python/pyalink/alink/batch/mixins.py
Yankee24/Alink
fb06bd7f0e3f7e298679e13a2e0e6f38db9e2242
[ "Apache-2.0" ]
null
null
null
from abc import ABC from .base import BatchOperatorWrapper from .lazy_evaluation import pipe_j_lazy_to_py_callbacks from ..common.types.bases.j_obj_wrapper import JavaObjectWrapper from ..common.types.conversion.java_method_call import auto_convert_java_type from ..common.types.conversion.type_converters import j_valu...
34.198113
164
0.700966
407
3,625
6.017199
0.248157
0.057166
0.0196
0.02695
0.478971
0.454471
0.445488
0.412005
0.380972
0.348714
0
0
0.219586
3,625
105
165
34.52381
0.865677
0.202483
0
0.492063
0
0
0.029732
0.017767
0
0
0
0
0
1
0.222222
false
0
0.111111
0.126984
0.619048
0.079365
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
48462bc88161dbe015ccfa124a3bf27f1531d3c0
249
py
Python
text_analysis_tools/api/keyphrase/__init__.py
yu3peng/text_analysis_tools
95b98a42d7fa509156db54f719875d8e9c8d3155
[ "Apache-2.0" ]
149
2019-09-26T11:07:40.000Z
2021-06-14T22:58:31.000Z
text_analysis_tools/api/keyphrase/__init__.py
yu3peng/text_analysis_tools
95b98a42d7fa509156db54f719875d8e9c8d3155
[ "Apache-2.0" ]
2
2020-08-08T02:13:56.000Z
2021-04-19T01:24:36.000Z
text_analysis_tools/api/keyphrase/__init__.py
yu3peng/text_analysis_tools
95b98a42d7fa509156db54f719875d8e9c8d3155
[ "Apache-2.0" ]
49
2019-09-29T03:35:13.000Z
2021-06-17T09:01:43.000Z
# -*- coding: utf-8 -*- import os CURRENT_PATH = os.path.abspath(__file__) DATA_PATH = os.path.dirname(os.path.dirname(CURRENT_PATH)) FONT_PATH = os.path.join(DATA_PATH, "data", "simfang.ttf") MASK_PATH = os.path.join(DATA_PATH, "data", "map.png")
31.125
58
0.714859
41
249
4.073171
0.439024
0.179641
0.239521
0.167665
0.311377
0.311377
0.311377
0
0
0
0
0.004444
0.096386
249
8
59
31.125
0.737778
0.084337
0
0
0
0
0.114537
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
0
0
0
3
48482ee9fc581006d75a399cff71cbc92f43d237
685
py
Python
src/face_check/accounts/views.py
tarvitz/face-check
e468025c7a5615f4ec8ee24c06252ceeb8a2e129
[ "BSD-4-Clause" ]
null
null
null
src/face_check/accounts/views.py
tarvitz/face-check
e468025c7a5615f4ec8ee24c06252ceeb8a2e129
[ "BSD-4-Clause" ]
7
2019-01-01T17:13:06.000Z
2021-06-10T17:42:54.000Z
src/face_check/accounts/views.py
tarvitz/face-check
e468025c7a5615f4ec8ee24c06252ceeb8a2e129
[ "BSD-4-Clause" ]
null
null
null
from django.contrib import auth from django.urls import reverse_lazy from django.views.generic import View from django.http import HttpResponseRedirect class LogoutView(View): """ Log-outs user on methods: - GET - POST Returns redirect to index page """ def logout(self):...
22.833333
78
0.648175
80
685
5.4625
0.4625
0.125858
0.077803
0.09611
0.155606
0.155606
0
0
0
0
0
0
0.267153
685
29
79
23.62069
0.870518
0.10365
0
0.133333
0
0
0.021544
0
0
0
0
0
0
1
0.266667
false
0
0.266667
0.133333
0.8
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
0
0
1
1
0
0
3
48895537e8664223d4ab7da5fa633c000cd9c33f
329
py
Python
src/exoplanet/gp/means.py
t-brandt/exoplanet
68c567de27702190b41434c56d78315358f5c441
[ "MIT" ]
null
null
null
src/exoplanet/gp/means.py
t-brandt/exoplanet
68c567de27702190b41434c56d78315358f5c441
[ "MIT" ]
null
null
null
src/exoplanet/gp/means.py
t-brandt/exoplanet
68c567de27702190b41434c56d78315358f5c441
[ "MIT" ]
1
2021-12-04T22:27:14.000Z
2021-12-04T22:27:14.000Z
# -*- coding: utf-8 -*- __all__ = ["Zero", "Constant"] import theano.tensor as tt class Zero: def __call__(self, x): return tt.zeros_like(x) class Constant: def __init__(self, value): self.value = tt.as_tensor_variable(value) def __call__(self, x): return tt.zeros_like(x) + se...
17.315789
49
0.62614
46
329
4.043478
0.478261
0.145161
0.11828
0.129032
0.322581
0.322581
0.322581
0.322581
0.322581
0
0
0.003984
0.237082
329
18
50
18.277778
0.737052
0.06383
0
0.2
0
0
0.039216
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.8
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
0
0
1
1
0
0
3
6f7e06cc9b8892218cf16c377d4509716209c158
930
py
Python
credentials.py
Lugaga/Password-Locker
1ce015922fad0c18cd3bf9e8cc8ce9617aed5284
[ "MIT" ]
null
null
null
credentials.py
Lugaga/Password-Locker
1ce015922fad0c18cd3bf9e8cc8ce9617aed5284
[ "MIT" ]
null
null
null
credentials.py
Lugaga/Password-Locker
1ce015922fad0c18cd3bf9e8cc8ce9617aed5284
[ "MIT" ]
null
null
null
import pyperclip class Credentials: """ Class that creates credentials instances """ cred_list = [] def __init__(self, account_name, username, password): """ Defines properties for our objects. Args: account_name: new account_name. username: new use...
22.682927
57
0.574194
93
930
5.55914
0.408602
0.077369
0.058027
0
0
0
0
0
0
0
0
0
0.344086
930
40
58
23.25
0.847541
0.324731
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.133333
0.066667
0
0.533333
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
0
0
1
0
0
3
6f86d3f43a4ab81837fb7bbae843c08031e78ccb
437
py
Python
meiduo_project/meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/spus.py
xlztongxue/meiduoshangcheng
2434231795b3319dfda60b19af18442ee5f6fa73
[ "MIT" ]
null
null
null
meiduo_project/meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/spus.py
xlztongxue/meiduoshangcheng
2434231795b3319dfda60b19af18442ee5f6fa73
[ "MIT" ]
6
2020-05-11T20:27:04.000Z
2021-11-02T15:46:52.000Z
meiduo_project/meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/spus.py
xlztongxue/meiduoshangcheng
2434231795b3319dfda60b19af18442ee5f6fa73
[ "MIT" ]
null
null
null
from rest_framework import serializers from goods.models import SPU class SPUSerializer(serializers.ModelSerializer): """SPU序列化器""" # 指定外键 category1_id = serializers.IntegerField() category2_id = serializers.IntegerField() category3_id = serializers.IntegerField() brand_id = serializers.Integ...
27.3125
49
0.718535
41
437
7.439024
0.585366
0.170492
0.327869
0.196721
0
0
0
0
0
0
0
0.008547
0.196796
437
16
50
27.3125
0.860399
0.029748
0
0
0
0
0.016706
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.818182
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
0
0
0
0
1
0
0
3
6f8c16522a39b6aed780e98ae83c938b1014eceb
232
py
Python
fichas/ficha9/conta_corrente/class_cliente.py
vitorsergiota/python
2cc95392a2a52a871e0582e4e900c0aa24a021a1
[ "MIT" ]
null
null
null
fichas/ficha9/conta_corrente/class_cliente.py
vitorsergiota/python
2cc95392a2a52a871e0582e4e900c0aa24a021a1
[ "MIT" ]
null
null
null
fichas/ficha9/conta_corrente/class_cliente.py
vitorsergiota/python
2cc95392a2a52a871e0582e4e900c0aa24a021a1
[ "MIT" ]
null
null
null
class Cliente: nome = str() NIF = str() def __init__(self, nome1, NIF1): self.nome = nome1 self.NIF = NIF1 def consultar(self): print(self.nome) print(self.NIF)
12.888889
36
0.491379
26
232
4.230769
0.461538
0.145455
0
0
0
0
0
0
0
0
0
0.028777
0.400862
232
18
37
12.888889
0.76259
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.555556
0.222222
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
6fba044798009ea8f1d61f18d65d1edd57845be2
493
py
Python
DEPENDENCIES/seash/tests/ut_seash_parseerror.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
null
null
null
DEPENDENCIES/seash/tests/ut_seash_parseerror.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
null
null
null
DEPENDENCIES/seash/tests/ut_seash_parseerror.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
1
2018-03-04T21:51:22.000Z
2018-03-04T21:51:22.000Z
""" A simple test to make sure seash's parser is catching wrong commands correctly. """ #pragma error Command not understood import seash_dictionary # Parser should recognize these commands as valid seash_dictionary.parse_command("loadkeys notakey") seash_dictionary.parse_command("show ip to example_file.txt") seash_...
32.866667
79
0.819473
70
493
5.628571
0.614286
0.190355
0.203046
0.274112
0
0
0
0
0
0
0
0.006834
0.109533
493
14
80
35.214286
0.890661
0.434077
0
0
0
0
0.364312
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
0
0
0
0
0
3
6fc08f76747a76f3e5d9ed9a8db0ff232cb48b25
745
py
Python
code/python/Vault/v3/fds/sdk/Vault/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
6
2022-02-07T16:34:18.000Z
2022-03-30T08:04:57.000Z
code/python/Vault/v3/fds/sdk/Vault/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
2
2022-02-07T05:25:57.000Z
2022-03-07T14:18:04.000Z
code/python/Vault/v3/fds/sdk/Vault/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
null
null
null
# flake8: noqa """ Vault API Allow clients to fetch Analytics through APIs. # noqa: E501 The version of the OpenAPI document: v3 Contact: analytics.api.support@factset.com Generated by: https://openapi-generator.tech """ __version__ = "0.20.0" # import ApiClient from fds.sdk.Vault.api_client ...
25.689655
64
0.789262
99
745
5.888889
0.434343
0.096055
0.137221
0.205832
0.319039
0.319039
0
0
0
0
0
0.013997
0.136913
745
28
65
26.607143
0.892691
0.362416
0
0
0
0
0.013514
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6fd8883288858a152c2ae3a1e70f796b78a60fe0
322
py
Python
Commands.py
josericardojr/BinG
bbd5f3732995ddec8f7976e3ceffcdd8ce00913d
[ "MIT" ]
null
null
null
Commands.py
josericardojr/BinG
bbd5f3732995ddec8f7976e3ceffcdd8ce00913d
[ "MIT" ]
null
null
null
Commands.py
josericardojr/BinG
bbd5f3732995ddec8f7976e3ceffcdd8ce00913d
[ "MIT" ]
null
null
null
def command_ask_path(): return 'COMMAND_ASK_PATH' def command_repeat(): return 'COMMAND_REPEAT' def command_quit(): return 'COMMAND_QUIT' def command_feedback(msg): return 'COMMAND_FEEDBACK;' + msg def command_consult(): return 'COMMAND_CONSULT' def command_wait(): return 'COMMAND_WAIT...
14
36
0.714286
40
322
5.4
0.275
0.277778
0.12963
0
0
0
0
0
0
0
0
0
0.186335
322
22
37
14.636364
0.824427
0
0
0
0
0
0.267081
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
6ff407e397a83a3a971259ce8c42c21efefa0839
438
py
Python
indipco/hooks_call/stock_entry.py
Faanoon/indipco
acd13b1bee57c61ebe74d9d5ef7c1576eb2dce94
[ "MIT" ]
null
null
null
indipco/hooks_call/stock_entry.py
Faanoon/indipco
acd13b1bee57c61ebe74d9d5ef7c1576eb2dce94
[ "MIT" ]
1
2019-08-30T04:44:41.000Z
2019-08-30T04:44:41.000Z
indipco/hooks_call/stock_entry.py
Faanoon/indipco
acd13b1bee57c61ebe74d9d5ef7c1576eb2dce94
[ "MIT" ]
7
2019-11-07T11:18:32.000Z
2021-08-14T12:44:39.000Z
from __future__ import unicode_literals import frappe from frappe import _ from frappe.model.document import Document #@frappe.whitelist(allow_guest=True) def validate_purpose_manufacture(self,method): if self.job_card: if (self.purpose != "Material Transfer for Manufacture" or self.purpose != "Manufacture...
39.818182
98
0.739726
54
438
5.796296
0.555556
0.063898
0.121406
0.191693
0
0
0
0
0
0
0
0.005556
0.178082
438
11
99
39.818182
0.863889
0.079909
0
0
0
0
0.275434
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
82ea1b69df5b83c5e85c8700c32d1b82ef5d1216
134
py
Python
demo-python/scribe.py
ron-shaw/demo
d4a96e65259eee8883e60f65bc3164be8c23e9c6
[ "Apache-2.0" ]
null
null
null
demo-python/scribe.py
ron-shaw/demo
d4a96e65259eee8883e60f65bc3164be8c23e9c6
[ "Apache-2.0" ]
null
null
null
demo-python/scribe.py
ron-shaw/demo
d4a96e65259eee8883e60f65bc3164be8c23e9c6
[ "Apache-2.0" ]
null
null
null
import urllib.request url = r"http://www.baidu.com"; res = urllib.request.urlopen(url) html = res.read().decode('utf-8') print(html)
19.142857
33
0.701493
22
134
4.272727
0.772727
0.276596
0
0
0
0
0
0
0
0
0
0.008264
0.097015
134
6
34
22.333333
0.768595
0
0
0
0
0
0.186567
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
0
0
0
0
3
82f0ab590984671fbdf5bb72ec6fdf33fef3a68b
426
py
Python
rxbp/states/measuredstates/bufferedstates.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
24
2018-11-22T21:04:49.000Z
2021-11-08T11:18:09.000Z
rxbp/states/measuredstates/bufferedstates.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2019-02-06T15:58:46.000Z
2019-02-12T20:31:50.000Z
rxbp/states/measuredstates/bufferedstates.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2021-01-26T12:41:37.000Z
2021-01-26T12:41:37.000Z
from dataclasses import dataclass from typing import Optional from rxbp.acknowledgement.acksubject import AckSubject from rxbp.states.measuredstates.measuredstate import MeasuredState class BufferedStates: class State(MeasuredState): pass @dataclass class WaitingState(State): last_ack: O...
21.3
66
0.739437
43
426
7.302326
0.488372
0.050955
0
0
0
0
0
0
0
0
0
0
0.20892
426
20
67
21.3
0.931751
0
0
0.214286
0
0
0
0
0
0
0
0
0
1
0
true
0.214286
0.285714
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
82fbf2ca6db1e8bcd37ab8591f23cd9122bb1213
310
py
Python
onlinepayments/sdk/param_request.py
wl-online-payments-direct/sdk-python3
99fca127334520cde4ffa3a34cbea3b3a0d3fbff
[ "Apache-2.0" ]
null
null
null
onlinepayments/sdk/param_request.py
wl-online-payments-direct/sdk-python3
99fca127334520cde4ffa3a34cbea3b3a0d3fbff
[ "Apache-2.0" ]
null
null
null
onlinepayments/sdk/param_request.py
wl-online-payments-direct/sdk-python3
99fca127334520cde4ffa3a34cbea3b3a0d3fbff
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod class ParamRequest(ABC): """ Represents a set of request parameters. """ @abstractmethod def to_request_parameters(self): """ :return: list[:class:`onlinepayments.sdk.RequestParam`] representing the HTTP request parameters """
22.142857
104
0.66129
31
310
6.548387
0.741935
0.251232
0
0
0
0
0
0
0
0
0
0
0.23871
310
13
105
23.846154
0.860169
0.43871
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d2098497896b9e3d1939ef147a391ab0fcd3626d
162
py
Python
firebase_auth/models.py
dspacejs/graphene-django-firebase-auth
600bbb0f5a26da50a0fa4420a9040814e6242643
[ "MIT" ]
6
2020-03-28T14:56:32.000Z
2022-03-13T07:26:00.000Z
firebase_auth/models.py
dspacejs/graphene-django-firebase-auth
600bbb0f5a26da50a0fa4420a9040814e6242643
[ "MIT" ]
5
2020-02-11T23:24:50.000Z
2021-06-10T17:51:47.000Z
firebase_auth/models.py
dspacejs/graphene-django-firebase-auth
600bbb0f5a26da50a0fa4420a9040814e6242643
[ "MIT" ]
7
2020-05-25T19:45:13.000Z
2022-03-13T08:14:36.000Z
from django.db import models class FirebaseAuthMixin(models.Model): firebase_uid = models.CharField(max_length=40) class Meta: abstract = True
18
50
0.722222
20
162
5.75
0.85
0
0
0
0
0
0
0
0
0
0
0.015504
0.203704
162
8
51
20.25
0.875969
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d21e56ca960afbb1acd8265051aa0c9ae7d139ac
392
py
Python
test_wifimanager.py
iBobik/micropython-wifimanager
347250ab6a32749d2eb85a43cdf98f7d5f52f5a5
[ "BSD-2-Clause" ]
49
2017-09-08T21:30:44.000Z
2022-02-24T06:05:30.000Z
test_wifimanager.py
iBobik/micropython-wifimanager
347250ab6a32749d2eb85a43cdf98f7d5f52f5a5
[ "BSD-2-Clause" ]
6
2018-11-16T15:50:01.000Z
2021-06-01T04:38:02.000Z
test_wifimanager.py
iBobik/micropython-wifimanager
347250ab6a32749d2eb85a43cdf98f7d5f52f5a5
[ "BSD-2-Clause" ]
13
2017-09-09T08:59:40.000Z
2022-01-20T17:50:35.000Z
"""Unit tests for wifi_manager.py""" import functools import unittest import sys sys.modules['network'] = __import__('fake_network') # That upon which we test import wifi_manager # The tests class SchedulerTests(unittest.TestCase): def setUp(self): #if 'network' in sys.modules: # del sys.module...
18.666667
51
0.681122
51
392
5.078431
0.627451
0.11583
0.131274
0
0
0
0
0
0
0
0
0
0.216837
392
21
52
18.666667
0.843648
0.306122
0
0
0
0
0.07197
0
0
0
0
0
0.1
1
0.2
false
0.1
0.5
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
d2415c37823a701a92777fd7ff5d6392d0b3e881
934
py
Python
parser/python/nnef/parser.py
hunsteve/NNEF-Tools
cce6c9e0fef3d46655bd2dd2bd8b6ae5d6358889
[ "Apache-2.0" ]
1
2019-09-06T19:37:01.000Z
2019-09-06T19:37:01.000Z
parser/python/nnef/parser.py
Acidburn0zzz/NNEF-Tools
f9bcb3e043474d47f6a8a552abcc6d1069476072
[ "Apache-2.0" ]
null
null
null
parser/python/nnef/parser.py
Acidburn0zzz/NNEF-Tools
f9bcb3e043474d47f6a8a552abcc6d1069476072
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 The Khronos Group Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
38.916667
96
0.767666
143
934
4.909091
0.552448
0.08547
0.037037
0.045584
0.102564
0.102564
0.102564
0
0
0
0
0.010038
0.146681
934
23
97
40.608696
0.870765
0.602784
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
1
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
0
0
1
1
0
0
3
d2532ec9b8e6bf02a6aaeb49c1621ed2ad950096
31
py
Python
__init__.py
godliam/GsSeeyonDataDict
1c9542b64b1ca3568e42b5a2707b85438a68de1f
[ "Apache-2.0" ]
1
2022-02-21T09:34:19.000Z
2022-02-21T09:34:19.000Z
__init__.py
godliam/GsSeeyonDataDict
1c9542b64b1ca3568e42b5a2707b85438a68de1f
[ "Apache-2.0" ]
null
null
null
__init__.py
godliam/GsSeeyonDataDict
1c9542b64b1ca3568e42b5a2707b85438a68de1f
[ "Apache-2.0" ]
null
null
null
__all__ = ['GsSeeyonDataDict']
15.5
30
0.741935
2
31
9.5
1
0
0
0
0
0
0
0
0
0
0
0
0.096774
31
1
31
31
0.678571
0
0
0
0
0
0.516129
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
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
3
d263ccc777c6f7ce85fb7ab8081e797f50d19462
1,912
py
Python
deeppavlov/core/agent/filter.py
ineersa/DeepPavlov
8200bf9a0f0b378baad4ee0eb75b59453f516004
[ "Apache-2.0" ]
3
2020-04-16T04:25:10.000Z
2021-05-07T23:04:43.000Z
deeppavlov/core/agent/filter.py
ineersa/DeepPavlov
8200bf9a0f0b378baad4ee0eb75b59453f516004
[ "Apache-2.0" ]
12
2020-01-28T22:14:04.000Z
2022-02-10T00:10:17.000Z
deeppavlov/core/agent/filter.py
ineersa/DeepPavlov
8200bf9a0f0b378baad4ee0eb75b59453f516004
[ "Apache-2.0" ]
1
2021-02-05T13:01:48.000Z
2021-02-05T13:01:48.000Z
# Copyright 2017 Neural Networks and Deep Learning lab, MIPT # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
38.24
76
0.695607
251
1,912
5.262948
0.498008
0.04542
0.061317
0.074943
0.06056
0
0
0
0
0
0
0.005594
0.252092
1,912
49
77
39.020408
0.918182
0.762552
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
d281e016f354f30bf41f22567b26cf070cef1dd0
1,202
py
Python
plugins/sdm/lib/helper/show_roles_helper.py
strongdm/accessbot
0c8bed9e5ff7ee5515ff584b0704d87b744a56df
[ "Apache-2.0" ]
16
2021-06-17T20:09:43.000Z
2022-03-23T17:42:02.000Z
plugins/sdm/lib/helper/show_roles_helper.py
strongdm/accessbot
0c8bed9e5ff7ee5515ff584b0704d87b744a56df
[ "Apache-2.0" ]
73
2021-05-05T18:40:30.000Z
2022-03-30T04:55:39.000Z
plugins/sdm/lib/helper/show_roles_helper.py
strongdm/accessbot
0c8bed9e5ff7ee5515ff584b0704d87b744a56df
[ "Apache-2.0" ]
11
2021-07-23T17:23:14.000Z
2022-03-23T13:40:47.000Z
from .base_show_helper import BaseShowHelper from ..util import is_hidden, HiddenTagEnum class ShowRolesHelper(BaseShowHelper): def __init__(self, bot): super().__init__(bot, "roles") def get_list(self, filters = ''): roles = self._sdm_service.get_all_roles() return self.__filter_hidde...
37.5625
85
0.65807
158
1,202
4.64557
0.335443
0.047684
0.053134
0
0
0
0
0
0
0
0
0
0.233777
1,202
31
86
38.774194
0.79696
0
0
0
0
0
0.079867
0.017471
0
0
0
0
0
1
0.24
false
0
0.08
0.12
0.64
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
0
0
1
1
0
0
3
96287938f5aeeaf0a0d59684cadb1efcfaeecb5e
777
py
Python
snake/player.py
adibozzhanov/programming-tutorials-code
5ef2bee46d69a53e89f370969888a328678461a2
[ "Apache-2.0" ]
null
null
null
snake/player.py
adibozzhanov/programming-tutorials-code
5ef2bee46d69a53e89f370969888a328678461a2
[ "Apache-2.0" ]
2
2021-11-04T20:12:06.000Z
2021-11-04T20:17:22.000Z
snake/player.py
adibozzhanov/programming-tutorials-code
5ef2bee46d69a53e89f370969888a328678461a2
[ "Apache-2.0" ]
null
null
null
class Player: def __init__(self, master): self.master = master self.choice = "UP" self.master.bind("<Left>", lambda x: self.set_choice("LEFT")) self.master.bind("<a>", lambda x: self.set_choice("LEFT")) self.master.bind("<Right>", lambda x: self.set_choice("RIGHT")) ...
38.85
71
0.602317
109
777
4.165138
0.220183
0.220264
0.246696
0.246696
0.651982
0.603524
0.497797
0.497797
0.497797
0
0
0
0.213642
777
19
72
40.894737
0.743044
0
0
0
0
0
0.086229
0
0
0
0
0
0
1
0.1875
false
0
0
0.0625
0.3125
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
0
0
0
0
3
96347afe5288e6a73844b8b3ab42037f418d2d44
1,339
py
Python
example/myshop/admin/__init__.py
haitwang-cloud/django-shop
8ac767a42022d66d226c0bb342f16ac3df3ca30b
[ "BSD-3-Clause" ]
39
2015-02-21T00:45:02.000Z
2020-05-18T14:46:09.000Z
example/myshop/admin/__init__.py
haitwang-cloud/django-shop
8ac767a42022d66d226c0bb342f16ac3df3ca30b
[ "BSD-3-Clause" ]
46
2015-02-03T19:51:37.000Z
2017-03-24T23:40:14.000Z
example/myshop/admin/__init__.py
haitwang-cloud/django-shop
8ac767a42022d66d226c0bb342f16ac3df3ca30b
[ "BSD-3-Clause" ]
23
2015-04-12T09:03:41.000Z
2020-04-14T16:38:35.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.contrib import admin from shop.admin.defaults import customer from shop.admin.defaults.order import OrderAdmin from shop.models.defaults.order import Order from shop.admin.order import PrintOrderAdminMixin fro...
28.489362
84
0.762509
153
1,339
6.509804
0.294118
0.084337
0.140562
0.096386
0.230924
0
0
0
0
0
0
0.013251
0.154593
1,339
46
85
29.108696
0.866608
0.049291
0
0.068966
0
0
0.130709
0
0
0
0
0
0
1
0
false
0.068966
0.482759
0
0.551724
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
9635f99e177a8fd628c2262fd15d5c7d068f8849
686
py
Python
spug_api/apps/setting/models.py
baojd42/spug
69fbfe692bfb176e490e909aeba0be9d639776cc
[ "MIT" ]
2
2021-09-08T16:30:51.000Z
2021-11-17T10:45:34.000Z
spug_api/apps/setting/models.py
k-oul/spug
78d64840a9303bd920b8aec5878f2990c19ab6ff
[ "MIT" ]
null
null
null
spug_api/apps/setting/models.py
k-oul/spug
78d64840a9303bd920b8aec5878f2990c19ab6ff
[ "MIT" ]
1
2020-09-07T03:48:44.000Z
2020-09-07T03:48:44.000Z
from public import db from libs.model import ModelMixin class GlobalConfig(db.Model, ModelMixin): __tablename__ = 'setting_configs' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(50), unique=True) desc = db.Column(db.String(255)) value = db.Column(db.Text) def __repr...
26.384615
48
0.670554
95
686
4.631579
0.357895
0.145455
0.181818
0.145455
0.486364
0.4
0.295455
0.295455
0.295455
0.295455
0
0.018083
0.193878
686
26
49
26.384615
0.777577
0
0
0.555556
0
0
0.081514
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
963bd15e1e2f15a5c916e06969fa4dd31d15cb93
18
py
Python
word_segmentation/__init__.py
swigder/word_segmentation
602e6605591254c9776e52b657ad428053249f79
[ "MIT" ]
1
2022-01-10T03:15:51.000Z
2022-01-10T03:15:51.000Z
word_segmentation/__init__.py
swigder/word_segmentation
602e6605591254c9776e52b657ad428053249f79
[ "MIT" ]
null
null
null
word_segmentation/__init__.py
swigder/word_segmentation
602e6605591254c9776e52b657ad428053249f79
[ "MIT" ]
null
null
null
__author__ = 'xx'
9
17
0.666667
2
18
4
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
18
1
18
18
0.533333
0
0
0
0
0
0.111111
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
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
3
96437c78f4b8f8ceb782b7f33b02fa958c24de0d
240
py
Python
TwinCons/setup.py
LDWLab/DESIRE
fda3e10c6fdfe5ce47c151d506239dbc9f65f2f0
[ "MIT" ]
null
null
null
TwinCons/setup.py
LDWLab/DESIRE
fda3e10c6fdfe5ce47c151d506239dbc9f65f2f0
[ "MIT" ]
null
null
null
TwinCons/setup.py
LDWLab/DESIRE
fda3e10c6fdfe5ce47c151d506239dbc9f65f2f0
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='TwinCons', version='0.1dev', packages=['single_cons_comp',], license='Creative Commons Attribution-Noncommercial-Share Alike license', long_description=open('README.txt').read(), )
26.666667
75
0.7375
29
240
6
0.931034
0
0
0
0
0
0
0
0
0
0
0.009434
0.116667
240
9
76
26.666667
0.811321
0
0
0
0
0
0.437768
0.133047
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
0
0
0
0
0
3
9669c2b7c3062d863b01e77df0e5197a36501ea0
1,657
py
Python
tests/test_cli_scripts.py
rako77/xbox-smartglass-core-python
e01a5413c788bbbbd62a631b170a789fe19d77dc
[ "MIT" ]
66
2018-05-05T01:41:32.000Z
2022-03-07T05:34:04.000Z
tests/test_cli_scripts.py
rako77/xbox-smartglass-core-python
e01a5413c788bbbbd62a631b170a789fe19d77dc
[ "MIT" ]
47
2018-05-06T17:33:13.000Z
2021-08-21T17:25:25.000Z
tests/test_cli_scripts.py
rako77/xbox-smartglass-core-python
e01a5413c788bbbbd62a631b170a789fe19d77dc
[ "MIT" ]
19
2018-06-12T23:20:35.000Z
2021-06-17T15:00:03.000Z
import pytest @pytest.mark.script_launch_mode('subprocess') def test_cli_rest_server(script_runner): """ Needs to be done in subprocess due to monkey-patching """ ret = script_runner.run('xbox-rest-server', '--help') assert ret.success def test_cli_maincli(script_runner): ret = script_runner...
23.338028
58
0.707906
229
1,657
4.882096
0.179039
0.27907
0.116279
0.209302
0.706619
0.686941
0.686941
0
0
0
0
0.000716
0.15691
1,657
70
59
23.671429
0.799571
0.031986
0
0.317073
0
0
0.156171
0
0
0
0
0
0.317073
1
0.317073
false
0
0.02439
0
0.341463
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
0
0
0
0
3
9671e65bc9fe5257d417834ecd0f8f2d7a1fe1a9
655
py
Python
savu/plugins/simulation/tomo_phantom_quantification_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
39
2015-03-30T14:03:42.000Z
2022-03-16T16:50:33.000Z
savu/plugins/simulation/tomo_phantom_quantification_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
670
2015-02-11T11:08:09.000Z
2022-03-21T09:27:57.000Z
savu/plugins/simulation/tomo_phantom_quantification_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
54
2015-02-13T14:09:52.000Z
2022-01-24T13:57:09.000Z
from savu.plugins.plugin_tools import PluginTools class TomoPhantomQuantificationTools(PluginTools): """A plugin to calculate some standard image quality metrics """ def define_parameters(self): """ pattern: visibility: intermediate dtype: str option...
28.478261
64
0.59084
57
655
6.701754
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.332824
655
22
65
29.772727
0.874142
0.601527
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
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
0
1
0
1
0
0
3
96721b4a080dfb7643af8cf220da6c7dc5659bba
672
py
Python
b_lambda_layer_common/exceptions/container/forbidden_error.py
gkazla/B.LambdaLayerCommon
1a4f9cd3d8b7e447c8467bd7dde50cb9e9a6e980
[ "Apache-2.0" ]
2
2020-09-07T11:39:33.000Z
2021-10-05T08:34:07.000Z
b_lambda_layer_common/exceptions/container/forbidden_error.py
gkazla/B.LambdaLayerCommon
1a4f9cd3d8b7e447c8467bd7dde50cb9e9a6e980
[ "Apache-2.0" ]
3
2020-09-04T08:49:10.000Z
2020-12-17T14:40:49.000Z
b_lambda_layer_common/exceptions/container/forbidden_error.py
gkazla/B.LambdaLayerCommon
1a4f9cd3d8b7e447c8467bd7dde50cb9e9a6e980
[ "Apache-2.0" ]
5
2020-08-31T10:51:51.000Z
2021-11-05T09:07:47.000Z
from typing import Optional from b_lambda_layer_common.exceptions.http_exception import HttpException class ForbiddenError(HttpException): def __init__(self, message: Optional[str] = None): super().__init__(message) @staticmethod def http_code() -> int: return 403 @staticmethod ...
28
117
0.674107
79
672
5.556962
0.683544
0.102506
0
0
0
0
0
0
0
0
0
0.005988
0.254464
672
23
118
29.217391
0.870259
0
0
0.176471
0
0
0.302083
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0.176471
0.588235
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
0
0
1
1
0
0
3
9693dffd4dc2b79441ff94ec0b110c430f1fa4ff
253
py
Python
core/utils/sys/report.py
vsilent/smarty-bot
963cba05433be14494ba339343c9903ccab3c37d
[ "MIT" ]
1
2016-10-08T09:01:05.000Z
2016-10-08T09:01:05.000Z
core/utils/sys/report.py
vsilent/smarty-bot
963cba05433be14494ba339343c9903ccab3c37d
[ "MIT" ]
1
2019-09-24T09:56:52.000Z
2019-09-24T09:56:52.000Z
core/utils/sys/report.py
vsilent/smarty-bot
963cba05433be14494ba339343c9903ccab3c37d
[ "MIT" ]
null
null
null
from core.config.settings import MY_ACCOUNTS, PEOPLE from core.utils.network.email import send def report_bug(message): """docstring for report""" send(MY_ACCOUNTS['gmail']['email'], PEOPLE['admin']['email'], 'Smarty-bot bug report', message)
31.625
99
0.727273
35
253
5.171429
0.628571
0.088398
0
0
0
0
0
0
0
0
0
0
0.118577
253
7
100
36.142857
0.811659
0.079051
0
0
0
0
0.180617
0
0
0
0
0
0
1
0.25
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
96a434a22d97dc6f55f6526a2f28427854ee44ef
1,063
py
Python
chargebee_v2/models/virtual_bank_account.py
armisael/chargebee-python
df01e80c8ed7ac8ed37ad985ce5a5682cba64c30
[ "MIT" ]
null
null
null
chargebee_v2/models/virtual_bank_account.py
armisael/chargebee-python
df01e80c8ed7ac8ed37ad985ce5a5682cba64c30
[ "MIT" ]
null
null
null
chargebee_v2/models/virtual_bank_account.py
armisael/chargebee-python
df01e80c8ed7ac8ed37ad985ce5a5682cba64c30
[ "MIT" ]
null
null
null
import json from chargebee_v2.model import Model from chargebee_v2 import request from chargebee_v2 import APIError class VirtualBankAccount(Model): fields = ["id", "customer_id", "email", "bank_name", "account_number", "routing_number", \ "swift_code", "gateway", "gateway_account_id", "reference_id", "delete...
39.37037
131
0.73095
136
1,063
5.485294
0.323529
0.060322
0.075067
0.096515
0.571046
0.521448
0.442359
0.296247
0.296247
0.209115
0
0.003297
0.143932
1,063
26
132
40.884615
0.816484
0
0
0.210526
0
0
0.221072
0.105362
0
0
0
0
0
1
0.210526
false
0
0.210526
0.210526
0.736842
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
0
0
1
1
0
0
3
96b2a1db82ed8ac58bc9ea0cbbe210a278cfdbe0
865
py
Python
python/structures/collections.py
xanderyzwich/Playground
3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a
[ "Apache-2.0" ]
1
2021-08-19T13:40:26.000Z
2021-08-19T13:40:26.000Z
python/structures/collections.py
xanderyzwich/Playground
3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a
[ "Apache-2.0" ]
null
null
null
python/structures/collections.py
xanderyzwich/Playground
3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a
[ "Apache-2.0" ]
1
2021-03-31T12:37:14.000Z
2021-03-31T12:37:14.000Z
""" Collection Type Data Structures """ from unittest import TestCase class Stack: def __init__(self): self.data = [] @property def count(self): return len(self.data) def is_empty(self): return 0 == self.count def push(self, element): self.dat...
16.960784
34
0.534104
104
865
4.346154
0.298077
0.19469
0.059735
0.066372
0.548673
0.548673
0.548673
0.393805
0.393805
0.393805
0
0.01259
0.357225
865
50
35
17.3
0.80036
0.035838
0
0.516129
0
0
0
0
0
0
0
0
0
1
0.387097
false
0
0.032258
0.193548
0.709677
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
0
0
1
1
0
0
3
96bc125984e3dbac79925ff4d1b3d42f6baf6893
1,090
py
Python
plugin/test_frameworks/ruby/__init__.py
timfjord/AnyTest
2d7cb530126a9b71db1ceb2a377db313782c053c
[ "MIT" ]
null
null
null
plugin/test_frameworks/ruby/__init__.py
timfjord/AnyTest
2d7cb530126a9b71db1ceb2a377db313782c053c
[ "MIT" ]
null
null
null
plugin/test_frameworks/ruby/__init__.py
timfjord/AnyTest
2d7cb530126a9b71db1ceb2a377db313782c053c
[ "MIT" ]
null
null
null
from functools import lru_cache from .. import TestFramework as BaseTestFramework class TestFramework(BaseTestFramework): language = 'ruby' test_patterns = ( (r'^\s*def\s+(test_\w+)', 'test'), (r'^\s*test\s*[\( ]\s*(?:\"|\')(.*)(?:"|\')', 'rails'), (r'^\s*it\s*[\( ]\s*(?:"|\')(.*)(?:"...
27.948718
77
0.541284
124
1,090
4.66129
0.346774
0.020761
0.077855
0.098616
0.17474
0.17474
0.044983
0
0
0
0
0
0.215596
1,090
38
78
28.684211
0.676023
0
0
0.103448
0
0
0.213761
0.025688
0
0
0
0
0
1
0.206897
false
0
0.068966
0.172414
0.586207
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
0
0
1
1
0
0
3
736e498ca755a109a9f08b88ab2adb98b74b7e24
77
py
Python
orbit/__init__.py
wiredlab/orbit
c8a7cee54ae15548aa7c7ed8f6702acb2aaa18ec
[ "MIT" ]
8
2016-01-27T22:29:07.000Z
2019-06-05T13:16:13.000Z
orbit/__init__.py
wiredlab/orbit
c8a7cee54ae15548aa7c7ed8f6702acb2aaa18ec
[ "MIT" ]
1
2018-08-24T11:31:06.000Z
2018-08-24T11:31:06.000Z
orbit/__init__.py
wiredlab/orbit
c8a7cee54ae15548aa7c7ed8f6702acb2aaa18ec
[ "MIT" ]
5
2015-06-12T00:45:58.000Z
2022-02-14T17:33:43.000Z
__all__ = ["satellite", "tle", "utilities"] from .satellite import satellite
25.666667
43
0.727273
8
77
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.116883
77
3
44
25.666667
0.764706
0
0
0
0
0
0.269231
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
737cb1c394c068a3b45052860e1452a90d038555
446
py
Python
Plus one.py
HalShaw/Leetcode
27c52aac5a8ecc5b5f02e54096a001920661b4bb
[ "MIT" ]
1
2016-12-22T04:09:25.000Z
2016-12-22T04:09:25.000Z
Plus one.py
HalShaw/Leetcode
27c52aac5a8ecc5b5f02e54096a001920661b4bb
[ "MIT" ]
null
null
null
Plus one.py
HalShaw/Leetcode
27c52aac5a8ecc5b5f02e54096a001920661b4bb
[ "MIT" ]
null
null
null
class Solution(object): def int2str(self,num): return str(num) def str2int(self,st): return int(st) def plusOne(self, digits): """ :type digits: List[int] :rtype: List[int] """ digits=map(self.int2str,digits)#整数列表转为字符串列表 nums=str(int...
29.733333
52
0.56278
54
446
4.648148
0.518519
0.055777
0
0
0
0
0
0
0
0
0
0.019293
0.302691
446
14
53
31.857143
0.787781
0.186099
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0.2
0.7
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
0
0
1
1
0
0
3
7398e33fa306121ea394dac32eb026d238f45121
221
py
Python
venv/lib/python3.6/site-packages/ansible/cli/arguments/__init__.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
17
2017-06-07T23:15:01.000Z
2021-08-30T14:32:36.000Z
ansible/ansible/cli/arguments/__init__.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
ansible/ansible/cli/arguments/__init__.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
3
2018-05-26T21:31:22.000Z
2019-09-28T17:00:45.000Z
# Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type
36.833333
92
0.769231
33
221
4.848485
0.909091
0
0
0
0
0
0
0
0
0
0
0.041026
0.117647
221
5
93
44.2
0.779487
0.574661
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
73adb86e2750c1c8186fa98b39cc3570595bf048
320
py
Python
beginning-game-development/Chapter 8/8-2.py
CrtomirJuren/pygame-projects
f710f36050bfe3ece866bbda7d570caa1e037d7a
[ "MIT" ]
43
2015-09-20T02:05:48.000Z
2022-03-01T22:00:43.000Z
beginning-game-development/Chapter 8/8-2.py
CrtomirJuren/pygame-projects
f710f36050bfe3ece866bbda7d570caa1e037d7a
[ "MIT" ]
null
null
null
beginning-game-development/Chapter 8/8-2.py
CrtomirJuren/pygame-projects
f710f36050bfe3ece866bbda7d570caa1e037d7a
[ "MIT" ]
40
2015-05-19T06:51:13.000Z
2022-03-27T18:11:16.000Z
from math import sqrt class Vector3(object): def init (self, x, y, z): self.x = x self.y = y self.z = z def add (self, x, y, z): return Vector3(self.x + x, self.y + y, self.z + z) def get_magnitude(self): return sqrt(self.x ** 2 + self.y ** 2 + self.z ** 2)
17.777778
60
0.5
54
320
2.944444
0.333333
0.157233
0.075472
0.08805
0.264151
0.264151
0.264151
0.264151
0.264151
0.264151
0
0.024155
0.353125
320
17
61
18.823529
0.743961
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
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
0
0
1
1
0
0
3
73c89aeb8ed03362a80400174105efb1557e3a42
317
py
Python
parameters/itemsParams.py
cendrars59/OPC-DA-PY-P3
146ef0ec0f114b4deea9373d2fc2befe9a82ceb7
[ "MIT" ]
null
null
null
parameters/itemsParams.py
cendrars59/OPC-DA-PY-P3
146ef0ec0f114b4deea9373d2fc2befe9a82ceb7
[ "MIT" ]
null
null
null
parameters/itemsParams.py
cendrars59/OPC-DA-PY-P3
146ef0ec0f114b4deea9373d2fc2befe9a82ceb7
[ "MIT" ]
null
null
null
items = { 'ether': { 'name': 'ether', 'icon': 'Resources//pictures//ether.png' }, 'aiguille': { 'name': 'aiguille', 'icon': 'Resources//pictures//aiguille.png', }, 'tube': { 'name': 'tube', 'icon': 'Resources//pictures//tube.png' } }
12.192308
52
0.44164
25
317
5.6
0.36
0.278571
0.45
0
0
0
0
0
0
0
0
0
0.340694
317
25
53
12.68
0.669856
0
0
0
0
0
0.479233
0.29393
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
0
0
0
0
0
0
0
0
3
73c8fe018f2b62d8197bc17af54ad2b9c97fbfae
5,543
py
Python
.venv/Lib/site-packages/lemoncheesecake/matching/matchers/string.py
yadavdeepa365/HUDL_PYTHON
e1d5d264e3748f0add18258496f5a850e16b7ee6
[ "MIT" ]
34
2017-06-12T18:50:36.000Z
2021-11-29T01:59:07.000Z
.venv/Lib/site-packages/lemoncheesecake/matching/matchers/string.py
yadavdeepa365/HUDL_PYTHON
e1d5d264e3748f0add18258496f5a850e16b7ee6
[ "MIT" ]
25
2017-12-07T13:35:29.000Z
2022-03-10T01:27:58.000Z
.venv/Lib/site-packages/lemoncheesecake/matching/matchers/string.py
yadavdeepa365/HUDL_PYTHON
e1d5d264e3748f0add18258496f5a850e16b7ee6
[ "MIT" ]
4
2019-05-05T03:19:00.000Z
2021-10-06T13:12:05.000Z
''' Created on Apr 4, 2017 @author: nicolas ''' import re import difflib import json from typing import Any, Pattern, Union, Callable from lemoncheesecake.helpers.text import jsonify, STRING_TYPES from lemoncheesecake.matching.matcher import Matcher, MatchResult _REGEXP_TYPE = type(re.compile(r"dummy")) def _is_...
29.484043
108
0.648385
646
5,543
5.441176
0.205882
0.092176
0.023898
0.030725
0.438122
0.36643
0.36643
0.348222
0.320341
0.320341
0
0.002392
0.245715
5,543
187
109
29.641711
0.838316
0.149378
0
0.327434
0
0
0.056909
0.004527
0
0
0
0
0.00885
1
0.256637
false
0
0.053097
0.106195
0.60177
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
0
0
1
1
0
0
3
73db2d5adaeeabbe3cf3f223c19a58beb13cac5b
57
py
Python
src/app/service/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
9
2020-04-05T07:35:55.000Z
2021-08-03T05:50:05.000Z
src/app/service/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
89
2020-01-26T11:50:06.000Z
2022-03-31T07:14:18.000Z
src/app/service/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
13
2020-03-10T14:45:07.000Z
2021-07-31T02:43:40.000Z
default_app_config = "app.service.apps.ServiceAppConfig"
28.5
56
0.842105
7
57
6.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.052632
57
1
57
57
0.851852
0
0
0
0
0
0.578947
0.578947
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
73dbdd328a45f35d4809805214df5125e42de667
458
py
Python
app/utils/db.py
dlchamp/Disnake-TicketBot
fd46bfcae2c7c834fbba34afb15fa0ffa473c7e4
[ "MIT" ]
5
2022-02-13T09:54:16.000Z
2022-02-17T22:16:08.000Z
app/utils/db.py
dlchamp/Disnake-TicketBot
fd46bfcae2c7c834fbba34afb15fa0ffa473c7e4
[ "MIT" ]
null
null
null
app/utils/db.py
dlchamp/Disnake-TicketBot
fd46bfcae2c7c834fbba34afb15fa0ffa473c7e4
[ "MIT" ]
2
2022-02-13T08:55:21.000Z
2022-02-16T01:24:49.000Z
import json """ get_ticket_data function opens tickets.json and returns the json object update_ticket_data function updates the json object and write the new object to the json file Params: ticket_data - the updated json object """ def get_ticket_data(): with open("./db/tickets.json") as f: return json...
19.913043
65
0.718341
74
458
4.297297
0.432432
0.220126
0.081761
0.113208
0.194969
0.194969
0.194969
0
0
0
0
0.002674
0.183406
458
22
66
20.818182
0.847594
0
0
0
0
0
0.147679
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
73e137817ca4659bcbd4bbffd50b7282cb1201fc
359
py
Python
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test78.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
450
2015-09-05T09:12:51.000Z
2018-08-30T01:45:36.000Z
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test78.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
1,274
2015-09-22T20:06:16.000Z
2018-08-31T22:14:00.000Z
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test78.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
278
2015-09-21T19:15:06.000Z
2018-08-31T00:36:51.000Z
'test using input()' import readline # should not generate a warning since input/raw_input() is used def f1(): x = input() print x def f2(): x = raw_input() print x def f3(): 'should not generate a warning, since this is not the real input' __pychecker__ = 'no-shadowbuiltin' def input():...
17.95
79
0.632312
54
359
4.092593
0.518519
0.135747
0.149321
0.162896
0.271493
0.271493
0
0
0
0
0
0.015209
0.267409
359
19
80
18.894737
0.825095
0.169916
0
0.357143
1
0
0.327703
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.214286
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
3
73f3d671151555f29f012a602f6e71e67b81ca9f
287
py
Python
src/genie/libs/parser/iosxe/tests/ShowRunInterface/cli/equal/golden_output_5_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowRunInterface/cli/equal/golden_output_5_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowRunInterface/cli/equal/golden_output_5_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
expected_output = { "interfaces": { "Loopback1": { "ipv4": {"192.168.111.2": {"ip": "192.168.111.2", "netmask": "255.255.255.0","primary": True}}, "ipv6": ["2001:db8:4:1::1/64", "2001:db8:400:1::2/112"], "vrf": "VRF1", }, }, }
28.7
107
0.439024
36
287
3.472222
0.694444
0.096
0.144
0.16
0
0
0
0
0
0
0
0.278049
0.285714
287
9
108
31.888889
0.331707
0
0
0
0
0
0.445993
0.073171
0
0
0
0
0
1
0
false
0
0
0
0
0
0
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
0
0
0
0
0
0
0
0
0
3
73f7c0570ac06000b63d5290b6f753475473661c
102
py
Python
src/Finalreview/circle.py
acc-cosc-1336/cosc-1336-spring-2018-Aronpond
b37a6be8c0b909859ccf5ac2ce5eaf82c4ba741b
[ "MIT" ]
null
null
null
src/Finalreview/circle.py
acc-cosc-1336/cosc-1336-spring-2018-Aronpond
b37a6be8c0b909859ccf5ac2ce5eaf82c4ba741b
[ "MIT" ]
null
null
null
src/Finalreview/circle.py
acc-cosc-1336/cosc-1336-spring-2018-Aronpond
b37a6be8c0b909859ccf5ac2ce5eaf82c4ba741b
[ "MIT" ]
null
null
null
from shape import Shape class Circle(Shape): def draw(self): print('Draw circle')
14.571429
29
0.607843
13
102
4.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.294118
102
6
30
17
0.861111
0
0
0
0
0
0.114583
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0.25
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
0
0
0
0
3
fb58a9d4f77bbfc8cab0d3ee7b1b362350fe9e83
216
py
Python
test/solution_tests/SUM/test_sum.py
DPNT-Sourcecode/CHK-fcde01
2971bcd38cbf9d84f83e17a5ab8f74fb7d76181e
[ "Apache-2.0" ]
null
null
null
test/solution_tests/SUM/test_sum.py
DPNT-Sourcecode/CHK-fcde01
2971bcd38cbf9d84f83e17a5ab8f74fb7d76181e
[ "Apache-2.0" ]
null
null
null
test/solution_tests/SUM/test_sum.py
DPNT-Sourcecode/CHK-fcde01
2971bcd38cbf9d84f83e17a5ab8f74fb7d76181e
[ "Apache-2.0" ]
null
null
null
from solutions.SUM import sum_solution class TestSum: def test_sum_12(self): assert sum_solution.compute(1, 2) == 3 def test_sum_100100(self): assert sum_solution.compute(100, 100) == 200
19.636364
52
0.685185
32
216
4.40625
0.59375
0.234043
0.141844
0.297872
0.397163
0
0
0
0
0
0
0.119048
0.222222
216
10
53
21.6
0.720238
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0.166667
0
0.666667
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
0
0
0
0
3
fb6f39219e9296634a55a07ec69742a4348452e2
332
py
Python
bot/models/Analyzers/PyFolio.py
estebanthi/BinanceTradingBotV4
93ccac86db9bc8612248bf5cd1bc9e359749e383
[ "MIT" ]
4
2021-11-22T13:59:11.000Z
2022-02-10T08:27:25.000Z
bot/models/Analyzers/PyFolio.py
estebanthi/BinanceTradingBotV4
93ccac86db9bc8612248bf5cd1bc9e359749e383
[ "MIT" ]
null
null
null
bot/models/Analyzers/PyFolio.py
estebanthi/BinanceTradingBotV4
93ccac86db9bc8612248bf5cd1bc9e359749e383
[ "MIT" ]
3
2021-11-15T18:49:20.000Z
2022-02-06T19:46:29.000Z
from dataclasses import dataclass import backtrader as bt from dataclasses import field @dataclass class PyFolio: """ PyFolio analyzer from backtrader Default name is "py_folio" """ analyzer: bt.analyzers.PyFolio = bt.analyzers.PyFolio parameters: dict = field(default_factory=lambda:{'_name':...
23.714286
73
0.73494
40
332
6
0.525
0.125
0.175
0
0
0
0
0
0
0
0
0
0.177711
332
14
73
23.714286
0.879121
0.177711
0
0
0
0
0.051383
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
fb77611e19e146004d085b8317aae264034156db
5,011
py
Python
core/prioritize.py
astrofrog/dupeguru
d0a3f081dab21ea3d2fc69830c9e71a18078c150
[ "BSD-3-Clause" ]
1
2017-01-03T05:50:39.000Z
2017-01-03T05:50:39.000Z
core/prioritize.py
astrofrog/dupeguru
d0a3f081dab21ea3d2fc69830c9e71a18078c150
[ "BSD-3-Clause" ]
null
null
null
core/prioritize.py
astrofrog/dupeguru
d0a3f081dab21ea3d2fc69830c9e71a18078c150
[ "BSD-3-Clause" ]
null
null
null
# Created By: Virgil Dupras # Created On: 2011/09/07 # Copyright 2013 Hardcoded Software (http://www.hardcoded.net) # # This software is licensed under the "BSD" License as described in the "LICENSE" file, # which should be included with this package. The terms are also available at # http://www.hardcoded.net/licens...
30.742331
99
0.634005
615
5,011
5.00813
0.229268
0.067208
0.029221
0.037013
0.337662
0.299026
0.266558
0.171104
0.121104
0.089286
0
0.00854
0.275594
5,011
162
100
30.932099
0.839945
0.114548
0
0.330435
0
0
0.031653
0
0
0
0
0
0
1
0.226087
false
0
0.017391
0.130435
0.643478
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
0
0
1
1
0
0
3
fb83ee383dfe3b3d96e3011630402c6c1f68a6eb
11,579
py
Python
pysnmp/Nortel-Magellan-Passport-TraceBaseMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Nortel-Magellan-Passport-TraceBaseMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Nortel-Magellan-Passport-TraceBaseMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Nortel-Magellan-Passport-TraceBaseMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-TraceBaseMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:17:35 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 #...
134.639535
1,775
0.760169
1,298
11,579
6.781202
0.142527
0.017042
0.014315
0.018178
0.422858
0.356169
0.330493
0.330493
0.322881
0.267666
0
0.089015
0.088004
11,579
85
1,776
136.223529
0.744508
0.031782
0
0
0
0
0.157472
0.049723
0
0
0
0
0
1
0
false
0.102564
0.115385
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
fbd0baaee63216811bf2a415372694f65338b1bb
2,507
py
Python
construct/edf.py
burakcan/edf-parser
e9ec3d43597000df030b3ec251241b6797200b61
[ "MIT" ]
2
2022-02-11T13:47:58.000Z
2022-02-11T13:49:51.000Z
construct/edf.py
burakcan/edf-parser
e9ec3d43597000df030b3ec251241b6797200b61
[ "MIT" ]
null
null
null
construct/edf.py
burakcan/edf-parser
e9ec3d43597000df030b3ec251241b6797200b61
[ "MIT" ]
null
null
null
from construct import * from construct.lib import * edf__header = Struct( 'version' / FixedSized(8, NullStripped(GreedyString(encoding='ASCII'), pad=b'\x20')), 'patient_id' / FixedSized(80, GreedyString(encoding='ASCII')), 'recording_id' / FixedSized(80, GreedyString(encoding='ASCII')), 'start_date' / FixedSized(8...
53.340426
112
0.728361
315
2,507
5.628571
0.187302
0.225606
0.282008
0.313029
0.637338
0.596729
0.521151
0.446701
0.44106
0.316977
0
0.025585
0.080176
2,507
46
113
54.5
0.743278
0
0
0
0
0
0.165935
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
0
0
0
0
3
8391d8c1a3350250ee1a53c13419e34f7195ee9e
138
py
Python
fakebotdetector/signals.py
cpkthompson/django-fake-bot-detector
5b04bbd7eb20ba5a15de8e661c78fd86af9c988f
[ "Apache-2.0" ]
5
2019-05-07T07:41:45.000Z
2021-06-08T13:30:17.000Z
fakebotdetector/signals.py
cpkthompson/django-fake-bot-detector
5b04bbd7eb20ba5a15de8e661c78fd86af9c988f
[ "Apache-2.0" ]
7
2020-06-12T17:27:54.000Z
2022-02-10T11:06:30.000Z
fakebotdetector/signals.py
cpkthompson/django-fake-bot-detector
5b04bbd7eb20ba5a15de8e661c78fd86af9c988f
[ "Apache-2.0" ]
1
2021-04-28T09:23:58.000Z
2021-04-28T09:23:58.000Z
from django import dispatch fake_bot_hit = dispatch.Signal(providing_args=["bot_ip", "bot_useragent", "fqdn_expected", "fqdn_received"])
34.5
108
0.789855
19
138
5.368421
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.07971
138
3
109
46
0.80315
0
0
0
0
0
0.326087
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
83921acdc8b1e118548a8fa3ced88618c85fe4da
258
py
Python
actions/get_folder.py
HSRNetwork/stackstorm-msexchange
577ce37490d224089a6c4dd7642400808477827a
[ "Apache-2.0" ]
5
2017-11-23T20:48:19.000Z
2020-03-02T08:48:10.000Z
actions/get_folder.py
HSRNetwork/stackstorm-msexchange
577ce37490d224089a6c4dd7642400808477827a
[ "Apache-2.0" ]
10
2018-02-21T19:57:34.000Z
2022-03-07T20:49:40.000Z
actions/get_folder.py
HSRNetwork/stackstorm-msexchange
577ce37490d224089a6c4dd7642400808477827a
[ "Apache-2.0" ]
13
2017-06-21T02:25:27.000Z
2022-03-07T20:17:56.000Z
from base.action import BaseExchangeAction from base import folder_to_dict class GetFolderAction(BaseExchangeAction): def run(self, folder_name): result = self.account.root.get_folder_by_name(folder_name) return folder_to_dict(result)
25.8
66
0.77907
34
258
5.647059
0.588235
0.083333
0.125
0
0
0
0
0
0
0
0
0
0.158915
258
9
67
28.666667
0.884793
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8397cdbb2dbd86c25f258ea8f320a4426fef116d
248
py
Python
main.py
Ciremun/CiremunDiscordBot
322ed780ca1789aa26ea3fe62a539aab52f39238
[ "MIT" ]
6
2021-02-06T23:56:39.000Z
2021-06-24T04:12:39.000Z
main.py
Ciremun/CiremunDiscordBot
322ed780ca1789aa26ea3fe62a539aab52f39238
[ "MIT" ]
7
2021-02-02T13:41:13.000Z
2021-09-29T16:37:31.000Z
main.py
Ciremun/CiremunDiscordBot
322ed780ca1789aa26ea3fe62a539aab52f39238
[ "MIT" ]
null
null
null
if __name__ == '__main__': from src.config import cfg, keys if cfg['notify']: import src.server from src.client import client from src.log import logger logger.info('run bot') client.run(keys['DISCORD_TOKEN'])
31
37
0.641129
34
248
4.411765
0.558824
0.14
0
0
0
0
0
0
0
0
0
0
0.25
248
8
38
31
0.806452
0
0
0
0
0
0.140496
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
83b04fc4fd0e5f95502da84f751f91159aed7090
126
py
Python
test.py
hillwang0411/dl_plugin
f1e9b1d696477224bad87e98b9ff49b53435edf8
[ "Apache-2.0" ]
1
2022-03-04T06:33:33.000Z
2022-03-04T06:33:33.000Z
test.py
hillwang0411/dl_plugin
f1e9b1d696477224bad87e98b9ff49b53435edf8
[ "Apache-2.0" ]
null
null
null
test.py
hillwang0411/dl_plugin
f1e9b1d696477224bad87e98b9ff49b53435edf8
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf with tf.device("/DLGPU:0"): a = tf.constant(0) b = tf.constant(1) c = a + b print(c)
15.75
27
0.563492
22
126
3.227273
0.636364
0.28169
0
0
0
0
0
0
0
0
0
0.032967
0.277778
126
7
28
18
0.747253
0
0
0
0
0
0.063492
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
0
0
0
0
3
83c0de536a490161512938f8a00bcaabd315de36
127
py
Python
pygbm/__init__.py
Laurae2/pygbm
69e96fb76e62024df96f2b71ad7f0b5b669e9017
[ "MIT" ]
null
null
null
pygbm/__init__.py
Laurae2/pygbm
69e96fb76e62024df96f2b71ad7f0b5b669e9017
[ "MIT" ]
null
null
null
pygbm/__init__.py
Laurae2/pygbm
69e96fb76e62024df96f2b71ad7f0b5b669e9017
[ "MIT" ]
null
null
null
from pygbm.gradient_boosting import GradientBoostingMachine __version__ = '0.1.0.dev0' __all__ = ['GradientBoostingMachine']
21.166667
59
0.811024
13
127
7.230769
0.846154
0
0
0
0
0
0
0
0
0
0
0.034783
0.094488
127
5
60
25.4
0.782609
0
0
0
0
0
0.259843
0.181102
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
83c4a74c8111ec32a669cfe97e38a250ce03b25b
3,227
py
Python
one_wire.py
hurasum/esp32_python
59302ea48c3e1e0190fed09f78bb18d5f49b9c71
[ "Unlicense" ]
null
null
null
one_wire.py
hurasum/esp32_python
59302ea48c3e1e0190fed09f78bb18d5f49b9c71
[ "Unlicense" ]
1
2021-12-14T09:34:25.000Z
2021-12-20T13:41:03.000Z
one_wire.py
hurasum/esp32_python
59302ea48c3e1e0190fed09f78bb18d5f49b9c71
[ "Unlicense" ]
null
null
null
""" One Wire typing class This class includes full support for Onewire devices using the ESP32 RMT peripheral to achieve very precise timing 1-Wire is a device communications bus system designed by Dallas Semiconductor Corp. that provides low-speed data, signaling, and power over a single conductor. 1-Wire is similar...
28.307018
284
0.632166
458
3,227
4.445415
0.434498
0.034381
0.023576
0.020629
0.053045
0.04224
0
0
0
0
0
0.053995
0.294081
3,227
113
285
28.557522
0.839772
0.746824
0
0.473684
0
0
0
0
0
0
0
0
0
1
0.473684
false
0.473684
0
0
0.526316
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
0
0
1
0
0
3
83c8ac213883043f0797f966235f15699f1e4749
371
py
Python
api/tacticalrmm/software/serializers.py
jeffreyvh/tacticalrmm
dcfb1732954c2c165e82e6b24686e27f9f909eb3
[ "MIT" ]
1
2021-01-19T20:39:02.000Z
2021-01-19T20:39:02.000Z
api/tacticalrmm/software/serializers.py
jeffreyvh/tacticalrmm
dcfb1732954c2c165e82e6b24686e27f9f909eb3
[ "MIT" ]
5
2021-04-08T19:44:31.000Z
2021-09-22T19:34:33.000Z
api/tacticalrmm/software/serializers.py
jeffreyvh/tacticalrmm
dcfb1732954c2c165e82e6b24686e27f9f909eb3
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import ChocoSoftware, InstalledSoftware class ChocoSoftwareSerializer(serializers.ModelSerializer): class Meta: model = ChocoSoftware fields = "__all__" class InstalledSoftwareSerializer(serializers.ModelSerializer): class Meta: mo...
23.1875
63
0.746631
30
371
8.933333
0.533333
0.19403
0.231343
0.261194
0.298507
0
0
0
0
0
0
0
0.199461
371
15
64
24.733333
0.902357
0
0
0.4
0
0
0.037736
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
0
0
0
0
1
0
0
3
83f474911ed44823ef5977fa04ff7dee6e9ecdd3
1,560
py
Python
bot/helper/mirror_utils/status_utils/gdownload_status.py
snaymyo/Bbot
e1706551d68c3c74315c30c5317c78e5c5bf0b17
[ "MIT" ]
null
null
null
bot/helper/mirror_utils/status_utils/gdownload_status.py
snaymyo/Bbot
e1706551d68c3c74315c30c5317c78e5c5bf0b17
[ "MIT" ]
null
null
null
bot/helper/mirror_utils/status_utils/gdownload_status.py
snaymyo/Bbot
e1706551d68c3c74315c30c5317c78e5c5bf0b17
[ "MIT" ]
null
null
null
from .status import Status from bot.helper.ext_utils.bot_utils import MirrorStatus, get_readable_file_size, get_readable_time from bot import DOWNLOAD_DIR class DownloadStatus(Status): def __init__(self, obj, size, listener, gid): self.dobj = obj self.__dsize = size self.uid = listener.uid...
25.16129
98
0.625
191
1,560
4.863874
0.272251
0.107643
0.07535
0.061356
0.145318
0
0
0
0
0
0
0.004444
0.278846
1,560
61
99
25.57377
0.821333
0.025641
0
0.093023
0
0
0.08623
0.082219
0
0
0
0
0
1
0.325581
false
0
0.069767
0.232558
0.767442
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
0
0
1
1
0
0
3
86015c722b3a10b04af3e26cdffac9a7e40066c3
950
py
Python
multi_harvest_zoo/multi_harvest_world/abstract_classes.py
DavidRother/multi_harvest
11f8db3090131f9d080ac66dc9c6ec0c64c3042f
[ "MIT" ]
null
null
null
multi_harvest_zoo/multi_harvest_world/abstract_classes.py
DavidRother/multi_harvest
11f8db3090131f9d080ac66dc9c6ec0c64c3042f
[ "MIT" ]
null
null
null
multi_harvest_zoo/multi_harvest_world/abstract_classes.py
DavidRother/multi_harvest
11f8db3090131f9d080ac66dc9c6ec0c64c3042f
[ "MIT" ]
null
null
null
from abc import abstractmethod, ABC class Object(ABC): def __init__(self, location, movable, walkable): self.location = location self.movable = movable # you can pick this one up self.walkable = walkable # you can walk on it def name(self) -> str: return type(self).__name__...
22.619048
66
0.662105
114
950
5.22807
0.412281
0.100671
0.055369
0.095638
0.174497
0.174497
0
0
0
0
0
0
0.24
950
41
67
23.170732
0.825485
0.045263
0
0.24
0
0
0.042035
0
0
0
0
0
0
1
0.32
false
0.08
0.04
0.04
0.52
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
0
0
1
0
0
3
f7ceaec3f165d68502ab2e79f89237cc0e1f5fd4
1,654
py
Python
_test_.py
arcticle/Quark
17aa5b5869a9e9c7a04c1a371fef5998f33dc319
[ "MIT" ]
null
null
null
_test_.py
arcticle/Quark
17aa5b5869a9e9c7a04c1a371fef5998f33dc319
[ "MIT" ]
null
null
null
_test_.py
arcticle/Quark
17aa5b5869a9e9c7a04c1a371fef5998f33dc319
[ "MIT" ]
null
null
null
from quark_core_api.core import QuarkApplication from quark_core_api.context import ApplicationContext from quark_core_api.common import ContextInitializer import json import os app_dir = os.path.expanduser("~\\") app = QuarkApplication(ApplicationContext(app_dir, ContextInitializer.application)) location = "D:\\qua...
23.971014
89
0.734583
216
1,654
5.439815
0.296296
0.077447
0.114894
0.054468
0.297021
0.262979
0.225532
0.145532
0.145532
0
0
0.050624
0.128174
1,654
68
90
24.323529
0.764216
0.396614
0
0
0
0
0.046843
0
0
0
0
0
0
1
0.230769
false
0
0.192308
0.115385
0.538462
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f7d4938b763e088fefea090da9a633a364eaaad4
175
py
Python
graph_plot/tester.py
kousokujin/keras-resnet
9b94f423ec3325ecbb76fa7af31688089b8c3332
[ "MIT" ]
null
null
null
graph_plot/tester.py
kousokujin/keras-resnet
9b94f423ec3325ecbb76fa7af31688089b8c3332
[ "MIT" ]
null
null
null
graph_plot/tester.py
kousokujin/keras-resnet
9b94f423ec3325ecbb76fa7af31688089b8c3332
[ "MIT" ]
null
null
null
from json_graph import json_plot_data from plot import plot_drawer d = json_plot_data(path="cifer-10_accuacy.json") graph = plot_drawer(plot_data=d) graph.show() graph.save()
25
48
0.805714
31
175
4.258065
0.451613
0.181818
0.181818
0
0
0
0
0
0
0
0
0.012579
0.091429
175
7
49
25
0.81761
0
0
0
0
0
0.119318
0.119318
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
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
0
0
1
0
0
0
0
3
f7e8f1f6c7a76a63d10425522f099cf93e7aaa02
4,195
py
Python
models/__init__.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
models/__init__.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
models/__init__.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
from fairseq.models import register_model_architecture from models.translation.rnn_lstm import LSTMModel @register_model_architecture('rnn_lstm', 'rnn_lstm') def base_architecture(args): args.dropout = getattr(args, 'dropout', 0.1) args.encoder_embed_dim = getattr(args, 'encoder_embed_dim', 512) args.enco...
58.263889
100
0.772586
583
4,195
5.161235
0.101201
0.179129
0.137587
0.075773
0.805583
0.789631
0.737454
0.629777
0.629777
0.420073
0
0.021317
0.116567
4,195
71
101
59.084507
0.79061
0
0
0.290323
0
0
0.240286
0.06174
0
0
0
0
0
1
0.064516
false
0
0.032258
0
0.096774
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f7fc8c07675a6f56eb25905e500243ce93167982
172
py
Python
polyaxon_deploy/schemas/service_types.py
gideonbros/polyaxon-deploy
77828e028670c43cc74704a4d7b9ec2e661e10a4
[ "MIT" ]
null
null
null
polyaxon_deploy/schemas/service_types.py
gideonbros/polyaxon-deploy
77828e028670c43cc74704a4d7b9ec2e661e10a4
[ "MIT" ]
null
null
null
polyaxon_deploy/schemas/service_types.py
gideonbros/polyaxon-deploy
77828e028670c43cc74704a4d7b9ec2e661e10a4
[ "MIT" ]
null
null
null
class ServiceTypes(object): LOAD_BALANCER = 'LoadBalancer' NODE_PORT = 'NodePort' CLUSTER_IP = 'ClusterIP' VALUES = [LOAD_BALANCER, NODE_PORT, CLUSTER_IP]
24.571429
51
0.709302
19
172
6.105263
0.684211
0.206897
0
0
0
0
0
0
0
0
0
0
0.19186
172
6
52
28.666667
0.834532
0
0
0
0
0
0.168605
0
0
0
0
0
0
1
0
false
0
0
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
0
0
0
0
0
3
791caf4b00b89e003791cb47008d93cd13196710
63
py
Python
lang/py/cookbook/v2/source/cb2_1_6_exm_3.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_6_exm_3.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_6_exm_3.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
import operator largeString = reduce(operator.add, pieces, '')
21
46
0.761905
7
63
6.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.111111
63
2
47
31.5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f700096cbce5db1538215892bb1dcc76b6c37987
734
py
Python
hier/project-euler/euler-067-hackerrank/euler067.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
hier/project-euler/euler-067-hackerrank/euler067.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
hier/project-euler/euler-067-hackerrank/euler067.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 UNKNOWN = -1 def read_val(): return int(input()) def read_row(): return list(map(int, input().split())) def read_grid(): return [read_row() for _ in range(read_val())] def make_blank_row(i): return [UNKNOWN] * i def make_blank_grid(n): return [make_blank_row(i) for i in ...
20.388889
75
0.564033
121
734
3.239669
0.297521
0.02551
0.045918
0.071429
0
0
0
0
0
0
0
0.018762
0.273842
734
35
76
20.971429
0.716698
0.02861
0
0
0
0
0
0
0
0
0
0
0
1
0.318182
false
0
0
0.227273
0.681818
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f717cff9e873f6d4ee6ab179e6d452349b4cd40a
1,032
py
Python
env/Lib/site-packages/OpenGL/raw/EGL/EXT/device_query.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
env/Lib/site-packages/OpenGL/raw/EGL/EXT/device_query.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
env/Lib/site-packages/OpenGL/raw/EGL/EXT/device_query.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.EGL import _types as _cs # End users want this... from OpenGL.raw.EGL._types import * from OpenGL.raw.EGL import _errors from OpenGL.constant import Constant as _C import ctype...
39.692308
115
0.814922
156
1,032
5.025641
0.384615
0.068878
0.049745
0.061224
0.219388
0.053571
0
0
0
0
0
0.009424
0.074612
1,032
25
116
41.28
0.811518
0.156977
0
0.15
1
0
0.083527
0
0
0
0.013921
0
0
1
0.2
false
0.15
0.3
0.05
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
f720be44decd15c1c50cc613e248b09f157857d5
335
py
Python
resources/ai/swagger/__init__.py
GMKrieger/ai_api
9ed661d29afb3232b7930727d056abdedfb91b43
[ "MIT" ]
null
null
null
resources/ai/swagger/__init__.py
GMKrieger/ai_api
9ed661d29afb3232b7930727d056abdedfb91b43
[ "MIT" ]
10
2020-01-28T22:15:24.000Z
2021-04-30T20:36:27.000Z
resources/ai/swagger/__init__.py
GMKrieger/ai_api
9ed661d29afb3232b7930727d056abdedfb91b43
[ "MIT" ]
null
null
null
""" swagger module - A package defining the swagger features. This module creates the swagger structure and defines the data to show when the swagger is activated. It does not contain the html and css files used to create the page, only the underlying structure. The html and css can be found at the sta...
41.875
86
0.746269
54
335
4.62963
0.648148
0.12
0.08
0.104
0
0
0
0
0
0
0
0
0.21791
335
8
87
41.875
0.954198
0.976119
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f72fd9650f220263368abc650314f11467ad9ad0
117
py
Python
FRCScouting/Contact/urls.py
xNovax/FRCScouting.ca
caf2774e5854a7386eceb21e57b68c1f9c1f7d2d
[ "MIT" ]
1
2019-06-13T03:07:15.000Z
2019-06-13T03:07:15.000Z
FRCScouting/Contact/urls.py
xNovax/FRCScouting.ca
caf2774e5854a7386eceb21e57b68c1f9c1f7d2d
[ "MIT" ]
8
2019-07-04T16:19:06.000Z
2019-07-12T17:37:51.000Z
FRCScouting/Contact/urls.py
xNovax/FRCScouting.ca
caf2774e5854a7386eceb21e57b68c1f9c1f7d2d
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.contactus, name= 'contactus') ]
16.714286
48
0.692308
14
117
5.785714
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.179487
117
6
49
19.5
0.84375
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f7474dd15421d4537a8195de47828edb4eeec716
19,203
py
Python
tests/cases/query/tests/parsers.py
rysdyk/avocado
655c1a766be616cb1357ddff8bc345ab61ae9e8a
[ "BSD-2-Clause" ]
null
null
null
tests/cases/query/tests/parsers.py
rysdyk/avocado
655c1a766be616cb1357ddff8bc345ab61ae9e8a
[ "BSD-2-Clause" ]
null
null
null
tests/cases/query/tests/parsers.py
rysdyk/avocado
655c1a766be616cb1357ddff8bc345ab61ae9e8a
[ "BSD-2-Clause" ]
2
2020-01-13T20:40:09.000Z
2020-01-16T15:26:11.000Z
from copy import deepcopy from django.test import TestCase from django.core.exceptions import ValidationError from django.core import management from avocado.query import oldparsers as parsers from avocado.models import DataConcept, DataField, DataConceptField from ....models import Employee class DataContextParserTe...
33.396522
79
0.475447
1,684
19,203
5.317696
0.106295
0.063875
0.044221
0.023451
0.764266
0.719151
0.701619
0.688331
0.647348
0.580458
0
0.002941
0.380305
19,203
574
80
33.454704
0.74958
0.039942
0
0.755365
0
0
0.227317
0.049821
0
0
0
0
0.094421
1
0.036481
false
0
0.015021
0
0.064378
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f74b28a4e066464bc1bef7726cacf55bcf8a6df1
162
py
Python
Sum Square Difference.py
GiantWaffleCode/WaffleEuler
b4a6f76e6f3643cf9381224707daf171486d6bff
[ "MIT" ]
null
null
null
Sum Square Difference.py
GiantWaffleCode/WaffleEuler
b4a6f76e6f3643cf9381224707daf171486d6bff
[ "MIT" ]
null
null
null
Sum Square Difference.py
GiantWaffleCode/WaffleEuler
b4a6f76e6f3643cf9381224707daf171486d6bff
[ "MIT" ]
null
null
null
import math sum_squared = 0 squared_sum = 0 for i in range(1, 101): sum_squared += i**2 squared_sum += i print(f"Answer: {squared_sum**2 - sum_squared}")
20.25
48
0.67284
29
162
3.551724
0.517241
0.291262
0
0
0
0
0
0
0
0
0
0.061069
0.191358
162
8
48
20.25
0.725191
0
0
0
0
0
0.233129
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
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
0
0
0
0
3
f7506b4a181dd822869a73476d2e4574e4e486d3
359
py
Python
app_placas/views.py
naelallves/proj_sinal_transito
bc8b82c1809b8ff97996227bbefc07f42ea5f736
[ "MIT" ]
null
null
null
app_placas/views.py
naelallves/proj_sinal_transito
bc8b82c1809b8ff97996227bbefc07f42ea5f736
[ "MIT" ]
null
null
null
app_placas/views.py
naelallves/proj_sinal_transito
bc8b82c1809b8ff97996227bbefc07f42ea5f736
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from .models import Placa def index(request): data = dict() data['regulamentacao'] = Placa.objects.filter(categoria='reg').order_by('pk') data['advertencia'] = Placa.objects.filter(categoria='adv').order_by('pk') return render(r...
29.916667
81
0.729805
47
359
5.510638
0.595745
0.07722
0.138996
0.208494
0
0
0
0
0
0
0
0
0.128134
359
11
82
32.636364
0.827476
0
0
0
0
0
0.155989
0.058496
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f756a2b78dfa6db189d57ff1424659d5f2f5cd34
321
py
Python
DesignPatterns/05_iterator/1_no_iterator/employee_collection.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
DesignPatterns/05_iterator/1_no_iterator/employee_collection.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
DesignPatterns/05_iterator/1_no_iterator/employee_collection.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
class Employees(object): _employees = {} _headcount = 0 def add_employee(self, employee): self._headcount += 1 self._employees[self._headcount] = employee def get_employee(self, i): return self._employees[i] @property def headcount(self): return self._headcount...
21.4
51
0.635514
35
321
5.571429
0.4
0.184615
0
0
0
0
0
0
0
0
0
0.008511
0.267913
321
14
52
22.928571
0.821277
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0
0.181818
0.727273
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
0
0
1
1
0
0
3
f76b69359b4f37bc8bafb5fb9b5b158f2cbc8f77
177
py
Python
scripts/field/ds_tuto_2_3.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
2
2020-04-15T03:16:07.000Z
2020-08-12T23:28:32.000Z
scripts/field/ds_tuto_2_3.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/field/ds_tuto_2_3.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
3
2020-08-25T06:55:25.000Z
2020-12-01T13:07:43.000Z
sm.showFieldEffect("demonSlayer/whiteOut", 0) sm.sendDelay(1950) sm.completeQuestNoRewards(23203) sm.deleteQuest(23203) sm.curNodeEventEnd(True) sm.warpInstanceIn(931050300, 0)
25.285714
45
0.824859
21
177
6.952381
0.666667
0.09589
0
0
0
0
0
0
0
0
0
0.147929
0.045198
177
7
46
25.285714
0.715976
0
0
0
0
0
0.11236
0
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
0
0
0
3
f78be7d3463e73162762e2da3cda8edaf8765ae1
264
py
Python
newests/api/views.py
ycl310/ksc-site
9dab3a84974701ac6d80ee8d7389c76244510f12
[ "MIT" ]
4
2020-10-08T23:05:35.000Z
2020-10-09T02:12:42.000Z
newests/api/views.py
ycl310/ksc-site
9dab3a84974701ac6d80ee8d7389c76244510f12
[ "MIT" ]
1
2020-10-08T23:26:35.000Z
2020-10-08T23:32:30.000Z
newests/api/views.py
ycl310/ksc-site
9dab3a84974701ac6d80ee8d7389c76244510f12
[ "MIT" ]
null
null
null
# newests/api/views.py from rest_framework import viewsets from .serializers import NewsSerializer from newests.models import Newests class NewsViewSet(viewsets.ModelViewSet): queryset = Newests.objects.all() serializer_class = NewsSerializer
24
42
0.776515
29
264
7
0.655172
0
0
0
0
0
0
0
0
0
0
0
0.162879
264
11
43
24
0.918552
0.075758
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f793fef32f6519c19a2b2434622da188ecd127fe
10,247
py
Python
src/dynamic/abbreviation.py
vasanthonline/python-algos
7bbdd3bf72894388f4026f4cf9f610d6a4158b8f
[ "Apache-2.0" ]
null
null
null
src/dynamic/abbreviation.py
vasanthonline/python-algos
7bbdd3bf72894388f4026f4cf9f610d6a4158b8f
[ "Apache-2.0" ]
null
null
null
src/dynamic/abbreviation.py
vasanthonline/python-algos
7bbdd3bf72894388f4026f4cf9f610d6a4158b8f
[ "Apache-2.0" ]
null
null
null
#!/bin/python3 import time ''' Given two string a and b determine if it's possible to make a equal to b by 1. Capitalize zero or more of a's lowercase letters. 2. Delete all of the remaining lowercase letters in a. :param a: String 1 :type a: str :param b: String 2 :type b: str :return: YES or NO...
94.87963
505
0.903679
359
10,247
25.721448
0.367688
0.008122
0.005198
0.003574
0.019493
0.010938
0.008664
0.008664
0.004548
0
0
0.003085
0.050844
10,247
108
506
94.87963
0.946329
0.849517
0
0.125
0
0
0.242883
0.209964
0
1
0
0
0
1
0.041667
false
0
0.041667
0
0.166667
0.083333
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
e38c95ab783271a6130fcdd3e4a267fd6772359f
652
py
Python
tests/integration/mongodb/results/statistics.py
RaenonX/Jelly-Bot-API
c7da1e91783dce3a2b71b955b3a22b68db9056cf
[ "MIT" ]
5
2020-08-26T20:12:00.000Z
2020-12-11T16:39:22.000Z
tests/integration/mongodb/results/statistics.py
RaenonX/Jelly-Bot
c7da1e91783dce3a2b71b955b3a22b68db9056cf
[ "MIT" ]
234
2019-12-14T03:45:19.000Z
2020-08-26T18:55:19.000Z
tests/integration/mongodb/results/statistics.py
RaenonX/Jelly-Bot-API
c7da1e91783dce3a2b71b955b3a22b68db9056cf
[ "MIT" ]
2
2019-10-23T15:21:15.000Z
2020-05-22T09:35:55.000Z
from datetime import datetime from typing import Type from models import Model, APIStatisticModel from mongodb.factory.results import ModelResult, RecordAPIStatisticsResult from tests.base import TestOnModelResult __all__ = ["TestRecordAPIStatisticsResult"] class TestRecordAPIStatisticsResult(TestOnModelResult.Test...
29.636364
91
0.773006
61
652
8.131148
0.557377
0.056452
0.068548
0
0
0
0
0
0
0
0
0
0.154908
652
21
92
31.047619
0.900181
0
0
0.133333
0
0
0.053681
0.044479
0
0
0
0
0
1
0.133333
false
0
0.333333
0.133333
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
e3a0736cebf0afac09aa7454b07c21c984fd904f
6,120
py
Python
pyaz/ams/content_key_policy/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/ams/content_key_policy/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/ams/content_key_policy/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
from ... pyaz_utils import _call_az from . import option def create(account_name, name, policy_option_name, resource_group, alt_rsa_token_keys=None, alt_symmetric_token_keys=None, alt_x509_token_keys=None, ask=None, audience=None, clear_key_configuration=None, description=None, fair_play_pfx=None, fair_play_pfx_passw...
59.417476
594
0.740359
868
6,120
5.080645
0.230415
0.040816
0.061678
0.034467
0.409751
0.34195
0.323356
0.297506
0.260091
0.243311
0
0.004788
0.180882
6,120
102
595
60
0.874925
0.735621
0
0
0
0
0.118092
0
0
0
0
0
0
1
0.416667
false
0.083333
0.166667
0
1
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
0
0
1
0
0
3
e3a458ce72c938cf7f039b2e31210864113994bf
1,832
py
Python
buildbot_inplace/project.py
hicknhack-software/buildbot-inplace-config
b3fc717df1cf83288f9315da9c9106f24a0d3fff
[ "Apache-2.0" ]
4
2015-03-26T19:46:47.000Z
2016-12-01T16:29:30.000Z
buildbot_inplace/project.py
hicknhack-software/buildbot-inplace-config
b3fc717df1cf83288f9315da9c9106f24a0d3fff
[ "Apache-2.0" ]
2
2016-08-08T14:52:53.000Z
2016-08-08T14:58:20.000Z
buildbot_inplace/project.py
hicknhack-software/buildbot-inplace-config
b3fc717df1cf83288f9315da9c9106f24a0d3fff
[ "Apache-2.0" ]
1
2016-08-08T14:39:06.000Z
2016-08-08T14:39:06.000Z
""" Buildbot inplace config (C) Copyright 2015 HicknHack Software GmbH The original code can be found at: https://github.com/hicknhack-software/buildbot-inplace-config Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy...
26.550725
72
0.665393
241
1,832
4.995851
0.502075
0.049834
0.069767
0.026578
0
0
0
0
0
0
0
0.005814
0.248908
1,832
68
73
26.941176
0.869186
0.373908
0
0.153846
0
0
0.072871
0
0
0
0
0
0
1
0.205128
false
0.051282
0.076923
0.153846
0.461538
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
0
1
0
0
0
3
e3c64fe79791d61481a3c3263710f314e377d583
187
py
Python
ipost-light/aci_credentials.py
cpaggen/aci
c6953964c51cee09048baba821558b9af647bb9d
[ "Unlicense" ]
5
2017-01-16T02:47:28.000Z
2020-08-15T05:35:46.000Z
ipost-light/aci_credentials.py
cpaggen/aci
c6953964c51cee09048baba821558b9af647bb9d
[ "Unlicense" ]
null
null
null
ipost-light/aci_credentials.py
cpaggen/aci
c6953964c51cee09048baba821558b9af647bb9d
[ "Unlicense" ]
5
2016-12-13T16:46:39.000Z
2021-05-06T12:05:59.000Z
apic_ip_address = '192.168.1.100' apic_admin_user = 'admin' apic_admin_password = 'password' template_file = 'template.xml' template_params = '{"tnPrefix": "iPost-light","tnQuant": 10}'
31.166667
62
0.737968
26
187
5
0.730769
0.138462
0
0
0
0
0
0
0
0
0
0.071006
0.096257
187
5
63
37.4
0.698225
0
0
0
0
0
0.42246
0.128342
0
0
0
0
0
1
0
false
0.2
0
0
0
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
0
0
0
0
0
3
e3dbc191422972ebfcc3675b7d665f94b11639d7
635
py
Python
colibris/email/__init__.py
AMecea/colibris
068b7cbc4ed328dd9f3b4c40c5227b026589b028
[ "BSD-3-Clause" ]
6
2019-06-22T19:36:10.000Z
2021-11-16T08:07:21.000Z
colibris/email/__init__.py
AMecea/colibris
068b7cbc4ed328dd9f3b4c40c5227b026589b028
[ "BSD-3-Clause" ]
34
2019-07-07T18:01:41.000Z
2020-11-01T16:14:58.000Z
colibris/email/__init__.py
AMecea/colibris
068b7cbc4ed328dd9f3b4c40c5227b026589b028
[ "BSD-3-Clause" ]
2
2020-09-01T13:07:17.000Z
2021-07-29T12:16:29.000Z
import logging from colibris.conf import settings from .message import EmailMessage from .base import EmailBackend logger = logging.getLogger(__name__) def send(email_message): logger.debug('sending %s', email_message) return EmailBackend.get_instance().send_messages([email_message]) def send_many(emai...
19.242424
69
0.766929
78
635
6
0.397436
0.153846
0.076923
0.123932
0.196581
0.196581
0.196581
0
0
0
0
0
0.135433
635
32
70
19.84375
0.852459
0
0
0
0
0
0.045741
0
0
0
0
0
0
1
0.294118
false
0
0.235294
0.117647
0.764706
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
0
0
1
1
0
0
3
540146b816ce23d17b70274e9c89ecf7f8553830
5,086
py
Python
applications/TrilinosApplication/tests/test_trilinos_levelset_convection.py
ma6yu/Kratos
02380412f8a833a2cdda6791e1c7f9c32e088530
[ "BSD-4-Clause" ]
null
null
null
applications/TrilinosApplication/tests/test_trilinos_levelset_convection.py
ma6yu/Kratos
02380412f8a833a2cdda6791e1c7f9c32e088530
[ "BSD-4-Clause" ]
null
null
null
applications/TrilinosApplication/tests/test_trilinos_levelset_convection.py
ma6yu/Kratos
02380412f8a833a2cdda6791e1c7f9c32e088530
[ "BSD-4-Clause" ]
null
null
null
from __future__ import print_function, absolute_import, division import os import KratosMultiphysics import KratosMultiphysics.KratosUnittest as KratosUnittest import KratosMultiphysics.MetisApplication as MetisApplication import KratosMultiphysics.TrilinosApplication as TrilinosApplication import KratosMult...
40.365079
145
0.678923
494
5,086
6.773279
0.319838
0.043036
0.050508
0.043335
0.250747
0.164077
0.137179
0.112971
0.112971
0.072325
0
0.017802
0.237908
5,086
126
146
40.365079
0.845201
0.094967
0
0.176471
0
0
0.722732
0.428667
0
0
0
0
0.023529
0
null
null
0
0.176471
null
null
0.011765
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
1
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
582798fdf0c2a8243f066db29588153e8204f844
11,935
py
Python
appengine/predator/analysis/linear/feature.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
2
2021-04-13T21:22:18.000Z
2021-09-07T02:11:57.000Z
appengine/predator/analysis/linear/feature.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
21
2020-09-06T02:41:05.000Z
2022-03-02T04:40:01.000Z
appengine/predator/analysis/linear/feature.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from collections import namedtuple import logging import math import libs.math.logarithms as lmath from libs.math.vectors import vsum from libs.meta_object ...
34.295977
80
0.682698
1,699
11,935
4.67216
0.185403
0.039305
0.022172
0.011968
0.450617
0.421643
0.408667
0.372638
0.363064
0.339632
0
0.002043
0.220612
11,935
347
81
34.394813
0.851322
0.565647
0
0.377778
0
0.007407
0.043331
0
0
0
0
0
0
1
0.207407
false
0
0.044444
0.111111
0.503704
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
0
0
1
1
0
0
3
5828edd8c2df57f7d02e14500a68db892149ae8f
847
py
Python
apps/models.py
0v3rW4tch/webshell_detect_cms
aeda3b59a6d281df8eae8e5f34d839e98e546364
[ "MIT" ]
2
2020-08-05T06:54:21.000Z
2020-12-23T02:25:03.000Z
apps/models.py
0v3rW4tch/webshell_detect_cms
aeda3b59a6d281df8eae8e5f34d839e98e546364
[ "MIT" ]
null
null
null
apps/models.py
0v3rW4tch/webshell_detect_cms
aeda3b59a6d281df8eae8e5f34d839e98e546364
[ "MIT" ]
null
null
null
from exts import db from werkzeug.security import generate_password_hash,check_password_hash class CMSUser(db.Model): __tablename__ = 'cms_user' id = db.Column(db.Integer,autoincrement=True,primary_key=True) username = db.Column(db.String(45),nullable=False) _password = db.Column(db.String(100),nullabl...
28.233333
72
0.713105
107
847
5.401869
0.364486
0.103806
0.069204
0.083045
0
0
0
0
0
0
0
0.010219
0.191263
847
29
73
29.206897
0.833577
0
0
0
1
0
0.009467
0
0
0
0
0
0
1
0.190476
false
0.52381
0.095238
0.047619
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3