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
935c113442e7a97fc7a842ffdad6ffb35ce5da94
627
py
Python
src/pyscaffoldext/custom_extension/templates/__init__.py
abravalheri/pyscaffoldext-custom-extension
2bbe0cd1850ddbd7f3a3c6a64ed39ad400477c19
[ "MIT" ]
null
null
null
src/pyscaffoldext/custom_extension/templates/__init__.py
abravalheri/pyscaffoldext-custom-extension
2bbe0cd1850ddbd7f3a3c6a64ed39ad400477c19
[ "MIT" ]
null
null
null
src/pyscaffoldext/custom_extension/templates/__init__.py
abravalheri/pyscaffoldext-custom-extension
2bbe0cd1850ddbd7f3a3c6a64ed39ad400477c19
[ "MIT" ]
null
null
null
from pkg_resources import resource_string import os import string def get_template(name): file_name = "{name}.template".format(name=name) data = resource_string("pyscaffoldext.custom_extension.templates",file_name) return string.Template(data.decode("UTF-8")) def extension(class_name): template = g...
26.125
80
0.759171
81
627
5.641975
0.37037
0.09628
0.124726
0.183807
0.140044
0
0
0
0
0
0
0.001835
0.130782
627
24
81
26.125
0.836697
0
0
0.125
0
0
0.171975
0.063694
0
0
0
0
0
1
0.25
false
0
0.1875
0
0.6875
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
1
0
0
3
937a8dce7ca40a2852fb5d9e09277e1b1e90d683
48
py
Python
backend/common/constants.py
jaenia/pokebattle
760181384ea1c067d40705f120152641156724d8
[ "MIT" ]
null
null
null
backend/common/constants.py
jaenia/pokebattle
760181384ea1c067d40705f120152641156724d8
[ "MIT" ]
4
2021-01-05T18:51:30.000Z
2021-04-07T17:03:08.000Z
backend/common/constants.py
jaenia/pokebattle
760181384ea1c067d40705f120152641156724d8
[ "MIT" ]
null
null
null
POKEAPI_BASE_URL = "https://pokeapi.co/api/v2/"
24
47
0.729167
8
48
4.125
0.875
0
0
0
0
0
0
0
0
0
0
0.022222
0.0625
48
1
48
48
0.711111
0
0
0
0
0
0.541667
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
937bda8863d8ff6c3fb9b4bddbd1560b01df3357
501
py
Python
examples/ai_generated_photos/ai_generated_photos.py
akshitsingla/amadeus-python
d8f3595e556b674998156f98d8a318045bb4c21c
[ "MIT" ]
null
null
null
examples/ai_generated_photos/ai_generated_photos.py
akshitsingla/amadeus-python
d8f3595e556b674998156f98d8a318045bb4c21c
[ "MIT" ]
null
null
null
examples/ai_generated_photos/ai_generated_photos.py
akshitsingla/amadeus-python
d8f3595e556b674998156f98d8a318045bb4c21c
[ "MIT" ]
null
null
null
from amadeus import Client, ResponseError amadeus = Client() try: ''' Generates a photo with mountain ''' response = amadeus.media.files.generated_photos.get(category='MOUNTAIN') try: import urllib.request urllib.request.urlretrieve(response.data['attachmentUri'], 'generated_image....
27.833333
89
0.704591
53
501
6.603774
0.584906
0.068571
0.131429
0.205714
0.285714
0.285714
0
0
0
0
0
0
0.195609
501
17
90
29.470588
0.868486
0
0
0.166667
1
0
0.15859
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
9381696e0fca46598fdd5c4c3c7dcfdc4f37d631
2,019
py
Python
torchcmh/training/__init__.py
chrisbyd/deep-cross-modal-hashing
b67bed412a499fdb619769d5132d897f5910c433
[ "MIT" ]
65
2019-12-08T12:11:53.000Z
2022-03-10T09:25:45.000Z
torchcmh/training/__init__.py
silencelzx/deep-cross-modal-hashing
9784397c1076c81b43ebd856cb24b8a67cf8f41e
[ "MIT" ]
17
2020-05-07T09:22:20.000Z
2022-03-02T02:05:18.000Z
torchcmh/training/__init__.py
silencelzx/deep-cross-modal-hashing
9784397c1076c81b43ebd856cb24b8a67cf8f41e
[ "MIT" ]
17
2020-04-02T06:38:49.000Z
2022-01-11T12:41:49.000Z
# -*- coding: utf-8 -*- # @Time : 2019/7/10 # @Author : Godder # @Github : https://github.com/WangGodder import warnings methods = ['DCMH', 'TDH', 'CMHH', 'SCAHN', 'PRDH', 'SSAH', 'RDCMH', 'ASCHN_nMS', 'SCAHN focal', 'QDCMH', 'CDQ', 'CHN', 'BCDH', 'MCDH'] __all__ = ['get_train'] @DeprecationWarning def get_tra...
43.891304
134
0.660723
261
2,019
5.045977
0.302682
0.116932
0.191344
0.265756
0.375854
0.330296
0.05467
0
0
0
0
0.015971
0.19366
2,019
45
135
44.866667
0.792998
0.050025
0
0
0
0
0.111866
0
0
0
0
0
0
1
0.027027
false
0
0.405405
0
0.459459
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fa82a9d8438c7e4e59bff427096ac3fb84b323ed
451
py
Python
deepSI/utils/__init__.py
seaveredge/deepSI
429dfcc3dba5cebd4ece01ad734c7f543f17f206
[ "BSD-3-Clause" ]
2
2022-01-26T10:33:13.000Z
2022-02-16T10:22:42.000Z
deepSI/utils/__init__.py
seaveredge/deepSI
429dfcc3dba5cebd4ece01ad734c7f543f17f206
[ "BSD-3-Clause" ]
null
null
null
deepSI/utils/__init__.py
seaveredge/deepSI
429dfcc3dba5cebd4ece01ad734c7f543f17f206
[ "BSD-3-Clause" ]
null
null
null
from deepSI.utils.torch_nets import simple_res_net, feed_forward_nn, general_koopman_forward_layer, \ CNN_chained_upscales, CNN_encoder, complete_MLP_res_net,\ Shotgun_MLP, Shotgun_encoder, integrator_RK4, time_integrators, \ contracting_REN, LFR_ANN, integrator_euler import deepSI.utils.s...
56.375
101
0.820399
62
451
5.516129
0.677419
0.128655
0.131579
0
0
0
0
0
0
0
0
0.002545
0.128603
451
7
102
64.428571
0.867684
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fa84d09829c5129a25ea96eea68e8d8ebe9c0d13
818
py
Python
models/calcular.py
davidson-vs/Python_Game
ca28d3d007158cc42ede810cedc0637792b65d66
[ "MIT" ]
null
null
null
models/calcular.py
davidson-vs/Python_Game
ca28d3d007158cc42ede810cedc0637792b65d66
[ "MIT" ]
null
null
null
models/calcular.py
davidson-vs/Python_Game
ca28d3d007158cc42ede810cedc0637792b65d66
[ "MIT" ]
null
null
null
from random import randint class Calcular: def __init__(self: object, dificuldade: int) -> None: self.__dificuldade: int = dificuldade self.__valor1: int = self.__gerar_valor self.__valor2: int = self.__gerar_valor # 1- somar, 2- diminuir, 3- multiplicar self.__opercao: in...
24.787879
57
0.636919
92
818
5.304348
0.304348
0.122951
0.133197
0.194672
0.235656
0
0
0
0
0
0
0.018425
0.270171
818
32
58
25.5625
0.798995
0.045232
0
0.217391
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0.043478
0.217391
0.565217
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
fa8c223b3593a479ca61a79e74ef91c56e4463ad
440
py
Python
qcloudsdklive/DeleteLVBChannelRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdklive/DeleteLVBChannelRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdklive/DeleteLVBChannelRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DeleteLVBChannelRequest(Request): def __init__(self): super(DeleteLVBChannelRequest, self).__init__( 'live', 'qcloudcliV1', 'DeleteLVBChannel', 'live.api.qcloud.com') def get_channelIds(self): return self.get...
27.5
77
0.686364
45
440
6.444444
0.577778
0.144828
0
0
0
0
0
0
0
0
0
0.005571
0.184091
440
15
78
29.333333
0.802228
0.047727
0
0
0
0
0.167866
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fa8fcd82a0afadf81aca6fc3466fa3f41e9a5129
80
py
Python
ProblemSolving/Staircase.py
KunyuHe/Hacker-Rank-Practice
b6ffae26fd5b11e7826b7c8aa4f197399ed3c93e
[ "Apache-2.0" ]
null
null
null
ProblemSolving/Staircase.py
KunyuHe/Hacker-Rank-Practice
b6ffae26fd5b11e7826b7c8aa4f197399ed3c93e
[ "Apache-2.0" ]
null
null
null
ProblemSolving/Staircase.py
KunyuHe/Hacker-Rank-Practice
b6ffae26fd5b11e7826b7c8aa4f197399ed3c93e
[ "Apache-2.0" ]
null
null
null
def staircase(n): for i in range(1, n+1): print(("#" * i).rjust(n))
20
33
0.4875
14
80
2.785714
0.714286
0
0
0
0
0
0
0
0
0
0
0.034483
0.275
80
3
34
26.666667
0.637931
0
0
0
0
0
0.0125
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
fa9476b2bd729b2a253b87d60abc458dae1ef7dc
143
py
Python
Week 2 - Calculator/Hf.py
Jasleenk47/BeginnerRoom-2020
32903f6917a236fe685106c148b8531c62210f1f
[ "Unlicense" ]
5
2021-01-19T00:31:22.000Z
2021-03-05T02:31:10.000Z
Week 2 - Calculator/Hf.py
Jasleenk47/BeginnerRoom-2020
32903f6917a236fe685106c148b8531c62210f1f
[ "Unlicense" ]
34
2021-01-14T21:00:18.000Z
2021-03-11T17:57:26.000Z
Week 2 - Calculator/Hf.py
Jasleenk47/BeginnerRoom-2020
32903f6917a236fe685106c148b8531c62210f1f
[ "Unlicense" ]
43
2021-01-14T20:40:47.000Z
2021-03-11T02:29:30.000Z
import math a = float(input("Mass: ")) b = float(input("Eg: ")) d = a*9.8 c = (b/d) print ("the final height " + str(c) + " Metres")
15.888889
48
0.517483
24
143
3.083333
0.75
0.27027
0
0
0
0
0
0
0
0
0
0.018692
0.251748
143
9
48
15.888889
0.672897
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa9fd92cb2e1c9c7a99c61c2afce8c4a8205490d
67
py
Python
django2_manager_cache/__init__.py
jayvdb/django2_manager_cache
b915949be660b1cd4f7504e360cde7b93ea60c37
[ "MIT" ]
null
null
null
django2_manager_cache/__init__.py
jayvdb/django2_manager_cache
b915949be660b1cd4f7504e360cde7b93ea60c37
[ "MIT" ]
null
null
null
django2_manager_cache/__init__.py
jayvdb/django2_manager_cache
b915949be660b1cd4f7504e360cde7b93ea60c37
[ "MIT" ]
1
2020-05-06T12:15:43.000Z
2020-05-06T12:15:43.000Z
from .cache_manager import CacheManager __all__ = [CacheManager]
13.4
39
0.80597
7
67
7
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.134328
67
4
40
16.75
0.844828
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
faa0f8261a57e758b6b45cbaf3f41ba2682cf325
1,228
py
Python
clients/keto/python/test/test_read_api.py
simoneromano96/sdk
a6113d0daefbbb803790297e4b242d4c7cbbcb22
[ "Apache-2.0" ]
null
null
null
clients/keto/python/test/test_read_api.py
simoneromano96/sdk
a6113d0daefbbb803790297e4b242d4c7cbbcb22
[ "Apache-2.0" ]
null
null
null
clients/keto/python/test/test_read_api.py
simoneromano96/sdk
a6113d0daefbbb803790297e4b242d4c7cbbcb22
[ "Apache-2.0" ]
null
null
null
""" ORY Keto Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. # noqa: E501 The version of the OpenAPI document: v0.6.0-alpha.1 Contact: hi@ory.sh Generated by: https://openapi-generator.tech...
21.172414
173
0.618078
160
1,228
4.575
0.46875
0.076503
0.060109
0.081967
0.295082
0.161202
0.161202
0.161202
0.098361
0
0
0.028703
0.290717
1,228
57
174
21.54386
0.811711
0.491042
0
0.277778
0
0
0.015905
0
0
0
0
0
0
1
0.333333
false
0.277778
0.166667
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
fab5d1281b8ddb91285f8ce063651304a44620c5
1,602
py
Python
src/main/python/programmingtheiot/cda/system/BaseSystemUtilTask.py
Yao-Miao/IoT-constrained-device-app
2eeb4bbb4a37e18636fd8db3d216edaa5d334b10
[ "MIT" ]
null
null
null
src/main/python/programmingtheiot/cda/system/BaseSystemUtilTask.py
Yao-Miao/IoT-constrained-device-app
2eeb4bbb4a37e18636fd8db3d216edaa5d334b10
[ "MIT" ]
null
null
null
src/main/python/programmingtheiot/cda/system/BaseSystemUtilTask.py
Yao-Miao/IoT-constrained-device-app
2eeb4bbb4a37e18636fd8db3d216edaa5d334b10
[ "MIT" ]
null
null
null
##### # # This class is part of the Programming the Internet of Things project. # # It is provided as a simple shell to guide the student and assist with # implementation for the Programming the Internet of Things exercises, # and designed to be modified by the student as needed. # import logging from programmingth...
22.25
101
0.699126
190
1,602
5.815789
0.442105
0.126697
0.030769
0.045249
0.103167
0.103167
0
0
0
0
0
0
0.199126
1,602
72
102
22.25
0.861263
0.427591
0
0
0
0
0.091241
0.055961
0
0
0
0.027778
0
1
0.210526
false
0.052632
0.105263
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
fae9871191f5b6ae517a805b112dc0f66255c41f
10,800
py
Python
pyboto3/ebs.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
91
2016-12-31T11:38:37.000Z
2021-09-16T19:33:23.000Z
pyboto3/ebs.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
7
2017-01-02T18:54:23.000Z
2020-08-11T13:54:02.000Z
pyboto3/ebs.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
26
2016-12-31T13:11:00.000Z
2022-03-03T21:01:12.000Z
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
27.906977
330
0.704444
1,349
10,800
5.613047
0.211268
0.022187
0.030111
0.030111
0.603671
0.568674
0.55309
0.549657
0.486001
0.461965
0
0.011885
0.220926
10,800
386
331
27.979275
0.888044
0.933981
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
faf1eceb0e680ee291a8bda5aed18d3fa499df34
136
py
Python
swd_optim/__init__.py
zeke-xie/stable-weight-decay-regularization
6eb5723d4c7ce0e6948b228a6cc53e6ecfc99fb9
[ "MIT" ]
19
2020-11-24T09:54:11.000Z
2022-01-19T02:50:54.000Z
swd_optim/__init__.py
zeke-xie/stable-weight-decay-regularization
6eb5723d4c7ce0e6948b228a6cc53e6ecfc99fb9
[ "MIT" ]
1
2020-12-15T04:41:22.000Z
2021-02-08T03:30:33.000Z
swd_optim/__init__.py
zeke-xie/stable-weight-decay-regularization
6eb5723d4c7ce0e6948b228a6cc53e6ecfc99fb9
[ "MIT" ]
2
2021-11-05T13:19:31.000Z
2021-11-07T02:21:33.000Z
from .adai import Adai from .adais import AdaiS from .adams import AdamS from .sgds import SGDS del adai del adais del adams del sgds
12.363636
24
0.779412
24
136
4.416667
0.291667
0
0
0
0
0
0
0
0
0
0
0
0.191176
136
10
25
13.6
0.963636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fafa68b014d3390816c3616cf2bd7d223192facb
50
py
Python
pgm/max10.py
Dharani-18/CODEKATA
c9c39a0579d2ee7fd8790d240f50e087708b8050
[ "Apache-2.0" ]
null
null
null
pgm/max10.py
Dharani-18/CODEKATA
c9c39a0579d2ee7fd8790d240f50e087708b8050
[ "Apache-2.0" ]
null
null
null
pgm/max10.py
Dharani-18/CODEKATA
c9c39a0579d2ee7fd8790d240f50e087708b8050
[ "Apache-2.0" ]
2
2019-05-24T05:26:31.000Z
2019-07-18T06:18:48.000Z
a=list(map(int,input().split())) print(max(a))
16.666667
35
0.6
9
50
3.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.1
50
2
36
25
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
878095fc229590aae383c04cea6968024bcbfd7d
422
py
Python
manage.py
ukch/betternamecoming
05a7dde27099f7bea7d5fe6711279bb1fbecfc47
[ "MIT" ]
1
2021-06-02T15:12:21.000Z
2021-06-02T15:12:21.000Z
manage.py
ukch/betternamecoming
05a7dde27099f7bea7d5fe6711279bb1fbecfc47
[ "MIT" ]
48
2016-01-17T00:00:17.000Z
2022-01-13T00:45:01.000Z
manage.py
ryanmrubin/refugeedata
d71bedb0895e8011f3b67245c17df3422553820c
[ "MIT" ]
4
2015-09-14T09:25:43.000Z
2015-12-29T19:13:23.000Z
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "refugeedata.app.settings") try: from refugeedata.app import local_settings except ImportError: pass else: os.environ.update(local_settings.SETTINGS_DICT) ...
23.444444
79
0.729858
53
422
5.45283
0.603774
0.062284
0.124567
0.152249
0
0
0
0
0
0
0
0
0.187204
422
17
80
24.823529
0.842566
0.047393
0
0
0
0
0.134663
0.114713
0
0
0
0
0
1
0
true
0.083333
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
87c32870585d48b62205ae992778921e697e82da
23
py
Python
nssrc/com/citrix/netscaler/nitro/resource/stat/feo/__init__.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
2
2020-08-24T18:04:22.000Z
2020-08-24T18:04:47.000Z
nssrc/com/citrix/netscaler/nitro/resource/stat/feo/__init__.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
1
2017-01-20T22:56:58.000Z
2017-01-20T22:56:58.000Z
nssrc/com/citrix/netscaler/nitro/resource/stat/feo/__init__.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
6
2015-04-21T13:14:08.000Z
2020-12-03T07:27:52.000Z
__all__ = ['feo_stats']
23
23
0.695652
3
23
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.086957
23
1
23
23
0.52381
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
87c7544fdc4cc0fae4911f7370ede9acfe443ca4
631
py
Python
src/hsd/__init__.py
vanderhe/hsd-python
f1f61a2d84b8caa5a5062889ebac271b0ef2f0b4
[ "BSD-2-Clause" ]
null
null
null
src/hsd/__init__.py
vanderhe/hsd-python
f1f61a2d84b8caa5a5062889ebac271b0ef2f0b4
[ "BSD-2-Clause" ]
3
2020-03-27T10:30:11.000Z
2020-05-25T10:56:18.000Z
src/hsd/__init__.py
vanderhe/hsd-python
f1f61a2d84b8caa5a5062889ebac271b0ef2f0b4
[ "BSD-2-Clause" ]
null
null
null
#------------------------------------------------------------------------------# # hsd: package for manipulating HSD-formatted data # # Copyright (C) 2011 - 2020 DFTB+ developers group # # ...
45.071429
80
0.375594
43
631
5.511628
0.744186
0.084388
0
0
0
0
0
0
0
0
0
0.018913
0.329636
631
13
81
48.538462
0.541371
0.797147
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
87d68f9f1173dc16054d758664e4a0281760e43b
288
py
Python
src/garage/torch/value_functions/__init__.py
thanhkaist/garage
1d840df357282a675b8fce839bb0e5f72a8abba9
[ "MIT" ]
7
2022-02-01T03:02:24.000Z
2022-02-10T12:54:05.000Z
src/garage/torch/value_functions/__init__.py
thanhkaist/garage
1d840df357282a675b8fce839bb0e5f72a8abba9
[ "MIT" ]
null
null
null
src/garage/torch/value_functions/__init__.py
thanhkaist/garage
1d840df357282a675b8fce839bb0e5f72a8abba9
[ "MIT" ]
2
2022-02-03T03:33:25.000Z
2022-02-10T12:54:07.000Z
"""Value functions which use PyTorch.""" from garage.torch.value_functions.value_function import ValueFunction from garage.torch.value_functions.gaussian_mlp_value_function import ( # noqa: I100,E501 GaussianMLPValueFunction) __all__ = ['ValueFunction', 'GaussianMLPValueFunction']
41.142857
89
0.815972
31
288
7.258065
0.580645
0.186667
0.133333
0.177778
0.257778
0
0
0
0
0
0
0.022989
0.09375
288
6
90
48
0.83908
0.177083
0
0
0
0
0.160173
0.103896
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
87ea5efc1e86e3fb24406fa1170c1881544751f7
6,649
py
Python
code/database.py
regionostergotland/Chattsystem-prototyp-PUMvt2021
27c183edabfe5ad40e2dc2106c1cefc69241907e
[ "Apache-2.0" ]
null
null
null
code/database.py
regionostergotland/Chattsystem-prototyp-PUMvt2021
27c183edabfe5ad40e2dc2106c1cefc69241907e
[ "Apache-2.0" ]
null
null
null
code/database.py
regionostergotland/Chattsystem-prototyp-PUMvt2021
27c183edabfe5ad40e2dc2106c1cefc69241907e
[ "Apache-2.0" ]
1
2021-05-25T14:08:43.000Z
2021-05-25T14:08:43.000Z
""" This file is the creation of a database for group 2 in the course TDDD96. The database is used to save information needed when healthcare workers communicate with patients through at chatt. """ from server_setup import app import os from flask_sqlalchemy import SQLAlchemy # Defalt removed warnings if 'NAMESPACE' i...
29.816143
79
0.659046
886
6,649
4.783296
0.173815
0.039641
0.044832
0.041529
0.340255
0.29731
0.252714
0.188532
0.13025
0.13025
0
0.000596
0.242442
6,649
222
80
29.95045
0.840778
0.260039
0
0.128205
0
0
0.056804
0.011234
0
0
0
0
0
1
0.230769
false
0
0.025641
0.119658
0.683761
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
35586557ebb7745f7d499d8e27104a8a934fc028
503
py
Python
example/old/selu.py
SeanMabli/aiinpy
bd332fce454c489e236878c9da91bb86ec6dda14
[ "MIT" ]
2
2021-04-19T21:49:34.000Z
2021-05-17T21:03:08.000Z
testing/testsrc/selu.py
Sean-Mabli/aiinpy
827e4f85861436c0332046fa8aa84e24153513d6
[ "MIT" ]
null
null
null
testing/testsrc/selu.py
Sean-Mabli/aiinpy
827e4f85861436c0332046fa8aa84e24153513d6
[ "MIT" ]
null
null
null
import numpy as np class selu: def forward(self, input): equation = np.vectorize(self.equationforselu, otypes=[float]) return 1.0507 * equation(input) def equationforselu(self, input): return 1.67326 * (np.exp(input) - 1) if (input < 0) else input def backward(self, input): equation = np.vector...
31.4375
71
0.695825
69
503
5.072464
0.362319
0.102857
0.097143
0.108571
0.577143
0.577143
0.394286
0.394286
0
0
0
0.063107
0.180915
503
16
72
31.4375
0.786408
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.166667
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
1
0
0
0
1
1
0
0
3
35605195f7ecb586cabd5f4b8205fd2537b6d21d
141
py
Python
quick_testing.py
ScholarTools/reference_resolver
a55b667f10128f0322fb7926b4bae8037561e73b
[ "MIT" ]
null
null
null
quick_testing.py
ScholarTools/reference_resolver
a55b667f10128f0322fb7926b4bae8037561e73b
[ "MIT" ]
8
2016-06-15T16:46:44.000Z
2021-12-13T19:42:46.000Z
quick_testing.py
ScholarTools/reference_resolver
a55b667f10128f0322fb7926b4bae8037561e73b
[ "MIT" ]
1
2016-06-21T15:09:12.000Z
2016-06-21T15:09:12.000Z
# -*- coding: utf-8 -*- """ """ from reference_resolver import main values = main.get_references(doi='10.1111/j.1471-0528.1996.tb09769.x')
17.625
70
0.680851
21
141
4.47619
0.952381
0
0
0
0
0
0
0
0
0
0
0.192
0.113475
141
7
71
20.142857
0.56
0.148936
0
0
0
0
0.306306
0.306306
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
356d746eb656c7ed015edd96e716cadee76b0652
3,438
py
Python
tests/actions/test_create_email_account.py
WIPACrepo/keycloak-rest-services
2661b0db2dd320bdb8eefc62c805188bec52ecc7
[ "MIT" ]
1
2021-09-23T14:39:36.000Z
2021-09-23T14:39:36.000Z
tests/actions/test_create_email_account.py
WIPACrepo/keycloak-rest-services
2661b0db2dd320bdb8eefc62c805188bec52ecc7
[ "MIT" ]
38
2020-08-31T22:53:09.000Z
2022-03-28T20:55:39.000Z
tests/actions/test_create_email_account.py
WIPACrepo/keycloak-rest-services
2661b0db2dd320bdb8eefc62c805188bec52ecc7
[ "MIT" ]
null
null
null
import pytest import asyncio import json import subprocess #from krs.token import get_token from krs import users, groups, bootstrap, rabbitmq import actions.util from actions import create_email_account from ..util import keycloak_bootstrap, rabbitmq_bootstrap from .util import patch_ssh_sudo, TestException @pytes...
44.649351
173
0.756545
479
3,438
5.150313
0.173278
0.14471
0.072963
0.120389
0.754358
0.744224
0.727604
0.687475
0.687475
0.687475
0
0.015992
0.108784
3,438
76
174
45.236842
0.789164
0.015416
0
0.545455
0
0
0.117943
0
0
0
0
0
0.163636
1
0
false
0
0.163636
0
0.163636
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3570231ae33a91c702ebb91c634eb95bfc49209e
252
py
Python
src/apps/incidencias/views.py
SGC-Tlaxcala/cerebro
6c842f66d849065a70002fccdb1eaca1e3d61d99
[ "MIT" ]
null
null
null
src/apps/incidencias/views.py
SGC-Tlaxcala/cerebro
6c842f66d849065a70002fccdb1eaca1e3d61d99
[ "MIT" ]
48
2017-04-21T17:35:23.000Z
2020-08-29T04:19:35.000Z
src/apps/incidencias/views.py
SGC-Tlaxcala/cerebro
6c842f66d849065a70002fccdb1eaca1e3d61d99
[ "MIT" ]
null
null
null
from django.views.generic.list import ListView from django.views.generic.detail import DetailView from apps.incidencias.models import Incidencia class Portada(ListView): model = Incidencia class EventoDetail(DetailView): model = Incidencia
21
50
0.801587
30
252
6.733333
0.566667
0.09901
0.148515
0.217822
0
0
0
0
0
0
0
0
0.134921
252
11
51
22.909091
0.926606
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
35816de8ccc2e1943d231222fe9dbbaee9e753c4
123
py
Python
demo/exceptions/__init__.py
yangfan9702/cibo
2a2a416c222e4604500a35ebe7155e2aaf78e055
[ "MIT" ]
null
null
null
demo/exceptions/__init__.py
yangfan9702/cibo
2a2a416c222e4604500a35ebe7155e2aaf78e055
[ "MIT" ]
null
null
null
demo/exceptions/__init__.py
yangfan9702/cibo
2a2a416c222e4604500a35ebe7155e2aaf78e055
[ "MIT" ]
null
null
null
class AuthException(Exception): def __init__(self, msg: str) -> None: self.msg = msg self.code = 10000
24.6
41
0.609756
15
123
4.733333
0.733333
0.197183
0
0
0
0
0
0
0
0
0
0.05618
0.276423
123
4
42
30.75
0.741573
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3585dcb26ad54713ada53366be36156ee9da6c0f
423
py
Python
gadio/configs/api.py
rabbitism/GadioVideo
d230c21a9d06eb262e044fbe4b2ed24636290fe2
[ "MIT" ]
194
2019-04-12T01:44:55.000Z
2022-03-24T06:32:49.000Z
gadio/configs/api.py
rabbitism/GadioVideo
d230c21a9d06eb262e044fbe4b2ed24636290fe2
[ "MIT" ]
15
2019-05-03T02:31:46.000Z
2022-02-27T03:49:35.000Z
gadio/configs/api.py
rabbitism/GadioVideo
d230c21a9d06eb262e044fbe4b2ed24636290fe2
[ "MIT" ]
17
2019-04-26T03:26:29.000Z
2021-12-27T06:51:40.000Z
"""A list of api or resource url template """ api = { "audio_url_template": "https://alioss.gcores.com/uploads/audio/{asset}", "image_url_template": "https://image.gcores.com/{asset}", "radio_api_template": "https://www.gcores.com/gapi/v1/radios/{radio_id}?include=category,media,djs,media.timelines", "r...
52.875
120
0.718676
63
423
4.666667
0.539683
0.176871
0.108844
0.129252
0.272109
0.272109
0.272109
0.272109
0.272109
0
0
0.01292
0.085106
423
8
121
52.875
0.74677
0.089835
0
0
0
0.333333
0.846966
0.060686
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
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
35aa879f886ae638e3f81ea919b37c7224c5b9ef
3,481
py
Python
scaner/relationship_builder.py
dearbornlavern/scaner
401de0ec7caef5c5a23aedec106db136bd4e4658
[ "Apache-2.0" ]
12
2016-09-30T12:43:44.000Z
2022-02-17T17:17:02.000Z
scaner/relationship_builder.py
suhasagg/scaner
896b597dd3b5d15abd540cbf8b7ef74cf9550b24
[ "Apache-2.0" ]
null
null
null
scaner/relationship_builder.py
suhasagg/scaner
896b597dd3b5d15abd540cbf8b7ef74cf9550b24
[ "Apache-2.0" ]
7
2016-09-28T09:48:48.000Z
2020-05-15T04:56:11.000Z
import pyorient client = pyorient.OrientDB("localhost", 2424) session_id = client.connect("root", "root") client.db_open("mixedemotions", "admin", "admin") def users_relationships_creation(): pass def tweets_relationships_creation(): limit = 10000 iterationRID = "#-1:-1" iterations = math.ceil(numbe...
47.040541
197
0.654984
452
3,481
4.873894
0.221239
0.07626
0.054471
0.072628
0.548797
0.475261
0.403541
0.352701
0.321834
0.321834
0
0.004667
0.261419
3,481
74
198
47.040541
0.852198
0
0
0.2
0
0.125
0.320084
0.007738
0
0
0
0.013514
0
0
null
null
0.125
0.025
null
null
0.025
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
1
0
0
0
0
0
3
35aae19a4a6b41fd7d893b519e89ea15bc4724f5
764
py
Python
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/ATI/map_object_buffer.py
temelkirci/Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
1
2022-03-02T17:07:20.000Z
2022-03-02T17:07:20.000Z
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/ATI/map_object_buffer.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/ATI/map_object_buffer.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
'''OpenGL extension ATI.map_object_buffer This module customises the behaviour of the OpenGL.raw.GL.ATI.map_object_buffer to provide a more Python-friendly API Overview (from the spec) This extension provides a mechanism for an application to obtain the virtual address of an object buffer. This allows the appl...
33.217391
65
0.810209
117
764
5.222222
0.547009
0.11784
0.07856
0.11784
0.094926
0.094926
0.094926
0
0
0
0
0
0.137435
764
23
66
33.217391
0.927162
0.795812
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
35bbd112f14c399e65bd711fb55e674fc902715c
554
py
Python
challenges/2021/python/d01.py
basoares/advent-of-code
3b8216f0e73b12fd879aecea56783b8db7a4bc16
[ "MIT" ]
null
null
null
challenges/2021/python/d01.py
basoares/advent-of-code
3b8216f0e73b12fd879aecea56783b8db7a4bc16
[ "MIT" ]
null
null
null
challenges/2021/python/d01.py
basoares/advent-of-code
3b8216f0e73b12fd879aecea56783b8db7a4bc16
[ "MIT" ]
null
null
null
''' Advent of Code - 2021 --- Day 1: Sonar Sweep --- ''' from utils import day_input def parse_input(day): return day_input(day, int) def part1(data): return sum(b > a for a, b in zip(data, data[1:])) def part2(data): window = list(zip(data, data[1:], data[2:])) return sum(sum(b) > sum(a) for a, ...
19.785714
67
0.604693
96
554
3.364583
0.40625
0.083591
0.04644
0.055728
0.23839
0.23839
0.204334
0.204334
0.204334
0.204334
0
0.041002
0.207581
554
28
68
19.785714
0.694761
0.088448
0
0
0
0
0.112903
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.214286
0.642857
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
0
1
0
0
0
1
1
0
0
3
35d668330163e810c66270bae055a4e4dff1229d
39
py
Python
starlette_i18n/version.py
bigbag/starlette-i18n
b185ceb77a7d7d0035953a2569d2b64ea4748494
[ "Apache-2.0" ]
7
2021-05-02T00:03:33.000Z
2022-01-18T22:06:50.000Z
starlette_i18n/version.py
bigbag/starlette-i18n
b185ceb77a7d7d0035953a2569d2b64ea4748494
[ "Apache-2.0" ]
8
2021-05-10T23:29:19.000Z
2022-02-06T15:19:27.000Z
starlette_i18n/version.py
bigbag/starlette-i18n
b185ceb77a7d7d0035953a2569d2b64ea4748494
[ "Apache-2.0" ]
4
2021-05-12T06:16:12.000Z
2021-07-27T17:09:45.000Z
__all__ = "VERSION" VERSION = "1.0.0"
9.75
19
0.615385
6
39
3.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0.09375
0.179487
39
3
20
13
0.53125
0
0
0
0
0
0.307692
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ea16fa04dc305b29d3e3bc5ac59784b4df33642e
460
py
Python
examples/starlette/dynamic.py
Asphalt-framework/asphalt-web
8816ff78b486585d19862d593b0e1b622b3a0b15
[ "Apache-2.0" ]
null
null
null
examples/starlette/dynamic.py
Asphalt-framework/asphalt-web
8816ff78b486585d19862d593b0e1b622b3a0b15
[ "Apache-2.0" ]
null
null
null
examples/starlette/dynamic.py
Asphalt-framework/asphalt-web
8816ff78b486585d19862d593b0e1b622b3a0b15
[ "Apache-2.0" ]
null
null
null
from asphalt.core import Component, Context, inject, resource from starlette.applications import Starlette from starlette.requests import Request from starlette.responses import PlainTextResponse, Response async def root(request: Request) -> Response: return PlainTextResponse("Hello, world!") class WebRootCompo...
30.666667
77
0.756522
52
460
6.673077
0.576923
0.112392
0
0
0
0
0
0
0
0
0
0
0.15
460
14
78
32.857143
0.887468
0
0
0
0
0
0.030435
0
0
0
0
0
0
1
0
true
0
0.4
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
0
1
0
1
0
1
0
0
3
ea2232c15cd79f99b834423585c241d20d54dae9
611
py
Python
import_product_inventory/models/pos_category.py
TerraColligo/tc_odoo_addons
464c062a54ef07c0ec158b0f5a3cb5aae9fbada1
[ "CC0-1.0" ]
null
null
null
import_product_inventory/models/pos_category.py
TerraColligo/tc_odoo_addons
464c062a54ef07c0ec158b0f5a3cb5aae9fbada1
[ "CC0-1.0" ]
null
null
null
import_product_inventory/models/pos_category.py
TerraColligo/tc_odoo_addons
464c062a54ef07c0ec158b0f5a3cb5aae9fbada1
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- from odoo import api, fields, models, tools, _ class PosCategory(models.Model): _inherit = "pos.category" complete_categ_name = fields.Char('Complete Name', compute='_compute_complete_categ_name',store=True) @api.depends('name', 'parent_id.complete_categ_name') def _co...
40.733333
114
0.669394
74
611
5.216216
0.445946
0.235751
0.30829
0.194301
0.235751
0
0
0
0
0
0
0.002101
0.220949
611
15
115
40.733333
0.808824
0.03437
0
0
0
0
0.157895
0.096774
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.454545
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ea2bea8fe25d87fccb31b8368446828ab8b0f30a
144
py
Python
software/ui_convert.py
ac769/continuum_technologies-gh-pages
5c7d7178654b7fa06bfd5635f4856595f1a77dca
[ "MIT" ]
null
null
null
software/ui_convert.py
ac769/continuum_technologies-gh-pages
5c7d7178654b7fa06bfd5635f4856595f1a77dca
[ "MIT" ]
null
null
null
software/ui_convert.py
ac769/continuum_technologies-gh-pages
5c7d7178654b7fa06bfd5635f4856595f1a77dca
[ "MIT" ]
null
null
null
from PyQt4 import uic fin = open('ui_main.ui','r') fout = open('ui_main.py','w') uic.compileUi(fin,fout,execute=False) fin.close() fout.close()
24
37
0.701389
26
144
3.807692
0.615385
0.121212
0.20202
0
0
0
0
0
0
0
0
0.007634
0.090278
144
6
38
24
0.748092
0
0
0
0
0
0.151724
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ea415bc136398d65e55c31208043910e1bcc639e
1,099
py
Python
05-Environments/05.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
2
2020-04-24T18:36:53.000Z
2020-04-25T00:15:55.000Z
05-Environments/05.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
null
null
null
05-Environments/05.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
null
null
null
# Lambda expressions x = 10 square = x * x square = lambda x: x * x square(4) # Functional arguments def apply_twice(f, x): """Return f(f(x)) >>> apply_twice(square, 2) 16 >>> from math import sqrt >>> apply_twice(sqrt, 16) 2.0 """ return f(f(x)) def square(x): return x * x res...
16.402985
69
0.606005
173
1,099
3.797688
0.375723
0.053272
0.024353
0.027397
0
0
0
0
0
0
0
0.027431
0.270246
1,099
66
70
16.651515
0.791771
0.436761
0
0
0
0
0
0
0
0
0
0
0
1
0.346154
false
0
0
0.230769
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ea41e404b8d0052abf33bc2042f2c686d5b13f7a
217
py
Python
ScheduledDeliveryWebApplication/app/validators/coordinates_validator.py
leitao-bcc/MovileNext3_Backend_LucasLeitao
15bdd8a96711a2e305078cd2f152b86374dbe276
[ "Unlicense" ]
null
null
null
ScheduledDeliveryWebApplication/app/validators/coordinates_validator.py
leitao-bcc/MovileNext3_Backend_LucasLeitao
15bdd8a96711a2e305078cd2f152b86374dbe276
[ "Unlicense" ]
null
null
null
ScheduledDeliveryWebApplication/app/validators/coordinates_validator.py
leitao-bcc/MovileNext3_Backend_LucasLeitao
15bdd8a96711a2e305078cd2f152b86374dbe276
[ "Unlicense" ]
null
null
null
def is_valid_latitude(var): if type(var) != float: return False return -90 <= var <= 90 def is_valid_longitude(var): if type(var) != float: return False return -180 <= var <= 180
14.466667
29
0.576037
30
217
4.033333
0.433333
0.082645
0.165289
0.198347
0.561983
0.561983
0.561983
0.561983
0
0
0
0.066225
0.304147
217
14
30
15.5
0.735099
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
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
1
0
0
3
ea52b0dbbb5003a0291bc89d71dbc17025daacd2
217
py
Python
RPI/yolov5/algorithm/planner/utils/angles.py
Aditya239233/MDP
87491e1d67e547c11f4bdd5d784d120473429eae
[ "MIT" ]
4
2022-01-14T15:06:43.000Z
2022-01-18T14:45:04.000Z
RPI/yolov5/algorithm/planner/utils/angles.py
Aditya239233/MDP
87491e1d67e547c11f4bdd5d784d120473429eae
[ "MIT" ]
null
null
null
RPI/yolov5/algorithm/planner/utils/angles.py
Aditya239233/MDP
87491e1d67e547c11f4bdd5d784d120473429eae
[ "MIT" ]
null
null
null
import numpy as np class Angle: ZERO_DEG = np.deg2rad(0.0) NINETY_DEG = np.deg2rad(90.0) ONE_EIGHTY_DEG = np.deg2rad(180.0) TWO_SEVENTY_DEG = np.deg2rad(270.0) THREE_SIXTY_DEG = 2 * ONE_EIGHTY_DEG
27.125
40
0.695853
39
217
3.615385
0.538462
0.141844
0.340426
0
0
0
0
0
0
0
0
0.103448
0.198157
217
8
40
27.125
0.706897
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ea70d67b17ce60bd317f713bef4a5e9d92722eea
231
py
Python
Validation/RecoVertex/python/HLTpostProcessorVertex_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
Validation/RecoVertex/python/HLTpostProcessorVertex_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
Validation/RecoVertex/python/HLTpostProcessorVertex_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms from Validation.RecoVertex.PrimaryVertexAnalyzer4PUSlimmed_Client_cfi import * postProcessorHLTvertexing = postProcessorVertex.clone( subDirs = ("HLT/Vertexing/ValidationWRTsim/*",) )
28.875
78
0.82684
20
231
9.45
0.95
0
0
0
0
0
0
0
0
0
0
0.004762
0.090909
231
7
79
33
0.895238
0
0
0
0
0
0.138528
0.138528
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ea7287ea22b7c5b6c15d73786ad30382b3968eaf
940
py
Python
setup.py
tomkins/pymeistertask
4bf6740cb7768586275e0b033ccac30a661f0aab
[ "BSD-3-Clause" ]
4
2019-06-15T04:44:30.000Z
2021-03-31T11:14:08.000Z
setup.py
tomkins/pymeistertask
4bf6740cb7768586275e0b033ccac30a661f0aab
[ "BSD-3-Clause" ]
5
2018-12-31T00:15:09.000Z
2020-12-02T07:32:14.000Z
setup.py
tomkins/pymeistertask
4bf6740cb7768586275e0b033ccac30a661f0aab
[ "BSD-3-Clause" ]
2
2018-04-30T21:39:17.000Z
2021-05-21T12:43:26.000Z
#!/usr/bin/env python from setuptools import find_packages, setup setup( name='pymeistertask', version='0.1.2', description='MeisterTask client library', long_description='MeisterTask client library', url='https://github.com/tomkins/pymeistertask', maintainer='Alex Tomkins', maintainer_ema...
31.333333
51
0.638298
98
940
6.040816
0.612245
0.160473
0.211149
0.175676
0
0
0
0
0
0
0
0.020243
0.211702
940
29
52
32.413793
0.778677
0.021277
0
0
0
0
0.491839
0
0
0
0
0
0
1
0
true
0
0.038462
0
0.038462
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ea9253dec194a088a2a898905bbb1782e84fce1a
10,437
py
Python
accelerator/test_methods/a_test_dataset_type_minmax.py
eBay/accelerator
218d9a5e4451ac72b9e65df6c5b32e37d25136c8
[ "Apache-2.0" ]
143
2018-04-20T18:50:41.000Z
2022-02-06T07:07:35.000Z
accelerator/test_methods/a_test_dataset_type_minmax.py
exaxorg/accelerator
d6132f215585b98d2ad14c5d74d2c937fbd940e2
[ "Apache-2.0" ]
null
null
null
accelerator/test_methods/a_test_dataset_type_minmax.py
exaxorg/accelerator
d6132f215585b98d2ad14c5d74d2c937fbd940e2
[ "Apache-2.0" ]
29
2018-04-20T18:50:43.000Z
2021-04-27T18:42:23.000Z
############################################################################ # # # Copyright (c) 2021 Carl Drougge # # # # Licensed u...
51.413793
1,845
0.666475
1,041
10,437
6.600384
0.279539
0.006113
0.006113
0.004075
0.084995
0.07146
0.064765
0.052831
0.044972
0.044972
0
0.395145
0.171218
10,437
202
1,846
51.668317
0.399191
0.117946
0
0.036145
0
0.006024
0.384684
0.205813
0
0
0
0
0.012048
1
0.036145
false
0
0.048193
0.006024
0.108434
0.006024
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
57652c6fea57b8f79b1f117edfa365a12203af3c
224
py
Python
custom_resources/ElasticTranscoderPipeline.py
ikben/custom-resources
6857c4bc86dd118e44221efa43e8298f748bf116
[ "Apache-2.0" ]
2
2019-05-02T13:06:40.000Z
2019-12-20T15:48:31.000Z
custom_resources/ElasticTranscoderPipeline.py
ikben/custom-resources
6857c4bc86dd118e44221efa43e8298f748bf116
[ "Apache-2.0" ]
2
2019-09-26T14:18:49.000Z
2021-09-01T10:52:08.000Z
custom_resources/ElasticTranscoderPipeline.py
ikben/custom-resources
6857c4bc86dd118e44221efa43e8298f748bf116
[ "Apache-2.0" ]
1
2019-08-02T15:26:19.000Z
2019-08-02T15:26:19.000Z
from .elastictranscoder import Pipeline # Backward compatibility class ElasticTranscoderPipeline(Pipeline): _deprecated = 1535105258 _deprecated_message = 'Use custom_resources.elastictranscoder.Pipeline() instead'
32
85
0.825893
19
224
9.526316
0.789474
0
0
0
0
0
0
0
0
0
0
0.050505
0.116071
224
6
86
37.333333
0.863636
0.098214
0
0
0
0
0.285
0.225
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
576f9bda62c674f6ab29e2352a753e83b88fc0f6
2,946
py
Python
modules/functions/stfmrAnglePlotFitFuncKarimeddiny.py
BRimmler/STFMR-Analysis-code
af0461b87608c42f1f627fa9db73eed1e1ec56da
[ "WTFPL" ]
null
null
null
modules/functions/stfmrAnglePlotFitFuncKarimeddiny.py
BRimmler/STFMR-Analysis-code
af0461b87608c42f1f627fa9db73eed1e1ec56da
[ "WTFPL" ]
null
null
null
modules/functions/stfmrAnglePlotFitFuncKarimeddiny.py
BRimmler/STFMR-Analysis-code
af0461b87608c42f1f627fa9db73eed1e1ec56da
[ "WTFPL" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Apr 20 08:25:11 2022 @author: rimmler """ # ____________________________________________________________________________ # Karimeddiny description from numpy import sin, cos, sqrt from scipy.constants import mu_0, physical_constants, hbar mu_B = physical_constants['Bohr ma...
27.277778
139
0.655126
575
2,946
2.96
0.146087
0.070505
0.068743
0.091657
0.580494
0.541716
0.541716
0.537015
0.532315
0.502938
0
0.035461
0.186354
2,946
107
140
27.53271
0.674593
0.068568
0
0.392857
0
0
0.013299
0
0
0
0
0
0
1
0.267857
false
0
0.035714
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
17ae1f4d15b72bdffd4cbfd8bf0cd1700e38a3a1
2,033
py
Python
raccy/core/queue_.py
danielafriyie/scrawler
5a283d89b0f620f4710f821939d6fb81f03667c6
[ "Apache-2.0" ]
2
2021-09-11T12:56:54.000Z
2021-09-15T10:17:12.000Z
raccy/core/queue_.py
danielafriyie/raccy
5a283d89b0f620f4710f821939d6fb81f03667c6
[ "Apache-2.0" ]
null
null
null
raccy/core/queue_.py
danielafriyie/raccy
5a283d89b0f620f4710f821939d6fb81f03667c6
[ "Apache-2.0" ]
null
null
null
""" Copyright 2021 Daniel Afriyie 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing...
27.849315
91
0.668962
258
2,033
5.143411
0.476744
0.06104
0.079126
0.085908
0.102487
0.036172
0
0
0
0
0
0.005848
0.242991
2,033
72
92
28.236111
0.8564
0.405312
0
0.068966
0
0
0.052974
0.023234
0
0
0
0
0
1
0.344828
false
0
0.103448
0.241379
0.793103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
17b03f0813a01737926a775c7bd7d479329b5ca9
448
py
Python
tests/test_cosc-288-bikes.py
sethmenghi/cosc288-machine-learning
4f17a3fe7229ded4c0fc42e9ee3595e6a07f26eb
[ "0BSD" ]
null
null
null
tests/test_cosc-288-bikes.py
sethmenghi/cosc288-machine-learning
4f17a3fe7229ded4c0fc42e9ee3595e6a07f26eb
[ "0BSD" ]
null
null
null
tests/test_cosc-288-bikes.py
sethmenghi/cosc288-machine-learning
4f17a3fe7229ded4c0fc42e9ee3595e6a07f26eb
[ "0BSD" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_cosc-288-bikes ---------------------------------- Tests for `cosc-288-bikes` module. """ import unittest from cosc-288-bikes import cosc-288-bikes class TestCosc-288-bikes(unittest.TestCase): def setUp(self): pass def tearDown(self): ...
14.451613
44
0.587054
56
448
4.5
0.571429
0.15873
0.190476
0
0
0
0
0
0
0
0
0.053672
0.209821
448
30
45
14.933333
0.658192
0.09375
0
0.25
0
0
0.026144
0
0
0
0
0
0
0
null
null
0.25
0.25
null
null
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
1
0
0
1
0
0
0
0
0
3
17b0b6d3a998e947856a5e5b198bed1776194619
2,045
py
Python
app/client_object.py
Basselbi/hikma-health-backend
0f891821a04aa103fff62097443bd585bc342dbc
[ "MIT" ]
null
null
null
app/client_object.py
Basselbi/hikma-health-backend
0f891821a04aa103fff62097443bd585bc342dbc
[ "MIT" ]
null
null
null
app/client_object.py
Basselbi/hikma-health-backend
0f891821a04aa103fff62097443bd585bc342dbc
[ "MIT" ]
null
null
null
from datetime import datetime, timezone, date from language_strings.language_string import LanguageString class ClientObject: @classmethod def table_name(cls): raise NotImplementedError() @classmethod def db_columns_from_server(cls): raise NotImplementedError() @classmethod d...
23.77907
78
0.635697
219
2,045
5.785388
0.369863
0.208366
0.149171
0.179953
0.48382
0.405683
0.263615
0.131018
0
0
0
0.004124
0.288509
2,045
85
79
24.058824
0.866667
0.13154
0
0.517241
0
0
0.004654
0
0
0
0
0
0
1
0.293103
false
0
0.034483
0.034483
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
17ba1bb362605c4fc57887e8f31145b8a8b87d5f
422
py
Python
supersaver/country/models.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
null
null
null
supersaver/country/models.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
1
2018-08-12T12:50:17.000Z
2018-08-12T12:50:17.000Z
supersaver/country/models.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
null
null
null
from django.db import models class Country(models.Model): """ Country """ id = models.SmallIntegerField(primary_key=True) name = models.CharField(max_length=64, null=False, blank=False) country_code = models.CharField(max_length=2, null=False, blank=False, db_index=True) def __repr__(self...
30.142857
98
0.687204
59
422
4.745763
0.525424
0.064286
0.128571
0.171429
0
0
0
0
0
0
0
0.017094
0.168246
422
13
99
32.461538
0.780627
0.016588
0
0
0
0
0.087719
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
17cb9653c7dbcdacce6016a0fd243e153c3266c3
371
py
Python
year_2021/day03/test_binary_diagnostic.py
mjalkio/advent-of-code
54dbfcba3850e72d7b736ef1e7d2a3cb91e65d42
[ "MIT" ]
null
null
null
year_2021/day03/test_binary_diagnostic.py
mjalkio/advent-of-code
54dbfcba3850e72d7b736ef1e7d2a3cb91e65d42
[ "MIT" ]
null
null
null
year_2021/day03/test_binary_diagnostic.py
mjalkio/advent-of-code
54dbfcba3850e72d7b736ef1e7d2a3cb91e65d42
[ "MIT" ]
null
null
null
from util import read_puzzle_input from year_2021.day03.binary_diagnostic import ( get_life_support_rating, get_power_consumption, ) def test_get_power_consumption(): assert get_power_consumption(read_puzzle_input("test_input.txt")) == 198 def test_get_life_support_rating(): assert get_life_support_...
26.5
78
0.803235
54
371
5.018519
0.425926
0.110701
0.166052
0.221402
0.199262
0.199262
0
0
0
0
0
0.036585
0.115903
371
13
79
28.538462
0.789634
0
0
0
0
0
0.075472
0
0
0
0
0
0.222222
1
0.222222
true
0
0.222222
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
1
0
0
0
0
0
0
3
17ce85d69c15e2b62cc0444f773b7cdfb255bdc7
949
py
Python
preprocess/lda_preprocessor.py
junronglau/product-defects-extraction
98358100ee2efd5907dd8ae7c42d7f217410ce4f
[ "Apache-2.0" ]
null
null
null
preprocess/lda_preprocessor.py
junronglau/product-defects-extraction
98358100ee2efd5907dd8ae7c42d7f217410ce4f
[ "Apache-2.0" ]
1
2021-04-14T06:49:51.000Z
2021-04-21T18:30:38.000Z
preprocess/lda_preprocessor.py
junronglau/product-defects-extraction
98358100ee2efd5907dd8ae7c42d7f217410ce4f
[ "Apache-2.0" ]
null
null
null
from preprocess.base.labels_generator.base_preprocessor import BasePreprocessor from utils.preprocess import sent_to_words from utils.preprocess import generate_bigrams from utils.preprocess import generate_dictionary class LDAPreprocessor(BasePreprocessor): def __init__(self, df, config): super(LDAPrepr...
30.612903
79
0.714436
111
949
5.864865
0.369369
0.086022
0.087558
0.115207
0.101382
0
0
0
0
0
0
0.001333
0.209694
949
30
80
31.633333
0.866667
0.043203
0
0
1
0
0.01326
0
0
0
0
0
0
1
0.238095
false
0
0.190476
0.095238
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
17f4ae10f9915313196694b8b924941033fc2ada
184
py
Python
chatbot_4/elethuerao.py
gustasvs/AI
23360a8865e8211568594c2b2ced11dcdc9b0006
[ "MIT" ]
1
2022-02-03T18:21:28.000Z
2022-02-03T18:21:28.000Z
chatbot_4/elethuerao.py
gustasvs/AI
23360a8865e8211568594c2b2ced11dcdc9b0006
[ "MIT" ]
null
null
null
chatbot_4/elethuerao.py
gustasvs/AI
23360a8865e8211568594c2b2ced11dcdc9b0006
[ "MIT" ]
null
null
null
from transformers import pipeline generator = pipeline('text-generation', model='EleutherAI/gpt-neo-1.3B') #generator("In the name of united states I", do_sample=True, min_length=150)
46
76
0.782609
28
184
5.071429
0.928571
0
0
0
0
0
0
0
0
0
0
0.02994
0.092391
184
3
77
61.333333
0.820359
0.407609
0
0
0
0
0.351852
0.212963
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
17f8a660caf0439c9f0c731b9378032cad05ad57
91
py
Python
survey/tests/models/__init__.py
TheWITProject/MentorApp
2f08b87a7cde6d180e16d6f37d0b8019b8361638
[ "MIT" ]
null
null
null
survey/tests/models/__init__.py
TheWITProject/MentorApp
2f08b87a7cde6d180e16d6f37d0b8019b8361638
[ "MIT" ]
65
2020-02-04T22:31:07.000Z
2022-01-13T02:39:19.000Z
survey/tests/models/__init__.py
TheWITProject/MentorApp
2f08b87a7cde6d180e16d6f37d0b8019b8361638
[ "MIT" ]
null
null
null
from survey.tests.models.base_model_test import BaseModelTest __all__ = ["BaseModelTest"]
22.75
61
0.824176
11
91
6.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.087912
91
3
62
30.333333
0.831325
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
aa305ea7e5fcc2b8d757c2444b34da4d9c63f465
126
py
Python
backend/rating/urls.py
ankile/budbua-classifieds
5e85edab4747501b0110cf56e1bfea524308dfff
[ "MIT" ]
null
null
null
backend/rating/urls.py
ankile/budbua-classifieds
5e85edab4747501b0110cf56e1bfea524308dfff
[ "MIT" ]
null
null
null
backend/rating/urls.py
ankile/budbua-classifieds
5e85edab4747501b0110cf56e1bfea524308dfff
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.RatingView.as_view(), name='rating'), ]
15.75
56
0.68254
16
126
5.3125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.166667
126
7
57
18
0.809524
0
0
0
0
0
0.047619
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a4ab4503625188f00ed5a31b961f06a953a6d92e
254
py
Python
TodoMyanmar/forms.py
thetwinhtwe/todo.project.django.myanmar
4ab69873aaf322b1317e689249f96780317f1634
[ "MIT" ]
6
2020-12-20T03:18:20.000Z
2021-07-17T08:50:26.000Z
TodoMyanmar/forms.py
eain-technologies-myanmar/todo.project.django.myanmar
4ab69873aaf322b1317e689249f96780317f1634
[ "MIT" ]
null
null
null
TodoMyanmar/forms.py
eain-technologies-myanmar/todo.project.django.myanmar
4ab69873aaf322b1317e689249f96780317f1634
[ "MIT" ]
null
null
null
from django import forms from django.forms import ModelForm from .models import Task class TaskForm(forms.ModelForm): title=forms.CharField(widget=forms.TextInput(attrs={'class':'input','placeholder':'ရေးသားပါ'})) class Meta:model=Task;fields='__all__'
42.333333
96
0.775591
39
254
5.076923
0.666667
0.10101
0
0
0
0
0
0
0
0
0
0
0.070866
254
6
97
42.333333
0.817797
0
0
0
0
0
0.141176
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a4d6f347eed555584d3533b81abf4ffe0a84de8e
616
py
Python
tests/util/test_cli.py
heavywatal/biolopy
ae5440ab3136ee18adb1687a24f2906311075cc4
[ "MIT" ]
null
null
null
tests/util/test_cli.py
heavywatal/biolopy
ae5440ab3136ee18adb1687a24f2906311075cc4
[ "MIT" ]
null
null
null
tests/util/test_cli.py
heavywatal/biolopy
ae5440ab3136ee18adb1687a24f2906311075cc4
[ "MIT" ]
null
null
null
import logging from biolopy.util import cli _log = logging.getLogger(__name__) def test_argparser(): parser = cli.logging_argparser("vdq") assert parser.parse_args([]).loglevel == 0 assert parser.parse_args(["-v"]).loglevel == 1 assert parser.parse_args(["-vv"]).loglevel == 2 assert parser.parse_...
34.222222
62
0.706169
79
616
5.278481
0.417722
0.143885
0.203837
0.251799
0
0
0
0
0
0
0
0.01145
0.149351
616
17
63
36.235294
0.784351
0.053571
0
0
0
0
0.020654
0
0
0
0
0
0.615385
1
0.076923
false
0
0.153846
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
1
0
0
0
0
0
0
0
0
0
3
a4da0da81f74a7c96d8fe5714c20d7adaf3040a1
57
py
Python
words.py
Wefqi99/HangmanFinal2
ba49fcc8fe626f82c80a847636218a220b18bb46
[ "MIT" ]
null
null
null
words.py
Wefqi99/HangmanFinal2
ba49fcc8fe626f82c80a847636218a220b18bb46
[ "MIT" ]
null
null
null
words.py
Wefqi99/HangmanFinal2
ba49fcc8fe626f82c80a847636218a220b18bb46
[ "MIT" ]
null
null
null
words = ['gift', 'lucky', 'computer', 'printer', 'happy']
57
57
0.596491
6
57
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
1
57
57
0.666667
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a4e0736afd66e9936ca78b80c0bbcbaae06507ce
394
py
Python
leetcode/weekly171/1_no_zero.py
jan25/code_sorted
f405fd0898f72eb3d5428f9e10aefb4a009d5089
[ "Unlicense" ]
2
2018-01-18T11:01:36.000Z
2021-12-20T18:14:48.000Z
leetcode/weekly171/1_no_zero.py
jan25/code_sorted
f405fd0898f72eb3d5428f9e10aefb4a009d5089
[ "Unlicense" ]
null
null
null
leetcode/weekly171/1_no_zero.py
jan25/code_sorted
f405fd0898f72eb3d5428f9e10aefb4a009d5089
[ "Unlicense" ]
null
null
null
''' https://leetcode.com/contest/weekly-contest-171/problems/convert-integer-to-the-sum-of-two-no-zero-integers/ ''' class Solution: def getNoZeroIntegers(self, n: int) -> List[int]: def noz(a): return a == 0 or (a % 10 != 0 and noz(a // 10)) for a in range(1, n + 1): ...
32.833333
108
0.515228
59
394
3.440678
0.627119
0.059113
0.078818
0
0
0
0
0
0
0
0
0.041045
0.319797
394
12
109
32.833333
0.716418
0.274112
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
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
1
1
0
0
3
a4e3e33435d9053537279a3cbdd12048099a183b
134
py
Python
allergens/analyzes/urls.py
Fedor-Lyanguzov/Allergens
f1b7692958a00d87635dce024b3dce123be39a67
[ "MIT" ]
2
2016-11-07T22:25:33.000Z
2017-11-08T11:13:36.000Z
allergens/analyzes/urls.py
Fedor-Lyanguzov/Allergens
f1b7692958a00d87635dce024b3dce123be39a67
[ "MIT" ]
1
2016-11-22T19:47:54.000Z
2016-11-22T19:47:54.000Z
allergens/analyzes/urls.py
Fedor-Lyanguzov/Allergens
f1b7692958a00d87635dce024b3dce123be39a67
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from analyzes.views import * urlpatterns = [ url(r'^$', analyzes, name = 'analyzes'), ]
22.333333
44
0.686567
17
134
5.411765
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.164179
134
6
45
22.333333
0.821429
0
0
0
0
0
0.074074
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
35110691444d838b1339c381a87cfb5c99c33772
178
py
Python
tests/test_database.py
smallstepman/flaskonacci
f5157b3d4fe4f7ef3ad14d1b3511b48834d7067d
[ "MIT" ]
null
null
null
tests/test_database.py
smallstepman/flaskonacci
f5157b3d4fe4f7ef3ad14d1b3511b48834d7067d
[ "MIT" ]
null
null
null
tests/test_database.py
smallstepman/flaskonacci
f5157b3d4fe4f7ef3ad14d1b3511b48834d7067d
[ "MIT" ]
null
null
null
from src.models import Logs def test_config(config): assert config['SQLALCHEMY_DATABASE_URI'] def test_connection(db): assert db.engine.execute("SELECT 1 FROM logs")
17.8
50
0.752809
26
178
5
0.692308
0.107692
0
0
0
0
0
0
0
0
0
0.006623
0.151685
178
9
51
19.777778
0.854305
0
0
0
0
0
0.230337
0.129213
0
0
0
0
0.4
1
0.4
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
35158f89ba61170b1263e7a562813f5c8360acba
447
py
Python
src/tests/part2/q402_test_rm_k_digits.py
hychrisli/PyAlgorithms
71e537180f3b371d0d2cc47b11cb68ec13a8ac68
[ "Apache-2.0" ]
null
null
null
src/tests/part2/q402_test_rm_k_digits.py
hychrisli/PyAlgorithms
71e537180f3b371d0d2cc47b11cb68ec13a8ac68
[ "Apache-2.0" ]
null
null
null
src/tests/part2/q402_test_rm_k_digits.py
hychrisli/PyAlgorithms
71e537180f3b371d0d2cc47b11cb68ec13a8ac68
[ "Apache-2.0" ]
null
null
null
from src.base.test_cases import TestCases class RmKDigitsTestCases(TestCases): def __init__(self): super(RmKDigitsTestCases, self).__init__() self.__add_test_case__('Test 1', ('1432219',3), '1219') self.__add_test_case__('Test 2', ('10200', 1), '200') self.__add_test_case__('Test ...
40.636364
107
0.675615
53
447
5.075472
0.509434
0.104089
0.163569
0.223048
0.282528
0
0
0
0
0
0
0.225806
0.167785
447
11
108
40.636364
0.497312
0
0
0
0
0
0.220982
0.118304
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
35161103f0fde0a04dd391da1b0825e4f9d21779
3,874
py
Python
Heart/Heart.py
PhillipLy/CS483
868c042b54710ff11b8e75c2a61d0ca0b6917f9e
[ "MIT" ]
null
null
null
Heart/Heart.py
PhillipLy/CS483
868c042b54710ff11b8e75c2a61d0ca0b6917f9e
[ "MIT" ]
null
null
null
Heart/Heart.py
PhillipLy/CS483
868c042b54710ff11b8e75c2a61d0ca0b6917f9e
[ "MIT" ]
null
null
null
# California State University Fullerton # CPSC 483: Data Mining and Pattern Recognition - Spring 2017 # Software Engineers: Phillip Ly, Holly Ho, Sara Lipowsky, Tony Dao, James Lindsey # Courtesy of Stephen Marsland # Machine learning: Classification of the Heart Disease data set import numpy as np ##############...
46.119048
1,370
0.646877
698
3,874
3.590258
0.684814
0.021548
0.01676
0.021548
0.010375
0.010375
0
0
0
0
0
0.273296
0.174497
3,874
83
1,371
46.674699
0.510319
0.672173
0
0
0
0
0.029636
0.022015
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
351ce20da4c3c3967637ab741c42b17f4c647fc6
174
py
Python
run.py
PASTAplus/umbra
25f179801ab86d6506759b19849de1f7a8bf9e8d
[ "Apache-2.0" ]
null
null
null
run.py
PASTAplus/umbra
25f179801ab86d6506759b19849de1f7a8bf9e8d
[ "Apache-2.0" ]
null
null
null
run.py
PASTAplus/umbra
25f179801ab86d6506759b19849de1f7a8bf9e8d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """:Mod: run :Synopsis: :Author: ide :Created: 7/12/21 """ from webapp import app if __name__ == '__main__': app.run(host='0.0.0.0')
10.235294
27
0.551724
26
174
3.384615
0.807692
0.068182
0.068182
0
0
0
0
0
0
0
0
0.074074
0.224138
174
16
28
10.875
0.577778
0.488506
0
0
0
0
0.182927
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
3529f920f20015359b21913eba9f03e0e84fdc4c
52
py
Python
hcap_accounts/__init__.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
null
null
null
hcap_accounts/__init__.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
31
2020-04-11T13:38:17.000Z
2021-09-22T18:51:11.000Z
hcap_accounts/__init__.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
1
2020-04-08T17:04:39.000Z
2020-04-08T17:04:39.000Z
default_app_config = "hcap_accounts.apps.AppConfig"
26
51
0.846154
7
52
5.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.057692
52
1
52
52
0.836735
0
0
0
0
0
0.538462
0.538462
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
353afaff5f11b237b9e35b23341be0f1607ea191
1,276
py
Python
platform/software/test/test_taskmanagerinfo.py
oika/connect
2486b97256d7adcd130f90d5c3e665d90ef1a39d
[ "Apache-2.0" ]
null
null
null
platform/software/test/test_taskmanagerinfo.py
oika/connect
2486b97256d7adcd130f90d5c3e665d90ef1a39d
[ "Apache-2.0" ]
null
null
null
platform/software/test/test_taskmanagerinfo.py
oika/connect
2486b97256d7adcd130f90d5c3e665d90ef1a39d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from TaskManagerInfo import TaskManagerInfo import unittest class TestTaskManagerInfo(unittest.TestCase): def test_get_properties(self): info = TaskManagerInfo("foo", "xx:yy:zz", "192.168.1.2", 1234, "CPU", 2, []) self.assertEqual(info.name, "foo") sel...
33.578947
101
0.601881
146
1,276
5.109589
0.369863
0.241287
0.152815
0.128686
0.19571
0.158177
0.158177
0.158177
0.158177
0.158177
0
0.054471
0.237461
1,276
37
102
34.486486
0.711202
0.016458
0
0.076923
0
0
0.090535
0
0
0
0
0
0.5
0
null
null
0
0.076923
null
null
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
3
1027295cbb609fa153977f890e428e2f61379248
278
py
Python
runtime_errors.py
sos10e/simple-py-scripts
5730cf273a0a905cbc29e1d3a1d06e93238fa630
[ "MIT" ]
null
null
null
runtime_errors.py
sos10e/simple-py-scripts
5730cf273a0a905cbc29e1d3a1d06e93238fa630
[ "MIT" ]
null
null
null
runtime_errors.py
sos10e/simple-py-scripts
5730cf273a0a905cbc29e1d3a1d06e93238fa630
[ "MIT" ]
null
null
null
# Define a recrusive function that generate a runtime error def runtime_error(n): if(n<1): print('Done.') else: print("I will be diplayed until computer rejects me") runtime_error(n-1) # Calling the function that couse runtime runtime_error(5)
30.888889
62
0.676259
41
278
4.512195
0.658537
0.259459
0.140541
0
0
0
0
0
0
0
0
0.014151
0.23741
278
9
63
30.888889
0.858491
0.348921
0
0
1
0
0.27933
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.285714
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1050377ef07be0a2c6202ff08ddad4d3563498f9
1,474
py
Python
test_hw4.py
jschmidtnj/CS115
fa2374f1ae9c9b63e572850a97af6086112d7a36
[ "MIT" ]
null
null
null
test_hw4.py
jschmidtnj/CS115
fa2374f1ae9c9b63e572850a97af6086112d7a36
[ "MIT" ]
null
null
null
test_hw4.py
jschmidtnj/CS115
fa2374f1ae9c9b63e572850a97af6086112d7a36
[ "MIT" ]
1
2022-01-03T01:44:39.000Z
2022-01-03T01:44:39.000Z
''' Created on Oct 3, 2017 @author: jschmid3@stevens.edu Pledge: I pledge my honor that I have abided by the Stevens Honor System -Joshua Schmidt CS115 - test_hw4 ''' import unittest import hw4 class Test(unittest.TestCase): """tests the pascal_triangle and pascal_row functions in hw4""" def test01(self):...
30.708333
183
0.554274
236
1,474
3.372881
0.275424
0.057789
0.238693
0.276382
0.546482
0.546482
0.125628
0.10804
0.10804
0.070352
0
0.147541
0.255088
1,474
48
184
30.708333
0.577413
0.160109
0
0
0
0
0.006531
0
0
0
0
0
0.4
1
0.4
false
0
0.08
0
0.52
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1057155f0f1e94c5cfb16d61a53d32c523534a74
3,612
py
Python
model/familymemberhistory.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
model/familymemberhistory.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
model/familymemberhistory.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory) on 2020-02-03. # 2020, SMART Health IT. import sys from dataclasses import dataclass, field from typing import ClassVar, Optional, List from .age import Age from .annot...
46.909091
116
0.749169
429
3,612
6.2331
0.30303
0.067315
0.089753
0.13463
0.326103
0.303665
0.303665
0.303665
0.303665
0.259536
0
0.007729
0.140365
3,612
77
117
46.909091
0.853462
0.176633
0
0.075472
1
0
0.043776
0.009576
0
0
0
0
0
1
0
true
0
0.245283
0
0.962264
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
105cf3ea187f5f8c7c5ad259e0b6205e782133af
1,363
py
Python
5_kyu/moving_zeros_to_end.py
dimishpatriot/way_on_the_highway
4865db946632b7bd3d74509a20a307841c02169d
[ "MIT" ]
null
null
null
5_kyu/moving_zeros_to_end.py
dimishpatriot/way_on_the_highway
4865db946632b7bd3d74509a20a307841c02169d
[ "MIT" ]
null
null
null
5_kyu/moving_zeros_to_end.py
dimishpatriot/way_on_the_highway
4865db946632b7bd3d74509a20a307841c02169d
[ "MIT" ]
null
null
null
"""Write an algorithm that takes an array and moves all of the zeros to the end, preserving the order of the other elements. move_zeros([False,1,0,1,2,0,1,3,"a"]) # returns[False,1,1,2,1,3,"a",0,0] """ import pytest @pytest.mark.parametrize("test, result", [ ([1, 2, 0, 1, 0, 1, 0, 3, 0, 1], [1, 2, 1, 1, 3, 1, 0...
34.075
124
0.430668
272
1,363
2.139706
0.183824
0.178694
0.195876
0.199313
0.271478
0.262887
0.238832
0.178694
0.161512
0.161512
0
0.165638
0.286867
1,363
39
125
34.948718
0.433128
0.143067
0
0
0
0
0.029285
0
0
0
0
0
0.033333
1
0.066667
false
0
0.033333
0
0.133333
0
0
0
0
null
0
1
1
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
3
107272731c6ef7112df23e4fc2ab1a01eb3ff2f1
196
py
Python
scripts/makevenv.py
juliusbierk/simultant
9d454b58797399f60812c4d8c482a57e82b5dba7
[ "MIT" ]
null
null
null
scripts/makevenv.py
juliusbierk/simultant
9d454b58797399f60812c4d8c482a57e82b5dba7
[ "MIT" ]
null
null
null
scripts/makevenv.py
juliusbierk/simultant
9d454b58797399f60812c4d8c482a57e82b5dba7
[ "MIT" ]
null
null
null
import os os.system('python -m venv venv') if os.name == 'nt': os.system(r'venv\Scripts\pip.exe install -r requirements.txt') else: os.system(r'venv/bin/pip install -r requirements.txt')
24.5
66
0.693878
34
196
4
0.529412
0.176471
0.132353
0.191176
0
0
0
0
0
0
0
0
0.142857
196
7
67
28
0.809524
0
0
0
0
0
0.556122
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
52ad78b73c22c17eebb05c108b2d4e9c9c0112cb
1,491
py
Python
arsenal/director/devstack_scout.py
rackerlabs/arsenal
39b7a35a9af9dbfd05897c64b2971fcbd219ccdb
[ "Apache-2.0" ]
5
2015-04-21T20:46:47.000Z
2021-02-21T20:54:49.000Z
arsenal/director/devstack_scout.py
rackerlabs/arsenal
39b7a35a9af9dbfd05897c64b2971fcbd219ccdb
[ "Apache-2.0" ]
69
2015-02-12T19:50:17.000Z
2017-01-11T20:20:49.000Z
arsenal/director/devstack_scout.py
rackerlabs/onmetal-image-scheduler
39b7a35a9af9dbfd05897c64b2971fcbd219ccdb
[ "Apache-2.0" ]
3
2015-08-25T21:39:24.000Z
2017-03-13T17:41:04.000Z
# -*- encoding: utf-8 -*- # # Copyright 2015 Rackspace # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
34.674419
78
0.706908
197
1,491
5.213198
0.583756
0.058423
0.025316
0.031159
0.056475
0
0
0
0
0
0
0.013594
0.210597
1,491
42
79
35.5
0.858963
0.608317
0
0
0
0
0.0625
0.045455
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
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
1
1
0
0
3
52b899e274f8c6816ffdbe3d68c767a949d75665
400
py
Python
kimonet/utils/units.py
abelcarreras/kimonet
1b3b3af8f6a67ed5d99990e54d295f395ad4b994
[ "MIT" ]
1
2021-02-02T17:18:23.000Z
2021-02-02T17:18:23.000Z
kimonet/utils/units.py
abelcarreras/kimonet
1b3b3af8f6a67ed5d99990e54d295f395ad4b994
[ "MIT" ]
null
null
null
kimonet/utils/units.py
abelcarreras/kimonet
1b3b3af8f6a67ed5d99990e54d295f395ad4b994
[ "MIT" ]
3
2020-09-16T09:03:48.000Z
2022-02-21T07:10:05.000Z
DEBYE_TO_ANGS_EL = 0.2081943415667902 # Debye -> Angs * e ATOMIC_TO_ANGS_EL = 0.52917721 # a.u. (a0 * e) -> Angs * e SPEED_OF_LIGHT = 2997924580 # Angstrom / ns BOLTZMANN_CONSTANT = 8.617333e-5 # eV / Kelvin VAC_PERMITTIVITY = 0.005524906526621038 # e^2 / (eV * Angs) HBAR_PLANCK = 6.5...
50
68
0.6275
55
400
4.327273
0.672727
0.05042
0.067227
0.07563
0
0
0
0
0
0
0
0.321918
0.27
400
7
69
57.142857
0.493151
0.245
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
52c16b36a821e6ff245d47e06708c2c56a0d620d
205
py
Python
eloadasok/13_python/sources/hello.py
jabbalaci/Programozas_1
5717502b94bca35b23460c8b1aa7b25ba8069eb4
[ "MIT" ]
11
2020-02-10T16:38:30.000Z
2022-02-15T07:12:25.000Z
eloadasok/13_python/sources/hello.py
jabbalaci/Programozas_1
5717502b94bca35b23460c8b1aa7b25ba8069eb4
[ "MIT" ]
null
null
null
eloadasok/13_python/sources/hello.py
jabbalaci/Programozas_1
5717502b94bca35b23460c8b1aa7b25ba8069eb4
[ "MIT" ]
24
2020-02-16T13:28:38.000Z
2022-03-05T16:55:18.000Z
#!/usr/bin/env python3 # megjegyzés def main(): print("hello") print("world") if True: print("na most ez") print("nagyon igaz") # endif print("END") # enddef main()
12.058824
28
0.536585
25
205
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0.006944
0.297561
205
16
29
12.8125
0.756944
0.219512
0
0
0
0
0.217949
0
0
0
0
0
0
1
0.125
true
0
0
0
0.125
0.625
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
1
0
3
52f306a4a366b12f37eeed2612bb697a7131654c
168
py
Python
check_internet_con.py
woshiniba233/learnPython
70f5d1ce44b6192b5d517842f580947abcf1ce1b
[ "MIT" ]
null
null
null
check_internet_con.py
woshiniba233/learnPython
70f5d1ce44b6192b5d517842f580947abcf1ce1b
[ "MIT" ]
null
null
null
check_internet_con.py
woshiniba233/learnPython
70f5d1ce44b6192b5d517842f580947abcf1ce1b
[ "MIT" ]
null
null
null
import urllib2 try: urllib2.urlopen("http://baidu.com", timeout=2) print ("working connection") except urllib2.URLError: print ("No internet connection")
18.666667
50
0.702381
20
168
5.9
0.8
0
0
0
0
0
0
0
0
0
0
0.028571
0.166667
168
8
51
21
0.814286
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5e01be668d8ee08a22d310799043e50752719893
852
py
Python
acq4/devices/MIESPatchPipette/patch_clamp.py
campagnola/acq4
09699c07d8949950f6df149cf17892aaa3a37402
[ "MIT" ]
47
2015-01-05T16:18:10.000Z
2022-03-16T13:09:30.000Z
acq4/devices/MIESPatchPipette/patch_clamp.py
acq4/acq4
c77636a76d68ffa1bc7dbd41edc522e523b909b8
[ "MIT" ]
48
2015-04-19T16:51:41.000Z
2022-03-31T14:48:16.000Z
acq4/devices/MIESPatchPipette/patch_clamp.py
acq4/acq4
c77636a76d68ffa1bc7dbd41edc522e523b909b8
[ "MIT" ]
32
2015-01-15T14:11:49.000Z
2021-07-15T13:44:52.000Z
from __future__ import print_function from acq4.util.mies import MIES from ..PatchClamp import PatchClamp class MIESPatchClamp(PatchClamp): """PatchClamp device implemented over MIES bridge """ def __init__(self, manager, config, name): self._headstage = config.pop('headstage') self.mies =...
26.625
62
0.652582
99
852
5.464646
0.424242
0.044362
0.055453
0.077634
0.092421
0
0
0
0
0
0
0.003072
0.235915
852
31
63
27.483871
0.827957
0.053991
0
0
0
0
0.086792
0
0
0
0
0
0
1
0.333333
false
0
0.142857
0.142857
0.666667
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
0
1
0
0
0
1
1
0
0
3
5e2955acd410430d20dc758c07266831388ccc94
189
py
Python
app/__init__.py
Njeri714/news_python
c2d5d62f6abf784443d3e0546d83b4c6be50c43b
[ "Unlicense" ]
null
null
null
app/__init__.py
Njeri714/news_python
c2d5d62f6abf784443d3e0546d83b4c6be50c43b
[ "Unlicense" ]
null
null
null
app/__init__.py
Njeri714/news_python
c2d5d62f6abf784443d3e0546d83b4c6be50c43b
[ "Unlicense" ]
null
null
null
from flask import Flask from .config import DevConfig # initializing app app = Flask(__name__, instance_relative_config=True) # setting configarations app.config.from_object(DevConfig)
18.9
52
0.814815
24
189
6.125
0.583333
0
0
0
0
0
0
0
0
0
0
0
0.121693
189
9
53
21
0.885542
0.206349
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5e369250c01145a65568d4c2f336389924f5561b
324
py
Python
external/fv3fit/fv3fit/emulation/transforms/__init__.py
ai2cm/fv3net
e62038aee0a97d6207e66baabd8938467838cf51
[ "MIT" ]
1
2021-12-14T23:43:35.000Z
2021-12-14T23:43:35.000Z
external/fv3fit/fv3fit/emulation/transforms/__init__.py
ai2cm/fv3net
e62038aee0a97d6207e66baabd8938467838cf51
[ "MIT" ]
195
2021-09-16T05:47:18.000Z
2022-03-31T22:03:15.000Z
external/fv3fit/fv3fit/emulation/transforms/__init__.py
ai2cm/fv3net
e62038aee0a97d6207e66baabd8938467838cf51
[ "MIT" ]
null
null
null
from .factories import ( ComposedTransformFactory, ConditionallyScaled, TransformedVariableConfig, ) from .transforms import ( ComposedTransform, Difference, Identity, LogTransform, TensorTransform, LimitValueTransform, CloudWaterDiffPrecpd, ) from .zhao_carr import GscondClasse...
19.058824
38
0.746914
21
324
11.47619
0.809524
0
0
0
0
0
0
0
0
0
0
0.003861
0.200617
324
16
39
20.25
0.926641
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d80953cf78d728004210dcb4cef354bd28ac144c
3,551
py
Python
checkin/migrations/0009_alter_verbose_names_and_related_names.py
MAKENTNU/web
7a5b512bf4c087d1561cdb623d7df4b3d04811a2
[ "MIT" ]
10
2017-11-25T01:47:20.000Z
2020-03-24T18:28:24.000Z
checkin/migrations/0009_alter_verbose_names_and_related_names.py
MAKENTNU/web
7a5b512bf4c087d1561cdb623d7df4b3d04811a2
[ "MIT" ]
319
2017-11-16T09:56:03.000Z
2022-03-28T00:24:37.000Z
checkin/migrations/0009_alter_verbose_names_and_related_names.py
MAKENTNU/web
7a5b512bf4c087d1561cdb623d7df4b3d04811a2
[ "MIT" ]
6
2017-11-12T14:04:08.000Z
2021-03-10T09:41:18.000Z
# Generated by Django 2.2.5 on 2019-12-31 00:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('checkin', '0008_remove_profile_card_id'), ] operations = [ migrations.Alte...
39.021978
149
0.607153
359
3,551
5.832869
0.228412
0.143266
0.179083
0.207736
0.706304
0.706304
0.63276
0.595033
0.548233
0.47469
0
0.013112
0.269783
3,551
90
150
39.455556
0.794447
0.012672
0
0.678571
1
0
0.161815
0.015411
0
0
0
0
0
1
0
false
0
0.035714
0
0.071429
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d80a80c34267bfc01d0c85a88056fc3b49066b38
115
py
Python
Codewars/8kyu/remove-first-and-last-character-part-two/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
7
2017-09-20T16:40:39.000Z
2021-08-31T18:15:08.000Z
Codewars/8kyu/remove-first-and-last-character-part-two/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
Codewars/8kyu/remove-first-and-last-character-part-two/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
# Python - 2.7.6 array = lambda string: ' '.join(string.split(',')[1:-1]) if len(string.split(',')) > 2 else None
28.75
96
0.591304
19
115
3.578947
0.736842
0.323529
0
0
0
0
0
0
0
0
0
0.061224
0.147826
115
3
97
38.333333
0.632653
0.121739
0
0
0
0
0.030303
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d82b839695dc782678c421391ae3f72720a57aaa
1,089
py
Python
slides/slide13.py
samdmarshall/pyconfig
10c5d2ce5465510404c3a119f0be4a0ee9b5ae33
[ "BSD-3-Clause" ]
51
2016-05-17T19:31:30.000Z
2020-08-16T13:55:51.000Z
slides/slide13.py
samdmarshall/pyconfig
10c5d2ce5465510404c3a119f0be4a0ee9b5ae33
[ "BSD-3-Clause" ]
54
2016-06-03T11:13:50.000Z
2019-03-10T22:02:57.000Z
slides/slide13.py
samdmarshall/pyconfig
10c5d2ce5465510404c3a119f0be4a0ee9b5ae33
[ "BSD-3-Clause" ]
4
2016-05-31T16:10:01.000Z
2017-04-07T03:23:18.000Z
#!/usr/bin/python import pypresenter.slide class slide13(pypresenter.slide): def __init__(self): super(self.__class__, self).__init__('left') def content(self, window=None): return "// merge.xcconfig\n"\ "PODS_BUILD_DIR = $BUILD_DIR\n\n"\ "PODS_CONFIGURATION_BUILD...
51.857143
219
0.671258
120
1,089
5.766667
0.375
0.092486
0.15896
0.180636
0.228324
0
0
0
0
0
0
0.002262
0.188246
1,089
20
220
54.45
0.780543
0.014692
0
0
0
0
0.319963
0.104478
0
0
0
0
0
1
0.235294
false
0
0.058824
0.117647
0.470588
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
d8371b2f5499e402a75bd785ee76e91174694a5d
409
py
Python
tests/kyu_7_tests/test_growth_of_a_population.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_7_tests/test_growth_of_a_population.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_7_tests/test_growth_of_a_population.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_7.growth_of_a_population import nb_year class GrowthOfAPopulationTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(nb_year(1500, 5, 100, 5000), 15) def test_equals_2(self): self.assertEqual(nb_year(1500000, 2.5, 10000, 2000000), 10) def ...
27.266667
67
0.721271
60
409
4.7
0.583333
0.085106
0.138298
0.223404
0.315603
0.22695
0
0
0
0
0
0.185841
0.171149
409
14
68
29.214286
0.646018
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0.222222
0
0.666667
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
1
0
0
3
dc21cbcb0b0514dc8814961b2d97f31dd8579137
42
py
Python
firecloud/__about__.py
agraubert/fiss
590627c7b44e495eec593a2752361ba3d55a9548
[ "BSD-3-Clause" ]
null
null
null
firecloud/__about__.py
agraubert/fiss
590627c7b44e495eec593a2752361ba3d55a9548
[ "BSD-3-Clause" ]
null
null
null
firecloud/__about__.py
agraubert/fiss
590627c7b44e495eec593a2752361ba3d55a9548
[ "BSD-3-Clause" ]
null
null
null
# Package version __version__ = "0.16.21"
14
23
0.714286
6
42
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.138889
0.142857
42
2
24
21
0.583333
0.357143
0
0
0
0
0.28
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dc2fd576eaf9f269c8718d0e7ad0e7e59b553b83
117
py
Python
Python/depth.py
pedsm/StackOverflow
cefa59b11bfe2a522c17d3af99ac4f8e1dadd7bc
[ "MIT" ]
null
null
null
Python/depth.py
pedsm/StackOverflow
cefa59b11bfe2a522c17d3af99ac4f8e1dadd7bc
[ "MIT" ]
null
null
null
Python/depth.py
pedsm/StackOverflow
cefa59b11bfe2a522c17d3af99ac4f8e1dadd7bc
[ "MIT" ]
null
null
null
import sys sys.setrecursionlimit(1000000000) def recurse(depth): print(depth) recurse(depth + 1) recurse(0)
14.625
33
0.726496
15
117
5.666667
0.666667
0.282353
0
0
0
0
0
0
0
0
0
0.122449
0.162393
117
7
34
16.714286
0.744898
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dc42e7f8fe1ba04f56692bc45222c8a72de6083a
73
py
Python
competition/workspace/bert_tokenizer/__init__.py
clovaai/minimal-rnr-qa
9db881a031ec67a661b71f56598ae8720dc946eb
[ "Apache-2.0" ]
31
2021-04-15T12:46:24.000Z
2022-02-18T05:15:02.000Z
playground/workspace/minimal_rnr/tfserving/bert_tokenizer/__init__.py
clovaai/minimal-rnr-qa
9db881a031ec67a661b71f56598ae8720dc946eb
[ "Apache-2.0" ]
null
null
null
playground/workspace/minimal_rnr/tfserving/bert_tokenizer/__init__.py
clovaai/minimal-rnr-qa
9db881a031ec67a661b71f56598ae8720dc946eb
[ "Apache-2.0" ]
4
2021-04-19T03:53:33.000Z
2021-10-04T23:23:16.000Z
from .tokenization_bert import BertTokenizer __all__ = ['BertTokenizer']
24.333333
44
0.821918
7
73
7.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.09589
73
3
45
24.333333
0.833333
0
0
0
0
0
0.175676
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
dc59c55388548fc8a95795e1eb0deeadd3e92e50
570
py
Python
neurodsp/tests/utils/test_core.py
voytekresearch/neurodsp
a44845fb3638a5cc72b11eef340fb22e917c22e8
[ "MIT" ]
40
2017-06-21T08:56:04.000Z
2019-01-24T03:36:10.000Z
neurodsp/tests/utils/test_core.py
voytekresearch/neurodsp
a44845fb3638a5cc72b11eef340fb22e917c22e8
[ "MIT" ]
106
2017-06-21T01:01:48.000Z
2019-01-24T03:09:16.000Z
neurodsp/tests/utils/test_core.py
voytekresearch/neurodsp
a44845fb3638a5cc72b11eef340fb22e917c22e8
[ "MIT" ]
16
2017-06-20T18:58:16.000Z
2018-11-23T17:20:27.000Z
"""Tests for neurodsp.utils.core.""" from pytest import raises from neurodsp.utils.core import * ################################################################################################### ################################################################################################### def test_get_avg_fu...
24.782609
99
0.442105
52
570
4.596154
0.461538
0.125523
0.209205
0.175732
0.343096
0.267782
0.267782
0
0
0
0
0
0.135088
570
22
100
25.909091
0.484787
0.052632
0
0.272727
0
0
0.071429
0
0
0
0
0
0.272727
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
1
1
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
3
dc74c36544a6959f74bf2bbc2f6047e321477c0d
411
py
Python
FileDict.py
zzzz0317/TelegramToElastic
efa6b6955fa34bca5557a276279c4a3951b09c1c
[ "MIT" ]
1
2022-02-07T16:27:06.000Z
2022-02-07T16:27:06.000Z
FileDict.py
zzzz0317/TelegramToElastic
efa6b6955fa34bca5557a276279c4a3951b09c1c
[ "MIT" ]
null
null
null
FileDict.py
zzzz0317/TelegramToElastic
efa6b6955fa34bca5557a276279c4a3951b09c1c
[ "MIT" ]
null
null
null
import os import pickle dir_name = "data" def get_file_path(name): return os.path.join(dir_name, name + '.pkl') def save_obj(obj, name): if not os.path.exists(dir_name): os.makedirs(dir_name) with open(get_file_path(name), 'wb') as f: pickle.dump(obj, f, pickle.HIGHEST_PROTOCOL) def lo...
20.55
52
0.6618
69
411
3.753623
0.42029
0.108108
0.127413
0.173745
0.208494
0.208494
0.208494
0
0
0
0
0
0.20438
411
19
53
21.631579
0.792049
0
0
0
0
0
0.029197
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.076923
0.538462
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
1
0
0
3
dc87e34030d1c1d470c5891a2934b82b64e75fa2
253
py
Python
exc_time.py
proalexa/HashCodePizzaProblem
5e3520b5f7cb8fe5dc0f8cde4a2c84d78c2371b0
[ "MIT" ]
null
null
null
exc_time.py
proalexa/HashCodePizzaProblem
5e3520b5f7cb8fe5dc0f8cde4a2c84d78c2371b0
[ "MIT" ]
null
null
null
exc_time.py
proalexa/HashCodePizzaProblem
5e3520b5f7cb8fe5dc0f8cde4a2c84d78c2371b0
[ "MIT" ]
null
null
null
import timeit with open("./main.py", "r") as f: doc = f.read() print("{:.10f} seconds".format(float(timeit.Timer(doc).timeit(number=1)))) print("{:.10f} average seconds (100 Samples)".format( float(timeit.Timer(doc).timeit(number=100)/100)))
25.3
74
0.656126
38
253
4.368421
0.578947
0.096386
0.204819
0.26506
0.445783
0.445783
0.445783
0
0
0
0
0.0625
0.114625
253
9
75
28.111111
0.678571
0
0
0
0
0
0.245059
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dc8a940c987de82124b72b53e0a5b55aade17ce4
338
py
Python
trace_simexp/task/__init__.py
damar-wicaksono/trace-simexp
e2640ff44de461c70ffbd9c8faa68965821b37f2
[ "MIT" ]
null
null
null
trace_simexp/task/__init__.py
damar-wicaksono/trace-simexp
e2640ff44de461c70ffbd9c8faa68965821b37f2
[ "MIT" ]
null
null
null
trace_simexp/task/__init__.py
damar-wicaksono/trace-simexp
e2640ff44de461c70ffbd9c8faa68965821b37f2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ trace_simexp.task ***************** Package to handle job submission in parallel per batch for TRACE execution or post-processing the dmx/xtv to csv """ from . import aptscript from . import clean from . import dmx2csv from . import trace from . import xtv2dmx __author__ = ...
21.125
78
0.668639
44
338
5.022727
0.75
0.226244
0
0
0
0
0
0
0
0
0
0.011152
0.204142
338
15
79
22.533333
0.810409
0.508876
0
0
0
0
0.105634
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
dc8c1f8352022f3750296b232d894b177adb268d
1,821
py
Python
spotify/models/track.py
CosminNechifor/spotify.py
2b891ff296a7a17b57aceb30a21fede4a9c6f914
[ "MIT" ]
1
2019-01-17T19:34:56.000Z
2019-01-17T19:34:56.000Z
spotify/models/track.py
CosminNechifor/spotify.py
2b891ff296a7a17b57aceb30a21fede4a9c6f914
[ "MIT" ]
null
null
null
spotify/models/track.py
CosminNechifor/spotify.py
2b891ff296a7a17b57aceb30a21fede4a9c6f914
[ "MIT" ]
null
null
null
import datetime from spotify import _types Artist = _types.artist class Track: __slots__ = ('__data', '__client', 'artists') def __init__(self, client, data): self.__client = client self.__data = data self.artists = [Artist(client, artist) for artist in data.get('artists', [])] ...
24.608108
90
0.624382
232
1,821
4.530172
0.258621
0.085633
0.093245
0.102759
0.293054
0.087536
0.087536
0.087536
0.087536
0.087536
0
0
0.242175
1,821
73
91
24.945205
0.761594
0
0
0.208333
0
0
0.105049
0.013349
0
0
0
0
0
1
0.270833
false
0
0.041667
0.229167
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dc91ce6bebe7dffc83277f18cc02f4b43fc6eb55
74
py
Python
python/541.reverse-string-ii.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/541.reverse-string-ii.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/541.reverse-string-ii.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
class Solution: def reverseStr(self, s: str, k: int) -> str:
18.5
48
0.554054
10
74
4.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.310811
74
3
49
24.666667
0.803922
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
dca623612265a20de3d39a657ccaef51c53b37bb
2,281
py
Python
tests/conftest.py
goldworm-icon/gw-iconsdk
b54722b0d19f286c0d0b8d751ff8cbcabd29f86a
[ "Apache-2.0" ]
2
2019-05-28T22:37:49.000Z
2020-01-07T11:40:15.000Z
tests/conftest.py
goldworm-icon/gw-iconsdk
b54722b0d19f286c0d0b8d751ff8cbcabd29f86a
[ "Apache-2.0" ]
1
2020-02-04T12:05:31.000Z
2020-02-04T12:05:31.000Z
tests/conftest.py
goldworm-icon/gw-iconsdk
b54722b0d19f286c0d0b8d751ff8cbcabd29f86a
[ "Apache-2.0" ]
1
2019-08-01T08:42:15.000Z
2019-08-01T08:42:15.000Z
# -*- coding: utf-8 -*- # Copyright 2020 ICON Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
22.584158
74
0.701885
300
2,281
5.27
0.41
0.074004
0.050601
0.049336
0.170145
0.151803
0.113852
0.063251
0.063251
0.063251
0
0.016802
0.191144
2,281
100
75
22.81
0.840108
0.333626
0
0.28
0
0
0.035302
0
0
0
0
0
0
1
0.28
false
0
0.16
0.16
0.7
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dcb253ebd152af019f30acf5c4318ccaab67789d
139
py
Python
update.py
malvikamodi/bl
5c1e112d63cd399d6151e9076bfcddab4ab31df9
[ "Apache-2.0" ]
null
null
null
update.py
malvikamodi/bl
5c1e112d63cd399d6151e9076bfcddab4ab31df9
[ "Apache-2.0" ]
null
null
null
update.py
malvikamodi/bl
5c1e112d63cd399d6151e9076bfcddab4ab31df9
[ "Apache-2.0" ]
null
null
null
from gglsbl import SafeBrowsingList sbl = SafeBrowsingList('AIzaSyCj6PXcG8IuHW3cpVB5dZHVWHb2QnALWSU') sbl.update_hash_prefix_cache()
23.166667
65
0.841727
12
139
9.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.04
0.100719
139
5
66
27.8
0.872
0
0
0
0
0
0.282609
0.282609
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f4a24379e88960639b0b2ab9ca338a7429df9f85
12,996
py
Python
modulo_test.py
isabella232/rttcp
fc2f0af6814def37c949719665afc7cef8ced124
[ "Apache-2.0" ]
23
2017-06-09T20:46:29.000Z
2022-01-30T14:22:03.000Z
modulo_test.py
chemag/rttcp
fc2f0af6814def37c949719665afc7cef8ced124
[ "Apache-2.0" ]
1
2021-09-05T19:10:24.000Z
2021-09-05T19:10:24.000Z
modulo_test.py
chemag/rttcp
fc2f0af6814def37c949719665afc7cef8ced124
[ "Apache-2.0" ]
12
2017-06-09T20:46:34.000Z
2022-02-16T08:59:52.000Z
#!/usr/bin/python # Copyright 2017 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
43.905405
77
0.65851
2,004
12,996
4.122754
0.108782
0.130719
0.162672
0.150206
0.788066
0.76519
0.709271
0.66001
0.606754
0.471678
0
0.10619
0.200754
12,996
295
78
44.054237
0.689227
0.098569
0
0.148472
0
0
0.000685
0
0
0
0
0
0.598253
1
0.061135
false
0
0.008734
0
0.087336
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
1
0
0
0
0
0
0
0
0
0
3
f4b07b4aaf9f241222408e93dcbd44c93af72d70
3,300
py
Python
apps/account/control.py
F483/bikesurf.org
c85680f7443920a4dbf95e24f58e0a095c3da42f
[ "MIT" ]
6
2015-08-11T19:48:12.000Z
2019-06-26T20:02:05.000Z
apps/account/control.py
F483/bikesurf.org
c85680f7443920a4dbf95e24f58e0a095c3da42f
[ "MIT" ]
27
2015-02-15T22:21:20.000Z
2017-12-06T20:27:35.000Z
apps/account/control.py
F483/bikesurf.org
c85680f7443920a4dbf95e24f58e0a095c3da42f
[ "MIT" ]
3
2015-08-10T18:11:59.000Z
2017-11-28T20:59:40.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2012 Fabian Barkhau <fabian.barkhau@gmail.com> # License: MIT (see LICENSE.TXT file) import os from django.core.exceptions import PermissionDenied from django.shortcuts import get_object_or_404 from django.contrib.sites.models import Site from allauth.account...
27.04918
82
0.715758
432
3,300
5.291667
0.247685
0.038495
0.019248
0.028871
0.219598
0.175853
0.12161
0.093613
0.093613
0.043745
0
0.005168
0.179091
3,300
121
83
27.272727
0.838686
0.103636
0
0.114286
0
0
0
0
0
0
0
0.008264
0
1
0.228571
false
0.1
0.128571
0.085714
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f4bc39ae2cfa24d6fa4973890a7de3f8029ab0da
71
py
Python
torch_poly_lr_decay/__init__.py
huixiancheng/pytorch-polynomial-lr-decay
8cb32db6b6ab658013317f553981970946089b12
[ "MIT" ]
42
2019-08-11T08:53:28.000Z
2022-03-18T08:04:17.000Z
torch_poly_lr_decay/__init__.py
huixiancheng/pytorch-polynomial-lr-decay
8cb32db6b6ab658013317f553981970946089b12
[ "MIT" ]
3
2019-08-15T08:20:24.000Z
2021-12-17T02:01:36.000Z
torch_poly_lr_decay/__init__.py
huixiancheng/pytorch-polynomial-lr-decay
8cb32db6b6ab658013317f553981970946089b12
[ "MIT" ]
15
2020-03-02T09:19:47.000Z
2022-03-11T22:53:26.000Z
name = 'torchlars' from .torch_poly_lr_decay import PolynomialLRDecay
17.75
50
0.830986
9
71
6.222222
1
0
0
0
0
0
0
0
0
0
0
0
0.112676
71
3
51
23.666667
0.888889
0
0
0
0
0
0.126761
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f4c4d98b85fbe0d7bfac7b19f527e658b43131c9
4,091
py
Python
venv/lib/python3.8/site-packages/uno/helpers.py
LachlanAttwood/ConvertMe
da544b5cacead3213dab76e9e716222b011d7688
[ "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/uno/helpers.py
LachlanAttwood/ConvertMe
da544b5cacead3213dab76e9e716222b011d7688
[ "MIT" ]
3
2015-11-09T19:25:22.000Z
2016-06-07T15:02:03.000Z
uno/helpers.py
elbow-jason/Uno
4ad07d7b84e5b6e3e2b2c89db69448906f24b4e4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import itertools from functools import wraps from collections import Iterable def math_func(f): """ Statics the methods. wut. """ @wraps(f) def wrapper(*args, **kwargs): if len(args) > 0: return_type = type(args[0]) if kwargs.has_key('return_typ...
24.207101
79
0.617697
585
4,091
4.194872
0.252991
0.007335
0.012225
0.01141
0.125917
0.116952
0.094947
0.094947
0.08476
0.08476
0
0.000995
0.263016
4,091
169
80
24.207101
0.812935
0.273283
0
0.089888
0
0
0.015184
0
0
0
0
0
0
1
0.292135
false
0.011236
0.033708
0.11236
0.606742
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f4d7c1cf2ffe060648b8994b37ba2f1356c6065d
515
py
Python
src/inventory/migrations/0010_auto_20210524_1605.py
migvill5/pharmanager
ac84bd4300cb0243e6608d98d43b530054c641f5
[ "MIT" ]
null
null
null
src/inventory/migrations/0010_auto_20210524_1605.py
migvill5/pharmanager
ac84bd4300cb0243e6608d98d43b530054c641f5
[ "MIT" ]
null
null
null
src/inventory/migrations/0010_auto_20210524_1605.py
migvill5/pharmanager
ac84bd4300cb0243e6608d98d43b530054c641f5
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-05-24 21:05 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inventory', '0009_auto_20210524_1601'), ] operations = [ migrations.RenameField( model_name='laboratory', old_name='address1...
21.458333
49
0.565049
50
515
5.64
0.68
0.148936
0.184397
0.212766
0.333333
0.333333
0.333333
0
0
0
0
0.094828
0.324272
515
23
50
22.391304
0.715517
0.087379
0
0.352941
1
0
0.17094
0.049145
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f4f81ded6a07c9887e294a1c8605c6f864f7121e
240
py
Python
cors/admin.py
martbln/django-service-boilerplate
1e6e584e751a48f460edb6b6db0bb55c53a3c200
[ "MIT" ]
18
2018-03-07T09:27:38.000Z
2022-01-06T18:44:29.000Z
cors/admin.py
martbln/django-service-boilerplate
1e6e584e751a48f460edb6b6db0bb55c53a3c200
[ "MIT" ]
292
2018-02-09T12:27:53.000Z
2022-03-11T23:11:58.000Z
cors/admin.py
martbln/django-service-boilerplate
1e6e584e751a48f460edb6b6db0bb55c53a3c200
[ "MIT" ]
11
2018-01-30T00:01:51.000Z
2020-12-28T12:07:47.000Z
from django.contrib import admin from core.admin import SecuredVersionedModelAdmin from cors.models import Cors @admin.register(Cors) class CorsAdmin(SecuredVersionedModelAdmin): list_display = ['cors'] search_fields = ['cors']
20
49
0.779167
27
240
6.851852
0.592593
0
0
0
0
0
0
0
0
0
0
0
0.1375
240
11
50
21.818182
0.89372
0
0
0
0
0
0.033333
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7602b3d0a8255b6da741bd5e50548daff592e671
263
py
Python
second lesson/conditions.py
lyov077/econometrcis2022
079100cf8658ca54b8f03a4afd63639554c107c5
[ "MIT" ]
null
null
null
second lesson/conditions.py
lyov077/econometrcis2022
079100cf8658ca54b8f03a4afd63639554c107c5
[ "MIT" ]
null
null
null
second lesson/conditions.py
lyov077/econometrcis2022
079100cf8658ca54b8f03a4afd63639554c107c5
[ "MIT" ]
null
null
null
my = ["a", 8, 19, "p", {1,2,3}] for element in my: if type(element) == int: print("Element is numberic", element) elif type(element) == str: print("Element is string", element) else: print("Element is something else", element)
32.875
51
0.577947
37
263
4.108108
0.594595
0.236842
0.276316
0
0
0
0
0
0
0
0
0.030928
0.262357
263
8
51
32.875
0.752577
0
0
0
0
0
0.238636
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7604b3c2679418bb13d9189aa87d6f7e9d6c68a5
561
py
Python
Repositorio/Entidades/Usuario.py
OtavioAraujo/TrabalhoTopEspInformatica
246fa6287a2ef784d2c22a897788c801429daaae
[ "MIT" ]
null
null
null
Repositorio/Entidades/Usuario.py
OtavioAraujo/TrabalhoTopEspInformatica
246fa6287a2ef784d2c22a897788c801429daaae
[ "MIT" ]
null
null
null
Repositorio/Entidades/Usuario.py
OtavioAraujo/TrabalhoTopEspInformatica
246fa6287a2ef784d2c22a897788c801429daaae
[ "MIT" ]
null
null
null
class Usuario: id_usuario = None email = None nome = None senha = None def getIdUsuario(self): return self.id_usuario def setIdUsuario(self, id_usuario): self.id_usuario = id_usuario def getEMail(self): return self.email def setEMail(self, email): self.e...
21.576923
39
0.588235
67
561
4.850746
0.268657
0.138462
0.172308
0
0
0
0
0
0
0
0
0
0.331551
561
26
40
21.576923
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.380952
false
0
0
0.190476
0.809524
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
52098703b0d988bad05b0979d1b441fb13ceaa59
231
py
Python
run.py
Badzyo/tic-tac-toe
ade45bd0bb68a8b4838ea0ddc8e46928a3d71511
[ "MIT" ]
null
null
null
run.py
Badzyo/tic-tac-toe
ade45bd0bb68a8b4838ea0ddc8e46928a3d71511
[ "MIT" ]
1
2017-12-14T06:37:31.000Z
2017-12-14T06:37:31.000Z
run.py
Badzyo/tic-tac-toe
ade45bd0bb68a8b4838ea0ddc8e46928a3d71511
[ "MIT" ]
null
null
null
from app import app from tornado_server import start_server if __name__ == "__main__": host = app.config.get('APP_RUN_HOST', 'localhost') port = app.config.get('APP_RUN_PORT', '5000') start_server(host=host, port=port)
33
54
0.722944
35
231
4.342857
0.457143
0.144737
0.157895
0.197368
0.236842
0
0
0
0
0
0
0.020305
0.147186
231
7
55
33
0.751269
0
0
0
0
0
0.193966
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
52271776742a843489dd7d8116435b94102a7e43
907
py
Python
data/pullData.py
stefanospin7/Progetto_Bioinfo_PLP
d1a27293f0f4c650d20427b1cae285d33cc0dda1
[ "MIT" ]
1
2022-01-20T14:37:52.000Z
2022-01-20T14:37:52.000Z
data/pullData.py
stefanospin7/Progetto_Bioinfo_PLP
d1a27293f0f4c650d20427b1cae285d33cc0dda1
[ "MIT" ]
null
null
null
data/pullData.py
stefanospin7/Progetto_Bioinfo_PLP
d1a27293f0f4c650d20427b1cae285d33cc0dda1
[ "MIT" ]
null
null
null
import pandas as pd # owid dataset import df = pd.read_csv("https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/owid-covid-data.csv", parse_dates=["date"]) # keep = selecting columns of interest keep = ["date", "location", "iso_code", "icu_patients", "icu_patients_per_million", "ne...
90.7
590
0.776185
126
907
5.166667
0.396825
0.076805
0.059908
0
0
0
0
0
0
0
0
0.00241
0.084895
907
9
591
100.777778
0.781928
0.095921
0
0
0
0.166667
0.726044
0.398034
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
52449a573c3b4f4fb77d4217627ddc4c5ff4898e
585
py
Python
huobi/model/account/sub_uid_management.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
huobi/model/account/sub_uid_management.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
huobi/model/account/sub_uid_management.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
from huobi.constant import SubUidState class SubUidManagement: """ The trade information with price and amount etc. :member subUid: sub user ID. userState: sub user account state, states see SubUidState. """ def __init__(self): self.subUid = 0 self.userState = Sub...
26.590909
73
0.682051
68
585
5.691176
0.558824
0.077519
0.103359
0.124031
0
0
0
0
0
0
0
0.002237
0.235897
585
21
74
27.857143
0.863535
0.247863
0
0
0
0
0.036408
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
0.444444
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
1
0
3
524e43b0a8275f276f228447a81fbca89b6717bb
228
py
Python
pyhcl/__init__.py
raybdzhou/PyChip-py-hcl
08edc6ad4d2978eb417482f6f92678f8f9a1e3c7
[ "MIT" ]
1
2021-12-10T14:02:54.000Z
2021-12-10T14:02:54.000Z
pyhcl/__init__.py
raybdzhou/PyChip-py-hcl
08edc6ad4d2978eb417482f6f92678f8f9a1e3c7
[ "MIT" ]
null
null
null
pyhcl/__init__.py
raybdzhou/PyChip-py-hcl
08edc6ad4d2978eb417482f6f92678f8f9a1e3c7
[ "MIT" ]
1
2022-03-04T03:36:01.000Z
2022-03-04T03:36:01.000Z
from .dsl import * from .lib import * from .util.pysvtools import addpysvmodule, compile_and_binding_all from .util.firrtltools import addfirrtlmodule from .util.functions import with_debug_info from .util.qemutools import Qemu
32.571429
66
0.833333
32
228
5.78125
0.59375
0.172973
0
0
0
0
0
0
0
0
0
0
0.109649
228
6
67
38
0.91133
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3