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
452845206d286281dcc93028c8ec3b7dcc6c68d1
1,048
py
Python
Curso de Python 3 - Mundo 1 - Fundamentos/#042.py
bitwoman/curso-em-video-python
bb097eb925f271c34e97e20902e6b18cca62c275
[ "MIT" ]
null
null
null
Curso de Python 3 - Mundo 1 - Fundamentos/#042.py
bitwoman/curso-em-video-python
bb097eb925f271c34e97e20902e6b18cca62c275
[ "MIT" ]
null
null
null
Curso de Python 3 - Mundo 1 - Fundamentos/#042.py
bitwoman/curso-em-video-python
bb097eb925f271c34e97e20902e6b18cca62c275
[ "MIT" ]
null
null
null
# Exercício Python 042: Refaça o DESAFIO 035 dos triângulos, acrescentando o recurso de mostrar que tipo de triângulo será formado: # - EQUILÁTERO: todos os lados iguais # - ISÓSCELES: dois lados iguais, um diferente # - ESCALENO: todos os lados diferentes straight_line = [] for x in range(0,3): line = float(input('...
40.307692
170
0.718511
168
1,048
4.35119
0.39881
0.361149
0.142271
0.172367
0.367989
0.29959
0.192886
0.150479
0.150479
0.150479
0
0.031746
0.158397
1,048
25
171
41.92
0.797052
0.236641
0
0.117647
0
0
0.222642
0
0
0
0
0.04
0
1
0
false
0
0
0
0
0.294118
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
18926235060c9e0c96a3542ab858290c4374c5fb
179
py
Python
scripts/portal/timeSeal01.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/portal/timeSeal01.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/portal/timeSeal01.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # ID :: [927020071] # Unknown : Unknown if not sm.hasQuest(25671): sm.showFieldEffect("lightning/screenMsg/6") sm.createQuestWithQRValue(25671, "1")
25.571429
47
0.715084
21
179
6.095238
0.809524
0
0
0
0
0
0
0
0
0
0
0.137255
0.145251
179
7
48
25.571429
0.699346
0.307263
0
0
0
0
0.181818
0.173554
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
18981d1e1888ed34db6fea1fdca7c1e4c19f36b5
1,574
py
Python
release/stubs.min/Rhino/DocObjects/__init___parts/ViewInfo.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Rhino/DocObjects/__init___parts/ViewInfo.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Rhino/DocObjects/__init___parts/ViewInfo.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class ViewInfo(object, IDisposable): """ Represents the name and orientation of a View (and named view). views can be thought of as cameras. """ def Dispose(self): """ Dispose(self: ViewInfo) Actively reclaims unmanaged resources that this instance uses. """ pass ...
24.215385
221
0.630241
182
1,574
5.038462
0.379121
0.065431
0.052345
0.062159
0.411123
0.339149
0.339149
0.247546
0.247546
0.247546
0
0
0.259212
1,574
64
222
24.59375
0.786449
0.454892
0
0.384615
0
0
0
0
0
0
0
0
0
1
0.384615
false
0.384615
0
0
0.615385
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
18ce6cacd697f493cee2d0089e33f25ff7e276ee
471
py
Python
a_strings.py
emelianovss-yandex-praktikum/18_python_algo
06a0e3736406e5fccd8347d32ac6025abcae965e
[ "MIT" ]
null
null
null
a_strings.py
emelianovss-yandex-praktikum/18_python_algo
06a0e3736406e5fccd8347d32ac6025abcae965e
[ "MIT" ]
null
null
null
a_strings.py
emelianovss-yandex-praktikum/18_python_algo
06a0e3736406e5fccd8347d32ac6025abcae965e
[ "MIT" ]
null
null
null
def solution(string, sub_string): """ Надо найти подстроку в строке в любой последовательности False """ for s in sub_string: string = string.replace(s, "%") print(string) return "%" * len(sub_string) in string """ product """ """ Проверка вхождения, remove """ """ replace """ if...
17.444444
60
0.611465
54
471
5.12963
0.574074
0.097473
0.194946
0.249097
0
0
0
0
0
0
0
0
0.22293
471
26
61
18.115385
0.756831
0.131635
0
0
0
0
0.16
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.444444
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
0
1
0
3
18fd1348992a299fd3ddf1b1fa1ceb4e39f4393c
25
py
Python
aulaspythonintermediario/aula27/pacote1/modulo1.py
lel352/Curso-Python
d65484c807db52d57042eee20ccbd3131825fa98
[ "MIT" ]
1
2021-09-04T14:34:34.000Z
2021-09-04T14:34:34.000Z
aulaspythonintermediario/aula27/pacote1/modulo1.py
lel352/Curso-Python
d65484c807db52d57042eee20ccbd3131825fa98
[ "MIT" ]
null
null
null
aulaspythonintermediario/aula27/pacote1/modulo1.py
lel352/Curso-Python
d65484c807db52d57042eee20ccbd3131825fa98
[ "MIT" ]
null
null
null
variavel1 = 'varaivel1'
8.333333
23
0.72
2
25
9
1
0
0
0
0
0
0
0
0
0
0
0.095238
0.16
25
3
23
8.333333
0.761905
0
0
0
0
0
0.375
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
18fdfa6e06d78f66285b69f74a224b03a02e9183
304
py
Python
tests/test_CHM.py
mgwein/DeepTreeAttention
22bd0beb836a570b556baa82b747f69caded05c7
[ "MIT" ]
1
2022-03-29T05:40:56.000Z
2022-03-29T05:40:56.000Z
tests/test_CHM.py
abandonsea/DeepTreeAttention
2ac8a3c42948d8efe157c8f38c059473067eed08
[ "MIT" ]
null
null
null
tests/test_CHM.py
abandonsea/DeepTreeAttention
2ac8a3c42948d8efe157c8f38c059473067eed08
[ "MIT" ]
1
2022-02-28T19:46:03.000Z
2022-02-28T19:46:03.000Z
#Test CHM height rules import pandas as pd from src import CHM def test_height_rules(): df = pd.DataFrame({"CHM_height":[11,20,5, 0.5, 10, None],"height":[6, 19, 7, 5, None, 10]}) df = CHM.height_rules(df, min_CHM_height=1, max_CHM_diff=4, CHM_height_limit=8) assert df.shape[0] == 3
33.777778
95
0.664474
57
304
3.368421
0.561404
0.234375
0.145833
0
0
0
0
0
0
0
0
0.084337
0.180921
304
9
96
33.777778
0.686747
0.069079
0
0
0
0
0.056537
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7a016bffa44470437270f572a30023f1a24478fe
1,596
py
Python
canella/babel.py
mush42/Canella-CMS
b5132c271a3b8840f0b165c62d14de6853a3e5ac
[ "MIT" ]
8
2017-01-30T22:46:40.000Z
2018-03-30T21:35:28.000Z
canella/babel.py
mush42/Canella-CMS
b5132c271a3b8840f0b165c62d14de6853a3e5ac
[ "MIT" ]
null
null
null
canella/babel.py
mush42/Canella-CMS
b5132c271a3b8840f0b165c62d14de6853a3e5ac
[ "MIT" ]
2
2018-01-16T10:31:27.000Z
2020-10-01T19:49:10.000Z
# Taken from flask-admin, no shame try: from flask_babelex import Domain except ImportError: def gettext(string, **variables): return string % variables def ngettext(singular, plural, num, **variables): variables.setdefault('num', num) return (singular if num == 1 else plural) % va...
30.113208
90
0.656015
175
1,596
5.845714
0.302857
0.058651
0.064516
0.054741
0.140762
0.140762
0.140762
0
0
0
0
0.005877
0.253759
1,596
52
91
30.692308
0.853065
0.100251
0
0.333333
0
0
0.011955
0
0
0
0
0
0
1
0.222222
false
0
0.166667
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
7a01de772a4b1c47eb91e0b599e3464f392adb2f
459
py
Python
process_metrics/metrics/q20_bases.py
tmooney/qc-metric-aggregator
12e81a41fa982c5997b0c7bd146f393d46f0eaab
[ "MIT" ]
1
2020-03-25T15:38:27.000Z
2020-03-25T15:38:27.000Z
process_metrics/metrics/q20_bases.py
genome/qc-metric-aggregator
75ce5cb1aa3fd9021a9547fc17d2ef8760cbc921
[ "MIT" ]
null
null
null
process_metrics/metrics/q20_bases.py
genome/qc-metric-aggregator
75ce5cb1aa3fd9021a9547fc17d2ef8760cbc921
[ "MIT" ]
null
null
null
from .metric import Metric from .tsv_metric import TSVMetric class Q20Bases(Metric[float], TSVMetric): def value(self, metrics_dir: str) -> float: value = self.extract_metric(metrics_dir) return float(value) def name(self) -> str: return 'Q20_BASES' def metric_column_name(self) -...
25.5
61
0.668845
60
459
4.916667
0.45
0.071186
0.132203
0.115254
0
0
0
0
0
0
0
0.011173
0.220044
459
17
62
27
0.812849
0
0
0
0
0
0.111111
0.091503
0
0
0
0
0
1
0.333333
false
0
0.166667
0.25
0.916667
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
7a09e1400a85276d57e84f9235a3e0034369c01b
880
py
Python
1_introduction/w1_python_fundamentals/3_numpy/4_numpy_slicing.py
shijiansu/coursera-applied-data-science-with-python
a0f2bbd0b9201805f26d18b73a25183cf0b3a0e9
[ "MIT" ]
null
null
null
1_introduction/w1_python_fundamentals/3_numpy/4_numpy_slicing.py
shijiansu/coursera-applied-data-science-with-python
a0f2bbd0b9201805f26d18b73a25183cf0b3a0e9
[ "MIT" ]
null
null
null
1_introduction/w1_python_fundamentals/3_numpy/4_numpy_slicing.py
shijiansu/coursera-applied-data-science-with-python
a0f2bbd0b9201805f26d18b73a25183cf0b3a0e9
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- import numpy as np s = np.arange(13) ** 2 print(s) # [ 0 1 4 9 16 25 36 49 64 81 100 121 144] print(s[0], s[4], s[-1]) # (0, 16, 144) print(s[1:5]) # [ 1 4 9 16] print(s[-4:]) # [ 81 100 121 144] print(s[-5::-2]) # [64 36 16 4 0] # multidimensional array print('----------...
23.157895
65
0.451136
195
880
2.035897
0.287179
0.120907
0.060453
0.030227
0.486146
0.433249
0.292191
0.292191
0.292191
0.292191
0
0.399023
0.302273
880
37
66
23.783784
0.247557
0.560227
0
0.111111
0
0
0.110803
0.110803
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0.722222
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
0
0
0
0
0
0
0
1
0
3
7a0f52397a1e7004bfb3021f069c880c98fbe173
41
py
Python
terrascript/data/dyn.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/data/dyn.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/data/dyn.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/data/dyn.py __all__ = []
8.2
25
0.658537
5
41
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.170732
41
4
26
10.25
0.676471
0.560976
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
7a14759430bcd45afffa3bde9dc8e90ac4310c49
678
py
Python
pose_format/tensorflow/representation/distance.py
yairc2223/pose-format
6556433193582f8a7ed80d58d19ec11749e8606b
[ "MIT" ]
11
2020-09-02T02:58:23.000Z
2022-01-20T09:17:26.000Z
pose_format/tensorflow/representation/distance.py
yairc2223/pose-format
6556433193582f8a7ed80d58d19ec11749e8606b
[ "MIT" ]
5
2021-12-10T15:48:59.000Z
2022-02-21T15:53:20.000Z
pose_format/tensorflow/representation/distance.py
yairc2223/pose-format
6556433193582f8a7ed80d58d19ec11749e8606b
[ "MIT" ]
6
2020-09-21T02:21:26.000Z
2022-02-05T17:18:44.000Z
import tensorflow as tf class DistanceRepresentation: def distance(self, p1s: tf.Tensor, p2s: tf.Tensor) -> tf.Tensor: diff = p1s - p2s # (Points, Batch, Len, Dims) square = tf.square(diff) sum_squares = tf.reduce_sum(square, axis=-1) # TODO add .zero_filled() return tf.s...
32.285714
68
0.606195
88
678
4.579545
0.386364
0.17866
0.138958
0.133995
0.352357
0.297767
0.168734
0.168734
0.168734
0
0
0.022222
0.269912
678
20
69
33.9
0.791919
0.334808
0
0
0
0
0
0
0
0
0
0.05
0
1
0.222222
false
0
0.111111
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
1
0
0
1
0
0
0
0
1
0
0
3
7a1d873282edb3ded044a1a651048e5961bb1904
422
py
Python
src/structlog/exceptions.py
rgalanakis/structlog
ef7e026fb2106477d20d06e60bd32b56b0b114a0
[ "Apache-2.0", "MIT" ]
4
2021-11-12T23:50:38.000Z
2022-03-09T03:45:29.000Z
src/structlog/exceptions.py
rgalanakis/structlog
ef7e026fb2106477d20d06e60bd32b56b0b114a0
[ "Apache-2.0", "MIT" ]
1
2017-10-16T11:04:51.000Z
2018-01-04T10:43:12.000Z
src/structlog/exceptions.py
rgalanakis/structlog
ef7e026fb2106477d20d06e60bd32b56b0b114a0
[ "Apache-2.0", "MIT" ]
null
null
null
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the MIT License. See the LICENSE file in the root of this # repository for complete details. """ Exceptions factored out to avoid import loops. """ class DropEvent(BaseException): """ If raised by an processor, the event ...
26.375
75
0.727488
62
422
4.951613
0.806452
0
0
0
0
0
0
0
0
0
0
0.00597
0.206161
422
15
76
28.133333
0.910448
0.827014
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
e156307a46e66323fa77d1212265df704aef53d3
157
py
Python
src/wizcoin/__init__.py
SteveTheSloth/coin
2b42ba8f49f25ea2afad1214011314c82bec64ec
[ "MIT" ]
null
null
null
src/wizcoin/__init__.py
SteveTheSloth/coin
2b42ba8f49f25ea2afad1214011314c82bec64ec
[ "MIT" ]
null
null
null
src/wizcoin/__init__.py
SteveTheSloth/coin
2b42ba8f49f25ea2afad1214011314c82bec64ec
[ "MIT" ]
null
null
null
"""WizCoin By Lucas Voigt lucas.voigt@web.de A Python module to represent the galleaon, sickle, and knut coins of wizard currency""" __version__ = '0.1.0'
22.428571
87
0.745223
26
157
4.346154
0.884615
0.176991
0
0
0
0
0
0
0
0
0
0.022556
0.152866
157
6
88
26.166667
0.827068
0.808917
0
0
0
0
0.208333
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e15aae2a753859f7f7c2ea2498636535a4fc10ea
65
py
Python
trafficsimulation/__init__.py
drewsonne/traffic-simulation
a9e081349a3f70f71172c4ffb2fcd394ffad0b4e
[ "MIT" ]
null
null
null
trafficsimulation/__init__.py
drewsonne/traffic-simulation
a9e081349a3f70f71172c4ffb2fcd394ffad0b4e
[ "MIT" ]
null
null
null
trafficsimulation/__init__.py
drewsonne/traffic-simulation
a9e081349a3f70f71172c4ffb2fcd394ffad0b4e
[ "MIT" ]
null
null
null
__author__ = 'drews' def main(argv): print("Hello World!")
10.833333
25
0.630769
8
65
4.625
1
0
0
0
0
0
0
0
0
0
0
0
0.2
65
5
26
13
0.711538
0
0
0
0
0
0.261538
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e161cadf3b83d8864314bd7bdd72647521583637
202
py
Python
noteman/notes/urls.py
jnthnrzr/noted
7a9a93c829da24dcdc991a90a87dd33357a86508
[ "MIT" ]
null
null
null
noteman/notes/urls.py
jnthnrzr/noted
7a9a93c829da24dcdc991a90a87dd33357a86508
[ "MIT" ]
null
null
null
noteman/notes/urls.py
jnthnrzr/noted
7a9a93c829da24dcdc991a90a87dd33357a86508
[ "MIT" ]
null
null
null
from rest_framework import routers from .views import NoteViewSet router = routers.DefaultRouter() router.register(prefix='api/notes', viewset=NoteViewSet, basename='notes') urlpatterns = router.urls
25.25
74
0.806931
24
202
6.75
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.094059
202
7
75
28.857143
0.885246
0
0
0
0
0
0.069307
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
e176eca900f31dd00dff49e2db163025d9fc442c
165
py
Python
szkopul/koszykarz.py
virgohi21/school-3
147c01f29bbc62942491e2a7886a4d5d8fb848a3
[ "BSD-2-Clause" ]
null
null
null
szkopul/koszykarz.py
virgohi21/school-3
147c01f29bbc62942491e2a7886a4d5d8fb848a3
[ "BSD-2-Clause" ]
null
null
null
szkopul/koszykarz.py
virgohi21/school-3
147c01f29bbc62942491e2a7886a4d5d8fb848a3
[ "BSD-2-Clause" ]
null
null
null
# wszystkie dane dane = input('') k, w, m = dane.split() wynik = (int(w)-int(k))/int(m) if wynik == int(wynik): print(int(wynik)) else: print(int(wynik)+1)
16.5
30
0.587879
28
165
3.464286
0.464286
0.247423
0.268041
0
0
0
0
0
0
0
0
0.007407
0.181818
165
10
31
16.5
0.711111
0.084848
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e17df8126a46bc1bddc641d35ae14a29a1e88304
354
py
Python
mall_spider/dao/stream_risk_dao.py
524243642/taobao_spider
9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e
[ "Unlicense" ]
12
2019-06-06T12:23:08.000Z
2021-06-15T17:50:07.000Z
mall_spider/dao/stream_risk_dao.py
524243642/mall_spider
9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e
[ "Unlicense" ]
3
2021-03-31T19:02:47.000Z
2022-02-11T03:43:15.000Z
mall_spider/dao/stream_risk_dao.py
524243642/taobao_spider
9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e
[ "Unlicense" ]
5
2019-09-17T03:55:56.000Z
2020-12-18T03:34:03.000Z
# coding: utf-8 from mall_spider.dao.abstract_dao import AbstractDao from mall_spider.model.cmm_sys_stream_risk import CmmSysStreamRisk class StreamRiskDao(AbstractDao): def __init__(self, session): super(StreamRiskDao, self).__init__(CmmSysStreamRisk, session) def get_stream_risk_dao(session): retu...
27.230769
70
0.80226
44
354
6.068182
0.568182
0.059925
0.104869
0
0
0
0
0
0
0
0
0.003215
0.121469
354
12
71
29.5
0.855305
0.036723
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e1815e95019d8886104f64fad45e8f7862a957d5
189
py
Python
data_collection/gazette/spiders/ba_tucano.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
454
2018-04-07T03:32:57.000Z
2020-08-17T19:56:22.000Z
data_collection/gazette/spiders/ba_tucano.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
254
2020-08-18T14:09:43.000Z
2022-03-28T11:30:51.000Z
data_collection/gazette/spiders/ba_tucano.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
183
2018-04-11T15:09:37.000Z
2020-08-15T18:55:11.000Z
from gazette.spiders.base.doem import DoemGazetteSpider class BaTucanoSpider(DoemGazetteSpider): TERRITORY_ID = "2931905" name = "ba_tucano" state_city_url_part = "ba/tucano"
23.625
55
0.761905
22
189
6.318182
0.863636
0.115108
0
0
0
0
0
0
0
0
0
0.04375
0.153439
189
7
56
27
0.825
0
0
0
0
0
0.132275
0
0
0
0
0
0
1
0
false
0
0.2
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
e18a96861bc4e86d32c0e9baf9726f1d1386802e
4,793
py
Python
k8s_notification/settings.py
soumyarout80/k8s-failure-detector
12df6d69a77a4296e4704a91f843b8d13eadb34c
[ "MIT" ]
null
null
null
k8s_notification/settings.py
soumyarout80/k8s-failure-detector
12df6d69a77a4296e4704a91f843b8d13eadb34c
[ "MIT" ]
null
null
null
k8s_notification/settings.py
soumyarout80/k8s-failure-detector
12df6d69a77a4296e4704a91f843b8d13eadb34c
[ "MIT" ]
null
null
null
""" Django settings for admin project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import os from ...
28.02924
91
0.692051
547
4,793
5.877514
0.418647
0.060653
0.0479
0.054432
0.131571
0.131571
0.083048
0.083048
0.037325
0
0
0.01769
0.174421
4,793
170
92
28.194118
0.794794
0.276653
0
0
1
0
0.510496
0.404665
0
0
0
0
0
1
0
false
0.066667
0.028571
0
0.028571
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e18aeebb4cef28d39e172159b13a720a978df232
1,344
py
Python
src/solved/problem60.py
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
src/solved/problem60.py
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
src/solved/problem60.py
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
import pyprimes import copy import pdb UB = 1500 def concat_still_prime(p1, p2): return (pyprimes.isprime(int(str(p1) + str(p2))) and pyprimes.isprime(int(str(p2) + str(p1)))) def valid(ps): for i in xrange(len(ps)): for j in xrange(i, len(ps)): if ps[i] == ps[j]: continue if not concat_still_prime...
22.032787
60
0.664435
217
1,344
3.843318
0.253456
0.2506
0.201439
0.119904
0.278177
0.1247
0.067146
0
0
0
0
0.016043
0.165179
1,344
61
61
22.032787
0.727273
0.029018
0
0.113636
0
0
0.01398
0
0
0
0
0
0
0
null
null
0
0.068182
null
null
0.068182
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
1
0
0
0
0
0
0
0
0
3
e19cd5db656b42a45e7b83a1795e452d7ea17531
383
py
Python
C32/methodreplacement.py
jpch89/learningpython
47e78041e519ecd2e00de1b32f6416b56ce2616c
[ "MIT" ]
2
2020-10-20T10:18:48.000Z
2020-12-02T09:41:18.000Z
C32/methodreplacement.py
jpch89/learningpython
47e78041e519ecd2e00de1b32f6416b56ce2616c
[ "MIT" ]
null
null
null
C32/methodreplacement.py
jpch89/learningpython
47e78041e519ecd2e00de1b32f6416b56ce2616c
[ "MIT" ]
1
2020-12-02T10:03:29.000Z
2020-12-02T10:03:29.000Z
class A: def method(self): print('A.method') super().method() class B(A): def method(self): print('B.method') super().method() class C: def method(self): print('C.method') class D(B, C): def method(self): print('D.method') super().method() ...
11.96875
25
0.51436
53
383
3.716981
0.207547
0.182741
0.263959
0.365482
0.385787
0
0
0
0
0
0
0
0.29765
383
31
26
12.354839
0.732342
0
0
0.411765
0
0
0.094118
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.470588
0.235294
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
e1ca49ba36a5d37df8115ed401f2be980b5afbaf
1,548
py
Python
tests/agents_tests/test_dqn.py
atiroms/chainerrl
02c15c55e7994e69468270fcddf0c08837806d64
[ "MIT" ]
4
2019-05-05T21:37:09.000Z
2020-06-04T11:40:51.000Z
tests/agents_tests/test_dqn.py
atiroms/chainerrl
02c15c55e7994e69468270fcddf0c08837806d64
[ "MIT" ]
1
2018-05-29T06:38:22.000Z
2018-05-29T06:38:22.000Z
tests/agents_tests/test_dqn.py
atiroms/chainerrl
02c15c55e7994e69468270fcddf0c08837806d64
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import from future import standard_library from builtins import * # NOQA standard_library.install_aliases() import basetest_dqn_like as base import chainerrl from chainerrl.age...
36.857143
76
0.736434
201
1,548
5.368159
0.263682
0.037071
0.059314
0.055607
0.562558
0.562558
0.562558
0.562558
0.562558
0.562558
0
0.025276
0.182171
1,548
41
77
37.756098
0.827014
0.002584
0
0.392857
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.321429
0.107143
0.75
0.035714
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
bed3f755e9b0d5e18b5e7a966503c497be3f269c
282
py
Python
schnittstelle/runnable.py
mHaisham/schnittstelle
f03879bd5196e12a38dfd9fd6b0c3e336221dbb7
[ "Apache-2.0" ]
null
null
null
schnittstelle/runnable.py
mHaisham/schnittstelle
f03879bd5196e12a38dfd9fd6b0c3e336221dbb7
[ "Apache-2.0" ]
null
null
null
schnittstelle/runnable.py
mHaisham/schnittstelle
f03879bd5196e12a38dfd9fd6b0c3e336221dbb7
[ "Apache-2.0" ]
null
null
null
import collections class Runnable: def __init__(self, func): if not isinstance(func, collections.Callable): raise TypeError('func must be a callable') self.func = func def run(self, *args, **kwargs): return self.func(*args, **kwargs)
21.692308
54
0.624113
34
282
5.058824
0.617647
0.139535
0
0
0
0
0
0
0
0
0
0
0.265957
282
13
55
21.692308
0.830918
0
0
0
0
0
0.081272
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
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
bee207e33d9b9e7763ef0a967cf9607020471cdd
360
py
Python
bin/example_simplest.py
erisve/Phon
0c8a380aab2e3bc399aaaeefa525f78be85f76fd
[ "MIT" ]
null
null
null
bin/example_simplest.py
erisve/Phon
0c8a380aab2e3bc399aaaeefa525f78be85f76fd
[ "MIT" ]
null
null
null
bin/example_simplest.py
erisve/Phon
0c8a380aab2e3bc399aaaeefa525f78be85f76fd
[ "MIT" ]
null
null
null
from phon.io.read.read_from_neper_inp import read_from_neper_inp from phon.io.write.export_to_abaqus import export_to_abaqus from phon.mesh_tools.create_cohesive_elements import create_cohesive_elements inputfile = "../test/n10-id1.inp" mesh = read_from_neper_inp(inputfile, verbose=0) create_cohesive_elements(mesh) ex...
40
77
0.85
60
360
4.716667
0.383333
0.084806
0.137809
0.169611
0
0
0
0
0
0
0
0.020772
0.063889
360
8
78
45
0.818991
0
0
0
0
0
0.094444
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
830e73fc9996cd5e8c54608c36c12bd032867d3c
54
py
Python
upload1/practice.py
hoooll0826/testkkh
d94ec8be1e956bdff1a74ff509243052054337af
[ "MIT" ]
null
null
null
upload1/practice.py
hoooll0826/testkkh
d94ec8be1e956bdff1a74ff509243052054337af
[ "MIT" ]
null
null
null
upload1/practice.py
hoooll0826/testkkh
d94ec8be1e956bdff1a74ff509243052054337af
[ "MIT" ]
null
null
null
i=0 while i<2: if i<2: print(i) i=i+1
9
16
0.407407
13
54
1.692308
0.538462
0.181818
0
0
0
0
0
0
0
0
0
0.129032
0.425926
54
5
17
10.8
0.580645
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
830f775a3cd2223b7de8c8ccd9cafdcaad166022
238
py
Python
src/lambdainit.py
directvox/amazon-comprehend-s3-object-lambda-functions
d37394f6fc9c11f8a5ef14a4e336ed62598ab9da
[ "MIT-0" ]
13
2021-03-27T08:20:34.000Z
2021-12-18T00:14:48.000Z
src/lambdainit.py
directvox/amazon-comprehend-s3-object-lambda-functions
d37394f6fc9c11f8a5ef14a4e336ed62598ab9da
[ "MIT-0" ]
null
null
null
src/lambdainit.py
directvox/amazon-comprehend-s3-object-lambda-functions
d37394f6fc9c11f8a5ef14a4e336ed62598ab9da
[ "MIT-0" ]
5
2021-05-19T10:27:58.000Z
2022-01-18T04:06:12.000Z
""" Special initializations for Lambda functions. This file must be imported as the first import in any file containing a Lambda function handler method. """ import sys # add packaged dependencies to search path sys.path.append('lib')
21.636364
103
0.777311
35
238
5.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.159664
238
10
104
23.8
0.925
0.806723
0
0
0
0
0.078947
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
831b00de91464ce13ef4625be3294bdb06a9f3b6
249
py
Python
Algo and DSA/LeetCode-Solutions-master/Python/richest-customer-wealth.py
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
Algo and DSA/LeetCode-Solutions-master/Python/richest-customer-wealth.py
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
Algo and DSA/LeetCode-Solutions-master/Python/richest-customer-wealth.py
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
# Time: O(m * n) # Space: O(1) import itertools class Solution(object): def maximumWealth(self, accounts): """ :type accounts: List[List[int]] :rtype: int """ return max(itertools.imap(sum, accounts))
17.785714
49
0.562249
29
249
4.827586
0.793103
0
0
0
0
0
0
0
0
0
0
0.005682
0.293173
249
13
50
19.153846
0.789773
0.289157
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
8320744ef8d169c0988b601b4d2ff19112f746a5
7,684
py
Python
keras_facenet/metadata.py
faustomorales/keras-facenet
e702de7744b064a6cc547484051d7243c80bcfdc
[ "MIT" ]
33
2019-09-04T10:34:19.000Z
2022-03-31T05:11:14.000Z
keras_facenet/metadata.py
faustomorales/keras-facenet
e702de7744b064a6cc547484051d7243c80bcfdc
[ "MIT" ]
6
2019-10-25T11:46:10.000Z
2021-07-19T22:08:29.000Z
keras_facenet/metadata.py
faustomorales/keras-facenet
e702de7744b064a6cc547484051d7243c80bcfdc
[ "MIT" ]
9
2019-06-08T14:07:46.000Z
2022-03-27T13:33:12.000Z
# flake8: noqa MODEL_METADATA = { '20180402-114759': { 'zip_url': 'https://github.com/faustomorales/keras-facenet/releases/download/v0.3.1/20180402-114759.zip', 'zip_local_name': '20180402-114759.zip', 'zip_sha256': '669f37d3954b72b53121ff0638ca5bb8b14309bfe4767fe6bd851eee75f1f0de', ...
52.272109
130
0.642113
588
7,684
8.246599
0.158163
0.037534
0.034646
0.042071
0.383378
0.312229
0.245411
0.245411
0.245411
0.245411
0
0.352623
0.230869
7,684
147
131
52.272109
0.467851
0.001562
0
0.273973
0
0.082192
0.672403
0.348325
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8322755d21552b13af435d1243915b2d3da29ad8
641
py
Python
movescount/models.py
Kub-AT/suunto-movescount-exporter
9777caf8bf0c41f84b7cf80ad4771bd53eee5d5f
[ "MIT" ]
1
2017-12-09T19:58:16.000Z
2017-12-09T19:58:16.000Z
movescount/models.py
Kub-AT/suunto-movescount-exporter
9777caf8bf0c41f84b7cf80ad4771bd53eee5d5f
[ "MIT" ]
null
null
null
movescount/models.py
Kub-AT/suunto-movescount-exporter
9777caf8bf0c41f84b7cf80ad4771bd53eee5d5f
[ "MIT" ]
null
null
null
import arrow class MoveActivity: fields = ['move_id', 'duration', 'distance', 'calories', 'description', 'time_i_s_o_8601'] def __init__(self, activity_dict: dict) -> None: for key in self.fields: upper_case_key = key.title().replace("_", "") setattr(self, key, activity_dict.g...
29.136364
98
0.625585
87
641
4.321839
0.425287
0.031915
0.031915
0.037234
0.058511
0
0
0
0
0
0
0.016129
0.226209
641
21
99
30.52381
0.741935
0
0
0.133333
0
0.066667
0.215289
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.2
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
832b316c0d97186c6e796b64980349ad12793a52
91
py
Python
intro/part03-01_print_numbers/src/print_numbers.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part03-01_print_numbers/src/print_numbers.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part03-01_print_numbers/src/print_numbers.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
# Write your solution here number = 2 while number <= 30: print(number) number += 2
18.2
26
0.648352
13
91
4.538462
0.692308
0.237288
0
0
0
0
0
0
0
0
0
0.058824
0.252747
91
5
27
18.2
0.808824
0.263736
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
833435cb4c654afd86a4d0e8aaedcf5c705e2cb8
1,016
py
Python
aiida/orm/implementation/general/calculation/function.py
tomzhang/aiida_core
949810e9f3daff0f748c5c9aa1dde4f5222bb49b
[ "BSD-2-Clause" ]
1
2019-04-29T12:39:31.000Z
2019-04-29T12:39:31.000Z
aiida/orm/implementation/general/calculation/function.py
tomzhang/aiida_core
949810e9f3daff0f748c5c9aa1dde4f5222bb49b
[ "BSD-2-Clause" ]
null
null
null
aiida/orm/implementation/general/calculation/function.py
tomzhang/aiida_core
949810e9f3daff0f748c5c9aa1dde4f5222bb49b
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### # Copyright (c), The AiiDA team. All rights reserved. # # This file is part of the AiiDA code. # # ...
50.8
84
0.536417
95
1,016
5.673684
0.652632
0.029685
0.077922
0
0
0
0
0
0
0
0
0.001321
0.254921
1,016
20
85
50.8
0.7107
0.573819
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
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
83492800627a7a9ede3335d5954acb8fdb09f30e
106
py
Python
webhook/urls.py
Joe-Sin7h/WebhookListener
369acfab4318bd3491e60818d33353cb2603e2e2
[ "MIT" ]
null
null
null
webhook/urls.py
Joe-Sin7h/WebhookListener
369acfab4318bd3491e60818d33353cb2603e2e2
[ "MIT" ]
null
null
null
webhook/urls.py
Joe-Sin7h/WebhookListener
369acfab4318bd3491e60818d33353cb2603e2e2
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path("call/",views.call), ]
15.142857
33
0.632075
13
106
5.153846
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.245283
106
6
34
17.666667
0.8375
0
0
0
0
0
0.047619
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
8368d2420efc10f9431582a1879797fb8a5af744
1,398
py
Python
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/people/models.py
heymonkeyriot/pre-beginner-wagtail
e81bc4148513e23e7c8d6955db0449ca7245fd50
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/people/models.py
heymonkeyriot/pre-beginner-wagtail
e81bc4148513e23e7c8d6955db0449ca7245fd50
[ "BSD-3-Clause" ]
10
2020-02-11T23:41:49.000Z
2022-03-11T23:16:45.000Z
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/people/models.py
heymonkeyriot/pre-beginner-wagtail
e81bc4148513e23e7c8d6955db0449ca7245fd50
[ "BSD-3-Clause" ]
null
null
null
from __future__ import unicode_literals from django.db import models from modelcluster.models import ClusterableModel # from modelcluster.fields import ParentalKey from wagtail.wagtailcore.models import Page, Orderable # from wagtail.wagtailsearch import index # from wagtail.wagtailimages.edit_handlers import ImageC...
23.3
71
0.740343
149
1,398
6.85906
0.496644
0.075342
0.052838
0.043053
0.058708
0.058708
0.058708
0
0
0
0
0.000878
0.185265
1,398
59
72
23.694915
0.8964
0.520029
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.277778
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
55c93714c9602d9c67b6d64f5be9fc29b4e95755
1,463
py
Python
bentoml/_internal/frameworks/common/model_runner.py
SID262000/BentoML
0708a6495e4d1f0ddf639026be768abf2d55410a
[ "Apache-2.0" ]
null
null
null
bentoml/_internal/frameworks/common/model_runner.py
SID262000/BentoML
0708a6495e4d1f0ddf639026be768abf2d55410a
[ "Apache-2.0" ]
null
null
null
bentoml/_internal/frameworks/common/model_runner.py
SID262000/BentoML
0708a6495e4d1f0ddf639026be768abf2d55410a
[ "Apache-2.0" ]
null
null
null
import typing as t from typing import TYPE_CHECKING from simple_di import inject from simple_di import Provide from bentoml import Runner from bentoml import SimpleRunner from ...types import Tag from ...configuration.containers import BentoMLContainer if TYPE_CHECKING: from ....models import ModelStore class...
21.835821
74
0.639098
173
1,463
5.150289
0.254335
0.078563
0.058361
0.040404
0.646465
0.646465
0.646465
0.646465
0.646465
0.646465
0
0
0.261107
1,463
66
75
22.166667
0.824237
0
0
0.769231
0
0
0.013671
0
0
0
0
0
0
1
0.153846
false
0
0.173077
0.115385
0.480769
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
55d7b8e6cc085f4e61053a077a1bebc9de4e2cc3
292
py
Python
featuretools_primitives/__init__.py
BohdanBilonoh/featuretools_primitives
49f00ec17ec569924625e45aad98e86e151fd43c
[ "Apache-2.0" ]
null
null
null
featuretools_primitives/__init__.py
BohdanBilonoh/featuretools_primitives
49f00ec17ec569924625e45aad98e86e151fd43c
[ "Apache-2.0" ]
null
null
null
featuretools_primitives/__init__.py
BohdanBilonoh/featuretools_primitives
49f00ec17ec569924625e45aad98e86e151fd43c
[ "Apache-2.0" ]
null
null
null
__version__ = '0.0.1' import pkg_resources from .avg_time_between_false import AvgTimeBetweenFalse from .avg_time_between_true import AvgTimeBetweenTrue from .num_false import NumFalse from .time_since_last_false import TimeSinceLastFalse from .time_since_last_true import TimeSinceLastTrue
32.444444
55
0.876712
40
292
5.95
0.5
0.138655
0.092437
0.151261
0
0
0
0
0
0
0
0.011278
0.089041
292
8
56
36.5
0.883459
0
0
0
0
0
0.017123
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
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
55dbf3dddd4d31300086484dae2b634b669f901e
371
py
Python
src/CustomLayers/__init__.py
ngunnar/learning-a-deformable-registration-pyramid
1d8ba6110eaa32ed7c27ace099a605f7b4c46051
[ "MIT" ]
3
2021-08-17T15:33:06.000Z
2021-11-15T08:57:09.000Z
src/CustomLayers/__init__.py
ngunnar/learning-a-deformable-registration-pyramid
1d8ba6110eaa32ed7c27ace099a605f7b4c46051
[ "MIT" ]
1
2021-08-17T15:55:42.000Z
2021-08-20T15:51:51.000Z
src/CustomLayers/__init__.py
ngunnar/learning-a-deformable-registration-pyramid
1d8ba6110eaa32ed7c27ace099a605f7b4c46051
[ "MIT" ]
null
null
null
# __init__.py from .PyramidLayer import Pyramid from .WarpLayer import Warp from .OpticalFlowEstimatorLayer import OpticalFlowEstimator from .CostVolumeLayer import CostVolume from .UpsamplingLayer import Upsampling from .ContextLayer import Context from .ResizeLayer import Resize from .AffineLayer import Affine from ....
37.1
59
0.87062
38
371
8.394737
0.578947
0
0
0
0
0
0
0
0
0
0
0
0.09973
371
10
60
37.1
0.95509
0.02965
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
3633eccc8d522091450ca035566a090bf5613b04
1,019
py
Python
shopit/forms/categorization.py
dinoperovic/djangoshop-shopit
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
14
2016-11-25T16:06:20.000Z
2018-08-30T19:20:41.000Z
shopit/forms/categorization.py
dinoperovic/django-shop
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
3
2018-11-30T10:47:39.000Z
2019-10-21T10:21:24.000Z
shopit/forms/categorization.py
dinoperovic/django-shop
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
6
2019-04-07T23:52:54.000Z
2020-09-20T05:30:07.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.utils.module_loading import import_string from mptt.forms import MPTTAdminForm from parler.forms import TranslatableModelForm from shopit.conf import app_settings from shopit.models.categorization import Brand, Category, Manu...
28.305556
70
0.730128
99
1,019
7.393939
0.484848
0.061475
0.159836
0.17623
0.306011
0
0
0
0
0
0
0.001214
0.191364
1,019
35
71
29.114286
0.887136
0.037291
0
0.36
0
0
0.033742
0
0
0
0
0
0
1
0
false
0
0.36
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3634a29c18d46b1299398a89a8402c5a99076b02
88
py
Python
src/clickhouse_migrations/exceptions.py
zifter/clickhouse-migrations
b78838e14ec8fc482f53ff72bd760f04bbd141df
[ "MIT" ]
null
null
null
src/clickhouse_migrations/exceptions.py
zifter/clickhouse-migrations
b78838e14ec8fc482f53ff72bd760f04bbd141df
[ "MIT" ]
null
null
null
src/clickhouse_migrations/exceptions.py
zifter/clickhouse-migrations
b78838e14ec8fc482f53ff72bd760f04bbd141df
[ "MIT" ]
null
null
null
class MigrationException(Exception): pass __all__ = [ "MigrationException", ]
11
36
0.693182
6
88
9.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.204545
88
7
37
12.571429
0.814286
0
0
0
0
0
0.204545
0
0
0
0
0
0
1
0
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
363df37e2ea49a57f9f6794a9b18318aaf157e8d
214
py
Python
tests/basics/lambda_defargs.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
7
2019-10-18T13:41:39.000Z
2022-03-15T17:27:57.000Z
tests/basics/lambda_defargs.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
null
null
null
tests/basics/lambda_defargs.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
2
2020-06-23T09:10:15.000Z
2020-12-22T06:42:14.000Z
# test default args with lambda f = lambda x=1: x print(f(), f(2), f(x=3)) y = 'y' f = lambda x=y: x print(f()) f = lambda x, y=[]: (x, y) f(0)[1].append(1) print(f(1), f(x=2), f(3, 4), f(4, y=5)) print("PASS")
15.285714
39
0.518692
52
214
2.134615
0.326923
0.189189
0.216216
0.144144
0.18018
0
0
0
0
0
0
0.069364
0.191589
214
14
40
15.285714
0.572254
0.135514
0
0
0
0
0.027174
0
0
0
0
0
0
1
0
false
0.111111
0
0
0
0.444444
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
1
0
0
0
1
0
3
36584a3bc1340ee43daf054abb27b6297fab811c
214
py
Python
api/api/db.py
solomonkinard/vanguard-api
4d24b7bf72cd9935272072532127bef3166a0340
[ "MIT" ]
null
null
null
api/api/db.py
solomonkinard/vanguard-api
4d24b7bf72cd9935272072532127bef3166a0340
[ "MIT" ]
null
null
null
api/api/db.py
solomonkinard/vanguard-api
4d24b7bf72cd9935272072532127bef3166a0340
[ "MIT" ]
null
null
null
import os from pymongo import MongoClient MONGO_URL = os.environ.get("MONGO_URL") if MONGO_URL is None: raise EnvironmentError("Please provide a MONGO_URL") CLIENT = MongoClient(MONGO_URL) DB = CLIENT.vanguard
21.4
54
0.78972
32
214
5.125
0.625
0.243902
0.231707
0
0
0
0
0
0
0
0
0
0.130841
214
9
55
23.777778
0.88172
0
0
0
0
0
0.163551
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
365ed40fdbf0c380a7893107e55d11cccc020fa7
524
py
Python
Numpy.py
justinerafa/astr-119-sess-4
4918fd91170515f4976c620cc8057bbf1651af29
[ "MIT" ]
null
null
null
Numpy.py
justinerafa/astr-119-sess-4
4918fd91170515f4976c620cc8057bbf1651af29
[ "MIT" ]
null
null
null
Numpy.py
justinerafa/astr-119-sess-4
4918fd91170515f4976c620cc8057bbf1651af29
[ "MIT" ]
null
null
null
import numpy as np x = 1.0 #define a float y = 2.0 #define another float #trigonometry print(np.sin(x)) #sin(x) print(np.cs(x)) #cos(x) print(np.tan(x)) #tan(x) print(np.arcsin(x)) #arcsin(x) print(np.arccos(x)) #arccos(x) print(np.arctan(x)) #arctan(x) print(np.rad2deg(x)) #convert rad to deg #hyp...
24.952381
40
0.646947
99
524
3.424242
0.353535
0.268437
0.259587
0
0
0
0
0
0
0
0
0.011136
0.14313
524
21
41
24.952381
0.743875
0.351145
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.8125
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
36647433c6cdab25eb4d36e1b1e95cac9868a86c
444
py
Python
utils/videocaptionmlm_eval.py
BUAAw-ML/KE-OPT
d957798ccd62b8e98ab2bbed9562c50bd5f772f9
[ "MIT" ]
null
null
null
utils/videocaptionmlm_eval.py
BUAAw-ML/KE-OPT
d957798ccd62b8e98ab2bbed9562c50bd5f772f9
[ "MIT" ]
null
null
null
utils/videocaptionmlm_eval.py
BUAAw-ML/KE-OPT
d957798ccd62b8e98ab2bbed9562c50bd5f772f9
[ "MIT" ]
null
null
null
""" Copyright (c) Microsoft Corporation. Licensed under the MIT license. video Text Retrieval evaluation helper """ from time import time import torch from horovod import torch as hvd from tqdm import tqdm from .logger import LOGGER from .misc import NoOp from .distributed import all_gather_list import ipdb import o...
17.076923
56
0.804054
62
444
5.725806
0.612903
0.056338
0
0
0
0
0
0
0
0
0
0
0.153153
444
25
57
17.76
0.944149
0.472973
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
36a0bfe05ab8d0a240519666b1647abf529897bf
2,435
py
Python
tests/preprocessor/links/test_transform.py
lisongmin/mkdocs-pdf-export-plugin
cc83ab4a91d6ac90584e43bb38ef315928cb603e
[ "MIT" ]
null
null
null
tests/preprocessor/links/test_transform.py
lisongmin/mkdocs-pdf-export-plugin
cc83ab4a91d6ac90584e43bb38ef315928cb603e
[ "MIT" ]
null
null
null
tests/preprocessor/links/test_transform.py
lisongmin/mkdocs-pdf-export-plugin
cc83ab4a91d6ac90584e43bb38ef315928cb603e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 from mkdocs_pdf_export_plugin.preprocessor.links.transform \ import transform_href, transform_id def test_transform_href(): assert transform_href("#a/b/:test", "a/b/") == "#a/b/:test" # 1. href do not contain directory # 1.1 rel_url is directory assert transf...
39.274194
78
0.560164
376
2,435
3.523936
0.151596
0.08
0.315472
0.05434
0.609057
0.49283
0.386415
0.328302
0.309434
0.309434
0
0.006633
0.195072
2,435
61
79
39.918033
0.669388
0.160986
0
0
0
0
0.3391
0.055858
0
0
0
0
0.757576
1
0.060606
true
0
0.030303
0
0.090909
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
36adfb5d1e21be5cbd75e7b79ac5197863353e97
353
py
Python
src/middle_schema/utils.py
vltr/middle-schema
8913ea7c5b0952265db7e8b0a78489fa3bc96fad
[ "MIT" ]
2
2018-09-01T08:45:21.000Z
2019-02-06T15:35:22.000Z
src/middle_schema/utils.py
vltr/middle-schema
8913ea7c5b0952265db7e8b0a78489fa3bc96fad
[ "MIT" ]
2
2018-07-27T20:33:15.000Z
2018-09-07T15:43:16.000Z
src/middle_schema/utils.py
vltr/middle-schema
8913ea7c5b0952265db7e8b0a78489fa3bc96fad
[ "MIT" ]
null
null
null
import inspect import middle def snake_to_camel_case(snake_str): # from https://stackoverflow.com/a/42450252 first, *others = snake_str.split("_") return "".join([first.lower(), *map(str.title, others)]) def is_model(model_or_field): return inspect.isclass(model_or_field) and issubclass( mo...
22.0625
60
0.708215
49
353
4.836735
0.612245
0.088608
0.151899
0
0
0
0
0
0
0
0
0.027211
0.167139
353
15
61
23.533333
0.778912
0.116147
0
0
0
0
0.003226
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
36c1d11e4d273cc40d061a7eb645391c08e92839
320
py
Python
apitest.py
codingforhelp/fbserv
b09cc2ce20eaa3714e80d23e0f5741f144d2eed2
[ "MIT" ]
5
2019-01-31T08:09:53.000Z
2020-04-13T22:48:25.000Z
apitest.py
codingforhelp/fbserv
b09cc2ce20eaa3714e80d23e0f5741f144d2eed2
[ "MIT" ]
2
2021-04-30T21:04:37.000Z
2021-06-01T23:42:18.000Z
apitest.py
codingforhelp/fbserv
b09cc2ce20eaa3714e80d23e0f5741f144d2eed2
[ "MIT" ]
3
2019-08-04T07:51:58.000Z
2022-02-25T13:39:30.000Z
from utils.misc import geturljson, geturlndjson, write_json_to_file print("writing profile") write_json_to_file("lichessprofile.txt",geturljson("https://lichess.org/api/user/lishadowapps")) print("writing game") write_json_to_file("lichessgame.txt",geturlndjson("https://lichess.org/api/games/user/lishadowapps?max=1"))
53.333333
107
0.8125
45
320
5.577778
0.577778
0.10757
0.131474
0.179283
0
0
0
0
0
0
0
0.003247
0.0375
320
6
107
53.333333
0.811688
0
0
0
0
0
0.479751
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.4
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
1
0
0
0
0
0
0
3
36c4ec558ffb8885524de66e1f452699b98a666b
827
py
Python
qalib/qatest/nose_bridge.py
Datera/datera-automation-toolkit
6fb2ca9d7e85826b300d3d7780c30cb09da433c7
[ "Apache-2.0" ]
null
null
null
qalib/qatest/nose_bridge.py
Datera/datera-automation-toolkit
6fb2ca9d7e85826b300d3d7780c30cb09da433c7
[ "Apache-2.0" ]
1
2021-06-02T01:01:47.000Z
2021-06-02T01:01:47.000Z
qalib/qatest/nose_bridge.py
Datera/datera-automation-toolkit
6fb2ca9d7e85826b300d3d7780c30cb09da433c7
[ "Apache-2.0" ]
2
2020-02-06T23:24:45.000Z
2021-03-25T19:53:53.000Z
# -*- coding: utf-8 -*- from __future__ import (unicode_literals, print_function, division, absolute_import) """ Bridge between this package and the nose package """ __copyright__ = "Copyright 2020, Datera, Inc." def _prepare_sys_path(): """ Raises ImportError on failure. Tries t...
23.628571
72
0.680774
108
827
4.962963
0.555556
0.065299
0.052239
0
0
0
0
0
0
0
0
0.009464
0.233374
827
34
73
24.323529
0.835962
0.212817
0
0.157895
0
0
0.068301
0
0
0
0
0
0
1
0.052632
false
0.052632
0.526316
0
0.631579
0.052632
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
36e284c4a29b97b7309e0240ca80eb76acb7c2b8
15,876
py
Python
tf_agents/replay_buffers/tf_uniform_replay_buffer_test.py
Bhaney44/agents
e5fd5b19ba86fbc5980c9f8e173ce959f8b7bb45
[ "Apache-2.0" ]
4
2020-06-25T00:47:40.000Z
2021-07-07T15:07:59.000Z
tf_agents/replay_buffers/tf_uniform_replay_buffer_test.py
Bhaney44/agents
e5fd5b19ba86fbc5980c9f8e173ce959f8b7bb45
[ "Apache-2.0" ]
null
null
null
tf_agents/replay_buffers/tf_uniform_replay_buffer_test.py
Bhaney44/agents
e5fd5b19ba86fbc5980c9f8e173ce959f8b7bb45
[ "Apache-2.0" ]
1
2020-08-18T13:32:15.000Z
2020-08-18T13:32:15.000Z
# coding=utf-8 # Copyright 2018 The TF-Agents Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
36.164009
81
0.690098
2,030
15,876
5.124138
0.128079
0.088829
0.027399
0.032301
0.755143
0.737166
0.713132
0.682946
0.640646
0.610363
0
0.018995
0.194192
15,876
438
82
36.246575
0.794106
0.047367
0
0.640351
0
0
0.028407
0.001391
0
0
0
0.002283
0.084795
1
0.087719
false
0
0.02924
0.005848
0.134503
0.002924
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
36e33e41d39f41450cfaf18ac3b92c6a7c2a5d62
102
py
Python
log/settings.py
jacebrowning/minilog
fbe30aaac1c1c540dff11059445c76f414ef49d5
[ "MIT" ]
16
2018-03-02T20:33:16.000Z
2021-03-23T18:39:53.000Z
log/settings.py
jacebrowning/minilog
fbe30aaac1c1c540dff11059445c76f414ef49d5
[ "MIT" ]
8
2018-03-03T01:10:13.000Z
2022-03-07T22:46:51.000Z
log/settings.py
jacebrowning/minilog
fbe30aaac1c1c540dff11059445c76f414ef49d5
[ "MIT" ]
5
2019-01-18T09:40:04.000Z
2021-06-03T21:16:17.000Z
import logging DEFAULT_LEVEL = logging.INFO DEFAULT_FORMAT = "%(levelname)s: %(name)s: %(message)s"
17
55
0.72549
14
102
5.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.117647
102
5
56
20.4
0.8
0
0
0
0
0
0.352941
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
7fd5b8831af43aabdcebc55e3579fe0ebd5db1a2
190
py
Python
CSC_for01.py
saaracastro/ciencia-social-computacional
b6dae2d63ba9c744a6358ed0c5b6f2dea4ad4869
[ "MIT" ]
null
null
null
CSC_for01.py
saaracastro/ciencia-social-computacional
b6dae2d63ba9c744a6358ed0c5b6f2dea4ad4869
[ "MIT" ]
null
null
null
CSC_for01.py
saaracastro/ciencia-social-computacional
b6dae2d63ba9c744a6358ed0c5b6f2dea4ad4869
[ "MIT" ]
null
null
null
'''Exercício para for 01''' #listas nomes = ['jessica','saara','rodrigo','eric','marcela','jorge','priscila'] for nome in nomes: print(nome) print(len(nome)) print('fim do looping')
23.75
73
0.652632
26
190
4.769231
0.769231
0.145161
0
0
0
0
0
0
0
0
0
0.012121
0.131579
190
7
74
27.142857
0.739394
0.147368
0
0
0
0
0.365385
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7fd9c695404bcd3228a66686b7891219e308f04e
276
py
Python
day_01/test_solution.py
jamsidedown/adventofcode2020
2ff6ab6fd10470523e869fe6346cdfebc291d5a4
[ "MIT" ]
null
null
null
day_01/test_solution.py
jamsidedown/adventofcode2020
2ff6ab6fd10470523e869fe6346cdfebc291d5a4
[ "MIT" ]
null
null
null
day_01/test_solution.py
jamsidedown/adventofcode2020
2ff6ab6fd10470523e869fe6346cdfebc291d5a4
[ "MIT" ]
null
null
null
from day_01.solution import part_1, part_2 def test_part_1_example(): expenses = [1721, 979, 366, 299, 675, 1456] assert 514579 == part_1(expenses) def test_part_2_example(): expenses = [1721, 979, 366, 299, 675, 1456] assert 241861950 == part_2(expenses)
23
47
0.692029
43
276
4.186047
0.488372
0.083333
0.122222
0.244444
0.455556
0.455556
0.455556
0.455556
0.455556
0
0
0.282511
0.192029
276
11
48
25.090909
0.524664
0
0
0.285714
0
0
0
0
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
7fdb3f8444c25190ad5f17f4fd11f4fed488efe9
124
py
Python
resample/version.py
wwu-mmll/resample
3c61f5994420931f43571290d410beb05eee8fe6
[ "BSD-3-Clause" ]
null
null
null
resample/version.py
wwu-mmll/resample
3c61f5994420931f43571290d410beb05eee8fe6
[ "BSD-3-Clause" ]
null
null
null
resample/version.py
wwu-mmll/resample
3c61f5994420931f43571290d410beb05eee8fe6
[ "BSD-3-Clause" ]
null
null
null
# Single location for version updates. # Changes here are imported by setup.py and resample/__init__.py. version = "1.0.1"
24.8
65
0.75
20
124
4.45
0.85
0
0
0
0
0
0
0
0
0
0
0.028571
0.153226
124
4
66
31
0.819048
0.806452
0
0
0
0
0.238095
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7ff5dab0df76394d7e7975df7e2a99a9a8dc7427
8,247
py
Python
core/domain/blog_validators_test.py
AdityaDubey0/oppia
ca27203c2e7c04b84f57581b7b378335fe093eeb
[ "Apache-2.0" ]
null
null
null
core/domain/blog_validators_test.py
AdityaDubey0/oppia
ca27203c2e7c04b84f57581b7b378335fe093eeb
[ "Apache-2.0" ]
null
null
null
core/domain/blog_validators_test.py
AdityaDubey0/oppia
ca27203c2e7c04b84f57581b7b378335fe093eeb
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2021 The Oppia 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 requi...
38.35814
78
0.65539
957
8,247
5.289446
0.179728
0.074279
0.104307
0.060055
0.767088
0.750494
0.734887
0.68471
0.677598
0.677598
0
0.002472
0.264339
8,247
214
79
38.537383
0.831877
0.085849
0
0.676829
0
0
0.037648
0.002794
0
0
0
0
0
1
0.054878
false
0
0.04878
0
0.121951
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
7ff96e77fcc6803197fe5717f91794aa5d359cd9
986
py
Python
setup.py
pandaseal/GeneticFS
45013e1f950a48dab8a99a5cb183a44315535079
[ "MIT" ]
19
2018-09-23T19:05:36.000Z
2021-05-20T15:22:01.000Z
setup.py
pandaseal/GeneticFS
45013e1f950a48dab8a99a5cb183a44315535079
[ "MIT" ]
1
2019-12-06T20:10:42.000Z
2019-12-06T20:10:42.000Z
setup.py
pandaseal/GeneticFS
45013e1f950a48dab8a99a5cb183a44315535079
[ "MIT" ]
9
2018-11-06T06:04:56.000Z
2022-02-06T08:54:12.000Z
from distutils.core import setup setup( name = 'GeneticFS', packages = ['GeneticFS'], version = '0.01', license='MIT', description = 'Genetic Algorithm for feature selection within Machine Learning', author = 'Philip Kalinda', author_email = 'philipkalinda@gmail.com', url = 'https://philipkalinda.com', ...
34
111
0.64503
100
986
6.32
0.69
0.120253
0.158228
0.164557
0
0
0
0
0
0
0
0.017767
0.200811
986
28
112
35.214286
0.784264
0
0
0.071429
0
0
0.606491
0.023327
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3d1f5f1d5a7551e5e72d0938cb1b8e464f0a19c2
123
py
Python
src/gandi_api_livedns/__init__.py
flexy2dd/gandi-api-live-dns
681057c25fc6287e66955285b64e1f4f9ddd2f6a
[ "MIT" ]
1
2021-12-15T03:20:39.000Z
2021-12-15T03:20:39.000Z
src/gandi_api_livedns/__init__.py
flexy2dd/gandi-api-livedns
681057c25fc6287e66955285b64e1f4f9ddd2f6a
[ "MIT" ]
null
null
null
src/gandi_api_livedns/__init__.py
flexy2dd/gandi-api-livedns
681057c25fc6287e66955285b64e1f4f9ddd2f6a
[ "MIT" ]
null
null
null
"""Gandi.net live DNS API.""" from .gandi import GandiApiLiveDNS __all__ = ["GandiApiLiveDNS"] __version__ = '0.2.0'
20.5
35
0.682927
15
123
5.066667
0.8
0
0
0
0
0
0
0
0
0
0
0.029126
0.162602
123
6
36
20.5
0.708738
0.186992
0
0
0
0
0.222222
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
3d251758e48df96eb56231106f867f9da5665919
137
py
Python
dcli/_utils.py
LewisGaul/declarative-cli
5c55c845acdc30f0f198410df535e88f2e5e8ff6
[ "MIT" ]
null
null
null
dcli/_utils.py
LewisGaul/declarative-cli
5c55c845acdc30f0f198410df535e88f2e5e8ff6
[ "MIT" ]
1
2020-09-18T22:07:58.000Z
2020-09-18T22:07:58.000Z
dcli/_utils.py
LewisGaul/declarative-cli
5c55c845acdc30f0f198410df535e88f2e5e8ff6
[ "MIT" ]
null
null
null
# September 2020, Lewis Gaul """ Private utilities. """ import pathlib from typing import Union PathLike = Union[str, pathlib.Path]
10.538462
35
0.722628
17
137
5.823529
0.823529
0
0
0
0
0
0
0
0
0
0
0.035398
0.175182
137
12
36
11.416667
0.840708
0.335766
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
3d3e9826e8eacfe848ea70b4ab086baf3812b28d
10,199
py
Python
tests/pytests/test_program.py
gavento/rain
9372c66d82180ecae12af065a81631565c0d40dc
[ "MIT" ]
null
null
null
tests/pytests/test_program.py
gavento/rain
9372c66d82180ecae12af065a81631565c0d40dc
[ "MIT" ]
null
null
null
tests/pytests/test_program.py
gavento/rain
9372c66d82180ecae12af065a81631565c0d40dc
[ "MIT" ]
null
null
null
from rain.client import Program, Input, Output, tasks, blob, pickled from rain.client import RainException import os import pytest import pickle def test_execute_positional_input(test_env): test_env.start(1) with test_env.client.new_session() as s: t0 = tasks.execute("ls /", stdout=True) t1 =...
33.221498
87
0.598
1,370
10,199
4.315328
0.105109
0.080514
0.040934
0.063261
0.794148
0.756089
0.703654
0.68251
0.6727
0.608254
0
0.023443
0.242965
10,199
306
88
33.330065
0.742261
0.077753
0
0.592105
0
0
0.090061
0.005298
0
0
0
0.003268
0.122807
1
0.092105
false
0
0.026316
0
0.118421
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
3d5c5cb5344635dda8817a0e243a07c1da8b3088
237
py
Python
examples/commands/plot_docgen.py
AGrigis/pysphinxdoc
ebba16042fee21edb3337cab1ba069d740338396
[ "CECILL-B" ]
null
null
null
examples/commands/plot_docgen.py
AGrigis/pysphinxdoc
ebba16042fee21edb3337cab1ba069d740338396
[ "CECILL-B" ]
1
2019-01-31T15:37:51.000Z
2019-10-29T09:38:22.000Z
examples/commands/plot_docgen.py
AGrigis/pysphinxdoc
ebba16042fee21edb3337cab1ba069d740338396
[ "CECILL-B" ]
null
null
null
""" Basic example with cross-references =================================== A simple example of how to document API objects. """ # sphinx_gallery_thumbnail_path = "_static/pysphinxdoc.png" from pysphinxdoc.utils import dummy dummy()
18.230769
59
0.658228
27
237
5.62963
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.122363
237
12
60
19.75
0.730769
0.759494
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3d606776e7c9b3dc3953b3f7ecf340f2a4e7cf79
5,391
py
Python
pServersideIncluds.py
markfawcett/scripts
d98931cd4698745c60bf303225fbc7cd3bca091e
[ "BSD-3-Clause" ]
null
null
null
pServersideIncluds.py
markfawcett/scripts
d98931cd4698745c60bf303225fbc7cd3bca091e
[ "BSD-3-Clause" ]
null
null
null
pServersideIncluds.py
markfawcett/scripts
d98931cd4698745c60bf303225fbc7cd3bca091e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/local/bin/python3 import sys def main(): input_file = sys.argv[1] with open(input_file, 'r') as f: file_string = f.read() file_string = file_string.replace(one, one_replace) file_string = file_string.replace(two, two_replace) output_file_name = input_file.rstrip('html') + 'htm' ...
55.57732
193
0.489149
605
5,391
4.315702
0.259504
0.142474
0.160858
0.206817
0.448487
0.41938
0.408656
0.398315
0.356568
0.310609
0
0.005013
0.33389
5,391
97
194
55.57732
0.722083
0.008162
0
0.126582
0
0.367089
0.914703
0.043584
0
0
0
0
0
1
0.012658
false
0
0.012658
0
0.025316
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e9e8228419e756c8a645cf91c583a942383311bd
6,076
py
Python
pysnmp-with-texts/IANA-PWE3-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/IANA-PWE3-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/IANA-PWE3-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module IANA-PWE3-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IANA-PWE3-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:45:18 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
148.195122
2,070
0.767281
759
6,076
6.13834
0.472991
0.02962
0.022537
0.034342
0.193175
0.140373
0.137798
0.103026
0.103026
0.103026
0
0.055556
0.123107
6,076
40
2,071
151.9
0.818881
0.052666
0
0.103448
0
0.103448
0.591265
0.012006
0
0
0
0
0
1
0
false
0
0.206897
0
0.689655
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
180cdef4c3251b42c89e123ebf0e18b13ed113dd
852
py
Python
backend/takeout/lib/models/userbase.py
BillBillBillBill/laughing-garbanzo
27c66dcc4f0e045ae060255679a2aa68c0f744d2
[ "MIT" ]
15
2016-08-03T08:11:36.000Z
2022-03-24T03:21:06.000Z
backend/takeout/lib/models/userbase.py
BillBillBillBill/laughing-garbanzo
27c66dcc4f0e045ae060255679a2aa68c0f744d2
[ "MIT" ]
null
null
null
backend/takeout/lib/models/userbase.py
BillBillBillBill/laughing-garbanzo
27c66dcc4f0e045ae060255679a2aa68c0f744d2
[ "MIT" ]
7
2016-08-03T08:11:38.000Z
2020-12-27T08:49:10.000Z
from django.db import models from lib.utils.password_tools import get_enc_password class UserBase(models.Model): ACCOUNT_TYPES = ( ("P", "Phone"), ("E", "Email") ) username = models.CharField(max_length=20, unique=True) password = models.CharField(max_length=200) account_type = mod...
34.08
73
0.694836
111
852
5.126126
0.468468
0.13181
0.158172
0.210896
0.196837
0
0
0
0
0
0
0.015942
0.190141
852
24
74
35.5
0.808696
0
0
0
0
0
0.014085
0
0
0
0
0
0
1
0.05
false
0.15
0.1
0
0.65
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
1
0
0
1
0
0
3
18187f8d116a9572fd67f5a1c83660233bf16f87
97
py
Python
main.py
jamestoh-leos/Chess-with-python
f793975d81653532e83c977d462f851e947368c2
[ "MIT" ]
null
null
null
main.py
jamestoh-leos/Chess-with-python
f793975d81653532e83c977d462f851e947368c2
[ "MIT" ]
1
2022-01-11T09:03:27.000Z
2022-01-13T04:13:16.000Z
main.py
jamestoh-leos/Chess-with-python
f793975d81653532e83c977d462f851e947368c2
[ "MIT" ]
null
null
null
print("fire") x = 2 if x != 2: print("no") else: print("Burn") for x in range(3): print(x)
10.777778
18
0.546392
19
97
2.789474
0.631579
0.075472
0
0
0
0
0
0
0
0
0
0.04
0.226804
97
8
19
12.125
0.666667
0
0
0
0
0
0.103093
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
18214071360ad52e20ee1bb2214a367fea139318
81,173
py
Python
wilson/run/smeft/beta.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
24
2018-04-16T15:01:39.000Z
2022-01-26T07:16:22.000Z
wilson/run/smeft/beta.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
85
2018-04-27T08:17:00.000Z
2022-02-22T16:47:14.000Z
wilson/run/smeft/beta.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
17
2018-04-27T07:59:35.000Z
2022-02-09T22:46:05.000Z
"""SMEFT beta functions""" import numpy as np from collections import OrderedDict from wilson.util.smeftutil import C_keys, C_keys_shape, C_array2dict, C_dict2array from functools import lru_cache I3 = np.identity(3) class HashableArray(np.ndarray): def __new__(cls, data, dtype=None): return np.array(d...
44.527153
94
0.460116
14,265
81,173
2.546723
0.024606
0.216907
0.103801
0.042693
0.855212
0.790746
0.698065
0.634755
0.557654
0.465771
0
0.0562
0.23169
81,173
1,822
95
44.551592
0.526312
0.008932
0
0.131704
0
0
0.160443
0
0
0
0
0
0
1
0.004768
false
0
0.002384
0.002384
0.012515
0
0
0
0
null
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
183ad41a5e503d65d353dd5d9bb96c9a80c3c30b
113
py
Python
computation_migration/distComputing/imgProc/urls.py
mengyingzhou/ipv6_firewall_computation_migration
3fbc1f910e1fffdf2d5bb25eed631dffc6d7d842
[ "MIT" ]
null
null
null
computation_migration/distComputing/imgProc/urls.py
mengyingzhou/ipv6_firewall_computation_migration
3fbc1f910e1fffdf2d5bb25eed631dffc6d7d842
[ "MIT" ]
null
null
null
computation_migration/distComputing/imgProc/urls.py
mengyingzhou/ipv6_firewall_computation_migration
3fbc1f910e1fffdf2d5bb25eed631dffc6d7d842
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('facialRecog/', views.facialRecog) ]
14.125
43
0.716814
13
113
6.230769
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.176991
113
7
44
16.142857
0.870968
0
0
0
0
0
0.106195
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
a1108414f7d9606fe1d94a1fddb3f8c6b26a5681
845
py
Python
src/openbiolink/graph_creation/file_processor/mapping/mapDrugCentralPubchemProcessor.py
cthoyt/OpenBioLink
c5f85b99f9104f70493136c343e4554261e990a5
[ "MIT" ]
null
null
null
src/openbiolink/graph_creation/file_processor/mapping/mapDrugCentralPubchemProcessor.py
cthoyt/OpenBioLink
c5f85b99f9104f70493136c343e4554261e990a5
[ "MIT" ]
null
null
null
src/openbiolink/graph_creation/file_processor/mapping/mapDrugCentralPubchemProcessor.py
cthoyt/OpenBioLink
c5f85b99f9104f70493136c343e4554261e990a5
[ "MIT" ]
null
null
null
from openbiolink.graph_creation.file_processor.fileProcessor import FileProcessor from openbiolink.graph_creation.metadata_infile.mapping.inMetaMapDrugCentralPubchem import InMetaMapDrugCentralPubchem from openbiolink.graph_creation.types.infileType import InfileType from openbiolink.graph_creation.types.readerType imp...
49.705882
118
0.805917
93
845
6.956989
0.397849
0.092736
0.123648
0.173107
0.102009
0
0
0
0
0
0
0
0.132544
845
17
119
49.705882
0.882674
0
0
0
0
0
0.013002
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.692308
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a114bb9ad8249fd5e0697d67e27e2acb69725c63
1,400
py
Python
CalibPPS/ESProducers/python/ctppsOpticalFunctions_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CalibPPS/ESProducers/python/ctppsOpticalFunctions_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CalibPPS/ESProducers/python/ctppsOpticalFunctions_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from CalibPPS.ESProducers.ctppsLHCInfo_cff import * # by default, (raw) optical functions are now loaded from CondDB using a GT #from CalibPPS.ESProducers.ctppsOpticalFunctionsESSource_cfi import * # ## add 2016 pre-TS2 configuration #config_2016_preTS2 = cms.PSet( # validit...
45.16129
130
0.732857
173
1,400
5.83237
0.491329
0.041625
0.043608
0.055501
0.16551
0.145689
0
0
0
0
0
0.104305
0.137143
1,400
30
131
46.666667
0.73096
0.782857
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
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
0
1
0
1
0
1
0
0
3
a115b3611b7ca4b8291651839000377bbf0e45d1
706
py
Python
backend/api/endpoints/library/mapper.py
Auraby/ICT2x01-Team28
e3fc68e1c0f61aec61806b48216a999ce5072f54
[ "Apache-2.0" ]
null
null
null
backend/api/endpoints/library/mapper.py
Auraby/ICT2x01-Team28
e3fc68e1c0f61aec61806b48216a999ce5072f54
[ "Apache-2.0" ]
null
null
null
backend/api/endpoints/library/mapper.py
Auraby/ICT2x01-Team28
e3fc68e1c0f61aec61806b48216a999ce5072f54
[ "Apache-2.0" ]
1
2020-11-07T02:18:08.000Z
2020-11-07T02:18:08.000Z
from __future__ import annotations from abc import ABCMeta, abstractmethod import typing class IMapper(metaclass=ABCMeta): """ Converts the object into a dict suitable to be used with DynamoDB """ @abstractmethod def to_dict() -> typing.Dict: pass """ Saves the object int...
20.171429
74
0.607649
79
706
5.367089
0.582278
0.084906
0.061321
0
0
0
0
0
0
0
0
0
0.311615
706
34
75
20.764706
0.872428
0.092068
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
true
0.25
0.1875
0
0.5
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
1
1
0
0
0
0
0
3
a1190d091bb42e9ae529450b5e4a2bca4af7f833
7,602
py
Python
iioy/movies/external/data_sources/tmdb.py
tizz98/iioy-v4
64d12fafb3c758f8291c6f577aba203932c44cbd
[ "MIT" ]
null
null
null
iioy/movies/external/data_sources/tmdb.py
tizz98/iioy-v4
64d12fafb3c758f8291c6f577aba203932c44cbd
[ "MIT" ]
2
2020-06-05T18:23:54.000Z
2021-03-19T22:02:23.000Z
iioy/movies/external/data_sources/tmdb.py
tizz98/iioy-v4
64d12fafb3c758f8291c6f577aba203932c44cbd
[ "MIT" ]
null
null
null
import logging from urllib.parse import urljoin import requests import tmdbsimple as tmdb from requests import HTTPError from iioy.core.adapters import UnImplementableMethod from iioy.movies.external.data_sources.base import ( BaseMovieAdapter, Genre, SimpleMovie, CastMember, BasePersonAdapter, BaseMovieCastA...
28.578947
96
0.645093
896
7,602
5.210938
0.205357
0.044978
0.074963
0.061683
0.295138
0.260227
0.223817
0.191904
0.163204
0.135361
0
0.004046
0.252302
7,602
265
97
28.686792
0.817382
0.002762
0
0.190476
0
0
0.097783
0
0
0
0
0
0
1
0.21164
false
0
0.042328
0.148148
0.619048
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
a120a87c435284dd9593aa4b14a2a1a750040587
501
py
Python
first.py
sunil3590/lets-learn
2ba1badef3337510a092b1bf82386f51c2c697ab
[ "Unlicense" ]
null
null
null
first.py
sunil3590/lets-learn
2ba1badef3337510a092b1bf82386f51c2c697ab
[ "Unlicense" ]
null
null
null
first.py
sunil3590/lets-learn
2ba1badef3337510a092b1bf82386f51c2c697ab
[ "Unlicense" ]
null
null
null
def print_lines(fname, should_strip=True): f = open(file=fname, mode='r') num_lines = 0 for line in f.readlines(): num_lines = num_lines + 1 if should_strip: print(line.strip()) else: print(line) return num_lines num_lines_printed = print_lines('./input....
29.470588
66
0.640719
69
501
4.391304
0.391304
0.211221
0.19802
0.105611
0.465347
0.465347
0.465347
0.250825
0
0
0
0.005155
0.225549
501
17
67
29.470588
0.775773
0
0
0.142857
0
0
0.101594
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0.5
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
a12e1a2df0d2167245add7ec1368f854f39ee484
8,037
py
Python
python-package/lets_plot/plot/sampling.py
IKrukov-HORIS/lets-plot
b772e4abcc4c715ef3c3a2e3db55abd4044f863f
[ "MIT" ]
768
2019-11-28T14:09:46.000Z
2022-03-30T18:19:28.000Z
python-package/lets_plot/plot/sampling.py
IKrukov-HORIS/lets-plot
b772e4abcc4c715ef3c3a2e3db55abd4044f863f
[ "MIT" ]
240
2019-12-04T20:15:03.000Z
2022-03-30T17:12:23.000Z
python-package/lets_plot/plot/sampling.py
IKrukov-HORIS/lets-plot
b772e4abcc4c715ef3c3a2e3db55abd4044f863f
[ "MIT" ]
43
2019-12-05T13:45:32.000Z
2022-03-31T21:27:00.000Z
# # Copyright (c) 2019. JetBrains s.r.o. # Use of this source code is governed by the MIT license that can be found in the LICENSE file. # from .core import FeatureSpec __all__ = ['sampling_random', 'sampling_random_stratified', 'sampling_pick', 'sampling_systematic', 'sampl...
24.428571
95
0.547841
978
8,037
4.388548
0.168712
0.009786
0.007689
0.010252
0.752097
0.732759
0.690121
0.669152
0.644921
0.625815
0
0.022442
0.306955
8,037
328
96
24.503049
0.748115
0.739082
0
0
0
0
0.220233
0.064458
0
0
0
0
0
1
0.333333
false
0
0.037037
0.037037
0.703704
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a158982f2e3658f558219470e29175e5137c2919
7,923
py
Python
state/test/test_pruning_state.py
spivachuk/plenum
05123166e8ffa89520541ea3b59b20390aaf92a4
[ "Apache-2.0" ]
null
null
null
state/test/test_pruning_state.py
spivachuk/plenum
05123166e8ffa89520541ea3b59b20390aaf92a4
[ "Apache-2.0" ]
null
null
null
state/test/test_pruning_state.py
spivachuk/plenum
05123166e8ffa89520541ea3b59b20390aaf92a4
[ "Apache-2.0" ]
2
2017-12-13T21:14:54.000Z
2021-06-06T15:48:03.000Z
import copy import pytest from storage.kv_store import KeyValueStorage from state.pruning_state import PruningState from state.state import State from state.trie.pruning_trie import BLANK_NODE, BLANK_ROOT from storage.kv_in_memory import KeyValueStorageInMemory from storage.kv_store_leveldb import KeyValueStorageLevel...
28.095745
83
0.670706
1,230
7,923
4.209756
0.078049
0.035921
0.085168
0.039204
0.758401
0.74044
0.712244
0.683469
0.663963
0.615102
0
0.035015
0.174555
7,923
281
84
28.19573
0.756728
0.005932
0
0.671498
0
0
0.058174
0
0
0
0
0
0.294686
1
0.111111
false
0
0.043478
0
0.169082
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
a16e627f775e4e9b6a6e5acad3d89af582a1f39c
52
py
Python
exemplary/__init__.py
jvs/exemplary
4ec830531d7b54be02dc123320a12c015aef1881
[ "MIT" ]
null
null
null
exemplary/__init__.py
jvs/exemplary
4ec830531d7b54be02dc123320a12c015aef1881
[ "MIT" ]
null
null
null
exemplary/__init__.py
jvs/exemplary
4ec830531d7b54be02dc123320a12c015aef1881
[ "MIT" ]
null
null
null
from .interpreter import run __version__ = '0.0.9'
13
28
0.730769
8
52
4.25
0.875
0
0
0
0
0
0
0
0
0
0
0.068182
0.153846
52
3
29
17.333333
0.704545
0
0
0
0
0
0.096154
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
a1852a3a5a1b799983ac46bee85e9cba9e65b2d6
86,179
py
Python
release/stubs.min/System/Windows/Forms/VisualStyles.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Forms/VisualStyles.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Forms/VisualStyles.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
# encoding: utf-8 # module System.Windows.Forms.VisualStyles calls itself VisualStyles # from System.Windows.Forms,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089 # by generator 1.145 # no doc # no imports # no functions # classes class BackgroundType(Enum,IComparable,IFormattable,IConvertib...
33.650527
534
0.706587
11,061
86,179
5.115451
0.073682
0.064049
0.066806
0.071578
0.709342
0.695787
0.646054
0.614118
0.596798
0.586706
0
0.010416
0.173418
86,179
2,560
535
33.663672
0.783895
0.002669
0
0.739563
0
0
0.001092
0
0
0
0
0
0
0
null
null
0.315441
0
null
null
0
0
0
0
null
0
0
0
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
1
0
0
1
0
0
0
0
0
3
a18d71107f19fca472f2d4c5a5c23c7ad9bca803
144
py
Python
flask_site/settings/settings.py
kagxin/py_toplist
dde5c0dcb6d0bef0480c5511a53f208a9b6d3277
[ "MIT" ]
null
null
null
flask_site/settings/settings.py
kagxin/py_toplist
dde5c0dcb6d0bef0480c5511a53f208a9b6d3277
[ "MIT" ]
2
2019-09-06T08:49:08.000Z
2022-03-02T14:59:12.000Z
flask_site/settings/settings.py
kagxin/py_toplist
dde5c0dcb6d0bef0480c5511a53f208a9b6d3277
[ "MIT" ]
null
null
null
import os site_env = os.getenv('SITE_TYPE', 'local') if site_env == 'staging': from .staging import * else: from .production import *
16
42
0.666667
20
144
4.65
0.6
0.150538
0
0
0
0
0
0
0
0
0
0
0.201389
144
8
43
18
0.808696
0
0
0
0
0
0.145833
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
a18fb2464f7ffc858daf931b46ff1b092d6c950f
12,856
py
Python
user_program/usb4vc_gamepads.py
dekuNukem/USB4VC
66c4f0b4a4acd7cec6654ea0dd4da026edf5d24c
[ "MIT" ]
78
2022-02-07T16:48:11.000Z
2022-03-31T12:25:35.000Z
user_program/usb4vc_gamepads.py
dekuNukem/USB4VC
66c4f0b4a4acd7cec6654ea0dd4da026edf5d24c
[ "MIT" ]
1
2022-02-26T20:16:08.000Z
2022-02-26T20:24:04.000Z
user_program/usb4vc_gamepads.py
dekuNukem/USB4VC
66c4f0b4a4acd7cec6654ea0dd4da026edf5d24c
[ "MIT" ]
1
2022-02-24T03:34:15.000Z
2022-02-24T03:34:15.000Z
GAMEPAD_TYPE_XBOX = 'Xbox' GAMEPAD_TYPE_PS4_GEN1 = "DualShock 4 [CUH-ZCT1x]" GAMEPAD_TYPE_PS4_GEN2 = "DualShock 4 [CUH-ZCT2x]" GAMEPAD_TYPE_PS5_GEN1 = "DualSense wireless controller" GAMEPAD_TYPE_SWITCH_PRO = "Switch Pro Controller" GAMEPAD_TYPE_UNKNOWN = "Generic" def gamepad_type_lookup(vendor_id, product_id): #...
34.55914
75
0.614421
2,014
12,856
3.403674
0.126117
0.148067
0.211524
0.214296
0.719912
0.709555
0.591539
0.397666
0.366156
0.366156
0
0.041428
0.170115
12,856
371
76
34.652291
0.601087
0.050093
0
0.376147
0
0
0.496837
0
0
0
0.01298
0
0
1
0.006116
false
0
0
0
0.036697
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a194435a6b10fef22cb2c49103614bcceaf2bd54
1,278
py
Python
nvd3/__init__.py
strawlab/python-nvd3
370d3a122fa0bfc4c6f57a5cd6e518968205611a
[ "MIT" ]
null
null
null
nvd3/__init__.py
strawlab/python-nvd3
370d3a122fa0bfc4c6f57a5cd6e518968205611a
[ "MIT" ]
null
null
null
nvd3/__init__.py
strawlab/python-nvd3
370d3a122fa0bfc4c6f57a5cd6e518968205611a
[ "MIT" ]
1
2019-06-30T08:39:41.000Z
2019-06-30T08:39:41.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- """ Python-nvd3 is a Python wrapper for NVD3 graph library. NVD3 is an attempt to build re-usable charts and chart components for d3.js without taking away the power that d3.js gives you. Project location : https://github.com/areski/python-nvd3 """ __version__ = '0.6.0' fr...
19.661538
65
0.796557
133
1,278
7.62406
0.421053
0.079882
0
0
0
0
0
0
0
0
0
0.009116
0.141628
1,278
64
66
19.96875
0.915223
0.219092
0
0.322581
0
0
0.005056
0
0
0
0
0
0
1
0
false
0.322581
0.322581
0
0.645161
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
a1b2da4ed02d07592ee03352913849b9ea8c82d9
259
py
Python
coop/models/util.py
lionls/coop
080f6684f198e1db3cbad41dfea24f481d8253f4
[ "BSD-3-Clause" ]
15
2021-09-14T07:08:31.000Z
2022-03-21T02:20:40.000Z
coop/models/util.py
lionls/coop
080f6684f198e1db3cbad41dfea24f481d8253f4
[ "BSD-3-Clause" ]
1
2022-02-11T11:17:53.000Z
2022-02-15T16:56:09.000Z
coop/models/util.py
lionls/coop
080f6684f198e1db3cbad41dfea24f481d8253f4
[ "BSD-3-Clause" ]
2
2021-09-19T09:35:31.000Z
2022-03-24T12:33:50.000Z
from typing import NamedTuple import torch from torch.distributions import Normal class Losses(NamedTuple): nll: torch.Tensor zkl: torch.Tensor zkl_real: torch.Tensor class VAEOut(NamedTuple): q: Normal generated: torch.Tensor = None
16.1875
38
0.737452
33
259
5.757576
0.515152
0.231579
0.147368
0
0
0
0
0
0
0
0
0
0.196911
259
15
39
17.266667
0.913462
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.3
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
0
0
1
0
0
3
a1c1255e52b333aa07a297d04237c58c2bc216ae
476
py
Python
pytglib/api/types/input_message_dice.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/input_message_dice.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/input_message_dice.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class InputMessageDice(Object): """ A dice message Attributes: ID (:obj:`str`): ``InputMessageDice`` No parameters required. Returns: InputMessageContent Raises: :class:`telegram.Error` """ ID = "inputMessageDice" def __init...
15.354839
51
0.573529
40
476
6.725
0.8
0
0
0
0
0
0
0
0
0
0
0
0.315126
476
30
52
15.866667
0.825153
0.346639
0
0
0
0
0.120755
0
0
0
0
0
0
1
0.25
false
0.125
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
1
0
1
0
0
0
3
a1cbc0ab88172b8df0037e5e1d507404e620e551
178
py
Python
0x04-python-more_data_structures/3-common_elements.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
0x04-python-more_data_structures/3-common_elements.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
0x04-python-more_data_structures/3-common_elements.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def common_elements(set_1, set_2): result = [] for element in set_1: if element in set_2: result.append(element) return result
22.25
34
0.623596
26
178
4.076923
0.615385
0.075472
0.188679
0
0
0
0
0
0
0
0
0.039063
0.280899
178
7
35
25.428571
0.789063
0.095506
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b80129ff682c8e62d225cedda23240c2551bec33
172
py
Python
sample/music/songc.py
tesisgeneracion2110/modulo-de-musica
4b6dc54b171303071f85c7699045d5dec144fdf2
[ "MIT" ]
null
null
null
sample/music/songc.py
tesisgeneracion2110/modulo-de-musica
4b6dc54b171303071f85c7699045d5dec144fdf2
[ "MIT" ]
1
2021-04-07T22:49:39.000Z
2021-04-30T01:00:04.000Z
sample/music/songc.py
tesisgeneracion2110/music-module
4b6dc54b171303071f85c7699045d5dec144fdf2
[ "MIT" ]
null
null
null
class Song: def __init__(self, bpm, root, scale, n_chords): self.bpm = bpm self.root = root self.scale = scale self.n_chords = n_chords
24.571429
51
0.581395
24
172
3.875
0.416667
0.225806
0
0
0
0
0
0
0
0
0
0
0.325581
172
6
52
28.666667
0.801724
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b81e548db74c21381be3b26ba8f7e6b32c6fe6b6
1,378
py
Python
blueprints/auth/tasks/cron_base.py
shuxiang/MT-WMS
38ef18baed6d9eddb88d43da2eeed55988410daf
[ "Apache-2.0" ]
1
2022-03-11T05:42:25.000Z
2022-03-11T05:42:25.000Z
blueprints/auth/tasks/cron_base.py
shuxiang/MT-WMS
38ef18baed6d9eddb88d43da2eeed55988410daf
[ "Apache-2.0" ]
null
null
null
blueprints/auth/tasks/cron_base.py
shuxiang/MT-WMS
38ef18baed6d9eddb88d43da2eeed55988410daf
[ "Apache-2.0" ]
null
null
null
#coding=utf8 import os import settings import traceback from datetime import datetime, timedelta from huey import crontab from sqlalchemy import func, or_, and_ from extensions.hueyext import hueyapp from extensions.celeryext import celeryapp from extensions.database import db from models.auth import Company from mod...
31.318182
118
0.707547
202
1,378
4.742574
0.49505
0.041754
0.018789
0.031315
0.100209
0.100209
0.100209
0.100209
0.100209
0.100209
0
0.013146
0.171988
1,378
43
119
32.046512
0.826468
0.007983
0
0
0
0
0.055305
0
0
0
0
0
0
1
0.047619
false
0.095238
0.666667
0
0.714286
0.095238
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
b81ec8fdc42267ddb124fc9ac00b2d1a2359ea14
3,726
py
Python
steam/protobufs/user_stats.py
Gobot1234/steam
ffcd3a6c4d531fbf174f359f0b66d9a9525d62cb
[ "MIT" ]
79
2020-02-26T19:20:07.000Z
2022-03-24T11:12:57.000Z
steam/protobufs/user_stats.py
Gobot1234/steam
ffcd3a6c4d531fbf174f359f0b66d9a9525d62cb
[ "MIT" ]
34
2020-04-26T01:55:31.000Z
2022-03-15T17:38:34.000Z
steam/protobufs/user_stats.py
Gobot1234/steam
ffcd3a6c4d531fbf174f359f0b66d9a9525d62cb
[ "MIT" ]
14
2020-07-15T14:50:14.000Z
2022-01-26T21:51:30.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # sources: steammessages_clientserver_userstats.proto # plugin: python-betterproto # Last updated 09/09/2021 from dataclasses import dataclass from typing import List import betterproto @dataclass(eq=False, repr=False) class CMsgClientGetUserStats(betterpro...
37.26
119
0.786098
432
3,726
6.578704
0.201389
0.147783
0.112597
0.140746
0.563336
0.553835
0.418015
0.418015
0.380014
0.294511
0
0.033769
0.117821
3,726
99
120
37.636364
0.830849
0.042673
0
0.449275
1
0
0.065974
0.065974
0
0
0
0
0
1
0
true
0
0.043478
0
0.797101
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
62a7ccb3d60c9dc1b6a939cb9e1838ead9544bb4
91
py
Python
code/abc067_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc067_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc067_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
n,k=map(int,input().split()) l=sorted([int(_) for _ in input().split()]) print(sum(l[-k:]))
30.333333
43
0.604396
17
91
3.117647
0.705882
0.377358
0
0
0
0
0
0
0
0
0
0
0.065934
91
3
44
30.333333
0.623529
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
62f913b18e5ef3f31097c6df4b319c311b2b5afc
591
py
Python
tests/mock/__init__.py
MisterWil/python-abode
4ffce2314ed7e2c5d48a2c2758fddaef440b05ad
[ "MIT" ]
48
2017-08-10T21:32:50.000Z
2021-08-15T05:09:58.000Z
tests/mock/__init__.py
MisterWil/python-abode
4ffce2314ed7e2c5d48a2c2758fddaef440b05ad
[ "MIT" ]
81
2017-08-10T21:39:40.000Z
2022-01-16T18:43:08.000Z
tests/mock/__init__.py
MisterWil/python-abode
4ffce2314ed7e2c5d48a2c2758fddaef440b05ad
[ "MIT" ]
28
2017-08-17T21:20:12.000Z
2022-01-16T12:22:07.000Z
""" Mock responses that mimic actual data from Abode servers. This file should be updated any time the Abode server responses change so we can test that abodepy can still communicate. """ AUTH_TOKEN = 'web-1eb04ba2236d85f49d4b9b4bb91665f2' OAUTH_TOKEN = 'ohyeahthisisanoauthtoken' def response_forbidden(): """Re...
24.625
63
0.720812
74
591
5.689189
0.689189
0.042755
0.061758
0
0
0
0
0
0
0
0
0.053279
0.174281
591
23
64
25.695652
0.809426
0.510998
0
0
0
0
0.494163
0.455253
0
0
0
0
0
1
0.333333
false
0
0
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
1
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1a0825e03c10c32b6690b57bed25f11109a6e683
299
py
Python
barcode/plugins/digikey_barcode.py
gpauriyal/inventree-python
a49c82cf2a14d8ac7d4d9ee5aa1b23e42ac70102
[ "MIT" ]
1
2020-11-03T15:46:58.000Z
2020-11-03T15:46:58.000Z
barcode/plugins/digikey_barcode.py
gpauriyal/inventree-python
a49c82cf2a14d8ac7d4d9ee5aa1b23e42ac70102
[ "MIT" ]
null
null
null
barcode/plugins/digikey_barcode.py
gpauriyal/inventree-python
a49c82cf2a14d8ac7d4d9ee5aa1b23e42ac70102
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ DigiKey barcode decoding """ from barcode.barcode import BarcodePlugin class DigikeyBarcodePlugin(BarcodePlugin): PLUGIN_NAME = "DigikeyBarcode" def validate(self): """ TODO: Validation of Digikey barcodes. """ return False
14.95
45
0.632107
27
299
6.962963
0.851852
0
0
0
0
0
0
0
0
0
0
0.004505
0.257525
299
19
46
15.736842
0.842342
0.284281
0
0
0
0
0.076503
0
0
0
0
0.052632
0
1
0.2
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
1a0ef6b302b7a6e7f92db392b100d4477f40f7fc
2,371
py
Python
Litmus/Vectorizer/__init__.py
BlackHart98/Litmus
5c3583e42a8390bb9b3cf31b1d4eb6dd64f2d043
[ "MIT" ]
2
2021-04-17T00:03:04.000Z
2021-10-02T21:27:07.000Z
Litmus/Vectorizer/__init__.py
BlackHart98/Chirp
5e47bf453ac7d49fc9ae3e9ab86ad73fb59b2eaa
[ "MIT" ]
1
2021-04-18T18:14:15.000Z
2021-04-18T19:26:36.000Z
Litmus/Vectorizer/__init__.py
BlackHart98/Chirp
5e47bf453ac7d49fc9ae3e9ab86ad73fb59b2eaa
[ "MIT" ]
null
null
null
# litmus vectorizer takes in list of words and generate vectors class LitmusVectorizer: tag_set = set() current_data = [] data_pool = [] data_pool_vector = [] current_data_vector = [] fitness = [] def createTagSet(self): # collapse data into a linear array collapsed_data =...
24.697917
63
0.60523
283
2,371
4.855124
0.212014
0.136099
0.120087
0.032023
0.291849
0.212518
0.212518
0.136827
0.048035
0.048035
0
0.003706
0.317166
2,371
95
64
24.957895
0.844966
0.069591
0
0.266667
1
0
0
0
0
0
0
0
0
1
0.233333
false
0
0
0.133333
0.483333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
1a241cd00a66b6cafd711fa115c9edb8cd9e1a65
2,530
py
Python
cairotext/test_optimizer.py
akaihola/django-cairo-text
a23bca357dcb4e0963543b972484549c789c4186
[ "BSD-3-Clause" ]
4
2015-03-13T02:18:03.000Z
2019-07-03T14:44:11.000Z
cairotext/test_optimizer.py
akaihola/django-cairo-text
a23bca357dcb4e0963543b972484549c789c4186
[ "BSD-3-Clause" ]
null
null
null
cairotext/test_optimizer.py
akaihola/django-cairo-text
a23bca357dcb4e0963543b972484549c789c4186
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys from optparse import OptionParser TEST_IMAGE = ( '\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00#\x00\x00\x00\r\x08\x06' '\x00\x00\x00#\x7f\xd7\x1f\x00\x00\x00\x06bKGD\x00\xff\x00\xff\x00\xff' '\xa0\xbd\xa7\x93\x00\x00\x02CIDAT8\x8d\xcd\x931K\xf2Q\x14\xc6\x9f\xfb' '\x...
57.5
79
0.660474
499
2,530
3.314629
0.509018
0.050786
0.043531
0.021765
0.010883
0
0
0
0
0
0
0.196707
0.087747
2,530
43
80
58.837209
0.519931
0.007905
0
0
0
0.666667
0.781188
0.749303
0
0
0
0
0
1
0
false
0
0.051282
0
0.051282
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a274c31773ce9161ca5bca89791e8ba18fe8161
1,123
py
Python
design patterns/3principioabertofechado.py
andrezzadede/Curso-de-Python-POO
7b3f892b78271e53543451e2896da5e47e79f87f
[ "MIT" ]
null
null
null
design patterns/3principioabertofechado.py
andrezzadede/Curso-de-Python-POO
7b3f892b78271e53543451e2896da5e47e79f87f
[ "MIT" ]
null
null
null
design patterns/3principioabertofechado.py
andrezzadede/Curso-de-Python-POO
7b3f892b78271e53543451e2896da5e47e79f87f
[ "MIT" ]
null
null
null
''' Principio aberto fechado Deve escrever as classes de forma generetica, para caso seja necessario implementar um novo comportamento você pode estender a outra classe e adicionar um novo metodo Principio da inversão de controle Um modulo nao podde ser altamente dependente de outro Principio de segregação de interfa...
36.225806
166
0.818344
164
1,123
5.603659
0.670732
0.02938
0
0
0
0
0
0
0
0
0
0.007384
0.155833
1,123
31
167
36.225806
0.962025
0.991986
0
null
0
null
0
0
null
0
0
0.032258
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
a7e5c2cb14a4f5f2a440abb37fff8482b32b18e0
1,252
py
Python
entropy/util.py
fusionapp/entropy
23a03a853264c24b3b10e873cc69152ba6b4677d
[ "MIT" ]
null
null
null
entropy/util.py
fusionapp/entropy
23a03a853264c24b3b10e873cc69152ba6b4677d
[ "MIT" ]
230
2015-01-09T14:00:11.000Z
2021-03-31T18:54:33.000Z
entropy/util.py
fusionapp/entropy
23a03a853264c24b3b10e873cc69152ba6b4677d
[ "MIT" ]
3
2018-05-14T19:57:40.000Z
2019-05-09T10:00:45.000Z
""" @copyright: 2007-2014 Quotemaster cc. See LICENSE for details. """ from zope.interface import implements from epsilon.structlike import record from twisted.internet import defer from twisted.python.util import mergeFunctionMetadata from xmantissa.offering import InstalledOffering from entropy.ientropy import IC...
24.076923
77
0.698882
136
1,252
6.419118
0.602941
0.0252
0.020619
0
0
0
0
0
0
0
0
0.008097
0.210863
1,252
51
78
24.54902
0.875506
0.203674
0
0
0
0
0.070452
0
0
0
0
0
0
1
0.208333
false
0
0.25
0.125
0.708333
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
a7eaeae3e04a26b5b4f75dc802e34e2a81991d1b
141
py
Python
Python/tobinjacob_AddTwoNumbers.py
ashiljohnson/HacktoberFest-2021
04d1ad17b9a6708cde75b93c9375befa59cbc21a
[ "MIT" ]
3
2020-10-26T13:48:02.000Z
2020-10-28T11:39:18.000Z
Python/tobinjacob_AddTwoNumbers.py
ashiljohnson/HacktoberFest-2021
04d1ad17b9a6708cde75b93c9375befa59cbc21a
[ "MIT" ]
16
2020-10-24T20:01:54.000Z
2020-10-27T16:13:34.000Z
Python/tobinjacob_AddTwoNumbers.py
ashiljohnson/HacktoberFest-2021
04d1ad17b9a6708cde75b93c9375befa59cbc21a
[ "MIT" ]
57
2020-10-24T15:43:17.000Z
2021-10-03T13:48:25.000Z
# PROGRAM-NAME : Add two numbers # By Tobin Jacob # PROGRAM-CODE : a=input("Enter a number") b=input("Enter another number") c=a+b print(c)
15.666667
32
0.695035
25
141
3.92
0.68
0.204082
0
0
0
0
0
0
0
0
0
0
0.156028
141
8
33
17.625
0.823529
0.425532
0
0
0
0
0.441558
0
0
0
0
0
0
1
0
false
0
0
0
0
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
a7ecabb6f81664e7c8db4b8ca4a262b3390e792a
248
py
Python
api/serializers.py
dluismendezpy/todo-api-django-react
94354f2f51d8a4fec9778ce3b3e215c1548bb943
[ "MIT" ]
1
2022-03-22T19:52:18.000Z
2022-03-22T19:52:18.000Z
api/serializers.py
dluismendezpy/todo-api-django-react
94354f2f51d8a4fec9778ce3b3e215c1548bb943
[ "MIT" ]
null
null
null
api/serializers.py
dluismendezpy/todo-api-django-react
94354f2f51d8a4fec9778ce3b3e215c1548bb943
[ "MIT" ]
null
null
null
# Django Rest Framework from rest_framework import serializers # Own from .models import Task class TaskSerializer(serializers.ModelSerializer): """Serializer for Task model""" class Meta: model = Task fields = "__all__"
19.076923
50
0.705645
27
248
6.296296
0.666667
0.152941
0
0
0
0
0
0
0
0
0
0
0.221774
248
12
51
20.666667
0.880829
0.209677
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
a7f01bab655e9b226a3101d16769f6d3a6961865
267
py
Python
neubiaswg5/helpers/__init__.py
Neubias-WG5/neubiaswg5-utilitles
b3f92c6a4fc66f6d646a8787c9f0f4a239d409c9
[ "Apache-2.0" ]
1
2021-05-27T16:39:17.000Z
2021-05-27T16:39:17.000Z
neubiaswg5/helpers/__init__.py
Neubias-WG5/neubiaswg5-utilitles
b3f92c6a4fc66f6d646a8787c9f0f4a239d409c9
[ "Apache-2.0" ]
2
2019-02-01T18:34:48.000Z
2019-03-22T14:02:53.000Z
neubiaswg5/helpers/__init__.py
Neubias-WG5/neubiaswg5-utilitles
b3f92c6a4fc66f6d646a8787c9f0f4a239d409c9
[ "Apache-2.0" ]
1
2019-03-21T23:51:44.000Z
2019-03-21T23:51:44.000Z
from .data_preparation import prepare_data from .data_upload import upload_data from .metric_upload import upload_metrics from .job_parsing import NeubiasJob, get_discipline __all__ = ["prepare_data", "upload_data", "upload_metrics", "NeubiasJob", "get_discipline"]
38.142857
91
0.82397
35
267
5.828571
0.4
0.147059
0.176471
0
0
0
0
0
0
0
0
0
0.093633
267
7
91
38.142857
0.842975
0
0
0
0
0
0.227612
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
c52898c3cd1cbbe8c264fd9bdc6dab392a02708e
50
py
Python
modules/2.79/bpy/types/ShaderNodeBsdfHair.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/ShaderNodeBsdfHair.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/ShaderNodeBsdfHair.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
class ShaderNodeBsdfHair: component = None
8.333333
25
0.72
4
50
9
1
0
0
0
0
0
0
0
0
0
0
0
0.24
50
5
26
10
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c548657ae636dd7f9046a4135bccde18537e611d
98
py
Python
src/generation/cil/__init__.py
harry1911/CoolCompiler
0eb4636bb50341d94f757b36d2362e9d03959046
[ "MIT" ]
null
null
null
src/generation/cil/__init__.py
harry1911/CoolCompiler
0eb4636bb50341d94f757b36d2362e9d03959046
[ "MIT" ]
null
null
null
src/generation/cil/__init__.py
harry1911/CoolCompiler
0eb4636bb50341d94f757b36d2362e9d03959046
[ "MIT" ]
null
null
null
__all__ = ['cil_hierarchy', 'cilL_hierarchy', 'cilParse', 'dataTypesCollector', 'inheritanceTree']
98
98
0.765306
8
98
8.625
0.875
0
0
0
0
0
0
0
0
0
0
0
0.061224
98
1
98
98
0.75
0
0
0
0
0
0.686869
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
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c555244d6262d61dd89d44012499b9d62f448de2
184
py
Python
vertex/urls.py
SoheilKhodayari/Graph
2cefa75da2dfc34e30c5f5784e180a5dc79d9095
[ "MIT" ]
1
2015-05-05T22:08:37.000Z
2015-05-05T22:08:37.000Z
vertex/urls.py
SoheilKhodayari/Graph
2cefa75da2dfc34e30c5f5784e180a5dc79d9095
[ "MIT" ]
null
null
null
vertex/urls.py
SoheilKhodayari/Graph
2cefa75da2dfc34e30c5f5784e180a5dc79d9095
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, url from vertex import views urlpatterns = patterns('', # ex: /vertex/5/ url(r'^(?P<user_id>\w+)/$', views.profile, name='profile'), )
20.444444
63
0.652174
26
184
4.576923
0.730769
0
0
0
0
0
0
0
0
0
0
0.006452
0.157609
184
8
64
23
0.76129
0.076087
0
0
0
0
0.154762
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
c56fd8d81834200bb639ac09cb1ab15be391636b
963
py
Python
scripts/lib/xpedite/__init__.py
dhruvshekhawat/Xpedite
e857cb623e22a4384265dafa8e8437f038f77b95
[ "Apache-2.0" ]
33
2021-01-21T20:05:54.000Z
2022-03-30T21:18:18.000Z
scripts/lib/xpedite/__init__.py
dhruvshekhawat/Xpedite
e857cb623e22a4384265dafa8e8437f038f77b95
[ "Apache-2.0" ]
15
2021-04-07T16:12:48.000Z
2021-11-29T20:05:39.000Z
scripts/lib/xpedite/__init__.py
dhruvshekhawat/Xpedite
e857cb623e22a4384265dafa8e8437f038f77b95
[ "Apache-2.0" ]
6
2021-05-27T12:45:33.000Z
2021-12-27T16:25:28.000Z
""" Xpedite package Xpedite is a probe based profiler to measure and optimise, performance of ultra-low-latency / real time systems. The main features include 1. Quantify how efficiently "a software stack" or "a section of code", is running in a target platform (CPU/OS). 2. Do Cycle accounting and bottlenec...
40.125
103
0.76947
125
963
5.92
0.736
0.059459
0.043243
0
0
0
0
0
0
0
0
0.005057
0.178609
963
23
104
41.869565
0.930468
0.698858
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
3d6fb1f5666af91f9e1e32b6a17a7b342ba4c9d1
320
py
Python
src/656A.py
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
2
2016-08-19T09:47:03.000Z
2016-10-01T10:15:03.000Z
src/656A.py
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
null
null
null
src/656A.py
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
1
2015-07-01T23:57:32.000Z
2015-07-01T23:57:32.000Z
n = int(input()) seq = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968] print(seq[n])
64
287
0.71875
43
320
5.348837
0.953488
0
0
0
0
0
0
0
0
0
0
0.754513
0.134375
320
4
288
80
0.075812
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3d7d0826057ef90453bd5a774513f90669badb4d
470
py
Python
ErrorHandler/error.py
umagnanasundaram2128/WolfTrack3.0
3af060899a886cbbe0871f98d554f5f694b3e0f1
[ "MIT" ]
2
2021-09-26T07:33:16.000Z
2021-09-30T06:07:47.000Z
ErrorHandler/error.py
umagnanasundaram2128/WolfTrack3.0
3af060899a886cbbe0871f98d554f5f694b3e0f1
[ "MIT" ]
36
2021-09-26T23:32:19.000Z
2021-09-30T22:54:39.000Z
ErrorHandler/error.py
ArpithaVijayakumar/WolfTrack
2cfef76fa8235625ef66650321d182fc929b8eda
[ "MIT" ]
7
2021-10-05T23:51:03.000Z
2021-11-15T03:34:01.000Z
from flask import jsonify, Blueprint, make_response, g, current_app from custom_error_function import * handle_err = Blueprint('errors', __name__) @handle_err.app_errorhandler(db_connection_issue) def db_connection_failed(e): return make_response('Not able to connect to the database, check you connection!', 500) ...
42.727273
91
0.793617
70
470
5.042857
0.642857
0.101983
0.067989
0.135977
0
0
0
0
0
0
0
0.021739
0.119149
470
11
92
42.727273
0.830918
0
0
0
0
0
0.250531
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
0.666667
0.222222
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
3d939597bc5b438000ae6b6ef598e2fed114acd8
27,515
py
Python
utensor_cgen/backend/operators.py
neil-tan/utensor_cgen
ffaf692bf6d1f8572039ad7e82e695f97b050cd2
[ "Apache-2.0" ]
null
null
null
utensor_cgen/backend/operators.py
neil-tan/utensor_cgen
ffaf692bf6d1f8572039ad7e82e695f97b050cd2
[ "Apache-2.0" ]
null
null
null
utensor_cgen/backend/operators.py
neil-tan/utensor_cgen
ffaf692bf6d1f8572039ad7e82e695f97b050cd2
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf8 -*- import os import idx2numpy as idx2np import numpy as np from utensor_cgen.logger import logger from utensor_cgen.transformer.optimizer import RefCntOptimizer from utensor_cgen.utils import NamescopedKWArgsParser from .snippets import * # pylint: disable=W0401,W0614 class OperatorFactory(): ...
41.816109
107
0.642631
3,277
27,515
4.996338
0.081782
0.065962
0.037379
0.059183
0.755207
0.73951
0.733891
0.699933
0.679839
0.675625
0
0.007395
0.262802
27,515
658
108
41.816109
0.799793
0.028857
0
0.653409
0
0
0.040498
0.001424
0
0
0
0.00152
0.003788
1
0.073864
false
0
0.013258
0.001894
0.215909
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
3d962bf1ba5a41967c21839dbad66dd328b232c7
582
py
Python
telemetry-pi/driver/Driver.py
USCSolarCarStrategyTeam/driver-display
a9570f5c7ea98a966f95d6ddc32b88e22e29bd56
[ "Apache-2.0" ]
null
null
null
telemetry-pi/driver/Driver.py
USCSolarCarStrategyTeam/driver-display
a9570f5c7ea98a966f95d6ddc32b88e22e29bd56
[ "Apache-2.0" ]
2
2017-11-04T22:44:41.000Z
2018-03-23T02:14:20.000Z
telemetry-pi/driver/Driver.py
USCSolarCarStrategyTeam/telemetry-pi
a9570f5c7ea98a966f95d6ddc32b88e22e29bd56
[ "Apache-2.0" ]
5
2017-10-07T22:54:09.000Z
2018-01-27T21:20:51.000Z
import IDriver import threading import time from random import randint class Driver(IDriver.IInterface): def __init__(self, RPMDriver): self.RPMDriver = RPMDriver def getRPM(self): return self.RPMDriver.getRPM() def getBatteryTemperature(self, index): print(index) def getConnection(self): return ...
17.117647
66
0.716495
66
582
6.257576
0.409091
0.121065
0.094431
0.138015
0
0
0
0
0
0
0
0.016949
0.189003
582
33
67
17.636364
0.858051
0
0
0
0
0
0
0
0
0
0
0
0
1
0.411765
false
0
0.235294
0.294118
1
0.058824
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
3d9645203180af9f24a3908304e5a0ae73caad42
177
py
Python
pepys_timeline/extensions.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
4
2021-05-14T08:22:47.000Z
2022-02-04T19:48:25.000Z
pepys_timeline/extensions.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
1,083
2019-11-06T17:01:07.000Z
2022-03-25T10:26:51.000Z
pepys_timeline/extensions.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
4
2019-11-06T12:00:45.000Z
2021-06-09T04:18:28.000Z
from flask_cachebuster import CacheBuster from flask_cors import CORS cors = CORS() cache_buster = CacheBuster(config={"extensions": [".js", ".css", ".csv"], "hash_size": 5})
25.285714
90
0.717514
23
177
5.347826
0.652174
0.146341
0
0
0
0
0
0
0
0
0
0.00641
0.118644
177
6
91
29.5
0.782051
0
0
0
0
0
0.169492
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