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
84b1357ae6d6831e493aa5c8819ac19456a27b4e
3,151
py
Python
test/test_users_api.py
pygitee/pygitee
7622314a4dbb08cf2f729b6cdd0a2887b96e394e
[ "MIT" ]
null
null
null
test/test_users_api.py
pygitee/pygitee
7622314a4dbb08cf2f729b6cdd0a2887b96e394e
[ "MIT" ]
null
null
null
test/test_users_api.py
pygitee/pygitee
7622314a4dbb08cf2f729b6cdd0a2887b96e394e
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import import unittest from gitee.api.users_api import UsersApi # noqa: E501 class TestUsersApi(unittest.TestCase): """UsersApi unit test stubs""" def setUp(self): self.api = UsersApi() # noqa: E501 def tearDown(self): pass def t...
21.147651
68
0.607426
388
3,151
4.525773
0.162371
0.088838
0.112756
0.153759
0.723804
0.644077
0.612756
0.506264
0.242027
0.052392
0
0.045137
0.317994
3,151
148
69
21.290541
0.771987
0.392574
0
0.413043
0
0
0.005298
0
0
0
0
0
0
1
0.434783
false
0.413043
0.065217
0
0.521739
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
84b6f09b3f48c9d887309096fbb7ea2093970ed1
288
py
Python
yellowfeather/__init__.py
oluwaseunladeinde/yellowfeather
134783fdd90d6f4118eae1d1dad029a245773106
[ "MIT" ]
null
null
null
yellowfeather/__init__.py
oluwaseunladeinde/yellowfeather
134783fdd90d6f4118eae1d1dad029a245773106
[ "MIT" ]
null
null
null
yellowfeather/__init__.py
oluwaseunladeinde/yellowfeather
134783fdd90d6f4118eae1d1dad029a245773106
[ "MIT" ]
null
null
null
__author__ = 'Ladeinde Oluwaseun' __copyright__ = 'Copyright 2018, Ladeinde Oluwaseun' __credits__ = ['Ladeinde Oluwaseun, amordigital'] __license__ = 'BSD' __version__ = '1.5.1' __maintainer__ = 'Ladeinde Oluwaseun' __email__ = 'oluwaseun.ladeinde@gmail.com' __status__ = 'Development'
28.8
52
0.774306
28
288
6.821429
0.642857
0.356021
0
0
0
0
0
0
0
0
0
0.027344
0.111111
288
9
53
32
0.71875
0
0
0
0
0
0.513889
0.097222
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
84c1347bba56dce9d07d8cb3e466d72b50b1402b
3,217
py
Python
tests/conf_test.py
msharp/apiarist
03e2e78068b87b8176540f5d9deb262b3689807f
[ "Apache-2.0" ]
1
2018-05-30T20:07:04.000Z
2018-05-30T20:07:04.000Z
tests/conf_test.py
msharp/apiarist
03e2e78068b87b8176540f5d9deb262b3689807f
[ "Apache-2.0" ]
8
2015-06-29T01:32:51.000Z
2021-03-25T21:41:17.000Z
tests/conf_test.py
msharp/apiarist
03e2e78068b87b8176540f5d9deb262b3689807f
[ "Apache-2.0" ]
3
2015-01-21T14:47:10.000Z
2016-09-28T03:04:24.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import os import unittest from apiarist.conf import YamlConfig # FIXME make the config yaml file a StringIO object CONFIG_PATH = os.path.join(os.path.dirname(__file__), 'test-config.conf') class ConfigFileTest(unittest.TestCase): def setUp(self): self.conf = Ya...
35.351648
82
0.566988
396
3,217
4.393939
0.30303
0.073563
0.165517
0.189655
0.398851
0.354023
0.354023
0.297701
0.232184
0.110345
0
0.013441
0.306186
3,217
90
83
35.744444
0.766129
0.094809
0
0.216667
0
0
0.155394
0.04093
0
0
0
0.011111
0.283333
1
0.25
false
0
0.05
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
84e47f97cbe2d3368703314d16fa81ebeb717a13
204
py
Python
Cliente/server.py
santosgv/Cadastro.Cliente.viaApi
8d8984ec238741a492f4b798241db4cb9fa8023a
[ "MIT" ]
null
null
null
Cliente/server.py
santosgv/Cadastro.Cliente.viaApi
8d8984ec238741a492f4b798241db4cb9fa8023a
[ "MIT" ]
null
null
null
Cliente/server.py
santosgv/Cadastro.Cliente.viaApi
8d8984ec238741a492f4b798241db4cb9fa8023a
[ "MIT" ]
null
null
null
def app(amb , start_response): arq=open('index.html','rb') data = arq.read() status = "200 OK" headers = [('Content-type',"text/html")] start_response(status,headers) return [data]
29.142857
44
0.617647
27
204
4.592593
0.740741
0.209677
0
0
0
0
0
0
0
0
0
0.018405
0.20098
204
7
45
29.142857
0.742331
0
0
0
0
0
0.190244
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
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
84e92f42be8bf6ff617ac558898bbe6edac64473
208
py
Python
tests/test_phrase_tok.py
ffreemt/phrase-tokenizer
294a7ff614c456b5eb58140b85c84765222f41bc
[ "MIT" ]
6
2021-01-09T10:21:21.000Z
2022-02-02T17:58:54.000Z
tests/test_phrase_tok.py
ffreemt/phrase-tokenizer
294a7ff614c456b5eb58140b85c84765222f41bc
[ "MIT" ]
null
null
null
tests/test_phrase_tok.py
ffreemt/phrase-tokenizer
294a7ff614c456b5eb58140b85c84765222f41bc
[ "MIT" ]
null
null
null
"""Test phrase_tok.""" from phrase_tokenizer import phrase_tok def test_phrase_tok(): """Test phrase_tok.""" sent = "Short cuts make long delay." phr = phrase_tok(sent) assert len(phr) == 2
20.8
40
0.663462
30
208
4.366667
0.566667
0.343511
0.29771
0
0
0
0
0
0
0
0
0.006024
0.201923
208
9
41
23.111111
0.783133
0.158654
0
0
0
0
0.164634
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.4
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
84ecdfff4583efc924850f35b58331621a9a8780
519
py
Python
livechat/views.py
AnuragGupta806/Persevarance-Hack36
34a005664558593adff36e03d0a457febed3608a
[ "MIT" ]
null
null
null
livechat/views.py
AnuragGupta806/Persevarance-Hack36
34a005664558593adff36e03d0a457febed3608a
[ "MIT" ]
null
null
null
livechat/views.py
AnuragGupta806/Persevarance-Hack36
34a005664558593adff36e03d0a457febed3608a
[ "MIT" ]
1
2021-04-11T03:20:38.000Z
2021-04-11T03:20:38.000Z
from django.contrib.auth.decorators import login_required from django.shortcuts import render import json from django.utils.safestring import mark_safe # Create your views here. def chat(request): return render(request,"chat.html") def index(request): return render(request, 'chat.html') @login_required def r...
28.833333
65
0.739884
71
519
5.28169
0.422535
0.08
0.152
0.138667
0.181333
0.181333
0
0
0
0
0
0
0.144509
519
18
66
28.833333
0.844595
0.044316
0
0
0
0
0.09899
0
0
0
0
0
0
1
0.214286
false
0
0.285714
0.214286
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ca1078f1a2a118ab5b1c29ba4fffb8c4093a90fa
1,804
py
Python
code/1 Intro To Pandas/practice_exercises_1_answers.py
Jupyter-Auto-grading-Tutorials/CAP-4786-Jupyter-Auto-grading-Tutorials
c046adcf357211b0838da39ff6c38819c8cf69e1
[ "MIT" ]
2
2021-05-07T03:24:14.000Z
2021-12-19T11:03:55.000Z
code/3 Data Transformation/practice_exercises_3_answers.py
Jupyter-Auto-grading-Tutorials/CAP-4786-Jupyter-Auto-grading-Tutorials
c046adcf357211b0838da39ff6c38819c8cf69e1
[ "MIT" ]
null
null
null
code/3 Data Transformation/practice_exercises_3_answers.py
Jupyter-Auto-grading-Tutorials/CAP-4786-Jupyter-Auto-grading-Tutorials
c046adcf357211b0838da39ff6c38819c8cf69e1
[ "MIT" ]
2
2022-03-16T03:19:17.000Z
2022-03-23T17:56:19.000Z
## Author Kelly Rivera # Import needed packages import pandas as pd import matplotlib.pyplot as plt import sys ## Creating our functions # The functions below will act as our correct answers to the tutorial 1 questions # Answer to question 1 def answer_1(userAnswer): assert 'pandas' in sys.modules, "Sorry that...
39.217391
164
0.725055
262
1,804
4.977099
0.30916
0.042945
0.04908
0.042945
0.57362
0.467791
0.407975
0.407975
0.407975
0.407975
0
0.010135
0.179601
1,804
45
165
40.088889
0.870946
0.12694
0
0.090909
0
0.090909
0.483024
0
0
0
0
0
0.5
1
0.181818
false
0
0.318182
0.045455
0.681818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
1
0
1
0
0
3
ca125a1803de94cd10c3b0226b09f18f238d2ee5
709
py
Python
jobcrawler/tests/test_email/test_credentials.py
amakus/JobCrawler
770e05dd439ad3c269aeb3d7e284d891893faa2d
[ "MIT" ]
null
null
null
jobcrawler/tests/test_email/test_credentials.py
amakus/JobCrawler
770e05dd439ad3c269aeb3d7e284d891893faa2d
[ "MIT" ]
1
2021-11-15T17:48:36.000Z
2021-11-15T17:48:36.000Z
jobcrawler/tests/test_email/test_credentials.py
amakus/JobCrawler
770e05dd439ad3c269aeb3d7e284d891893faa2d
[ "MIT" ]
null
null
null
import pytest from jobcrawler.core.email.credentials import EmailCredentials from jobcrawler.core.email.address import EmailAddress def test_instantiation(): cred = EmailCredentials('fake@email.com', 'fake_password') assert isinstance(cred, EmailCredentials) def test_has_attribs(): cred = EmailCredentia...
27.269231
62
0.730606
86
709
5.895349
0.302326
0.094675
0.118343
0.171598
0.311637
0.311637
0.311637
0.311637
0.213018
0
0
0.0033
0.145275
709
25
63
28.36
0.833333
0
0
0.1875
0
0
0.203103
0
0
0
0
0
0.4375
1
0.1875
false
0.3125
0.1875
0
0.375
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
1
0
0
0
1
0
0
0
0
0
3
ca2dbdaec17899c964f1a659e9e578d6b4707d78
3,745
py
Python
rabaDB/fields.py
hpaul/rabaDB
42e0d6ee65149ae4f1e4c380cc695a9e7d2d1bbc
[ "Apache-2.0" ]
null
null
null
rabaDB/fields.py
hpaul/rabaDB
42e0d6ee65149ae4f1e4c380cc695a9e7d2d1bbc
[ "Apache-2.0" ]
null
null
null
rabaDB/fields.py
hpaul/rabaDB
42e0d6ee65149ae4f1e4c380cc695a9e7d2d1bbc
[ "Apache-2.0" ]
null
null
null
import types import Raba RABA_FIELD_TYPE_IS_UNDEFINED = -1 RABA_FIELD_TYPE_IS_PRIMITIVE = 0 RABA_FIELD_TYPE_IS_RABA_OBJECT = 1 RABA_FIELD_TYPE_IS_RABA_LIST = 2 class RabaField(object) : _raba_field = True _raba_list = False _raba_type = RABA_FIELD_TYPE_IS_UNDEFINED def __init__(self, default = None, constrainFct...
36.715686
168
0.761549
486
3,745
5.460905
0.183128
0.050867
0.053881
0.06217
0.474755
0.348154
0.255463
0.229088
0.157875
0.140919
0
0.001244
0.141522
3,745
101
169
37.079208
0.824261
0.06008
0
0.25
0
0
0.066648
0
0
0
0
0
0.013889
1
0.208333
false
0
0.027778
0.111111
0.597222
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
ca32a7cc8a2499f69ba9c211b676eb0e2bd3a20a
984
py
Python
aiotdlib/api/functions/create_chat_filter.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
37
2021-05-04T10:41:41.000Z
2022-03-30T13:48:05.000Z
aiotdlib/api/functions/create_chat_filter.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
13
2021-07-17T19:54:51.000Z
2022-02-26T06:50:00.000Z
aiotdlib/api/functions/create_chat_filter.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
7
2021-09-22T21:27:11.000Z
2022-02-20T02:33:19.000Z
# =============================================================================== # # # # This file has been generated automatically!! Do not change this manually! # # ...
33.931034
83
0.45935
71
984
6.253521
0.619718
0.067568
0
0
0
0
0
0
0
0
0
0
0.309959
984
28
84
35.142857
0.653903
0.551829
0
0
1
0
0.067839
0
0
0
0
0
0
1
0.1
false
0
0.4
0.1
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ca3e9dcfd397825834150962df5ad76123a7d489
819
py
Python
Chapter_11/try_11.1/city_functions.py
charliealpha094/Python_Crash_Course_2nd_edition
9d1548b775c861fd63890ccee19a9101eb0c5c6b
[ "MIT" ]
null
null
null
Chapter_11/try_11.1/city_functions.py
charliealpha094/Python_Crash_Course_2nd_edition
9d1548b775c861fd63890ccee19a9101eb0c5c6b
[ "MIT" ]
null
null
null
Chapter_11/try_11.1/city_functions.py
charliealpha094/Python_Crash_Course_2nd_edition
9d1548b775c861fd63890ccee19a9101eb0c5c6b
[ "MIT" ]
null
null
null
#Done by Carlos Amaral in 16/07/2020 """ Write a function that accepts two parameters: a city name and a country name. The function should return a single string of the form City, Country , such as Santiago, Chile . Store the function in a module called city _functions.py. Create a file called test_cities.py that test...
40.95
79
0.761905
135
819
4.555556
0.511111
0.107317
0.045528
0
0
0
0
0
0
0
0
0.011747
0.168498
819
20
80
40.95
0.891336
0.852259
0
0
0
0
0.148148
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
ca50f11b837b6c2c40d1a75a6881e4e385749721
1,145
py
Python
atest/testresources/testlibs/libraryscope.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
4
2016-02-29T17:00:24.000Z
2019-06-27T08:49:13.000Z
atest/testresources/testlibs/libraryscope.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
atest/testresources/testlibs/libraryscope.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
2
2018-01-18T22:00:17.000Z
2018-07-26T10:53:00.000Z
class _BaseLib: def __init__(self): self.registered = {} def register(self, name): self.registered[name] = None def should_be_registered(self, *expected): exp = dict([ (name, None) for name in expected ]) if self.registered != exp: raise AssertionError, 'Wrong ...
21.603774
78
0.648908
129
1,145
5.44186
0.325581
0.102564
0.145299
0.17094
0.216524
0.094017
0
0
0
0
0
0.00348
0.247162
1,145
52
79
22.019231
0.810905
0
0
0.181818
0
0
0.087336
0
0
0
0
0
0.060606
0
null
null
0.060606
0
null
null
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
1
0
0
1
0
0
0
0
0
3
ca5d5bf3de7ce2104e90cb8a651328dabbe70b9a
773
py
Python
src/python/starter.py
joennlae/halutmatmul
69340d3386298401d421b0e67dcb0649534b0c12
[ "MIT" ]
null
null
null
src/python/starter.py
joennlae/halutmatmul
69340d3386298401d421b0e67dcb0649534b0c12
[ "MIT" ]
null
null
null
src/python/starter.py
joennlae/halutmatmul
69340d3386298401d421b0e67dcb0649534b0c12
[ "MIT" ]
null
null
null
from test.test_resnet import test_cifar10_inference from test.test_conv2d_gpu import test_conv2d_module_gpu from test.test_halut import test_learn_offline from models.dscnn.main import run_kws_main from models.levit.main import run_levit # type: ignore[attr-defined] from halutmatmul.halutmatmul import EncodingAlgorith...
38.65
75
0.747736
125
773
4.264
0.376
0.026266
0.090056
0.022514
0.11257
0.097561
0.097561
0.097561
0.097561
0.097561
0
0.108729
0.155239
773
19
76
40.684211
0.707504
0.494179
0
0
0
0
0.021053
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ca5e27d7a0d8f45ccb30f29c1274068acef79e23
2,846
py
Python
PygameHaze/constants.py
Emc2356/PygameHaze
61bc2e78dcdb0e22ae0dc4e4d663f7923a4becd2
[ "MIT" ]
2
2021-08-05T14:18:42.000Z
2021-12-20T12:43:28.000Z
PygameHaze/constants.py
Emc2356/PygameHaze
61bc2e78dcdb0e22ae0dc4e4d663f7923a4becd2
[ "MIT" ]
1
2021-12-10T20:57:59.000Z
2021-12-10T20:57:59.000Z
PygameHaze/constants.py
Emc2356/PygameHaze
61bc2e78dcdb0e22ae0dc4e4d663f7923a4becd2
[ "MIT" ]
1
2021-12-10T13:09:42.000Z
2021-12-10T13:09:42.000Z
""" some constants and useful things """ from typing import Tuple, List import math # some of this is taken from https://github.com/ddorn/GUI # colors have also alpha BLACK: Tuple[int, int, int, int] = (0, 0, 0, 255) WHITE: Tuple[int, int, int, int] = (255, 255, 255, 255) BLUE: Tuple[int, int, int, int] = (30, 144,...
22.951613
60
0.591708
416
2,846
3.973558
0.271635
0.261343
0.261343
0.203267
0.474894
0.375681
0.206292
0.171809
0.111313
0.111313
0
0.108775
0.231202
2,846
123
61
23.138211
0.646709
0.069571
0
0
0
0
0.127845
0
0
0
0
0
0
1
0
false
0
0.019417
0
0.019417
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
ca5ed7e3448ace74c74458f83f613de9cb450d7f
915
py
Python
actions/models.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
null
null
null
actions/models.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
11
2020-03-24T15:29:46.000Z
2022-03-11T23:14:48.000Z
actions/models.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
null
null
null
from django.contrib.gis.db import models from django.contrib.auth.models import User from django.utils import timezone from model_utils.managers import InheritanceManager def get_default_date_time(): return timezone.now() + timezone.timedelta(days=7) class ActionMaster(models.Model): """ This is the Act...
31.551724
108
0.745355
119
915
5.588235
0.596639
0.045113
0.051128
0.054135
0
0
0
0
0
0
0
0.005202
0.159563
915
28
109
32.678571
0.859558
0.107104
0
0
0
0
0.051186
0
0
0
0
0
0
1
0.117647
false
0.058824
0.235294
0.117647
0.941176
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
ca64e928f5a599f2d3137df68cdd946d01570f32
359
py
Python
src/decorator/Display.py
fuqinshen/Python--
aaa5230354258e1bba761e483c8b9fb6be00402a
[ "MIT" ]
31
2018-10-19T15:28:36.000Z
2022-02-14T03:01:25.000Z
src/decorator/Display.py
fuqinshen/Python--
aaa5230354258e1bba761e483c8b9fb6be00402a
[ "MIT" ]
null
null
null
src/decorator/Display.py
fuqinshen/Python--
aaa5230354258e1bba761e483c8b9fb6be00402a
[ "MIT" ]
10
2019-01-10T04:02:12.000Z
2021-11-17T01:52:15.000Z
class Display(object): @classmethod def getColumns(cls): raise NotImplementedError @classmethod def getRows(cls): raise NotImplementedError @classmethod def getRowText(cls, row): raise NotImplementedError def show(self): for i in range(int(self.getRows())):...
21.117647
44
0.632312
36
359
6.305556
0.555556
0.185022
0.237885
0.334802
0.361233
0
0
0
0
0
0
0
0.278552
359
16
45
22.4375
0.876448
0
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0
0
0.384615
0.076923
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
ca6b4434cd4bda1c7391f02ce1f18a518e2a057f
988
py
Python
src/server/housepricehistory/housepricehistory/models.py
Aldarn/SoldHousePrices-Flask-PostgresD3-Jinja2
4eef7cbdced1c8287c99667d0297f6e771a5534b
[ "FSFAP" ]
null
null
null
src/server/housepricehistory/housepricehistory/models.py
Aldarn/SoldHousePrices-Flask-PostgresD3-Jinja2
4eef7cbdced1c8287c99667d0297f6e771a5534b
[ "FSFAP" ]
null
null
null
src/server/housepricehistory/housepricehistory/models.py
Aldarn/SoldHousePrices-Flask-PostgresD3-Jinja2
4eef7cbdced1c8287c99667d0297f6e771a5534b
[ "FSFAP" ]
null
null
null
# # Copyright 2015 Benjamin David Holmes, All rights reserved. # from django.db import models class SoldProperty(models.Model): uid = models.CharField(max_length = 36, primary_key = True) price = models.IntegerField() date = models.IntegerField(db_index = True) postcode = models.CharField(max_length = 8, db_index...
41.166667
72
0.742915
142
988
5.042254
0.373239
0.230447
0.276536
0.368715
0.509777
0.439944
0.439944
0.439944
0.439944
0.439944
0
0.035971
0.15587
988
24
73
41.166667
0.822542
0.228745
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0.055556
1
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
ca8ea61cbc98d24f209329e336d322f9af0a96fc
3,104
py
Python
Flask/mysite/models.py
FrezeSteve/finishedAuthFlask
ed3a0bda5b7f7c97caa2dd7d1f52b2c07f3475e8
[ "BSD-2-Clause" ]
null
null
null
Flask/mysite/models.py
FrezeSteve/finishedAuthFlask
ed3a0bda5b7f7c97caa2dd7d1f52b2c07f3475e8
[ "BSD-2-Clause" ]
null
null
null
Flask/mysite/models.py
FrezeSteve/finishedAuthFlask
ed3a0bda5b7f7c97caa2dd7d1f52b2c07f3475e8
[ "BSD-2-Clause" ]
null
null
null
# Models from . import db, TIME_EXP from sqlalchemy import Column, Integer, DateTime, String, ForeignKey, Boolean, Enum from sqlalchemy.orm import relationship from werkzeug.security import generate_password_hash from datetime import datetime from uuid import uuid4 BOTTLEUNITS = { "ML": 'ml', "LTR": 'ltr' } ...
34.488889
103
0.693943
390
3,104
5.351282
0.2
0.099665
0.065165
0.07379
0.440824
0.387638
0.288452
0.288452
0.253953
0.146143
0
0.015397
0.183956
3,104
89
104
34.876404
0.808527
0.032861
0
0.107692
1
0
0.03637
0.007674
0
0
0
0
0
1
0.123077
false
0.061538
0.092308
0.061538
0.723077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
0485d7826c4118b8702eb069aa8bd329f0332574
192
py
Python
utils.py
danileiro/cc-bot-2020
dc6330966fadfe92e7d63395de5b75ec59e515c3
[ "CC0-1.0" ]
null
null
null
utils.py
danileiro/cc-bot-2020
dc6330966fadfe92e7d63395de5b75ec59e515c3
[ "CC0-1.0" ]
null
null
null
utils.py
danileiro/cc-bot-2020
dc6330966fadfe92e7d63395de5b75ec59e515c3
[ "CC0-1.0" ]
null
null
null
import requests def getAddress(cep): url = f"https://api.postmon.com.br/v1/cep/{cep}" r = requests.get(url) if (r.status_code == 200): return r.json() return 'False'
19.2
52
0.604167
29
192
3.965517
0.758621
0
0
0
0
0
0
0
0
0
0
0.027027
0.229167
192
9
53
21.333333
0.75
0
0
0
0
0
0.230366
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
048b6a2c0af2e5476612a67bed6a31083871c7b4
642
py
Python
Voltron/Voltron/Algorithms/Sorting/selection_sort.py
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
1
2018-02-09T19:44:51.000Z
2018-02-09T19:44:51.000Z
Voltron/Voltron/Algorithms/Sorting/selection_sort.py
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
Voltron/Voltron/Algorithms/Sorting/selection_sort.py
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
def selection_sort(array): N = len(array) for i in range(N): # Find the min element in the unsorted a[i .. N - 1] # Assume the min is the first element. minimum_element_index = i for j in range(i + 1, N): if (array[j] < array[minimum_element_index]): ...
30.571429
60
0.565421
86
642
4.069767
0.395349
0.28
0.325714
0.205714
0.151429
0
0
0
0
0
0
0.004751
0.344237
642
21
61
30.571429
0.826603
0.272586
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
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
048b7c02cf4092fe06a9cf47981ec8982c32ef10
419
py
Python
api/tests/test_bookshelf/test_books/repository.py
herbertrlee/baby-bookshelf
613d8d4cdf9966e79e53df0eedadd12e2b604c73
[ "MIT" ]
null
null
null
api/tests/test_bookshelf/test_books/repository.py
herbertrlee/baby-bookshelf
613d8d4cdf9966e79e53df0eedadd12e2b604c73
[ "MIT" ]
null
null
null
api/tests/test_bookshelf/test_books/repository.py
herbertrlee/baby-bookshelf
613d8d4cdf9966e79e53df0eedadd12e2b604c73
[ "MIT" ]
null
null
null
import copy from typing import Optional from bookshelf.books.model import Book from bookshelf.books.repository import BookRepository class TestBookRepository(BookRepository): def __init__(self): self._books = {} def get_book(self, book_id: str) -> Optional[Book]: return self._books.get(book_...
24.647059
55
0.71599
55
419
5.254545
0.418182
0.093426
0.124567
0
0
0
0
0
0
0
0
0
0.186158
419
16
56
26.1875
0.847507
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.363636
0.090909
0.818182
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
0494ef7d345738254004903ce4758167057e8ba9
7,432
py
Python
src/models/train_model.py
carolmoraescruz/case_seazone
76b44a64272685681442929c04ea9e4fd21a147e
[ "MIT" ]
null
null
null
src/models/train_model.py
carolmoraescruz/case_seazone
76b44a64272685681442929c04ea9e4fd21a147e
[ "MIT" ]
null
null
null
src/models/train_model.py
carolmoraescruz/case_seazone
76b44a64272685681442929c04ea9e4fd21a147e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pandas as pd from sklearn.ensemble import RandomForestRegressor from sklearn.model_selection import train_test_split from sklearn.neural_network import MLPRegressor from xgboost import XGBRegressor from sklearn.metrics import mean_absolute_error as mae from src import ( PATH...
29.728
89
0.702503
954
7,432
5.1174
0.1174
0.030725
0.043015
0.032773
0.859074
0.712823
0.68476
0.661819
0.64789
0.64789
0
0.018674
0.214612
7,432
249
90
29.84739
0.817715
0.214343
0
0.315789
0
0
0.049373
0
0
0
0
0
0
1
0.04386
false
0
0.087719
0
0.131579
0.087719
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
04abe67a92da0ecbffb32a0f97070d758acdaebb
244
py
Python
gupshup/src/utils/notification.py
kraanzu/gupshup
4426a2c40a62d7c03823d960c9476688d27e1295
[ "MIT" ]
5
2022-02-26T05:17:16.000Z
2022-03-03T03:04:15.000Z
gupshup/src/utils/notification.py
kraanzu/gupshup
4426a2c40a62d7c03823d960c9476688d27e1295
[ "MIT" ]
null
null
null
gupshup/src/utils/notification.py
kraanzu/gupshup
4426a2c40a62d7c03823d960c9476688d27e1295
[ "MIT" ]
null
null
null
from os import path from threading import Thread from playsound import playsound def notify(): sound = path.join(path.dirname(__file__), "..", "sounds", "notification.wav") Thread(target=playsound, args=(sound,), daemon=True).start()
27.111111
81
0.721311
31
244
5.548387
0.677419
0
0
0
0
0
0
0
0
0
0
0
0.135246
244
8
82
30.5
0.815166
0
0
0
0
0
0.098361
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
04e0be7f022276110a05819ae448f83a9a64bd51
2,205
py
Python
projeto/equipamento/models.py
victorwsantos/projeto-estoque
cdb1bb2bfe446cdc0d954b3ebff364673b189e87
[ "MIT" ]
null
null
null
projeto/equipamento/models.py
victorwsantos/projeto-estoque
cdb1bb2bfe446cdc0d954b3ebff364673b189e87
[ "MIT" ]
null
null
null
projeto/equipamento/models.py
victorwsantos/projeto-estoque
cdb1bb2bfe446cdc0d954b3ebff364673b189e87
[ "MIT" ]
null
null
null
from django.db import models from django.urls import reverse_lazy class Equipamento(models.Model): estado = models.CharField('Novo',max_length=5, null=True, blank=True) tipo = models.CharField('Tipo', max_length=8, null=True, blank=True) asset = models.CharField('Asset', max_length=10, null=False, blan...
47.934783
93
0.698866
305
2,205
4.940984
0.252459
0.209025
0.172528
0.225614
0.298607
0.298607
0.298607
0.039814
0
0
0
0.020945
0.155556
2,205
45
94
49
0.7884
0.112472
0
0
0
0
0.088025
0.015353
0
0
0
0
0
1
0.057143
false
0
0.057143
0.057143
0.971429
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
04e6a23d37546b2e9ad8f7356b4843e78812ce0d
251
py
Python
kratos/apps/app/serializers.py
cipher-ops/backend-kts
7ea54d7f56bcb0da54b901ac8f3cfbfbb0b12319
[ "MIT" ]
1
2020-11-30T09:53:40.000Z
2020-11-30T09:53:40.000Z
kratos/apps/app/serializers.py
cipher-ops/backend-kts
7ea54d7f56bcb0da54b901ac8f3cfbfbb0b12319
[ "MIT" ]
null
null
null
kratos/apps/app/serializers.py
cipher-ops/backend-kts
7ea54d7f56bcb0da54b901ac8f3cfbfbb0b12319
[ "MIT" ]
null
null
null
from rest_framework import serializers from kratos.apps.app.models import App class AppSerializer(serializers.ModelSerializer): class Meta: model = App fields = ('id', 'name', 'app_type', 'repo_url', 'created_at', 'updated_at')
25.1
83
0.701195
31
251
5.516129
0.741935
0
0
0
0
0
0
0
0
0
0
0
0.183267
251
9
84
27.888889
0.834146
0
0
0
0
0
0.167331
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
04f8ba6eaeb240a0438d00fa33d0e2ec95d8e389
4,025
py
Python
eark/solution.py
vigneshwar-manickam/eark
dea70b381a4a0baaad91f5f2a233088512c6f43e
[ "MIT" ]
null
null
null
eark/solution.py
vigneshwar-manickam/eark
dea70b381a4a0baaad91f5f2a233088512c6f43e
[ "MIT" ]
null
null
null
eark/solution.py
vigneshwar-manickam/eark
dea70b381a4a0baaad91f5f2a233088512c6f43e
[ "MIT" ]
null
null
null
import numpy as np from eark.state import StateComponent from eark.utilities import plot class Solution: __slots__ = ('_array', '_t') def __init__(self, array: np.ndarray, t: np.ndarray): self._array = array self._t = t @property def array(self): return self._array @pro...
40.656566
164
0.635776
530
4,025
4.590566
0.190566
0.098644
0.057542
0.070284
0.535964
0.438964
0.408549
0.351829
0.351829
0.2873
0
0.001983
0.248199
4,025
98
165
41.071429
0.802049
0.046708
0
0.151515
0
0
0.170016
0
0
0
0
0
0
1
0.30303
false
0
0.045455
0.151515
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b6ba96bfd0be51d89a3ed22f6a794e73b0f005b8
290
py
Python
yangTools/plugin/pkgProj/__init__.py
mightyang/yangTools
ae231ada4417e1deff63476c5c90aaf040e9f10b
[ "Apache-2.0" ]
1
2020-08-10T06:00:04.000Z
2020-08-10T06:00:04.000Z
yangTools/plugin/pkgProj/__init__.py
mightyang/yangTools
ae231ada4417e1deff63476c5c90aaf040e9f10b
[ "Apache-2.0" ]
null
null
null
yangTools/plugin/pkgProj/__init__.py
mightyang/yangTools
ae231ada4417e1deff63476c5c90aaf040e9f10b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # File : __init__.py # Author : yang <mightyang@hotmail.com> # Date : 10.03.2019 # Last Modified Date: 11.03.2019 # Last Modified By : yang <mightyang@hotmail.com> __all__ = ['pkgProj'] # from . import *
26.363636
50
0.568966
36
290
4.361111
0.75
0.165605
0.254777
0.292994
0
0
0
0
0
0
0
0.080952
0.275862
290
10
51
29
0.666667
0.865517
0
0
0
0
0.225806
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b6dec585c2eb45c18ffcde731e1164680835a49a
2,146
py
Python
web_test/helpers/pytest/settings.py
KartinaMaslom/leanpub-tests
06dec0021a0715af1073656af8335c6b12290d5b
[ "MIT" ]
null
null
null
web_test/helpers/pytest/settings.py
KartinaMaslom/leanpub-tests
06dec0021a0715af1073656af8335c6b12290d5b
[ "MIT" ]
null
null
null
web_test/helpers/pytest/settings.py
KartinaMaslom/leanpub-tests
06dec0021a0715af1073656af8335c6b12290d5b
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2015-2021 Iakiv Kramarenko # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modif...
34.063492
80
0.685927
278
2,146
5.208633
0.467626
0.060773
0.043508
0.03453
0.027624
0
0
0
0
0
0
0.004905
0.239981
2,146
62
81
34.612903
0.882894
0.5
0
0.103448
0
0
0.049477
0.035205
0
0
0
0
0
1
0.275862
false
0
0.034483
0.137931
0.551724
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
b6e0b377616807260899c8dff54493e16e4cf86a
157
py
Python
M1/extra01.py
jefersondevsouza/CursoPython
3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf
[ "MIT" ]
1
2022-01-21T00:12:18.000Z
2022-01-21T00:12:18.000Z
M1/extra01.py
jefersondevsouza/CursoPython
3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf
[ "MIT" ]
null
null
null
M1/extra01.py
jefersondevsouza/CursoPython
3ee7fadfa44b4351ce9bdb1029261afe5bab6bbf
[ "MIT" ]
null
null
null
n1 = int(input('Digite um número: ')) n2 = int(input('Digite o segundo número: ')) n3 = n1 + n2 #comentário no pyton print('{} + {} = {}'.format(n1, n2, n3))
31.4
44
0.598726
24
157
3.916667
0.625
0.170213
0.297872
0
0
0
0
0
0
0
0
0.061538
0.171975
157
5
45
31.4
0.661538
0.121019
0
0
0
0
0.398551
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
8e00a0e2d2eb46bee20f22ac8df97c3147301d3a
264
py
Python
twitteruser/models.py
DeanNevins/twitterclone
e713627f352f8a7d34b493384fbc86818db841c6
[ "MIT" ]
null
null
null
twitteruser/models.py
DeanNevins/twitterclone
e713627f352f8a7d34b493384fbc86818db841c6
[ "MIT" ]
null
null
null
twitteruser/models.py
DeanNevins/twitterclone
e713627f352f8a7d34b493384fbc86818db841c6
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class TwitterUser(AbstractUser): following = models.ManyToManyField('self', symmetrical=False) def __str__(self): return self.username
20.307692
65
0.753788
31
264
6.290323
0.709677
0.102564
0
0
0
0
0
0
0
0
0
0
0.166667
264
12
66
22
0.886364
0.090909
0
0
0
0
0.016807
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
8e4ac6f9b287b0f5fc1274c680dd4e10f5427fe6
1,239
py
Python
attendees/occasions/views/api/organization_meet_gatherings.py
xjlin0/attendees
3c337ee68c00f17cbbbe26f2e33131e57850e4ed
[ "MIT" ]
1
2020-03-26T00:42:04.000Z
2020-03-26T00:42:04.000Z
attendees/occasions/views/api/organization_meet_gatherings.py
xjlin0/attendees
3c337ee68c00f17cbbbe26f2e33131e57850e4ed
[ "MIT" ]
null
null
null
attendees/occasions/views/api/organization_meet_gatherings.py
xjlin0/attendees
3c337ee68c00f17cbbbe26f2e33131e57850e4ed
[ "MIT" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from rest_framework import viewsets from rest_framework.exceptions import AuthenticationFailed import time from attendees.occasions.services import GatheringService from attendees.occasions.serializers import ...
37.545455
100
0.757062
130
1,239
7.038462
0.584615
0.069945
0.07541
0
0
0
0
0
0
0
0
0.000989
0.184019
1,239
32
101
38.71875
0.904055
0.100888
0
0
0
0
0.060109
0
0
0
0
0.03125
0
1
0.047619
false
0
0.333333
0
0.52381
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
f3d2a9a031e1673ba455b878b86b5ff59fb8c8e2
1,175
py
Python
training/rule.py
GavinPHR/Parser
3e7dd453d756526105edf8cacd35c72481940c0e
[ "MIT" ]
1
2021-08-04T12:24:46.000Z
2021-08-04T12:24:46.000Z
training/rule.py
GavinPHR/Parser
3e7dd453d756526105edf8cacd35c72481940c0e
[ "MIT" ]
null
null
null
training/rule.py
GavinPHR/Parser
3e7dd453d756526105edf8cacd35c72481940c0e
[ "MIT" ]
null
null
null
import config def hash_forward(a, b, c): """ 20 bits for each position, should be more than enough for any grammar """ return (a << 40) ^ (b << 20) ^ c class Rule3: """ Encapsulation for a 3rd order rule """ def __init__(self, a, b, c): """ a -> b c where a, b, c are ...
22.596154
73
0.542979
168
1,175
3.571429
0.285714
0.066667
0.025
0.053333
0.523333
0.468333
0.363333
0.246667
0.246667
0.246667
0
0.01375
0.319149
1,175
51
74
23.039216
0.73625
0.198298
0
0.416667
0
0
0.005882
0
0
0
0
0
0
1
0.375
false
0
0.041667
0.166667
0.791667
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
f3db1faf02fe54a8bf4df05c68003f232f48f17c
205
py
Python
archive/test2.py
xp7551/robot
ba34d0d5ba4c2b497370159a8d0c0b2d6e02d44e
[ "Apache-2.0" ]
null
null
null
archive/test2.py
xp7551/robot
ba34d0d5ba4c2b497370159a8d0c0b2d6e02d44e
[ "Apache-2.0" ]
null
null
null
archive/test2.py
xp7551/robot
ba34d0d5ba4c2b497370159a8d0c0b2d6e02d44e
[ "Apache-2.0" ]
null
null
null
import time import pigpio print 'start' pi1 = pigpio.pi() # pi1 accesses the local Pi's GPIO pi1.write(4, 0) # set local Pi's GPIO 4 low pi1.read(4) # get level of dick's GPIO 4 print 'finish'
20.5
58
0.668293
39
205
3.512821
0.589744
0.109489
0.116788
0.175182
0
0
0
0
0
0
0
0.056962
0.229268
205
9
59
22.777778
0.810127
0.414634
0
0
0
0
0.094828
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.285714
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f3f036e5ed59d350a7564a2ce66ad84aa1a97539
2,083
py
Python
src/franz/openrdf/tests/tz.py
franzinc/agraph-python
9186f19094af0be1daec273270888eadf9a68300
[ "MIT" ]
25
2015-11-05T03:43:30.000Z
2022-03-09T07:19:09.000Z
src/franz/openrdf/tests/tz.py
franzinc/agraph-python
9186f19094af0be1daec273270888eadf9a68300
[ "MIT" ]
14
2017-07-18T20:41:26.000Z
2021-10-13T04:57:36.000Z
src/franz/openrdf/tests/tz.py
franzinc/agraph-python
9186f19094af0be1daec273270888eadf9a68300
[ "MIT" ]
8
2016-12-09T02:38:45.000Z
2020-10-12T07:59:17.000Z
################################################################################ # Copyright (c) 2006-2017 Franz Inc. # All rights reserved. This program and the accompanying materials are # made available under the terms of the MIT License which accompanies # this distribution, and is available at http://opensource....
33.063492
80
0.56409
239
2,083
4.832636
0.426778
0.034632
0.031169
0.036364
0.143723
0.08658
0.08658
0.08658
0.060606
0.060606
0
0.005394
0.288046
2,083
62
81
33.596774
0.773432
0.529045
0
0
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0.157895
0.684211
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
f3f8e55195104c6d95f7fd65bea8595ebc4e5828
3,905
py
Python
Code/venv/src/mysite/settings.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
null
null
null
Code/venv/src/mysite/settings.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
38
2021-04-01T18:09:31.000Z
2021-05-08T17:27:03.000Z
Code/venv/src/mysite/settings.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
3
2021-04-16T07:25:11.000Z
2022-01-29T10:24:33.000Z
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bu...
26.208054
91
0.693726
449
3,905
5.899777
0.405345
0.073613
0.058135
0.066063
0.224236
0.186485
0.100793
0.100793
0.0453
0
0
0.015295
0.162868
3,905
149
92
26.208054
0.795044
0.255314
0
0
1
0.011111
0.529983
0.411092
0
0
0
0
0
1
0
false
0.066667
0.011111
0
0.011111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
6d0883ed5095d1c1479ea701e17db15ce09bc9c9
599
py
Python
Intro/Intro.py
Dylpickle77/Machine-Learning
e07a815d22affd50edcbf18948a52b44345eb66f
[ "MIT" ]
null
null
null
Intro/Intro.py
Dylpickle77/Machine-Learning
e07a815d22affd50edcbf18948a52b44345eb66f
[ "MIT" ]
null
null
null
Intro/Intro.py
Dylpickle77/Machine-Learning
e07a815d22affd50edcbf18948a52b44345eb66f
[ "MIT" ]
null
null
null
import numpy as np def main (): students = [ 'Drak Twining', 'Drak Twining', 'Drak Twining', 'Drak Twining', 'Drak Twining', 'Drak Twining', 'Drak Twining', 'Drak Twining', 'Drak Twining', 'Dylan Terrell', 'dmskd ...
20.655172
34
0.464107
60
599
4.483333
0.516667
0.36803
0.446097
0.654275
0.36803
0.36803
0.36803
0.36803
0.36803
0.36803
0
0.011494
0.419032
599
28
35
21.392857
0.761494
0.021703
0
0.375
0
0
0.27518
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.083333
0.083333
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
6d15f52a5420af2768400bd407253dcc97226d2c
357
py
Python
pyramid_stocks/pyramid_stocks/routes.py
GeorgeCloud/pyramid-stocks
1f21ea37a50f67ebda0d510e7d4fb792bc2a9ed4
[ "MIT" ]
null
null
null
pyramid_stocks/pyramid_stocks/routes.py
GeorgeCloud/pyramid-stocks
1f21ea37a50f67ebda0d510e7d4fb792bc2a9ed4
[ "MIT" ]
1
2018-04-05T02:31:23.000Z
2018-04-05T02:31:23.000Z
pyramid_stocks/pyramid_stocks/routes.py
GeorgeCloud/pyramid-stocks
1f21ea37a50f67ebda0d510e7d4fb792bc2a9ed4
[ "MIT" ]
null
null
null
def includeme(config): config.add_static_view('static', 'static', cache_max_age=0) config.add_route('home', '/') config.add_route('auth', '/auth') config.add_route('add-stock', '/add-stock') config.add_route('logout', '/logout') config.add_route('portfolio', '/portfolio') config.add_route('s...
39.666667
63
0.672269
46
357
4.978261
0.391304
0.275109
0.366812
0
0
0
0
0
0
0
0
0.003205
0.12605
357
8
64
44.625
0.730769
0
0
0
0
0
0.302521
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6d281ba134ba9920b30348174d52c7c4781de947
52
py
Python
src/torrents/__init__.py
yigitgenc/bulkstash
44ed74cd5c70e8b833736d594d3bbb5e5293d37c
[ "MIT" ]
11
2017-11-24T12:38:48.000Z
2019-08-31T14:29:11.000Z
src/torrents/__init__.py
yigitgenc/kuzgun.io
44ed74cd5c70e8b833736d594d3bbb5e5293d37c
[ "MIT" ]
null
null
null
src/torrents/__init__.py
yigitgenc/kuzgun.io
44ed74cd5c70e8b833736d594d3bbb5e5293d37c
[ "MIT" ]
null
null
null
default_app_config = 'torrents.apps.TorrentsConfig'
26
51
0.846154
6
52
7
1
0
0
0
0
0
0
0
0
0
0
0
0.057692
52
1
52
52
0.857143
0
0
0
0
0
0.538462
0.538462
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6d2869c6bdd9e5044074a01d15f2b9259be216ff
19
py
Python
String/__init__.py
ShakMR/suibash
0e4d33c2d53d5b1fab3fd445131bc024caf0bb28
[ "MIT" ]
null
null
null
String/__init__.py
ShakMR/suibash
0e4d33c2d53d5b1fab3fd445131bc024caf0bb28
[ "MIT" ]
null
null
null
String/__init__.py
ShakMR/suibash
0e4d33c2d53d5b1fab3fd445131bc024caf0bb28
[ "MIT" ]
null
null
null
__author__ = 'tfg'
9.5
18
0.684211
2
19
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0.157895
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
6d2f1de7eed5835ee0f6dae58bebbb42a9283d39
511
py
Python
cpdb/pinboard/serializers/mobile/common/officer_serializers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/pinboard/serializers/mobile/common/officer_serializers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/pinboard/serializers/mobile/common/officer_serializers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
6
2018-05-17T21:59:43.000Z
2020-11-17T00:30:26.000Z
from rest_framework import serializers from shared.serializer import OfficerPercentileSerializer class OfficerRowMobileSerializer(OfficerPercentileSerializer): id = serializers.IntegerField() rank = serializers.CharField() full_name = serializers.CharField() coaccusal_count = serializers.IntegerField...
30.058824
63
0.800391
43
511
9.395349
0.511628
0.19802
0.19802
0.257426
0.514851
0.514851
0.514851
0.514851
0.514851
0.514851
0
0
0.129159
511
16
64
31.9375
0.907865
0
0
0.545455
0
0
0
0
0
0
0
0
0
1
0
false
0
0.181818
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6d34a3ac6adaf1c0de313fd52e42a6ae94229b51
129
py
Python
odolenium/error.py
z0al/odolenium
9c984aa0e2d92ef9f7f0810996d7b9d659b15b48
[ "MIT" ]
null
null
null
odolenium/error.py
z0al/odolenium
9c984aa0e2d92ef9f7f0810996d7b9d659b15b48
[ "MIT" ]
null
null
null
odolenium/error.py
z0al/odolenium
9c984aa0e2d92ef9f7f0810996d7b9d659b15b48
[ "MIT" ]
null
null
null
#! python3 # -*- coding: utf-8 -*- class OdoleniumError(Exception): def __init__(self, msg): super().__init__(msg)
16.125
32
0.612403
14
129
5.071429
0.857143
0
0
0
0
0
0
0
0
0
0
0.019608
0.209302
129
7
33
18.428571
0.676471
0.24031
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
0
3
6d421e9f45f6af060446bd6c992087958ad24269
34
py
Python
Analysis_software/marspy/convert/__init__.py
duderstadt-lab/Born-to-slide
00f3a7ef4aaefff636ae7ddbb9e1c9947b284967
[ "BSD-2-Clause" ]
null
null
null
Analysis_software/marspy/convert/__init__.py
duderstadt-lab/Born-to-slide
00f3a7ef4aaefff636ae7ddbb9e1c9947b284967
[ "BSD-2-Clause" ]
null
null
null
Analysis_software/marspy/convert/__init__.py
duderstadt-lab/Born-to-slide
00f3a7ef4aaefff636ae7ddbb9e1c9947b284967
[ "BSD-2-Clause" ]
null
null
null
__all__ = ['molecule', 'archive']
17
33
0.647059
3
34
6
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
1
34
34
0.6
0
0
0
0
0
0.441176
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
6d4dee97c9f0e79c6ca1e9d18023856946c1d59d
204
py
Python
matils/__init__.py
mathiasbrito/matils
48456825943cbfe721bec3fd9a317182476e0144
[ "MIT" ]
null
null
null
matils/__init__.py
mathiasbrito/matils
48456825943cbfe721bec3fd9a317182476e0144
[ "MIT" ]
null
null
null
matils/__init__.py
mathiasbrito/matils
48456825943cbfe721bec3fd9a317182476e0144
[ "MIT" ]
null
null
null
""" This package is the central point to find nice utilities in Matils. Check out the code documentation it is very rich and provides informations and valuable examples to start playing with Matils. """
29.142857
78
0.789216
32
204
5.03125
0.84375
0
0
0
0
0
0
0
0
0
0
0
0.171569
204
6
79
34
0.952663
0.955882
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6d5c3998c4e6cef9706c7d6f2b4594f15b120971
827
py
Python
rqalpha/model/__init__.py
LawrentChen/rqalpha
546cf76143c8e6df034954992eb36e2233e71161
[ "Apache-2.0" ]
5,263
2016-07-20T10:41:10.000Z
2022-03-29T08:24:34.000Z
rqalpha/model/__init__.py
LawrentChen/rqalpha
546cf76143c8e6df034954992eb36e2233e71161
[ "Apache-2.0" ]
572
2016-07-28T07:51:02.000Z
2022-02-09T15:28:03.000Z
rqalpha/model/__init__.py
LawrentChen/rqalpha
546cf76143c8e6df034954992eb36e2233e71161
[ "Apache-2.0" ]
1,769
2016-07-20T11:11:55.000Z
2022-03-31T10:11:38.000Z
# -*- coding: utf-8 -*- # 版权所有 2019 深圳米筐科技有限公司(下称“米筐科技”) # # 除非遵守当前许可,否则不得使用本软件。 # # * 非商业用途(非商业用途指个人出于非商业目的使用本软件,或者高校、研究所等非营利机构出于教育、科研等目的使用本软件): # 遵守 Apache License 2.0(下称“Apache 2.0 许可”),您可以在以下位置获得 Apache 2.0 许可的副本:http://www.apache.org/licenses/LICENSE-2.0。 # 除非法律有要求或以书面形式达成协议,否则本软件分发时需保持当前许可“原样”...
41.35
144
0.748489
96
827
6.447917
0.697917
0.019386
0.051696
0.03231
0
0
0
0
0
0
0
0.02391
0.140266
827
19
145
43.526316
0.846695
0.764208
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ed9358a955b2622b60ee9bc2c59317226ff796d8
1,304
py
Python
src/utils/running_reports_repository.py
vimc/montagu-task-queue
7ef8e449f10988d3c53b974086873e740e7dea86
[ "MIT" ]
null
null
null
src/utils/running_reports_repository.py
vimc/montagu-task-queue
7ef8e449f10988d3c53b974086873e740e7dea86
[ "MIT" ]
26
2020-06-05T09:57:54.000Z
2022-03-23T10:14:11.000Z
src/utils/running_reports_repository.py
vimc/montagu-task-queue
7ef8e449f10988d3c53b974086873e740e7dea86
[ "MIT" ]
null
null
null
import redis class RunningReportsRepository: def __init__(self, host="localhost"): self.redis = redis.Redis(host=host) # default port 6379 self.prefix = "running_report" def set(self, group, disease, report_name, report_key): self.redis.set(self.db_key(group, disease, report_name), r...
39.515152
77
0.638804
170
1,304
4.7
0.323529
0.12015
0.180225
0.220275
0.269086
0.166458
0.116395
0
0
0
0
0.006198
0.257669
1,304
32
78
40.75
0.819215
0.108896
0
0
0
0
0.037997
0
0
0
0
0
0
1
0.26087
false
0
0.043478
0.043478
0.434783
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
edb162a791fc3334b9edf0fc2dcd149ded39e761
3,341
py
Python
test.py
Rohan-Raj-1729/NAAS
15ca389a0385cca2ea2690a679e0e74fce79c27a
[ "MIT" ]
null
null
null
test.py
Rohan-Raj-1729/NAAS
15ca389a0385cca2ea2690a679e0e74fce79c27a
[ "MIT" ]
null
null
null
test.py
Rohan-Raj-1729/NAAS
15ca389a0385cca2ea2690a679e0e74fce79c27a
[ "MIT" ]
null
null
null
import unittest from my_package import * from datetime import date # import main class TestAddress(unittest.TestCase): def setUp(self): self.address1=Address(1,1,"h1") # self.address2=Address(1) def test_address(self): self.assertEqual(self.address1.street_number,1) self.asser...
48.42029
180
0.700389
396
3,341
5.830808
0.207071
0.201386
0.255089
0.10524
0.333911
0.226072
0.097878
0
0
0
0
0.073707
0.155343
3,341
68
181
49.132353
0.744507
0.061958
0
0.098361
0
0
0.08115
0
0
0
0
0
0.508197
1
0.196721
false
0.032787
0.04918
0
0.344262
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
edde87b3170d1b6580dcfce1d97ec6ed2cd032a0
244
py
Python
grblc/search/ads/__init__.py
youngsm/adsgrb
a89b56b371888deb67788a9f5a91300b281784a6
[ "MIT" ]
null
null
null
grblc/search/ads/__init__.py
youngsm/adsgrb
a89b56b371888deb67788a9f5a91300b281784a6
[ "MIT" ]
null
null
null
grblc/search/ads/__init__.py
youngsm/adsgrb
a89b56b371888deb67788a9f5a91300b281784a6
[ "MIT" ]
null
null
null
__author__ = """Sam Young""" __email__ = "youngsam@sas.upenn.edu" __version__ = "0.1.7" from .search import gcnSearch, litSearch, getArticles from .output import savePDF from .config import set_apikey, read_apikey, reset_apikey read_apikey()
24.4
57
0.770492
33
244
5.212121
0.757576
0.116279
0.186047
0
0
0
0
0
0
0
0
0.013953
0.118852
244
9
58
27.111111
0.786047
0
0
0
0
0
0.147541
0.090164
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
1
0
0
0
0
3
eddf5ab55880882129bd7f62baa4fca7e31bea71
95
py
Python
classification_messages_app/__init__.py
Roberto173797/Disaster_message_classifier
16c35e0f7f542515ad6764f65e08e33b32676342
[ "MIT" ]
null
null
null
classification_messages_app/__init__.py
Roberto173797/Disaster_message_classifier
16c35e0f7f542515ad6764f65e08e33b32676342
[ "MIT" ]
null
null
null
classification_messages_app/__init__.py
Roberto173797/Disaster_message_classifier
16c35e0f7f542515ad6764f65e08e33b32676342
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) from classification_messages_app import routes
15.833333
46
0.831579
13
95
5.615385
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.136842
95
5
47
19
0.890244
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
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
6116aac3a3046139dfc95bd21f15ab58af2b0237
48,769
py
Python
e2e/slack/test_accessbot_slack_access.py
easternlabs/accessbot
d9d25a3aed178cc8d1b57ef78c9bdd1f02014518
[ "Apache-2.0" ]
null
null
null
e2e/slack/test_accessbot_slack_access.py
easternlabs/accessbot
d9d25a3aed178cc8d1b57ef78c9bdd1f02014518
[ "Apache-2.0" ]
null
null
null
e2e/slack/test_accessbot_slack_access.py
easternlabs/accessbot
d9d25a3aed178cc8d1b57ef78c9bdd1f02014518
[ "Apache-2.0" ]
null
null
null
# pylint: disable=invalid-name import datetime import sys import pytest import time from unittest.mock import MagicMock, patch sys.path.append('plugins/sdm') sys.path.append('e2e') from test_common import create_config, DummyResource, send_message_override, \ callback_message_fn, get_dummy_person, ErrBotExtraTest...
49.866053
143
0.739507
6,113
48,769
5.51186
0.054801
0.142755
0.052532
0.068261
0.803823
0.757108
0.711521
0.672612
0.622485
0.583813
0
0.002245
0.178084
48,769
977
144
49.917093
0.838339
0.011995
0
0.495215
0
0
0.145234
0.018027
0
0
0
0
0.220096
1
0.138756
false
0.001196
0.010766
0.008373
0.254785
0.001196
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b6326efa06f589378a397275ce309c8e6f759920
1,738
py
Python
spotify/v1/user/__init__.py
geekonedge/spotify
1f4cf733a1fb11ab96259ed1e229b141e5c696f3
[ "MIT" ]
2
2018-10-10T08:00:47.000Z
2021-10-12T04:15:33.000Z
spotify/v1/user/__init__.py
geekonedge/spotify
1f4cf733a1fb11ab96259ed1e229b141e5c696f3
[ "MIT" ]
2
2018-08-31T21:59:47.000Z
2018-08-31T22:27:57.000Z
spotify/v1/user/__init__.py
geekonedge/spotify
1f4cf733a1fb11ab96259ed1e229b141e5c696f3
[ "MIT" ]
1
2018-08-31T21:18:58.000Z
2018-08-31T21:18:58.000Z
from spotify.object.followers import Followers from spotify.object.image import Image from spotify.resource import Instance, Resource from spotify.v1.user.playlist import PlaylistList class UserList(Resource): def get(self, id): return UserContext(self.version, id) class UserContext(Resource): def...
23.486486
76
0.659379
199
1,738
5.61809
0.236181
0.09839
0.087657
0.118068
0
0
0
0
0
0
0
0.00075
0.232451
1,738
73
77
23.808219
0.837331
0
0
0.235294
0
0
0.037399
0
0
0
0
0
0
1
0.27451
false
0
0.078431
0.196078
0.647059
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
b648deda6faa5456c8ec9d0f40c356e520010119
2,952
py
Python
tests/test_overall.py
invanalabs/web-parser
dca9c6354317ec7187f46fd270092372b39f63f8
[ "Apache-2.0" ]
1
2019-10-06T23:11:32.000Z
2019-10-06T23:11:32.000Z
tests/test_overall.py
crawlerflow/extraction-engine
dca9c6354317ec7187f46fd270092372b39f63f8
[ "Apache-2.0" ]
2
2020-03-11T09:33:03.000Z
2020-03-18T21:12:28.000Z
tests/test_overall.py
crawlerflow/extraction-engine
dca9c6354317ec7187f46fd270092372b39f63f8
[ "Apache-2.0" ]
null
null
null
from web_parsers.parsers import HTMLParser from web_parsers.utils import yaml_to_json import os from web_parsers.manifest import WebParserManifest import pytest path = os.getcwd() def test_overall_web_parser_engine(): html = open("{}/tests/page.html".format(path), "r").read() extractor_manifest = yaml_to_jso...
39.891892
106
0.705623
372
2,952
5.397849
0.225806
0.101594
0.026892
0.044821
0.780378
0.748506
0.719622
0.667829
0.667829
0.625
0
0.001212
0.161585
2,952
73
107
40.438356
0.810101
0
0
0.491803
0
0
0.199865
0.047425
0
0
0
0
0.311475
1
0.065574
false
0
0.081967
0
0.147541
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
b65772b175d95efbb847f01b32e7728f74b34cf0
90
py
Python
django_mail_admin/__init__.py
delneg/django_mail_admin
24b2dc7006257912514b1f535b8262bd8c4eb8c1
[ "MIT" ]
3
2017-11-19T19:37:42.000Z
2017-12-05T13:50:49.000Z
django_mail_admin/__init__.py
delneg/django_mail_admin
24b2dc7006257912514b1f535b8262bd8c4eb8c1
[ "MIT" ]
null
null
null
django_mail_admin/__init__.py
delneg/django_mail_admin
24b2dc7006257912514b1f535b8262bd8c4eb8c1
[ "MIT" ]
null
null
null
__version__ = '0.3.1' default_app_config = 'django_mail_admin.apps.DjangoMailAdminConfig'
30
67
0.822222
12
90
5.5
1
0
0
0
0
0
0
0
0
0
0
0.035714
0.066667
90
2
68
45
0.75
0
0
0
0
0
0.544444
0.488889
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b65776839c31cec502052e2ac8240d64eeddffde
1,736
py
Python
tests/unit/rlp/test_log.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
3
2020-09-16T14:47:58.000Z
2021-03-08T13:26:40.000Z
tests/unit/rlp/test_log.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
null
null
null
tests/unit/rlp/test_log.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
1
2021-03-15T11:02:08.000Z
2021-03-15T11:02:08.000Z
# -*- coding: utf-8 -*- """The unit test for hashing module.""" import rlp import pytest from silksnake.rlp import log # pylint: disable=line-too-long @pytest.mark.parametrize("buffer,address,topics,data,should_pass", [ # Valid test list ('d79412b731d23993eb97ba19e7c48ea6428edfd3e3e1c080', '12b731d23993eb9...
48.222222
260
0.747696
153
1,736
8.385621
0.379085
0.034295
0.039751
0.030398
0.080281
0.04053
0
0
0
0
0
0.300605
0.143433
1,736
35
261
49.6
0.562206
0.084677
0
0
0
0
0.401525
0.401525
0
0
0
0
0.130435
1
0.043478
false
0.130435
0.130435
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b65a6f7a42cfe4bfea804fd45664704ea7ed5712
299
py
Python
Scripts/batch-folder/otfs2ufos.py
miguelsousa/hTools2
eab400677c1b21bb2519a7354a142e167c2b39ba
[ "BSD-3-Clause" ]
null
null
null
Scripts/batch-folder/otfs2ufos.py
miguelsousa/hTools2
eab400677c1b21bb2519a7354a142e167c2b39ba
[ "BSD-3-Clause" ]
null
null
null
Scripts/batch-folder/otfs2ufos.py
miguelsousa/hTools2
eab400677c1b21bb2519a7354a142e167c2b39ba
[ "BSD-3-Clause" ]
null
null
null
# [h] convert otfs to ufos '''Convert all otf fonts in a folder into ufos.''' # debug import hTools2 reload(hTools2) if hTools2.DEBUG: import hTools2.dialogs.folder reload(hTools2.dialogs.folder) # imports from hTools2.dialogs.folder import OTFsToUFOsDialog # run OTFsToUFOsDialog()
14.238095
51
0.742475
39
299
5.692308
0.564103
0.189189
0.27027
0
0
0
0
0
0
0
0
0.024096
0.167224
299
20
52
14.95
0.86747
0.294314
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
b65e171598544272167c8d0150879fa8f6b474d9
396
py
Python
comment/serializers.py
shunpochang/connect_love_demo
2d556399b50eae3d991b1ed8ea58f48396aec4db
[ "BSD-3-Clause" ]
8
2016-07-03T01:18:46.000Z
2019-12-14T21:02:41.000Z
comment/serializers.py
shunpochang/connect_love_demo
2d556399b50eae3d991b1ed8ea58f48396aec4db
[ "BSD-3-Clause" ]
null
null
null
comment/serializers.py
shunpochang/connect_love_demo
2d556399b50eae3d991b1ed8ea58f48396aec4db
[ "BSD-3-Clause" ]
null
null
null
from rest_framework import serializers from .models import Comment class CommentSerializer(serializers.ModelSerializer): author = serializers.CharField(source='comment_author') text = serializers.CharField(source='comment_text') ds = serializers.DateTimeField(format='%Y-%m-%d', source='comment_date') c...
36
76
0.727273
44
396
6.454545
0.568182
0.137324
0.183099
0.232394
0
0
0
0
0
0
0
0
0.143939
396
10
77
39.6
0.837758
0
0
0
0
0
0.151515
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
b6866a6354c8e1591f9ad979b3296e440938fa1e
762
py
Python
avg_dist.py
bbasti/average-distance
e289d44f4c05dd2f6087b20c514dbd7272710bcc
[ "MIT" ]
null
null
null
avg_dist.py
bbasti/average-distance
e289d44f4c05dd2f6087b20c514dbd7272710bcc
[ "MIT" ]
null
null
null
avg_dist.py
bbasti/average-distance
e289d44f4c05dd2f6087b20c514dbd7272710bcc
[ "MIT" ]
null
null
null
import random import math import time COUNT = 10_000_000 def compute_average_distance_sum(count): return sum( math.sqrt(((random.random() - random.random()) ** 2) + ((random.random() - random.random()) ** 2)) for _ in range(count) ) / count def compute_average_distance_for_loop(count): ...
24.580645
115
0.648294
107
762
4.448598
0.261682
0.302521
0.302521
0.201681
0.668067
0.59874
0.365546
0.243697
0.243697
0.243697
0
0.0209
0.183727
762
30
116
25.4
0.744373
0
0
0.181818
0
0
0.068241
0
0
0
0
0
0
1
0.090909
false
0
0.136364
0.045455
0.318182
0.090909
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
b698954ceb35537cb0adca3d653be91c1c4975b1
153
py
Python
commands/text_inline.py
davidferguson/lektor-markdown-mactutor
3c1ebac7858358c5158cef6775f4ec3b9a8a07df
[ "MIT" ]
2
2019-06-11T11:49:15.000Z
2020-09-20T21:06:52.000Z
commands/text_inline.py
davidferguson/lektor-markdown-mactutor
3c1ebac7858358c5158cef6775f4ec3b9a8a07df
[ "MIT" ]
null
null
null
commands/text_inline.py
davidferguson/lektor-markdown-mactutor
3c1ebac7858358c5158cef6775f4ec3b9a8a07df
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import re import mistune name = 'text' type = 'inline' regex = re.compile(r'^[\s\S]+?(?=[\\<!\[_*`~\$]|https?://| {2,}\n|$)')
15.3
70
0.48366
20
153
3.65
0.85
0
0
0
0
0
0
0
0
0
0
0.015267
0.143791
153
9
71
17
0.541985
0.137255
0
0
0
0
0.438462
0.284615
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
fcb863f2353ad4f80bffdaa0bfef1f52ab10b25f
182
py
Python
Text/Count_Vowels.py
CicadaMikoto/Projects
ccc3de5184a8dc9fcd108c3ddbe6fd72d6aa380a
[ "MIT" ]
1
2021-01-22T07:50:30.000Z
2021-01-22T07:50:30.000Z
Text/Count_Vowels.py
CicadaMikoto/Projects
ccc3de5184a8dc9fcd108c3ddbe6fd72d6aa380a
[ "MIT" ]
null
null
null
Text/Count_Vowels.py
CicadaMikoto/Projects
ccc3de5184a8dc9fcd108c3ddbe6fd72d6aa380a
[ "MIT" ]
null
null
null
#Count Vowels - #Enter a string and the program counts the number of vowels in the text. #For added complexity have it report a sum of each vowel found. #use a dictionary/hash table
36.4
72
0.774725
33
182
4.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.181319
182
5
73
36.4
0.946309
0.956044
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fcd48e56dac9a20c44807bcfa21f4040de00ea1e
254
py
Python
way/python/pybooks/programmingForKids/multy_table.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
way/python/pybooks/programmingForKids/multy_table.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
way/python/pybooks/programmingForKids/multy_table.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
for i in range(1, 11): for j in range(1, 11): a = i * j if a < 10: a = " " + str(a) elif a < 100: a = " " + str(a) else: a = str(a) print(a, end=" ") print()
21.166667
30
0.30315
35
254
2.2
0.457143
0.155844
0.194805
0.25974
0
0
0
0
0
0
0
0.095652
0.547244
254
11
31
23.090909
0.573913
0
0
0.181818
0
0
0.016461
0
0
0
0
0
0
1
0
false
0
0
0
0
0.181818
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
1
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
fcd74a5e0ffeec20e6b003ae31dc20edbe4a548a
3,265
py
Python
source/conf.py
zhaisilong/zsl-tools
6095b08cd7a7d919ac86d631eb0e76f3a0386179
[ "Apache-2.0" ]
null
null
null
source/conf.py
zhaisilong/zsl-tools
6095b08cd7a7d919ac86d631eb0e76f3a0386179
[ "Apache-2.0" ]
null
null
null
source/conf.py
zhaisilong/zsl-tools
6095b08cd7a7d919ac86d631eb0e76f3a0386179
[ "Apache-2.0" ]
null
null
null
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
33.316327
79
0.656662
373
3,265
5.675603
0.512064
0.018895
0.019839
0.014171
0.068021
0
0
0
0
0
0
0.020864
0.163247
3,265
98
80
33.316327
0.754026
0.538438
0
0.133333
0
0
0.610319
0.414121
0
0
0
0.010204
0
1
0
false
0
0.044444
0
0.044444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
fceaba99b2684c6911b64df7848f0cec912cd8b3
2,226
py
Python
gcsa/attachment.py
DirkReiners/Google-Calendar-Simple-API
b2d3e3e2ab1a8230301d97281346f8f95d762588
[ "MIT" ]
null
null
null
gcsa/attachment.py
DirkReiners/Google-Calendar-Simple-API
b2d3e3e2ab1a8230301d97281346f8f95d762588
[ "MIT" ]
null
null
null
gcsa/attachment.py
DirkReiners/Google-Calendar-Simple-API
b2d3e3e2ab1a8230301d97281346f8f95d762588
[ "MIT" ]
null
null
null
class Attachment: _SUPPORTED_MIME_TYPES = [ "application/vnd.google-apps.audio", "application/vnd.google-apps.document", # Google Docs "application/vnd.google-apps.drawing", # Google Drawing "application/vnd.google-apps.file", # Google Drive file "application/vnd.google-ap...
43.647059
95
0.642857
272
2,226
5.150735
0.349265
0.121342
0.228408
0.27409
0
0
0
0
0
0
0
0.001219
0.262803
2,226
50
96
44.52
0.852529
0.389039
0
0
0
0
0.478723
0.454173
0
0
0
0
0
1
0.037037
false
0
0
0
0.111111
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e056fc376186a99b2cc189e607491d2b1b87923
371
py
Python
import/modA/modB/my_file.py
sbracaloni/pycharm_first_steps
d5eaff97fcb2f312b9f2d9a0406de4ae2505f3dd
[ "BSD-3-Clause" ]
null
null
null
import/modA/modB/my_file.py
sbracaloni/pycharm_first_steps
d5eaff97fcb2f312b9f2d9a0406de4ae2505f3dd
[ "BSD-3-Clause" ]
null
null
null
import/modA/modB/my_file.py
sbracaloni/pycharm_first_steps
d5eaff97fcb2f312b9f2d9a0406de4ae2505f3dd
[ "BSD-3-Clause" ]
null
null
null
A_CONSTANT = 45 def a_sum_function(a: int, b: int) -> int: return a + b def a_mult_function(a: int, b: int) -> int: return a * b class ACarClass: def __init__(self, color: str, speed: int): self.color = color self.speed = speed def describe(self) -> str: return f'I am a {s...
19.526316
76
0.601078
62
371
3.451613
0.419355
0.126168
0.11215
0.121495
0.252336
0.252336
0.252336
0.252336
0.252336
0
0
0.007435
0.274933
371
18
77
20.611111
0.788104
0
0
0
0
0.090909
0.156334
0
0
0
0
0
0
1
0.363636
false
0
0
0.272727
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1e3962e8bc95c76ce904e439dc367cf180c9602d
1,216
py
Python
feedbackcalculator/w2vDictionary.py
konraddysput/BioDocuentAnalysis
7d6da5cae6cc977b49af22339b5d2bae9c5eb3ec
[ "MIT" ]
null
null
null
feedbackcalculator/w2vDictionary.py
konraddysput/BioDocuentAnalysis
7d6da5cae6cc977b49af22339b5d2bae9c5eb3ec
[ "MIT" ]
null
null
null
feedbackcalculator/w2vDictionary.py
konraddysput/BioDocuentAnalysis
7d6da5cae6cc977b49af22339b5d2bae9c5eb3ec
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from typing import Tuple, List class W2vDictionary: def __init__(self, vocabulary_path: str, vocabulary_length: int): self._vocabulary_length = vocabulary_length self._words: List[str] = pd.read_csv( vocabulary_path, sep=' ', quoting=3, header=Non...
32.864865
118
0.610197
142
1,216
4.985915
0.359155
0.135593
0.056497
0.053672
0.144068
0.144068
0.144068
0.144068
0.144068
0.144068
0
0.011641
0.293586
1,216
36
119
33.777778
0.812573
0
0
0.103448
0
0
0.001645
0
0
0
0
0
0
1
0.206897
false
0
0.103448
0.172414
0.517241
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
1e52bc6787a188269e92e6304558a4ead515eecc
325
py
Python
today_mood/urls/admin_url.py
5boon/backend
d3e4406fe5e45848959e8b20dd41b6cc19aac7e0
[ "MIT" ]
4
2020-02-22T04:54:54.000Z
2020-12-15T01:46:33.000Z
today_mood/urls/admin_url.py
5boon/backend
d3e4406fe5e45848959e8b20dd41b6cc19aac7e0
[ "MIT" ]
4
2021-03-30T12:51:38.000Z
2021-09-22T18:42:42.000Z
today_mood/urls/admin_url.py
5boon/backend
d3e4406fe5e45848959e8b20dd41b6cc19aac7e0
[ "MIT" ]
null
null
null
from django.conf.urls import url from django.contrib import admin from django.urls import path, include urlpatterns = [ path('', admin.site.urls), path('jet/dashboard/', include('jet.dashboard.urls', 'jet-dashboard')), # Django JET dashboard URLS url(r'^jet/', include('jet.urls', 'jet')), # Django JET UR...
32.5
104
0.689231
45
325
4.977778
0.333333
0.214286
0.142857
0
0
0
0
0
0
0
0
0
0.150769
325
9
105
36.111111
0.811594
0.126154
0
0
0
0
0.217082
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1e53a7ad71bd05a9a6ea85d2cbe258ec4de8e94f
251
py
Python
Semana_5/test_dividir.py
ssanche70/ProgramacionEAN20191
2267122e807f7048c4c08eb76a3f5a7c67cbbe9e
[ "MIT" ]
null
null
null
Semana_5/test_dividir.py
ssanche70/ProgramacionEAN20191
2267122e807f7048c4c08eb76a3f5a7c67cbbe9e
[ "MIT" ]
null
null
null
Semana_5/test_dividir.py
ssanche70/ProgramacionEAN20191
2267122e807f7048c4c08eb76a3f5a7c67cbbe9e
[ "MIT" ]
null
null
null
from unittest import TestCase import Semana_5.ejemplos_if_2 as f class TestDividir(TestCase): def test_dividir(self): self.assertEquals(f.dividir(6,2),3.0) self.assertRaises(ZeroDivisionError) self.assertRaises(TypeError)
27.888889
45
0.737052
33
251
5.484848
0.727273
0.176796
0
0
0
0
0
0
0
0
0
0.028986
0.175299
251
8
46
31.375
0.845411
0
0
0
0
0
0
0
0
0
0
0
0.428571
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
1
0
0
3
1e836247ce189cd367de00ecb8bf977d1debb4bd
73
py
Python
1-DiveIntoPython/week4/demo.py
mamoudmatook/PythonSpecializaionInRussian
3340780b2f8a876a0f59e22036147fd98909d545
[ "MIT" ]
null
null
null
1-DiveIntoPython/week4/demo.py
mamoudmatook/PythonSpecializaionInRussian
3340780b2f8a876a0f59e22036147fd98909d545
[ "MIT" ]
null
null
null
1-DiveIntoPython/week4/demo.py
mamoudmatook/PythonSpecializaionInRussian
3340780b2f8a876a0f59e22036147fd98909d545
[ "MIT" ]
null
null
null
import tempfile a = tempfile.TemporaryFile() print(type(a)) print(a.name)
18.25
28
0.767123
11
73
5.090909
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.082192
73
4
29
18.25
0.835821
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1e8676388b07d8ba9158c160cbb521177c4f5645
109
py
Python
tournaments/exerciseElaboration/exerciseElaboration.py
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
5
2020-02-06T09:51:22.000Z
2021-03-19T00:18:44.000Z
tournaments/exerciseElaboration/exerciseElaboration.py
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
null
null
null
tournaments/exerciseElaboration/exerciseElaboration.py
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
3
2019-09-27T13:06:21.000Z
2021-04-20T23:13:17.000Z
def exerciseElaboration(p, n): p = str(p) x = p + "0" * n + p return sum(map(int,str(int(x)**2)))
27.25
39
0.522936
20
109
2.85
0.6
0.070175
0
0
0
0
0
0
0
0
0
0.024691
0.256881
109
4
39
27.25
0.679012
0
0
0
0
0
0.009091
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1e99da37404cf29b14333a406e90c8ae02380490
765
py
Python
amqpstorm/tests/unit/management/test_basic.py
ZygusPatryk/amqpstorm
0f3ad84a529f12769d34638a88c38f3055cb05cd
[ "MIT" ]
140
2016-06-07T18:53:57.000Z
2022-03-23T01:50:15.000Z
amqpstorm/tests/unit/management/test_basic.py
ZygusPatryk/amqpstorm
0f3ad84a529f12769d34638a88c38f3055cb05cd
[ "MIT" ]
85
2016-04-11T23:32:32.000Z
2022-03-19T07:21:21.000Z
amqpstorm/tests/unit/management/test_basic.py
ZygusPatryk/amqpstorm
0f3ad84a529f12769d34638a88c38f3055cb05cd
[ "MIT" ]
38
2016-04-20T20:21:13.000Z
2022-03-23T05:31:58.000Z
from amqpstorm.management.basic import Basic from amqpstorm.tests.utility import FakeHTTPClient from amqpstorm.tests.utility import TestFramework class BasicTests(TestFramework): def test_basic_get_with_payload(self): def on_post_with_payload(name): return [{'payload': name}] api = B...
30.6
65
0.69281
99
765
5.131313
0.292929
0.070866
0.07874
0.098425
0.688976
0.425197
0.425197
0.425197
0.425197
0.259843
0
0.006483
0.193464
765
24
66
31.875
0.816856
0
0
0.25
0
0
0.07451
0
0
0
0
0
0.125
1
0.25
false
0
0.1875
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1eb1684a62357c88ac87a0247137db49fa2bf8b5
460
py
Python
ticketbis/tests/test_oauth.py
ticketbis/ticketbis-python-api-client
c4a4b45ec1df9e217e940283828f29dacfaf246c
[ "Apache-2.0" ]
7
2015-06-11T16:05:54.000Z
2015-06-30T10:34:56.000Z
ticketbis/tests/test_oauth.py
ticketbis/ticketbis-python-api-client
c4a4b45ec1df9e217e940283828f29dacfaf246c
[ "Apache-2.0" ]
1
2015-08-27T22:42:51.000Z
2015-08-28T06:47:06.000Z
ticketbis/tests/test_oauth.py
ticketbis/ticketbis-python-api-client
c4a4b45ec1df9e217e940283828f29dacfaf246c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- # (c) 2015 Ticketbis import logging; log = logging.getLogger(__name__) from . import BaseAuthenticationTestCase import six import ticketbis class OAuthEndpointTestCase(BaseAuthenticationTestCase): def test_auth_url(self): url = self.api.oauth.auth_url() ...
24.210526
56
0.706522
58
460
5.431034
0.724138
0.044444
0
0
0
0
0
0
0
0
0
0.01355
0.197826
460
18
57
25.555556
0.840108
0.223913
0
0
0
0
0
0
0
0
0
0
0.1
1
0.2
false
0.1
0.4
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
1eccd4df67c1a482daaacae84c762df08c98018c
228
py
Python
examples/eg_02/client.py
likianta/flask-native-call
b8de98c84ab26eda2135dc50667d275ba8944774
[ "MIT" ]
null
null
null
examples/eg_02/client.py
likianta/flask-native-call
b8de98c84ab26eda2135dc50667d275ba8944774
[ "MIT" ]
null
null
null
examples/eg_02/client.py
likianta/flask-native-call
b8de98c84ab26eda2135dc50667d275ba8944774
[ "MIT" ]
null
null
null
from flask_native_stubs import setup_client from flask_native_stubs.request import session setup_client('127.0.0.1', 8081) resp = session.post('hello-world', { 'a': 123, 'b': True, 'c': 'hello from client!' }) print(resp)
22.8
50
0.714912
36
228
4.361111
0.638889
0.11465
0.191083
0.254777
0
0
0
0
0
0
0
0.065657
0.131579
228
9
51
25.333333
0.727273
0
0
0
0
0
0.179825
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ed8166570810a7bced952261429ff1b98103795
76
py
Python
hpo_downloader/cafa4/__init__.py
LucaCappelletti94/hpo_downloader
14497478626c234539659b9f55b16496e6b6b86b
[ "MIT" ]
null
null
null
hpo_downloader/cafa4/__init__.py
LucaCappelletti94/hpo_downloader
14497478626c234539659b9f55b16496e6b6b86b
[ "MIT" ]
null
null
null
hpo_downloader/cafa4/__init__.py
LucaCappelletti94/hpo_downloader
14497478626c234539659b9f55b16496e6b6b86b
[ "MIT" ]
null
null
null
from .cafa4_mapping import cafa4_mapping __all__ = [ "cafa4_mapping" ]
12.666667
40
0.736842
9
76
5.444444
0.555556
0.734694
0
0
0
0
0
0
0
0
0
0.048387
0.184211
76
5
41
15.2
0.741935
0
0
0
0
0
0.171053
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9495d5c669b1821d86c88d3dfbac80f44c24f3db
627
py
Python
posix_checkapi/TRACES/POT/ut_lind_fs_rmdir.py
JustinCappos/checkapi
2508c414869eda3479e1384b1bea65ec1e749d3b
[ "Apache-2.0" ]
null
null
null
posix_checkapi/TRACES/POT/ut_lind_fs_rmdir.py
JustinCappos/checkapi
2508c414869eda3479e1384b1bea65ec1e749d3b
[ "Apache-2.0" ]
null
null
null
posix_checkapi/TRACES/POT/ut_lind_fs_rmdir.py
JustinCappos/checkapi
2508c414869eda3479e1384b1bea65ec1e749d3b
[ "Apache-2.0" ]
null
null
null
import lind_test_server from lind_fs_constants import * # Let's add a few directories to the system and see if it works... lind_test_server._blank_fs_init() lind_test_server.mkdir_syscall('/bar',S_IRWXA) lind_test_server.mkdir_syscall('/bar/baz',S_IRWXA) lind_test_server.access_syscall('/bar/baz',F_OK) # should n...
19.59375
66
0.767145
102
627
4.411765
0.5
0.142222
0.248889
0.084444
0.444444
0.417778
0.16
0.16
0.16
0
0
0
0.124402
627
31
67
20.225806
0.819672
0.132376
0
0.526316
0
0
0.227188
0
0
0
0
0
0
0
null
null
0.105263
0.105263
null
null
0.105263
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
949662f63385fed69d480341cbda10da1fc2693e
391
py
Python
holdingsparser/sec.py
mhadam/holdingsparser
c2f58acf6414e417ff435bb01ecbb8c37be50d77
[ "MIT" ]
9
2018-04-23T23:35:21.000Z
2021-11-03T04:34:09.000Z
holdingsparser/sec.py
mhadam/holdingsparser
c2f58acf6414e417ff435bb01ecbb8c37be50d77
[ "MIT" ]
2
2021-05-06T14:38:14.000Z
2021-05-08T01:17:33.000Z
holdingsparser/sec.py
mhadam/holdingsparser
c2f58acf6414e417ff435bb01ecbb8c37be50d77
[ "MIT" ]
4
2018-08-18T18:09:06.000Z
2021-06-21T02:02:07.000Z
import requests from bs4 import BeautifulSoup from holdingsparser.scrape import find_holdings_document_url def get_holdings_document_url(filings_url: str) -> str: filings_page = requests.get(filings_url) filings_page_soup = BeautifulSoup(filings_page.text, "html.parser") holdings_document_url = find_hol...
30.076923
73
0.823529
52
391
5.788462
0.403846
0.265781
0.315615
0.152824
0
0
0
0
0
0
0
0.002907
0.120205
391
12
74
32.583333
0.872093
0
0
0
0
0
0.028133
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
94a05df28d6bf763e3253c77375c3449438146d0
190
py
Python
tegaki/__meta__.py
RShirohara/handwriting_detection
f24aba8ac695fef064d090db78229ab482f342cd
[ "MIT" ]
null
null
null
tegaki/__meta__.py
RShirohara/handwriting_detection
f24aba8ac695fef064d090db78229ab482f342cd
[ "MIT" ]
1
2021-02-24T00:31:12.000Z
2021-02-26T00:11:24.000Z
tegaki/__meta__.py
RShirohara/handwriting_detection
f24aba8ac695fef064d090db78229ab482f342cd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # author: @RShirohara __version__ = "0.1.1" __doc__ = f""" tegaki v{__version__} Released under MIT License. https://github.com/RShirohara/handwriting_detection """
19
51
0.705263
24
190
5.041667
0.875
0
0
0
0
0
0
0
0
0
0
0.023952
0.121053
190
9
52
21.111111
0.700599
0.215789
0
0
0
0
0.739726
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
94af6577e462a99506061376cb4372690328de80
468
py
Python
lib/python/src/cat/message.py
BerryCol/cat
98eae8009b0e1e4cab58ef18351cc7436397bd82
[ "Apache-2.0" ]
1
2019-04-17T08:11:44.000Z
2019-04-17T08:11:44.000Z
lib/python/src/cat/message.py
BerryCol/cat
98eae8009b0e1e4cab58ef18351cc7436397bd82
[ "Apache-2.0" ]
null
null
null
lib/python/src/cat/message.py
BerryCol/cat
98eae8009b0e1e4cab58ef18351cc7436397bd82
[ "Apache-2.0" ]
1
2019-04-17T08:12:06.000Z
2019-04-17T08:12:06.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: stdrickforce (Tengyuan Fan) # Email: <stdrickforce@gmail.com> <fantengyuan@meituan.com> from .const import ( CAT_SUCCESS, CAT_ERROR ) class NullMessage(object): CAT_SUCCESS = CAT_SUCCESS CAT_ERROR = CAT_ERROR def __init__(self, mtype, mna...
16.137931
59
0.630342
58
468
4.87931
0.603448
0.106007
0.137809
0.127208
0
0
0
0
0
0
0
0.002874
0.25641
468
28
60
16.714286
0.810345
0.290598
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.266667
0.066667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
94b10f90ca345fe7cd65df9ca88745dd7582c3fa
116
py
Python
webapp/starter/tracker/urls.py
jersobh/docker-covidoff
a0d62f6f7c2bae5f1e6a567abdcbf59a90a5e03f
[ "MIT" ]
null
null
null
webapp/starter/tracker/urls.py
jersobh/docker-covidoff
a0d62f6f7c2bae5f1e6a567abdcbf59a90a5e03f
[ "MIT" ]
6
2020-03-19T20:13:44.000Z
2021-06-10T18:42:30.000Z
webapp/starter/tracker/urls.py
jersobh/docker-covidoff
a0d62f6f7c2bae5f1e6a567abdcbf59a90a5e03f
[ "MIT" ]
null
null
null
from django.urls import path from tracker.views import MatchView urlpatterns = [ path('', MatchView.as_view()), ]
16.571429
35
0.741379
15
116
5.666667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.137931
116
6
36
19.333333
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
94bee250abcbadb1196b85fb4ce4db5ee766b07c
13,337
py
Python
source/rttov_test/profile-datasets-py/div83/068.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
source/rttov_test/profile-datasets-py/div83/068.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
1
2022-03-12T12:19:59.000Z
2022-03-12T12:19:59.000Z
source/rttov_test/profile-datasets-py/div83/068.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
""" Profile ../profile-datasets-py/div83/068.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div83/068.py" self["Q"] = numpy.array([ 2.83917200e+00, 3.51202800e+00, 4.81389700e+00, 6.13220200e+00, 6.51049800e+00, 6.51553800e+00, 6.5143...
57.735931
92
0.572992
2,008
13,337
3.804283
0.465637
0.007069
0.00864
0.014138
0.014923
0.014923
0.007854
0.007854
0.007854
0.007854
0
0.70254
0.264977
13,337
230
93
57.986957
0.076711
0.007123
0
0
0
0
0.018827
0.002646
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
94c9c10cb9df02208764cfa429c1ca0338c58cb1
515
py
Python
tests/test_ec2/helpers.py
harveywi/moto
3a5d857a60c3a2d140ed2c8adfe8dcaf71a4cac8
[ "Apache-2.0" ]
2
2018-01-29T14:50:38.000Z
2018-05-12T10:45:31.000Z
tests/test_ec2/helpers.py
harveywi/moto
3a5d857a60c3a2d140ed2c8adfe8dcaf71a4cac8
[ "Apache-2.0" ]
2
2021-03-31T20:15:51.000Z
2021-12-13T20:50:52.000Z
tests/test_ec2/helpers.py
harveywi/moto
3a5d857a60c3a2d140ed2c8adfe8dcaf71a4cac8
[ "Apache-2.0" ]
12
2017-09-06T22:11:15.000Z
2021-05-28T17:22:31.000Z
import six from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import serialization from cryptography.hazmat.primitives.asymmetric import rsa def rsa_check_private_key(private_key_material): assert isinstance(private_key_material, six.string_types) private_key = seri...
32.1875
61
0.801942
62
515
6.387097
0.467742
0.176768
0.166667
0.161616
0
0
0
0
0
0
0
0
0.132039
515
15
62
34.333333
0.885906
0
0
0
0
0
0.009709
0
0
0
0
0
0.181818
1
0.090909
false
0.090909
0.363636
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
94ee5a12ea1ae18bd43e84484ff140d4ebbe909a
243
py
Python
src/gedml/launcher/creators/factories/recorders_creator.py
wangck20/GeDML
1f76ac2094d7b88be7fd4eb6145e5586e547b9ca
[ "MIT" ]
25
2021-09-06T13:26:02.000Z
2022-01-06T13:25:24.000Z
src/gedml/launcher/creators/factories/recorders_creator.py
wangck20/GeDML
1f76ac2094d7b88be7fd4eb6145e5586e547b9ca
[ "MIT" ]
1
2021-09-09T08:29:29.000Z
2021-09-13T15:05:59.000Z
src/gedml/launcher/creators/factories/recorders_creator.py
wangck20/GeDML
1f76ac2094d7b88be7fd4eb6145e5586e547b9ca
[ "MIT" ]
2
2021-09-07T08:44:41.000Z
2021-09-09T08:31:55.000Z
from .base_creator import BaseCreator from .... import recorder class recordersCreator(BaseCreator): def __init__(self, **kwargs): super().__init__(**kwargs) def prepare_packages(self): self.package = [recorder]
27
37
0.679012
25
243
6.2
0.64
0
0
0
0
0
0
0
0
0
0
0
0.205761
243
9
38
27
0.803109
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
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
94fbac7111ba3ac3d43fcf0dae71b546bd247eeb
142
py
Python
snippets/parse2.py
ericwhyne/mtgtools
d4eda1f82da94badd26d2b78af611f1eabff1284
[ "BSD-2-Clause" ]
null
null
null
snippets/parse2.py
ericwhyne/mtgtools
d4eda1f82da94badd26d2b78af611f1eabff1284
[ "BSD-2-Clause" ]
null
null
null
snippets/parse2.py
ericwhyne/mtgtools
d4eda1f82da94badd26d2b78af611f1eabff1284
[ "BSD-2-Clause" ]
1
2019-06-06T20:27:30.000Z
2019-06-06T20:27:30.000Z
#!/usr/bin/python import json import sys infile = sys.argv[1] with open(infile) as json_file: d = json.load(json_file) print d['name']
12.909091
31
0.690141
25
142
3.84
0.68
0.166667
0
0
0
0
0
0
0
0
0
0.008475
0.169014
142
10
32
14.2
0.805085
0.112676
0
0
0
0
0.032
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
94ffead1819a30a728b3d532a248418bb30055fa
3,376
py
Python
animation_client/api_wrapper/obj_api_wrapper.py
AO-StreetArt/AeselAnimationClient
c237a327d837a034be733d31e43a6da22869f94c
[ "Apache-2.0" ]
null
null
null
animation_client/api_wrapper/obj_api_wrapper.py
AO-StreetArt/AeselAnimationClient
c237a327d837a034be733d31e43a6da22869f94c
[ "Apache-2.0" ]
null
null
null
animation_client/api_wrapper/obj_api_wrapper.py
AO-StreetArt/AeselAnimationClient
c237a327d837a034be733d31e43a6da22869f94c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Apache2 License Notice Copyright 2018 Alex Barry Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
26.170543
102
0.678021
476
3,376
4.504202
0.231092
0.069963
0.091418
0.020989
0.143657
0
0
0
0
0
0
0.01131
0.240521
3,376
128
103
26.375
0.824883
0.174467
0
0.025
0
0
0
0
0
0
0
0
0
1
0.3875
false
0
0
0.1875
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a20474f4d2ae23b9f80a6c82a5f4e6a36d8cc7e9
593
py
Python
bqskit/utils/__init__.py
jkalloor3/bqskit
ad34a6eae3c0e62d2bd960cd4cd841ba8e845811
[ "BSD-3-Clause-LBNL" ]
null
null
null
bqskit/utils/__init__.py
jkalloor3/bqskit
ad34a6eae3c0e62d2bd960cd4cd841ba8e845811
[ "BSD-3-Clause-LBNL" ]
null
null
null
bqskit/utils/__init__.py
jkalloor3/bqskit
ad34a6eae3c0e62d2bd960cd4cd841ba8e845811
[ "BSD-3-Clause-LBNL" ]
null
null
null
""" ========================================================== BQSKit Utility Classes and Functions (:mod:`bqskit.utils`) ========================================================== .. currentmodule:: bqskit.utils .. rubric:: Utility Classes .. autosummary:: :toctree: autogen :recursive: CachedClass .. ...
17.441176
58
0.546374
46
593
6.869565
0.586957
0.10443
0.158228
0.21519
0
0
0
0
0
0
0
0
0.172007
593
33
59
17.969697
0.643585
0.795953
0
0
0
0
0.097345
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a206e1e83b3ed42a2fdd17e74b2768390f167e17
832
py
Python
agents/BaseAgent.py
maartenbuyl/memory-enhanced-maze-exploration
e897b14ac3678a6d9a80d1366eaec9ebaa13255e
[ "MIT" ]
null
null
null
agents/BaseAgent.py
maartenbuyl/memory-enhanced-maze-exploration
e897b14ac3678a6d9a80d1366eaec9ebaa13255e
[ "MIT" ]
null
null
null
agents/BaseAgent.py
maartenbuyl/memory-enhanced-maze-exploration
e897b14ac3678a6d9a80d1366eaec9ebaa13255e
[ "MIT" ]
null
null
null
class BaseAgent(object): def __init__(self, config): self.device = config.device self.num_actions = config.action_dim self.observation_dim = config.observation_dim self.discount_factor = config.discount_factor self.grad_clip_val = config.grad_clip_val self.batch_siz...
29.714286
93
0.707933
92
832
6.152174
0.445652
0.212014
0.190813
0.130742
0
0
0
0
0
0
0
0.00155
0.22476
832
27
94
30.814815
0.875969
0
0
0.263158
0
0
0
0
0
0
0
0
0
1
0.315789
false
0
0
0
0.368421
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
1
0
0
0
0
0
0
0
3
a215e5bf401976cae22d86e51e7d1b45dcc2ff16
1,877
py
Python
airline/flights/models.py
Sumanth-Talluri/Airline-Management-System
23cb740fec71b496acbfa9ab8cf50384e46d66ae
[ "MIT" ]
7
2020-08-14T04:45:18.000Z
2021-11-17T13:57:05.000Z
airline/flights/models.py
Sumanth-Talluri/Airline-Management-System
23cb740fec71b496acbfa9ab8cf50384e46d66ae
[ "MIT" ]
null
null
null
airline/flights/models.py
Sumanth-Talluri/Airline-Management-System
23cb740fec71b496acbfa9ab8cf50384e46d66ae
[ "MIT" ]
4
2020-12-15T13:48:24.000Z
2022-03-11T05:58:34.000Z
from django.db import models # Create your models here. # models are python classes which represent each table # Airport model class Airport(models.Model): # below are the rows for Airport tabel # there'll be a id row by default which is PK and AI code = models.CharField(max_length=3) city = models.C...
36.096154
90
0.714438
271
1,877
4.859779
0.372694
0.068337
0.082005
0.109339
0.455581
0.356872
0.356872
0.312832
0.312832
0.229309
0
0.007422
0.210442
1,877
51
91
36.803922
0.881242
0.491742
0
0.142857
0
0
0.132762
0
0
0
0
0
0
1
0.142857
false
0.095238
0.047619
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
bf4378e920ea708aa6aa8a2c3259377bfc70fba7
971
py
Python
integration-testing/casperlabs_local_net/errors.py
hnjolles1/CasperLabs
39e456bcba4c87feb53016f47e5bbf665176d2e2
[ "Apache-2.0" ]
1
2020-01-15T08:33:56.000Z
2020-01-15T08:33:56.000Z
integration-testing/casperlabs_local_net/errors.py
mpapierski/CasperLabs
1f8741f8ef28447f87f3844784b3c4291041df3b
[ "Apache-2.0" ]
15
2019-05-03T17:41:49.000Z
2020-03-17T16:54:45.000Z
integration-testing/casperlabs_local_net/errors.py
arcolife/CasperLabs
91f839ff262dd7eae4d862a0501a05f1ab7c59f8
[ "Apache-2.0" ]
null
null
null
from typing import Tuple, Union class InterruptedException(Exception): pass class CasperLabsNodeAddressNotFoundError(Exception): pass class NonZeroExitCodeError(Exception): def __init__( self, command: Tuple[Union[int, str], ...], exit_code: int, output: str ): self.command = comma...
25.552632
104
0.680742
102
971
6.166667
0.284314
0.09539
0.101749
0.127186
0.241653
0.155803
0.155803
0.155803
0.155803
0.155803
0
0
0.204943
971
37
105
26.243243
0.814767
0
0
0.375
0
0.041667
0.088568
0.048404
0
0
0
0
0
1
0.208333
false
0.083333
0.041667
0.041667
0.541667
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
bf4f7aa11ed03b8dac003b91107e8dec5d1258aa
4,173
py
Python
test/test_normal.py
dakc/cronpy
6edb324c621f691b2840dcd6b54087b1044417ed
[ "MIT" ]
6
2019-11-12T23:39:43.000Z
2020-11-12T21:10:56.000Z
test/test_normal.py
dakc/cronpi
6edb324c621f691b2840dcd6b54087b1044417ed
[ "MIT" ]
null
null
null
test/test_normal.py
dakc/cronpi
6edb324c621f691b2840dcd6b54087b1044417ed
[ "MIT" ]
1
2019-11-06T23:43:48.000Z
2019-11-06T23:43:48.000Z
import unittest from pathlib import Path import sys sys.path.append(str(Path(__file__).parent.parent)) import cronpi from cronpi import get_job_list class Testcronpi(unittest.TestCase): def test_deploy_daily(self): """ deploy_daily """ cronpi.run_every_day("ls", isOverwrite...
35.666667
100
0.581596
607
4,173
3.777595
0.126853
0.090275
0.095944
0.183166
0.765809
0.710423
0.672045
0.672045
0.672045
0.623201
0
0.076777
0.241553
4,173
117
101
35.666667
0.647709
0.03307
0
0.115942
0
0
0.157527
0
0
0
0
0
0.318841
1
0.101449
false
0
0.072464
0
0.188406
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bf8ef10365ef3b614b417ed6c8117cb575084baf
963
py
Python
lsf_ibutils/ibsub/binding_specs.py
seanfisk/lsf-ibutils
a22c738376d656ab38f4bfa3572d4693288098cb
[ "MIT" ]
null
null
null
lsf_ibutils/ibsub/binding_specs.py
seanfisk/lsf-ibutils
a22c738376d656ab38f4bfa3572d4693288098cb
[ "MIT" ]
null
null
null
lsf_ibutils/ibsub/binding_specs.py
seanfisk/lsf-ibutils
a22c738376d656ab38f4bfa3572d4693288098cb
[ "MIT" ]
1
2021-06-03T22:32:54.000Z
2021-06-03T22:32:54.000Z
""":mod:`lsf_ibutils.ibsub.binding_specs` -- pinject setup """ from datetime import datetime from pinject import BindingSpec from lsf_ibutils.ibsub.prompts import Prompt from lsf_ibutils.ibsub.input import prompt_for_line, set_completions from lsf_ibutils.ibsub.output import build_command from lsf_ibutils.ibsub impo...
33.206897
74
0.760125
122
963
5.655738
0.344262
0.086957
0.108696
0.110145
0
0
0
0
0
0
0
0
0.156802
963
28
75
34.392857
0.849754
0.057113
0
0
0
0
0.116537
0.052164
0
0
0
0
0
1
0.157895
false
0
0.315789
0.105263
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
bfd8090197cd844efc7534502a8d1dfa09b1d32e
96
py
Python
sif_nats/__init__.py
rudineirk/sif
8d6094609d7eac351b241603337a210ef688b96a
[ "MIT" ]
null
null
null
sif_nats/__init__.py
rudineirk/sif
8d6094609d7eac351b241603337a210ef688b96a
[ "MIT" ]
null
null
null
sif_nats/__init__.py
rudineirk/sif
8d6094609d7eac351b241603337a210ef688b96a
[ "MIT" ]
null
null
null
from .conn import Nats from .rpc import SifNatsRpc __all__ = [ 'Nats', 'SifNatsRpc', ]
12
27
0.645833
11
96
5.272727
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.239583
96
7
28
13.714286
0.794521
0
0
0
0
0
0.145833
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
44ab117f850ad048ad6d1c5746b9cf7ad0072e9c
154
py
Python
certificate/apps.py
Gornstats/HTMX-Django-Experiments
14553a6086412b243dfcc1f2c2a71f9e17adf82a
[ "BSD-2-Clause" ]
1
2021-12-24T18:14:35.000Z
2021-12-24T18:14:35.000Z
certificate/apps.py
Gornstats/HTMX-Django-Experiments
14553a6086412b243dfcc1f2c2a71f9e17adf82a
[ "BSD-2-Clause" ]
null
null
null
certificate/apps.py
Gornstats/HTMX-Django-Experiments
14553a6086412b243dfcc1f2c2a71f9e17adf82a
[ "BSD-2-Clause" ]
null
null
null
from django.apps import AppConfig class CertificateConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'certificate'
22
56
0.772727
17
154
6.882353
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.142857
154
6
57
25.666667
0.886364
0
0
0
0
0
0.25974
0.188312
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
44ac3cf430b5bda549ab8d1927958bfc9fc334f1
199
py
Python
web/dataset/stopword.py
java-lang-programming/web_and_machine_learning
e76109b63f1c6b3a380bb7d4ce6ed132c0cddd1e
[ "Apache-2.0" ]
null
null
null
web/dataset/stopword.py
java-lang-programming/web_and_machine_learning
e76109b63f1c6b3a380bb7d4ce6ed132c0cddd1e
[ "Apache-2.0" ]
null
null
null
web/dataset/stopword.py
java-lang-programming/web_and_machine_learning
e76109b63f1c6b3a380bb7d4ce6ed132c0cddd1e
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 import sys sys.path.append('..') import os import numpy from nltk.corpus import stopwords # nltk.download('stopwords') def stop_words(lang='english'): return stopwords.words(lang)
18.090909
33
0.748744
29
199
5.103448
0.689655
0.121622
0
0
0
0
0
0
0
0
0
0.005682
0.115578
199
10
34
19.9
0.835227
0.201005
0
0
0
0
0.057692
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0.142857
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
44cc3d923f006675689c9648626ef7a96a0eadb8
9,486
py
Python
tests/test_grid.py
pji/life
4b38e70725a6f000c92f3aea7ddc593bd43f2749
[ "MIT" ]
null
null
null
tests/test_grid.py
pji/life
4b38e70725a6f000c92f3aea7ddc593bd43f2749
[ "MIT" ]
null
null
null
tests/test_grid.py
pji/life
4b38e70725a6f000c92f3aea7ddc593bd43f2749
[ "MIT" ]
null
null
null
""" test_grid ~~~~~~~~~ This provides the unit tests for life.grid.py. """ import unittest as ut from unittest.mock import call, patch from life import grid class GridTestCase(ut.TestCase): def test_initialization(self): """When initialized with width and length, the Grid object should store a c...
30.210191
78
0.45836
1,021
9,486
4.165524
0.149853
0.369151
0.430285
0.418528
0.613449
0.590172
0.555608
0.520574
0.474724
0.409828
0
0.013327
0.375079
9,486
313
79
30.306709
0.704116
0.161712
0
0.598291
0
0
0.071382
0
0
0
0
0
0.055556
1
0.068376
false
0
0.012821
0.004274
0.089744
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
44d924fc03911298268278f5832f846bbad2ef8b
1,692
py
Python
ssd_dump_caffe_models.py
YuTingLiu/ssd_detectors
210c9b0b2c767e7a5e2fcbb36aacb5cc52b54c97
[ "MIT" ]
316
2018-06-11T07:29:01.000Z
2022-02-12T12:26:26.000Z
ssd_dump_caffe_models.py
YuTingLiu/ssd_detectors
210c9b0b2c767e7a5e2fcbb36aacb5cc52b54c97
[ "MIT" ]
60
2018-08-25T23:11:14.000Z
2021-08-30T16:57:55.000Z
ssd_dump_caffe_models.py
YuTingLiu/ssd_detectors
210c9b0b2c767e7a5e2fcbb36aacb5cc52b54c97
[ "MIT" ]
97
2018-08-22T12:26:12.000Z
2021-12-03T04:25:29.000Z
from utils.caffe2keras import dump_weights # Note: caffe requires python 2.x and 'ln -s ~/caffe_forks/ssd/data' caffe_home = '~/caffe_forks/ssd' model_proto = caffe_home + '/models/VGGNet/VOC0712/SSD_300x300_ft/deploy.prototxt' model_weights = caffe_home + '/models/VGGNet/VOC0712/SSD_300x300_ft/VGG_VOC0712_SSD_300x3...
54.580645
118
0.829196
250
1,692
5.188
0.176
0.117965
0.092521
0.12953
0.845027
0.783346
0.667695
0.584426
0.520432
0.520432
0
0.094697
0.06383
1,692
30
119
56.4
0.724116
0.039007
0
0.181818
0
0
0.486137
0.475662
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44dbdfa17a57acaca797cf5104bd107f86738f44
499
py
Python
primehub/utils/optionals.py
InfuseAI/primehub-python-sdk
edbdbcb3e41f0c99e4542245de1345a64f509fb4
[ "Apache-2.0" ]
10
2021-09-13T23:14:22.000Z
2022-02-06T06:07:40.000Z
primehub/utils/optionals.py
KellenJohn/primehub-python-sdk
edbdbcb3e41f0c99e4542245de1345a64f509fb4
[ "Apache-2.0" ]
4
2021-08-10T03:10:27.000Z
2021-12-16T02:11:50.000Z
primehub/utils/optionals.py
KellenJohn/primehub-python-sdk
edbdbcb3e41f0c99e4542245de1345a64f509fb4
[ "Apache-2.0" ]
1
2021-12-21T11:59:51.000Z
2021-12-21T11:59:51.000Z
from argparse import ArgumentParser def default_optional_builder(parser: ArgumentParser, name: str, type_of_arg: type): parser.add_argument("--" + name, type=type_of_arg) def toggle_flag(parser: ArgumentParser, name: str): parser.add_argument("--" + name, action="store_true", default=False) def file_flag(...
31.1875
83
0.705411
68
499
5
0.485294
0.176471
0.211765
0.238235
0.182353
0
0
0
0
0
0
0
0.152305
499
15
84
33.266667
0.803783
0
0
0
0
0
0.134269
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0
0.444444
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
44ea6e4ad32f09f9ef737a4017547f12ddcddc1e
373
py
Python
rock_paper_scissors/rules_gestor/views.py
DavidPDP/hand-game
fa3f8a85be0950f93e7e521e948fd5267dfdbcb8
[ "Apache-2.0" ]
null
null
null
rock_paper_scissors/rules_gestor/views.py
DavidPDP/hand-game
fa3f8a85be0950f93e7e521e948fd5267dfdbcb8
[ "Apache-2.0" ]
8
2020-02-22T18:32:42.000Z
2021-09-22T18:38:21.000Z
rules_gestor/views.py
DavidPDP/hand-game-backend
5fe8bdc1d7cf86d4c7c6c456d427b99de925e28f
[ "Apache-2.0" ]
null
null
null
#from django.shortcuts import render #from django.views.decorators.http import require_http_methods #from django.http import JsonResponse #from .gamevariant import get_game_variant #@require_http_methods(['GET']) #def get_game_multimedia_by_mode(request): # multimedia = get_game_variant(request.GET['mode']).multim...
37.3
66
0.809651
49
373
5.918367
0.469388
0.103448
0.124138
0
0
0
0
0
0
0
0
0
0.091153
373
9
67
41.444444
0.855457
0.954424
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7808f64a8c3dd4b1d230328b5e5a50f89bf6b360
20,876
py
Python
data_lab/prototypes/training_pb2.py
davidrichards/lab
b7ddb055f1fe8f839810ba0c5b22baaa8f040678
[ "Apache-2.0" ]
null
null
null
data_lab/prototypes/training_pb2.py
davidrichards/lab
b7ddb055f1fe8f839810ba0c5b22baaa8f040678
[ "Apache-2.0" ]
2
2021-09-28T00:10:31.000Z
2022-02-26T06:14:38.000Z
data_lab/prototypes/training_pb2.py
davidrichards/lab
b7ddb055f1fe8f839810ba0c5b22baaa8f040678
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: training.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_...
35.993103
1,613
0.722696
2,707
20,876
5.306982
0.076838
0.059028
0.062857
0.042322
0.701239
0.670333
0.662537
0.655715
0.645274
0.601559
0
0.041076
0.138197
20,876
579
1,614
36.055268
0.757434
0.03334
0
0.674952
1
0.001912
0.165989
0.092492
0
0
0
0
0
1
0
false
0
0.007648
0
0.007648
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
783e1b236365b020ccaef7865118fa9dccc4959c
169
py
Python
lmctl/cli/commands/actions/cancel_action.py
manojn97/lmctl
844925cb414722351efac90cb97f10c1185eef7a
[ "Apache-2.0" ]
3
2021-07-19T09:46:01.000Z
2022-03-07T13:51:25.000Z
lmctl/cli/commands/actions/cancel_action.py
manojn97/lmctl
844925cb414722351efac90cb97f10c1185eef7a
[ "Apache-2.0" ]
43
2019-08-27T12:36:29.000Z
2020-08-27T14:50:40.000Z
lmctl/cli/commands/actions/cancel_action.py
manojn97/lmctl
844925cb414722351efac90cb97f10c1185eef7a
[ "Apache-2.0" ]
7
2020-09-22T20:32:17.000Z
2022-03-29T12:25:51.000Z
from .action import Action class Cancel(Action): name = 'cancel' group_attrs = { 'help': 'Cancel scenario executions or another supported object' }
21.125
72
0.662722
19
169
5.842105
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.248521
169
7
73
24.142857
0.874016
0
0
0
0
0
0.378698
0
0
0
0
0
0
1
0
false
0
0.166667
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
0
0
1
0
0
3
783e4919f00241946d47e6afbadbc916a921a8e3
671
py
Python
build/lib/heavymodel/data.py
lewisfogden/heavymodel
53507be8b7ce099740126d524f84e8cf84214995
[ "MIT" ]
3
2020-05-22T22:38:56.000Z
2021-11-23T19:38:44.000Z
build/lib/heavymodel/data.py
lewisfogden/heavymodel
53507be8b7ce099740126d524f84e8cf84214995
[ "MIT" ]
2
2020-05-23T21:08:22.000Z
2020-07-10T21:35:06.000Z
build/lib/heavymodel/data.py
lewisfogden/heavymodel
53507be8b7ce099740126d524f84e8cf84214995
[ "MIT" ]
2
2021-01-31T10:37:39.000Z
2022-03-02T09:07:06.000Z
# -*- coding: utf-8 -*- class Data: def __init__(self, d): seqs = tuple, list, set, frozenset for i, j in d.items(): if isinstance(j, dict): setattr(self, i, Data(j)) elif isinstance(j, seqs): setattr(self, i, type(j)(Data(sj) if isinstance(sj...
29.173913
95
0.517139
84
671
3.738095
0.369048
0.127389
0.11465
0.10828
0
0
0
0
0
0
0
0.002288
0.348733
671
23
96
29.173913
0.716247
0.031297
0
0
0
0
0.010786
0
0
0
0
0
0
1
0.277778
false
0
0
0.222222
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
783fd8282eae44164d9d4004fedae91930b00f38
381
py
Python
Config/LoadAssetTypes.py
jeroanan/Gyroscope
105226741ecf57298988d96ff69f3f4f0037da60
[ "MIT" ]
1
2016-09-25T11:18:25.000Z
2016-09-25T11:18:25.000Z
Config/LoadAssetTypes.py
jeroanan/Gyroscope
105226741ecf57298988d96ff69f3f4f0037da60
[ "MIT" ]
10
2015-01-27T22:15:22.000Z
2015-01-30T11:00:05.000Z
Config/LoadAssetTypes.py
jeroanan/Gyroscope
105226741ecf57298988d96ff69f3f4f0037da60
[ "MIT" ]
null
null
null
def load_asset_types(): import logging from Config import LoadJson try: return LoadJson.load_json("Data/AssetTypes.json", "asset_types") except FileNotFoundError: logging.critical("Unable to find Data/AssetTypes.json") return {} except ValueError: logging.critical("D...
29.307692
72
0.677165
42
381
6.047619
0.571429
0.165354
0.212598
0
0
0
0
0
0
0
0
0
0.233596
381
12
73
31.75
0.869863
0
0
0.181818
0
0
0.28084
0
0
0
0
0
0
1
0.090909
true
0
0.181818
0
0.545455
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
784245548c7fe7d3fe2543813ea1e39a3ddb5f77
146
py
Python
shiyanlou_cs596-1805f3c438/integer.py
tongxindao/shiyanlou
1d002ea342deb69066c287db9935f77f49f0a09e
[ "Apache-2.0" ]
null
null
null
shiyanlou_cs596-1805f3c438/integer.py
tongxindao/shiyanlou
1d002ea342deb69066c287db9935f77f49f0a09e
[ "Apache-2.0" ]
null
null
null
shiyanlou_cs596-1805f3c438/integer.py
tongxindao/shiyanlou
1d002ea342deb69066c287db9935f77f49f0a09e
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python3 days = int(input("Enter days:")) months = days // 30 days = days % 30 print("Months = {} Days = {}".format(months, days))
24.333333
51
0.616438
21
146
4.285714
0.571429
0.333333
0
0
0
0
0
0
0
0
0
0.040984
0.164384
146
5
52
29.2
0.696721
0.150685
0
0
0
0
0.260163
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
784af07b869958a482065870cdce1fd486874b90
27,201
py
Python
pysnmp/CISCO-ITP-TC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-ITP-TC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-ITP-TC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-ITP-TC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-ITP-TC-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:46:02 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
73.318059
3,207
0.784089
2,579
27,201
8.269097
0.134936
0.046328
0.085529
0.087686
0.69155
0.679359
0.679359
0.676264
0.654131
0.609116
0
0.077987
0.120363
27,201
370
3,208
73.516216
0.813307
0.011985
0
0.491857
0
0.120521
0.297551
0.002457
0
0
0
0
0
1
0
false
0
0.022801
0
0.983713
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3