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
39ab865cd62184fd317a22977c5cca8df50dc628
262
py
Python
src/__init__.py
USArmyResearchLab/ARL_Battlespace
2f17a478f62c20a4db387d5d3e4bbeaa3197cd49
[ "MIT" ]
1
2022-03-31T19:15:04.000Z
2022-03-31T19:15:04.000Z
src/__init__.py
USArmyResearchLab/ARL_Battlespace
2f17a478f62c20a4db387d5d3e4bbeaa3197cd49
[ "MIT" ]
null
null
null
src/__init__.py
USArmyResearchLab/ARL_Battlespace
2f17a478f62c20a4db387d5d3e4bbeaa3197cd49
[ "MIT" ]
null
null
null
print(f'Invoking __init__.py for {__name__}') import src.AgentTypes, src.Games, src.StateTypes, src.UnitTypes, src.UI_Files import src.AgentModule, src.GameModule, src.StateModule, src.UnitModule, src.CSVOutputModule
37.428571
92
0.671756
30
262
5.566667
0.666667
0.107784
0
0
0
0
0
0
0
0
0
0
0.232824
262
7
93
37.428571
0.830846
0
0
0
0
0
0.13308
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
39d1d2f1ae63926645afa730efeb125b6a80bebc
92
py
Python
text_detail/readline_lib.py
Lcoderfit/PythonStandardLibrary
324ad6e852e4726581fa9ceed6e323b206c643a5
[ "MIT" ]
2
2021-06-25T04:30:27.000Z
2021-08-09T11:28:31.000Z
text_detail/readline_lib.py
Lcoderfit/PythonStandardLibrary
324ad6e852e4726581fa9ceed6e323b206c643a5
[ "MIT" ]
1
2020-10-11T13:36:07.000Z
2020-10-12T16:05:10.000Z
text_detail/readline_lib.py
Lcoderfit/PythonStandardLibrary
324ad6e852e4726581fa9ceed6e323b206c643a5
[ "MIT" ]
null
null
null
import readline if __name__ == "__main__": print(readline.parse_and_bind("Lcodefit"))
15.333333
46
0.728261
11
92
5.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.141304
92
5
47
18.4
0.721519
0
0
0
0
0
0.173913
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
8412444e5f2aac085d42fb774893ed67bb52dc22
186
py
Python
00_SOFTWARE/mod_reactor_controller/__init__.py
photonZfeed/modularPhotoreactor
ab93eab028adebccbde0c079e898d79e5fab76fd
[ "CC0-1.0" ]
1
2022-01-30T06:48:53.000Z
2022-01-30T06:48:53.000Z
00_SOFTWARE/mod_reactor_controller/__init__.py
photonZfeed/modularPhotoreactor
ab93eab028adebccbde0c079e898d79e5fab76fd
[ "CC0-1.0" ]
null
null
null
00_SOFTWARE/mod_reactor_controller/__init__.py
photonZfeed/modularPhotoreactor
ab93eab028adebccbde0c079e898d79e5fab76fd
[ "CC0-1.0" ]
null
null
null
from .controller import * from .modules import * #from .multi_ramp import * #from .koradserial import * __all__ = ['controller','modules' #, 'multi_ramp','koradserial' ]
20.666667
33
0.66129
19
186
6.157895
0.421053
0.25641
0
0
0
0
0
0
0
0
0
0
0.204301
186
8
34
23.25
0.790541
0.424731
0
0
0
0
0.163462
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
841f0c3a7a7a6e66e8126fd0a90fa6886745bffc
146
py
Python
problems[026-050]/problem048.py
yadkee/euler
2094862e44c0dd9e5a5b7067c3ad33d72b5fa58c
[ "MIT" ]
null
null
null
problems[026-050]/problem048.py
yadkee/euler
2094862e44c0dd9e5a5b7067c3ad33d72b5fa58c
[ "MIT" ]
null
null
null
problems[026-050]/problem048.py
yadkee/euler
2094862e44c0dd9e5a5b7067c3ad33d72b5fa58c
[ "MIT" ]
null
null
null
#! python3 """Find the last ten digits of the series, 1^1 + 2^2 + 3^3 + ... + 1000^1000""" print(str(sum(i ** i for i in range(1, 1001)))[-10:])
29.2
79
0.568493
29
146
2.862069
0.724138
0
0
0
0
0
0
0
0
0
0
0.186441
0.191781
146
4
80
36.5
0.516949
0.568493
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
842a6ddb5e709d5a45dd9ed297471dc11a6e225d
80
py
Python
popseg/models/backbones/__init__.py
sithu31296/panoptic-segmentation
bd3f5bf51729dcf5698959b3a6b53a1da8e2db65
[ "MIT" ]
1
2021-11-06T09:00:11.000Z
2021-11-06T09:00:11.000Z
popseg/models/backbones/__init__.py
sithu31296/panoptic-segmentation
bd3f5bf51729dcf5698959b3a6b53a1da8e2db65
[ "MIT" ]
1
2021-11-07T11:59:57.000Z
2021-11-08T14:29:10.000Z
popseg/models/backbones/__init__.py
sithu31296/panoptic-segmentation
bd3f5bf51729dcf5698959b3a6b53a1da8e2db65
[ "MIT" ]
null
null
null
from .resnet import ResNet from .pvt import PVTv2 __all__ = ['ResNet', 'PVTv2']
20
29
0.725
11
80
4.909091
0.545455
0
0
0
0
0
0
0
0
0
0
0.029412
0.15
80
4
29
20
0.764706
0
0
0
0
0
0.135802
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
844ee495ceac9219199bf129e3b4ce754f46530a
22
py
Python
pytorch_metric_learning/__init__.py
liyongsheng-tech/pytorch-metric-learning
ae3807249a748512a1f7db62b380a524869b5911
[ "MIT" ]
2
2020-01-26T11:23:22.000Z
2020-05-13T07:22:55.000Z
pytorch_metric_learning/__init__.py
liyongsheng-tech/pytorch-metric-learning
ae3807249a748512a1f7db62b380a524869b5911
[ "MIT" ]
null
null
null
pytorch_metric_learning/__init__.py
liyongsheng-tech/pytorch-metric-learning
ae3807249a748512a1f7db62b380a524869b5911
[ "MIT" ]
null
null
null
__version__ = "0.9.62"
22
22
0.681818
4
22
2.75
1
0
0
0
0
0
0
0
0
0
0
0.2
0.090909
22
1
22
22
0.35
0
0
0
0
0
0.26087
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
ffca5acec98bb6debf6dd926df6258f80f34ca27
103
py
Python
spextra/version.py
astronomyk/speXtra
906422d99e9cc8db9127a3a32652b0d48f9561d0
[ "MIT" ]
null
null
null
spextra/version.py
astronomyk/speXtra
906422d99e9cc8db9127a3a32652b0d48f9561d0
[ "MIT" ]
null
null
null
spextra/version.py
astronomyk/speXtra
906422d99e9cc8db9127a3a32652b0d48f9561d0
[ "MIT" ]
null
null
null
# THIS FILE GENERATED BY speXtra setup.py version = '0.22' date = '2021-03-08 09:46:11 GMT'
25.75
42
0.621359
18
103
3.555556
1
0
0
0
0
0
0
0
0
0
0
0.220779
0.252427
103
4
43
25.75
0.61039
0.378641
0
0
1
0
0.435484
0
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
1
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
fffa0efd97e6743e194b614eb23c032a1f1355fe
165
py
Python
problem0281.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0281.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0281.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #281 Pizza Toppings - Project Euler # https://projecteuler.net/problem=281 # # Code by Kevin Marciniak # ###########################
18.333333
38
0.472727
14
165
5.571429
0.928571
0
0
0
0
0
0
0
0
0
0
0.041096
0.115152
165
8
39
20.625
0.493151
0.575758
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
081054f23fa83c87e3f5238b1bfd4b0d919a9652
2,847
py
Python
test/unit/vint/linting/config/test_toggle_config_comment_source.py
mosheavni/vint
9078dd626415cfe37ddaf03032e714bbaca8b336
[ "MIT" ]
538
2015-01-03T18:54:53.000Z
2020-01-11T01:34:51.000Z
test/unit/vint/linting/config/test_toggle_config_comment_source.py
mosheavni/vint
9078dd626415cfe37ddaf03032e714bbaca8b336
[ "MIT" ]
235
2015-01-01T06:20:01.000Z
2020-01-17T11:32:39.000Z
test/unit/vint/linting/config/test_toggle_config_comment_source.py
mosheavni/vint
9078dd626415cfe37ddaf03032e714bbaca8b336
[ "MIT" ]
43
2015-01-23T16:59:49.000Z
2019-12-27T10:56:12.000Z
import unittest from test.asserting.config_source import ConfigSourceAssertion from vint.ast.node_type import NodeType from vint.linting.config.config_toggle_comment_source import ConfigToggleCommentSource class TestToggleConfigCommentSource(ConfigSourceAssertion, unittest.TestCase): def test_get_config_dict(self...
26.607477
86
0.517035
217
2,847
6.442396
0.211982
0.111588
0.103004
0.074392
0.771817
0.771817
0.771817
0.746781
0.678827
0.678827
0
0.010233
0.382157
2,847
106
87
26.858491
0.784537
0
0
0.6
0
0
0.133123
0.035125
0
0
0
0
0.070588
1
0.047059
false
0
0.047059
0
0.105882
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0814d9f95270f243812d64c778c066f46255fc5e
101
py
Python
encryptfinance/utils/ref_code.py
dark-codr/encryptfinance
573a8179c3a7c4b0f68d71bc9d461246f6fdba29
[ "Apache-2.0" ]
null
null
null
encryptfinance/utils/ref_code.py
dark-codr/encryptfinance
573a8179c3a7c4b0f68d71bc9d461246f6fdba29
[ "Apache-2.0" ]
1
2022-03-31T03:16:16.000Z
2022-03-31T03:16:16.000Z
encryptfinance/utils/ref_code.py
dark-codr/encryptfinance
573a8179c3a7c4b0f68d71bc9d461246f6fdba29
[ "Apache-2.0" ]
null
null
null
import uuid def ref_generator(): code = str(uuid.uuid4()).replace("-", "")[:7] return code
14.428571
49
0.594059
13
101
4.538462
0.846154
0
0
0
0
0
0
0
0
0
0
0.024691
0.19802
101
6
50
16.833333
0.703704
0
0
0
0
0
0.009901
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
081cc7a81c11a87c103e9dfeafa3ba685ae7585b
114
py
Python
code/abc022_a_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc022_a_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc022_a_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
n,s,t=map(int,input().split()) w=[int(input()) for i in range(n)] print(sum(s<=sum(w[:i+1])<=t for i in range(n)))
38
48
0.596491
28
114
2.428571
0.535714
0.235294
0.176471
0.323529
0.352941
0
0
0
0
0
0
0.009615
0.087719
114
3
48
38
0.644231
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f22afa13ef56e8423e181821c1c9111d64122d74
42
py
Python
pubmedasync/pubmedasync.py
pokey/pubmedasync
f660e2ecd6caa6393d59b15812f4936811755fc8
[ "MIT" ]
null
null
null
pubmedasync/pubmedasync.py
pokey/pubmedasync
f660e2ecd6caa6393d59b15812f4936811755fc8
[ "MIT" ]
1
2021-03-25T21:45:01.000Z
2021-03-25T21:45:01.000Z
pubmedasync/pubmedasync.py
pokey/pubmedasync
f660e2ecd6caa6393d59b15812f4936811755fc8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ something """
8.4
23
0.452381
4
42
4.75
1
0
0
0
0
0
0
0
0
0
0
0.029412
0.190476
42
4
24
10.5
0.529412
0.761905
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f2529eb16a8c3b9693fd73bf1b7663bd639eae3c
162
py
Python
python_module/sirius/edft/helpers.py
mtaillefumier/SIRIUS
50ec1c202c019113c5660f1966b170dec9dfd4d4
[ "BSD-2-Clause" ]
77
2016-03-18T08:38:30.000Z
2022-03-11T14:06:25.000Z
python_module/sirius/edft/helpers.py
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
240
2016-04-12T16:39:11.000Z
2022-03-31T08:46:12.000Z
python_module/sirius/edft/helpers.py
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
43
2016-03-18T17:45:07.000Z
2022-02-28T05:27:59.000Z
from sirius.coefficient_array import threaded import numpy as np @threaded def has_enough_bands(fn): fn_sorted = np.sort(fn) return fn_sorted[0] < 1e-10
20.25
45
0.753086
27
162
4.333333
0.740741
0.136752
0
0
0
0
0
0
0
0
0
0.02963
0.166667
162
7
46
23.142857
0.837037
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f252c4020eaf28d07bf0ac25fb0f90d1f147d065
139
py
Python
server/pyfiles/db/db_instance.py
TheDarrenJoseph/AberWebMUD
c8b33e03a0c78e5d0aceaa1ce85a2924c71cdb1c
[ "MIT" ]
2
2018-08-20T18:09:47.000Z
2019-04-29T06:18:42.000Z
server/pyfiles/db/db_instance.py
TheDarrenJoseph/AberWebMUD
c8b33e03a0c78e5d0aceaa1ce85a2924c71cdb1c
[ "MIT" ]
6
2019-04-28T20:56:25.000Z
2022-02-12T04:33:23.000Z
server/pyfiles/db/db_instance.py
TheDarrenJoseph/AberWebMUD
c8b33e03a0c78e5d0aceaa1ce85a2924c71cdb1c
[ "MIT" ]
null
null
null
from pony.orm import * class DatabaseInstance(): #Shared class variable to prevent multiple instanciations _database = Database()
23.166667
61
0.755396
15
139
6.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.179856
139
5
62
27.8
0.912281
0.402878
0
0
0
0
0
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
1
0
0
4
f259064c8ded1d28fe6c4480b6a02a6c7be38ff9
119
py
Python
generators/activerecord/templates/models/entry.py
afeiship/generator-scrapy
85331b6cca8be96ca9de631536edaf7305b0293a
[ "MIT" ]
null
null
null
generators/activerecord/templates/models/entry.py
afeiship/generator-scrapy
85331b6cca8be96ca9de631536edaf7305b0293a
[ "MIT" ]
null
null
null
generators/activerecord/templates/models/entry.py
afeiship/generator-scrapy
85331b6cca8be96ca9de631536edaf7305b0293a
[ "MIT" ]
null
null
null
# from orator import Model from jsw_scrapy.models import BaseModel class Entry(BaseModel): __table__ = 'entries'
17
39
0.764706
15
119
5.733333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.168067
119
6
40
19.833333
0.868687
0.201681
0
0
0
0
0.075269
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
1
0
0
4
f25a4884964d5878b3047f7a1ce5fab67ab36c4c
126
py
Python
test/testdata/demopackage/_child_d.py
Dliwk/pdoc
6de34d2a121d66c266bbe373bad865f15ff61c73
[ "Unlicense" ]
831
2018-06-02T01:01:53.000Z
2022-03-31T14:56:15.000Z
test/testdata/demopackage/_child_d.py
Dliwk/pdoc
6de34d2a121d66c266bbe373bad865f15ff61c73
[ "Unlicense" ]
254
2018-06-01T21:30:46.000Z
2022-03-30T18:34:22.000Z
test/testdata/demopackage/_child_d.py
Dliwk/pdoc
6de34d2a121d66c266bbe373bad865f15ff61c73
[ "Unlicense" ]
92
2018-06-02T22:36:44.000Z
2022-03-22T20:49:58.000Z
"""_child_d docstr""" class Test: """The Test class from _child_d.""" def foo(self, a: int): """Do foo."""
14
39
0.52381
18
126
3.444444
0.722222
0.193548
0
0
0
0
0
0
0
0
0
0
0.269841
126
8
40
15.75
0.673913
0.420635
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
f285cb12abd13ff9dcd22d00485612b5e41b8f48
91
py
Python
aioalfacrm/managers/lesson.py
stas12312/aioalfacrm
1501634fa5ef4591936be2e6147827565e4a0b36
[ "MIT" ]
null
null
null
aioalfacrm/managers/lesson.py
stas12312/aioalfacrm
1501634fa5ef4591936be2e6147827565e4a0b36
[ "MIT" ]
49
2021-11-11T16:00:40.000Z
2021-11-24T15:37:34.000Z
aioalfacrm/managers/lesson.py
stas12312/aioalfacrm
1501634fa5ef4591936be2e6147827565e4a0b36
[ "MIT" ]
null
null
null
from ..core import EntityManager class Lesson(EntityManager): object_name = 'lesson'
15.166667
32
0.747253
10
91
6.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
33
18.2
0.881579
0
0
0
0
0
0.065934
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
1
0
0
4
4b2f56695eaadae323978da7b052a5fe11450016
64
py
Python
setup.py
andergrim/gofi
49c619cf72707a4181274cbae9efa18c68ae2403
[ "MIT" ]
null
null
null
setup.py
andergrim/gofi
49c619cf72707a4181274cbae9efa18c68ae2403
[ "MIT" ]
null
null
null
setup.py
andergrim/gofi
49c619cf72707a4181274cbae9efa18c68ae2403
[ "MIT" ]
null
null
null
#!/usr/bin/env/ python3 from setuptools import setup setup()
9.142857
28
0.71875
9
64
5.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0.018519
0.15625
64
6
29
10.666667
0.833333
0.34375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
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
4
4b368de54d101e62445044b8c333bcf3f4076f6e
1,013
py
Python
case_management/config/cpbns.py
amutaher/case_management
d39af5f49614672fc30ac6019eb0772c28de3df3
[ "MIT" ]
null
null
null
case_management/config/cpbns.py
amutaher/case_management
d39af5f49614672fc30ac6019eb0772c28de3df3
[ "MIT" ]
null
null
null
case_management/config/cpbns.py
amutaher/case_management
d39af5f49614672fc30ac6019eb0772c28de3df3
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("Protection Monitoring"), "items": [ { "type": "doctype", "name": "Focus Group Discussion", }, { "type": "doctype", "name": "Key Information Interview", }, { "type": ...
14.681159
41
0.442251
73
1,013
5.986301
0.506849
0.251716
0.343249
0.183066
0
0
0
0
0
0
0
0
0.342547
1,013
68
42
14.897059
0.656156
0
0
0.215385
0
0
0.378085
0
0
0
0
0
0
1
0.015385
true
0
0.030769
0.015385
0.061538
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4b4e07651ea5d91dec06db85eadbed687f243831
1,088
py
Python
contentcuration/contentcuration/dev_settings.py
divad12/studio
9cf0f07cd1cd69f6a07bb83badb2cfc51b48b50e
[ "MIT" ]
null
null
null
contentcuration/contentcuration/dev_settings.py
divad12/studio
9cf0f07cd1cd69f6a07bb83badb2cfc51b48b50e
[ "MIT" ]
null
null
null
contentcuration/contentcuration/dev_settings.py
divad12/studio
9cf0f07cd1cd69f6a07bb83badb2cfc51b48b50e
[ "MIT" ]
null
null
null
import logging import os from .test_settings import * try: import debug_panel except ImportError: # no debug panel, no use trying to add it to our middleware pass else: # if debug_panel exists, add it to our INSTALLED_APPS INSTALLED_APPS += ('debug_panel', 'debug_toolbar', 'pympler') MIDDLEWA...
31.085714
74
0.747243
123
1,088
6.390244
0.471545
0.229008
0.29771
0.025445
0
0
0
0
0
0
0
0
0.148897
1,088
34
75
32
0.848812
0.100184
0
0
0
0
0.606154
0.574359
0
0
0
0
0
1
0
false
0.037037
0.185185
0
0.185185
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4b71d98f4d680984f9102d485e8959f874025945
136
py
Python
env_var.py
UtkarshR8j/evolv-challenge
81469c2eab27db140e2c7a369885b7e3b1584b77
[ "MIT" ]
null
null
null
env_var.py
UtkarshR8j/evolv-challenge
81469c2eab27db140e2c7a369885b7e3b1584b77
[ "MIT" ]
null
null
null
env_var.py
UtkarshR8j/evolv-challenge
81469c2eab27db140e2c7a369885b7e3b1584b77
[ "MIT" ]
null
null
null
export FLASK_ENV=development export JWT_SECRET_KEY=secret export DATABASE_URI = mysql+pymysql://username:passowrd@localhost:1234/crud_db
45.333333
78
0.867647
20
136
5.65
0.85
0
0
0
0
0
0
0
0
0
0
0.031008
0.051471
136
3
78
45.333333
0.844961
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.333333
0
null
null
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
1
0
0
1
0
0
0
0
0
4
4b75f01ab3e8115b2219c79499a0a5139622a235
773
py
Python
main.py
Eric-SOIPP/install_wordpress
6a96dd07d811989b0b2166fd22f9943b64b8e735
[ "MIT" ]
null
null
null
main.py
Eric-SOIPP/install_wordpress
6a96dd07d811989b0b2166fd22f9943b64b8e735
[ "MIT" ]
null
null
null
main.py
Eric-SOIPP/install_wordpress
6a96dd07d811989b0b2166fd22f9943b64b8e735
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- import os #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Installation prérequis #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os.system("apt update") os.system("apt install python3-pip -y") os.system("pip3 install mysql-connector-python wget") #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
28.62963
98
0.564036
93
773
4.688172
0.516129
0.146789
0.126147
0.165138
0.087156
0
0
0
0
0
0
0.007246
0.107374
773
26
99
29.730769
0.624638
0.455369
0
0
0
0.111111
0.659367
0.053528
0
0
0
0
0
1
0
true
0.111111
0.111111
0
0.111111
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
1
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
4b7f0e5016f29511cbbbbf8fa354dd860c3941d2
850
py
Python
test/test_suit.py
gabrielbarker/snap
14272297463d4a2272644dca0e7a33773cdb32d5
[ "MIT" ]
null
null
null
test/test_suit.py
gabrielbarker/snap
14272297463d4a2272644dca0e7a33773cdb32d5
[ "MIT" ]
null
null
null
test/test_suit.py
gabrielbarker/snap
14272297463d4a2272644dca0e7a33773cdb32d5
[ "MIT" ]
null
null
null
import unittest from snap.suit import Suit class TestSuit(unittest.TestCase): def test__char__index_0_returns_heart(self): self.assertEqual("♡", Suit.char(0)) def test__char__index_1_returns_diamond(self): self.assertEqual("♢", Suit.char(1)) def test__char__index_2_returns_club(self): ...
29.310345
50
0.705882
123
850
4.455285
0.227642
0.10219
0.277372
0.116788
0.543796
0.543796
0.543796
0
0
0
0
0.022695
0.170588
850
28
51
30.357143
0.748936
0
0
0
0
0
0.029412
0
0
0
0
0
0.421053
1
0.421053
false
0
0.105263
0
0.578947
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
1
0
1
0
0
0
0
1
0
0
4
4b8bc3e419c2842d493457cd8accc010fb69498c
1,317
py
Python
src/airfly/_vendor/airflow/contrib/operators/gcp_sql_operator.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
7
2021-09-27T11:38:48.000Z
2022-02-01T06:06:24.000Z
src/airfly/_vendor/airflow/contrib/operators/gcp_sql_operator.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
null
null
null
src/airfly/_vendor/airflow/contrib/operators/gcp_sql_operator.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
null
null
null
# Auto generated by 'inv collect-airflow' from airfly._vendor.airflow.providers.google.cloud.operators.cloud_sql import ( CloudSQLBaseOperator, CloudSQLCreateInstanceDatabaseOperator, CloudSQLCreateInstanceOperator, CloudSQLDeleteInstanceDatabaseOperator, CloudSQLDeleteInstanceOperator, CloudSQL...
24.388889
85
0.845103
67
1,317
16.58209
0.522388
0.072907
0
0
0
0
0
0
0
0
0
0
0.114655
1,317
53
86
24.849057
0.95283
0.029613
0
0.3125
1
0
0
0
0
0
0
0
0
1
0
true
0.3125
0.09375
0
0.40625
0
0
0
1
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
1
1
0
0
0
0
0
4
4ba3725e74ab323c469c2653e33209886edb60c1
73
py
Python
cunyfirstapi/__init__.py
mraza007/CunyFirstAPI
95428416a263297de735830cc801b403a6d3bc1c
[ "MIT" ]
null
null
null
cunyfirstapi/__init__.py
mraza007/CunyFirstAPI
95428416a263297de735830cc801b403a6d3bc1c
[ "MIT" ]
null
null
null
cunyfirstapi/__init__.py
mraza007/CunyFirstAPI
95428416a263297de735830cc801b403a6d3bc1c
[ "MIT" ]
null
null
null
name = "cunyfirstapi" from .cunyfirstapi import * from . import constants
24.333333
27
0.780822
8
73
7.125
0.625
0
0
0
0
0
0
0
0
0
0
0
0.136986
73
3
28
24.333333
0.904762
0
0
0
0
0
0.162162
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
2999d8351b11f32f12bb7793ce03fe7b2a2e1f40
2,123
py
Python
grammar/python/optdesc/line.py
philip-h-dye/docpt-parser
abb5ea6566dac4cb77851d0cff69ed4aca3b804b
[ "MIT" ]
2
2021-05-01T02:34:05.000Z
2022-02-13T06:41:36.000Z
grammar/python/optdesc/line.py
philip-h-dye/docpt-parser
abb5ea6566dac4cb77851d0cff69ed4aca3b804b
[ "MIT" ]
null
null
null
grammar/python/optdesc/line.py
philip-h-dye/docpt-parser
abb5ea6566dac4cb77851d0cff69ed4aca3b804b
[ "MIT" ]
null
null
null
# option-description section # option-intro-line # options-descriptions # option-description-line # \s*<option-list>\s\s<option-help> # option-list # ( option [ option operand [=|, ] comand]* ) # ^^^ the atoms or terms # # FIXME: add support for option-list continuation : ...
34.803279
79
0.482336
200
2,123
4.965
0.45
0.080564
0.065458
0.030211
0
0
0
0
0
0
0
0.001193
0.210551
2,123
60
80
35.383333
0.591289
0.581724
0
0
0
0
0.114219
0
0
0
0
0.016667
0
1
0.222222
false
0
0.222222
0.166667
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
1
0
0
1
0
0
0
1
1
0
0
4
29d5b14fd3105d36ff93d8344b20c6996fe20c67
146
py
Python
company/views.py
yankeecharlie/python-windows-2
477744d0482bec921951f90ff4a099798b364d22
[ "Apache-2.0" ]
null
null
null
company/views.py
yankeecharlie/python-windows-2
477744d0482bec921951f90ff4a099798b364d22
[ "Apache-2.0" ]
null
null
null
company/views.py
yankeecharlie/python-windows-2
477744d0482bec921951f90ff4a099798b364d22
[ "Apache-2.0" ]
4
2021-06-10T01:31:04.000Z
2022-03-23T16:29:33.000Z
from django.views import generic from django.utils import timezone class HomePageView(generic.TemplateView): template_name = 'site/home.html'
29.2
41
0.808219
19
146
6.157895
0.789474
0.17094
0
0
0
0
0
0
0
0
0
0
0.116438
146
5
42
29.2
0.906977
0
0
0
0
0
0.095238
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
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
4
29d793412d066714a26203dec0d35d5adbb0f4ea
156
py
Python
net_check.py
jpegleg/net-gargoyle2
5681063df9d1c64fe324b5b7caa57eccd2ee62b8
[ "MIT" ]
1
2021-01-20T23:51:42.000Z
2021-01-20T23:51:42.000Z
net_check.py
jpegleg/net-gargoyle2
5681063df9d1c64fe324b5b7caa57eccd2ee62b8
[ "MIT" ]
null
null
null
net_check.py
jpegleg/net-gargoyle2
5681063df9d1c64fe324b5b7caa57eccd2ee62b8
[ "MIT" ]
null
null
null
'''net_check.py imports the functions from net_gargoyle.py to print the gargoyle.db contents''' import net_gargoyle as netg netg.interact() netg.printdb()
26
95
0.788462
25
156
4.8
0.68
0.183333
0
0
0
0
0
0
0
0
0
0
0.115385
156
5
96
31.2
0.869565
0.570513
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
29d847eac55b298ef988e4546a0d4df7b10aab0c
178
py
Python
custom_components/thermal_comfort/__init__.py
ViPeR5000/thermal_comfort
4b9e26f94c04f346b8759035d392f6c14357fa8d
[ "MIT" ]
156
2019-04-11T09:22:26.000Z
2022-03-29T07:56:13.000Z
custom_components/thermal_comfort/__init__.py
ViPeR5000/thermal_comfort
4b9e26f94c04f346b8759035d392f6c14357fa8d
[ "MIT" ]
80
2019-06-13T21:11:58.000Z
2022-03-29T19:16:34.000Z
custom_components/thermal_comfort/__init__.py
ViPeR5000/thermal_comfort
4b9e26f94c04f346b8759035d392f6c14357fa8d
[ "MIT" ]
46
2019-06-14T15:22:16.000Z
2022-02-19T12:13:13.000Z
""" Custom integration to integrate thermal_comfort with Home Assistant. For more details about this integration, please refer to https://github.com/dolezsa/thermal_comfort """
25.428571
68
0.803371
24
178
5.875
0.833333
0.198582
0
0
0
0
0
0
0
0
0
0
0.117978
178
6
69
29.666667
0.898089
0.949438
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4b12df7e1689aca7b52938941d7392e6e1d67c37
276
py
Python
metadata/admin/eui_level_2.py
bmampaey/SDA
4cbe6fc699a6f0724a4801b3cedf4ab47ca08721
[ "MIT" ]
null
null
null
metadata/admin/eui_level_2.py
bmampaey/SDA
4cbe6fc699a6f0724a4801b3cedf4ab47ca08721
[ "MIT" ]
2
2021-07-06T12:14:40.000Z
2021-08-23T11:23:21.000Z
metadata/admin/eui_level_2.py
bmampaey/SDA
4cbe6fc699a6f0724a4801b3cedf4ab47ca08721
[ "MIT" ]
null
null
null
# Generated by command write_metadata_files version 1 from django.contrib import admin from metadata.models import EuiLevel2 from .base_metadata import BaseMetadataAdmin __all__ = ['EuiLevel2Admin'] @admin.register(EuiLevel2) class EuiLevel2Admin(BaseMetadataAdmin): pass
23
53
0.833333
32
276
6.96875
0.6875
0
0
0
0
0
0
0
0
0
0
0.020325
0.108696
276
11
54
25.090909
0.886179
0.184783
0
0
1
0
0.06278
0
0
0
0
0
0
1
0
false
0.142857
0.428571
0
0.571429
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
1
0
1
0
0
4
4b1431fdc560ef097a2d656672891e2d1d5d9fef
34
py
Python
src/wai/annotations/imgaug/isp/base/__init__.py
waikato-ufdl/wai-annotations-processors
9dcd5d421983cd717f738f54fcbae04ede2954d1
[ "Apache-2.0" ]
null
null
null
src/wai/annotations/imgaug/isp/base/__init__.py
waikato-ufdl/wai-annotations-processors
9dcd5d421983cd717f738f54fcbae04ede2954d1
[ "Apache-2.0" ]
2
2020-06-17T01:59:38.000Z
2020-06-17T02:03:06.000Z
src/wai/annotations/imgaug/isp/base/__init__.py
waikato-ufdl/wai-annotations-processors
9dcd5d421983cd717f738f54fcbae04ede2954d1
[ "Apache-2.0" ]
null
null
null
""" Package for base classes. """
8.5
25
0.617647
4
34
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
34
3
26
11.333333
0.75
0.735294
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4b1d9d4170d45e607e77a77895cc96b4b302fe91
173
py
Python
sysinfo/variables_data.py
Tech-Overlord/system-info
f1641505a368af640b394d8dfbf2bdd281561dfd
[ "BSD-2-Clause" ]
2
2018-10-09T05:09:54.000Z
2018-12-11T14:16:11.000Z
sysinfo/variables_data.py
darkwizard242/system-info
f1641505a368af640b394d8dfbf2bdd281561dfd
[ "BSD-2-Clause" ]
8
2018-07-29T20:30:50.000Z
2018-08-07T13:11:40.000Z
sysinfo/variables_data.py
Tech-Overlord/system-info
f1641505a368af640b394d8dfbf2bdd281561dfd
[ "BSD-2-Clause" ]
null
null
null
#! /usr/bin/env python3 # Defining data measurements bit = 0 or 1 byte = float(8) kilobyte = float(1024) megabyte = float(1024 * 1024) gigabyte = float(1024 * 1024 * 1024)
19.222222
36
0.693642
26
173
4.615385
0.692308
0.225
0.216667
0
0
0
0
0
0
0
0
0.197183
0.179191
173
8
37
21.625
0.647887
0.283237
0
0
0
0
0
0
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
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
4
d9b0394325a3cdc3b23d1a5f1a531c36c2b0fdac
197
py
Python
tests/proxy/models.py
emihir0/django-schema-graph
0c8280c035f47a7c736b8feb05d4dd1084b27979
[ "MIT" ]
316
2020-02-17T13:47:47.000Z
2022-03-29T20:25:36.000Z
tests/proxy/models.py
emihir0/django-schema-graph
0c8280c035f47a7c736b8feb05d4dd1084b27979
[ "MIT" ]
20
2020-02-23T07:59:36.000Z
2021-05-11T03:39:17.000Z
tests/proxy/models.py
emihir0/django-schema-graph
0c8280c035f47a7c736b8feb05d4dd1084b27979
[ "MIT" ]
11
2020-03-02T17:31:31.000Z
2022-03-17T05:55:50.000Z
from django.db import models class Target(models.Model): pass class ProxyNode2(Target): class Meta: proxy = True class ProxyNode(Target): class Meta: proxy = True
12.3125
28
0.64467
24
197
5.291667
0.583333
0.173228
0.23622
0.314961
0.377953
0
0
0
0
0
0
0.007042
0.279188
197
15
29
13.133333
0.887324
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.666667
0
1
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
1
0
0
0
0
0
4
d9beee877a589431fd60df1bd8b9fed2f2d183b4
29
py
Python
src/mhlib/l2/__init__.py
MarkHallett/mh
0be14875940f8d53003a430a322818f7e6a6669a
[ "MIT" ]
1
2019-03-13T23:45:07.000Z
2019-03-13T23:45:07.000Z
src/mhlib/l2/__init__.py
MarkHallett/mh
0be14875940f8d53003a430a322818f7e6a6669a
[ "MIT" ]
null
null
null
src/mhlib/l2/__init__.py
MarkHallett/mh
0be14875940f8d53003a430a322818f7e6a6669a
[ "MIT" ]
null
null
null
'''Description for l2 ...'''
14.5
28
0.551724
3
29
5.333333
1
0
0
0
0
0
0
0
0
0
0
0.04
0.137931
29
1
29
29
0.6
0.758621
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d9d1852c54d9d584ff7bb9ff3a556773e92206db
294
py
Python
plotly/graph_objs/mesh3d/__init__.py
gnestor/plotly.py
a8ae062795ddbf9867b8578fe6d9e244948c15ff
[ "MIT" ]
12
2020-04-18T18:10:22.000Z
2021-12-06T10:11:15.000Z
plotly/graph_objs/mesh3d/__init__.py
gnestor/plotly.py
a8ae062795ddbf9867b8578fe6d9e244948c15ff
[ "MIT" ]
27
2020-04-28T21:23:12.000Z
2021-06-25T15:36:38.000Z
plotly/graph_objs/mesh3d/__init__.py
gnestor/plotly.py
a8ae062795ddbf9867b8578fe6d9e244948c15ff
[ "MIT" ]
6
2020-04-18T23:07:08.000Z
2021-11-18T07:53:06.000Z
from ._stream import Stream from ._lightposition import Lightposition from ._lighting import Lighting from ._hoverlabel import Hoverlabel from plotly.graph_objs.mesh3d import hoverlabel from ._contour import Contour from ._colorbar import ColorBar from plotly.graph_objs.mesh3d import colorbar
32.666667
47
0.857143
38
294
6.421053
0.315789
0.131148
0.163934
0.155738
0.254098
0.254098
0
0
0
0
0
0.007634
0.108844
294
8
48
36.75
0.923664
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
d9df7a3da9e711b59d303829fde0eba8ffc9afe8
144
py
Python
steptst.py
MarkFang0093/HCI-class-project
329f341f0522a9416a4427aea308ddbe8595e4e8
[ "MIT" ]
null
null
null
steptst.py
MarkFang0093/HCI-class-project
329f341f0522a9416a4427aea308ddbe8595e4e8
[ "MIT" ]
null
null
null
steptst.py
MarkFang0093/HCI-class-project
329f341f0522a9416a4427aea308ddbe8595e4e8
[ "MIT" ]
null
null
null
from nanpy import Stepper from nanpy import Arduino motor = Stepper(100, 9 , 10, 1000) while True: motor.step(-10) Arduino.delay(1000)
18
34
0.708333
22
144
4.636364
0.636364
0.176471
0.294118
0
0
0
0
0
0
0
0
0.137931
0.194444
144
8
35
18
0.741379
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
d9e68a20fae42dbfd5ed1e60d369bd90721829e8
214
py
Python
Array/3.Access-items-using-index.py
manish1822510059/Python-1000-program
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
1
2021-03-06T03:33:42.000Z
2021-03-06T03:33:42.000Z
Array/3.Access-items-using-index.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
Array/3.Access-items-using-index.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
import array as arr numarr = arr.array('i',[10,20,30,40,50,60,70,80]) print("Array items at index 2 is :") print(numarr[2]) #print30 #Negative Indexing print('Array items at index 3 is :') print(numarr[-2])
26.75
50
0.672897
39
214
3.692308
0.615385
0.138889
0.208333
0.236111
0.305556
0
0
0
0
0
0
0.121547
0.154206
214
8
51
26.75
0.674033
0.11215
0
0
0
0
0.302198
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
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
1
0
4
d9e77564e47fe37c552bec3377bf364b57b0f8ec
147
py
Python
pycfdns/const.py
mikelduke/pycfdns
476cbe5830ed4c7b7bd71c55e28529677f3c9c24
[ "MIT" ]
null
null
null
pycfdns/const.py
mikelduke/pycfdns
476cbe5830ed4c7b7bd71c55e28529677f3c9c24
[ "MIT" ]
null
null
null
pycfdns/const.py
mikelduke/pycfdns
476cbe5830ed4c7b7bd71c55e28529677f3c9c24
[ "MIT" ]
null
null
null
"""Constants for pycfdns.""" BASE_URL = "https://api.cloudflare.com/client/v4/zones/{}" GET_EXT_IP_URL = "https://api.ipify.org/" NAME = "pycfdns"
29.4
58
0.693878
22
147
4.454545
0.818182
0.163265
0.22449
0
0
0
0
0
0
0
0
0.007407
0.081633
147
4
59
36.75
0.718519
0.14966
0
0
0
0
0.621849
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d9f1d10f4b8f2eb6fdfe7e267aea05cd240e1bf0
23
py
Python
graph-algos/BFS/bfs.py
mritunjaygoutam1/Smvdu-Algos
2becf98bde9ad0c828debb70be0f4217ea0ec1cf
[ "MIT" ]
21
2017-11-01T06:57:13.000Z
2021-04-26T12:59:16.000Z
graph-algos/BFS/bfs.py
mritunjaygoutam1/Smvdu-Algos
2becf98bde9ad0c828debb70be0f4217ea0ec1cf
[ "MIT" ]
85
2017-07-19T07:39:48.000Z
2018-08-08T05:27:09.000Z
graph-algos/BFS/bfs.py
mritunjaygoutam1/Smvdu-Algos
2becf98bde9ad0c828debb70be0f4217ea0ec1cf
[ "MIT" ]
73
2017-07-17T21:06:07.000Z
2019-03-06T11:43:34.000Z
//write your code here
11.5
22
0.73913
4
23
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
1
23
23
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
8a12729485f1a1d595d95a0e1bacb2edc3f9777f
39
py
Python
.history/ClassFiles/Python301/ObjectOrientatedProgramming/ErrorCatching/ErrorsExceptions_20210216163433.py
minefarmer/CompletePython
6de46e7ee29d9e4eaada60352c193f552afd6f15
[ "Unlicense" ]
null
null
null
.history/ClassFiles/Python301/ObjectOrientatedProgramming/ErrorCatching/ErrorsExceptions_20210216163433.py
minefarmer/CompletePython
6de46e7ee29d9e4eaada60352c193f552afd6f15
[ "Unlicense" ]
null
null
null
.history/ClassFiles/Python301/ObjectOrientatedProgramming/ErrorCatching/ErrorsExceptions_20210216163433.py
minefarmer/CompletePython
6de46e7ee29d9e4eaada60352c193f552afd6f15
[ "Unlicense" ]
null
null
null
try: total is except: ffin dyh
9.75
13
0.589744
6
39
3.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.358974
39
4
14
9.75
0.92
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
8a2a1f8a844b444d7e53d968a9cec14ee47ac5f1
1,676
py
Python
S4/S4 Library/simulation/cas/cas_stories_answer.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/cas/cas_stories_answer.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/cas/cas_stories_answer.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
import services import sims4 from aspirations.aspiration_tuning import AspirationTrack from cas.cas_stories_trait_chooser import CasStoriesTraitChooser from sims4.localization import TunableLocalizedStringFactory from sims4.tuning.instances import HashedTunedInstanceMetaclass from sims4.tuning.tunable import HasTunable...
128.923077
1,014
0.804893
192
1,676
6.911458
0.4375
0.027129
0.033911
0.033158
0.078372
0.078372
0.078372
0.078372
0
0
0
0.006156
0.127685
1,676
12
1,015
139.666667
0.901505
0
0
0
0
0.090909
0.274463
0
0
0
0
0
0
1
0
false
0
0.818182
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
8a359adba9f011835bf933e3f580bd2bc24d3001
192
py
Python
app/errors/__init__.py
Island-Daoist/CS50-Project
ab7b22212bb371fbdc20b92aa4539e4c56d36d50
[ "MIT" ]
null
null
null
app/errors/__init__.py
Island-Daoist/CS50-Project
ab7b22212bb371fbdc20b92aa4539e4c56d36d50
[ "MIT" ]
null
null
null
app/errors/__init__.py
Island-Daoist/CS50-Project
ab7b22212bb371fbdc20b92aa4539e4c56d36d50
[ "MIT" ]
null
null
null
""" Implement here. """ from flask import Blueprint bp = Blueprint('errors', __name__) # Module import located at bottom to avoid circular reference issues. from app.errors import handlers
17.454545
69
0.760417
25
192
5.68
0.8
0
0
0
0
0
0
0
0
0
0
0
0.15625
192
11
70
17.454545
0.876543
0.4375
0
0
0
0
0.059406
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
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
1
0
4
8a5aad1b1be32d3148a49df57587b9c473c80247
280
py
Python
src/proficiency/math/herons_formula/herons.py
joeltio/proficiency
68c52ffc79711aad94b607597d24a4a909a7cf47
[ "MIT" ]
null
null
null
src/proficiency/math/herons_formula/herons.py
joeltio/proficiency
68c52ffc79711aad94b607597d24a4a909a7cf47
[ "MIT" ]
null
null
null
src/proficiency/math/herons_formula/herons.py
joeltio/proficiency
68c52ffc79711aad94b607597d24a4a909a7cf47
[ "MIT" ]
null
null
null
# Python 3 import sys import math def semiperimeter(a, b, c): return (a + b + c)/2 def area_of_triangle(a, b, c): s = semiperimeter(a, b, c) return math.sqrt(s * (s - a) * (s - b) * (s - c)) a, b, c = [int(x) for x in sys.argv[1:]] print(area_of_triangle(a, b, c))
20
53
0.571429
56
280
2.785714
0.428571
0.076923
0.115385
0.205128
0.5
0.217949
0
0
0
0
0
0.014085
0.239286
280
13
54
21.538462
0.71831
0.028571
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0.111111
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
8a5df2c71131d989815010a996c8549c86d7a84b
1,485
py
Python
src/commercetools/importapi/models/_abstract.py
lime-green/commercetools-python-sdk
63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6
[ "MIT" ]
1
2021-04-07T20:01:30.000Z
2021-04-07T20:01:30.000Z
src/commercetools/platform/models/_abstract.py
lime-green/commercetools-python-sdk
63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6
[ "MIT" ]
null
null
null
src/commercetools/platform/models/_abstract.py
lime-green/commercetools-python-sdk
63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6
[ "MIT" ]
null
null
null
# Generated file, please do not change!!! class _BaseType: def __eq__(self, other): if other.__class__ is self.__class__: return self.__values__() == other.__values__() else: return NotImplemented def __ne__(self, other): result = self.__eq__(other) if ...
28.018868
74
0.579125
154
1,485
4.642857
0.24026
0.088112
0.076923
0.111888
0.601399
0.601399
0.601399
0.601399
0.601399
0.601399
0
0
0.318519
1,485
52
75
28.557692
0.706522
0.026263
0
0.414634
1
0
0.009003
0
0
0
0
0
0
1
0.219512
false
0
0
0.073171
0.609756
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
8a925d441986dcbe1c9fb724dcef8ca556f88c0f
171
py
Python
alberto_zaranza_python/exemplo_tipos_de_dados.py
albertozaranza/lp220172vacation
c031f8f305a3b54536f1204ed3d8f97ef87acd4f
[ "MIT" ]
null
null
null
alberto_zaranza_python/exemplo_tipos_de_dados.py
albertozaranza/lp220172vacation
c031f8f305a3b54536f1204ed3d8f97ef87acd4f
[ "MIT" ]
null
null
null
alberto_zaranza_python/exemplo_tipos_de_dados.py
albertozaranza/lp220172vacation
c031f8f305a3b54536f1204ed3d8f97ef87acd4f
[ "MIT" ]
null
null
null
a = int(input("Digite um numero: ")) b = int(input("Digite outro numero: ")) c = str(input("Digite uma frase: ")) print(a , b) a, b = b, a print(a, b) print(c, c.upper())
21.375
39
0.596491
32
171
3.1875
0.4375
0.323529
0.27451
0
0
0
0
0
0
0
0
0
0.175439
171
7
40
24.428571
0.723404
0
0
0.285714
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
8a9cae0c0d9c2f95532c2fc8713e6e5ce10a2ba0
92
py
Python
stripstream/pddl/__init__.py
nishadg246/stripstream-ivan-nishad
9a275ae5836ee289cd09cbe6bc0ff6fd4a381135
[ "MIT" ]
null
null
null
stripstream/pddl/__init__.py
nishadg246/stripstream-ivan-nishad
9a275ae5836ee289cd09cbe6bc0ff6fd4a381135
[ "MIT" ]
null
null
null
stripstream/pddl/__init__.py
nishadg246/stripstream-ivan-nishad
9a275ae5836ee289cd09cbe6bc0ff6fd4a381135
[ "MIT" ]
null
null
null
""" This package contains the source for a PDDL representation of a STRIPStream problem. """
30.666667
84
0.771739
13
92
5.461538
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.152174
92
3
85
30.666667
0.910256
0.913043
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
8ab199c3c2b997aeba40c8874ef806a8674f8b19
49
py
Python
Flask-todolist-Sqlite3-master/venv/lib/python3.6/tokenize.py
IncredibleDraco/MyScholar
272aafa33f7227d1bc0d937d046788cbabede453
[ "Apache-2.0" ]
null
null
null
Flask-todolist-Sqlite3-master/venv/lib/python3.6/tokenize.py
IncredibleDraco/MyScholar
272aafa33f7227d1bc0d937d046788cbabede453
[ "Apache-2.0" ]
null
null
null
Flask-todolist-Sqlite3-master/venv/lib/python3.6/tokenize.py
IncredibleDraco/MyScholar
272aafa33f7227d1bc0d937d046788cbabede453
[ "Apache-2.0" ]
1
2019-11-25T10:25:21.000Z
2019-11-25T10:25:21.000Z
/home/sheldon/anaconda3/lib/python3.6/tokenize.py
49
49
0.836735
8
49
5.125
1
0
0
0
0
0
0
0
0
0
0
0.061224
0
49
1
49
49
0.77551
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
8ab327b9473fde260a466493ed16fedc6f046d04
52
py
Python
server/launch/sample/main_machine/main_instance/experiment_javadummy/server_config.py
romainrossi/weblabdeusto
494f1cd291d03dcf1d2e8f3e36d3dbe2348b167f
[ "BSD-2-Clause" ]
15
2015-03-12T12:15:41.000Z
2021-12-20T17:53:24.000Z
server/launch/sample/main_machine/main_instance/experiment_javadummy/server_config.py
romainrossi/weblabdeusto
494f1cd291d03dcf1d2e8f3e36d3dbe2348b167f
[ "BSD-2-Clause" ]
44
2015-01-07T09:22:05.000Z
2017-01-31T22:44:21.000Z
server/launch/sample/main_machine/main_instance/experiment_javadummy/server_config.py
romainrossi/weblabdeusto
494f1cd291d03dcf1d2e8f3e36d3dbe2348b167f
[ "BSD-2-Clause" ]
22
2015-01-13T13:55:48.000Z
2021-12-16T17:07:00.000Z
#!/usr/bin/env python #-*-*- encoding: utf-8 -*-*-
13
28
0.519231
7
52
3.857143
1
0
0
0
0
0
0
0
0
0
0
0.022222
0.134615
52
3
29
17.333333
0.577778
0.903846
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
8ab6fe29396603a9e20c7274a282dc98997e891d
67
py
Python
common/colors.py
ShengyuH/PredateOverlap
770c3063399f08b3836935212ab4c84d355b4704
[ "MIT" ]
223
2020-03-13T02:03:05.000Z
2022-03-29T07:32:51.000Z
common/colors.py
ShengyuH/PredateOverlap
770c3063399f08b3836935212ab4c84d355b4704
[ "MIT" ]
31
2021-05-10T12:39:19.000Z
2022-03-27T03:07:45.000Z
common/colors.py
ShengyuH/PredateOverlap
770c3063399f08b3836935212ab4c84d355b4704
[ "MIT" ]
48
2020-03-15T22:36:28.000Z
2022-03-11T02:15:24.000Z
"""Useful color codes""" ORANGE = [239, 124, 0] BLUE = [0, 61, 124]
22.333333
24
0.58209
11
67
3.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0.236364
0.179104
67
3
25
22.333333
0.472727
0.268657
0
0
0
0
0
0
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
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
4
8ac65de12b72ff72eb2194887d4bd25a173e77a1
71
py
Python
termania/constants.py
techouse/termania-api
20404a7eb30b7bc42183e8047b8f696eb7b881ac
[ "MIT" ]
null
null
null
termania/constants.py
techouse/termania-api
20404a7eb30b7bc42183e8047b8f696eb7b881ac
[ "MIT" ]
null
null
null
termania/constants.py
techouse/termania-api
20404a7eb30b7bc42183e8047b8f696eb7b881ac
[ "MIT" ]
null
null
null
"""Termania.net API URI.""" BASE_URL = "https://api.termania.net/1.0/"
23.666667
42
0.647887
12
71
3.75
0.75
0.488889
0
0
0
0
0
0
0
0
0
0.030769
0.084507
71
2
43
35.5
0.661538
0.295775
0
0
0
0
0.659091
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
76f94975d1d84f5a5b07593bebd9301ca8860a8f
9,273
py
Python
ssda_nlp/xml_parser.py
slavesocieties/ssda-nlp
8764d2f928ca0fe4e5737fbea4dcd518b8b804f6
[ "MIT" ]
null
null
null
ssda_nlp/xml_parser.py
slavesocieties/ssda-nlp
8764d2f928ca0fe4e5737fbea4dcd518b8b804f6
[ "MIT" ]
21
2021-02-23T22:31:04.000Z
2022-01-27T22:51:18.000Z
ssda_nlp/xml_parser.py
slavesocieties/ssda-nlp
8764d2f928ca0fe4e5737fbea4dcd518b8b804f6
[ "MIT" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 12-ssda-xml-parser.ipynb (unless otherwise specified). __all__ = ['parse_xml', 'parse_xml_v2', 'xml_v2_to_json', 'retrieve_volume_metadata'] # Cell import pandas as pd # Cell def parse_xml(file_name): master_xml = open(file_name,"r",encoding='utf-8') vol_titls = []...
36.222656
137
0.528739
1,205
9,273
3.779253
0.087137
0.063241
0.055556
0.044796
0.764822
0.701581
0.683136
0.66513
0.650198
0.64383
0
0.011093
0.329235
9,273
256
138
36.222656
0.721061
0.031813
0
0.745455
1
0
0.061454
0.002677
0
0
0
0
0
1
0.018182
false
0
0.004545
0
0.040909
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0a0c56d673b1872c21ea43fcbc87d8bb4727e8c4
184
py
Python
flask_app/models/orders.py
Schneider-Alex/Barrel_Cru
c5a501dfd97af5c30287a3e771e86c13cc2d77dc
[ "MIT" ]
null
null
null
flask_app/models/orders.py
Schneider-Alex/Barrel_Cru
c5a501dfd97af5c30287a3e771e86c13cc2d77dc
[ "MIT" ]
null
null
null
flask_app/models/orders.py
Schneider-Alex/Barrel_Cru
c5a501dfd97af5c30287a3e771e86c13cc2d77dc
[ "MIT" ]
null
null
null
from flask_app.config.mysqlconnection import MySQLConnection, connectToMySQL from flask import flash, session, request from flask_app import app class Order: db ='Barrel_Cru'
26.285714
76
0.798913
24
184
6
0.625
0.1875
0.166667
0
0
0
0
0
0
0
0
0
0.152174
184
7
77
26.285714
0.923077
0
0
0
0
0
0.054054
0
0
0
0
0
0
1
0
false
0
0.6
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
1
0
0
4
0a24ee4705b6edbef985e50e8dcfe854ce1bcefe
154
py
Python
ch_05/task9.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
ch_05/task9.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
ch_05/task9.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
#!/usr/bin/env python ph = float(input('Enter pH value: ')) if ph < 3.0: print(ph, "is VERY acidic! Be careful.") elif ph < 7.0: print(ph, "is acidic")
17.111111
40
0.623377
29
154
3.310345
0.689655
0.125
0.166667
0.208333
0
0
0
0
0
0
0
0.031496
0.175325
154
8
41
19.25
0.724409
0.12987
0
0
0
0
0.393939
0
0
0
0
0
0
0
null
null
0
0
null
null
0.4
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
0a4ec87c6d91e939ebe3cbca12a971fcd430e6c4
72
py
Python
flask/Webapp/__init__.py
LvDunn/bilibili_leaderboard
54304dd000fd7bfe28f0756d543a191ef0a6d3ad
[ "MIT" ]
3
2019-05-23T01:43:09.000Z
2020-04-07T06:00:19.000Z
flask/Webapp/__init__.py
LvDunn/bilibili_leaderboard
54304dd000fd7bfe28f0756d543a191ef0a6d3ad
[ "MIT" ]
1
2020-08-12T20:28:13.000Z
2021-02-21T05:11:03.000Z
flask/Webapp/__init__.py
LyuDun/Flask_blog
54304dd000fd7bfe28f0756d543a191ef0a6d3ad
[ "MIT" ]
1
2019-12-31T07:56:16.000Z
2019-12-31T07:56:16.000Z
from flask import Flask app = Flask(__name__) from Webapp import views
14.4
24
0.791667
11
72
4.818182
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.166667
72
4
25
18
0.883333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
0a6fcd7cefbd00d54b5a23d81247f94cc70f60a2
103
py
Python
test_hello.py
diacobac/ansible_class
25bdc71789d4947ad98ef71f8ddfff848d06b822
[ "Apache-2.0" ]
null
null
null
test_hello.py
diacobac/ansible_class
25bdc71789d4947ad98ef71f8ddfff848d06b822
[ "Apache-2.0" ]
null
null
null
test_hello.py
diacobac/ansible_class
25bdc71789d4947ad98ef71f8ddfff848d06b822
[ "Apache-2.0" ]
null
null
null
print "Hello World!" print "Something Else" print "I need some help" for i in range (10): print i
11.444444
24
0.679612
18
103
3.888889
0.722222
0.171429
0
0
0
0
0
0
0
0
0
0.025
0.223301
103
8
25
12.875
0.85
0
0
0
0
0
0.407767
0
0
0
0
0
0
0
null
null
0
0
null
null
0.8
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
1
0
0
0
0
0
0
1
0
4
6a50b97cc740e3ae7b24f1965f7f699d7f2ac59e
31,709
py
Python
sdk/python/pulumi_azure_native/containerinstance/v20210701/container_group.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/containerinstance/v20210701/container_group.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/containerinstance/v20210701/container_group.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
50.492038
2,077
0.67555
3,314
31,709
6.22752
0.065178
0.087412
0.069968
0.033143
0.802161
0.730885
0.644733
0.506154
0.474319
0.427512
0
0.007728
0.212432
31,709
627
2,078
50.572568
0.818684
0.223186
0
0.418848
1
0
0.219314
0.13482
0
0
0
0
0
1
0.15445
false
0.002618
0.020942
0
0.277487
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6a5ed0737cf0f82dd6850bbf450df3d407a92cf1
358
py
Python
src/http_requests_viewer/templatetags/http_requests_viewer.py
tinnguyen18920/http-requests-viewer
9fc725d0caffe851e566aedf68a2916349dab4c6
[ "BSD-3-Clause" ]
null
null
null
src/http_requests_viewer/templatetags/http_requests_viewer.py
tinnguyen18920/http-requests-viewer
9fc725d0caffe851e566aedf68a2916349dab4c6
[ "BSD-3-Clause" ]
null
null
null
src/http_requests_viewer/templatetags/http_requests_viewer.py
tinnguyen18920/http-requests-viewer
9fc725d0caffe851e566aedf68a2916349dab4c6
[ "BSD-3-Clause" ]
1
2021-05-19T04:13:42.000Z
2021-05-19T04:13:42.000Z
from urllib.parse import urlparse, urljoin from django import template register = template.Library() @register.filter def hostname(url): """ """ return urlparse(url).hostname @register.filter def path(url): """ """ return urlparse(url).path @register.filter def clean_url(url): """ """ re...
17.9
44
0.673184
43
358
5.581395
0.395349
0.175
0.2125
0.166667
0
0
0
0
0
0
0
0
0.184358
358
20
44
17.9
0.821918
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.666667
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
1
0
0
0
0
1
0
0
4
6a81c9eb75660a684fd474a0681d4efd4ff10d5f
34
py
Python
urduhack/models/common/__init__.py
cinfotech94/urduhackk
44500cd6a78e1a7765bb4f7d6fb92bbb612b7b11
[ "MIT" ]
252
2018-08-20T16:16:45.000Z
2022-03-04T07:03:58.000Z
urduhack/models/common/__init__.py
cinfotech94/urduhackk
44500cd6a78e1a7765bb4f7d6fb92bbb612b7b11
[ "MIT" ]
111
2019-01-21T11:39:45.000Z
2021-09-30T07:26:50.000Z
urduhack/models/common/__init__.py
cinfotech94/urduhackk
44500cd6a78e1a7765bb4f7d6fb92bbb612b7b11
[ "MIT" ]
35
2019-02-09T14:29:36.000Z
2022-01-09T10:02:56.000Z
# coding: utf8 """Common Utils"""
11.333333
18
0.617647
4
34
5.25
1
0
0
0
0
0
0
0
0
0
0
0.034483
0.147059
34
2
19
17
0.689655
0.764706
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6a8f2cc6a73c92f92c3697aa9e93f33a83bf76ad
370
py
Python
solutions/python/find-missing-element.py
matthewvilhauer/code-problems
cd4b3bf62151824caf0d4cf1beff643b328aca91
[ "MIT" ]
1,461
2015-01-02T21:03:45.000Z
2022-03-26T05:06:31.000Z
solutions/python/find-missing-element.py
Akash1507/interview-with-python
b5ce31c8bdca754a76762d2734dcf494a302e487
[ "MIT" ]
32
2015-01-07T00:53:12.000Z
2020-04-19T14:53:45.000Z
solutions/python/find-missing-element.py
Akash1507/interview-with-python
b5ce31c8bdca754a76762d2734dcf494a302e487
[ "MIT" ]
520
2015-01-03T14:01:26.000Z
2022-03-26T05:07:00.000Z
"""finds the missing element in the shuffled list""" def difference_set(orig, shuffled): """finds the missing element using a set.""" return set(orig).difference(set(shuffled)).pop() def difference_iterative(orig, shuffled): """finds the missing element by iterating over the list""" for x in orig: ...
26.428571
62
0.67027
52
370
4.730769
0.442308
0.097561
0.182927
0.268293
0.276423
0.276423
0
0
0
0
0
0
0.224324
370
13
63
28.461538
0.857143
0.372973
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
0
0
1
0
0
4
6a978ad2ae8bbc74eded18a7de38e925911b2c13
111
py
Python
ansq/http/__init__.py
lig/ansq
ef734e143a2f982f92616611b1c7b2d7f0c4cc92
[ "MIT" ]
14
2020-05-22T22:54:04.000Z
2022-02-16T12:15:45.000Z
ansq/http/__init__.py
Ivashkaization/ansq
f89d0ad29fa067ab0169fdee2910aff58b65c790
[ "MIT" ]
31
2020-05-28T12:10:45.000Z
2022-03-31T04:39:48.000Z
ansq/http/__init__.py
Ivashkaization/ansq
f89d0ad29fa067ab0169fdee2910aff58b65c790
[ "MIT" ]
7
2020-05-28T10:40:03.000Z
2022-03-28T19:54:02.000Z
from .lookupd import NsqLookupd from .writer import NSQDHTTPWriter __all__ = ["NsqLookupd", "NSQDHTTPWriter"]
22.2
42
0.792793
11
111
7.636364
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.117117
111
4
43
27.75
0.857143
0
0
0
0
0
0.216216
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6acd761602722c04db90c43a119e3d79193ae711
204
py
Python
pysrc/log.py
uuosio/ipyeos
88d9f96954eabb38e9e5893ab6c0483aaa90140a
[ "MIT" ]
null
null
null
pysrc/log.py
uuosio/ipyeos
88d9f96954eabb38e9e5893ab6c0483aaa90140a
[ "MIT" ]
null
null
null
pysrc/log.py
uuosio/ipyeos
88d9f96954eabb38e9e5893ab6c0483aaa90140a
[ "MIT" ]
null
null
null
import logging logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(module)s %(lineno)d %(message)s') def get_logger(name): return logging.getLogger(name)
25.5
89
0.666667
26
204
5.192308
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.186275
204
7
90
29.142857
0.813253
0
0
0
0
0
0.289216
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
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
1
1
0
0
4
6adcb3942bfab9495a7ab051e6196eec55f838ae
1,983
py
Python
Server APP/epl/footballdata/models.py
seanjohn85/Premier-League
61c1406733e9c6fb282f8a4544a2f16cd6ff80a0
[ "MIT" ]
null
null
null
Server APP/epl/footballdata/models.py
seanjohn85/Premier-League
61c1406733e9c6fb282f8a4544a2f16cd6ff80a0
[ "MIT" ]
null
null
null
Server APP/epl/footballdata/models.py
seanjohn85/Premier-League
61c1406733e9c6fb282f8a4544a2f16cd6ff80a0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models import uuid # The uuid module # Create your models here. class Team(models.Model): code = models.UUIDField(primary_key=True, default=uuid.uuid4) name = models.CharField(max_len...
46.116279
84
0.643469
213
1,983
5.826291
0.338028
0.290089
0.402901
0.419017
0.443191
0.319098
0.143433
0.072522
0
0
0
0.025517
0.268785
1,983
43
85
46.116279
0.830345
0.031266
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.088235
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
1
0
0
4
6ae0d0a0f269dc7db2059744b9f30c62c8754342
60
py
Python
gxb/__init__.py
zjhmale/gxb.py
7bd352433916f5b92c34c2ec1c7092822243dd78
[ "MIT" ]
null
null
null
gxb/__init__.py
zjhmale/gxb.py
7bd352433916f5b92c34c2ec1c7092822243dd78
[ "MIT" ]
null
null
null
gxb/__init__.py
zjhmale/gxb.py
7bd352433916f5b92c34c2ec1c7092822243dd78
[ "MIT" ]
null
null
null
"""GXB API Python Wrapper .. moduleauthor:: ZHENG JIHUI """
15
29
0.683333
7
60
5.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.15
60
3
30
20
0.803922
0.866667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6ae2b3bd3a0737641f16a69ad276d358c435cc14
184
py
Python
Day 10/docstrings.py
Dheer08/Python-Projects
05d0e5e6613f924ab083e13f28a7a0446bd34434
[ "MIT" ]
null
null
null
Day 10/docstrings.py
Dheer08/Python-Projects
05d0e5e6613f924ab083e13f28a7a0446bd34434
[ "MIT" ]
null
null
null
Day 10/docstrings.py
Dheer08/Python-Projects
05d0e5e6613f924ab083e13f28a7a0446bd34434
[ "MIT" ]
null
null
null
import math def square_root(x): """ It gives the square root of a given number """ return math.sqrt(x) square_root(10) # Hold your cursor for a while on function name
23
64
0.673913
31
184
3.935484
0.774194
0.245902
0
0
0
0
0
0
0
0
0
0.014388
0.244565
184
8
64
23
0.863309
0.483696
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
0a812ac4988ac32e6a27d7922ce293f984099730
109
py
Python
learning/PicoScope/picosdk-python-examples-master/picosdk-python-examples-master/picosdk/__init__.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
20
2017-05-11T14:00:21.000Z
2022-03-15T06:11:53.000Z
learning/PicoScope/picosdk-python-examples-master/picosdk-python-examples-master/picosdk/__init__.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
13
2017-09-01T06:44:13.000Z
2018-09-14T16:08:27.000Z
learning/PicoScope/picosdk-python-examples-master/picosdk-python-examples-master/picosdk/__init__.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
17
2017-09-01T06:25:36.000Z
2022-03-15T06:11:54.000Z
# # Copyright (C) 2014-2017 Pico Technology Ltd. See LICENSE file for terms. # """ Initialisation script. """
18.166667
74
0.706422
14
109
5.5
1
0
0
0
0
0
0
0
0
0
0
0.086957
0.155963
109
6
75
18.166667
0.75
0.880734
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0a81fe2c4e26aa2eb3b5a69c7f4e109fd1cf6552
30,001
py
Python
slowfast/models/video_model_builder.py
Finspire13/SlowFast
4ba356753dfbe04ec06b9aafb11d33ff17340170
[ "Apache-2.0" ]
null
null
null
slowfast/models/video_model_builder.py
Finspire13/SlowFast
4ba356753dfbe04ec06b9aafb11d33ff17340170
[ "Apache-2.0" ]
null
null
null
slowfast/models/video_model_builder.py
Finspire13/SlowFast
4ba356753dfbe04ec06b9aafb11d33ff17340170
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """Video models.""" import math import torch import torch.nn as nn import slowfast.utils.weight_init_helper as init_helper from slowfast.models.batchnorm_helper import get_norm from . import head_helper, resnet_helper, st...
36.856265
83
0.551982
3,619
30,001
4.330202
0.096159
0.03331
0.041478
0.022972
0.777359
0.746474
0.716993
0.707038
0.688724
0.648714
0
0.03161
0.340955
30,001
813
84
36.901599
0.760975
0.147462
0
0.631579
0
0
0.011104
0
0
0
0
0
0.015949
1
0.020734
false
0
0.011164
0
0.051037
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0aa0657e314ac2828ad5de383fb2c85a260bf2d1
307
py
Python
saleor/payment/gateways/mercadopago/utils.py
facundon/Cholitas-Backend
4d73e0697a6b6fc61b82b72ff1c99b2eabe8f4c6
[ "CC-BY-4.0" ]
null
null
null
saleor/payment/gateways/mercadopago/utils.py
facundon/Cholitas-Backend
4d73e0697a6b6fc61b82b72ff1c99b2eabe8f4c6
[ "CC-BY-4.0" ]
null
null
null
saleor/payment/gateways/mercadopago/utils.py
facundon/Cholitas-Backend
4d73e0697a6b6fc61b82b72ff1c99b2eabe8f4c6
[ "CC-BY-4.0" ]
null
null
null
from decimal import Decimal def get_error_response(amount: Decimal, **additional_kwargs) -> dict: """Create a placeholder response for invalid or failed requests. It is used to generate a failed transaction object. """ return {"is_success": False, "amount": amount, **additional_kwargs}
27.909091
71
0.726384
39
307
5.589744
0.74359
0.146789
0
0
0
0
0
0
0
0
0
0
0.179153
307
10
72
30.7
0.865079
0.371336
0
0
1
0
0.090395
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
1
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
0aa39b5c8f052c54b37a09b6f1710195cf5e9c03
125
py
Python
vnegmas/backend/src/pyecharts/__init__.py
YueNing/vnegmas
e95adc56ee9aab8d6cd6f28cce04383e199dc2b8
[ "MIT" ]
3
2019-06-29T11:40:29.000Z
2019-09-07T02:15:09.000Z
vnegmas/backend/src/pyecharts/__init__.py
YueNing/vnegmas
e95adc56ee9aab8d6cd6f28cce04383e199dc2b8
[ "MIT" ]
null
null
null
vnegmas/backend/src/pyecharts/__init__.py
YueNing/vnegmas
e95adc56ee9aab8d6cd6f28cce04383e199dc2b8
[ "MIT" ]
null
null
null
from . import charts, commons, components, datasets, options, render, scaffold from ._version import __author__, __version__
41.666667
78
0.808
14
125
6.571429
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.12
125
2
79
62.5
0.836364
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
0aa7dd3be7ff0fdc821d4b9b882ac995d3ce4d29
50
py
Python
python/8Kyu/No Loops 2 - You only need one.py
athasv/Codewars-data
5e106466e709fd776f23585ad9f652d0d65b48d3
[ "MIT" ]
null
null
null
python/8Kyu/No Loops 2 - You only need one.py
athasv/Codewars-data
5e106466e709fd776f23585ad9f652d0d65b48d3
[ "MIT" ]
null
null
null
python/8Kyu/No Loops 2 - You only need one.py
athasv/Codewars-data
5e106466e709fd776f23585ad9f652d0d65b48d3
[ "MIT" ]
null
null
null
def check(a, x): return True if x in a else False
25
33
0.7
12
50
2.916667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.22
50
2
33
25
0.897436
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
0ab2ec57fa7b635635215f227e623e12450ca796
173
py
Python
mongodb_play/test_bottle.py
atishbits/101
4b4a8e56d82fe2706f065ded7877deebe8f6164f
[ "MIT" ]
8
2015-06-07T13:25:48.000Z
2022-03-22T23:14:50.000Z
mongodb_play/test_bottle.py
atishbits/101
4b4a8e56d82fe2706f065ded7877deebe8f6164f
[ "MIT" ]
30
2016-01-29T01:36:41.000Z
2018-09-19T07:01:22.000Z
mongodb_play/test_bottle.py
atishbits/101
4b4a8e56d82fe2706f065ded7877deebe8f6164f
[ "MIT" ]
9
2021-03-27T23:45:03.000Z
2022-03-29T19:00:50.000Z
from bottle import route, run, template @route('/hello/<name>') def index(name): return template('<b>Hello {{name}}</b>!', name=name) run(host='localhost', port=8080)
21.625
56
0.66474
25
173
4.6
0.64
0.156522
0
0
0
0
0
0
0
0
0
0.026316
0.121387
173
7
57
24.714286
0.730263
0
0
0
0
0
0.254335
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
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
1
1
0
0
4
0ac9a71f01a3cc3e84ac20f8b44a9c99aac2568b
158
py
Python
core/views.py
MrEscape54/Django_Blueprint
07238be5944d1ed2ad07bb11fbcb1f43c8f0c91c
[ "MIT" ]
null
null
null
core/views.py
MrEscape54/Django_Blueprint
07238be5944d1ed2ad07bb11fbcb1f43c8f0c91c
[ "MIT" ]
6
2021-03-19T02:12:55.000Z
2022-01-13T02:39:00.000Z
core/views.py
MrEscape54/Django_Blueprint
07238be5944d1ed2ad07bb11fbcb1f43c8f0c91c
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic import TemplateView class IndexView(TemplateView): template_name = "core/index.html"
19.75
45
0.778481
19
158
6.421053
0.789474
0.163934
0
0
0
0
0
0
0
0
0
0
0.151899
158
7
46
22.571429
0.910448
0
0
0
0
0
0.096154
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
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
4
0ad25a541dcad9fb5132097a7130144094bf3711
854
py
Python
netbox/netbox/graphql/__init__.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
1
2021-12-09T13:41:46.000Z
2021-12-09T13:41:46.000Z
netbox/netbox/graphql/__init__.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
null
null
null
netbox/netbox/graphql/__init__.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
1
2022-02-07T20:36:31.000Z
2022-02-07T20:36:31.000Z
import graphene from graphene_django.converter import convert_django_field from taggit.managers import TaggableManager from dcim.fields import MACAddressField, WWNField from ipam.fields import IPAddressField, IPNetworkField @convert_django_field.register(TaggableManager) def convert_field_to_tags_list(field, registr...
35.583333
81
0.833724
106
854
6.481132
0.40566
0.112082
0.157205
0.189229
0.116448
0
0
0
0
0
0
0.002594
0.09719
854
23
82
37.130435
0.888457
0.163934
0
0
0
0
0
0
0
0
0
0.043478
0
1
0.142857
false
0
0.357143
0.071429
0.642857
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
1
0
0
0
0
0
1
0
1
0
0
4
0adff64f5e4f6a29c7a6d5cfef1e0b89a3b2f13e
28
py
Python
proselint/checks/typography/__init__.py
kerri-hicks/proselint
12efe888042703ba409b51de660ed423622b2ad2
[ "BSD-3-Clause" ]
4,163
2015-10-03T07:37:21.000Z
2022-03-31T03:52:32.000Z
proselint/checks/typography/__init__.py
kerri-hicks/proselint
12efe888042703ba409b51de660ed423622b2ad2
[ "BSD-3-Clause" ]
878
2015-09-30T20:03:33.000Z
2022-03-28T11:06:15.000Z
proselint/checks/typography/__init__.py
kerri-hicks/proselint
12efe888042703ba409b51de660ed423622b2ad2
[ "BSD-3-Clause" ]
249
2015-10-04T12:21:27.000Z
2022-02-28T22:13:11.000Z
"""Advice on typography."""
14
27
0.642857
3
28
6
1
0
0
0
0
0
0
0
0
0
0
0
0.107143
28
1
28
28
0.72
0.75
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0aef59c2190f654caef9b4b097cac9bdc04084df
201
py
Python
caffeflow/errors.py
xmartlabs/caffe-tensorflow
4618f89c8ae60cffbc0ffd991a8cb984acc3a164
[ "MIT" ]
1
2019-11-15T14:42:17.000Z
2019-11-15T14:42:17.000Z
caffeflow/errors.py
xmartlabs/caffe-tensorflow
4618f89c8ae60cffbc0ffd991a8cb984acc3a164
[ "MIT" ]
null
null
null
caffeflow/errors.py
xmartlabs/caffe-tensorflow
4618f89c8ae60cffbc0ffd991a8cb984acc3a164
[ "MIT" ]
16
2017-08-02T10:29:06.000Z
2021-11-14T23:05:00.000Z
from __future__ import absolute_import, division, print_function, unicode_literals import sys class KaffeError(Exception): pass def print_stderr(msg): sys.stderr.write('{}\n'.format(msg))
16.75
82
0.756219
26
201
5.538462
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.139303
201
11
83
18.272727
0.83237
0
0
0
0
0
0.019901
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.666667
0.333333
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
1
1
0
1
0
0
4
7c0e2f53755a13097dec3fd6bdb3a3feaa1dde56
440
py
Python
test/test_crunchbase.py
hackerlist/crunchbase
07083b9221a7c40d02ed73bda213aed2394e2d72
[ "Apache-2.0" ]
6
2017-08-04T18:31:30.000Z
2021-06-21T20:56:01.000Z
test/test_crunchbase.py
hackerlist/crunchbase
07083b9221a7c40d02ed73bda213aed2394e2d72
[ "Apache-2.0" ]
null
null
null
test/test_crunchbase.py
hackerlist/crunchbase
07083b9221a7c40d02ed73bda213aed2394e2d72
[ "Apache-2.0" ]
1
2016-07-20T20:45:57.000Z
2016-07-20T20:45:57.000Z
#-*- coding: utf-8 -*- """ crunchbase.test ~~~~~~~~~~~~~~~ Test cases for the crunchbase api """ import unittest import os from crunchbase import Crunchbase TEST_API_KEY = 'dr66y8dsr72hct67pmd6xqqf' class TestCrunchbase(unittest.TestCase): def test_connection(self): cb = Crunchbase(TES...
17.6
41
0.654545
50
440
5.58
0.5
0.200717
0.182796
0.215054
0.18638
0.18638
0
0
0
0
0
0.026163
0.218182
440
24
42
18.333333
0.784884
0.2
0
0.2
0
0
0.102719
0.072508
0
0
0
0
0
1
0.2
false
0
0.3
0
0.6
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
1
0
0
4
7c469b493070bf2a90ff9101666c249f84db7fff
295
py
Python
misc/keep-mouse-moving/move.py
alexhanl/utilities
2d312cdc8231b62590436adb2f284885a2b67317
[ "Apache-2.0" ]
null
null
null
misc/keep-mouse-moving/move.py
alexhanl/utilities
2d312cdc8231b62590436adb2f284885a2b67317
[ "Apache-2.0" ]
null
null
null
misc/keep-mouse-moving/move.py
alexhanl/utilities
2d312cdc8231b62590436adb2f284885a2b67317
[ "Apache-2.0" ]
null
null
null
import pyautogui, time while True: # pyautogui.moveRel(1, 1, duration=0) # print(pyautogui.position()) # time.sleep(10) # pyautogui.moveRel(-1, -1, duration=0) # print(pyautogui.position()) # time.sleep(10) pyautogui.click() print('clicked') time.sleep(60)
21.071429
43
0.627119
36
295
5.138889
0.444444
0.145946
0.183784
0.194595
0.697297
0.697297
0.697297
0.697297
0.697297
0.697297
0
0.051502
0.210169
295
13
44
22.692308
0.742489
0.538983
0
0
0
0
0.054264
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
0
0
0
null
0
1
1
0
0
0
0
0
1
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
4
7c5bdb761be486337931c886ae2af42746bc47f8
349
py
Python
sleekxmpp/plugins/xep_0092/__init__.py
calendar42/SleekXMPP--XEP-0080-
d7bd5fd29f26a5d7de872a49ff63a353b8043e49
[ "BSD-3-Clause" ]
1
2019-04-12T12:20:12.000Z
2019-04-12T12:20:12.000Z
sleekxmpp/plugins/xep_0092/__init__.py
vijayp/SleekXMPP
b2e7f57334d27f140f079213c2016615b7168742
[ "BSD-3-Clause" ]
null
null
null
sleekxmpp/plugins/xep_0092/__init__.py
vijayp/SleekXMPP
b2e7f57334d27f140f079213c2016615b7168742
[ "BSD-3-Clause" ]
1
2020-05-06T18:46:53.000Z
2020-05-06T18:46:53.000Z
""" SleekXMPP: The Sleek XMPP Library Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout This file is part of SleekXMPP. See the file LICENSE for copying permission. """ from sleekxmpp.plugins.xep_0092 import stanza from sleekxmpp.plugins.xep_0092.stanza import Version from sleekxmpp.plugins.xep_...
29.083333
59
0.765043
52
349
5.057692
0.596154
0.106464
0.228137
0.262357
0.307985
0
0
0
0
0
0
0.068966
0.169054
349
11
60
31.727273
0.837931
0.47851
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
7c5cee0aadba6598aee00f2b6cb5a76cadbf0ead
208,085
py
Python
apps/oozie/src/oozie/tests.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
3
2018-01-29T14:16:02.000Z
2019-02-05T21:33:05.000Z
apps/oozie/src/oozie/tests.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
1
2019-05-06T15:32:21.000Z
2019-05-06T15:32:21.000Z
apps/oozie/src/oozie/tests.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
2
2019-12-05T17:24:36.000Z
2021-11-22T21:21:32.000Z
#!/usr/bin/env python ## -*- coding: utf-8 -*- # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 ...
51.076338
13,870
0.646659
26,610
208,085
4.895641
0.048365
0.040876
0.02223
0.036385
0.794025
0.755076
0.726866
0.690895
0.667306
0.644938
0.00001
0.037637
0.161093
208,085
4,073
13,871
51.088878
0.708628
0.022106
0
0.562706
0
0.019802
0.406389
0.183269
0
0
0
0.000491
0.192409
1
0.062376
false
0.00231
0.029373
0.00396
0.113861
0.00033
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7ca30a8485818a98a5be22578dc2913c6c206c6b
1,025
py
Python
src/compas_fab_pychoreo/backend_features/frame_variant_generator.py
yijiangh/compas_fab_pychoreo
42a03c85331f6bab9383e162c62b099a34593d5f
[ "MIT" ]
1
2022-01-14T02:19:50.000Z
2022-01-14T02:19:50.000Z
src/compas_fab_pychoreo/backend_features/frame_variant_generator.py
yijiangh/compas_fab_pychoreo
42a03c85331f6bab9383e162c62b099a34593d5f
[ "MIT" ]
2
2020-09-17T14:12:56.000Z
2022-01-28T13:29:21.000Z
src/compas_fab_pychoreo/backend_features/frame_variant_generator.py
yijiangh/compas_fab_pychoreo
42a03c85331f6bab9383e162c62b099a34593d5f
[ "MIT" ]
null
null
null
from abc import ABCMeta from abc import abstractmethod class FrameVariantGenerator(object): """Interface for a Planner's frame variation generation feature. Any implementation of ``FrameVariantGenerator`` must define the method ``generate_frame_variant``. The ``__call__`` magic method allows an instance ...
31.060606
91
0.665366
109
1,025
6.018349
0.59633
0.079268
0.121951
0.060976
0
0
0
0
0
0
0
0.001266
0.229268
1,025
32
92
32.03125
0.829114
0.555122
0
0
0
0
0
0
0
0
0
0.03125
0
1
0.222222
false
0
0.222222
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
7cbf8ae013a40b309ead33a425a761a54de1eaa4
266
py
Python
mmdet/models/bbox_heads/__init__.py
XDUNZC/mmdetection_coco
366777bdd40cd5d92a1e165bf20e6e062913f875
[ "Apache-2.0" ]
null
null
null
mmdet/models/bbox_heads/__init__.py
XDUNZC/mmdetection_coco
366777bdd40cd5d92a1e165bf20e6e062913f875
[ "Apache-2.0" ]
null
null
null
mmdet/models/bbox_heads/__init__.py
XDUNZC/mmdetection_coco
366777bdd40cd5d92a1e165bf20e6e062913f875
[ "Apache-2.0" ]
null
null
null
from .bbox_head import BBoxHead from .convfc_bbox_head import ConvFCBBoxHead, SharedFCBBoxHead, FeatureHead from .double_bbox_head import DoubleConvFCBBoxHead __all__ = [ 'BBoxHead', 'ConvFCBBoxHead', 'SharedFCBBoxHead', 'DoubleConvFCBBoxHead', 'FeatureHead' ]
33.25
91
0.81203
25
266
8.28
0.48
0.115942
0.202899
0
0
0
0
0
0
0
0
0
0.105263
266
7
92
38
0.869748
0
0
0
0
0
0.259399
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
7cd629c04e096678ac56f3b8fad90dbd6a8baa04
59
py
Python
opfython/utils/__init__.py
gugarosa/opfython
19b467a92d85c7c26d231efec770645096827b4e
[ "Apache-2.0" ]
26
2018-04-24T20:16:18.000Z
2022-03-09T14:03:28.000Z
opfython/utils/__init__.py
gugarosa/opfython
19b467a92d85c7c26d231efec770645096827b4e
[ "Apache-2.0" ]
4
2020-12-26T14:57:18.000Z
2022-03-30T02:34:18.000Z
opfython/utils/__init__.py
gugarosa/opfython
19b467a92d85c7c26d231efec770645096827b4e
[ "Apache-2.0" ]
16
2019-05-20T15:41:56.000Z
2022-03-23T17:59:53.000Z
"""An utility package for all common opfython modules. """
19.666667
54
0.728814
8
59
5.375
1
0
0
0
0
0
0
0
0
0
0
0
0.152542
59
2
55
29.5
0.86
0.864407
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7cfa9c26b22bb74ba1fa52a749d368fdfa1707b4
165
py
Python
examples/pywapi-yahoo-example.py
billmeyer/pywapi-0.3.8
f7ce3246dfbf2a07c051d9ae4245016c9ba54a0e
[ "MIT" ]
1
2016-07-30T20:45:53.000Z
2016-07-30T20:45:53.000Z
examples/pywapi-yahoo-example.py
billmeyer/pywapi-0.3.8
f7ce3246dfbf2a07c051d9ae4245016c9ba54a0e
[ "MIT" ]
13
2016-04-09T17:47:18.000Z
2016-04-09T17:47:18.000Z
examples/pywapi-yahoo-example.py
billmeyer/pywapi-0.3.8
f7ce3246dfbf2a07c051d9ae4245016c9ba54a0e
[ "MIT" ]
1
2020-05-24T19:10:39.000Z
2020-05-24T19:10:39.000Z
#!/usr/bin/env python import pywapi import pprint pp = pprint.PrettyPrinter(indent=4) result = pywapi.get_weather_from_yahoo('10001', 'metric') pp.pprint(result)
16.5
57
0.763636
24
165
5.125
0.75
0.130081
0
0
0
0
0
0
0
0
0
0.040541
0.10303
165
9
58
18.333333
0.790541
0.121212
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.6
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
1
0
4
6b1e315ab28a556774fcf18425377db79a32c459
97
py
Python
onlineclass/apps.py
ssoumyajit/imgapi2
b2129f1d35d55e093a3d96272686ac25ea2cf7bb
[ "MIT" ]
null
null
null
onlineclass/apps.py
ssoumyajit/imgapi2
b2129f1d35d55e093a3d96272686ac25ea2cf7bb
[ "MIT" ]
null
null
null
onlineclass/apps.py
ssoumyajit/imgapi2
b2129f1d35d55e093a3d96272686ac25ea2cf7bb
[ "MIT" ]
null
null
null
from django.apps import AppConfig class OnlineclassConfig(AppConfig): name = 'onlineclass'
16.166667
35
0.773196
10
97
7.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
5
36
19.4
0.914634
0
0
0
0
0
0.113402
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
1
0
0
4
6b26f277e6150281a82a76cb47d648a74b2f254e
496
py
Python
home/hairygael/GESTURES/beforehappy.py
rv8flyboy/pyrobotlab
4e04fb751614a5cb6044ea15dcfcf885db8be65a
[ "Apache-2.0" ]
63
2015-02-03T18:49:43.000Z
2022-03-29T03:52:24.000Z
home/hairygael/GESTURES/beforehappy.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
16
2016-01-26T19:13:29.000Z
2018-11-25T21:20:51.000Z
home/hairygael/GESTURES/beforehappy.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
151
2015-01-03T18:55:54.000Z
2022-03-04T07:04:23.000Z
def beforehappy(): i01.setHandSpeed("left", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 0.85, 0.85, 0.85, 1.0) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setHeadSpeed(0.65, 0.65) i01.moveHead(84,88) ...
38.153846
63
0.542339
96
496
2.802083
0.34375
0.126394
0.144981
0.193309
0.182156
0.182156
0.182156
0.182156
0.182156
0.111524
0
0.295812
0.229839
496
12
64
41.333333
0.408377
0
0
0
0
0
0.072727
0
0
0
0
0
0
1
0.090909
true
0
0
0
0.090909
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6b4249890070025375cb208e8f4daa9bc502c67f
102
py
Python
tests/wasp1/AllAnswerSets/choice_4.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/wasp1/AllAnswerSets/choice_4.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/wasp1/AllAnswerSets/choice_4.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ a v b :- w(X). w(1) v w(2). """ output = """ {a, w(1)} {a, w(2)} {b, w(1)} {b, w(2)} """
8.5
14
0.323529
24
102
1.375
0.375
0.181818
0
0
0
0
0
0
0
0
0
0.077922
0.245098
102
11
15
9.272727
0.350649
0
0
0.2
0
0
0.686275
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8611d9874186cd0dc8e6d4d9e7b4c61e44069051
254
py
Python
common/mylog.py
emaste-r/doctor_spider
7527fb3010dbe1f52f4455d512080a094a62fa7b
[ "MIT" ]
null
null
null
common/mylog.py
emaste-r/doctor_spider
7527fb3010dbe1f52f4455d512080a094a62fa7b
[ "MIT" ]
null
null
null
common/mylog.py
emaste-r/doctor_spider
7527fb3010dbe1f52f4455d512080a094a62fa7b
[ "MIT" ]
null
null
null
# coding=utf-8 # # 导入配置 # cur_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) # logger_conf_path = os.path.join(cur_dir, './conf/logger.conf') # fileConfig(logger_conf_path) # # # 全局logger # logger = logging.getLogger("spiderLogger")
25.4
72
0.724409
36
254
4.833333
0.527778
0.137931
0.149425
0.172414
0.183908
0
0
0
0
0
0
0.004367
0.098425
254
9
73
28.222222
0.755459
0.92126
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
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
861fd0b7aa63b523e71037b733ab0fa2df457fb3
175
py
Python
class_0604/class_1.py
diaosi168/Test-demo
e09ca45a7cd1b898da13ef07ab3ac0598c7fafe1
[ "Apache-2.0" ]
null
null
null
class_0604/class_1.py
diaosi168/Test-demo
e09ca45a7cd1b898da13ef07ab3ac0598c7fafe1
[ "Apache-2.0" ]
null
null
null
class_0604/class_1.py
diaosi168/Test-demo
e09ca45a7cd1b898da13ef07ab3ac0598c7fafe1
[ "Apache-2.0" ]
null
null
null
str_1='hello pyhton' print(str_1[1],(str_1[4])) print(str_1) print(str_1[1:5]) print(str_1[2:]) print(str_1[4]) print(str_1*2) print('hello\npyhton') print(r'hello\npyhton')
15.909091
26
0.702857
38
175
3.026316
0.263158
0.278261
0.469565
0.173913
0.426087
0.243478
0
0
0
0
0
0.091463
0.062857
175
10
27
17.5
0.609756
0
0
0
0
0
0.218391
0
0
0
0
0
0
1
0
false
0
0
0
0
0.888889
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
1
0
4
863fe9745d29339c9e66a0731c6a20bf186376aa
239
py
Python
12_module_basic/16_controller/moda.py
hemuke/python
bc99f2b5aee997083ae31f59a2b33db48c8255f3
[ "Apache-2.0" ]
null
null
null
12_module_basic/16_controller/moda.py
hemuke/python
bc99f2b5aee997083ae31f59a2b33db48c8255f3
[ "Apache-2.0" ]
null
null
null
12_module_basic/16_controller/moda.py
hemuke/python
bc99f2b5aee997083ae31f59a2b33db48c8255f3
[ "Apache-2.0" ]
null
null
null
from mod import * print(v) print(f()) print(MyClass) try: print(_v) except Exception: print(Exception) try: print(_f()) except Exception: print(Exception) try: print(_MyClass) except Exception: print(Exception)
11.380952
20
0.669456
30
239
5.233333
0.333333
0.152866
0.382166
0.55414
0.471338
0.471338
0
0
0
0
0
0
0.209205
239
20
21
11.95
0.830688
0
0
0.5625
0
0
0
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0.5625
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
1
0
4
8663c99dbcafd8cce30dbe3079becda778e29e3b
3,848
py
Python
tests/indicators/test_macd.py
huxuan/slothstock
24795be790fc741908c7d0a21bf40ec88b689496
[ "MIT" ]
4
2020-03-11T16:32:22.000Z
2021-12-19T14:37:49.000Z
tests/indicators/test_macd.py
huxuan/slothstock
24795be790fc741908c7d0a21bf40ec88b689496
[ "MIT" ]
null
null
null
tests/indicators/test_macd.py
huxuan/slothstock
24795be790fc741908c7d0a21bf40ec88b689496
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Unittests for MACD. File: test_macd.py Author: huxuan Email: i(at)huxuan.org """ from datetime import datetime import unittest from slothstock.indicators import MACD from slothstock.providers import XueQiu class TestMACD(unittest.TestCase): """Unittests for MACD...
35.962617
74
0.635655
496
3,848
4.832661
0.143145
0.060075
0.082603
0.12015
0.818523
0.775136
0.775136
0.673759
0.509387
0.49854
0
0.046606
0.230509
3,848
106
75
36.301887
0.762918
0.154106
0
0.630137
0
0
0.037919
0
0
0
0
0
0.410959
1
0.136986
false
0
0.054795
0
0.205479
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
1
0
0
0
0
0
0
0
0
0
4
867267cbcf540b4755cf64c72c28bd3e0aefc03f
293,343
py
Python
dialogflow_v2beta1/proto/intent_pb2.py
gertventer1970/dialogflow-python-client-v2
e78b0e6765f94fb9ecbbc72c9fc30ce7245703e2
[ "Apache-2.0" ]
1
2020-10-14T07:43:19.000Z
2020-10-14T07:43:19.000Z
dialogflow_v2beta1/proto/intent_pb2.py
everydaycodings/dialogflow-python-client-v2
c1c925d94726f49e549870e087ad79ee491056e2
[ "Apache-2.0" ]
null
null
null
dialogflow_v2beta1/proto/intent_pb2.py
everydaycodings/dialogflow-python-client-v2
c1c925d94726f49e549870e087ad79ee491056e2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dialogflow_v2beta1/proto/intent.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import m...
39.1124
21,583
0.628732
29,757
293,343
5.891185
0.048022
0.061254
0.062623
0.078583
0.783114
0.738973
0.686624
0.642204
0.610665
0.557118
0
0.0362
0.280075
293,343
7,499
21,584
39.117616
0.793896
0.020355
0
0.716151
1
0.004124
0.292588
0.147589
0
0
0
0
0
1
0
false
0
0.002199
0
0.002199
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
867a626da4bbc18d401598b6f188faad656b4821
228
py
Python
pagina/admin.py
jffc-dev/Python-Django-Tecshop
c26ab6da20eca0483b900d253eacc37d2e8b1f26
[ "MIT" ]
null
null
null
pagina/admin.py
jffc-dev/Python-Django-Tecshop
c26ab6da20eca0483b900d253eacc37d2e8b1f26
[ "MIT" ]
null
null
null
pagina/admin.py
jffc-dev/Python-Django-Tecshop
c26ab6da20eca0483b900d253eacc37d2e8b1f26
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Banner,Slide, Plantilla # Register your models here. admin.site.register(Banner) admin.site.register(Slide) admin.site.register(Plantilla) admin.site.site_header = 'TECSHOP'
25.333333
43
0.807018
32
228
5.71875
0.46875
0.196721
0.278689
0
0
0
0
0
0
0
0
0
0.092105
228
9
44
25.333333
0.884058
0.114035
0
0
0
0
0.034826
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
867ab8202d0a5a5438471c19f86e146fd5b1e729
73
py
Python
prml/linear/_regression.py
jinmang2/PRML
8f8270cbae986c607f3cc6f89afefd58fa69fadd
[ "MIT" ]
11,017
2017-07-03T03:06:25.000Z
2022-03-30T18:47:20.000Z
prml/linear/_regression.py
jinmang2/PRML
8f8270cbae986c607f3cc6f89afefd58fa69fadd
[ "MIT" ]
21
2017-08-13T01:35:41.000Z
2022-03-21T06:25:09.000Z
prml/linear/_regression.py
jinmang2/PRML
8f8270cbae986c607f3cc6f89afefd58fa69fadd
[ "MIT" ]
3,417
2017-07-05T12:55:52.000Z
2022-03-30T18:47:27.000Z
class Regression(object): """Base class for regressors.""" pass
14.6
36
0.643836
8
73
5.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.219178
73
4
37
18.25
0.824561
0.356164
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
1
0
0
0
0
0
4
8691df68f7446a9866ca30581c70e34a5f5b78dd
141
py
Python
project euler solutions/Problem_048.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
null
null
null
project euler solutions/Problem_048.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
4
2020-03-10T19:20:21.000Z
2021-06-07T15:39:48.000Z
project euler solutions/Problem_048.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- eval_serie = 0 for i in range(1,1001): eval_serie += i ** i print str(eval_serie)[-10:]
15.666667
27
0.602837
25
141
3.28
0.76
0.329268
0
0
0
0
0
0
0
0
0
0.087719
0.191489
141
8
28
17.625
0.631579
0.304965
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
86a9a788a710383c571b3f2623252cff48bed8e2
151
py
Python
src/glusterfstools/cli/__init__.py
aravindavk/glusterfs-tools
414908f67463372d88ee37afbebad9aaf55732d1
[ "BSD-3-Clause" ]
3
2016-05-03T05:57:38.000Z
2018-03-23T18:16:14.000Z
src/glusterfstools/cli/__init__.py
aravindavk/glusterfs-tools
414908f67463372d88ee37afbebad9aaf55732d1
[ "BSD-3-Clause" ]
null
null
null
src/glusterfstools/cli/__init__.py
aravindavk/glusterfs-tools
414908f67463372d88ee37afbebad9aaf55732d1
[ "BSD-3-Clause" ]
2
2022-02-21T20:35:55.000Z
2022-02-21T20:36:18.000Z
# -*- coding: utf-8 -*- """ glusterfstools.cli :copyright: (c) 2013, 2014 by Aravinda VK :license: BSD, see LICENSE for more details. """
18.875
48
0.602649
19
151
4.789474
0.947368
0
0
0
0
0
0
0
0
0
0
0.077586
0.231788
151
7
49
21.571429
0.706897
0.854305
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
86bcb044d70008edeec95382d98cfb297ef4b962
1,665
py
Python
python/phonenumbers/data/region_LV.py
Eyepea/python-phonenumbers
0336e191fda80a21ed5c19d5e029ad8c70f620ee
[ "Apache-2.0" ]
2
2019-03-30T02:12:54.000Z
2021-03-08T18:59:40.000Z
python/phonenumbers/data/region_LV.py
Eyepea/python-phonenumbers
0336e191fda80a21ed5c19d5e029ad8c70f620ee
[ "Apache-2.0" ]
null
null
null
python/phonenumbers/data/region_LV.py
Eyepea/python-phonenumbers
0336e191fda80a21ed5c19d5e029ad8c70f620ee
[ "Apache-2.0" ]
1
2018-11-10T03:47:34.000Z
2018-11-10T03:47:34.000Z
"""Auto-generated file, do not edit by hand. LV metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_LV = PhoneMetadata(id='LV', country_code=371, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='[2689]\\d{7}', possible_number_pattern='...
87.631579
132
0.771772
211
1,665
5.763033
0.322275
0.256579
0.286184
0.355263
0.477796
0.477796
0.477796
0.425987
0.425987
0
0
0.05148
0.066667
1,665
18
133
92.5
0.731017
0.031832
0
0
1
0
0.122665
0.016812
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8116c2783ecfaf3566ee3c904473da03d536e33b
106
py
Python
3_text/code/sys_stdin_readline_enumerate.py
lluxury/P_U_S_A
1eb9d1fef74f9ce3618ae950f5223f598510be84
[ "MIT" ]
null
null
null
3_text/code/sys_stdin_readline_enumerate.py
lluxury/P_U_S_A
1eb9d1fef74f9ce3618ae950f5223f598510be84
[ "MIT" ]
null
null
null
3_text/code/sys_stdin_readline_enumerate.py
lluxury/P_U_S_A
1eb9d1fef74f9ce3618ae950f5223f598510be84
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys for i, line in enumerate(sys.stdin): print "%s: %s" % (i, line) #
11.777778
36
0.59434
18
106
3.5
0.777778
0.15873
0
0
0
0
0
0
0
0
0
0
0.216981
106
9
37
11.777778
0.759036
0.188679
0
0
0
0
0.070588
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
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
1
0
0
0
1
0
0
0
0
4
811da885d4d0f9e824be2ff3ef720300600131b5
21
py
Python
runway/cfngin/hooks/ssm/__init__.py
avosper-intellaegis/runway
757d4e7db269ec16479b044ac82a69f25fa2a450
[ "Apache-2.0" ]
134
2018-02-26T21:35:23.000Z
2022-03-03T00:30:27.000Z
runway/cfngin/hooks/ssm/__init__.py
asksmruti/runway
8aca76df9372e3d13eb35e12f81758f618e89e74
[ "Apache-2.0" ]
937
2018-03-08T22:04:35.000Z
2022-03-30T12:21:47.000Z
runway/cfngin/hooks/ssm/__init__.py
asksmruti/runway
8aca76df9372e3d13eb35e12f81758f618e89e74
[ "Apache-2.0" ]
70
2018-02-26T23:48:11.000Z
2022-03-02T18:44:30.000Z
"""AWS SSM hooks."""
10.5
20
0.52381
3
21
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0.666667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
812819e351351043b11225cca784089573d8973c
2,787
py
Python
moments/LD/Demographics1D.py
grahamgower/moments
54d2c58d91a231303fb361258e24b41b23f50661
[ "BSD-3-Clause" ]
null
null
null
moments/LD/Demographics1D.py
grahamgower/moments
54d2c58d91a231303fb361258e24b41b23f50661
[ "BSD-3-Clause" ]
null
null
null
moments/LD/Demographics1D.py
grahamgower/moments
54d2c58d91a231303fb361258e24b41b23f50661
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from moments.LD import Demography from moments.LD.LDstats_mod import LDstats def snm(params=None, rho=None, theta=0.001, pop_ids=None): """ Equilibrium neutral model rho: population-scaled recombination rate (4Nr), given as scalar or list of rhos theta: population-scaled mutation rat...
39.253521
90
0.673843
441
2,787
4.197279
0.188209
0.048622
0.059427
0.08644
0.76013
0.736899
0.736899
0.722853
0.692599
0.692599
0
0.025443
0.210262
2,787
70
91
39.814286
0.815538
0.426624
0
0.5
0
0
0
0
0
0
0
0
0
1
0.147059
false
0
0.088235
0
0.382353
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d498f1877825d6ce7b7b4ae755fed0d8e705d6c5
42,591
py
Python
mplh5canvas/base_page.py
HoverHell/mplh5canvas
0deeb8414f04641afe854fdc08d4504cdf185944
[ "BSD-3-Clause" ]
null
null
null
mplh5canvas/base_page.py
HoverHell/mplh5canvas
0deeb8414f04641afe854fdc08d4504cdf185944
[ "BSD-3-Clause" ]
null
null
null
mplh5canvas/base_page.py
HoverHell/mplh5canvas
0deeb8414f04641afe854fdc08d4504cdf185944
[ "BSD-3-Clause" ]
null
null
null
"""Avert your eyes :) A whole stack of HTML masquerading as Python. Aargh.. Anyway, we define a few strings (long strings) that hold the HTML served up at various points in our backend. Copyright (c) 2010-2013, SKA South Africa All rights reserved. Redistribution and use in source and binary forms, with or without ...
60.412766
1,601
0.737034
4,193
42,591
7.389936
0.2373
0.0426
0.015104
0.017556
0.183728
0.131672
0.098432
0.073001
0.057348
0.040922
0
0.071619
0.145665
42,591
704
1,602
60.49858
0.779949
0.039022
0
0.221003
0
0.112853
0.997019
0.511339
0
1
0
0
0
1
0
false
0
0
0
0.015674
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
d4a590477a7cfa0caa94a33e9bda7b00657da679
17
py
Python
opt3001/__init__.py
perryrh0dan/opt3001
518c8ddf818a7549f78992c5b652bc73633b85bf
[ "MIT" ]
3
2020-05-09T12:14:45.000Z
2022-02-27T07:29:23.000Z
opt3001/__init__.py
perryrh0dan/opt3001
518c8ddf818a7549f78992c5b652bc73633b85bf
[ "MIT" ]
null
null
null
opt3001/__init__.py
perryrh0dan/opt3001
518c8ddf818a7549f78992c5b652bc73633b85bf
[ "MIT" ]
null
null
null
name = "opt3001"
8.5
16
0.647059
2
17
5.5
1
0
0
0
0
0
0
0
0
0
0
0.285714
0.176471
17
1
17
17
0.5
0
0
0
0
0
0.411765
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4