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
a2bd0fd34368e4604144c29b0f69a07f59c44be6
12,878
py
Python
ckanext-hdx_org_group/ckanext/hdx_org_group/tests/test_controller/test_member_controller.py
alexandru-m-g/hdx-ckan
647f1f23f0505fa195601245b758edcaf4d25985
[ "Apache-2.0" ]
null
null
null
ckanext-hdx_org_group/ckanext/hdx_org_group/tests/test_controller/test_member_controller.py
alexandru-m-g/hdx-ckan
647f1f23f0505fa195601245b758edcaf4d25985
[ "Apache-2.0" ]
null
null
null
ckanext-hdx_org_group/ckanext/hdx_org_group/tests/test_controller/test_member_controller.py
alexandru-m-g/hdx-ckan
647f1f23f0505fa195601245b758edcaf4d25985
[ "Apache-2.0" ]
null
null
null
''' Created on Jun 23, 2015 @author: alexandru-m-g ''' import logging import mock import ckan.model as model import ckan.common as common import ckan.lib.helpers as h import ckan.lib.mailer as mailer import ckanext.hdx_users.controllers.mailer as hdx_mailer import ckanext.hdx_theme.tests.hdx_test_base as hdx_test_b...
43.802721
115
0.656701
1,613
12,878
4.962182
0.115933
0.028986
0.026237
0.035982
0.743378
0.720015
0.68928
0.663918
0.639805
0.614693
0
0.004513
0.225734
12,878
293
116
43.952218
0.798215
0.308045
0
0.431373
0
0
0.201226
0.076836
0
0
0
0
0.058824
1
0.084967
false
0.006536
0.071895
0.013072
0.196078
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
0
0
0
0
0
0
0
0
2
a2c23bf73602d96dd9316f0d033a88b8764a5ac4
3,063
py
Python
fakenet/diverters/fnconfig.py
AzzOnFire/flare-fakenet-ng
bafd7e97b61cd43190dee7f1d2c3f4388488af76
[ "Apache-2.0" ]
null
null
null
fakenet/diverters/fnconfig.py
AzzOnFire/flare-fakenet-ng
bafd7e97b61cd43190dee7f1d2c3f4388488af76
[ "Apache-2.0" ]
null
null
null
fakenet/diverters/fnconfig.py
AzzOnFire/flare-fakenet-ng
bafd7e97b61cd43190dee7f1d2c3f4388488af76
[ "Apache-2.0" ]
null
null
null
class Config(object): """Configuration primitives. Inherit from or instantiate this class and call configure() when you've got a dictionary of configuration values you want to process and query. Would be nice to have _expand_cidrlist() so blacklists can specify ranges. """ def __init__(self, ...
36.903614
79
0.614757
383
3,063
4.81201
0.37859
0.030385
0.028215
0.041237
0.097667
0.077048
0.047748
0.047748
0.047748
0.047748
0
0.00182
0.282403
3,063
82
80
37.353659
0.83667
0.284035
0
0.088889
0
0
0.024733
0
0
0
0
0
0
1
0.266667
false
0
0
0.155556
0.466667
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
0
0
0
2
a2d972366674ffee05dbeed1f54a9dc88de6bb40
163
py
Python
MyEircode.py
MrBrianMonaghan/mapping
1b525eaaad3b22709a53167b46c901ece365ecab
[ "Apache-2.0" ]
null
null
null
MyEircode.py
MrBrianMonaghan/mapping
1b525eaaad3b22709a53167b46c901ece365ecab
[ "Apache-2.0" ]
null
null
null
MyEircode.py
MrBrianMonaghan/mapping
1b525eaaad3b22709a53167b46c901ece365ecab
[ "Apache-2.0" ]
null
null
null
import selenium from selenium import webdriver try: browser = webdriver.Firefox() browser.get('mikekus.com') except KeyboardInterrupt: browser.quit()
18.111111
33
0.742331
18
163
6.722222
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.165644
163
8
34
20.375
0.889706
0
0
0
0
0
0.067485
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
0
0
0
2
a2dec2415ed78800e66aae16391df2b37d8f56eb
1,193
py
Python
pysoup/venv/__init__.py
illBeRoy/pysoup
742fd6630e1be27c275cb8dc6ee94412472cb20b
[ "MIT" ]
4
2016-02-21T12:40:44.000Z
2019-06-13T13:23:19.000Z
pysoup/venv/__init__.py
illBeRoy/pysoup
742fd6630e1be27c275cb8dc6ee94412472cb20b
[ "MIT" ]
null
null
null
pysoup/venv/__init__.py
illBeRoy/pysoup
742fd6630e1be27c275cb8dc6ee94412472cb20b
[ "MIT" ]
1
2020-07-16T12:22:12.000Z
2020-07-16T12:22:12.000Z
import os.path from twisted.internet import defer import pysoup.utils class Virtualenv(object): def __init__(self, display_pip, path): self._display_pipe = display_pip self._path = path @property def path(self): return self._path @property def venv_path(self): ...
29.097561
134
0.668064
154
1,193
4.980519
0.38961
0.071708
0.078227
0.041721
0.174707
0.174707
0.174707
0
0
0
0
0.007471
0.214585
1,193
40
135
29.825
0.811099
0
0
0.178571
0
0
0.177703
0
0
0
0
0
0
1
0.214286
false
0
0.107143
0.107143
0.464286
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
0
0
0
2
a2fcecf1decf4817a91d5d880a0ea9320b043380
238
py
Python
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex029.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex029.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex029.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
velocidade = float(input("Digite a sua velocidade em Km/h: ")) if velocidade > 80: amais = velocidade - 80 amais = amais*7 print("Você foi multado, devera pagar uma multa de: R${:.2f}".format(amais)) print("FIM, não se mate")
34
80
0.663866
37
238
4.27027
0.783784
0.151899
0.21519
0
0
0
0
0
0
0
0
0.03125
0.193277
238
6
81
39.666667
0.791667
0
0
0
0
0
0.428571
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0c01e08aaee863025867488824fa6692ef88b661
468
py
Python
Python_Advanced_Softuni/Comprehensions_Exericises/venv/number_classification.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
1
2020-12-14T23:25:19.000Z
2020-12-14T23:25:19.000Z
Python_Advanced_Softuni/Comprehensions_Exericises/venv/number_classification.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
null
null
null
Python_Advanced_Softuni/Comprehensions_Exericises/venv/number_classification.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
null
null
null
elements = [int(x) for x in input().split(', ')] even_numbers = [x for x in elements if x % 2 == 0] odd_numbers = [x for x in elements if x % 2 != 0] positive = [x for x in elements if x >= 0] negative = [x for x in elements if x < 0] print(f"Positive: {', '.join(str(x) for x in positive)}") print(f"Negative: {', '.j...
36
57
0.613248
90
468
3.144444
0.211111
0.127208
0.159011
0.222615
0.522968
0.522968
0.325088
0.325088
0.190813
0.190813
0
0.015748
0.185897
468
12
58
39
0.727034
0
0
0
0
0
0.40257
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
0c097274adeceb2e1e44250ea00c4016e23c60ed
191
py
Python
Desafios/desafio009.py
LucasHenrique-dev/Exercicios-Python
b1f6ca56ea8e197a89a044245419dc6079bdb9c7
[ "MIT" ]
1
2020-04-09T23:18:03.000Z
2020-04-09T23:18:03.000Z
Desafios/desafio009.py
LucasHenrique-dev/Exercicios-Python
b1f6ca56ea8e197a89a044245419dc6079bdb9c7
[ "MIT" ]
null
null
null
Desafios/desafio009.py
LucasHenrique-dev/Exercicios-Python
b1f6ca56ea8e197a89a044245419dc6079bdb9c7
[ "MIT" ]
null
null
null
n1 = int(input('Digite um número e veja qual a sua tabuada: ')) n = 0 print('{} X {:2} = {:2}'.format(n1, 0, n1*n)) while n < 10: n += 1 print('{} X {:2} = {:2}'.format(n1, n, n1*n))
27.285714
63
0.502618
37
191
2.594595
0.567568
0.09375
0.145833
0.166667
0.333333
0.333333
0
0
0
0
0
0.095238
0.230366
191
6
64
31.833333
0.557823
0
0
0
0
0
0.397906
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0c0beaeefd6502afde93d7709e2ca76e12632ed9
2,560
py
Python
save.py
regismeyssonnier/NeuralNetwork
c998b9523ed02287e1c811d73b0757270dee773c
[ "MIT" ]
null
null
null
save.py
regismeyssonnier/NeuralNetwork
c998b9523ed02287e1c811d73b0757270dee773c
[ "MIT" ]
null
null
null
save.py
regismeyssonnier/NeuralNetwork
c998b9523ed02287e1c811d73b0757270dee773c
[ "MIT" ]
null
null
null
def write_file(filess, T): f = open(filess, "w") for o in T: f.write("[\n") for l in o: f.write(str(l)+"\n") f.write("]\n") f.close() def save_hidden_weight(nb_hidden, hiddenw): for i in range(nb_hidden): write_file("save/base_nn_hid_" + str(i+1) + "w.nn", hiddenw[i]) def load_hiddenw(filess, hi...
17.902098
71
0.636328
429
2,560
3.564103
0.125874
0.083715
0.031393
0.057554
0.7724
0.717462
0.644212
0.568345
0.507521
0.507521
0
0.007537
0.170703
2,560
142
72
18.028169
0.712671
0.003125
0
0.365854
0
0
0.139772
0.097369
0
0
0
0
0
1
0.219512
false
0
0
0
0.219512
0.04878
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0c0c0154d635c140279cd61ef15b6dfc6c89cd23
755
py
Python
test_knot_hasher.py
mmokko/aoc2017
0732ac440775f9e6bd4a8447c665c9b0e6969f74
[ "MIT" ]
null
null
null
test_knot_hasher.py
mmokko/aoc2017
0732ac440775f9e6bd4a8447c665c9b0e6969f74
[ "MIT" ]
null
null
null
test_knot_hasher.py
mmokko/aoc2017
0732ac440775f9e6bd4a8447c665c9b0e6969f74
[ "MIT" ]
null
null
null
from unittest import TestCase from day10 import KnotHasher class TestKnotHasher(TestCase): def test_calc(self): sut = KnotHasher(5, [3, 4, 1, 5]) self.assertEqual(12, sut.calc()) def test_hash1(self): sut = KnotHasher(256, '') self.assertEqual('a2582a3a0e66e6e86e3812dcb672a272...
30.2
72
0.658278
83
755
5.927711
0.385542
0.071138
0.172764
0.162602
0.089431
0.089431
0
0
0
0
0
0.186555
0.211921
755
24
73
31.458333
0.640336
0
0
0
0
0
0.193377
0.169536
0
0
0
0
0.277778
1
0.277778
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0c1456a33812aa7157896227520f3def0676ad91
885
py
Python
envdsys/envcontacts/apps.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
1
2021-11-06T19:22:53.000Z
2021-11-06T19:22:53.000Z
envdsys/envcontacts/apps.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
25
2019-06-18T20:40:36.000Z
2021-07-23T20:56:48.000Z
envdsys/envcontacts/apps.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
null
null
null
from django.apps import AppConfig class EnvcontactsConfig(AppConfig): name = 'envcontacts' # def ready(self) -> None: # from envnet.registry.registry import ServiceRegistry # try: # from setup.ui_server_conf import run_config # host = run_config["HOST"]["name"] # ...
29.5
64
0.523164
79
885
5.734177
0.518987
0.07947
0.086093
0.06181
0.172185
0.172185
0.172185
0.172185
0.172185
0
0
0.007042
0.358192
885
30
65
29.5
0.790493
0.728814
0
0
0
0
0.050459
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0c1eb2fd9329de0c031fe686c52f4c0e67ec1227
1,103
py
Python
tempest/api/hybrid_cloud/compute/flavors/test_flavors_operations.py
Hybrid-Cloud/hybrid-tempest
319e90c6fa6e46925b495c93cd5258f088a30ec0
[ "Apache-2.0" ]
null
null
null
tempest/api/hybrid_cloud/compute/flavors/test_flavors_operations.py
Hybrid-Cloud/hybrid-tempest
319e90c6fa6e46925b495c93cd5258f088a30ec0
[ "Apache-2.0" ]
null
null
null
tempest/api/hybrid_cloud/compute/flavors/test_flavors_operations.py
Hybrid-Cloud/hybrid-tempest
319e90c6fa6e46925b495c93cd5258f088a30ec0
[ "Apache-2.0" ]
null
null
null
import testtools from oslo_log import log from tempest.api.compute import base import tempest.api.compute.flavors.test_flavors as FlavorsV2Test import tempest.api.compute.flavors.test_flavors_negative as FlavorsListWithDetailsNegativeTest import tempest.api.compute.flavors.test_flavors_negative as FlavorDetailsNegativ...
36.766667
126
0.853128
111
1,103
8.369369
0.369369
0.071044
0.073197
0.074273
0.302476
0.302476
0.302476
0.258342
0.258342
0
0
0.003949
0.081596
1,103
29
127
38.034483
0.913129
0.06165
0
0.2
0
0
0.056919
0
0
0
0
0
0
1
0
false
0
0.55
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0c34007b8ed98fbad90350a4894f2960e309e1be
3,306
py
Python
connect_box/data.py
jtru/python-connect-box
2d26923e966fbb319760da82e3e71103018ded0b
[ "MIT" ]
null
null
null
connect_box/data.py
jtru/python-connect-box
2d26923e966fbb319760da82e3e71103018ded0b
[ "MIT" ]
null
null
null
connect_box/data.py
jtru/python-connect-box
2d26923e966fbb319760da82e3e71103018ded0b
[ "MIT" ]
null
null
null
"""Handle Data attributes.""" from datetime import datetime from ipaddress import IPv4Address, IPv6Address, ip_address as convert_ip from typing import Iterable, Union import attr @attr.s class Device: """A single device.""" mac: str = attr.ib() hostname: str = attr.ib(cmp=False) ip: Union[IPv4Addre...
24.857143
82
0.635209
424
3,306
4.915094
0.32783
0.190019
0.15547
0.042226
0.238964
0.185221
0.143954
0.12476
0.075816
0.033589
0
0.007813
0.22565
3,306
132
83
25.045455
0.80625
0.12311
0
0.23913
0
0
0.003857
0
0
0
0
0
0
1
0
true
0
0.043478
0
0.869565
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
0
0
1
0
0
2
0c380570b168add317dd67b7037f3b6ec7e93c2b
392
py
Python
pages/main_page.py
thaidem/selenium-training-page-objects
1f37a2b5287a502295bb57050c95455d68c2d3eb
[ "Apache-2.0" ]
null
null
null
pages/main_page.py
thaidem/selenium-training-page-objects
1f37a2b5287a502295bb57050c95455d68c2d3eb
[ "Apache-2.0" ]
null
null
null
pages/main_page.py
thaidem/selenium-training-page-objects
1f37a2b5287a502295bb57050c95455d68c2d3eb
[ "Apache-2.0" ]
null
null
null
from selenium.webdriver.support.wait import WebDriverWait class MainPage: def __init__(self, driver): self.driver = driver self.wait = WebDriverWait(driver, 10) def open(self): self.driver.get("https://litecart.stqa.ru/en/") return self @property def product_item(sel...
23.058824
67
0.670918
48
392
5.291667
0.625
0.15748
0
0
0
0
0
0
0
0
0
0.006557
0.221939
392
16
68
24.5
0.82623
0
0
0
0
0
0.091837
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.090909
0.636364
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
0
1
0
0
2
0c3b1affbabd1c858deb93d0a0302a8d675091d1
8,090
py
Python
tools/xenserver/cleanup_sm_locks.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
tools/xenserver/cleanup_sm_locks.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
tools/xenserver/cleanup_sm_locks.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'#!/usr/bin/env python' nl|'\n' nl|'\n' comment|'# Copyright 2013 OpenStack Foundation' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License");' nl|'\n' comment|'# you may not use this file except in compliance with the License.' nl|'\n' comment|'# You m...
13.758503
495
0.591595
1,208
8,090
3.918874
0.194536
0.108999
0.082383
0.070976
0.581749
0.469793
0.362273
0.291297
0.256232
0.241867
0
0.005838
0.131891
8,090
587
496
13.781942
0.668233
0
0
0.877342
0
0.001704
0.3822
0
0
0
0
0
0
1
0
true
0
0.008518
0
0.008518
0.015332
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
0
0
1
0
0
0
0
0
0
2
0c4b5ba22b3ba7761012b4918404bffd6258a269
370
py
Python
network_monitor/__init__.py
brennanhfredericks/network-monitor-client
618d222bb015662c3958f0100a965f3c71b29d32
[ "MIT" ]
null
null
null
network_monitor/__init__.py
brennanhfredericks/network-monitor-client
618d222bb015662c3958f0100a965f3c71b29d32
[ "MIT" ]
null
null
null
network_monitor/__init__.py
brennanhfredericks/network-monitor-client
618d222bb015662c3958f0100a965f3c71b29d32
[ "MIT" ]
null
null
null
import argparse import netifaces import sys import signal import os import asyncio from asyncio import CancelledError, Task from typing import Optional, List, Any from .services import ( Service_Manager, Packet_Parser, Packet_Submitter, Packet_Filter, ) from .configurations import generate_configu...
16.818182
93
0.802703
45
370
6.4
0.644444
0
0
0
0
0
0
0
0
0
0
0
0.162162
370
21
94
17.619048
0.929032
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
0c50ef47cd53ea48685602b6b3d98c7fea184c96
263
py
Python
setup.py
thevoxium/netspeed
9e16a49d64da90a173ef9eaf491d4245c1023105
[ "MIT" ]
null
null
null
setup.py
thevoxium/netspeed
9e16a49d64da90a173ef9eaf491d4245c1023105
[ "MIT" ]
null
null
null
setup.py
thevoxium/netspeed
9e16a49d64da90a173ef9eaf491d4245c1023105
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='netspeed', version='0.1', py_modules=['netspeed'], install_requires=[ 'Click', 'pyspeedtest' ], entry_points=''' [console_scripts] netspeed=netspeed:cli ''', )
16.4375
29
0.558935
24
263
5.958333
0.833333
0
0
0
0
0
0
0
0
0
0
0.010811
0.296578
263
15
30
17.533333
0.762162
0
0
0
0
0
0.365019
0.079848
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
0
0
0
0
0
2
0c5549700625606ae1bd959bf730c22c941eb303
4,255
py
Python
bottleneck/tests/list_input_test.py
stroxler/bottleneck
6e91bcb8a21170588ee9a3f2c425a4e307ae05de
[ "BSD-2-Clause" ]
2
2015-05-26T09:06:32.000Z
2015-05-26T09:06:46.000Z
bottleneck/tests/list_input_test.py
stroxler/bottleneck
6e91bcb8a21170588ee9a3f2c425a4e307ae05de
[ "BSD-2-Clause" ]
null
null
null
bottleneck/tests/list_input_test.py
stroxler/bottleneck
6e91bcb8a21170588ee9a3f2c425a4e307ae05de
[ "BSD-2-Clause" ]
null
null
null
"Test list input." # For support of python 2.5 from __future__ import with_statement import numpy as np from numpy.testing import assert_equal, assert_array_almost_equal import bottleneck as bn # --------------------------------------------------------------------------- # Check that functions can handle list input ...
22.632979
77
0.636193
636
4,255
4.064465
0.16195
0.069633
0.151644
0.173308
0.15087
0
0
0
0
0
0
0.013918
0.206345
4,255
187
78
22.754011
0.751555
0.172268
0
0
0
0
0.157869
0
0
0
0
0
0.02521
1
0.260504
false
0
0.033613
0
0.294118
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0c587de94c3ee270415110f012b7d77cb256c5a4
1,475
py
Python
hanzo/warcindex.py
ukwa/warctools
f74061382d6bc37b6eec889a3aec26c5748d90d3
[ "MIT" ]
1
2020-09-03T00:51:50.000Z
2020-09-03T00:51:50.000Z
hanzo/warcindex.py
martinsbalodis/warc-tools
d9d5e708e00bd0f6d9d0c2d95cbc9332f51b05e4
[ "MIT" ]
null
null
null
hanzo/warcindex.py
martinsbalodis/warc-tools
d9d5e708e00bd0f6d9d0c2d95cbc9332f51b05e4
[ "MIT" ]
1
2021-04-12T01:45:14.000Z
2021-04-12T01:45:14.000Z
#!/usr/bin/env python """warcindex - dump warc index""" import os import sys import sys import os.path from optparse import OptionParser from .warctools import WarcRecord, expand_files parser = OptionParser(usage="%prog [options] warc warc warc") parser.add_option("-l", "--limit", dest="limit") parser.add_option(...
23.412698
114
0.633898
195
1,475
4.65641
0.451282
0.039648
0.066079
0.035242
0.105727
0
0
0
0
0
0
0.002643
0.230508
1,475
62
115
23.790323
0.797357
0.030508
0
0.121212
0
0.030303
0.209052
0
0
0
0
0
0
0
null
null
0.060606
0.181818
null
null
0.060606
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
1
0
0
1
0
0
0
0
0
2
0c5f5d9ac8242efc8ccf5bafaa6e567b8ee2cc86
5,808
py
Python
cog/cli/user_argparser.py
Demonware/cog
b206066ebfd5faae000b1a1708988db8ca592b94
[ "BSD-3-Clause" ]
2
2016-06-02T02:15:56.000Z
2016-08-16T08:37:27.000Z
cog/cli/user_argparser.py
Demonware/cog
b206066ebfd5faae000b1a1708988db8ca592b94
[ "BSD-3-Clause" ]
null
null
null
cog/cli/user_argparser.py
Demonware/cog
b206066ebfd5faae000b1a1708988db8ca592b94
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import sys import argparse arg_no = len(sys.argv) tool_parser = argparse.ArgumentParser(add_help=False) tool_subparsers = tool_parser.add_subparsers(help='commands', dest='command') # The rename command. rename_parser = tool_subparsers.add_parser('rename', help='rename an existing user acco...
35.2
118
0.722968
767
5,808
5.295958
0.147327
0.112999
0.192516
0.164205
0.616691
0.522649
0.483013
0.447563
0.429345
0.383063
0
0.006865
0.097107
5,808
164
119
35.414634
0.767735
0.026171
0
0.318841
0
0
0.35341
0
0
0
0
0
0
1
0
false
0.014493
0.014493
0
0.014493
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a7660deda124d1efd2085f69810453398abdc730
324
py
Python
Aula01 e exercicios/exercicio_06.py
Dorcival/PYTHON
0dc3fa53699d40b21c6ed721a190ffb4f8404345
[ "MIT" ]
null
null
null
Aula01 e exercicios/exercicio_06.py
Dorcival/PYTHON
0dc3fa53699d40b21c6ed721a190ffb4f8404345
[ "MIT" ]
null
null
null
Aula01 e exercicios/exercicio_06.py
Dorcival/PYTHON
0dc3fa53699d40b21c6ed721a190ffb4f8404345
[ "MIT" ]
null
null
null
# Conversor de CELSIUS para FAHRENHEIT v.0.1 # Por Dorcival Leite 202003362174 import time print("CONVERTER TEMPERATURA DE CELSIUS PARA FAHRENHEIT\n") c = float(input("Digite a temperatura em CELSIUS: ")) f = float((9 * c)/5)+32 print("\nA temperatura de", c, "graus CELSIUS é igual a", f, "graus FAHRENHEIT") time.sleep...
40.5
80
0.734568
52
324
4.576923
0.653846
0.07563
0.109244
0.193277
0
0
0
0
0
0
0
0.071685
0.138889
324
8
81
40.5
0.781362
0.228395
0
0
0
0
0.564516
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a76da74714c837b30e9c8d8f4fbec4b1ea99f85f
211
py
Python
exerc18/18.py
WilliamSampaio/ExerciciosPython
4317d242d2944b91b5d455da8a4ac3a33e154385
[ "MIT" ]
null
null
null
exerc18/18.py
WilliamSampaio/ExerciciosPython
4317d242d2944b91b5d455da8a4ac3a33e154385
[ "MIT" ]
null
null
null
exerc18/18.py
WilliamSampaio/ExerciciosPython
4317d242d2944b91b5d455da8a4ac3a33e154385
[ "MIT" ]
null
null
null
import os numeros = [0,0] numeros[0] = float(input('Digite o numero 1: ')) numeros[1] = float(input('Digite o numero 2: ')) print(f'o maior valor entre os dois é: {max(numeros)}') os.system('pause')
21.1
56
0.630332
35
211
3.8
0.6
0.120301
0.240602
0.255639
0.345865
0
0
0
0
0
0
0.035088
0.189573
211
10
57
21.1
0.74269
0
0
0
0
0
0.433498
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
0
0
2
a77112792896e19b96e12810cacf0861b725bf41
3,873
py
Python
ooobuild/lo/packages/x_data_sink_encr_support.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/packages/x_data_sink_encr_support.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/packages/x_data_sink_encr_support.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http: // www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
39.520408
178
0.694036
467
3,873
5.657388
0.364026
0.034065
0.056775
0.06813
0.323997
0.286147
0.179031
0.16162
0.068887
0.051476
0
0.020333
0.225407
3,873
97
179
39.927835
0.860333
0.644203
0
0.238095
0
0
0.2364
0.207715
0
0
0
0
0
1
0.238095
false
0
0.190476
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a7779af144a3ba68deaf47c8047f304427889fe5
2,002
py
Python
organizational_area/admin.py
mspasiano/uniTicket
1e8e4c2274293e751deea5b8b1fb4116136c5641
[ "Apache-2.0" ]
null
null
null
organizational_area/admin.py
mspasiano/uniTicket
1e8e4c2274293e751deea5b8b1fb4116136c5641
[ "Apache-2.0" ]
null
null
null
organizational_area/admin.py
mspasiano/uniTicket
1e8e4c2274293e751deea5b8b1fb4116136c5641
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import * from .admin_inlines import * class AbstractAdmin(admin.ModelAdmin): list_display = ('name', 'description') class Media: js = ('js/textarea-autosize.js',) css = {'all': ('css/textarea-small.css',),} @admin.register(OrganizationalStructur...
29.014493
68
0.700799
165
2,002
8.363636
0.321212
0.065942
0.034783
0.056522
0.418841
0.333333
0.333333
0.282609
0.204348
0.204348
0
0
0.167832
2,002
68
69
29.441176
0.828331
0.258741
0
0.1875
0
0
0.155208
0.063308
0
0
0
0
0
1
0
false
0.0625
0.09375
0
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
0
0
1
0
0
1
0
0
2
a779d1a47d9473c22bbee36fab9477af4aad4943
228
py
Python
01-logica-de-programacao-e-algoritmos/Aula 04/1/exercicio01.py
rafaelbarretomg/Uninter
1f84b0103263177122663e991db3a8aeb106a959
[ "MIT" ]
null
null
null
01-logica-de-programacao-e-algoritmos/Aula 04/1/exercicio01.py
rafaelbarretomg/Uninter
1f84b0103263177122663e991db3a8aeb106a959
[ "MIT" ]
null
null
null
01-logica-de-programacao-e-algoritmos/Aula 04/1/exercicio01.py
rafaelbarretomg/Uninter
1f84b0103263177122663e991db3a8aeb106a959
[ "MIT" ]
null
null
null
# Exercicio 01 Tuplas x = int(input('Digite o primeiro numero: ')) y = int(input('Digite o segundo numero: ')) cont = 1 soma = x while cont < y: soma = soma + x cont = cont + 1 print('O resultado eh: {}' .format(soma))
20.727273
44
0.618421
36
228
3.916667
0.555556
0.113475
0.198582
0.212766
0
0
0
0
0
0
0
0.022727
0.22807
228
10
45
22.8
0.778409
0.083333
0
0
0
0
0.334951
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
0
0
2
a77a0a8078a541187f7e349449f50c15dd027ebe
832
py
Python
docs/OOPS/Accessing_pvt_var2.py
munyumunyu/Python-for-beginners
335d001d4b8f13af71f660beed0b7f5fe313aa3b
[ "MIT" ]
158
2018-10-03T23:36:48.000Z
2022-03-25T00:16:00.000Z
docs/OOPS/Accessing_pvt_var2.py
munyumunyu/Python-for-beginners
335d001d4b8f13af71f660beed0b7f5fe313aa3b
[ "MIT" ]
10
2018-10-11T03:52:28.000Z
2019-12-04T02:51:28.000Z
docs/OOPS/Accessing_pvt_var2.py
munyumunyu/Python-for-beginners
335d001d4b8f13af71f660beed0b7f5fe313aa3b
[ "MIT" ]
40
2018-10-03T10:47:28.000Z
2022-02-22T19:55:46.000Z
''' To have a error free way of accessing and updating private variables, we create specific methods for this. Those methods which are meant to set a value to a private variable are called setter methods and methods meant to access private variable values are called getter methods. The below code is an example of g...
32
107
0.71274
123
832
4.634146
0.471545
0.205263
0.089474
0
0
0
0
0
0
0
0
0.030864
0.221154
832
25
108
33.28
0.848765
0.409856
0
0
0
0
0.010352
0
0
0
0
0
0
1
0.214286
false
0
0
0.071429
0.357143
0.071429
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
a7855fa0e107181fe9f7c866727366717fbbb9d3
727
py
Python
fixtures/requests.py
AzatAza/december-api-tests
dd120fd0c479b035dbe84ccd1fb1dd687d84af5d
[ "Apache-2.0" ]
null
null
null
fixtures/requests.py
AzatAza/december-api-tests
dd120fd0c479b035dbe84ccd1fb1dd687d84af5d
[ "Apache-2.0" ]
null
null
null
fixtures/requests.py
AzatAza/december-api-tests
dd120fd0c479b035dbe84ccd1fb1dd687d84af5d
[ "Apache-2.0" ]
null
null
null
import requests from requests import Response class Client: @staticmethod def request(method: str, url: str, **kwargs) -> Response: """ Request method method: method for the new Request object: GET, OPTIONS, HEAD, POST, PUT, PATCH, or DELETE. # noqa url – URL for the new Reques...
42.764706
119
0.645117
98
727
4.826531
0.489796
0.082452
0.038055
0.067653
0.093023
0
0
0
0
0
0
0
0.277854
727
17
120
42.764706
0.893333
0.618982
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
a797c1cadcd8bbf1b052c2b8f77c7e0d396cdcfb
271
py
Python
src/ralph/api/__init__.py
DoNnMyTh/ralph
97b91639fa68965ad3fd9d0d2652a6545a2a5b72
[ "Apache-2.0" ]
1,668
2015-01-01T12:51:20.000Z
2022-03-29T09:05:35.000Z
src/ralph/api/__init__.py
hq-git/ralph
e2448caf02d6e5abfd81da2cff92aefe0a534883
[ "Apache-2.0" ]
2,314
2015-01-02T13:26:26.000Z
2022-03-29T04:06:03.000Z
src/ralph/api/__init__.py
hq-git/ralph
e2448caf02d6e5abfd81da2cff92aefe0a534883
[ "Apache-2.0" ]
534
2015-01-05T12:40:28.000Z
2022-03-29T21:10:12.000Z
from ralph.api.serializers import RalphAPISerializer from ralph.api.viewsets import RalphAPIViewSet, RalphReadOnlyAPIViewSet from ralph.api.routers import router __all__ = [ 'RalphAPISerializer', 'RalphAPIViewSet', 'RalphReadOnlyAPIViewSet', 'router', ]
24.636364
71
0.778598
24
271
8.625
0.5
0.130435
0.173913
0
0
0
0
0
0
0
0
0
0.140221
271
10
72
27.1
0.888412
0
0
0
0
0
0.228782
0.084871
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
a7a176d1745c365cc7c57002a3194eb70a8c838f
80
py
Python
UDTherapy/__init__.py
JonSn0w/Urban-Dictionary-Therapy
8257cd3883bcef31207c2b089197ee9b0788727f
[ "MIT" ]
3
2017-05-08T11:59:51.000Z
2017-06-20T22:36:07.000Z
UDTherapy/__init__.py
JonSn0w/Urban-Dictionary-Therapy
8257cd3883bcef31207c2b089197ee9b0788727f
[ "MIT" ]
null
null
null
UDTherapy/__init__.py
JonSn0w/Urban-Dictionary-Therapy
8257cd3883bcef31207c2b089197ee9b0788727f
[ "MIT" ]
null
null
null
name = 'Urban Dictionary Therapy' __all__ = ['UDTherapy', 'helper']
16
33
0.6
7
80
6.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.2625
80
4
34
20
0.745763
0
0
0
0
0
0.4875
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a7b495865e605d6301abb8d08c5cad2ee915a172
7,369
py
Python
tests/unit/utils/test_attributes.py
pyqgis/plutil
79df2596e4e0340f3765ccb5bdfd4cc1d01fcb7d
[ "MIT" ]
null
null
null
tests/unit/utils/test_attributes.py
pyqgis/plutil
79df2596e4e0340f3765ccb5bdfd4cc1d01fcb7d
[ "MIT" ]
null
null
null
tests/unit/utils/test_attributes.py
pyqgis/plutil
79df2596e4e0340f3765ccb5bdfd4cc1d01fcb7d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Unit tests for Attributes. """ from __future__ import unicode_literals from __future__ import print_function import logging import os import shutil import tempfile from unittest import TestCase, SkipTest from unittest.mock import MagicMock from qgis.PyQt.QtCore import QVariant from qgis.co...
39.832432
75
0.639707
875
7,369
5.237714
0.128
0.134192
0.142047
0.09077
0.743618
0.713943
0.655248
0.600262
0.548767
0.542221
0
0.028641
0.218211
7,369
184
76
40.048913
0.766881
0.006649
0
0.522013
0
0
0.048003
0
0
0
0
0
0.471698
1
0.075472
false
0
0.069182
0
0.163522
0.006289
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
0
0
2
a7c28ef23aa63e38de4b879a5620a01103796308
164
py
Python
src/server.py
sqweelygig/a-pi-api
7c83bf5d1a00e01a45edc7fda9b4887bf02b064a
[ "Apache-2.0" ]
null
null
null
src/server.py
sqweelygig/a-pi-api
7c83bf5d1a00e01a45edc7fda9b4887bf02b064a
[ "Apache-2.0" ]
null
null
null
src/server.py
sqweelygig/a-pi-api
7c83bf5d1a00e01a45edc7fda9b4887bf02b064a
[ "Apache-2.0" ]
null
null
null
import RPi.GPIO as GPIO import connexion if __name__ == '__main__': app = connexion.App('a-pi-api') app.add_api('v0/spec.yml') app.run(host='0.0.0.0', port=80)
20.5
33
0.682927
31
164
3.322581
0.677419
0.058252
0.058252
0
0
0
0
0
0
0
0
0.048611
0.121951
164
7
34
23.428571
0.666667
0
0
0
0
0
0.207317
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
2
a7cb29cc32a2319fccf961ffb48796199a5ff0d3
1,110
py
Python
jskparser/ast/stmt/ifstmt.py
natebragg/java-sketch
f5ac26f2cc46ae4556f9a61c55afd37f55c961ff
[ "MIT" ]
15
2015-12-15T18:33:50.000Z
2021-09-29T11:48:54.000Z
jskparser/ast/stmt/ifstmt.py
natebragg/java-sketch
f5ac26f2cc46ae4556f9a61c55afd37f55c961ff
[ "MIT" ]
11
2015-11-16T22:14:58.000Z
2021-09-23T05:28:40.000Z
jskparser/ast/stmt/ifstmt.py
natebragg/java-sketch
f5ac26f2cc46ae4556f9a61c55afd37f55c961ff
[ "MIT" ]
8
2015-11-16T21:50:08.000Z
2021-03-23T15:15:34.000Z
#!/usr/bin/env python from .statement import Statement from . import _import class IfStmt(Statement): def __init__(self, kwargs={}): super(IfStmt, self).__init__(kwargs) locs = _import() # Expression condition; con = kwargs.get(u'condition', {}) self._condition = locs...
27.75
74
0.621622
137
1,110
4.883212
0.255474
0.077728
0.044843
0
0
0
0
0
0
0
0
0
0.251351
1,110
39
75
28.461538
0.805054
0.073874
0
0.12
0
0
0.030273
0
0
0
0
0
0
1
0.28
false
0
0.12
0.12
0.44
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
0
0
0
2
a7ce8d54807f93e96a382235bdf7d3f14bebe67b
467
py
Python
src/screenlogger.py
swbooking/RobotMaria
2553358629a870b10458564524315ff4cfda0bd1
[ "MIT" ]
null
null
null
src/screenlogger.py
swbooking/RobotMaria
2553358629a870b10458564524315ff4cfda0bd1
[ "MIT" ]
null
null
null
src/screenlogger.py
swbooking/RobotMaria
2553358629a870b10458564524315ff4cfda0bd1
[ "MIT" ]
null
null
null
class ScreenLogger: def __init__(self, loghandler=None, verbose = True): self.LogMessage = None self.LogHandler = loghandler self.Verbose = verbose return def Log(self, message): if self.LogMessage != message: self.LogMessage = message if self.LogH...
31.133333
56
0.578158
45
467
5.911111
0.333333
0.263158
0.135338
0
0
0
0
0
0
0
0
0
0.346895
467
14
57
33.357143
0.872131
0
0
0.142857
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.071429
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
1
0
0
0
0
0
0
0
0
2
38f003c85d91841bc389c08c6a91fa5429cad832
40,888
py
Python
tests/test_runner.py
varunvarma/panoptes
733e1b17e01d47fe0a399e2fe635f614cc5a0b88
[ "Apache-2.0" ]
null
null
null
tests/test_runner.py
varunvarma/panoptes
733e1b17e01d47fe0a399e2fe635f614cc5a0b88
[ "Apache-2.0" ]
null
null
null
tests/test_runner.py
varunvarma/panoptes
733e1b17e01d47fe0a399e2fe635f614cc5a0b88
[ "Apache-2.0" ]
null
null
null
""" Copyright 2018, Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE file in project root for terms. """ import re import unittest from mock import patch, MagicMock, Mock, PropertyMock from testfixtures import LogCapture from yahoo_panoptes.framework.plugins.panoptes_base_plugin import Panopt...
60.574815
123
0.531183
3,296
40,888
6.359223
0.089806
0.050859
0.062452
0.084494
0.750716
0.720515
0.686737
0.659447
0.645181
0.6302
0
0.003465
0.37884
40,888
674
124
60.664688
0.821797
0.010688
0
0.584416
0
0.020408
0.298975
0.13612
0
0
0
0
0.011132
1
0.051948
false
0.011132
0.025974
0
0.166976
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
0
0
0
0
0
0
0
0
2
ac07185d13ca3e632e2ca4e17fcc91869d099238
3,677
py
Python
test/SMSGateway_test.py
S2Innovation/ds-s2i-smsgateway
eed5ce3d630c26b0fd73117d79c84606a12bc783
[ "MIT" ]
null
null
null
test/SMSGateway_test.py
S2Innovation/ds-s2i-smsgateway
eed5ce3d630c26b0fd73117d79c84606a12bc783
[ "MIT" ]
null
null
null
test/SMSGateway_test.py
S2Innovation/ds-s2i-smsgateway
eed5ce3d630c26b0fd73117d79c84606a12bc783
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # This file is part of the SMSGateway project # # # # Distributed under the terms of the MIT license. # See LICENSE.txt for more info. """Contain the tests for the SMSGateway for PANIC.""" # Path import sys import os path = os.path.join(os.path.dirname(__file__), os.pard...
32.830357
77
0.661409
437
3,677
5.462243
0.318078
0.138249
0.078341
0.124424
0.305404
0.0553
0.0553
0
0
0
0
0.00252
0.244493
3,677
111
78
33.126126
0.856731
0.596138
0
0
0
0
0.0125
0
0
0
0
0
0
1
0.277778
false
0.027778
0.194444
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ac07f9a51ba5bae2e9b9b9afd0ca35481fa33be3
214
py
Python
Flask/Lezione4/webapp/project/serate/templates/serate/forms.py
nick87ds/MaterialeSerate
51627e47ff1d3c3ecfc9ce6741c04b91b3295359
[ "MIT" ]
12
2021-12-12T22:19:52.000Z
2022-03-18T11:45:17.000Z
Flask/Lezione4/webapp/project/serate/templates/serate/forms.py
nick87ds/MaterialeSerate
51627e47ff1d3c3ecfc9ce6741c04b91b3295359
[ "MIT" ]
1
2022-03-23T13:58:33.000Z
2022-03-23T14:05:08.000Z
Flask/Lezione4/webapp/project/serate/templates/serate/forms.py
nick87ds/MaterialeSerate
51627e47ff1d3c3ecfc9ce6741c04b91b3295359
[ "MIT" ]
7
2021-02-01T22:09:14.000Z
2021-06-22T08:30:16.000Z
from time import strftime from flask_wtf import FlaskForm from wtforms import ( Form, validators, StringField, IntegerField, SubmitField, BooleanField, SelectField, TextAreaField, )
16.461538
31
0.705607
20
214
7.5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.247664
214
12
32
17.833333
0.931677
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
ac0e680fa5ad08e1900fc7ebe2eb246aebdc7e1d
148
py
Python
automation/openwebsites.py
abrahammachuki/dnav3-code
d278bf4facbc0702342f9c86a3845f0fb1c247bf
[ "MIT" ]
null
null
null
automation/openwebsites.py
abrahammachuki/dnav3-code
d278bf4facbc0702342f9c86a3845f0fb1c247bf
[ "MIT" ]
null
null
null
automation/openwebsites.py
abrahammachuki/dnav3-code
d278bf4facbc0702342f9c86a3845f0fb1c247bf
[ "MIT" ]
null
null
null
import webbrowser website = ['site1', 'site2', 'site3', 'site4'] for i in range(len(website)): site = 'http://' + website[i] webbrowser.open(site)
29.6
46
0.662162
20
148
4.9
0.75
0
0
0
0
0
0
0
0
0
0
0.031008
0.128378
148
5
47
29.6
0.728682
0
0
0
0
0
0.181208
0
0
0
0
0
0
1
0
false
0
0.2
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
0
0
0
0
0
0
2
ac105d162c447186bd1f92785b821628a3aa1ff5
1,865
py
Python
hedger/tournament.py
dmalison/hedger
8db634a484769fb4f3feb945c1847ef50803fafe
[ "MIT" ]
null
null
null
hedger/tournament.py
dmalison/hedger
8db634a484769fb4f3feb945c1847ef50803fafe
[ "MIT" ]
null
null
null
hedger/tournament.py
dmalison/hedger
8db634a484769fb4f3feb945c1847ef50803fafe
[ "MIT" ]
null
null
null
import hedger from hedger import Result class Tournament: def __init__(self, entries): self._entries = entries self._brackets = self._get_brackets() self._brackets_info = self._get_brackets_info() @property def entries(self): return self._entries @property def bra...
27.835821
65
0.641287
228
1,865
4.864035
0.232456
0.064923
0.043282
0.039675
0
0
0
0
0
0
0
0.002961
0.275603
1,865
66
66
28.257576
0.817913
0
0
0.057692
0
0
0.00429
0
0.019231
0
0
0
0
1
0.230769
false
0
0.038462
0.076923
0.519231
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
0
1
0
0
2
ac14c5baab8284824cd35d4e64729e5b1523569f
582
py
Python
elif_bayindir/phase_1/python_basic_1/day_4/q8.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
elif_bayindir/phase_1/python_basic_1/day_4/q8.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
elif_bayindir/phase_1/python_basic_1/day_4/q8.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
# Question 8 # Print even numbers in a list, stop printing when the number is 237 numbers = [ 386, 462, 47, 418, 907, 344, 236, 375, 823, 566, 597, 978, 328, 615, 953, 345, 399, 162, 758, 219, 918, 237, 412, 566, 826, 248, 866, 950, 626, 949, 687, 217, 815, 67, 104, 58, 512, 24, 892, 894, 767, 553, 8...
22.384615
85
0.573883
102
582
3.27451
0.745098
0.071856
0.041916
0
0
0
0
0
0
0
0
0.384615
0.262887
582
25
86
23.28
0.393939
0.154639
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
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
0
0
2
ac36030e8e89e493e372409b81e3e6f1ab9b3e03
1,173
py
Python
QUANTAXIS/example/DataFetcher.py
cyy1229/QUANTAXIS
320eff53dfa2cde8032a5e066499f4da0b5064a2
[ "MIT" ]
null
null
null
QUANTAXIS/example/DataFetcher.py
cyy1229/QUANTAXIS
320eff53dfa2cde8032a5e066499f4da0b5064a2
[ "MIT" ]
null
null
null
QUANTAXIS/example/DataFetcher.py
cyy1229/QUANTAXIS
320eff53dfa2cde8032a5e066499f4da0b5064a2
[ "MIT" ]
null
null
null
from QUANTAXIS import QA_fetch_stock_day_adv, QA_fetch_stock_list_adv, QA_fetch_stock_day_full_adv, QA_Setting import pandas as pd QASETTING = QA_Setting() DATABASE = QASETTING.client.quantaxis # def getAllTradeCal(): # return pd.DataFrame(DATABASE.trade_date.find({"is_open": 1})) class MongoDataLoader: de...
27.27907
110
0.627451
144
1,173
4.680556
0.340278
0.106825
0.106825
0.089021
0.308605
0.198813
0.133531
0.133531
0.133531
0.133531
0
0.020979
0.268542
1,173
42
111
27.928571
0.764569
0.074169
0
0
0
0
0.049149
0
0
0
0
0
0
1
0.230769
false
0.038462
0.076923
0.153846
0.5
0.038462
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
0
0
0
2
ac4fb7ef759fec615c1233d88bd6d5b5c8a82c1d
144
py
Python
backend/puzzle/apps.py
mductran/puzzle
c4598f5420dff126fa67db1e0adee1677a8baf8f
[ "Apache-2.0" ]
null
null
null
backend/puzzle/apps.py
mductran/puzzle
c4598f5420dff126fa67db1e0adee1677a8baf8f
[ "Apache-2.0" ]
null
null
null
backend/puzzle/apps.py
mductran/puzzle
c4598f5420dff126fa67db1e0adee1677a8baf8f
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class PuzzleConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'puzzle'
20.571429
56
0.756944
17
144
6.294118
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.152778
144
6
57
24
0.877049
0
0
0
0
0
0.243056
0.201389
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ac5d5c3626cc5c773bf91a5f517bfdbe0b549607
687
py
Python
tests/api/v2/test_datasources.py
droessmj/python-sdk
42ea2366d08ef5e4d1fa45029480b800352ab765
[ "MIT" ]
2
2020-09-08T20:42:05.000Z
2020-09-09T14:27:55.000Z
tests/api/v2/test_datasources.py
droessmj/python-sdk
42ea2366d08ef5e4d1fa45029480b800352ab765
[ "MIT" ]
null
null
null
tests/api/v2/test_datasources.py
droessmj/python-sdk
42ea2366d08ef5e4d1fa45029480b800352ab765
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Test suite for the community-developed Python SDK for interacting with Lacework APIs. """ import pytest from laceworksdk.api.v2.datasources import DatasourcesAPI from tests.api.test_base_endpoint import BaseEndpoint # Tests @pytest.fixture(scope="module") def api_object(api): return...
22.9
85
0.737991
92
687
5.271739
0.51087
0.092784
0.049485
0.053608
0
0
0
0
0
0
0
0.00349
0.165939
687
29
86
23.689655
0.842932
0.165939
0
0
0
0
0.031915
0
0
0
0
0
0.071429
1
0.214286
false
0
0.214286
0.071429
0.714286
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
0
1
0
0
2
ac75e12c17c4b689ad5e95e21f9b92a7a82c808e
2,108
py
Python
my_loc/__init__.py
PIYUSH-GEEK/my_loc
777eeefec3bc29f03c1be956037c10bf8457dfc9
[ "MIT" ]
1
2019-08-18T07:06:36.000Z
2019-08-18T07:06:36.000Z
my_loc/__init__.py
PIYUSH-GEEK/my_loc
777eeefec3bc29f03c1be956037c10bf8457dfc9
[ "MIT" ]
null
null
null
my_loc/__init__.py
PIYUSH-GEEK/my_loc
777eeefec3bc29f03c1be956037c10bf8457dfc9
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup def locate(i): my_loc = requests.get('https://ipinfo.io').json() if str(i).isdigit(): return 'Invalid input. Try a string.' else: if i == 'ip': return my_loc['ip'] elif i == 'city' or i == 'capital': return my_loc['city'] elif i == 'region' or i == 'stat...
22.913043
80
0.624763
317
2,108
4.056782
0.233438
0.054432
0.068429
0.065319
0.715397
0.715397
0.695956
0.695956
0.695956
0.695956
0
0.02071
0.198292
2,108
91
81
23.164835
0.740237
0
0
0.539683
0
0
0.231025
0
0
0
0
0
0
1
0.063492
false
0
0.031746
0
0.380952
0.047619
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
0
0
0
0
0
0
0
0
2
ac8080a2e2bb7b553d1d31e52508d8e6de00b522
595
py
Python
kwikposts/admin.py
Vicynet/kwiktalk
198efdd5965cc0cd3ee8dcf5e469d9022330ec25
[ "bzip2-1.0.6" ]
null
null
null
kwikposts/admin.py
Vicynet/kwiktalk
198efdd5965cc0cd3ee8dcf5e469d9022330ec25
[ "bzip2-1.0.6" ]
null
null
null
kwikposts/admin.py
Vicynet/kwiktalk
198efdd5965cc0cd3ee8dcf5e469d9022330ec25
[ "bzip2-1.0.6" ]
null
null
null
from django.contrib import admin from .models import KwikPost, Comment, Like # Register your models here. @admin.register(KwikPost) class KwikPostAdmin(admin.ModelAdmin): list_display = ['user', 'featured_image', 'slug', 'post_body', 'created_at'] list_filter = ['created_at'] prepopulated_fields = {'slug...
25.869565
80
0.710924
71
595
5.774648
0.450704
0.087805
0.139024
0.190244
0.239024
0.165854
0
0
0
0
0
0.003868
0.131092
595
22
81
27.045455
0.789168
0.043697
0
0
0
0
0.208481
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.769231
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3bbd5cc24a379d3da78746ccf10468524d2749f7
2,421
py
Python
_int_tools.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
_int_tools.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
_int_tools.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
""" This module contains functions related to integer formatting and math. """ from functools import reduce from itertools import count from math import gcd, prod # ================ ARRAY FORMATTING FUNCTIONS ================ def str_array_to_int(intarray): return int(''.join(intarray)) def int_array_to_int(i...
23.278846
79
0.534077
341
2,421
3.703812
0.296188
0.028504
0.019002
0.034838
0.164687
0.115598
0.115598
0.115598
0.115598
0.115598
0
0.016091
0.306898
2,421
103
80
23.504854
0.736591
0.251136
0
0.134615
0
0
0
0
0
0
0
0
0
1
0.211538
false
0
0.057692
0.115385
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3bd3e56f8e3f7640af1c0c1de7776e8679289263
103
py
Python
Exercise-1/Q4_reverse.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
Exercise-1/Q4_reverse.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
Exercise-1/Q4_reverse.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
word = input('Enter a word') len = len(word) for i in range(len-1, -1, -1): print(word[i], end='')
20.6
30
0.572816
20
103
2.95
0.6
0.067797
0
0
0
0
0
0
0
0
0
0.036145
0.194175
103
4
31
25.75
0.674699
0
0
0
0
0
0.116505
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3be4dea35fbe812684c863cfb56967cde0971e92
1,679
py
Python
buildroot/support/testing/tests/init/test_busybox.py
rbrenton/hassos
fa6f7ac74ddba50e76f5779c613c56d937684844
[ "Apache-2.0" ]
617
2015-01-04T14:33:56.000Z
2022-03-24T22:42:25.000Z
buildroot/support/testing/tests/init/test_busybox.py
rbrenton/hassos
fa6f7ac74ddba50e76f5779c613c56d937684844
[ "Apache-2.0" ]
631
2015-01-01T22:53:25.000Z
2022-03-17T18:41:00.000Z
buildroot/support/testing/tests/init/test_busybox.py
rbrenton/hassos
fa6f7ac74ddba50e76f5779c613c56d937684844
[ "Apache-2.0" ]
133
2015-03-03T18:40:05.000Z
2022-03-18T13:34:26.000Z
import infra.basetest from tests.init.base import InitSystemBase as InitSystemBase class InitSystemBusyboxBase(InitSystemBase): config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ """ # BR2_TARGET_ROOTFS_TAR is not set """ def check_init(self): super(InitSystemBusyboxBase, self...
25.830769
69
0.659321
170
1,679
6.223529
0.270588
0.07656
0.070888
0.204159
0.669187
0.669187
0.567108
0.567108
0.567108
0.555766
0
0.016562
0.244789
1,679
64
70
26.234375
0.817823
0
0
0.666667
0
0
0.041834
0
0
0
0
0
0
1
0.166667
false
0
0.066667
0
0.566667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3bed882365f0c947238e86347d95e522a56968a9
2,380
py
Python
deprecated.py
tungr/CoeusBot
90bdc869a1f8c077a1f88dcf1335d20a19d49fee
[ "MIT" ]
null
null
null
deprecated.py
tungr/CoeusBot
90bdc869a1f8c077a1f88dcf1335d20a19d49fee
[ "MIT" ]
null
null
null
deprecated.py
tungr/CoeusBot
90bdc869a1f8c077a1f88dcf1335d20a19d49fee
[ "MIT" ]
null
null
null
#### Transfer data from JSON file to MongoDB #### # @client.command() # async def qupload(self, ctx): # mclient = MongoClient(host="localhost", port=27017) # db = mclient.coeusbot # quotesdb = db.quotes # with open('quotes.json', 'r') as f: # quotes = json.load(f) # for quotenum in ra...
32.162162
93
0.561765
299
2,380
4.411371
0.344482
0.068234
0.042456
0.054587
0.11903
0.084155
0.084155
0.084155
0.084155
0.084155
0
0.009703
0.263866
2,380
74
94
32.162162
0.74258
0.928992
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3beed423b84aed994aacbe9098f28892995cd210
491
py
Python
ramda/memoize_with_test.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
56
2018-08-06T08:44:58.000Z
2022-03-17T09:49:03.000Z
ramda/memoize_with_test.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
28
2019-06-17T11:09:52.000Z
2022-02-18T16:59:21.000Z
ramda/memoize_with_test.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
5
2019-09-18T09:24:38.000Z
2021-07-21T08:40:23.000Z
from ramda.memoize_with import memoize_with from ramda.product import product from ramda.private.asserts import assert_equal as e count = 0 def memoize_with_test(): @memoize_with(lambda x: -x) def factorial(n): global count count += 1 return product(range(1, n + 1)) e(factorial(...
20.458333
51
0.631365
76
491
4
0.381579
0.230263
0.144737
0.171053
0.3125
0.3125
0.3125
0.3125
0.3125
0.3125
0
0.077957
0.242363
491
23
52
21.347826
0.739247
0
0
0.388889
0
0
0
0
0
0
0
0
0.055556
1
0.111111
false
0
0.166667
0
0.333333
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ce1986e97c39f7b0d9070c20a8cf44a57d43a5a3
13,093
py
Python
tests/integration_tests/test_solution/test_solution_interior.py
cwentland0/perform
e08771cb776a7e6518c43350746e2ca72f79b153
[ "MIT" ]
6
2021-03-24T21:42:06.000Z
2022-01-28T20:00:13.000Z
tests/integration_tests/test_solution/test_solution_interior.py
cwentland0/perform
e08771cb776a7e6518c43350746e2ca72f79b153
[ "MIT" ]
38
2021-04-15T15:30:21.000Z
2022-01-29T01:23:57.000Z
tests/integration_tests/test_solution/test_solution_interior.py
cwentland0/perform
e08771cb776a7e6518c43350746e2ca72f79b153
[ "MIT" ]
1
2021-07-03T03:13:36.000Z
2021-07-03T03:13:36.000Z
import unittest import os import numpy as np from constants import ( del_test_dir, gen_test_dir, get_output_mode, solution_domain_setup, CHEM_DICT_REACT, SOL_PRIM_IN_REACT, TEST_DIR, ) from perform.constants import REAL_TYPE from perform.system_solver import SystemSolver from perform.input...
39.796353
120
0.612465
1,710
13,093
4.431579
0.095322
0.105569
0.036949
0.051729
0.785827
0.760755
0.713249
0.667063
0.616522
0.540908
0
0.015045
0.268999
13,093
328
121
39.917683
0.776721
0.041014
0
0.360996
0
0
0.048105
0.011328
0
0
0
0.003049
0.170124
1
0.049793
false
0
0.041494
0
0.099585
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ce1ae0dcedfa059f4a8bffab465b0fca2f146769
51
py
Python
app/_version.py
sunhailin-Leo/myMacAssistant
30ba955a4f91a800197cbfdc2ab5d3a5cd993eef
[ "MIT" ]
63
2020-11-02T00:58:49.000Z
2022-03-20T21:39:02.000Z
fastapi_profiler/_version.py
sunhailin-Leo/fastapi_profiler
b414af6f0b2d92e7b509b6b3e54cde13ec5795e2
[ "MIT" ]
10
2021-02-23T11:00:39.000Z
2022-02-07T02:44:05.000Z
app/_version.py
sunhailin-Leo/myMacAssistant
30ba955a4f91a800197cbfdc2ab5d3a5cd993eef
[ "MIT" ]
7
2020-11-24T08:34:46.000Z
2022-01-10T12:58:51.000Z
__version__ = "1.0.0" __author__ = "sunhailin-Leo"
17
28
0.705882
7
51
4
0.857143
0
0
0
0
0
0
0
0
0
0
0.066667
0.117647
51
2
29
25.5
0.555556
0
0
0
0
0
0.352941
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ce2713a447d11afd7d04a70a5793ef6b8c8b2009
303
py
Python
venv/Lib/site-packages/bootstrap4/widgets.py
HRangelov/gallery
3ccf712ef2e1765a6dfd6567d58e6678e0b2ff6f
[ "MIT" ]
3
2021-02-02T11:13:15.000Z
2021-02-10T07:26:10.000Z
venv/Lib/site-packages/bootstrap4/widgets.py
HRangelov/gallery
3ccf712ef2e1765a6dfd6567d58e6678e0b2ff6f
[ "MIT" ]
3
2021-03-30T14:15:20.000Z
2021-09-22T19:31:57.000Z
cypher_venv/Lib/site-packages/bootstrap4/widgets.py
FrancisLangit/cypher
4921e2f53ef8154ad63ff4de7f8068b27f29f485
[ "MIT" ]
null
null
null
from django.forms import RadioSelect class RadioSelectButtonGroup(RadioSelect): """ This widget renders a Bootstrap 4 set of buttons horizontally instead of typical radio buttons. Much more mobile friendly. """ template_name = "bootstrap4/widgets/radio_select_button_group.html"
25.25
99
0.762376
36
303
6.305556
0.888889
0
0
0
0
0
0
0
0
0
0
0.008032
0.178218
303
11
100
27.545455
0.903614
0.405941
0
0
0
0
0.30625
0.30625
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
ce307dac43c76b9afca0ff0e962a64169f480199
4,536
py
Python
questions.py
lasyasreepada/iplaw-for-digital-teens
a1ac53f7b3438876db644450413f78ec8d612bac
[ "MIT" ]
null
null
null
questions.py
lasyasreepada/iplaw-for-digital-teens
a1ac53f7b3438876db644450413f78ec8d612bac
[ "MIT" ]
null
null
null
questions.py
lasyasreepada/iplaw-for-digital-teens
a1ac53f7b3438876db644450413f78ec8d612bac
[ "MIT" ]
null
null
null
"""Set of questions for the IP Law quiz questions.py Lasya Sreepada Yale College '19 May 6, 2017 """ from random import shuffle import time def quiz(): questions = [ ("Copyright protects both expression of an idea and the idea itself. \nTrue or False?", "f", "cp"), ("Clothing, such as Katy Perr...
49.846154
334
0.665785
672
4,536
4.462798
0.41369
0.037346
0.06002
0.034678
0.114371
0.04935
0
0
0
0
0
0.007293
0.244268
4,536
90
335
50.4
0.867561
0.020944
0
0.183333
0
0.266667
0.676066
0
0
0
0
0
0
1
0.016667
false
0
0.05
0
0.066667
0.233333
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
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cbfb410cacd5080693f012f125e877edd266870a
172
py
Python
features/environment.py
geeksforsocialchange/imok
efb7189c13c398dbd5d4301ca496a2e583b0f5b7
[ "MIT" ]
6
2021-05-12T08:40:36.000Z
2022-01-25T08:31:06.000Z
features/environment.py
geeksforsocialchange/imok
efb7189c13c398dbd5d4301ca496a2e583b0f5b7
[ "MIT" ]
14
2021-05-12T09:03:08.000Z
2021-06-10T13:18:52.000Z
features/environment.py
geeksforsocialchange/imok
efb7189c13c398dbd5d4301ca496a2e583b0f5b7
[ "MIT" ]
1
2021-05-14T20:54:15.000Z
2021-05-14T20:54:15.000Z
from django.conf import settings settings.NOTIFY_EMAIL = 'root@localhost' settings.DEBUG = True def before_all(context): context.users = {} context.members = {}
17.2
40
0.72093
21
172
5.809524
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.168605
172
9
41
19.111111
0.853147
0
0
0
0
0
0.081395
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
0
0
0
0
2
02063c864e384d1ba7ec730d4d03b03f063ebc1f
80,245
py
Python
pirates/ai/PiratesMagicWordManager.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/ai/PiratesMagicWordManager.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/ai/PiratesMagicWordManager.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.ai.PiratesMagicWordManager from direct.showbase.ShowBaseGlobal import * from direct.distributed import DistributedObject from di...
69.176724
993
0.408349
5,105
80,245
6.378257
0.202742
0.016707
0.015172
0.032431
0.363042
0.292497
0.253125
0.175824
0.160192
0.152022
0
0.04485
0.51931
80,245
1,160
994
69.176724
0.79929
0.002617
0
0.333633
0
0
0.054579
0.001787
0
0
0
0
0
0
null
null
0.010791
0.03777
null
null
0.003597
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
020a85d2b9268f0ad8b4e717c76fefae39beb819
339
py
Python
Python/DDUtil.py
dalek7/umbrella
cabf0367940905ca5164d104d7aef6ff719ee166
[ "MIT" ]
1
2021-03-09T09:12:02.000Z
2021-03-09T09:12:02.000Z
Python/DDUtil.py
dalek7/umbrella
cabf0367940905ca5164d104d7aef6ff719ee166
[ "MIT" ]
null
null
null
Python/DDUtil.py
dalek7/umbrella
cabf0367940905ca5164d104d7aef6ff719ee166
[ "MIT" ]
null
null
null
import os import datetime def exit(): os._exit(0) def GetTimeString(m = -1): if m==0: s1 = datetime.datetime.now().strftime("%Y%m%d%H%M%S") else: s1 = datetime.datetime.now().strftime("%Y%m%d_%H%M%S") return s1 def MakeDir(directory): if not os.path.exists(directory): os....
19.941176
62
0.60767
53
339
3.849057
0.471698
0.098039
0.176471
0.205882
0.343137
0.343137
0.343137
0.343137
0.343137
0.343137
0
0.022727
0.221239
339
17
63
19.941176
0.75
0
0
0
0
0
0.073529
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.461538
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
021267aeacfe0ae1c6472616df30ce20f8a2d09b
24,270
py
Python
picoCTF-web/tests/api/functional/common.py
MongYahHsieh/picoCTF
dd500ad9c59768137b33e2d2b102a089ddf0ad40
[ "MIT" ]
null
null
null
picoCTF-web/tests/api/functional/common.py
MongYahHsieh/picoCTF
dd500ad9c59768137b33e2d2b102a089ddf0ad40
[ "MIT" ]
null
null
null
picoCTF-web/tests/api/functional/common.py
MongYahHsieh/picoCTF
dd500ad9c59768137b33e2d2b102a089ddf0ad40
[ "MIT" ]
null
null
null
"""Utilities for functional tests.""" import datetime import json import re import pymongo import pytest import api RATE_LIMIT_BYPASS = "test_bypass" TESTING_DB_NAME = 'ctf_test' db = None def decode_response(res): """Parse a WebSuccess or WebError response.""" decoded_dict = json.loads(res.data.decode('u...
34.621969
1,680
0.486279
2,130
24,270
5.430516
0.177934
0.026973
0.043832
0.057318
0.596006
0.565229
0.512147
0.478689
0.435722
0.42604
0
0.103791
0.37396
24,270
700
1,681
34.671429
0.657496
0.032798
0
0.465517
0
0.023511
0.729656
0.124866
0
0
0
0
0
1
0.023511
false
0.012539
0.009404
0
0.043887
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
02223351c3f6f455c742ce52e04a38d560dc3455
299
py
Python
src/z3c/saconfig/__init__.py
zopefoundation/z3c.saconfig
69a32e7f7617ec4a1f9667d673a1ddc00aff59c2
[ "ZPL-2.1" ]
2
2016-03-12T14:22:23.000Z
2019-05-22T04:18:26.000Z
src/z3c/saconfig/__init__.py
zopefoundation/z3c.saconfig
69a32e7f7617ec4a1f9667d673a1ddc00aff59c2
[ "ZPL-2.1" ]
13
2015-05-05T12:27:48.000Z
2021-05-20T11:11:49.000Z
src/z3c/saconfig/__init__.py
zopefoundation/z3c.saconfig
69a32e7f7617ec4a1f9667d673a1ddc00aff59c2
[ "ZPL-2.1" ]
4
2015-05-04T12:18:31.000Z
2019-11-18T09:47:31.000Z
from z3c.saconfig.scopedsession import Session, named_scoped_session from z3c.saconfig.utility import ( GloballyScopedSession, SiteScopedSession, EngineFactory) __all__ = [ 'Session', 'named_scoped_session', 'GloballyScopedSession', 'SiteScopedSession', 'EngineFactory', ]
23
68
0.752508
25
299
8.68
0.52
0.064516
0.138249
0.230415
0
0
0
0
0
0
0
0.007937
0.157191
299
12
69
24.916667
0.853175
0
0
0
0
0
0.26087
0.070234
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0223c05bd579183b627da44b67aca37eba1114e5
557
py
Python
src/triage/experiments/singlethreaded.py
josephbajor/triage_NN
cbaee6e5a06e597c91fec372717d89a2b5f34fa5
[ "MIT" ]
160
2017-06-13T09:59:59.000Z
2022-03-21T22:00:35.000Z
src/triage/experiments/singlethreaded.py
josephbajor/triage_NN
cbaee6e5a06e597c91fec372717d89a2b5f34fa5
[ "MIT" ]
803
2016-10-21T19:44:02.000Z
2022-03-29T00:02:33.000Z
src/triage/experiments/singlethreaded.py
josephbajor/triage_NN
cbaee6e5a06e597c91fec372717d89a2b5f34fa5
[ "MIT" ]
59
2017-01-31T22:10:22.000Z
2022-03-19T12:35:03.000Z
from triage.experiments import ExperimentBase class SingleThreadedExperiment(ExperimentBase): def process_query_tasks(self, query_tasks): self.feature_generator.process_table_tasks(query_tasks) def process_matrix_build_tasks(self, matrix_build_tasks): self.matrix_builder.build_all_matrices(ma...
34.8125
66
0.800718
70
557
5.942857
0.385714
0.129808
0.115385
0.096154
0.110577
0
0
0
0
0
0
0
0.13465
557
15
67
37.133333
0.863071
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.1
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0236d15dce7606a0d8edbca50d378b142b6663f7
127
py
Python
mynlp/__init__.py
Suneel123/mynlp
9dcf6fb57df66ebd4a359b8cd866323f43bc8ec4
[ "MIT" ]
null
null
null
mynlp/__init__.py
Suneel123/mynlp
9dcf6fb57df66ebd4a359b8cd866323f43bc8ec4
[ "MIT" ]
null
null
null
mynlp/__init__.py
Suneel123/mynlp
9dcf6fb57df66ebd4a359b8cd866323f43bc8ec4
[ "MIT" ]
null
null
null
"""Top-level package for mynlp.""" __author__ = """Suneel Dondapati""" __email__ = 'dsuneel1@gmail.com' __version__ = '0.1.0'
21.166667
35
0.685039
16
127
4.6875
0.9375
0
0
0
0
0
0
0
0
0
0
0.035714
0.11811
127
5
36
25.4
0.633929
0.220472
0
0
0
0
0.419355
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
02426c5e9ebc5b6e7797b501d9a365d58338fa41
159
py
Python
Defer/__init__.py
loynoir/defer.py
46f37a046028b1854586301a45870c2b3a628f65
[ "MIT" ]
null
null
null
Defer/__init__.py
loynoir/defer.py
46f37a046028b1854586301a45870c2b3a628f65
[ "MIT" ]
null
null
null
Defer/__init__.py
loynoir/defer.py
46f37a046028b1854586301a45870c2b3a628f65
[ "MIT" ]
null
null
null
__all__ = ['Defer'] from contextlib import contextmanager, ExitStack @contextmanager def Defer(): with ExitStack() as stack: yield stack.callback
19.875
48
0.72327
17
159
6.529412
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.188679
159
7
49
22.714286
0.860465
0
0
0
0
0
0.031447
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
0
0
0
0
2
0243fa264d20be4663ad37da1958e0275ed6a559
3,100
py
Python
ArcGISDesktop/reconcile_post_versions.py
jonhusen/ArcGIS
1d39a627888ce6039c490cdad810cd6d8035cb77
[ "MIT" ]
null
null
null
ArcGISDesktop/reconcile_post_versions.py
jonhusen/ArcGIS
1d39a627888ce6039c490cdad810cd6d8035cb77
[ "MIT" ]
null
null
null
ArcGISDesktop/reconcile_post_versions.py
jonhusen/ArcGIS
1d39a627888ce6039c490cdad810cd6d8035cb77
[ "MIT" ]
null
null
null
""" Reconcile and posting versions at 10.0 TODO:WIP """ import arcpy, os, sys, string #Populate parent and child versions in the following manner('Parent':'Child', etc). DO NOT LIST DEFAULT vTree = {'SDE.Parent':'SDE.Child','SDE.QA':'SDE.Edit'} #Reconcile and post child versions with parent def RecPostNonDefault(wo...
40.789474
148
0.709677
352
3,100
6.164773
0.272727
0.02212
0.020737
0.025346
0.501382
0.448848
0.367742
0.323502
0.323502
0.323502
0
0.010109
0.170323
3,100
76
149
40.789474
0.833593
0.07871
0
0.267857
0
0
0.185556
0.007508
0
0
0
0.013158
0
0
null
null
0
0.017857
null
null
0.125
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
1
0
0
0
0
0
0
0
0
2
024cdbf14b841e1da6f77d24cda6ea8444019523
1,320
py
Python
application/src/app_pkg/routes/get_messages.py
eyardley/CSC648-SoftwareEngineering-Snapster
6dbe1cf9b34de6d6dbc6be75db3a34583f67c01a
[ "MIT" ]
null
null
null
application/src/app_pkg/routes/get_messages.py
eyardley/CSC648-SoftwareEngineering-Snapster
6dbe1cf9b34de6d6dbc6be75db3a34583f67c01a
[ "MIT" ]
3
2021-06-08T21:39:12.000Z
2022-01-13T02:46:20.000Z
application/src/app_pkg/routes/get_messages.py
eyardley/CSC648-SoftwareEngineering-Snapster
6dbe1cf9b34de6d6dbc6be75db3a34583f67c01a
[ "MIT" ]
1
2021-05-09T21:01:28.000Z
2021-05-09T21:01:28.000Z
# from flask import render_template, request, make_response, jsonify # from src.app_pkg.routes.common import validate_helper # from src.app_pkg import app, db # from src.app_pkg.forms import MessageForm # # ################################################ # # Show All Messages / User Profile # # ###########...
37.714286
106
0.641667
169
1,320
4.83432
0.491124
0.05508
0.079559
0.047736
0.056304
0
0
0
0
0
0
0.001871
0.190152
1,320
34
107
38.823529
0.762395
0.869697
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
025c491da627375770263331eb452c03d4b317b0
431
py
Python
src/terra/contracts/levana.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
src/terra/contracts/levana.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
src/terra/contracts/levana.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
# known contracts from protocol CONTRACTS = [ # NFT - Meteor Dust "terra1p70x7jkqhf37qa7qm4v23g4u4g8ka4ktxudxa7", # NFT - Eggs "terra1k0y373yxqne22pc9g7jvnr4qclpsxtafevtrpg", # NFT - Dragons "terra1vhuyuwwr4rkdpez5f5lmuqavut28h5dt29rpn6", # NFT - Loot "terra14gfnxnwl0yz6njzet4n33erq5n70w...
26.9375
51
0.723898
30
431
10.4
0.766667
0.083333
0
0
0
0
0
0
0
0
0
0.139205
0.183295
431
15
52
28.733333
0.747159
0.218097
0
0
0
0
0.587879
0.533333
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0268f15772e163a48707362a23538e64ee3c364e
4,744
py
Python
operators/elastic-cloud-eck/python/pulumi_pulumi_kubernetes_crds_operators_elastic_cloud_eck/_tables.py
pulumi/pulumi-kubernetes-crds
372c4c0182f6b899af82d6edaad521aa14f22150
[ "Apache-2.0" ]
null
null
null
operators/elastic-cloud-eck/python/pulumi_pulumi_kubernetes_crds_operators_elastic_cloud_eck/_tables.py
pulumi/pulumi-kubernetes-crds
372c4c0182f6b899af82d6edaad521aa14f22150
[ "Apache-2.0" ]
2
2020-09-18T17:12:23.000Z
2020-12-30T19:40:56.000Z
operators/elastic-cloud-eck/python/pulumi_pulumi_kubernetes_crds_operators_elastic_cloud_eck/_tables.py
pulumi/pulumi-kubernetes-crds
372c4c0182f6b899af82d6edaad521aa14f22150
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by crd2pulumi. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** SNAKE_TO_CAMEL_CASE_TABLE = { "access_modes": "accessModes", "api_group": "apiGroup", "api_version": "apiVersion", "app_protocol": "appProtocol", ...
39.533333
80
0.707841
407
4,744
7.857494
0.41769
0.031895
0.018762
0.011882
0
0
0
0
0
0
0
0.000494
0.147344
4,744
119
81
39.865546
0.790111
0.030987
0
0
1
0
0.697583
0.178097
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
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
027134b2e08ff17613c7279b030cfe1fcf0d8e8e
309
py
Python
pycon/tutorials/urls.py
azkarmoulana/pycon
931388e6f640c35b892bb4b2d12581ba7ec8cf4e
[ "BSD-3-Clause" ]
154
2015-01-17T02:29:24.000Z
2022-03-20T20:37:24.000Z
pycon/tutorials/urls.py
azkarmoulana/pycon
931388e6f640c35b892bb4b2d12581ba7ec8cf4e
[ "BSD-3-Clause" ]
316
2015-01-10T04:01:50.000Z
2020-09-30T20:18:08.000Z
pycon/tutorials/urls.py
azkarmoulana/pycon
931388e6f640c35b892bb4b2d12581ba7ec8cf4e
[ "BSD-3-Clause" ]
89
2015-01-10T05:25:21.000Z
2022-02-27T03:28:59.000Z
from django.conf.urls import url, patterns from .views import tutorial_email, tutorial_message urlpatterns = patterns("", # flake8: noqa url(r"^mail/(?P<pk>\d+)/(?P<pks>[0-9,]+)/$", tutorial_email, name="tutorial_email"), url(r"^message/(?P<pk>\d+)/$", tutorial_message, name="tutorial_message"), )
34.333333
88
0.679612
44
309
4.636364
0.522727
0.191176
0.039216
0
0
0
0
0
0
0
0
0.01087
0.106796
309
8
89
38.625
0.728261
0.038835
0
0
0
0
0.298305
0.19661
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
2
027b51903bbc31466f05349aa598a39bb4d2919d
447
py
Python
6.00.1x/quiz/flatten.py
NicholasAsimov/courses
d60981f25816445578eb9e89bbbeef2d38eaf014
[ "MIT" ]
null
null
null
6.00.1x/quiz/flatten.py
NicholasAsimov/courses
d60981f25816445578eb9e89bbbeef2d38eaf014
[ "MIT" ]
null
null
null
6.00.1x/quiz/flatten.py
NicholasAsimov/courses
d60981f25816445578eb9e89bbbeef2d38eaf014
[ "MIT" ]
null
null
null
def flatten(aList): ''' aList: a list Returns a copy of aList, which is a flattened version of aList ''' if aList == []: return aList if type(aList[0]) == list: return flatten(aList[0]) + flatten(aList[1:]) return aList[:1] + flatten(aList[1:]) aList = [[1, 'a', ['cat'], 2...
22.35
66
0.548098
65
447
3.769231
0.384615
0.293878
0.106122
0.04898
0.302041
0.302041
0.302041
0.302041
0.302041
0.302041
0
0.044776
0.250559
447
19
67
23.526316
0.686567
0
0
0
0
0
0.039886
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
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
1
0
0
0
0
0
0
0
0
2
65f9d6849276abc9d2abce58b864383e8eca894c
531
py
Python
madlib.py
Yukthi-C/python_learing
340579e2bb767e8fdb209f705fdf12058e8e150f
[ "MIT" ]
null
null
null
madlib.py
Yukthi-C/python_learing
340579e2bb767e8fdb209f705fdf12058e8e150f
[ "MIT" ]
null
null
null
madlib.py
Yukthi-C/python_learing
340579e2bb767e8fdb209f705fdf12058e8e150f
[ "MIT" ]
null
null
null
ad1 = input(f"Adjective1: ") ad2 = input(f"Adjective2: ") part1 = input(f"body part: ") dish = input(f"Dish: ") madlib=f"One day, a {ad1} fox invited a stork for dinner. \ Stork was very {ad2} with the invitation – she reached the fox’s home on time and knocked at the door with her {part1}.\ The fox took her to t...
59
121
0.706215
99
531
3.79798
0.616162
0.06383
0
0
0
0
0
0
0
0
0
0.018605
0.190207
531
9
122
59
0.853488
0
0
0
0
0.333333
0.093511
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5a0ebed0bb4e1667aef392ee3608c9732dd33560
278
py
Python
systest/tests/test_rm.py
devconsoft/pycred
d72bdae2e703a87a7424f08af326834281b83fee
[ "MIT" ]
null
null
null
systest/tests/test_rm.py
devconsoft/pycred
d72bdae2e703a87a7424f08af326834281b83fee
[ "MIT" ]
5
2018-07-01T22:53:24.000Z
2018-07-17T21:54:10.000Z
systest/tests/test_rm.py
devconsoft/pycred
d72bdae2e703a87a7424f08af326834281b83fee
[ "MIT" ]
null
null
null
def test_rm_long_opt_help(pycred): pycred('rm --help') def test_rm_short_opt_help(pycred): pycred('rm -h') def test_rm_none_existing_store_gives_exit_code_2(pycred, workspace): with workspace(): pycred('rm non-existing-store user', expected_exit_code=2)
23.166667
69
0.73741
44
278
4.25
0.477273
0.112299
0.144385
0.203209
0.224599
0
0
0
0
0
0
0.008439
0.147482
278
11
70
25.272727
0.780591
0
0
0
0
0
0.143885
0
0
0
0
0
0
1
0.428571
false
0
0
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
5a17b8b4d053d2409ae3602977dee83dcbebc0b2
4,340
py
Python
scripts/lc/ARES/testing/run_rose_tool.py
ouankou/rose
76f2a004bd6d8036bc24be2c566a14e33ba4f825
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
scripts/lc/ARES/testing/run_rose_tool.py
ouankou/rose
76f2a004bd6d8036bc24be2c566a14e33ba4f825
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
scripts/lc/ARES/testing/run_rose_tool.py
ouankou/rose
76f2a004bd6d8036bc24be2c566a14e33ba4f825
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
#!/usr/bin/env python """Runs a ROSE tool. If the tool does not return status 0, then runs the corresponding non-ROSE compiler. Records whether the tool succeeded, in passed.txt and failed.txt, but always returns status 0. """ import argparse import inspect import os from support.local_logging import Logger from su...
41.333333
118
0.653917
563
4,340
4.756661
0.300178
0.038835
0.031367
0.031367
0.262883
0.250934
0.197909
0.16953
0.146378
0.117252
0
0.007111
0.22235
4,340
104
119
41.730769
0.78637
0.122811
0
0.028571
0
0.028571
0.176861
0.075625
0
0
0
0
0
0
null
null
0.114286
0.071429
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
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
5a1caac07eb9f441668b6c4d0592a3fd8fa4aefc
576
py
Python
ex4.py
AyeAyeZin/python_exercises
77079dcd7809dd2967180ffd30df0166dd53edb4
[ "MIT" ]
null
null
null
ex4.py
AyeAyeZin/python_exercises
77079dcd7809dd2967180ffd30df0166dd53edb4
[ "MIT" ]
null
null
null
ex4.py
AyeAyeZin/python_exercises
77079dcd7809dd2967180ffd30df0166dd53edb4
[ "MIT" ]
null
null
null
cars=100 cars_in_space=5 drivers=20 pasengers=70 car_not_driven=cars-drivers cars_driven=drivers carpool_capacity=cars_driven*space_in_a_car average_passengers_percar=passengers/cars_driven print("There are", cars,"cars availble") print("There are only",drivers,"drivers availble") print("There will be",car_not_driven,"...
36
72
0.805556
92
576
4.815217
0.413043
0.090293
0.088036
0.076749
0
0
0
0
0
0
0
0.014981
0.072917
576
15
73
38.4
0.814607
0
0
0
0
0
0.338542
0
0
0
0
0
0
1
0
false
0.2
0
0
0
0.466667
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
0
0
0
1
0
2
5a1d385aaac2b104c89e97a052215f1dccd44141
3,885
py
Python
backend/src/baserow/contrib/database/migrations/0016_token_tokenpermission.py
ashishdhngr/baserow
b098678d2165eb7c42930ee24dc6753a3cb520c3
[ "MIT" ]
null
null
null
backend/src/baserow/contrib/database/migrations/0016_token_tokenpermission.py
ashishdhngr/baserow
b098678d2165eb7c42930ee24dc6753a3cb520c3
[ "MIT" ]
null
null
null
backend/src/baserow/contrib/database/migrations/0016_token_tokenpermission.py
ashishdhngr/baserow
b098678d2165eb7c42930ee24dc6753a3cb520c3
[ "MIT" ]
null
null
null
# Generated by Django 2.2.11 on 2020-10-23 08:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("core", "0001_initial"),...
32.647059
88
0.344916
249
3,885
5.273092
0.369478
0.04265
0.063976
0.100533
0.373953
0.373953
0.373953
0.373953
0.373953
0.36786
0
0.017878
0.568082
3,885
118
89
32.923729
0.764601
0.01184
0
0.508929
1
0
0.110503
0
0
0
0
0
0
1
0
false
0
0.026786
0
0.053571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5a23d3f4e52679a350233bbde834e4fd8f3310ec
74
py
Python
pytracetable/__init__.py
filwaitman/pytracetable
eb884953e179fc65677a9e3b3c70fde1b1439ccb
[ "MIT" ]
1
2016-02-10T20:28:00.000Z
2016-02-10T20:28:00.000Z
pytracetable/__init__.py
filwaitman/pytracetable
eb884953e179fc65677a9e3b3c70fde1b1439ccb
[ "MIT" ]
1
2020-05-27T18:12:10.000Z
2020-05-27T18:12:10.000Z
pytracetable/__init__.py
filwaitman/pytracetable
eb884953e179fc65677a9e3b3c70fde1b1439ccb
[ "MIT" ]
null
null
null
from pytracetable.core import tracetable __all__ = [ 'tracetable', ]
12.333333
40
0.716216
7
74
7
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.189189
74
5
41
14.8
0.816667
0
0
0
0
0
0.135135
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5a3f1fd52edcbc6a770d3bea9dab8192d49a92e5
1,838
py
Python
dex/section/section.py
callmejacob/dexfactory
2de996927ee9f036b2c7fc6cb04f43ac790f35af
[ "BSD-2-Clause" ]
7
2018-06-14T10:40:47.000Z
2021-05-18T08:55:34.000Z
dex/section/section.py
callmejacob/dexfactory
2de996927ee9f036b2c7fc6cb04f43ac790f35af
[ "BSD-2-Clause" ]
1
2020-05-28T08:59:50.000Z
2020-05-28T08:59:50.000Z
dex/section/section.py
callmejacob/dexfactory
2de996927ee9f036b2c7fc6cb04f43ac790f35af
[ "BSD-2-Clause" ]
3
2018-02-28T02:08:06.000Z
2018-09-12T03:09:18.000Z
# -- coding: utf-8 -- from section_base import * from section_map_item import * from section_header import * from section_string_id import * from section_type_id import * from section_proto_id import * from section_field_id import * from section_method_id import * from section_class_def import * from section_type_list...
39.106383
69
0.699674
190
1,838
6.294737
0.268421
0.174749
0.255853
0.079431
0.050167
0
0
0
0
0
0
0.000735
0.259521
1,838
47
70
39.106383
0.878031
0.010337
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.487179
0
0.487179
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5a58135dc9e13b466cba75e814598ea999f2751b
705
py
Python
COMP-2080/Week-11/knapRecursive.py
kbrezinski/Candidacy-Prep
f4610fb611e6300a7d657af124728d46a8659ba5
[ "BSD-3-Clause" ]
null
null
null
COMP-2080/Week-11/knapRecursive.py
kbrezinski/Candidacy-Prep
f4610fb611e6300a7d657af124728d46a8659ba5
[ "BSD-3-Clause" ]
null
null
null
COMP-2080/Week-11/knapRecursive.py
kbrezinski/Candidacy-Prep
f4610fb611e6300a7d657af124728d46a8659ba5
[ "BSD-3-Clause" ]
null
null
null
# [weight, value] I = [[4, 8], [4, 7], [6, 14]] k = 8 def knapRecursive(I, k): return knapRecursiveAux(I, k, len(I) - 1) def knapRecursiveAux(I, k, hi): # final element if hi == 0: # too big for sack if I[hi][0] > k: return 0 # fits else: retur...
22.03125
69
0.455319
99
705
3.242424
0.343434
0.043614
0.280374
0.186916
0.370717
0.161994
0.161994
0.161994
0.161994
0.161994
0
0.054632
0.402837
705
31
70
22.741935
0.707838
0.143262
0
0.277778
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0.055556
0.388889
0.055556
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
0
0
2
5a59bbf41d09d9b1b99e57b30f3e8db2c9734a9d
232
py
Python
digits/inference/__init__.py
PhysicsTeacher13/Digits-NVIDIA
80c08ed2b84d5d4eb4f1721ab30f3db2ce67690a
[ "BSD-3-Clause" ]
111
2017-04-21T06:03:04.000Z
2021-04-26T06:36:54.000Z
digits/inference/__init__.py
PhysicsTeacher13/Digits-NVIDIA
80c08ed2b84d5d4eb4f1721ab30f3db2ce67690a
[ "BSD-3-Clause" ]
6
2017-05-15T22:02:49.000Z
2018-03-16T10:25:26.000Z
digits/inference/__init__.py
PhysicsTeacher13/Digits-NVIDIA
80c08ed2b84d5d4eb4f1721ab30f3db2ce67690a
[ "BSD-3-Clause" ]
40
2017-04-21T07:04:16.000Z
2019-11-14T14:20:32.000Z
# Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. from __future__ import absolute_import from .images import ImageInferenceJob from .job import InferenceJob __all__ = [ 'InferenceJob', 'ImageInferenceJob', ]
21.090909
63
0.762931
24
232
7
0.666667
0
0
0
0
0
0
0
0
0
0
0.020619
0.163793
232
10
64
23.2
0.845361
0.262931
0
0
0
0
0.171598
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
0
0
0
2
5a683a89ea393148d4edd0bc84134016995c858d
374
py
Python
runserver.py
chintal/tendril-monitor-vendor
af7577bd88b3d35e09a733607555d5d10e1cd9c7
[ "MIT" ]
null
null
null
runserver.py
chintal/tendril-monitor-vendor
af7577bd88b3d35e09a733607555d5d10e1cd9c7
[ "MIT" ]
null
null
null
runserver.py
chintal/tendril-monitor-vendor
af7577bd88b3d35e09a733607555d5d10e1cd9c7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 # Copyright (C) 2015 Chintalagiri Shashank # Released under the MIT license. """ Simple Deployment Example ------------------------- """ from vendor_monitor import worker from twisted.internet import reactor import logging logging.basicConfig(level=logging.INFO) if __name_...
16.26087
42
0.68984
44
374
5.659091
0.840909
0
0
0
0
0
0
0
0
0
0
0.015674
0.147059
374
22
43
17
0.76489
0.430481
0
0
0
0
0.04
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
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
0
0
0
2
ce456a679b725d44ec91f64a8df14df4d86ae155
1,918
py
Python
src/python/grpcio_tests/tests/interop/_intraop_test_case.py
txl0591/grpc
8b732dc466fb8a567c1bca9dbb84554d29087395
[ "Apache-2.0" ]
117
2017-10-02T21:34:35.000Z
2022-03-02T01:49:03.000Z
src/python/grpcio_tests/tests/interop/_intraop_test_case.py
txl0591/grpc
8b732dc466fb8a567c1bca9dbb84554d29087395
[ "Apache-2.0" ]
4
2017-10-03T22:45:30.000Z
2018-09-27T07:31:00.000Z
src/python/grpcio_tests/tests/interop/_intraop_test_case.py
txl0591/grpc
8b732dc466fb8a567c1bca9dbb84554d29087395
[ "Apache-2.0" ]
24
2017-10-31T12:14:15.000Z
2021-12-11T10:07:46.000Z
# Copyright 2015 gRPC 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 or agreed to in writing...
36.884615
80
0.728363
235
1,918
5.855319
0.485106
0.063953
0.110465
0.162791
0.265262
0.198401
0.122093
0
0
0
0
0.005212
0.199687
1,918
51
81
37.607843
0.891205
0.399374
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.380952
false
0
0.047619
0
0.47619
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
ce462fe45d9f73cc50c3b487d621d5b2ad86a06b
99
py
Python
pubmedpy/__init__.py
dhimmel/pubmedpy
9d716768f5ab798ec448154588e4fd99afd7584a
[ "BlueOak-1.0.0" ]
7
2019-11-13T09:14:19.000Z
2022-03-09T01:35:06.000Z
pubmedpy/__init__.py
dhimmel/pubmedpy
9d716768f5ab798ec448154588e4fd99afd7584a
[ "BlueOak-1.0.0" ]
2
2020-08-24T15:05:57.000Z
2020-10-21T04:12:56.000Z
pubmedpy/__init__.py
dhimmel/pubmedpy
9d716768f5ab798ec448154588e4fd99afd7584a
[ "BlueOak-1.0.0" ]
1
2021-02-18T00:01:09.000Z
2021-02-18T00:01:09.000Z
""" # Utilities for interacting with NCBI EUtilities relating to PubMed """ __version__ = "0.0.1"
16.5
67
0.717172
13
99
5.153846
0.923077
0
0
0
0
0
0
0
0
0
0
0.036145
0.161616
99
5
68
19.8
0.771084
0.676768
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ce4b6a50f11f5cd0ce57c03afebe02596310a357
405
py
Python
src/utils/config.py
mlrepa/automate-ml-with-dvc
b54a2e4818a991362d304890828df70359bab84a
[ "MIT" ]
4
2021-04-11T17:30:14.000Z
2021-07-27T10:09:53.000Z
src/utils/config.py
mlrepa/automate-ml-with-dvc
b54a2e4818a991362d304890828df70359bab84a
[ "MIT" ]
null
null
null
src/utils/config.py
mlrepa/automate-ml-with-dvc
b54a2e4818a991362d304890828df70359bab84a
[ "MIT" ]
1
2021-09-05T04:15:07.000Z
2021-09-05T04:15:07.000Z
import box from typing import Text import yaml def load_config(config_path: Text) -> box.ConfigBox: """Loads yaml config in instance of box.ConfigBox. Args: config_path {Text}: path to config Returns: box.ConfigBox """ with open(config_path) as config_file: config = yaml....
20.25
54
0.659259
53
405
4.90566
0.45283
0.184615
0.107692
0
0
0
0
0
0
0
0
0
0.261728
405
19
55
21.315789
0.869565
0.293827
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
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
0
0
0
1
0
1
0
0
2
ce51bf2481ad7448201c8511a71d60800f43cedd
350
py
Python
Logic/Helpers/ChronosTextEntry.py
terexdev/BSDS-V39
7deea469fbfbc56c48f8326ba972369679f6b098
[ "Apache-2.0" ]
11
2021-11-04T01:49:50.000Z
2022-01-31T16:50:47.000Z
Logic/Helpers/ChronosTextEntry.py
terexdev/BSDS-V39
7deea469fbfbc56c48f8326ba972369679f6b098
[ "Apache-2.0" ]
6
2021-11-04T08:52:01.000Z
2021-12-27T02:33:19.000Z
Logic/Helpers/ChronosTextEntry.py
terexdev/BSDS-V39
7deea469fbfbc56c48f8326ba972369679f6b098
[ "Apache-2.0" ]
5
2021-11-04T02:31:56.000Z
2022-03-14T02:04:33.000Z
from Logic.Classes.LogicDataTables import LogicDataTables from Logic.Data.DataManager import Writer from Logic.Data.DataManager import Reader class ChronosTextEntry: def decode(self: Reader): self.readInt() self.readString() def encode(self: Writer): self.writeInt(0) self.writ...
25
57
0.717143
41
350
6.121951
0.585366
0.10757
0.103586
0.191235
0.239044
0
0
0
0
0
0
0.003571
0.2
350
13
58
26.923077
0.892857
0
0
0
0
0
0.051429
0
0
0
0
0
0
1
0.2
false
0
0.3
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
0
0
1
0
0
2
ce5459689c023b5b6363dd479cd3042521f3f23d
1,112
py
Python
backend-project/small_eod/collections/migrations/0003_auto_20200131_2033.py
WlodzimierzKorza/small_eod
027022bd71122a949a2787d0fb86518df80e48cd
[ "MIT" ]
64
2019-12-30T11:24:03.000Z
2021-06-24T01:04:56.000Z
backend-project/small_eod/collections/migrations/0003_auto_20200131_2033.py
WlodzimierzKorza/small_eod
027022bd71122a949a2787d0fb86518df80e48cd
[ "MIT" ]
465
2018-06-13T21:43:43.000Z
2022-01-04T23:33:56.000Z
backend-project/small_eod/collections/migrations/0003_auto_20200131_2033.py
WlodzimierzKorza/small_eod
027022bd71122a949a2787d0fb86518df80e48cd
[ "MIT" ]
72
2018-12-02T19:47:03.000Z
2022-01-04T22:54:49.000Z
# Generated by Django 3.0.2 on 2020-01-31 20:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('collections', '0002_auto_20200109_1348'), ] operations = [ migrations.AlterField( model_name='collection', name='com...
32.705882
121
0.611511
113
1,112
5.858407
0.460177
0.120846
0.151057
0.175227
0.453172
0.36858
0.108761
0
0
0
0
0.045567
0.269784
1,112
33
122
33.69697
0.769704
0.040468
0
0.444444
1
0
0.213146
0.021596
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ce5d8d0f3c28fed69d76da9c81283dbdc6272f7e
1,505
py
Python
code/dependancy/smaliparser.py
OmkarMozar/CUPAP
6055f423e3f9b8bb1a44dd8fab73630554363b3d
[ "Apache-2.0" ]
null
null
null
code/dependancy/smaliparser.py
OmkarMozar/CUPAP
6055f423e3f9b8bb1a44dd8fab73630554363b3d
[ "Apache-2.0" ]
null
null
null
code/dependancy/smaliparser.py
OmkarMozar/CUPAP
6055f423e3f9b8bb1a44dd8fab73630554363b3d
[ "Apache-2.0" ]
null
null
null
from smalisca.core.smalisca_main import SmaliscaApp from smalisca.modules.module_smali_parser import SmaliParser from smalisca.core.smalisca_app import App from smalisca.core.smalisca_logging import log from smalisca.modules.module_sql_models import AppSQLModel import smalisca.core.smalisca_config as config import mul...
24.672131
73
0.743522
219
1,505
4.990868
0.43379
0.054895
0.073193
0.065874
0
0
0
0
0
0
0
0
0.154817
1,505
60
74
25.083333
0.859277
0.208638
0
0
0
0
0.089649
0
0
0
0
0
0
0
null
null
0
0.366667
null
null
0.066667
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
1
0
0
0
1
0
0
0
0
2
ce6eed2c9d0065dffb079ead3cb624c8d3a05810
224
py
Python
wixaward/urls.py
LekamCharity/wix-projects
76f9ab4429a978a42f0cea3e3a305a7cdfc4541d
[ "MIT" ]
null
null
null
wixaward/urls.py
LekamCharity/wix-projects
76f9ab4429a978a42f0cea3e3a305a7cdfc4541d
[ "MIT" ]
null
null
null
wixaward/urls.py
LekamCharity/wix-projects
76f9ab4429a978a42f0cea3e3a305a7cdfc4541d
[ "MIT" ]
null
null
null
from django.urls import path urlpatterns=[ path('profile',views.profile, name='profile'), ] if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
22.4
60
0.665179
25
224
5.84
0.68
0.178082
0
0
0
0
0
0
0
0
0
0
0.223214
224
9
61
24.888889
0.83908
0
0
0
0
0
0.0625
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
0
0
0
2
ce735019669e5c6f53493f5d8d363b42ab7d2267
1,434
py
Python
class4/e3_pexpect.py
ktbyers/pynet_wantonik
601bce26142b6741202c2bdafb9e0d0cec1b3c78
[ "Apache-2.0" ]
2
2017-05-11T12:05:15.000Z
2021-07-15T18:13:19.000Z
class4/e3_pexpect.py
ktbyers/pynet_wantonik
601bce26142b6741202c2bdafb9e0d0cec1b3c78
[ "Apache-2.0" ]
null
null
null
class4/e3_pexpect.py
ktbyers/pynet_wantonik
601bce26142b6741202c2bdafb9e0d0cec1b3c78
[ "Apache-2.0" ]
1
2017-05-11T12:05:18.000Z
2017-05-11T12:05:18.000Z
#!/usr/bin/env python ''' Simple script to execute shell command on lab router with Pexpect module. ''' import pexpect, sys, re from getpass import getpass def main(): ## Define variables ip_addr = '184.105.247.71' username = 'pyclass' port = 22 password = getpass() ## Set up connection with r...
29.875
86
0.631799
193
1,434
4.549223
0.492228
0.111617
0.059226
0.051253
0.149203
0.091116
0.091116
0.091116
0.091116
0
0
0.01711
0.266388
1,434
47
87
30.510638
0.81749
0.22106
0
0.178571
0
0
0.183513
0
0
0
0
0
0
0
null
null
0.107143
0.071429
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
ce796d88eb98f929fefba1eaa8a093ed6e266e4a
1,285
py
Python
icm/__main__.py
MCasari-PMEL/EDD-ICMGUI
3210e7bb74ff2ace6e1c8c0bf132ecae5713141b
[ "MIT" ]
null
null
null
icm/__main__.py
MCasari-PMEL/EDD-ICMGUI
3210e7bb74ff2ace6e1c8c0bf132ecae5713141b
[ "MIT" ]
3
2018-01-08T16:44:33.000Z
2018-01-08T16:47:55.000Z
icm/__main__.py
MCasari-PMEL/EDD-ICMGUI
3210e7bb74ff2ace6e1c8c0bf132ecae5713141b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys, os, time, serial, json import numpy as np import pyqtgraph as pg import pyqtgraph.console from PyQt5.QtCore import pyqtSignal, QObject from pyqtgraph.Qt import QtCore, QtGui from pyqtgraph.dockarea import * from icm.ui_clock import * from icm.ui_createfile ...
22.54386
65
0.662257
155
1,285
5.277419
0.548387
0.061125
0.079462
0.091687
0
0
0
0
0
0
0
0.003074
0.240467
1,285
56
66
22.946429
0.835041
0.209339
0
0
0
0
0.007992
0
0
0
0
0
0
1
0.103448
false
0.034483
0.413793
0
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
ce801d6bd90e41604f5f09f5bc95fde822da704c
728
py
Python
TASQ/problems/forms.py
harshraj22/smallProjects
b31e9173c60abb778a1c196609757704ec9c3750
[ "MIT" ]
2
2019-11-18T14:13:57.000Z
2020-11-08T06:50:32.000Z
TASQ/problems/forms.py
harshraj22/smallProjects
b31e9173c60abb778a1c196609757704ec9c3750
[ "MIT" ]
16
2019-11-12T13:08:01.000Z
2022-02-27T10:51:28.000Z
TASQ/problems/forms.py
harshraj22/smallProjects
b31e9173c60abb778a1c196609757704ec9c3750
[ "MIT" ]
null
null
null
from django import forms from .models import Problem class ProblemForm(forms.ModelForm): options = ( ('A', 'A'), ('B', 'B'), ('C', 'C'), ('D', 'D'), ) choice = forms.ChoiceField(choices=options) class Meta: model = Problem fields = '__all__' # exclude = ['answer'] widgets = { 'answer': forms.Hid...
28
89
0.634615
77
728
5.948052
0.493506
0.170306
0.275109
0.29476
0.382096
0
0
0
0
0
0
0.0064
0.141484
728
25
90
29.12
0.7264
0.027473
0
0
0
0
0.242553
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.272727
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ce849a188316eb44b68f6012ce73ef84e1631ac2
9,586
py
Python
satyr/proxies/scheduler.py
usheth/satyr
01fadbe2f9c294b9a9719a85d5bd032925453ee6
[ "Apache-2.0" ]
null
null
null
satyr/proxies/scheduler.py
usheth/satyr
01fadbe2f9c294b9a9719a85d5bd032925453ee6
[ "Apache-2.0" ]
null
null
null
satyr/proxies/scheduler.py
usheth/satyr
01fadbe2f9c294b9a9719a85d5bd032925453ee6
[ "Apache-2.0" ]
1
2018-10-10T18:57:54.000Z
2018-10-10T18:57:54.000Z
from __future__ import absolute_import, division, print_function import logging import sys from mesos.interface import Scheduler from .messages import Filters, decode, encode class SchedulerProxy(Scheduler): def __init__(self, scheduler): self.scheduler = scheduler def registered(self, driver, fr...
41.860262
80
0.628312
1,086
9,586
5.508287
0.269797
0.043464
0.037446
0.035105
0.130391
0.12337
0.104982
0.094952
0.094952
0.070545
0
0
0.305654
9,586
228
81
42.04386
0.898738
0.41738
0
0.120879
0
0
0.049523
0
0
0
0
0.004386
0
1
0.285714
false
0
0.054945
0
0.626374
0.021978
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
0
1
0
0
2
ce86369c63bb6fc50980df6a3068e5a13c86663c
3,350
py
Python
xen/xen-4.2.2/tools/python/xen/xm/console.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
1
2018-02-02T00:15:26.000Z
2018-02-02T00:15:26.000Z
xen/xen-4.2.2/tools/python/xen/xm/console.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
null
null
null
xen/xen-4.2.2/tools/python/xen/xm/console.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
1
2019-05-27T09:47:18.000Z
2019-05-27T09:47:18.000Z
#============================================================================ # This library is free software; you can redistribute it and/or # modify it under the terms of version 2.1 of the GNU Lesser General Public # License as published by the Free Software Foundation. # # This library is distributed in the hope th...
37.640449
77
0.589851
411
3,350
4.690998
0.394161
0.068465
0.074689
0.029564
0.093361
0.051867
0.03527
0
0
0
0
0.015218
0.254627
3,350
88
78
38.068182
0.756908
0.268358
0
0.090909
0
0
0.072279
0
0
0
0
0
0
0
null
null
0.212121
0.090909
null
null
0.060606
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
1
0
0
1
0
0
0
0
0
2
ceac15e5add44827ffdab3055b716cb3256a3e2a
1,327
py
Python
src/aws_lambda_typing/events/kinesis_stream.py
chuckwondo/aws-lambda-typing
8417ab67f2492be1508fe38b2c34bc106619a56d
[ "MIT" ]
29
2021-01-07T13:35:16.000Z
2022-03-25T07:20:54.000Z
src/aws_lambda_typing/events/kinesis_stream.py
chuckwondo/aws-lambda-typing
8417ab67f2492be1508fe38b2c34bc106619a56d
[ "MIT" ]
13
2021-02-28T00:31:00.000Z
2022-03-29T15:24:01.000Z
src/aws_lambda_typing/events/kinesis_stream.py
chuckwondo/aws-lambda-typing
8417ab67f2492be1508fe38b2c34bc106619a56d
[ "MIT" ]
5
2021-02-27T13:50:42.000Z
2022-01-13T15:05:44.000Z
#!/usr/bin/env python import sys if sys.version_info >= (3, 8): from typing import List, TypedDict else: from typing import List from typing_extensions import TypedDict class KinesisStreamKinesis(TypedDict): """ KinesisStreamKinesis Attributes: ---------- kinesisSchemaVersion: str ...
16.382716
66
0.666164
115
1,327
7.669565
0.426087
0.034014
0.036281
0.045351
0.485261
0.485261
0.485261
0.485261
0.485261
0.485261
0
0.001976
0.237378
1,327
80
67
16.5875
0.869565
0.410701
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.173913
0
0.913043
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
0
0
1
0
0
2
ceadbfc8ec08afd61feb6385ed4d339e585d1115
538
py
Python
exercises/de/test_01_07.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
2,085
2019-04-17T13:10:40.000Z
2022-03-30T21:51:46.000Z
exercises/de/test_01_07.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
79
2019-04-18T14:42:55.000Z
2022-03-07T08:15:43.000Z
exercises/de/test_01_07.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
361
2019-04-17T13:34:32.000Z
2022-03-28T04:42:45.000Z
def test(): assert "spacy.load" in __solution__, "Rufst du spacy.load auf?" assert nlp.meta["lang"] == "de", "Lädst du das korrekte Modell?" assert nlp.meta["name"] == "core_news_sm", "Lädst du das korrekte Modell?" assert "nlp(text)" in __solution__, "Verarbeitest du den Text korrekt?" assert "prin...
44.833333
79
0.669145
77
538
4.441558
0.636364
0.087719
0.076023
0.105263
0.192982
0.192982
0.192982
0
0
0
0
0
0.211896
538
11
80
48.909091
0.806604
0
0
0
0
0
0.574349
0
0
0
0
0
0.5
1
0.1
true
0
0
0
0.1
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
2
ceafef1d012a2252b4736fc5912d1fe98bb743cd
10,608
py
Python
psdet/models/point_detector/utils.py
Jiaolong/gcn-parking-slot
f8c3b445b186e3a7fd13af1f17fa5ba0336027c7
[ "MIT" ]
56
2021-03-24T08:24:27.000Z
2022-03-26T13:56:36.000Z
psdet/models/point_detector/utils.py
Jiaolong/gcn-parking-slot
f8c3b445b186e3a7fd13af1f17fa5ba0336027c7
[ "MIT" ]
7
2021-04-05T03:55:05.000Z
2022-03-08T03:12:20.000Z
psdet/models/point_detector/utils.py
Jiaolong/gcn-parking-slot
f8c3b445b186e3a7fd13af1f17fa5ba0336027c7
[ "MIT" ]
17
2021-04-04T02:42:09.000Z
2022-03-31T01:48:06.000Z
"""Universal network struture unit definition.""" import torch import math from torch import nn import torchvision from torch.utils import model_zoo from torchvision.models.resnet import BasicBlock, model_urls, Bottleneck def define_squeeze_unit(basic_channel_size): """Define a 1x1 squeeze convolution with norm an...
36.961672
113
0.607089
1,391
10,608
4.463695
0.128684
0.044291
0.059269
0.030118
0.747463
0.714286
0.66162
0.657916
0.639878
0.627476
0
0.054222
0.269796
10,608
286
114
37.090909
0.747353
0.073906
0
0.607306
0
0
0.008328
0
0
0
0
0
0
1
0.100457
false
0
0.027397
0.013699
0.223744
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
0
0
0
0
0
0
0
0
2
cebbaac4650f5e836f24ada37e7051b81fcb685c
262
py
Python
hw_asr/metric/__init__.py
kostyayatsok/asr_project_template
ee5fb8006fa4e4f5d4a2e5c6e9f6352c22ad5bbb
[ "MIT" ]
null
null
null
hw_asr/metric/__init__.py
kostyayatsok/asr_project_template
ee5fb8006fa4e4f5d4a2e5c6e9f6352c22ad5bbb
[ "MIT" ]
null
null
null
hw_asr/metric/__init__.py
kostyayatsok/asr_project_template
ee5fb8006fa4e4f5d4a2e5c6e9f6352c22ad5bbb
[ "MIT" ]
null
null
null
from hw_asr.metric.cer_metric import ArgmaxCERMetric, BeamsearchCERMetric from hw_asr.metric.wer_metric import ArgmaxWERMetric, BeamsearchWERMetric __all__ = [ "ArgmaxWERMetric", "ArgmaxCERMetric", "BeamsearchCERMetric", "BeamsearchWERMetric" ]
26.2
73
0.790076
23
262
8.652174
0.521739
0.060302
0.090452
0.150754
0
0
0
0
0
0
0
0
0.133588
262
9
74
29.111111
0.876652
0
0
0
0
0
0.259542
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ced99530196a9edbf9316f733aa9a4cd0cc8c3bd
1,515
py
Python
Code/Examples/Example_22.py
R6500/SLab
d8e4eac7d59dcdb2941ad4b267b59533bd038cab
[ "MIT" ]
2
2018-02-23T18:23:35.000Z
2018-04-10T11:30:31.000Z
Code/Examples/Example_22.py
R6500/SLab
d8e4eac7d59dcdb2941ad4b267b59533bd038cab
[ "MIT" ]
null
null
null
Code/Examples/Example_22.py
R6500/SLab
d8e4eac7d59dcdb2941ad4b267b59533bd038cab
[ "MIT" ]
null
null
null
''' SLab Example Example_22.py Create several waveforms Connect DAC 1 to ADC 1 ''' # Locate slab in the parent folder import sys sys.path.append('..') sys.path.append('.') import slab # Set prefix to locate calibrations slab.setFilePrefix("../") # Open serial communication slab.connect() # Se...
19.675325
59
0.678548
242
1,515
4.243802
0.396694
0.087634
0.157741
0.166504
0.099318
0.092502
0.092502
0
0
0
0
0.072712
0.192079
1,515
76
60
19.934211
0.76634
0.365677
0
0.25
0
0
0.024173
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.03125
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
1
0
0
0
0
0
0
0
0
2
0c729770e81b2c493f1f39b13a63dd8b4098a0c6
104
py
Python
micropsi_core/world/island/__init__.py
brucepro/micropsi2
84c304d5339f25d112da5565fb2cd98c31524f94
[ "Apache-2.0" ]
119
2015-01-23T11:24:58.000Z
2022-03-13T08:00:50.000Z
micropsi_core/world/island/__init__.py
Chediak/micropsi2
74a2642d20da9da1d64acc5e4c11aeabee192a27
[ "MIT" ]
9
2015-02-18T20:44:58.000Z
2021-09-17T14:38:05.000Z
micropsi_core/world/island/__init__.py
Chediak/micropsi2
74a2642d20da9da1d64acc5e4c11aeabee192a27
[ "MIT" ]
34
2015-04-01T20:48:49.000Z
2022-03-13T08:02:00.000Z
#!/usr/local/bin/python # -*- coding: utf-8 -*- """ """ __author__ = 'joscha' __date__ = '03.08.12'
9.454545
23
0.548077
13
104
3.769231
1
0
0
0
0
0
0
0
0
0
0
0.081395
0.173077
104
10
24
10.4
0.488372
0.423077
0
0
0
0
0.285714
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
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0c8967029f04eaa76a7e75ae4334c986e1287fc3
1,887
py
Python
dataset_generator/learning/imitation/tensorflow/_layers.py
rjean/duckie-segmentation
5e720e1a96ef61c4560823030549ac1d5d16e2a4
[ "Apache-2.0" ]
1
2021-02-03T02:23:34.000Z
2021-02-03T02:23:34.000Z
dataset_generator/learning/imitation/tensorflow/_layers.py
rjean/mobile-segmentation
5e720e1a96ef61c4560823030549ac1d5d16e2a4
[ "Apache-2.0" ]
null
null
null
dataset_generator/learning/imitation/tensorflow/_layers.py
rjean/mobile-segmentation
5e720e1a96ef61c4560823030549ac1d5d16e2a4
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf L2_LAMBDA = 1e-04 def _residual_block(x, size, dropout=False, dropout_prob=0.5, seed=None): residual = tf.layers.batch_normalization(x) # TODO: check if the defaults in Tf are the same as in Keras residual = tf.nn.relu(residual) residual = tf.layers.conv2d( residual, ...
29.484375
109
0.650768
250
1,887
4.76
0.232
0.052941
0.053782
0.094118
0.694118
0.613445
0.613445
0.613445
0.613445
0.613445
0
0.026352
0.235824
1,887
63
110
29.952381
0.79889
0.030737
0
0.622642
0
0
0.008758
0
0
0
0
0.015873
0
1
0.037736
false
0
0.018868
0
0.09434
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
0c914d8fbc8a5b30dab1155628e15079383dc757
1,342
py
Python
apps/images/migrations/0001_initial.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
48
2018-04-13T13:00:10.000Z
2020-03-17T23:35:23.000Z
apps/images/migrations/0001_initial.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
77
2018-03-25T13:17:12.000Z
2020-08-11T08:24:49.000Z
apps/images/migrations/0001_initial.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
35
2018-03-30T21:43:21.000Z
2020-08-11T05:51:46.000Z
# Generated by Django 3.0.3 on 2020-02-28 13:21 import django.utils.timezone from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Image", fields=[ ( ...
26.84
76
0.354694
84
1,342
5.559524
0.642857
0.094218
0.08137
0
0
0
0
0
0
0
0
0.028765
0.559613
1,342
49
77
27.387755
0.761421
0.033532
0
0.190476
1
0
0.043243
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0c91f8beba1444262adffec26a3344ef48edb987
435
py
Python
ex3.py
SuPoPoo/python-exercise
601b87c38c0090406cf532d2f9676b18650a0e0f
[ "MIT" ]
null
null
null
ex3.py
SuPoPoo/python-exercise
601b87c38c0090406cf532d2f9676b18650a0e0f
[ "MIT" ]
null
null
null
ex3.py
SuPoPoo/python-exercise
601b87c38c0090406cf532d2f9676b18650a0e0f
[ "MIT" ]
null
null
null
print("I will now count my chickens:") print ("Hens",25+30/6) print ("Roosters",100-25*3%4) print("How I will count the eggs:") print(3+2+1-5+4%2-1/4+6) print("Is it true that 3+2<5-7?") print(3+2<5-7) print("What is 3+2?", 3+2) print("What is 5-7?", 5-7) print("Oh,that's why it's false") print("How about some...
16.730769
38
0.62069
98
435
2.755102
0.387755
0.037037
0.133333
0.02963
0.148148
0
0
0
0
0
0
0.115591
0.144828
435
25
39
17.4
0.610215
0
0
0
0
0
0.497696
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
0c93992159c77c279e8541bafd3b789955b4b418
473
py
Python
3/node.py
Pavel3P/Machine-Learning
441da7de69ebf6cef9ebe54a0b3992918faf1d40
[ "MIT" ]
null
null
null
3/node.py
Pavel3P/Machine-Learning
441da7de69ebf6cef9ebe54a0b3992918faf1d40
[ "MIT" ]
null
null
null
3/node.py
Pavel3P/Machine-Learning
441da7de69ebf6cef9ebe54a0b3992918faf1d40
[ "MIT" ]
null
null
null
import numpy as np class Node: def __init__(self, gini: float, num_samples_per_class: np.ndarray, ) -> None: self.gini: float = gini self.num_samples_per_class: np.ndarray = num_samples_per_class self.predicted_class: int = np.argmax(num_s...
26.277778
70
0.587738
60
473
4.333333
0.416667
0.153846
0.2
0.276923
0.376923
0.207692
0
0
0
0
0
0.006349
0.334038
473
17
71
27.823529
0.819048
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.230769
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0c9ae725d3c7ffae05b2711dd0cf627833bcd823
5,855
py
Python
tests/test_build_endpoint.py
lsst-sqre/ltd-dasher
176e125839b380f005a092189db760b716e8e23d
[ "MIT" ]
null
null
null
tests/test_build_endpoint.py
lsst-sqre/ltd-dasher
176e125839b380f005a092189db760b716e8e23d
[ "MIT" ]
9
2017-01-24T20:28:49.000Z
2021-10-04T15:36:17.000Z
tests/test_build_endpoint.py
lsst-sqre/ltd-dasher
176e125839b380f005a092189db760b716e8e23d
[ "MIT" ]
null
null
null
"""Test app.routes.build.""" import responses mock_product_data = { "bucket_name": "lsst-the-docs", "doc_repo": "https://github.com/lsst-sqre/test-059.git", "domain": "test-059.lsst.io", "fastly_domain": "n.global-ssl.fastly.net", "published_url": "https://test-059.lsst.io", "root_domain": "l...
28.985149
76
0.625107
684
5,855
5.171053
0.173977
0.080859
0.132316
0.161719
0.726604
0.706531
0.676279
0.587786
0.536896
0.470455
0
0.081557
0.214688
5,855
201
77
29.129353
0.68769
0.02801
0
0.479769
0
0
0.493999
0.036357
0
0
0
0
0.011561
1
0.011561
false
0
0.00578
0
0.017341
0
0
0
0
null
0
0
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
2
0c9b0609ebab7f0a04accd501a146384f501a809
2,650
py
Python
HW2/heart.py
MohammadJRanjbar/Data-Mining
66492166df12924a754273cdaad169d84968f2e1
[ "MIT" ]
null
null
null
HW2/heart.py
MohammadJRanjbar/Data-Mining
66492166df12924a754273cdaad169d84968f2e1
[ "MIT" ]
null
null
null
HW2/heart.py
MohammadJRanjbar/Data-Mining
66492166df12924a754273cdaad169d84968f2e1
[ "MIT" ]
null
null
null
from sklearn import tree from matplotlib import pyplot as plt from sklearn.model_selection import cross_val_score from sklearn.model_selection import train_test_split from sklearn import model_selection from sklearn import metrics import numpy as np import pandas as pd import seaborn as sns from sklearn.neighbors impor...
29.444444
116
0.755849
401
2,650
4.820449
0.321696
0.073978
0.018107
0.043456
0.438696
0.339886
0.277807
0.131402
0.131402
0.131402
0
0.011402
0.106415
2,650
89
117
29.775281
0.804899
0.382264
0
0.171429
0
0
0.062422
0
0
0
0
0
0
1
0
false
0
0.514286
0
0.514286
0.057143
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
0
1
0
0
2