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
f2cc6f707e9c035c7fc36fc8fe3aa500b674fa95
72
py
Python
autoclick.py
RicardoHigino/Auto-Click
2a69e5627b98c6b2ba48f20cd2385b12d5803c45
[ "MIT" ]
1
2021-06-03T23:04:59.000Z
2021-06-03T23:04:59.000Z
autoclick.py
RicardoHigino/Auto-Click
2a69e5627b98c6b2ba48f20cd2385b12d5803c45
[ "MIT" ]
null
null
null
autoclick.py
RicardoHigino/Auto-Click
2a69e5627b98c6b2ba48f20cd2385b12d5803c45
[ "MIT" ]
null
null
null
import pyautogui, time time.sleep(1) while True: pyautogui.click()
12
22
0.722222
10
72
5.2
0.8
0
0
0
0
0
0
0
0
0
0
0.016667
0.166667
72
5
23
14.4
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f2e18fb5855624c7827ec4b35f6cf17495b84d3a
85
py
Python
lib/direction.py
MaZderMind/sweet-sixteen-scheduler
3c9dc14cf9af8ae00cf8e5a6abd2c47074a3b0ce
[ "BSD-2-Clause" ]
null
null
null
lib/direction.py
MaZderMind/sweet-sixteen-scheduler
3c9dc14cf9af8ae00cf8e5a6abd2c47074a3b0ce
[ "BSD-2-Clause" ]
null
null
null
lib/direction.py
MaZderMind/sweet-sixteen-scheduler
3c9dc14cf9af8ae00cf8e5a6abd2c47074a3b0ce
[ "BSD-2-Clause" ]
null
null
null
from enum import Enum class Direction(Enum): RIGHT = "right" LEFT = "left"
12.142857
22
0.635294
11
85
4.909091
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.258824
85
6
23
14.166667
0.857143
0
0
0
0
0
0.105882
0
0
0
0
0
0
1
0
false
0
0.25
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
0
0
1
0
0
3
841c86a9830687297432d62551ed89c1cf0f648c
123
py
Python
myapp/run.py
tencentmusic/fab
e4fa8f505f7c78614b0e63601bb499373aa91a33
[ "MIT" ]
19
2021-08-05T05:08:54.000Z
2022-03-17T06:18:48.000Z
myapp/run.py
jollyshuai/cube-studio
02ee737801f37a78a1b2e49c844c8401b41d9c48
[ "Apache-2.0" ]
null
null
null
myapp/run.py
jollyshuai/cube-studio
02ee737801f37a78a1b2e49c844c8401b41d9c48
[ "Apache-2.0" ]
5
2021-08-05T06:54:45.000Z
2022-03-01T12:43:27.000Z
from myapp import app # 如果使用 flask run 命令启动,将忽视 这里配置8080,而采用默认的5000端口 app.run(host="0.0.0.0", port=80, debug=True)
10.25
47
0.699187
22
123
3.909091
0.772727
0.069767
0.069767
0
0
0
0
0
0
0
0
0.137255
0.170732
123
11
48
11.181818
0.705882
0.365854
0
0
0
0
0.102941
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
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
3
843a461cc6f6abe0ff3011cf4dfa1136358d0d07
16,222
py
Python
evaluators/niqe.py
axki/srzoo
305c5b29d6b82f1d0e5edd39cd9f36650212dca2
[ "Apache-2.0" ]
130
2019-05-22T11:43:19.000Z
2022-03-31T08:11:25.000Z
evaluators/niqe.py
axki/srzoo
305c5b29d6b82f1d0e5edd39cd9f36650212dca2
[ "Apache-2.0" ]
1
2022-01-20T06:35:40.000Z
2022-01-21T02:50:49.000Z
evaluators/niqe.py
axki/srzoo
305c5b29d6b82f1d0e5edd39cd9f36650212dca2
[ "Apache-2.0" ]
23
2019-05-24T00:50:32.000Z
2021-11-20T23:37:26.000Z
import scipy import cv2 as cv import numpy as np from .base import BaseEvaluator # Python version of Naturalness Image Quality Evaluator (NIQE) # Original source code: https://github.com/dsoellinger/blind_image_quality_toolbox/tree/master/%2Bniqe def create_evaluator(): return NIQEEvaluator() class NIQEEvaluato...
97.722892
10,800
0.693194
3,397
16,222
3.274065
0.217545
0.005395
0.006294
0.004316
0.04091
0.024996
0.015465
0.008991
0.005395
0.005395
0
0.537921
0.06935
16,222
165
10,801
98.315152
0.198781
0.019665
0
0.037037
0
0
0.008367
0
0
0
0
0
0
1
0.074074
false
0
0.037037
0.018519
0.175926
0
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
0
0
0
0
0
0
0
0
0
0
0
0
0
3
84420c7fa1847be89a5f0f3b85fc8060ee7d30d4
150
py
Python
dl/utils/reader.py
timoninn/pide-pipe
2eec6c918cf1edbfa22ba6cfe3af57c9abb53ac6
[ "MIT" ]
1
2019-11-21T07:26:46.000Z
2019-11-21T07:26:46.000Z
dl/utils/reader.py
timoninn/pide-pipe
2eec6c918cf1edbfa22ba6cfe3af57c9abb53ac6
[ "MIT" ]
null
null
null
dl/utils/reader.py
timoninn/pide-pipe
2eec6c918cf1edbfa22ba6cfe3af57c9abb53ac6
[ "MIT" ]
null
null
null
import yaml def load_yaml(filepath: str): with open(filepath, 'r') as f: config = yaml.load(f, Loader=yaml.SafeLoader) return config
21.428571
53
0.666667
22
150
4.5
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.22
150
7
54
21.428571
0.846154
0
0
0
0
0
0.006623
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
845685245b24048c7d9e4918afd74fbe8a508f67
89
py
Python
src/drstorage/models/x2b.py
chelling87/drstorage
5d69cdd01306c8d890ace1b4277b64f50efa5114
[ "BSD-3-Clause" ]
null
null
null
src/drstorage/models/x2b.py
chelling87/drstorage
5d69cdd01306c8d890ace1b4277b64f50efa5114
[ "BSD-3-Clause" ]
null
null
null
src/drstorage/models/x2b.py
chelling87/drstorage
5d69cdd01306c8d890ace1b4277b64f50efa5114
[ "BSD-3-Clause" ]
null
null
null
from .base import DrStorageFactory X2B_400 = DrStorageFactory(model_number=b"\x00\xfa")
22.25
52
0.808989
12
89
5.833333
0.916667
0
0
0
0
0
0
0
0
0
0
0.074074
0.089888
89
3
53
29.666667
0.790123
0
0
0
0
0
0.089888
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ffdb0ab1dd6e3b846492fec63abe0d6f8d83f55a
196
py
Python
fpb/avg/cudamat.py
cloudmercato/python-fpb
5da2773e3bb7068bfb9cde920c5b754eecdf342e
[ "BSD-3-Clause" ]
3
2021-12-29T20:39:53.000Z
2021-12-29T23:53:02.000Z
fpb/avg/cudamat.py
cloudspectatordevelopment/python-fpb
5da2773e3bb7068bfb9cde920c5b754eecdf342e
[ "BSD-3-Clause" ]
null
null
null
fpb/avg/cudamat.py
cloudspectatordevelopment/python-fpb
5da2773e3bb7068bfb9cde920c5b754eecdf342e
[ "BSD-3-Clause" ]
null
null
null
from fpb.base import cudamat class Runner(cudamat.BaseCudamat1dRunner): def run(self, data): output = self.cm.sum(data, axis=1).asarray() / data.shape[1] return output[0][0]
24.5
68
0.663265
28
196
4.642857
0.75
0
0
0
0
0
0
0
0
0
0
0.031847
0.19898
196
7
69
28
0.796178
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ffe3331fb3156c6b0a7e3aad5994b857bc27d027
190
py
Python
nyuseu/management/commands/nyuseu_update.py
foxmask/nyuseu
e563bec3be46be0f0430987560b1126872f97a5f
[ "BSD-3-Clause" ]
1
2020-09-04T20:41:33.000Z
2020-09-04T20:41:33.000Z
nyuseu/management/commands/nyuseu_update.py
foxmask/nyuseu
e563bec3be46be0f0430987560b1126872f97a5f
[ "BSD-3-Clause" ]
4
2020-09-06T20:30:20.000Z
2020-09-09T12:08:35.000Z
nyuseu/management/commands/nyuseu_update.py
foxmask/nyuseu
e563bec3be46be0f0430987560b1126872f97a5f
[ "BSD-3-Clause" ]
null
null
null
from django.core.management.base import BaseCommand from nyuseu.engine import go __author__ = 'FoxMaSk' class Command(BaseCommand): def handle(self, *args, **options): go()
15.833333
51
0.710526
23
190
5.695652
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.184211
190
11
52
17.272727
0.845161
0
0
0
0
0
0.036842
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
081718d54bd6d12201ef5694e1baaf2662fdf620
167
py
Python
Test/Except.py
twodulls/pythonsample
f576f79be75d96df61e26ef79a0e36a6feedfec1
[ "Apache-2.0" ]
null
null
null
Test/Except.py
twodulls/pythonsample
f576f79be75d96df61e26ef79a0e36a6feedfec1
[ "Apache-2.0" ]
null
null
null
Test/Except.py
twodulls/pythonsample
f576f79be75d96df61e26ef79a0e36a6feedfec1
[ "Apache-2.0" ]
null
null
null
try: a=[1,2] print(a[3]) 4/0 #except ZeroDivisionError as e: # print(e) #except IndexError as e: # print(e) except (ZeroDivisionError, IndexError) as e: print(e)
13.916667
44
0.682635
28
167
4.071429
0.464286
0.078947
0.210526
0.236842
0.517544
0
0
0
0
0
0
0.035714
0.161677
167
11
45
15.181818
0.778571
0.42515
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0819b21b0e61a5089cb3cd81503ba880ccfdcba6
84
py
Python
utils/__init__.py
XuezheMax/apollo
7adf28f6af4606e4730e161473b33a9916211c61
[ "Apache-2.0" ]
166
2020-09-27T06:34:56.000Z
2022-02-13T07:45:15.000Z
utils/__init__.py
JustCoolPig/apollo
852991fd769f80689415abee8653c0a5eedbab40
[ "Apache-2.0" ]
9
2020-10-08T10:59:06.000Z
2022-01-27T06:32:19.000Z
utils/__init__.py
JustCoolPig/apollo
852991fd769f80689415abee8653c0a5eedbab40
[ "Apache-2.0" ]
15
2020-10-11T10:19:35.000Z
2021-10-04T13:40:40.000Z
__author__ = 'max' from utils.utils import AverageMeter, accuracy, clip_grad_norm_
21
63
0.809524
11
84
5.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.119048
84
3
64
28
0.824324
0
0
0
0
0
0.035714
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
081c5de2a3d68fc7a1995c51e7f711eab31e05d7
260
py
Python
python-tensorflow/test_gpu.py
wisrovi/imagenesDocker
fcaddf578ea09bcf7070739ead62a0df7610b305
[ "MIT" ]
null
null
null
python-tensorflow/test_gpu.py
wisrovi/imagenesDocker
fcaddf578ea09bcf7070739ead62a0df7610b305
[ "MIT" ]
null
null
null
python-tensorflow/test_gpu.py
wisrovi/imagenesDocker
fcaddf578ea09bcf7070739ead62a0df7610b305
[ "MIT" ]
null
null
null
import tensorflow as tf print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU'))) print(tf.test.is_gpu_available()) print(tf.test.is_built_with_cuda()) from tensorflow.python.client import device_lib print(device_lib.list_local_devices())
23.636364
74
0.796154
41
260
4.780488
0.609756
0.071429
0.112245
0.132653
0
0
0
0
0
0
0
0
0.076923
260
10
75
26
0.816667
0
0
0
0
0
0.088462
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
3
0831ed1cdc4dba28de382d527493ddb0d8c757ab
671
py
Python
custom_shape.py
shvm-k/triangles-and-shapes
8c8c78dc81355eb086995f2f1c0a5094ae3c4b7b
[ "MIT" ]
null
null
null
custom_shape.py
shvm-k/triangles-and-shapes
8c8c78dc81355eb086995f2f1c0a5094ae3c4b7b
[ "MIT" ]
null
null
null
custom_shape.py
shvm-k/triangles-and-shapes
8c8c78dc81355eb086995f2f1c0a5094ae3c4b7b
[ "MIT" ]
null
null
null
# Prepared by : Shvm-k ''' program to print custome shape example: enter tow or more characters >>> ASE ASEESA AS ES A E A A AS AS ASEASE ''' s=input("enter tow or more characters >>> ") print(" ") for i in range(1,len(s)+1): for j in range(0,len(s)+1-i): print(s[j],end="") for j in range(1,i): p...
18.135135
44
0.558867
137
671
2.737226
0.248175
0.186667
0.128
0.234667
0.749333
0.581333
0.581333
0.581333
0.581333
0.581333
0
0.031716
0.201192
671
37
45
18.135135
0.66791
0.223547
0
0.863636
0
0
0.073786
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0843941b61faea6a4783199b8e94f3d3f27ba659
5,424
py
Python
mlvajra/model/vajron.py
rajagurunath/mlvajra
abaa40717342cecc785144700884e1c9d5910c43
[ "Apache-2.0" ]
2
2019-04-22T12:25:05.000Z
2019-05-05T16:49:12.000Z
mlvajra/model/vajron.py
rajagurunath/mlvajra
abaa40717342cecc785144700884e1c9d5910c43
[ "Apache-2.0" ]
9
2019-04-06T14:27:22.000Z
2021-04-30T20:42:19.000Z
mlvajra/model/vajron.py
rajagurunath/mlvajra
abaa40717342cecc785144700884e1c9d5910c43
[ "Apache-2.0" ]
null
null
null
from ..evaluation import classification_metrics,regression_metrics try: from mlflow import (create_experiment, set_experiment, run,ActiveRun , log_metric, log_param, set_tag, log_artifacts, log_artifact, active_run, start_run ,end_run, get_artifact_uri ) except...
57.094737
138
0.621128
586
5,424
5.462457
0.295222
0.027491
0.059356
0.099969
0.405186
0.337395
0.289597
0.271478
0.271478
0.228366
0
0.002918
0.241888
5,424
94
139
57.702128
0.775535
0
0
0
0
0
0.079487
0
0
0
0
0.021277
0
1
0
true
0
0.428571
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
0
0
0
3
084f13f63ded25762d457ff154f7e0d80476caa1
2,730
py
Python
tgtypes/models/update.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
tgtypes/models/update.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
tgtypes/models/update.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import TYPE_CHECKING, Optional from ._base import TelegramObject if TYPE_CHECKING: # pragma: no cover from .callback_query import CallbackQuery from .chosen_inline_result import ChosenInlineResult from .inline_query import InlineQuery from .message impo...
47.068966
98
0.737729
380
2,730
5.231579
0.418421
0.03169
0.045272
0.044266
0.146881
0.120724
0.120724
0.066398
0.066398
0
0
0
0.196703
2,730
57
99
47.894737
0.905609
0.068132
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.44
0
0.96
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
08565e5805a176fba04c7925c1128a3dd3dcb877
278
py
Python
al_papi/__init__.py
authoritylabs/py_al_papi
d90745d07d7862f22da5725ba3d5d2fbd8d2f557
[ "MIT" ]
null
null
null
al_papi/__init__.py
authoritylabs/py_al_papi
d90745d07d7862f22da5725ba3d5d2fbd8d2f557
[ "MIT" ]
null
null
null
al_papi/__init__.py
authoritylabs/py_al_papi
d90745d07d7862f22da5725ba3d5d2fbd8d2f557
[ "MIT" ]
null
null
null
from al_http import AlHttp from config import Config from engines import Engines from locales import Locales from request import Request from request_error import RequestError from response import Response from web_insight import WebInsight
34.75
38
0.751799
35
278
5.885714
0.428571
0.106796
0
0
0
0
0
0
0
0
0
0
0.248201
278
8
39
34.75
0.985646
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
0859a215f20c9597c9e28b008939cb36813560f7
57
py
Python
daiquiri/cutout/__init__.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
14
2018-12-23T18:35:02.000Z
2021-12-15T04:55:12.000Z
daiquiri/cutout/__init__.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
40
2018-12-20T12:44:05.000Z
2022-03-21T11:35:20.000Z
daiquiri/cutout/__init__.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
5
2019-05-16T08:03:35.000Z
2021-08-23T20:03:11.000Z
default_app_config = 'daiquiri.cutout.apps.CutoutConfig'
28.5
56
0.842105
7
57
6.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.052632
57
1
57
57
0.851852
0
0
0
0
0
0.578947
0.578947
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f246d6d7a5888612739451ad2f542a7fe4b561ca
455
py
Python
strings/text-wrap.py
vcelis/hackerrank-python
bebb9901bcdd80eb1a7f80c8aaf91daedde65339
[ "MIT" ]
null
null
null
strings/text-wrap.py
vcelis/hackerrank-python
bebb9901bcdd80eb1a7f80c8aaf91daedde65339
[ "MIT" ]
null
null
null
strings/text-wrap.py
vcelis/hackerrank-python
bebb9901bcdd80eb1a7f80c8aaf91daedde65339
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Title : Text Wrap Subdomain : Strings Author : Vincent Celis Created : 19 July 2018 https://www.hackerrank.com/challenges/text-wrap/problem """ import textwrap def wrap(string, max_width): return '\n'.join(textwrap.wrap(string, max_wid...
18.958333
55
0.641758
58
455
4.827586
0.706897
0.128571
0.2
0.192857
0
0
0
0
0
0
0
0.022284
0.210989
455
23
56
19.782609
0.75766
0.459341
0
0
0
0
0.042194
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
f2673497299cff502782737fe3b44ed8e3405e0b
94
py
Python
backend/config.py
jmc0/Classcial_Cipher_Website
b105ec483ff8eee08c2ceac9eae4d0be3db4d703
[ "MIT" ]
4
2022-02-20T04:54:49.000Z
2022-03-05T00:27:08.000Z
backend/config.py
jmc0/Classcial_Cipher_Website
b105ec483ff8eee08c2ceac9eae4d0be3db4d703
[ "MIT" ]
4
2022-02-20T03:12:17.000Z
2022-03-15T01:02:52.000Z
backend/config.py
bucktoothsir/Classical_Cipher_Website
2a9448272ee4b2e573bc5831f28054904c152f4f
[ "MIT" ]
1
2021-12-31T06:13:53.000Z
2021-12-31T06:13:53.000Z
""" App config. """ import os PERMANENT_SESSION_LIFETIME = 1000 SECRET_KEY = os.urandom(24)
10.444444
33
0.723404
13
94
5
0.923077
0
0
0
0
0
0
0
0
0
0
0.075
0.148936
94
8
34
11.75
0.7375
0.117021
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f27421973005ba6afcde27f819719336b84601a8
268
py
Python
Sorting Algorithm/BubbleSort/BubbleSort.py
Subrato-oid/cs-algorithms
4a04fe49f513c439b641a8e4e783a98cd99dc909
[ "MIT" ]
239
2019-10-07T11:01:56.000Z
2022-01-27T19:08:55.000Z
Sorting Algorithm/BubbleSort/BubbleSort.py
ashfreakingoyal/cs-algorithms
08f5aba5c3379e17d03b899fc36efcdccebd181c
[ "MIT" ]
176
2019-10-07T06:59:49.000Z
2020-09-30T08:16:22.000Z
Sorting Algorithm/BubbleSort/BubbleSort.py
ashfreakingoyal/cs-algorithms
08f5aba5c3379e17d03b899fc36efcdccebd181c
[ "MIT" ]
441
2019-10-07T07:34:08.000Z
2022-03-15T07:19:58.000Z
def BubbleSort(lst): lst = list(lst) #copy collection to list for passesLeft in range(len(lst)-1, 0, -1): for i in range(passesLeft): if lst[i] < lst[i + 1]: lst[i], lst[i + 1] = lst[i + 1], lst[i] return lst
38.285714
56
0.5
42
268
3.190476
0.404762
0.179104
0.11194
0.179104
0.201493
0.164179
0.164179
0
0
0
0
0.034682
0.354478
268
7
57
38.285714
0.739884
0.085821
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.285714
0
0
0.285714
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
0
0
0
0
0
3
f284d44ff9fd4636aad5058fec232b5b1541bd0b
891
py
Python
modules/2.79/bpy/types/AreaLamp.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/AreaLamp.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/AreaLamp.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
class AreaLamp: compression_threshold = None gamma = None ge_shadow_buffer_type = None shadow_adaptive_threshold = None shadow_buffer_bias = None shadow_buffer_bleed_bias = None shadow_buffer_clip_end = None shadow_buffer_clip_start = None shadow_buffer_samples = None shadow_buff...
24.75
36
0.714927
121
891
4.793388
0.289256
0.293103
0.22069
0.068966
0.089655
0
0
0
0
0
0
0
0.249158
891
35
37
25.457143
0.866966
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
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
0
0
0
0
0
1
0
0
3
f2945bed7d8827533adf0a977ff640369bde996d
696
py
Python
script/updateTask.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
13
2018-01-10T11:45:47.000Z
2020-02-13T11:44:26.000Z
script/updateTask.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
1
2018-11-06T03:08:18.000Z
2020-01-10T06:23:08.000Z
script/updateTask.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
5
2018-01-10T02:34:24.000Z
2019-07-31T08:26:08.000Z
###################################################################### ###################################################################### # Copyright Tsung-Hsien Wen, Cambridge Dialogue Systems Group, 2017 # ###################################################################### ####################################...
26.769231
73
0.392241
52
696
5.25
0.692308
0.124542
0
0
0
0
0
0
0
0
0
0.008264
0.130747
696
25
74
27.84
0.442975
0.093391
0
0
0
0
0.145349
0
0
0
0
0
0
0
null
null
0
0.307692
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
f2b4c03a5ef696fb57e71f4a7f57b548d7120114
305
py
Python
src/plaster/__init__.py
Pylons/plaster
526fb7642f51bbef826edbb2d589dba4d70a1e90
[ "MIT" ]
15
2017-03-29T05:57:38.000Z
2021-12-16T13:30:29.000Z
src/plaster/__init__.py
Pylons/plaster
526fb7642f51bbef826edbb2d589dba4d70a1e90
[ "MIT" ]
6
2017-03-28T13:35:10.000Z
2021-04-19T01:21:01.000Z
src/plaster/__init__.py
Pylons/plaster
526fb7642f51bbef826edbb2d589dba4d70a1e90
[ "MIT" ]
6
2017-07-03T16:39:25.000Z
2019-01-08T15:02:12.000Z
# public api # flake8: noqa from .exceptions import InvalidURI, LoaderNotFound, MultipleLoadersFound, PlasterError from .interfaces import ILoader, ILoaderInfo, ILoaderFactory from .loaders import find_loaders, get_loader, get_sections, get_settings, setup_logging from .uri import PlasterURL, parse_uri
38.125
88
0.836066
36
305
6.916667
0.722222
0
0
0
0
0
0
0
0
0
0
0.003676
0.108197
305
7
89
43.571429
0.911765
0.07541
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
f2b84ae3db3bfa428fe1cf1c6acd43193f8dab57
1,489
py
Python
PyOpenGL-3.0.2/OpenGL/raw/GL/NV/transform_feedback2.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/NV/transform_feedback2.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/NV/transform_feedback2.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
'''Autogenerated by get_gl_extensions script, do not edit!''' from OpenGL import platform as _p, constants as _cs, arrays from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_NV_transform_feedback2' def _f( function ): return _p.createFunction( function,_p.GL,'GL_NV_transform_feedback2',False) _p.unpack_c...
35.452381
79
0.808596
197
1,489
5.756345
0.365482
0.067901
0.117284
0.058201
0.409171
0.376543
0.206349
0.130511
0.130511
0.077601
0
0.016224
0.089322
1,489
41
80
36.317073
0.820059
0.078576
0
0.351351
1
0
0.156503
0.133725
0
0
0.017634
0
0
1
0.243243
false
0.189189
0.108108
0.027027
0.405405
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
1
0
0
0
0
0
3
f2c4773e1b33a89cf3780d6cb8a3e46302f4f420
95
py
Python
archive/codility/sample.py
tanchao/algo
76de42b7b415f8251a50553027efad998d0b4137
[ "MIT" ]
2
2016-12-08T08:42:03.000Z
2020-05-15T21:08:22.000Z
archive/codility/sample.py
tanchao/algo
76de42b7b415f8251a50553027efad998d0b4137
[ "MIT" ]
null
null
null
archive/codility/sample.py
tanchao/algo
76de42b7b415f8251a50553027efad998d0b4137
[ "MIT" ]
null
null
null
__author__ = 'tanchao@github' def sample(): pass if __name__ == '__main__': sample()
11.875
29
0.631579
10
95
4.8
0.9
0
0
0
0
0
0
0
0
0
0
0
0.221053
95
7
30
13.571429
0.648649
0
0
0
0
0
0.231579
0
0
0
0
0
0
1
0.2
false
0.2
0
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
4b36dea91d86565c791289d89e2fd83f6b79e85b
258
py
Python
setup.py
NoFishLikeIan/python_utils
e3622bd09c022052d889d4941ac73ee97681a392
[ "MIT" ]
2
2019-05-20T17:00:12.000Z
2019-11-14T22:55:47.000Z
setup.py
NoFishLikeIan/python_utils
e3622bd09c022052d889d4941ac73ee97681a392
[ "MIT" ]
null
null
null
setup.py
NoFishLikeIan/python_utils
e3622bd09c022052d889d4941ac73ee97681a392
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name='python_ian_utils', version='1.0', description='Python Distribution Utilities', author='Andrea Titton', author_email='andrea.titton.ext@accurat.it', packages=['dataclass', ], )
25.8
50
0.662791
29
258
5.793103
0.827586
0.142857
0
0
0
0
0
0
0
0
0
0.009709
0.20155
258
9
51
28.666667
0.805825
0
0
0
0
0
0.379845
0.108527
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4b504641197085e6296c3e9b629669bb1ddb8d7d
106
py
Python
replace2.py
AlexKorovyansky/poker-player-leannodejs
5a3cb0199f2429ba3aac8f28946ddd82b9f5648d
[ "MIT" ]
null
null
null
replace2.py
AlexKorovyansky/poker-player-leannodejs
5a3cb0199f2429ba3aac8f28946ddd82b9f5648d
[ "MIT" ]
null
null
null
replace2.py
AlexKorovyansky/poker-player-leannodejs
5a3cb0199f2429ba3aac8f28946ddd82b9f5648d
[ "MIT" ]
null
null
null
import sys import re for line in sys.stdin: print(re.sub('.*bytes=195','',re.sub('.*web.1 -','',line)));
26.5
62
0.613208
19
106
3.421053
0.684211
0.153846
0
0
0
0
0
0
0
0
0
0.042105
0.103774
106
4
62
26.5
0.642105
0
0
0
0
0
0.186916
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4b56180971790edc097b399e1a2825ec72a457fe
181
py
Python
riboraptor/__init__.py
saketkc/riboraptor
cc17e82b11da743e88ec9b4126a8909705e83c4b
[ "BSD-3-Clause" ]
10
2018-04-23T03:50:32.000Z
2021-10-08T00:44:09.000Z
riboraptor/__init__.py
saketkc/riboraptor
cc17e82b11da743e88ec9b4126a8909705e83c4b
[ "BSD-3-Clause" ]
5
2018-05-28T06:37:00.000Z
2021-03-13T15:45:25.000Z
riboraptor/__init__.py
saketkc/riboraptor
cc17e82b11da743e88ec9b4126a8909705e83c4b
[ "BSD-3-Clause" ]
3
2018-04-27T22:28:21.000Z
2022-01-29T18:28:41.000Z
__author__ = """Saket Choudhary, Wenzheng Li""" __email__ = "saketkc@gmail.com" __version__ = "0.4.0" from .GTF import gtf_to_dataframe from .plot_talk_theme import load_pub_theme
25.857143
47
0.773481
27
181
4.518519
0.814815
0
0
0
0
0
0
0
0
0
0
0.01875
0.116022
181
6
48
30.166667
0.74375
0
0
0
0
0
0.276243
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4b639a22f13baf5f80ce95a1972bca97dc1f81d8
450
py
Python
zanhu/articles/tests/test_models.py
Pysuper/ZanHu
7d895cc44a461dee3cfe668e7f0de573196ec594
[ "MIT" ]
null
null
null
zanhu/articles/tests/test_models.py
Pysuper/ZanHu
7d895cc44a461dee3cfe668e7f0de573196ec594
[ "MIT" ]
5
2021-01-07T11:06:23.000Z
2022-03-31T04:07:16.000Z
zanhu/articles/tests/test_models.py
Pysuper/ZanHu
7d895cc44a461dee3cfe668e7f0de573196ec594
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- # FileName :test_models.py # Author :zheng xingtao # Date :2021/1/15 15:45 from test_plus.test import TestCase from zanhu.articles.models import Article class ArticleModelsTest(TestCase): def setUp(self): """初始化操作""" pass def test_object_i...
18.75
41
0.624444
54
450
5.092593
0.722222
0.050909
0.08
0
0
0
0
0
0
0
0
0.035503
0.248889
450
23
42
19.565217
0.778107
0.331111
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
4b7bfd209e2d14579767b274b12bcb3acf6fdeb9
898
py
Python
ephysanalysis/__init__.py
pbmanis/ephysanalysis
b745e380ba1e842d862eec038a9c37521a698939
[ "MIT" ]
null
null
null
ephysanalysis/__init__.py
pbmanis/ephysanalysis
b745e380ba1e842d862eec038a9c37521a698939
[ "MIT" ]
1
2020-05-01T15:06:09.000Z
2020-05-01T15:06:09.000Z
ephysanalysis/__init__.py
pbmanis/ephysanalysis
b745e380ba1e842d862eec038a9c37521a698939
[ "MIT" ]
1
2020-05-01T13:25:44.000Z
2020-05-01T13:25:44.000Z
#!/usr/bin/env python # Use Semantic Versioning, http://semver.org/ version_info = (0, 2, 2, 'a') __version__ = "%d.%d.%d%s" % version_info #print ("apparent version: ", __version__) import ephysanalysis.Fitting as Fitting import ephysanalysis.Utility as Utility import ephysanalysis.acq4read import ephysanalysis.Mat...
25.657143
45
0.847439
100
898
7.47
0.47
0.534137
0
0
0
0
0
0
0
0
0
0.004884
0.087973
898
34
46
26.411765
0.907204
0.116927
0
0
0
0
0.013959
0
0
0
0
0
0
1
0
false
0
0.913043
0
0.913043
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4ba603555e669616ca5883e8b36958c1e9f5749a
1,146
py
Python
tools/pot/openvino/tools/pot/data_loaders/image_loader.py
ytorzuk-altran/openvino
68d460a3bb578a738ba0e4d0e1f2e321afa73ab0
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
tools/pot/openvino/tools/pot/data_loaders/image_loader.py
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
tools/pot/openvino/tools/pot/data_loaders/image_loader.py
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
# Copyright (C) 2020-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from cv2 import imread, IMREAD_GRAYSCALE from ..api.data_loader import DataLoader from ..data_loaders.utils import prepare_image, collect_img_files class ImageLoader(DataLoader): def __init__(self, config): super().__init...
27.95122
81
0.687609
152
1,146
4.815789
0.414474
0.07377
0.04918
0.062842
0.071038
0.071038
0
0
0
0
0
0.015538
0.213787
1,146
40
82
28.65
0.796892
0.06719
0
0
0
0
0.0394
0
0
0
0
0
0
1
0.24
false
0
0.12
0.12
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4bb9efdf8ee8ede7c1d381cf3b7fdaf99adc0a9d
101
py
Python
apps/prueba/contextProcessors.py
AntonioSalaices/MotoCheck
e9318469e10bca2a389c82bf92e71689d734a066
[ "BSD-2-Clause" ]
null
null
null
apps/prueba/contextProcessors.py
AntonioSalaices/MotoCheck
e9318469e10bca2a389c82bf92e71689d734a066
[ "BSD-2-Clause" ]
null
null
null
apps/prueba/contextProcessors.py
AntonioSalaices/MotoCheck
e9318469e10bca2a389c82bf92e71689d734a066
[ "BSD-2-Clause" ]
null
null
null
from .forms import LoginForm def variable(request): return{ 'login':LoginForm }
20.2
28
0.613861
10
101
6.2
0.9
0
0
0
0
0
0
0
0
0
0
0
0.29703
101
5
29
20.2
0.873239
0
0
0
0
0
0.04902
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
4bbb24926ea882107ccc399179ef4862dcfdc5b7
215
py
Python
python/monster.py
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
python/monster.py
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
python/monster.py
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
n,hit,t = map(int,raw_input().split()) a=[int(x) for x in raw_input().split()] a.sort() killed=0 while t>0 and len(a)>=1: a[0]-=hit if a[0]<=0: killed+=1 a.remove(a[0]) t-=1 print killed
17.916667
39
0.539535
45
215
2.533333
0.488889
0.052632
0.22807
0.245614
0
0
0
0
0
0
0
0.054545
0.232558
215
11
40
19.545455
0.636364
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.090909
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
1
0
0
0
0
0
0
0
0
3
4bc44796b45049007d4dda254ccc6ef57e39f78f
952
py
Python
example/cbv.py
so1n/fast-tools
f0381c889a45bc8ad0eb09c10bed1052dcc3f132
[ "Apache-2.0" ]
17
2020-10-31T15:26:40.000Z
2022-01-26T08:10:49.000Z
example/cbv.py
so1n/fastapi-tools
2343fbe6193f1d749307f48c90dfba371206b642
[ "Apache-2.0" ]
2
2021-11-25T10:47:34.000Z
2021-11-25T10:47:34.000Z
example/cbv.py
so1n/fastapi-tools
2343fbe6193f1d749307f48c90dfba371206b642
[ "Apache-2.0" ]
2
2021-11-24T11:09:37.000Z
2021-12-09T09:17:22.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "so1n" __date__ = "2020-08" from fastapi import Depends, FastAPI, Header, Query from fast_tools.cbv import Cbv, cbv_decorator app: FastAPI = FastAPI() def get_user_agent(user_agent: str = Header("User-Agent")) -> str: return user_agent class TestCbv(...
23.8
120
0.673319
130
952
4.584615
0.446154
0.120805
0.087248
0.08557
0.087248
0
0
0
0
0
0
0.019481
0.191176
952
39
121
24.410256
0.754545
0.058824
0
0.086957
0
0
0.076148
0
0
0
0
0
0
1
0.217391
false
0
0.130435
0.173913
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
298d27ca864be2a98272240496981ca4e7dac497
31
py
Python
project/settings/components/users.py
luckyadogun/DaraderWeb
f8cbbccf073fffa7e19164c00042cab64d4038cb
[ "Apache-2.0" ]
null
null
null
project/settings/components/users.py
luckyadogun/DaraderWeb
f8cbbccf073fffa7e19164c00042cab64d4038cb
[ "Apache-2.0" ]
null
null
null
project/settings/components/users.py
luckyadogun/DaraderWeb
f8cbbccf073fffa7e19164c00042cab64d4038cb
[ "Apache-2.0" ]
null
null
null
AUTH_USER_MODEL = "users.User"
15.5
30
0.774194
5
31
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.096774
31
1
31
31
0.785714
0
0
0
0
0
0.322581
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
29ddf7e7197e7eb1d21f5fcbd016de2494287e79
670
py
Python
Contigious_sub_array.py
HackerLion123/Machine-Learning
71224ea97ba4aaded13a700e07b498469299964b
[ "MIT" ]
1
2018-07-21T15:41:40.000Z
2018-07-21T15:41:40.000Z
Contigious_sub_array.py
HackerLion123/Machine-Learning
71224ea97ba4aaded13a700e07b498469299964b
[ "MIT" ]
null
null
null
Contigious_sub_array.py
HackerLion123/Machine-Learning
71224ea97ba4aaded13a700e07b498469299964b
[ "MIT" ]
null
null
null
value = input() value = int(value) array = [] for j in range(0,value): non_con = 0 size = input() size = int(size) array = [int(x) for x in input().split()] for i in range(0,size): #a = input() #array += a if(array[i]>0): #print (array[i]) non_con += ...
26.8
52
0.540299
98
670
3.479592
0.22449
0.316716
0.190616
0.211144
0.390029
0.28739
0.193548
0.193548
0
0
0
0.015521
0.326866
670
24
53
27.916667
0.740577
0.077612
0
0.105263
0
0
0.001631
0
0
0
0
0
0
1
0
false
0
0
0
0
0.052632
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
29e539e167d4b66342bc662140216ce7f921cd0e
819
py
Python
source/league_properties.py
corradiniste/Paneka-discord-bot
43672b2720c88635266e0962f446bd36bd7ced7d
[ "MIT" ]
12
2020-08-03T05:47:20.000Z
2021-10-06T06:20:19.000Z
source/league_properties.py
Shivanirudh/Paneka-discord-bot
0ec257e92e40baf23233711c9cf9889e8c56ab53
[ "MIT" ]
5
2020-10-03T08:27:35.000Z
2021-06-02T04:45:57.000Z
source/league_properties.py
Shivanirudh/Paneka-discord-bot
0ec257e92e40baf23233711c9cf9889e8c56ab53
[ "MIT" ]
6
2020-08-06T10:41:49.000Z
2022-02-14T17:26:07.000Z
LEAGUE_PROPERTIES = { "PL": { "rl": [18, 20], "cl": [1, 4], "el": [5, 5], }, "ECL": { "rl": [21, 24], "cl": [1, 2], "el": [3, 6] }, "BL": { "rl": [16, 18], "cl": [1, 4], "el": [5, 6] }, "SPA": { "rl": [1...
15.75
23
0.203907
92
819
1.804348
0.304348
0.144578
0.120482
0.144578
0.542169
0.26506
0.156627
0.156627
0
0
0
0.180693
0.506716
819
52
24
15.75
0.230198
0
0
0.319149
0
0
0.095122
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
0
1
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
3
29ee9a0bec666a33201dc1fc6eab53f6d80c9768
89
py
Python
yc157/485.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc157/485.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc157/485.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
A, B = map(int, input().split()) if B % A == 0: print(B // A) else: print('NO')
12.714286
32
0.460674
16
89
2.5625
0.6875
0.097561
0
0
0
0
0
0
0
0
0
0.015625
0.280899
89
6
33
14.833333
0.625
0
0
0
0
0
0.022472
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
29faf5e06865b5c16292be4e4d8beb732e7a7bd8
20,979
py
Python
python/dynamic_graph/sot/torque_control/identification/pos_ctrl/compress_adm_ctrl_data.py
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
python/dynamic_graph/sot/torque_control/identification/pos_ctrl/compress_adm_ctrl_data.py
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
python/dynamic_graph/sot/torque_control/identification/pos_ctrl/compress_adm_ctrl_data.py
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Feb 23 09:02:21 2015 @author: adelpret q.shape""" import numpy as np import matplotlib.pyplot as plt import plot_utils as plut from compute_estimates_from_sensors import compute_estimates_from_sensors from compute_estimates_from_sensors import compute_delta_q_components de...
65.35514
597
0.668049
3,131
20,979
4.320345
0.171511
0.056332
0.081615
0.105271
0.376506
0.361647
0.319953
0.278258
0.252532
0.227249
0
0.406937
0.163068
20,979
320
598
65.559375
0.363481
0.071929
0
0.102362
0
0
0.074298
0.034586
0
0
0
0
0
0
null
null
0
0.019685
null
null
0.019685
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4b200a3b4ffc5a4403601fc2cb1b0a85d550ffc9
52
py
Python
abc/abc001/abc001a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
abc/abc001/abc001a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
abc/abc001/abc001a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
H1 = int(input()) H2 = int(input()) print(H1 - H2)
10.4
17
0.557692
9
52
3.222222
0.555556
0.551724
0
0
0
0
0
0
0
0
0
0.095238
0.192308
52
4
18
13
0.595238
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9b4075657e4f2e86bda844ccf99bad4f0ca6d96
104
py
Python
haprestio/auth/__init__.py
innofocus/haprestio
6a9bf3a3d73fb3faa7cf1e5cfc757cc360fbafde
[ "MIT" ]
null
null
null
haprestio/auth/__init__.py
innofocus/haprestio
6a9bf3a3d73fb3faa7cf1e5cfc757cc360fbafde
[ "MIT" ]
null
null
null
haprestio/auth/__init__.py
innofocus/haprestio
6a9bf3a3d73fb3faa7cf1e5cfc757cc360fbafde
[ "MIT" ]
null
null
null
__all__ = ['jwt'] from flask_jwt_extended import JWTManager from .. import app jwt = JWTManager(app)
13
41
0.740385
14
104
5.071429
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.163462
104
8
42
13
0.816092
0
0
0
0
0
0.028571
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d9b817d74f61a4e5e098a37fcb606b3db9d02d57
2,723
py
Python
_pycharm_skeletons/renderdoc/VKShader.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
_pycharm_skeletons/renderdoc/VKShader.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
_pycharm_skeletons/renderdoc/VKShader.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
# encoding: utf-8 # module renderdoc # from P:\1-Scripts\_Python\Py-Autocomplete\renderdoc.pyd # by generator 1.146 # no doc # imports import enum as __enum from .SwigPyObject import SwigPyObject class VKShader(SwigPyObject): """ Describes a Vulkan shader stage. """ def __eq__(self, *args, **kwargs): # real...
33.617284
106
0.644877
328
2,723
5.210366
0.301829
0.140433
0.073727
0.121123
0.549444
0.53189
0.511995
0.48859
0.48859
0.48859
0
0.002849
0.226588
2,723
80
107
34.0375
0.808642
0.252663
0
0.290323
0
0
0
0
0
0
0
0
0
1
0.290323
false
0.290323
0.064516
0
0.677419
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d9bbf7307f9a83238597531e6b1183a3eeb1f42c
29,811
py
Python
tabs/quiz.py
AnikaZN/DnDPQ
ca66a7c64b1da85ed3245ca38a44f2d8ef59fb07
[ "MIT" ]
null
null
null
tabs/quiz.py
AnikaZN/DnDPQ
ca66a7c64b1da85ed3245ca38a44f2d8ef59fb07
[ "MIT" ]
null
null
null
tabs/quiz.py
AnikaZN/DnDPQ
ca66a7c64b1da85ed3245ca38a44f2d8ef59fb07
[ "MIT" ]
null
null
null
# Imports from 3rd party libraries import dash import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output # Imports from this application from app import app @app.callback(Output("prediction-content", "children"), ...
44.49403
163
0.515581
2,763
29,811
5.560623
0.168295
0.044389
0.074199
0.078105
0.804022
0.715504
0.713486
0.634145
0.584223
0.563851
0
0.006318
0.336285
29,811
669
164
44.560538
0.770191
0.006004
0
0.664625
0
0.003063
0.435071
0
0
0
0
0
0
1
0.001531
false
0
0.009188
0
0.012251
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9c8b48f74ad1c9aa47305f5f4d917e36f859e8f
760
py
Python
data/familyweek/registration_ui_schema.py
camphoric/camphoric
31ad94d0da61cd649fe55b74adfb83196eef0011
[ "MIT" ]
2
2020-09-25T01:20:14.000Z
2021-08-18T18:49:47.000Z
data/familyweek/registration_ui_schema.py
camphoric/camphoric
31ad94d0da61cd649fe55b74adfb83196eef0011
[ "MIT" ]
57
2020-05-30T03:22:56.000Z
2022-03-07T01:52:11.000Z
data/familyweek/registration_ui_schema.py
camphoric/camphoric
31ad94d0da61cd649fe55b74adfb83196eef0011
[ "MIT" ]
null
null
null
import re with open('main_description.html') as f: main_description = f.read() data = { 'ui:description': {'__html': re.sub(r'\s+', ' ', main_description)}, 'address': { 'street_address': { 'classNames': 'col-xs-12 col-sm-12' }, 'city': { 'classNames': 'col-xs-12 col-sm-12' }...
31.666667
73
0.526316
96
760
4.03125
0.40625
0.235142
0.271318
0.165375
0.434109
0.434109
0.377261
0.139535
0
0
0
0.033333
0.25
760
23
74
33.043478
0.645614
0
0
0.095238
0
0
0.5
0.027632
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9ced2727e2dfb6be1a0fd4f641a79a7dbbbcfac
284
py
Python
cerespacketexploder/api.py
Cyberprotect/Cerex-Packet-Exploder
336b7e655f26a7e5f9c7a78f10eefb9e6749ee7a
[ "Apache-2.0" ]
1
2018-10-24T15:57:42.000Z
2018-10-24T15:57:42.000Z
cerespacketexploder/api.py
Cyberprotect/Cerex-Packet-Exploder
336b7e655f26a7e5f9c7a78f10eefb9e6749ee7a
[ "Apache-2.0" ]
null
null
null
cerespacketexploder/api.py
Cyberprotect/Cerex-Packet-Exploder
336b7e655f26a7e5f9c7a78f10eefb9e6749ee7a
[ "Apache-2.0" ]
3
2018-10-16T13:02:17.000Z
2021-06-24T07:26:33.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """import wrapper""" from core import ceres from observable import observable as ceres_observable from parser.parser import parser as ceres_parser from parser.http import http as ceres_parser_http from utils import utils as ceres_utils
25.818182
53
0.785211
44
284
4.954545
0.386364
0.12844
0.119266
0
0
0
0
0
0
0
0
0.004082
0.137324
284
10
54
28.4
0.885714
0.200704
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d9d09c9a85685867baa9077ab6320f44be5d8f3e
94
py
Python
python/ovs/version.py
jiho-dev/openvswitch-2.11.1
7488b8b299c23e1e39878de8f7aa5d210ff43d59
[ "Apache-2.0" ]
null
null
null
python/ovs/version.py
jiho-dev/openvswitch-2.11.1
7488b8b299c23e1e39878de8f7aa5d210ff43d59
[ "Apache-2.0" ]
null
null
null
python/ovs/version.py
jiho-dev/openvswitch-2.11.1
7488b8b299c23e1e39878de8f7aa5d210ff43d59
[ "Apache-2.0" ]
null
null
null
# Generated automatically -- do not modify! -*- buffer-read-only: t -*- VERSION = "2.11.1"
31.333333
74
0.62766
13
94
4.538462
1
0
0
0
0
0
0
0
0
0
0
0.051948
0.180851
94
2
75
47
0.714286
0.765957
0
0
1
0
0.3
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9d4c1558544f7f7d2713a3bd42a3f5a1748c88a
184
py
Python
wrap2/__init__.py
paylogic/wrap2
120084893446bd4a68e20bc7a87cd9d94bd9ec2a
[ "MIT" ]
null
null
null
wrap2/__init__.py
paylogic/wrap2
120084893446bd4a68e20bc7a87cd9d94bd9ec2a
[ "MIT" ]
null
null
null
wrap2/__init__.py
paylogic/wrap2
120084893446bd4a68e20bc7a87cd9d94bd9ec2a
[ "MIT" ]
null
null
null
""" Wrap 2 A library for wrapping social network wrappers. """ from wrap2.facebook import Facebook from wrap2.twitter import Twitter __all__ = [Facebook.__name__, Twitter.__name__]
16.727273
47
0.777174
24
184
5.458333
0.666667
0.137405
0
0
0
0
0
0
0
0
0
0.018987
0.141304
184
10
48
18.4
0.810127
0.298913
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d9de8f309f4a8ef1fec0d93c114ef15ada64037e
115
py
Python
python/doit/05/adder.py
gangserver/py_test
869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4
[ "Apache-2.0" ]
null
null
null
python/doit/05/adder.py
gangserver/py_test
869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4
[ "Apache-2.0" ]
null
null
null
python/doit/05/adder.py
gangserver/py_test
869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4
[ "Apache-2.0" ]
null
null
null
result = 0 def adder(num): global result result += num return result print(adder(3)) print(adder(4))
11.5
17
0.634783
17
115
4.294118
0.588235
0.273973
0
0
0
0
0
0
0
0
0
0.034483
0.243478
115
9
18
12.777778
0.804598
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.285714
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9e238eb369260bd2281d4238af55fe040ce2fef
734
py
Python
osarchiver/errors.py
pcibot/osarchiver
19f07ba7585c021f03f7928fc0b5614570db75a3
[ "BSD-3-Clause" ]
18
2019-06-06T09:37:18.000Z
2022-01-12T12:17:10.000Z
osarchiver/errors.py
pcibot/osarchiver
19f07ba7585c021f03f7928fc0b5614570db75a3
[ "BSD-3-Clause" ]
8
2019-10-30T16:32:24.000Z
2022-01-12T12:47:49.000Z
osarchiver/errors.py
pcibot/osarchiver
19f07ba7585c021f03f7928fc0b5614570db75a3
[ "BSD-3-Clause" ]
5
2019-06-06T12:27:07.000Z
2022-03-08T19:04:09.000Z
# Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # Copyright 2019 The OSArchiver Authors. All rights reserved. """ OSArchiver exceptions base class """ class OSArchiverException(Exception): """ OSArchiver base exception class """ def __init__(self, ...
24.466667
64
0.6703
82
734
5.756098
0.585366
0.09322
0.04661
0.076271
0.09322
0
0
0
0
0
0
0.007168
0.239782
734
29
65
25.310345
0.83871
0.400545
0
0.222222
0
0
0.074271
0
0
0
0
0
0
1
0.333333
false
0
0
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d9e56366818c87334941627e23e96fddd42f2822
1,180
py
Python
storage/db.py
dariosky/flatdario
57832d13d72b7bdf8d92c2b5d5986812aab3db03
[ "Apache-2.0" ]
1
2018-03-19T11:16:03.000Z
2018-03-19T11:16:03.000Z
storage/db.py
dariosky/flatdario
57832d13d72b7bdf8d92c2b5d5986812aab3db03
[ "Apache-2.0" ]
11
2018-06-30T12:04:39.000Z
2022-03-08T22:08:46.000Z
storage/db.py
dariosky/flatdario
57832d13d72b7bdf8d92c2b5d5986812aab3db03
[ "Apache-2.0" ]
null
null
null
import logging logger = logging.getLogger(__name__) class Storage: @staticmethod def get(db_format, db_filename): if db_format == 'json': from .json import StorageTinyDB db = StorageTinyDB(db_filename=db_filename) elif db_format == 'sqlite': from .sql impor...
24.583333
69
0.632203
117
1,180
6.239316
0.461538
0.263014
0.184932
0
0
0
0
0
0
0
0
0
0.285593
1,180
47
70
25.106383
0.865955
0.111017
0
0.266667
0
0
0.009662
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.466667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
8a00e44f85e0a3d50e7d9a4c103a0e26cbe402e1
529
py
Python
test_framework/page/common_page.py
liyan2013/hogwarts
4b81d968b049a13cb2aa293d32c034ca3a30ee79
[ "Apache-2.0" ]
null
null
null
test_framework/page/common_page.py
liyan2013/hogwarts
4b81d968b049a13cb2aa293d32c034ca3a30ee79
[ "Apache-2.0" ]
null
null
null
test_framework/page/common_page.py
liyan2013/hogwarts
4b81d968b049a13cb2aa293d32c034ca3a30ee79
[ "Apache-2.0" ]
null
null
null
from test_framework.log import log from test_framework.page.base_page import BasePage class CommonPage(BasePage): def __getattr__(self, item): log.debug(f'__get_attr__{item}') self._method_name = item return self._po_method # 定义通用方法 def _po_method(self, **kwargs): log.deb...
27.842105
78
0.699433
71
529
4.816901
0.408451
0.052632
0.099415
0
0
0
0
0
0
0
0
0
0.196597
529
18
79
29.388889
0.804706
0.011342
0
0
0
0
0.103647
0
0
0
0
0
0
1
0.25
false
0.166667
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8a27c6309adbc2e7bdeb9ad452778042477f75ef
282
py
Python
mysite/blog/views.py
wdexkin/my-first-blog
776b190a89811e5e809a487579d35170da1313bf
[ "bzip2-1.0.6" ]
1
2020-08-09T17:28:31.000Z
2020-08-09T17:28:31.000Z
mysite/blog/views.py
wdexkin/my-first-blog
776b190a89811e5e809a487579d35170da1313bf
[ "bzip2-1.0.6" ]
null
null
null
mysite/blog/views.py
wdexkin/my-first-blog
776b190a89811e5e809a487579d35170da1313bf
[ "bzip2-1.0.6" ]
null
null
null
from django.shortcuts import render from django.utils import timezone from .models import Post def post_list(request): posts = Post.objects.filter(published_date__lte=timezone.now()).order_by('published_date') return render(request, 'blog/post_list.html', {'posts': posts})
40.285714
94
0.776596
40
282
5.3
0.6
0.09434
0
0
0
0
0
0
0
0
0
0
0.106383
282
7
95
40.285714
0.84127
0
0
0
0
0
0.134276
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8a285f85c5582165a874b6c91fa1f7cf057d6ca9
415
py
Python
machina/apps/forum_member/emails.py
tim-schilling/django-machina
c48d31b2313b59d810771ee53909d941e7475679
[ "BSD-3-Clause" ]
null
null
null
machina/apps/forum_member/emails.py
tim-schilling/django-machina
c48d31b2313b59d810771ee53909d941e7475679
[ "BSD-3-Clause" ]
null
null
null
machina/apps/forum_member/emails.py
tim-schilling/django-machina
c48d31b2313b59d810771ee53909d941e7475679
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from machina.core.emails import BaseEmail class NotificationEmail(BaseEmail): """ Notification email sent to users that subscribe on a topic. """ subject_template = 'forum_member/emails/notification.subject.txt' html_template = 'for...
27.666667
69
0.749398
49
415
6.122449
0.632653
0.13
0.19
0.25
0.37
0
0
0
0
0
0
0.002849
0.154217
415
14
70
29.642857
0.851852
0.19759
0
0
0
0
0.369085
0.369085
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
0
0
0
3
8a2caf8f14851e3e407167ecc89949168b04adb1
563
py
Python
contests/atcoder/abc177/abc177_f/main.py
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
contests/atcoder/abc177/abc177_f/main.py
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
contests/atcoder/abc177/abc177_f/main.py
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 # from typing import * # def solve(H: int, W: int, A: List[int], B: List[int]) -> Any: def solve(H, W, A, B): pass # TODO: edit here # generated by online-judge-template-generator v4.6.0 (https://github.com/kmyk/online-judge-template-generator) def main(): H, W = map(int, input().spl...
25.590909
111
0.584369
95
563
3.357895
0.484211
0.056426
0.075235
0.050157
0.15047
0
0
0
0
0
0
0.009195
0.227353
563
21
112
26.809524
0.724138
0.436945
0
0
1
0
0.025723
0
0
0
0
0.047619
0
1
0.166667
false
0.083333
0
0
0.166667
0.083333
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
1
0
0
0
0
1
0
0
0
0
0
3
8a33400f0761fa9599c476285a597ed56a226d56
1,062
py
Python
typeidea/blog/rss.py
GalphaXie/typeidea
c0e8a0bf0d5c7aa737268e3d93bf3730ca030a08
[ "MIT" ]
null
null
null
typeidea/blog/rss.py
GalphaXie/typeidea
c0e8a0bf0d5c7aa737268e3d93bf3730ca030a08
[ "MIT" ]
1
2020-04-22T12:47:33.000Z
2020-04-22T12:47:33.000Z
typeidea/blog/rss.py
GalphaXie/typeidea
c0e8a0bf0d5c7aa737268e3d93bf3730ca030a08
[ "MIT" ]
null
null
null
from django.contrib.syndication.views import Feed from django.urls import reverse from django.utils.feedgenerator import Rss201rev2Feed from .models import Post class ExtendedRSSFeed(Rss201rev2Feed): def add_item_elements(self, handler, item): super(ExtendedRSSFeed, self).add_item_elements(handler, item)...
28.702703
69
0.711864
134
1,062
5.507463
0.395522
0.089431
0.094851
0.073171
0
0
0
0
0
0
0
0.015134
0.191149
1,062
36
70
29.5
0.844005
0.016008
0
0
0
0
0.108341
0
0
0
0
0
0
1
0.28
false
0
0.16
0.24
0.92
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8a38025af8c53be8bb0c4edc19b82b5c4fa9e0d8
384
py
Python
epysurv/simulation/base.py
burgersmoke/epysurv
606aaf1d50a8d39473dc245e78e5b2eb122c2ba3
[ "MIT" ]
8
2019-07-29T09:44:43.000Z
2021-06-29T20:54:57.000Z
epysurv/simulation/base.py
burgersmoke/epysurv
606aaf1d50a8d39473dc245e78e5b2eb122c2ba3
[ "MIT" ]
31
2019-03-29T23:05:33.000Z
2021-10-04T16:26:46.000Z
epysurv/simulation/base.py
burgersmoke/epysurv
606aaf1d50a8d39473dc245e78e5b2eb122c2ba3
[ "MIT" ]
4
2019-09-25T12:54:22.000Z
2021-08-11T06:40:45.000Z
from abc import ABC, abstractmethod import pandas as pd class BaseSimulation(ABC): """An abstract class for a Poisson-based linear model for epidemic/endemic disease count simulation.""" @abstractmethod def simulate(self, length: int) -> pd.DataFrame: """An abstract method that starts the simula...
29.538462
107
0.71875
51
384
5.411765
0.72549
0.072464
0
0
0
0
0
0
0
0
0
0
0.205729
384
12
108
32
0.904918
0.484375
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
8a393f7ab960fed3fce5987405260534e7bde854
1,103
py
Python
src/lib/options.py
v0id00/Dynamic-Sentiment-Analysis
79e6364ca67e105b3fc4355191590b23b9761b06
[ "MIT" ]
null
null
null
src/lib/options.py
v0id00/Dynamic-Sentiment-Analysis
79e6364ca67e105b3fc4355191590b23b9761b06
[ "MIT" ]
null
null
null
src/lib/options.py
v0id00/Dynamic-Sentiment-Analysis
79e6364ca67e105b3fc4355191590b23b9761b06
[ "MIT" ]
null
null
null
class OPTIONS: # MAIN PROJECT DIR MAIN_PATH = "C:\\Users\\Berkay\\Desktop\\Dersler\\Senior Project\\Proje\\" # DIRS TWEETS_PATH = MAIN_PATH + "out\\tweets\\" SOURCE_TWEETS_PATH = MAIN_PATH + "res\\reset-tweets\\" STEM_DICT_PATH = MAIN_PATH + "out\\stem-dict\\" LEMMA_DICT_PATH = MAIN_PAT...
39.392857
78
0.674524
158
1,103
4.341772
0.303797
0.198251
0.279883
0.262391
0.323615
0.137026
0
0
0
0
0
0.002237
0.189483
1,103
28
79
39.392857
0.765101
0.029918
0
0
0
0
0.335835
0.106942
0
0
0
0
0
1
0
false
0
0
0
0.95
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
8a40cec118af23b636f2a562cc86b4e3628952e9
2,910
py
Python
model/datarequirement.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
model/datarequirement.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
model/datarequirement.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/DataRequirement) on 2020-02-03. # 2020, SMART Health IT. import sys from dataclasses import dataclass, field from typing import ClassVar, Optional, List from .codeableconcept import Codeabl...
35.487805
114
0.736426
359
2,910
5.930362
0.337047
0.032879
0.035228
0.056364
0.281822
0.257398
0.257398
0.216064
0.14279
0.042273
0
0.009926
0.169072
2,910
82
115
35.487805
0.870554
0.321649
0
0.190476
1
0
0.059915
0.026511
0
0
0
0
0
1
0
true
0
0.238095
0
0.904762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
8a424502dd0c6473d88680688d7bc5bee761c7a6
44,931
py
Python
src/sage/modular/ssmod/ssmod.py
felix-salfelder/sage
5d8b2ff4794c44c7fa7a9d86ec567ecfa337e566
[ "BSL-1.0" ]
2
2021-08-20T00:30:35.000Z
2021-11-17T10:54:00.000Z
src/sage/modular/ssmod/ssmod.py
felix-salfelder/sage
5d8b2ff4794c44c7fa7a9d86ec567ecfa337e566
[ "BSL-1.0" ]
null
null
null
src/sage/modular/ssmod/ssmod.py
felix-salfelder/sage
5d8b2ff4794c44c7fa7a9d86ec567ecfa337e566
[ "BSL-1.0" ]
null
null
null
""" Module of Supersingular Points The module of divisors on the modular curve `X_0(N)` over `F_p` supported at supersingular points. AUTHORS: - William Stein - David Kohel - Iftikhar Burhanuddin EXAMPLES:: sage: x = SupersingularModule(389) sage: m = x.T(2).matrix() sage: a = m.change_ring(GF(97)) ...
42.188732
154
0.650842
4,341
44,931
6.609998
0.149965
0.033735
0.00575
0.008364
0.190981
0.15972
0.13867
0.127727
0.11776
0.095665
0
0.450455
0.266876
44,931
1,064
155
42.228383
0.420644
0.043133
0
0.094017
0
0
0.016633
0.001285
0
0
0
0.00188
0
0
null
null
0.004274
0.019231
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
8a5ceb552de60a950e4fd6bb3838c6e28dd7a76c
1,876
py
Python
credentials.py
Shavolski/Password-Locker
9d1cbeb9e8fba2feea19744acb361b0cbdca63f4
[ "Unlicense" ]
null
null
null
credentials.py
Shavolski/Password-Locker
9d1cbeb9e8fba2feea19744acb361b0cbdca63f4
[ "Unlicense" ]
null
null
null
credentials.py
Shavolski/Password-Locker
9d1cbeb9e8fba2feea19744acb361b0cbdca63f4
[ "Unlicense" ]
null
null
null
import random class Credentials: """ Class that generates new instances of credentials """ credentials_list = [] def __init__(self,password,email): self.password = password self.email = email credentials_list = [] def save_credentials(self): ''' save_crede...
29.3125
93
0.632729
192
1,876
6.03125
0.302083
0.142487
0.067358
0.063903
0.238342
0.119171
0.119171
0.119171
0.119171
0.119171
0
0
0.30597
1,876
63
94
29.777778
0.889401
0.36194
0
0.357143
1
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.035714
0
0.535714
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
1
0
0
0
0
0
3
8a5dc5754c067c51906cb1366c92945c073de92b
261
py
Python
rustplus/exceptions/__init__.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
rustplus/exceptions/__init__.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
rustplus/exceptions/__init__.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
from .exceptions import ( RateLimitError, ServerNotResponsiveError, CommandsNotEnabledError, ResponseNotRecievedError, PrefixNotDefinedError, ImageError, ClientNotConnectedError, RequestError, SmartDeviceRegistrationError, )
21.75
33
0.762452
12
261
16.583333
1
0
0
0
0
0
0
0
0
0
0
0
0.191571
261
11
34
23.727273
0.943128
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
1
0
0
0
0
0
0
3
8a6bfef3cf9448c1d19ff0e43562bf846f111988
60
py
Python
sample/model/__init__.py
pshaner982/flask_sample
6b1713a553ec2fc2dd397bfeb25b64dfe9e709a0
[ "MIT" ]
null
null
null
sample/model/__init__.py
pshaner982/flask_sample
6b1713a553ec2fc2dd397bfeb25b64dfe9e709a0
[ "MIT" ]
null
null
null
sample/model/__init__.py
pshaner982/flask_sample
6b1713a553ec2fc2dd397bfeb25b64dfe9e709a0
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy()
12
39
0.8
7
60
6.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.15
60
5
40
12
0.921569
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8a6f510bd9c1681600e424700b10b0e1f1cb4764
283
py
Python
test_naucse_render/__init__.py
Kobzol/naucse_render
20509c2b9f20fb727116325a847df2e428a430b9
[ "MIT" ]
3
2019-01-19T02:56:21.000Z
2019-01-21T12:41:54.000Z
test_naucse_render/__init__.py
Kobzol/naucse_render
20509c2b9f20fb727116325a847df2e428a430b9
[ "MIT" ]
23
2019-01-29T14:18:32.000Z
2022-02-15T13:37:56.000Z
test_naucse_render/__init__.py
Kobzol/naucse_render
20509c2b9f20fb727116325a847df2e428a430b9
[ "MIT" ]
5
2019-01-18T13:17:13.000Z
2021-12-01T13:47:10.000Z
# This is a package. # For a long time, pytest discouraged test packages, but no longer; see: # https://docs.pytest.org/en/latest/goodpractices.html#tests-outside-application-code # This makes it easy for test_naucse_render.conftest to also include helpers that # aren't fixtures.
40.428571
85
0.777385
45
283
4.844444
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.130742
283
6
86
47.166667
0.886179
0.954064
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8a805edd32b05bee654984ba1aadef640a71ada0
6,597
py
Python
src/config.py
luckadletz/Yin-Yang
757d3cf889f96b04929374607948cec34ebd9f68
[ "MIT" ]
null
null
null
src/config.py
luckadletz/Yin-Yang
757d3cf889f96b04929374607948cec34ebd9f68
[ "MIT" ]
null
null
null
src/config.py
luckadletz/Yin-Yang
757d3cf889f96b04929374607948cec34ebd9f68
[ "MIT" ]
null
null
null
import json import pwd import os import pathlib import re from suntime import Sun, SunTimeException # aliases for path to use later on user = pwd.getpwuid(os.getuid())[0] path = "/home/"+user+"/.config" def exists(): """returns True or False wether Config exists or note""" return os.path.isfile(path+"/yin_ya...
25.569767
95
0.692588
890
6,597
4.98764
0.229213
0.070286
0.04055
0.034242
0.300293
0.193512
0.167155
0.142825
0.113089
0.113089
0
0.003658
0.17129
6,597
257
96
25.669261
0.808304
0.18948
0
0.187919
0
0
0.233917
0.044918
0
0
0
0
0
1
0.234899
false
0.020134
0.040268
0.114094
0.503356
0.013423
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8a91ec0f8621fdf51d9adb6d12c65a498eca8421
438
py
Python
Python/DiceSimulator.py
nayana-vinod/Write-A-Program
10305bacb9f9e1df85c27b52ffcb64813ece6409
[ "MIT" ]
8
2020-10-20T12:18:22.000Z
2020-10-28T16:12:32.000Z
Python/DiceSimulator.py
nayana-vinod/Write-A-Program
10305bacb9f9e1df85c27b52ffcb64813ece6409
[ "MIT" ]
null
null
null
Python/DiceSimulator.py
nayana-vinod/Write-A-Program
10305bacb9f9e1df85c27b52ffcb64813ece6409
[ "MIT" ]
4
2020-10-20T12:18:24.000Z
2020-10-25T14:13:18.000Z
import random a = "y" while a == "y": rn = random.randint(1,6) if rn == 1: print("[ 0 ]") if rn == 2: print("[ 0 ]") print("[ 0 ]") if rn == 3: print("[0 0 0]") if rn == 4: print("[0 0]") print("[0 0]") if rn == 5: print("[0 0]") print("[ 0 ]") print("[0 0]") if rn == 6:...
13.6875
59
0.43379
77
438
2.467532
0.337662
0.347368
0.257895
0.126316
0.268421
0.126316
0
0
0
0
0
0.097315
0.319635
438
31
60
14.129032
0.540268
0
0
0.478261
0
0
0.254005
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0.521739
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
0
0
0
0
0
0
1
0
3
8aad7af1d2362291b3189913b3c89669ee8d1404
49,979
py
Python
Assignment 2/score.py
tejasparab1994/CS-6200-Information-Retrieval
b704a11e14429384ee9a9f7a8fc923e23ec22994
[ "MIT" ]
null
null
null
Assignment 2/score.py
tejasparab1994/CS-6200-Information-Retrieval
b704a11e14429384ee9a9f7a8fc923e23ec22994
[ "MIT" ]
null
null
null
Assignment 2/score.py
tejasparab1994/CS-6200-Information-Retrieval
b704a11e14429384ee9a9f7a8fc923e23ec22994
[ "MIT" ]
null
null
null
https://en.wikipedia.org/wiki/Tropical_Cyclone https://en.wikipedia.org/wiki/Hurricane_(disambiguation) https://en.wikipedia.org/wiki/Hurricane_Isabel https://en.wikipedia.org/wiki/Expedition_7 https://en.wikipedia.org/wiki/International_Space_Station https://en.wikipedia.org/wiki/Eye_(cyclone) https://en.wikipedia.org...
50.079158
106
0.83227
7,699
49,979
5.193142
0.169503
0.174729
0.39938
0.474263
0.791231
0.627282
0.295833
0.157371
0.11065
0.06648
0
0.008289
0.019948
49,979
998
107
50.079158
0.80797
0
0
0.014028
0
0
0
0
0
0
0
0
0
0
null
null
0.001002
0
null
null
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
1
0
0
0
0
0
0
0
0
3
8abd51c324384576fc79faef14aaddad79908338
1,276
py
Python
release/stubs.min/System/Diagnostics/__init___parts/CorrelationManager.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Diagnostics/__init___parts/CorrelationManager.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Diagnostics/__init___parts/CorrelationManager.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
class CorrelationManager(object): """ Correlates traces that are part of a logical transaction. """ def ZZZ(self): """hardcoded/mock instance of the class""" return CorrelationManager() instance=ZZZ() """hardcoded/returns an instance of the class""" def StartLogicalOperation(self,operationId=None): "...
31.9
93
0.724922
139
1,276
6.654676
0.402878
0.142703
0.028108
0.038919
0.123243
0.123243
0.123243
0.123243
0.123243
0.123243
0
0
0.180251
1,276
39
94
32.717949
0.884321
0.363636
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0.2
0
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8ac93ff3586e8e4c541791c1f4b7c0186f6346bf
316
py
Python
python/P73993_ordre_superior/ordre_superior.py
guillempla/LP-FIB
1e02d97c60cb7e872687c2fa5be6ec2e6296ebc4
[ "MIT" ]
null
null
null
python/P73993_ordre_superior/ordre_superior.py
guillempla/LP-FIB
1e02d97c60cb7e872687c2fa5be6ec2e6296ebc4
[ "MIT" ]
null
null
null
python/P73993_ordre_superior/ordre_superior.py
guillempla/LP-FIB
1e02d97c60cb7e872687c2fa5be6ec2e6296ebc4
[ "MIT" ]
1
2021-01-01T21:10:50.000Z
2021-01-01T21:10:50.000Z
from functools import reduce def evens_product(L): return reduce(lambda acc, y: acc*y if y % 2 == 0 else acc, L, 1) def reverse(L): return reduce(lambda a, x: [x] + a, L, []) def zip_with(f, L1, L2): return [f(i, j) for i, j in zip(L1, L2)] def count_if(f, L): return len(list(filter(f, L)))
17.555556
68
0.598101
62
316
3
0.532258
0.112903
0.139785
0.204301
0
0
0
0
0
0
0
0.029046
0.237342
316
17
69
18.588235
0.742739
0
0
0
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0.111111
0.444444
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
0
0
0
3
8acb479d55aa4dee864ae98dc2be63d183c217e0
500
py
Python
tests/helpers/test_task_helpers.py
OsvaldoRino/speid
b4725bdee4abc019d4c2de4517f67a28f18c91ab
[ "MIT" ]
22
2019-08-23T03:17:42.000Z
2022-03-17T21:28:06.000Z
tests/helpers/test_task_helpers.py
cuenca-mx/speid
157a6f9a81e4f7a3a93765ebff940a01adf4c93a
[ "MIT" ]
268
2018-09-24T15:13:10.000Z
2022-03-30T17:06:39.000Z
tests/helpers/test_task_helpers.py
OsvaldoRino/speid
b4725bdee4abc019d4c2de4517f67a28f18c91ab
[ "MIT" ]
8
2019-09-22T03:41:11.000Z
2022-01-24T22:16:51.000Z
from datetime import datetime from speid.helpers.task_helpers import time_in_range def test_time_in_range(): st = datetime(2020, 12, 28, 23, 55) et = datetime(2020, 12, 28, 0, 5) dn = datetime(2020, 12, 28, 0, 3) assert time_in_range(st, et, dn) dn = datetime(2020, 12, 28, 1, 3) assert not ...
25
52
0.632
89
500
3.41573
0.292135
0.276316
0.322368
0.368421
0.661184
0.470395
0.282895
0
0
0
0
0.193717
0.236
500
19
53
26.315789
0.602094
0
0
0.153846
0
0
0
0
0
0
0
0
0.230769
1
0.076923
false
0
0.153846
0
0.230769
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
76d4a0af8dba13ab8258792b72a835f68eb9cc2f
120
py
Python
project/Googlecloudstoragecode/read.py
cybertraining-dsc/fa19-516-171
1dba8cde09f7b05c80557ea7ae462161c590568b
[ "Apache-2.0" ]
null
null
null
project/Googlecloudstoragecode/read.py
cybertraining-dsc/fa19-516-171
1dba8cde09f7b05c80557ea7ae462161c590568b
[ "Apache-2.0" ]
2
2019-12-02T03:11:42.000Z
2021-02-08T20:37:15.000Z
project/Googlecloudstoragecode/read.py
cybertraining-dsc/fa19-516-171
1dba8cde09f7b05c80557ea7ae462161c590568b
[ "Apache-2.0" ]
2
2019-09-10T00:56:11.000Z
2020-05-05T02:54:31.000Z
from cloudmesh.configuration.Config import Config config = Config() profile = config["cloudmesh.profile"] print(profile)
30
49
0.808333
14
120
6.928571
0.5
0.247423
0
0
0
0
0
0
0
0
0
0
0.083333
120
4
50
30
0.881818
0
0
0
0
0
0.140496
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
76d7ce1d8e2a67269b18935cd5cde532c4faf83b
96
py
Python
nomad/fibonacci_number.py
datadvance/pCluster-volcano
e0ba8ef123ac4c5c8d747ef7df12640a5f4ac49a
[ "MIT" ]
null
null
null
nomad/fibonacci_number.py
datadvance/pCluster-volcano
e0ba8ef123ac4c5c8d747ef7df12640a5f4ac49a
[ "MIT" ]
null
null
null
nomad/fibonacci_number.py
datadvance/pCluster-volcano
e0ba8ef123ac4c5c8d747ef7df12640a5f4ac49a
[ "MIT" ]
null
null
null
def f(n): if n == 1 or n == 0: return 1 return f(n - 1) + f(n - 2) print(f(40))
16
30
0.416667
21
96
1.904762
0.52381
0.15
0
0
0
0
0
0
0
0
0
0.118644
0.385417
96
5
31
19.2
0.559322
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0.2
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
76e614537471e45efeb04ae1c65dcf08d01daf98
3,511
py
Python
tests/types/test_large_dict.py
yaal-coop/sheraf
774e3781bc6ff2e16c6cc39f268d475b5e64fcea
[ "MIT" ]
null
null
null
tests/types/test_large_dict.py
yaal-coop/sheraf
774e3781bc6ff2e16c6cc39f268d475b5e64fcea
[ "MIT" ]
null
null
null
tests/types/test_large_dict.py
yaal-coop/sheraf
774e3781bc6ff2e16c6cc39f268d475b5e64fcea
[ "MIT" ]
null
null
null
import string import pytest import sheraf def test_large_dict(sheraf_database): with sheraf.connection(commit=True) as c: c.root.dict = sheraf.types.LargeDict() for i in range(100): c.root.dict[i] = str(i) with sheraf.connection() as c: assert c.root.dict[50] == "50" ...
35.464646
80
0.516947
556
3,511
3.242806
0.118705
0.124792
0.224626
0.199667
0.782585
0.696062
0.627288
0.523572
0.523572
0.477537
0
0.067771
0.260325
3,511
98
81
35.826531
0.626492
0
0
0.333333
0
0
0.039305
0
0
0
0
0
0.435897
1
0.051282
false
0
0.038462
0
0.089744
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
1
0
0
0
0
0
0
0
0
0
3
76f2ec19cfc1433da7cb9f02be5896007cdf4ffd
1,773
py
Python
src/ebay_rest/api/buy_feed/models/__init__.py
matecsaj/ebay_rest
dd23236f39e05636eff222f99df1e3699ce47d4a
[ "MIT" ]
3
2021-12-12T04:28:03.000Z
2022-03-10T03:29:18.000Z
src/ebay_rest/api/buy_feed/models/__init__.py
jdavv/ebay_rest
20fc88c6aefdae9ab90f9c1330e79abddcd750cd
[ "MIT" ]
33
2021-06-16T20:44:36.000Z
2022-03-30T14:55:06.000Z
src/ebay_rest/api/buy_feed/models/__init__.py
jdavv/ebay_rest
20fc88c6aefdae9ab90f9c1330e79abddcd750cd
[ "MIT" ]
7
2021-06-03T09:30:23.000Z
2022-03-08T19:51:33.000Z
# coding: utf-8 # flake8: noqa """ Item Feed Service <span class=\"tablenote\"><b>Note:</b> This is a <a href=\"https://developer.ebay.com/api-docs/static/versioning.html#limited\" target=\"_blank\"> <img src=\"/cms/img/docs/partners-api.svg\" class=\"legend-icon partners-icon\" title=\"Limited Release\" alt...
65.666667
928
0.773266
269
1,773
4.98513
0.498141
0.0522
0.082028
0.126771
0.189411
0.12528
0
0
0
0
0
0.005758
0.118443
1,773
26
929
68.192308
0.852207
0.613649
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
0a01fbdfaa0e2b8a69d48ca1882b846522c11648
2,211
py
Python
contents/constitution.py
tearfulDalvik/gaokao-index
cab8ed6b8a483d1d0c86f717e8b3b97d4d2a3fee
[ "Apache-2.0" ]
1
2019-03-29T10:46:07.000Z
2019-03-29T10:46:07.000Z
contents/constitution.py
tearfulDalvik/gaokao-index
cab8ed6b8a483d1d0c86f717e8b3b97d4d2a3fee
[ "Apache-2.0" ]
null
null
null
contents/constitution.py
tearfulDalvik/gaokao-index
cab8ed6b8a483d1d0c86f717e8b3b97d4d2a3fee
[ "Apache-2.0" ]
null
null
null
#coding:utf-8 from model.xpath_model import XpathModel # # Copyright 2017 Dalvik # # 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 # # Unles...
30.708333
168
0.606061
287
2,211
4.658537
0.536585
0.044877
0.014959
0.038145
0.150337
0.115183
0.115183
0.115183
0.115183
0.115183
0
0.022438
0.254184
2,211
72
169
30.708333
0.788357
0.371777
0
0
0
0.115385
0.351292
0.072325
0
0
0
0
0
1
0.230769
false
0
0.038462
0.192308
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0a1c4c4bf670296ffb480cdc99957836f064c08f
8,057
py
Python
tensorflow/python/data/experimental/service/__init__.py
zimo-geek/tensorflow
dda311384ca46fe0defbd9fa02547bfdb5eb5bc6
[ "Apache-2.0" ]
1
2021-12-16T20:56:44.000Z
2021-12-16T20:56:44.000Z
tensorflow/python/data/experimental/service/__init__.py
Aderinom/tensorflow
27cc0974b98200f7c373f2e2268621cf8ab95470
[ "Apache-2.0" ]
null
null
null
tensorflow/python/data/experimental/service/__init__.py
Aderinom/tensorflow
27cc0974b98200f7c373f2e2268621cf8ab95470
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
48.245509
111
0.788755
1,221
8,057
5.146601
0.31122
0.031509
0.041375
0.045831
0.173297
0.114577
0.093412
0.093412
0.093412
0.056493
0
0.00489
0.137024
8,057
166
112
48.536145
0.898893
0.910264
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.1
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
0
0
0
3
0a26218227cc3ba0e2ba47adfbbaf95b61d0cd99
468
py
Python
helper/Python/my_logging.py
rdw20170120/build
058a2d317b8e1fa0e2558d9f5be20c274dfc26ef
[ "MIT" ]
null
null
null
helper/Python/my_logging.py
rdw20170120/build
058a2d317b8e1fa0e2558d9f5be20c274dfc26ef
[ "MIT" ]
null
null
null
helper/Python/my_logging.py
rdw20170120/build
058a2d317b8e1fa0e2558d9f5be20c274dfc26ef
[ "MIT" ]
null
null
null
import logging import sys def configure_logging(): # TODO: Ensure time is emitted in UTC logging.basicConfig( datefmt='%Y%m%dT%H%M%S', format='%(asctime)s.%(msecs)dZ PID=%(process)-5d %(name)-11s %(levelname)-5s %(message)s', level=logging.INFO ) logging.addLevelName(loggin...
23.4
98
0.649573
57
468
5.315789
0.736842
0.188119
0.257426
0
0
0
0
0
0
0
0
0.010582
0.192308
468
19
99
24.631579
0.791005
0.074786
0
0
0
0.090909
0.261084
0.054187
0
0
0
0.052632
0
1
0.090909
true
0
0.181818
0
0.272727
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
1
0
0
0
1
0
0
0
0
0
0
3
0a3fb5f346fc8f0dfab545939a315dffa734c36a
59,267
py
Python
1/best_time_sell_buy4.py
IronCore864/leetcode
a62a4cdde9814ae48997176debcaad537f7ad01f
[ "Apache-2.0" ]
4
2018-03-07T02:56:03.000Z
2021-06-15T05:43:31.000Z
1/best_time_sell_buy4.py
IronCore864/leetcode
a62a4cdde9814ae48997176debcaad537f7ad01f
[ "Apache-2.0" ]
null
null
null
1/best_time_sell_buy4.py
IronCore864/leetcode
a62a4cdde9814ae48997176debcaad537f7ad01f
[ "Apache-2.0" ]
1
2021-09-02T12:05:15.000Z
2021-09-02T12:05:15.000Z
import sys class Solution(object): def maxProfit(self, k, prices): """ :type k: int :type prices: List[int] :rtype: int """ if k == 0: return 0 if k > len(prices) // 2: max_profit = 0 for i in range(1, len(prices)): ...
111.824528
120
0.495267
10,131
59,267
2.896851
0.101866
0.000818
0.000818
0.00075
0.003067
0.001295
0.001295
0.001295
0.001295
0
0
0.733662
0.333609
59,267
529
121
112.035917
0.009419
0.00081
0
0.003868
0
0
0
0
0
0
0
0
0
1
0.001934
false
0
0.001934
0
0.011605
0.003868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0a420374868db875dd7c03e180c4c744df633b8f
392
py
Python
calpack/models/__init__.py
tbx22877/pytcpserver
077f1bc26dd5b0312c93e7ab1bf4c42e514d6d62
[ "Apache-2.0" ]
null
null
null
calpack/models/__init__.py
tbx22877/pytcpserver
077f1bc26dd5b0312c93e7ab1bf4c42e514d6d62
[ "Apache-2.0" ]
null
null
null
calpack/models/__init__.py
tbx22877/pytcpserver
077f1bc26dd5b0312c93e7ab1bf4c42e514d6d62
[ "Apache-2.0" ]
null
null
null
""" models ====== A collection of classes and functions for creating custom packets. """ from calpack.models.fields import * from calpack.models.fields import __all__ as fields_all from calpack.models.packets import * from calpack.models.packets import __all__ as packets_all from calpack.models.utils import typed_pro...
24.5
66
0.790816
54
392
5.333333
0.37037
0.190972
0.295139
0.159722
0.409722
0
0
0
0
0
0
0
0.125
392
15
67
26.133333
0.83965
0.206633
0
0
0
0
0.046205
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0a498362a38b4f49728b293acc0aedb1b3c83a76
213
py
Python
algo/__init__.py
apexrl/MapGo
e08caa025b58d086941f7938ad611a6152f82f68
[ "MIT" ]
5
2021-12-01T02:04:56.000Z
2022-01-02T14:33:32.000Z
algo/__init__.py
apexrl/MapGo
e08caa025b58d086941f7938ad611a6152f82f68
[ "MIT" ]
1
2021-11-30T04:48:39.000Z
2022-02-09T23:54:51.000Z
algo/__init__.py
apexrl/MapGo
e08caa025b58d086941f7938ad611a6152f82f68
[ "MIT" ]
1
2021-05-14T01:07:36.000Z
2021-05-14T01:07:36.000Z
from .normal import NormalLearner from .hgg_learner import HGGLearner learner_collection = { 'normal': NormalLearner, 'hgg': HGGLearner, } def create_learner(args): return learner_collection[args.learn](args)
21.3
44
0.788732
25
213
6.56
0.52
0.207317
0
0
0
0
0
0
0
0
0
0
0.112676
213
10
44
21.3
0.867725
0
0
0
0
0
0.042056
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
0a4baa78009e47320d2cdb8442c37c6ca6a4becd
2,677
py
Python
wagtail/search/tests/test_db_backend.py
melisayu/wagtail
614ec3fc2a656b25db710b80f9e60f1c8effd7a4
[ "BSD-3-Clause" ]
8,851
2016-12-09T19:01:45.000Z
2022-03-31T04:45:06.000Z
wagtail/search/tests/test_db_backend.py
fenghualanglang/wagtail
361c3d5d5448aeccedda7d03530c09b65c13e5e8
[ "BSD-3-Clause" ]
5,197
2016-12-09T19:24:37.000Z
2022-03-31T22:17:55.000Z
wagtail/search/tests/test_db_backend.py
fenghualanglang/wagtail
361c3d5d5448aeccedda7d03530c09b65c13e5e8
[ "BSD-3-Clause" ]
2,548
2016-12-09T18:16:55.000Z
2022-03-31T21:34:38.000Z
import unittest from django.test import TestCase from django.test.utils import override_settings from .test_backends import BackendTests @override_settings(WAGTAILSEARCH_BACKENDS={ 'default': { 'BACKEND': 'wagtail.search.backends.database.fallback', } }) class TestDBBackend(BackendTests, TestCase): ...
31.127907
70
0.743369
301
2,677
6.302326
0.199336
0.169742
0.191882
0.221402
0.672641
0.574591
0.47127
0.359515
0.3068
0.165525
0
0
0.178185
2,677
85
71
31.494118
0.862273
0.193874
0
0.264151
0
0
0.044797
0.038264
0
0
0
0
0
1
0.264151
false
0
0.075472
0
0.377358
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0a67b6dcfe3535480db2340f38d6196c919ad657
362
py
Python
schedule/models.py
BrandonWolf17/rinzler-crow
5153b164c1b9fb5b7cc3dbe3eb2751c774586feb
[ "MIT" ]
null
null
null
schedule/models.py
BrandonWolf17/rinzler-crow
5153b164c1b9fb5b7cc3dbe3eb2751c774586feb
[ "MIT" ]
null
null
null
schedule/models.py
BrandonWolf17/rinzler-crow
5153b164c1b9fb5b7cc3dbe3eb2751c774586feb
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Schedule(models.Model): start_time = models.TimeField() end_time = models.TimeField() created_at = models.DateTimeField(auto_now=False, auto_now_add=True) updated_at = models.DateTimeField(auto_now=True, auto_now_add=False) def __unicode__(self): re...
22.625
69
0.762431
51
362
5.058824
0.568627
0.108527
0.147287
0.193798
0.217054
0
0
0
0
0
0
0
0.129834
362
15
70
24.133333
0.819048
0.066298
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0.2
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
0
0
0
0
1
1
0
0
3
0a6a1679269fe0db48b4901fade7704baab376a6
471
py
Python
pytype/tools/merge_pyi/test_data/defaults.pep484.py
adamcataldo/pytype
7163e85880b52d53d58044e53157e2a21988308e
[ "Apache-2.0" ]
15
2016-05-31T18:47:09.000Z
2020-04-06T22:31:58.000Z
pytype/tools/merge_pyi/test_data/defaults.pep484.py
adamcataldo/pytype
7163e85880b52d53d58044e53157e2a21988308e
[ "Apache-2.0" ]
2
2016-06-09T20:06:57.000Z
2017-08-07T04:09:43.000Z
pytype/tools/merge_pyi/test_data/defaults.pep484.py
adamcataldo/pytype
7163e85880b52d53d58044e53157e2a21988308e
[ "Apache-2.0" ]
10
2016-05-25T20:50:24.000Z
2021-10-12T03:25:18.000Z
# Copyright (c) 2016 Google Inc. (under http://www.apache.org/licenses/LICENSE-2.0) def f1(x:e1="foo") -> r1: pass def f2(x:e2= # "foo") -> r2: pass def f3(# x:e3#= = # # 123# # ) -> r3: pass def f4(x:e4=(1,2)) -> r4: pass def f5(x:e5=(1,)) -> r5: pass def f6(x:e6=int) -> r6: p...
12.394737
83
0.511677
86
471
2.802326
0.604651
0.20332
0
0
0
0
0
0
0
0
0
0.121739
0.267516
471
37
84
12.72973
0.576812
0.254777
0
0.391304
0
0
0.017595
0
0
0
0
0
0
1
0.391304
false
0.391304
0
0
0.391304
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
1
0
0
0
0
0
3
0a6f9b8c02146e87efccb2aa5883e30451f556ca
3,796
py
Python
tests/test_election_district_results.py
jameswilkerson/elex
27733e3c473fef48676f8bdd56247bee49ad32ea
[ "Apache-2.0" ]
183
2015-11-25T15:13:47.000Z
2022-01-07T23:02:36.000Z
tests/test_election_district_results.py
jameswilkerson/elex
27733e3c473fef48676f8bdd56247bee49ad32ea
[ "Apache-2.0" ]
198
2015-11-24T16:48:48.000Z
2020-10-26T10:38:56.000Z
tests/test_election_district_results.py
jameswilkerson/elex
27733e3c473fef48676f8bdd56247bee49ad32ea
[ "Apache-2.0" ]
65
2015-12-03T21:29:38.000Z
2021-08-10T20:03:49.000Z
import tests class TestElection(tests.ElectionDistrictResultsTestCase): def test_results_level(self): self.assertEqual(self.resultslevel, 'district') def test_number_of_parsed_races(self): self.assertEqual(len(self.race_objs), 2) def test_number_of_get_units_races(self): self.as...
34.509091
62
0.693361
476
3,796
5.207983
0.130252
0.109722
0.135539
0.161355
0.820089
0.688181
0.537313
0.505446
0.405809
0.128278
0
0.015977
0.192044
3,796
109
63
34.825688
0.792305
0
0
0.475
0
0
0.052424
0
0
0
0
0
0.3375
1
0.3375
false
0
0.0125
0
0.3625
0
0
0
0
null
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
6a5014ee193407635d31bd7098b18be5bf4d998a
165
py
Python
python2.7/site-packages/twisted/protocols/__init__.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
4
2020-10-31T19:52:05.000Z
2021-09-22T11:39:27.000Z
python2.7/site-packages/twisted/protocols/__init__.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
null
null
null
python2.7/site-packages/twisted/protocols/__init__.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
2
2020-02-27T08:28:35.000Z
2020-09-13T12:39:26.000Z
# Copyright (c) 2001-2004 Twisted Matrix Laboratories. # See LICENSE for details. """ Twisted Protocols: a collection of internet protocol implementations. """
15
69
0.745455
19
165
6.473684
0.947368
0
0
0
0
0
0
0
0
0
0
0.057971
0.163636
165
10
70
16.5
0.833333
0.89697
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
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6a58a35ff610aec3d435c10338279d53ccd32c03
92
py
Python
tests/test_modules/use_decorators.py
ajylee/call_map
21e7684b0814eae6f16cd4bc75597dc4e9239ec0
[ "BSD-2-Clause" ]
20
2017-12-24T00:19:15.000Z
2021-11-15T07:42:25.000Z
tests/test_modules/use_decorators.py
ajylee/call_map
21e7684b0814eae6f16cd4bc75597dc4e9239ec0
[ "BSD-2-Clause" ]
1
2017-10-22T21:03:41.000Z
2017-12-24T04:26:22.000Z
tests/test_modules/use_decorators.py
ajylee/call_map
21e7684b0814eae6f16cd4bc75597dc4e9239ec0
[ "BSD-2-Clause" ]
2
2017-11-04T10:06:59.000Z
2019-08-01T22:24:49.000Z
import functools def dec(f): pass @dec def ff(): def gg(): pass pass
7.666667
16
0.51087
13
92
3.615385
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.380435
92
11
17
8.363636
0.824561
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0.375
false
0.375
0.125
0
0.5
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
0
0
0
3
6a64480afa4044b25f516100b1749626b0992458
498
py
Python
mlprodict/onnxrt/ops_cpu/op_equal.py
xadupre/mlprodict
f82c8a26a60104948c67849b1c4af95ca812c153
[ "MIT" ]
1
2020-12-18T03:49:53.000Z
2020-12-18T03:49:53.000Z
mlprodict/onnxrt/ops_cpu/op_equal.py
xadupre/mlprodict
f82c8a26a60104948c67849b1c4af95ca812c153
[ "MIT" ]
null
null
null
mlprodict/onnxrt/ops_cpu/op_equal.py
xadupre/mlprodict
f82c8a26a60104948c67849b1c4af95ca812c153
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- # pylint: disable=E0203,E1101,C0111 """ @file @brief Runtime operator. """ import numpy from ._op import OpRunBinary class Equal(OpRunBinary): def __init__(self, onnx_node, desc=None, **options): OpRunBinary.__init__(self, onnx_node, desc=desc, **options) def _run(self, a, ...
23.714286
77
0.672691
65
498
4.784615
0.569231
0.083601
0.07717
0.102894
0.128617
0
0
0
0
0
0
0.041667
0.180723
498
20
78
24.9
0.720588
0.222892
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.222222
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6a75d02e347ac9146bf36b2d3f23e72e860f76c3
264
py
Python
rpi/car/motor.py
dani-9/robbie9-2020
95069da86b346e691d05bddd99ac2092848b1d55
[ "Apache-2.0" ]
null
null
null
rpi/car/motor.py
dani-9/robbie9-2020
95069da86b346e691d05bddd99ac2092848b1d55
[ "Apache-2.0" ]
null
null
null
rpi/car/motor.py
dani-9/robbie9-2020
95069da86b346e691d05bddd99ac2092848b1d55
[ "Apache-2.0" ]
null
null
null
class Motor: def __init__(self, forward_pin, backward_pin): self.forward_pin = forward_pin self.backward_pin = backward_pin def move_forward(self): pass def move_backward(self): pass def stop(self): pass
17.6
50
0.621212
33
264
4.606061
0.333333
0.197368
0.184211
0
0
0
0
0
0
0
0
0
0.306818
264
14
51
18.857143
0.830601
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.4
false
0.3
0
0
0.5
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
1
0
0
0
0
0
3
6a8075ff3c0272a6250d5ee4129db655a411be6f
414
py
Python
mycli/filters.py
ruslan-stratoscale/mycli
d6ccd390a9b4b659a2bd35e8bf94172eb9c3874e
[ "BSD-3-Clause" ]
1
2019-11-14T01:05:24.000Z
2019-11-14T01:05:24.000Z
mycli/filters.py
ruslan-stratoscale/mycli
d6ccd390a9b4b659a2bd35e8bf94172eb9c3874e
[ "BSD-3-Clause" ]
1
2018-10-02T03:54:00.000Z
2018-10-02T03:54:00.000Z
mycli/filters.py
ruslan-stratoscale/mycli
d6ccd390a9b4b659a2bd35e8bf94172eb9c3874e
[ "BSD-3-Clause" ]
1
2018-10-02T02:37:37.000Z
2018-10-02T02:37:37.000Z
from prompt_toolkit.filters import Filter class HasSelectedCompletion(Filter): """Enable when the current buffer has a selected completion.""" def __call__(self, cli): complete_state = cli.current_buffer.complete_state return (complete_state is not None and complete_state.curr...
31.846154
67
0.71256
48
414
5.833333
0.604167
0.185714
0.064286
0
0
0
0
0
0
0
0
0
0.219807
414
12
68
34.5
0.866873
0.137681
0
0
0
0
0.065527
0.065527
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6a88233b702a0aaeb2d0cb12d11b5923b63e81a0
399
py
Python
dawp2020/hy-data-analysis-with-python-2020/part03-e04_matrix_power/src/matrix_power.py
ored95/data-analysis-course
f61a953769b8e7c502f2bec28158ec1bd344f72a
[ "MIT" ]
null
null
null
dawp2020/hy-data-analysis-with-python-2020/part03-e04_matrix_power/src/matrix_power.py
ored95/data-analysis-course
f61a953769b8e7c502f2bec28158ec1bd344f72a
[ "MIT" ]
null
null
null
dawp2020/hy-data-analysis-with-python-2020/part03-e04_matrix_power/src/matrix_power.py
ored95/data-analysis-course
f61a953769b8e7c502f2bec28158ec1bd344f72a
[ "MIT" ]
2
2022-02-14T20:07:29.000Z
2022-03-11T07:30:23.000Z
#!/usr/bin/env python3 from functools import reduce import numpy as np def matrix_power(a, n): if n < 0: return np.linalg.inv(matrix_power(a, -n)) elif n == 0: return np.eye(a.shape[0]) else: # return a @ matrix_power(a, n-1) return reduce(np.matmul, np.array([a, matrix_pow...
19.95
69
0.591479
64
399
3.5
0.46875
0.196429
0.214286
0.232143
0.133929
0.133929
0
0
0
0
0
0.020339
0.260652
399
19
70
21
0.738983
0.132832
0
0
0
0
0.023256
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0.076923
0.615385
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6a945d48f8571506d07c4d6203a94dee91ac6c27
12,990
py
Python
insights/specs/sos_archive.py
dpensi/insights-core
5ca4548f0ad2a53c4282082ad003d5b7573536d7
[ "Apache-2.0" ]
null
null
null
insights/specs/sos_archive.py
dpensi/insights-core
5ca4548f0ad2a53c4282082ad003d5b7573536d7
[ "Apache-2.0" ]
null
null
null
insights/specs/sos_archive.py
dpensi/insights-core
5ca4548f0ad2a53c4282082ad003d5b7573536d7
[ "Apache-2.0" ]
null
null
null
from functools import partial from insights.specs import Specs from insights.core.context import SosArchiveContext from insights.core.spec_factory import simple_file, first_of, first_file, glob_file first_file = partial(first_file, context=SosArchiveContext) glob_file = partial(glob_file, context=SosArchiveContext) si...
79.693252
221
0.772825
1,824
12,990
5.061404
0.152412
0.195407
0.180351
0.143306
0.615468
0.475087
0.317158
0.232127
0.15273
0.13399
0
0.004493
0.091994
12,990
162
222
80.185185
0.778211
0
0
0.037736
0
0.056604
0.584758
0.572825
0
0
0
0
0
1
0
false
0
0.031447
0
0.742138
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
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6aa330ce51d5ebce9669acc43855c4f034ad294d
458
py
Python
voicetools/__init__.py
fossabot/JackCogs
b9651a87e8a1fe29e4d672a03a42b6b3f37bb852
[ "MIT" ]
null
null
null
voicetools/__init__.py
fossabot/JackCogs
b9651a87e8a1fe29e4d672a03a42b6b3f37bb852
[ "MIT" ]
null
null
null
voicetools/__init__.py
fossabot/JackCogs
b9651a87e8a1fe29e4d672a03a42b6b3f37bb852
[ "MIT" ]
null
null
null
from redbot import version_info, VersionInfo from redbot.core.bot import Red from redbot.core.errors import CogLoadError from .voicetools import VoiceTools async def setup(bot: Red) -> None: if version_info < VersionInfo.from_str("3.1.3"): raise CogLoadError( "This cog requires at least Red 3...
30.533333
88
0.69869
64
458
4.9375
0.59375
0.094937
0.139241
0.164557
0
0
0
0
0
0
0
0.016713
0.216157
458
14
89
32.714286
0.86351
0
0
0
0
0
0.257642
0
0
0
0
0
0
1
0
true
0
0.363636
0
0.363636
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6abe35bfae642ca9d108356ed6bc3ff7a1a7ed69
89
py
Python
myhelps/apps.py
SORARAwo4649/HamatteruProject
72d5d1a4fc3fa4ef6d09048b6852256500feed84
[ "CC-BY-4.0", "MIT" ]
1
2021-02-17T05:36:15.000Z
2021-02-17T05:36:15.000Z
myhelps/apps.py
SORARAwo4649/HamatteruProject
72d5d1a4fc3fa4ef6d09048b6852256500feed84
[ "CC-BY-4.0", "MIT" ]
null
null
null
myhelps/apps.py
SORARAwo4649/HamatteruProject
72d5d1a4fc3fa4ef6d09048b6852256500feed84
[ "CC-BY-4.0", "MIT" ]
1
2021-04-20T06:46:30.000Z
2021-04-20T06:46:30.000Z
from django.apps import AppConfig class MyhelpsConfig(AppConfig): name = 'myhelps'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6ac40274e0f388d24916d22b526d1717c572ea45
234
py
Python
warsaw_data_api/__init__.py
radekwielonski/warsaw-data-api
0d8b6929944f5b0bd5da4e9e54ad65f86adcc77a
[ "MIT" ]
null
null
null
warsaw_data_api/__init__.py
radekwielonski/warsaw-data-api
0d8b6929944f5b0bd5da4e9e54ad65f86adcc77a
[ "MIT" ]
1
2021-12-17T14:16:39.000Z
2021-12-17T14:16:39.000Z
warsaw_data_api/__init__.py
radekwielonski/warsaw-data-api
0d8b6929944f5b0bd5da4e9e54ad65f86adcc77a
[ "MIT" ]
null
null
null
from warsaw_data_api.ztm import ZtmSession from typing import Union __author__ = "Radoslaw Wielonski" __version__ = "0.3.0" # factory functions def ztm(apikey: Union[str, None]) -> ZtmSession: return ZtmSession(apikey=apikey)
19.5
48
0.760684
31
234
5.419355
0.709677
0
0
0
0
0
0
0
0
0
0
0.015
0.145299
234
11
49
21.272727
0.825
0.07265
0
0
0
0
0.106977
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
6ae8185243e8d80a3779419b3d80592ffe65b238
456
py
Python
yolox/utils/__init__.py
futabato/YOLOX
babb80e4f375ed1497c9aa5a8c404faf021525ed
[ "Apache-2.0" ]
null
null
null
yolox/utils/__init__.py
futabato/YOLOX
babb80e4f375ed1497c9aa5a8c404faf021525ed
[ "Apache-2.0" ]
null
null
null
yolox/utils/__init__.py
futabato/YOLOX
babb80e4f375ed1497c9aa5a8c404faf021525ed
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # Copyright (c) 2014-2021 Megvii Inc. All rights reserved. from .allreduce_norm import * from .boxes import * from .checkpoint import load_ckpt, save_checkpoint from .demo_utils import * from .dist import * from .ema import * from .logger import WandbLogger, setup_logger f...
26.823529
58
0.760965
65
456
5.215385
0.584615
0.235988
0.088496
0
0
0
0
0
0
0
0
0.025641
0.144737
456
16
59
28.5
0.84359
0.217105
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
0
0
0
3
0a73abde15a5a28d75eb71f06c555f2a046bec41
22,574
py
Python
tensorflow/python/framework/tensor_util_test.py
jdehotin/TensorFlow
a6c5f8e4e013e54fed8dfcf49fb6de365f018022
[ "Apache-2.0" ]
6
2016-09-07T18:38:41.000Z
2020-01-12T23:01:03.000Z
tensorflow/python/framework/tensor_util_test.py
jdehotin/TensorFlow
a6c5f8e4e013e54fed8dfcf49fb6de365f018022
[ "Apache-2.0" ]
null
null
null
tensorflow/python/framework/tensor_util_test.py
jdehotin/TensorFlow
a6c5f8e4e013e54fed8dfcf49fb6de365f018022
[ "Apache-2.0" ]
8
2017-06-08T09:46:06.000Z
2021-06-20T14:03:19.000Z
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
35.77496
119
0.626783
3,228
22,574
4.230793
0.085812
0.067365
0.034268
0.060042
0.776378
0.746064
0.716556
0.692173
0.671451
0.618291
0
0.083046
0.217463
22,574
630
120
35.831746
0.690065
0.049792
0
0.601887
0
0.009434
0.209487
0.028293
0
0
0
0
0.25283
1
0.092453
false
0
0.015094
0
0.113208
0.001887
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
0
0
0
0
0
0
0
0
0
0
3
0a8629321f15d82ea3dafe90bcf5c9d6963b3dab
238
py
Python
lib/galaxy/tools/loader.py
katbeaulieu/galaxy-1
e1dcc8a625d00990c7f062b9c2ccbf5fa86fbfee
[ "CC-BY-3.0" ]
4
2018-10-29T18:34:38.000Z
2021-09-29T23:30:42.000Z
lib/galaxy/tools/loader.py
katbeaulieu/galaxy-1
e1dcc8a625d00990c7f062b9c2ccbf5fa86fbfee
[ "CC-BY-3.0" ]
7
2016-12-07T22:19:37.000Z
2019-01-30T15:04:26.000Z
lib/galaxy/tools/loader.py
chambm/galaxy
fd1926767996a161cd2fc8bd184e6835fd688765
[ "CC-BY-3.0" ]
3
2020-02-12T15:22:24.000Z
2021-08-19T10:27:39.000Z
from galaxy.util.xml_macros import ( imported_macro_paths, load, raw_tool_xml_tree, template_macro_params, ) load_tool = load __all__ = ("load_tool", "raw_tool_xml_tree", "imported_macro_paths", "template_macro_params")
21.636364
93
0.752101
33
238
4.787879
0.484848
0.164557
0.227848
0.177215
0
0
0
0
0
0
0
0
0.151261
238
10
94
23.8
0.782178
0
0
0
0
0
0.281513
0.088235
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
0
0
0
3
0a8a9ba8e2c1cc6ee8c5bc1536892e57b6f32c78
1,296
py
Python
app/modules/app_functions/functions.py
CNC-Messenger/Desktop-Client
8b3fc7b3bad78d8dbfcf806993f797c3f8932c51
[ "MIT" ]
86
2021-05-27T05:47:10.000Z
2022-03-13T06:31:47.000Z
app/modules/app_functions/functions.py
CNC-Messenger/Desktop-Client
8b3fc7b3bad78d8dbfcf806993f797c3f8932c51
[ "MIT" ]
2
2021-05-26T19:00:41.000Z
2021-06-29T13:17:38.000Z
app/modules/app_functions/functions.py
CNC-Messenger/Desktop-Client
8b3fc7b3bad78d8dbfcf806993f797c3f8932c51
[ "MIT" ]
38
2021-05-31T16:12:04.000Z
2022-03-24T09:49:56.000Z
# /////////////////////////////////////////////////////////////// # # BY: WANDERSON M.PIMENTA # PROJECT MADE WITH: Qt Designer and PySide6 # V: 1.0.0 # # This project can be used freely for all uses, as long as they maintain the # respective credits only in the Python scripts, any information in the visual # interface ...
36
78
0.546296
140
1,296
4.964286
0.685714
0.025899
0.043165
0
0
0
0
0
0
0
0
0.00363
0.149691
1,296
36
79
36
0.627042
0.682099
0
0
0
0
0.012887
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
0a90d19769ff3fd1e3492dbd4916aa3d315a968a
7,459
py
Python
optimus/engines/base/commons/functions.py
niallscc/Optimus
35218401556e5acc4beb2859084128ebcd1ab4e5
[ "Apache-2.0" ]
null
null
null
optimus/engines/base/commons/functions.py
niallscc/Optimus
35218401556e5acc4beb2859084128ebcd1ab4e5
[ "Apache-2.0" ]
null
null
null
optimus/engines/base/commons/functions.py
niallscc/Optimus
35218401556e5acc4beb2859084128ebcd1ab4e5
[ "Apache-2.0" ]
null
null
null
import re import fastnumbers import numpy as np import pandas as pd from dask_ml.impute import SimpleImputer from fastnumbers import isintlike, isfloat, isreal, fast_float, fast_int # From a top point of view we organize Optimus separating the functions in dataframes and dask engines. # Some functions are commons to ...
29.955823
111
0.678375
1,028
7,459
4.775292
0.205253
0.012222
0.015889
0.012222
0.392341
0.330006
0.250764
0.195559
0.165003
0.165003
0
0.001396
0.231935
7,459
248
112
30.076613
0.855472
0.330339
0
0.126126
0
0
0.024854
0
0
0
0
0
0
1
0.279279
false
0
0.135135
0.153153
0.72973
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0a9737a14a32bfc476ea5236a95a9853fa2c25d5
106,478
py
Python
src/olympia/devhub/tests/test_views_submit.py
Sparsh-Bansal/addons-server
133c9d8924017de010e47a25d0a8ca33a45c9f1a
[ "BSD-3-Clause" ]
null
null
null
src/olympia/devhub/tests/test_views_submit.py
Sparsh-Bansal/addons-server
133c9d8924017de010e47a25d0a8ca33a45c9f1a
[ "BSD-3-Clause" ]
26
2020-11-02T07:38:13.000Z
2020-11-09T09:48:32.000Z
src/olympia/devhub/tests/test_views_submit.py
Sparsh-Bansal/addons-server
133c9d8924017de010e47a25d0a8ca33a45c9f1a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import json import os import io import stat import tarfile import zipfile from datetime import datetime, timedelta from urllib.parse import urlencode from django.conf import settings from django.core.files import temp from django.core.files.storage import default_storage as storage from django...
42.96933
79
0.63878
12,975
106,478
5.077765
0.067823
0.022676
0.029506
0.025135
0.782269
0.754751
0.713496
0.681835
0.652526
0.623566
0
0.014182
0.246408
106,478
2,477
80
42.986677
0.806782
0.081735
0
0.638733
0
0
0.146923
0.045658
0
0
0
0
0.253449
1
0.092489
false
0.003066
0.01533
0.001533
0.128258
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
0
0
0
0
0
0
0
0
0
0
3
0ab5a4fa04c6e486575a7ec3915ab78d3540b151
118
py
Python
Elementary/String/StringReplace.py
ArnobMahmud/Python-Series
5ea451ceae25367c1439d9785cf9b45b3b658623
[ "MIT" ]
null
null
null
Elementary/String/StringReplace.py
ArnobMahmud/Python-Series
5ea451ceae25367c1439d9785cf9b45b3b658623
[ "MIT" ]
null
null
null
Elementary/String/StringReplace.py
ArnobMahmud/Python-Series
5ea451ceae25367c1439d9785cf9b45b3b658623
[ "MIT" ]
null
null
null
''' Author : Arnob Mahmud Mail : arnob.tech.me @ gmail.com ''' a = "Hello, World!" print(a.replace("H", "J"))
13.111111
35
0.559322
17
118
3.882353
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.211864
118
8
36
14.75
0.709677
0.466102
0
0
0
0
0.306122
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
1
0
3
0abe0fb3d9ee20c821a5d36f968d0132e494fdf3
2,139
py
Python
tests/test_events.py
Srinivas11789/manticore
af3c6aada811833864efaccef7477f14e9b5e0dd
[ "Apache-2.0" ]
null
null
null
tests/test_events.py
Srinivas11789/manticore
af3c6aada811833864efaccef7477f14e9b5e0dd
[ "Apache-2.0" ]
null
null
null
tests/test_events.py
Srinivas11789/manticore
af3c6aada811833864efaccef7477f14e9b5e0dd
[ "Apache-2.0" ]
null
null
null
import unittest from manticore.utils.event import Eventful class A(Eventful): _published_events = set(['eventA']) def do_stuff(self): self._publish("eventA",1, 'a') class B(Eventful): _published_events = set(['eventB']) def __init__(self, child, **kwargs): super().__init__(**kwargs) ...
28.144737
85
0.58906
285
2,139
4.242105
0.196491
0.228288
0.215054
0.223325
0.623656
0.589744
0.548387
0.511166
0.443342
0.443342
0
0.015557
0.248714
2,139
75
86
28.52
0.736777
0
0
0.377358
0
0
0.024813
0
0
0
0
0
0.226415
1
0.169811
false
0.018868
0.037736
0
0.339623
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3