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
0d4bd32355bdfdc8532411526ada5447542b5eee
467
py
Python
AI/spiderai.py
v4nz666/mustached-archer
b9c7787e299a2d67b69e802bce9ea2e7ed7b3f99
[ "MIT" ]
7
2015-03-24T23:52:21.000Z
2019-10-01T21:26:48.000Z
AI/spiderai.py
v4nz666/MineClimbeR-L-
b9c7787e299a2d67b69e802bce9ea2e7ed7b3f99
[ "MIT" ]
52
2015-03-12T00:49:34.000Z
2021-09-28T18:01:03.000Z
AI/spiderai.py
v4nz666/MineClimbeR-L-
b9c7787e299a2d67b69e802bce9ea2e7ed7b3f99
[ "MIT" ]
null
null
null
from ai import Ai class SpiderAi(Ai): def computePath(self, xFrom, yFrom, xTo, yTo, len): if self.map.getCell(xTo, yTo).passable(): try: if not self.map.getCell(xTo, yTo - 1).passable() or\ not self.map.getCell(xTo - 1, yTo).passable() or\ not self.map.getCell(xTo + 1,...
25.944444
65
0.556745
66
467
3.939394
0.378788
0.134615
0.269231
0.326923
0.592308
0.515385
0.515385
0.515385
0.376923
0.376923
0
0.021672
0.308351
467
17
66
27.470588
0.783282
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0.461538
0.076923
0
0.384615
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
1
0
0
0
0
0
3
0d551577f95f095c2ce25cd7d6dde6837f7c35d5
50
py
Python
pathfinder_spell_crawler/soup/__init__.py
guillaume-gc/pathfinder-spell-crawler
a564fd951fa5723862c3f81f58afc2b021ae32dd
[ "MIT" ]
null
null
null
pathfinder_spell_crawler/soup/__init__.py
guillaume-gc/pathfinder-spell-crawler
a564fd951fa5723862c3f81f58afc2b021ae32dd
[ "MIT" ]
null
null
null
pathfinder_spell_crawler/soup/__init__.py
guillaume-gc/pathfinder-spell-crawler
a564fd951fa5723862c3f81f58afc2b021ae32dd
[ "MIT" ]
null
null
null
import logging logger = logging.getLogger('soup')
16.666667
34
0.78
6
50
6.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.1
50
3
34
16.666667
0.866667
0
0
0
0
0
0.078431
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
b4a1ab6bf013c161059b5a1d917567fc22bb8aaf
911
py
Python
cookbook/c03/p11_random_num.py
itpubs/python3-cookbook
140f5e4cc0416b9674edca7f4c901b1f58fc1415
[ "Apache-2.0" ]
3
2018-05-10T01:13:08.000Z
2018-06-17T12:34:07.000Z
cookbook/c03/p11_random_num.py
itpubs/python3-cookbook
140f5e4cc0416b9674edca7f4c901b1f58fc1415
[ "Apache-2.0" ]
2
2020-09-19T17:10:23.000Z
2020-10-17T16:43:52.000Z
cookbook/c03/p11_random_num.py
itpubs/python3-cookbook
140f5e4cc0416b9674edca7f4c901b1f58fc1415
[ "Apache-2.0" ]
1
2021-01-08T04:55:27.000Z
2021-01-08T04:55:27.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ Topic: 随机数 Desc : """ import random def random_num(): values = [1, 2, 3, 4, 5, 6] print(random.choice(values)) print(random.choice(values)) print(random.choice(values)) print(random.choice(values)) print(random.choice(values)) # 抽取样本 ...
20.704545
61
0.637761
123
911
4.642276
0.430894
0.250438
0.148862
0.201401
0.472855
0.472855
0.472855
0.472855
0.472855
0.348511
0
0.041667
0.20966
911
43
62
21.186047
0.751389
0.21405
0
0.478261
0
0
0.022923
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.086957
0.608696
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
b4b5a38127e069d266f38d9105f1a9e388a657a1
507
py
Python
src/core/SubsystemIf.py
o92design/PythonSpelmotor
f8c75be2e51790a06fde8be8eb0a715913baebd8
[ "MIT" ]
null
null
null
src/core/SubsystemIf.py
o92design/PythonSpelmotor
f8c75be2e51790a06fde8be8eb0a715913baebd8
[ "MIT" ]
null
null
null
src/core/SubsystemIf.py
o92design/PythonSpelmotor
f8c75be2e51790a06fde8be8eb0a715913baebd8
[ "MIT" ]
null
null
null
from abc import abstractmethod from src.core import * from src.tools.Logging import Log class SubsystemIf(InitializerIf): def __init__(self, name, description): super(SubsystemIf, self).__init__(name, description) @abstractmethod def initialize(self): Log.out("Initialiserar subsystem: " +...
24.142857
93
0.686391
56
507
5.857143
0.517857
0.042683
0.060976
0.176829
0
0
0
0
0
0
0
0.004975
0.207101
507
20
94
25.35
0.810945
0
0
0.153846
0
0
0.104743
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0
0.692308
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
b4b8d8502a1a968bc290da36549a1084ac0a7bf8
1,312
py
Python
facebook/interract.py
madiedinro/facebook-service
898052c00fe8d91d34e473ab15368a707e801cd0
[ "Apache-2.0" ]
null
null
null
facebook/interract.py
madiedinro/facebook-service
898052c00fe8d91d34e473ab15368a707e801cd0
[ "Apache-2.0" ]
null
null
null
facebook/interract.py
madiedinro/facebook-service
898052c00fe8d91d34e473ab15368a707e801cd0
[ "Apache-2.0" ]
null
null
null
from band import logger, rpc from typing import Coroutine # Bot def bot_chat_event(sid_chat, name, data) -> Coroutine: return rpc.request('digitalgodbot', 'chat_event', sid_chat=sid_chat, name=name, data=data) # DG def digitalgod_get_user(phone=None, user_id=None, fb_id=None) -> Coroutine: return rpc.reques...
30.511628
103
0.731707
202
1,312
4.490099
0.227723
0.148842
0.178611
0.248071
0.353914
0.199559
0
0
0
0
0
0
0.128049
1,312
42
104
31.238095
0.792832
0.028963
0
0
0
0
0.124803
0
0
0
0
0
0
1
0.45
false
0
0.1
0.45
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
b4c0f5d0d4a850861436a1cb12feb5db7c18b308
100
py
Python
routines/pf/ktp/fit/__init__.py
avcopan/mechdriver
63069cfb21d6fdb6d0b091dfe204b1e09c8e10a1
[ "Apache-2.0" ]
null
null
null
routines/pf/ktp/fit/__init__.py
avcopan/mechdriver
63069cfb21d6fdb6d0b091dfe204b1e09c8e10a1
[ "Apache-2.0" ]
null
null
null
routines/pf/ktp/fit/__init__.py
avcopan/mechdriver
63069cfb21d6fdb6d0b091dfe204b1e09c8e10a1
[ "Apache-2.0" ]
null
null
null
""" rate stuff """ from routines.pf.ktp.fit._fit import fit_rates __all__ = [ 'fit_rates', ]
10
46
0.64
14
100
4.071429
0.714286
0.280702
0
0
0
0
0
0
0
0
0
0
0.2
100
9
47
11.111111
0.7125
0.1
0
0
0
0
0.109756
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
b4c233e72a6ca837b2193e1eb70942426af708be
42
py
Python
fluentcms_bootstrap_grid/__init__.py
edoburu/fluentcms-bootstrap-grid
67a8255e34e22284eeb05c04517671311305d370
[ "Apache-2.0" ]
null
null
null
fluentcms_bootstrap_grid/__init__.py
edoburu/fluentcms-bootstrap-grid
67a8255e34e22284eeb05c04517671311305d370
[ "Apache-2.0" ]
null
null
null
fluentcms_bootstrap_grid/__init__.py
edoburu/fluentcms-bootstrap-grid
67a8255e34e22284eeb05c04517671311305d370
[ "Apache-2.0" ]
null
null
null
# following PEP 440 __version__ = "1.0a1"
14
21
0.714286
6
42
4.333333
1
0
0
0
0
0
0
0
0
0
0
0.171429
0.166667
42
2
22
21
0.571429
0.404762
0
0
0
0
0.217391
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
b4d97ba6442cce2ed5caab3327844e4cb6bd94b3
110
py
Python
python/testData/mover/multiLineSelection2_afterUp.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/mover/multiLineSelection2_afterUp.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/mover/multiLineSelection2_afterUp.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class Test(object): def q(self): c = 3 <selection>a = 1 b = 2 <caret></selection>
15.714286
24
0.472727
15
110
3.466667
0.933333
0
0
0
0
0
0
0
0
0
0
0.044118
0.381818
110
7
25
15.714286
0.720588
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
b4f1304e7e21e19769518876f4174a3844296836
371
py
Python
pysound/Components/waves.py
wangzhe3224/pysound
629f1df7d5ce36871c0acdfabc9c9c227b03cab4
[ "MIT" ]
2
2020-04-10T22:51:25.000Z
2020-12-11T11:14:23.000Z
pysound/Components/waves.py
wangzhe3224/pysound
629f1df7d5ce36871c0acdfabc9c9c227b03cab4
[ "MIT" ]
null
null
null
pysound/Components/waves.py
wangzhe3224/pysound
629f1df7d5ce36871c0acdfabc9c9c227b03cab4
[ "MIT" ]
null
null
null
import numpy as np def square_wave(w, N): """ Generate sauare wave @param w: radints @param N: samples @return: """ p = np.round(2 * np.pi / w) return np.where((np.arange(0, N) % p) >= (p/2), -1, 1) def square_wave_exact(w, N): """ need more computation but more prise """ return...
20.611111
60
0.560647
63
371
3.253968
0.47619
0.087805
0.126829
0.146341
0
0
0
0
0
0
0
0.032727
0.25876
371
17
61
21.823529
0.712727
0.277628
0
0
1
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
b4f8c8a32ff3b0ca23b359641f919a95f2aadf55
220
py
Python
src/app/api/router.py
starlite-api/backend-starlite-postgres
c2d539d88dd13cbe06fa49ab95c1fd6eb398b051
[ "MIT" ]
3
2022-01-18T16:35:12.000Z
2022-01-25T14:55:32.000Z
src/app/api/router.py
starlite-api/backend-starlite-postgres
c2d539d88dd13cbe06fa49ab95c1fd6eb398b051
[ "MIT" ]
1
2022-01-24T22:37:35.000Z
2022-01-25T08:09:19.000Z
src/app/api/router.py
starlite-api/backend-starlite-postgres
c2d539d88dd13cbe06fa49ab95c1fd6eb398b051
[ "MIT" ]
null
null
null
from starlite import Router from app.config import Paths from .items import item_router from .users import user_router user_router.register(item_router) v1_router = Router(path=Paths.V1, route_handlers=[user_router])
22
63
0.822727
34
220
5.117647
0.470588
0.172414
0
0
0
0
0
0
0
0
0
0.010204
0.109091
220
9
64
24.444444
0.877551
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
2e9a08c8dc5a1b415c942c0cf1bc075282d216c5
8,141
py
Python
src/dbutils/database_unittest.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
null
null
null
src/dbutils/database_unittest.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
null
null
null
src/dbutils/database_unittest.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
null
null
null
def cursors(): import dbutils class TestException(Exception): pass # Create some playground tables. We'll drop them later if all goes well, # but it doesn't really matter if we don't. db = dbutils.Database() db.cursor().execute( "CREATE TABLE playground1 ( x INTEGER PRIMARY KE...
38.220657
93
0.585186
933
8,141
5.050375
0.145766
0.088285
0.047538
0.067912
0.753183
0.705008
0.650891
0.620119
0.587861
0.54393
0
0.019386
0.315686
8,141
212
94
38.400943
0.826423
0.090161
0
0.726667
0
0
0.256602
0
0
0
0
0
0.18
0
null
null
0.013333
0.013333
null
null
0.013333
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2ea1b751407f072ee3027d00f057612151caf04b
354
py
Python
jax_cfd/ml/nonlinearities.py
ngam/jax-cfd
8eff9c47bdc7fb19b6453db94ca65f6be64d91f6
[ "Apache-2.0" ]
244
2021-05-18T18:49:14.000Z
2022-03-30T18:27:21.000Z
jax_cfd/ml/nonlinearities.py
ngam/jax-cfd
8eff9c47bdc7fb19b6453db94ca65f6be64d91f6
[ "Apache-2.0" ]
14
2021-06-24T22:15:44.000Z
2022-03-30T06:22:52.000Z
jax_cfd/ml/nonlinearities.py
ngam/jax-cfd
8eff9c47bdc7fb19b6453db94ca65f6be64d91f6
[ "Apache-2.0" ]
36
2021-05-29T09:30:44.000Z
2022-03-28T12:33:40.000Z
"""Registry of nonlinearities that can be used in neural networks.""" import gin import jax import jax.numpy as jnp relu = gin.external_configurable(jax.nn.relu) tanh = gin.external_configurable(jnp.tanh) softplus = gin.external_configurable(jax.nn.softplus) swish = gin.external_configurable(jax.nn.swish) elu = gin....
27.230769
69
0.793785
53
354
5.207547
0.45283
0.199275
0.416667
0.376812
0.405797
0
0
0
0
0
0
0
0.101695
354
12
70
29.5
0.867925
0.177966
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2eaccd4c316816deee591213fe4efc00a68e8c04
6,924
py
Python
src/web/CygnusCloud/languages/default.py
lbarriosh/cygnus-cloud
1a17fbb55de69adba2ec42db4c9a063865af4fbd
[ "Apache-2.0" ]
3
2017-09-03T22:01:35.000Z
2019-01-10T05:40:44.000Z
src/web/CygnusCloud/languages/default.py
lbarriosh/cygnus-cloud
1a17fbb55de69adba2ec42db4c9a063865af4fbd
[ "Apache-2.0" ]
null
null
null
src/web/CygnusCloud/languages/default.py
lbarriosh/cygnus-cloud
1a17fbb55de69adba2ec42db4c9a063865af4fbd
[ "Apache-2.0" ]
null
null
null
# coding: utf8 { '!langcode!': 'en-us', '!langname!': 'English (US)', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN', '%s %%(shop)': '%s...
37.630435
281
0.662767
932
6,924
4.921674
0.296137
0.00654
0.012208
0.006104
0.401788
0.34358
0.267277
0.212557
0.206889
0.182254
0
0.005134
0.127961
6,924
183
282
37.836066
0.754554
0.001733
0
0.010989
0
0.010989
0.785384
0.01042
0
0
0
0
0
1
0
true
0.054945
0.016484
0
0.016484
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
1
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
2ed2769619c2a1875d65f834f91118b9fc073528
573
py
Python
example.py
steviestickman/pytestlib
cd944e096dd436f7ed57e4719a51caa15be62ada
[ "MIT" ]
null
null
null
example.py
steviestickman/pytestlib
cd944e096dd436f7ed57e4719a51caa15be62ada
[ "MIT" ]
null
null
null
example.py
steviestickman/pytestlib
cd944e096dd436f7ed57e4719a51caa15be62ada
[ "MIT" ]
null
null
null
"example file to showcase pytestlib" from testlib import unit_test, Asserts, run_tests def fib(num: int)->int: "returns the fibenaci number of num" assert isinstance(num, int) assert num >= 0 if num <= 1: return num else: return fib(num-2) + fib(num-1) @unit_test def fibenaci_te...
19.1
49
0.624782
88
573
3.920455
0.443182
0.208696
0.26087
0.092754
0
0
0
0
0
0
0
0.036782
0.240838
573
29
50
19.758621
0.756322
0.157068
0
0
0
0
0.167539
0
0
0
0
0
0.428571
1
0.095238
false
0
0.047619
0
0.238095
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
2c0a8dc9a3d21442d958f517a3e9c27c323de766
11,731
py
Python
tests/test_nifti_rw.py
function2-llx/MONAI
4cddaa830b61b88ec78e089bb5f21e05bb1a78f4
[ "Apache-2.0" ]
1
2022-02-15T09:32:28.000Z
2022-02-15T09:32:28.000Z
tests/test_nifti_rw.py
function2-llx/MONAI
4cddaa830b61b88ec78e089bb5f21e05bb1a78f4
[ "Apache-2.0" ]
null
null
null
tests/test_nifti_rw.py
function2-llx/MONAI
4cddaa830b61b88ec78e089bb5f21e05bb1a78f4
[ "Apache-2.0" ]
null
null
null
# Copyright (c) MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, so...
46.185039
120
0.564402
1,605
11,731
3.937695
0.128972
0.061234
0.047468
0.049367
0.733544
0.703797
0.702848
0.687342
0.677848
0.668354
0
0.049576
0.296735
11,731
253
121
46.367589
0.716485
0.052084
0
0.5
0
0
0.042319
0
0
0
0
0
0.1
1
0.027273
false
0
0.040909
0
0.072727
0.004545
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
2c1c2f1f5eb2977da8833564d85a0d2a900d9750
4,848
py
Python
pack/addpack.py
mcpiscript/marketpi-repo
2e057ba8c07b6c79dec9a1e1a8f9250c030d184c
[ "MIT" ]
3
2022-02-02T00:11:15.000Z
2022-02-23T03:53:31.000Z
pack/addpack.py
mcpiscript/marketpi-repo
2e057ba8c07b6c79dec9a1e1a8f9250c030d184c
[ "MIT" ]
6
2022-02-01T23:46:30.000Z
2022-02-21T13:00:54.000Z
pack/addpack.py
mcpiscript/marketpi-repo
2e057ba8c07b6c79dec9a1e1a8f9250c030d184c
[ "MIT" ]
2
2022-02-21T23:12:33.000Z
2022-03-15T13:31:39.000Z
# MCPIL texturepack code # Coded by NikZapp for the MCPIL project by Alvarito050506 # This program is sadly not protected in any way. import os import shutil import zipfile from pathlib import Path def loadTextures(filename): print("Loading the following textures into the game files:") global foundInTexturepa...
39.096774
87
0.663779
595
4,848
5.376471
0.278992
0.158174
0.28759
0.373867
0.547046
0.441701
0.140044
0.029384
0.029384
0.029384
0
0.03358
0.164604
4,848
123
88
39.414634
0.756296
0.054043
0
0.095238
0
0
0.572919
0.519645
0
0
0
0
0
1
0.009524
false
0.009524
0.038095
0
0.047619
0.104762
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2c282d1e735c053224ccbc4c2d4b6ce6d8323b84
384
py
Python
tests/docker/test_fixtures.py
housekore/ocr-auto-pdf
2d2c91078b5c08929aafc1125e3947acdcd0966b
[ "MIT" ]
2
2021-03-13T22:08:58.000Z
2021-03-13T22:08:59.000Z
tests/docker/test_fixtures.py
mbrylewi/ocrmypdf-auto
98af7470237cf3b320eb490e137df35867add21b
[ "MIT" ]
null
null
null
tests/docker/test_fixtures.py
mbrylewi/ocrmypdf-auto
98af7470237cf3b320eb490e137df35867add21b
[ "MIT" ]
null
null
null
import pytest from plumbum import local # def test_ocr_tmpvols(ocr_tmpvols): # for vol in ['input', 'output', 'config', 'archive', 'temp']: # assert vol in ocr_tmpvols # for vol, details in ocr_tmpvols.items(): # assert details['mode'] == 'rw' # bind = local.path(details['bind']) # ...
29.538462
66
0.59375
49
384
4.530612
0.571429
0.18018
0.117117
0.144144
0
0
0
0
0
0
0
0
0.247396
384
12
67
32
0.768166
0.846354
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2c29829e274d1c6234979d7ae261ca21f7820c25
617
py
Python
tests/test_classes.py
abathur/anaphora
c6a1579f940a8715f8a04b78ed7be3c02eec4e5a
[ "MIT" ]
null
null
null
tests/test_classes.py
abathur/anaphora
c6a1579f940a8715f8a04b78ed7be3c02eec4e5a
[ "MIT" ]
null
null
null
tests/test_classes.py
abathur/anaphora
c6a1579f940a8715f8a04b78ed7be3c02eec4e5a
[ "MIT" ]
null
null
null
class JustMethods(object): def test1(self): assert 2 == 2 def test2(self): assert 1 == 1 def test3(self): assert 3 == 3 class MostlyMethods(object): test = 1 def before_class_hook(self): pass def after_class_hook(self): pass def before_method_ho...
15.820513
34
0.564019
81
617
4.185185
0.308642
0.176991
0.123894
0.159292
0.247788
0
0
0
0
0
0
0.077859
0.333874
617
38
35
16.236842
0.746959
0
0
0.32
0
0
0
0
0
0
0
0
0.28
1
0.44
false
0.08
0
0
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
2c299b36a4d8096f4657e43ba51e88bd83f73696
80
py
Python
HomeWorks/Patselia Rostik/2.2.py
Frinney/FamousTeamDream
e0ccaf909ca2701f9fe22ba73b290990554f7333
[ "Apache-2.0" ]
null
null
null
HomeWorks/Patselia Rostik/2.2.py
Frinney/FamousTeamDream
e0ccaf909ca2701f9fe22ba73b290990554f7333
[ "Apache-2.0" ]
null
null
null
HomeWorks/Patselia Rostik/2.2.py
Frinney/FamousTeamDream
e0ccaf909ca2701f9fe22ba73b290990554f7333
[ "Apache-2.0" ]
null
null
null
a = "Аббревиатура" b = list(a) del a[0] del a[6] del a[9] a = "".join() print(a)
11.428571
18
0.5625
18
80
2.5
0.555556
0.266667
0
0
0
0
0
0
0
0
0
0.046154
0.1875
80
7
19
11.428571
0.646154
0
0
0
0
0
0.148148
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
2574daafc3ba4928d1aa116922edf17ebfb96939
1,123
py
Python
src/windows/titlebar.py
connectordb/connectordb-laptoplogger
2f51c23465b7be188b7aa4ef9767433cc6a5de00
[ "Apache-2.0" ]
4
2015-12-07T04:49:11.000Z
2016-08-18T21:30:17.000Z
src/windows/titlebar.py
connectordb/connectordb-desktop
2f51c23465b7be188b7aa4ef9767433cc6a5de00
[ "Apache-2.0" ]
5
2017-01-08T22:04:20.000Z
2019-01-31T15:05:55.000Z
src/windows/titlebar.py
connectordb/connectordb-desktop
2f51c23465b7be188b7aa4ef9767433cc6a5de00
[ "Apache-2.0" ]
2
2016-12-04T09:38:26.000Z
2017-01-01T07:53:40.000Z
# This script gathers the active titlebar text on "run" import win32gui # Workaround to get unicode working in both python 2 and 3 try: unicode = unicode except: def unicode(txt, errors="lol"): # This is needed, because binary strings fail checks # of string schema if hasattr(txt, "deco...
26.738095
95
0.636687
130
1,123
5.461538
0.553846
0.050704
0.050704
0.067606
0
0
0
0
0
0
0
0.009756
0.269813
1,123
41
96
27.390244
0.856098
0.206589
0
0.071429
0
0
0.157062
0.025989
0
0
0
0
0
1
0.214286
false
0.071429
0.035714
0.035714
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
2577c7f81726e7180efadc82657f7fbf5b8f3308
228
py
Python
src/magicroot/df/index.py
Daniel-Vital/magicroot
5dba2fa23d8933946af1c2e4244f0e18e455721f
[ "MIT" ]
1
2022-01-10T11:19:40.000Z
2022-01-10T11:19:40.000Z
src/magicroot/df/index.py
Daniel-Vital/magicroot
5dba2fa23d8933946af1c2e4244f0e18e455721f
[ "MIT" ]
25
2022-01-09T20:53:03.000Z
2022-02-12T17:16:24.000Z
src/magicroot/df/index.py
Daniel-Vital/magicroot
5dba2fa23d8933946af1c2e4244f0e18e455721f
[ "MIT" ]
null
null
null
import pandas as pd def fillna(index, level, value): level = 1 # TODO colocar a funcionar para qualquer nivel return pd.MultiIndex.from_tuples([col if col[level] != '' else (value, col[0]) for col in index.values])
25.333333
108
0.692982
36
228
4.361111
0.777778
0
0
0
0
0
0
0
0
0
0
0.010929
0.197368
228
8
109
28.5
0.846995
0.192982
0
0
0
0
0
0
0
0
0
0.125
0
1
0.25
false
0
0.25
0
0.75
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
1
0
0
1
0
0
0
0
0
0
0
3
257959bd735e190072403206d0a4a31381e06542
58
py
Python
src/cobra/apps/share/__init__.py
lyoniionly/django-cobra
2427e5cf74b7739115b1224da3306986b3ee345c
[ "Apache-2.0" ]
1
2015-01-27T08:56:46.000Z
2015-01-27T08:56:46.000Z
src/cobra/apps/share/__init__.py
lyoniionly/django-cobra
2427e5cf74b7739115b1224da3306986b3ee345c
[ "Apache-2.0" ]
null
null
null
src/cobra/apps/share/__init__.py
lyoniionly/django-cobra
2427e5cf74b7739115b1224da3306986b3ee345c
[ "Apache-2.0" ]
null
null
null
default_app_config = 'cobra.apps.share.config.ShareConfig'
58
58
0.844828
8
58
5.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.034483
58
1
58
58
0.839286
0
0
0
0
0
0.59322
0.59322
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
257d55b96e18727f6eec1879a970230196d9042e
5,284
py
Python
python/fp4.py
CryptoMathician/core
c8e8dcf6b8e04b8fcb0288057f46653130e8b7f7
[ "Apache-2.0" ]
2
2021-05-22T06:50:27.000Z
2022-02-12T15:02:37.000Z
python/fp4.py
CryptoMathician/core
c8e8dcf6b8e04b8fcb0288057f46653130e8b7f7
[ "Apache-2.0" ]
null
null
null
python/fp4.py
CryptoMathician/core
c8e8dcf6b8e04b8fcb0288057f46653130e8b7f7
[ "Apache-2.0" ]
1
2021-06-07T13:28:49.000Z
2021-06-07T13:28:49.000Z
# # Copyright (c) 2012-2020 MIRACL UK Ltd. # # This file is part of MIRACL Core # (see https://github.com/miracl/core). # # 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.apac...
27.810526
79
0.587434
788
5,284
3.88198
0.255076
0.060477
0.025499
0.026152
0.414515
0.350441
0.318732
0.279503
0.262504
0.237659
0
0.013657
0.307154
5,284
189
80
27.957672
0.821907
0.402914
0
0.18018
0
0
0.002252
0
0
0
0
0
0
1
0.234234
false
0
0.036036
0.117117
0.513514
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
257ea1d4f23ce6dce797d2a2cc3ed51b57f6fcf0
208
py
Python
test_python_config.py
Krishnaarunangsu/LogBestPracticesPython
15be48ce97e61ebd7e6ec46f3e31f4035c2f9c1c
[ "BSD-2-Clause" ]
null
null
null
test_python_config.py
Krishnaarunangsu/LogBestPracticesPython
15be48ce97e61ebd7e6ec46f3e31f4035c2f9c1c
[ "BSD-2-Clause" ]
null
null
null
test_python_config.py
Krishnaarunangsu/LogBestPracticesPython
15be48ce97e61ebd7e6ec46f3e31f4035c2f9c1c
[ "BSD-2-Clause" ]
null
null
null
# Importing configurations from config.py import config username=config.config['username'] password = config.config['password'] print("Username: {}".format(username)) print("Password: {}".format(password))
23.111111
41
0.754808
23
208
6.826087
0.434783
0.178344
0
0
0
0
0
0
0
0
0
0
0.081731
208
8
42
26
0.82199
0.1875
0
0
0
0
0.239521
0
0
0
0
0
0
1
0
false
0.4
0.2
0
0.2
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
258128f0b40af13909af98cad53cf7c52d4bb7f4
340
py
Python
src/input_object_type/user_input.py
veeqtor/flask-graphql-template
76ee4b3e3aadb43e2938c5b5565b2efffbc410f3
[ "MIT" ]
null
null
null
src/input_object_type/user_input.py
veeqtor/flask-graphql-template
76ee4b3e3aadb43e2938c5b5565b2efffbc410f3
[ "MIT" ]
null
null
null
src/input_object_type/user_input.py
veeqtor/flask-graphql-template
76ee4b3e3aadb43e2938c5b5565b2efffbc410f3
[ "MIT" ]
null
null
null
"""Module for User input""" # system imports import graphene class CreateUserInput(graphene.InputObjectType): """ Input objects """ email = graphene.String(required=True, description="Email") username = graphene.String(required=True, description="Username") password = graphene.String(required=True, descripti...
22.666667
71
0.755882
36
340
7.138889
0.527778
0.163424
0.256809
0.303502
0.431907
0
0
0
0
0
0
0
0.114706
340
14
72
24.285714
0.853821
0.15
0
0
0
0
0.094891
0
0
0
0
0
0
1
0
false
0.2
0.2
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
25882583035802e8ec679a6a091c8b183fb41bb1
439
py
Python
programmers/Level 2/JY_phone_number_list.py
Jiyooung/ALGORITHM
cf9a0a888d1ae22c7719c4574c4c98cad55f883b
[ "MIT" ]
null
null
null
programmers/Level 2/JY_phone_number_list.py
Jiyooung/ALGORITHM
cf9a0a888d1ae22c7719c4574c4c98cad55f883b
[ "MIT" ]
null
null
null
programmers/Level 2/JY_phone_number_list.py
Jiyooung/ALGORITHM
cf9a0a888d1ae22c7719c4574c4c98cad55f883b
[ "MIT" ]
null
null
null
# programmers L2 : 전화번호 목록 # solved by JY # DATE : 2021.02.28 # sort 사용 def solution(phone_book): phone_book.sort() for idx in range(1, len(phone_book)): if len(phone_book[idx-1]) > len(phone_book[idx]): continue if phone_book[idx - 1] == phone_book[idx][:len(phone_book[idx-1])]: ...
24.388889
75
0.610478
65
439
4
0.538462
0.276923
0.230769
0.173077
0.123077
0
0
0
0
0
0
0.110778
0.23918
439
18
76
24.388889
0.667665
0.177677
0
0
0
0
0.067606
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0.111111
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
2594e9098956eb7280284263aa9c2b8f4f5c527c
461
py
Python
featuretools/variable_types/utils.py
ridicolos/featuretools
0af409da206e0b691ec64a3e0e618a43f1701dd9
[ "BSD-3-Clause" ]
942
2020-11-10T02:59:39.000Z
2022-03-31T16:34:33.000Z
featuretools/variable_types/utils.py
167rgc911/featuretools
bbad3f7392b203b7b9c250a93465052e7fc06bbc
[ "BSD-3-Clause" ]
721
2020-11-09T23:12:06.000Z
2022-03-31T22:33:35.000Z
featuretools/variable_types/utils.py
167rgc911/featuretools
bbad3f7392b203b7b9c250a93465052e7fc06bbc
[ "BSD-3-Clause" ]
127
2020-11-10T10:12:30.000Z
2022-03-27T08:55:05.000Z
from warnings import warn from woodwork import list_logical_types def list_variable_types(): """ Retrieves all logical types as a dataframe Args: None Returns: logical_types (pd.DataFrame): a DataFrame with all logical types """ message = 'list_variable_types has been deprec...
24.263158
108
0.72885
57
461
5.701754
0.54386
0.221538
0.147692
0
0
0
0
0
0
0
0
0
0.210412
461
18
109
25.611111
0.892857
0.29718
0
0
0
0
0.315068
0.106164
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
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
25af79de251f3489987258be473849c18b7a645a
109
py
Python
tests/double_generic_func.py
DeCarabas/millie
d2f6afcb3926bcd1672e00581d38aa9476817b0c
[ "MIT" ]
4
2017-07-05T23:49:17.000Z
2019-05-23T02:04:12.000Z
tests/double_generic_func.py
DeCarabas/millie
d2f6afcb3926bcd1672e00581d38aa9476817b0c
[ "MIT" ]
null
null
null
tests/double_generic_func.py
DeCarabas/millie
d2f6afcb3926bcd1672e00581d38aa9476817b0c
[ "MIT" ]
null
null
null
# I can infer the type of another weird function. # # ExpectedType: ( 'A -> ( 'B -> 'B ) ) fn x => fn y => y
21.8
49
0.550459
18
109
3.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.266055
109
4
50
27.25
0.75
0.770642
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
25b1d68089e51b91c25f997a1b5bc806a0ecfe44
1,609
py
Python
runtests.py
paweljasinski/ironclad
c37d08910dfd0cb531668e5218684130eee4e925
[ "PSF-2.0" ]
58
2015-03-02T15:13:45.000Z
2021-07-31T16:10:13.000Z
runtests.py
paweljasinski/ironclad
c37d08910dfd0cb531668e5218684130eee4e925
[ "PSF-2.0" ]
4
2015-01-02T11:45:46.000Z
2022-01-17T14:45:33.000Z
runtests.py
paweljasinski/ironclad
c37d08910dfd0cb531668e5218684130eee4e925
[ "PSF-2.0" ]
11
2015-01-22T11:56:32.000Z
2020-06-02T01:40:58.000Z
import os import unittest import sys from tests.utils.runtest import makesuite, run def GetFailedImportTestSuite(name, e): class FailedImportTest(unittest.TestCase): def testFailedImport(self): raise Exception("could not import %s:\n%s" % (name, e)) return makesuite(FailedImportTest) def...
32.18
94
0.654444
196
1,609
5.30102
0.510204
0.014437
0.055823
0.034649
0
0
0
0
0
0
0
0.008264
0.24798
1,609
49
95
32.836735
0.850413
0.209447
0
0.060606
0
0
0.201427
0
0
0
0
0.020408
0
0
null
null
0
0.333333
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
3
25e97b38174ca19caccbb34270c67da052d977dd
370
py
Python
codigo/Live68/exemplo_1.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
572
2018-04-03T03:17:08.000Z
2022-03-31T19:05:32.000Z
codigo/Live68/exemplo_1.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
176
2018-05-18T15:56:16.000Z
2022-03-28T20:39:07.000Z
codigo/Live68/exemplo_1.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
140
2018-04-18T13:59:11.000Z
2022-03-29T00:43:49.000Z
"""Implementar um Container.""" from collections.abc import Container, Sized, Collection class Caixa(Collection): def __init__(self, seq): self.seq = seq def __contains__(self, outro): return outro in list(self.seq) def __len__(self): return len(self.seq) def __iter__(self): ...
18.5
56
0.637838
45
370
4.888889
0.511111
0.127273
0.090909
0
0
0
0
0
0
0
0
0
0.251351
370
19
57
19.473684
0.794224
0.067568
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.25
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
25f6d6216659d96c758a33a65d3d3e7123c15abf
128
py
Python
settings.py
kevchentw/kkboxChartForSpotify
d0d1a8210efab5fbad5f9eabf6d108a84ec8b285
[ "MIT" ]
2
2017-04-28T01:26:25.000Z
2019-06-05T00:50:36.000Z
settings.py
kevchentw/kkboxChartForSpotify
d0d1a8210efab5fbad5f9eabf6d108a84ec8b285
[ "MIT" ]
null
null
null
settings.py
kevchentw/kkboxChartForSpotify
d0d1a8210efab5fbad5f9eabf6d108a84ec8b285
[ "MIT" ]
null
null
null
settings = {} settings['username'] = "" settings['client_id'] = "" settings['client_secret'] = "" settings['redirect_uri'] = ""
21.333333
30
0.640625
12
128
6.583333
0.583333
0.35443
0
0
0
0
0
0
0
0
0
0
0.117188
128
5
31
25.6
0.699115
0
0
0
0
0
0.328125
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
d3313816af48eb23c451262b314ce1f1d857bf2c
1,531
py
Python
smartlearner/initializers.py
MarcCote/smartlearner
0afdcd3b38dddfee16330b8324eb3b0e224f1c2b
[ "BSD-3-Clause" ]
null
null
null
smartlearner/initializers.py
MarcCote/smartlearner
0afdcd3b38dddfee16330b8324eb3b0e224f1c2b
[ "BSD-3-Clause" ]
null
null
null
smartlearner/initializers.py
MarcCote/smartlearner
0afdcd3b38dddfee16330b8324eb3b0e224f1c2b
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import theano floatX = theano.config.floatX class WeightInitializer: def __init__(self, random_seed=None): self.rng = np.random.mtrand.RandomState(random_seed) def __call__(self, shared_var): dim = shared_var.get_value().shape shared_var.set_value(self._generate_arr...
30.62
111
0.710647
195
1,531
5.348718
0.333333
0.087248
0.092042
0.115053
0.302013
0.252157
0.138063
0.138063
0
0
0
0.003987
0.180928
1,531
49
112
31.244898
0.827751
0
0
0.176471
0
0
0.029393
0
0
0
0
0
0
1
0.264706
false
0
0.058824
0.117647
0.705882
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
d33377b7afdb042cb9be7ab0913ecc47914a9e25
140
py
Python
ex017.py
JoaoCrescioni/Exercicios-curso-em-video-python
5db9c79af4e8894b0ed2cc4d0110cdb10b4a467e
[ "MIT" ]
null
null
null
ex017.py
JoaoCrescioni/Exercicios-curso-em-video-python
5db9c79af4e8894b0ed2cc4d0110cdb10b4a467e
[ "MIT" ]
null
null
null
ex017.py
JoaoCrescioni/Exercicios-curso-em-video-python
5db9c79af4e8894b0ed2cc4d0110cdb10b4a467e
[ "MIT" ]
null
null
null
import math num = float(input('Insira um número real aqui: ')) print('Aqui está o número em sua forma inteira: {}'.format(math.floor(num)))
35
76
0.714286
23
140
4.347826
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.135714
140
3
77
46.666667
0.826446
0
0
0
0
0
0.507143
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
0
1
0
0
0
0
3
d3344ee2dcb2effc475592848addba24f1d2f2cb
30,039
py
Python
tests/test_vapor_pressure.py
CalebBell/chemicals
e3920ae917bf1944946aa95f5461a41bcdba6c63
[ "MIT" ]
76
2020-08-29T07:47:11.000Z
2022-03-27T03:16:46.000Z
tests/test_vapor_pressure.py
CalebBell/chemicals
e3920ae917bf1944946aa95f5461a41bcdba6c63
[ "MIT" ]
20
2020-08-31T04:44:53.000Z
2022-03-25T05:40:07.000Z
tests/test_vapor_pressure.py
CalebBell/chemicals
e3920ae917bf1944946aa95f5461a41bcdba6c63
[ "MIT" ]
13
2020-09-01T04:57:01.000Z
2022-02-23T03:36:58.000Z
# -*- coding: utf-8 -*- """Chemical Engineering Design Library (ChEDL). Utilities for process modeling. Copyright (C) 2016, Caleb Bell <Caleb.Andrew.Bell@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
59.015717
2,916
0.693132
5,094
30,039
3.960542
0.254221
0.033259
0.006691
0.004957
0.422354
0.385279
0.340322
0.318067
0.291152
0.272169
0
0.373042
0.151869
30,039
508
2,917
59.13189
0.41877
0.09218
0
0.190769
0
0
0.004375
0
0
0
0
0
0.375385
1
0.092308
false
0
0.024615
0.003077
0.12
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d33c209f2fae8badb78080b7629b87ade18b0d94
193
py
Python
icbd/compiler/tests/46.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
7
2015-04-06T15:17:13.000Z
2020-10-21T04:57:00.000Z
icbd/compiler/tests/46.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
null
null
null
icbd/compiler/tests/46.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
4
2016-05-16T17:53:08.000Z
2020-11-28T17:18:50.000Z
""" list iterators """ for i in [[1, 2]]: print '' print i def main(): it = [[]].__iter__ print 1 it = it() print 2 print it.next() it = 3 print 3 main()
10.157895
22
0.46114
28
193
3.035714
0.5
0.141176
0
0
0
0
0
0
0
0
0
0.049587
0.373057
193
18
23
10.722222
0.652893
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
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
1
0
0
0
0
0
0
1
0
3
d345c2e0e414f5b59cd930485d93dd979884bcb0
100
py
Python
problem/01000~09999/05666/5666.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/05666/5666.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/05666/5666.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
while 1: try: x,y=map(int,input().split()) print('%.2f'%(x/y)) except: break
20
36
0.47
15
100
3.133333
0.866667
0.085106
0
0
0
0
0
0
0
0
0
0.028571
0.3
100
5
37
20
0.642857
0
0
0
0
0
0.039604
0
0
0
0
0
0
1
0
true
0
0
0
0
0.2
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
d348cb6730a15df6cfc229a67986ecf26a26f63e
68
py
Python
tortoise/backends/aioodbc/__init__.py
reedjosh/tortoise-orm
96ba12c69397ac4b677910659c2e9532de6154b5
[ "Apache-2.0" ]
null
null
null
tortoise/backends/aioodbc/__init__.py
reedjosh/tortoise-orm
96ba12c69397ac4b677910659c2e9532de6154b5
[ "Apache-2.0" ]
null
null
null
tortoise/backends/aioodbc/__init__.py
reedjosh/tortoise-orm
96ba12c69397ac4b677910659c2e9532de6154b5
[ "Apache-2.0" ]
null
null
null
from .client import AioodbcDBClient client_class = AioodbcDBClient
17
35
0.852941
7
68
8.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.117647
68
3
36
22.666667
0.95
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
d39f9d9f0d676ccd594037897dd8844598701b48
3,401
py
Python
src/abaqus/Material/Elastic/HyperElastic/HyperFoam/Hyperfoam.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/Material/Elastic/HyperElastic/HyperFoam/Hyperfoam.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/Material/Elastic/HyperElastic/HyperFoam/Hyperfoam.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
from abaqusConstants import * from ....TestData.BiaxialTestData import BiaxialTestData from ....TestData.PlanarTestData import PlanarTestData from ....TestData.SimpleShearTestData import SimpleShearTestData from ....TestData.UniaxialTestData import UniaxialTestData from ....TestData.VolumetricTestData import Volumetric...
33.019417
109
0.640106
358
3,401
6.078212
0.354749
0.027574
0.04136
0.046875
0.200368
0.125919
0.059743
0
0
0
0
0.002879
0.28521
3,401
102
110
33.343137
0.889757
0.589827
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.111111
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
d3abff73de052a76856bbebdb51a2369049e90ee
437
py
Python
ports/devel/py-llvmlite/dragonfly/patch-ffi_build.py
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
31
2015-02-06T17:06:37.000Z
2022-03-08T19:53:28.000Z
ports/devel/py-llvmlite/dragonfly/patch-ffi_build.py
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
236
2015-06-29T19:51:17.000Z
2021-12-16T22:46:38.000Z
ports/devel/py-llvmlite/dragonfly/patch-ffi_build.py
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
52
2015-02-06T17:05:36.000Z
2021-10-21T12:13:06.000Z
--- ffi/build.py.orig 2018-09-21 19:31:30 UTC +++ ffi/build.py @@ -155,7 +155,7 @@ def main(): main_win32() elif sys.platform.startswith('linux'): main_posix('linux', '.so') - elif sys.platform.startswith(('freebsd','openbsd')): + elif sys.platform.startswith(('freebsd','openbsd', 'dragonfl...
36.416667
70
0.590389
56
437
4.535714
0.517857
0.110236
0.23622
0.295276
0.307087
0.307087
0
0
0
0
0
0.068182
0.194508
437
11
71
39.727273
0.653409
0
0
0
0
0
0.171625
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
6c959fc67d2558f381f9200064b4f404a74bb98b
777
py
Python
python/src/year2020/day06.py
Farbfetzen/Advent_of_Code
246a7db8992bcff19fc0848cc6e5f556ab77cbfc
[ "MIT" ]
4
2021-12-07T14:06:11.000Z
2022-03-05T04:23:11.000Z
python/src/year2020/day06.py
Farbfetzen/Advent_of_Code
246a7db8992bcff19fc0848cc6e5f556ab77cbfc
[ "MIT" ]
6
2021-11-23T20:50:18.000Z
2022-03-06T13:42:21.000Z
python/src/year2020/day06.py
Farbfetzen/Advent_of_Code
246a7db8992bcff19fc0848cc6e5f556ab77cbfc
[ "MIT" ]
5
2021-12-11T23:22:22.000Z
2022-01-25T13:35:02.000Z
# https://adventofcode.com/2020/day/6 from src.util.types import Data, Solution def prepare_data(data: str) -> list[list[set[str]]]: return [[set(person) for person in group.splitlines()] for group in data.split("\n\n")] def part_1(groups): return sum(len(set.union(*group)) for group in groups) def part_...
27.75
91
0.722008
119
777
4.537815
0.344538
0.046296
0.083333
0.066667
0.166667
0.088889
0
0
0
0
0
0.024206
0.149292
777
27
92
28.777778
0.792738
0.045045
0
0
0
0
0.005405
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.1875
0.5625
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
6ca01bb4e324958ac9d772b74c03ac833dc7c5b8
485
py
Python
dnnlib/tflib/__init__.py
xx88xx/stylegan2ky
09cc30662f47a410d1822b16f166d05f85e1ba3c
[ "BSD-Source-Code" ]
4
2020-07-16T00:49:03.000Z
2021-02-23T23:42:02.000Z
dnnlib/tflib/__init__.py
xx88xx/stylegan2ky
09cc30662f47a410d1822b16f166d05f85e1ba3c
[ "BSD-Source-Code" ]
null
null
null
dnnlib/tflib/__init__.py
xx88xx/stylegan2ky
09cc30662f47a410d1822b16f166d05f85e1ba3c
[ "BSD-Source-Code" ]
1
2020-12-09T12:02:04.000Z
2020-12-09T12:02:04.000Z
# Copyright (c) 2019, NVIDIA Corporation. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, visit # https://nvlabs.github.io/stylegan2/license.html from . import autosummary from . import network from . import optimizer from . impor...
25.526316
71
0.748454
68
485
5.294118
0.602941
0.138889
0.094444
0
0
0
0
0
0
0
0
0.01269
0.187629
485
18
72
26.944444
0.901015
0.443299
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
6cbcd59ac1874e19fbc6d55fa6fc55fdec5d1808
165
py
Python
Mundo 1/Exercicios/Desafio010.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
Mundo 1/Exercicios/Desafio010.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
Mundo 1/Exercicios/Desafio010.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
print('Cotação atual US$1 = R$5.05 >>> 07/06/2021') n = float(input('Digite quanto dinheiro você possui: R$')) print('Você pode comprar US${:.2f}'.format(n / 5.05))
41.25
58
0.654545
30
165
3.6
0.766667
0.055556
0
0
0
0
0
0
0
0
0
0.111111
0.127273
165
3
59
55
0.638889
0
0
0
0
0
0.648485
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6cbfb282ccab1ef5f9284f69c815f4b4ba4c5a3b
337
py
Python
tests/test_dlna_device.py
svilborg/samsungtv
007d8cbf4326ae13d74ab138eb77798d11aae108
[ "Apache-2.0" ]
12
2018-05-07T10:27:15.000Z
2021-01-03T23:39:41.000Z
tests/test_dlna_device.py
svilborg/samsungtv
007d8cbf4326ae13d74ab138eb77798d11aae108
[ "Apache-2.0" ]
1
2020-07-12T20:51:51.000Z
2020-07-12T20:51:51.000Z
tests/test_dlna_device.py
svilborg/samsungtv
007d8cbf4326ae13d74ab138eb77798d11aae108
[ "Apache-2.0" ]
2
2019-08-20T00:48:10.000Z
2020-09-20T10:09:17.000Z
from unittest import TestCase from samsungtv.dlna import DlnaDevice class TestDlnaDevice(TestCase): def test_device(self): # d = DlnaDevice("http://192.168.0.100:9197/dmr") self.skipTest("Todo") pass # def test_real(self): # d = DlnaDevice("http://192.168.0.100:9197/dmr") ...
19.823529
57
0.623145
44
337
4.727273
0.590909
0.067308
0.144231
0.182692
0.346154
0.346154
0.346154
0.346154
0.346154
0.346154
0
0.109804
0.243323
337
16
58
21.0625
0.705882
0.391691
0
0
0
0
0.02
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
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
0
0
1
1
0
0
0
0
3
6cdb0a62577aeb16a0bab5ae4af0a46e75e6d755
169
py
Python
src/context_processors.py
GMNaim/Online-Exam-System
ed1e18cf0c0fa7f896bde261988982b49825e61f
[ "MIT" ]
null
null
null
src/context_processors.py
GMNaim/Online-Exam-System
ed1e18cf0c0fa7f896bde261988982b49825e61f
[ "MIT" ]
null
null
null
src/context_processors.py
GMNaim/Online-Exam-System
ed1e18cf0c0fa7f896bde261988982b49825e61f
[ "MIT" ]
null
null
null
from django.conf import settings def template_variables(request): variables = { 'APPLICATION_NAME': settings.APPLICATION_NAME, } return variables
16.9
54
0.710059
17
169
6.882353
0.705882
0.25641
0
0
0
0
0
0
0
0
0
0
0.218935
169
9
55
18.777778
0.886364
0
0
0
0
0
0.094675
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6cee2f73919ce3ff001e21d0f711400e3427ffdc
2,246
py
Python
CODE/web_server/server/pams/migrations/0001_initial.py
andrewbartels1/Marine-Mammal-Acoustics
9f833d97ac26ecd51b4c4e276a815ab9d2b67bb6
[ "MIT" ]
1
2022-03-29T12:24:11.000Z
2022-03-29T12:24:11.000Z
CODE/web_server/server/pams/migrations/0001_initial.py
andrewbartels1/Marine-Mammal-Acoustics
9f833d97ac26ecd51b4c4e276a815ab9d2b67bb6
[ "MIT" ]
null
null
null
CODE/web_server/server/pams/migrations/0001_initial.py
andrewbartels1/Marine-Mammal-Acoustics
9f833d97ac26ecd51b4c4e276a815ab9d2b67bb6
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-11-23 05:35 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AudioClip', fields=[ ('id', models.BigAutoF...
48.826087
117
0.579252
241
2,246
5.273859
0.278008
0.155783
0.22502
0.294256
0.757671
0.685287
0.577498
0
0
0
0
0.014599
0.268032
2,246
45
118
49.911111
0.758516
0.020036
0
0
1
0
0.100045
0
0
0
0
0
0
1
0
false
0
0.026316
0
0.131579
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
6cfdf86ace113e6b02abf68cc78e0b4c0e49cbd3
1,121
py
Python
src/metric/metric.py
liyingben/kaggle-airbus-ship-detection
21d89b2f1273b31a6ffafb4fe5f7e643ffbbc567
[ "MIT" ]
5
2019-03-31T18:55:30.000Z
2020-07-01T11:53:17.000Z
src/metric/metric.py
davidtvs/kaggle-airbus-ship-detection
21d89b2f1273b31a6ffafb4fe5f7e643ffbbc567
[ "MIT" ]
null
null
null
src/metric/metric.py
davidtvs/kaggle-airbus-ship-detection
21d89b2f1273b31a6ffafb4fe5f7e643ffbbc567
[ "MIT" ]
8
2018-12-18T03:57:18.000Z
2021-07-17T10:59:35.000Z
class Metric(object): """Base class for all metrics. From: https://github.com/pytorch/tnt/blob/master/torchnet/meter/meter.py Arguments: name (str): a name for the metric. Default: miou. """ def __init__(self, name): self.name = name def reset(self): pass def add...
22.877551
81
0.579839
154
1,121
4.103896
0.37013
0.139241
0.047468
0.063291
0.208861
0.129747
0.072785
0
0
0
0
0.001272
0.29884
1,121
48
82
23.354167
0.802799
0.213203
0
0.392857
0
0
0.015134
0
0
0
0
0
0
1
0.392857
false
0.107143
0
0.071429
0.607143
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
9f174a3a43478de74e31468a42fd87137a1dea8e
281
py
Python
mmdet/utils/__init__.py
AlexStrongCompute/mmdetection
d7b3a39d47fdfea5cebceb6af3567f2ba3b7b11f
[ "Apache-2.0" ]
null
null
null
mmdet/utils/__init__.py
AlexStrongCompute/mmdetection
d7b3a39d47fdfea5cebceb6af3567f2ba3b7b11f
[ "Apache-2.0" ]
null
null
null
mmdet/utils/__init__.py
AlexStrongCompute/mmdetection
d7b3a39d47fdfea5cebceb6af3567f2ba3b7b11f
[ "Apache-2.0" ]
1
2022-02-10T01:16:28.000Z
2022-02-10T01:16:28.000Z
# Copyright (c) OpenMMLab. All rights reserved. from .collect_env import collect_env from .logger import get_root_logger from .rbbox_visualization import imshow_det_rbboxes __all__ = ['get_model_complexity_info', 'get_root_logger', 'collect_env', 'imshow_det_rbboxes']
35.125
73
0.790036
38
281
5.342105
0.552632
0.147783
0.128079
0
0
0
0
0
0
0
0
0
0.131673
281
7
74
40.142857
0.831967
0.160142
0
0
0
0
0.294872
0.106838
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
9f26beea4f1d4d0d378cab1b91b43939812be36a
641
py
Python
macapype/nodes/tests/test_segment.py
Macatools/macapype
50820e2ab948c91c5362771d51688edd09b72499
[ "BSD-3-Clause" ]
7
2020-07-04T04:04:03.000Z
2022-03-24T14:35:45.000Z
macapype/nodes/tests/test_segment.py
Macatools/macapype
50820e2ab948c91c5362771d51688edd09b72499
[ "BSD-3-Clause" ]
95
2020-01-02T16:41:20.000Z
2021-12-07T15:50:41.000Z
macapype/nodes/tests/test_segment.py
Macatools/macapype
50820e2ab948c91c5362771d51688edd09b72499
[ "BSD-3-Clause" ]
9
2019-11-14T12:46:14.000Z
2022-01-26T09:44:21.000Z
# from .binary_fill_holes import BinaryFillHoles def test_BinaryFillHoles(): """ TODO """ # val = BinaryFillHoles() assert True pass def test_split_indexed_mask(): from macapype.utils.utils_tests import load_test_data, format_template from macapype.nodes.segment import split_indexe...
20.677419
74
0.734789
84
641
5.214286
0.452381
0.047945
0.109589
0
0
0
0
0
0
0
0
0.005769
0.188768
641
30
75
21.366667
0.836538
0.118565
0
0.285714
0
0
0.04562
0
0
0
0
0.033333
0.214286
1
0.214286
false
0.142857
0.142857
0
0.357143
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
9fa2d4e096dea62ebed38c38b1b655edf6825240
3,008
py
Python
tests/locustfile.py
iDataist/Deploying-a-Flask-Machine-Learning-App-to-Azure-App-Services-with-a-CI-CD-Pipeline
adc580eebc0f1064a7b1fb23d150a2c6cd7a71ea
[ "MIT" ]
1
2021-05-11T01:40:45.000Z
2021-05-11T01:40:45.000Z
tests/locustfile.py
iDataist/Deploying-a-Flask-Machine-Learning-App-to-Azure-App-Services-with-a-CI-CD-Pipeline
adc580eebc0f1064a7b1fb23d150a2c6cd7a71ea
[ "MIT" ]
null
null
null
tests/locustfile.py
iDataist/Deploying-a-Flask-Machine-Learning-App-to-Azure-App-Services-with-a-CI-CD-Pipeline
adc580eebc0f1064a7b1fb23d150a2c6cd7a71ea
[ "MIT" ]
null
null
null
import time from locust import HttpUser, between, task class Test(HttpUser): wait_time = between(1, 2) @task def home(self): self.client.get("/") @task def predict(self): self.client.post("/predict", json={ "Time":{ "0":...
28.647619
43
0.243684
152
3,008
4.815789
0.559211
0.043716
0.038251
0
0
0
0
0
0
0
0
0.505088
0.640625
3,008
105
44
28.647619
0.172063
0
0
0.019608
0
0
0.04121
0
0
0
0
0
0
1
0.019608
false
0
0.019608
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9fbe6d9e4621c73f9c8ecfa5caafb35282c985ab
746
py
Python
compiler/lekvar/void_type.py
BenjaminSchaaf/jam
d52c087699c45196459cdb5bf7507f57d3ec6382
[ "MIT" ]
15
2015-04-06T09:29:08.000Z
2021-12-04T22:12:28.000Z
compiler/lekvar/void_type.py
BenjaminSchaaf/jam
d52c087699c45196459cdb5bf7507f57d3ec6382
[ "MIT" ]
66
2015-03-03T03:36:40.000Z
2017-03-15T05:54:11.000Z
compiler/lekvar/void_type.py
BenjaminSchaaf/jam
d52c087699c45196459cdb5bf7507f57d3ec6382
[ "MIT" ]
4
2015-03-06T08:16:25.000Z
2021-12-04T22:12:30.000Z
from ..errors import * from .core import BoundObject, Type from .stats import ScopeStats class VoidType(Type, BoundObject): def __init__(self, name:str = ""): BoundObject.__init__(self, name) def verify(self): self._stats = ScopeStats(self.parent) self.stats.static = True self...
26.642857
66
0.659517
88
746
5.329545
0.511364
0.051173
0.051173
0.110874
0
0
0
0
0
0
0
0
0.237265
746
27
67
27.62963
0.824253
0.036193
0
0
0
0
0.078103
0
0
0
0
0
0
1
0.315789
false
0
0.157895
0.105263
0.631579
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
9fc280ab4b3da4613e02f1e437565da51e626df0
108
py
Python
app/__init__.py
Mearman/machinaris
a5e3565ef1ef3f07877fef05173d66ec33a76048
[ "Apache-2.0" ]
null
null
null
app/__init__.py
Mearman/machinaris
a5e3565ef1ef3f07877fef05173d66ec33a76048
[ "Apache-2.0" ]
null
null
null
app/__init__.py
Mearman/machinaris
a5e3565ef1ef3f07877fef05173d66ec33a76048
[ "Apache-2.0" ]
null
null
null
from flask import Flask app = Flask(__name__) app.secret_key = b'$}#P)eu0A.O,s0Mz' from app import routes
15.428571
36
0.731481
19
108
3.894737
0.684211
0
0
0
0
0
0
0
0
0
0
0.021739
0.148148
108
6
37
18
0.782609
0
0
0
0
0
0.148148
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
9fc7f18dd8fc7715070c69181058325ab67de8af
79
py
Python
src/optim/__init__.py
ngocphucck/IR-pose-classification
f02b09bd8c7a9a1d8d3ae1743d07338a6732f4d9
[ "MIT" ]
null
null
null
src/optim/__init__.py
ngocphucck/IR-pose-classification
f02b09bd8c7a9a1d8d3ae1743d07338a6732f4d9
[ "MIT" ]
null
null
null
src/optim/__init__.py
ngocphucck/IR-pose-classification
f02b09bd8c7a9a1d8d3ae1743d07338a6732f4d9
[ "MIT" ]
null
null
null
from .builder import * __all__ = ['create_optimizer', 'create_lr_scheduler']
15.8
53
0.746835
9
79
5.777778
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.126582
79
4
54
19.75
0.753623
0
0
0
0
0
0.443038
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
4ca646781629819d13b309e4278396a9540f99c7
718
py
Python
tloen/commands/applications.py
josiah-wolf-oberholtzer/tloen
731e57f2a0634d5e472c5878ff5b9cc7b4d84974
[ "MIT" ]
3
2020-02-09T09:29:45.000Z
2021-12-29T01:37:45.000Z
tloen/commands/applications.py
josiah-wolf-oberholtzer/tloen
731e57f2a0634d5e472c5878ff5b9cc7b4d84974
[ "MIT" ]
null
null
null
tloen/commands/applications.py
josiah-wolf-oberholtzer/tloen
731e57f2a0634d5e472c5878ff5b9cc7b4d84974
[ "MIT" ]
1
2020-12-12T22:29:48.000Z
2020-12-12T22:29:48.000Z
import dataclasses from ..bases import Command @dataclasses.dataclass class AddContext(Command): async def do(self, harness): await harness.domain_application.add_context() @dataclasses.dataclass class AddScene(Command): async def do(self, harness): await harness.domain_application.add_scen...
21.117647
54
0.738162
81
718
6.469136
0.320988
0.19084
0.23855
0.162214
0.522901
0.522901
0.522901
0.522901
0.446565
0.446565
0
0
0.169916
718
33
55
21.757576
0.879195
0
0
0.454545
0
0
0
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.318182
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
4ca8c1ff3c619c359040dbd350c4b41e26233794
162
py
Python
02intropython/3_numeri_operatori.py
PythonBiellaGroup/LearningPythonWithGames
4dbcff5b55f7f19d09127c7ef7dd04791d9cad96
[ "MIT" ]
2
2021-03-20T14:54:00.000Z
2021-06-16T19:10:52.000Z
02intropython/3_numeri_operatori.py
PythonBiellaGroup/LearningPythonWithGames
4dbcff5b55f7f19d09127c7ef7dd04791d9cad96
[ "MIT" ]
null
null
null
02intropython/3_numeri_operatori.py
PythonBiellaGroup/LearningPythonWithGames
4dbcff5b55f7f19d09127c7ef7dd04791d9cad96
[ "MIT" ]
null
null
null
# Numeri base = 10 altezza = 20 area_rettangolo = base * altezza area_triangolo = 0.5 * base * altezza print(area_rettangolo) print(area_triangolo) print(22/7)
14.727273
37
0.746914
24
162
4.875
0.541667
0.239316
0
0
0
0
0
0
0
0
0
0.065693
0.154321
162
11
38
14.727273
0.788321
0.037037
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
4cd54e88a43c4c652d7d85585a8ed021b657dd6f
1,032
py
Python
stubs.min/Autodesk/Revit/DB/__init___parts/NumberSystemDisplayRule.py
denfromufa/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2017-07-07T11:15:45.000Z
2017-07-07T11:15:45.000Z
stubs.min/Autodesk/Revit/DB/__init___parts/NumberSystemDisplayRule.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/Autodesk/Revit/DB/__init___parts/NumberSystemDisplayRule.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class NumberSystemDisplayRule(Enum,IComparable,IFormattable,IConvertible): """ The available options for display of numeric values in the number system. enum NumberSystemDisplayRule,values: All (0),Even (2),Odd (1),StartAndEnd (3) """ def __eq__(self,*args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x...
28.666667
215
0.670543
137
1,032
4.357664
0.372263
0.134003
0.140704
0.150754
0.21608
0.21608
0.21608
0.18928
0.18928
0.18928
0
0.004695
0.174419
1,032
35
216
29.485714
0.696009
0.467054
0
0.384615
0
0
0
0
0
0
0
0
0
1
0.384615
false
0.384615
0
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
4ce56ec508157ff75c4bb44626bd825437260782
2,205
py
Python
lc_etl/dataset_definitions/original_dataset_definition.py
thatandromeda/lc_etl
c1896e4b4fa0682ba20dc84611888625f39a376f
[ "CC0-1.0" ]
null
null
null
lc_etl/dataset_definitions/original_dataset_definition.py
thatandromeda/lc_etl
c1896e4b4fa0682ba20dc84611888625f39a376f
[ "CC0-1.0" ]
null
null
null
lc_etl/dataset_definitions/original_dataset_definition.py
thatandromeda/lc_etl
c1896e4b4fa0682ba20dc84611888625f39a376f
[ "CC0-1.0" ]
1
2022-01-28T15:09:42.000Z
2022-01-28T15:09:42.000Z
collections = [ "https://www.loc.gov/collections/abraham-lincoln-papers/", "https://www.loc.gov/collections/slave-narratives-from-the-federal-writers-project-1936-to-1938/" ] date_filtered_collections = [ # supreme court opinions "https://www.loc.gov/collections/united-states-reports/", # this is h...
61.25
148
0.741497
325
2,205
5.024615
0.369231
0.073484
0.127985
0.16289
0.508267
0.444581
0.390692
0.345377
0.325168
0.325168
0
0.054842
0.082086
2,205
35
149
63
0.751976
0.196372
0
0
0
0.458333
0.861678
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4cf2a01015693873d7ca7a5e1fca5d779c081d00
2,909
py
Python
src/models/persona.py
harlericho/api_datospersona
80f2a7ffab746c37f229d8cd74fa889a72dda23c
[ "MIT" ]
null
null
null
src/models/persona.py
harlericho/api_datospersona
80f2a7ffab746c37f229d8cd74fa889a72dda23c
[ "MIT" ]
null
null
null
src/models/persona.py
harlericho/api_datospersona
80f2a7ffab746c37f229d8cd74fa889a72dda23c
[ "MIT" ]
null
null
null
from config.db import cadenaConexion def listadoPersona(): try: db = cadenaConexion() cur = db.cursor() sql ="SELECT * FROM datos" cur.execute(sql) return cur.fetchall() except Exception as e: return e finally: cur.close() db.close() def lista...
24.445378
97
0.545548
331
2,909
4.794562
0.145015
0.028355
0.10775
0.124764
0.764335
0.727158
0.727158
0.68431
0.6339
0.574039
0
0.003094
0.333448
2,909
119
98
24.445378
0.815369
0
0
0.752294
0
0
0.13677
0.012371
0
0
0
0
0
1
0.082569
false
0
0.009174
0
0.256881
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4cfeb202336a2bdb1a55e51eb3b27d16e134b7ff
3,438
py
Python
Experimental/CTypesTests/CTypesStructs_Tibco.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
9
2017-10-05T23:36:23.000Z
2021-08-09T15:40:03.000Z
Experimental/CTypesTests/CTypesStructs_Tibco.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
21
2018-01-02T09:33:03.000Z
2018-08-27T11:09:52.000Z
Experimental/CTypesTests/CTypesStructs_Tibco.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
4
2018-06-23T09:05:45.000Z
2021-01-22T15:36:50.000Z
import ctypes import ctypes_scanner from ctypes_scanner import POINTER_T # C est le hader qui nous interesse, qui contient source et destination. # On ne s interesse pas au contenu. # tibrvlisten -network "190.231.54.20" -service "5420" -daemon "tcp:7500" # C:\>tibrvlisten -service "5420" -network ";190.231.54.20" -d...
19.534091
101
0.650378
306
3,438
7.166667
0.496732
0.038304
0.038304
0.01368
0.055632
0
0
0
0
0
0
0.024476
0.251309
3,438
176
102
19.534091
0.827506
0.875509
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9801353b349792935d8f846969b8cd37e44ff14b
293
py
Python
ex029_multaveloc.py
elisamariacampos/MundoPhyton
f5d0308bd8af059eb36f18acf81b8b729cb8e401
[ "MIT" ]
null
null
null
ex029_multaveloc.py
elisamariacampos/MundoPhyton
f5d0308bd8af059eb36f18acf81b8b729cb8e401
[ "MIT" ]
null
null
null
ex029_multaveloc.py
elisamariacampos/MundoPhyton
f5d0308bd8af059eb36f18acf81b8b729cb8e401
[ "MIT" ]
null
null
null
velocidade = float (input ('Qual a velocidade atual do carro?')) if velocidade > 80: print ('MULTADO! Reduza a velocidade e dirija com segurança!') multa = (velocidade - 80) * 7 print (f'Você deve pagar uma multa de {multa :.2f}') print('Tenha um bom dia e dirija com segurança!')
41.857143
66
0.682594
44
293
4.545455
0.681818
0.11
0.1
0.19
0
0
0
0
0
0
0
0.025641
0.201365
293
6
67
48.833333
0.82906
0
0
0
0
0
0.566553
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
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
e2196edac2b9fc247f5898362a1bd0599358d520
156
py
Python
feedshepherd/__main__.py
CraigKelly/feedshepherd
74d1a3d85ce0465d18365d829db71b63d1e82ee6
[ "MIT" ]
null
null
null
feedshepherd/__main__.py
CraigKelly/feedshepherd
74d1a3d85ce0465d18365d829db71b63d1e82ee6
[ "MIT" ]
null
null
null
feedshepherd/__main__.py
CraigKelly/feedshepherd
74d1a3d85ce0465d18365d829db71b63d1e82ee6
[ "MIT" ]
null
null
null
"""feedshepherd """ def main(): """Actual entrypoint for the package.""" print("No main implemented yet") if __name__ == "__main__": main()
13
44
0.608974
17
156
5.117647
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.217949
156
11
45
14.181818
0.713115
0.301282
0
0
0
0
0.319588
0
0
0
0
0
0
1
0.25
true
0
0
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
e21d87b6b3eb7c2741d2a88a5ea78bf0912c05e2
76
py
Python
api_keys.py
sandykolu/WeatherPy-VacationPy-API-Challenge
b234cca8245f467f9d966cd0ee03c50e39da1ba5
[ "MIT" ]
null
null
null
api_keys.py
sandykolu/WeatherPy-VacationPy-API-Challenge
b234cca8245f467f9d966cd0ee03c50e39da1ba5
[ "MIT" ]
null
null
null
api_keys.py
sandykolu/WeatherPy-VacationPy-API-Challenge
b234cca8245f467f9d966cd0ee03c50e39da1ba5
[ "MIT" ]
null
null
null
# OpenWeatherMap API Key weather_api_key = "" # Google API Key g_key = ""
10.857143
24
0.684211
11
76
4.454545
0.545455
0.367347
0
0
0
0
0
0
0
0
0
0
0.210526
76
6
25
12.666667
0.816667
0.486842
0
0
0
0
0
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
e23156b003c778bed07bedb3dea39031607c8359
993
py
Python
symphony/cli/pyinventory/graphql/property_input.py
bluechipalex/magma
4d380c59f0b90ac0ba428789acfd9b81f92e996b
[ "BSD-3-Clause" ]
null
null
null
symphony/cli/pyinventory/graphql/property_input.py
bluechipalex/magma
4d380c59f0b90ac0ba428789acfd9b81f92e996b
[ "BSD-3-Clause" ]
null
null
null
symphony/cli/pyinventory/graphql/property_input.py
bluechipalex/magma
4d380c59f0b90ac0ba428789acfd9b81f92e996b
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from dataclasses import dataclass from datetime import datetime from functools import partial from gql.gql.datetime_utils import DATETIME_FIELD from numbers import Number from typing import Any, Callable, List, Mapping, Optional from dataclasses_j...
32.032258
57
0.756294
109
993
6.862385
0.46789
0.073529
0.100267
0
0
0
0
0
0
0
0
0.001209
0.16717
993
30
58
33.1
0.903265
0.067472
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.291667
0
0.958333
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
e252aa2c03f40203e01cb79b0a301e4657fa0d60
309
py
Python
advanced_algs/get_median/get_median_test.py
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
advanced_algs/get_median/get_median_test.py
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
advanced_algs/get_median/get_median_test.py
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
import unittest from get_median import get_median class Test_Case_Get_Median(unittest.TestCase): def test_get_median(self): self.assertEqual(get_median([5,6,7,9,1,2,3]), 5) self.assertEqual(get_median([90, 100, 78, 89, 67]), 89) if __name__ == '__main__': unittest.main()
30.9
67
0.673139
47
309
4.06383
0.574468
0.282723
0.188482
0.251309
0
0
0
0
0
0
0
0.084337
0.194175
309
10
68
30.9
0.682731
0
0
0
0
0
0.025806
0
0
0
0
0
0.25
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e25577a25dbd9367670499c27a3a3c4813cd2a2c
197
py
Python
flai/logger.py
deepair-io/flai
edbf74285e24f8605a625edf3a1c73ebae79a6de
[ "Apache-2.0" ]
6
2021-09-20T14:41:31.000Z
2021-12-05T03:56:09.000Z
flai/logger.py
deepair-io/flai
edbf74285e24f8605a625edf3a1c73ebae79a6de
[ "Apache-2.0" ]
null
null
null
flai/logger.py
deepair-io/flai
edbf74285e24f8605a625edf3a1c73ebae79a6de
[ "Apache-2.0" ]
1
2022-02-15T13:27:31.000Z
2022-02-15T13:27:31.000Z
from rich.traceback import install from rich.console import Console # Creating a console for flai console = Console() # Error handeling by rich module install(console=console, show_locals=False)
21.888889
43
0.80203
28
197
5.607143
0.607143
0.101911
0
0
0
0
0
0
0
0
0
0
0.137056
197
8
44
24.625
0.923529
0.294416
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
e28f24b1f9ae6ea4cd7f231d98d6abedde1dfa5f
141
py
Python
fast_plotter/postproc/__init__.py
DBAnthony/fast-plotter
7ef9551b40cfd110902cf16ab14dcf67ac10c23c
[ "Apache-2.0" ]
3
2019-06-12T17:06:07.000Z
2020-11-11T16:51:44.000Z
fast_plotter/postproc/__init__.py
DBAnthony/fast-plotter
7ef9551b40cfd110902cf16ab14dcf67ac10c23c
[ "Apache-2.0" ]
48
2019-05-17T17:14:09.000Z
2019-05-17T21:00:41.000Z
fast_plotter/postproc/__init__.py
benkrikler/fast-plotter-github-test
2f41a8916c25ee8afeb209683c2345d6a15e1d74
[ "Apache-2.0" ]
9
2019-07-24T10:09:27.000Z
2021-06-21T09:41:20.000Z
import logging from .functions import open_many logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) __all__ = ["open_many"]
17.625
36
0.794326
18
141
5.666667
0.666667
0.156863
0
0
0
0
0
0
0
0
0
0
0.106383
141
7
37
20.142857
0.809524
0
0
0
0
0
0.06383
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
e2b67252128ebc641684722a33502dbc5139ce73
1,423
py
Python
graphy/smoothing/utils.py
gianmarcodonetti/graphy
7815f5967861966095a5ceb9663bbedb59cf2edf
[ "MIT" ]
null
null
null
graphy/smoothing/utils.py
gianmarcodonetti/graphy
7815f5967861966095a5ceb9663bbedb59cf2edf
[ "MIT" ]
null
null
null
graphy/smoothing/utils.py
gianmarcodonetti/graphy
7815f5967861966095a5ceb9663bbedb59cf2edf
[ "MIT" ]
null
null
null
from pyspark.sql import Row # Utils functions ============================ # TUPLE def source_getter_tuple(x): return x[0] def source_setter_tuple(tup, s): new_tup = (s,) + tup[1:] return new_tup def target_getter_tuple(x): return x[2] def target_setter_tuple(tup, t): new_tup = tup[:2] + (...
15.988764
68
0.621223
225
1,423
3.702222
0.142222
0.064826
0.057623
0.064826
0.288115
0.154862
0
0
0
0
0
0.007136
0.212228
1,423
88
69
16.170455
0.73595
0.041462
0
0.195652
0
0
0.058867
0
0
0
0
0
0
1
0.391304
false
0
0.021739
0.26087
0.804348
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
e2b885b48087085b363d973c6e4853295e333a64
13,455
py
Python
template_container_human/labels/slice_167.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_167.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_167.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
coordinates_E0E1E1 = ((128, 116), (128, 118), (128, 119), (128, 120), (129, 114), (129, 121), (129, 122), (129, 124), (130, 116), (130, 120), (130, 123), (131, 113), (131, 117), (131, 118), (131, 119), (131, 123), (132, 112), (132, 116), (132, 123), (133, 111), (133, 114), (133, 124), (134, 110), (134, 112), (134, 12...
345
865
0.495058
2,244
13,455
2.962121
0.039661
0.002708
0.002708
0
0
0
0
0
0
0
0
0.580332
0.172427
13,455
38
866
354.078947
0.016614
0
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
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2c4f0ebc78a3acdecd76a6672955ec3136b6fa8d
143
py
Python
Python_Challenge_115/2/3.py
LIkelion-at-KOREATECH/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
28
2019-10-15T13:15:26.000Z
2021-11-08T08:23:45.000Z
Python_Challenge_115/2/3.py
jhleed/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
null
null
null
Python_Challenge_115/2/3.py
jhleed/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
17
2019-09-09T00:15:36.000Z
2021-01-28T13:08:51.000Z
''' Statement Given an integer greater than 9, print its last two digits. Example input 1234 Example output 34 ''' print(int(input()) % 100)
11.916667
59
0.72028
22
143
4.681818
0.863636
0
0
0
0
0
0
0
0
0
0
0.084746
0.174825
143
11
60
13
0.788136
0.755245
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
2c5544b9d44df2901bab97725f43e262acb83d24
245
py
Python
setup.py
rueberger/defez
a3a4b97b98abb4d8f9d4ec82c1119601ebda3411
[ "MIT" ]
null
null
null
setup.py
rueberger/defez
a3a4b97b98abb4d8f9d4ec82c1119601ebda3411
[ "MIT" ]
null
null
null
setup.py
rueberger/defez
a3a4b97b98abb4d8f9d4ec82c1119601ebda3411
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='defez', version='0.1', author='Andrew Berger', author_email='andbberger@gmail.com', url='https://github.com/rueberger/defez', packages=['defez'], install_requires=[])
24.5
47
0.636735
28
245
5.5
0.821429
0
0
0
0
0
0
0
0
0
0
0.010204
0.2
245
9
48
27.222222
0.77551
0
0
0
0
0
0.326531
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2c790bf56e46adee8e48891e34512b0d888035ba
95
py
Python
ceph_installer/cli/constants.py
ceph/ceph-installer
79988577176d6ea628d6c4f50ed3f55831012a34
[ "MIT" ]
16
2016-02-26T01:06:13.000Z
2020-03-04T02:04:35.000Z
ceph_installer/cli/constants.py
ceph/ceph-installer
79988577176d6ea628d6c4f50ed3f55831012a34
[ "MIT" ]
73
2016-02-11T14:56:25.000Z
2021-11-25T02:09:04.000Z
ceph_installer/cli/constants.py
ceph/mariner-installer
79988577176d6ea628d6c4f50ed3f55831012a34
[ "MIT" ]
7
2016-02-12T17:49:02.000Z
2021-01-27T10:49:14.000Z
import os server_address = os.environ.get('CEPH_INSTALLER_ADDRESS', 'http://localhost:8181/')
23.75
83
0.768421
13
95
5.384615
0.846154
0
0
0
0
0
0
0
0
0
0
0.045455
0.073684
95
3
84
31.666667
0.75
0
0
0
0
0
0.463158
0.231579
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
2cb1f1d4f8eca8271a6f7761ba7d7401042ab08d
4,330
py
Python
mooclet_engine/engine/migrations/0001_initial.py
marshallho/mooclet-engine
176c23299df89b624d008dc903646555c0c0cc4e
[ "MIT" ]
5
2018-11-13T22:01:51.000Z
2021-05-29T02:37:20.000Z
mooclet_engine/engine/migrations/0001_initial.py
marshallho/mooclet-engine
176c23299df89b624d008dc903646555c0c0cc4e
[ "MIT" ]
3
2020-02-11T22:44:25.000Z
2021-06-10T17:49:12.000Z
mooclet_engine/engine/migrations/0001_initial.py
marshallho/mooclet-engine
176c23299df89b624d008dc903646555c0c0cc4e
[ "MIT" ]
7
2017-01-19T15:58:25.000Z
2018-11-10T06:47:44.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-02 17:49 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Create...
45.104167
158
0.581524
432
4,330
5.715278
0.171296
0.042122
0.068044
0.106926
0.755367
0.755367
0.697853
0.697853
0.697853
0.697853
0
0.01079
0.272286
4,330
95
159
45.578947
0.772771
0.015242
0
0.609195
1
0
0.100915
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.08046
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e2c3b79d988fe3aff80715b9a8b03f62faef32f6
224
py
Python
utils/api.py
City-of-Helsinki/atv
dca73dab09ab0f3a051a9f691aec5674c6369bde
[ "MIT" ]
null
null
null
utils/api.py
City-of-Helsinki/atv
dca73dab09ab0f3a051a9f691aec5674c6369bde
[ "MIT" ]
34
2021-05-28T06:23:38.000Z
2022-03-08T12:42:01.000Z
utils/api.py
City-of-Helsinki/atv
dca73dab09ab0f3a051a9f691aec5674c6369bde
[ "MIT" ]
1
2021-05-27T10:37:42.000Z
2021-05-27T10:37:42.000Z
from rest_framework.pagination import PageNumberPagination as DRFPageNumberPagination class PageNumberPagination(DRFPageNumberPagination): page_size = 20 page_size_query_param = "page_size" max_page_size = 100
28
85
0.821429
24
224
7.333333
0.666667
0.181818
0
0
0
0
0
0
0
0
0
0.025907
0.138393
224
7
86
32
0.88601
0
0
0
0
0
0.040179
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e2cc0cb10de828fe3e5b628ea1c5b1d7803b5c8c
901
py
Python
sitemap.py
agajo/oogiridojo_app_on_django
2a6d69283d22d929afe39f4164802a565ab6c324
[ "MIT" ]
null
null
null
sitemap.py
agajo/oogiridojo_app_on_django
2a6d69283d22d929afe39f4164802a565ab6c324
[ "MIT" ]
17
2018-04-03T11:26:08.000Z
2018-04-03T11:42:56.000Z
sitemap.py
agajo/oogiridojo_app_on_django
2a6d69283d22d929afe39f4164802a565ab6c324
[ "MIT" ]
null
null
null
from django.contrib.sitemaps import Sitemap from django.urls import reverse from .models import Odai, Article class StaticViewSitemap(Sitemap): def items(self): return['index','recent_answers','recent_tsukkomi_answers','yoi_ranking','great_answers','monkasei_great_ranking','monkasei_yoi_ranking','mypage','...
32.178571
198
0.706992
105
901
5.952381
0.380952
0.048
0.072
0.0912
0.2832
0.1632
0.1632
0.1632
0.1632
0
0
0
0.155383
901
27
199
33.37037
0.821288
0
0
0.217391
0
0
0.238624
0.049945
0
0
0
0
0
1
0.26087
false
0
0.130435
0.26087
0.73913
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
e2f3f3e7f3f24a37a75821c13009dabf2c48f9a7
187
py
Python
memelist.py
mattmarch/memebot
7493fe2380078676ce207f0638f77eff626e09e7
[ "MIT" ]
3
2018-02-16T14:19:46.000Z
2019-02-22T14:41:27.000Z
memelist.py
mattmarch/memebot
7493fe2380078676ce207f0638f77eff626e09e7
[ "MIT" ]
5
2021-03-18T20:25:40.000Z
2022-01-13T00:42:36.000Z
memelist.py
mattmarch/memebot
7493fe2380078676ce207f0638f77eff626e09e7
[ "MIT" ]
3
2018-02-16T14:26:15.000Z
2020-07-13T20:45:08.000Z
from imagedetails import ImageDetails class colours: black = (0, 0, 0) white = (255, 255, 255) meme_images = { 'kitten': ImageDetails('kitten.jpg', (30, 840), (760, 320)) }
18.7
63
0.625668
24
187
4.833333
0.708333
0.034483
0
0
0
0
0
0
0
0
0
0.156463
0.213904
187
9
64
20.777778
0.632653
0
0
0
0
0
0.085562
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
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
e2fd4a4a1048ab92e4d6f597c5a7e371a21398e9
133
py
Python
src/backend/backend/urls.py
tuimac/magic_packet
7b9143a027ee66772a0238aa3bcee53724a6d4df
[ "MIT" ]
null
null
null
src/backend/backend/urls.py
tuimac/magic_packet
7b9143a027ee66772a0238aa3bcee53724a6d4df
[ "MIT" ]
null
null
null
src/backend/backend/urls.py
tuimac/magic_packet
7b9143a027ee66772a0238aa3bcee53724a6d4df
[ "MIT" ]
null
null
null
from django.urls import path, include from . import views urlpatterns = [ path("api/sendpacket", include("sendpacket.urls")), ]
19
55
0.714286
16
133
5.9375
0.625
0
0
0
0
0
0
0
0
0
0
0
0.150376
133
6
56
22.166667
0.840708
0
0
0
0
0
0.218045
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
393642fb743c687686bc591b6d505e03fee905db
3,774
py
Python
ylang/el.py
shawwn/ylang
688f731ecc59bb8cb4e343bd60a3ecc1cdb76787
[ "MIT" ]
null
null
null
ylang/el.py
shawwn/ylang
688f731ecc59bb8cb4e343bd60a3ecc1cdb76787
[ "MIT" ]
null
null
null
ylang/el.py
shawwn/ylang
688f731ecc59bb8cb4e343bd60a3ecc1cdb76787
[ "MIT" ]
null
null
null
from ylang.emacs import * from functools import singledispatch as _singledispatch from functools import wraps as _wraps from functools import partial as _partial from functools import lru_cache as _cache from inspect import unwrap as _unwrap class View: def __init__(self, l, *slices): self.l = l self._slices...
20.736264
67
0.660572
609
3,774
3.973727
0.192118
0.037603
0.018595
0.022314
0.125207
0.104132
0.077686
0.045455
0
0
0
0.012398
0.187864
3,774
181
68
20.850829
0.777162
0
0
0.090909
0
0
0.036566
0
0
0
0
0
0
1
0.27972
false
0
0.041958
0.223776
0.566434
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
3940de345c7767dfa03b96c17736ba6707a3dffb
113
py
Python
Beginner/AGE_Checker.py
man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019
8ca1a8bf95ee98d303d3a909c448288fa5992210
[ "Apache-2.0" ]
22
2019-10-02T16:48:10.000Z
2020-11-14T23:28:41.000Z
Beginner/AGE_Checker.py
man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019
8ca1a8bf95ee98d303d3a909c448288fa5992210
[ "Apache-2.0" ]
46
2019-10-01T03:53:30.000Z
2020-10-20T16:34:37.000Z
Beginner/AGE_Checker.py
man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019
8ca1a8bf95ee98d303d3a909c448288fa5992210
[ "Apache-2.0" ]
415
2019-10-01T03:48:22.000Z
2021-02-27T04:57:28.000Z
age = int(input()) if age<10: print('child') elif 10 < age <= 18: print('teen') else: print('adult')
14.125
20
0.548673
17
113
3.647059
0.705882
0
0
0
0
0
0
0
0
0
0
0.069767
0.238938
113
7
21
16.142857
0.651163
0
0
0
0
0
0.123894
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
39489f1698f84d59d20e839927d50fc0f444b47a
216
py
Python
ssc2ce/coinbase_pro/l2_book.py
fakecoinbase/olnedslashssc2ce-python
2cf576471fe4ba1170f2ba85b09e85ba3ee47474
[ "MIT" ]
4
2020-06-23T13:04:11.000Z
2021-09-03T10:40:13.000Z
ssc2ce/coinbase_pro/l2_book.py
fakecoinbase/olnedslashssc2ce-python
2cf576471fe4ba1170f2ba85b09e85ba3ee47474
[ "MIT" ]
6
2020-06-01T13:20:37.000Z
2020-09-18T19:09:36.000Z
ssc2ce/coinbase_pro/l2_book.py
fakecoinbase/olnedslashssc2ce-python
2cf576471fe4ba1170f2ba85b09e85ba3ee47474
[ "MIT" ]
3
2019-05-24T16:35:30.000Z
2021-10-06T21:21:02.000Z
from ssc2ce.common.l2_book import L2Book class CoinbaseL2Book(L2Book): def __init__(self, instrument: str): L2Book.__init__(self, instrument) self.change_id = None self.timestamp = None
24
41
0.694444
26
216
5.384615
0.692308
0.114286
0.257143
0
0
0
0
0
0
0
0
0.035714
0.222222
216
8
42
27
0.797619
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
3949a43e8c1652fe80bd8f4a15a43327d493ccfd
168
py
Python
vizdoomgymmaze/envs/vizdoommazefour11.py
WangChen100/vizdoomgymmaze
51f750405a762e3f19193c09ef34380786c11efe
[ "MIT" ]
6
2019-08-22T09:19:24.000Z
2020-11-21T03:29:39.000Z
vizdoomgymmaze/envs/vizdoommazefour11.py
BillOmg/vizdoomgymmaze
51f750405a762e3f19193c09ef34380786c11efe
[ "MIT" ]
2
2019-08-10T06:50:02.000Z
2021-11-30T13:57:41.000Z
vizdoomgymmaze/envs/vizdoommazefour11.py
BillOmg/vizdoomgymmaze
51f750405a762e3f19193c09ef34380786c11efe
[ "MIT" ]
6
2019-08-23T13:17:05.000Z
2021-06-18T20:24:53.000Z
from vizdoomgymmaze.envs.vizdoomenv import VizdoomEnv class VizdoomMazeFour11(VizdoomEnv): def __init__(self): super(VizdoomMazeFour11, self).__init__(84)
28
53
0.779762
17
168
7.235294
0.705882
0
0
0
0
0
0
0
0
0
0
0.041379
0.136905
168
6
54
28
0.806897
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
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
395278af7129398d9b9947f9383d12cf2aa63ddb
21,300
py
Python
proxypool/crawler.py
Joey0326/Proxypool
6bf40ae4e069adaee9c561b43fd237b974a18f6b
[ "Apache-2.0" ]
null
null
null
proxypool/crawler.py
Joey0326/Proxypool
6bf40ae4e069adaee9c561b43fd237b974a18f6b
[ "Apache-2.0" ]
null
null
null
proxypool/crawler.py
Joey0326/Proxypool
6bf40ae4e069adaee9c561b43fd237b974a18f6b
[ "Apache-2.0" ]
null
null
null
import json import re #from .utils import get_page from pyquery import PyQuery as pq import time import requests from requests.exceptions import ConnectionError class ProxyMetaclass(type): def __new__(cls, name, bases, attrs): count = 0 attrs['__CrawlFunc__'] = [] for k, v in attrs.items():...
44.842105
376
0.531878
2,495
21,300
4.442485
0.11984
0.007218
0.005413
0.01624
0.772645
0.736557
0.704529
0.685493
0.669524
0.654908
0
0.097593
0.315446
21,300
474
377
44.936709
0.662575
0.073897
0
0.667665
0
0.08982
0.357474
0.126583
0
0
0
0
0
1
0.038922
false
0
0.017964
0
0.068862
0.08982
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
1a34eb59c77f0eab3a70456f117958f215eb9a02
1,349
py
Python
scraper/storage_spiders/shopphuongnguyencom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
null
null
null
scraper/storage_spiders/shopphuongnguyencom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
10
2020-02-11T23:34:28.000Z
2022-03-11T23:16:12.000Z
scraper/storage_spiders/shopphuongnguyencom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
3
2018-08-05T14:54:25.000Z
2021-06-07T01:49:59.000Z
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@class='row product-content-columns']/div[@class='col-sm-7 col-lg-5 product_page-right']/div[@class='general_info product-info']/h1[...
49.962963
177
0.661972
177
1,349
4.949153
0.451977
0.109589
0.050228
0.044521
0.294521
0.294521
0.294521
0.238584
0.238584
0.238584
0
0.007414
0.100074
1,349
26
178
51.884615
0.714168
0.088955
0
0
1
0.173913
0.647635
0.463295
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a49ba5db1b3f1a3780250639515fd385d2cda86
1,149
py
Python
app/main/datadef.py
turpenar/dion2
41e951b8b512a1920519b105527bdcbd24c7e99a
[ "0BSD" ]
null
null
null
app/main/datadef.py
turpenar/dion2
41e951b8b512a1920519b105527bdcbd24c7e99a
[ "0BSD" ]
null
null
null
app/main/datadef.py
turpenar/dion2
41e951b8b512a1920519b105527bdcbd24c7e99a
[ "0BSD" ]
null
null
null
from flask_login import UserMixin from werkzeug.security import check_password_hash, generate_password_hash from app import db class User(UserMixin, db.Model): """""" __tablename__ = "users" __table_args__ = {'extend_existing': True} id = db.Column(db.Integer, primary_key=True) username = db....
28.725
73
0.651001
133
1,149
5.330827
0.360902
0.090268
0.112835
0.141044
0.273625
0.110014
0.110014
0.110014
0
0
0
0.009112
0.235857
1,149
40
74
28.725
0.798405
0.040035
0
0.148148
1
0
0.040478
0
0
0
0
0
0
1
0.185185
false
0.259259
0.111111
0.074074
0.814815
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
0
1
0
0
1
0
0
3
1a56ed85b95d2480b32f7aeadbbf759ac78cedd3
11,819
py
Python
plugins/costume_loader_pkg/backend/attribute.py
AathmanT/qhana-plugin-runner
206f9fa646e5b47bacf95a3b9be7e2b72576c9f1
[ "Apache-2.0" ]
null
null
null
plugins/costume_loader_pkg/backend/attribute.py
AathmanT/qhana-plugin-runner
206f9fa646e5b47bacf95a3b9be7e2b72576c9f1
[ "Apache-2.0" ]
1
2021-09-02T07:56:23.000Z
2021-09-03T11:46:41.000Z
plugins/costume_loader_pkg/backend/attribute.py
AathmanT/qhana-plugin-runner
206f9fa646e5b47bacf95a3b9be7e2b72576c9f1
[ "Apache-2.0" ]
2
2021-10-12T13:50:57.000Z
2022-03-27T12:12:23.000Z
import enum import logging from typing import Any, Optional from plugins.costume_loader_pkg.backend.taxonomy import Taxonomy, TaxonomyType """ This class is an enum for all attributes. An attribute is a special property that is used to describe one characteristic of an entity. For example, a costume has the attribute ...
40.476027
90
0.640663
945
11,819
8.006349
0.154497
0.242665
0.287867
0.019033
0.697595
0.485197
0.156093
0.156093
0.141686
0.127941
0
0
0.289365
11,819
291
91
40.61512
0.900822
0.025214
0
0.449735
0
0
0.123353
0.006651
0
0
0
0
0
1
0.010582
false
0
0.021164
0
0.57672
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1a5f54210e23b0f55c94a73079b4becf21ef1fbe
81
py
Python
settings.py
Property404/ssanta
c37e805ebda1a91d0f3b7e6274e3000b2a4e7de9
[ "Unlicense" ]
null
null
null
settings.py
Property404/ssanta
c37e805ebda1a91d0f3b7e6274e3000b2a4e7de9
[ "Unlicense" ]
null
null
null
settings.py
Property404/ssanta
c37e805ebda1a91d0f3b7e6274e3000b2a4e7de9
[ "Unlicense" ]
null
null
null
subject = "Secret Santa Assignment" body = "Your assigned gift-receiver is $kid!"
40.5
45
0.753086
11
81
5.545455
1
0
0
0
0
0
0
0
0
0
0
0
0.135802
81
2
45
40.5
0.871429
0
0
0
0
0
0.719512
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1aabd9a1358e754341c029826f97ca6000f2f986
160
py
Python
solutionPY/team.py
RuwaidMuntajim/CodeForces
4e3990b99b6a01261a42f793b174882bab460471
[ "MIT" ]
null
null
null
solutionPY/team.py
RuwaidMuntajim/CodeForces
4e3990b99b6a01261a42f793b174882bab460471
[ "MIT" ]
null
null
null
solutionPY/team.py
RuwaidMuntajim/CodeForces
4e3990b99b6a01261a42f793b174882bab460471
[ "MIT" ]
null
null
null
n = int(input("")) i = 1 l = 0 while i <= n and l != -1: a, b, c = map(int, input().split()) if a + b + c >= 2: l += 1 i += 1 print(int(l))
16
39
0.39375
32
160
1.96875
0.53125
0.253968
0.095238
0
0
0
0
0
0
0
0
0.058824
0.3625
160
9
40
17.777778
0.558824
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
1
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
46c0c4177876609a158a47b11dd423aadcd7e268
182
py
Python
text_tokenizer.py
stefanik12/Word2Bits
4546ead04eff1dec5b4ae909426933623ce1d8ff
[ "Apache-2.0" ]
null
null
null
text_tokenizer.py
stefanik12/Word2Bits
4546ead04eff1dec5b4ae909426933623ce1d8ff
[ "Apache-2.0" ]
null
null
null
text_tokenizer.py
stefanik12/Word2Bits
4546ead04eff1dec5b4ae909426933623ce1d8ff
[ "Apache-2.0" ]
null
null
null
import nltk from nltk.tokenize import word_tokenize text_f = "text8" text = open(text_f).read() for w_tup in nltk.pos_tag(word_tokenize(text)): print("%s_%s" % w_tup, end=' ')
20.222222
47
0.703297
32
182
3.75
0.59375
0.2
0.266667
0
0
0
0
0
0
0
0
0.006452
0.148352
182
8
48
22.75
0.767742
0
0
0
0
0
0.06044
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
1
0
0
0
0
3
46d7889f16929a6f67a4d85b622828a79e2398ce
571
py
Python
back/api/__init__.py
jamalg/my_shops
ccba408aae3b7270ace57c608599a194fa9fe4c8
[ "MIT" ]
null
null
null
back/api/__init__.py
jamalg/my_shops
ccba408aae3b7270ace57c608599a194fa9fe4c8
[ "MIT" ]
null
null
null
back/api/__init__.py
jamalg/my_shops
ccba408aae3b7270ace57c608599a194fa9fe4c8
[ "MIT" ]
null
null
null
from flask import Flask from back.api.auth import bp as auth_bp, login_manager from back.api.me import bp as me_bp from back.api.status import bp as status_bp from back.api.user import bp as user_bp from back.api.photo import bp as photo_bp from back.api.place import bp as place_bp def init_app(app: Flask) -> None: ...
28.55
54
0.781086
101
571
4.19802
0.207921
0.113208
0.15566
0.259434
0
0
0
0
0
0
0
0
0.148862
571
19
55
30.052632
0.872428
0
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.466667
0
0.533333
0.4
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
46d8642a63d63c5956bf3fe7160c8c8c79f29423
539
py
Python
attacks/romulus/runners/cw_arm.py
kudelskisecurity/nist-lwc-power-analysis
6bc4573aacae1ab86c9b769792be5c1c86e7e144
[ "MIT" ]
null
null
null
attacks/romulus/runners/cw_arm.py
kudelskisecurity/nist-lwc-power-analysis
6bc4573aacae1ab86c9b769792be5c1c86e7e144
[ "MIT" ]
null
null
null
attacks/romulus/runners/cw_arm.py
kudelskisecurity/nist-lwc-power-analysis
6bc4573aacae1ab86c9b769792be5c1c86e7e144
[ "MIT" ]
null
null
null
import chipwhisperer as cw import numpy as np from runners.cw_basic import WrappedChipWhisperer wrap = WrappedChipWhisperer( alg='romulusn', platform='CWLITEARM', target_type=cw.targets.SimpleSerial, prog=cw.programmers.STM32FProgrammer) def reset_target(scope): return wrap.reset_target() def ...
23.434783
85
0.758813
72
539
5.513889
0.597222
0.075567
0.080605
0.085642
0.120907
0
0
0
0
0
0
0.008658
0.142857
539
22
86
24.5
0.850649
0
0
0
0
0
0.03154
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0.214286
0.642857
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
46da4df4a8afdd3ccef1d2323538367b2dc0c754
314
py
Python
test_root/tests/test_actions.py
ModusCreateOrg/python-automation-boilerplate
b0d068f1419f0a2cee0cb19f23922a65fac60ea4
[ "MIT" ]
21
2019-01-14T18:10:03.000Z
2022-03-11T06:37:40.000Z
test_root/tests/test_actions.py
ModusCreateOrg/python-automation-boilerplate
b0d068f1419f0a2cee0cb19f23922a65fac60ea4
[ "MIT" ]
null
null
null
test_root/tests/test_actions.py
ModusCreateOrg/python-automation-boilerplate
b0d068f1419f0a2cee0cb19f23922a65fac60ea4
[ "MIT" ]
10
2018-12-16T02:47:15.000Z
2021-10-15T09:56:11.000Z
from pytest_bdd import when, parsers from page_objects.home_page import HomePage @when(parsers.re("I click the <(?P<button_type>.*)> button"), converters=dict(button_type=str)) def click_password_button(selenium, base_url, button_type): HomePage(selenium, base_url).click_button('_%s_button' % button_type)
34.888889
95
0.780255
47
314
4.914894
0.553191
0.17316
0.12987
0
0
0
0
0
0
0
0
0
0.095541
314
8
96
39.25
0.81338
0
0
0
0
0
0.159236
0.066879
0
0
0
0
0
1
0.2
false
0.2
0.4
0
0.6
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
1
1
0
0
0
0
3
46e78bd09283bc7f6ddd38fc6ca18ebd31cac3f7
1,812
py
Python
renamer.py
Umass-ITS/Open3D-PointNet2-Semantic3D
0254926f62cbca695aa1e76a18fec0863be5e455
[ "MIT" ]
330
2019-04-10T21:31:24.000Z
2021-07-26T06:16:17.000Z
renamer.py
largeword/Open3D-PointNet2-Semantic3D
3a9751dc724877933fc883320100796cef23489d
[ "MIT" ]
44
2019-04-10T15:28:36.000Z
2021-06-22T17:39:05.000Z
renamer.py
largeword/Open3D-PointNet2-Semantic3D
3a9751dc724877933fc883320100796cef23489d
[ "MIT" ]
78
2019-04-08T09:39:29.000Z
2021-06-08T02:39:14.000Z
""" Rename the prediction label files for submission """ import os import glob conversion_dict = { "birdfountain_station1_xyz_intensity_rgb.labels": "birdfountain1.labels", "castleblatten_station1_intensity_rgb.labels": "castleblatten1.labels", "castleblatten_station5_xyz_intensity_rgb.labels": "castlebl...
45.3
90
0.75
214
1,812
5.939252
0.345794
0.141621
0.212431
0.069237
0.086546
0.040913
0.040913
0
0
0
0
0.037227
0.140177
1,812
39
91
46.461538
0.778562
0.071744
0
0
0
0
0.605137
0.501792
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2003967e2d315918ad58f4d9aac1535cb4ec0a2e
424
py
Python
python3/binary_tree_preorder_traversal.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
1
2020-10-08T09:17:40.000Z
2020-10-08T09:17:40.000Z
python3/binary_tree_preorder_traversal.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
null
null
null
python3/binary_tree_preorder_traversal.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
null
null
null
from .model import TreeNode """ Space : O(1) Time : O(n) """ class Solution: def getPreorder(self, root: TreeNode) -> List[int]: res = [] if root: res.append(root.val) res += self.getPreorder(root.left) res += self.getPreorder(root.right) return r...
20.190476
61
0.568396
49
424
4.918367
0.510204
0.186722
0.236515
0.165975
0.190871
0
0
0
0
0
0
0.003378
0.301887
424
20
62
21.2
0.810811
0
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.090909
0.545455
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
20096431c62da9949a77e62977e761b74ef4fe00
1,317
py
Python
depth/activations.py
diwasblack/depth
e610b91fb4d53c21a29fa40786dcf2caaded2b18
[ "MIT" ]
null
null
null
depth/activations.py
diwasblack/depth
e610b91fb4d53c21a29fa40786dcf2caaded2b18
[ "MIT" ]
null
null
null
depth/activations.py
diwasblack/depth
e610b91fb4d53c21a29fa40786dcf2caaded2b18
[ "MIT" ]
null
null
null
import numpy as np def sigmoid_function(x): return 1.0 / (1.0 + np.exp(-x)) def sigmoid_function_derivative(x): return x * (1.0 - x) def bipolar_sigmoid_function(x): return 2.0 / (1.0 + np.exp(-x)) - 1.0 def bipolar_sigmoid_function_derivative(x): return (1.0 - np.square(x)) / 2.0 def hyperbol...
17.797297
52
0.633257
203
1,317
3.945813
0.20197
0.078652
0.019975
0.064919
0.485643
0.382022
0.359551
0.359551
0.114856
0.114856
0
0.035035
0.241458
1,317
73
53
18.041096
0.766767
0.139711
0
0.176471
0
0
0
0
0
0
0
0
0
1
0.382353
false
0
0.029412
0.235294
0.794118
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
200ef1dbe4a43f24a31ce9058635de0aece7e7e7
134
py
Python
tests/lists/reduce.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
124
2017-08-19T05:37:16.000Z
2022-03-08T18:24:18.000Z
tests/lists/reduce.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
15
2017-12-16T05:59:31.000Z
2022-02-08T02:51:17.000Z
tests/lists/reduce.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
18
2017-09-25T11:57:04.000Z
2022-02-19T17:33:48.000Z
from functools import reduce def foo(x,y): return x*y y = [1,2,3,4,5] z = reduce(foo,y,10) print(z) z = reduce(foo,y) print(z)
11.166667
28
0.619403
30
134
2.766667
0.566667
0.048193
0.240964
0.26506
0
0
0
0
0
0
0
0.064815
0.19403
134
11
29
12.181818
0.703704
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
0.25
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
200fba63d23a552043580d5581b469cfcc2423f1
198
py
Python
imageShare/imagesApp/apps.py
ALittleMoron/django_imageShare
5f828de4e3665c834d72d1072ffe85aa8bb6669f
[ "Unlicense" ]
null
null
null
imageShare/imagesApp/apps.py
ALittleMoron/django_imageShare
5f828de4e3665c834d72d1072ffe85aa8bb6669f
[ "Unlicense" ]
null
null
null
imageShare/imagesApp/apps.py
ALittleMoron/django_imageShare
5f828de4e3665c834d72d1072ffe85aa8bb6669f
[ "Unlicense" ]
null
null
null
from django.apps import AppConfig class ImagesappConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'imagesApp' verbose_name = 'Приложение с изображениями'
24.75
56
0.762626
22
198
6.727273
0.863636
0
0
0
0
0
0
0
0
0
0
0
0.156566
198
7
57
28.285714
0.886228
0
0
0
0
0
0.323232
0.146465
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2019d8ddc394dab787b68d4d826f26707cb8ad1a
416
py
Python
Algorithms/rotateImage.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
2
2020-06-25T21:10:32.000Z
2020-12-10T06:53:45.000Z
Algorithms/rotateImage.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
null
null
null
Algorithms/rotateImage.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
3
2020-05-15T14:17:09.000Z
2021-07-25T13:18:20.000Z
N = int(input()) matrix = [] for i in range(N): matrix.append(list(map(int, input().split()))) for i in range(N): for j in range(N): if i < j : matrix[i][j],matrix[j][i] = matrix[j][i],matrix[i][j] for i in range(N): for j in range(N//2): matrix[i][j],mat...
23.111111
69
0.490385
76
416
2.684211
0.223684
0.240196
0.235294
0.215686
0.534314
0.47549
0.47549
0.47549
0.235294
0.235294
0
0.010239
0.295673
416
18
70
23.111111
0.686007
0
0
0.307692
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
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
2022411f9200cb68c59c656956d4eacfa5e8e24d
2,281
py
Python
colossalai/nn/parallel/layers/colo_module.py
hpcaitech/ColossalAI
bcab249565aabfeda19c914673e26c8f361522b3
[ "Apache-2.0" ]
1,630
2021-10-30T01:00:27.000Z
2022-03-31T23:02:41.000Z
colossalai/nn/parallel/layers/colo_module.py
hpcaitech/ColossalAI
bcab249565aabfeda19c914673e26c8f361522b3
[ "Apache-2.0" ]
166
2021-10-30T01:03:01.000Z
2022-03-31T14:19:07.000Z
colossalai/nn/parallel/layers/colo_module.py
hpcaitech/ColossalAI
bcab249565aabfeda19c914673e26c8f361522b3
[ "Apache-2.0" ]
253
2021-10-30T06:10:29.000Z
2022-03-31T13:30:06.000Z
from colossalai.tensor.distspec import _DistSpec from colossalai.tensor import ComputePattern from typing import List, Dict class ColoModule(object): def __init__(self): self._shard_params: List[str] = [] # Example: # {ComputePattern.TP1D: # 'default': # 'weight': ...
40.017544
115
0.665059
246
2,281
5.800813
0.227642
0.225648
0.146461
0.12754
0.388928
0.264191
0.128942
0.071479
0
0
0
0.000581
0.245945
2,281
56
116
40.732143
0.82907
0.071898
0
0
0
0
0.034663
0
0
0
0
0
0.088235
1
0.294118
false
0
0.088235
0.088235
0.558824
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
202d20f25428f3aa2eaf2819b1cc5e32ab9adb2f
126
py
Python
util.py
joeatbayes/StockCSVAndSMAPerformanceComparison
9a4989e640a367de84896c0ba10f65494d1be9ab
[ "MIT" ]
6
2017-05-14T18:38:16.000Z
2019-04-07T04:52:09.000Z
util.py
joeatbayes/StockCSVAndSMAPerformanceComparison
9a4989e640a367de84896c0ba10f65494d1be9ab
[ "MIT" ]
1
2018-10-14T06:39:09.000Z
2018-11-09T12:48:40.000Z
util.py
joeatbayes/StockCSVAndSMAPerformanceComparison
9a4989e640a367de84896c0ba10f65494d1be9ab
[ "MIT" ]
null
null
null
import time def curr_ms(): return time.time() * 1000.0 def elap(msg, start, end): print "\n",msg, " elap=", end - start
15.75
39
0.619048
21
126
3.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.049505
0.198413
126
7
40
18
0.712871
0
0
0
0
0
0.063492
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
6449f81c167c16561d987c95cdd0df597e2e0425
109
py
Python
6-collections/map.py
elbeg/introduction-to-python
c8a88b1c83c573f623b81fbdb4324aefa9bfbb50
[ "BSD-2-Clause" ]
5
2015-09-22T19:38:06.000Z
2017-04-27T13:14:00.000Z
6-collections/map.py
elbeg/introduction-to-python
c8a88b1c83c573f623b81fbdb4324aefa9bfbb50
[ "BSD-2-Clause" ]
3
2015-12-14T16:27:54.000Z
2018-03-08T16:28:30.000Z
6-collections/map.py
elbeg/introduction-to-python
c8a88b1c83c573f623b81fbdb4324aefa9bfbb50
[ "BSD-2-Clause" ]
11
2015-09-30T15:24:00.000Z
2018-07-12T15:15:44.000Z
def sweet(x): return (x*2)**2 for n in range(5): print(sweet(n)) print(list(map(sweet, range(5))))
13.625
33
0.587156
21
109
3.047619
0.619048
0.1875
0
0
0
0
0
0
0
0
0
0.045455
0.192661
109
7
34
15.571429
0.681818
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
645ed9063a76613d4cec7226b68adf8ef064ac0d
633
py
Python
src/problems/linked_lists/linked_list_reversal.py
E1mir/PySandbox
44b39b98a41add433f0815cd3cde4d7554629eea
[ "MIT" ]
null
null
null
src/problems/linked_lists/linked_list_reversal.py
E1mir/PySandbox
44b39b98a41add433f0815cd3cde4d7554629eea
[ "MIT" ]
null
null
null
src/problems/linked_lists/linked_list_reversal.py
E1mir/PySandbox
44b39b98a41add433f0815cd3cde4d7554629eea
[ "MIT" ]
null
null
null
class Node(object): def __init__(self, value): self.value = value self.next_node = None def reverse_linked_list(head): current = head prev_node = None while current: next_node = current.next_node current.next_node = prev_node prev_node = current curr...
15.439024
37
0.666667
103
633
3.84466
0.252427
0.282828
0.19697
0.181818
0.371212
0.371212
0.257576
0.257576
0
0
0
0.00818
0.227488
633
40
38
15.825
0.801636
0
0
0.148148
0
0
0
0
0
0
0
0
0
1
0.074074
false
0
0
0
0.148148
0.222222
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
6480339ac328760f4a149f1f4cf06dff09898de1
157
py
Python
setup.py
jerrylee1697/ZotClicker
d28c8303200822afb5a52bc295428666422dc4c5
[ "Apache-2.0" ]
null
null
null
setup.py
jerrylee1697/ZotClicker
d28c8303200822afb5a52bc295428666422dc4c5
[ "Apache-2.0" ]
null
null
null
setup.py
jerrylee1697/ZotClicker
d28c8303200822afb5a52bc295428666422dc4c5
[ "Apache-2.0" ]
null
null
null
from cx_Freeze import setup, Executable setup(name='ZotClicker', version='0.1', description='Bust a Zot', executables = [Executable("ZotClicker.py")])
26.166667
46
0.726115
20
157
5.65
0.85
0
0
0
0
0
0
0
0
0
0
0.014493
0.121019
157
6
46
26.166667
0.804348
0
0
0
0
0
0.227848
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3