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
b636a14425c4522fff7a5873503668a57d3f6aba
289
py
Python
Python/7 fruits practise list.py
thebiebs/python-practise-exercises
28db498f35ec6f9bdd437f54c91990027f4b9436
[ "MIT" ]
null
null
null
Python/7 fruits practise list.py
thebiebs/python-practise-exercises
28db498f35ec6f9bdd437f54c91990027f4b9436
[ "MIT" ]
null
null
null
Python/7 fruits practise list.py
thebiebs/python-practise-exercises
28db498f35ec6f9bdd437f54c91990027f4b9436
[ "MIT" ]
null
null
null
f1 = input("enter fruit no1: ") f2 = input("enter fruit no2: ") f3 = input("enter fruit no3: ") f4 = input("enter fruit no4: ") f5 = input("enter fruit no5: ") f6 = input("enter fruit no6: ") f7 = input("enter fruit no7: ") myFruitList = [f1,f2,f3,f4,f5,f6,f7] print(myFruitList)
28.9
37
0.626298
45
289
4.022222
0.422222
0.38674
0.580111
0
0
0
0
0
0
0
0
0.089744
0.190311
289
9
38
32.111111
0.683761
0
0
0
0
0
0.425
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b647bac61395eca6b34db22e14eed1d5d3abe56a
200
py
Python
config.py
YounesZ/unsupervisedTS
8794de728e6c46388d5e7b4aeb58d28070f24a20
[ "Apache-2.0" ]
null
null
null
config.py
YounesZ/unsupervisedTS
8794de728e6c46388d5e7b4aeb58d28070f24a20
[ "Apache-2.0" ]
null
null
null
config.py
YounesZ/unsupervisedTS
8794de728e6c46388d5e7b4aeb58d28070f24a20
[ "Apache-2.0" ]
null
null
null
PATH_TO_DATA = "/Users/younes/Documents/JACOBB/Data/Public" PATH_TO_MODELS = "/Users/younes/Documents/JACOBB/Models" PATH_TO_DATA_UCR = "UCRArchive_2018" PATH_TO_MODELS_UCR = "UCR_Pretrained2018/repo"
50
59
0.825
30
200
5.1
0.466667
0.156863
0.130719
0.339869
0
0
0
0
0
0
0
0.042328
0.055
200
4
60
50
0.767196
0
0
0
0
0
0.58209
0.507463
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b64cdb64880bdcb4bafd13b7b8c48b2bb1d4e7ea
1,380
py
Python
omniduct/caches/_serializers.py
harsham4026/omniduct
c4f42f2bbd2a09f33e1d62bc0b3cdfccf488e5d8
[ "MIT" ]
null
null
null
omniduct/caches/_serializers.py
harsham4026/omniduct
c4f42f2bbd2a09f33e1d62bc0b3cdfccf488e5d8
[ "MIT" ]
null
null
null
omniduct/caches/_serializers.py
harsham4026/omniduct
c4f42f2bbd2a09f33e1d62bc0b3cdfccf488e5d8
[ "MIT" ]
null
null
null
import pickle from distutils.version import LooseVersion import pandas class Serializer(object): @property def file_extension(self): return "" def serialize(self, obj, fh): raise NotImplementedError def deserialize(self, fh): raise NotImplementedError class BytesSerialize...
21.5625
117
0.653623
157
1,380
5.66242
0.369427
0.049494
0.067492
0.107987
0.316085
0.186727
0.148481
0
0
0
0
0.003895
0.255797
1,380
63
118
21.904762
0.861733
0.046377
0
0.439024
0
0
0.077626
0
0
0
0
0
0.02439
1
0.292683
false
0
0.073171
0.195122
0.682927
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
b654254c34e3c5bd02960705f2e2d9c2abe30492
2,083
py
Python
datajoint-python/datajoint/__init__.py
Space-Cowboy2000/datajoint-core
48db9630bfa91ef993e5c4e507543e24d37542be
[ "MIT" ]
4
2021-09-10T05:37:16.000Z
2022-02-23T08:54:00.000Z
datajoint-python/datajoint/__init__.py
Space-Cowboy2000/datajoint-core
48db9630bfa91ef993e5c4e507543e24d37542be
[ "MIT" ]
73
2021-09-12T20:54:03.000Z
2022-03-20T18:37:04.000Z
datajoint-python/datajoint/__init__.py
Space-Cowboy2000/datajoint-core
48db9630bfa91ef993e5c4e507543e24d37542be
[ "MIT" ]
13
2021-09-03T14:40:31.000Z
2022-02-18T08:29:11.000Z
""" DataJoint for Python is a framework for building data piplines using MySQL databases to represent pipeline structure and bulk storage systems for large objects. DataJoint is built on the foundation of the relational data model and prescribes a consistent method for organizing, populating, and querying data. The Da...
41.66
86
0.707633
254
2,083
5.637795
0.507874
0.02095
0.026536
0.039106
0.044693
0
0
0
0
0
0
0.027414
0.194431
2,083
49
87
42.510204
0.825983
0.891983
0
0
0
0
0.201058
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b66ef278a26081ce52b5e061a6d60b7dca3b6767
582
py
Python
dbt/adapters/bigquery/__init__.py
Kayrnt/dbt-bigquery
3d6986984fffb21d82d3365e7cc5d72545f602e6
[ "Apache-2.0" ]
30
2021-10-03T09:15:35.000Z
2022-03-29T22:00:24.000Z
dbt/adapters/bigquery/__init__.py
Kayrnt/dbt-bigquery
3d6986984fffb21d82d3365e7cc5d72545f602e6
[ "Apache-2.0" ]
96
2021-10-04T21:24:35.000Z
2022-03-29T19:35:12.000Z
dbt/adapters/bigquery/__init__.py
Kayrnt/dbt-bigquery
3d6986984fffb21d82d3365e7cc5d72545f602e6
[ "Apache-2.0" ]
21
2021-10-29T20:10:44.000Z
2022-03-31T16:23:00.000Z
from dbt.adapters.bigquery.connections import BigQueryConnectionManager # noqa from dbt.adapters.bigquery.connections import BigQueryCredentials from dbt.adapters.bigquery.relation import BigQueryRelation # noqa from dbt.adapters.bigquery.column import BigQueryColumn # noqa from dbt.adapters.bigquery.impl import Big...
44.769231
122
0.83677
66
582
7.348485
0.409091
0.101031
0.185567
0.237113
0.284536
0.164948
0
0
0
0
0
0
0.099656
582
12
123
48.5
0.925573
0.072165
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.7
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
1
0
0
0
0
3
b689ed930f6d34248427f5b7ff0b7427ed868e4f
334
py
Python
training/relief_player_config.py
NoMoor/83Plus
5cb72871ed33c9484c5699496db106f24338564e
[ "MIT" ]
null
null
null
training/relief_player_config.py
NoMoor/83Plus
5cb72871ed33c9484c5699496db106f24338564e
[ "MIT" ]
5
2019-12-27T15:04:48.000Z
2020-03-06T17:36:41.000Z
training/relief_player_config.py
NoMoor/83Plus
5cb72871ed33c9484c5699496db106f24338564e
[ "MIT" ]
null
null
null
from pathlib import Path from rlbot.matchconfig.match_config import PlayerConfig, Team __cfg_path = Path(__file__).absolute().parent.parent.parent / 'SpaceInvaders' / 'Relief' / 'README' / 'relief_bot.cfg' relief_blue = PlayerConfig.bot_config(__cfg_path, Team.BLUE) relief_orange = PlayerConfig.bot_config(__cfg_path,...
41.75
118
0.799401
44
334
5.636364
0.454545
0.084677
0.169355
0.193548
0.258065
0.258065
0
0
0
0
0
0
0.08982
334
7
119
47.714286
0.815789
0
0
0
0
0
0.116766
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b6948eb3068bec6c5ab1af794b19529637757976
1,526
py
Python
scripts/test_s3.py
tleedepriest/bjj_lineage
6f5e64baa2da3ad7111154d630c68c64713d6ccd
[ "MIT" ]
null
null
null
scripts/test_s3.py
tleedepriest/bjj_lineage
6f5e64baa2da3ad7111154d630c68c64713d6ccd
[ "MIT" ]
null
null
null
scripts/test_s3.py
tleedepriest/bjj_lineage
6f5e64baa2da3ad7111154d630c68c64713d6ccd
[ "MIT" ]
null
null
null
import luigi from luigi.contrib.s3 import S3Client # used this link below, # along with searching how to create an S3 bucket using aws cli... # which I had previously installed on my VM using AWS getting started guide # (creating_s3_bucket.sh script for command line script to create bucket) # https://awscli.amazonaw...
34.681818
222
0.706422
238
1,526
4.462185
0.588235
0.037665
0.026365
0
0
0
0
0
0
0
0
0.023444
0.189384
1,526
43
223
35.488372
0.835085
0.676933
0
0
0
0
0.207127
0.064588
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b6b40042b58f41a0f079e6fc7adc45e414e3f751
448
py
Python
silver/silver/phaseEstimation.py
kurabirko/silver-phys437
1694713632f6ce88680e96d62783095be2b138c6
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
silver/silver/phaseEstimation.py
kurabirko/silver-phys437
1694713632f6ce88680e96d62783095be2b138c6
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
silver/silver/phaseEstimation.py
kurabirko/silver-phys437
1694713632f6ce88680e96d62783095be2b138c6
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
from math import pi from qiskit.circuit.library import QFT, CPhaseGate from qiskit.extensions import UnitaryGate from math import pi import numpy as np def iQFT(num_qubits=0): return QFT(num_qubits, inverse=True)\ .reverse_bits()\ .to_gate(label='iQFT') U = CPhaseGate(2*pi*0.333984375, label...
23.578947
55
0.698661
65
448
4.753846
0.553846
0.05178
0.090615
0.10356
0
0
0
0
0
0
0
0.038781
0.194196
448
18
56
24.888889
0.817175
0
0
0.142857
0
0
0.011161
0
0
0
0
0
0
1
0.214286
false
0
0.357143
0.142857
0.785714
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
1
1
0
0
0
3
fcb9b2800d66a04ab4c0fdd81d3e14f68d51cae1
132
py
Python
virtual_field/__init__.py
sycdan/django-virtual-field
29468bebfb87f2c8ec6a3d8aa35ab20704a5c107
[ "MIT" ]
null
null
null
virtual_field/__init__.py
sycdan/django-virtual-field
29468bebfb87f2c8ec6a3d8aa35ab20704a5c107
[ "MIT" ]
null
null
null
virtual_field/__init__.py
sycdan/django-virtual-field
29468bebfb87f2c8ec6a3d8aa35ab20704a5c107
[ "MIT" ]
null
null
null
__version__ = '0.1.0' from .decorators import virtual_field, VirtualField from .monkey_patches import apply_all apply_all()
18.857143
52
0.765152
18
132
5.166667
0.722222
0.172043
0
0
0
0
0
0
0
0
0
0.027027
0.159091
132
6
53
22
0.810811
0
0
0
0
0
0.039683
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
fcbe25eb4905a2bbcfb7afd4ed87e4dea3e92c2d
502
py
Python
django/cms/sitemaps.py
dellsystem/notes-from-below
413804a4ece14d5f2af338c4a282ebcef37d610e
[ "MIT" ]
7
2018-02-04T04:20:27.000Z
2021-11-02T16:51:12.000Z
django/cms/sitemaps.py
dellsystem/notes-from-below
413804a4ece14d5f2af338c4a282ebcef37d610e
[ "MIT" ]
49
2018-01-31T17:51:58.000Z
2022-03-11T23:16:58.000Z
django/cms/sitemaps.py
dellsystem/notes-from-below
413804a4ece14d5f2af338c4a282ebcef37d610e
[ "MIT" ]
1
2020-04-23T15:25:56.000Z
2020-04-23T15:25:56.000Z
from django.contrib.sitemaps import Sitemap from cms.models import Page class PageSitemap(Sitemap): def priority(self, item): if item.is_static: return 0.4 else: return 0.9 def changefreq(self, item): if item.is_static: return 'never' else:...
20.916667
65
0.599602
62
502
4.790323
0.596774
0.080808
0.06734
0.094276
0.188552
0.188552
0.188552
0
0
0
0
0.011594
0.312749
502
23
66
21.826087
0.849275
0
0
0.235294
0
0
0.027888
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0.117647
0.764706
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
fcf154da891906da2e06d37aa77f36da98dddb65
405
py
Python
004.py
zlsun/ProjectEuler
813ec545484924a052f1bd7fd90a4c676eea3bba
[ "MIT" ]
null
null
null
004.py
zlsun/ProjectEuler
813ec545484924a052f1bd7fd90a4c676eea3bba
[ "MIT" ]
null
null
null
004.py
zlsun/ProjectEuler
813ec545484924a052f1bd7fd90a4c676eea3bba
[ "MIT" ]
null
null
null
#-*- encoding: utf-8 -*- """ Largest palindrome product A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers. """ from utils import * n = 0 print max(i * j for i i...
28.928571
133
0.716049
72
405
4.027778
0.611111
0.175862
0.137931
0.165517
0.296552
0.296552
0.296552
0.296552
0.296552
0
0
0.097264
0.187654
405
13
134
31.153846
0.781155
0.074074
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
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
1
0
0
0
1
0
0
0
0
3
1e4f5806baf2b3276c22d6a17f1a8be19a1f771b
139
py
Python
PP4E-Examples-1.4/Examples/PP4E/System/Exits/testexit_os.py
AngelLiang/PP4E
3a7f63b366e1e4700b4d2524884696999a87ba9d
[ "MIT" ]
null
null
null
PP4E-Examples-1.4/Examples/PP4E/System/Exits/testexit_os.py
AngelLiang/PP4E
3a7f63b366e1e4700b4d2524884696999a87ba9d
[ "MIT" ]
null
null
null
PP4E-Examples-1.4/Examples/PP4E/System/Exits/testexit_os.py
AngelLiang/PP4E
3a7f63b366e1e4700b4d2524884696999a87ba9d
[ "MIT" ]
null
null
null
def outahere(): import os print('Bye os world') os._exit(99) print('Never reached') if __name__ == '__main__': outahere()
17.375
37
0.618705
18
139
4.277778
0.777778
0
0
0
0
0
0
0
0
0
0
0.018692
0.230216
139
7
38
19.857143
0.700935
0
0
0
0
0
0.23741
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1e614cec0079639956770e0962bf9f36d6071f57
6,041
py
Python
SRC/engine/twostep.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
31
2015-04-01T15:59:36.000Z
2022-03-18T20:21:47.000Z
SRC/engine/twostep.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
3
2015-02-06T19:30:24.000Z
2017-05-25T14:14:31.000Z
SRC/engine/twostep.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
7
2015-01-23T15:19:22.000Z
2021-06-09T09:03:59.000Z
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we as...
41.376712
144
0.682834
694
6,041
5.865994
0.298271
0.096291
0.083518
0.029477
0.284451
0.158929
0.102186
0.102186
0.050111
0.026038
0
0.002772
0.223804
6,041
145
145
41.662069
0.86543
0.231253
0
0.033333
0
0.011111
0.048394
0.007378
0
0
0
0.006897
0
1
0.277778
false
0
0.077778
0.211111
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1e79a8600e193caa3558ddd926facd342ae794fa
713
py
Python
Part_3_advanced/m13_decorator/total_ordering/homework_1_start/money.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m13_decorator/total_ordering/homework_1_start/money.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m13_decorator/total_ordering/homework_1_start/money.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
class Money: def __init__(self, dollars: int, cents: int) -> None: self.dollars = dollars self.cents = cents def as_cents(self) -> int: return self.dollars * 100 + self.cents def run_example() -> None: computer_price = Money(dollars=1999, cents=0) book_price = Money(dollars=1...
27.423077
57
0.678822
95
713
4.726316
0.273684
0.22049
0.218263
0.253898
0.55902
0.55902
0.55902
0.42539
0.42539
0.311804
0
0.028419
0.210379
713
26
58
27.423077
0.769094
0
0
0
0
0
0.011204
0
0
0
0
0
0
1
0.157895
false
0
0
0.052632
0.263158
0.368421
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
1e7b7767182262ed526b4f7172c57cfe5370d7df
224
py
Python
app/views/pimpy_view.py
tch1bo/viaduct
bfd37b0a8408b2dd66fb01138163b80ce97699ff
[ "MIT" ]
11
2015-04-23T21:57:56.000Z
2019-04-28T12:48:58.000Z
app/views/pimpy_view.py
tch1bo/viaduct
bfd37b0a8408b2dd66fb01138163b80ce97699ff
[ "MIT" ]
1
2016-10-05T14:10:58.000Z
2016-10-05T14:12:23.000Z
app/views/pimpy_view.py
tch1bo/viaduct
bfd37b0a8408b2dd66fb01138163b80ce97699ff
[ "MIT" ]
3
2016-10-05T14:00:42.000Z
2019-01-16T14:33:43.000Z
from flask import Blueprint, render_template, abort blueprint = Blueprint('pimpy2', __name__, url_prefix='/pimpy2') @blueprint.route("/") def root(): abort(404) return render_template("vue_content.htm", vue=True)
22.4
63
0.727679
28
224
5.535714
0.714286
0.180645
0
0
0
0
0
0
0
0
0
0.025641
0.129464
224
9
64
24.888889
0.769231
0
0
0
0
0
0.129464
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
1e7d99fd21b3dda2c7f7bcc395ac8035c34be421
13,113
py
Python
bindings/python/capstone/arm64_const.py
joxeankoret/capstone
367a4df66f6c8b9956b458180cb44249d9d120ac
[ "BSD-3-Clause" ]
2
2020-01-05T11:23:50.000Z
2021-07-07T10:08:53.000Z
bindings/python/capstone/arm64_const.py
joxeankoret/capstone
367a4df66f6c8b9956b458180cb44249d9d120ac
[ "BSD-3-Clause" ]
null
null
null
bindings/python/capstone/arm64_const.py
joxeankoret/capstone
367a4df66f6c8b9956b458180cb44249d9d120ac
[ "BSD-3-Clause" ]
null
null
null
# For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [arm64_const.py] ARM64_SFT_INVALID = 0 ARM64_SFT_LSL = 1 ARM64_SFT_MSL = 2 ARM64_SFT_LSR = 3 ARM64_SFT_ASR = 4 ARM64_SFT_ROR = 1 ARM64_EXT_INVALID = 0 ARM64_EXT_UXTB = 1 ARM64_EXT_UXTH = 2 ARM64_EXT_UXTW = 3 ARM64_EXT_UXTX = 4 ARM64_EXT_SXTB = 5 ARM64_EXT_SXTH =...
20.267388
72
0.803554
2,564
13,113
3.611544
0.391966
0.317063
0.009827
0
0
0
0
0
0
0
0
0.297621
0.147258
13,113
646
73
20.298762
0.530495
0.005338
0
0
1
0
0
0
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
1
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
1eb216dbbd420a46662846d1d841ea8cb1312f61
27
py
Python
osdu/client/__init__.py
eternelpanic/osdupy
3b30ceaed7f7f333a6a41d542b9430d4042f77f2
[ "MIT" ]
null
null
null
osdu/client/__init__.py
eternelpanic/osdupy
3b30ceaed7f7f333a6a41d542b9430d4042f77f2
[ "MIT" ]
7
2020-09-24T03:54:34.000Z
2022-03-29T20:16:42.000Z
osdu/client/__init__.py
eternelpanic/osdupy
3b30ceaed7f7f333a6a41d542b9430d4042f77f2
[ "MIT" ]
3
2021-03-10T20:51:50.000Z
2021-09-30T08:31:45.000Z
__all__ = ['aws', 'simple']
27
27
0.592593
3
27
4
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.5
0
0
0
0
0
0.321429
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
1ec43ec9b61801a2e48da5cac73d1c92a151b058
94
py
Python
pyoptools/misc/GS/__init__.py
fcichos/pyoptools
ce0df42d45420f02d351e76d5f11fded4df8969d
[ "BSD-3-Clause" ]
1
2021-05-21T14:11:09.000Z
2021-05-21T14:11:09.000Z
pyoptools/misc/GS/__init__.py
fcichos/pyoptools
ce0df42d45420f02d351e76d5f11fded4df8969d
[ "BSD-3-Clause" ]
null
null
null
pyoptools/misc/GS/__init__.py
fcichos/pyoptools
ce0df42d45420f02d351e76d5f11fded4df8969d
[ "BSD-3-Clause" ]
2
2015-03-21T23:37:10.000Z
2018-10-22T18:03:57.000Z
from gs import * __all__=["gs", "gs_mod", "gs_gpu", "gs_mod_gpu"]
13.428571
22
0.457447
12
94
2.916667
0.5
0.285714
0
0
0
0
0
0
0
0
0
0
0.382979
94
6
23
15.666667
0.603448
0
0
0
0
0
0.255319
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
1ec6e27935153dec8bf1a44a7f272acab0471ef2
58
py
Python
python/ccc01s2.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
1
2022-01-23T16:02:14.000Z
2022-01-23T16:02:14.000Z
python/ccc01s2.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
5
2022-01-23T00:16:49.000Z
2022-01-30T04:37:45.000Z
python/ccc01s2.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
1
2022-01-23T00:03:47.000Z
2022-01-23T00:03:47.000Z
x, y = int(input()), int(input()) if x == y: print(x)
9.666667
33
0.482759
11
58
2.545455
0.545455
0.142857
0
0
0
0
0
0
0
0
0
0
0.241379
58
6
34
9.666667
0.636364
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1ecead41b5fbdd9ae1a26a1f5e7f4314c85d8979
790
py
Python
apps/study_example_app/serializers/validators.py
KimSoungRyoul/DjangoBackendProgramming
b346e04ce85388beba788bd3e6a405635ed913dc
[ "MIT" ]
null
null
null
apps/study_example_app/serializers/validators.py
KimSoungRyoul/DjangoBackendProgramming
b346e04ce85388beba788bd3e6a405635ed913dc
[ "MIT" ]
null
null
null
apps/study_example_app/serializers/validators.py
KimSoungRyoul/DjangoBackendProgramming
b346e04ce85388beba788bd3e6a405635ed913dc
[ "MIT" ]
null
null
null
import re from rest_framework import serializers class KoreanOnlyValidator: message = "{attr_name} 은 한글만 사용가능합니다." def __init__(self, message=None): if message: self.message = message def __call__(self, value: str, serializer_field): if not re.match(r"^[가-힣]+$", value): ...
28.214286
106
0.679747
95
790
5.389474
0.421053
0.128906
0.058594
0.0625
0.648438
0.648438
0.648438
0.648438
0.648438
0.648438
0
0
0.217722
790
27
107
29.259259
0.828479
0
0
0.555556
0
0
0.088608
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
949ba9337d46bdfbfc557b7009fde3909d38b226
843
py
Python
onecodex/models/misc.py
margaret/onecodex
bbd93d7eaf2be13b202c9e2d915a93011ae45184
[ "MIT" ]
null
null
null
onecodex/models/misc.py
margaret/onecodex
bbd93d7eaf2be13b202c9e2d915a93011ae45184
[ "MIT" ]
null
null
null
onecodex/models/misc.py
margaret/onecodex
bbd93d7eaf2be13b202c9e2d915a93011ae45184
[ "MIT" ]
null
null
null
import warnings from onecodex.models import OneCodexBase from onecodex.models.helpers import truncate_string class Tags(OneCodexBase): _resource_path = '/api/v1/tags' def __repr__(self): return '<{} {}: "{}">'.format(self.__class__.__name__, self.id, truncate_st...
26.34375
89
0.661922
92
843
5.771739
0.445652
0.150659
0.180791
0.20339
0.218456
0
0
0
0
0
0
0.014993
0.208778
843
31
90
27.193548
0.781109
0
0
0
0
0
0.143535
0
0
0
0
0
0
1
0.1
false
0
0.15
0.05
0.75
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
94b157a2dbafd71c7e62b6e3ce2c0304cf7c0990
1,201
py
Python
torchocr/models/architectures/base.py
hua1024/OpenOCR
13ecfd18d103d5e70a87922cebe89077e8f0eb9c
[ "Apache-2.0" ]
3
2021-02-02T06:10:50.000Z
2021-05-10T01:27:31.000Z
torchocr/models/architectures/base.py
hua1024/OpenOCR
13ecfd18d103d5e70a87922cebe89077e8f0eb9c
[ "Apache-2.0" ]
null
null
null
torchocr/models/architectures/base.py
hua1024/OpenOCR
13ecfd18d103d5e70a87922cebe89077e8f0eb9c
[ "Apache-2.0" ]
2
2021-02-02T06:11:25.000Z
2021-02-09T16:27:48.000Z
# coding=utf-8 # @Time : 2020/12/2 23:55 # @Auto : zzf-jeff from abc import ABCMeta, abstractmethod from collections import OrderedDict import torch import torch.nn as nn class BaseModel(nn.Module, metaclass=ABCMeta): def __init__(self): super(BaseModel, self).__init__() @propert...
21.446429
73
0.554538
130
1,201
5.023077
0.453846
0.030628
0.05513
0.105666
0.180704
0.180704
0
0
0
0
0
0.015132
0.339717
1,201
55
74
21.836364
0.808323
0.199001
0
0.333333
0
0
0.021092
0
0
0
0
0
0
1
0.291667
false
0.125
0.166667
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
94f7a1d38600094ff2cad8e2e2cbfadc7c5528f5
197
py
Python
gallery/urls.py
mailfish/helena
1dd2814d11eea06578aeacc00481e9fdff829b36
[ "Apache-2.0" ]
null
null
null
gallery/urls.py
mailfish/helena
1dd2814d11eea06578aeacc00481e9fdff829b36
[ "Apache-2.0" ]
null
null
null
gallery/urls.py
mailfish/helena
1dd2814d11eea06578aeacc00481e9fdff829b36
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import patterns, url from .views import PhotoListView urlpatterns = patterns('', url(r'^(?P<slug>[\w-]+)/$', PhotoListView.as_view(), name='image'), )
28.142857
90
0.614213
23
197
5.217391
0.782609
0.183333
0
0
0
0
0
0
0
0
0
0
0.203046
197
7
91
28.142857
0.764331
0
0
0
0
0
0.121212
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
94f8ea5d1a6f58ee69bcffdc5567f6b770e8bb1d
167
py
Python
albow/demo/openGL/DemoButton.py
hasii2011/albow-python-3
04b9d42705b370b62f0e49d10274eebf3ac54bc1
[ "MIT" ]
6
2019-04-30T23:50:39.000Z
2019-11-04T06:15:02.000Z
albow/demo/openGL/DemoButton.py
hasii2011/albow-python-3
04b9d42705b370b62f0e49d10274eebf3ac54bc1
[ "MIT" ]
73
2019-05-12T18:43:14.000Z
2021-04-13T19:19:03.000Z
albow/demo/openGL/DemoButton.py
hasii2011/albow-python-3
04b9d42705b370b62f0e49d10274eebf3ac54bc1
[ "MIT" ]
null
null
null
from pygame.color import Color from albow.widgets.Button import Button class DemoButton(Button): bg_color = Color("brown") border_width = 2 margin = 4
15.181818
39
0.712575
23
167
5.086957
0.695652
0
0
0
0
0
0
0
0
0
0
0.015152
0.209581
167
10
40
16.7
0.871212
0
0
0
0
0
0.03012
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a207b6e4e8417f81354f24088ffd4414db818382
215
py
Python
clavier/cfg/__init__.py
experf/clavier
a1d96e61d4071e9efdcf7c9bd17da0a3fe7973fb
[ "MIT" ]
null
null
null
clavier/cfg/__init__.py
experf/clavier
a1d96e61d4071e9efdcf7c9bd17da0a3fe7973fb
[ "MIT" ]
null
null
null
clavier/cfg/__init__.py
experf/clavier
a1d96e61d4071e9efdcf7c9bd17da0a3fe7973fb
[ "MIT" ]
1
2021-08-28T20:43:20.000Z
2021-08-28T20:43:20.000Z
from __future__ import annotations from .config import Config CFG = Config() with CFG.configure_root(__package__, src=__file__) as clavier: with clavier.configure("log") as log: log.level = "WARNING"
21.5
62
0.730233
28
215
5.142857
0.607143
0
0
0
0
0
0
0
0
0
0
0
0.176744
215
9
63
23.888889
0.813559
0
0
0
0
0
0.046512
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
a21da7fa084c8ccbcee143dbc4a7cff73197cdc3
556
py
Python
import/migrations/20210709_02_iVmQp.py
ramiror/clarinete
4ebf37cf9f705e04e2aad15015be12c48fe25fd3
[ "BSD-2-Clause" ]
1
2022-03-12T05:40:27.000Z
2022-03-12T05:40:27.000Z
import/migrations/20210709_02_iVmQp.py
ramiror/clarinete
4ebf37cf9f705e04e2aad15015be12c48fe25fd3
[ "BSD-2-Clause" ]
1
2021-10-02T10:22:03.000Z
2021-10-02T10:22:03.000Z
import/migrations/20210709_02_iVmQp.py
ramiror/clarinete
4ebf37cf9f705e04e2aad15015be12c48fe25fd3
[ "BSD-2-Clause" ]
1
2021-07-17T21:10:08.000Z
2021-07-17T21:10:08.000Z
""" """ from yoyo import step __depends__ = {'20210709_01_V1auV'} steps = [ step( "ALTER TABLE source ADD COLUMN country CHAR (2)", "ALTER TABLE source DROP COLUMN country", ), step( "UPDATE source SET country = 'AR' WHERE name = 'Clarín'", ), step( "UPDATE source...
20.592593
76
0.559353
63
556
4.84127
0.47619
0.131148
0.209836
0.24918
0.485246
0.485246
0.485246
0.485246
0
0
0
0.036458
0.309353
556
26
77
21.384615
0.757813
0
0
0.5
0
0
0.609489
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bf4440b10ca7b16c80cff2e587a8af13f5c2af47
562
py
Python
tests/SampleApps/python/stackoverflow-flask/tests/test_data.py
samruddhikhandale/Oryx
9031b36c02967bb4000645950680572a8a76fa56
[ "MIT" ]
403
2019-05-07T23:40:45.000Z
2022-03-31T11:14:07.000Z
tests/SampleApps/python/stackoverflow-flask/tests/test_data.py
samruddhikhandale/Oryx
9031b36c02967bb4000645950680572a8a76fa56
[ "MIT" ]
514
2019-05-07T17:00:14.000Z
2022-03-31T20:09:16.000Z
tests/SampleApps/python/stackoverflow-flask/tests/test_data.py
samruddhikhandale/Oryx
9031b36c02967bb4000645950680572a8a76fa56
[ "MIT" ]
108
2019-05-07T23:40:47.000Z
2022-03-30T00:15:19.000Z
import unittest import stackoverflow import os class TestStackoverflow(unittest.TestCase): def test_language_percents(self): # get list of web frameworks used by Python developers languages = stackoverflow.languages_breakdown(2015).to_dict() self.assertAlmostEqual(languages['percent']['Jav...
33.058824
71
0.676157
63
562
5.968254
0.603175
0.223404
0.319149
0.393617
0.308511
0.207447
0
0
0
0
0
0.044053
0.192171
562
16
72
35.125
0.784141
0.092527
0
0
0
0
0.084813
0
0
0
0
0
0.4
1
0.1
false
0
0.3
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bf5771452dcf4ed4adfea22ab55b0e8fa311b6db
141
py
Python
CAP9-Case Study_word play/exercise&solutions/exercise_9_9.py
falble/mythinkpython2
25de15c8657f32a8f85189d9cb0588c816e9e7d3
[ "Apache-2.0" ]
1
2020-11-20T16:28:32.000Z
2020-11-20T16:28:32.000Z
CAP9-Case Study_word play/exercise&solutions/exercise_9_9.py
falble/mythinkpython2
25de15c8657f32a8f85189d9cb0588c816e9e7d3
[ "Apache-2.0" ]
null
null
null
CAP9-Case Study_word play/exercise&solutions/exercise_9_9.py
falble/mythinkpython2
25de15c8657f32a8f85189d9cb0588c816e9e7d3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Mar 27 18:14:49 2019 @author: Utente """ # Chapter 9 - Case study: word play # 9.9
11.75
36
0.539007
22
141
3.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0.16
0.29078
141
11
37
12.818182
0.6
0.801418
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
bf61d1c369404df1b1857b80d35b68adf30b0810
315
py
Python
lfd/metrics.py
Syhen/learn-from-datasets
18b5104f1ea9f6b4e950e03958f27d7a12fdadbd
[ "MIT" ]
null
null
null
lfd/metrics.py
Syhen/learn-from-datasets
18b5104f1ea9f6b4e950e03958f27d7a12fdadbd
[ "MIT" ]
null
null
null
lfd/metrics.py
Syhen/learn-from-datasets
18b5104f1ea9f6b4e950e03958f27d7a12fdadbd
[ "MIT" ]
null
null
null
""" @created by: heyao @created at: 2021-12-08 15:15:10 """ from sklearn import metrics as sk_metrics SCORES = { "f1_score": sk_metrics.f1_score, "f1": sk_metrics.f1_score, "acc": sk_metrics.accuracy_score, "accuracy_score": sk_metrics.accuracy_score, "accuracy": sk_metrics.accuracy_score, }
21
48
0.704762
46
315
4.543478
0.434783
0.258373
0.244019
0.315789
0.287081
0
0
0
0
0
0
0.068182
0.161905
315
14
49
22.5
0.723485
0.161905
0
0
0
0
0.136719
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
bf7104635fbe2a77cbbef564ad4abb3b8c4e5929
1,230
py
Python
CodeWars/5kyu/Python/007-valid-parentheses.py
viszi/codes
1a0736cd253443d1fdf1071902c690678240d44f
[ "MIT" ]
null
null
null
CodeWars/5kyu/Python/007-valid-parentheses.py
viszi/codes
1a0736cd253443d1fdf1071902c690678240d44f
[ "MIT" ]
null
null
null
CodeWars/5kyu/Python/007-valid-parentheses.py
viszi/codes
1a0736cd253443d1fdf1071902c690678240d44f
[ "MIT" ]
null
null
null
# https://www.codewars.com/kata/52774a314c2333f0a7000688 # Write a function that takes a string of parentheses, and determines if the order of the parentheses is valid. The function should return true if the string is valid, and false if it's invalid. # Examples # "()" => true # ")(()))" => fals...
32.368421
194
0.580488
153
1,230
4.594771
0.300654
0.250356
0.268848
0.177809
0.361309
0.273115
0.213371
0.147937
0.147937
0.147937
0
0.029787
0.235772
1,230
38
195
32.368421
0.718085
0.271545
0
0.153846
0
0
0.088764
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.192308
0.346154
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
bf88ed94b040c957cd3f1e8706ceb3a2fe46b1b2
73
py
Python
deftuple.py
ctb/2009-cse491-buggy-python-code
74a114858bed4bca175346d60f68398c23d268c9
[ "BSD-3-Clause" ]
null
null
null
deftuple.py
ctb/2009-cse491-buggy-python-code
74a114858bed4bca175346d60f68398c23d268c9
[ "BSD-3-Clause" ]
null
null
null
deftuple.py
ctb/2009-cse491-buggy-python-code
74a114858bed4bca175346d60f68398c23d268c9
[ "BSD-3-Clause" ]
null
null
null
list_of_tuples = [ (1, 'one'), (2, 'two') (3, 'three') ]
12.166667
18
0.383562
9
73
2.888889
1
0
0
0
0
0
0
0
0
0
0
0.06383
0.356164
73
5
19
14.6
0.489362
0
0
0
0
0
0.150685
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bfa57cc1d783dc34ad608f2aa069824f544ef184
210
py
Python
saffrun/event/services.py
Mehdi-MosTafavi/saffrun-backend
86626e0f2e81dce78c433f25f5855056fbbf586c
[ "MIT" ]
null
null
null
saffrun/event/services.py
Mehdi-MosTafavi/saffrun-backend
86626e0f2e81dce78c433f25f5855056fbbf586c
[ "MIT" ]
null
null
null
saffrun/event/services.py
Mehdi-MosTafavi/saffrun-backend
86626e0f2e81dce78c433f25f5855056fbbf586c
[ "MIT" ]
1
2022-02-01T10:35:46.000Z
2022-02-01T10:35:46.000Z
from .models import Event def get_all_events_of_specific_day(user, date): return Event.objects.filter(participants=user).filter( start_datetime__date__lte=date, end_datetime__date__gte=date )
26.25
68
0.780952
30
210
4.966667
0.733333
0.161074
0
0
0
0
0
0
0
0
0
0
0.142857
210
7
69
30
0.827778
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
bfb1f089724f2feeb3df449fbfe4387a0a2ce17e
412
py
Python
example_pypes/basics/hello_world.py
BastiTee/pype
1835439cecedcd2597f7917edcea47e3c9662d7c
[ "Apache-2.0" ]
1
2020-11-24T17:31:30.000Z
2020-11-24T17:31:30.000Z
example_pypes/basics/hello_world.py
BastiTee/pype
1835439cecedcd2597f7917edcea47e3c9662d7c
[ "Apache-2.0" ]
4
2019-10-29T06:17:12.000Z
2021-02-12T20:39:17.000Z
example_pypes/basics/hello_world.py
BastiTee/pype
1835439cecedcd2597f7917edcea47e3c9662d7c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """A classic hello world console feedback.""" # Import the "Command Line Interface Creation Kit" # <https://click.palletsprojects.com> import click import pype # Create a click command https://click.palletsprojects.com/en/7.x/commands/ @click.command(name=pype.fname_to_name(__file__), help=...
24.235294
75
0.703883
57
412
4.912281
0.701754
0.071429
0.178571
0.2
0
0
0
0
0
0
0
0.005618
0.135922
412
16
76
25.75
0.780899
0.601942
0
0
0
0
0.08
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
0.2
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
1
0
1
0
0
0
0
3
bfc0c4b6ee8bbcdd504223d7ca6a591f1f06e613
270
py
Python
pypi_server/db/migrator/model.py
hemantkashniyal/pypi-server
253da20015981411477df5d5a3847c25ecd1a64f
[ "MIT" ]
119
2015-12-07T22:41:08.000Z
2022-03-16T05:55:06.000Z
pypi_server/db/migrator/model.py
hemantkashniyal/pypi-server
253da20015981411477df5d5a3847c25ecd1a64f
[ "MIT" ]
37
2016-01-19T16:28:03.000Z
2022-03-06T08:03:04.000Z
pypi_server/db/migrator/model.py
hemantkashniyal/pypi-server
253da20015981411477df5d5a3847c25ecd1a64f
[ "MIT" ]
55
2015-12-09T12:21:10.000Z
2021-11-29T13:22:24.000Z
# encoding: utf-8 import datetime import peewee from pypi_server.db import BaseModel class Migrations(BaseModel): name = peewee.CharField(max_length=255, null=False, index=True, unique=True) ts = peewee.DateTimeField(default=datetime.datetime.now, null=False)
27
80
0.777778
37
270
5.621622
0.72973
0.086538
0
0
0
0
0
0
0
0
0
0.016878
0.122222
270
9
81
30
0.860759
0.055556
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
bfd2922f58d8275cc1b5432d4f9570ce4fd29c50
1,265
py
Python
src/utils/helps.py
hirusha-adi/WTF
1bbb47876479a7b7a846bc6cd9d99a4880330d9f
[ "MIT" ]
null
null
null
src/utils/helps.py
hirusha-adi/WTF
1bbb47876479a7b7a846bc6cd9d99a4880330d9f
[ "MIT" ]
null
null
null
src/utils/helps.py
hirusha-adi/WTF
1bbb47876479a7b7a846bc6cd9d99a4880330d9f
[ "MIT" ]
null
null
null
__DEBIAN__ = r""" __ _______ _____ \ \ / /_ _| ___| \ \ /\ / / | | | |_ Simple Package \ V V / | | | _| Manager Wrapper \_/\_/ |_| |_| Commands: install Install a Package installf Install a Package without Confirmation remove Remove a Package...
31.625
64
0.541502
114
1,265
5.5
0.359649
0.102073
0.095694
0.047847
0.650718
0.650718
0.650718
0.650718
0.650718
0.650718
0
0
0.394466
1,265
39
65
32.435897
0.818538
0
0
0.777778
0
0
0.967589
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
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44a21f07501f79206e630963f805d7a8e19abb61
257
py
Python
installed_packages_diff/transport.py
cbuschka/pkgdiff
ae6aa96c789e432c33a2938a0a78f0800f99b188
[ "MIT" ]
null
null
null
installed_packages_diff/transport.py
cbuschka/pkgdiff
ae6aa96c789e432c33a2938a0a78f0800f99b188
[ "MIT" ]
1
2021-08-23T17:48:10.000Z
2021-08-23T20:11:08.000Z
installed_packages_diff/transport.py
cbuschka/pkgdiff
ae6aa96c789e432c33a2938a0a78f0800f99b188
[ "MIT" ]
null
null
null
from typing import List class Transport(object): def __enter__(self): return self def exec_command(self, command: List): raise NotImplementedError() def close(self): pass def __exit__(self, type, value, traceback): self.close()
16.0625
45
0.692607
32
257
5.28125
0.65625
0
0
0
0
0
0
0
0
0
0
0
0.210117
257
15
46
17.133333
0.832512
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.1
0.1
0.1
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
1
0
1
0
0
1
0
0
3
44aeab35cad38d46c4d9801f0369a6d27c1941c6
25
py
Python
zulipterminal/version.py
Ar9av/zulip-terminal
df79bf815e11b983a2e3ebf11ce6b6dde64be960
[ "Apache-2.0" ]
null
null
null
zulipterminal/version.py
Ar9av/zulip-terminal
df79bf815e11b983a2e3ebf11ce6b6dde64be960
[ "Apache-2.0" ]
null
null
null
zulipterminal/version.py
Ar9av/zulip-terminal
df79bf815e11b983a2e3ebf11ce6b6dde64be960
[ "Apache-2.0" ]
null
null
null
ZT_VERSION = '0.4.0+git'
12.5
24
0.64
6
25
2.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.136364
0.12
25
1
25
25
0.545455
0
0
0
0
0
0.36
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
44ddc5dfe6e353a32e3595e74ce917e645e7bc74
661
py
Python
src/simulations/dynamics/__init__.py
gsmcwhirter/simulations
73d8349125d50394ecf126af672c35c703e07aeb
[ "MIT" ]
null
null
null
src/simulations/dynamics/__init__.py
gsmcwhirter/simulations
73d8349125d50394ecf126af672c35c703e07aeb
[ "MIT" ]
null
null
null
src/simulations/dynamics/__init__.py
gsmcwhirter/simulations
73d8349125d50394ecf126af672c35c703e07aeb
[ "MIT" ]
3
2016-08-24T15:40:25.000Z
2019-12-14T17:26:57.000Z
""" Framework implementations for running simulations with various dynamics Modules: :py:mod:`~simulations.dynamics.discrete_replicator` Implements a generic discrete replicator dynamics. You should probably not use this directly. :py:mod:`~simulations.dynamics.generation_machine` Implement...
33.05
75
0.765507
74
661
6.756757
0.432432
0.04
0.128
0.192
0.396
0.236
0.236
0.236
0.236
0.236
0
0.001812
0.164902
661
19
76
34.789474
0.903986
0.984871
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
44f60493b5082a99fc1540c2c983bfd9d36b6d16
503
py
Python
tests/presets.py
log2timeline/devtools
cebc7d38e3439dfba653af869e9ae5ec5f77cc30
[ "Apache-2.0" ]
6
2015-08-07T12:53:10.000Z
2022-02-18T02:59:51.000Z
tests/presets.py
joachimmetz/l2tdevtools
45048601cebfc73d1f35c5dcdd8e913769ca660f
[ "Apache-2.0" ]
700
2015-02-23T06:55:06.000Z
2022-03-12T16:43:50.000Z
tests/presets.py
joachimmetz/l2tdevtools
45048601cebfc73d1f35c5dcdd8e913769ca660f
[ "Apache-2.0" ]
21
2015-03-28T10:29:23.000Z
2021-08-12T04:56:18.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for the project preset definitions.""" import unittest from l2tdevtools import presets from tests import test_lib class PresetDefinitionTest(test_lib.BaseTestCase): """Tests for the preset definition.""" def testInitialize(self): """Tests the __init__...
19.346154
56
0.723658
58
503
6
0.62069
0.137931
0.063218
0
0
0
0
0
0
0
0
0.004695
0.153082
503
25
57
20.12
0.812207
0.324056
0
0
0
0
0.037267
0
0
0
0
0.04
0.111111
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
7811414b208bf74f8f1487cd20b17d0e49e35d6c
438
py
Python
leetcode/22-generate-parentheses.py
ardakkk/Algorithms-and-Data-Structures
c428bb0bd7eeb6c34448630f88f13e1329b54636
[ "MIT" ]
null
null
null
leetcode/22-generate-parentheses.py
ardakkk/Algorithms-and-Data-Structures
c428bb0bd7eeb6c34448630f88f13e1329b54636
[ "MIT" ]
null
null
null
leetcode/22-generate-parentheses.py
ardakkk/Algorithms-and-Data-Structures
c428bb0bd7eeb6c34448630f88f13e1329b54636
[ "MIT" ]
null
null
null
# Time: O(n) # Space: O(n) class Solution: def generateParenthesis(self, n): res = [] def backtrack(str, left, right): if len(str) == 2 * n: res.append(str) return if left < n: backtrack(str + '(', left + 1, right) ...
25.764706
53
0.43379
48
438
3.958333
0.4375
0.189474
0.252632
0.221053
0
0
0
0
0
0
0
0.020161
0.43379
438
17
54
25.764706
0.745968
0.050228
0
0
1
0
0.004831
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.384615
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
784751f785e10e995c56df7d9bbebe0c3d3fcf53
24
py
Python
main/libxpresent/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
46
2021-06-10T02:27:32.000Z
2022-03-27T11:33:24.000Z
main/libxpresent/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
58
2021-07-03T13:58:20.000Z
2022-03-13T16:45:35.000Z
main/libxpresent/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
6
2021-07-04T10:46:40.000Z
2022-01-09T00:03:59.000Z
pkgname = "libXpresent"
12
23
0.75
2
24
9
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.857143
0
0
0
0
0
0.458333
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
7856319884b3afc6ec04536846d690d340202f35
11,344
py
Python
scripts/merge_data.py
eads/fosas-gatsbyv1
e1b1372799f7106218645b0794ec97add4e7ba9e
[ "MIT" ]
null
null
null
scripts/merge_data.py
eads/fosas-gatsbyv1
e1b1372799f7106218645b0794ec97add4e7ba9e
[ "MIT" ]
73
2018-06-02T16:38:13.000Z
2021-09-21T02:03:44.000Z
scripts/merge_data.py
eads/fosas-gatsbyv1
e1b1372799f7106218645b0794ec97add4e7ba9e
[ "MIT" ]
1
2018-10-24T05:07:44.000Z
2018-10-24T05:07:44.000Z
import codecs import json import numpy as np import pandas as pd import sys from shapely.geometry import mapping, shape from copy import deepcopy PROPS = ['fosas', 'cuerpos', 'restos', 'cuerpos_identificados', 'restos_identificados', # 'craneos', ] def merge_pgr_...
40.084806
166
0.553068
1,271
11,344
4.763965
0.125885
0.112304
0.086705
0.034682
0.766144
0.743022
0.71924
0.693807
0.670355
0.654996
0
0.009351
0.311795
11,344
282
167
40.22695
0.766235
0.028473
0
0.606481
0
0
0.164729
0.043498
0
0
0
0
0
1
0.013889
false
0
0.032407
0
0.046296
0.013889
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
785f4ca386c6035a4bfaa0e86b3b39c13f5f2b23
18,823
py
Python
CourseraMOOCdbTranslate/program/piping_scripts/helperFuncs.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
26
2016-09-14T18:15:29.000Z
2021-12-01T20:01:29.000Z
CourseraMOOCdbTranslate/program/piping_scripts/helperFuncs.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
122
2017-09-12T15:22:03.000Z
2021-09-27T17:25:08.000Z
CourseraMOOCdbTranslate/program/piping_scripts/helperFuncs.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
17
2017-02-16T16:04:41.000Z
2021-02-06T05:36:44.000Z
from utilities import db from utilities import logger from datetime import datetime import os import re import sqlparse import warnings import subprocess def makeFeatureTables(vars): preprocessing_files = [ [ 'create_longitudinal_features.sql', ['moocdb'], [vars['target']['db']] ...
18,823
18,823
0.603145
2,048
18,823
5.354004
0.166016
0.03575
0.086001
0.058368
0.473233
0.410579
0.291108
0.246512
0.185864
0.154856
0
0.024597
0.248366
18,823
1
18,823
18,823
0.750424
0.111141
0
0.382445
0
0.031348
0.513742
0.163389
0
0
0
0
0
1
0.021944
false
0.025078
0.025078
0
0.065831
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
786a8add7a2dce1b3842aad68cc49297db176a13
313
py
Python
balance/__init__.py
gdude2002/PyBalance
5c9fc535275b710cd53a2eb698204974b503c3b9
[ "MIT" ]
1
2019-04-09T10:39:29.000Z
2019-04-09T10:39:29.000Z
balance/__init__.py
gdude2002/PyBalance
5c9fc535275b710cd53a2eb698204974b503c3b9
[ "MIT" ]
null
null
null
balance/__init__.py
gdude2002/PyBalance
5c9fc535275b710cd53a2eb698204974b503c3b9
[ "MIT" ]
null
null
null
import sys from PySide2.QtCore import Qt from PySide2.QtWidgets import QApplication __all__ = ["app"] QApplication.setAttribute(Qt.AA_UseHighDpiPixmaps) # For high density displays QApplication.setAttribute(Qt.AA_ShareOpenGLContexts) # Apparently good practise for some reason app = QApplication(sys.argv)
24.076923
96
0.814696
38
313
6.552632
0.631579
0.088353
0.208835
0.2249
0
0
0
0
0
0
0
0.007246
0.118211
313
12
97
26.083333
0.894928
0.210863
0
0
0
0
0.012295
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
786b1ff2b8be3f19c0034bb5815ad8aa16da000e
148
py
Python
Scripts/ict/demo/helloworld/apps.py
mspgeek/Client_Portal
0267168bb90e8e9c85aecdd715972b9622b82384
[ "MIT" ]
4
2020-04-08T01:13:48.000Z
2020-08-15T17:12:07.000Z
Scripts/ict/demo/helloworld/apps.py
mspgeek/Client_Portal
0267168bb90e8e9c85aecdd715972b9622b82384
[ "MIT" ]
1
2021-04-12T12:55:24.000Z
2021-04-12T12:55:24.000Z
Scripts/ict/demo/helloworld/apps.py
mspgeek/Client_Portal
0267168bb90e8e9c85aecdd715972b9622b82384
[ "MIT" ]
null
null
null
from django.apps import AppConfig class HelloWorldConfig(AppConfig): icon = '<i class="material-icons">flag</i>' name = 'demo.helloworld'
21.142857
47
0.709459
18
148
5.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.155405
148
6
48
24.666667
0.84
0
0
0
0
0
0.331081
0.209459
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7871d85af4ea51b42bed370749c5d4d1b805ebf0
307
py
Python
src/datajunction/models/__init__.py
DataJunction/datajunction
d2293255bb7df0e5144c7e448a0ca2b590b6c20f
[ "MIT" ]
null
null
null
src/datajunction/models/__init__.py
DataJunction/datajunction
d2293255bb7df0e5144c7e448a0ca2b590b6c20f
[ "MIT" ]
null
null
null
src/datajunction/models/__init__.py
DataJunction/datajunction
d2293255bb7df0e5144c7e448a0ca2b590b6c20f
[ "MIT" ]
null
null
null
""" All models. """ __all__ = ["Column", "Database", "Node", "Query", "Table"] from datajunction.models.column import Column from datajunction.models.database import Database from datajunction.models.node import Node from datajunction.models.query import Query from datajunction.models.table import Table
25.583333
58
0.781759
38
307
6.210526
0.263158
0.338983
0.466102
0
0
0
0
0
0
0
0
0
0.107492
307
11
59
27.909091
0.861314
0.035831
0
0
0
0
0.097222
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
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
7889940a155a8e025cf861ea2435f44dbde24b5a
1,408
py
Python
python/setup.py
tribbloid/jupyerlab-desktop
dfe3676521b96887ee308baa468c993fae27b268
[ "Apache-2.0" ]
null
null
null
python/setup.py
tribbloid/jupyerlab-desktop
dfe3676521b96887ee308baa468c993fae27b268
[ "Apache-2.0" ]
null
null
null
python/setup.py
tribbloid/jupyerlab-desktop
dfe3676521b96887ee308baa468c993fae27b268
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages setup( name='jupyterlab-desktop', version='0.1.0', author='Peng Cheng', author_email='pc175@uow.edu.au', description='... in an app-mode browser', long_description=open("../README.md").read(), url='https://github.com/mwouts/jupytext', packages...
44
86
0.573153
137
1,408
5.817518
0.591241
0.166876
0.219573
0.163112
0
0
0
0
0
0
0
0.025366
0.272017
1,408
31
87
45.419355
0.752195
0.055398
0
0
0
0
0.533886
0.048946
0
0
0
0
0
1
0
true
0
0.034483
0
0.034483
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
7889d6d829918c24e9f740b5308858c633c4437a
860
py
Python
search/models.py
khaledAltuwaijri/cheetah
02a5329981c1f63ac6ae1cedaa9f8a010dc138bb
[ "MIT" ]
null
null
null
search/models.py
khaledAltuwaijri/cheetah
02a5329981c1f63ac6ae1cedaa9f8a010dc138bb
[ "MIT" ]
null
null
null
search/models.py
khaledAltuwaijri/cheetah
02a5329981c1f63ac6ae1cedaa9f8a010dc138bb
[ "MIT" ]
1
2019-05-30T20:26:12.000Z
2019-05-30T20:26:12.000Z
from django.db import models # Create your models here. class UserProfile(models.Model): display_name = models.CharField(max_length=200) email = models.CharField(max_length=200) country = models.CharField(max_length=100) class Song(models.Model): name = models.CharField(max_length=200) artist = mo...
34.4
84
0.737209
107
860
5.841122
0.411215
0.144
0.1728
0.2304
0.2704
0.184
0.1344
0.1344
0
0
0
0.027285
0.147674
860
24
85
35.833333
0.825375
0.116279
0
0.125
0
0
0.056954
0
0
0
0
0.041667
0
1
0
false
0
0.0625
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
788f41fae04731ff4b0005e6bc040b2418f3eea5
152
py
Python
c_translator/formative/m_void.py
mahudu97/ANSI-C_Compiler
0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131
[ "Unlicense" ]
null
null
null
c_translator/formative/m_void.py
mahudu97/ANSI-C_Compiler
0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131
[ "Unlicense" ]
null
null
null
c_translator/formative/m_void.py
mahudu97/ANSI-C_Compiler
0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131
[ "Unlicense" ]
null
null
null
def voidF(): pass def main(): voidF() return 10 # Boilerplate if __name__ == "__main__": import sys ret=main() sys.exit(ret)
10.857143
26
0.572368
19
152
4.157895
0.684211
0
0
0
0
0
0
0
0
0
0
0.018692
0.296053
152
13
27
11.692308
0.719626
0.072368
0
0
0
0
0.057971
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
0
0.444444
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
78adcebc3cea190ace5602e0624ae9e4da84a87e
412
py
Python
config.py
WuTao1530663/web_spider_in_python
1a3ba3471942bc5e38b1d5cac37568341ff0dd6f
[ "Apache-2.0" ]
null
null
null
config.py
WuTao1530663/web_spider_in_python
1a3ba3471942bc5e38b1d5cac37568341ff0dd6f
[ "Apache-2.0" ]
null
null
null
config.py
WuTao1530663/web_spider_in_python
1a3ba3471942bc5e38b1d5cac37568341ff0dd6f
[ "Apache-2.0" ]
null
null
null
from requests import Session import os session = Session() params = {"form_email":os.environ.get("DBUSER"),"form_password":os.environ.get("DBPASSWD")} headers = {"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 "} setting_url = 'http...
51.5
148
0.745146
66
412
4.560606
0.712121
0.059801
0.079734
0.112957
0.13289
0
0
0
0
0
0
0.068602
0.080097
412
8
149
51.5
0.725594
0
0
0
0
0.142857
0.602906
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.285714
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
78c11b7497fa291dd2993e9490ce60f04ac5f555
160
py
Python
Argentina - Mondiola Rock - 90 pts/Practica/TP1/ejercicio 2/vinos.py
parolaraul/itChallengeML2017
c7e5d65ff5f9207342158dc2818638062ce3c220
[ "MIT" ]
1
2020-10-08T16:19:18.000Z
2020-10-08T16:19:18.000Z
Argentina - Mondiola Rock - 90 pts/Practica/TP1/ejercicio 2/vinos.py
parolaraul/itChallengeML2017
c7e5d65ff5f9207342158dc2818638062ce3c220
[ "MIT" ]
null
null
null
Argentina - Mondiola Rock - 90 pts/Practica/TP1/ejercicio 2/vinos.py
parolaraul/itChallengeML2017
c7e5d65ff5f9207342158dc2818638062ce3c220
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Ejercicio 2: Reconocimiento del tipo de un vino a partir de análisis químicos. """ import numpy as np vinos = np.load('vinos.npy')
20
78
0.675
25
160
4.32
0.88
0
0
0
0
0
0
0
0
0
0
0.015152
0.175
160
7
79
22.857143
0.80303
0.63125
0
0
0
0
0.176471
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
78d40fd8f7f9dff3c6eb36a9bb1c8bbea6dec02e
2,377
py
Python
ws2122-lspm/Lib/site-packages/pm4py/visualization/ocel/ocpn/visualizer.py
Malekhy/ws2122-lspm
e4dc8b801d12f862b8ef536a0f125f346f085a00
[ "MIT" ]
1
2022-01-19T04:02:46.000Z
2022-01-19T04:02:46.000Z
ws2122-lspm/Lib/site-packages/pm4py/visualization/ocel/ocpn/visualizer.py
Malekhy/ws2122-lspm
e4dc8b801d12f862b8ef536a0f125f346f085a00
[ "MIT" ]
1
2021-11-19T07:21:48.000Z
2021-11-19T07:21:48.000Z
ws2122-lspm/Lib/site-packages/pm4py/visualization/ocel/ocpn/visualizer.py
Malekhy/ws2122-lspm
e4dc8b801d12f862b8ef536a0f125f346f085a00
[ "MIT" ]
1
2022-01-14T17:15:38.000Z
2022-01-14T17:15:38.000Z
''' This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de). PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any late...
26.411111
152
0.681111
311
2,377
5.157556
0.450161
0.015586
0.024314
0.035536
0.142145
0.083541
0
0
0
0
0
0.011989
0.228019
2,377
89
153
26.707865
0.862125
0.575515
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.411765
0
0.941176
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
1
0
1
0
0
3
157b9f2fed765b28bb79d496e608ae99a541b9ef
56
py
Python
CPAC/GUI/interface/windows/__init__.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
1
2021-08-02T23:23:39.000Z
2021-08-02T23:23:39.000Z
CPAC/GUI/interface/windows/__init__.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
null
null
null
CPAC/GUI/interface/windows/__init__.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
2
2021-08-02T23:23:40.000Z
2022-02-26T12:39:30.000Z
from .main_window import ListBox # __all__= [ 'ListBox']
18.666667
32
0.75
7
56
5.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.125
56
3
33
18.666667
0.755102
0
0
0
0
0
0.125
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
1594fb675f5f3c46a7024e379d5b6275778c67e7
692
py
Python
server/server.py
shiftsayan/restful-chatbot
d475757ab7ef3e668f6263f669443e36556e1c1b
[ "MIT" ]
null
null
null
server/server.py
shiftsayan/restful-chatbot
d475757ab7ef3e668f6263f669443e36556e1c1b
[ "MIT" ]
null
null
null
server/server.py
shiftsayan/restful-chatbot
d475757ab7ef3e668f6263f669443e36556e1c1b
[ "MIT" ]
null
null
null
''' Run RESTful Flask server to receive requests from client ''' from flask import Flask, request from flask_restful import Api, Resource, reqparse from bot import bot app = Flask(__name__) api = Api(app) class Res(Resource): def get(self, uid): pass def post(self, uid): response = bot.get...
21.625
78
0.65896
100
692
4.49
0.53
0.062361
0.073497
0.062361
0
0
0
0
0
0
0
0.011364
0.236994
692
31
79
22.322581
0.839015
0.141619
0
0.157895
0
0
0.138225
0.035836
0
0
0
0
0
1
0.210526
false
0.157895
0.157895
0
0.526316
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
15a3f10c02419e3bdd085180b78a04aa4c6301a7
287
py
Python
housekeeper/store/api/base.py
Clinical-Genomics/housekeeper
f702f39c809eca7ab5d93bba001b821dd4dd2fc5
[ "MIT" ]
2
2018-03-24T06:55:13.000Z
2018-12-21T12:16:59.000Z
housekeeper/store/api/base.py
Clinical-Genomics/housekeeper
f702f39c809eca7ab5d93bba001b821dd4dd2fc5
[ "MIT" ]
71
2016-08-08T11:13:58.000Z
2021-04-23T12:08:47.000Z
housekeeper/store/api/base.py
Clinical-Genomics/housekeeper
f702f39c809eca7ab5d93bba001b821dd4dd2fc5
[ "MIT" ]
null
null
null
"""This module defines a BaseHandler class holding different models""" from housekeeper.store import models class BaseHandler: """This is a base class holding different models""" Bundle = models.Bundle Version = models.Version File = models.File Tag = models.Tag
22.076923
70
0.71777
36
287
5.722222
0.527778
0.116505
0.203884
0.262136
0
0
0
0
0
0
0
0
0.205575
287
12
71
23.916667
0.903509
0.383275
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
15a619fd050cc973a4de0b95f736e7a743e17acc
272
py
Python
topCoder/srms/500s/srm524/div2/shipping_cubes.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-09-30T19:53:08.000Z
2020-09-30T19:53:08.000Z
topCoder/srms/500s/srm524/div2/shipping_cubes.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
null
null
null
topCoder/srms/500s/srm524/div2/shipping_cubes.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-10-15T09:10:57.000Z
2020-10-15T09:10:57.000Z
class ShippingCubes: def minimalCost(self, N): m = 600 for i in xrange(1, 200): for j in xrange(1, i+1): for k in xrange(1, j+1): if i*j*k == N: m = min(m, i+j+k) return m
27.2
41
0.397059
41
272
2.634146
0.463415
0.222222
0.25
0
0
0
0
0
0
0
0
0.079137
0.488971
272
9
42
30.222222
0.697842
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
15b026940d5b3898a2a572a94c594a4840804426
26
py
Python
lib/partitioner/__init__.py
hashnfv/hashnfv-domino
eb2fbb1315e6489dd159c8227030d035bdeb1864
[ "Apache-2.0" ]
null
null
null
lib/partitioner/__init__.py
hashnfv/hashnfv-domino
eb2fbb1315e6489dd159c8227030d035bdeb1864
[ "Apache-2.0" ]
null
null
null
lib/partitioner/__init__.py
hashnfv/hashnfv-domino
eb2fbb1315e6489dd159c8227030d035bdeb1864
[ "Apache-2.0" ]
null
null
null
__all__ = ['partitioner']
13
25
0.692308
2
26
7
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.608696
0
0
0
0
0
0.423077
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
15bed9fd2a90b686badf0921df0962e7a27dd3d2
2,044
py
Python
Logger.py
EricM194/file-copy
18738a8c23381d15e34cab664e128cfcba02cbec
[ "MIT" ]
null
null
null
Logger.py
EricM194/file-copy
18738a8c23381d15e34cab664e128cfcba02cbec
[ "MIT" ]
null
null
null
Logger.py
EricM194/file-copy
18738a8c23381d15e34cab664e128cfcba02cbec
[ "MIT" ]
null
null
null
from tkinter import Label # special color codes GREEN = '\u001b[32m' YELLOW = '\u001b[33m' RED = '\u001b[31m' RESET = '\u001b[0m' def print_info(info_message): """Print the given string to the console with "[INFO] " prefixed Parameters: info_message (String): The string to print to console """ ...
26.894737
78
0.667319
275
2,044
4.807273
0.123636
0.072617
0.059002
0.086233
0.747353
0.719365
0.593797
0.593797
0.593797
0.487141
0
0.012056
0.228963
2,044
75
79
27.253333
0.826777
0.52544
0
0.3
0
0
0.131051
0
0
0
0
0
0
1
0.3
false
0
0.05
0
0.35
0.6
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
3
ec6c3f5a925dd40dd3491c9c278c718ee842abe1
654
py
Python
pyuavcan/transport/can/_session/__init__.py
pcarranzav2/pyuavcan
1d5dbf07b6acc64576ca4f1deaae3b35bd7df377
[ "MIT" ]
null
null
null
pyuavcan/transport/can/_session/__init__.py
pcarranzav2/pyuavcan
1d5dbf07b6acc64576ca4f1deaae3b35bd7df377
[ "MIT" ]
null
null
null
pyuavcan/transport/can/_session/__init__.py
pcarranzav2/pyuavcan
1d5dbf07b6acc64576ca4f1deaae3b35bd7df377
[ "MIT" ]
null
null
null
# # Copyright (c) 2019 UAVCAN Development Team # This software is distributed under the terms of the MIT License. # Author: Pavel Kirienko <pavel.kirienko@zubax.com> # from ._base import SessionFinalizer as SessionFinalizer from ._input import CANInputSession as CANInputSession from ._input import CANInputSessionStat...
38.470588
89
0.857798
67
654
8.253731
0.537313
0.05425
0.086799
0
0
0
0
0
0
0
0
0.006873
0.110092
654
16
90
40.875
0.943299
0.240061
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ec725b44527aa8e49792d579d24e1ad94213d44d
170
py
Python
problem0756.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0756.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0756.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #756 Approximating a Sum - Project Euler # https://projecteuler.net/problem=756 # # Code by Kevin Marciniak # ###########################
18.888889
42
0.482353
15
170
5.466667
0.933333
0
0
0
0
0
0
0
0
0
0
0.04
0.117647
170
8
43
21.25
0.506667
0.588235
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
ec7a048ccaa3775b3aac769de8c34c0e5c31d2b9
75
py
Python
lib/utils/views/types.py
arkanister/minitickets
e74dd03f1bcaadf2b196a1ce69c7c959dc8925fd
[ "Apache-2.0" ]
null
null
null
lib/utils/views/types.py
arkanister/minitickets
e74dd03f1bcaadf2b196a1ce69c7c959dc8925fd
[ "Apache-2.0" ]
2
2015-03-13T19:37:21.000Z
2018-06-20T23:06:41.000Z
lib/utils/views/types.py
arkanister/minitickets
e74dd03f1bcaadf2b196a1ce69c7c959dc8925fd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- CREATE, UPDATE, DELETE, DETAIL, LIST = range(1, 6)
25
50
0.6
11
75
4.090909
1
0
0
0
0
0
0
0
0
0
0
0.048387
0.173333
75
3
50
25
0.677419
0.28
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ec97a9b0a184c6ebb79f620a2261c5fca9dce207
308
py
Python
src/loader/loader_pal.py
AngelRealms/jsFO
1a61d1e9c50ea7d5a6e65ddf114872839a7b26fd
[ "Apache-2.0" ]
29
2015-05-13T08:39:15.000Z
2021-09-19T12:52:18.000Z
src/loader/loader_pal.py
AngelRealms/jsFO
1a61d1e9c50ea7d5a6e65ddf114872839a7b26fd
[ "Apache-2.0" ]
31
2015-05-13T08:05:12.000Z
2021-09-20T03:28:35.000Z
src/loader/loader_pal.py
AngelRealms/jsFO
1a61d1e9c50ea7d5a6e65ddf114872839a7b26fd
[ "Apache-2.0" ]
8
2015-05-14T15:12:45.000Z
2022-01-16T16:40:23.000Z
import struct def loadPAL(palFile): palInfo = [] for i in range(256): palInfo.append(min(struct.unpack('>B', palFile.read(1))[0]*4,255)) palInfo.append(min(struct.unpack('>B', palFile.read(1))[0]*4,255)) palInfo.append(min(struct.unpack('>B', palFile.read(1))[0]*4,255)) return palInfo
28
69
0.652597
49
308
4.102041
0.428571
0.19403
0.238806
0.328358
0.686567
0.686567
0.686567
0.686567
0.686567
0.686567
0
0.078652
0.133117
308
11
70
28
0.674157
0
0
0.375
0
0
0.020067
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
eca4ea9846c84c062b121b3b70a9e8e49f3e3bd6
226
py
Python
hello.py
ccs-cs20-w19/flask-periodic-demo-heroku
09f3326a29e2a029ba3d490a4618415b99bf9d95
[ "MIT" ]
null
null
null
hello.py
ccs-cs20-w19/flask-periodic-demo-heroku
09f3326a29e2a029ba3d490a4618415b99bf9d95
[ "MIT" ]
null
null
null
hello.py
ccs-cs20-w19/flask-periodic-demo-heroku
09f3326a29e2a029ba3d490a4618415b99bf9d95
[ "MIT" ]
null
null
null
import makeWords from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World! (3)' @app.route('/make/<word>') def show_make(word): return repr(makeWords.wordToElems(word))
16.142857
44
0.690265
31
226
4.83871
0.548387
0.106667
0
0
0
0
0
0
0
0
0
0.005181
0.146018
226
13
45
17.384615
0.772021
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
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
eca7b1c46b249aaf79f8d5b98ce417f1eb94b605
2,083
py
Python
vulnman/core/tests/mixins/core.py
blockomat2100/vulnman
835ff3aae1168d8e2fa5556279bc86efd2e46472
[ "MIT" ]
null
null
null
vulnman/core/tests/mixins/core.py
blockomat2100/vulnman
835ff3aae1168d8e2fa5556279bc86efd2e46472
[ "MIT" ]
23
2021-12-01T10:00:38.000Z
2021-12-11T11:43:13.000Z
vulnman/core/tests/mixins/core.py
blockomat2100/vulnman
835ff3aae1168d8e2fa5556279bc86efd2e46472
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User, Group from django.urls import reverse_lazy from django.utils import timezone from ddf import G from apps.projects.models import Project, Client, ProjectContributor class CoreObjectsTestCaseMixin(object): def init_mixin(self): self.pentester1 = self._create_user...
39.301887
100
0.691311
248
2,083
5.641129
0.346774
0.03574
0.025733
0.030021
0.100071
0.060043
0.060043
0.060043
0
0
0
0.005435
0.204993
2,083
52
101
40.057692
0.839372
0.048968
0
0
0
0
0.040848
0
0
0
0
0
0
1
0.228571
false
0.057143
0.142857
0.085714
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
ecabe15b6e6d07d9cfec3a4837fd82b7bc73aa10
18,217
py
Python
models/encoders/core/blstm.py
sundogrd/tensorflow_end2end_speech_recognition
61e4a65fb5c9f3d9f690d713dcd77a48b1de0a14
[ "MIT" ]
351
2017-05-27T08:31:27.000Z
2022-03-03T16:47:27.000Z
models/encoders/core/blstm.py
eLavin11/tensorflow_end2end_speech_recognition
65b9728089d5e92b25b92384a67419d970399a64
[ "MIT" ]
19
2017-07-19T13:12:18.000Z
2019-06-12T06:07:13.000Z
models/encoders/core/blstm.py
eLavin11/tensorflow_end2end_speech_recognition
65b9728089d5e92b25b92384a67419d970399a64
[ "MIT" ]
127
2017-06-12T16:27:21.000Z
2021-12-29T02:22:34.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- """Bidirectional LSTM encoder.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf class BLSTMEncoder(object): """Bidirectional LSTM encoder. Args: num_units (int): the...
38.432489
84
0.586046
2,146
18,217
4.710624
0.091333
0.040954
0.028489
0.018004
0.746365
0.724899
0.704224
0.694035
0.686616
0.678603
0
0.006612
0.33584
18,217
473
85
38.513742
0.828911
0.296811
0
0.671533
0
0
0.025311
0
0
0
0
0.006342
0.00365
1
0.025547
false
0
0.014599
0
0.076642
0.00365
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ecb01c566ea4ce80ef659e35f371b6fea5ba931d
95
py
Python
projects/postgres/influx_config.py
NotRyan/savio-analytics-dashboard
d7435f14d00feeb0a14ff945aa11e160097b1e67
[ "BSD-3-Clause" ]
null
null
null
projects/postgres/influx_config.py
NotRyan/savio-analytics-dashboard
d7435f14d00feeb0a14ff945aa11e160097b1e67
[ "BSD-3-Clause" ]
null
null
null
projects/postgres/influx_config.py
NotRyan/savio-analytics-dashboard
d7435f14d00feeb0a14ff945aa11e160097b1e67
[ "BSD-3-Clause" ]
null
null
null
hostname = 'influx-test.lbl.gov' port = 8086 table = 'cpu' password = '' database = 'telegraf'
15.833333
32
0.673684
12
95
5.333333
1
0
0
0
0
0
0
0
0
0
0
0.05
0.157895
95
5
33
19
0.75
0
0
0
0
0
0.315789
0
0
0
0
0
0
1
0
false
0.2
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ecb37034813c5748e85d0a67eb3ed9ead223b98f
332
py
Python
mqtt/serializers.py
eduardoporfiro/ProxyManager
233ae999060ea469b85a0ed84951b8216fe2013a
[ "MIT" ]
null
null
null
mqtt/serializers.py
eduardoporfiro/ProxyManager
233ae999060ea469b85a0ed84951b8216fe2013a
[ "MIT" ]
9
2019-12-23T11:35:51.000Z
2022-02-10T07:35:02.000Z
mqtt/serializers.py
eduardoporfiro/ProxyManager
233ae999060ea469b85a0ed84951b8216fe2013a
[ "MIT" ]
null
null
null
from rest_framework import serializers from mqtt.models import Broker, Mqtt class BrokerSerializer(serializers.ModelSerializer): class Meta: model = Broker fields = '__all__' class MqttSerializer(serializers.ModelSerializer): class Meta: model = Mqtt exclude =[ 'RC...
22.133333
52
0.653614
31
332
6.83871
0.580645
0.245283
0.292453
0.330189
0.377358
0
0
0
0
0
0
0
0.277108
332
15
53
22.133333
0.883333
0
0
0.166667
0
0
0.027027
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ecb42dc43473d8327a6f65676e75afce87d3cd78
5,228
py
Python
nbapy/game.py
jtpavlock/nba_stats
ee63e5e0cca412c95805c99bea51e2b5685324ff
[ "BSD-3-Clause" ]
12
2020-01-06T23:46:58.000Z
2021-04-28T15:52:18.000Z
nbapy/game.py
jtpavlock/nba_stats
ee63e5e0cca412c95805c99bea51e2b5685324ff
[ "BSD-3-Clause" ]
4
2019-12-22T14:09:30.000Z
2021-07-01T00:46:32.000Z
nbapy/game.py
jtpavlock/nba_stats
ee63e5e0cca412c95805c99bea51e2b5685324ff
[ "BSD-3-Clause" ]
2
2020-07-18T09:27:55.000Z
2022-03-05T16:44:45.000Z
from abc import ABC, abstractmethod from nbapy import constants from nbapy.nba_api import NbaAPI class _BoxScore(ABC): @property @classmethod @abstractmethod def _endpoint(cls): return NotImplementedError def __init__( self, game_id: str, season=constants.CURRENT_...
26.00995
59
0.65417
551
5,228
5.940109
0.170599
0.068439
0.11549
0.140238
0.692942
0.687748
0.613199
0.594256
0.593339
0.496792
0
0.002026
0.244836
5,228
200
60
26.14
0.827001
0
0
0.57931
0
0
0.129878
0.020084
0
0
0
0
0
1
0.227586
false
0
0.02069
0.193103
0.586207
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
ecc4e70b6e78e8166cf2fa5b7482ed47947a5585
251
py
Python
pyswagger/scanner/v2_0/__init__.py
gavrie/pyswagger
f5622d70519061c793e57d1b27659afbb8677105
[ "MIT" ]
199
2018-06-04T18:10:51.000Z
2022-03-06T15:23:48.000Z
pyswagger/scanner/v2_0/__init__.py
gavrie/pyswagger
f5622d70519061c793e57d1b27659afbb8677105
[ "MIT" ]
125
2015-01-03T01:42:02.000Z
2018-05-21T14:44:22.000Z
pyswagger/scanner/v2_0/__init__.py
gavrie/pyswagger
f5622d70519061c793e57d1b27659afbb8677105
[ "MIT" ]
61
2018-06-10T01:46:06.000Z
2022-03-08T01:13:11.000Z
from .assign_parent import AssignParent from .resolve import Resolve from .patch_obj import PatchObject from .yaml import YamlFixer from .aggt import Aggregate from .norm_ref import NormalizeRef from .merge import Merge from .validate import Validate
27.888889
39
0.840637
35
251
5.942857
0.514286
0
0
0
0
0
0
0
0
0
0
0
0.12749
251
8
40
31.375
0.949772
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ecd61528e470ca40e6ea65926032bf2317b3a6e2
235
py
Python
pyjoystick/qt/widget_updater.py
justengel/pyjoystick
2b1639c17892904b191fe2ba42341a19d6f3b78e
[ "MIT" ]
3
2020-12-01T01:48:23.000Z
2022-02-27T19:39:29.000Z
pyjoystick/qt/widget_updater.py
justengel/pyjoystick
2b1639c17892904b191fe2ba42341a19d6f3b78e
[ "MIT" ]
3
2020-12-01T06:13:32.000Z
2021-02-25T00:57:01.000Z
pyjoystick/qt/widget_updater.py
justengel/pyjoystick
2b1639c17892904b191fe2ba42341a19d6f3b78e
[ "MIT" ]
1
2020-12-02T06:35:52.000Z
2020-12-02T06:35:52.000Z
""" Thread Updater module to help update GUI items in a separate thread. """ from qt_thread_updater import get_updater, set_updater, cleanup_app, ThreadUpdater __all__ = ['get_updater', 'set_updater', 'cleanup_app', 'ThreadUpdater']
29.375
82
0.774468
32
235
5.3125
0.625
0.152941
0.152941
0.235294
0.505882
0.505882
0.505882
0
0
0
0
0
0.123404
235
7
83
33.571429
0.825243
0.289362
0
0
0
0
0.289308
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ece8a0ca055b73166e86b1b7ea2bf4a9bfe3cb9d
88
py
Python
src/run.py
guisua/botombi
e90de2893e722f9e65819196e23f854a16c3d190
[ "MIT" ]
null
null
null
src/run.py
guisua/botombi
e90de2893e722f9e65819196e23f854a16c3d190
[ "MIT" ]
4
2020-11-22T14:55:55.000Z
2020-11-22T14:56:16.000Z
src/run.py
guisua/botombi
e90de2893e722f9e65819196e23f854a16c3d190
[ "MIT" ]
null
null
null
import bot from environment import Environment env = Environment() bot.launch(env=env)
14.666667
35
0.795455
12
88
5.833333
0.5
0
0
0
0
0
0
0
0
0
0
0
0.125
88
5
36
17.6
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ecf172bfed1f37ff23e495d9a6b098870372faae
566
py
Python
backend/backend/router.py
xingxingzaixian/python-django-online-exam
c504e121814061cbf7647d4d916f363230239f17
[ "MIT" ]
47
2021-09-23T00:52:49.000Z
2022-03-27T12:57:28.000Z
backend/backend/router.py
xingxingzaixian/django-vue3.2-online-exam
1bf29174aee951238ee283df2796f47177e622ec
[ "MIT" ]
null
null
null
backend/backend/router.py
xingxingzaixian/django-vue3.2-online-exam
1bf29174aee951238ee283df2796f47177e622ec
[ "MIT" ]
17
2021-09-02T12:12:21.000Z
2022-03-27T10:28:27.000Z
# -*- coding: utf-8 -*- """ @author: xingxingzaixian @create: 2020/9/6 @description: """ from django.conf import settings class CustomRouter: def db_for_read(self, model, **hints): if model._meta.app_label in settings.DATABASE_APPS_MAPPING: return settings.DATABASE_APPS_MAPPING[model._meta.a...
28.3
72
0.696113
73
566
5.123288
0.479452
0.096257
0.128342
0.181818
0.668449
0.668449
0.668449
0.668449
0.668449
0.668449
0
0.015385
0.196113
566
19
73
29.789474
0.806593
0.141343
0
0.6
0
0
0.02935
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
01cf6958cc7364ee7dca81fc61ff7d3283328c27
26,594
py
Python
ABC.py
marisasel/ABCbioinspirada
5032f9fbcd67f859be41c7903e1c72627931f333
[ "MIT" ]
null
null
null
ABC.py
marisasel/ABCbioinspirada
5032f9fbcd67f859be41c7903e1c72627931f333
[ "MIT" ]
null
null
null
ABC.py
marisasel/ABCbioinspirada
5032f9fbcd67f859be41c7903e1c72627931f333
[ "MIT" ]
null
null
null
__author__ = "Omur Sahin" import sys import csv import numpy as np from deap.benchmarks import * import progressbar class ABC: def __init__(_self, conf): _self.conf = conf _self.entrada = [] _self.foods = np.array([[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,...
43.525368
164
0.482628
4,002
26,594
3.098701
0.076712
0.206596
0.306749
0.406419
0.643819
0.610677
0.560923
0.531006
0.511491
0.488025
0
0.114176
0.351207
26,594
610
165
43.596721
0.604555
0.114951
0
0.575314
0
0
0.006779
0
0
0
0
0
0
1
0.046025
false
0
0.01046
0
0.085774
0.008368
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
01d8681a13ae8251ac93c9aa0748e9944eaf61c4
1,155
py
Python
ozpcenter/api/listing/views/listing_user_viewset.py
emosher/ozp-backend
d31d00bb8a28a8d0c999813f616b398f41516244
[ "Apache-2.0" ]
1
2018-10-05T17:03:01.000Z
2018-10-05T17:03:01.000Z
ozpcenter/api/listing/views/listing_user_viewset.py
emosher/ozp-backend
d31d00bb8a28a8d0c999813f616b398f41516244
[ "Apache-2.0" ]
1
2017-01-06T19:20:32.000Z
2017-01-06T19:20:32.000Z
ozpcenter/api/listing/views/listing_user_viewset.py
emosher/ozp-backend
d31d00bb8a28a8d0c999813f616b398f41516244
[ "Apache-2.0" ]
7
2016-12-16T15:42:05.000Z
2020-09-05T01:11:27.000Z
import logging from rest_framework import viewsets import ozpcenter.api.listing.model_access as model_access import ozpcenter.api.listing.serializers as serializers from ozpcenter import permissions logger = logging.getLogger('ozp-center.' + str(__name__)) class ListingUserViewSet(viewsets.ModelViewSet): """ ...
25.108696
73
0.706494
129
1,155
6.224806
0.511628
0.041096
0.044832
0.062267
0.117061
0
0
0
0
0
0
0.006579
0.21039
1,155
45
74
25.666667
0.873904
0.393939
0
0
0
0
0.017857
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0.153846
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
01fdc66ac5a2f3ccdda54e79be915c2816019014
357
py
Python
shared_memory_dict/hooks.py
gabrielcipriano/shared-memory-dict
823c8d12bee1ac0110e0f6dc02cb527882bad25f
[ "MIT" ]
59
2020-08-06T14:25:38.000Z
2022-03-25T23:06:35.000Z
shared_memory_dict/hooks.py
gabrielcipriano/shared-memory-dict
823c8d12bee1ac0110e0f6dc02cb527882bad25f
[ "MIT" ]
28
2020-10-30T08:41:22.000Z
2022-03-01T08:14:22.000Z
shared_memory_dict/hooks.py
gabrielcipriano/shared-memory-dict
823c8d12bee1ac0110e0f6dc02cb527882bad25f
[ "MIT" ]
10
2020-11-26T12:06:20.000Z
2022-02-21T21:04:52.000Z
from multiprocessing.shared_memory import SharedMemory from .templates import MEMORY_NAME def create_shared_memory(name: str, size: int) -> None: SharedMemory(MEMORY_NAME.format(name=name), create=True, size=size) def free_shared_memory(name: str) -> None: shared_memory = SharedMemory(MEMORY_NAME.format(na...
27.461538
71
0.77591
48
357
5.5625
0.375
0.224719
0.11985
0.142322
0.269663
0.269663
0
0
0
0
0
0
0.123249
357
12
72
29.75
0.853035
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.571429
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
bf0c38361f5e3b30601ea85fbca4a36e11f57355
77
py
Python
mystuff.py
SunWalter/Hard
078579bb6344e7f34fff8f9ad9a8c8f7e1462400
[ "Apache-2.0" ]
null
null
null
mystuff.py
SunWalter/Hard
078579bb6344e7f34fff8f9ad9a8c8f7e1462400
[ "Apache-2.0" ]
null
null
null
mystuff.py
SunWalter/Hard
078579bb6344e7f34fff8f9ad9a8c8f7e1462400
[ "Apache-2.0" ]
null
null
null
def apple(a): print ("I have %d apples." %a) org = "I am a organge"
15.4
35
0.532468
14
77
2.928571
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.298701
77
4
36
19.25
0.759259
0
0
0
0
0
0.424658
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
bf28bd4e8ac6c0f64e01bf7902e14f12d69224e6
273
py
Python
lokalise/__init__.py
lokalise/python-lokalise-api
5a0f33e0cee41e97801887020c5c0455a9cc07f2
[ "BSD-3-Clause" ]
5
2020-09-09T15:22:34.000Z
2021-12-07T12:24:26.000Z
lokalise/__init__.py
lokalise/python-lokalise-api
5a0f33e0cee41e97801887020c5c0455a9cc07f2
[ "BSD-3-Clause" ]
39
2020-12-08T16:56:06.000Z
2022-03-28T15:18:52.000Z
lokalise/__init__.py
lokalise/python-lokalise-api
5a0f33e0cee41e97801887020c5c0455a9cc07f2
[ "BSD-3-Clause" ]
1
2021-03-25T02:55:49.000Z
2021-03-25T02:55:49.000Z
""" Lokalise API v2 official Python interface ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2020 by Lokalise team, Ilya Bodrov. :license: BSD 3 Clause License, see LICENSE for more details. """ from .client import Client from .oauth_client import OAuthClient
24.818182
61
0.648352
33
273
5.333333
0.787879
0.136364
0
0
0
0
0
0
0
0
0
0.025424
0.135531
273
10
62
27.3
0.720339
0.725275
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
173288ee76ab37ef243f680dfad4b3ff5faf2458
391
py
Python
deepspeed/ops/adam/multi_tensor_apply.py
ConnollyLeon/DeepSpeed
2d84d1c185ef0345eaf43a7240d61b33eda43497
[ "MIT" ]
6,728
2020-02-07T23:53:18.000Z
2022-03-31T20:02:53.000Z
deepspeed/ops/adam/multi_tensor_apply.py
ConnollyLeon/DeepSpeed
2d84d1c185ef0345eaf43a7240d61b33eda43497
[ "MIT" ]
1,104
2020-02-08T00:26:15.000Z
2022-03-31T22:33:56.000Z
deepspeed/ops/adam/multi_tensor_apply.py
ConnollyLeon/DeepSpeed
2d84d1c185ef0345eaf43a7240d61b33eda43497
[ "MIT" ]
801
2020-02-10T15:33:42.000Z
2022-03-29T16:32:33.000Z
''' Copyright 2020 The Microsoft DeepSpeed Team Copyright NVIDIA/apex This file is adapted from NVIDIA/apex, commit a109f85 ''' import torch class MultiTensorApply(object): def __init__(self, chunk_size): self.chunk_size = chunk_size def __call__(self, op, noop_flag_buffer, tensor_lists, *args): ...
24.4375
73
0.744246
54
391
5.055556
0.62963
0.131868
0.142857
0.14652
0.212454
0.212454
0
0
0
0
0
0.027778
0.171356
391
15
74
26.066667
0.814815
0.306905
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1733b5dc4ff4ccbf341d478c708925404bc9f166
151
py
Python
congregation/job/job.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
3
2020-10-05T16:30:15.000Z
2021-01-22T13:38:02.000Z
congregation/job/job.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
null
null
null
congregation/job/job.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
1
2021-02-19T12:40:57.000Z
2021-02-19T12:40:57.000Z
class Job: def __init__(self, name: str, code_dir: str): self.job_type = "JOB" self.name = name self.code_dir = code_dir
18.875
49
0.582781
22
151
3.636364
0.454545
0.2625
0
0
0
0
0
0
0
0
0
0
0.311258
151
7
50
21.571429
0.769231
0
0
0
0
0
0.020134
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
173636285c01c1e2da8d11fca8f7483431f4e037
115
py
Python
minimalist_cms/cms_content/models/fields/__init__.py
wullerot/django-minimalist-cms
bd6795d9647f9db1d98e83398238c0e63aca3c1b
[ "MIT" ]
null
null
null
minimalist_cms/cms_content/models/fields/__init__.py
wullerot/django-minimalist-cms
bd6795d9647f9db1d98e83398238c0e63aca3c1b
[ "MIT" ]
null
null
null
minimalist_cms/cms_content/models/fields/__init__.py
wullerot/django-minimalist-cms
bd6795d9647f9db1d98e83398238c0e63aca3c1b
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from .container import ContainerField __all__ = [ ContainerField, ]
12.777778
39
0.782609
11
115
7.363636
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.173913
115
8
40
14.375
0.852632
0
0
0
0
0
0
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
173c6e51062d1824551071f8145043f11f9cf1ca
68
py
Python
Python-Programs/introduction.py
adityaverma121/Simple-Programs
8450560b97f89e0fa3da16a623ad35c0b26409c9
[ "MIT" ]
71
2021-09-30T11:25:12.000Z
2021-10-03T11:33:22.000Z
Python-Programs/introduction.py
adityaverma121/Simple-Programs
8450560b97f89e0fa3da16a623ad35c0b26409c9
[ "MIT" ]
186
2021-09-30T12:25:16.000Z
2021-10-03T13:45:04.000Z
Python-Programs/introduction.py
adityaverma121/Simple-Programs
8450560b97f89e0fa3da16a623ad35c0b26409c9
[ "MIT" ]
385
2021-09-30T11:34:23.000Z
2021-10-03T13:41:00.000Z
name = str(input("Enter Your Name: ")) print("Hello " + str(name))
17
38
0.617647
10
68
4.2
0.7
0
0
0
0
0
0
0
0
0
0
0
0.161765
68
3
39
22.666667
0.736842
0
0
0
0
0
0.338235
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
174ebd5856c1cb0e5a84c000ee39b74167340244
182
py
Python
credentials.py
e-beach/amazing-tweets
a3a827c671d52c7432857ae330ff7c1367c39bf1
[ "MIT" ]
null
null
null
credentials.py
e-beach/amazing-tweets
a3a827c671d52c7432857ae330ff7c1367c39bf1
[ "MIT" ]
null
null
null
credentials.py
e-beach/amazing-tweets
a3a827c671d52c7432857ae330ff7c1367c39bf1
[ "MIT" ]
null
null
null
import os consumer_key = os.environ['CONSUMER_KEY'] consumer_secret = os.environ['CONSUMER_SECRET'] access_key = os.environ['ACCESS_KEY'] access_secret = os.environ['ACCESS_SECRET']
30.333333
47
0.791209
26
182
5.230769
0.269231
0.264706
0.176471
0
0
0
0
0
0
0
0
0
0.076923
182
5
48
36.4
0.809524
0
0
0
0
0
0.274725
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
1778326e464b2b885f12aee3882ee0d52b56b3a6
1,116
py
Python
tests/test_iteretools_examples.py
knutdrand/iterator_tutorial
e53666ecf9d9b28408c0d13061a44715c67e0c51
[ "MIT" ]
null
null
null
tests/test_iteretools_examples.py
knutdrand/iterator_tutorial
e53666ecf9d9b28408c0d13061a44715c67e0c51
[ "MIT" ]
null
null
null
tests/test_iteretools_examples.py
knutdrand/iterator_tutorial
e53666ecf9d9b28408c0d13061a44715c67e0c51
[ "MIT" ]
null
null
null
import pytest from iteretor_tutorial.itertools_examples import * @pytest.fixture def sequences(): return ["agctctt", "tggtgta", "gcttagt", "aaaagtctgt", "cccta"] @pytest.fixture def lines(): return ["# header1", "# header2", "# header3", "0", "10", "20"] @pytest.fixture def ages(): return [10, 15, 17, ...
27.9
119
0.675627
165
1,116
4.454545
0.436364
0.057143
0.065306
0.057143
0
0
0
0
0
0
0
0.036286
0.160394
1,116
39
120
28.615385
0.748132
0
0
0.111111
0
0
0.061828
0
0
0
0
0
0.222222
1
0.37037
false
0
0.074074
0.148148
0.592593
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
17a121717b45d6c42983d2c0c205b1dd7b39ab71
323
py
Python
app/batches/launch_detailed_result_worker.py
OuissalTAIM/jenkins
7ea5bcdeb6c0bb3cc14c2826a68e4f521de163c1
[ "BSD-1-Clause" ]
null
null
null
app/batches/launch_detailed_result_worker.py
OuissalTAIM/jenkins
7ea5bcdeb6c0bb3cc14c2826a68e4f521de163c1
[ "BSD-1-Clause" ]
6
2021-02-02T22:52:41.000Z
2022-03-12T00:37:30.000Z
app/batches/launch_detailed_result_worker.py
OuissalTAIM/jenkins
7ea5bcdeb6c0bb3cc14c2826a68e4f521de163c1
[ "BSD-1-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from app.server.ResultWorker import ResultWorker from app.config.env import DB_DETAILED_RESULT_COLLECTION_NAME, RABBITMQ_DETAILED_RESULT_QUEUE_NAME if __name__ == "__main__": worker = ResultWorker(RABBITMQ_DETAILED_RESULT_QUEUE_NAME, DB_DETAILED_RESULT_COLLECTION_NAME) worker.consume...
29.363636
98
0.811146
41
323
5.804878
0.512195
0.235294
0.134454
0.218487
0.512605
0
0
0
0
0
0
0.003472
0.108359
323
10
99
32.3
0.822917
0.065015
0
0
0
0
0.026667
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bd725ac5d284232b3ba5b4c0b2c90430518165e3
3,098
py
Python
truffe2/main/tests.py
GayLaurent/truffe2
477f9408f91c9417705dc792dd2eef7de758486b
[ "BSD-2-Clause" ]
null
null
null
truffe2/main/tests.py
GayLaurent/truffe2
477f9408f91c9417705dc792dd2eef7de758486b
[ "BSD-2-Clause" ]
null
null
null
truffe2/main/tests.py
GayLaurent/truffe2
477f9408f91c9417705dc792dd2eef7de758486b
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". Replace this with more appropriate tests for your application. """ from main.test_tools import TruffeTestAbstract from django.db.utils import OperationalError class MainNoLoginT...
27.660714
95
0.700775
378
3,098
5.417989
0.248677
0.085449
0.158691
0.199219
0.641602
0.589844
0.539063
0.482422
0.37207
0.220703
0
0.011182
0.191737
3,098
111
96
27.90991
0.806709
0.091349
0
0.460317
0
0
0.15253
0.071989
0
0
0
0.009009
0.031746
1
0.396825
false
0
0.031746
0
0.571429
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
bdc3582d9d785ecde7d83858e8f25844f084b352
793
py
Python
src/main.py
u4507075/icd10_word2vec
b3590502067a588f26935dd1046c9692399d90d9
[ "MIT" ]
null
null
null
src/main.py
u4507075/icd10_word2vec
b3590502067a588f26935dd1046c9692399d90d9
[ "MIT" ]
null
null
null
src/main.py
u4507075/icd10_word2vec
b3590502067a588f26935dd1046c9692399d90d9
[ "MIT" ]
null
null
null
import pandas as pd import re import numpy as np import fasttext from tensorflow.python.keras.models import Sequential from tensorflow.python.keras.layers import Dense, Dropout, Flatten, BatchNormalization, Activation from tensorflow.python.keras.layers.convolutional import Conv2D, MaxPooling2D from tensorflow.python.k...
29.37037
98
0.79319
115
793
5.313043
0.495652
0.091653
0.130933
0.163666
0.314239
0.121113
0
0
0
0
0
0.007236
0.128625
793
26
99
30.5
0.87699
0
0
0
0
0
0.030303
0
0
0
0
0
0
1
0
false
0
0.590909
0
0.590909
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
bdc69490ee28d72bb845559aff8c9d862e3b2088
1,639
py
Python
pyesasky/footprintSetDescriptor.py
pierfra-ro/pyesasky
a9342efcaa5cca088ed9a5afa2c98d3e9aa4bd0f
[ "BSD-3-Clause" ]
13
2019-05-30T19:57:37.000Z
2021-09-10T09:43:49.000Z
pyesasky/footprintSetDescriptor.py
pierfra-ro/pyesasky
a9342efcaa5cca088ed9a5afa2c98d3e9aa4bd0f
[ "BSD-3-Clause" ]
21
2019-06-21T18:55:25.000Z
2022-02-27T14:48:13.000Z
pyesasky/footprintSetDescriptor.py
pierfra-ro/pyesasky
a9342efcaa5cca088ed9a5afa2c98d3e9aa4bd0f
[ "BSD-3-Clause" ]
8
2019-05-30T12:20:48.000Z
2022-03-04T04:01:20.000Z
__all__ = ['FootprintSetDescriptor'] class FootprintSetDescriptor: _idColumnName = '' _nameColumnName = '' _stcsColumnName = '' _centralRADegColumnName = '' _centralDecDegColumnName = '' _datasetName = '' _lineWidth = 5 _histoColor = 'green' _metadata = [] def __init__(s...
28.754386
159
0.690055
116
1,639
9.439655
0.267241
0.082192
0.115068
0.113242
0.155251
0
0
0
0
0
0
0.000809
0.245882
1,639
56
160
29.267857
0.885113
0
0
0
0
0
0.016473
0.013423
0
0
0
0
0
1
0.268293
false
0
0
0.219512
0.731707
0.04878
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
bdc9b38d14389204bfbd7a54498115a2bf881a67
12,937
py
Python
tests/onnx_backend/test_backend_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
tests/onnx_backend/test_backend_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
tests/onnx_backend/test_backend_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
# Copyright (c) 2019 Graphcore Ltd. All rights reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import popart import itertools import os import unittest import onnx.backend.base import onnx.backend.test from...
34.776882
99
0.75829
1,664
12,937
5.542668
0.242788
0.20991
0.325924
0.274314
0.363873
0.192562
0.117532
0.060501
0.032527
0.021251
0
0.012585
0.140141
12,937
371
100
34.87062
0.816523
0.154595
0
0.05
0
0
0.304396
0.183557
0
0
0
0
0
1
0.019231
false
0
0.065385
0
0.107692
0.003846
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
da217b5313af53c34cc6339086a55df579536564
377
py
Python
tests/test_qtfeet.py
hugosenari/qtfeet
4e39014f2b96db7321d4d6aa7f7a17c9de60527c
[ "BSD-3-Clause" ]
2
2020-08-28T06:54:45.000Z
2022-01-25T07:35:58.000Z
tests/test_qtfeet.py
hugosenari/qtfeet
4e39014f2b96db7321d4d6aa7f7a17c9de60527c
[ "BSD-3-Clause" ]
null
null
null
tests/test_qtfeet.py
hugosenari/qtfeet
4e39014f2b96db7321d4d6aa7f7a17c9de60527c
[ "BSD-3-Clause" ]
1
2018-12-15T01:20:31.000Z
2018-12-15T01:20:31.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_qtfeet ---------------------------------- Tests for `qtfeet` module. """ import unittest import qtfeet class TestQtfeet(unittest.TestCase): def setUp(self): qtfeet.__name__ def test_something(self): pass def tearDown(self): ...
13
36
0.564987
40
377
4.975
0.65
0.080402
0
0
0
0
0
0
0
0
0
0.003425
0.225464
377
28
37
13.464286
0.678082
0.310345
0
0.181818
0
0
0.031873
0
0
0
0
0
0
1
0.272727
false
0.181818
0.181818
0
0.545455
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
da254c4ea8dc8fcbcf29433bd8b56f104e3149fe
2,663
py
Python
rarbg/searchRarbg.py
Apocalypsor/Rarbg
40e55295d531174f8c095d778a6f4da33546461d
[ "MIT" ]
9
2020-09-05T21:16:10.000Z
2021-11-13T20:58:30.000Z
rarbg/searchRarbg.py
Apocalypsor/Rarbg
40e55295d531174f8c095d778a6f4da33546461d
[ "MIT" ]
9
2021-01-07T23:53:39.000Z
2021-12-13T20:51:43.000Z
rarbg/searchRarbg.py
Apocalypsor/Rarbg
40e55295d531174f8c095d778a6f4da33546461d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import rarbgapi from .rss import getRSS client = rarbgapi.RarbgAPI() modes = {"search_string", "search_imdb", "search_tvdb", "search_themoviedb"} categories = { "ADULT": rarbgapi.RarbgAPI.CATEGORY_ADULT, "MOVIE_XVID": rarbgapi.RarbgAPI.CATEGORY_MOVIE_XVID, "MOVIE_XVID_720P": rar...
35.039474
77
0.672174
297
2,663
5.670034
0.279461
0.23753
0.342043
0.18943
0.316508
0.041568
0
0
0
0
0
0.038593
0.231318
2,663
75
78
35.506667
0.784074
0.007886
0
0.103448
0
0
0.142424
0
0
0
0
0
0
1
0.017241
false
0
0.034483
0
0.086207
0.017241
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
da35ec71a45bb7180c244f5d2f4fd8e081bf9077
182
py
Python
List-Basics/survival_of_the_biggest.py
elipopovadev/SoftUni-Python-Fundamentals
540835ca35f0d7d2d24033aa9b6d7e173188e587
[ "MIT" ]
null
null
null
List-Basics/survival_of_the_biggest.py
elipopovadev/SoftUni-Python-Fundamentals
540835ca35f0d7d2d24033aa9b6d7e173188e587
[ "MIT" ]
null
null
null
List-Basics/survival_of_the_biggest.py
elipopovadev/SoftUni-Python-Fundamentals
540835ca35f0d7d2d24033aa9b6d7e173188e587
[ "MIT" ]
null
null
null
text = input().split(" ") numbers = list(map(int, text)) count_to_remove = int(input()) for i in range(count_to_remove): numbers.remove(min(numbers)) print(*numbers, sep = ", ")
20.222222
32
0.67033
27
182
4.37037
0.62963
0.118644
0.220339
0
0
0
0
0
0
0
0
0
0.137363
182
8
33
22.75
0.751592
0
0
0
0
0
0.016484
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
da4dbd03ea28637cb57de2ff372fe7ba0e621ae8
444
py
Python
narcolepsy/__init__.py
bworrell/narcolepsy
83c8835fbd7f0dc8e6c2628a270433ad9261b4bb
[ "MIT" ]
3
2016-08-19T17:37:11.000Z
2021-02-17T19:28:45.000Z
narcolepsy/__init__.py
bworrell/narcolepsy
83c8835fbd7f0dc8e6c2628a270433ad9261b4bb
[ "MIT" ]
null
null
null
narcolepsy/__init__.py
bworrell/narcolepsy
83c8835fbd7f0dc8e6c2628a270433ad9261b4bb
[ "MIT" ]
null
null
null
# Copyright (c) 2016 - Bryan Worrell # For license information, see the LICENSE file from __future__ import absolute_import # Fix "No handlers could be found..." error. import logging logging.getLogger("narcolepsy").addHandler(logging.NullHandler()) # Namespace flattening for nice imports :) from narcolepsy.core impo...
29.6
65
0.804054
57
444
6.070175
0.666667
0.121387
0.104046
0.138728
0
0
0
0
0
0
0
0.010309
0.126126
444
14
66
31.714286
0.881443
0.407658
0
0
0
0
0.038911
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
da882362a26e1a560d84707f1582b91cd5c801d8
885
py
Python
src/olympia/files/migrations/0015_auto_20210906_1356.py
covariant/addons-server
41e6ee9e426facb19a1e1ca8d40277cb6f94a7da
[ "BSD-3-Clause" ]
843
2016-02-09T13:00:37.000Z
2022-03-20T19:17:06.000Z
src/olympia/files/migrations/0015_auto_20210906_1356.py
covariant/addons-server
41e6ee9e426facb19a1e1ca8d40277cb6f94a7da
[ "BSD-3-Clause" ]
10,187
2016-02-05T23:51:05.000Z
2022-03-31T15:24:44.000Z
src/olympia/files/migrations/0015_auto_20210906_1356.py
covariant/addons-server
41e6ee9e426facb19a1e1ca8d40277cb6f94a7da
[ "BSD-3-Clause" ]
551
2016-02-08T20:32:16.000Z
2022-03-15T16:49:24.000Z
# Generated by Django 3.2.6 on 2021-09-06 13:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('files', '0014_auto_20210824_1722'), ] operations = [ migrations.RunSQL( "ALTER TABLE `files` DROP COLUMN `binary`," " DROP C...
26.818182
55
0.477966
71
885
5.774648
0.56338
0.073171
0.190244
0.219512
0.307317
0.307317
0.214634
0
0
0
0
0.060784
0.423729
885
32
56
27.65625
0.743137
0.050847
0
0.384615
1
0
0.227924
0.053699
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
da8ebd2e19abf4b74a598c7025309bbd7a0cc9a1
222
py
Python
Flask/market/ext/login.py
marcosfelipp/DevelopementStudies
8dc962dbe445d756ba9634a0e21f1e244c1762bd
[ "MIT" ]
null
null
null
Flask/market/ext/login.py
marcosfelipp/DevelopementStudies
8dc962dbe445d756ba9634a0e21f1e244c1762bd
[ "MIT" ]
null
null
null
Flask/market/ext/login.py
marcosfelipp/DevelopementStudies
8dc962dbe445d756ba9634a0e21f1e244c1762bd
[ "MIT" ]
null
null
null
from flask_login import LoginManager login_manager = LoginManager() def init_app(app): login_manager.init_app(app) login_manager.login_view = 'webui.login_page' login_manager.login_message_category = 'info'
22.2
49
0.779279
30
222
5.4
0.5
0.296296
0.123457
0.185185
0.271605
0
0
0
0
0
0
0
0.13964
222
9
50
24.666667
0.848168
0
0
0
0
0
0.09009
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
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
da93df007de76cd500cd10a22b78a7fe65b07535
278
py
Python
armada_command/scripts/update_config.py
firesoft/armada
245115fcf21d988db5da71f18b3123479de5f2c1
[ "Apache-2.0" ]
281
2015-07-08T12:52:19.000Z
2022-01-14T22:56:25.000Z
armada_command/scripts/update_config.py
firesoft/armada
245115fcf21d988db5da71f18b3123479de5f2c1
[ "Apache-2.0" ]
15
2015-08-03T14:54:30.000Z
2021-01-27T12:30:06.000Z
armada_command/scripts/update_config.py
firesoft/armada
245115fcf21d988db5da71f18b3123479de5f2c1
[ "Apache-2.0" ]
39
2015-07-13T14:43:44.000Z
2022-01-12T15:41:32.000Z
import getpass from datetime import timedelta SYNC_INTERVAL = timedelta(days=1).total_seconds() DISPLAY_INTERVAL = timedelta(hours=1).total_seconds() LOG_FILE_PATH = '/var/tmp/armada-version.log' VERSION_CACHE_FILE_PATH = '/var/tmp/{}-armada-version'.format(getpass.getuser())
34.75
80
0.794964
39
278
5.435897
0.589744
0.160377
0.122642
0.132075
0.254717
0.254717
0
0
0
0
0
0.007722
0.068345
278
7
81
39.714286
0.810811
0
0
0
0
0
0.190647
0.190647
0
0
0
0
0
1
0
false
0.333333
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
16fb3db787f1dbfbf1cdf6af16edde8f6c27636f
392
py
Python
problems/problem2.py
Julien-Verdun/Project-Euler
94b073a9e4593960fcd74e678951bc27009e34f9
[ "MIT" ]
null
null
null
problems/problem2.py
Julien-Verdun/Project-Euler
94b073a9e4593960fcd74e678951bc27009e34f9
[ "MIT" ]
null
null
null
problems/problem2.py
Julien-Verdun/Project-Euler
94b073a9e4593960fcd74e678951bc27009e34f9
[ "MIT" ]
null
null
null
# Problem 2 : Even Fibonacci numbers def sum_even_fibonacci_numbers(N): """ Given an integer N, this function compute the sum of fibonacci's terms lesser or equal to N. """ u = 1 v = 2 liste_even_fibonacci = [2] while v <= N: u,v = v,u+v if v%2 == 0: liste_even_fibonacci.append(v) return sum(liste_even_...
21.777778
93
0.706633
69
392
3.84058
0.536232
0.29434
0.226415
0.173585
0
0
0
0
0
0
0
0.053125
0.183673
392
18
94
21.777778
0.775
0.364796
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0.1
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
e513f24afaf05c48bd7cdd172e31e5d2bcae8297
221
py
Python
python_template_with_config/another_module.py
ianozsvald/python_template_with_config
f0eed27c14720c5dd5e64cc8a04446a86894f4c3
[ "MIT" ]
13
2015-05-20T16:26:24.000Z
2019-08-06T09:05:54.000Z
python_template_with_config/another_module.py
ianozsvald/python_template_with_config
f0eed27c14720c5dd5e64cc8a04446a86894f4c3
[ "MIT" ]
2
2015-05-21T10:02:27.000Z
2015-07-10T16:30:38.000Z
python_template_with_config/another_module.py
ianozsvald/python_template_with_config
f0eed27c14720c5dd5e64cc8a04446a86894f4c3
[ "MIT" ]
9
2015-06-21T11:22:01.000Z
2020-06-15T14:14:55.000Z
"""1 liner to explain this module""" import numpy as np def some_other_function(): """Dummy function""" return None def a_math_function(): """Example function that uses numpy""" return np.sin(2*np.pi)
17
42
0.665158
33
221
4.333333
0.757576
0
0
0
0
0
0
0
0
0
0
0.011364
0.20362
221
12
43
18.416667
0.801136
0.352941
0
0
0
0
0
0
0
0
0
0
0
1
0.4
true
0
0.2
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
1
1
0
0
0
1
0
0
3
e533fa958c029ffb2ed112c3a2d7bd65d058e1c5
429
py
Python
credentials.py
jinka/Password-Locker
842019884baf054324a76582474bb9030537cc87
[ "MIT" ]
null
null
null
credentials.py
jinka/Password-Locker
842019884baf054324a76582474bb9030537cc87
[ "MIT" ]
null
null
null
credentials.py
jinka/Password-Locker
842019884baf054324a76582474bb9030537cc87
[ "MIT" ]
null
null
null
class Credentials: """ Class that generates new instances of credentials """ user_list = [] # Empty contact list def __init__(self,user_name,user_password,full_name,phone_number,email): # docstring removed for simplicity self.user_name = user_name self.user_password ...
23.833333
80
0.655012
51
429
5.215686
0.470588
0.090226
0.090226
0.120301
0
0
0
0
0
0
0
0
0.275058
429
17
81
25.235294
0.855305
0.118881
0
0
1
0
0
0
0
0
0
0
0
0
null
null
0.25
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
e54e168e3c5b42c6abd63791e21ce477e0167e5e
344
py
Python
Discord/Cogs/exceptions.py
Maxim-Beglyanov/MorjWPG
ecc10e24681d2081c6428040becd0f0339149121
[ "MIT" ]
null
null
null
Discord/Cogs/exceptions.py
Maxim-Beglyanov/MorjWPG
ecc10e24681d2081c6428040becd0f0339149121
[ "MIT" ]
1
2021-11-28T13:16:05.000Z
2022-01-09T01:40:15.000Z
Discord/Cogs/exceptions.py
Maxim-Beglyanov/MorjWPG
ecc10e24681d2081c6428040becd0f0339149121
[ "MIT" ]
null
null
null
from nextcord import Member class NoAnswer(Exception): pass class IsntAdministrator(Exception): pass class IsntCurator(Exception): pass class IsntRuler(Exception): def __init__(self, user: Member): self.user = user def __str__(self) -> str: return f'{self.use...
18.105263
50
0.651163
38
344
5.684211
0.552632
0.180556
0.25
0
0
0
0
0
0
0
0
0
0.261628
344
19
50
18.105263
0.850394
0
0
0.25
0
0
0.097859
0
0
0
0
0
0
1
0.166667
false
0.25
0.083333
0.083333
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
e55a5f3f033da274de863498128c53d8eb7aeac2
162
py
Python
experiment.py
komax/spanningtree-crossingnumber
444c8809a543905000a63c9d2ff1dcfb31835766
[ "MIT" ]
2
2019-01-07T22:12:09.000Z
2020-05-08T06:44:19.000Z
experiment.py
komax/spanningtree-crossingnumber
444c8809a543905000a63c9d2ff1dcfb31835766
[ "MIT" ]
null
null
null
experiment.py
komax/spanningtree-crossingnumber
444c8809a543905000a63c9d2ff1dcfb31835766
[ "MIT" ]
null
null
null
#! /usr/bin/env python import os import sys args = sys.argv[1:] os.system('python -O -m spanningtree.spanning_tree_with_low_crossing ' + ' '.join(args))
20.25
72
0.685185
25
162
4.28
0.8
0
0
0
0
0
0
0
0
0
0
0.007407
0.166667
162
7
73
23.142857
0.785185
0.12963
0
0
0
0
0.421429
0.314286
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