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
86dfd2db6a4ab89adc603c7004f87398bcf67bea
4,683
py
Python
jmeter_api/configs/random_variable/test_random_variable.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
11
2020-03-22T13:30:21.000Z
2021-12-25T06:23:44.000Z
jmeter_api/configs/random_variable/test_random_variable.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
37
2019-12-18T13:12:50.000Z
2022-02-10T10:52:37.000Z
jmeter_api/configs/random_variable/test_random_variable.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
5
2019-12-06T10:55:56.000Z
2020-06-01T19:32:32.000Z
import xmltodict import pytest from jmeter_api.configs.random_variable.elements import RandomVariable from jmeter_api.basics.utils import tag_wrapper class TestRandomVariable: class TestVariableName: def test_type_check(self): with pytest.raises(TypeError): RandomVariable(vari...
40.025641
90
0.620329
496
4,683
5.622984
0.157258
0.09896
0.195769
0.20796
0.760846
0.755826
0.681248
0.606669
0.606669
0.534959
0
0.006967
0.26436
4,683
116
91
40.37069
0.802612
0
0
0.423913
0
0
0.103566
0.005766
0
0
0
0
0.076087
1
0.228261
false
0
0.043478
0
0.358696
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
86e646c34b7601845faf63d30a352f7d48970df1
66,202
py
Python
neutron/tests/unit/openvswitch/test_agent_scheduler.py
ksshanam/neutron-vrrp
f9fb7f9b41adc0de401cc118a4d97026d3abb6e0
[ "Apache-2.0" ]
null
null
null
neutron/tests/unit/openvswitch/test_agent_scheduler.py
ksshanam/neutron-vrrp
f9fb7f9b41adc0de401cc118a4d97026d3abb6e0
[ "Apache-2.0" ]
null
null
null
neutron/tests/unit/openvswitch/test_agent_scheduler.py
ksshanam/neutron-vrrp
f9fb7f9b41adc0de401cc118a4d97026d3abb6e0
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2013 OpenStack Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
48.428676
79
0.578094
7,239
66,202
4.905512
0.058986
0.032948
0.02433
0.01301
0.811748
0.773535
0.738025
0.696798
0.67106
0.64304
0
0.013331
0.333751
66,202
1,366
80
48.464129
0.791779
0.039092
0
0.65654
0
0
0.072938
0.018868
0
0
0
0
0.088608
1
0.064979
false
0.002532
0.024473
0.003376
0.113924
0
0
0
0
null
0
0
0
1
1
1
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
0
0
0
0
0
0
0
4
81008e2e21e18ef4ea6e909454dc22c639385add
129
py
Python
run.py
atb-leap/boilerplate-cloud-functions
e8975c90e950beada573c89217d4f7aae4a92ba4
[ "Apache-2.0" ]
null
null
null
run.py
atb-leap/boilerplate-cloud-functions
e8975c90e950beada573c89217d4f7aae4a92ba4
[ "Apache-2.0" ]
6
2019-09-16T19:06:57.000Z
2019-09-18T20:04:57.000Z
run.py
atb-leap/boilerplate-cloud-functions
e8975c90e950beada573c89217d4f7aae4a92ba4
[ "Apache-2.0" ]
null
null
null
import os from myapp import app if __name__ == '__main__': app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 8080)))
18.428571
67
0.658915
23
129
3.347826
0.695652
0.077922
0.077922
0
0
0
0
0
0
0
0
0.072727
0.147287
129
6
68
21.5
0.627273
0
0
0
0
0
0.148438
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
8115a81a660c25bea1f28bfcd9389f511e8280a8
58
py
Python
cryptococcus/tests/test_placeholder.py
leouieda/cryptococcus
bc06184614406518b44c70e33a19e2e361bae8a7
[ "BSD-3-Clause-Clear" ]
null
null
null
cryptococcus/tests/test_placeholder.py
leouieda/cryptococcus
bc06184614406518b44c70e33a19e2e361bae8a7
[ "BSD-3-Clause-Clear" ]
null
null
null
cryptococcus/tests/test_placeholder.py
leouieda/cryptococcus
bc06184614406518b44c70e33a19e2e361bae8a7
[ "BSD-3-Clause-Clear" ]
null
null
null
def test_something(): "Do some tests" assert True
14.5
21
0.655172
8
58
4.625
1
0
0
0
0
0
0
0
0
0
0
0
0.258621
58
3
22
19.333333
0.860465
0.224138
0
0
0
0
0.224138
0
0
0
0
0
0.333333
1
0.333333
true
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
8132c5c10034388742082ad9886553d6b8b7f278
188
py
Python
python/export/exporter.py
amlozano/airmonitoring
32b26ee83982612e9d77aa37fce05a18185580a3
[ "Apache-2.0" ]
null
null
null
python/export/exporter.py
amlozano/airmonitoring
32b26ee83982612e9d77aa37fce05a18185580a3
[ "Apache-2.0" ]
9
2021-01-14T15:47:47.000Z
2021-01-22T12:48:11.000Z
python/export/exporter.py
amlozano/airmonitoring
32b26ee83982612e9d77aa37fce05a18185580a3
[ "Apache-2.0" ]
null
null
null
from abc import ABC from data.measurement import Measurement class Exporter(ABC): def export_value(self, measurement: Measurement): pass def flush(self): pass
14.461538
53
0.68617
23
188
5.565217
0.565217
0
0
0
0
0
0
0
0
0
0
0
0.25
188
12
54
15.666667
0.907801
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.285714
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
813852ea3e7c5c2f1c372bbc36edb4253e176db7
17,722
py
Python
tests/test_anchor.py
jiangrongatrobo/mmdetection
76ccf891f98f5df526146560773f1fedf5607bdd
[ "Apache-2.0" ]
426
2020-10-16T08:09:27.000Z
2022-03-30T03:36:04.000Z
tests/test_anchor.py
Oz-art/mmdetection
d3cf38d91c454b1a6881e8c36c1e4a66dc5521b8
[ "Apache-2.0" ]
170
2020-09-08T12:29:06.000Z
2022-03-31T18:28:09.000Z
tests/test_anchor.py
Oz-art/mmdetection
d3cf38d91c454b1a6881e8c36c1e4a66dc5521b8
[ "Apache-2.0" ]
49
2021-05-12T05:27:28.000Z
2022-03-14T04:02:40.000Z
""" CommandLine: pytest tests/test_anchor.py xdoctest tests/test_anchor.py zero """ import torch def test_standard_anchor_generator(): from mmdet.core.anchor import build_anchor_generator anchor_generator_cfg = dict( type='AnchorGenerator', scales=[8], ratios=[0.5, 1.0, 2.0], ...
43.119221
79
0.537185
2,331
17,722
3.947662
0.130845
0.089654
0.019561
0.003043
0.735601
0.706586
0.679526
0.653988
0.635731
0.62769
0
0.309263
0.303747
17,722
410
80
43.22439
0.436502
0.053154
0
0.598784
0
0
0.013078
0
0
0
0
0
0.072948
1
0.021277
false
0
0.024316
0
0.045593
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
1
0
0
0
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
813d8a61be8d6618af7c16897eb55b8e08d7b785
170
py
Python
yatube/posts/views.py
memphis94/yatube_project
78048e4a5fc3e6faa13c6f14386ae5de1d3814ff
[ "MIT" ]
null
null
null
yatube/posts/views.py
memphis94/yatube_project
78048e4a5fc3e6faa13c6f14386ae5de1d3814ff
[ "MIT" ]
null
null
null
yatube/posts/views.py
memphis94/yatube_project
78048e4a5fc3e6faa13c6f14386ae5de1d3814ff
[ "MIT" ]
null
null
null
from django.shortcuts import render # Create your views here. def group_posts(request, slug): template = 'posts/group_list.html' return render(request, template)
28.333333
38
0.758824
23
170
5.521739
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.152941
170
6
39
28.333333
0.881944
0.135294
0
0
0
0
0.143836
0.143836
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
813f155a31e7fb070d7cd17da5b836f822d68b1a
21,206
py
Python
main.py
simongroom/project_euler_python
25751fba228cff31fe0898442fdfa2126bb98657
[ "MIT" ]
null
null
null
main.py
simongroom/project_euler_python
25751fba228cff31fe0898442fdfa2126bb98657
[ "MIT" ]
null
null
null
main.py
simongroom/project_euler_python
25751fba228cff31fe0898442fdfa2126bb98657
[ "MIT" ]
null
null
null
# coding=utf-8 import math from datetime import datetime, timedelta from time import time from helpers import Helpers def even_fib_numbers(): ef1 = 0 ef2 = 2 result = ef1 + ef2 r = 4000000 while ef2 <= r: ef3 = 4 * ef2 + ef1 if ef3 > r: break result += ef3 ef1 = ef2 ef2 = ef3 print(str(result)) ...
31.323486
1,007
0.712817
2,965
21,206
5.047218
0.192243
0.00842
0.004811
0.00735
0.178416
0.148814
0.143602
0.132309
0.11841
0.113598
0
0.495362
0.186551
21,206
676
1,008
31.369822
0.371304
0.269169
0
0.110855
0
0
0.03346
0.001899
0
1
0
0
0
1
0.046189
false
0
0.009238
0
0.066975
0.066975
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
d48d70d08aa9b6b4c2d31146570aa8459d4757cc
99
py
Python
models3cw/models3cwapp/apps.py
cs-fullstack-2019-spring/django-models3-cw-gkg901
13f5c8b463cd66811c91ff11b7128f130a7b31be
[ "Apache-2.0" ]
null
null
null
models3cw/models3cwapp/apps.py
cs-fullstack-2019-spring/django-models3-cw-gkg901
13f5c8b463cd66811c91ff11b7128f130a7b31be
[ "Apache-2.0" ]
null
null
null
models3cw/models3cwapp/apps.py
cs-fullstack-2019-spring/django-models3-cw-gkg901
13f5c8b463cd66811c91ff11b7128f130a7b31be
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class Models3CwappConfig(AppConfig): name = 'models3cwapp'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0.02381
0.151515
99
5
37
19.8
0.892857
0
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d495f6759b17bcdc594ecc38ce968b3d01cf4c41
341
py
Python
ex109.py
raphael-abrantes/exercises-python
71f1e7cba2f56173c256d43e4fe33a43722b4484
[ "MIT" ]
null
null
null
ex109.py
raphael-abrantes/exercises-python
71f1e7cba2f56173c256d43e4fe33a43722b4484
[ "MIT" ]
null
null
null
ex109.py
raphael-abrantes/exercises-python
71f1e7cba2f56173c256d43e4fe33a43722b4484
[ "MIT" ]
null
null
null
from utilsPy.utilspackage import moeda p = float(input('Digite o preço: R$')) print(f'A metade de {p} é: {moeda.metade(p, True)}') print(f'O dobro de {p} é: {moeda.dobro(p, True)}') print(f'Com um aumento de 10% o valor fica: {moeda.aumentar(p, 10, True)}') print(f'Com uma redução de 5% o valor fica: {moeda.dimi...
42.625
76
0.659824
64
341
3.515625
0.484375
0.106667
0.133333
0.08
0
0
0
0
0
0
0
0.020906
0.158358
341
7
77
48.714286
0.763066
0
0
0
0
0.333333
0.685629
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
d49aa98d4f1f69928563790507f5cf8b6a18b36d
16,098
py
Python
tests/matcher/test_pattern.py
KarrLab/nucleopatterns
1bf9c34bf791d097f8ce76c8b71054b3031cdab2
[ "MIT" ]
null
null
null
tests/matcher/test_pattern.py
KarrLab/nucleopatterns
1bf9c34bf791d097f8ce76c8b71054b3031cdab2
[ "MIT" ]
null
null
null
tests/matcher/test_pattern.py
KarrLab/nucleopatterns
1bf9c34bf791d097f8ce76c8b71054b3031cdab2
[ "MIT" ]
null
null
null
from wc_rules.schema.entity import Entity from wc_rules.schema.attributes import BooleanAttribute, IntegerAttribute, StringAttribute, computation from wc_rules.modeling.pattern import Pattern, GraphContainer, Observable from wc_rules.matcher.core import build_rete_net_class from wc_rules.matcher.token import * from wc_...
33.191753
103
0.710523
2,456
16,098
4.527687
0.078176
0.093076
0.048561
0.064748
0.808453
0.764748
0.718795
0.669694
0.647752
0.622302
0
0.018881
0.121568
16,098
484
104
33.260331
0.767485
0.06007
0
0.683196
0
0
0.071958
0.013769
0
0
0
0
0.225895
1
0.044077
false
0
0.019284
0.00551
0.093664
0
0
0
0
null
0
0
0
1
1
1
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
0
0
0
0
0
0
0
4
d49f031ff58fc1bbf3768194de8cb925dde5da02
243
py
Python
jogoMath.py
denilsonbomjesus/jogopython-fp
07ac51220cc9c14cc5847840b9da95e47a2adac6
[ "MIT" ]
null
null
null
jogoMath.py
denilsonbomjesus/jogopython-fp
07ac51220cc9c14cc5847840b9da95e47a2adac6
[ "MIT" ]
null
null
null
jogoMath.py
denilsonbomjesus/jogopython-fp
07ac51220cc9c14cc5847840b9da95e47a2adac6
[ "MIT" ]
null
null
null
# e é uma tupla (A,B) representando os coeficientes da RETA A*x + B def solve1(A, B, x): return A*x + B # e é uma tupla (A,B,C) representando os coeficientes da PARABOLA A*x**2 + B*x + C def solve2(A, B, C, x): return A*x**2 + B*x + C
34.714286
82
0.617284
54
243
2.777778
0.351852
0.053333
0.066667
0.133333
0.24
0.24
0
0
0
0
0
0.021505
0.234568
243
7
83
34.714286
0.784946
0.600823
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
4
d4b15653d81b509faf595f0ae07e203406fc423c
125
py
Python
CodeWars/7 Kyu/Check three and two.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
CodeWars/7 Kyu/Check three and two.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
CodeWars/7 Kyu/Check three and two.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
def check_three_and_two(array): ans = [array.count(i) for i in 'abc'] return True if 2 in ans and 3 in ans else False
41.666667
51
0.688
26
125
3.192308
0.730769
0.120482
0
0
0
0
0
0
0
0
0
0.020619
0.224
125
3
51
41.666667
0.835052
0
0
0
0
0
0.02381
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
d4ee77187073749ca0dd6d20160453fc7e57d9f9
3,887
py
Python
notebooks/auto_ABReaction_vf.py
ccontrer/20-05SNBifurcationCarryover
ea525496956e0171dda6621437e3f90ab430c425
[ "MIT" ]
null
null
null
notebooks/auto_ABReaction_vf.py
ccontrer/20-05SNBifurcationCarryover
ea525496956e0171dda6621437e3f90ab430c425
[ "MIT" ]
null
null
null
notebooks/auto_ABReaction_vf.py
ccontrer/20-05SNBifurcationCarryover
ea525496956e0171dda6621437e3f90ab430c425
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.1 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
31.601626
189
0.718292
536
3,887
4.88806
0.302239
0.112214
0.128244
0.159542
0.306107
0.23626
0.217939
0.154962
0.121374
0.121374
0
0.003768
0.180602
3,887
122
190
31.860656
0.818838
0.105737
0
0.088608
1
0
0.039907
0
0
0
0
0
0
1
0.329114
false
0
0.075949
0.253165
0.734177
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
0
1
1
0
0
4
be103681ce7b240ad63d028ea252af6954bfa82b
151
py
Python
sublime/Packages/BracketHighlighter/bh_modules/erlangcase.py
herove/dotfiles
5f08d4d6f518758b3ad0516d9e704edf251e8ff3
[ "MIT" ]
1
2018-06-23T08:07:39.000Z
2018-06-23T08:07:39.000Z
sublime/Packages/BracketHighlighter/bh_modules/erlangcase.py
herove/dotfiles
5f08d4d6f518758b3ad0516d9e704edf251e8ff3
[ "MIT" ]
null
null
null
sublime/Packages/BracketHighlighter/bh_modules/erlangcase.py
herove/dotfiles
5f08d4d6f518758b3ad0516d9e704edf251e8ff3
[ "MIT" ]
null
null
null
def validate(name, bracket, bracket_side, bfr): """ Check if bracket is lowercase """ return bfr[bracket.begin:bracket.end].islower()
21.571429
51
0.662252
19
151
5.210526
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.205298
151
6
52
25.166667
0.825
0.192053
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
be2bb795484093f2819ef51a4d12db39eeb4cf24
59,290
py
Python
chainer_/chainercv2/models/model_store.py
XYAskWhy/imgclsmob
87fe1b7e35b562f6d154b31d84a495f1323de0ca
[ "MIT" ]
null
null
null
chainer_/chainercv2/models/model_store.py
XYAskWhy/imgclsmob
87fe1b7e35b562f6d154b31d84a495f1323de0ca
[ "MIT" ]
null
null
null
chainer_/chainercv2/models/model_store.py
XYAskWhy/imgclsmob
87fe1b7e35b562f6d154b31d84a495f1323de0ca
[ "MIT" ]
null
null
null
""" Model store which provides pretrained models. """ __all__ = ['get_model_file'] import os import zipfile import logging import hashlib _model_sha1 = {name: (error, checksum, repo_release_tag) for name, error, checksum, repo_release_tag in [ ('alexnet', '1610', 'd666015b6e4e82eccc5d6c47cd35282a8aede469', '...
76.90013
116
0.721218
4,994
59,290
8.401882
0.406688
0.041755
0.002145
0.004528
0.035296
0.0199
0.00877
0.004242
0.004242
0.002526
0
0.415615
0.111469
59,290
770
117
77
0.380858
0.026868
0
0.02029
0
0
0.708244
0.474506
0
0
0
0
0.002899
1
0.005797
false
0.001449
0.013043
0
0.027536
0.002899
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0784cb48d7e0bf8c1aec2a15510ca693b8038c8c
485
py
Python
leaderboard/forms.py
snukky/OCELoT
6d4cc42bf09f059a15505d84b4c8b2c9d359fb8c
[ "BSD-3-Clause" ]
null
null
null
leaderboard/forms.py
snukky/OCELoT
6d4cc42bf09f059a15505d84b4c8b2c9d359fb8c
[ "BSD-3-Clause" ]
null
null
null
leaderboard/forms.py
snukky/OCELoT
6d4cc42bf09f059a15505d84b4c8b2c9d359fb8c
[ "BSD-3-Clause" ]
null
null
null
""" Project OCELoT: Open, Competitive Evaluation Leaderboard of Translations """ from django import forms from leaderboard.models import Language, TestSet class LeaderboardForm(forms.Form): """Generates form for filtering submissions on leaderboard.""" source_language = forms.ModelChoiceField(queryset=Langua...
34.642857
77
0.785567
52
485
7.288462
0.557692
0.166227
0.229551
0.195251
0.290237
0.290237
0.290237
0
0
0
0
0
0.115464
485
13
78
37.307692
0.88345
0.265979
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
0784cb78694319eb839c1aabcb132d50d7c18826
189
py
Python
apps/homepage/resources.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
3
2021-03-12T18:32:39.000Z
2021-11-08T10:21:04.000Z
apps/homepage/resources.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
null
null
null
apps/homepage/resources.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
2
2021-01-29T14:52:53.000Z
2022-03-05T10:24:24.000Z
from import_export import resources from .models import Subscribe class SubscribeResource(resources.ModelResource): class Meta: model = Subscribe fields = ('email',)
18.9
49
0.714286
19
189
7.052632
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.216931
189
9
50
21
0.905405
0
0
0
0
0
0.026455
0
0
0
0
0
0
1
0
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
0789a8962457bcfe36570f212d19aa6c0e5d900a
95
py
Python
api/data/src/apps/infoscreen/apps.py
xeor/hohu
ab5edb47eb50fe2434432d76d5599f5a2f168f57
[ "MIT" ]
null
null
null
api/data/src/apps/infoscreen/apps.py
xeor/hohu
ab5edb47eb50fe2434432d76d5599f5a2f168f57
[ "MIT" ]
null
null
null
api/data/src/apps/infoscreen/apps.py
xeor/hohu
ab5edb47eb50fe2434432d76d5599f5a2f168f57
[ "MIT" ]
null
null
null
from django.apps import AppConfig class InfoscreenConfig(AppConfig): name = 'infoscreen'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
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
07a1813473367361e6b2a7da1f34eddf9ffbd0d8
169
py
Python
tests/web_platform/css_flexbox_1/test_flexbox_flex_1_N_0_unitless.py
jonboland/colosseum
cbf974be54fd7f6fddbe7285704cfaf7a866c5c5
[ "BSD-3-Clause" ]
71
2015-04-13T09:44:14.000Z
2019-03-24T01:03:02.000Z
tests/web_platform/css_flexbox_1/test_flexbox_flex_1_N_0_unitless.py
jonboland/colosseum
cbf974be54fd7f6fddbe7285704cfaf7a866c5c5
[ "BSD-3-Clause" ]
35
2019-05-06T15:26:09.000Z
2022-03-28T06:30:33.000Z
tests/web_platform/css_flexbox_1/test_flexbox_flex_1_N_0_unitless.py
jonboland/colosseum
cbf974be54fd7f6fddbe7285704cfaf7a866c5c5
[ "BSD-3-Clause" ]
139
2015-05-30T18:37:43.000Z
2019-03-27T17:14:05.000Z
from tests.utils import W3CTestCase class TestFlexbox_Flex1N0Unitless(W3CTestCase): vars().update(W3CTestCase.find_tests(__file__, 'flexbox_flex-1-N-0-unitless'))
28.166667
82
0.804734
21
169
6.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.045161
0.08284
169
5
83
33.8
0.787097
0
0
0
0
0
0.159763
0.159763
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
07bdef1171a5a0146e0180c8d9e3ecbf2e04e5d5
35
py
Python
tap_newrelic/tests/__init__.py
siilats/tap-newrelic
92ceb66fd4b09b37a4d02812e5bc9716a6d8a27d
[ "Apache-2.0" ]
null
null
null
tap_newrelic/tests/__init__.py
siilats/tap-newrelic
92ceb66fd4b09b37a4d02812e5bc9716a6d8a27d
[ "Apache-2.0" ]
null
null
null
tap_newrelic/tests/__init__.py
siilats/tap-newrelic
92ceb66fd4b09b37a4d02812e5bc9716a6d8a27d
[ "Apache-2.0" ]
1
2021-08-02T19:42:04.000Z
2021-08-02T19:42:04.000Z
"""Test suite for tap-newrelic."""
17.5
34
0.657143
5
35
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.741935
0.8
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
07f17290ff905557b12b1eed32f99380d784ae92
164
py
Python
scripts/item/consume_2434661.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/item/consume_2434661.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/item/consume_2434661.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
# Zombie Damage Skin success = sm.addDamageSkin(2434661) if success: sm.chat("The Zombie Damage Skin has been added to your account's damage skin collection.")
32.8
94
0.762195
25
164
5
0.72
0.24
0.256
0
0
0
0
0
0
0
0
0.050725
0.158537
164
4
95
41
0.855072
0.109756
0
0
0
0
0.548611
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
07f6c5832b83ed93c1e3c3e5b683e3e2eeb82065
107
py
Python
programming/python/ex030.py
Vinicius-Moraes20/personal-projects
c041909ab1c66eeca11768f8f7944eb351c8b8e7
[ "MIT" ]
null
null
null
programming/python/ex030.py
Vinicius-Moraes20/personal-projects
c041909ab1c66eeca11768f8f7944eb351c8b8e7
[ "MIT" ]
null
null
null
programming/python/ex030.py
Vinicius-Moraes20/personal-projects
c041909ab1c66eeca11768f8f7944eb351c8b8e7
[ "MIT" ]
null
null
null
numero = int(input("Digite um numero: ")) % 2 print("Numero par") if numero == 0 else print("Numero impar")
53.5
61
0.672897
17
107
4.235294
0.705882
0.305556
0
0
0
0
0
0
0
0
0
0.021978
0.149533
107
2
61
53.5
0.769231
0
0
0
0
0
0.37037
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
6af3277504cf732ef58367eaeac65f265a0d9116
310
py
Python
en/093/python/main.py
franciscogomes2020/exercises
8b33c4b9349a9331e4002a8225adc2a482c70024
[ "MIT" ]
null
null
null
en/093/python/main.py
franciscogomes2020/exercises
8b33c4b9349a9331e4002a8225adc2a482c70024
[ "MIT" ]
null
null
null
en/093/python/main.py
franciscogomes2020/exercises
8b33c4b9349a9331e4002a8225adc2a482c70024
[ "MIT" ]
null
null
null
# Create a program that manages a football player's performance. The program will read the player's name and how many games he has played. Then it will read the number of goals scored in each match. In the end, all this will be stored in a dictionary, including the total goals scored during the championship.
155
309
0.793548
56
310
4.392857
0.696429
0.056911
0.089431
0
0
0
0
0
0
0
0
0
0.177419
310
1
310
310
0.964706
0.990323
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ed01f4d8341b5497473b6f535ac4a2c04158cd9e
279
py
Python
tools/wptrunner/wptrunner/executors/executorsafari.py
ziransun/wpt
ab8f451eb39eb198584d547f5d965ef54df2a86a
[ "BSD-3-Clause" ]
9
2019-04-01T10:57:10.000Z
2021-12-02T11:12:06.000Z
tools/wptrunner/wptrunner/executors/executorsafari.py
ziransun/wpt
ab8f451eb39eb198584d547f5d965ef54df2a86a
[ "BSD-3-Clause" ]
33
2019-03-21T10:18:37.000Z
2022-03-23T13:21:40.000Z
tools/wptrunner/wptrunner/executors/executorsafari.py
ziransun/wpt
ab8f451eb39eb198584d547f5d965ef54df2a86a
[ "BSD-3-Clause" ]
11
2019-04-12T01:20:16.000Z
2021-11-23T17:25:02.000Z
from ..webdriver_server import SafariDriverServer from .base import WdspecExecutor, WebDriverProtocol class SafariDriverProtocol(WebDriverProtocol): server_cls = SafariDriverServer class SafariDriverWdspecExecutor(WdspecExecutor): protocol_cls = SafariDriverProtocol
25.363636
51
0.845878
22
279
10.590909
0.590909
0
0
0
0
0
0
0
0
0
0
0
0.111111
279
10
52
27.9
0.939516
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
ed28956a366a9a8ec75382a2b1bfd3d32741e8ca
2,023
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/OES/sample_variables.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/OES/sample_variables.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/OES/sample_variables.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension OES.sample_variables This module customises the behaviour of the OpenGL.raw.GLES2.OES.sample_variables to provide a more Python-friendly API Overview (from the spec) This extension allows fragment shaders more control over multisample rendering. The mask of samples covered by a frag...
43.978261
72
0.797331
288
2,023
5.538194
0.5
0.033856
0.056426
0.031975
0.072727
0.072727
0.052665
0.052665
0
0
0
0.002375
0.167573
2,023
46
73
43.978261
0.944774
0.849234
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
ed296dd4c8225c0f6b33f59ac26874fbfe7ffc7b
11,423
py
Python
opensfm/test/test_robust.py
hidden-ar/OpenSfM
3ea1216d4dedc94b93ea9f7aa51cd8efd7377922
[ "BSD-2-Clause" ]
null
null
null
opensfm/test/test_robust.py
hidden-ar/OpenSfM
3ea1216d4dedc94b93ea9f7aa51cd8efd7377922
[ "BSD-2-Clause" ]
null
null
null
opensfm/test/test_robust.py
hidden-ar/OpenSfM
3ea1216d4dedc94b93ea9f7aa51cd8efd7377922
[ "BSD-2-Clause" ]
null
null
null
import copy from typing import Tuple import numpy as np from opensfm import pyrobust, pygeometry def line_data() -> Tuple[int, int, np.ndarray, int]: a, b = 2, 3 samples = 100 x = np.linspace(0, 100, samples) return a, b, x, samples def similarity_data() -> Tuple[np.ndarray, np.ndarray, int, np.nda...
32.177465
87
0.638274
1,571
11,423
4.488224
0.103756
0.053468
0.030634
0.042405
0.781591
0.754219
0.736066
0.719898
0.694653
0.686427
0
0.038541
0.234527
11,423
354
88
32.268362
0.767841
0.026263
0
0.606557
0
0
0.00081
0
0
0
0
0
0.077869
1
0.065574
false
0
0.016393
0
0.090164
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
ed2bfc4d302bfd4bd288ed4f43ff9caf6ed4aa45
57
py
Python
pyimp/girl/interfaces/pixeloperators.py
ismaelharunid/girl
78c703e2788808b0fb2033577e827dcbdb59b797
[ "MIT" ]
1
2020-06-14T13:42:17.000Z
2020-06-14T13:42:17.000Z
pyimp/girl/interfaces/pixeloperators.py
ismaelharunid/girl
78c703e2788808b0fb2033577e827dcbdb59b797
[ "MIT" ]
null
null
null
pyimp/girl/interfaces/pixeloperators.py
ismaelharunid/girl
78c703e2788808b0fb2033577e827dcbdb59b797
[ "MIT" ]
null
null
null
# operator methods for working with pixels and bitmaps
14.25
54
0.789474
8
57
5.625
1
0
0
0
0
0
0
0
0
0
0
0
0.192982
57
3
55
19
0.978261
0.912281
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
ed2ef13d1491c00a29c5ca34ac0eab718b661862
147
py
Python
purdue/models/Item.py
ScriptedButton/purdue.py
5960ad4bcbbcefc2236e30209b41811dd5e02ded
[ "MIT" ]
null
null
null
purdue/models/Item.py
ScriptedButton/purdue.py
5960ad4bcbbcefc2236e30209b41811dd5e02ded
[ "MIT" ]
null
null
null
purdue/models/Item.py
ScriptedButton/purdue.py
5960ad4bcbbcefc2236e30209b41811dd5e02ded
[ "MIT" ]
null
null
null
from dataclasses import dataclass @dataclass class Item: id: int name: str is_vegetarian: bool #allergens: list[Allergen]
16.333333
34
0.666667
17
147
5.705882
0.941176
0
0
0
0
0
0
0
0
0
0
0
0.272109
147
9
35
16.333333
0.906542
0.170068
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
ed43aaea3e69aedd4f7909c72cd382f09323b4d5
548
py
Python
6KYU/what_century.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
4
2021-07-17T22:48:03.000Z
2022-03-25T14:10:58.000Z
6KYU/what_century.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
null
null
null
6KYU/what_century.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
3
2021-06-14T14:18:16.000Z
2022-03-16T06:02:02.000Z
from math import ceil def what_century(year: str) -> str: """ This function returns the century of the input year. """ century = str(ceil(int(year) / 100)) if century[-1] == '1': if century == '11': return century + 'th' return century + 'st' if century[-1] == '2': ...
28.842105
64
0.512774
67
548
4.179104
0.432836
0.325
0.214286
0.225
0.3
0
0
0
0
0
0
0.041436
0.339416
548
19
65
28.842105
0.732044
0.094891
0
0.25
0
0
0.047035
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.5625
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
ed6bae8f6a905c89aafc4eecf25902c291b4ca41
10,048
py
Python
tests/test_aprspy.py
nsnw/aprspy
c289ecc44cfc0d2475937cfce4a8b8eac10ba680
[ "MIT" ]
11
2019-11-05T08:55:52.000Z
2021-05-14T13:16:49.000Z
tests/test_aprspy.py
nsnw/aprspy
c289ecc44cfc0d2475937cfce4a8b8eac10ba680
[ "MIT" ]
12
2019-10-26T04:11:53.000Z
2020-11-14T09:23:07.000Z
tests/test_aprspy.py
nsnw/aprspy
c289ecc44cfc0d2475937cfce4a8b8eac10ba680
[ "MIT" ]
1
2019-10-25T03:35:02.000Z
2019-10-25T03:35:02.000Z
import pytest from aprspy import APRS, GenericPacket from aprspy.utils import APRSUtils from aprspy.exceptions import ParseError from aprspy.components import Station, Path def test_init_packet(): packet = GenericPacket() assert repr(packet) == "<GenericPacket>" packet = GenericPacket(source...
24.627451
107
0.6041
1,156
10,048
5.186851
0.112457
0.110073
0.085057
0.125083
0.762842
0.738826
0.707472
0.650934
0.640093
0.635924
0
0.054577
0.310709
10,048
407
108
24.687961
0.811146
0.07086
0
0.667797
0
0.016949
0.079137
0.04384
0
0
0
0
0.437288
1
0.050847
false
0
0.016949
0
0.067797
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
ed6dc673f4f90a2ec65db06037e5dff1bb0468e4
33
py
Python
tests/server/__init__.py
abitmore/hivemind
a68d8dd49d5d79caccf988a1ff6cba4703adae49
[ "MIT" ]
45
2021-05-23T21:06:49.000Z
2022-03-22T23:04:25.000Z
tests/server/__init__.py
abitmore/hivemind
a68d8dd49d5d79caccf988a1ff6cba4703adae49
[ "MIT" ]
1
2021-08-03T10:57:23.000Z
2021-08-03T10:58:05.000Z
tests/server/__init__.py
abitmore/hivemind
a68d8dd49d5d79caccf988a1ff6cba4703adae49
[ "MIT" ]
30
2021-05-28T16:23:53.000Z
2021-09-09T00:28:34.000Z
"""Hive server and API tests."""
16.5
32
0.636364
5
33
4.2
1
0
0
0
0
0
0
0
0
0
0
0
0.151515
33
1
33
33
0.75
0.787879
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
9c087b378aa41c41cba3aa61c93c17b33a0d74f5
1,761
py
Python
finbyzwhatsapp/commands.py
mohsinalimat/finbyzwhatsapp
8a1f38479c08c31324c240d61e94ef6bd626ef3a
[ "MIT" ]
null
null
null
finbyzwhatsapp/commands.py
mohsinalimat/finbyzwhatsapp
8a1f38479c08c31324c240d61e94ef6bd626ef3a
[ "MIT" ]
null
null
null
finbyzwhatsapp/commands.py
mohsinalimat/finbyzwhatsapp
8a1f38479c08c31324c240d61e94ef6bd626ef3a
[ "MIT" ]
null
null
null
import click, os, sys, shlex import subprocess from subprocess import STDOUT, check_call, CalledProcessError @click.command('install-whatsapp') def install_whatsapp(): pass # cur_dir = os.getcwd() + "/../apps/finbyzerp/finbyzerp/webwhatsapi" # os.chdir(cur_dir) # Firefox # os.system('sudo su') ...
48.916667
151
0.712663
248
1,761
4.96371
0.375
0.123477
0.126726
0.036556
0.385865
0.33225
0.249391
0.192526
0.192526
0
0
0.016329
0.130608
1,761
35
152
50.314286
0.78772
0.800681
0
0
0
0
0.04893
0
0
0
0
0
0
1
0.142857
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
9c3d28479abce8157c8dfe41796ecd964c3ec9e5
149
py
Python
utils/hosttourl.py
Mingmingge/csdn-to-github.io
84b6f86f536f696f695c56931e8f3b43c43d7476
[ "Apache-2.0" ]
3
2018-07-04T01:20:44.000Z
2019-04-11T06:40:35.000Z
utils/hosttourl.py
Mingmingge/csdn-to-github.io
84b6f86f536f696f695c56931e8f3b43c43d7476
[ "Apache-2.0" ]
null
null
null
utils/hosttourl.py
Mingmingge/csdn-to-github.io
84b6f86f536f696f695c56931e8f3b43c43d7476
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python # -*- coding: utf-8 -*- import os def hostTourl( host, i): url = os.path.join(host, 'article/list/' + str(i)) return url
18.625
54
0.590604
23
149
3.826087
0.826087
0
0
0
0
0
0
0
0
0
0
0.008403
0.201342
149
8
55
18.625
0.731092
0.261745
0
0
0
0
0.119266
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
92caceb57e7fe6b867e0a8bb7582f0959b417a1c
461
py
Python
service3/src/__init__.py
joshuahigginson1/DevOps_Assessment_2
9ee7f3793ae8e7c1aa55dbb60bca7dbe0c718d1c
[ "MIT" ]
1
2021-03-30T09:55:04.000Z
2021-03-30T09:55:04.000Z
service3/src/__init__.py
joshuahigginson1/DevOps_Assessment_2
9ee7f3793ae8e7c1aa55dbb60bca7dbe0c718d1c
[ "MIT" ]
null
null
null
service3/src/__init__.py
joshuahigginson1/DevOps_Assessment_2
9ee7f3793ae8e7c1aa55dbb60bca7dbe0c718d1c
[ "MIT" ]
1
2020-08-17T09:06:39.000Z
2020-08-17T09:06:39.000Z
"""Task:""" # Imports -------------------------------------------------------------- # Classes -------------------------------------------------------------- # Functions ------------------------------------------------------------ # Methods -------------------------------------------------------------- # Defin...
24.263158
72
0.130152
9
461
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.069414
461
18
73
25.611111
0.13986
0.937093
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
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
92f13e4235719a3bcdb745a81f18b88e8fb60026
21
py
Python
psslib/__init__.py
isanych/pss
9c9f3b8e5fedcc8e3fdbf39ace6b4f25ac4a00ff
[ "Unlicense" ]
202
2015-01-05T13:58:05.000Z
2022-03-07T18:28:42.000Z
psslib/__init__.py
sthagen/pss
b248b0f94dfe6d7a472d27ba98c9c3d7a8c092b6
[ "Unlicense" ]
29
2015-01-23T03:26:54.000Z
2021-02-23T13:13:25.000Z
psslib/__init__.py
sthagen/pss
b248b0f94dfe6d7a472d27ba98c9c3d7a8c092b6
[ "Unlicense" ]
40
2015-02-08T20:08:59.000Z
2022-02-05T06:11:50.000Z
__version__ = '1.43'
10.5
20
0.666667
3
21
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.166667
0.142857
21
1
21
21
0.388889
0
0
0
0
0
0.190476
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
131505753e0911784f45799958cb510163d8c078
828
py
Python
src/shape_constraint_detectors/StringMinLengthDetectorSHACLMinLength.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
1
2018-12-11T13:57:38.000Z
2018-12-11T13:57:38.000Z
src/shape_constraint_detectors/StringMinLengthDetectorSHACLMinLength.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
null
null
null
src/shape_constraint_detectors/StringMinLengthDetectorSHACLMinLength.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
null
null
null
from StringMinLengthDetector import StringMinLengthDetector class StringMinLengthDetectorSHACLMinLength(StringMinLengthDetector): """ This class implements the detection of the minimum string length constraint sh:minLength. For further information have a look at the parent class. """ def __init__(...
30.666667
93
0.716184
83
828
7.012048
0.626506
0.051546
0.189003
0
0
0
0
0
0
0
0
0.006061
0.202899
828
26
94
31.846154
0.875758
0.176329
0
0
0
0
0.195751
0.141123
0
0
0
0
0
1
0.357143
false
0
0.071429
0.142857
0.642857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
1315945d91fa5d4e9e23be30dc0ed6ed7c1fa1a2
8,748
py
Python
src/OTLMOW/OTLModel/Datatypes/KlBetonsterkteklasse.py
davidvlaminck/OTLClassPython
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
2
2022-02-01T08:58:11.000Z
2022-02-08T13:35:17.000Z
src/OTLMOW/OTLModel/Datatypes/KlBetonsterkteklasse.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
src/OTLMOW/OTLModel/Datatypes/KlBetonsterkteklasse.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
# coding=utf-8 from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde # Generated with OTLEnumerationCreator. To modify: extend, do not edit class KlBetonsterkteklasse(KeuzelijstField): """De klasse waarin de sterkte van beton ...
102.917647
231
0.613397
921
8,748
5.826276
0.110749
0.025345
0.120388
0.190086
0.76202
0.68934
0.663809
0.663809
0.506895
0.48975
0
0.055241
0.294353
8,748
84
232
104.142857
0.814029
0.015775
0
0
1
0.435897
0.585329
0
0
0
0
0
0
1
0
false
0
0.025641
0
0.115385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
131ff5abb9fb6319e730d74742914d28dd29745f
36,588
py
Python
test/hummingbot/strategy/cross_exchange_market_making/test_cross_exchange_market_making.py
d3alek/hummingbot
14d6c3b8c4d34c44079c45ef6cd05e9c192f241c
[ "Apache-2.0" ]
null
null
null
test/hummingbot/strategy/cross_exchange_market_making/test_cross_exchange_market_making.py
d3alek/hummingbot
14d6c3b8c4d34c44079c45ef6cd05e9c192f241c
[ "Apache-2.0" ]
null
null
null
test/hummingbot/strategy/cross_exchange_market_making/test_cross_exchange_market_making.py
d3alek/hummingbot
14d6c3b8c4d34c44079c45ef6cd05e9c192f241c
[ "Apache-2.0" ]
null
null
null
import logging import unittest from decimal import Decimal from math import ceil, floor from typing import List import pandas as pd from nose.plugins.attrib import attr from hummingbot.connector.exchange.paper_trade.paper_trade_exchange import QuantizationParams from hummingbot.core.clock import Clock, ClockMode from...
48.849132
132
0.672816
4,310
36,588
5.409977
0.062645
0.057254
0.030879
0.022816
0.81284
0.77184
0.712656
0.668439
0.638204
0.620234
0
0.028663
0.229529
36,588
748
133
48.914439
0.798475
0.013802
0
0.579341
0
0
0.018993
0
0
0
0
0.001337
0.164671
1
0.026946
false
0
0.028443
0
0.065868
0
0
0
0
null
0
0
0
1
1
1
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
0
0
0
0
0
0
0
4
13448b8c2c1210837607a3fff553421d1b976daa
233
py
Python
urls.py
Cantemo/FileSysArchivePlugin
8b0c5d3135d3451d44b3aa7376bdfb5ff4c82c2e
[ "BSD-3-Clause" ]
1
2016-02-16T15:17:05.000Z
2016-02-16T15:17:05.000Z
urls.py
Cantemo/FileSysArchivePlugin
8b0c5d3135d3451d44b3aa7376bdfb5ff4c82c2e
[ "BSD-3-Clause" ]
null
null
null
urls.py
Cantemo/FileSysArchivePlugin
8b0c5d3135d3451d44b3aa7376bdfb5ff4c82c2e
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from .views import FileSysArchiveSettings urlpatterns = [ url(r'^filesysarchive_example/settings/$', FileSysArchiveSettings.as_view(), name='filesysarchive_example_settings'), ]
23.3
48
0.742489
23
233
7.347826
0.695652
0.248521
0.343195
0
0
0
0
0
0
0
0
0
0.158798
233
9
49
25.888889
0.862245
0
0
0
0
0
0.280172
0.280172
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
1356cd5561370a2ef8db8e8361431a2c7e11050a
162
py
Python
tests/syntax/assign_name_before_global_1.py
friendly-traceback/friendly-traceback
4f6785f14c271a4d6412ef19c140f9d380cdbcbf
[ "MIT" ]
45
2021-07-06T03:30:20.000Z
2022-03-16T17:30:58.000Z
tests/syntax/assign_name_before_global_1.py
friendly-traceback/friendly-traceback
4f6785f14c271a4d6412ef19c140f9d380cdbcbf
[ "MIT" ]
110
2021-06-28T11:48:46.000Z
2022-03-25T20:41:25.000Z
tests/syntax/assign_name_before_global_1.py
friendly-traceback/friendly-traceback
4f6785f14c271a4d6412ef19c140f9d380cdbcbf
[ "MIT" ]
4
2021-07-05T20:56:39.000Z
2021-11-11T20:24:34.000Z
"""Should raise SyntaxError: name 'cc' is assigned to prior to global declaration """ aa, bb, cc, dd = 1, 2, 3, 4 def fn(): cc = 1 global aa, bb, cc, dd
20.25
81
0.604938
29
162
3.37931
0.689655
0.081633
0.122449
0.163265
0
0
0
0
0
0
0
0.041322
0.253086
162
7
82
23.142857
0.768595
0.481481
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
135d713384d33ebd8f0f6d4e790ffae5c8f03439
92
py
Python
tests/db.py
jiyulongxu/sql-tricks
6eee96849ce09d46dd15ec0f48b6022bd5738fff
[ "Apache-2.0" ]
1
2022-02-21T03:09:26.000Z
2022-02-21T03:09:26.000Z
tests/db.py
jiyulongxu/sql-tricks
6eee96849ce09d46dd15ec0f48b6022bd5738fff
[ "Apache-2.0" ]
null
null
null
tests/db.py
jiyulongxu/sql-tricks
6eee96849ce09d46dd15ec0f48b6022bd5738fff
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import sqlite3 import logging conn = sqlite3.connect('db.sqlite')
13.142857
35
0.673913
12
92
5.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0.038462
0.152174
92
6
36
15.333333
0.75641
0.228261
0
0
0
0
0.132353
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
1366e7910e71bb63fc7fe5de9c54fc0483b27926
226
py
Python
testing/test_awswrangler/test_metadata.py
JPFrancoia/aws-data-wrangler
5b08087d79b42683b03be91ba5ebc12ad4bd2d3d
[ "Apache-2.0" ]
null
null
null
testing/test_awswrangler/test_metadata.py
JPFrancoia/aws-data-wrangler
5b08087d79b42683b03be91ba5ebc12ad4bd2d3d
[ "Apache-2.0" ]
null
null
null
testing/test_awswrangler/test_metadata.py
JPFrancoia/aws-data-wrangler
5b08087d79b42683b03be91ba5ebc12ad4bd2d3d
[ "Apache-2.0" ]
null
null
null
import awswrangler as wr def test_metadata(): assert wr.__version__ == "1.0.3" assert wr.__title__ == "awswrangler" assert wr.__description__ == "Pandas on AWS." assert wr.__license__ == "Apache License 2.0"
25.111111
49
0.685841
30
226
4.6
0.666667
0.231884
0
0
0
0
0
0
0
0
0
0.027473
0.19469
226
8
50
28.25
0.730769
0
0
0
0
0
0.212389
0
0
0
0
0
0.666667
1
0.166667
true
0
0.166667
0
0.333333
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
1
0
0
1
0
0
0
0
0
0
4
1394568c727f7835ee137f0fb07111fc90b433fb
158
py
Python
controller/routes.py
NataliaCarvalho03/iClinicAPI
0e68b3c93b56197dc947995350c713174778a6a0
[ "CC0-1.0" ]
null
null
null
controller/routes.py
NataliaCarvalho03/iClinicAPI
0e68b3c93b56197dc947995350c713174778a6a0
[ "CC0-1.0" ]
null
null
null
controller/routes.py
NataliaCarvalho03/iClinicAPI
0e68b3c93b56197dc947995350c713174778a6a0
[ "CC0-1.0" ]
null
null
null
from view.resources import Prescription, Sign_Up def get_routes(): return [ (Prescription, '/prescriptions'), (Sign_Up, '/signup'), ]
22.571429
48
0.626582
16
158
6
0.8125
0.125
0
0
0
0
0
0
0
0
0
0
0.240506
158
7
49
22.571429
0.8
0
0
0
0
0
0.132075
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0.166667
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
0
1
0
0
0
4
13981881c4be6fde9613b288abe674f91d9b5ce7
13,793
py
Python
cpgames/modules/core/angrybirds/modules/sprites.py
Wasabii88/Games
33262ca1958207a24e57e3532feded7e275b1dd1
[ "MIT" ]
1
2022-02-27T10:33:41.000Z
2022-02-27T10:33:41.000Z
cpgames/modules/core/angrybirds/modules/sprites.py
beiwei365/Games
f6499f378802d3212a08aeca761191b58714b7f0
[ "MIT" ]
null
null
null
cpgames/modules/core/angrybirds/modules/sprites.py
beiwei365/Games
f6499f378802d3212a08aeca761191b58714b7f0
[ "MIT" ]
null
null
null
''' Function: 定义游戏精灵类 Author: Charles 微信公众号: Charles的皮卡丘 ''' import math import pygame import random from .misc import VelocityVector, VectorAddition '''猪''' class Pig(pygame.sprite.Sprite): def __init__(self, screen, images, loc_info, velocity=None, **kwargs): pygame.sprite.Sprite.__init__(se...
42.180428
191
0.597912
1,901
13,793
4.206207
0.088375
0.086668
0.111431
0.042021
0.778389
0.741121
0.728614
0.707729
0.676088
0.657079
0
0.027999
0.262017
13,793
327
192
42.180428
0.75754
0.016095
0
0.617761
0
0
0.004749
0
0
0
0
0
0.023166
1
0.100386
false
0
0.015444
0
0.158301
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
13a44b55f7a795cb0f30147ae1e085c55f302008
87
py
Python
rdnt/__main__.py
jda/rdnt
e78b496bc9a2c161bb798ad26add2ae31f76c229
[ "MIT" ]
null
null
null
rdnt/__main__.py
jda/rdnt
e78b496bc9a2c161bb798ad26add2ae31f76c229
[ "MIT" ]
null
null
null
rdnt/__main__.py
jda/rdnt
e78b496bc9a2c161bb798ad26add2ae31f76c229
[ "MIT" ]
null
null
null
#!/usr/bin/env python from cli import cli if __name__ == "__main__": cli(obj={})
12.428571
26
0.632184
13
87
3.615385
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.195402
87
6
27
14.5
0.671429
0.229885
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
13bbac0e964fb444eda78da1939174bf6da9fdb8
523
py
Python
mplapp/spacer.py
fatTimmy/mplapp
b3ffb0e3c9013af5194594d5c93cfc75aeb74c9f
[ "MIT" ]
null
null
null
mplapp/spacer.py
fatTimmy/mplapp
b3ffb0e3c9013af5194594d5c93cfc75aeb74c9f
[ "MIT" ]
11
2016-03-01T03:28:21.000Z
2016-03-13T18:44:51.000Z
mplapp/spacer.py
weegreenblobbie/mplkitcode
392cc68fe0f86b3f9e4dc78441106ac0c09b48af
[ "MIT" ]
null
null
null
from mplapp.base import Base class Spacer(Base): """ Just something that takes up space, to aid widget alignment. """ def __init__(self, width, height): self._width = float(width) self._height = float(height) def axes(self): raise RuntimeError("Spacer does not have an a...
18.678571
64
0.615679
68
523
4.602941
0.558824
0.086262
0.095847
0.172524
0.242812
0.242812
0.242812
0
0
0
0
0
0.282983
523
28
65
18.678571
0.834667
0.114723
0
0
0
0
0.127232
0
0
0
0
0
0
1
0.384615
false
0.076923
0.076923
0.076923
0.615385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
13c46b3c06ebcb497213f103c98b0f0dde932c04
5,460
py
Python
src/olympia/api/tests/test_middleware.py
anik31/addons-server
cecb61da98d6e830fb45a2b1d61b41e72812137e
[ "BSD-3-Clause" ]
2
2021-07-19T03:26:43.000Z
2021-07-24T03:12:52.000Z
src/olympia/api/tests/test_middleware.py
anik31/addons-server
cecb61da98d6e830fb45a2b1d61b41e72812137e
[ "BSD-3-Clause" ]
760
2021-05-17T07:59:30.000Z
2022-03-31T11:14:15.000Z
src/olympia/api/tests/test_middleware.py
championshuttler/addons-server
5d4c1bfbed2fc509ecc1f3f5065955996e057eeb
[ "BSD-3-Clause" ]
1
2021-07-19T03:26:52.000Z
2021-07-19T03:26:52.000Z
from django.http import HttpResponse from django.test.client import RequestFactory from olympia.amo.tests import reverse_ns, TestCase from olympia.api.middleware import APICacheControlMiddleware, APIRequestMiddleware class TestAPIRequestMiddleware(TestCase): def setUp(self): self.request_factory = Reques...
41.363636
82
0.675824
623
5,460
5.728732
0.192616
0.080134
0.075651
0.091062
0.774166
0.746428
0.717008
0.707201
0.641636
0.628748
0
0.019267
0.220513
5,460
131
83
41.679389
0.819314
0.011172
0
0.611111
0
0
0.104024
0
0
0
0
0
0.185185
1
0.148148
false
0
0.037037
0
0.203704
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
13d298fbdddc5c30868f6fd49902a061ec42c7f9
214
py
Python
demo/examples/accounting/apps.py
willist/django-material
73e50eb0105a67dde1c3f6846f868f10bda1f4ea
[ "BSD-3-Clause" ]
2,703
2015-02-05T00:55:14.000Z
2022-03-16T19:58:23.000Z
demo/examples/accounting/apps.py
willist/django-material
73e50eb0105a67dde1c3f6846f868f10bda1f4ea
[ "BSD-3-Clause" ]
495
2015-04-03T14:20:23.000Z
2022-03-01T13:05:51.000Z
demo/examples/accounting/apps.py
willist/django-material
73e50eb0105a67dde1c3f6846f868f10bda1f4ea
[ "BSD-3-Clause" ]
552
2015-04-04T12:09:36.000Z
2022-03-04T13:59:19.000Z
from django.apps import AppConfig from material.frontend.apps import ModuleMixin class Accounting(ModuleMixin, AppConfig): name = "demo.examples.accounting" icon = '<i class="material-icons">payment</i>'
26.75
50
0.757009
26
214
6.230769
0.653846
0.123457
0
0
0
0
0
0
0
0
0
0
0.130841
214
7
51
30.571429
0.870968
0
0
0
0
0
0.285047
0.271028
0
0
0
0
0
1
0
false
0
0.4
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
13e223e4493f73acd3f941f7a96674e9dda39a70
420
py
Python
algorithms/1716. Calculate Money in Leetcode Bank.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
1
2020-12-02T13:54:30.000Z
2020-12-02T13:54:30.000Z
algorithms/1716. Calculate Money in Leetcode Bank.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
null
null
null
algorithms/1716. Calculate Money in Leetcode Bank.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
null
null
null
""" 1. Clarification 2. Possible solutions - simulation - math 3. Coding 4. Tests """ # T=O(n), S=O(n) class Solution: def totalMoney(self, n: int) -> int: return sum(i%7 + 1 + i//7 for i in range(n)) # # T=O(1), S=O(1) # class Solution: # def totalMoney(self, n: int) -> int: # extra, weeks ...
21
83
0.554762
71
420
3.28169
0.43662
0.017167
0.137339
0.223176
0.317597
0.317597
0.317597
0.317597
0
0
0
0.057143
0.25
420
19
84
22.105263
0.68254
0.683333
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
13ea3cccf771dee03d9e64415a3aa21f5d206cc4
91
py
Python
src/documentClassification/routes/StatisticsRoutes.py
shaibachar/DocumentClassification
f592d1173d826e2b4e62deeba77cf58ec6f8095b
[ "MIT" ]
null
null
null
src/documentClassification/routes/StatisticsRoutes.py
shaibachar/DocumentClassification
f592d1173d826e2b4e62deeba77cf58ec6f8095b
[ "MIT" ]
null
null
null
src/documentClassification/routes/StatisticsRoutes.py
shaibachar/DocumentClassification
f592d1173d826e2b4e62deeba77cf58ec6f8095b
[ "MIT" ]
null
null
null
import os class StatisticsRoutes(object): def __init__(self,Db): self.Db = Db
15.166667
31
0.659341
12
91
4.666667
0.75
0.214286
0
0
0
0
0
0
0
0
0
0
0.241758
91
5
32
18.2
0.811594
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
1
0
0
0
0
0
0
0
4
b92700d838e767f922aaf0b795dd9aabfc3c695f
700
py
Python
Camera.py
evan-mcginnis/weeds
dabda454622d021be3aa92306d6d796e4388d080
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Camera.py
evan-mcginnis/weeds
dabda454622d021be3aa92306d6d796e4388d080
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Camera.py
evan-mcginnis/weeds
dabda454622d021be3aa92306d6d796e4388d080
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# # C A M E R A # import numpy as np from abc import ABC, abstractmethod class Camera(ABC): def __init__(self, options : str): self.options = options super().__init__() @abstractmethod def connect(self): raise NotImplementedError() return True @abstractmethod def d...
18.421053
38
0.612857
73
700
5.726027
0.452055
0.203349
0.129187
0.172249
0.401914
0.401914
0.263158
0
0
0
0
0.006198
0.308571
700
37
39
18.918919
0.857438
0.015714
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.538462
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
b94e19a56a7c2b0f23e50e8c9f286c39991893cf
270
py
Python
scraper.py
chrisaddy/citizensunited
fbffe3c43814f6d177a05bcf735ba76aea1463dd
[ "MIT" ]
null
null
null
scraper.py
chrisaddy/citizensunited
fbffe3c43814f6d177a05bcf735ba76aea1463dd
[ "MIT" ]
null
null
null
scraper.py
chrisaddy/citizensunited
fbffe3c43814f6d177a05bcf735ba76aea1463dd
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd def phetch_philly(url: str) -> pd.DataFrame: """Get all year-to-date-transactions for a given year (currently a full url) in data frame form.""" return pd.read_csv(url, sep = '\t', encoding = 'latin1', low_memory=False)
30
103
0.7
45
270
4.133333
0.822222
0
0
0
0
0
0
0
0
0
0
0.004505
0.177778
270
8
104
33.75
0.833333
0.344444
0
0
0
0
0.047059
0
0
0
0
0
0
1
0.25
false
0
0.5
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
1
0
0
1
0
1
0
0
4
b95bcc05f276d0812bfb017a57b2a63277eb6c18
1,007
py
Python
evalytics/exceptions.py
eduardogr/evalytics
fd2fc32851a0905313249120f232e96d805190b6
[ "Apache-2.0" ]
3
2020-03-30T09:21:38.000Z
2020-06-26T15:30:56.000Z
evalytics/exceptions.py
eduardogr/evalytics
fd2fc32851a0905313249120f232e96d805190b6
[ "Apache-2.0" ]
58
2020-03-26T20:49:18.000Z
2022-03-10T14:05:07.000Z
evalytics/exceptions.py
eduardogr/evalytics
fd2fc32851a0905313249120f232e96d805190b6
[ "Apache-2.0" ]
1
2020-03-26T15:42:32.000Z
2020-03-26T15:42:32.000Z
class CustomException(Exception): def __init__(self, *args): if args: self.message = args[0] else: self.message = None def get_str(self, class_name): if self.message: return '{0}, {1} '.format(self.message, class_name) else: return...
25.175
63
0.67428
98
1,007
6.591837
0.27551
0.055728
0.162539
0.193498
0.325077
0.325077
0.325077
0.325077
0
0
0
0.005089
0.219464
1,007
39
64
25.820513
0.816794
0
0
0.269231
0
0
0.136048
0.056604
0
0
0
0
0
1
0.269231
false
0
0
0.192308
0.769231
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
b961fd9016123ef27ad87e08dca318bd96656a0a
110
py
Python
apis/__init__.py
lpcheng1208/order_sanic
fad99ed4a6cb503f85ef884ba0adbca59b6070e0
[ "MIT" ]
4
2019-09-18T06:38:37.000Z
2022-02-22T08:26:02.000Z
apis/__init__.py
lpcheng1208/order_sanic
fad99ed4a6cb503f85ef884ba0adbca59b6070e0
[ "MIT" ]
1
2021-06-02T00:23:53.000Z
2021-06-02T00:23:53.000Z
apis/__init__.py
lpcheng1208/order_sanic
fad99ed4a6cb503f85ef884ba0adbca59b6070e0
[ "MIT" ]
1
2019-11-05T14:56:29.000Z
2019-11-05T14:56:29.000Z
from sanic import Blueprint from .order import order api = Blueprint.group(order, url_prefix='/api')
8.461538
47
0.718182
15
110
5.2
0.6
0
0
0
0
0
0
0
0
0
0
0
0.190909
110
12
48
9.166667
0.876404
0
0
0
0
0
0.038095
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
b974c731b2830e6e3f4c07b75900fcf8323b99aa
505
py
Python
tests/basics/try4.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
7
2019-10-18T13:41:39.000Z
2022-03-15T17:27:57.000Z
tests/basics/try4.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
null
null
null
tests/basics/try4.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
2
2020-06-23T09:10:15.000Z
2020-12-22T06:42:14.000Z
# triple nested exceptions passed = 1 def f(): try: foo() passed = 0 except: print("except 1") try: bar() passed = 0 except: print("except 2") try: baz() passed = 0 except: ...
14.852941
33
0.386139
49
505
3.979592
0.428571
0.179487
0.266667
0.369231
0.369231
0
0
0
0
0
0
0.035857
0.50297
505
33
34
15.30303
0.741036
0.047525
0
0.464286
0
0
0.083507
0
0
0
0
0
0
1
0.035714
false
0.285714
0
0
0.035714
0.214286
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
b97be9d9515168db373e98c1036b7b5803900dc5
2,625
py
Python
E-commerce store.py
K-P1/kp-learning-python
67e63a53b93f269ba25d45f6811727382edf3fff
[ "bzip2-1.0.6" ]
null
null
null
E-commerce store.py
K-P1/kp-learning-python
67e63a53b93f269ba25d45f6811727382edf3fff
[ "bzip2-1.0.6" ]
null
null
null
E-commerce store.py
K-P1/kp-learning-python
67e63a53b93f269ba25d45f6811727382edf3fff
[ "bzip2-1.0.6" ]
null
null
null
""" Take Home Project 1. Write a program for an e-commerce store. The program must accept at least 10 products on the first run. The storekeeper should be given the option to Add a product, remove a product, empty the product catalog and close the program. 2. Create a membership system that allows users to re...
30.523256
72
0.633143
363
2,625
4.534435
0.31405
0.029162
0.047388
0.032807
0.594775
0.594775
0.543742
0.543742
0.543742
0.543742
0
0.016451
0.23581
2,625
85
73
30.882353
0.804088
0.250667
0
0
0
0
0.75419
0.519553
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
b97ce72630a0c268344ef9117f421429d73bd4e9
202
py
Python
kaamkaj/admin.py
Jai-kishan/Django-User-Profile
4aac1cf600bb4c84c48338a22b0dbbfdc443d55a
[ "MIT" ]
1
2021-12-21T03:39:12.000Z
2021-12-21T03:39:12.000Z
kaamkaj/admin.py
Jai-kishan/Django-User-Profile
4aac1cf600bb4c84c48338a22b0dbbfdc443d55a
[ "MIT" ]
null
null
null
kaamkaj/admin.py
Jai-kishan/Django-User-Profile
4aac1cf600bb4c84c48338a22b0dbbfdc443d55a
[ "MIT" ]
null
null
null
from django.contrib import admin from kaamkaj.models import * # Register your models here. class KaamKajAdmin(admin.ModelAdmin): readonly_fields=('created',) admin.site.register(KaamKaj,KaamKajAdmin)
25.25
41
0.806931
25
202
6.48
0.68
0
0
0
0
0
0
0
0
0
0
0
0.094059
202
8
41
25.25
0.885246
0.128713
0
0
0
0
0.04
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b98ba656be1a191cb96fee55ad7258fbc6fe4d6d
42
py
Python
Task/User-input-Text/Python/user-input-text-1.py
LaudateCorpus1/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
5
2021-01-29T20:08:05.000Z
2022-03-22T06:16:05.000Z
Task/User-input-Text/Python/user-input-text-1.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
null
null
null
Task/User-input-Text/Python/user-input-text-1.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2021-04-13T04:19:31.000Z
2021-04-13T04:19:31.000Z
string = raw_input("Input a string: ")
21
41
0.642857
6
42
4.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.214286
42
1
42
42
0.787879
0
0
0
0
0
0.380952
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
b9a110dc665cfb848b7f90a7044da337ff9d40e9
11,723
bzl
Python
3rdparty/workspace.bzl
AleksanderGondek/animated-carnival
d371b05133126027901ebc2f8ae08acb23e4f675
[ "MIT" ]
null
null
null
3rdparty/workspace.bzl
AleksanderGondek/animated-carnival
d371b05133126027901ebc2f8ae08acb23e4f675
[ "MIT" ]
null
null
null
3rdparty/workspace.bzl
AleksanderGondek/animated-carnival
d371b05133126027901ebc2f8ae08acb23e4f675
[ "MIT" ]
null
null
null
# Do not edit. bazel-deps autogenerates this file from dependencies.yaml. def _jar_artifact_impl(ctx): jar_name = "%s.jar" % ctx.name ctx.download( output=ctx.path("jar/%s" % jar_name), url=ctx.attr.urls, sha256=ctx.attr.sha256, executable=False ) src_name="%s-sources.jar...
120.85567
898
0.736586
1,488
11,723
5.646505
0.101478
0.034278
0.08379
0.0995
0.545703
0.495001
0.462271
0.436087
0.377529
0.360628
0
0.193344
0.082317
11,723
96
899
122.114583
0.587656
0.058688
0
0.050633
1
0.278481
0.72893
0.356346
0
0
0
0
0
1
0.050633
false
0
0.012658
0.012658
0.088608
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b9a61445ea7c4e6cbf5d413e874a3241c6409e51
10,915
py
Python
tests.py
dabbers/PlxSrt
3c8d1d24e78208a6b9d6a19ffb96dd3b2595c3f3
[ "MIT" ]
1
2017-03-24T22:59:36.000Z
2017-03-24T22:59:36.000Z
tests.py
dabbers/PlxSrt
3c8d1d24e78208a6b9d6a19ffb96dd3b2595c3f3
[ "MIT" ]
2
2017-03-31T18:01:33.000Z
2019-01-22T04:36:15.000Z
tests.py
dabbers/PlxSrt
3c8d1d24e78208a6b9d6a19ffb96dd3b2595c3f3
[ "MIT" ]
1
2017-09-12T23:29:04.000Z
2017-09-12T23:29:04.000Z
import detector import os class testosshim: def __init__(self, folder): self.folder = folder def movieFolder(self): return r"C:\Media\\Movies\\" def tvFolder(self): return r"C:\Media\TV\\" def link(self, source, target, targetdir): return {"action":"link", "source": ...
36.627517
157
0.433074
1,100
10,915
4.247273
0.105455
0.041096
0.02911
0.044949
0.810788
0.762628
0.731592
0.692209
0.678938
0.626284
0
0.070636
0.396885
10,915
297
158
36.750842
0.63907
0
0
0.271739
0
0.07971
0.438388
0.192487
0
0
0
0
0
1
0.028986
false
0.003623
0.007246
0.018116
0.076087
0.01087
0
0
0
null
0
0
0
1
1
1
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
0
0
0
0
0
0
0
4
b9ec5ed9043325213134e909b8eb76751a68b2d4
60
py
Python
tests/__init__.py
unodan/tkmvc
94cb7f48e2df866162505966ff0e943ef712f339
[ "MIT" ]
null
null
null
tests/__init__.py
unodan/tkmvc
94cb7f48e2df866162505966ff0e943ef712f339
[ "MIT" ]
1
2021-11-15T17:49:24.000Z
2021-11-15T17:49:24.000Z
tests/__init__.py
unodan/tkmvc
94cb7f48e2df866162505966ff0e943ef712f339
[ "MIT" ]
1
2021-01-11T09:04:41.000Z
2021-01-11T09:04:41.000Z
# -*- coding: utf-8 -*- """Unit test package for tkmvc."""
15
34
0.55
8
60
4.125
1
0
0
0
0
0
0
0
0
0
0
0.020408
0.183333
60
3
35
20
0.653061
0.85
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
b9ff8d88129e2253354aad170a7ab10ae622bb97
422
py
Python
app/genetic/mutation_operators/gene_creation.py
SDomarecki/WSEOptimizer
e5595344085329aebcd35ac08a5f52fd9c1b1cf0
[ "MIT" ]
1
2021-08-18T03:18:44.000Z
2021-08-18T03:18:44.000Z
app/genetic/mutation_operators/gene_creation.py
SDomarecki/WSEOptimizer
e5595344085329aebcd35ac08a5f52fd9c1b1cf0
[ "MIT" ]
2
2021-02-25T08:25:57.000Z
2021-02-26T11:39:11.000Z
app/genetic/mutation_operators/gene_creation.py
SDomarecki/WSEOptimizer
e5595344085329aebcd35ac08a5f52fd9c1b1cf0
[ "MIT" ]
1
2021-03-05T12:35:58.000Z
2021-03-05T12:35:58.000Z
from app.genetic.mutation_operators.operator import Operator from app.genetic.genes.gene import Gene from app.genetic.genes.gene_factory import GeneFactory class GeneCreation(Operator): def __init__(self, mutation_rate: float, factory: GeneFactory): super().__init__(mutation_rate) self.factory = f...
32.461538
67
0.758294
54
422
5.62963
0.444444
0.069079
0.138158
0.125
0.151316
0
0
0
0
0
0
0
0.156398
422
12
68
35.166667
0.853933
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
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
0
0
0
1
0
0
1
1
1
0
0
4
6a1696ee568e86e7dafe241ae322da86ab46323c
1,164
py
Python
src/rest_framework_api_key/crypto.py
shabie/djangorestframework-api-key
0b5e3f2205b0a3cb5de5c7e46088051282e49dd0
[ "MIT" ]
462
2018-09-25T20:15:38.000Z
2022-03-25T19:25:02.000Z
src/rest_framework_api_key/crypto.py
shabie/djangorestframework-api-key
0b5e3f2205b0a3cb5de5c7e46088051282e49dd0
[ "MIT" ]
154
2018-09-22T14:55:27.000Z
2022-03-22T21:07:54.000Z
src/rest_framework_api_key/crypto.py
shabie/djangorestframework-api-key
0b5e3f2205b0a3cb5de5c7e46088051282e49dd0
[ "MIT" ]
89
2018-10-12T17:46:37.000Z
2022-03-07T23:31:33.000Z
import typing from django.contrib.auth.hashers import check_password, make_password from django.utils.crypto import get_random_string def concatenate(left: str, right: str) -> str: return "{}.{}".format(left, right) def split(concatenated: str) -> typing.Tuple[str, str]: left, _, right = concatenated.parti...
29.846154
76
0.684708
156
1,164
4.858974
0.275641
0.094987
0.079156
0.044855
0.084433
0.084433
0.084433
0
0
0
0
0.003257
0.208763
1,164
38
77
30.631579
0.819761
0
0
0
0
0
0.005155
0
0
0
0
0
0
1
0.307692
false
0.115385
0.115385
0.192308
0.730769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
6a179ca24ef533b1fcb3f23c853bb1c77797d6d2
225
py
Python
test/run/t507.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
test/run/t507.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
test/run/t507.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
import random l = [None, float('-inf'), -1, False, 0.1, True, 2.7, 123456789123456789123456789L, float('inf'), {1: 2, 3: 4}, [1, 2, 3], 'hello', (1, 2, 3)] for x in range(10): random.shuffle(l) l.sort() print l
25
141
0.568889
39
225
3.282051
0.615385
0.046875
0.070313
0
0
0
0
0
0
0
0
0.24581
0.204444
225
8
142
28.125
0.469274
0
0
0
0
0
0.053333
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
6a1a8b41fa289addf609fc5b8ce8b3664684c97f
518
py
Python
integration_tests/environment_data.py
CanopySimulations/canopy-python
9ec37e674e65d6fbef0402ac0c612c163d55631e
[ "MIT" ]
null
null
null
integration_tests/environment_data.py
CanopySimulations/canopy-python
9ec37e674e65d6fbef0402ac0c612c163d55631e
[ "MIT" ]
1
2022-01-31T10:18:08.000Z
2022-01-31T10:18:08.000Z
integration_tests/environment_data.py
CanopySimulations/canopy-python
9ec37e674e65d6fbef0402ac0c612c163d55631e
[ "MIT" ]
null
null
null
import canopy class EnvironmentData(object): def __init__( self, authentication: canopy.AuthenticationData): self._authentication = authentication @property def authentication(self) -> canopy.AuthenticationData: return self._authentication def create_session(s...
30.470588
121
0.694981
47
518
7.468085
0.425532
0.25641
0.108262
0.131054
0.210826
0
0
0
0
0
0
0.014599
0.206564
518
16
122
32.375
0.839416
0.214286
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.181818
0.636364
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
6a33ecce772b0e517120c6701d2f841944d9fe75
92
py
Python
perros/apps.py
FacundoAlvarado9/cuchanoble-backend
d04c91cdbbc61ec50db441847fec6f6b14bb5087
[ "MIT" ]
1
2017-11-21T00:25:03.000Z
2017-11-21T00:25:03.000Z
perros/apps.py
FacundoAlvarado9/cuchanoble
d04c91cdbbc61ec50db441847fec6f6b14bb5087
[ "MIT" ]
7
2020-02-11T23:24:22.000Z
2022-01-13T00:49:07.000Z
perros/apps.py
FacundoAlvarado9/cuchanoble-backend
d04c91cdbbc61ec50db441847fec6f6b14bb5087
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PerrosConfig(AppConfig): name = 'perros'
15.333333
34
0.706522
10
92
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.217391
92
5
35
18.4
0.902778
0
0
0
0
0
0.068966
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
dbe5931c92ad78211b9144686dac798306859e11
401
py
Python
sparkdq/repository/MetricsRepositoryLoader.py
PasaLab/SparkDQ
16d50210747ef7de03cf36d689ce26ff7445f63a
[ "Apache-2.0" ]
1
2021-02-08T07:49:54.000Z
2021-02-08T07:49:54.000Z
sparkdq/repository/MetricsRepositoryLoader.py
PasaLab/SparkDQ
16d50210747ef7de03cf36d689ce26ff7445f63a
[ "Apache-2.0" ]
null
null
null
sparkdq/repository/MetricsRepositoryLoader.py
PasaLab/SparkDQ
16d50210747ef7de03cf36d689ce26ff7445f63a
[ "Apache-2.0" ]
null
null
null
from abc import abstractmethod class MetricsRepositoryLoader: @abstractmethod def with_tag_values(self, tag_values): pass @abstractmethod def for_analyzers(self, analyzers): pass @abstractmethod def after(self, date_time): pass @abstractmethod def before(sel...
16.04
42
0.645885
41
401
6.170732
0.463415
0.335968
0.332016
0.126482
0.26087
0.26087
0
0
0
0
0
0
0.291771
401
24
43
16.708333
0.890845
0
0
0.588235
0
0
0
0
0
0
0
0
0
1
0.294118
false
0.294118
0.058824
0
0.411765
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
e001bb2fcc26e6c0e466a9d51e45bed3a34fe017
147
py
Python
run_time/src/gae_server/third_party/old-fonttools-master/Lib/fontTools/pens/__init__.py
moyogo/tachyfont
05c8b3e7357e7a13af37ef81b719a0ff749105a5
[ "Apache-2.0" ]
21
2015-01-16T05:10:02.000Z
2021-06-11T20:48:15.000Z
run_time/src/gae_server/third_party/old-fonttools-master/Lib/fontTools/pens/__init__.py
moyogo/tachyfont
05c8b3e7357e7a13af37ef81b719a0ff749105a5
[ "Apache-2.0" ]
9
2019-06-15T21:31:27.000Z
2021-05-08T18:55:51.000Z
run_time/src/gae_server/third_party/old-fonttools-master/Lib/fontTools/pens/__init__.py
moyogo/tachyfont
05c8b3e7357e7a13af37ef81b719a0ff749105a5
[ "Apache-2.0" ]
2
2015-05-03T04:51:08.000Z
2018-08-24T08:28:53.000Z
"""Empty __init__.py file to signal Python this directory is a package. (It can't be completely empty since WinZip seems to skip empty files.) """
36.75
71
0.755102
25
147
4.28
0.88
0
0
0
0
0
0
0
0
0
0
0
0.163265
147
3
72
49
0.869919
0.945578
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
e01bba3e69070ffda76f330f1bdd3bd5f9ad4c4a
270
py
Python
server/app/budget/models/signals/__init__.py
catvitalio/personal-budget
b4470115ebbfd185a8a781a2024787cbfe822639
[ "MIT" ]
null
null
null
server/app/budget/models/signals/__init__.py
catvitalio/personal-budget
b4470115ebbfd185a8a781a2024787cbfe822639
[ "MIT" ]
null
null
null
server/app/budget/models/signals/__init__.py
catvitalio/personal-budget
b4470115ebbfd185a8a781a2024787cbfe822639
[ "MIT" ]
null
null
null
from .include_expense import include_expense from .include_income import include_income from .include_transfer import include_transfer from .exclude_expense import exclude_expense from .exclude_income import exclude_income from .exclude_transfer import exclude_transfer
38.571429
46
0.888889
36
270
6.333333
0.194444
0.144737
0
0
0
0
0
0
0
0
0
0
0.088889
270
6
47
45
0.926829
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
e0249f734c1f00925111097cd4f339d205463164
208
py
Python
illuminate_core/support/utils.py
tonyhhyip/py-illuminate
173162c8b6e5a49472515142d5446fae543ff7b4
[ "MIT" ]
null
null
null
illuminate_core/support/utils.py
tonyhhyip/py-illuminate
173162c8b6e5a49472515142d5446fae543ff7b4
[ "MIT" ]
null
null
null
illuminate_core/support/utils.py
tonyhhyip/py-illuminate
173162c8b6e5a49472515142d5446fae543ff7b4
[ "MIT" ]
null
null
null
import inspect from typing import Any, Callable def call_user_func(func: Callable, *args) -> Any: signature = inspect.signature(func) args = args[0:len(signature.parameters)] return func(*args)
23.111111
49
0.721154
28
208
5.285714
0.571429
0.108108
0
0
0
0
0
0
0
0
0
0.00578
0.168269
208
8
50
26
0.849711
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
e034cfa1ca34848053ad67da792b4468d569a242
23
py
Python
libsolace/data/__init__.py
ExalDraen/python-libsolace
76abd2ac8b9f2c579fa9c23ae0c988ce001fabaf
[ "MIT" ]
null
null
null
libsolace/data/__init__.py
ExalDraen/python-libsolace
76abd2ac8b9f2c579fa9c23ae0c988ce001fabaf
[ "MIT" ]
null
null
null
libsolace/data/__init__.py
ExalDraen/python-libsolace
76abd2ac8b9f2c579fa9c23ae0c988ce001fabaf
[ "MIT" ]
2
2019-09-06T23:47:35.000Z
2020-09-14T10:06:07.000Z
''' libsolace data '''
5.75
14
0.565217
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
3
15
7.666667
0.684211
0.608696
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
e03f101055a154b254cc4a19a11df6e739ad4c4f
130
py
Python
spidey_simulation/spidey_py/spidey_python/omniverse/__init__.py
JasonJZLiu/Spidey-Quadruped
74c1817f997b354bae4fffd2728f2cc94947062c
[ "MIT" ]
5
2021-06-14T03:12:18.000Z
2021-12-23T12:58:56.000Z
spidey_simulation/spidey_py/spidey_python/omniverse/__init__.py
JasonJZLiu/Spidey-Quadruped
74c1817f997b354bae4fffd2728f2cc94947062c
[ "MIT" ]
null
null
null
spidey_simulation/spidey_py/spidey_python/omniverse/__init__.py
JasonJZLiu/Spidey-Quadruped
74c1817f997b354bae4fffd2728f2cc94947062c
[ "MIT" ]
null
null
null
""" This module provides all the interfaces related to omniverse simulator. """ from .kit import * from .helpers import * # EOF
14.444444
71
0.723077
17
130
5.529412
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.184615
130
8
72
16.25
0.886792
0.584615
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
e04749c8d5a517c074d5d4475d5705e2863696ab
405
py
Python
terrascript/dns/r.py
vfoucault/python-terrascript
fe82b3d7e79ffa72b7871538f999828be0a115d0
[ "BSD-2-Clause" ]
null
null
null
terrascript/dns/r.py
vfoucault/python-terrascript
fe82b3d7e79ffa72b7871538f999828be0a115d0
[ "BSD-2-Clause" ]
null
null
null
terrascript/dns/r.py
vfoucault/python-terrascript
fe82b3d7e79ffa72b7871538f999828be0a115d0
[ "BSD-2-Clause" ]
null
null
null
from terrascript import _resource class dns_a_record_set(_resource): pass a_record_set = dns_a_record_set class dns_ns_record_set(_resource): pass ns_record_set = dns_ns_record_set class dns_aaaa_record_set(_resource): pass aaaa_record_set = dns_aaaa_record_set class dns_cname_record(_resource): pass cname_record = ...
23.823529
42
0.854321
68
405
4.5
0.205882
0.264706
0.098039
0.205882
0
0
0
0
0
0
0
0
0.096296
405
16
43
25.3125
0.836066
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.454545
0.090909
0
0.545455
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
e065a7fd1aab2f3e6edb2c07d5a2c45e30938acc
175
py
Python
World 1.0 - Fundamentos/30 - Par ou Impar.py
melissa-mfs/Exercicios-de-Python
91c3b7bca601df4c211803805e20e4f0bea73642
[ "MIT" ]
null
null
null
World 1.0 - Fundamentos/30 - Par ou Impar.py
melissa-mfs/Exercicios-de-Python
91c3b7bca601df4c211803805e20e4f0bea73642
[ "MIT" ]
null
null
null
World 1.0 - Fundamentos/30 - Par ou Impar.py
melissa-mfs/Exercicios-de-Python
91c3b7bca601df4c211803805e20e4f0bea73642
[ "MIT" ]
null
null
null
#Entrada de dados numero = int(input('Digite um número :')) #Processamento e Saida de dados if numero % 2 == 0: print('O número é PAR') else: print('O número é IMPAR')
25
41
0.662857
29
175
4
0.724138
0.12069
0.206897
0.224138
0
0
0
0
0
0
0
0.014388
0.205714
175
7
42
25
0.820144
0.262857
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0eb93535876120d1899265a34ec044446c0fe45b
70
py
Python
kattis/Faktor.py
jaredliw/python-question-bank
9c8c246623d8d171f875700b57772df0afcbdcdf
[ "MIT" ]
1
2021-04-08T07:49:15.000Z
2021-04-08T07:49:15.000Z
kattis/Faktor.py
jaredliw/leetcode-solutions
9c8c246623d8d171f875700b57772df0afcbdcdf
[ "MIT" ]
null
null
null
kattis/Faktor.py
jaredliw/leetcode-solutions
9c8c246623d8d171f875700b57772df0afcbdcdf
[ "MIT" ]
1
2022-01-23T02:12:24.000Z
2022-01-23T02:12:24.000Z
# CPU: 0.05 s a, i = map(int, input().split()) print(a * (i - 1) + 1)
17.5
32
0.485714
15
70
2.266667
0.8
0.117647
0
0
0
0
0
0
0
0
0
0.092593
0.228571
70
3
33
23.333333
0.537037
0.157143
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
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
0ec9cfae066b357978f0fa4c381fc13997260fb4
132
py
Python
Chapter 04/Chap04_Example4.22.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 04/Chap04_Example4.22.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 04/Chap04_Example4.22.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
g1 = 1 def display(): global g1 g1 = 2 print(g1) print("inside",id(g1)) display() print(g1) print("outside",id(g1))
13.2
26
0.575758
21
132
3.619048
0.47619
0.184211
0.315789
0
0
0
0
0
0
0
0
0.089109
0.234848
132
9
27
14.666667
0.663366
0
0
0.222222
0
0
0.098485
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.444444
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
0
0
0
1
0
4
0eda5aebe6c0990d04b3937024959699b96b85e7
57
py
Python
lithops/storage/backends/gcsfs/__init__.py
kpavel/lithops
395eef8b283512bd714d3633dcd94258e1df620c
[ "Apache-2.0" ]
158
2020-09-16T13:22:03.000Z
2022-03-28T20:01:31.000Z
lithops/storage/backends/gcsfs/__init__.py
kpavel/lithops
395eef8b283512bd714d3633dcd94258e1df620c
[ "Apache-2.0" ]
204
2020-09-17T12:59:29.000Z
2022-03-28T19:03:22.000Z
lithops/storage/backends/gcsfs/__init__.py
kpavel/lithops
395eef8b283512bd714d3633dcd94258e1df620c
[ "Apache-2.0" ]
48
2020-09-19T15:29:53.000Z
2022-03-23T17:08:24.000Z
from .gcsfs import GcsfsStorageBackend as StorageBackend
28.5
56
0.877193
6
57
8.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
1
57
57
0.980392
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
0ef7a2cdbd22ac64a5b09a516cede82c193a7396
221
py
Python
tests/test_input_stokes_slip_bc_penalty.py
clazaro/sfepy
78757a6989d6aaf85a3fb27957b9179c5e2aa2c7
[ "BSD-3-Clause" ]
1
2021-06-07T13:20:04.000Z
2021-06-07T13:20:04.000Z
tests/test_input_stokes_slip_bc_penalty.py
clazaro/sfepy
78757a6989d6aaf85a3fb27957b9179c5e2aa2c7
[ "BSD-3-Clause" ]
null
null
null
tests/test_input_stokes_slip_bc_penalty.py
clazaro/sfepy
78757a6989d6aaf85a3fb27957b9179c5e2aa2c7
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import input_name = '../examples/navier_stokes/stokes_slip_bc_penalty.py' output_name = 'test_stokes_slip_bc_penalty.vtk' from tests_basic import TestInput class Test(TestInput): pass
27.625
66
0.828054
32
221
5.21875
0.65625
0.11976
0.143713
0.227545
0
0
0
0
0
0
0
0
0.099548
221
7
67
31.571429
0.839196
0
0
0
0
0
0.371041
0.371041
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
4
0ef9bbd8fb512badcba7f6cae7ae274b4566cb13
146
py
Python
download117M.py
asierarranz/GPT_Bench
b9d46cba218b09cb5f00f2a56a386853ee2c672e
[ "MIT" ]
1
2020-01-24T16:32:38.000Z
2020-01-24T16:32:38.000Z
download117M.py
asierarranz/GPT_Bench
b9d46cba218b09cb5f00f2a56a386853ee2c672e
[ "MIT" ]
null
null
null
download117M.py
asierarranz/GPT_Bench
b9d46cba218b09cb5f00f2a56a386853ee2c672e
[ "MIT" ]
null
null
null
import warnings warnings.simplefilter(action='ignore', category=FutureWarning) import gpt_2_simple as gpt2 gpt2.download_gpt2(model_name="117M")
24.333333
62
0.835616
20
146
5.9
0.8
0
0
0
0
0
0
0
0
0
0
0.051471
0.068493
146
5
63
29.2
0.816176
0
0
0
0
0
0.068493
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
0efb114a10c5557ea67b8e6752ee8f6e583e6196
474
py
Python
apps/counter/app.py
rapidsms/rapidsms-legacy
43c2ecd41fd1541a2538326edee3d9e816d84529
[ "BSD-3-Clause" ]
null
null
null
apps/counter/app.py
rapidsms/rapidsms-legacy
43c2ecd41fd1541a2538326edee3d9e816d84529
[ "BSD-3-Clause" ]
null
null
null
apps/counter/app.py
rapidsms/rapidsms-legacy
43c2ecd41fd1541a2538326edee3d9e816d84529
[ "BSD-3-Clause" ]
1
2019-11-02T19:35:54.000Z
2019-11-02T19:35:54.000Z
#!/usr/bin/env python # vim: ai ts=4 sts=4 et sw=4 import rapidsms class App(rapidsms.app.App): def start(self): self.counters = {} def parse(self, msg): if not msg.connection.identity in self.counters: self.counters[msg.connection.identity] = 0 def handle(self, ...
26.333333
95
0.622363
67
474
4.402985
0.552239
0.20339
0.284746
0.254237
0.335593
0
0
0
0
0
0
0.013966
0.244726
474
17
96
27.882353
0.810056
0.099156
0
0
0
0
0.068235
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.5
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
1
0
0
0
0
0
0
0
4
0efeea228827e4d2ba6953620d7b717e3ddc84ef
144
py
Python
tests/asp/weakConstraints/optimization.example2.nonground.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/asp/weakConstraints/optimization.example2.nonground.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/asp/weakConstraints/optimization.example2.nonground.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ 8 2 2 3 0 0 8 2 4 5 0 0 8 2 6 7 0 0 6 0 4 0 2 3 4 5 1 1 1 1 0 4 c 3 b 7 f 2 a 6 e 5 d 0 B+ 0 B- 1 0 1 """ output = """ COST 2@1 """
6
23
0.465278
55
144
1.218182
0.327273
0.089552
0.089552
0.119403
0
0
0
0
0
0
0
0.52381
0.416667
144
23
24
6.26087
0.27381
0
0
0.086957
0
0
0.784722
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
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
161ae04161624371abcd780faf5959c4c0fa27be
234
py
Python
kvdroid/path.py
VICTORVICKIE/Kvdroid
9441ef189b6cdbf761e4f3bfd22cbdf8eb93e7fb
[ "MIT" ]
null
null
null
kvdroid/path.py
VICTORVICKIE/Kvdroid
9441ef189b6cdbf761e4f3bfd22cbdf8eb93e7fb
[ "MIT" ]
null
null
null
kvdroid/path.py
VICTORVICKIE/Kvdroid
9441ef189b6cdbf761e4f3bfd22cbdf8eb93e7fb
[ "MIT" ]
null
null
null
import os from kvdroid import Environment def path(): return os.path.dirname(os.path.abspath("__main__")) app_folder = path() def sdcard(): return Environment.getExternalStorageDirectory().toString() sdcard = sdcard()
13.764706
63
0.726496
27
234
6.111111
0.592593
0.072727
0
0
0
0
0
0
0
0
0
0
0.153846
234
16
64
14.625
0.833333
0
0
0
0
0
0.034188
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
165beb318f4d6a24a79ecfbc39939b7ad55ccf1d
4,029
py
Python
Wigle/python-client/swagger_client/__init__.py
BillReyor/SSIDprobeCollector
437989fd1e9d8d200ca28f88a692ecc17530db73
[ "MIT" ]
1
2022-01-30T16:34:05.000Z
2022-01-30T16:34:05.000Z
Wigle/python-client/swagger_client/__init__.py
BillReyor/SSIDprobeCollector
437989fd1e9d8d200ca28f88a692ecc17530db73
[ "MIT" ]
null
null
null
Wigle/python-client/swagger_client/__init__.py
BillReyor/SSIDprobeCollector
437989fd1e9d8d200ca28f88a692ecc17530db73
[ "MIT" ]
null
null
null
# coding: utf-8 # flake8: noqa """ WiGLE API Search, upload, and integrate statistics from WiGLE. Use API Name+Token from https://wigle.net/account # noqa: E501 OpenAPI spec version: 3.1 Contact: WiGLE-admin@wigle.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ from _...
55.191781
120
0.894018
513
4,029
6.723197
0.269006
0.162656
0.251377
0.273413
0.307046
0.14352
0.04987
0
0
0
0
0.002404
0.070985
4,029
72
121
55.958333
0.919049
0.088111
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
165d7e72ffc04a88f94f61cfd71fb01d25054fd7
209
py
Python
checkov/common/graph/db_connectors/db_connector.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
checkov/common/graph/db_connectors/db_connector.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
checkov/common/graph/db_connectors/db_connector.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
class DBConnector: def save_graph(self, local_graph): pass def get_reader_endpoint(self): pass def get_writer_endpoint(self): pass def disconnect(self): pass
16.076923
38
0.617225
25
209
4.92
0.52
0.170732
0.162602
0.308943
0
0
0
0
0
0
0
0
0.315789
209
12
39
17.416667
0.86014
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.444444
0
0
0.555556
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
16668574dc81e4b7fb597e3451742037cbf58504
12,778
py
Python
stores/apps/payments/migrations/0003_auto__add_paypaltransaction.py
diassor/CollectorCity-Market-Place
892ad220b8cf1c0fc7433f625213fe61729522b2
[ "Apache-2.0" ]
135
2015-03-19T13:28:18.000Z
2022-03-27T06:41:42.000Z
stores/apps/payments/migrations/0003_auto__add_paypaltransaction.py
dfcoding/CollectorCity-Market-Place
e59acec3d600c049323397b17cae14fdcaaaec07
[ "Apache-2.0" ]
null
null
null
stores/apps/payments/migrations/0003_auto__add_paypaltransaction.py
dfcoding/CollectorCity-Market-Place
e59acec3d600c049323397b17cae14fdcaaaec07
[ "Apache-2.0" ]
83
2015-01-30T01:00:15.000Z
2022-03-08T17:25:10.000Z
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'PayPalTransaction' db.create_table('payments_paypaltransaction', ( ('id', self...
71.385475
169
0.555486
1,267
12,778
5.490923
0.137332
0.116142
0.201236
0.28748
0.741124
0.732787
0.71482
0.695846
0.61722
0.438839
0
0.012011
0.198544
12,778
178
170
71.786517
0.667318
0.006496
0
0.180723
0
0
0.578678
0.328973
0
0
0
0
0
1
0.012048
false
0.006024
0.024096
0
0.054217
0
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1674a4637801fa20211da240be468fa21d7eb084
996
py
Python
setup.py
Codesee-io/currint
103ed6776fa5125a0e498c1f868bfb52adf5a98f
[ "Apache-2.0" ]
15
2015-07-19T10:54:34.000Z
2019-10-23T16:48:09.000Z
setup.py
Codesee-io/currint
103ed6776fa5125a0e498c1f868bfb52adf5a98f
[ "Apache-2.0" ]
6
2015-08-31T04:04:17.000Z
2018-02-20T18:57:28.000Z
setup.py
Codesee-io/currint
103ed6776fa5125a0e498c1f868bfb52adf5a98f
[ "Apache-2.0" ]
7
2017-10-12T22:38:23.000Z
2021-09-15T16:33:37.000Z
from setuptools import ( find_packages, setup, ) from currint import __version__ setup( name='currint', version=__version__, description='Integer-based, fixed precision currency calculation', packages=find_packages(), author='Andrew Godwin', author_email='andrew@aeracode.org', ins...
28.457143
70
0.614458
93
996
6.44086
0.580645
0.222037
0.292154
0.173623
0
0
0
0
0
0
0
0.014865
0.257028
996
34
71
29.294118
0.794595
0
0
0.064516
0
0
0.543173
0
0
0
0
0
0
1
0
true
0
0.064516
0
0.064516
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
168133898eace07483f99f2c35e043f213c14baa
288
py
Python
basicsr/__init__.py
hiterjoshua/BasicSR
299b9459b5281d2d200bfd1d400515fe928a63c0
[ "Apache-2.0", "MIT" ]
null
null
null
basicsr/__init__.py
hiterjoshua/BasicSR
299b9459b5281d2d200bfd1d400515fe928a63c0
[ "Apache-2.0", "MIT" ]
null
null
null
basicsr/__init__.py
hiterjoshua/BasicSR
299b9459b5281d2d200bfd1d400515fe928a63c0
[ "Apache-2.0", "MIT" ]
null
null
null
# https://github.com/xinntao/BasicSR # flake8: noqa from .archs import * from .data import * from .losses import * from .metrics import * from .models import * # from .ops import * from .test import * from .train import * from .utils import * from .version import __gitsha__, __version__
22.153846
44
0.732639
39
288
5.205128
0.512821
0.44335
0
0
0
0
0
0
0
0
0
0.004149
0.163194
288
12
45
24
0.838174
0.229167
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
1698833c144c21fc7a54539d48ce4a920e680264
143
py
Python
tests/asp/AllAnswerSets/nontight/example.gus1.asp.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/asp/AllAnswerSets/nontight/example.gus1.asp.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/asp/AllAnswerSets/nontight/example.gus1.asp.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ 1 2 2 1 3 4 1 3 2 1 2 4 1 4 0 0 1 5 1 0 2 1 6 1 0 5 1 5 1 0 6 0 3 d 2 c 6 b 5 a 0 B+ 0 B- 1 0 1 """ output = """ {d} {c, a, b} """
5.72
12
0.433566
53
143
1.169811
0.245283
0.129032
0.096774
0.129032
0
0
0
0
0
0
0
0.488095
0.412587
143
24
13
5.958333
0.25
0
0
0.083333
0
0
0.783217
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
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
16a563870ad493fed817178a7a9c39c97d86d8db
20
py
Python
src/eoapi/raster/eoapi/raster/__init__.py
drnextgis/eoAPI
690d6f9efcb4108ae0f21334fd4ed4db79e80366
[ "MIT" ]
14
2021-08-31T19:03:46.000Z
2022-03-18T20:05:01.000Z
src/eoapi/raster/eoapi/raster/__init__.py
drnextgis/eoAPI
690d6f9efcb4108ae0f21334fd4ed4db79e80366
[ "MIT" ]
27
2021-08-30T17:34:20.000Z
2022-03-10T18:15:53.000Z
src/eoapi/raster/eoapi/raster/__init__.py
drnextgis/eoAPI
690d6f9efcb4108ae0f21334fd4ed4db79e80366
[ "MIT" ]
2
2021-09-08T15:53:40.000Z
2022-03-01T20:25:51.000Z
"""eoapi.raster."""
10
19
0.55
2
20
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.05
20
1
20
20
0.578947
0.65
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
16a9ecdbd9eef9ed95681122c000e2d1e264c261
154
py
Python
__main__.py
jhubaum/draft
f6cf6ea5c9571c8d6bff55216cf3f5604b8a1600
[ "MIT" ]
null
null
null
__main__.py
jhubaum/draft
f6cf6ea5c9571c8d6bff55216cf3f5604b8a1600
[ "MIT" ]
null
null
null
__main__.py
jhubaum/draft
f6cf6ea5c9571c8d6bff55216cf3f5604b8a1600
[ "MIT" ]
null
null
null
import os from . import app from .views import setup if __name__ == '__main__': setup() app.secret_key = os.urandom(12) app.run(debug=True)
15.4
35
0.668831
23
154
4.086957
0.695652
0
0
0
0
0
0
0
0
0
0
0.016529
0.214286
154
9
36
17.111111
0.760331
0
0
0
0
0
0.051948
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
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
16c5aa14f0c3017ca69f9d36fd4fcf7c36f7fc29
2,407
py
Python
meiduo_mall/meiduo_mall/apps/oauth/serializers.py
ld-xy/Django_html_vue.js
330bceccc1004d98d34b9f7171fe8e64bab6d409
[ "Apache-2.0" ]
1
2021-07-28T10:34:13.000Z
2021-07-28T10:34:13.000Z
meiduo_mall/meiduo_mall/apps/oauth/serializers.py
ld-xy/Django_vue_-
330bceccc1004d98d34b9f7171fe8e64bab6d409
[ "Apache-2.0" ]
null
null
null
meiduo_mall/meiduo_mall/apps/oauth/serializers.py
ld-xy/Django_vue_-
330bceccc1004d98d34b9f7171fe8e64bab6d409
[ "Apache-2.0" ]
null
null
null
from django_redis import get_redis_connection from rest_framework import serializers from .utils import check_save_user_token from users.models import User from .models import OAuthQQUser class QQAuthUserSerializer(serializers.Serializer): """openid 绑定用户的序列化器""" # mobile password sms_code access_token ...
2,407
2,407
0.635646
257
2,407
5.789883
0.412451
0.028226
0.053763
0.024194
0
0
0
0
0
0
0
0.009106
0.270046
2,407
1
2,407
2,407
0.837792
0.160781
0
0.044444
0
0
0.070359
0
0
0
0
0
0
1
0.044444
false
0.066667
0.111111
0
0.311111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
16cbfc3b3257dbf81ae62f8f3af1bd4c1cf41dc3
184
py
Python
skylearn/__init__.py
sherwyn11/Skylearn.py
ab3069950a2f58222ccb9eefc1740f8896a0ea40
[ "MIT" ]
1
2020-05-17T21:24:34.000Z
2020-05-17T21:24:34.000Z
skylearn/__init__.py
sherwyn11/Skylearn.py
ab3069950a2f58222ccb9eefc1740f8896a0ea40
[ "MIT" ]
null
null
null
skylearn/__init__.py
sherwyn11/Skylearn.py
ab3069950a2f58222ccb9eefc1740f8896a0ea40
[ "MIT" ]
1
2020-04-26T11:11:08.000Z
2020-04-26T11:11:08.000Z
from flask import Flask, session import os app = Flask(__name__) app.config["SECRET_KEY"] = os.getenv('SECRET_KEY') app.secret_key = "HelloWorld" from skylearn import routes
20.444444
51
0.733696
26
184
4.923077
0.538462
0.210938
0
0
0
0
0
0
0
0
0
0
0.163043
184
8
52
23
0.831169
0
0
0
0
0
0.170455
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
16de842792da47e48dd3b9feb042576a5531b4ab
209
py
Python
exercises/exe01 - 10/exe009.py
thomas-rohde/Classes-Python
f862995510b7aabf68bc14aecf815f597034d8a1
[ "MIT" ]
null
null
null
exercises/exe01 - 10/exe009.py
thomas-rohde/Classes-Python
f862995510b7aabf68bc14aecf815f597034d8a1
[ "MIT" ]
null
null
null
exercises/exe01 - 10/exe009.py
thomas-rohde/Classes-Python
f862995510b7aabf68bc14aecf815f597034d8a1
[ "MIT" ]
null
null
null
l = float(input('Qual a largura da parede (em m)? ')) h = float(input('Qual a altura da parede (em m)? ')) m = float(l*h) print('A quantida de litros necessária para pintar essa parede é {:.2f}'.format(m/2))
41.8
85
0.660287
39
209
3.538462
0.615385
0.144928
0.202899
0.217391
0
0
0
0
0
0
0
0.011494
0.167464
209
5
85
41.8
0.781609
0
0
0
0
0
0.619048
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bc8f06653efd6effe231538c02f5aa5fa040ea14
454
py
Python
deephyper/core/exceptions/loading.py
jtchilders/deephyper
06f9653599757a69fa5720820f4de3a1f154b081
[ "BSD-3-Clause" ]
null
null
null
deephyper/core/exceptions/loading.py
jtchilders/deephyper
06f9653599757a69fa5720820f4de3a1f154b081
[ "BSD-3-Clause" ]
null
null
null
deephyper/core/exceptions/loading.py
jtchilders/deephyper
06f9653599757a69fa5720820f4de3a1f154b081
[ "BSD-3-Clause" ]
null
null
null
"""Exceptions related with imports of modules/attributes/scripts. """ from deephyper.core.exceptions import DeephyperError class GenericLoaderError(DeephyperError): """Raised when the generic_loader function is failing. """ def __init__(self, str_value): self.str_value = str_value def __str_...
30.266667
124
0.73348
59
454
5.423729
0.728814
0.1
0.1125
0
0
0
0
0
0
0
0
0
0.180617
454
14
125
32.428571
0.860215
0.262115
0
0
0
0.166667
0.328173
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
bcb1152785898fd78050592e47535f089bfa0f92
229
py
Python
venv/Lib/site-packages/bootstrap3/templates/bootstrap3/messages.html.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
venv/Lib/site-packages/bootstrap3/templates/bootstrap3/messages.html.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
venv/Lib/site-packages/bootstrap3/templates/bootstrap3/messages.html.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
BBBB BBBBBBBBBB BBB BBBBBBB BB BBBBBBBB XXXX XXXXXXXFFFFFFFFFFFFFFFFFFFFFFFFF XXXXXXXXXXXXXXXXXXX XXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXX BBBBBB
28.625
99
0.820961
16
229
11.75
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.179039
229
7
100
32.714286
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
bcc02da69d5fa05d6da6766290287fc2da6aaf0f
16,207
py
Python
tests/test_pocket.py
reactive-firewall/PiAP-python-tools
0313956cef86a4e44c606280e07afb2b94864581
[ "MIT-0" ]
2
2017-05-01T10:25:33.000Z
2018-06-22T21:54:52.000Z
tests/test_pocket.py
reactive-firewall/PiAP-python-tools
0313956cef86a4e44c606280e07afb2b94864581
[ "MIT-0" ]
89
2017-05-05T22:11:03.000Z
2020-04-05T03:06:36.000Z
tests/test_pocket.py
reactive-firewall/PiAP-python-tools
0313956cef86a4e44c606280e07afb2b94864581
[ "MIT-0" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # Pocket PiAP # ...................................................................... # Copyright (c) 2017-2020, Kendrick Walls # ...................................................................... # Licensed under MIT (the "License"); # you may not use this file exce...
28.838078
98
0.635404
1,986
16,207
5.095166
0.111279
0.074316
0.029351
0.037948
0.769246
0.744836
0.705801
0.689396
0.67398
0.654907
0
0.004809
0.20448
16,207
561
99
28.889483
0.780036
0.105016
0
0.815789
0
0
0.113333
0.019444
0
0
0
0
0.038462
1
0.030364
false
0
0.103239
0
0.143725
0.190283
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bcc6e41e9eb6107ffc9f5cdbeca4d7f27007acb6
740
py
Python
dwtools3/django/duration/__init__.py
bazzisoft/dwtools3
ed7b457290ca940b6e53ab56df26ece42afc9928
[ "MIT" ]
1
2019-09-03T10:42:16.000Z
2019-09-03T10:42:16.000Z
dwtools3/django/duration/__init__.py
bazzisoft/dwtools3
ed7b457290ca940b6e53ab56df26ece42afc9928
[ "MIT" ]
null
null
null
dwtools3/django/duration/__init__.py
bazzisoft/dwtools3
ed7b457290ca940b6e53ab56df26ece42afc9928
[ "MIT" ]
null
null
null
""" DurationField form field to store datetime.timedelta objects. Works with Django ``models.DurationField``. Borrowed from https://github.com/johnpaulett/django-durationfield. Dependencies ------------ None. Installation ------------ None. Usage ----- In your models:: from django.db import models cl...
15.416667
66
0.67973
85
740
5.894118
0.576471
0.075848
0.095808
0
0
0
0
0
0
0
0
0.031933
0.195946
740
47
67
15.744681
0.810084
0.841892
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
bcfa2ca19bea4a53a7dbe800f443166ff227ec59
445
py
Python
weatherbitpypi/errors.py
nepozs/py-weatherbit
32e7e0e79edbc9a2587a5e2f118a781a8eb044e7
[ "MIT" ]
null
null
null
weatherbitpypi/errors.py
nepozs/py-weatherbit
32e7e0e79edbc9a2587a5e2f118a781a8eb044e7
[ "MIT" ]
null
null
null
weatherbitpypi/errors.py
nepozs/py-weatherbit
32e7e0e79edbc9a2587a5e2f118a781a8eb044e7
[ "MIT" ]
null
null
null
"""Define package errors.""" class WeatherbitError(Exception): """Define a base error.""" pass class InvalidApiKey(WeatherbitError): """Define an error related to invalid or missing API Key.""" pass class RequestError(WeatherbitError): """Define an error related to invalid requests.""" ...
17.8
72
0.692135
51
445
6.039216
0.529412
0.087662
0.224026
0.272727
0.405844
0.405844
0.285714
0
0
0
0
0
0.202247
445
24
73
18.541667
0.867606
0.462921
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
4c0999428354be0cfefb5c33cf696585521924fc
1,929
py
Python
openpnm/network/__init__.py
lixuekai2001/OpenPNM
9026f0fed427d37f4caf1a79e4a7684490d52cf6
[ "MIT" ]
2
2019-08-24T09:17:40.000Z
2020-07-05T07:21:21.000Z
openpnm/network/__init__.py
xu-kai-xu/OpenPNM
61d5fc4729a0a29291cf6c53c07c4246e7a13714
[ "MIT" ]
2
2020-06-26T19:58:23.000Z
2021-12-14T07:16:41.000Z
openpnm/network/__init__.py
xu-kai-xu/OpenPNM
61d5fc4729a0a29291cf6c53c07c4246e7a13714
[ "MIT" ]
null
null
null
r""" Object model for storing topological information of the network =============================================================== This module contains the ``GenericNetwork`` class, whose main purpose is to manage the topological representation of the Network. It also houses a collection of Network generators. Avai...
37.823529
79
0.755314
264
1,929
5.454545
0.507576
0.047222
0.061111
0.027778
0.031944
0
0
0
0
0
0
0.001801
0.13634
1,929
50
80
38.58
0.862545
0.828409
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.9
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4