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
deb4310485e60936a1d367897101e477eb4c042d
2,965
py
Python
actstream/feeds.py
yeago/django-activity-stream
40799e907edec52a8bf203f852b85e5161542160
[ "BSD-3-Clause" ]
1
2016-06-20T19:40:12.000Z
2016-06-20T19:40:12.000Z
actstream/feeds.py
yeago/django-activity-stream
40799e907edec52a8bf203f852b85e5161542160
[ "BSD-3-Clause" ]
null
null
null
actstream/feeds.py
yeago/django-activity-stream
40799e907edec52a8bf203f852b85e5161542160
[ "BSD-3-Clause" ]
null
null
null
from django.shortcuts import get_object_or_404 from django.http import Http404 from django.core.urlresolvers import reverse from django.utils.feedgenerator import Atom1Feed from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType try: from django.contrib.syndication.vie...
31.88172
95
0.655312
350
2,965
5.397143
0.228571
0.04235
0.035998
0.04235
0.318158
0.238751
0.206988
0.170461
0.170461
0.129169
0
0.010939
0.260034
2,965
92
96
32.228261
0.850046
0.002361
0
0.194444
0
0
0.084574
0
0
0
0
0
0
1
0.208333
false
0
0.138889
0.125
0.805556
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
deb5b4a51f34443e9b59eaa0738c264a6a260c0c
579
py
Python
app/utils/helper.py
IcarussDev/covid19API
52d304712d1ceb99ed4388d784ddf7731c9236da
[ "MIT" ]
1
2021-04-02T07:49:48.000Z
2021-04-02T07:49:48.000Z
app/utils/helper.py
utkudarilmaz/covid19-api
fbf316f97d38fdf15026ffb8bc5764ab607469a0
[ "MIT" ]
null
null
null
app/utils/helper.py
utkudarilmaz/covid19-api
fbf316f97d38fdf15026ffb8bc5764ab607469a0
[ "MIT" ]
null
null
null
""" FILE: helper.py DESCRIPTION: All functions for helping small tasks AUTHOR: Nuttaphat Arunoprayoch DATE: 04-April-2020 """ import pycountry # Look up a country name from a country code def lookup_country(country: str) -> str: """ Look up a country name from a country code """ country_name = pycountry.count...
30.473684
109
0.701209
82
579
4.841463
0.54878
0.304786
0.18136
0.221662
0.372796
0.372796
0.372796
0.372796
0.171285
0
0
0.017204
0.196891
579
18
110
32.166667
0.836559
0.43696
0
0
0
0
0.012862
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
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
debb87e5f421b8c3e5bac740bd03848d7af62cf1
443
py
Python
Hard/find-loop.py
SaumyaRai2010/algoexpert-data-structures-algorithms
bcafd8d7798661bf86c2d6234221d764c68fc19f
[ "MIT" ]
152
2021-07-15T02:56:17.000Z
2022-03-31T08:59:52.000Z
Hard/find-loop.py
deepakgarg08/algoexpert-data-structures-algorithms
2264802bce971e842c616b1eaf9238639d73915f
[ "MIT" ]
2
2021-07-18T22:01:28.000Z
2022-02-17T03:55:04.000Z
Hard/find-loop.py
deepakgarg08/algoexpert-data-structures-algorithms
2264802bce971e842c616b1eaf9238639d73915f
[ "MIT" ]
74
2021-07-16T11:55:30.000Z
2022-03-31T14:48:06.000Z
# FIND LOOP # This is an input class. Do not edit. class LinkedList: def __init__(self, value): self.value = value self.next = None # O(N) time and O(1) space def findLoop(head): # Write your code here. slow = head.next fast = head.next.next while slow != fast: slow = slow.next fast...
17.72
38
0.638826
66
443
4.227273
0.515152
0.086022
0.086022
0.114695
0
0
0
0
0
0
0
0.003058
0.261851
443
24
39
18.458333
0.850153
0.209932
0
0
1
0
0
0
0
0
0
0.041667
0
0
null
null
0
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
1
0
1
0
0
0
0
0
0
0
0
3
dec1dd28b4c6213b87eed70817e3a04bf53457c5
261
py
Python
drunkenwhale/config.py
hyeda1103/vegehomies
c19301dbbced62815835f571890cb1a19a2a4338
[ "MIT" ]
1
2020-07-31T07:08:57.000Z
2020-07-31T07:08:57.000Z
drunkenwhale/config.py
hyeda1103/vegehomies
c19301dbbced62815835f571890cb1a19a2a4338
[ "MIT" ]
5
2021-02-10T02:32:48.000Z
2022-03-12T00:54:25.000Z
drunkenwhale/config.py
hyeda1103/vegehomies
c19301dbbced62815835f571890cb1a19a2a4338
[ "MIT" ]
null
null
null
class Config: SECRET_KEY = 'secretkey' SQLALCHEMY_DATABASE_URI = 'database_uri' SQLALCHEMY_TRACK_MODIFICATIONS = False MAIL_SERVER='mailserver' MAIL_PORT= 465 MAIL_USE_SSL = True MAIL_USERNAME='username' MAIL_PASSWORD='password'
26.1
44
0.731801
30
261
5.966667
0.7
0.122905
0
0
0
0
0
0
0
0
0
0.014286
0.195402
261
9
45
29
0.838095
0
0
0
0
0
0.180077
0
0
0
0
0
0
1
0
false
0.111111
0
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
1
0
0
1
0
0
3
dec2e12901e5edad60166aadd27503fc33eabdee
329
py
Python
run_example.py
benjimor/EvaMap
42e616abe9f15925b885797d30496e30615989a0
[ "MIT" ]
1
2021-01-29T18:53:26.000Z
2021-01-29T18:53:26.000Z
run_example.py
benjimor/EvaMap
42e616abe9f15925b885797d30496e30615989a0
[ "MIT" ]
1
2021-06-06T17:56:00.000Z
2021-06-06T17:56:00.000Z
run_example.py
benjimor/EvaMap
42e616abe9f15925b885797d30496e30615989a0
[ "MIT" ]
null
null
null
from EvaMap.EvaMap import EvaMap from EvaMap.examples.ontology import TTL_ONTOLOGY from EvaMap.examples.mapping import YARRRML_MAPPING from EvaMap.examples.data import JSON_DATA evamap = EvaMap(TTL_ONTOLOGY, YARRRML_MAPPING, JSON_DATA) evamap.evaluate_mapping() print(evamap.get_total_score()) print(evamap.get_complet_...
36.555556
57
0.851064
47
329
5.723404
0.361702
0.148699
0.200743
0
0
0
0
0
0
0
0
0
0.072948
329
9
58
36.555556
0.881967
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ded093798de2f5a49894a849888ea79771b4ed1d
43
py
Python
apps/config.py
jin-hao-chen/filegoback
830e77f92776c78bc758bdd8b74b254569050f58
[ "MIT" ]
null
null
null
apps/config.py
jin-hao-chen/filegoback
830e77f92776c78bc758bdd8b74b254569050f58
[ "MIT" ]
null
null
null
apps/config.py
jin-hao-chen/filegoback
830e77f92776c78bc758bdd8b74b254569050f58
[ "MIT" ]
null
null
null
CODE_OK = 0 CODE_ERROR = 1 CODE_ERROR02 = 2
14.333333
16
0.744186
9
43
3.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0.142857
0.186047
43
3
16
14.333333
0.685714
0
0
0
0
0
0
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
dedd15008a00d61a03b3c3ebb3facbf6c115166f
180
py
Python
secret_settings_example.py
Omrigan/shiny-language-learner
cfa732a548a1c5dd337143e8493df0e9e4af583c
[ "MIT" ]
2
2017-07-13T01:08:52.000Z
2019-02-10T21:43:18.000Z
secret_settings_example.py
Omrigan/shiny-language-learner
cfa732a548a1c5dd337143e8493df0e9e4af583c
[ "MIT" ]
1
2016-07-26T20:40:24.000Z
2016-07-26T20:40:24.000Z
secret_settings_example.py
Omrigan/shiny-language-learner
cfa732a548a1c5dd337143e8493df0e9e4af583c
[ "MIT" ]
null
null
null
import os env = os.getenv('BOT_ENV', 'staging') bot = {'token' : 'your token'} mongo = {'uri': 'mongo uri'} translate_yandex = { 'token': 'your token for yandex.translate' }
18
46
0.633333
24
180
4.666667
0.541667
0.160714
0.25
0
0
0
0
0
0
0
0
0
0.177778
180
9
47
20
0.756757
0
0
0
0
0
0.432584
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
def4a650716d974abfa77ec99349f3a39a6d6c37
314
py
Python
lib/dashboard/__init__.py
hexueyuan/Adanos
b35873fc88b61dabda49c85f0e2b2d126731d34f
[ "MIT" ]
null
null
null
lib/dashboard/__init__.py
hexueyuan/Adanos
b35873fc88b61dabda49c85f0e2b2d126731d34f
[ "MIT" ]
8
2020-07-17T01:49:53.000Z
2022-02-17T22:58:31.000Z
lib/dashboard/__init__.py
hexueyuan/Adanos
b35873fc88b61dabda49c85f0e2b2d126731d34f
[ "MIT" ]
null
null
null
from .config import Config from .datapool import Datapool from .logger import Logger from .dashboard import Dashboard from .convert import convertDashboardConf, convertLoggerConf __all__ = [ 'Config', 'Datapool', 'Logger', 'Dashboard', 'convertDashboardConf', 'convertLoggerConf' ]
20.933333
60
0.716561
28
314
7.892857
0.357143
0.334842
0
0
0
0
0
0
0
0
0
0
0.200637
314
14
61
22.428571
0.880478
0
0
0
0
0
0.210191
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
defe74f6f24f75d4de52c439684d62473c20e1b6
28
py
Python
CountryReconciler/reconciler/exceptions/__init__.py
weso/landportal-importers
6edfa3c301422bbe8c09cb877b1cbddbcd902463
[ "Unlicense" ]
null
null
null
CountryReconciler/reconciler/exceptions/__init__.py
weso/landportal-importers
6edfa3c301422bbe8c09cb877b1cbddbcd902463
[ "Unlicense" ]
8
2016-02-16T13:05:37.000Z
2017-01-04T14:38:03.000Z
CountryReconciler/reconciler/exceptions/__init__.py
landportal/landbook-importers
f0e246f493329b9c5741c50f3a0495d27ee5c54b
[ "MIT" ]
null
null
null
__author__ = 'Miguel Otero'
14
27
0.75
3
28
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
0.708333
0
0
0
0
0
0.428571
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
722402ad7b4db46e24349e9f003541bc754fc964
536
py
Python
vaayu/prelude/mpwrap.py
sayerhs/vaayu
668a35fc1cd77fe7c2e945abcde6f9763124c0b8
[ "Apache-2.0" ]
null
null
null
vaayu/prelude/mpwrap.py
sayerhs/vaayu
668a35fc1cd77fe7c2e945abcde6f9763124c0b8
[ "Apache-2.0" ]
null
null
null
vaayu/prelude/mpwrap.py
sayerhs/vaayu
668a35fc1cd77fe7c2e945abcde6f9763124c0b8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """\ Multiprocessing module wrappers ------------------------------- Allows class methods to be used in multiprocessing calls by registering pickle option for class methods. The calling site just needs to import this module to trigger the pickle setup. No additional action is necessary. """ ...
25.52381
78
0.735075
69
536
5.478261
0.710145
0.063492
0
0
0
0
0
0
0
0
0
0.002165
0.13806
536
20
79
26.8
0.816017
0.570896
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
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
0
0
0
1
1
1
0
0
3
724a7275edca6cf4b9342b54adb1561c8f06d4fe
173
py
Python
sdp_2021_01/lambda.py
iproduct/intro-python
8fcf682286dad3fc65f46ccff33aefab9c601306
[ "Apache-2.0" ]
3
2022-01-10T07:56:37.000Z
2022-02-14T16:37:56.000Z
sdp_2021_01/lambda.py
iproduct/intro-python
8fcf682286dad3fc65f46ccff33aefab9c601306
[ "Apache-2.0" ]
null
null
null
sdp_2021_01/lambda.py
iproduct/intro-python
8fcf682286dad3fc65f46ccff33aefab9c601306
[ "Apache-2.0" ]
1
2022-02-14T16:36:46.000Z
2022-02-14T16:36:46.000Z
L = [lambda x: x ** 2, lambda x: x ** 3, lambda x: x ** 4] # Списък с 3 анонимни функции if __name__ == '__main__': for f in L: print(f(3)) print(L[2](5))
24.714286
89
0.526012
32
173
2.59375
0.5625
0.253012
0.289157
0
0
0
0
0
0
0
0
0.057377
0.294798
173
6
90
28.833333
0.622951
0.156069
0
0
0
0
0.055556
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
a0c7076eaab13204223047d49a367f12806ed93a
1,887
py
Python
src/abaqus/Adaptivity/AdaptiveMeshDomain.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/Adaptivity/AdaptiveMeshDomain.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/Adaptivity/AdaptiveMeshDomain.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
from ..Region.Region import Region class AdaptiveMeshDomain: """The AdaptiveMeshDomain object defines the region and controls that govern an Arbitrary Lagrangian Eularian (ALE) style adaptive smoothing mesh domain. Notes ----- This object can be accessed by: .. code-block:: python ...
29.030769
107
0.602544
203
1,887
5.581281
0.408867
0.05737
0.039718
0.047661
0.255958
0.139453
0.139453
0.086496
0.086496
0.086496
0
0.006339
0.331214
1,887
64
108
29.484375
0.891442
0.685215
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.142857
0
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
a0cbbaa7f4c29a04257cb6bb530db75945dcd201
222
py
Python
theme/default.yassg-theme.py
NiklasRosenstein/yassg
511ca5a1eb76b8fb314c45de6ac85a845b98243c
[ "MIT" ]
null
null
null
theme/default.yassg-theme.py
NiklasRosenstein/yassg
511ca5a1eb76b8fb314c45de6ac85a845b98243c
[ "MIT" ]
1
2017-07-18T14:09:58.000Z
2017-07-18T14:09:58.000Z
theme/default.yassg-theme.py
NiklasRosenstein/yassg
511ca5a1eb76b8fb314c45de6ac85a845b98243c
[ "MIT" ]
null
null
null
# This will will be loaded right before the rendering process starts and # the #before_render() function will be called, allowing you to alter the # site structure or adding new pages. def before_render(renderer): pass
31.714286
73
0.779279
35
222
4.885714
0.771429
0.070175
0
0
0
0
0
0
0
0
0
0
0.171171
222
6
74
37
0.929348
0.797297
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
9d001c8713379f75f31cf8d441d0dd83537f014f
866
py
Python
user/management/commands/createsuperuser_if_none_exists.py
dev-jochland/Employee-Management-System
e4a1e87b7bd9b72a2fa6eaf11293eaad50803ad8
[ "MIT" ]
null
null
null
user/management/commands/createsuperuser_if_none_exists.py
dev-jochland/Employee-Management-System
e4a1e87b7bd9b72a2fa6eaf11293eaad50803ad8
[ "MIT" ]
null
null
null
user/management/commands/createsuperuser_if_none_exists.py
dev-jochland/Employee-Management-System
e4a1e87b7bd9b72a2fa6eaf11293eaad50803ad8
[ "MIT" ]
null
null
null
from django.conf import settings from django.contrib.auth import get_user_model from django.core.management.base import BaseCommand from django.db import IntegrityError import user.models as um class Command(BaseCommand): """ Create a superuser if none exist Example: manage.py createsuperuser_if_n...
34.64
91
0.705543
109
866
5.46789
0.53211
0.067114
0.040268
0.07047
0
0
0
0
0
0
0
0
0.21709
866
24
92
36.083333
0.879056
0.099307
0
0
0
0
0.109788
0
0
0
0
0
0
1
0.0625
false
0.125
0.3125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
9d1ca12bb5bd8264a39bb0132c866a246ddbb011
267
py
Python
nfsops/context_type.py
nfsops/nfsops
d7b6fc12c5a1845f468e2737fad7031fd37bd3f2
[ "BSD-3-Clause" ]
null
null
null
nfsops/context_type.py
nfsops/nfsops
d7b6fc12c5a1845f468e2737fad7031fd37bd3f2
[ "BSD-3-Clause" ]
null
null
null
nfsops/context_type.py
nfsops/nfsops
d7b6fc12c5a1845f468e2737fad7031fd37bd3f2
[ "BSD-3-Clause" ]
null
null
null
''' Context type enumeration. ''' from enum import Enum class ContextType(str, Enum): ''' Context type enumeration. ''' #: Root context type. ROOT = 'root' #: Subpath context type. SUBPATH = 'subpath' __all__ = [ 'ContextType' ]
12.136364
29
0.59176
26
267
5.923077
0.461538
0.285714
0.285714
0
0
0
0
0
0
0
0
0
0.277154
267
21
30
12.714286
0.797927
0.355805
0
0
0
0
0.148649
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9d1ce71f4d268cc0c1c9a862f558a1a29d76252f
2,029
py
Python
Python/sample/var.py
liugnggh71/XML
0f259c8c713b45c7c2a17aadbe9e203eadca9f3c
[ "MIT" ]
null
null
null
Python/sample/var.py
liugnggh71/XML
0f259c8c713b45c7c2a17aadbe9e203eadca9f3c
[ "MIT" ]
null
null
null
Python/sample/var.py
liugnggh71/XML
0f259c8c713b45c7c2a17aadbe9e203eadca9f3c
[ "MIT" ]
null
null
null
#!#!/usr/bin/env python3 ################################################################################ # var.py <<COMMENT Variable assignment example code COMMENT ################################################################################ BYTE1=b'''23234 dsf234 234234e''' print("Variable BYTE1 has value ", BYTE...
36.232143
80
0.553967
294
2,029
3.823129
0.278912
0.231317
0.013345
0.010676
0.074733
0.074733
0.074733
0.042705
0
0
0
0.088182
0.178413
2,029
55
81
36.890909
0.586083
0.040414
0
0
0
0
0.392476
0
0
0
0
0
0
0
null
null
0
0
null
null
0.416667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
9d282e5741aaab2c008ef8a151777ce0d1167f39
195
py
Python
mws/utils/types.py
1Blackdiamondsc/python-amazon-mws
c903bc4402808937b4a1240aec2e129dcbc7e7d8
[ "Unlicense" ]
370
2018-01-23T15:41:18.000Z
2022-03-24T02:52:16.000Z
mws/utils/types.py
854350999/python-amazon-mws
77383d38faa903e1577962878394706c219395f2
[ "Unlicense" ]
240
2018-01-23T00:27:42.000Z
2022-01-31T19:30:06.000Z
mws/utils/types.py
854350999/python-amazon-mws
77383d38faa903e1577962878394706c219395f2
[ "Unlicense" ]
235
2018-02-04T23:00:01.000Z
2022-03-24T02:52:14.000Z
"""Helpers for complex types used throughout MWS package.""" from typing import List, Union import mws MarketplaceEnumOrStr = Union[mws.Marketplaces, str] StrOrListStr = Union[List[str], str]
21.666667
60
0.769231
25
195
6
0.68
0
0
0
0
0
0
0
0
0
0
0
0.133333
195
8
61
24.375
0.887574
0.276923
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
9d56f2212b4d7f869fc7a83922611381cf70f9f9
89
py
Python
constant/dsn.py
d9magai/mtgrdb
916dc21ce3fb9f7ba16c2debdf4ce1220e905c8a
[ "MIT" ]
null
null
null
constant/dsn.py
d9magai/mtgrdb
916dc21ce3fb9f7ba16c2debdf4ce1220e905c8a
[ "MIT" ]
null
null
null
constant/dsn.py
d9magai/mtgrdb
916dc21ce3fb9f7ba16c2debdf4ce1220e905c8a
[ "MIT" ]
null
null
null
HOST = '127.0.0.1' PORT = 5432 DBNAME = 'postgres' USER = 'postgres' PASSWORD = 'secret'
14.833333
19
0.651685
13
89
4.461538
0.846154
0
0
0
0
0
0
0
0
0
0
0.135135
0.168539
89
5
20
17.8
0.648649
0
0
0
0
0
0.348315
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
19cda6345b9e9725b0cc2c24600a27c7cb375cd4
1,827
py
Python
sw/control/common/vector2.py
christopherco/moabian
29b623d60212ba4daa18e3ca9aeed364390533e6
[ "MIT" ]
null
null
null
sw/control/common/vector2.py
christopherco/moabian
29b623d60212ba4daa18e3ca9aeed364390533e6
[ "MIT" ]
null
null
null
sw/control/common/vector2.py
christopherco/moabian
29b623d60212ba4daa18e3ca9aeed364390533e6
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. """ Basic 2D vector class """ import math from typing import Tuple, Optional class Vector2: x: float y: float def __init__(self, x: float, y: float): self.x = x self.y = y def __str__(self): return f"X...
26.1
85
0.541325
273
1,827
3.520147
0.223443
0.072841
0.043704
0.093652
0.331946
0.292404
0.223725
0.184183
0.184183
0.166493
0
0.022639
0.298851
1,827
69
86
26.478261
0.727557
0.077176
0
0
0
0.023256
0.050181
0
0
0
0
0
0
1
0.325581
false
0
0.046512
0.232558
0.744186
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
19f2243b3af1adffe5d1891c615b2b394d48bac6
4,019
py
Python
tests/aiohttp/test_upload.py
nyejon/strawberry
664fde292fe2186c3e33e8cae79964b866fa5822
[ "MIT" ]
null
null
null
tests/aiohttp/test_upload.py
nyejon/strawberry
664fde292fe2186c3e33e8cae79964b866fa5822
[ "MIT" ]
null
null
null
tests/aiohttp/test_upload.py
nyejon/strawberry
664fde292fe2186c3e33e8cae79964b866fa5822
[ "MIT" ]
null
null
null
import json from io import BytesIO import aiohttp async def test_upload(aiohttp_app_client): query = """mutation($textFile: Upload!) { readText(textFile: $textFile) }""" f = BytesIO(b"strawberry") operations = json.dumps({"query": query, "variables": {"textFile": None}}) file_map = json....
34.350427
84
0.674546
497
4,019
5.269618
0.167002
0.085529
0.054601
0.07942
0.77625
0.756396
0.756396
0.685376
0.603666
0.603666
0
0.009072
0.177159
4,019
116
85
34.646552
0.782885
0.031849
0
0.619048
0
0
0.293724
0.024691
0
0
0
0
0.142857
1
0
false
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
19fde66065d755fa40924fb69956841a09506681
1,543
py
Python
thirdparty/org/apache/arrow/flatbuf/VectorLayout.py
mrocklin/pygdf
2de9407427da9497ebdf8951a12857be0fab31bb
[ "Apache-2.0" ]
5
2018-10-17T20:28:42.000Z
2022-02-15T17:33:01.000Z
thirdparty/org/apache/arrow/flatbuf/VectorLayout.py
mrocklin/pygdf
2de9407427da9497ebdf8951a12857be0fab31bb
[ "Apache-2.0" ]
19
2018-07-18T07:15:44.000Z
2021-02-22T17:00:18.000Z
thirdparty/org/apache/arrow/flatbuf/VectorLayout.py
mrocklin/pygdf
2de9407427da9497ebdf8951a12857be0fab31bb
[ "Apache-2.0" ]
2
2020-05-01T09:54:34.000Z
2021-04-17T10:57:07.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: flatbuf import flatbuffers # /// ---------------------------------------------------------------------- # /// represents the physical layout of a buffer # /// buffers have fixed width slots of a given type class VectorLayout(object): ...
35.068182
88
0.653921
185
1,543
5.356757
0.416216
0.049445
0.088799
0.0444
0.260343
0.260343
0.260343
0.260343
0.260343
0.260343
0
0.021845
0.198963
1,543
43
89
35.883721
0.779935
0.256643
0
0.24
1
0
0.003521
0
0
0
0
0
0
1
0.32
false
0
0.04
0.04
0.64
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c20bb1d56ed20222e929e9c94026f6ea383c6026
4,861
py
Python
tests/test_model.py
pcuenca/Real-ESRGAN
9ff1944d06e9d7fe86c68bbf1a244cff403f064e
[ "BSD-3-Clause" ]
8,944
2021-07-22T21:11:06.000Z
2022-03-31T22:29:38.000Z
tests/test_model.py
pcuenca/Real-ESRGAN
9ff1944d06e9d7fe86c68bbf1a244cff403f064e
[ "BSD-3-Clause" ]
239
2021-07-23T16:21:32.000Z
2022-03-31T12:44:19.000Z
tests/test_model.py
pcuenca/Real-ESRGAN
9ff1944d06e9d7fe86c68bbf1a244cff403f064e
[ "BSD-3-Clause" ]
1,040
2021-07-23T01:10:30.000Z
2022-03-31T03:41:08.000Z
import torch import yaml from basicsr.archs.rrdbnet_arch import RRDBNet from basicsr.data.paired_image_dataset import PairedImageDataset from basicsr.losses.losses import GANLoss, L1Loss, PerceptualLoss from realesrgan.archs.discriminator_arch import UNetDiscriminatorSN from realesrgan.models.realesrgan_model import R...
38.275591
108
0.67373
661
4,861
4.785174
0.193646
0.052166
0.073032
0.013279
0.729687
0.726209
0.689535
0.66614
0.648119
0.613974
0
0.033552
0.18453
4,861
126
109
38.579365
0.764379
0.108208
0
0.728261
0
0
0.09515
0.016709
0
0
0
0
0.293478
1
0.021739
false
0
0.086957
0
0.108696
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c21f8cf65613c6bdbb33c684dc79d7fb33b65f48
54
py
Python
pyspark_proxy/ml/__init__.py
abronte/PysparkProxy
cc28bacb0d4ee6fb87ced763a73e9ea791612414
[ "Apache-2.0" ]
3
2018-09-06T18:37:35.000Z
2018-09-07T17:49:44.000Z
pyspark_proxy/ml/__init__.py
abronte/PysparkProxy
cc28bacb0d4ee6fb87ced763a73e9ea791612414
[ "Apache-2.0" ]
29
2018-09-04T23:53:42.000Z
2018-12-12T21:46:59.000Z
pyspark_proxy/ml/__init__.py
abronte/PysparkProxy
cc28bacb0d4ee6fb87ced763a73e9ea791612414
[ "Apache-2.0" ]
null
null
null
from pyspark.ml import feature __all__ = ['feature']
13.5
30
0.740741
7
54
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.148148
54
3
31
18
0.782609
0
0
0
0
0
0.12963
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
c227b075a0394e40657d6dd14339e94fd8623862
1,228
py
Python
test/tests/list_subclassing.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/list_subclassing.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/list_subclassing.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
class MyList(list): pass l = MyList(range(5)) print type(l) l.foo = 1 print l.foo print l print len(MyList.__new__(MyList)) l[:] = l[:] print l print [1,2,3] == MyList((1,2,3,4)) print [1,2,3] != MyList((1,2,3,4)) print [1,2,3,4] > MyList((1,2,3)) print [1,2,3,4] < MyList((1,2,3)) print [1,2,3] > MyList((1,2...
19.806452
59
0.587948
252
1,228
2.753968
0.170635
0.097983
0.146974
0.324207
0.485591
0.485591
0.485591
0.485591
0.485591
0.485591
0
0.12657
0.157166
1,228
61
60
20.131148
0.543961
0.040717
0
0.047619
0
0
0.017888
0.017888
0
0
0
0
0.02381
0
null
null
0.02381
0.02381
null
null
0.595238
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
c232e82145fcef3aad4eb64c113178dfbed318ea
484
py
Python
Selection_vs_Insertion_Sort/Sort_Test.py
rockgard3n/Data-Structures
93b6b5aaf74cb0f39be233d0f80fd881e27969af
[ "MIT" ]
null
null
null
Selection_vs_Insertion_Sort/Sort_Test.py
rockgard3n/Data-Structures
93b6b5aaf74cb0f39be233d0f80fd881e27969af
[ "MIT" ]
null
null
null
Selection_vs_Insertion_Sort/Sort_Test.py
rockgard3n/Data-Structures
93b6b5aaf74cb0f39be233d0f80fd881e27969af
[ "MIT" ]
null
null
null
from Linked_List.py import LinkedList numbers = LinkedList(5,4,2,-5,3) def insertion_sort2(numbers): for k in range(1, len(numbers)): cur = numbers.getelementat(k) j = k while j > 0 and numbers.getelementat(j) > cur: j = j - 1 try: numbers.insertelementat( numbers.getelementat(j), k).remo...
34.571429
105
0.692149
68
484
4.897059
0.485294
0.342342
0.3003
0.21021
0.222222
0.222222
0
0
0
0
0
0.027569
0.17562
484
14
106
34.571429
0.807018
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.153846
0.076923
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c2349caadeec3801fc352ee4b6a848aaec5f37c9
21,913
py
Python
BurnieYilmazRS19/dataPrep/REDDIT/tests.py
Charles0009/crypto_finance_analysis
028938afabf0e9fbf352e8136acdc5d9753ba56d
[ "MIT" ]
null
null
null
BurnieYilmazRS19/dataPrep/REDDIT/tests.py
Charles0009/crypto_finance_analysis
028938afabf0e9fbf352e8136acdc5d9753ba56d
[ "MIT" ]
null
null
null
BurnieYilmazRS19/dataPrep/REDDIT/tests.py
Charles0009/crypto_finance_analysis
028938afabf0e9fbf352e8136acdc5d9753ba56d
[ "MIT" ]
null
null
null
from text.processing import SentenceProcessor, TokenProcessor, TextProcessor from text.dataHandling import DataHandling from text.vocabCounter import vocabCounter import unittest import pandas as pd import numpy as np import nltk import argparse import os class TestSentenceProcessor(unittest.TestCase): ...
53.186893
3,526
0.693698
2,084
21,913
7.215451
0.204415
0.015362
0.021547
0.022478
0.382723
0.353727
0.327658
0.306577
0.266476
0.248254
0
0.211825
0.184137
21,913
411
3,527
53.316302
0.628762
0.012778
0
0.340206
0
0.092784
0.457042
0.240737
0
1
0
0
0.109966
1
0.123711
false
0
0.030928
0
0.171821
0.017182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
c23d0d4488aebf40b19799109a4814b7072b7682
231
py
Python
menus/apps.py
elcolie/zero-to-deploy
6191a33ef55af7c550c0e529a4e373bfe40bc014
[ "MIT" ]
null
null
null
menus/apps.py
elcolie/zero-to-deploy
6191a33ef55af7c550c0e529a4e373bfe40bc014
[ "MIT" ]
6
2020-06-05T19:09:26.000Z
2022-01-13T00:54:56.000Z
menus/apps.py
elcolie/zero-to-deploy
6191a33ef55af7c550c0e529a4e373bfe40bc014
[ "MIT" ]
null
null
null
from django.apps import AppConfig # Watch out the directory name and `manage.py` if you have nested directory `apps`. # Then do not forget to put them too for example `apps.books` class BooksConfig(AppConfig): name = 'menus'
28.875
83
0.744589
36
231
4.777778
0.861111
0
0
0
0
0
0
0
0
0
0
0
0.177489
231
7
84
33
0.905263
0.61039
0
0
0
0
0.057471
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
c246efdcaa4e614d681fd65014f446a8afe8f4ed
60
py
Python
cheekybanjos/__init__.py
JHFarrant/cheekybanjos
043cd3a483d5424b645478a4de2dd418d122a7f9
[ "MIT" ]
null
null
null
cheekybanjos/__init__.py
JHFarrant/cheekybanjos
043cd3a483d5424b645478a4de2dd418d122a7f9
[ "MIT" ]
1
2021-03-13T12:58:19.000Z
2021-03-13T12:58:19.000Z
cheekybanjos/__init__.py
JHFarrant/cheekybanjos
043cd3a483d5424b645478a4de2dd418d122a7f9
[ "MIT" ]
1
2019-09-05T20:14:35.000Z
2019-09-05T20:14:35.000Z
from .banjos import BanjosAPIClient name = "cheeky-banjos"
15
35
0.783333
7
60
6.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
3
36
20
0.903846
0
0
0
0
0
0.220339
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
df9b4028350924496fa111765ac7fd019f119bea
241
py
Python
ports/esp32/wifi.py
kekemuyu/linewatch
2cbba739a3773dafc8ebbe46cb1f1ce3b467c4bb
[ "MIT" ]
22
2020-11-12T11:30:44.000Z
2022-03-04T08:41:49.000Z
ports/esp32/wifi.py
kekemuyu/linewatch
2cbba739a3773dafc8ebbe46cb1f1ce3b467c4bb
[ "MIT" ]
1
2020-11-23T10:02:42.000Z
2020-11-30T12:33:27.000Z
ports/esp32/wifi.py
kekemuyu/linewatch
2cbba739a3773dafc8ebbe46cb1f1ce3b467c4bb
[ "MIT" ]
9
2020-11-12T10:23:27.000Z
2021-04-18T14:46:24.000Z
import network sta=network.WLAN(network.STA_IF) ap=network.WLAN(network.AP_IF) essid='' passwd='' def sta_connect(): sta.active(True) sta.connect(essid,passwd) def sta_disconnect(): sta.disconnect() sta.active(False)
10.041667
32
0.697095
34
241
4.823529
0.411765
0.121951
0.219512
0.207317
0
0
0
0
0
0
0
0
0.157676
241
23
33
10.478261
0.807882
0
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.181818
0.090909
0
0.272727
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
df9d7944fea2fce6c28aee2bbf6bf80286a0064b
1,985
py
Python
datasets.py
Joffrey-Liu/Dilation-FCN
bf51fe1ac5dda250e0795d4b8afbd134ba5a485e
[ "MIT" ]
145
2017-06-02T14:11:35.000Z
2021-11-08T09:30:46.000Z
datasets.py
strykerin/dilation-tensorflow
306a158a1defbd56d2db8529d95300936672c421
[ "MIT" ]
4
2017-11-20T18:40:13.000Z
2019-06-28T01:24:00.000Z
datasets.py
strykerin/dilation-tensorflow
306a158a1defbd56d2db8529d95300936672c421
[ "MIT" ]
64
2017-06-02T13:41:22.000Z
2020-12-02T10:22:56.000Z
import numpy as np # Configurations for different datasets CONFIG = { 'cityscapes': { 'classes': 19, 'weights_file': 'data/pretrained_dilation_cityscapes.pickle', 'input_shape': (1396, 1396, 3), 'output_shape': (1024, 1024, 19), 'mean_pixel': (72.39, 82.91, 73.16), '...
36.759259
69
0.308312
175
1,985
3.417143
0.468571
0.023411
0.045151
0.083612
0.110368
0
0
0
0
0
0
0.319149
0.550126
1,985
53
70
37.45283
0.350504
0.01864
0
0.039216
0
0
0.130524
0.04111
0
0
0
0
0
1
0
false
0
0.019608
0
0.019608
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dfa65ab64e17fc57e2e7b9a473d02a27542ada9e
1,453
py
Python
kpw-org/controllers/default.py
highlanderkev/kpw.org-web2py
f7f74819de11626e1accb3b9c5880ebda8268011
[ "MIT" ]
null
null
null
kpw-org/controllers/default.py
highlanderkev/kpw.org-web2py
f7f74819de11626e1accb3b9c5880ebda8268011
[ "MIT" ]
null
null
null
kpw-org/controllers/default.py
highlanderkev/kpw.org-web2py
f7f74819de11626e1accb3b9c5880ebda8268011
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # default.py by Kevin Patrick Westropp ######################################################################### ## This is my main controller for kevinpatrickwestropp.org ## - index is the default action of any application ## - user is required for authentication and authorization ## - downloa...
27.415094
74
0.644873
172
1,453
5.418605
0.587209
0.038627
0.040773
0
0
0
0
0
0
0
0
0.000807
0.147281
1,453
52
75
27.942308
0.751412
0.502409
0
0
0
0
0.122507
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dfa71a655fc6f6466bfda60a59fba4626e54c5bf
506
py
Python
apps/mamasemedia/migrations/0008_auto_20160525_1056.py
itsMagondu/MaMaSe
0287e092121155314e76124425ef26bb4154847f
[ "Apache-2.0" ]
3
2016-03-08T15:15:00.000Z
2020-03-05T05:32:19.000Z
apps/mamasemedia/migrations/0008_auto_20160525_1056.py
itsMagondu/MaMaSe
0287e092121155314e76124425ef26bb4154847f
[ "Apache-2.0" ]
65
2015-09-25T13:32:12.000Z
2022-03-11T23:22:12.000Z
apps/mamasemedia/migrations/0008_auto_20160525_1056.py
itsMagondu/MaMaSe
0287e092121155314e76124425ef26bb4154847f
[ "Apache-2.0" ]
2
2017-05-16T07:56:10.000Z
2020-06-06T06:01:31.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-25 10:56 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('mamasemedia', '0007_auto_20160517_1341'), ] operations = [ migrations.RemoveField( ...
21.083333
51
0.588933
50
506
5.76
0.72
0.145833
0.180556
0.208333
0
0
0
0
0
0
0
0.089888
0.296443
506
23
52
22
0.719101
0.132411
0
0.375
1
0
0.149083
0.052752
0
0
0
0
0
1
0
false
0
0.125
0
0.3125
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
dfb14a00dccf01f046bd485855082af2b89eb42c
8,775
py
Python
empoweredautoparts/utility_test.py
27pirateking/empoweredautoparts-scraper
cbae00057cdaca6b77999bc85875d605fad5d0ac
[ "MIT" ]
null
null
null
empoweredautoparts/utility_test.py
27pirateking/empoweredautoparts-scraper
cbae00057cdaca6b77999bc85875d605fad5d0ac
[ "MIT" ]
null
null
null
empoweredautoparts/utility_test.py
27pirateking/empoweredautoparts-scraper
cbae00057cdaca6b77999bc85875d605fad5d0ac
[ "MIT" ]
null
null
null
from empoweredautoparts.scraping_utility import process_description # for debugging purposes html = ['<p><strong><span style="font-size: 24px;">BRAND NEW - GENUINE RDA - </span></strong><strong><span style="font-size: 24px;"><span style="font-size: 24px;">DIMPLED &amp; SLOTTED REAR DISC BRAKE ROTORS + EBC ULTIMAX PRE...
237.162162
785
0.711111
1,418
8,775
4.398449
0.272214
0.070707
0.102132
0.125381
0.472503
0.455187
0.435947
0.412057
0.381433
0.325958
0
0.039262
0.129231
8,775
36
786
243.75
0.776993
0.002507
0
0.16129
0
0.774194
0.895098
0.14924
0
0
0
0
0
1
0
false
0.032258
0.032258
0
0.032258
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dfb48ce142ccd61aa1bb9057428de84233e05f4b
74
py
Python
tests/pyconverter-test/cases/scope_enclosed_nonlocal.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
977
2019-05-06T23:12:55.000Z
2022-03-29T19:11:44.000Z
tests/pyconverter-test/cases/scope_enclosed_nonlocal.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
3,980
2019-05-09T20:48:14.000Z
2022-03-28T20:33:07.000Z
tests/pyconverter-test/cases/scope_enclosed_nonlocal.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
306
2016-04-09T05:28:07.000Z
2019-05-02T14:23:29.000Z
def topfun(): def subfun(): nonlocal a a = 2 a = 1
14.8
18
0.418919
10
74
3.1
0.7
0
0
0
0
0
0
0
0
0
0
0.051282
0.472973
74
5
19
14.8
0.74359
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
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
1
0
0
0
0
0
0
0
3
dfccc3508dcbf0f2f5cca72870b43338779ef1c3
787
py
Python
tools/leetcode.021.Merge Two Sorted Lists/leetcode.021.Merge Two Sorted Lists.submission2.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
4
2015-10-10T00:30:55.000Z
2020-07-27T19:45:54.000Z
tools/leetcode.021.Merge Two Sorted Lists/leetcode.021.Merge Two Sorted Lists.submission2.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
tools/leetcode.021.Merge Two Sorted Lists/leetcode.021.Merge Two Sorted Lists.submission2.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # @param {ListNode} l1 # @param {ListNode} l2 # @return {ListNode} def mergeTwoLists(self, l1, l2): dummy = ListNode(None) temp1 = l1 ...
787
787
0.484117
82
787
4.597561
0.341463
0.143236
0.074271
0.095491
0
0
0
0
0
0
0
0.069507
0.433291
787
1
787
787
0.775785
0.977128
0
0.3
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dfdf2d038a520c7a5b38d825ef5939ba13bfdd63
440
py
Python
pypad/active_skill/unlock_orbs_as.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
pypad/active_skill/unlock_orbs_as.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
pypad/active_skill/unlock_orbs_as.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
from . import ActiveSkill from ..skill_loader import SkillLoader class UnlockOrbsAS(ActiveSkill): _handle_types = {172} def parse_args(self): pass def args_to_json(self): return {} def localize(self): return 'Unlock all orbs' @property def active_skill_type(...
20
54
0.681818
51
440
5.627451
0.54902
0.10453
0.111498
0
0
0
0
0
0
0
0
0.009036
0.245455
440
22
54
20
0.855422
0.056818
0
0
0
0
0.062802
0
0
0
0
0
0
1
0.285714
false
0.071429
0.142857
0.214286
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
1
0
1
0
0
0
3
dfe2237b38f922cf7098563b3ffed4c00db74c43
12,650
py
Python
components/icdc-fence/tests/data/test_data.py
CBIIT/icdc-docker
5dc78b96a8d885b3fa427c55b9cc19f4771910fa
[ "Apache-2.0" ]
2
2019-06-10T15:30:51.000Z
2020-01-18T23:24:13.000Z
components/icdc-fence/tests/data/test_data.py
CBIIT/icdc-docker
5dc78b96a8d885b3fa427c55b9cc19f4771910fa
[ "Apache-2.0" ]
null
null
null
components/icdc-fence/tests/data/test_data.py
CBIIT/icdc-docker
5dc78b96a8d885b3fa427c55b9cc19f4771910fa
[ "Apache-2.0" ]
1
2022-03-31T09:52:46.000Z
2022-03-31T09:52:46.000Z
import json import mock import urlparse import uuid import jwt import pytest import requests import fence.blueprints.data.indexd from fence.config import config from fence.errors import NotSupported from tests import utils @pytest.mark.parametrize( "indexd_client", ["gs", "s3", "gs_acl", "s3_acl", "s3_external...
27.380952
86
0.62917
1,447
12,650
5.230822
0.120249
0.030387
0.035672
0.044392
0.770247
0.747126
0.723874
0.698903
0.680671
0.680671
0
0.015386
0.249881
12,650
461
87
27.440347
0.782274
0.066403
0
0.687166
0
0
0.12798
0.032533
0
0
0
0
0.061497
1
0.042781
false
0.002674
0.029412
0.002674
0.07754
0.026738
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
a0243d53872e750a4412e4bc5f2c4d7a510253f2
599
py
Python
homepage/models.py
MaxGosselin/alpha-auctions
3d825a4690f31f87339aa0a7b7c32c5fbbf518ff
[ "Unlicense" ]
1
2019-03-28T15:38:53.000Z
2019-03-28T15:38:53.000Z
homepage/models.py
MaxGosselin/alpha-auctions
3d825a4690f31f87339aa0a7b7c32c5fbbf518ff
[ "Unlicense" ]
null
null
null
homepage/models.py
MaxGosselin/alpha-auctions
3d825a4690f31f87339aa0a7b7c32c5fbbf518ff
[ "Unlicense" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser from django.core.validators import MaxValueValidator, MinValueValidator class User(AbstractUser): name = models.CharField(max_length=20, default="") phone = models.CharField(max_length=20, default="613-555-555") member_level...
46.076923
100
0.769616
73
599
6.219178
0.506849
0.132159
0.15859
0.211454
0.290749
0.290749
0
0
0
0
0
0.041431
0.113523
599
12
101
49.916667
0.813559
0.095159
0
0
0
0
0.025926
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a03e0166983deaf389d219e726dfa4ae9ff44b06
303
py
Python
app/c_create_post/route.py
Skhendle/Blogger-Block-
01b04afc486e0125ac9d06f3ef58dbbad00c17ce
[ "MIT" ]
3
2021-03-20T10:48:28.000Z
2022-01-23T08:24:43.000Z
app/c_create_post/route.py
Skhendle/Blogger-Block-
01b04afc486e0125ac9d06f3ef58dbbad00c17ce
[ "MIT" ]
6
2021-01-07T16:32:10.000Z
2021-01-31T20:47:06.000Z
app/c_create_post/route.py
Skhendle/GraphQL_System
01b04afc486e0125ac9d06f3ef58dbbad00c17ce
[ "MIT" ]
1
2021-06-14T12:31:06.000Z
2021-06-14T12:31:06.000Z
from fastapi import APIRouter, Depends from app.c_create_post.input import CreatePostModel from app.c_create_post.service import CreatePost router = APIRouter() @router.post("/create/post", tags=["post"]) async def create_post_api(post: CreatePostModel): return CreatePost(post).create_post()
21.642857
51
0.785479
41
303
5.634146
0.463415
0.21645
0.069264
0.121212
0.155844
0
0
0
0
0
0
0
0.112211
303
13
52
23.307692
0.858736
0
0
0
0
0
0.052805
0
0
0
0
0
0
1
0
false
0
0.428571
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
0
0
0
1
0
1
0
0
3
a081b0009f93f8db90cf0a532208ed9908a8cfe7
1,028
py
Python
source/DecimalOpt.py
huanghyw/py-notepad
dcaf93f94350c2c3fe15941fcc38b919dadd538c
[ "Apache-2.0" ]
1
2021-01-06T02:23:37.000Z
2021-01-06T02:23:37.000Z
source/DecimalOpt.py
huanghyw/py-notepad
dcaf93f94350c2c3fe15941fcc38b919dadd538c
[ "Apache-2.0" ]
null
null
null
source/DecimalOpt.py
huanghyw/py-notepad
dcaf93f94350c2c3fe15941fcc38b919dadd538c
[ "Apache-2.0" ]
null
null
null
from decimal import Decimal from decimal import localcontext, getcontext a = Decimal(12.345) b = Decimal(1.000) print("=" * 100) print(a * b) with localcontext() as ctx: ctx.prec = 10 print(a * b) print(a * b) print("=" * 100) print(a.quantize(Decimal('0.01'), rounding="ROUND_CEILING")) print(a.quantize(De...
27.052632
62
0.682879
160
1,028
4.28125
0.2
0.105109
0.210219
0.245255
0.675912
0.642336
0.642336
0.554745
0.446715
0
0
0.068928
0.110895
1,028
37
63
27.783784
0.680525
0
0
0.448276
0
0
0.164397
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.068966
0.62069
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a0bb15c4112ee199f0d2a53a3e769fd3a778eaaf
415
py
Python
Python/Object-Oriented Python/Misc/Tip_Calculator.py
rlong2/Code
feb6c097159bf822122a73e0131ad928780bcfcd
[ "BSD-3-Clause" ]
null
null
null
Python/Object-Oriented Python/Misc/Tip_Calculator.py
rlong2/Code
feb6c097159bf822122a73e0131ad928780bcfcd
[ "BSD-3-Clause" ]
null
null
null
Python/Object-Oriented Python/Misc/Tip_Calculator.py
rlong2/Code
feb6c097159bf822122a73e0131ad928780bcfcd
[ "BSD-3-Clause" ]
null
null
null
# Tip calculator # Will build a GUI def AddTip(price_without_tip): tip_amounts = [10, 15, 20] for tip in tip_amounts: new_total = price_without_tip + (price_without_tip * (tip / 100)) formatted_total = "{:.2f}".format(new_total) print(f"{tip}% tip: total is ${formatted_total}") # Main ...
25.9375
73
0.662651
59
415
4.389831
0.525424
0.23166
0.289575
0.162162
0
0
0
0
0
0
0
0.030581
0.212048
415
15
74
27.666667
0.761468
0.086747
0
0
0
0
0.184
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
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
a0bdb2815f1c80e1bacd8bebe7f15f02934a6ddb
79
py
Python
data/studio21_generated/interview/0410/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0410/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0410/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def getKth(self, lo: int, hi: int, k: int) -> int:
26.333333
54
0.544304
12
79
3.583333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.303797
79
3
55
26.333333
0.781818
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
39fa4874382b82c33be678b80f2f795c2f7a9597
745
py
Python
discovery-infra/test_infra/utils/cluster_name.py
lranjbar/assisted-test-infra
89cd4e16744afa646af88975f8038ca1774bcfa4
[ "Apache-2.0" ]
null
null
null
discovery-infra/test_infra/utils/cluster_name.py
lranjbar/assisted-test-infra
89cd4e16744afa646af88975f8038ca1774bcfa4
[ "Apache-2.0" ]
30
2021-11-15T07:10:49.000Z
2022-03-28T07:10:26.000Z
discovery-infra/test_infra/utils/cluster_name.py
lranjbar/assisted-test-infra
89cd4e16744afa646af88975f8038ca1774bcfa4
[ "Apache-2.0" ]
null
null
null
import uuid from test_infra import consts from test_infra.utils import get_env def get_cluster_name_suffix(length: str = consts.SUFFIX_LENGTH): return str(uuid.uuid4())[: length] class ClusterName: def __init__(self, prefix: str = None, suffix: str = None): self.prefix = prefix if prefix is not Non...
27.592593
107
0.668456
104
745
4.538462
0.288462
0.105932
0.055085
0.084746
0.152542
0
0
0
0
0
0
0.001754
0.234899
745
26
108
28.653846
0.826316
0
0
0.111111
0
0
0.048322
0.030872
0
0
0
0
0
1
0.277778
false
0
0.166667
0.166667
0.722222
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
2606892e2bf100a2545a54b43ea71ccf2dbceb96
3,149
py
Python
tests/test_essence.py
shahbazk8194/pyaaf2
56a49b45b7aee0454629f79497e3f476ea08328e
[ "MIT" ]
80
2017-10-19T20:49:39.000Z
2022-03-14T01:32:37.000Z
tests/test_essence.py
shahbazk8194/pyaaf2
56a49b45b7aee0454629f79497e3f476ea08328e
[ "MIT" ]
94
2018-01-05T22:30:31.000Z
2022-03-26T21:51:38.000Z
tests/test_essence.py
shahbazk8194/pyaaf2
56a49b45b7aee0454629f79497e3f476ea08328e
[ "MIT" ]
29
2018-10-25T14:01:53.000Z
2022-03-03T15:54:04.000Z
from __future__ import ( unicode_literals, absolute_import, print_function, division, ) import unittest import common import os import aaf2 class EssenceTests(unittest.TestCase): def test_create(self): new_file = os.path.join(common.sandbox(), 'create_essence.aaf') test_data =...
27.867257
84
0.55732
404
3,149
4.168317
0.175743
0.059382
0.057007
0.071259
0.74228
0.726841
0.706651
0.706651
0.57601
0.516627
0
0.008899
0.322007
3,149
112
85
28.116071
0.779859
0.012702
0
0.650602
0
0
0.059865
0.019955
0
0
0
0
0.108434
1
0.048193
false
0
0.084337
0
0.144578
0.012048
0
0
0
null
0
0
0
0
1
1
1
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
260f1693fa173bd555fd928497f8687789f92c91
1,076
py
Python
chainer/links/connection/embed_id.py
muupan/chainer
038c0d1195c9479335d4223f42dec8bc5830327a
[ "MIT" ]
null
null
null
chainer/links/connection/embed_id.py
muupan/chainer
038c0d1195c9479335d4223f42dec8bc5830327a
[ "MIT" ]
1
2016-11-09T06:32:32.000Z
2016-11-09T10:20:04.000Z
chainer/links/connection/embed_id.py
muupan/chainer
038c0d1195c9479335d4223f42dec8bc5830327a
[ "MIT" ]
null
null
null
import numpy from chainer.functions.connection import embed_id from chainer import link class EmbedID(link.Link): """Efficient linear layer for one-hot input. This is a link that wraps the :func:`~chainer.functions.embed_id` function. This link holds the ID (word) embedding matrix ``W`` as a parameter....
26.9
79
0.643123
142
1,076
4.697183
0.464789
0.052474
0.065967
0.058471
0.08096
0
0
0
0
0
0
0
0.249071
1,076
39
80
27.589744
0.825495
0.565056
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
261b754b757419ef23ed5e1f5357a4b85a9caf4f
597
py
Python
routers/country_money/__init__.py
vald3nir/Python-World-Data
3412802654c42bd60acd6eb1a30ad04426132f6e
[ "MIT" ]
null
null
null
routers/country_money/__init__.py
vald3nir/Python-World-Data
3412802654c42bd60acd6eb1a30ad04426132f6e
[ "MIT" ]
null
null
null
routers/country_money/__init__.py
vald3nir/Python-World-Data
3412802654c42bd60acd6eb1a30ad04426132f6e
[ "MIT" ]
null
null
null
from flask import Blueprint from routers.country_money.use_case_country_money import * money_router = Blueprint('money_router', __name__) # ------------------------------------------------------------------ # Routers # ------------------------------------------------------------------ @money_router.route('/country...
29.85
68
0.61809
66
597
5.060606
0.30303
0.188623
0.125749
0.137725
0.203593
0.203593
0.203593
0.203593
0
0
0
0
0.075377
597
19
69
31.421053
0.605072
0.236181
0
0
0
0
0.128319
0.057522
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
0.666667
0.222222
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
26227eaa8a4fbc71430f4fd16c061509b787474d
684
py
Python
appengine/findit/dto/flake_try_job_result.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
2
2021-04-13T21:22:18.000Z
2021-09-07T02:11:57.000Z
appengine/findit/dto/flake_try_job_result.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
21
2020-09-06T02:41:05.000Z
2022-03-02T04:40:01.000Z
appengine/findit/dto/flake_try_job_result.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from dto.flake_try_job_report import FlakeTryJobReport from libs.structured_object import StructuredObject class FlakeTryJobResult(StructuredObject): """...
32.571429
72
0.77193
102
684
5.088235
0.617647
0.080925
0.069364
0.042389
0
0
0
0
0
0
0
0.017637
0.171053
684
20
73
34.2
0.897707
0.615497
0
0
0
0
0
0
0
0
0
0.05
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
26242191874b3f92f36f33a433e30d995e469500
610
py
Python
authors/apps/articles/tests/test_article_like.py
andela/ah-backend-tesseract
ed3c932cdfa2661662100bb50727f5239d1a6d14
[ "BSD-3-Clause" ]
null
null
null
authors/apps/articles/tests/test_article_like.py
andela/ah-backend-tesseract
ed3c932cdfa2661662100bb50727f5239d1a6d14
[ "BSD-3-Clause" ]
56
2018-08-28T13:18:19.000Z
2021-06-10T20:49:30.000Z
authors/apps/articles/tests/test_article_like.py
andela/ah-backend-tesseract
ed3c932cdfa2661662100bb50727f5239d1a6d14
[ "BSD-3-Clause" ]
4
2018-08-24T04:40:32.000Z
2021-06-30T09:47:08.000Z
from rest_framework import status from . import BaseTest class ArticleLikeTests(BaseTest): def test_valid_article_liking(self): like_article = self.test_article_liking self.assertEqual(like_article.status_code, status.HTTP_201_CREATED) def test_article_dislike(self): article_dislike =...
35.882353
82
0.783607
81
610
5.469136
0.296296
0.176072
0.191874
0.189616
0.404063
0.404063
0.1693
0.1693
0.1693
0.1693
0
0.017476
0.155738
610
16
83
38.125
0.842718
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.166667
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
264560379b57eefc1eccf22497564755ae2ffbbb
479
py
Python
syn/util/constraint/tests/test_constraint.py
mbodenhamer/syn
aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258
[ "MIT" ]
1
2021-07-15T08:55:12.000Z
2021-07-15T08:55:12.000Z
syn/util/constraint/tests/test_constraint.py
mbodenhamer/syn
aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258
[ "MIT" ]
7
2021-01-07T23:51:57.000Z
2021-12-13T19:50:57.000Z
syn/util/constraint/tests/test_constraint.py
mbodenhamer/syn
aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258
[ "MIT" ]
2
2016-07-11T08:46:31.000Z
2017-12-13T13:30:51.000Z
import syn.util.constraint as con import syn.util.constraint.b as bcon #------------------------------------------------------------------------------- # Constraint imports def test_constaint_imports(): assert con.Domain is bcon.Domain #----------------------------------------------------------------------------...
31.933333
80
0.505219
48
479
4.708333
0.6875
0.079646
0.115044
0.20354
0
0
0
0
0
0
0
0
0.104384
479
14
81
34.214286
0.526807
0.40501
0
0
0
0
0.02847
0
0
0
0
0
0.142857
1
0.142857
true
0
0.571429
0
0.714286
0.142857
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
2651a5984a31d6de4dd32ad1c1fdb8ac5450ee93
3,349
py
Python
siem/migrations/0012_auto_20180318_2252.py
dekoder/LogESP
fa45523b4ad96004583cbf722645afc3f63c9a6d
[ "MIT" ]
130
2018-04-18T08:51:41.000Z
2022-03-24T18:15:01.000Z
siem/migrations/0012_auto_20180318_2252.py
Seabreg/LogESP
fa45523b4ad96004583cbf722645afc3f63c9a6d
[ "MIT" ]
14
2018-04-02T19:59:25.000Z
2021-06-10T17:30:18.000Z
siem/migrations/0012_auto_20180318_2252.py
Seabreg/LogESP
fa45523b4ad96004583cbf722645afc3f63c9a6d
[ "MIT" ]
55
2018-04-18T08:51:50.000Z
2022-03-05T02:55:17.000Z
# Generated by Django 2.0.3 on 2018-03-19 02:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('siem', '0011_auto_20180317_1447'), ] operations = [ migrations.RenameField( model_name='limitrule', old_name='action...
32.201923
86
0.565841
313
3,349
5.71246
0.194888
0.090604
0.151007
0.201342
0.708613
0.708613
0.615772
0.546421
0.546421
0.387025
0
0.02171
0.326067
3,349
103
87
32.514563
0.770492
0.013437
0
0.608247
1
0
0.219564
0.076317
0
0
0
0
0
1
0
false
0
0.010309
0
0.041237
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2653618d103a36b18a760334bc58e52e90b4d4c6
108
py
Python
src/deploy/version.py
wellcomecollection/weco-deploy
4e9f91b21c4ee26f7f0e9c6d7de2f851f4a088aa
[ "MIT" ]
null
null
null
src/deploy/version.py
wellcomecollection/weco-deploy
4e9f91b21c4ee26f7f0e9c6d7de2f851f4a088aa
[ "MIT" ]
26
2020-07-07T12:09:23.000Z
2021-09-16T09:00:49.000Z
src/deploy/version.py
wellcomecollection/weco-deploy
4e9f91b21c4ee26f7f0e9c6d7de2f851f4a088aa
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- __version_info__ = (5, 6, 37) __version__ = '.'.join(map(str, __version_info__))
21.6
50
0.638889
14
108
3.928571
0.785714
0.4
0
0
0
0
0
0
0
0
0
0.053763
0.138889
108
4
51
27
0.537634
0.212963
0
0
0
0
0.012048
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
265c4705f94fb9c04da3c207b921ffb643f1615d
228
py
Python
core/apps/core/tests.py
myworkshopproject/myworkshop
44946bda1e454f784d6b86b0748a5fc0c80f257f
[ "MIT" ]
null
null
null
core/apps/core/tests.py
myworkshopproject/myworkshop
44946bda1e454f784d6b86b0748a5fc0c80f257f
[ "MIT" ]
7
2020-03-21T09:03:26.000Z
2021-03-22T15:21:50.000Z
core/apps/core/tests.py
myworkshopproject/myworkshop
44946bda1e454f784d6b86b0748a5fc0c80f257f
[ "MIT" ]
null
null
null
from django.test import TestCase class DebugTestCase(TestCase): def test_debug(self): """A simple test to check if testing is well implemented.""" hello = "world!" self.assertEqual(hello, "world!")
25.333333
68
0.657895
28
228
5.321429
0.785714
0.134228
0
0
0
0
0
0
0
0
0
0
0.232456
228
8
69
28.5
0.851429
0.236842
0
0
0
0
0.071429
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2668cf5b5eb3696aebe81319665b05dc4cd13ff0
220
py
Python
neuro/misc.py
takuya-ki/wrs
f6e1009b94332504042fbde9b39323410394ecde
[ "MIT" ]
23
2021-04-02T09:02:04.000Z
2022-03-22T05:31:03.000Z
neuro/misc.py
takuya-ki/wrs
f6e1009b94332504042fbde9b39323410394ecde
[ "MIT" ]
35
2021-04-12T09:41:05.000Z
2022-03-26T13:32:46.000Z
neuro/misc.py
takuya-ki/wrs
f6e1009b94332504042fbde9b39323410394ecde
[ "MIT" ]
16
2021-03-30T11:55:45.000Z
2022-03-30T07:10:59.000Z
import torch def get_device(use_gpu=True): if use_gpu and torch.cuda.is_available(): torch.backends.cudnn.deterministic = True return torch.device("cuda") else: return torch.device("cpu")
27.5
49
0.672727
30
220
4.8
0.633333
0.083333
0.236111
0
0
0
0
0
0
0
0
0
0.218182
220
8
50
27.5
0.837209
0
0
0
0
0
0.031674
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
267c590e15f19206565898e0a576b09ab1d013ad
165
py
Python
ditto/readers/cyme/__init__.py
daniel-thom/ditto
9ba2d4cfa5e96eeda811f419c18c70b8a548747e
[ "BSD-3-Clause" ]
44
2018-04-02T16:48:53.000Z
2022-02-24T03:49:06.000Z
ditto/readers/cyme/__init__.py
dpinney/ditto
41dbba80e4990ed9949370fff809e4a68382e213
[ "BSD-3-Clause" ]
267
2018-04-17T22:40:14.000Z
2022-02-04T15:59:32.000Z
ditto/readers/cyme/__init__.py
dpinney/ditto
41dbba80e4990ed9949370fff809e4a68382e213
[ "BSD-3-Clause" ]
29
2018-05-11T22:55:09.000Z
2022-02-10T17:35:27.000Z
# -*- coding: utf-8 -*- from .read import Reader as CymeReader __author__ = """Nicolas Gensollen""" __email__ = "nicolas.gensollen@nrel.gov" __version__ = "0.1.0"
20.625
40
0.690909
21
165
4.857143
0.857143
0.313725
0
0
0
0
0
0
0
0
0
0.028169
0.139394
165
7
41
23.571429
0.690141
0.127273
0
0
0
0
0.338028
0.183099
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd45226cfa885e56b4fe48271186417621d96308
357
py
Python
src/api-service/__app__/onefuzzlib/job_templates/defaults/__init__.py
tonybaloney/onefuzz
e0f2e9ed5aae006e0054387de7a0ff8c83c8f722
[ "MIT" ]
2,692
2020-09-15T17:54:21.000Z
2022-03-31T11:58:57.000Z
src/api-service/__app__/onefuzzlib/job_templates/defaults/__init__.py
tonybaloney/onefuzz
e0f2e9ed5aae006e0054387de7a0ff8c83c8f722
[ "MIT" ]
980
2020-09-18T18:23:01.000Z
2022-03-30T22:20:43.000Z
src/api-service/__app__/onefuzzlib/job_templates/defaults/__init__.py
tonybaloney/onefuzz
e0f2e9ed5aae006e0054387de7a0ff8c83c8f722
[ "MIT" ]
177
2020-09-16T00:10:56.000Z
2022-03-30T21:18:10.000Z
#!/usr/bin/env python # # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. from .afl import afl_linux, afl_windows from .libfuzzer import libfuzzer_linux, libfuzzer_windows TEMPLATES = { "afl_windows": afl_windows, "afl_linux": afl_linux, "libfuzzer_linux": libfuzzer_linux, "libf...
23.8
57
0.7507
44
357
5.818182
0.454545
0.21875
0.269531
0.234375
0
0
0
0
0
0
0
0
0.151261
357
14
58
25.5
0.844884
0.2493
0
0
0
0
0.19697
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
cd4d3fe0f125cc080054cc8b8bf2c504daab674e
1,019
py
Python
gopos/models/address.py
thepieterdc/gopos-python
bb55f3b6949ec11f891c46a07373896463e878bf
[ "Apache-2.0" ]
null
null
null
gopos/models/address.py
thepieterdc/gopos-python
bb55f3b6949ec11f891c46a07373896463e878bf
[ "Apache-2.0" ]
2
2022-02-14T20:15:13.000Z
2022-03-21T20:13:41.000Z
gopos/models/address.py
thepieterdc/gopos-python
bb55f3b6949ec11f891c46a07373896463e878bf
[ "Apache-2.0" ]
null
null
null
import dataclasses # Public interface. __all__ = ["GoposAddress"] from typing import Optional @dataclasses.dataclass class GoposAddress: """ Response of a request to the `GET /address/parse` route. Definition of the fields is available at: https://github.com/openvenues/libpostal#parser-labels. ...
26.815789
60
0.675172
124
1,019
5.467742
0.443548
0.324484
0.442478
0.056047
0
0
0
0
0
0
0
0
0.215898
1,019
37
61
27.540541
0.848561
0.169774
0
0
0
0
0.014599
0
0
0
0
0
0
1
0
false
0
0.08
0
0.92
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
cd54d23da4b7ece888ebd28a201da27d7806e2b5
186
py
Python
s04_variaveis_tipos_de_dados/s04_exercicios/s04_exercicio_04.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
s04_variaveis_tipos_de_dados/s04_exercicios/s04_exercicio_04.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
s04_variaveis_tipos_de_dados/s04_exercicios/s04_exercicio_04.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
""" 04) Leia um número real e imprima o resultado do quadrado desse número. """ n1 = float(input('Digite um número para ver seu quadrado: \n')) print(f'O quadrado de {n1} é {n1**2}')
20.666667
71
0.672043
33
186
3.787879
0.757576
0.128
0
0
0
0
0
0
0
0
0
0.039474
0.182796
186
8
72
23.25
0.782895
0.38172
0
0
0
0
0.660377
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cd5daa2596a8b6e80d452b5306cf67201252e9e8
1,122
py
Python
src/docker_composer/runner/cmd/bundle.py
michascholl/docker-composer
d190f1db766e216654a4259785b9aaf802a9c64d
[ "Apache-2.0" ]
4
2021-01-18T11:35:24.000Z
2021-08-30T16:19:39.000Z
src/docker_composer/runner/cmd/bundle.py
michascholl/docker-composer
d190f1db766e216654a4259785b9aaf802a9c64d
[ "Apache-2.0" ]
null
null
null
src/docker_composer/runner/cmd/bundle.py
michascholl/docker-composer
d190f1db766e216654a4259785b9aaf802a9c64d
[ "Apache-2.0" ]
1
2022-02-19T10:38:59.000Z
2022-02-19T10:38:59.000Z
# DO NOT EDIT: Autogenerated by src/docker_composer/_utils/generate_class.py # for docker-compose version 1.25.0, build unknown from typing import List, Optional import attr from docker_composer.base import DockerBaseRunner @attr.s(auto_attribs=True) class DockerComposeBundle(DockerBaseRunner): """ Generat...
31.166667
76
0.710339
149
1,122
5.288591
0.577181
0.063452
0.030457
0.053299
0
0
0
0
0
0
0
0.004474
0.203209
1,122
35
77
32.057143
0.876957
0.5
0
0
1
0
0.049275
0
0
0
0
0
0
1
0
true
0
0.272727
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
269b2f8db2188953a0e02513e032738e18d221d4
131
py
Python
config.py
blairt001/StackOverflow-lite
3a8af2af5be0d800d08246d2924f38a878aadebe
[ "MIT" ]
1
2018-12-26T21:13:03.000Z
2018-12-26T21:13:03.000Z
config.py
blairt001/StackOverflow-lite
3a8af2af5be0d800d08246d2924f38a878aadebe
[ "MIT" ]
null
null
null
config.py
blairt001/StackOverflow-lite
3a8af2af5be0d800d08246d2924f38a878aadebe
[ "MIT" ]
null
null
null
# this is the default config settings class BaseConfig(object): TEST_DB = 'test_db' SECRET_KEY = 'T9Y1zdmIKCzUovTEFGYgaRV'
26.2
42
0.748092
16
131
5.9375
0.875
0.126316
0
0
0
0
0
0
0
0
0
0.018519
0.175573
131
4
43
32.75
0.861111
0.267176
0
0
0
0
0.319149
0.244681
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
26a438b359cb261f130d27408913919fe1dbfbe6
238
py
Python
app/quotes/serializers.py
agile-fan430/RestAPI_Django_AlphaVantage
a6129f9124f22d9e1034f6507106fe9355466e4a
[ "MIT" ]
null
null
null
app/quotes/serializers.py
agile-fan430/RestAPI_Django_AlphaVantage
a6129f9124f22d9e1034f6507106fe9355466e4a
[ "MIT" ]
null
null
null
app/quotes/serializers.py
agile-fan430/RestAPI_Django_AlphaVantage
a6129f9124f22d9e1034f6507106fe9355466e4a
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import BTCPrice class PriceSerializer(serializers.ModelSerializer): class Meta: model = BTCPrice fields = ('id', 'price') read_only_fields = ('id',)
26.444444
51
0.663866
24
238
6.458333
0.708333
0.103226
0
0
0
0
0
0
0
0
0
0
0.247899
238
9
52
26.444444
0.865922
0
0
0
0
0
0.037657
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
26a459d7a968201dc4b0f904cb9333526cb91ae3
780
py
Python
src/configs/global_vars.py
PraveenKumarSridhar/AI-flappy-bird
a72f78a089c2a084fd71c1160f6a69726827481b
[ "MIT" ]
2
2020-10-25T02:36:09.000Z
2020-10-25T15:54:28.000Z
src/configs/global_vars.py
PraveenKumarSridhar/AI-flappy-bird
a72f78a089c2a084fd71c1160f6a69726827481b
[ "MIT" ]
null
null
null
src/configs/global_vars.py
PraveenKumarSridhar/AI-flappy-bird
a72f78a089c2a084fd71c1160f6a69726827481b
[ "MIT" ]
null
null
null
WIN_WIDTH = 500 WIN_HEIGHT = 800 import pygame,os # load the bird images. BIRDS_IMGS = [pygame.transform.scale2x(pygame.image.load(os.path.join("src","imgs","bird1.png"))),\ pygame.transform.scale2x(pygame.image.load(os.path.join("src","imgs","bird2.png"))),\ pygame.transform.scale2x(pygame.image.load(os....
41.052632
99
0.717949
121
780
4.570248
0.289256
0.162749
0.238698
0.303797
0.61302
0.61302
0.61302
0.61302
0.61302
0.61302
0
0.023644
0.078205
780
19
100
41.052632
0.74548
0.115385
0
0
0
0
0.145773
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
26df7505632e6cb25412470661f506b2640afe62
126
py
Python
noteapp/noteapp/app.py
Redamarx/opentok-web-samples
11fe3727a73af45e030e544a07c5a7d43eb3ea71
[ "MIT" ]
null
null
null
noteapp/noteapp/app.py
Redamarx/opentok-web-samples
11fe3727a73af45e030e544a07c5a7d43eb3ea71
[ "MIT" ]
null
null
null
noteapp/noteapp/app.py
Redamarx/opentok-web-samples
11fe3727a73af45e030e544a07c5a7d43eb3ea71
[ "MIT" ]
null
null
null
from flask import Flask from noteapp.views.index import bp as index_bp app = Flask(__name__) app.register_blueprint(index_bp)
25.2
46
0.825397
21
126
4.619048
0.571429
0.14433
0
0
0
0
0
0
0
0
0
0
0.111111
126
5
47
25.2
0.866071
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f8054dda268a8bb0ef6bfe4096ca76ce5e6565bb
124
py
Python
logger.py
hertuc/tucan-bt-mqtt-gateway
242a60b19728073028801d48d00c51042beb570f
[ "MIT" ]
1
2019-11-29T06:47:48.000Z
2019-11-29T06:47:48.000Z
logger.py
hertuc/tucan-bt-mqtt-gateway
242a60b19728073028801d48d00c51042beb570f
[ "MIT" ]
null
null
null
logger.py
hertuc/tucan-bt-mqtt-gateway
242a60b19728073028801d48d00c51042beb570f
[ "MIT" ]
null
null
null
import logging import sys _LOGGER = logging.getLogger('bt-mqtt-gw') _LOGGER.addHandler(logging.StreamHandler(sys.stdout))
17.714286
53
0.798387
16
124
6.0625
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.080645
124
6
54
20.666667
0.850877
0
0
0
0
0
0.080645
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
f83fb9697bda6d28e8221da3f11e9b31f124741a
2,365
py
Python
src/rectification/mixture.py
alex-s-v/pact-rectification
0d9ff499ce78489aa6a213936d5097130341a781
[ "MIT" ]
1
2020-01-30T21:19:51.000Z
2020-01-30T21:19:51.000Z
src/rectification/mixture.py
alex-s-v/pact-rectification
0d9ff499ce78489aa6a213936d5097130341a781
[ "MIT" ]
null
null
null
src/rectification/mixture.py
alex-s-v/pact-rectification
0d9ff499ce78489aa6a213936d5097130341a781
[ "MIT" ]
1
2020-01-21T20:26:56.000Z
2020-01-21T20:26:56.000Z
import numpy as np from thermo import Mixture as TMixture, Chemical from rectification.core import ureg, propSI class Mixture(TMixture): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @property def uMWs(self): return np.array(self.MWs) * propSI["molar mass"] ...
21.697248
62
0.594926
275
2,365
5
0.276364
0.167273
0.174545
0.049455
0.506182
0.368
0.368
0.324364
0.324364
0.324364
0
0
0.266808
2,365
108
63
21.898148
0.792964
0
0
0.5
0
0
0.0926
0
0
0
0
0
0
1
0.333333
false
0
0.038462
0.307692
0.705128
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
f86aa815d79f8cd3c60b1dcef3fd70a7d339c9cd
150
py
Python
label_centerlines/__init__.py
acalcutt/label_centerlines
5af3f3ecfa4f3e49cbe9057c6be2e0da7d6612ba
[ "MIT" ]
162
2015-12-03T14:43:50.000Z
2022-02-28T15:00:33.000Z
label_centerlines/__init__.py
acalcutt/label_centerlines
5af3f3ecfa4f3e49cbe9057c6be2e0da7d6612ba
[ "MIT" ]
13
2016-06-19T12:06:09.000Z
2021-11-26T08:15:25.000Z
label_centerlines/__init__.py
acalcutt/label_centerlines
5af3f3ecfa4f3e49cbe9057c6be2e0da7d6612ba
[ "MIT" ]
43
2015-12-03T18:12:27.000Z
2021-12-12T03:58:40.000Z
import logging from ._src import get_centerline __version__ = "0.1" logger = logging.getLogger(__name__) logger.addHandler(logging.NullHandler())
15
40
0.786667
18
150
6
0.777778
0
0
0
0
0
0
0
0
0
0
0.015038
0.113333
150
9
41
16.666667
0.796992
0
0
0
0
0
0.02
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
f889c153e0827fe81c4eff94925e2a9b79d0c92a
84
py
Python
aws_price_fetcher/dynamodb.py
JoseAngel1196/gas-price-notifier
530a26ce37af39258e298bbd0ffaf5d3e763e3dd
[ "MIT" ]
null
null
null
aws_price_fetcher/dynamodb.py
JoseAngel1196/gas-price-notifier
530a26ce37af39258e298bbd0ffaf5d3e763e3dd
[ "MIT" ]
null
null
null
aws_price_fetcher/dynamodb.py
JoseAngel1196/gas-price-notifier
530a26ce37af39258e298bbd0ffaf5d3e763e3dd
[ "MIT" ]
null
null
null
import boto3 dynamo_db_client = boto3.resource('dynamodb', region_name='us-east-1')
28
70
0.785714
13
84
4.846154
0.923077
0
0
0
0
0
0
0
0
0
0
0.038462
0.071429
84
3
70
28
0.769231
0
0
0
0
0
0.2
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
f89171e8fd744a5d3ba35dffebd8b554cb5aac62
186
py
Python
accessor/variables.py
SatvikVejendla/Sentiment-Analysis
00e778142cc1b0d7d287eee8c0fb8a01d48e8805
[ "MIT" ]
2
2021-05-02T23:56:43.000Z
2022-01-18T19:11:04.000Z
accessor/variables.py
SatvikVejendla/Sentiment-Analysis
00e778142cc1b0d7d287eee8c0fb8a01d48e8805
[ "MIT" ]
null
null
null
accessor/variables.py
SatvikVejendla/Sentiment-Analysis
00e778142cc1b0d7d287eee8c0fb8a01d48e8805
[ "MIT" ]
null
null
null
word_index = [] model = 0 def setWords(_w): global word_index word_index = _w def setModel(_m): global model model = _m def getModel(): global model return model
15.5
21
0.650538
26
186
4.384615
0.461538
0.236842
0
0
0
0
0
0
0
0
0
0.007353
0.268817
186
12
22
15.5
0.830882
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.363636
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f8ab2a33522db853cfc7098dfeb67b69c3ad02ef
54
py
Python
octoprint_dashboard/__init__.py
meadowfrey/OctoPrint-Dashboard
b5568efc35a903a3075f79a0914020b1bfb5c9a6
[ "MIT" ]
5
2017-05-18T08:04:04.000Z
2020-01-05T17:55:35.000Z
octoprint_dashboard/__init__.py
meadowfrey/OctoPrint-Dashboard
b5568efc35a903a3075f79a0914020b1bfb5c9a6
[ "MIT" ]
6
2017-05-15T14:17:42.000Z
2017-10-30T21:54:50.000Z
octoprint_dashboard/__init__.py
meadowfrey/OctoPrint-Dashboard
b5568efc35a903a3075f79a0914020b1bfb5c9a6
[ "MIT" ]
2
2017-05-21T17:21:36.000Z
2017-07-24T12:48:54.000Z
__version__ = "0.3.3" from .app import app, socketio
13.5
30
0.703704
9
54
3.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0.066667
0.166667
54
3
31
18
0.688889
0
0
0
0
0
0.092593
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
f8c2e9347dfd1cd1c687bdd99e3d432fc7ff1915
1,559
py
Python
entities/python/src/onedrive_client/entities/onedrive.py
Almost1990/OneDrive-L
7ce449da76169a17f5f2d9b86f4edc66b3e8af32
[ "MIT" ]
15
2017-06-09T12:25:20.000Z
2020-12-02T17:22:14.000Z
entities/python/src/onedrive_client/entities/onedrive.py
Almost1990/OneDrive-L
7ce449da76169a17f5f2d9b86f4edc66b3e8af32
[ "MIT" ]
9
2017-07-18T09:41:17.000Z
2021-11-02T16:03:55.000Z
entities/python/src/onedrive_client/entities/onedrive.py
Almost1990/OneDrive-L
7ce449da76169a17f5f2d9b86f4edc66b3e8af32
[ "MIT" ]
6
2017-06-14T13:24:37.000Z
2018-05-31T11:59:44.000Z
"""AUTO-GENERATED WITH PROTOCOL BUFFERS COMPILER. DO NOT EDIT BY HAND. For descriptions and comments refer to: onedrive_client/entities/onedrive.proto """ import enum from onedrive_client.entities import Entity from . import onedrive_pb2 # noqa: D101 # pylint: disable=abstract-method # Messages class BaseItem...
21.652778
70
0.744708
177
1,559
6.412429
0.338983
0.098678
0.135683
0.232599
0.339207
0.339207
0
0
0
0
0
0.046512
0.172547
1,559
71
71
21.957746
0.833333
0.22771
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f8cc46df1c66e3eba3439084afd6095870df56b8
426
py
Python
lib/Crypto/Cipher/Rijndael.py
Twilight0/script.module.streamlink.crypto
a5e4542aee5cd3ff08673e946b02cc629bc5368e
[ "MIT" ]
3
2020-03-03T13:21:44.000Z
2021-07-21T09:53:31.000Z
lib/Crypto/Cipher/Rijndael.py
Twilight0/script.module.streamlink.crypto
a5e4542aee5cd3ff08673e946b02cc629bc5368e
[ "MIT" ]
null
null
null
lib/Crypto/Cipher/Rijndael.py
Twilight0/script.module.streamlink.crypto
a5e4542aee5cd3ff08673e946b02cc629bc5368e
[ "MIT" ]
1
2018-08-30T20:04:34.000Z
2018-08-30T20:04:34.000Z
import cryptopy.cipher.rijndael from cryptopy.cipher.base import noPadding class RijndaelCipher(object): def __init__(self, key, block_size=16): self.r = cryptopy.cipher.rijndael.Rijndael(key, padding=noPadding(), keySize=16, blockSize=block_size) def encrypt(self, plaintext): return self.r.e...
30.428571
110
0.737089
52
426
5.923077
0.538462
0.136364
0.142857
0
0
0
0
0
0
0
0
0.011173
0.159624
426
13
111
32.769231
0.849162
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.222222
0.888889
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
3e165ffc5854593074a45e7c07d40535f0587bad
362
py
Python
__init__.py
adityajn105/MLfromScratch
ea0758d4039051268d7f3af8799e2b005dbc2ebe
[ "MIT" ]
16
2019-12-17T04:24:51.000Z
2021-12-15T18:31:41.000Z
__init__.py
adityajn105/MLfromScratch
ea0758d4039051268d7f3af8799e2b005dbc2ebe
[ "MIT" ]
null
null
null
__init__.py
adityajn105/MLfromScratch
ea0758d4039051268d7f3af8799e2b005dbc2ebe
[ "MIT" ]
5
2019-12-17T04:24:55.000Z
2022-01-23T15:18:24.000Z
from . import linear_model from . import tree from . import cluster from . import naive_bayes from . import neighbors from . import ensemble from . import model_selection from . import metrics from . import preprocessing __all__ = [ 'linear_model', 'model_selection', 'metrics', 'tree', 'cluster', 'neighbors', 'e...
24.133333
77
0.743094
43
362
6.023256
0.325581
0.34749
0
0
0
0
0
0
0
0
0
0
0.151934
362
15
78
24.133333
0.843648
0
0
0
0
0
0.238227
0
0
0
0
0
0
1
0
false
0
0.818182
0
0.818182
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3e1c0432d252bbd2dcd8d97594b609cf5e35c77c
147
py
Python
GetFontName.py
tush4r/ImageFromFont
b35a0863c1448c6d3b96c9b57755d8ee248e02ff
[ "MIT" ]
null
null
null
GetFontName.py
tush4r/ImageFromFont
b35a0863c1448c6d3b96c9b57755d8ee248e02ff
[ "MIT" ]
null
null
null
GetFontName.py
tush4r/ImageFromFont
b35a0863c1448c6d3b96c9b57755d8ee248e02ff
[ "MIT" ]
null
null
null
import os class GetFontName(): def returnNames(self): name_list = os.listdir("/Users/layaksingh/Developer/") return name_list
21
62
0.673469
17
147
5.705882
0.823529
0.164948
0
0
0
0
0
0
0
0
0
0
0.217687
147
7
63
21
0.843478
0
0
0
0
0
0.189189
0.189189
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
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
3e49ba6d2f57a953c451d273d5078a8136d430e9
61
py
Python
Google/Google CodeJam 2020/Round 1B/Expogo (5pts, 8pts, 16pts).py
EldiiarDzhunusov/Code
6b0708e4007233d3efdc74c09d09ee5bc377a45d
[ "MIT" ]
2
2020-10-12T06:50:03.000Z
2021-06-08T17:19:43.000Z
Google/Google CodeJam 2020/Round 1B/Expogo (5pts, 8pts, 16pts).py
EldiiarDzhunusov/Code
6b0708e4007233d3efdc74c09d09ee5bc377a45d
[ "MIT" ]
null
null
null
Google/Google CodeJam 2020/Round 1B/Expogo (5pts, 8pts, 16pts).py
EldiiarDzhunusov/Code
6b0708e4007233d3efdc74c09d09ee5bc377a45d
[ "MIT" ]
1
2020-12-22T16:44:50.000Z
2020-12-22T16:44:50.000Z
da = (input("").split()) x=int(da[0]) y=int(da[1]) print(x,y)
15.25
24
0.540984
14
61
2.357143
0.642857
0.30303
0
0
0
0
0
0
0
0
0
0.035714
0.081967
61
4
25
15.25
0.553571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3e5382e84b6c5256e8d00c1b52125aa99e50102a
510
py
Python
dependencies/supervisor.py
elondon/TheDeployer
0d36f064f55244145aa5859d914a7257fa758b89
[ "MIT" ]
null
null
null
dependencies/supervisor.py
elondon/TheDeployer
0d36f064f55244145aa5859d914a7257fa758b89
[ "MIT" ]
null
null
null
dependencies/supervisor.py
elondon/TheDeployer
0d36f064f55244145aa5859d914a7257fa758b89
[ "MIT" ]
null
null
null
from dependencies.dependency import Dependency from fabric.operations import sudo, put class Supervisor(Dependency): def __init__(self, config): super(Supervisor, self).__init__(config) self.local_config_file = config['local_config_file'] def install(self): sudo('apt-get install -y su...
24.285714
77
0.680392
63
510
5.269841
0.47619
0.099398
0.135542
0.114458
0
0
0
0
0
0
0
0
0.215686
510
20
78
25.5
0.83
0
0
0.142857
0
0
0.135294
0.045098
0
0
0
0
0
1
0.357143
false
0.142857
0.142857
0
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
3e60b9478b8805bcbb716d0685c4767b6f834b6d
155
py
Python
step6_part2.py
vincentfpgarcia/from-pytorch-to-coreml
565b7ec485fe724dec760386f4015702bae99d01
[ "MIT" ]
139
2019-11-26T11:24:58.000Z
2022-03-24T10:32:17.000Z
step6_part2.py
vincentfpgarcia/from-pytorch-to-coreml
565b7ec485fe724dec760386f4015702bae99d01
[ "MIT" ]
3
2020-06-14T23:48:07.000Z
2020-10-30T21:44:30.000Z
step6_part2.py
vincentfpgarcia/from-pytorch-to-coreml
565b7ec485fe724dec760386f4015702bae99d01
[ "MIT" ]
13
2020-03-05T20:41:28.000Z
2022-03-16T11:05:19.000Z
import coremltools # Load the CoreML model model = coremltools.models.MLModel('my_network_image_ct4.mlmodel') # Display its specifications print(model)
19.375
67
0.806452
20
155
6.1
0.8
0
0
0
0
0
0
0
0
0
0
0.007299
0.116129
155
7
68
22.142857
0.883212
0.309677
0
0
0
0
0.269231
0.269231
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3e61d002c7717dbd568e9c5e1e0e1a2b2be75575
157
py
Python
Class 12 Record Book/Fib.py
Bamgm14/My-Random-Work
b9678a3a84dd8ff00efd638890cff76eb6967c1b
[ "MIT" ]
null
null
null
Class 12 Record Book/Fib.py
Bamgm14/My-Random-Work
b9678a3a84dd8ff00efd638890cff76eb6967c1b
[ "MIT" ]
null
null
null
Class 12 Record Book/Fib.py
Bamgm14/My-Random-Work
b9678a3a84dd8ff00efd638890cff76eb6967c1b
[ "MIT" ]
null
null
null
def Fib(n,Fibi=[0,1]): if n<=1: return Fibi else: Fibi.append(Fibi[(len(Fibi))-2]+Fibi[(len(Fibi))-1]) return Fib(n-1,Fibi)
19.625
60
0.509554
27
157
2.962963
0.444444
0.1
0.275
0
0
0
0
0
0
0
0
0.052632
0.273885
157
7
61
22.428571
0.649123
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e4511d1cdbbc92a904579b180df35a77087d57b8
788
py
Python
RPC_functions.py
Foxmole/twisted_tutorial
85aca565bcb266fcc1d0bbcec4973b80d1c8c7dc
[ "Unlicense" ]
2
2017-04-03T16:06:59.000Z
2017-05-04T11:52:07.000Z
RPC_functions.py
Foxmole/twisted_tutorial
85aca565bcb266fcc1d0bbcec4973b80d1c8c7dc
[ "Unlicense" ]
null
null
null
RPC_functions.py
Foxmole/twisted_tutorial
85aca565bcb266fcc1d0bbcec4973b80d1c8c7dc
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from txjsonrpc.web import jsonrpc class JSONRPCServer(jsonrpc.JSONRPC): """ JSONRPC server offers the following functions to be executed by clients functions can be called with: d = proxy.callRemote('echo', 'test') d.addCallbacks(printValue, printErr...
23.176471
75
0.601523
92
788
5.130435
0.641304
0.016949
0.042373
0.067797
0
0
0
0
0
0
0
0.003578
0.290609
788
33
76
23.878788
0.840787
0.496193
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.888889
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
e4802b42d4943ab40e32867db1f4016b7acd4242
255
py
Python
Section_6/Exercise_14.py
Szymon-Budziak/WDI_exercises_solutions
51ffc9ec8b3cd6809bd55e98ecb8aed759c2d460
[ "MIT" ]
null
null
null
Section_6/Exercise_14.py
Szymon-Budziak/WDI_exercises_solutions
51ffc9ec8b3cd6809bd55e98ecb8aed759c2d460
[ "MIT" ]
null
null
null
Section_6/Exercise_14.py
Szymon-Budziak/WDI_exercises_solutions
51ffc9ec8b3cd6809bd55e98ecb8aed759c2d460
[ "MIT" ]
1
2021-11-21T09:38:33.000Z
2021-11-21T09:38:33.000Z
""" Problem wież w Hanoi (treść oczywista). """ def hanoi_tower(n, result): result[0] += 1 if n == 1: return hanoi_tower(n - 1, result) hanoi_tower(n - 1, result) return result[0] result = [0] print(hanoi_tower(3, result))
15
39
0.592157
38
255
3.868421
0.421053
0.272109
0.22449
0.163265
0.244898
0
0
0
0
0
0
0.042328
0.258824
255
16
40
15.9375
0.73545
0.152941
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0.111111
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e4a6d89b4dd19c2da7155fedf639988079200802
48
py
Python
modules/math-codes/modules/algebra/intro-to-equations/src/eq05.py
drigols/Studies
9c293156935b491ded24be6b511daac67fd43538
[ "MIT" ]
1
2020-09-06T22:17:19.000Z
2020-09-06T22:17:19.000Z
modules/math-codes/modules/algebra/intro-to-equations/src/eq05.py
drigols/Studies
9c293156935b491ded24be6b511daac67fd43538
[ "MIT" ]
null
null
null
modules/math-codes/modules/algebra/intro-to-equations/src/eq05.py
drigols/Studies
9c293156935b491ded24be6b511daac67fd43538
[ "MIT" ]
null
null
null
x = 25 result = 2/5 * x + 1 == 11 print(result)
12
26
0.541667
10
48
2.6
0.8
0
0
0
0
0
0
0
0
0
0
0.2
0.270833
48
3
27
16
0.542857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
e4af8c599ee962290deb25751c9fbfd8fd1fa4ac
417
py
Python
day19_data.py
kwinkunks/aoc18
4d664c0a6da8f0109dd8db2292c5906c098693c9
[ "Apache-2.0" ]
1
2018-12-02T22:09:26.000Z
2018-12-02T22:09:26.000Z
day19_data.py
kwinkunks/aoc18
4d664c0a6da8f0109dd8db2292c5906c098693c9
[ "Apache-2.0" ]
null
null
null
day19_data.py
kwinkunks/aoc18
4d664c0a6da8f0109dd8db2292c5906c098693c9
[ "Apache-2.0" ]
null
null
null
prog = """#ip 4 addi 4 16 4 seti 1 9 5 seti 1 5 2 mulr 5 2 1 eqrr 1 3 1 addr 1 4 4 addi 4 1 4 addr 5 0 0 addi 2 1 2 gtrr 2 3 1 addr 4 1 4 seti 2 6 4 addi 5 1 5 gtrr 5 3 1 addr 1 4 4 seti 1 2 4 mulr 4 4 4 addi 3 2 3 mulr 3 3 3 mulr 4 3 3 muli 3 11 3 addi 1 5 1 mulr 1 4 1 addi 1 2 1 addr 3 1 3 addr 4 0 4 seti 0 2 4 setr ...
11.27027
15
0.628297
147
417
1.782313
0.14966
0.053435
0.068702
0.080153
0.232824
0.160305
0
0
0
0
0
0.414815
0.352518
417
37
16
11.27027
0.555556
0
0
0.189189
0
0
0.966507
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
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
901271bf26cb3429179cc4871e8888f6a01a4ed2
2,054
py
Python
Django_DB_MySQL/okex/subAccount_api.py
Flychild193/pythonBot
519c1f1e8cce254b1780ced86ac3b79e377133e8
[ "MIT" ]
null
null
null
Django_DB_MySQL/okex/subAccount_api.py
Flychild193/pythonBot
519c1f1e8cce254b1780ced86ac3b79e377133e8
[ "MIT" ]
null
null
null
Django_DB_MySQL/okex/subAccount_api.py
Flychild193/pythonBot
519c1f1e8cce254b1780ced86ac3b79e377133e8
[ "MIT" ]
2
2022-03-18T15:28:04.000Z
2022-03-25T09:26:10.000Z
from .client import Client from .consts import * class SubAccountAPI(Client): def __init__(self, api_key, api_secret_key, passphrase, use_server_time=False, flag='1'): Client.__init__(self, api_key, api_secret_key, passphrase, use_server_time, flag) def balances(self, subAcct): params = {"sub...
48.904762
152
0.65628
246
2,054
5.292683
0.219512
0.061444
0.104455
0.129032
0.509985
0.456221
0.403994
0.403994
0.403994
0.258065
0
0.000595
0.18111
2,054
41
153
50.097561
0.773484
0
0
0
0
0
0.097953
0
0
0
0
0
0
1
0.310345
false
0.137931
0.068966
0
0.689655
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
901a7ab63a2fdcf4ef23e3dc4b181a02c33404d4
9,737
py
Python
test_archiver/tests/unit/test_database.py
aaltat/TestArchiver
63067b3fe0e553e0dae002e1f72d89b237e1c927
[ "Apache-2.0" ]
24
2019-10-18T19:36:45.000Z
2021-11-12T11:17:45.000Z
test_archiver/tests/unit/test_database.py
aaltat/TestArchiver
63067b3fe0e553e0dae002e1f72d89b237e1c927
[ "Apache-2.0" ]
29
2019-08-01T05:34:16.000Z
2021-11-05T10:44:29.000Z
test_archiver/tests/unit/test_database.py
aaltat/TestArchiver
63067b3fe0e553e0dae002e1f72d89b237e1c927
[ "Apache-2.0" ]
19
2019-10-10T08:54:38.000Z
2021-12-18T14:35:53.000Z
# pylint: disable=W0212 import os import shutil import unittest from mock import Mock from test_archiver import database, configs class TestSchemaCheckingAndUpdatesWithMockDatabase(unittest.TestCase): def setUp(self): class MockDatabase(database.BaseDatabase): def _db_engine_identifier(self...
47.965517
108
0.70001
1,152
9,737
5.499132
0.135417
0.04262
0.039779
0.056827
0.766219
0.737964
0.718706
0.702131
0.642936
0.598106
0
0.054147
0.1939
9,737
202
109
48.20297
0.752962
0.0114
0
0.521739
0
0
0.146747
0.062253
0
0
0
0
0.204969
1
0.118012
false
0.024845
0.031056
0.006211
0.173913
0.068323
0
0
0
null
0
0
0
0
1
1
1
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
9027fe079b89489b4775fe9aa618335c4a92d378
238
py
Python
cursoemvideo/python3_mundo1/aula_08/ex020.py
Tiago-Baptista/CursoEmVideo_Python3
381044e66594362a3767a776530c2ba7dc02dcf2
[ "MIT" ]
null
null
null
cursoemvideo/python3_mundo1/aula_08/ex020.py
Tiago-Baptista/CursoEmVideo_Python3
381044e66594362a3767a776530c2ba7dc02dcf2
[ "MIT" ]
null
null
null
cursoemvideo/python3_mundo1/aula_08/ex020.py
Tiago-Baptista/CursoEmVideo_Python3
381044e66594362a3767a776530c2ba7dc02dcf2
[ "MIT" ]
null
null
null
import random a = input('Nome do primeiro aluno: ') b = input('Nome do segundo aluno: ') c = input('Nome do terceiro aluno: ') d = input('Nome do quarto aluno: ') x = [a, b, c, d] random.shuffle(x) print('A ordem de escolha é ') print(x)
23.8
37
0.651261
42
238
3.690476
0.5
0.232258
0.283871
0
0
0
0
0
0
0
0
0
0.184874
238
9
38
26.444444
0.798969
0
0
0
0
0
0.478992
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.222222
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
90355d66f590751de2be75b85e5cb6571b5770ca
94
py
Python
DomoticControl/DomoticControl/data/component_types.py
apuly/domotic
d9646373a077c233c2c16a15bc26f5c4a5d0ce1e
[ "MIT" ]
null
null
null
DomoticControl/DomoticControl/data/component_types.py
apuly/domotic
d9646373a077c233c2c16a15bc26f5c4a5d0ce1e
[ "MIT" ]
null
null
null
DomoticControl/DomoticControl/data/component_types.py
apuly/domotic
d9646373a077c233c2c16a15bc26f5c4a5d0ce1e
[ "MIT" ]
null
null
null
from enum import Enum class ComponentTypes(Enum): GroundWaterSensor = 0 WaterPump = 1
18.8
27
0.734043
11
94
6.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0.027027
0.212766
94
5
28
18.8
0.905405
0
0
0
0
0
0
0
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
5f3ffa37d48c73db412e8cd03df5b7656190bf7a
122
py
Python
pokemonitor/server.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
57
2015-08-25T11:02:37.000Z
2021-02-24T21:23:37.000Z
pokemonitor/server.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
14
2015-01-18T20:25:38.000Z
2016-05-01T17:57:28.000Z
pokemonitor/server.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
27
2015-04-21T08:10:22.000Z
2022-01-07T02:44:49.000Z
from pokemonitor import app def start(port=8080, host='0.0.0.0'): app.debug = True app.run(port=port, host=host)
20.333333
37
0.672131
22
122
3.727273
0.590909
0.073171
0.073171
0
0
0
0
0
0
0
0
0.079208
0.172131
122
5
38
24.4
0.732673
0
0
0
0
0
0.057377
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
5f452f8110c757b13b42f2914a028e171a90059b
107
py
Python
Data Scientist Career Path/3. Python Fundamentals/1. Python Syntax and Variable Types/15. review.py
myarist/Codecademy
2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb
[ "MIT" ]
23
2021-06-06T15:35:55.000Z
2022-03-21T06:53:42.000Z
Data Scientist Career Path/3. Python Fundamentals/1. Python Syntax and Variable Types/15. review.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
null
null
null
Data Scientist Career Path/3. Python Fundamentals/1. Python Syntax and Variable Types/15. review.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
9
2021-06-08T01:32:04.000Z
2022-03-18T15:38:09.000Z
my_age = 21 half_my_age = my_age / 2 greeting = "Hello" name = "Arist" greeting_with_name = greeting + name
21.4
36
0.728972
18
107
4
0.555556
0.208333
0
0
0
0
0
0
0
0
0
0.033708
0.168224
107
5
36
21.4
0.775281
0
0
0
0
0
0.092593
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f4984eddcddf8e093b4ea63e5e26e5b56206ab2
4,270
py
Python
geometry/vertices.py
misspellted/enlightened
59fac50bb17a5a3236a9b4561b5ed0107825fb85
[ "Unlicense" ]
2
2021-03-03T05:57:51.000Z
2021-07-06T06:26:07.000Z
geometry/vertices.py
misspellted/enlightened
59fac50bb17a5a3236a9b4561b5ed0107825fb85
[ "Unlicense" ]
6
2021-04-09T00:30:24.000Z
2022-03-14T16:08:37.000Z
geometry/vertices.py
misspellted/enlightened
59fac50bb17a5a3236a9b4561b5ed0107825fb85
[ "Unlicense" ]
1
2021-03-03T06:00:46.000Z
2021-03-03T06:00:46.000Z
from physics.vectors import Vector class Vertex(Vector): def __init__(self, x, y): Vector.__init__(self, x, y) @property def x(self): return self[0] @x.setter def x(self, value): self[0] = value @property def y(self): return self[1] @y.setter def y(self, value): self[1] = v...
33.888889
113
0.66815
536
4,270
5.097015
0.149254
0.041728
0.087848
0.070278
0.521962
0.476574
0.476574
0.476574
0.476574
0.442167
0
0.01566
0.162529
4,270
125
114
34.16
0.748322
0.087119
0
0.151899
0
0.202532
0.424516
0.047484
0
0
0
0.008
0
1
0.240506
false
0
0.012658
0.151899
0.493671
0.240506
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
5f519b2752b06b248d735e771337e8dac80ccd10
699
py
Python
src/skmultiflow/transform/to_bitfield.py
nuwangunasekara/scikit-multiflow
5cd4f54e2a08976e4b22e67fb60582037047717e
[ "BSD-3-Clause" ]
null
null
null
src/skmultiflow/transform/to_bitfield.py
nuwangunasekara/scikit-multiflow
5cd4f54e2a08976e4b22e67fb60582037047717e
[ "BSD-3-Clause" ]
null
null
null
src/skmultiflow/transform/to_bitfield.py
nuwangunasekara/scikit-multiflow
5cd4f54e2a08976e4b22e67fb60582037047717e
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from skmultiflow.transform.base_transform import StreamTransform from skmultiflow.utils.utils import get_dimensions class ToBitField(StreamTransform): def __init__(self): super().__init__() def transform(self, X): r, c = get_dimensions(X) custom_dtype_b = np.dtyp...
24.964286
64
0.65093
102
699
4.22549
0.392157
0.046404
0.041763
0.041763
0.143852
0.143852
0.143852
0.143852
0
0
0
0.016822
0.234621
699
27
65
25.888889
0.788785
0
0
0.111111
0
0
0.014306
0
0
0
0
0
0
1
0.277778
false
0
0.166667
0.166667
0.722222
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
5f5d09a2a05d7f3b39620e2d93ce7ee29dba69dc
66
py
Python
arquivoluciano.py
Professor-Vanderson/devops-Ads2
3a53bf8fd5b64226ff831607df0d77bc4b70e881
[ "Apache-2.0" ]
null
null
null
arquivoluciano.py
Professor-Vanderson/devops-Ads2
3a53bf8fd5b64226ff831607df0d77bc4b70e881
[ "Apache-2.0" ]
null
null
null
arquivoluciano.py
Professor-Vanderson/devops-Ads2
3a53bf8fd5b64226ff831607df0d77bc4b70e881
[ "Apache-2.0" ]
null
null
null
print("Teste2") VANDERSON aula de Devops LUCIANO DevOps Teste
9.428571
15
0.757576
9
66
5.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0.018519
0.181818
66
6
16
11
0.907407
0
0
0
0
0
0.092308
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5f636d96b54b5245b1c5e8b5a8f26bbb876fb124
300
py
Python
website/admin.py
hyypan/burning
281312f7bace36859241e0cc74c3fc10d5ece6a8
[ "Apache-2.0" ]
1
2017-12-05T05:55:35.000Z
2017-12-05T05:55:35.000Z
website/admin.py
hyypan/burning
281312f7bace36859241e0cc74c3fc10d5ece6a8
[ "Apache-2.0" ]
null
null
null
website/admin.py
hyypan/burning
281312f7bace36859241e0cc74c3fc10d5ece6a8
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin # Register your models here. from website import models as m @admin.register(m.User) class UserAdmin(admin.ModelAdmin): list_display = ('password', 'username') @admin.register(m.Articles) class UserAdmin(admin.ModelAdmin): list_display = ('title', 'id')
20
43
0.736667
39
300
5.615385
0.589744
0.178082
0.127854
0.26484
0.365297
0.365297
0
0
0
0
0
0
0.14
300
14
44
21.428571
0.848837
0.086667
0
0.25
0
0
0.084559
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
5f7f49ac83a5528f8b6ae5150003a5ffd496519f
21,940
py
Python
geosoft/gxapi/GXGIS.py
fearaschiarrai/gxpy
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
[ "BSD-2-Clause" ]
25
2017-07-14T06:39:37.000Z
2022-03-09T21:39:51.000Z
geosoft/gxapi/GXGIS.py
fearaschiarrai/gxpy
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
[ "BSD-2-Clause" ]
100
2016-12-13T17:30:41.000Z
2021-08-01T20:21:13.000Z
geosoft/gxapi/GXGIS.py
fearaschiarrai/gxpy
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
[ "BSD-2-Clause" ]
28
2016-12-12T17:34:40.000Z
2022-03-16T15:39:39.000Z
### extends 'class_empty.py' ### block ClassImports # NOTICE: Do not edit anything here, it is generated code from . import gxapi_cy from geosoft.gxapi import GXContext, float_ref, int_ref, str_ref from .GXIPJ import GXIPJ ### endblock ClassImports ### block Header # NOTICE: The code generator will not replace the c...
31.568345
180
0.611395
2,861
21,940
4.578819
0.134219
0.070534
0.049313
0.062137
0.57626
0.524198
0.487786
0.467405
0.441374
0.430382
0
0.018536
0.281996
21,940
695
181
31.568345
0.812988
0.684686
0
0.180723
1
0
0
0
0
0
0
0
0
1
0.373494
false
0
0.036145
0
0.566265
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
5f8365450941cd7d77b91d9e08de476d0ce152f9
179
py
Python
curso em video/python/mundo 1/ex026.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
curso em video/python/mundo 1/ex026.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
curso em video/python/mundo 1/ex026.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
x = input('digite seu nome') y = x.count('a') z = x.rfind('a') print('seu nome é {}, e possuiu a letra a {} vezes e a ultiva vez aparece é na {}º letra se seu nome'.format(x,y,z))
44.75
116
0.631285
39
179
2.897436
0.589744
0.185841
0
0
0
0
0
0
0
0
0
0
0.184358
179
4
116
44.75
0.773973
0
0
0
0
0.25
0.611111
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5fc3fbc6c77775be1f6e8174dd0f985c0e15c8d5
287
py
Python
3.1.py
liyanting0403/tongjierban
d8d90287fd1f89e5a207564eed55bc4eb643bc56
[ "Apache-2.0" ]
4
2019-08-21T11:47:14.000Z
2020-09-25T03:03:10.000Z
3.1.py
liyanting0403/tongjierban
d8d90287fd1f89e5a207564eed55bc4eb643bc56
[ "Apache-2.0" ]
null
null
null
3.1.py
liyanting0403/tongjierban
d8d90287fd1f89e5a207564eed55bc4eb643bc56
[ "Apache-2.0" ]
null
null
null
"""import win32com.client import time speaker = win32com.client.Dispatch("SAPI.SPVOICE") for i in range(10): speaker.Speak("李彦婷啦啦") time.sleep(2)""" """import turtle turtle.goto(100,300) turtle.goto(-100,300) turtle.goto(300,100) turtle.goto(300,-100) turtle.done"""
22.076923
51
0.682927
42
287
4.666667
0.52381
0.204082
0.132653
0.163265
0.357143
0.214286
0
0
0
0
0
0.125506
0.139373
287
13
52
22.076923
0.668016
0.522648
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
3
5fcbf5f801adf389899b4f8b2a63deab14165514
8,306
py
Python
BackEndChallenge/myproject/lib/python3.8/site-packages/twilio/rest/verify/v2/verification_template.py
emm190/Interview
7179da8f03f1b7efb7180bfd311499fef1010fb3
[ "MIT" ]
2
2022-01-13T10:58:03.000Z
2022-03-16T07:12:17.000Z
virtual/lib/python3.8/site-packages/twilio/rest/verify/v2/verification_template.py
melissa-koi/PasswordlessAuthentication-drf
27724d596edfd72c691c9ef1e12a870a2a3e69ca
[ "MIT" ]
null
null
null
virtual/lib/python3.8/site-packages/twilio/rest/verify/v2/verification_template.py
melissa-koi/PasswordlessAuthentication-drf
27724d596edfd72c691c9ef1e12a870a2a3e69ca
[ "MIT" ]
null
null
null
# coding=utf-8 r""" This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import values from twilio.base.instance_resource import InstanceResource from twilio.base.list_resource import ListResource from twilio.base.page import Page class VerificationTemp...
36.429825
97
0.655069
875
8,306
6.075429
0.190857
0.040632
0.036117
0.040632
0.541008
0.528781
0.513732
0.465576
0.402558
0.402558
0
0.005418
0.266675
8,306
227
98
36.590308
0.867345
0.523116
0
0.164179
1
0
0.099176
0.042142
0
0
0
0
0
1
0.223881
false
0
0.059701
0
0.507463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
395825ed454b281ad1ed600162c9080b558ec5d9
146
py
Python
memeapp/apps.py
barbaramootian/Memes-app
4ffa2da997758ee4f35dc21e755e3db242b8654f
[ "MIT", "Unlicense" ]
null
null
null
memeapp/apps.py
barbaramootian/Memes-app
4ffa2da997758ee4f35dc21e755e3db242b8654f
[ "MIT", "Unlicense" ]
null
null
null
memeapp/apps.py
barbaramootian/Memes-app
4ffa2da997758ee4f35dc21e755e3db242b8654f
[ "MIT", "Unlicense" ]
null
null
null
from django.apps import AppConfig class MemeappConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'memeapp'
20.857143
56
0.760274
17
146
6.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.150685
146
6
57
24.333333
0.879032
0
0
0
0
0
0.246575
0.19863
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
3986ac542a42305b6c11a11d77644d5c2e372f78
180
py
Python
src/apps/list/forms.py
avibn/todovib
4052da86e27825c60be618e986c2c16a23002e3c
[ "MIT" ]
8
2021-06-27T10:39:36.000Z
2022-01-22T19:47:35.000Z
src/apps/list/forms.py
avibn/todovib
4052da86e27825c60be618e986c2c16a23002e3c
[ "MIT" ]
null
null
null
src/apps/list/forms.py
avibn/todovib
4052da86e27825c60be618e986c2c16a23002e3c
[ "MIT" ]
null
null
null
from django.forms import ModelForm from .models import ListItem class ListItemForm(ModelForm): class Meta: model = ListItem fields = ("name", "description")
18
40
0.683333
19
180
6.473684
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.233333
180
9
41
20
0.891304
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
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
39964f05fdf21357f75e76f9faa4fd8a1427268e
13
py
Python
ecstatic/default_config.py
mbr/ecstatic
36b6652858498f231ddcd42a7f214f50ba366a0e
[ "MIT" ]
null
null
null
ecstatic/default_config.py
mbr/ecstatic
36b6652858498f231ddcd42a7f214f50ba366a0e
[ "MIT" ]
null
null
null
ecstatic/default_config.py
mbr/ecstatic
36b6652858498f231ddcd42a7f214f50ba366a0e
[ "MIT" ]
null
null
null
EXPORTS = ''
6.5
12
0.538462
1
13
7
1
0
0
0
0
0
0
0
0
0
0
0
0.230769
13
1
13
13
0.7
0
0
0
0
0
0
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
399d79b007c2d60cbcb5c1b341d122d71a18d71d
459
py
Python
infosystem/subsystem/__init__.py
araujobd/infosystem
06367c3aadd00d578820863b5d0d699846205c99
[ "Apache-2.0" ]
3
2016-06-22T19:08:26.000Z
2020-10-07T17:26:49.000Z
infosystem/subsystem/__init__.py
araujobd/infosystem
06367c3aadd00d578820863b5d0d699846205c99
[ "Apache-2.0" ]
113
2016-06-15T13:03:27.000Z
2017-05-24T08:57:28.000Z
infosystem/subsystem/__init__.py
objetorelacional/infosystem
07140b88db0edee2d5f66db4f13e7285a4f28bfa
[ "Apache-2.0" ]
3
2018-09-02T18:38:05.000Z
2019-11-27T17:40:54.000Z
import os import importlib def import_subsystems(path, package): dirs = [ d for d in os.listdir(path) if os.path.isdir(os.path.join(path, d))] modules = [importlib.import_module(package + '.' + m) for m in dirs] return [m.subsystem for m in modules if hasattr(m, 'subsystem')] # TODO(samueldmq): ...
30.6
76
0.699346
67
459
4.686567
0.492537
0.076433
0.038217
0
0
0
0
0
0
0
0
0
0.174292
459
14
77
32.785714
0.828496
0.124183
0
0
0
0
0.075
0
0
0
0
0.071429
0
1
0.111111
false
0
0.555556
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
39d54a237054e1c768932185dd027c1460d5f0d4
135
py
Python
py/cidoc_crm_types/properties/p196i_is_defined_by.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/properties/p196i_is_defined_by.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/properties/p196i_is_defined_by.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass @dataclass class P196iIsDefinedBy: URI = "http://erlangen-crm.org/current/P196i_is_defined_by"
19.285714
63
0.792593
17
135
6.117647
0.941176
0
0
0
0
0
0
0
0
0
0
0.05042
0.118519
135
6
64
22.5
0.823529
0
0
0
0
0
0.377778
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
39e87b92982bd57c85dc4edb6db8bb0f43648bc5
167
py
Python
Lecture.12/lcm.1.py
joonion/coding-for-problem-solving
9f7a0b7e18803c58596899595dacc87a74b1b9d1
[ "MIT" ]
null
null
null
Lecture.12/lcm.1.py
joonion/coding-for-problem-solving
9f7a0b7e18803c58596899595dacc87a74b1b9d1
[ "MIT" ]
null
null
null
Lecture.12/lcm.1.py
joonion/coding-for-problem-solving
9f7a0b7e18803c58596899595dacc87a74b1b9d1
[ "MIT" ]
null
null
null
def gcd(N, M): if M == 0: return N else: return gcd(M, N % M) def lcm(N, M): return N * M // gcd(N, M) N, M = 36, 48 print(lcm(N, M))
15.181818
29
0.431138
33
167
2.181818
0.363636
0.194444
0.138889
0
0
0
0
0
0
0
0
0.04902
0.389222
167
11
30
15.181818
0.656863
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.555556
0.111111
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