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
758cb2df05a6bf87b7fc947473b02dab02865791
19,044
py
Python
benchmark/bench_dd.py
Watch-Later/recipes
b9b67c9b05857c2f5a47d91bbc8be93d123e1cbc
[ "BSD-3-Clause" ]
1,418
2015-01-07T09:40:09.000Z
2022-03-29T08:37:02.000Z
benchmark/bench_dd.py
Watch-Later/recipes
b9b67c9b05857c2f5a47d91bbc8be93d123e1cbc
[ "BSD-3-Clause" ]
22
2015-02-17T17:31:18.000Z
2022-02-08T07:00:29.000Z
benchmark/bench_dd.py
Watch-Later/recipes
b9b67c9b05857c2f5a47d91bbc8be93d123e1cbc
[ "BSD-3-Clause" ]
854
2015-01-03T11:56:10.000Z
2022-03-31T08:50:28.000Z
#!/usr/bin/python3 import re, subprocess bs = 1 count = 1024 * 1024 while bs <= 1024 * 1024 * 8: args = ['dd', 'if=/dev/zero', 'of=/dev/null', 'bs=%d' % bs, 'count=%d' % count] result = subprocess.run(args, capture_output=True) seconds = 0 message = str(result.stderr) if m := re.search('copied, (....
56.343195
84
0.659
3,446
19,044
3.634068
0.311666
0.060848
0.049828
0.009662
0.375948
0.3262
0.056696
0.039687
0.031702
0.028587
0
0.440597
0.222117
19,044
337
85
56.510386
0.404752
0.000893
0
0.037855
0
0.003155
0.968622
0.01356
0
0
0
0
0
1
0
false
0
0.003155
0
0.003155
0.006309
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
759f5bebf603d30174739ec24720c40ab295f5ae
2,307
py
Python
dbHelper.py
portbusy/moneytrakerBot
a2f83fe319f398c2e1b37bca279d46df70e8fbdd
[ "MIT" ]
1
2021-05-14T12:54:40.000Z
2021-05-14T12:54:40.000Z
dbHelper.py
portbusy/moneytrakerbot
a2f83fe319f398c2e1b37bca279d46df70e8fbdd
[ "MIT" ]
1
2019-12-27T10:02:33.000Z
2019-12-27T10:02:33.000Z
dbHelper.py
portbusy/moneytrakerBot
a2f83fe319f398c2e1b37bca279d46df70e8fbdd
[ "MIT" ]
null
null
null
import sqlite3 class DBHelper: def __init__(self, dbname="expenses.sqlite"): self.dbname = dbname self.conn = sqlite3.connect(dbname) def setup(self): outcome = "CREATE TABLE IF NOT EXISTS outcome (date date, value float, comment varchar(50))" income = "CREATE TABLE IF NOT EXI...
33.926471
100
0.586042
276
2,307
4.847826
0.188406
0.095665
0.067265
0.063528
0.818386
0.768311
0.723468
0.621824
0.621824
0.54858
0
0.004805
0.278283
2,307
67
101
34.432836
0.798799
0
0
0.527273
0
0
0.272333
0
0
0
0
0
0
1
0.181818
false
0
0.018182
0
0.290909
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
75a523537e70a189ee5b98fa00a5f945b8faf3d3
102
py
Python
Python/Pandas/Inbuilt_impootant_functions.py
themohitpapneja/Code_Dump
ec72144e66d12cba2ce719c37292517588490b42
[ "Apache-2.0" ]
null
null
null
Python/Pandas/Inbuilt_impootant_functions.py
themohitpapneja/Code_Dump
ec72144e66d12cba2ce719c37292517588490b42
[ "Apache-2.0" ]
null
null
null
Python/Pandas/Inbuilt_impootant_functions.py
themohitpapneja/Code_Dump
ec72144e66d12cba2ce719c37292517588490b42
[ "Apache-2.0" ]
null
null
null
X=[4.5,6,7,1,0.9,5.6,4.3,4,4.65,3,9] summ=sum(X) print(summ) Y=sorted(X) print(Y) X.sort() print(X)
10.2
36
0.588235
31
102
1.935484
0.516129
0.066667
0
0
0
0
0
0
0
0
0
0.182796
0.088235
102
10
37
10.2
0.462366
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
75a62e9bcab89d7185f4943645ca49512e32f895
2,519
py
Python
app/__init__.py
Jhustin27/Eye-of-summit-2.0
dcaf7643286ca7ef3d4d34b9b2effb93c4d91b1e
[ "MIT" ]
null
null
null
app/__init__.py
Jhustin27/Eye-of-summit-2.0
dcaf7643286ca7ef3d4d34b9b2effb93c4d91b1e
[ "MIT" ]
null
null
null
app/__init__.py
Jhustin27/Eye-of-summit-2.0
dcaf7643286ca7ef3d4d34b9b2effb93c4d91b1e
[ "MIT" ]
null
null
null
""" Project Summit es un programa relacionado con el parque Nacional SUMMIT, mostrando al usuario todos los animales que hay en el parque y su taxonomía. """ from app import Listas import os def clases(opc): """ Clases es una función que despliega la lista de los 2 tipos de clases de animales que hay en el...
28.954023
153
0.499008
308
2,519
4.042208
0.285714
0.150201
0.096386
0.06747
0.336546
0.293173
0.254618
0.230522
0.230522
0.205622
0
0.016828
0.386661
2,519
86
154
29.290698
0.788997
0
0
0.470588
0
0
0.100178
0
0
0
0
0.011628
0
0
null
null
0
0.039216
null
null
0.490196
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
1
0
3
75bba8e6183a2726dd55c1196e2983f0e5a204ff
237
py
Python
src/pyglue/DocStrings/Exception.py
omenos/OpenColorIO
7316c3be20752278924dd3f213bff297ffb63a14
[ "BSD-3-Clause" ]
7
2015-07-01T03:19:43.000Z
2021-03-27T11:02:16.000Z
src/pyglue/DocStrings/Exception.py
dictoon/OpenColorIO
64adcad300adfd166280d2e7b1fb5c3ce7dca482
[ "BSD-3-Clause" ]
null
null
null
src/pyglue/DocStrings/Exception.py
dictoon/OpenColorIO
64adcad300adfd166280d2e7b1fb5c3ce7dca482
[ "BSD-3-Clause" ]
2
2019-03-05T20:43:59.000Z
2019-11-11T20:35:55.000Z
class Exception: """ An exception class to throw for errors detected at runtime. .. warning:: All functions in the Config class can potentially throw this exception. """ def __init__(self): pass
19.75
78
0.628692
28
237
5.178571
0.821429
0
0
0
0
0
0
0
0
0
0
0
0.303797
237
11
79
21.545455
0.878788
0.624473
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
75cf38e89499ea7e095aee77fa7ffaba610d3a1d
280
py
Python
mc2d/core/__init__.py
Den4200/mc2d
f1e8068449de358210fddbd0c163a768a6aff292
[ "MIT" ]
null
null
null
mc2d/core/__init__.py
Den4200/mc2d
f1e8068449de358210fddbd0c163a768a6aff292
[ "MIT" ]
3
2020-04-14T13:49:54.000Z
2021-09-08T01:52:51.000Z
mc2d/core/__init__.py
Den4200/mc2d
f1e8068449de358210fddbd0c163a768a6aff292
[ "MIT" ]
2
2020-04-06T21:08:24.000Z
2020-04-10T12:15:38.000Z
from mc2d.core.generators import MapGenerator from mc2d.core.grid import Grid from mc2d.core.inventory import Inventory from mc2d.core.player import Player from mc2d.core.world import World __all__ = ( 'Grid', 'Inventory', 'MapGenerator', 'Player', 'World' )
20
45
0.725
36
280
5.527778
0.305556
0.201005
0.301508
0
0
0
0
0
0
0
0
0.021739
0.178571
280
13
46
21.538462
0.843478
0
0
0
0
0
0.128571
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
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
1
0
0
0
0
3
75e6f489012f51310e3e1b1a35fbfde0ea052f97
4,526
py
Python
anchore_engine/services/policy_engine/engine/policy/gates/conditions.py
Talanor/anchore-engine
5e809db1eb681f89670655c5bf9933eba50cf403
[ "Apache-2.0" ]
null
null
null
anchore_engine/services/policy_engine/engine/policy/gates/conditions.py
Talanor/anchore-engine
5e809db1eb681f89670655c5bf9933eba50cf403
[ "Apache-2.0" ]
null
null
null
anchore_engine/services/policy_engine/engine/policy/gates/conditions.py
Talanor/anchore-engine
5e809db1eb681f89670655c5bf9933eba50cf403
[ "Apache-2.0" ]
null
null
null
from collections import namedtuple from anchore_engine.services.policy_engine.engine.policy.params import InputValidator from anchore_engine.services.policy_engine.engine.policy.gate import Gate, GateMeta, BaseTrigger class AttributeListValidator(InputValidator): def __init__(self, attrs): self.attrs = at...
29.38961
174
0.56783
488
4,526
4.965164
0.346311
0.01981
0.072637
0.023112
0.236484
0.236484
0.236484
0.236484
0.216261
0.177466
0
0.010273
0.311754
4,526
153
175
29.581699
0.767576
0.668361
0
0.296296
0
0
0.042129
0
0
0
0
0.006536
0
1
0.259259
false
0
0.148148
0.111111
0.740741
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
75efbb1006d7d95f2cf16a30dde8956a206325f4
117
py
Python
output/models/saxon_data/id/id011_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/saxon_data/id/id011_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/saxon_data/id/id011_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.saxon_data.id.id011_xsd.id011 import ( Doc, Para, ) __all__ = [ "Doc", "Para", ]
11.7
57
0.589744
15
117
4.2
0.8
0.222222
0
0
0
0
0
0
0
0
0
0.068966
0.25641
117
9
58
13
0.655172
0
0
0
0
0
0.059829
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
f958abbb616cd05076bd715468a943032276e35b
1,559
py
Python
tensorstream/helpers/any_nan_spec.py
clems4ever/tensorstream
61bff14f65f71bdd4ab58aefbd6eda79ec5863cb
[ "Apache-2.0" ]
5
2019-04-10T03:51:13.000Z
2020-07-12T10:50:24.000Z
tensorstream/helpers/any_nan_spec.py
clems4ever/tensorstream
61bff14f65f71bdd4ab58aefbd6eda79ec5863cb
[ "Apache-2.0" ]
null
null
null
tensorstream/helpers/any_nan_spec.py
clems4ever/tensorstream
61bff14f65f71bdd4ab58aefbd6eda79ec5863cb
[ "Apache-2.0" ]
null
null
null
import math import tensorflow as tf import unittest from tensorstream.helpers.any_nan import any_nan def in_tf(x): with tf.Session() as sess: return sess.run(x) class AnyNanSpec(unittest.TestCase): def test_any_nan_scalar(self): x = any_nan(tf.constant(4.0)) self.assertEqual(in_tf(x), False) y =...
25.983333
80
0.569596
261
1,559
3.291188
0.164751
0.232829
0.158324
0.17695
0.748545
0.717113
0.611176
0.611176
0.55064
0.433062
0
0.041254
0.222579
1,559
59
81
26.423729
0.667492
0
0
0.416667
0
0
0.009622
0
0
0
0
0
0.166667
1
0.083333
false
0
0.083333
0
0.208333
0
0
0
0
null
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f9811e7bcf69e36ab17765066be422a47d34febd
73
py
Python
Rota_System/UI/Vacancies/__init__.py
ergoregion/Rota-Program
44dab4cb11add184619d88aa0fcab61532d128e6
[ "MIT" ]
null
null
null
Rota_System/UI/Vacancies/__init__.py
ergoregion/Rota-Program
44dab4cb11add184619d88aa0fcab61532d128e6
[ "MIT" ]
null
null
null
Rota_System/UI/Vacancies/__init__.py
ergoregion/Rota-Program
44dab4cb11add184619d88aa0fcab61532d128e6
[ "MIT" ]
null
null
null
__author__ = 'Neil Butcher' from widget_vacancies import VacanciesWidget
24.333333
44
0.849315
8
73
7.125
1
0
0
0
0
0
0
0
0
0
0
0
0.109589
73
3
44
24.333333
0.876923
0
0
0
0
0
0.162162
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
f9be50f0810c9fe84c1a42419312df74db4569e1
52
py
Python
python/niveau2/1-NombresAVirgulesEtAutresOutils/2.py
ThomasProg/France-IOI
03ea502e03f686d74ecf31a17273aded7b8e8a1f
[ "MIT" ]
2
2022-02-13T13:35:13.000Z
2022-03-31T21:02:11.000Z
python/niveau2/1-NombresAVirgulesEtAutresOutils/2.py
ThomasProg/France-IOI
03ea502e03f686d74ecf31a17273aded7b8e8a1f
[ "MIT" ]
null
null
null
python/niveau2/1-NombresAVirgulesEtAutresOutils/2.py
ThomasProg/France-IOI
03ea502e03f686d74ecf31a17273aded7b8e8a1f
[ "MIT" ]
1
2020-11-15T15:21:24.000Z
2020-11-15T15:21:24.000Z
nbLieues = float(input()) print(nbLieues / 0.707)
10.4
25
0.673077
7
52
5
0.857143
0
0
0
0
0
0
0
0
0
0
0.090909
0.153846
52
4
26
13
0.704545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f9be683b4eb5da39a262b0f476b23f921df8a1e7
258
py
Python
microsoft_problems/problem_9.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
129
2018-10-14T17:52:29.000Z
2022-01-29T15:45:57.000Z
microsoft_problems/problem_9.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
2
2019-11-30T23:28:23.000Z
2020-01-03T16:30:32.000Z
microsoft_problems/problem_9.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
60
2019-02-21T09:18:31.000Z
2022-03-25T21:01:04.000Z
"""This problem was asked Microsoft. Using a read7() method that returns 7 characters from a file, implement readN(n) which reads n characters. For example, given a file with the content “Hello world”, three read7() returns “Hello w”, “orld” and then “”. """
64.5
110
0.736434
41
258
4.634146
0.804878
0.052632
0
0
0
0
0
0
0
0
0
0.013825
0.158915
258
4
111
64.5
0.861751
0.972868
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f9c6d9e68f18c4744fee502e079bc34ae1e52450
2,758
py
Python
vispupu/colors.py
sscihz/vispupu
bfd60ea78b5098d054cba2005cd56be80f774348
[ "MIT" ]
null
null
null
vispupu/colors.py
sscihz/vispupu
bfd60ea78b5098d054cba2005cd56be80f774348
[ "MIT" ]
null
null
null
vispupu/colors.py
sscihz/vispupu
bfd60ea78b5098d054cba2005cd56be80f774348
[ "MIT" ]
null
null
null
color_styles = { "Turquoise": [ "#1abc9c", "#e8f8f5", "#d1f2eb", '#a3e4d7', '#76d7c4', '#48c9b0', '#1abc9c', '#17a589', '#148f77', '#117864', '#0e6251'], "Green Sea":[ '#16a085', '#e8f6f3', '#d0ece7', '#a2d9ce', '#73c6b6', '#45b39d', '#16a085', '#138d75', '#117a65', '#0e6655', '#0b5345' ], "Emerald":[ '#2ecc71', '#ea...
10.607692
17
0.540972
246
2,758
6.060976
0.922764
0
0
0
0
0
0
0
0
0
0
0.299799
0.098985
2,758
260
18
10.607692
0.300201
0
0
0.2
0
0
0.617978
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
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f9d1bd966333fd915ca1bdb0cd21337e1ec47901
826
py
Python
Dataset/Leetcode/train/5/479.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/5/479.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/5/479.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, s: str) -> str: if s==s[::-1]:return s maxlen,middle=1,0 i=1 len_s=len(s) rev=s[0] if(s[0]==s[1]): rev=s[0:2] maxlen=2 while i<len_s: if(maxlen%2!=0): odd=s[i-maxlen//2-...
26.645161
54
0.386199
116
826
2.732759
0.198276
0.22082
0.201893
0.113565
0.239748
0.192429
0.192429
0.138801
0.138801
0
0
0.062361
0.456416
826
30
55
27.533333
0.643653
0
0
0.148148
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
f9d6ea01d1536a8efd2f6fda909d0e03ed038790
278
py
Python
lebanese_channels/channel_ids.py
ChadiEM/Lebanese-Channels
8e26f6f4b021367c57eb4ee966e3d4c1511aa77a
[ "MIT" ]
10
2017-05-10T04:23:43.000Z
2020-04-09T19:39:45.000Z
lebanese_channels/channel_ids.py
ChadiEM/Kodi-Lebanese-Channels
8e26f6f4b021367c57eb4ee966e3d4c1511aa77a
[ "MIT" ]
null
null
null
lebanese_channels/channel_ids.py
ChadiEM/Kodi-Lebanese-Channels
8e26f6f4b021367c57eb4ee966e3d4c1511aa77a
[ "MIT" ]
2
2019-05-06T23:01:37.000Z
2019-11-06T10:23:24.000Z
from lebanese_channels.channel import Channel # noinspection PyUnresolvedReferences from lebanese_channels.services import * CHANNEL_LIST = [] for cls in Channel.__subclasses__(): CHANNEL_LIST.append(cls()) CHANNEL_LIST = sorted(CHANNEL_LIST, key=lambda x: x.get_name())
25.272727
63
0.794964
35
278
6
0.571429
0.209524
0.190476
0
0
0
0
0
0
0
0
0
0.115108
278
10
64
27.8
0.853659
0.125899
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
dda6c9dd0fb104b8ef6486c73ae4854073575be2
276
py
Python
fileshare/site_admin/views.py
sqz269/fileshare-flask
33459a10ea3abfda52867628d849231365b32b95
[ "MIT" ]
4
2018-12-26T02:14:29.000Z
2019-12-05T05:37:07.000Z
fileshare/site_admin/views.py
sqz269/ftp-flask
33459a10ea3abfda52867628d849231365b32b95
[ "MIT" ]
6
2018-12-26T03:37:43.000Z
2020-07-02T22:10:30.000Z
fileshare/site_admin/views.py
sqz269/ftp-flask
33459a10ea3abfda52867628d849231365b32b95
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template site_admin = Blueprint("admin_site", __name__, url_prefix="/admin",template_folder="template", static_folder="static", static_url_path="/admin/static") @site_admin.route("/") def admin(): return render_template("index.html")
34.5
151
0.768116
36
276
5.5
0.527778
0.141414
0
0
0
0
0
0
0
0
0
0
0.083333
276
7
152
39.428571
0.782609
0
0
0
0
0
0.195652
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0.4
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
0
1
1
0
0
3
ddb8508f3ff68ea6c24a663df0d1f5ce4c76620b
641
py
Python
src/wai/common/adams/imaging/locateobjects/constants.py
waikato-datamining/wai-common
bf3d7ae6e01bcb7ffe9f5c2b5d10a05908a68c34
[ "MIT" ]
null
null
null
src/wai/common/adams/imaging/locateobjects/constants.py
waikato-datamining/wai-common
bf3d7ae6e01bcb7ffe9f5c2b5d10a05908a68c34
[ "MIT" ]
8
2020-07-01T02:11:31.000Z
2020-12-17T01:57:17.000Z
src/wai/common/adams/imaging/locateobjects/constants.py
waikato-datamining/wai-common
bf3d7ae6e01bcb7ffe9f5c2b5d10a05908a68c34
[ "MIT" ]
null
null
null
""" Module for constants relating to locating objects. """ # The key for the X location KEY_X: str = "x" # The key for the Y location KEY_Y: str = "y" # The key for the width KEY_WIDTH: str = "width" # The key for the height KEY_HEIGHT: str = "height" # The key for the location KEY_LOCATION: str = "location" # The...
21.366667
75
0.705148
118
641
3.720339
0.262712
0.123007
0.18451
0.246014
0.346241
0.22779
0.22779
0.22779
0.22779
0.22779
0
0
0.201248
641
29
76
22.103448
0.857422
0.602184
0
0
0
0
0.179916
0
0
0
0
0
0
1
0
true
0
0
0
0
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
ddbdf97555e6bb3c3061c8a1923102731e68f3a2
193
py
Python
datamgt/urls.py
timmo-d/MyTrader
a61cb6601d182b491d6b1e7715a05ccfc2fec451
[ "MIT" ]
null
null
null
datamgt/urls.py
timmo-d/MyTrader
a61cb6601d182b491d6b1e7715a05ccfc2fec451
[ "MIT" ]
null
null
null
datamgt/urls.py
timmo-d/MyTrader
a61cb6601d182b491d6b1e7715a05ccfc2fec451
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'datamgt' urlpatterns = [ #path('', views.DataMgtPageView.as_view(), name='index'), path('', views.create, name='index'), ]
21.444444
61
0.668394
24
193
5.291667
0.625
0.141732
0
0
0
0
0
0
0
0
0
0
0.15544
193
8
62
24.125
0.779141
0.290155
0
0
0
0
0.088235
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ddcb90bafc499aa9a303fe01f7b8ffcf9ff04f4c
64,979
py
Python
geepee/pep_models.py
MattAshman/geepee
ae71998579cb80e160f7ea5eb5adfa1c937fb90a
[ "MIT" ]
24
2017-08-16T18:45:22.000Z
2021-04-28T08:21:36.000Z
geepee/pep_models.py
yohanJung/geepee
4809c4f78efb9134677af57187957d8ba479ddea
[ "MIT" ]
7
2017-05-31T17:09:58.000Z
2018-05-21T02:26:25.000Z
geepee/pep_models.py
yohanJung/geepee
4809c4f78efb9134677af57187957d8ba479ddea
[ "MIT" ]
10
2017-06-02T08:13:54.000Z
2021-12-07T13:48:22.000Z
"""Summary # TODO: this should reuse base models! """ import sys import math import numpy as np import scipy.linalg as npalg from scipy import special from scipy.optimize import minimize import matplotlib.pyplot as plt import time import pdb from scipy.cluster.vq import kmeans2 from utils import * from kernels import ...
33.967067
111
0.52717
8,314
64,979
3.914361
0.061222
0.105549
0.03718
0.041574
0.765179
0.720501
0.678558
0.655205
0.625584
0.604013
0
0.023035
0.353945
64,979
1,912
112
33.984833
0.752192
0.096631
0
0.542857
0
0
0.026951
0
0
0
0
0.00523
0
0
null
null
0
0.015873
null
null
0.007407
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
dddbc9918a77e00b04481b5a9458bbf7b425c17f
1,211
py
Python
Lib/xml/dom/minitraversal.py
M-Spencer-94/configNOW
56828587253202089e77cfdfcf5329f2a7f09b3f
[ "PSF-2.0", "Apache-2.0", "MIT" ]
3
2019-07-09T20:02:48.000Z
2021-11-21T20:00:37.000Z
Lib/xml/dom/minitraversal.py
M-Spencer-94/configNOW
56828587253202089e77cfdfcf5329f2a7f09b3f
[ "PSF-2.0", "Apache-2.0", "MIT" ]
null
null
null
Lib/xml/dom/minitraversal.py
M-Spencer-94/configNOW
56828587253202089e77cfdfcf5329f2a7f09b3f
[ "PSF-2.0", "Apache-2.0", "MIT" ]
null
null
null
"""A DOM implementation that offers traversal and ranges on top of minidom, using the 4DOM traversal implementation.""" import minidom, string class DOMImplementation(minidom.DOMImplementation): def hasFeature(self, feature, version): if version not in ("1.0", "2.0"): return 0 feature ...
34.6
92
0.711808
120
1,211
7.175
0.4
0.065041
0.092915
0.204413
0.12079
0.12079
0
0
0
0
0
0.007315
0.209744
1,211
34
93
35.617647
0.892372
0.093311
0
0
0
0
0.018315
0
0
0
0
0
0
1
0.24
false
0
0.16
0.08
0.84
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
dde353c9867790802ae1d53f6bd821af518eb046
296
py
Python
src/preprocess/modify_txts.py
Jeevesh8/relational-pt
9a652c77265ec79f41440d5f8f8b7289fe3806e6
[ "MIT" ]
null
null
null
src/preprocess/modify_txts.py
Jeevesh8/relational-pt
9a652c77265ec79f41440d5f8f8b7289fe3806e6
[ "MIT" ]
null
null
null
src/preprocess/modify_txts.py
Jeevesh8/relational-pt
9a652c77265ec79f41440d5f8f8b7289fe3806e6
[ "MIT" ]
1
2021-06-21T13:50:32.000Z
2021-06-21T13:50:32.000Z
for filename in ["test", "train", "valid"]: with open("subtrees-text-4096/" + filename + ".txt") as f, open( "subtrees-text-4096-64-comps/" + filename + ".txt", "w+") as g: for line in f.readlines(): if line.count("<post") <= 64: g.write(line)
42.285714
75
0.516892
39
296
3.923077
0.615385
0.156863
0.20915
0.261438
0
0
0
0
0
0
0
0.056604
0.283784
296
6
76
49.333333
0.665094
0
0
0
0
0
0.256757
0.094595
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dde3988868ed20d219a6fc83f6e80bda60f4e429
44
py
Python
pyinsar/processing/deformation/__init__.py
MITeaps/pyinsar
4d22e3ef90ef842d6b390074a8b5deedc7658a2b
[ "MIT" ]
8
2019-03-15T19:51:27.000Z
2022-02-16T07:27:36.000Z
pyinsar/processing/deformation/__init__.py
MITeaps/pyinsar
4d22e3ef90ef842d6b390074a8b5deedc7658a2b
[ "MIT" ]
1
2022-02-08T03:48:56.000Z
2022-02-09T01:33:27.000Z
pyinsar/processing/deformation/__init__.py
MITeaps/pyinsar
4d22e3ef90ef842d6b390074a8b5deedc7658a2b
[ "MIT" ]
2
2021-01-12T05:32:21.000Z
2021-01-13T08:35:26.000Z
__all__ = ["elastic_halfspace", "inversion"]
44
44
0.75
4
44
7
1
0
0
0
0
0
0
0
0
0
0
0
0.068182
44
1
44
44
0.682927
0
0
0
0
0
0.577778
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
ddfa650ee7a331df4a4fb7e6c7f8026789044e3c
317
py
Python
app/gui/cryptotools/__init__.py
vasilypht/Cryptographic-methods
7a44a46f01d5973d338170cb05272582d34bc1be
[ "MIT" ]
null
null
null
app/gui/cryptotools/__init__.py
vasilypht/Cryptographic-methods
7a44a46f01d5973d338170cb05272582d34bc1be
[ "MIT" ]
null
null
null
app/gui/cryptotools/__init__.py
vasilypht/Cryptographic-methods
7a44a46f01d5973d338170cb05272582d34bc1be
[ "MIT" ]
null
null
null
from typing import Final from .freqanalysis import FreqAnalysisWidget from .index_of_coincidence import ICWidget from .autocorrelation import AutocorrelationWidget from .kasiski import KasiskiWidget WIDGETS_CRYPTOTOOLS: Final = ( FreqAnalysisWidget, ICWidget, AutocorrelationWidget, KasiskiWidget )
22.642857
50
0.817035
29
317
8.827586
0.551724
0
0
0
0
0
0
0
0
0
0
0
0.148265
317
13
51
24.384615
0.948148
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.454545
0
0.454545
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fb260518e7d04d18476bb0c1a73e07eabe5b97e1
602
py
Python
epm/epm_logical_if.py
btc-ag/revengtools
d58680ef7d6bdc8ef518860d5d13a5acc0d01758
[ "Apache-2.0" ]
2
2019-07-15T14:59:59.000Z
2022-01-18T14:23:54.000Z
epm/epm_logical_if.py
btc-ag/revengtools
d58680ef7d6bdc8ef518860d5d13a5acc0d01758
[ "Apache-2.0" ]
10
2018-05-03T13:25:07.000Z
2021-06-25T15:14:55.000Z
epm/epm_logical_if.py
btc-ag/revengtools
d58680ef7d6bdc8ef518860d5d13a5acc0d01758
[ "Apache-2.0" ]
1
2018-05-02T13:59:27.000Z
2018-05-02T13:59:27.000Z
# -*- coding: UTF-8 -*- ''' Created on 29.09.2010 @author: SIGIESEC ''' from commons.core_if import EnumerationItem, Enumeration class _LogicalEntityType(EnumerationItem): pass class LogicalEntityTypes(Enumeration): Component = _LogicalEntityType Interface = _LogicalEntityType Configurator = _Logica...
20.758621
56
0.699336
62
602
6.419355
0.548387
0.055276
0.070352
0
0
0
0
0
0
0
0
0.019108
0.217608
602
28
57
21.5
0.825902
0.104651
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.066667
0.066667
0.133333
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
fb290813a8d0f93337f5eb32493e71ae04b2a9f4
303
py
Python
EXAMPLES/DATA TYPES/String/password_generator.py
nkpydev/Python-Learning
e571a6890f750aafde49d24d00cc57c52419b61a
[ "MIT" ]
null
null
null
EXAMPLES/DATA TYPES/String/password_generator.py
nkpydev/Python-Learning
e571a6890f750aafde49d24d00cc57c52419b61a
[ "MIT" ]
null
null
null
EXAMPLES/DATA TYPES/String/password_generator.py
nkpydev/Python-Learning
e571a6890f750aafde49d24d00cc57c52419b61a
[ "MIT" ]
null
null
null
#--- Generic Imports ---# import string import random from random import randint if __name__ == '__main__': characters = string.ascii_lowercase + string.ascii_uppercase + string.digits password = ''.join(random.choice(characters) for x in range(randint(8,16))) print('Password:\t',password)
33.666667
80
0.726073
38
303
5.526316
0.684211
0.104762
0
0
0
0
0
0
0
0
0
0.011538
0.141914
303
9
81
33.666667
0.796154
0.075908
0
0
0
0
0.0681
0
0
0
0
0
0
1
0
false
0.285714
0.428571
0
0.428571
0.142857
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
fb30d392af1b8ba6d5da60ca887bfaa37803a0ff
796
py
Python
forms.py
EricSekyere/Find-Mate
33cd3692c5eef17b7a9c35fb4043a818454f3ad2
[ "Apache-2.0" ]
null
null
null
forms.py
EricSekyere/Find-Mate
33cd3692c5eef17b7a9c35fb4043a818454f3ad2
[ "Apache-2.0" ]
null
null
null
forms.py
EricSekyere/Find-Mate
33cd3692c5eef17b7a9c35fb4043a818454f3ad2
[ "Apache-2.0" ]
null
null
null
from flask_wtf import FlaskForm, RecaptchaField from wtforms import StringField , PasswordField, SubmitField from wtforms.validators import DataRequired, Email, Length class SignupForm(FlaskForm): firstname = StringField("First name", validators=[DataRequired("Enter your name")]) lastname = StringField("Last ...
66.333333
161
0.742462
87
796
6.781609
0.482759
0.186441
0.137288
0.105085
0.118644
0
0
0
0
0
0
0.002886
0.129397
796
12
162
66.333333
0.848485
0.077889
0
0
0
0
0.245232
0
0
0
0
0
0
1
0
false
0.222222
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
3492ee0986513ef904c43c6c7edef2a32721de7b
92
py
Python
jdb2/__init__.py
spdir/jsonDB2
f01af6791f02047048d53a927cb7ad33973a497e
[ "MIT" ]
1
2020-10-19T15:04:40.000Z
2020-10-19T15:04:40.000Z
jdb2/__init__.py
spdir/jsonDB2
f01af6791f02047048d53a927cb7ad33973a497e
[ "MIT" ]
null
null
null
jdb2/__init__.py
spdir/jsonDB2
f01af6791f02047048d53a927cb7ad33973a497e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author = 'Musker.Chao' __version = '0.2.2' from .jdb import NoSql
18.4
24
0.630435
14
92
3.857143
0.928571
0
0
0
0
0
0
0
0
0
0
0.051948
0.163043
92
4
25
23
0.649351
0.228261
0
0
0
0
0.231884
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
34a314c35e4b088da3f5dcc4fbbb24f118b1507c
1,792
py
Python
thelper/infer/impl.py
beaulima/thelper
c389352c3541d18bb9d8255d6d3efe295ff1d71b
[ "Apache-2.0" ]
17
2018-12-10T19:43:20.000Z
2021-08-17T03:06:59.000Z
thelper/infer/impl.py
beaulima/thelper
c389352c3541d18bb9d8255d6d3efe295ff1d71b
[ "Apache-2.0" ]
16
2019-07-31T20:13:26.000Z
2020-12-14T15:48:30.000Z
thelper/infer/impl.py
beaulima/thelper
c389352c3541d18bb9d8255d6d3efe295ff1d71b
[ "Apache-2.0" ]
10
2019-06-17T18:38:05.000Z
2020-09-29T16:04:00.000Z
"""Explicit Tester definitions from existing Trainers.""" import thelper.concepts from thelper.infer.base import Tester from thelper.train.classif import ImageClassifTrainer from thelper.train.detect import ObjDetectTrainer from thelper.train.regr import RegressionTrainer from thelper.train.segm import ImageSegmTraine...
33.811321
113
0.733259
186
1,792
7.064516
0.241935
0.146119
0.155251
0.127854
0.488584
0.488584
0.488584
0.424658
0.35312
0.35312
0
0
0.162946
1,792
52
114
34.461538
0.876
0.59375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
34e235c421628aa9a7cc49170af5f34d84e2282c
114
py
Python
index_2/np_dot.py
specbug/nnfs
ed17617483217ac308941468d9c0ec111bfdb4e9
[ "MIT" ]
null
null
null
index_2/np_dot.py
specbug/nnfs
ed17617483217ac308941468d9c0ec111bfdb4e9
[ "MIT" ]
null
null
null
index_2/np_dot.py
specbug/nnfs
ed17617483217ac308941468d9c0ec111bfdb4e9
[ "MIT" ]
null
null
null
import numpy as np a = np.array([1, 2, 3]) b = np.array([4, 5, 6]) dot_product = np.dot(a, b) print(dot_product)
16.285714
26
0.622807
25
114
2.76
0.64
0.202899
0
0
0
0
0
0
0
0
0
0.06383
0.175439
114
7
27
16.285714
0.670213
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
34fcfab1eb5d13d8e68bc76d91199d0950c77166
151
py
Python
tests/spam_test.py
peixinchen/spam
ec351c75b3ffeea326a626120b56904cc8dece41
[ "MIT" ]
2
2015-12-19T03:50:09.000Z
2015-12-19T03:56:52.000Z
tests/spam_test.py
peixinchen/spam
ec351c75b3ffeea326a626120b56904cc8dece41
[ "MIT" ]
null
null
null
tests/spam_test.py
peixinchen/spam
ec351c75b3ffeea326a626120b56904cc8dece41
[ "MIT" ]
null
null
null
import spam def TestSystem(): r = spam.system("ls -l") assert r == 0 def TestNothingDone(): r = spam.nothing_done() assert r is None
15.1
28
0.615894
22
151
4.181818
0.681818
0.108696
0
0
0
0
0
0
0
0
0
0.008929
0.258278
151
9
29
16.777778
0.8125
0
0
0
0
0
0.033113
0
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.428571
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
55211cb16ee993e27dfddf8e459536b073805848
380
py
Python
xcparse/Xcode/PBX/PBXResourcesBuildPhase.py
samdmarshall/xcparser
4f78af149127325e60e3785b6e09d6dbfeedc799
[ "BSD-3-Clause" ]
59
2015-02-27T21:45:37.000Z
2021-03-16T04:37:40.000Z
xcparse/Xcode/PBX/PBXResourcesBuildPhase.py
samdmarshall/xcparser
4f78af149127325e60e3785b6e09d6dbfeedc799
[ "BSD-3-Clause" ]
14
2015-03-02T18:53:51.000Z
2016-07-19T23:20:23.000Z
xcparse/Xcode/PBX/PBXResourcesBuildPhase.py
samdmarshall/xcparser
4f78af149127325e60e3785b6e09d6dbfeedc799
[ "BSD-3-Clause" ]
8
2015-03-02T02:32:09.000Z
2017-07-31T21:14:51.000Z
from .PBXResolver import * from .PBX_Base_Phase import * class PBXResourcesBuildPhase(PBX_Base_Phase): def __init__(self, lookup_func, dictionary, project, identifier): super(PBXResourcesBuildPhase, self).__init__(lookup_func, dictionary, project, identifier); self.bundleid = 'com.apple.buildp...
42.222222
99
0.742105
41
380
6.512195
0.585366
0.052434
0.089888
0.202247
0.277154
0
0
0
0
0
0
0
0.160526
380
9
100
42.222222
0.836991
0
0
0
0
0
0.115486
0.07874
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9b2c957859f18506415ecbe191dd146ba223fd60
290
py
Python
main/consecutive-array-elements/consecutive-array-elements.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/consecutive-array-elements/consecutive-array-elements.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/consecutive-array-elements/consecutive-array-elements.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 def read_record(): return list(map(int, input().split())) def is_consecutive(a): return max(a) - min(a) + 1 == len(a) == len(frozenset(a)) for _ in range(int(input())): input() # don't need n print('Yes' if is_consecutive(read_record()) else 'No')
24.166667
61
0.62069
47
290
3.723404
0.702128
0.114286
0
0
0
0
0
0
0
0
0
0.008403
0.17931
290
11
62
26.363636
0.726891
0.117241
0
0
0
0
0.019685
0
0
0
0
0
0
1
0.285714
false
0
0
0.285714
0.571429
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9b6d32ad74742b06102e5bbdf450aca1b8b8a792
464
py
Python
manage.py
DzoanaZ/Aplikacje-internetowe2
2607f2f70f18dc56bdd9fa7c1851c74c36a1c12f
[ "Apache-2.0" ]
null
null
null
manage.py
DzoanaZ/Aplikacje-internetowe2
2607f2f70f18dc56bdd9fa7c1851c74c36a1c12f
[ "Apache-2.0" ]
null
null
null
manage.py
DzoanaZ/Aplikacje-internetowe2
2607f2f70f18dc56bdd9fa7c1851c74c36a1c12f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "forecastsite.settings") try: from django.core.management import execute_from_command_line except ImportError: try: import django except ImportError: ...
25.777778
76
0.640086
49
464
5.734694
0.612245
0.078292
0.128114
0.156584
0
0
0
0
0
0
0
0
0.288793
464
17
77
27.294118
0.851515
0.043103
0
0.266667
0
0
0.180587
0.097065
0
0
0
0
0
1
0
true
0
0.533333
0
0.533333
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
9b945920adbc3cef944b015a25e1b96364eac481
162
py
Python
models/__init__.py
bdbaraban/mlb_tweets
7a67a552b9df91902e12c681f67449a89a9db88a
[ "MIT" ]
1
2019-11-20T19:30:02.000Z
2019-11-20T19:30:02.000Z
models/__init__.py
bdbaraban/mlb_tweets
7a67a552b9df91902e12c681f67449a89a9db88a
[ "MIT" ]
null
null
null
models/__init__.py
bdbaraban/mlb_tweets
7a67a552b9df91902e12c681f67449a89a9db88a
[ "MIT" ]
null
null
null
import json from models.league import League from models.standings import Standings league = League() league.reload() standings = Standings() standings.reload()
18
38
0.796296
20
162
6.45
0.35
0.155039
0
0
0
0
0
0
0
0
0
0
0.117284
162
8
39
20.25
0.902098
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
9b99cae008e83741b38bca96688605e1bf050701
491
py
Python
ex_017.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
ex_017.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
ex_017.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
''' #Método 1 de calcular a hipotenusa (sem o módulo math) co = float(input('comprimento do cateto oposto: ')) ca = float(input('comprimento do cateto adjacente: ')) h = (co ** 2) + (ca ** 2) ** (1/2) print(f'a hipotenusa equivale a {h:.2f}') ''' # Método 2 de calcular a hipotenusa (com o módulo math) import math c...
27.277778
55
0.670061
78
491
4.217949
0.358974
0.133739
0.255319
0.279635
0.674772
0.674772
0.674772
0.674772
0.49848
0.49848
0
0.01956
0.167006
491
17
56
28.882353
0.784841
0.598778
0
0
0
0
0.497355
0
0
0
0
0.117647
0
1
0
false
0
0.2
0
0.2
0.2
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
1
0
0
0
0
0
0
0
0
0
0
3
9b9dde7f3a581ad84f5f9c233d50cafab4849a35
670
py
Python
catkin_ws/build/simple_applications/cmake/simple_applications-genmsg-context.py
a-yildiz/ROS-Simple-Sample-Packages
eb6b18adcd1fe26e2b5e644c42922e8102867cd9
[ "MIT" ]
1
2021-09-19T07:51:23.000Z
2021-09-19T07:51:23.000Z
catkin_ws/build/simple_applications/cmake/simple_applications-genmsg-context.py
a-yildiz/ROS-Simple-Sample-Packages
eb6b18adcd1fe26e2b5e644c42922e8102867cd9
[ "MIT" ]
null
null
null
catkin_ws/build/simple_applications/cmake/simple_applications-genmsg-context.py
a-yildiz/ROS-Simple-Sample-Packages
eb6b18adcd1fe26e2b5e644c42922e8102867cd9
[ "MIT" ]
null
null
null
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/yildiz/GitRepos/ROS_Samples/catkin_ws/src/simple_applications/msg/Distance.msg" services_str = "/home/yildiz/GitRepos/ROS_Samples/catkin_ws/src/simple_applications/srv/CircularMotion.srv" pkg_name = "simple_applications" dependencies_str = "" la...
55.833333
117
0.81194
93
670
5.55914
0.569892
0.174081
0.104449
0.121857
0.353965
0.353965
0.353965
0.353965
0.353965
0.353965
0
0.001572
0.050746
670
11
118
60.909091
0.811321
0.073134
0
0
1
0
0.672052
0.609047
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9b9fde27ad3a0c42022a605208ce34302f27f418
164
py
Python
Python/PythonExercicios/ex014.py
isabellathome/College-Activities
12fc73f8416f5a9572d0a8c59eb7403d9c88ed0f
[ "MIT" ]
null
null
null
Python/PythonExercicios/ex014.py
isabellathome/College-Activities
12fc73f8416f5a9572d0a8c59eb7403d9c88ed0f
[ "MIT" ]
null
null
null
Python/PythonExercicios/ex014.py
isabellathome/College-Activities
12fc73f8416f5a9572d0a8c59eb7403d9c88ed0f
[ "MIT" ]
null
null
null
celsius = float(input('Informe a temperatura em graus ºC: ')) fah = ((celsius * 9) / 5) + 32 print('A temperatura de {}ºC corresponde a {}ºF'.format(celsius, fah))
41
70
0.670732
25
164
4.4
0.72
0.218182
0
0
0
0
0
0
0
0
0
0.028986
0.158537
164
3
71
54.666667
0.768116
0
0
0
0
0
0.457317
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9bc02ea565e6b294c739680dcb53c3e64fdec278
497
py
Python
v1.0.0.test/toontown/hood/AnimatedProp.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-01T15:46:43.000Z
2021-07-23T16:26:48.000Z
v2.5.7/toontown/hood/AnimatedProp.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
1
2019-06-29T03:40:05.000Z
2021-06-13T01:15:16.000Z
v1.0.0.test/toontown/hood/AnimatedProp.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-28T21:18:46.000Z
2021-02-25T06:37:25.000Z
from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal class AnimatedProp(DirectObject.DirectObject): notify = DirectNotifyGlobal.directNotify.newCategory('AnimatedProp') def __init__(self, node): self.node = node def delete(self): pass def unique...
24.85
72
0.68008
54
497
6.185185
0.462963
0.071856
0.083832
0.113772
0
0
0
0
0
0
0
0
0.21328
497
20
73
24.85
0.85422
0
0
0
0
0
0.044177
0
0
0
0
0
0
1
0.357143
false
0.071429
0.142857
0.071429
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
32e390797d094d4bb86dc1963bb5fbc2e01542c6
177
py
Python
authentication/decorators.py
felix781/market-access-python-frontend
3b0e49feb4fdf0224816326938a46002aa4a2b1c
[ "MIT" ]
1
2021-12-15T04:14:03.000Z
2021-12-15T04:14:03.000Z
authentication/decorators.py
felix781/market-access-python-frontend
3b0e49feb4fdf0224816326938a46002aa4a2b1c
[ "MIT" ]
19
2019-12-11T11:32:47.000Z
2022-03-29T15:40:57.000Z
authentication/decorators.py
felix781/market-access-python-frontend
3b0e49feb4fdf0224816326938a46002aa4a2b1c
[ "MIT" ]
2
2021-02-09T09:38:45.000Z
2021-03-29T19:07:09.000Z
def public_view(func): """ Decorator for public views that do not require authentication """ orig_func = func orig_func._public_view = True return func
19.666667
65
0.672316
23
177
4.956522
0.652174
0.175439
0
0
0
0
0
0
0
0
0
0
0.259887
177
8
66
22.125
0.870229
0.344633
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
32fc47805f829da60d4abbd9fe7f32ca68051b7b
204
py
Python
day04/test12.py
jaywoong/python
99daedd5a9418b72b2d5c3b800080e730eb9b3ea
[ "Apache-2.0" ]
null
null
null
day04/test12.py
jaywoong/python
99daedd5a9418b72b2d5c3b800080e730eb9b3ea
[ "Apache-2.0" ]
null
null
null
day04/test12.py
jaywoong/python
99daedd5a9418b72b2d5c3b800080e730eb9b3ea
[ "Apache-2.0" ]
null
null
null
st1 = 'jmlee@tonesol.co.kr' print(len(st1)) print(st1.find('.')) print(st1.rfind('.')) print(st1.count('.')) id = st1[:st1.find('@')] print(id) domain = st1[st1.find('@')+1:st1.find('.')] print(domain)
17
43
0.598039
32
204
3.8125
0.40625
0.229508
0.295082
0
0
0
0
0
0
0
0
0.058824
0.083333
204
12
44
17
0.593583
0
0
0
0
0
0.121951
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
fd03ad67d584f2e19e8eb3829e296b9cd8fdf76e
385
py
Python
src/data_structure/queue/queue.py
sujeek/python_base
f636166a8749624379bfe4f245160f953e7f0cde
[ "MIT" ]
null
null
null
src/data_structure/queue/queue.py
sujeek/python_base
f636166a8749624379bfe4f245160f953e7f0cde
[ "MIT" ]
null
null
null
src/data_structure/queue/queue.py
sujeek/python_base
f636166a8749624379bfe4f245160f953e7f0cde
[ "MIT" ]
null
null
null
class Queue: def __init__(self): self.queue = [] def insert(self, data): if data is not None: self.queue.insert(0,data) return True return False def size(self): return len(self.queue) def pop(self): if len(self.queue) <=0: r...
20.263158
45
0.52987
50
385
4
0.44
0.225
0.12
0
0
0
0
0
0
0
0
0.008197
0.366234
385
18
46
21.388889
0.811475
0
0
0
0
0
0.0625
0
0
0
0
0
0
1
0.285714
false
0
0
0.071429
0.714286
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
fd08464b0b44bf12ef00f9bd6db70029928522a0
945
py
Python
crosspm/contracts/contract.py
devopshq/crosspm2
b97539430b1d163fbd960c57e780022ddeb90a2b
[ "MIT" ]
3
2020-07-23T10:38:30.000Z
2020-08-19T03:18:51.000Z
crosspm/contracts/contract.py
devopshq/crosspm2
b97539430b1d163fbd960c57e780022ddeb90a2b
[ "MIT" ]
null
null
null
crosspm/contracts/contract.py
devopshq/crosspm2
b97539430b1d163fbd960c57e780022ddeb90a2b
[ "MIT" ]
null
null
null
class Contract: def __init__(self, name, values): self.name = name self.values = values def __hash__(self): return hash((self.name, self.values)) def __str__(self): return "{}{}".format(self.name, self.values) def __repr__(self): return str(self) def __eq_...
23.625
81
0.590476
118
945
4.423729
0.262712
0.076628
0.08046
0.068966
0.287356
0.206897
0.206897
0.206897
0.206897
0.206897
0
0
0.299471
945
39
82
24.230769
0.78852
0
0
0.071429
0
0
0.004233
0
0
0
0
0
0
1
0.357143
false
0
0
0.178571
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fd112095142c2ef5376873cfe8699a09c077a666
821
py
Python
src/myrl/environments/environment.py
erwanlecarpentier/myrl
f123ccbae9099f2f02f63f50ff967665674f6602
[ "MIT" ]
null
null
null
src/myrl/environments/environment.py
erwanlecarpentier/myrl
f123ccbae9099f2f02f63f50ff967665674f6602
[ "MIT" ]
null
null
null
src/myrl/environments/environment.py
erwanlecarpentier/myrl
f123ccbae9099f2f02f63f50ff967665674f6602
[ "MIT" ]
null
null
null
""" Abstract environment class """ class Environment(object): def __init__(self, name, actions, gamma): self.name = name self.actions = actions self.gamma = gamma def get_state_dimension(self): return None def get_state_dtype(self): return None def get_state...
19.547619
52
0.538368
95
821
4.484211
0.389474
0.070423
0.131455
0.159624
0.164319
0.117371
0
0
0
0
0
0.00381
0.360536
821
41
53
20.02439
0.807619
0.175396
0
0.190476
0
0
0.026359
0
0
0
0
0
0
1
0.333333
false
0
0
0.190476
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fd1a1c998371fde3d1e2765d62893fb4bd776852
241
py
Python
test/test_gpu.py
tranlethaison/learnRL
bfb57dd8dad71ba8a944a37d953731614f4d682a
[ "MIT" ]
null
null
null
test/test_gpu.py
tranlethaison/learnRL
bfb57dd8dad71ba8a944a37d953731614f4d682a
[ "MIT" ]
2
2022-02-09T23:30:40.000Z
2022-02-10T00:19:24.000Z
test/test_gpu.py
tranlethaison/learnRL
bfb57dd8dad71ba8a944a37d953731614f4d682a
[ "MIT" ]
null
null
null
if __name__ == "__main__": print("> Test tensorflow-gpu") import tensorflow as tf is_gpu_available = tf.test.is_gpu_available() print(">> __version__: ", tf.__version__) print(">> is_gpu_available:", is_gpu_available)
24.1
51
0.680498
30
241
4.666667
0.433333
0.142857
0.4
0
0
0
0
0
0
0
0
0
0.182573
241
9
52
26.777778
0.71066
0
0
0
0
0
0.273109
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
fd3f4c79b6fe781e9cc859bfcb5512f2dcd09519
3,052
py
Python
nuke_stubs/nuke/nuke_classes/Undo.py
sisoe24/Nuke-Python-Stubs
79c53cf5cb7b38e15a34fd04f672b143d9d7dc85
[ "MIT" ]
1
2022-01-12T01:29:16.000Z
2022-01-12T01:29:16.000Z
nuke_stubs/nuke/nuke_classes/Undo.py
sisoe24/Nuke-Python-Stubs
79c53cf5cb7b38e15a34fd04f672b143d9d7dc85
[ "MIT" ]
null
null
null
nuke_stubs/nuke/nuke_classes/Undo.py
sisoe24/Nuke-Python-Stubs
79c53cf5cb7b38e15a34fd04f672b143d9d7dc85
[ "MIT" ]
null
null
null
from numbers import Number from typing import * import nuke from . import * class Undo(object): """ Undo """ def __hash__(self, ): """ Return hash(self). """ return None def __new__(self,*args, **kwargs): """ Create and return a new object. See hel...
20.761905
79
0.49443
320
3,052
4.653125
0.29375
0.154466
0.192075
0.056414
0.405641
0.303559
0.267293
0.077905
0.041639
0
0
0.001061
0.382372
3,052
147
80
20.761905
0.788859
0.273919
0
0.45098
0
0
0
0
0
0
0
0
0
1
0.45098
false
0
0.078431
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
fd42bd21963dd5ce8c26baf75ad9d2a5dd307449
153
py
Python
python_basics/5.data_conversion/string_to_integer.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
2
2022-03-12T07:53:23.000Z
2022-03-14T16:09:06.000Z
python_basics/5.data_conversion/string_to_integer.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
18
2022-03-13T19:45:48.000Z
2022-03-31T06:04:12.000Z
python_basics/5.data_conversion/string_to_integer.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
null
null
null
string_number = '15' # converting to integer # integer_number will contain 15 integer_number = int(string_number) print(integer_number) # Output: 15
17
35
0.771242
21
153
5.380952
0.52381
0.345133
0
0
0
0
0
0
0
0
0
0.046154
0.150327
153
8
36
19.125
0.823077
0.411765
0
0
0
0
0.023256
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5b99e416c0893d7458466bf034819c7aef1ad2a
485
py
Python
parsec/commands/workflows/import_workflow_dict.py
abretaud/parsec
8ebcafac34b5d6df45de4cecc882b129bb604170
[ "Apache-2.0" ]
null
null
null
parsec/commands/workflows/import_workflow_dict.py
abretaud/parsec
8ebcafac34b5d6df45de4cecc882b129bb604170
[ "Apache-2.0" ]
null
null
null
parsec/commands/workflows/import_workflow_dict.py
abretaud/parsec
8ebcafac34b5d6df45de4cecc882b129bb604170
[ "Apache-2.0" ]
null
null
null
import click from parsec.cli import pass_context, json_loads from parsec.decorators import custom_exception, dict_output, _arg_split @click.command('import_workflow_dict') @click.argument("workflow_dict", type=str) @pass_context @custom_exception @dict_output def cli(ctx, workflow_dict): """Imports a new workflo...
24.25
93
0.791753
66
485
5.560606
0.515152
0.163488
0.103542
0.13624
0
0
0
0
0
0
0
0
0.123711
485
19
94
25.526316
0.863529
0.195876
0
0
0
0
0.088472
0
0
0
0
0
0
1
0.1
false
0.2
0.5
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
b5be552beeb953dc9d307469b6e22b9bf77b85a1
47
py
Python
pypkgcreator/__init__.py
somtud/create-python-package
2ba02b193017d5a9c74be76afba5fa55afd6a7db
[ "MIT" ]
1
2020-02-05T02:33:47.000Z
2020-02-05T02:33:47.000Z
pypkgcreator/__init__.py
somtud/create-python-package
2ba02b193017d5a9c74be76afba5fa55afd6a7db
[ "MIT" ]
null
null
null
pypkgcreator/__init__.py
somtud/create-python-package
2ba02b193017d5a9c74be76afba5fa55afd6a7db
[ "MIT" ]
null
null
null
#!/usr/bin/env python __version__ = 'v0.0.1'
9.4
22
0.638298
8
47
3.25
1
0
0
0
0
0
0
0
0
0
0
0.075
0.148936
47
4
23
11.75
0.575
0.425532
0
0
0
0
0.230769
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
b5cf6da5b15d8cc5ce366a07b9ada499e62649c7
19,302
py
Python
S4/S4 Library/simulation/services/__init__.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/services/__init__.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/services/__init__.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
import argparse import functools import gc import time from services.tuning_managers import InstanceTuningManagers from sims4.resources import INSTANCE_TUNING_DEFINITIONS from sims4.tuning.instance_manager import TuningInstanceManager from sims4.tuning.tunable import Tunable, TunableReference import game_services impor...
31.23301
182
0.756968
2,454
19,302
5.504482
0.105134
0.059668
0.066775
0.075067
0.422712
0.363414
0.26525
0.197587
0.147468
0.111341
0
0.001068
0.175578
19,302
617
183
31.28363
0.847797
0
0
0.240741
0
0
0.022122
0.003368
0
0
0
0
0
1
0.263374
false
0.018519
0.053498
0.156379
0.576132
0.00823
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
b5d151f7b19c8b957b32d5fd7e2df9421caead4f
611
py
Python
EXERCICIOS/exercicios_curso_linkedin/Cap. 1 - Linguagem/01_codingstyle_resposta.py
raphael-d-cordeiro/Python_Public
56d0080393dab5f80ad650e27cb993006b17ac1b
[ "MIT" ]
null
null
null
EXERCICIOS/exercicios_curso_linkedin/Cap. 1 - Linguagem/01_codingstyle_resposta.py
raphael-d-cordeiro/Python_Public
56d0080393dab5f80ad650e27cb993006b17ac1b
[ "MIT" ]
1
2022-02-11T10:57:45.000Z
2022-02-11T10:57:45.000Z
data/arquivos_de_exercicios_python_avancado/Cap. 1 - Linguagem/01_codingstyle_resposta.py
uadson/pandas
3d57bcb674a6e00b113076816b4691f80dd800a3
[ "MIT" ]
null
null
null
# cada import deve ter a sua própria linha import sys import os # duas linhas em branco separam classes de outras funções class MinhaClasse(): def __init__(self): self.descricao = "Minha Classe" # dentro de uma classe, usamos uma linha em branco entre métodos def meu_metodo(self, arg1): p...
22.62963
70
0.692308
81
611
5.061728
0.654321
0.131707
0.112195
0
0
0
0
0
0
0
0
0.006424
0.235679
611
26
71
23.5
0.87152
0.400982
0
0.142857
0
0
0.094444
0
0
0
0
0.038462
0
1
0.214286
false
0.071429
0.142857
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
b5f59aa39ded7aad36f089e1d6e5fac7340745a5
21
py
Python
tests/__init__.py
zzw0929/my-flask
be1c6576a08c34e7adb12ad2ba1ca9bfce4638cc
[ "MIT" ]
null
null
null
tests/__init__.py
zzw0929/my-flask
be1c6576a08c34e7adb12ad2ba1ca9bfce4638cc
[ "MIT" ]
null
null
null
tests/__init__.py
zzw0929/my-flask
be1c6576a08c34e7adb12ad2ba1ca9bfce4638cc
[ "MIT" ]
null
null
null
__author__ = 'zhuzw'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
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
bd017409cf80eeee17b12d0a25d619a84f0123e9
24
py
Python
public/neumeeditor/views/__init__.py
jacobsanz97/cantus
37d139ae20972c36d4abb96a2a5ac5106b0c1b47
[ "MIT" ]
12
2015-01-08T14:34:55.000Z
2021-06-03T06:53:04.000Z
public/neumeeditor/views/__init__.py
jacobsanz97/cantus
37d139ae20972c36d4abb96a2a5ac5106b0c1b47
[ "MIT" ]
303
2015-01-14T17:10:32.000Z
2022-02-14T20:27:21.000Z
public/neumeeditor/views/__init__.py
jacobsanz97/cantus
37d139ae20972c36d4abb96a2a5ac5106b0c1b47
[ "MIT" ]
2
2019-10-07T21:21:27.000Z
2019-10-20T16:58:22.000Z
__author__ = 'afogarty'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
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
bd18533920fa417aa9e0bb93cad5398c3ce7698c
131
py
Python
backfill/urls.py
appasahebs/bzTakeHome
a746d22c149bf6d6c4c1cbe426611b6f8fd11df8
[ "Apache-2.0" ]
null
null
null
backfill/urls.py
appasahebs/bzTakeHome
a746d22c149bf6d6c4c1cbe426611b6f8fd11df8
[ "Apache-2.0" ]
null
null
null
backfill/urls.py
appasahebs/bzTakeHome
a746d22c149bf6d6c4c1cbe426611b6f8fd11df8
[ "Apache-2.0" ]
null
null
null
from django.urls import path from .views import BackfillView urlpatterns = [ path('', BackfillView.as_view(), name='list') ]
16.375
49
0.709924
16
131
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.160305
131
7
50
18.714286
0.836364
0
0
0
0
0
0.030534
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
bd1c63fec528872cacd462fc42303ff3a93dc4e8
111
py
Python
ex09/age_de_mon_chien.py
Nath39/Checkpoint00
22a9cc4a16698626a7d817f00404698b2dff22df
[ "MIT" ]
null
null
null
ex09/age_de_mon_chien.py
Nath39/Checkpoint00
22a9cc4a16698626a7d817f00404698b2dff22df
[ "MIT" ]
null
null
null
ex09/age_de_mon_chien.py
Nath39/Checkpoint00
22a9cc4a16698626a7d817f00404698b2dff22df
[ "MIT" ]
null
null
null
age = int(input ("Combien d'année à votre chien ?\n")) ageVrai = age*7 print (f"Votre chien a {ageVrai} ans.")
27.75
54
0.666667
20
111
3.7
0.8
0.27027
0
0
0
0
0
0
0
0
0
0.010753
0.162162
111
3
55
37
0.784946
0
0
0
0
0
0.54955
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd3be50fa4d1c2540aadec74501da28272cf3dff
694
py
Python
configs/paths_config.py
Svoka/pixel2style2pixel
266287fcc51e7a1a277ead828a455cccedb9de87
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
configs/paths_config.py
Svoka/pixel2style2pixel
266287fcc51e7a1a277ead828a455cccedb9de87
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
configs/paths_config.py
Svoka/pixel2style2pixel
266287fcc51e7a1a277ead828a455cccedb9de87
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
dataset_paths = { 'train_source': 'datasets/f2c/train_source', 'train_target': 'datasets/f2c/train_target', 'test_source': 'datasets/f2c/test_source', 'test_target': 'datasets/f2c/test_target', } model_paths = { 'stylegan_ffhq': 'pretrained_models/stylegan2-ffhq-config-f.pt', 'ir_se50': 'pretrained_mode...
38.555556
67
0.756484
90
694
5.455556
0.433333
0.228106
0.12831
0
0
0
0
0
0
0
0
0.023734
0.089337
694
17
68
40.823529
0.753165
0
0
0
0
0
0.784343
0.595273
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd52c2ba1b32af773d6bb5d1dcdcbcc622637b4d
166
py
Python
Lista04/ex007.py
Guilherme-Schwann/Listas-de-Exercicios-UFV-CCF-110
f306c8dc6385ee8c9580e687afa16a49ace68f95
[ "MIT" ]
2
2021-09-05T22:29:33.000Z
2021-09-09T00:13:16.000Z
Lista04/ex007.py
Guilherme-Schwann/Listas-de-Exercicios-UFV-CCF-110
f306c8dc6385ee8c9580e687afa16a49ace68f95
[ "MIT" ]
null
null
null
Lista04/ex007.py
Guilherme-Schwann/Listas-de-Exercicios-UFV-CCF-110
f306c8dc6385ee8c9580e687afa16a49ace68f95
[ "MIT" ]
null
null
null
#Ex.11 hora = str(input('Insira o valor hora (HH:MM): ')).split(':') min = int(hora[1]) min += int(hora[0]) * 60 print(f'Passaram-se {min} minutos desde as 00:00h.')
27.666667
61
0.620482
31
166
3.322581
0.806452
0.116505
0.194175
0
0
0
0
0
0
0
0
0.06993
0.138554
166
5
62
33.2
0.65035
0.03012
0
0
0
0
0.45
0
0
0
0
0
0
1
0
false
0.25
0
0
0
0.25
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
1
0
0
0
0
0
3
1fb8fae784e6af2dad112e1351e64596d5fa79ef
213
py
Python
history/models.py
lievertom/2020.2-Projeto-Kokama-Ensino
47d5f1a1b31badb4a4306339e7302e8b4ce7ba4c
[ "MIT" ]
null
null
null
history/models.py
lievertom/2020.2-Projeto-Kokama-Ensino
47d5f1a1b31badb4a4306339e7302e8b4ce7ba4c
[ "MIT" ]
null
null
null
history/models.py
lievertom/2020.2-Projeto-Kokama-Ensino
47d5f1a1b31badb4a4306339e7302e8b4ce7ba4c
[ "MIT" ]
null
null
null
from django.db import models class KokamaHistory(models.Model): history_title = models.CharField(max_length=50) history_text = models.TextField() def __str__(self): return self.history_title
23.666667
51
0.737089
27
213
5.518519
0.740741
0.161074
0
0
0
0
0
0
0
0
0
0.011429
0.178404
213
8
52
26.625
0.84
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
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
1
0
0
0
3
1fc259c5c2eb79169c07f999f857123a1c262f4c
258
py
Python
ch_python/def_tempconv.py
yehnan/rpi_book_yehnan
fbafcfce076677da441d65a3cf3b0073d65f77cc
[ "MIT" ]
3
2015-12-22T14:27:43.000Z
2021-03-13T01:24:18.000Z
ch_python/def_tempconv.py
KingBing/rpi_book_yehnan
fbafcfce076677da441d65a3cf3b0073d65f77cc
[ "MIT" ]
null
null
null
ch_python/def_tempconv.py
KingBing/rpi_book_yehnan
fbafcfce076677da441d65a3cf3b0073d65f77cc
[ "MIT" ]
2
2015-10-31T16:59:53.000Z
2018-01-23T09:36:25.000Z
#!/usr/bin/env python def ftoc(f): return (f - 32) * 5 / 9 def ctof(c): return c * (9 / 5) + 32 print("Celsius degree 55 is equal to Fahrenheit degree " + str(ctof(55))); print("Fahrenheit degree 55 is equal to Celsius degree " + str(ftoc(55)));
21.5
74
0.624031
44
258
3.659091
0.5
0.161491
0.124224
0.186335
0.21118
0
0
0
0
0
0
0.079208
0.217054
258
11
75
23.454545
0.717822
0.077519
0
0
0
0
0.40678
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
0.666667
0.333333
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
1fcf700aea12bb4357a1add43dd6673989912c45
478
py
Python
robotpose/__init__.py
OSU-AIMS/RoPE-S3D
0deed60b0c0b46324f9ce971bcf0b0b0af88ccf5
[ "Apache-2.0" ]
1
2021-05-17T17:35:01.000Z
2021-05-17T17:35:01.000Z
robotpose/__init__.py
OSU-AIMS/RoPE-S3D
0deed60b0c0b46324f9ce971bcf0b0b0af88ccf5
[ "Apache-2.0" ]
1
2021-07-27T23:49:33.000Z
2021-07-29T19:53:14.000Z
robotpose/__init__.py
OSU-AIMS/RoPE-S3D
0deed60b0c0b46324f9ce971bcf0b0b0af88ccf5
[ "Apache-2.0" ]
null
null
null
from .wizards import Wizard from .data import Dataset, DatasetInfo, AutomaticAnnotator from .simulation import Renderer, DatasetRenderer, RobotLookupCreator from .prediction import Predictor, LiveCamera from .paths import Paths from .prediction.analysis import Grapher from .prediction.synthetic import SyntheticPredicto...
31.866667
69
0.84728
53
478
7.622642
0.566038
0.10396
0
0
0
0
0
0
0
0
0
0
0.098326
478
14
70
34.142857
0.937355
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1ffc0b6654256c997e9694b1b660494e62b3947c
181
py
Python
Standings/urls.py
pawelad/BLM
06aeda7d8b628a73544e28f4ec2afecf0fcf6de6
[ "MIT" ]
1
2019-06-14T04:11:10.000Z
2019-06-14T04:11:10.000Z
Standings/urls.py
pawelad/BLM
06aeda7d8b628a73544e28f4ec2afecf0fcf6de6
[ "MIT" ]
null
null
null
Standings/urls.py
pawelad/BLM
06aeda7d8b628a73544e28f4ec2afecf0fcf6de6
[ "MIT" ]
1
2019-06-14T03:54:28.000Z
2019-06-14T03:54:28.000Z
from django.conf.urls import patterns, url from Standings import views urlpatterns = patterns( '', # ex: /standings/ url(r'^$', views.standings_index, name='index'), )
20.111111
52
0.674033
22
181
5.5
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.18232
181
9
53
20.111111
0.817568
0.082873
0
0
0
0
0.042424
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
950742364abc90733ef667d726a0cc4b3b9825a9
665
py
Python
acunetix/v11/db/tables/licenses.py
BenDerPan/DScaner
1552b1877185c08b0db3c48da4e5c3c601c49ce0
[ "MIT" ]
20
2017-11-09T01:47:56.000Z
2021-03-08T07:08:10.000Z
acunetix/v11/db/tables/licenses.py
BenDerPan/DScaner
1552b1877185c08b0db3c48da4e5c3c601c49ce0
[ "MIT" ]
null
null
null
acunetix/v11/db/tables/licenses.py
BenDerPan/DScaner
1552b1877185c08b0db3c48da4e5c3c601c49ce0
[ "MIT" ]
6
2017-11-09T01:48:01.000Z
2020-04-06T11:57:05.000Z
# uncompyle6 version 2.13.2 # Python bytecode 3.5 (3351) # Decompiled from: Python 3.5.3 (default, Jan 19 2017, 14:11:04) # [GCC 6.3.0 20170118] # Embedded file name: db\tables\licenses.py from sqlalchemy import * from sqlalchemy.orm import mapper from db.tables import metadata LicensesTable = Table('licenses', metada...
27.708333
90
0.711278
94
665
4.776596
0.574468
0.13363
0.093541
0
0
0
0
0
0
0
0
0.067395
0.174436
665
24
91
27.708333
0.750455
0.269173
0
0
0
0
0.066528
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.153846
0.769231
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
1f053dbde03604ab49c98fde1b068ae537407e59
1,104
py
Python
wmgraph/api/group.py
patrickatamaniuk/wmgraph
780026fe912b3ee8467443873f38afe42d71c40e
[ "MIT" ]
null
null
null
wmgraph/api/group.py
patrickatamaniuk/wmgraph
780026fe912b3ee8467443873f38afe42d71c40e
[ "MIT" ]
null
null
null
wmgraph/api/group.py
patrickatamaniuk/wmgraph
780026fe912b3ee8467443873f38afe42d71c40e
[ "MIT" ]
null
null
null
from .cache import memoized class MgraphConnectorGroupMixin: def list_groups(self, **kwargs): '''https://docs.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0''' url = f'/groups' search = kwargs.get('search') if search is not None: del kwargs['search'] ...
32.470588
92
0.644022
147
1,104
4.659864
0.333333
0.10219
0.132847
0.10219
0.283212
0.259854
0.243796
0.20438
0.110949
0.110949
0
0.002296
0.211051
1,104
33
93
33.454545
0.784156
0.10779
0
0
0
0
0.215686
0.177503
0
0
0
0
0
1
0.318182
false
0
0.045455
0.181818
0.727273
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
1f09f06ede308174cbcae25db55838a94f6ccf02
540
py
Python
scripts/quest/q22000e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/quest/q22000e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/quest/q22000e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# 22000 | Strange dream (Evan intro) sm.setSpeakerID(1013101) sm.sendNext("Hey, Evan. You up? What's with the dark circles under your eyes? Didn't sleep well? Huh? A strange dream? What was it about? Whoa? A dream about a dragon?") sm.sendSay("Muahahahahaha, a dragon? Are you serious? I don't know how to interpret dr...
49.090909
220
0.738889
99
540
4.030303
0.727273
0.06015
0
0
0
0
0
0
0
0
0
0.045356
0.142593
540
10
221
54
0.816415
0.066667
0
0
0
0.333333
0.76
0.096
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1f27746aa86e84c9940689154bfe9fd50c4d324b
757
py
Python
tpop/projet1/justine.py
justinemajor/gph
85b8e1c10892ba0f369b685e3442096de4cd4e63
[ "Apache-2.0" ]
null
null
null
tpop/projet1/justine.py
justinemajor/gph
85b8e1c10892ba0f369b685e3442096de4cd4e63
[ "Apache-2.0" ]
null
null
null
tpop/projet1/justine.py
justinemajor/gph
85b8e1c10892ba0f369b685e3442096de4cd4e63
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt noir = [71, 69, 69, 70, 73, 70, 75, 75, 74, 72, 72, 72, 67, 69, 76, 76, 77, 77, 74, 72, 79, 79, 71, 71, 75, 74, 74, 73, 72, 73, 74] bleu = [73, 72, 73, 71, 71, 76, 77, 74, 74, 73, 82, 79, 79, 70, 72, 72, 74, 72 ,72, 70, 70, 73, 71, 73, 72, 72, 73, 72, 71, 71, 70] ora...
39.842105
133
0.598415
155
757
2.922581
0.225806
0.06181
0.119205
0.086093
0
0
0
0
0
0
0
0.312195
0.187583
757
19
134
39.842105
0.42439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1f723973f4c0c46d099a21c790165bf694cc8a0e
77
py
Python
userena/contrib/umessages/signals.py
jdavidagudelo/django-userena-ce
970ca25ca367112625933bd61a0ba745b052692e
[ "BSD-3-Clause" ]
86
2018-03-09T22:24:39.000Z
2021-12-12T22:30:33.000Z
userena/contrib/umessages/signals.py
jdavidagudelo/django-userena-ce
970ca25ca367112625933bd61a0ba745b052692e
[ "BSD-3-Clause" ]
113
2018-02-25T12:24:13.000Z
2022-02-22T17:59:51.000Z
userena/contrib/umessages/signals.py
jdavidagudelo/django-userena-ce
970ca25ca367112625933bd61a0ba745b052692e
[ "BSD-3-Clause" ]
19
2018-08-16T18:13:48.000Z
2021-12-11T18:14:30.000Z
from django.dispatch import Signal # Arguments: "msg" email_sent = Signal()
15.4
34
0.753247
10
77
5.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.142857
77
4
35
19.25
0.863636
0.207792
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
1f79e19955cc3a00196d8245d2557fe447449f7b
393
py
Python
scato/ui/splash.py
michurin/scato
3f7ea5588514d5ed6344354d3aff121df008d707
[ "BSD-3-Clause" ]
1
2018-12-25T11:44:37.000Z
2018-12-25T11:44:37.000Z
scato/ui/splash.py
michurin/scato
3f7ea5588514d5ed6344354d3aff121df008d707
[ "BSD-3-Clause" ]
null
null
null
scato/ui/splash.py
michurin/scato
3f7ea5588514d5ed6344354d3aff121df008d707
[ "BSD-3-Clause" ]
null
null
null
splash='''bgcolor 0 0 0 color 0 1 0 jump .45 .43 left 35 scale .32 width .15 jump 0 1 iterate 60 begin draw 0 .7 iterate 7 begin draw 0.096441350201699999 -0.013433702204987999 scale 0.99371847379 right 3.27272727273 mixcolor 1 1 0 .012 end draw 0 -.7 iterate 3 begin draw 0.056730206001 -0.00790217776764 ...
17.863636
61
0.735369
71
393
4.070423
0.422535
0.069204
0.103806
0.089965
0.352941
0.352941
0.352941
0.352941
0.352941
0.352941
0
0.48254
0.198473
393
21
62
18.714286
0.434921
0
0
0.210526
0
0
0.964377
0.053435
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f8bf8a1e0a2ab6d968812c5a508565d0717772b
164
py
Python
python codes/triangle.py
doom3007/Hacktoberfest2020
7267a426c5fb83844b3da2df3c4c97dfdff05bab
[ "MIT" ]
1
2020-10-23T15:22:43.000Z
2020-10-23T15:22:43.000Z
python codes/triangle.py
doom3007/Hacktoberfest2020
7267a426c5fb83844b3da2df3c4c97dfdff05bab
[ "MIT" ]
null
null
null
python codes/triangle.py
doom3007/Hacktoberfest2020
7267a426c5fb83844b3da2df3c4c97dfdff05bab
[ "MIT" ]
null
null
null
# Lines count, changable. PYRAMID_HEIGHT = 6 WALL = "|" for line in range(1, PYRAMID_HEIGHT+1): print(WALL + "*" * line + " " * (PYRAMID_HEIGHT - line) + WALL)
32.8
68
0.628049
22
164
4.545455
0.590909
0.39
0
0
0
0
0
0
0
0
0
0.022901
0.20122
164
5
68
32.8
0.740458
0.140244
0
0
0
0
0.021429
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f962f4e0b82839d25b57fb3324fc6a6e66a662d
132
py
Python
messagebird/webhook.py
JornEngelbart/python-rest-api
bb22fe361f2a0876abbd26e5f74083bcd9668f55
[ "BSD-2-Clause" ]
null
null
null
messagebird/webhook.py
JornEngelbart/python-rest-api
bb22fe361f2a0876abbd26e5f74083bcd9668f55
[ "BSD-2-Clause" ]
1
2019-09-10T08:52:33.000Z
2019-09-10T08:52:33.000Z
messagebird/webhook.py
JornEngelbart/python-rest-api
bb22fe361f2a0876abbd26e5f74083bcd9668f55
[ "BSD-2-Clause" ]
null
null
null
from messagebird.base import Base class Webhook(Base): def __init__(self): self.url = None self.token = None
14.666667
33
0.636364
17
132
4.705882
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.280303
132
8
34
16.5
0.842105
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2f165fdc8e4a9dc8d4d65f6c0eaa9169bfa5eb21
1,143
py
Python
playground/jax_basic/test_pmap.py
yf225/alpa
a7b5f061537e260875c621a82e14265b1df64c5f
[ "Apache-2.0" ]
114
2022-03-02T20:38:16.000Z
2022-03-31T20:41:50.000Z
playground/jax_basic/test_pmap.py
yf225/alpa
a7b5f061537e260875c621a82e14265b1df64c5f
[ "Apache-2.0" ]
6
2022-03-09T22:04:50.000Z
2022-03-30T17:53:15.000Z
playground/jax_basic/test_pmap.py
yf225/alpa
a7b5f061537e260875c621a82e14265b1df64c5f
[ "Apache-2.0" ]
5
2022-03-05T12:04:31.000Z
2022-03-31T03:55:42.000Z
from functools import partial import jax from jax import lax import jax.numpy as jnp def debug_pmap(): @jax.pmap def func(x, w): return x @ w y = func(jnp.ones((2, 4)), jnp.ones((2, 4))) print(y, type(y)) def test_nested_pmap(): @partial(jax.pmap, axis_name='a0', in_axes=(0, None), out...
20.410714
73
0.544182
181
1,143
3.281768
0.303867
0.047138
0.040404
0.090909
0.111111
0
0
0
0
0
0
0.053988
0.286964
1,143
55
74
20.781818
0.674847
0.189851
0
0
0
0
0.015317
0
0
0
0
0
0
1
0.241379
false
0
0.137931
0.103448
0.517241
0.103448
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
2f4e00b10f2f6500ebcb7cc00b6449e9bc3f5719
279
py
Python
calories/filters.py
DHEERAJPRAKASH/CALORIE_TRACKER
b45f5aace4cdd539ebe9c2990133ae6d3b7391d1
[ "MIT" ]
null
null
null
calories/filters.py
DHEERAJPRAKASH/CALORIE_TRACKER
b45f5aace4cdd539ebe9c2990133ae6d3b7391d1
[ "MIT" ]
null
null
null
calories/filters.py
DHEERAJPRAKASH/CALORIE_TRACKER
b45f5aace4cdd539ebe9c2990133ae6d3b7391d1
[ "MIT" ]
null
null
null
import django_filters from django_filters import CharFilter from .models import * class FoodFilter(django_filters.FilterSet): food_name = CharFilter(field_name = 'name' , lookup_expr = 'icontains',label='search food items') class Meta: model = Food fields = ['food_name']
27.9
98
0.767025
36
279
5.75
0.583333
0.188406
0
0
0
0
0
0
0
0
0
0
0.136201
279
9
99
31
0.858921
0
0
0
0
0
0.139785
0
0
0
0
0
0
1
0
false
0
0.375
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
0
0
0
0
0
0
1
0
1
0
0
3
2f6244b35b7a2075be7229011d561a8fcff2ef5e
356
py
Python
python/decorator/vanishing_ret_fixed.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
python/decorator/vanishing_ret_fixed.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
python/decorator/vanishing_ret_fixed.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
def debug_transformer(func): def wrapper(): print(f'Function `{func.__name__}` called') ret = func() print(f'Function `{func.__name__}` finished') return ret return wrapper @debug_transformer def walkout(): print('Bye Felical') @debug_transformer def get_bob(): retur...
16.181818
53
0.632022
43
356
4.930233
0.418605
0.226415
0.132075
0.169811
0.207547
0
0
0
0
0
0
0
0.238764
356
22
54
16.181818
0.782288
0
0
0.133333
0
0
0.229692
0
0
0
0
0
0
1
0.266667
false
0
0
0.066667
0.466667
0.266667
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2f765e3260be3b0ceee9e05b392997103fae85a7
1,332
py
Python
keeper/api/auth.py
lsst-sqre/ltd-keeper
c658bcce726764e7416a8a386b418e83912b0f32
[ "Apache-2.0", "MIT" ]
5
2016-05-16T18:46:26.000Z
2019-07-08T15:16:41.000Z
keeper/api/auth.py
lsst-sqre/ltd-keeper
c658bcce726764e7416a8a386b418e83912b0f32
[ "Apache-2.0", "MIT" ]
46
2016-02-18T16:54:36.000Z
2022-03-25T19:43:45.000Z
keeper/api/auth.py
lsst-sqre/ltd-keeper
c658bcce726764e7416a8a386b418e83912b0f32
[ "Apache-2.0", "MIT" ]
4
2016-08-20T23:10:07.000Z
2022-03-25T19:52:09.000Z
"""Authentication routes.""" from __future__ import annotations from flask import g from flask_accept import accept_fallback from keeper.api import api from keeper.auth import password_auth from keeper.logutils import log_route from ._models import AuthTokenResponse @api.route("/token") @accept_fallback @log_rout...
23.368421
76
0.665165
161
1,332
5.397516
0.571429
0.034522
0.029919
0
0
0
0
0
0
0
0
0.046078
0.234234
1,332
56
77
23.785714
0.805882
0.591592
0
0
0
0
0.013889
0
0
0
0
0
0
1
0.076923
true
0.153846
0.538462
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
2f8496cee69b1afae722d443b6f2e0614aea55e0
378
py
Python
mex/apps.py
coblo/mex
d000a5e648d75d752abc3d6f5d099b9377a33c48
[ "BSD-3-Clause" ]
5
2018-08-06T07:09:51.000Z
2020-02-22T05:21:10.000Z
mex/apps.py
coblo/mex
d000a5e648d75d752abc3d6f5d099b9377a33c48
[ "BSD-3-Clause" ]
15
2018-03-23T15:40:05.000Z
2021-06-10T17:27:00.000Z
mex/apps.py
coblo/mex
d000a5e648d75d752abc3d6f5d099b9377a33c48
[ "BSD-3-Clause" ]
4
2019-06-13T21:43:09.000Z
2021-04-03T05:09:11.000Z
# -*- coding: utf-8 -*- from django.conf import settings from django.apps import AppConfig from django.contrib.admin import AdminSite class MexConfig(AppConfig): name = "mex" verbose_name = settings.MEX_BRAND def ready(self): AdminSite.site_title = settings.MEX_BRAND AdminSite.site_heade...
23.625
50
0.708995
47
378
5.553191
0.553191
0.114943
0.183908
0.191571
0
0
0
0
0
0
0
0.003311
0.201058
378
15
51
25.2
0.860927
0.055556
0
0
0
0
0.008451
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.7
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
85cea27f2ef2837c45056c5ab3c34da429c3e5cb
1,948
py
Python
src/tanuki/database/adapter/query/query_compiler.py
M-J-Murray/tanuki
cfd0dec1003651156e8d34eae191898b66765bc7
[ "BSD-3-Clause" ]
null
null
null
src/tanuki/database/adapter/query/query_compiler.py
M-J-Murray/tanuki
cfd0dec1003651156e8d34eae191898b66765bc7
[ "BSD-3-Clause" ]
null
null
null
src/tanuki/database/adapter/query/query_compiler.py
M-J-Murray/tanuki
cfd0dec1003651156e8d34eae191898b66765bc7
[ "BSD-3-Clause" ]
null
null
null
from __future__ import annotations from typing import Any, Generic, TYPE_CHECKING, TypeVar, Union T = TypeVar("T") from tanuki.data_store.query import Query if TYPE_CHECKING: from tanuki.data_store.query import ( AndGroupQuery, AndQuery, EqualsQuery, GreaterEqualQuery, Gr...
29.074627
76
0.661704
184
1,948
6.918478
0.271739
0.173606
0.224666
0.263943
0.248233
0.047133
0
0
0
0
0
0
0.237166
1,948
66
77
29.515152
0.856662
0
0
0.25
0
0
0.087269
0
0
0
0
0
0
1
0.270833
false
0
0.083333
0
0.416667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
85dcf826f0260e28a7622c2de0dc977aab144dab
4,673
py
Python
coole/settings.py
ahDDD/jwt-template
a342995fc1d63195696698dba8ea79445c5e28dc
[ "MIT" ]
1
2017-11-14T07:54:31.000Z
2017-11-14T07:54:31.000Z
coole/settings.py
ahDDD/jwt-template
a342995fc1d63195696698dba8ea79445c5e28dc
[ "MIT" ]
null
null
null
coole/settings.py
ahDDD/jwt-template
a342995fc1d63195696698dba8ea79445c5e28dc
[ "MIT" ]
null
null
null
""" Django settings for coole project. Generated by 'django-admin startproject' using Django 1.11.4. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os i...
27.168605
99
0.686925
523
4,673
5.986616
0.405354
0.066432
0.043437
0.055893
0.206324
0.16129
0.087512
0.087512
0.039285
0
0
0.017816
0.171196
4,673
171
100
27.327485
0.790602
0.228761
0
0.018349
1
0.009174
0.52742
0.417739
0
0
0
0
0
1
0
false
0.06422
0.018349
0
0.018349
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
85dd8f0d7cfdb3a74d5605ab400ad21a52846b43
199
py
Python
sparse/repos/pyomeca/tutorials/setup.py
yuvipanda/mybinder.org-analytics
7b654e3e21dea790505c626d688aa15640ea5808
[ "BSD-3-Clause" ]
1
2021-03-18T23:33:35.000Z
2021-03-18T23:33:35.000Z
sparse/repos/pyomeca/tutorials/setup.py
yuvipanda/mybinder.org-analytics
7b654e3e21dea790505c626d688aa15640ea5808
[ "BSD-3-Clause" ]
17
2020-01-28T22:33:27.000Z
2021-06-10T21:05:49.000Z
sparse/repos/pyomeca/tutorials/setup.py
yuvipanda/mybinder.org-analytics
7b654e3e21dea790505c626d688aa15640ea5808
[ "BSD-3-Clause" ]
1
2021-07-17T12:55:22.000Z
2021-07-17T12:55:22.000Z
from setuptools import setup setup(name='tutorials', version='POC', url='https://github.com/pyomeca/tutorials.git', author='pyomeca', packages=['src'], zip_safe=False)
22.111111
53
0.633166
23
199
5.434783
0.869565
0
0
0
0
0
0
0
0
0
0
0
0.20603
199
8
54
24.875
0.791139
0
0
0
0
0
0.311558
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
85eb772d91b3dca6eece43f48ae43cf121086023
700
py
Python
GLM/source/plugins/minimal_plugin.py
tomsimonart/LMPM
4b4f307a9e0089714068eebbebab063ec02ff42f
[ "MIT" ]
1
2018-02-20T10:40:53.000Z
2018-02-20T10:40:53.000Z
GLM/source/plugins/minimal_plugin.py
tomsimonart/LMPM
4b4f307a9e0089714068eebbebab063ec02ff42f
[ "MIT" ]
null
null
null
GLM/source/plugins/minimal_plugin.py
tomsimonart/LMPM
4b4f307a9e0089714068eebbebab063ec02ff42f
[ "MIT" ]
null
null
null
from ..libs.pluginbase import PluginBase class Plugin(PluginBase): def __init__(self, start, *args): super().__init__(start, *args) def _plugin_info(self): """Required informations about the plugin """ self.version = "0.11.0" self.data_dir = "minimal" def _make_lay...
23.333333
50
0.574286
82
700
4.695122
0.609756
0.046753
0
0
0
0
0
0
0
0
0
0.008529
0.33
700
29
51
24.137931
0.812367
0.322857
0
0.230769
0
0
0.032338
0
0
0
0
0
0
1
0.384615
false
0.230769
0.076923
0
0.538462
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
c82011efd3af0e48ac97cdac9027be85b6981267
422
py
Python
test.py
rykumar13/news-scrapper-backend
8ff370b157558a00940daab767a6e803aa140bc3
[ "MIT" ]
null
null
null
test.py
rykumar13/news-scrapper-backend
8ff370b157558a00940daab767a6e803aa140bc3
[ "MIT" ]
null
null
null
test.py
rykumar13/news-scrapper-backend
8ff370b157558a00940daab767a6e803aa140bc3
[ "MIT" ]
null
null
null
import requests def main(): # url = "http://127.0.0.1:5000/" url = "http://localhost:8080/" raw_response = requests.get(url=url, auth=('api_username', 'api_password')) if raw_response.status_code == 200: result = raw_response.json() print(result) else: print(st...
23.444444
80
0.590047
52
422
4.461538
0.576923
0.237069
0.146552
0.181034
0
0
0
0
0
0
0
0.053968
0.253555
422
17
81
24.823529
0.68254
0.07109
0
0
0
0
0.152815
0
0
0
0
0
0
1
0.090909
false
0.090909
0.090909
0
0.181818
0.181818
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
1
0
0
0
0
0
3
c82278d93b475dc02da31031a55404305fff9fde
838
py
Python
config.py
nowindxdw/flask_base
44963513a3945ebf6cd7c4dcd7fbd67d6d8c5641
[ "MIT" ]
null
null
null
config.py
nowindxdw/flask_base
44963513a3945ebf6cd7c4dcd7fbd67d6d8c5641
[ "MIT" ]
2
2020-04-22T11:26:13.000Z
2020-04-22T11:26:20.000Z
config.py
nowindxdw/flask_base
44963513a3945ebf6cd7c4dcd7fbd67d6d8c5641
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 import os basedir = os.path.abspath(os.path.dirname(__file__)) BASEDIR = basedir DEBUG = False SECRET_KEY = 'This is a secret key forexample' # not end with else throw AttributeError: 'tuple' object has no attribute 'drivername' SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:r...
34.916667
98
0.745823
120
838
5.075
0.541667
0.032841
0.041051
0.049261
0.272578
0.272578
0.272578
0.272578
0.16092
0.16092
0
0.052349
0.110979
838
23
99
36.434783
0.765101
0.180191
0
0
0
0.25
0.4757
0.403535
0
0
0
0
0
1
0
false
0.25
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c85919c75fb233d56c140ee68dd8b21ed3c9c603
48
py
Python
game_summary/__init__.py
ch4zm/blaseball-game-summary
7080060b683a5f9e3018dc6a24f38520ac1b5322
[ "MIT" ]
null
null
null
game_summary/__init__.py
ch4zm/blaseball-game-summary
7080060b683a5f9e3018dc6a24f38520ac1b5322
[ "MIT" ]
null
null
null
game_summary/__init__.py
ch4zm/blaseball-game-summary
7080060b683a5f9e3018dc6a24f38520ac1b5322
[ "MIT" ]
null
null
null
_program = "game-summary" __version__ = "0.7.1"
16
25
0.6875
7
48
4
1
0
0
0
0
0
0
0
0
0
0
0.071429
0.125
48
2
26
24
0.595238
0
0
0
0
0
0.354167
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
c074d412fc8a1d5d58c3b3b58ede292b4ff5977a
106
py
Python
packages/core/minos-microservice-networks/minos/networks/brokers/handlers/__init__.py
bhardwajRahul/minos-python
bad7a280ad92680abdeab01d1214688279cf6316
[ "MIT" ]
247
2022-01-24T14:55:30.000Z
2022-03-25T12:06:17.000Z
packages/core/minos-microservice-networks/minos/networks/brokers/handlers/__init__.py
bhardwajRahul/minos-python
bad7a280ad92680abdeab01d1214688279cf6316
[ "MIT" ]
168
2022-01-24T14:54:31.000Z
2022-03-31T09:31:09.000Z
packages/core/minos-microservice-networks/minos/networks/brokers/handlers/__init__.py
bhardwajRahul/minos-python
bad7a280ad92680abdeab01d1214688279cf6316
[ "MIT" ]
21
2022-02-06T17:25:58.000Z
2022-03-27T04:50:29.000Z
from .impl import ( BrokerHandler, ) from .ports import ( BrokerHandlerService, BrokerPort, )
13.25
25
0.679245
9
106
8
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.235849
106
7
26
15.142857
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c0afe3d82939145f55397bb990ca158a4ca03eaa
245
py
Python
kaldi/lm/__init__.py
mxmpl/pykaldi
0570307138c5391cc47b019450d08bcb9686dd98
[ "Apache-2.0" ]
916
2017-11-22T19:33:36.000Z
2022-03-31T11:51:58.000Z
kaldi/lm/__init__.py
mxmpl/pykaldi
0570307138c5391cc47b019450d08bcb9686dd98
[ "Apache-2.0" ]
268
2018-01-16T22:06:45.000Z
2022-03-29T03:24:41.000Z
kaldi/lm/__init__.py
mxmpl/pykaldi
0570307138c5391cc47b019450d08bcb9686dd98
[ "Apache-2.0" ]
260
2018-01-23T18:39:40.000Z
2022-03-24T08:17:39.000Z
from ._arpa_file_parser import ArpaParseOptions from ._arpa_lm_compiler import * from ._const_arpa_lm import * from ._kaldi_rnnlm import * __all__ = [name for name in dir() if name[0] != '_' and not name.endswith('Base')]
27.222222
47
0.689796
34
245
4.5
0.647059
0.104575
0
0
0
0
0
0
0
0
0
0.005208
0.216327
245
8
48
30.625
0.791667
0
0
0
0
0
0.020408
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c0d76afbeb18534f545f8a210cdfffac6ae856d9
1,908
py
Python
webfrontend/shadowsocks/models.py
josephwuzw/shadowsocks
80242ecb072c50aff3fe8afdd1b84f9dda2607f2
[ "MIT" ]
null
null
null
webfrontend/shadowsocks/models.py
josephwuzw/shadowsocks
80242ecb072c50aff3fe8afdd1b84f9dda2607f2
[ "MIT" ]
null
null
null
webfrontend/shadowsocks/models.py
josephwuzw/shadowsocks
80242ecb072c50aff3fe8afdd1b84f9dda2607f2
[ "MIT" ]
null
null
null
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create and delete the table # Feel free to rename...
53
247
0.717505
268
1,908
5.011194
0.485075
0.058079
0.055845
0.058079
0.093075
0.093075
0.064036
0
0
0
0
0.029174
0.15566
1,908
35
248
54.514286
0.804469
0.276205
0
0
1
0.045455
0.10146
0
0
0
0
0
0
1
0.045455
false
0.136364
0.136364
0.045455
0.909091
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
c0e4b2428ec8b5aaa221ddfac1097e233fd19f71
1,411
py
Python
buybacks2/management/commands/buybacks_load_types.py
hullwarning/aa-buybacks
af7353578a543860d70636dfbf48886478762297
[ "MIT" ]
1
2021-11-25T00:28:20.000Z
2021-11-25T00:28:20.000Z
buybacks2/management/commands/buybacks_load_types.py
hullwarning/aa-buybacks
af7353578a543860d70636dfbf48886478762297
[ "MIT" ]
null
null
null
buybacks2/management/commands/buybacks_load_types.py
hullwarning/aa-buybacks
af7353578a543860d70636dfbf48886478762297
[ "MIT" ]
null
null
null
from django.core.management import call_command from django.core.management.base import BaseCommand from ... import __title__ from ...constants import ( EVE_CATEGORY_ID_ASTEROID, EVE_CATEGORY_ID_CHARGE, EVE_CATEGORY_ID_COMMODITY, EVE_CATEGORY_ID_DRONE, EVE_CATEGORY_ID_FIGHTER, EVE_CATEGORY_ID_M...
30.021277
61
0.63005
157
1,411
5.11465
0.280255
0.336239
0.291407
0.179328
0.428394
0.313823
0.087173
0
0
0
0
0.000987
0.282069
1,411
46
62
30.673913
0.791708
0
0
0.214286
0
0
0.139617
0.015592
0
0
0
0
0
1
0.02381
false
0
0.095238
0
0.166667
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
c0e8b537f4f63a290f4a9a1790abfa17a498ca69
3,547
py
Python
att_app/migrations/0001_initial.py
tunir27/django-Attendance
4075c93bce56f02b06de126349bcc63294e07f0b
[ "MIT" ]
3
2019-07-05T16:03:39.000Z
2019-11-06T07:20:29.000Z
att_app/migrations/0001_initial.py
tunir27/django-Attendance
4075c93bce56f02b06de126349bcc63294e07f0b
[ "MIT" ]
6
2020-06-05T17:53:31.000Z
2021-09-07T23:50:09.000Z
att_app/migrations/0001_initial.py
tunir27/django-Attendance
4075c93bce56f02b06de126349bcc63294e07f0b
[ "MIT" ]
3
2018-04-30T15:09:04.000Z
2018-12-15T12:45:14.000Z
# Generated by Django 2.0.1 on 2018-02-10 08:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
64.490909
146
0.64618
446
3,547
4.955157
0.190583
0.09457
0.094118
0.111765
0.772851
0.745701
0.715837
0.672851
0.588688
0.588688
0
0.020379
0.211446
3,547
54
147
65.685185
0.769753
0.012687
0
0.531915
1
0
0.187143
0
0
0
0
0
0
1
0
false
0
0.06383
0
0.148936
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c0fa83b8f7c3529dbae8f9fc43fc846bfb288a84
576
py
Python
oscar_mws/admin.py
ButchershopCreative/django-oscar-mws
582adc78f59578dbdf83d3ac145abc6bfc4a65ca
[ "BSD-3-Clause" ]
12
2015-03-16T03:45:59.000Z
2021-03-30T10:58:46.000Z
oscar_mws/admin.py
ButchershopCreative/django-oscar-mws
582adc78f59578dbdf83d3ac145abc6bfc4a65ca
[ "BSD-3-Clause" ]
3
2016-01-05T17:45:13.000Z
2019-04-27T12:01:53.000Z
oscar_mws/admin.py
ButchershopCreative/django-oscar-mws
582adc78f59578dbdf83d3ac145abc6bfc4a65ca
[ "BSD-3-Clause" ]
20
2015-04-10T19:17:08.000Z
2021-07-27T03:53:13.000Z
from django.contrib import admin from django.db.models import get_model admin.site.register(get_model("oscar_mws", "FeedSubmission")) admin.site.register(get_model("oscar_mws", "FeedReport")) admin.site.register(get_model("oscar_mws", "FeedResult")) admin.site.register(get_model("oscar_mws", "AmazonProfile")) admin....
41.142857
67
0.795139
76
576
5.802632
0.276316
0.163265
0.30839
0.362812
0.598639
0.598639
0.598639
0
0
0
0
0
0.046875
576
13
68
44.307692
0.803279
0
0
0
0
0
0.328125
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
c0fa9e060487216ad97f6c75eade6ec8e892a45e
560
py
Python
qkoubot/validators/database_validate.py
pddg/qkouserver
4f696ce5198196ea79dc0d25a30cb22230342ca9
[ "MIT" ]
null
null
null
qkoubot/validators/database_validate.py
pddg/qkouserver
4f696ce5198196ea79dc0d25a30cb22230342ca9
[ "MIT" ]
null
null
null
qkoubot/validators/database_validate.py
pddg/qkouserver
4f696ce5198196ea79dc0d25a30cb22230342ca9
[ "MIT" ]
null
null
null
import os from static import SQLITE_DIR_PATH, USE_MYSQL, MYSQL_USERNAME, MYSQL_PASSWORD, MYSQL_HOST, MYSQL_DATABASE_NAME def db_path_validate(): assert os.path.exists(SQLITE_DIR_PATH), "{path} is not exists.".format(path=SQLITE_DIR_PATH) if USE_MYSQL: assert MYSQL_USERNAME is not None, "MYSQL_USERNAME...
46.666667
110
0.753571
88
560
4.511364
0.284091
0.11335
0.09068
0.141058
0.256927
0
0
0
0
0
0
0
0.176786
560
11
111
50.909091
0.861171
0
0
0
0
0
0.239286
0
0
0
0
0
0.555556
1
0.111111
true
0.222222
0.222222
0
0.333333
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
1
0
0
1
1
0
0
0
0
0
3
8d06e7177ea9a7c849a2b9ba4129a0f94b5fcd58
414
py
Python
formats/ycd/__init__.py
Adobe12327/Sollumz
783e6d5d9f90ec455100f3d75e97a7d5d52fc534
[ "MIT" ]
131
2020-12-13T14:05:06.000Z
2022-03-27T13:33:33.000Z
formats/ycd/__init__.py
Adobe12327/Sollumz
783e6d5d9f90ec455100f3d75e97a7d5d52fc534
[ "MIT" ]
163
2021-03-17T01:06:16.000Z
2022-03-31T22:51:19.000Z
formats/ycd/__init__.py
Adobe12327/Sollumz
783e6d5d9f90ec455100f3d75e97a7d5d52fc534
[ "MIT" ]
61
2020-12-20T04:21:04.000Z
2022-03-19T11:11:52.000Z
if "bpy" in locals(): import importlib importlib.reload(Animation) importlib.reload(AnimSequence) importlib.reload(Channel) importlib.reload(Clip) importlib.reload(ClipDictionary) importlib.reload(utils) else: from . import Animation from . import AnimSequence from . import Chann...
24.352941
36
0.707729
45
414
6.511111
0.333333
0.307167
0
0
0
0
0
0
0
0
0
0
0.219807
414
17
37
24.352941
0.907121
0
0
0
0
0
0.007229
0
0
0
0
0
0
1
0
true
0
0.875
0
0.875
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2395ad0611ea7355fec87af01c91edfbfa51bd90
767
py
Python
katas/kyu_5/The_Hashtag_Generator.py
dusadamey/CodeWars
386de2427c8a590fc2e65adf979658e817dd131a
[ "MIT" ]
null
null
null
katas/kyu_5/The_Hashtag_Generator.py
dusadamey/CodeWars
386de2427c8a590fc2e65adf979658e817dd131a
[ "MIT" ]
null
null
null
katas/kyu_5/The_Hashtag_Generator.py
dusadamey/CodeWars
386de2427c8a590fc2e65adf979658e817dd131a
[ "MIT" ]
1
2021-10-30T15:45:40.000Z
2021-10-30T15:45:40.000Z
# https://www.codewars.com/kata/52449b062fb80683ec000024/ ''' Instructions : The marketing team is spending way too much time typing in hashtags. Let's help them with our own Hashtag Generator! Here's the deal: It must start with a hashtag (#). All words must have their first letter capitalized. If the final resul...
30.68
95
0.661017
107
767
4.728972
0.691589
0.035573
0.047431
0.067194
0
0
0
0
0
0
0
0.043253
0.246415
767
24
96
31.958333
0.83218
0.82399
0
0
0
0
0.007937
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
0
0
0
3
23b562db303f33f5519cce9cb078688118bb1370
146
py
Python
example.py
papamoose/nvidia-ml-py
3cf4c527adbd091dadf09ad0e8033049d896e43d
[ "Unlicense" ]
null
null
null
example.py
papamoose/nvidia-ml-py
3cf4c527adbd091dadf09ad0e8033049d896e43d
[ "Unlicense" ]
null
null
null
example.py
papamoose/nvidia-ml-py
3cf4c527adbd091dadf09ad0e8033049d896e43d
[ "Unlicense" ]
null
null
null
#!/usr/bin/python3 import nvidia_smi import json mydict = nvidia_smi.JsonDeviceQuery() # Example print JSON print(json.dumps(mydict, indent=2))
16.222222
37
0.773973
21
146
5.285714
0.666667
0.162162
0
0
0
0
0
0
0
0
0
0.015385
0.109589
146
8
38
18.25
0.838462
0.246575
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
23b6ac2a2e3d54954d44ac0cf8f8d5b657b67aea
2,343
py
Python
utests/cfg_up.py
georgsp/mdmTerminal2
50255ff72ec35d6a7d567f0c15d02d82a0476670
[ "Apache-2.0", "MIT" ]
24
2018-08-28T10:02:56.000Z
2021-12-27T15:10:16.000Z
utests/cfg_up.py
georgsp/mdmTerminal2
50255ff72ec35d6a7d567f0c15d02d82a0476670
[ "Apache-2.0", "MIT" ]
14
2018-11-10T15:28:57.000Z
2021-01-22T23:17:14.000Z
utests/cfg_up.py
georgsp/mdmTerminal2
50255ff72ec35d6a7d567f0c15d02d82a0476670
[ "Apache-2.0", "MIT" ]
10
2018-10-30T14:28:32.000Z
2021-01-22T05:30:47.000Z
import json import unittest import run from lib.tools import config_updater def dummy(*_, **__): pass def new_updater(): return config_updater.ConfigUpdater(CFG(), dummy) def CFG(): return run.get_cfg() class ConfigUpdater(unittest.TestCase): ADD_5 = {'ip_server': '', 'ip': 1, 'two__': '2', 'th...
32.541667
107
0.647034
302
2,343
4.764901
0.218543
0.135511
0.198749
0.198749
0.706741
0.670605
0.599027
0.599027
0.462126
0.355803
0
0.021996
0.204439
2,343
71
108
33
0.75
0
0
0.381818
0
0
0.106274
0.07213
0
0
0
0
0.436364
1
0.181818
false
0.018182
0.072727
0.036364
0.345455
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
23ba75eb8a8e4e2cb27a20ba3d20aca8e6dd7933
855
py
Python
fungit/style/cursor.py
zlj-zz/pyzgit
aa581de6cddeccb3825da68abb2873c267a1972f
[ "MIT" ]
null
null
null
fungit/style/cursor.py
zlj-zz/pyzgit
aa581de6cddeccb3825da68abb2873c267a1972f
[ "MIT" ]
1
2021-11-18T07:37:33.000Z
2021-11-19T03:13:06.000Z
fungit/style/cursor.py
zlj-zz/pyzgit
aa581de6cddeccb3825da68abb2873c267a1972f
[ "MIT" ]
null
null
null
class Cursor: """Class with collection of cursor movement functions: .t[o](line, column) | .r[ight](columns) | .l[eft](columns) | .u[p](lines) | .d[own](lines) | .save() | .restore()""" @staticmethod def to(line: int, col: int) -> str: # * Move cursor to line, column return "\033[{};{}f".fo...
26.71875
175
0.54269
115
855
4.034783
0.408696
0.161638
0.103448
0.12931
0.146552
0
0
0
0
0
0
0.033871
0.274854
855
31
176
27.580645
0.714516
0.292398
0
0.217391
0
0
0.092127
0
0
0
0
0
0
1
0.217391
false
0
0
0.217391
0.782609
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
23c04079521f59dba7d3c370b83282b6a521dca6
814
py
Python
Robotix/apps/miscellaneous/models.py
Robotix/rbtxportal
3a63f8d90adee3b7adb7d203959fbf4ad5d9488b
[ "BSD-3-Clause" ]
null
null
null
Robotix/apps/miscellaneous/models.py
Robotix/rbtxportal
3a63f8d90adee3b7adb7d203959fbf4ad5d9488b
[ "BSD-3-Clause" ]
null
null
null
Robotix/apps/miscellaneous/models.py
Robotix/rbtxportal
3a63f8d90adee3b7adb7d203959fbf4ad5d9488b
[ "BSD-3-Clause" ]
null
null
null
from django.db import models class Country(models.Model): name = models.CharField(max_length=20) class Meta: verbose_name_plural = 'Countries' def __str__(self): return self.name class State(models.Model): name = models.CharField(max_length=20) country = models.ForeignKey(Co...
19.380952
45
0.632678
92
814
5.358696
0.369565
0.121704
0.146045
0.194726
0.411765
0.411765
0.363083
0.166329
0
0
0
0.015177
0.271499
814
41
46
19.853659
0.816189
0
0
0.344828
0
0
0.050431
0
0
0
0
0
0
1
0.137931
false
0
0.034483
0.137931
0.655172
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
23d3226025eab3cc78e5f41a6c177cf76d28aabe
319
py
Python
core/src/autogluon/core/searcher/bayesopt/tuning_algorithms/defaults.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
4,462
2019-12-09T17:41:07.000Z
2022-03-31T22:00:41.000Z
core/src/autogluon/core/searcher/bayesopt/tuning_algorithms/defaults.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
1,408
2019-12-09T17:48:59.000Z
2022-03-31T20:24:12.000Z
core/src/autogluon/core/searcher/bayesopt/tuning_algorithms/defaults.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
623
2019-12-10T02:04:18.000Z
2022-03-20T17:11:01.000Z
from .bo_algorithm_components import LBFGSOptimizeAcquisition from ..models.meanstd_acqfunc_impl import EIAcquisitionFunction DEFAULT_ACQUISITION_FUNCTION = EIAcquisitionFunction DEFAULT_LOCAL_OPTIMIZER_CLASS = LBFGSOptimizeAcquisition DEFAULT_NUM_INITIAL_CANDIDATES = 250 DEFAULT_NUM_INITIAL_RANDOM_EVALUATIONS = 3
31.9
63
0.902821
33
319
8.242424
0.727273
0.205882
0.125
0
0
0
0
0
0
0
0
0.013514
0.0721
319
9
64
35.444444
0.905405
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
23ec527f8309f3918a5d887e84159b8db5b61707
1,812
py
Python
python/tvm/autotvm/tuner/sampler.py
ryujaehun/chameleon
e9f480ece508e05eae7698d621aa7bfd2dc63221
[ "Apache-2.0" ]
1
2020-03-28T12:41:16.000Z
2020-03-28T12:41:16.000Z
python/tvm/autotvm/tuner/sampler.py
ryujaehun/chameleon
e9f480ece508e05eae7698d621aa7bfd2dc63221
[ "Apache-2.0" ]
null
null
null
python/tvm/autotvm/tuner/sampler.py
ryujaehun/chameleon
e9f480ece508e05eae7698d621aa7bfd2dc63221
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
32.945455
86
0.706402
258
1,812
4.94186
0.507752
0.047059
0.020392
0.025098
0.265098
0.265098
0.22902
0.22902
0.22902
0.22902
0
0.002853
0.226269
1,812
54
87
33.555556
0.906562
0.804084
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
23f7b7c2e5e18537c17491379a91f772217fef0b
68
py
Python
model/MinionType.py
waniz/russian_ai_cup
66e58464125b318c8111ef5e7f9ce15d5859053c
[ "MIT" ]
null
null
null
model/MinionType.py
waniz/russian_ai_cup
66e58464125b318c8111ef5e7f9ce15d5859053c
[ "MIT" ]
null
null
null
model/MinionType.py
waniz/russian_ai_cup
66e58464125b318c8111ef5e7f9ce15d5859053c
[ "MIT" ]
null
null
null
class MinionType: ORC_WOODCUTTER = 0 FETISH_BLOWDART = 1
17
24
0.676471
8
68
5.5
1
0
0
0
0
0
0
0
0
0
0
0.040816
0.279412
68
3
25
22.666667
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
23fea4d23a960ef02861e971242d9b93dfc9236f
1,441
py
Python
pymecompress/codecs.py
python-microscopy/pymecompress
e8e168ad57e93b154583c6e750210d38094c9121
[ "BSD-3-Clause" ]
null
null
null
pymecompress/codecs.py
python-microscopy/pymecompress
e8e168ad57e93b154583c6e750210d38094c9121
[ "BSD-3-Clause" ]
6
2019-11-29T18:17:26.000Z
2021-08-19T22:16:40.000Z
pymecompress/codecs.py
python-microscopy/pymecompress
e8e168ad57e93b154583c6e750210d38094c9121
[ "BSD-3-Clause" ]
1
2019-11-29T18:31:48.000Z
2019-11-29T18:31:48.000Z
""" numcodecs compatible compression and quantization codecs. """ from . import bcl import numcodecs from numcodecs.abc import Codec class Huffman(Codec): codec_id='pymecompress.huffman' def encode(self, buf): return bcl.huffman_compress_buffer(buf) def decode(self, buf, out=None): ...
24.844828
80
0.619709
172
1,441
5
0.25
0.048837
0.055814
0.055814
0.411628
0.344186
0.290698
0.290698
0.1
0.1
0
0.009579
0.275503
1,441
57
81
25.280702
0.814176
0.039556
0
0.27027
0
0
0.056686
0
0
0
0
0
0
1
0.243243
false
0
0.081081
0.189189
0.648649
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
9b003180a658488eca11f7ef69a4ec1e6a0de17d
24
py
Python
payflowpro/__init__.py
pelotoncycle/python-payflowpro
26fbae8642873989e28b212305ba2da931014220
[ "Apache-2.0" ]
18
2015-01-03T22:53:32.000Z
2021-09-01T04:48:20.000Z
payflowpro/__init__.py
pelotoncycle/python-payflowpro
26fbae8642873989e28b212305ba2da931014220
[ "Apache-2.0" ]
5
2016-03-03T16:08:57.000Z
2019-07-29T11:45:02.000Z
payflowpro/__init__.py
pelotoncycle/python-payflowpro
26fbae8642873989e28b212305ba2da931014220
[ "Apache-2.0" ]
14
2015-02-18T01:50:37.000Z
2021-09-09T20:02:49.000Z
VERSION = (0, 3, 'pre',)
24
24
0.5
4
24
3
1
0
0
0
0
0
0
0
0
0
0
0.1
0.166667
24
1
24
24
0.5
0
0
0
0
0
0.12
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
9b0928d1ab7e995a9c32584f408f8c8984d7ea01
4,189
py
Python
randaugment.py
Hayoung93/UDA
a587b01c76141d64e7cead55b62e0f3ed75890bf
[ "Apache-2.0" ]
null
null
null
randaugment.py
Hayoung93/UDA
a587b01c76141d64e7cead55b62e0f3ed75890bf
[ "Apache-2.0" ]
null
null
null
randaugment.py
Hayoung93/UDA
a587b01c76141d64e7cead55b62e0f3ed75890bf
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn from torchvision import transforms as ttf class RandAugment(nn.Module): def __init__(self, N, M): super().__init__() """ rotate shear x shear y translate y translate x autoContrast sharpness identity...
23.937143
90
0.560754
527
4,189
4.197343
0.132827
0.092676
0.113924
0.101718
0.641953
0.606239
0.520344
0.492767
0.476492
0.476492
0
0.022515
0.310814
4,189
175
91
23.937143
0.743679
0
0
0.610619
0
0
0
0
0
0
0
0
0
1
0.265487
false
0
0.026549
0.106195
0.557522
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
9b20fda624940043deac176bb016d14ace2c4e00
208
py
Python
tokenizer.py
datares/recipe-gpt
b3acff109779978bfccb5c533980229f507d3cbe
[ "MIT" ]
2
2021-11-27T06:48:18.000Z
2021-11-30T18:33:52.000Z
tokenizer.py
datares/ez-gpt
b3acff109779978bfccb5c533980229f507d3cbe
[ "MIT" ]
null
null
null
tokenizer.py
datares/ez-gpt
b3acff109779978bfccb5c533980229f507d3cbe
[ "MIT" ]
2
2021-11-02T00:12:54.000Z
2021-11-02T00:17:02.000Z
from transformers import GPT2Tokenizer tokenizer = GPT2Tokenizer.from_pretrained('gpt2', bos_token='<|startoftext|>', eos_token='<|endoftext|>', pad_token='<|pad|>') tokenizer.pad_token = tokenizer.eos_token
52
126
0.778846
24
208
6.5
0.541667
0.102564
0
0
0
0
0
0
0
0
0
0.015385
0.0625
208
3
127
69.333333
0.784615
0
0
0
0
0
0.1875
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3