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
ad366516d14cd89fabc7c4856c10a77563cea8fc
214
py
Python
tools/copy_diff_snapshots.py
airladon/builder
2cb8aadb5e2c9b0bfcd98cc4d43cc8870ac67818
[ "MIT" ]
2
2021-04-02T10:56:29.000Z
2021-04-02T12:19:10.000Z
tools/copy_diff_snapshots.py
airladon/builder
2cb8aadb5e2c9b0bfcd98cc4d43cc8870ac67818
[ "MIT" ]
1
2021-06-02T00:31:54.000Z
2021-06-02T00:31:54.000Z
tools/copy_diff_snapshots.py
airladon/builder
2cb8aadb5e2c9b0bfcd98cc4d43cc8870ac67818
[ "MIT" ]
null
null
null
import sys sys.path.insert(0, './app/app') from copy_diff_snapshots import copy_diff_snapshots # noqa copy_path = './logs/temp' if len(sys.argv) > 1: copy_path = sys.argv[1] copy_diff_snapshots(copy_path)
21.4
61
0.728972
36
214
4.083333
0.472222
0.163265
0.346939
0.163265
0
0
0
0
0
0
0
0.016304
0.140187
214
9
62
23.777778
0.782609
0.018692
0
0
0
0
0.096154
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad3c1c6d3614b9f2baa799df682f6962d2ab3ec6
823
py
Python
smart-chef-api/src/smartchef/serializers/auth.py
Flusinerd/SoftSol
9eea560853b6414daa4348a70bae6fabd3289c88
[ "MIT" ]
2
2022-03-29T09:27:12.000Z
2022-03-29T09:47:40.000Z
smart-chef-api/src/smartchef/serializers/auth.py
Flusinerd/SoftSol
9eea560853b6414daa4348a70bae6fabd3289c88
[ "MIT" ]
14
2022-03-31T08:30:11.000Z
2022-03-31T09:01:47.000Z
smart-chef-api/src/smartchef/serializers/auth.py
Flusinerd/SoftSol
9eea560853b6414daa4348a70bae6fabd3289c88
[ "MIT" ]
null
null
null
from rest_framework import serializers class LoginRequestSerializer(serializers.Serializer): email = serializers.EmailField() password = serializers.CharField(max_length=100) applicationId = serializers.UUIDField() class TokenPairSerializer(serializers.Serializer): accessToken = serializers.CharFiel...
32.92
58
0.799514
81
823
7.975309
0.358025
0.247678
0.106811
0.134675
0.510836
0.114551
0
0
0
0
0
0.012397
0.117861
823
24
59
34.291667
0.87741
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.125
0.0625
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
ad9271f219a06570c940fb3517045195ab32ea09
275
py
Python
xmantissa/test/historic/test_userInfoSignup1to2.py
jonathanj/mantissa
53e5502aba23ce99be78b27f923a276593033fe8
[ "MIT" ]
6
2016-02-17T15:04:53.000Z
2021-08-20T09:44:10.000Z
xmantissa/test/historic/test_userInfoSignup1to2.py
jonathanj/mantissa
53e5502aba23ce99be78b27f923a276593033fe8
[ "MIT" ]
62
2015-02-04T23:40:55.000Z
2021-02-18T19:56:02.000Z
xmantissa/test/historic/test_userInfoSignup1to2.py
jonathanj/mantissa
53e5502aba23ce99be78b27f923a276593033fe8
[ "MIT" ]
8
2015-11-15T17:26:42.000Z
2020-12-02T06:36:52.000Z
from axiom.test.historic import stubloader from xmantissa.signup import UserInfoSignup class FreeTicketSignupTestCase(stubloader.StubbedTest): def testUpgrade(self): fts = self.store.findUnique(UserInfoSignup) self.assertEqual(len(fts.product.types), 6)
34.375
55
0.778182
30
275
7.133333
0.766667
0
0
0
0
0
0
0
0
0
0
0.004219
0.138182
275
7
56
39.285714
0.898734
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
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
a8e40b5b1a7b0d22a2d22db6e3dfbe9e4512d593
2,370
py
Python
tests/test_uuid_by_string.py
hscspring/uuid-by-string
2f9bdbcac7e280c45b43cd4cea3d8af448c600e8
[ "Apache-2.0" ]
1
2020-10-09T15:49:14.000Z
2020-10-09T15:49:14.000Z
tests/test_uuid_by_string.py
hscspring/uuid-by-string
2f9bdbcac7e280c45b43cd4cea3d8af448c600e8
[ "Apache-2.0" ]
null
null
null
tests/test_uuid_by_string.py
hscspring/uuid-by-string
2f9bdbcac7e280c45b43cd4cea3d8af448c600e8
[ "Apache-2.0" ]
null
null
null
from uuid_by_string import generate_uuid from uuid_by_string.uuid_by_string import ( int32_to_int8, uint8_to_hex, uint8array_to_hex, string_to_char_buffer, md5_hash, sha1_hash, hash_to_uuid) def test_pass(): assert generate_uuid("") def test_uuid(): assert generate_uuid("abc") != generat...
22.358491
73
0.650211
352
2,370
4.059659
0.286932
0.151155
0.10077
0.075577
0.355493
0.253324
0.186144
0.109167
0.109167
0.053184
0
0.107918
0.221941
2,370
105
74
22.571429
0.666486
0
0
0.179104
1
0
0.070042
0.03038
0
0
0
0
0.328358
1
0.268657
true
0.014925
0.029851
0
0.298507
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
a8f544f94c80cc927dfd3cc8202ead5c3a0fd89f
513
py
Python
dftfit/io/minimal.py
costrouc/dftfit
a00354f8f0d611bf57c6925f920c749d8628cf98
[ "MIT" ]
27
2016-08-10T18:55:40.000Z
2021-08-03T08:43:21.000Z
dftfit/io/minimal.py
costrouc/dftfit
a00354f8f0d611bf57c6925f920c749d8628cf98
[ "MIT" ]
null
null
null
dftfit/io/minimal.py
costrouc/dftfit
a00354f8f0d611bf57c6925f920c749d8628cf98
[ "MIT" ]
9
2018-08-26T14:40:14.000Z
2021-09-19T06:12:56.000Z
from .base import MDReader class MinimalMDReader(MDReader): def __init__(self, forces, stress, energy, structure): self._forces = forces self._stress = stress self._energy = energy self._structure = structure @property def forces(self): return self._forces @pr...
19.730769
58
0.631579
54
513
5.777778
0.277778
0.141026
0.179487
0
0
0
0
0
0
0
0
0
0.292398
513
25
59
20.52
0.859504
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0.210526
0.578947
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
d101279934ffb9f5d6b50efc4c7ada7e7ba90b76
51
py
Python
Day_1_Scientific_Python/pandas/_solutions/pandas_03a_selecting_data8.py
paris-saclay-cds/python_workshop_2019
b370d46044719281932337ca4154e1b0b443ad97
[ "BSD-3-Clause" ]
28
2019-02-23T08:41:18.000Z
2020-03-05T03:35:17.000Z
Day_1_Scientific_Python/pandas/_solutions/pandas_03a_selecting_data8.py
paris-saclay-cds/python_workshop_2019
b370d46044719281932337ca4154e1b0b443ad97
[ "BSD-3-Clause" ]
3
2019-02-22T16:02:54.000Z
2019-11-29T06:40:52.000Z
Day_1_Scientific_Python/pandas/_solutions/pandas_03a_selecting_data8.py
paris-saclay-cds/python_workshop_2019
b370d46044719281932337ca4154e1b0b443ad97
[ "BSD-3-Clause" ]
13
2019-03-05T15:48:22.000Z
2021-08-30T14:08:47.000Z
df.loc[df['Surname'].str.startswith('Williams'), :]
51
51
0.686275
7
51
5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.019608
51
1
51
51
0.7
0
0
0
0
0
0.288462
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d12060db80bd9c867d5475f84e91bd959e2c7496
856
py
Python
src/oca_github_bot/config.py
fkantelberg/oca-github-bot
633c1e3fbb63b05ebff1ff9b08d4949ca1e07491
[ "MIT" ]
null
null
null
src/oca_github_bot/config.py
fkantelberg/oca-github-bot
633c1e3fbb63b05ebff1ff9b08d4949ca1e07491
[ "MIT" ]
null
null
null
src/oca_github_bot/config.py
fkantelberg/oca-github-bot
633c1e3fbb63b05ebff1ff9b08d4949ca1e07491
[ "MIT" ]
null
null
null
# Copyright (c) ACSONE SA/NV 2018 # Distributed under the MIT License (http://opensource.org/licenses/MIT). import os HTTP_HOST = os.environ.get("HTTP_HOST") HTTP_PORT = int(os.environ.get("HTTP_PORT") or "8080") GITHUB_SECRET = os.environ.get("GITHUB_SECRET") GITHUB_LOGIN = os.environ.get("GITHUB_LOGIN") GITHUB_TOK...
34.24
87
0.73014
138
856
4.304348
0.369565
0.227273
0.30303
0.107744
0.070707
0
0
0
0
0
0
0.014085
0.087617
856
24
88
35.666667
0.746479
0.120327
0
0
0
0
0.286667
0
0
0
0
0
0
1
0
false
0.066667
0.066667
0
0.066667
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
1
0
0
0
0
0
3
d1370992d5037fae4ac4c8e6b8156d0129ebc7b0
278
py
Python
src/utils/encoder.py
rezkyauliapratama/simple-aggregator
8dcef2887cc7089abc7b499fc4b0320dbf87833e
[ "CC0-1.0" ]
null
null
null
src/utils/encoder.py
rezkyauliapratama/simple-aggregator
8dcef2887cc7089abc7b499fc4b0320dbf87833e
[ "CC0-1.0" ]
null
null
null
src/utils/encoder.py
rezkyauliapratama/simple-aggregator
8dcef2887cc7089abc7b499fc4b0320dbf87833e
[ "CC0-1.0" ]
null
null
null
from io import StringIO def convert_into_bytearray(data: StringIO) -> bytes: content = data.getvalue() return content.encode('UTF-8') def convert_into_stringio(data: bytes) -> StringIO: transform_to_str = str(data, 'UTF-8') return StringIO(transform_to_str)
23.166667
52
0.726619
38
278
5.105263
0.5
0.103093
0.14433
0.226804
0
0
0
0
0
0
0
0.008584
0.161871
278
11
53
25.272727
0.824034
0
0
0
0
0
0.035971
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d13f8afd57a3e1962045d344f89a3e7e2648786b
142
py
Python
cpp/azure/azure/original/__init__.py
chaosannals/zany
6f6132918a777b76664df047e888956e3cc018e1
[ "MIT" ]
1
2019-08-05T07:39:27.000Z
2019-08-05T07:39:27.000Z
cpp/azure/azure/original/__init__.py
chaosannals/zany
6f6132918a777b76664df047e888956e3cc018e1
[ "MIT" ]
null
null
null
cpp/azure/azure/original/__init__.py
chaosannals/zany
6f6132918a777b76664df047e888956e3cc018e1
[ "MIT" ]
null
null
null
#original class Configure: def __init__(self): return None def load(self,path): for line in open(path):
15.777778
31
0.556338
17
142
4.411765
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.359155
142
8
32
17.75
0.824176
0.056338
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
d14b6db4334b734a4ff4b3c2d3e7f0ae41960108
161
py
Python
tests/test_input_elasticity_gt.py
vondrejc/sfepy
8e427af699c4b2858eb096510057abb3ae7e28e8
[ "BSD-3-Clause" ]
null
null
null
tests/test_input_elasticity_gt.py
vondrejc/sfepy
8e427af699c4b2858eb096510057abb3ae7e28e8
[ "BSD-3-Clause" ]
null
null
null
tests/test_input_elasticity_gt.py
vondrejc/sfepy
8e427af699c4b2858eb096510057abb3ae7e28e8
[ "BSD-3-Clause" ]
2
2019-01-14T03:12:34.000Z
2021-05-25T11:44:50.000Z
input_name = '../examples/general_term/elasticity.py' output_name = 'test_elasticity_gt.vtk' from tests_basic import TestInput class Test(TestInput): pass
20.125
53
0.782609
22
161
5.454545
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.118012
161
7
54
23
0.84507
0
0
0
0
0
0.372671
0.372671
0
0
0
0
0
1
0
false
0.2
0.2
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
1
0
0
0
0
0
3
d1502496fac4ba4ff5f72f0b8af28982f0446b83
168
py
Python
comet/__init__.py
dneise/Comet
abaa0da65d69f90a5262d81416477b4e71deb2ad
[ "BSD-2-Clause" ]
15
2015-11-29T18:53:58.000Z
2022-03-09T15:47:30.000Z
comet/__init__.py
dneise/Comet
abaa0da65d69f90a5262d81416477b4e71deb2ad
[ "BSD-2-Clause" ]
29
2016-01-21T18:10:45.000Z
2021-10-01T16:41:12.000Z
comet/__init__.py
dneise/Comet
abaa0da65d69f90a5262d81416477b4e71deb2ad
[ "BSD-2-Clause" ]
11
2016-01-22T14:05:51.000Z
2022-03-09T17:49:56.000Z
__description__ = "VOEvent Broker" __url__ = "https://comet.transientskp.org/" __author__ = "John Swinbank" __contact__ = "john@swinbank.org" __version__ = "3.2.0-pre"
28
43
0.744048
20
168
5.25
0.85
0.228571
0
0
0
0
0
0
0
0
0
0.019868
0.10119
168
5
44
33.6
0.675497
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d158a8c7080093b5a0f0961496558be914c4b352
449
py
Python
python/ga4gh/schemas/pb.py
david4096/ga4gh-schemas
774db498cc047cc64cc070325472c7dba60e6d42
[ "Apache-2.0" ]
114
2015-01-05T22:19:34.000Z
2017-02-18T18:51:22.000Z
python/ga4gh/schemas/pb.py
david4096/ga4gh-schemas
774db498cc047cc64cc070325472c7dba60e6d42
[ "Apache-2.0" ]
608
2015-01-06T00:24:39.000Z
2017-03-09T05:29:16.000Z
python/ga4gh/schemas/pb.py
david4096/ga4gh-schemas
774db498cc047cc64cc070325472c7dba60e6d42
[ "Apache-2.0" ]
98
2015-01-12T18:09:52.000Z
2017-02-15T15:49:17.000Z
""" Utility methods for handling protocol buffer """ from __future__ import division from __future__ import print_function from __future__ import unicode_literals DEFAULT_STRING = '' DEFAULT_INT = 0 def string(val): """ Default value for "string" fields """ return DEFAULT_STRING if val is None else v...
18.708333
49
0.706013
61
449
4.901639
0.491803
0.100334
0.160535
0.120401
0.120401
0.120401
0
0
0
0
0
0.014286
0.22049
449
23
50
19.521739
0.84
0.269488
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
d160c998624b9cc2a1e1eb080fe46529ea2b806b
139
py
Python
master/tutorials/30-days-of-code/30-review-loop/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
master/tutorials/30-days-of-code/30-review-loop/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
master/tutorials/30-days-of-code/30-review-loop/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
#!/bin/python3 import sys t = int(input().strip()) for a0 in range(t): s = input().strip() print("{} {}".format(s[0::2],s[1::2]))
17.375
42
0.532374
24
139
3.083333
0.75
0.27027
0
0
0
0
0
0
0
0
0
0.052174
0.172662
139
8
42
17.375
0.591304
0.093525
0
0
0
0
0.039683
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d16d7e4f3771457a66d70f26dd6b3bcf41eeb9ae
235
py
Python
pyhomeseer/error.py
lenaxia/PyHomeSeer-old
25554836c6fcbc14425cd524656f14f258668eee
[ "MIT" ]
9
2017-11-05T15:30:06.000Z
2020-11-03T15:22:57.000Z
pyhomeseer/error.py
lenaxia/PyHomeSeer-old
25554836c6fcbc14425cd524656f14f258668eee
[ "MIT" ]
2
2017-09-11T23:30:23.000Z
2017-09-12T14:07:02.000Z
pyhomeseer/error.py
lenaxia/PyHomeSeer-old
25554836c6fcbc14425cd524656f14f258668eee
[ "MIT" ]
3
2020-08-01T14:21:52.000Z
2021-11-05T00:22:15.000Z
""" Errors to be used by PyHomeSeer. """ class PyHomeSeerError(Exception): """ Base error for PyHomeSeer. """ pass class PyHomeSeerAuthenticationError(PyHomeSeerError): """ Error Authenticating to HomeSeer """ pass
16.785714
53
0.693617
22
235
7.409091
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.195745
235
13
54
18.076923
0.862434
0.4
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
d16fb527c6cd48b817eef8dd77f090027883148e
565
py
Python
diofant/solvers/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
1
2021-08-22T09:34:15.000Z
2021-08-22T09:34:15.000Z
diofant/solvers/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
diofant/solvers/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
""" This module implements methods for solving equations and inequalities. """ from .deutils import ode_order from .diophantine import diophantine from .inequalities import reduce_inequalities from .ode import checkodesol, classify_ode, dsolve, homogeneous_order from .pde import (checkpdesol, classify_pde, pde_separat...
40.357143
76
0.810619
73
565
6.027397
0.506849
0.075
0
0
0
0
0
0
0
0
0
0
0.134513
565
13
77
43.461538
0.899796
0.123894
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.888889
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
0f0d90eae69959af4924688f50858c8a0d3642e1
127
py
Python
tizza/pizza/urls.py
RicardoMorato/DesignOfMicroservices
539ac040ffad729957dd923d0c3124d255c2bc5a
[ "MIT" ]
null
null
null
tizza/pizza/urls.py
RicardoMorato/DesignOfMicroservices
539ac040ffad729957dd923d0c3124d255c2bc5a
[ "MIT" ]
null
null
null
tizza/pizza/urls.py
RicardoMorato/DesignOfMicroservices
539ac040ffad729957dd923d0c3124d255c2bc5a
[ "MIT" ]
null
null
null
from django.urls import include, path from .views import index urlpatterns = [ path('<int:pid>', index, name='pizza') ]
14.111111
42
0.677165
17
127
5.058824
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.181102
127
8
43
15.875
0.826923
0
0
0
0
0
0.110236
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
0f433bcd2e8bb6b4bb2d4614ddb3e579d9eac00f
153
py
Python
TestComplexType.py
hanuniv/Cython-Example
901d76673e0b82daac41c9cf22cb97aef568163b
[ "MIT" ]
null
null
null
TestComplexType.py
hanuniv/Cython-Example
901d76673e0b82daac41c9cf22cb97aef568163b
[ "MIT" ]
null
null
null
TestComplexType.py
hanuniv/Cython-Example
901d76673e0b82daac41c9cf22cb97aef568163b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Aug 18 17:27:53 2015 @author: Han """ import complextype complextype.Test() complextype.Test2()
12.75
36
0.614379
20
153
4.7
0.9
0
0
0
0
0
0
0
0
0
0
0.117647
0.222222
153
11
37
13.909091
0.672269
0.470588
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
0f808edc7a1f5cabe1cd77b6d78ae390bc2b7d85
102
py
Python
server.py
chayanontjongmekwamsuk/runpython
31dc7fb06a0834eea1ae5a06017bed655095a417
[ "MIT" ]
null
null
null
server.py
chayanontjongmekwamsuk/runpython
31dc7fb06a0834eea1ae5a06017bed655095a417
[ "MIT" ]
null
null
null
server.py
chayanontjongmekwamsuk/runpython
31dc7fb06a0834eea1ae5a06017bed655095a417
[ "MIT" ]
null
null
null
from os import environ from flask import Flask app = Flask(__name__) app.run(environ.get('PORT'))
20.4
28
0.735294
16
102
4.4375
0.625
0
0
0
0
0
0
0
0
0
0
0
0.156863
102
5
28
20.4
0.825581
0
0
0
0
0
0.040404
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0f80a9839699d1a6d81a57057c1e38891b99293f
2,452
py
Python
tests/test_matrix.py
blpercha/ebc
e7d7dbfe365de5c14c1721e0d14e9ea305498a05
[ "MIT" ]
20
2015-11-04T06:11:55.000Z
2021-12-01T14:09:35.000Z
tests/test_matrix.py
blpercha/ebc
e7d7dbfe365de5c14c1721e0d14e9ea305498a05
[ "MIT" ]
null
null
null
tests/test_matrix.py
blpercha/ebc
e7d7dbfe365de5c14c1721e0d14e9ea305498a05
[ "MIT" ]
4
2015-11-04T06:12:07.000Z
2021-07-18T20:23:37.000Z
import unittest from matrix import SparseMatrix class TestMatrix(unittest.TestCase): def setUp(self): self.data = [l.split('\t') for l in open('tests/sample-matrix-file.txt', 'r').readlines()] self.matrix = SparseMatrix([2, 4, 9]) self.matrix.read_data(self.data) def testMatrixInit(s...
59.804878
117
0.56199
283
2,452
4.745583
0.236749
0.141474
0.250186
0.251675
0.454207
0.411765
0.331348
0.331348
0.29933
0.167535
0
0.047313
0.301794
2,452
40
118
61.3
0.73715
0
0
0
0
0
0.127651
0.103181
0
0
0
0
0.457143
1
0.085714
false
0
0.057143
0
0.171429
0.028571
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
0f8a24d6b26300eb4c189d84183f304a642bcdfd
23,077
py
Python
app/unit_test_automatic_column_adjustment.py
shushantkumar/ci_edit_final
3b13c7a39b2112ed8daaa70bc4f0f50d67909494
[ "Apache-2.0" ]
5
2019-10-09T08:01:32.000Z
2020-01-01T18:17:21.000Z
app/unit_test_automatic_column_adjustment.py
shushantkumar/ci_edit_final
3b13c7a39b2112ed8daaa70bc4f0f50d67909494
[ "Apache-2.0" ]
1
2019-11-01T02:16:28.000Z
2019-11-01T02:16:28.000Z
app/unit_test_automatic_column_adjustment.py
0xPrateek/ci_edit
6abc609a8f1b5f85f0ca1af11cebc77ece80fc99
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
51.858427
78
0.208043
1,439
23,077
3.28353
0.13829
0.063915
0.070476
0.077037
0.722963
0.69545
0.642751
0.64
0.625397
0.619894
0
0.048777
0.730814
23,077
444
79
51.975225
0.711848
0.06305
0
0.940299
0
0
0.570998
0.002924
0
0
0
0
0
1
0.00995
false
0
0.017413
0
0.029851
0.002488
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e15b4556d8514ee2e23d8ca9741db5a9ea4c95d
371
py
Python
Controllers/BaseController.py
shell-done/Spongo_IHM
3492c889b1d60cf50b4b2625b496fd6958309a8e
[ "MIT" ]
7
2021-04-24T20:28:08.000Z
2021-06-09T16:32:31.000Z
Controllers/BaseController.py
shell-done/Spongo
3492c889b1d60cf50b4b2625b496fd6958309a8e
[ "MIT" ]
8
2021-04-08T08:33:29.000Z
2021-04-09T15:33:45.000Z
Controllers/BaseController.py
shell-done/Spongo_IHM
3492c889b1d60cf50b4b2625b496fd6958309a8e
[ "MIT" ]
null
null
null
from PySide2.QtCore import Signal from Components.Widgets.StylizableWidget import StylizableWidget class BaseController(StylizableWidget): changeWidget = Signal(str, object) def __init__(self): super().__init__() def start(self): pass def stop(self): pass ...
19.526316
65
0.638814
37
371
6.189189
0.648649
0.069869
0.09607
0
0
0
0
0
0
0
0
0.003759
0.283019
371
18
66
20.611111
0.857143
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0.166667
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7e177998e0b46484786ee9b487f958698022342c
902
py
Python
carkov/filters.py
aldercone/carkov
ce5490a04018f2496ea3d41343b67f656b29f40e
[ "BSD-3-Clause" ]
null
null
null
carkov/filters.py
aldercone/carkov
ce5490a04018f2496ea3d41343b67f656b29f40e
[ "BSD-3-Clause" ]
null
null
null
carkov/filters.py
aldercone/carkov
ce5490a04018f2496ea3d41343b67f656b29f40e
[ "BSD-3-Clause" ]
null
null
null
# # carkov markov chain library # © Copyright 2021 by Aldercone Studio <aldercone@gmail.com> # This is free software, see the included LICENSE for terms and conditions. # """ Various filter functions that may be useful for processing certain kinds of corpora. """ from typing import Optional # from unidecode import u...
25.055556
84
0.72949
121
902
5.38843
0.628099
0.03681
0.09816
0.116564
0.187117
0.107362
0.107362
0.107362
0
0
0
0.005405
0.179601
902
35
85
25.771429
0.874324
0.58204
0
0.444444
0
0
0
0
0
0
0
0.028571
0
1
0.444444
false
0
0.111111
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
7e29a7267248fdc628393a9bf0f0f1f2a95f4652
4,392
py
Python
01-Fundamentals/Algorithm-Implementation/Algorithm-Graph/Basic_BinaryTree.py
NguyenQuangBinh803/Python-Heritage
7da72b2926cefc4903086a1cab7de3a64764d648
[ "MIT" ]
1
2021-01-10T12:06:26.000Z
2021-01-10T12:06:26.000Z
01-Fundamentals/Algorithm-Implementation/Algorithm-Graph/Basic_BinaryTree.py
NguyenQuangBinh803/Python-Heritage
7da72b2926cefc4903086a1cab7de3a64764d648
[ "MIT" ]
null
null
null
01-Fundamentals/Algorithm-Implementation/Algorithm-Graph/Basic_BinaryTree.py
NguyenQuangBinh803/Python-Heritage
7da72b2926cefc4903086a1cab7de3a64764d648
[ "MIT" ]
null
null
null
import uuid # =============================================================================== # NODE DEFINITION # =============================================================================== class Node: def __init__(self, data): self.id...
31.371429
81
0.649362
528
4,392
4.988636
0.107955
0.246014
0.300683
0.21716
0.729689
0.69552
0.661731
0.618071
0.618071
0.585421
0
0.009952
0.244991
4,392
140
82
31.371429
0.784379
0.058971
0
0.524272
0
0
0.008234
0
0
0
0
0
0
1
0.087379
false
0.009709
0.009709
0.009709
0.116505
0.067961
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
7e4ed9b3b6e5e44bbf7ac6461318cccedfdf8823
2,109
py
Python
pytition/petition/migrations/0005_auto_20180911_1857.py
Quenty31/Pytition
0d2cd2ae50c823bc174fe1036f2d435f105ea125
[ "BSD-3-Clause" ]
64
2019-03-07T15:32:37.000Z
2022-03-13T19:05:44.000Z
pytition/petition/migrations/0005_auto_20180911_1857.py
Quenty31/Pytition
0d2cd2ae50c823bc174fe1036f2d435f105ea125
[ "BSD-3-Clause" ]
157
2019-02-28T07:32:03.000Z
2021-09-24T07:07:09.000Z
pytition/petition/migrations/0005_auto_20180911_1857.py
Quenty31/Pytition
0d2cd2ae50c823bc174fe1036f2d435f105ea125
[ "BSD-3-Clause" ]
33
2019-04-14T23:40:33.000Z
2022-03-25T11:11:05.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-09-11 16:57 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import tinymce.models class Migration(migrations.Migration): dependencies = [ ('petition', '0004_auto_20180804_0002'...
33.47619
130
0.59981
206
2,109
5.961165
0.349515
0.14658
0.183225
0.212541
0.429967
0.429967
0.224756
0.074919
0.074919
0
0
0.028439
0.283073
2,109
62
131
34.016129
0.78373
0.032717
0
0.472727
1
0
0.149239
0.023564
0
0
0
0
0
1
0
false
0
0.072727
0
0.127273
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e59ed26c757c9b4b4ac980b9832c32f81c59711
375
py
Python
asn1editor/TypeAugmenter.py
AssaelDan/asn1editor
8f4917ffe8c5fb8a4925c28239268583cbb6e742
[ "MIT" ]
5
2021-02-09T08:57:37.000Z
2022-03-05T09:23:39.000Z
asn1editor/TypeAugmenter.py
AssaelDan/asn1editor
8f4917ffe8c5fb8a4925c28239268583cbb6e742
[ "MIT" ]
24
2020-08-03T09:57:03.000Z
2022-03-25T10:23:31.000Z
asn1editor/TypeAugmenter.py
AssaelDan/asn1editor
8f4917ffe8c5fb8a4925c28239268583cbb6e742
[ "MIT" ]
2
2020-12-22T21:15:59.000Z
2021-12-22T15:26:55.000Z
import typing from asn1editor.view.AbstractViewFactory import Styles class TypeAugmenter: # pragma: no cover def get_style(self, path: str) -> Styles: raise NotImplementedError def get_help(self, path: str) -> typing.Optional[str]: raise NotImplementedError def set_spec_filename(self, ...
25
58
0.725333
43
375
6.209302
0.581395
0.269663
0.082397
0
0
0
0
0
0
0
0
0.003344
0.202667
375
14
59
26.785714
0.889632
0.042667
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
7e5a486a08ce728481fff6e9e4df0e3f0e594395
171
py
Python
api/namex/services/__init__.py
eve-git/namex
130f261500ce595b291d5428c32e1f6cc38ea505
[ "Apache-2.0" ]
4
2018-10-05T23:41:05.000Z
2019-06-19T16:17:50.000Z
api/namex/services/__init__.py
eve-git/namex
130f261500ce595b291d5428c32e1f6cc38ea505
[ "Apache-2.0" ]
635
2018-05-31T04:12:46.000Z
2022-03-31T18:45:42.000Z
api/namex/services/__init__.py
thorwolpert/namex
b9d927774e4c0da0255ca5aaa7ed1890283956fd
[ "Apache-2.0" ]
71
2018-05-14T20:47:55.000Z
2022-03-31T23:08:30.000Z
from .queue import QueueService queue = QueueService() from .exceptions import ServicesError from .messages import MessageServices from .audit_trail import EventRecorder
24.428571
38
0.842105
19
171
7.526316
0.578947
0
0
0
0
0
0
0
0
0
0
0
0.116959
171
6
39
28.5
0.94702
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7e5b38941a7a2eb446c02c60564bd95f817533d4
255
py
Python
abvd/assets.py
blurks/abvd
1bba45f1846669d462e92150ca735074ea5de89f
[ "Apache-2.0" ]
null
null
null
abvd/assets.py
blurks/abvd
1bba45f1846669d462e92150ca735074ea5de89f
[ "Apache-2.0" ]
1
2020-03-12T08:09:24.000Z
2020-03-12T08:09:24.000Z
abvd/assets.py
blurks/abvd
1bba45f1846669d462e92150ca735074ea5de89f
[ "Apache-2.0" ]
1
2021-12-07T01:34:18.000Z
2021-12-07T01:34:18.000Z
from pathlib import Path from clld.web.assets import environment import abvd environment.append_path( Path(abvd.__file__).parent.joinpath('static').as_posix(), url='/abvd:static/') environment.load_path = list(reversed(environment.load_path))
21.25
61
0.768627
34
255
5.529412
0.588235
0.159574
0.202128
0
0
0
0
0
0
0
0
0
0.109804
255
11
62
23.181818
0.828194
0
0
0
0
0
0.07451
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
7e652af16b1b5cc6014d9f299b8e428c0523f523
2,575
py
Python
nrooks-2.py
juyingnan/B551_Artificial_Intelligence
bdd0a1a94d2854d820b8ec3d61798689267f93f9
[ "CECILL-B" ]
null
null
null
nrooks-2.py
juyingnan/B551_Artificial_Intelligence
bdd0a1a94d2854d820b8ec3d61798689267f93f9
[ "CECILL-B" ]
null
null
null
nrooks-2.py
juyingnan/B551_Artificial_Intelligence
bdd0a1a94d2854d820b8ec3d61798689267f93f9
[ "CECILL-B" ]
null
null
null
#!/usr/bin/env python3 # nrooks.py : Solve the N-Rooks problem! # D. Crandall, 2016 # Updated by Zehua Zhang, 2017 # Updated by Yingnan Ju, Sep 2017 # # The N-rooks problem is: Given an empty NxN chessboard, place N rooks on the board so that no rooks # can take any other, i.e. such that no two rooks share the same row...
36.785714
107
0.659417
445
2,575
3.746067
0.301124
0.028794
0.023995
0.026995
0.144571
0.070186
0.046791
0.046791
0.046791
0.046791
0
0.018868
0.217864
2,575
70
108
36.785714
0.808838
0.380583
0
0
0
0
0.062341
0
0
0
0
0
0
1
0.243243
false
0
0.027027
0.189189
0.513514
0.081081
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
7e6f41c872c8e33720524e2e2a1ae00c80cf4dd6
327
py
Python
src/helpers.py
BenoCharlo/randomzy
c0506eb518e312f9fc1af98d030472ac08b627d8
[ "MIT" ]
null
null
null
src/helpers.py
BenoCharlo/randomzy
c0506eb518e312f9fc1af98d030472ac08b627d8
[ "MIT" ]
null
null
null
src/helpers.py
BenoCharlo/randomzy
c0506eb518e312f9fc1af98d030472ac08b627d8
[ "MIT" ]
null
null
null
import shutil from pathlib import Path def create_folder(output_path: str): Path(output_path).mkdir(exist_ok=True) print(f'{"=" * 5} Creation of {output_path} done {"=" * 5}') def delete_folder(output_path: str): shutil.rmtree(Path(output_path)) print(f'{"=" * 5} Deletion of {output_path} done {"=" ...
25.153846
64
0.666667
48
327
4.354167
0.479167
0.287081
0.15311
0.181818
0.162679
0
0
0
0
0
0
0.014652
0.165138
327
12
65
27.25
0.750916
0
0
0
0
0
0.30581
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
7e76e65d5b5e8f5a2d71d3d23fe0bd03ed64da5e
222
py
Python
gui/dc/storage/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
97
2016-11-15T14:44:23.000Z
2022-03-13T18:09:15.000Z
gui/dc/storage/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
334
2016-11-17T19:56:57.000Z
2022-03-18T10:45:53.000Z
gui/dc/storage/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
33
2017-01-02T16:04:13.000Z
2022-02-07T19:20:24.000Z
from django.conf.urls import patterns, url urlpatterns = patterns( 'gui.dc.storage.views', url(r'^$', 'dc_storage_list', name='dc_storage_list'), url(r'^form/$', 'dc_storage_form', name='dc_storage_form'), )
24.666667
63
0.68018
32
222
4.46875
0.5
0.314685
0.181818
0
0
0
0
0
0
0
0
0
0.135135
222
8
64
27.75
0.744792
0
0
0
0
0
0.400901
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
7e7ccd3f0e9afb8f58020cddab691e2bbe88f86e
2,635
py
Python
apps/inventories/forms/products.py
jorgesaw/kstore
4ec6612eeeb96edb7b7bd374fd0520733c58451c
[ "MIT" ]
null
null
null
apps/inventories/forms/products.py
jorgesaw/kstore
4ec6612eeeb96edb7b7bd374fd0520733c58451c
[ "MIT" ]
5
2021-03-19T10:16:00.000Z
2022-02-10T09:16:32.000Z
apps/inventories/forms/products.py
jorgesaw/kstore
4ec6612eeeb96edb7b7bd374fd0520733c58451c
[ "MIT" ]
null
null
null
"""Products forms.""" # Django from django import forms # Models from apps.inventories.models import ( Product, ProductWithoutPrice, SubCategory ) class ProductForm(forms.ModelForm): """Product form.""" def __init__(self, *args, **kwargs): super(ProductForm, self).__i...
39.328358
133
0.578748
242
2,635
6.235537
0.219008
0.119284
0.148443
0.222664
0.732936
0.732936
0.696488
0.671968
0.671968
0.671968
0
0
0.242125
2,635
66
134
39.924242
0.755633
0.036433
0
0.488889
0
0
0.250307
0
0
0
0
0
0
1
0.022222
false
0
0.044444
0
0.2
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
7e893681e7c3e0ec297950a40a8e8cdcf631d696
1,028
py
Python
aiotdlib/api/functions/get_created_public_chats.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
37
2021-05-04T10:41:41.000Z
2022-03-30T13:48:05.000Z
aiotdlib/api/functions/get_created_public_chats.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
13
2021-07-17T19:54:51.000Z
2022-02-26T06:50:00.000Z
aiotdlib/api/functions/get_created_public_chats.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! # # ...
35.448276
83
0.474708
79
1,028
6.075949
0.594937
0.05
0
0
0
0
0
0
0
0
0
0
0.304475
1,028
28
84
36.714286
0.671329
0.547665
0
0
1
0
0.07109
0.049763
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
7ea2d8ce9c8da6c31c60847ad51a7ff63c549756
260
py
Python
Practice/bubble_sort.py
amituttam/Projects
8f0f79d82f34459a60f24a718b08b0a79e6e31f1
[ "MIT" ]
null
null
null
Practice/bubble_sort.py
amituttam/Projects
8f0f79d82f34459a60f24a718b08b0a79e6e31f1
[ "MIT" ]
null
null
null
Practice/bubble_sort.py
amituttam/Projects
8f0f79d82f34459a60f24a718b08b0a79e6e31f1
[ "MIT" ]
null
null
null
def bubble_sort(alist): for _ in range(len(alist)-1,0,-1): for i in range(_): if alist[i] > alist[i+1]: alist[i+1],alist[i] = alist[i],alist[i+1] return alist alist = [10,2,3,11,23,0,1,4] print(bubble_sort(alist))
23.636364
57
0.546154
47
260
2.93617
0.425532
0.26087
0.23913
0.26087
0.282609
0
0
0
0
0
0
0.089005
0.265385
260
10
58
26
0.633508
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7eaa170bc5061b620ac09bff273f2d608ee497c1
1,156
py
Python
tests/srt/subs/sample.py
sina-e/PyTitle
c23b9d686abb63581dbe2aef937a273d884229eb
[ "MIT" ]
3
2022-03-23T17:14:37.000Z
2022-03-25T00:02:06.000Z
tests/srt/subs/sample.py
sina-e/pytitle
c23b9d686abb63581dbe2aef937a273d884229eb
[ "MIT" ]
null
null
null
tests/srt/subs/sample.py
sina-e/pytitle
c23b9d686abb63581dbe2aef937a273d884229eb
[ "MIT" ]
null
null
null
from pytitle.srt import Line, Timing, Timestamp sample_lines = [ Line( index=1, timing=Timing( start=Timestamp(hours=0, minutes=2, seconds=12, milliseconds=455), end=Timestamp(hours=0, minutes=2, seconds=30, milliseconds=321), ), text="Hello from First line!"...
31.243243
78
0.573529
136
1,156
4.867647
0.272059
0.169184
0.181269
0.265861
0.758308
0.716012
0.699396
0.364048
0.364048
0
0
0.072393
0.294983
1,156
36
79
32.111111
0.739877
0
0
0.457143
0
0
0.108131
0
0
0
0
0
0
1
0
false
0
0.028571
0
0.028571
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0e3ba69fa8fd12058cf18d807893006cef0733f8
488
py
Python
tests/conftest.py
orf/xpath-expressions
813acae8549f195da4b887ceea35e5e283af01a9
[ "MIT" ]
11
2017-06-23T03:02:26.000Z
2021-07-18T08:38:26.000Z
tests/conftest.py
orf/xpath-expressions
813acae8549f195da4b887ceea35e5e283af01a9
[ "MIT" ]
3
2020-03-24T15:30:29.000Z
2021-03-31T13:34:59.000Z
tests/conftest.py
orf/xpath-expressions
813acae8549f195da4b887ceea35e5e283af01a9
[ "MIT" ]
2
2020-03-24T15:24:03.000Z
2021-03-31T13:25:17.000Z
import pytest from xpath import Expression from lxml import etree @pytest.fixture def expr(): return Expression(".") @pytest.fixture def value_expr(): return Expression("1") @pytest.fixture def xml_root(): return Expression("/root") @pytest.fixture(scope="session") def xml_doc(): return etree.fr...
15.25
35
0.60041
58
488
5
0.465517
0.17931
0.165517
0
0
0
0
0
0
0
0
0.032258
0.237705
488
31
36
15.741935
0.747312
0
0
0.1875
0
0
0.04058
0
0
0
0
0
0
1
0.25
true
0
0.1875
0.25
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
0
0
0
3
0e6f11aa8c5e6838126fbab5355eaae48e0d8954
805
py
Python
polls_2/views.py
wangjinyu124419/django1.8_demo
bd61264afe246b231d9724be2675b6bae433d180
[ "MIT" ]
null
null
null
polls_2/views.py
wangjinyu124419/django1.8_demo
bd61264afe246b231d9724be2675b6bae433d180
[ "MIT" ]
7
2020-06-05T21:47:36.000Z
2022-03-11T23:52:50.000Z
polls_2/views.py
wangjinyu124419/django1.8_demo
bd61264afe246b231d9724be2675b6bae433d180
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.core import urlresolvers from django.shortcuts import render from django.http import HttpResponse, HttpResponseRedirect # Create your views here. def index(request): #重定向到admin后台 return HttpResponseRedirect( urlresolvers.reverse('admin:index') ) # return HttpResponse...
30.961538
81
0.741615
100
805
5.91
0.43
0.101523
0.086294
0.152284
0.321489
0.321489
0.135364
0
0
0
0
0.001466
0.152795
805
26
82
30.961538
0.865103
0.243478
0
0
0
0
0.190397
0
0
0
0
0
0
1
0.333333
false
0
0.25
0.25
0.916667
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
0e86febec3d22bcbc333e8f79cd253d52db0dc3f
276
py
Python
ex046.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
ex046.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
ex046.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
#Faça um programa que leia a contagem regressiva para a queima de fogos. De 10 a 0. #Colocar um emoji from time import sleep print('A contagem regressiva para a queima de fogos irá começar!') sleep(2) for c in range(10, -1, -1): print(c) sleep(1) print('Fogos!!!!')
23
83
0.695652
50
276
3.84
0.58
0.09375
0.197917
0.239583
0.385417
0.385417
0.385417
0.385417
0
0
0
0.040541
0.195652
276
11
84
25.090909
0.824324
0.355072
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0e8c438765f9f7f33d5b35a03248e80ddd7a90fe
531
py
Python
lewas/parsers/__init__.py
lewas-lab/lewas
a4a05977c26cfebb3a6ee7025a63d2331ac1cac5
[ "MIT" ]
1
2018-06-21T17:48:37.000Z
2018-06-21T17:48:37.000Z
lewas/parsers/__init__.py
lewas-lab/lewas
a4a05977c26cfebb3a6ee7025a63d2331ac1cac5
[ "MIT" ]
null
null
null
lewas/parsers/__init__.py
lewas-lab/lewas
a4a05977c26cfebb3a6ee7025a63d2331ac1cac5
[ "MIT" ]
null
null
null
from splitparser import split_parser from fieldparser import field_parser __all__ = [ 'split_parser', 'field_parser', 'ParseError' ] class ParseError(RuntimeError): pass def map_parser(fn): def inner(data): result = map(fn, data) return result return inner def debug_parser(label, **kwarg...
24.136364
64
0.638418
62
531
5.306452
0.5
0.066869
0.072948
0
0
0
0
0
0
0
0
0
0.246704
531
21
65
25.285714
0.8225
0
0
0.117647
0
0
0.088512
0
0
0
0
0
0
1
0.235294
false
0.058824
0.117647
0
0.529412
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
0e8ecc5286561b8c1e6323c8a3566c076b9db99b
252
py
Python
Raspberry Pi/versions/20_11_19/history.py
NoahBlaaa15/maze-2020
d9fa3ba45371bbe9d4225fe119d2f4a5b6d7012e
[ "MIT" ]
3
2020-02-06T15:05:56.000Z
2020-06-03T00:50:14.000Z
Raspberry Pi/versions/23_11_19/history.py
NoahBlaaa15/maze-2020
d9fa3ba45371bbe9d4225fe119d2f4a5b6d7012e
[ "MIT" ]
1
2020-01-29T11:58:25.000Z
2020-02-06T13:51:47.000Z
Raspberry Pi/versions/28_11_19/history.py
NoahBlaaa15/maze-2020
d9fa3ba45371bbe9d4225fe119d2f4a5b6d7012e
[ "MIT" ]
null
null
null
#Maze 2020 history module prev_driven = [] prev_tile = [] def add_driven(new): prev_driven.append(new) def add_tile(new): prev_tile.append(new) def get_last_drive(): return prev_driven[-1] def get_last_tile(): return prev_tile[-1]
14.823529
27
0.698413
40
252
4.1
0.4
0.182927
0.146341
0
0
0
0
0
0
0
0
0.028986
0.178571
252
16
28
15.75
0.763285
0.095238
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0e9f791fa182fe97835b1385bde84323799619af
1,003
py
Python
expkit/dispatch/program_command.py
jonathangingras/expkit
1943543ac6b23e80c59b56b4e998f0b0aaa7d6c8
[ "WTFPL" ]
null
null
null
expkit/dispatch/program_command.py
jonathangingras/expkit
1943543ac6b23e80c59b56b4e998f0b0aaa7d6c8
[ "WTFPL" ]
null
null
null
expkit/dispatch/program_command.py
jonathangingras/expkit
1943543ac6b23e80c59b56b4e998f0b0aaa7d6c8
[ "WTFPL" ]
null
null
null
import os, sys def super_init(pyobject, *args, **kwargs): super(pyobject.__class__, pyobject).__init__(*args, **kwargs) class ProgramCommand(object): def format(self): return "" class PythonProgramCommand(ProgramCommand): def __init__(self, script_path): self.path = os.path.realpath(sc...
29.5
119
0.628116
103
1,003
5.84466
0.291262
0.066445
0.064784
0.094684
0
0
0
0
0
0
0
0
0.26321
1,003
33
120
30.393939
0.814614
0
0
0.142857
0
0
0.031904
0
0
0
0
0
0
1
0.285714
false
0
0.047619
0.142857
0.619048
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
0ea9669c36826a39af241b3bd8aa0984b5a4308b
522
py
Python
mala/network/__init__.py
htahmasbi/mala
3fbd7f3225eae2864af7877b87e133eac735a68d
[ "BSD-3-Clause" ]
null
null
null
mala/network/__init__.py
htahmasbi/mala
3fbd7f3225eae2864af7877b87e133eac735a68d
[ "BSD-3-Clause" ]
null
null
null
mala/network/__init__.py
htahmasbi/mala
3fbd7f3225eae2864af7877b87e133eac735a68d
[ "BSD-3-Clause" ]
null
null
null
"""Everything concerning network and network architecture.""" from .network import Network from .tester import Tester from .trainer import Trainer from .hyper_opt_interface import HyperOptInterface from .hyper_opt_optuna import HyperOptOptuna from .hyper_opt_naswot import HyperOptNASWOT from .hyper_opt_oat import Hyper...
40.153846
61
0.869732
61
522
7.262295
0.393443
0.081264
0.108352
0
0
0
0
0
0
0
0
0
0.095785
522
12
62
43.5
0.938559
0.105364
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
0eae23890a9c54cc5f452e8604954859fedbaa70
370
py
Python
tests/coala_lowercase_c_test.py
PalashTanejaPro/cvbot
429514bf235e410f6cea436a1846ab9880e0615c
[ "MIT" ]
null
null
null
tests/coala_lowercase_c_test.py
PalashTanejaPro/cvbot
429514bf235e410f6cea436a1846ab9880e0615c
[ "MIT" ]
null
null
null
tests/coala_lowercase_c_test.py
PalashTanejaPro/cvbot
429514bf235e410f6cea436a1846ab9880e0615c
[ "MIT" ]
null
null
null
pytest_plugins = ['errbot.backends.test'] extra_plugin_dir = 'plugins' def test_cloudcv_lowercase(testbot): testbot.assertCommand('what is cloudcv?', 'cloudcv is always written with a lower case c') def test_cep(testbot): testbot.assertCommand('what is a CEP?', ...
30.833333
74
0.643243
47
370
4.93617
0.489362
0.060345
0.232759
0.267241
0.543103
0.258621
0.258621
0.258621
0
0
0
0
0.264865
370
11
75
33.636364
0.852941
0
0
0
0
0
0.386486
0
0
0
0
0
0.25
1
0.25
false
0
0
0
0.25
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
7ec5080a151d944459f3b182ba96f060435ed5b6
779
py
Python
Python/leetcode/RangeSumQuery2DImmutable.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
2
2015-12-02T06:44:01.000Z
2016-05-04T21:40:54.000Z
Python/leetcode/RangeSumQuery2DImmutable.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
null
null
null
Python/leetcode/RangeSumQuery2DImmutable.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
null
null
null
''' Created on 1.12.2016 @author: Darren '''''' Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2, col2). The above rectangle (with the red border) is defined by (row1, col1) = (2, 1) and (row2, col2) =...
21.054054
160
0.563543
132
779
3.325758
0.484848
0.013667
0.013667
0.072893
0
0
0
0
0
0
0
0.121818
0.293967
779
36
161
21.638889
0.676364
0.933248
0
0.1
0
0.1
0.989971
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7ecf029ad3d0ab906d3bef9d1fa0037598b1f1ad
68
py
Python
login.py
gzm1995/my_test
60a51de72701be5b491beca86ea12cf9e3947001
[ "Apache-2.0" ]
null
null
null
login.py
gzm1995/my_test
60a51de72701be5b491beca86ea12cf9e3947001
[ "Apache-2.0" ]
null
null
null
login.py
gzm1995/my_test
60a51de72701be5b491beca86ea12cf9e3947001
[ "Apache-2.0" ]
null
null
null
num = 10 num3 = 20 num2 = 20 num4 = 50 num5 =100 num7 = 10000
5.230769
12
0.573529
12
68
3.25
0.916667
0
0
0
0
0
0
0
0
0
0
0.466667
0.338235
68
12
13
5.666667
0.4
0
0
0
0
0
0
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
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7efd187a52537d4f29270b4599fb4fe70c476ed6
155
py
Python
src/android/toga_android/libs/android/text.py
luizoti/toga
3c49e685f325f1aba2ce048b253402d7e4519f97
[ "BSD-3-Clause" ]
1,261
2019-03-31T16:28:47.000Z
2022-03-31T09:01:23.000Z
src/android/toga_android/libs/android/text.py
luizoti/toga
3c49e685f325f1aba2ce048b253402d7e4519f97
[ "BSD-3-Clause" ]
597
2019-04-02T20:02:42.000Z
2022-03-30T10:28:47.000Z
src/android/toga_android/libs/android/text.py
luizoti/toga
3c49e685f325f1aba2ce048b253402d7e4519f97
[ "BSD-3-Clause" ]
318
2019-03-31T18:32:00.000Z
2022-03-30T18:07:13.000Z
from rubicon.java import JavaClass, JavaInterface InputType = JavaClass("android/text/InputType") TextWatcher = JavaInterface("android/text/TextWatcher")
31
55
0.819355
16
155
7.9375
0.625
0.173228
0
0
0
0
0
0
0
0
0
0
0.077419
155
4
56
38.75
0.888112
0
0
0
0
0
0.296774
0.296774
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
7d185dcfbb8a32f2937bcf29eefaae3fa0a403dd
412
py
Python
eventbus/util/hashing.py
adyshev/eventbus
7479e42fe8d2749cc5798921a49a9e30bbbd7c29
[ "MIT" ]
2
2020-10-02T20:22:23.000Z
2020-12-08T11:37:29.000Z
eventbus/util/hashing.py
adyshev/eventbus
7479e42fe8d2749cc5798921a49a9e30bbbd7c29
[ "MIT" ]
107
2020-12-03T09:44:06.000Z
2022-03-31T22:58:40.000Z
eventbus/util/hashing.py
adyshev/eventbus
7479e42fe8d2749cc5798921a49a9e30bbbd7c29
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import hashlib from eventbus.util.transcoding import ObjectJSONEncoder SALT_FOR_DATA_INTEGRITY = os.getenv("SALT_FOR_DATA_INTEGRITY", "") def hash_object(json_encoder: ObjectJSONEncoder, obj: dict) -> str: """ Calculates SHA-256 hash of JSON encoded 'obj'. """ s = j...
25.75
67
0.723301
54
412
5.296296
0.62963
0.073427
0.115385
0.20979
0
0
0
0
0
0
0
0.020057
0.152913
412
15
68
27.466667
0.799427
0.167476
0
0
0
0
0.070336
0.070336
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
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
7d27de6262ad741ea0029ca11b4d07995f08f370
198
py
Python
Lib/test/good_getattr.py
shawwn/cpython
0ff8a3b374286d2218fc18f47556a5ace202dad3
[ "0BSD" ]
52,316
2015-01-01T15:56:25.000Z
2022-03-31T23:19:01.000Z
Lib/test/good_getattr.py
shawwn/cpython
0ff8a3b374286d2218fc18f47556a5ace202dad3
[ "0BSD" ]
25,286
2015-03-03T23:18:02.000Z
2022-03-31T23:17:27.000Z
Lib/test/good_getattr.py
shawwn/cpython
0ff8a3b374286d2218fc18f47556a5ace202dad3
[ "0BSD" ]
31,623
2015-01-01T13:29:37.000Z
2022-03-31T19:55:06.000Z
x = 1 def __dir__(): return ['a', 'b', 'c'] def __getattr__(name): if name == "yolo": raise AttributeError("Deprecated, use whatever instead") return f"There is {name}" y = 2
16.5
64
0.585859
27
198
4
0.851852
0
0
0
0
0
0
0
0
0
0
0.013514
0.252525
198
11
65
18
0.716216
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
7d360dec88178c25eb572e443e87cdb38daf2868
1,084
py
Python
fit/types/dynamic.py
rembish/f
7c5913b80cb7cc6ef102ceb168ec8c281233fb65
[ "BSD-3-Clause" ]
10
2015-04-09T02:18:48.000Z
2021-02-22T09:27:08.000Z
fit/types/dynamic.py
rembish/f
7c5913b80cb7cc6ef102ceb168ec8c281233fb65
[ "BSD-3-Clause" ]
2
2017-04-16T14:07:59.000Z
2020-01-31T02:25:53.000Z
fit/types/dynamic.py
rembish/f
7c5913b80cb7cc6ef102ceb168ec8c281233fb65
[ "BSD-3-Clause" ]
5
2015-04-09T02:20:45.000Z
2022-01-17T10:38:10.000Z
from fit.types import Type class Dynamic(Type): def __init__(self, base, referred_to, **kwargs): super(Dynamic, self).__init__(base.number) self.base = base self.referred = referred_to self.variants = kwargs def __repr__(self): return '<%s of %r>' % ( self...
25.809524
69
0.606089
129
1,084
4.821705
0.348837
0.07717
0.067524
0
0
0
0
0
0
0
0
0
0.29059
1,084
41
70
26.439024
0.808843
0
0
0
0
0
0.010148
0
0
0
0
0
0
1
0.233333
false
0
0.033333
0.133333
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
0
0
1
1
0
0
3
ada2e1c3aa3b4f8353dd8503858df6d3492fd00a
590
py
Python
utils/helper/re_helper.py
Dev-Engine/Dev_Blog2
7fbbfb3060ffecdec5aa00b16a6d1292c2e209e0
[ "Python-2.0", "MIT" ]
null
null
null
utils/helper/re_helper.py
Dev-Engine/Dev_Blog2
7fbbfb3060ffecdec5aa00b16a6d1292c2e209e0
[ "Python-2.0", "MIT" ]
null
null
null
utils/helper/re_helper.py
Dev-Engine/Dev_Blog2
7fbbfb3060ffecdec5aa00b16a6d1292c2e209e0
[ "Python-2.0", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import re class ReHelper(object): """ReHelper support muti re functions. This helper will support a few muti-used functions for contents that need re-place or re-test. """ def __init__(self): pass def r_slash(self, s): """Ensure user submited string ...
19.666667
77
0.49661
72
590
4
0.583333
0.03125
0.0625
0.048611
0.059028
0.059028
0
0
0
0
0
0.002577
0.342373
590
29
78
20.344828
0.739691
0.471186
0
0
0
0
0.080972
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
ade35eb07478692d2b7339fc1fdccc4f28635dcf
78
py
Python
BOJ/16000~16999/16500~16599/16546.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/16000~16999/16500~16599/16546.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/16000~16999/16500~16599/16546.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
N = int(input()) S = sum(list(map(int,input().split()))) print(N*(N+1)//2 - S)
26
39
0.551282
16
78
2.6875
0.6875
0.372093
0
0
0
0
0
0
0
0
0
0.028571
0.102564
78
3
40
26
0.585714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
adf10e1ded577b2493b256d65e4e34bf6715290e
1,146
py
Python
dags/emr/core/common/utils/redis_manager.py
superoutput/airflow-data-analytics
dcd2280cc6e1448226540bfad3f11614353ea052
[ "Apache-2.0" ]
null
null
null
dags/emr/core/common/utils/redis_manager.py
superoutput/airflow-data-analytics
dcd2280cc6e1448226540bfad3f11614353ea052
[ "Apache-2.0" ]
null
null
null
dags/emr/core/common/utils/redis_manager.py
superoutput/airflow-data-analytics
dcd2280cc6e1448226540bfad3f11614353ea052
[ "Apache-2.0" ]
null
null
null
import redis class Redis_manager(): def __init__(self): self.host = '172.21.131.58' self.port = 6379 self.password = '' # self.r_connection = self.connect_redis() self.r_connection = None def connect_redis(self): r = redis.Redis(self.host, self.port, self.passwo...
27.285714
60
0.613438
151
1,146
4.443709
0.211921
0.089419
0.245902
0.14158
0.57377
0.57377
0.47392
0.42921
0.330849
0.330849
0
0.019417
0.280977
1,146
41
61
27.95122
0.794903
0.054101
0
0.375
0
0
0.012037
0
0
0
0
0
0
1
0.21875
false
0.0625
0.03125
0
0.4375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
bc14fd545bba8099b1831d8783cb97e27d8f5988
491
py
Python
tests/test_cli.py
jacebrowning/twerk
228dc8c2247b044fcf420819eef79d75b7403768
[ "MIT" ]
null
null
null
tests/test_cli.py
jacebrowning/twerk
228dc8c2247b044fcf420819eef79d75b7403768
[ "MIT" ]
5
2019-10-15T23:17:37.000Z
2019-10-16T03:48:23.000Z
tests/test_cli.py
jacebrowning/twerk
228dc8c2247b044fcf420819eef79d75b7403768
[ "MIT" ]
null
null
null
# pylint: disable=redefined-outer-name,unused-variable,expression-not-assigned import pytest from click.testing import CliRunner from expecter import expect from twerk.cli import main @pytest.fixture def runner(): return CliRunner() def describe_cli(): def describe_help(): def placeholder(runner):...
22.318182
78
0.690428
60
491
5.6
0.65
0.065476
0
0
0
0
0
0
0
0
0
0.002551
0.201629
491
21
79
23.380952
0.854592
0.154786
0
0
0
0
0.079903
0
0
0
0
0
0
1
0.307692
false
0
0.307692
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
bc3b9f043d876a7d7cfa95e7b5ea257f981836eb
890
py
Python
fhirclient/models/range.py
zzhou41/client-py
cbfa8d7c7f1bad233b237b7c5582fc0577b21f70
[ "Apache-2.0" ]
null
null
null
fhirclient/models/range.py
zzhou41/client-py
cbfa8d7c7f1bad233b237b7c5582fc0577b21f70
[ "Apache-2.0" ]
null
null
null
fhirclient/models/range.py
zzhou41/client-py
cbfa8d7c7f1bad233b237b7c5582fc0577b21f70
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.0-a53ec6ee1b (http://hl7.org/fhir/StructureDefinition/Range) on 2019-07-29. # 2019, SMART Health IT. import sys from dataclasses import dataclass from typing import ClassVar, Optional, List from .fhirabstractbase import empty_list from .elemen...
28.709677
102
0.665169
114
890
5.175439
0.552632
0.027119
0.033898
0.074576
0
0
0
0
0
0
0
0.030172
0.217978
890
31
103
28.709677
0.817529
0.301124
0
0
1
0
0.031509
0
0
0
0
0
0
1
0.055556
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
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
70c144f3dd989a1906c8704d00f609e7831272fc
496
py
Python
metrician/recorders/topk.py
tedtroxell/metrician
d4164dbff8db5645ee8beca11dc55ba6c26c4cb6
[ "MIT" ]
null
null
null
metrician/recorders/topk.py
tedtroxell/metrician
d4164dbff8db5645ee8beca11dc55ba6c26c4cb6
[ "MIT" ]
null
null
null
metrician/recorders/topk.py
tedtroxell/metrician
d4164dbff8db5645ee8beca11dc55ba6c26c4cb6
[ "MIT" ]
null
null
null
import torch from .interface import BaseRecorderInterface class TopK(BaseRecorderInterface): """[summary] :param BaseRecorderInterface: [description] :type BaseRecorderInterface: [type] """ def __init__(self,k:int,reduction='mean'): super(self.__class__,self).__init__() self....
24.8
78
0.667339
54
496
5.907407
0.481481
0.047022
0.056426
0
0
0
0
0
0
0
0
0.002538
0.205645
496
19
79
26.105263
0.807107
0.181452
0
0
0
0
0.010336
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
70d1368733453ea890e1cdb75abb4c4bd563712c
220
py
Python
hlrl/torch/algos/wrappers/__init__.py
Chainso/HLRL
584f4ed2fa4d8b311a21dbd862ec9434833dd7cd
[ "MIT" ]
null
null
null
hlrl/torch/algos/wrappers/__init__.py
Chainso/HLRL
584f4ed2fa4d8b311a21dbd862ec9434833dd7cd
[ "MIT" ]
null
null
null
hlrl/torch/algos/wrappers/__init__.py
Chainso/HLRL
584f4ed2fa4d8b311a21dbd862ec9434833dd7cd
[ "MIT" ]
null
null
null
from .noisy import NoisyAlgo from .normalize_return import NormalizeReturnAlgo from .recurrent import TorchRecurrentAlgo from .rnd import RND __all__ = ["NoisyAlgo", "NormalizeReturnAlgo", "TorchRecurrentAlgo", "RND"]
27.5
75
0.809091
22
220
7.863636
0.5
0
0
0
0
0
0
0
0
0
0
0
0.109091
220
7
76
31.428571
0.882653
0
0
0
0
0
0.223744
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
70d51fcdb5a1d4629c3706ec7cb3bd3c0f8fedb3
449
py
Python
ytelapi/models/status_1_enum.py
Ytel-Inc/YtelAPI-Python
139dc02d93e74c78b6c3d91e3002ae98e2270223
[ "MIT" ]
null
null
null
ytelapi/models/status_1_enum.py
Ytel-Inc/YtelAPI-Python
139dc02d93e74c78b6c3d91e3002ae98e2270223
[ "MIT" ]
null
null
null
ytelapi/models/status_1_enum.py
Ytel-Inc/YtelAPI-Python
139dc02d93e74c78b6c3d91e3002ae98e2270223
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ ytelapi This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ class Status1Enum(object): """Implementation of the 'Status1' enum. Status to set the in-progress call to Attributes: CANCELED: TODO: type description ...
17.96
84
0.594655
47
449
5.680851
0.765957
0.059925
0.142322
0.172285
0
0
0
0
0
0
0
0.015823
0.296214
449
24
85
18.708333
0.829114
0.641425
0
0
1
0
0.182796
0
0
0
0
0.083333
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
70df233964ae1cda81e89e83ebbd81cd02d346d4
133
py
Python
backend/backend/settings/prod.py
josegob/microsoft-sec-api
299043bed65cf1f49c7a4c8ee728c961066dc763
[ "MIT" ]
null
null
null
backend/backend/settings/prod.py
josegob/microsoft-sec-api
299043bed65cf1f49c7a4c8ee728c961066dc763
[ "MIT" ]
null
null
null
backend/backend/settings/prod.py
josegob/microsoft-sec-api
299043bed65cf1f49c7a4c8ee728c961066dc763
[ "MIT" ]
null
null
null
from backend.settings.base import * import os # Override base.py settings here DEBUG = False SECRET_KEY = os.environ['SECRET_KEY']
16.625
37
0.766917
20
133
5
0.7
0.18
0
0
0
0
0
0
0
0
0
0
0.142857
133
7
38
19
0.877193
0.225564
0
0
0
0
0.09901
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
70e11ce0a77c52600316d80e229cc82026a5a4ce
3,097
py
Python
networking_kaloom/ml2/drivers/type_kaloom_knid.py
ramupreetham/neutron
3089935e01ae2bd063b1c6f754452a5bc06837f0
[ "Apache-2.0" ]
3
2019-05-14T12:22:13.000Z
2019-10-10T18:42:48.000Z
networking_kaloom/ml2/drivers/type_kaloom_knid.py
ramupreetham/neutron
3089935e01ae2bd063b1c6f754452a5bc06837f0
[ "Apache-2.0" ]
1
2021-02-09T22:56:35.000Z
2021-02-09T22:56:35.000Z
networking_kaloom/ml2/drivers/type_kaloom_knid.py
ramupreetham/neutron
3089935e01ae2bd063b1c6f754452a5bc06837f0
[ "Apache-2.0" ]
2
2019-06-18T15:49:22.000Z
2020-06-03T02:22:51.000Z
# Copyright 2019 Kaloom, Inc. All rights reserved. # 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 app...
40.220779
96
0.7165
407
3,097
5.316953
0.388206
0.064695
0.019409
0.014787
0.354898
0.354898
0.295749
0.295749
0.295749
0.295749
0
0.007472
0.22215
3,097
76
97
40.75
0.890826
0.388118
0
0.368421
0
0
0.060475
0
0
0
0
0
0
1
0.236842
false
0.052632
0.157895
0.105263
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
70ef254ef99c51aa981bf5cc930f40a2a6befa26
289
py
Python
Codefights/arcade/intro/level-11/50.chessKnight/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
7
2017-09-20T16:40:39.000Z
2021-08-31T18:15:08.000Z
Codefights/arcade/intro/level-11/50.chessKnight/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
Codefights/arcade/intro/level-11/50.chessKnight/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
# Python3 def chessKnight(cell): col, row = ord(cell[0]) - ord('a'), int(cell[1]) - 1 count = 0 for c, r in [(-1, 2), (1, 2), (-1, -2), (1, -2), (-2, 1), (2, 1), (-2, -1), (2, -1)]: if 0 <= (col + c) < 8 and 0 <= (row + r) < 8: count += 1 return count
28.9
89
0.397924
51
289
2.254902
0.411765
0.121739
0.156522
0.173913
0.13913
0.13913
0.13913
0
0
0
0
0.133333
0.32526
289
9
90
32.111111
0.45641
0.024221
0
0
0
0
0.003571
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb04952a6381d6c4f3d701c918c0e717faeed982
83
py
Python
Basico 2/ex024.py
Gustavsantos/python1
5520f2d2ee591157942008fdcd6bd42eb521f1a6
[ "MIT" ]
null
null
null
Basico 2/ex024.py
Gustavsantos/python1
5520f2d2ee591157942008fdcd6bd42eb521f1a6
[ "MIT" ]
null
null
null
Basico 2/ex024.py
Gustavsantos/python1
5520f2d2ee591157942008fdcd6bd42eb521f1a6
[ "MIT" ]
null
null
null
c = str(input('Em qual cidade você nasceu?')).strip().lower() print(c[:3] == 'são')
41.5
61
0.614458
14
83
3.642857
0.928571
0
0
0
0
0
0
0
0
0
0
0.013514
0.108434
83
2
62
41.5
0.675676
0
0
0
0
0
0.357143
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cb14ae17d8ca3a515e940edc5c19bdb41fe732bf
127
py
Python
exercicios/ex008.py
luccasocastro/Curso-Python
7ad2b980bb2f95f833811291273d6ca1beb0fe77
[ "MIT" ]
null
null
null
exercicios/ex008.py
luccasocastro/Curso-Python
7ad2b980bb2f95f833811291273d6ca1beb0fe77
[ "MIT" ]
null
null
null
exercicios/ex008.py
luccasocastro/Curso-Python
7ad2b980bb2f95f833811291273d6ca1beb0fe77
[ "MIT" ]
null
null
null
tam = int(input('Informe um tamanho em metros: ')) print('{} em cm é: {}, em milímetros é: {}'.format(tam, tam*100, tam*1000))
42.333333
75
0.629921
21
127
3.809524
0.714286
0
0
0
0
0
0
0
0
0
0
0.064815
0.149606
127
2
76
63.5
0.675926
0
0
0
0
0
0.511811
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cb39845707ed2ac53d6eba9f1e6956ec1bde6d64
197
py
Python
mwlib/templ/__init__.py
pediapress/mwlib
1074fbc429e65180de09671dbc369ed1eeb2345d
[ "Unlicense" ]
53
2015-02-17T16:20:06.000Z
2022-03-18T09:22:00.000Z
mwlib/templ/__init__.py
h4ck3rm1k3/mwlib
11475c6ad7480e35a4a59f276c47f6a5203435cc
[ "Unlicense" ]
23
2015-01-30T16:26:20.000Z
2022-03-11T23:26:03.000Z
mwlib/templ/__init__.py
h4ck3rm1k3/mwlib
11475c6ad7480e35a4a59f276c47f6a5203435cc
[ "Unlicense" ]
19
2015-01-21T13:55:46.000Z
2019-02-23T23:14:31.000Z
# Copyright (c) 2007-2009 PediaPress GmbH # See README.rst for additional licensing information. import os import mwlib.log DEBUG = "DEBUG_EXPANDER" in os.environ log = mwlib.log.Log("expander")
21.888889
54
0.766497
29
197
5.172414
0.724138
0.106667
0
0
0
0
0
0
0
0
0
0.047059
0.137056
197
8
55
24.625
0.835294
0.467005
0
0
0
0
0.217822
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cb612353e3abb7320ee3ed463444c5a44070eed5
790
py
Python
Mish/TF-Keras/mish.py
ashishbairwa/Mish
00c5af9c153b13712a2c73ca1eee7a5e154c017a
[ "MIT" ]
null
null
null
Mish/TF-Keras/mish.py
ashishbairwa/Mish
00c5af9c153b13712a2c73ca1eee7a5e154c017a
[ "MIT" ]
null
null
null
Mish/TF-Keras/mish.py
ashishbairwa/Mish
00c5af9c153b13712a2c73ca1eee7a5e154c017a
[ "MIT" ]
null
null
null
"""Tensorflow-Keras Implementation of Mishh""" ## Import Necessary Modules import tensorflow as tf from tensorflow.keras.layers import Layer class Mish(Layer): ''' Mish Activation Function. .. math:: mish(x) = x * tanh(softplus(x)) = x * tanh(ln(1 + e^{x})) Shape: - Input: Arbitrary. U...
29.259259
74
0.61519
106
790
4.471698
0.537736
0.037975
0.025316
0
0
0
0
0
0
0
0
0.003425
0.260759
790
26
75
30.384615
0.808219
0.587342
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
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
1
0
0
0
1
1
0
0
3
cb6199a58dc51c8a8b6016e5fcb418464bfce0ab
356
py
Python
projects_py/Django/clients/ayon_portfolio/website/models.py
RootProgrammer/Python
d3308af735934d40df5ca2b115cf1deffcae5fac
[ "MIT" ]
1
2021-04-18T08:14:41.000Z
2021-04-18T08:14:41.000Z
projects_py/Django/clients/ayon_portfolio/website/models.py
RootProgrammer/Python
d3308af735934d40df5ca2b115cf1deffcae5fac
[ "MIT" ]
null
null
null
projects_py/Django/clients/ayon_portfolio/website/models.py
RootProgrammer/Python
d3308af735934d40df5ca2b115cf1deffcae5fac
[ "MIT" ]
null
null
null
from django.db import models from datetime import * # Create your models here. class Contact(models.Model): name = models.CharField(max_length=124) email = models.CharField(max_length=124) message = models.TextField(max_length=1124) date = models.DateField(auto_now_add=True) def __str_...
25.428571
48
0.699438
47
356
5.106383
0.659574
0.1125
0.15
0.2
0.225
0
0
0
0
0
0
0.035587
0.210674
356
13
49
27.384615
0.818505
0.067416
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
cbb64bb6866404e8542dc2e99ff0d2e8ef480d3b
323
py
Python
skal_website_1/pages/views.py
mthd98/web_app_test_1
787411eebce239993774441449daa82159e1481e
[ "MIT" ]
null
null
null
skal_website_1/pages/views.py
mthd98/web_app_test_1
787411eebce239993774441449daa82159e1481e
[ "MIT" ]
null
null
null
skal_website_1/pages/views.py
mthd98/web_app_test_1
787411eebce239993774441449daa82159e1481e
[ "MIT" ]
null
null
null
from django.shortcuts import render # Create your views here. def show_home_page(request,*args, **kwargs): context={} return render(request,'home_page/home_page.html',context) def show_about_page(request,*args, **kwargs): context={} return render(request,'about_page/about_page.html',conte...
26.916667
63
0.71517
43
323
5.186047
0.465116
0.107623
0.134529
0.188341
0.421525
0.421525
0.421525
0.421525
0
0
0
0
0.157895
323
12
63
26.916667
0.819853
0.071207
0
0.285714
0
0
0.173611
0.173611
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cbb93b819de337b10afb4445865cc832bbe88af0
59,600
py
Python
pysnmp-with-texts/Nortel-Magellan-Passport-PorsTrunksMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Nortel-Magellan-Passport-PorsTrunksMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Nortel-Magellan-Passport-PorsTrunksMIB.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 Nortel-Magellan-Passport-PorsTrunksMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-PorsTrunksMIB # Produced by pysmi-0.3.4 at Wed May 1 14:28:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4...
213.620072
4,469
0.793205
7,991
59,600
5.916031
0.113628
0.007827
0.073739
0.007953
0.536563
0.41669
0.394775
0.379884
0.345849
0.31926
0
0.046639
0.115017
59,600
278
4,470
214.388489
0.849654
0.006208
0
0
0
0.177122
0.527093
0.031087
0
0
0
0
0
1
0
false
0.066421
0.04059
0
0.04059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
cbe18dc5f58ab13ebab61fbd0ec5e9a7b0af978c
20
py
Python
__init__.py
mbzebra/rasa-couch
36251ab8157951c093b709d779a66ab8083b58b3
[ "MIT" ]
null
null
null
__init__.py
mbzebra/rasa-couch
36251ab8157951c093b709d779a66ab8083b58b3
[ "MIT" ]
null
null
null
__init__.py
mbzebra/rasa-couch
36251ab8157951c093b709d779a66ab8083b58b3
[ "MIT" ]
null
null
null
name = "rasa-couch"
10
19
0.65
3
20
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.764706
0
0
0
0
0
0.5
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
1db0c7643650c82866b013020656d529f0605434
226
py
Python
answers/api/routers.py
NicolasMuras/Lookdaluv
0c46d8871aa8e65139620b4afba82ca11d57ce63
[ "MIT" ]
1
2021-12-16T16:48:45.000Z
2021-12-16T16:48:45.000Z
answers/api/routers.py
NicolasMuras/Lookdaluv
0c46d8871aa8e65139620b4afba82ca11d57ce63
[ "MIT" ]
null
null
null
answers/api/routers.py
NicolasMuras/Lookdaluv
0c46d8871aa8e65139620b4afba82ca11d57ce63
[ "MIT" ]
null
null
null
from rest_framework.routers import DefaultRouter from answers.api.views.answers_viewsets import AnswerViewSet router = DefaultRouter() router.register(r'answers', AnswerViewSet, basename='answers') urlpatterns = router.urls
28.25
62
0.831858
26
226
7.153846
0.653846
0
0
0
0
0
0
0
0
0
0
0
0.084071
226
8
63
28.25
0.898551
0
0
0
0
0
0.061674
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
1dbc11d510bd92ef4aea6d1aff16ccc2fa44b7e2
31,821
py
Python
examples/libs/png/img_wink_png.py
embeddedt/lvgl
bc826c703f0dcf6474cc450f19c8dbeda4e84ac8
[ "MIT" ]
3,531
2017-04-30T23:37:31.000Z
2020-05-17T20:10:12.000Z
examples/libs/png/img_wink_png.py
embeddedt/lvgl
bc826c703f0dcf6474cc450f19c8dbeda4e84ac8
[ "MIT" ]
1,433
2016-12-15T19:16:26.000Z
2020-05-18T09:03:58.000Z
examples/libs/png/img_wink_png.py
embeddedt/lvgl
bc826c703f0dcf6474cc450f19c8dbeda4e84ac8
[ "MIT" ]
900
2016-06-27T08:44:07.000Z
2020-05-17T15:14:34.000Z
img_wink_png_map = bytes([ 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x32, 0x08, 0x06, 0x00, 0x00, 0x00, 0x1e, 0x3f, 0x88, 0xb1, 0x00, 0x00, 0x00, 0x06, 0x62, 0x4b, 0x47, 0x44, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xa0...
94.14497
97
0.652965
5,196
31,821
3.995574
0.053503
0.010019
0.007514
0.002312
0
0
0
0
0
0
0
0.446656
0.183778
31,821
337
98
94.424332
0.352674
0
0
0
0
0
0
0
0
0
0.652395
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
1de539cbe5382b7cf9dab6fe7cb4eb88d16b631f
125
py
Python
fizzbuzz.py
y-moon20/Folking-workflow
3d403aa68188db504229c02137865e9441790123
[ "MIT" ]
null
null
null
fizzbuzz.py
y-moon20/Folking-workflow
3d403aa68188db504229c02137865e9441790123
[ "MIT" ]
null
null
null
fizzbuzz.py
y-moon20/Folking-workflow
3d403aa68188db504229c02137865e9441790123
[ "MIT" ]
null
null
null
for i in range(1,16+1): if i%3==0 or i%5==0: print('fizz'*(i%3==0) + 'buzz'*(i%5==0)) else: print(i)
20.833333
48
0.432
27
125
2
0.555556
0.074074
0.111111
0
0
0
0
0
0
0
0
0.136364
0.296
125
5
49
25
0.477273
0
0
0
0
0
0.064
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1dec4c88cee88e07562e9609c23b24e2405bcea2
2,617
py
Python
run.py
vianuevm/blog
0b51b286a2e34a95a9b82c7f735d02ca59121315
[ "MIT" ]
null
null
null
run.py
vianuevm/blog
0b51b286a2e34a95a9b82c7f735d02ca59121315
[ "MIT" ]
null
null
null
run.py
vianuevm/blog
0b51b286a2e34a95a9b82c7f735d02ca59121315
[ "MIT" ]
null
null
null
#!flask/bin/python from app import app app.run(debug=True) # from firebase import firebase # import math # import json # import requests # # # def total_word_count(total_words, result): # for item in result.keys(): # total_words = total_words + result[item]["text"].split() # return set(total_words) # ...
31.53012
87
0.590371
351
2,617
4.131054
0.205128
0.143448
0.075862
0.044138
0.218621
0.107586
0.082759
0.051034
0
0
0
0.004145
0.262514
2,617
82
88
31.914634
0.74715
0.923959
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
3802bb97fb531ffa9978886948d250d194a893f7
1,754
py
Python
rallyrolebot/api/models.py
CreatorCoinTools/RallyRoleBot
7966191359a0c18cdc660472a6a6d6f5c50b0a60
[ "MIT" ]
7
2020-12-15T01:54:47.000Z
2022-01-09T13:48:23.000Z
rallyrolebot/api/models.py
CreatorCoinTools/RallyRoleBot
7966191359a0c18cdc660472a6a6d6f5c50b0a60
[ "MIT" ]
19
2020-12-05T04:02:18.000Z
2021-06-27T01:09:33.000Z
rallyrolebot/api/models.py
CreatorCoinTools/RallyRoleBot
7966191359a0c18cdc660472a6a6d6f5c50b0a60
[ "MIT" ]
13
2020-12-12T05:38:41.000Z
2021-11-09T17:36:07.000Z
from typing import Optional, Dict, List from datetime import datetime from pydantic import BaseModel import json class ChannelMapping(BaseModel): id: Optional[int] = None guildId: Optional[str] = None coinKind: str requiredBalance: str channel: str class RoleMapping(BaseModel): id: Optional[...
21.13253
40
0.699544
202
1,754
5.99505
0.247525
0.145334
0.198183
0.109001
0.436829
0.298101
0.246903
0.21635
0.21635
0.21635
0
0.001447
0.212087
1,754
82
41
21.390244
0.874819
0
0
0.431034
0
0
0
0
0
0
0
0
0
1
0
true
0
0.068966
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
38192bb317d333d02860ca123303ce0498398008
112
py
Python
helper.py
BMarcin/MordinezNLP
884f6c2ccade8ac796d40d3081560021e96765ca
[ "MIT" ]
1
2021-02-03T19:38:05.000Z
2021-02-03T19:38:05.000Z
helper.py
BMarcin/MordinezNLP
884f6c2ccade8ac796d40d3081560021e96765ca
[ "MIT" ]
13
2020-11-30T21:01:56.000Z
2021-03-12T21:23:45.000Z
helper.py
BMarcin/MordinezNLP
884f6c2ccade8ac796d40d3081560021e96765ca
[ "MIT" ]
null
null
null
import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) if __name__ == '__main__': print(BASE_DIR)
18.666667
53
0.723214
17
112
3.941176
0.705882
0.208955
0
0
0
0
0
0
0
0
0
0
0.133929
112
6
54
18.666667
0.690722
0
0
0
0
0
0.070796
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
381f2bd96c90e52b86d768e20eb6533c85753d6c
142
py
Python
Rekt/__main__.py
ptdel/Rekt
8e6c17b45c9a9ea0fab98397ed963296f85fd3f1
[ "MIT" ]
1
2020-04-15T23:52:49.000Z
2020-04-15T23:52:49.000Z
Rekt/__main__.py
ptdel/Rekt
8e6c17b45c9a9ea0fab98397ed963296f85fd3f1
[ "MIT" ]
2
2020-01-12T18:39:57.000Z
2020-01-12T18:45:09.000Z
Rekt/__main__.py
ptdel/Rekt
8e6c17b45c9a9ea0fab98397ed963296f85fd3f1
[ "MIT" ]
null
null
null
from Bot import bot from Config import configuration token = configuration.discord.auth_token if __name__ == "__main__": bot.run(token)
17.75
40
0.767606
19
142
5.263158
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.15493
142
7
41
20.285714
0.833333
0
0
0
0
0
0.056338
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
384a1e2310df6485aada4b9a1a73410251878b3c
4,947
py
Python
wallets/tests.py
chrismarceloph/btc-wallet-sms
2239cc951bf045229005a2f51a9b6b09e703a567
[ "MIT" ]
10
2016-08-05T08:17:54.000Z
2021-02-08T05:19:06.000Z
wallets/tests.py
chrismarceloph/btc-wallet-sms
2239cc951bf045229005a2f51a9b6b09e703a567
[ "MIT" ]
null
null
null
wallets/tests.py
chrismarceloph/btc-wallet-sms
2239cc951bf045229005a2f51a9b6b09e703a567
[ "MIT" ]
3
2015-01-09T12:53:51.000Z
2018-10-06T15:42:56.000Z
import httpretty from django.core.urlresolvers import reverse from django.test import TestCase from django.test.utils import override_settings from .models import Account, Wallet from .views import ReceiveSMSView @httpretty.activate class WalletModelsTest(TestCase): def setUp(self): self.account = Account...
44.972727
133
0.678593
548
4,947
5.974453
0.162409
0.065974
0.039096
0.04887
0.722358
0.7135
0.695785
0.668907
0.621869
0.606292
0
0.086708
0.186376
4,947
109
134
45.385321
0.726708
0
0
0.532609
0
0
0.228623
0.058217
0
0
0
0
0.152174
1
0.108696
false
0.195652
0.065217
0
0.206522
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
69c6439d6e2963ed54751fa2badb5d624283f8a7
194
py
Python
dcoding_1d/apps.py
zsazn/dcoding
8c2d1b95d2adc7a2f076b1a831173c81eccdb259
[ "MIT" ]
null
null
null
dcoding_1d/apps.py
zsazn/dcoding
8c2d1b95d2adc7a2f076b1a831173c81eccdb259
[ "MIT" ]
null
null
null
dcoding_1d/apps.py
zsazn/dcoding
8c2d1b95d2adc7a2f076b1a831173c81eccdb259
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Author: Zheng Zhou # Date: 3/8/2018 from __future__ import unicode_literals from django.apps import AppConfig class DcodingConfig(AppConfig): name = 'dcoding'
14.923077
39
0.71134
25
194
5.32
0.84
0
0
0
0
0
0
0
0
0
0
0.04375
0.175258
194
12
40
16.166667
0.7875
0.283505
0
0
0
0
0.051852
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
69e600ab02b45d2e97d0cc405a2d883890d448bd
918
py
Python
examples/test_scatter.py
NishantBaheti/graphpkg
855b9ae7fb9a61cac130b0b0d13b2ad705263f46
[ "MIT" ]
1
2021-03-08T12:03:04.000Z
2021-03-08T12:03:04.000Z
examples/test_scatter.py
NishantBaheti/graphpkg
855b9ae7fb9a61cac130b0b0d13b2ad705263f46
[ "MIT" ]
null
null
null
examples/test_scatter.py
NishantBaheti/graphpkg
855b9ae7fb9a61cac130b0b0d13b2ad705263f46
[ "MIT" ]
null
null
null
import random import datetime ## Importing the module from graphpkg.live.graph import LiveTrend,LiveScatter import matplotlib.pyplot as plt from matplotlib import style style.use("dark_background") def func1(): return random.randrange(1,100), random.randrange(1,100) def func2(): return random.randrange(1,...
26.228571
114
0.72549
140
918
4.642857
0.35
0.061538
0.221538
0.204615
0.415385
0.387692
0.387692
0.387692
0.298462
0.116923
0
0.102757
0.130719
918
34
115
27
0.711779
0.021786
0
0
0
0
0.099441
0
0
0
0
0
0
1
0.15
false
0
0.25
0.15
0.55
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
1
0
0
0
3
69ea877f8bbc0121dbb3f0cbd42a4e61eed59165
129
py
Python
flyman.py
kq18G8/mcmk
07a263298f14798cd4410dcb273448fefaa93d6f
[ "MIT" ]
null
null
null
flyman.py
kq18G8/mcmk
07a263298f14798cd4410dcb273448fefaa93d6f
[ "MIT" ]
null
null
null
flyman.py
kq18G8/mcmk
07a263298f14798cd4410dcb273448fefaa93d6f
[ "MIT" ]
2
2018-06-14T11:36:13.000Z
2019-09-09T02:16:04.000Z
from mcpi.minecraft import Minecraft import time mc=Minecraft.create() x=10 y=20 z=10 mc.player.setTilePos(x,y,z) time.sleep(3)
12.9
36
0.767442
25
129
3.96
0.64
0.30303
0
0
0
0
0
0
0
0
0
0.060345
0.100775
129
9
37
14.333333
0.793103
0
0
0
0
0
0
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
69eafcfdcc9211a7dbb6d0faf0ca4c11465f7d98
1,383
py
Python
tests/test_coords.py
AsgerPetersen/rasterio
d021e090a2d9a6151105003a9c3f115c9bb15960
[ "BSD-3-Clause" ]
24
2015-03-04T00:32:16.000Z
2021-07-19T03:52:37.000Z
tests/test_coords.py
AsgerPetersen/rasterio
d021e090a2d9a6151105003a9c3f115c9bb15960
[ "BSD-3-Clause" ]
null
null
null
tests/test_coords.py
AsgerPetersen/rasterio
d021e090a2d9a6151105003a9c3f115c9bb15960
[ "BSD-3-Clause" ]
4
2015-02-07T04:30:14.000Z
2019-08-07T04:01:12.000Z
import rasterio def test_bounds(): with rasterio.open('tests/data/RGB.byte.tif') as src: assert src.bounds == (101985.0, 2611485.0, 339315.0, 2826915.0) def test_ul(): with rasterio.open('tests/data/RGB.byte.tif') as src: assert src.ul(0, 0) == (101985.0, 2826915.0) assert src.ul(1, 0...
39.514286
78
0.573391
215
1,383
3.665116
0.227907
0.114213
0.101523
0.133249
0.511421
0.440355
0.440355
0.440355
0.440355
0.295685
0
0.210222
0.250181
1,383
34
79
40.676471
0.549662
0
0
0.185185
0
0
0.083273
0.083273
0
0
0
0
0.444444
1
0.185185
true
0
0.037037
0
0.222222
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
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
69fb639de2a2d2ee9e63a3380bf568fecc70a57b
154
py
Python
scripts/open_chorale.py
matangover/Wave-U-Net
6f44febbda3cb685d92f9e0b84e7f06e13d03fba
[ "MIT" ]
1
2019-11-24T05:04:18.000Z
2019-11-24T05:04:18.000Z
scripts/open_chorale.py
matangover/Wave-U-Net
6f44febbda3cb685d92f9e0b84e7f06e13d03fba
[ "MIT" ]
null
null
null
scripts/open_chorale.py
matangover/Wave-U-Net
6f44febbda3cb685d92f9e0b84e7f06e13d03fba
[ "MIT" ]
1
2021-04-25T05:19:55.000Z
2021-04-25T05:19:55.000Z
import music21 import sys chorale = int(sys.argv[1]) score = music21.corpus.chorales.Iterator(currentNumber=chorale).next() score.show(app='MuseScore 3')
25.666667
70
0.779221
22
154
5.454545
0.772727
0
0
0
0
0
0
0
0
0
0
0.042254
0.077922
154
6
71
25.666667
0.802817
0
0
0
0
0
0.070968
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
0e0a2d46322b4cb4622ebd8bf918e99f4eab2c6f
105
py
Python
mod/pre_data.py
OnlyFYou/tensorflow_learn
2b2cb79d0e59a9470f90f2032933ca4da484a471
[ "Apache-2.0" ]
null
null
null
mod/pre_data.py
OnlyFYou/tensorflow_learn
2b2cb79d0e59a9470f90f2032933ca4da484a471
[ "Apache-2.0" ]
null
null
null
mod/pre_data.py
OnlyFYou/tensorflow_learn
2b2cb79d0e59a9470f90f2032933ca4da484a471
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf # 定义数据预处理的方法 class Data(object): def pre_data(self, data): pass
9.545455
29
0.647619
14
105
4.785714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.27619
105
10
30
10.5
0.881579
0.095238
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
0e0a6de61f0134bc08356545d5ccda2afad1ab59
171
py
Python
code3/urllib2.py
eseus-coder/python-spidering-pro
c3bd919fb6ca9dc43f3935e921ddb27c901814fc
[ "Unlicense" ]
3
2018-11-18T23:11:51.000Z
2018-12-19T04:11:25.000Z
code3/urllib2.py
eseus-coder/python-spidering-pro
c3bd919fb6ca9dc43f3935e921ddb27c901814fc
[ "Unlicense" ]
1
2020-09-03T19:05:40.000Z
2020-09-03T19:11:22.000Z
code3/urllib2.py
eseus-coder/python-spidering-pro
c3bd919fb6ca9dc43f3935e921ddb27c901814fc
[ "Unlicense" ]
27
2018-09-17T12:50:53.000Z
2020-10-16T15:17:36.000Z
import urllib.request, urllib.parse, urllib.error fhand = urllib.request.urlopen('http://www.dr-chuck.com/page1.htm') for line in fhand: print(line.decode().strip())
28.5
67
0.730994
26
171
4.807692
0.769231
0.208
0
0
0
0
0
0
0
0
0
0.006494
0.099415
171
5
68
34.2
0.805195
0
0
0
0
0
0.192982
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0e0ead38c2d438c099b2ae420be4db9acb604523
2,467
py
Python
tests/test_parse_sensor_reading.py
theGeoFis/pyBinSim
c86b51a5b423df80c0d66d2dfcd81d42d6bff184
[ "MIT" ]
19
2017-03-31T08:16:52.000Z
2022-03-12T13:57:32.000Z
tests/test_parse_sensor_reading.py
gary444/pyBinSim
e0dca637ec8dc7f9a0a8c034d3348bd6c2772e63
[ "MIT" ]
6
2017-06-02T11:39:08.000Z
2020-09-30T23:31:41.000Z
tests/test_parse_sensor_reading.py
gary444/pyBinSim
e0dca637ec8dc7f9a0a8c034d3348bd6c2772e63
[ "MIT" ]
11
2017-05-15T12:19:04.000Z
2021-06-15T15:29:21.000Z
from unittest import TestCase from pybinsim.spark_fun import parse_sensor_reading, get_intact_reading, get_float_values class TestParse_sensor_reading(TestCase): def test_parse_sensor_reading(self): test_readings = [ ['!ANG:-0.37,0.50,-42.74\r', '!ANG:-0.37,0.49,-43.67\r', '!ANG:-0.42,0.47,-4...
34.263889
115
0.46291
404
2,467
2.735149
0.175743
0.086878
0.095023
0.057014
0.692308
0.682353
0.663348
0.615385
0.615385
0.615385
0
0.217218
0.289015
2,467
71
116
34.746479
0.412771
0
0
0.357143
0
0
0.291852
0.194568
0
0
0
0
0.053571
1
0.053571
false
0
0.035714
0
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
385a023c591e20cf3ffc2e92728126ed67adac9b
719
py
Python
eval_speed.py
yubin1219/Semantic-Seg
c40bd43d3d7e44bc995b8d041736580dec084251
[ "BSD-2-Clause" ]
null
null
null
eval_speed.py
yubin1219/Semantic-Seg
c40bd43d3d7e44bc995b8d041736580dec084251
[ "BSD-2-Clause" ]
null
null
null
eval_speed.py
yubin1219/Semantic-Seg
c40bd43d3d7e44bc995b8d041736580dec084251
[ "BSD-2-Clause" ]
null
null
null
def speed_test(model, iterations = 100): model.eval() input = torch.randn(1,3,1024,2048).to(device) with torch.no_grad(): torch.cuda.synchronize() torch.cuda.synchronize() t_start = time.time() for _ in range(20): model(input) torch.cuda.synchronize() torch.cuda.synchronize() ela...
27.653846
47
0.638387
90
719
4.977778
0.377778
0.160714
0.357143
0.223214
0.620536
0.620536
0.620536
0.620536
0.620536
0.620536
0
0.040493
0.210014
719
25
48
28.76
0.748239
0
0
0.583333
0
0
0.040334
0
0
0
0
0
0
1
0.041667
false
0
0
0
0.041667
0.083333
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3864abb5eeb3aa0e75164e876294d3ce086d7e15
1,236
py
Python
p1_basic/day22_26oop/day23/04_字段成员修饰符.py
dong-pro/fullStackPython
5ad8662f7b57f14c8529e7eaf64290eeda773557
[ "Apache-2.0" ]
1
2020-04-03T01:32:05.000Z
2020-04-03T01:32:05.000Z
p1_basic/day22_26oop/day23/04_字段成员修饰符.py
dong-pro/fullStackPython
5ad8662f7b57f14c8529e7eaf64290eeda773557
[ "Apache-2.0" ]
null
null
null
p1_basic/day22_26oop/day23/04_字段成员修饰符.py
dong-pro/fullStackPython
5ad8662f7b57f14c8529e7eaf64290eeda773557
[ "Apache-2.0" ]
null
null
null
# ######################## 公有实例变量(字段) ######################## # class Foo: # def __init__(self, name): # self.name = name # self.age = 123 # # def func(self): # print(self.name) # # # obj = Foo('张凯雄') # print(obj.name) # print(obj.age) # obj.func() # ######################## 私有实例变量(私有字...
19.935484
65
0.444984
126
1,236
4.126984
0.238095
0.092308
0.084615
0.057692
0.746154
0.746154
0.657692
0.55
0.55
0.55
0
0.006557
0.259709
1,236
62
66
19.935484
0.561749
0.610032
0
0
0
0
0.008547
0
0
0
0
0
0
1
0.222222
false
0.111111
0
0
0.444444
0.222222
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
38be4c3ce4a99697fa07cb76cbfcdc094c843273
313
py
Python
voucher_app/signals.py
syz247179876/e_mall
f94e39e091e098242342f532ae371b8ff127542f
[ "Apache-2.0" ]
7
2021-04-10T13:20:56.000Z
2022-03-29T15:00:29.000Z
voucher_app/signals.py
syz247179876/E_mall
f94e39e091e098242342f532ae371b8ff127542f
[ "Apache-2.0" ]
9
2021-05-11T03:53:31.000Z
2022-03-12T00:58:03.000Z
voucher_app/signals.py
syz247179876/E_mall
f94e39e091e098242342f532ae371b8ff127542f
[ "Apache-2.0" ]
2
2020-11-24T08:59:22.000Z
2020-11-24T14:10:59.000Z
# -*- coding: utf-8 -*- # @Time : 2020/9/2 下午9:04 # @Author : 司云中 # @File : signals.py # @Software: Pycharm from django.dispatch import Signal increase_integral = Signal(providing_args=["total_price, user"]) # 购买商品增加积分 decrease_integral = Signal(providing_args=["integral_commodity_pk, user"]) # 兑换商品时减少积分
24.076923
87
0.71246
40
313
5.4
0.825
0.12963
0.212963
0.25
0
0
0
0
0
0
0
0.037175
0.140575
313
13
87
24.076923
0.765799
0.373802
0
0
0
0
0.232804
0.116402
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
38d1ed09b51d1ea58e8eaf3d8d0b21173c1cd0fb
1,820
py
Python
djangoAPI/api/migrations/0001_initial.py
aaronjonesii/heroku-api
e45a1d614087aedbc9d98086994ef24590dc72ea
[ "MIT" ]
null
null
null
djangoAPI/api/migrations/0001_initial.py
aaronjonesii/heroku-api
e45a1d614087aedbc9d98086994ef24590dc72ea
[ "MIT" ]
null
null
null
djangoAPI/api/migrations/0001_initial.py
aaronjonesii/heroku-api
e45a1d614087aedbc9d98086994ef24590dc72ea
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2019-01-15 03:08 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Movie', fields=[ ('id', models.CharField(ma...
38.723404
114
0.540659
168
1,820
5.708333
0.428571
0.122002
0.225235
0.300313
0.425443
0
0
0
0
0
0
0.035116
0.311538
1,820
46
115
39.565217
0.730247
0.024725
0
0.205128
1
0
0.08855
0
0
0
0
0
0
1
0
false
0
0.025641
0
0.128205
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
38daf3d1faf15a1dc7d86b0967cd988958751e23
116
py
Python
main.py
BoilingBlues/FingerCode_Biohashing
645f41d580b87fa92e2dbc2dd68247701578ceb7
[ "Apache-2.0" ]
1
2022-01-20T16:16:55.000Z
2022-01-20T16:16:55.000Z
main.py
BoilingBlues/FingerCode_Biohashing
645f41d580b87fa92e2dbc2dd68247701578ceb7
[ "Apache-2.0" ]
null
null
null
main.py
BoilingBlues/FingerCode_Biohashing
645f41d580b87fa92e2dbc2dd68247701578ceb7
[ "Apache-2.0" ]
null
null
null
from GUI import multiple_page if __name__=="__main__": app = multiple_page.Application() app.mainloop()
12.888889
37
0.706897
14
116
5.142857
0.785714
0.333333
0
0
0
0
0
0
0
0
0
0
0.189655
116
8
38
14.5
0.765957
0
0
0
0
0
0.070175
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
2a081c8e6189fa7f089fa52df4c33d8d29f8c3c8
287
py
Python
backend/src/baserow/config/settings/dev.py
6ix-Inc/baserow
63268349d787577cf5773a77daf06f50e2acf8a5
[ "MIT" ]
1
2022-01-24T15:12:02.000Z
2022-01-24T15:12:02.000Z
backend/src/baserow/config/settings/dev.py
rasata/baserow
c6e1d7842c53f801e1c96b49f1377da2a06afaa9
[ "MIT" ]
null
null
null
backend/src/baserow/config/settings/dev.py
rasata/baserow
c6e1d7842c53f801e1c96b49f1377da2a06afaa9
[ "MIT" ]
null
null
null
from .base import * # noqa: F403, F401 DEBUG = True CELERY_EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" WEBHOOKS_MAX_CONSECUTIVE_TRIGGER_FAILURES = 4 WEBHOOKS_MAX_RETRIES_PER_CALL = 4 try: from .local import * # noqa: F403, F401 except ImportError: pass
22.076923
71
0.763066
39
287
5.358974
0.794872
0.095694
0.133971
0.172249
0
0
0
0
0
0
0
0.057851
0.156794
287
12
72
23.916667
0.805785
0.114983
0
0
0
0
0.183267
0.183267
0
0
0
0
0
1
0
false
0.111111
0.333333
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
0
0
0
0
0
1
1
0
0
0
0
3
2a269451f7f4d2cadc5758dbd5fa0f2c9e3151cc
8,063
py
Python
tools/gt_caption.py
Romero027/ImageCaptioning.pytorch
069c95f5d343fb126afa8b10ec18e472f30b7b35
[ "MIT" ]
null
null
null
tools/gt_caption.py
Romero027/ImageCaptioning.pytorch
069c95f5d343fb126afa8b10ec18e472f30b7b35
[ "MIT" ]
null
null
null
tools/gt_caption.py
Romero027/ImageCaptioning.pytorch
069c95f5d343fb126afa8b10ec18e472f30b7b35
[ "MIT" ]
null
null
null
result_4 = {'4001': 'a person holding a pair of scissors', '85': 'a man is standing next to a car', '4133': 'a person holding a cell phone in a room', '2593': 'a person holding a cell phone in a hand', '2637': 'a man sitting on the back of a car', '5629': 'a woman is sitting on a car with a surfboard', '3473': 'a perso...
366.5
1,318
0.687337
1,599
8,063
3.453408
0.185741
0.035494
0.029337
0.048171
0.587468
0.51648
0.43046
0.284679
0.181456
0.093988
0
0.096261
0.197321
8,063
21
1,319
383.952381
0.756953
0
0
0
0
0
0.81843
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2a30357973cd0fcb2a9e8dbb88984bfc75364b0d
213
py
Python
tests/src/__init__.py
char-lie/software_design
8784cc5f4dea1e1290f8e3ea0425677d1cbeb273
[ "MIT" ]
null
null
null
tests/src/__init__.py
char-lie/software_design
8784cc5f4dea1e1290f8e3ea0425677d1cbeb273
[ "MIT" ]
4
2016-02-23T14:27:43.000Z
2016-02-24T19:08:46.000Z
tests/src/__init__.py
char-lie/software_design
8784cc5f4dea1e1290f8e3ea0425677d1cbeb273
[ "MIT" ]
null
null
null
from unittest import defaultTestLoader from TransactionManager import TransactionManagerBase test_cases = [TransactionManagerBase] tests = [defaultTestLoader.loadTestsFromTestCase(test) for test in test_cases]
26.625
78
0.859155
20
213
9.05
0.6
0.099448
0
0
0
0
0
0
0
0
0
0
0.098592
213
7
79
30.428571
0.942708
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2a382515d9cf3c86a1bac259dadfbba3c45f65a3
786
py
Python
basicai/Accuracy.py
dejanbatanjac/basicai
14fbce7f2e186cc9d11f971df9d019e6a19cce22
[ "Apache-2.0" ]
null
null
null
basicai/Accuracy.py
dejanbatanjac/basicai
14fbce7f2e186cc9d11f971df9d019e6a19cce22
[ "Apache-2.0" ]
null
null
null
basicai/Accuracy.py
dejanbatanjac/basicai
14fbce7f2e186cc9d11f971df9d019e6a19cce22
[ "Apache-2.0" ]
null
null
null
class Accuracy(): 'abstract' def reset(self): raise NotImplementedError def set(self, output, targs): raise NotImplementedError def get(self): raise NotImplementedError def print(self): raise NotImplementedError class ArgmaxAccuracy(...
20.684211
52
0.563613
81
786
5.419753
0.320988
0.218679
0.191344
0.14123
0.095672
0
0
0
0
0
0
0.007619
0.332061
786
37
53
21.243243
0.828571
0.019084
0
0.461538
0
0
0.017812
0
0
0
0
0
0
1
0.346154
false
0
0
0.038462
0.461538
0.115385
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
2a3b4cd6aa417243dc3e85b89b190796f7bb73bb
105
py
Python
while.py
tebeka/py2go-cheatsheet
14c83850876ef80c36af326ab4fc6f56344781c7
[ "BSD-3-Clause" ]
13
2017-09-09T08:32:34.000Z
2022-02-28T04:32:43.000Z
while.py
tebeka/py2go-cheatsheet
14c83850876ef80c36af326ab4fc6f56344781c7
[ "BSD-3-Clause" ]
3
2017-11-25T18:48:11.000Z
2017-12-30T13:00:04.000Z
while.py
tebeka/py2go-cheatsheet
14c83850876ef80c36af326ab4fc6f56344781c7
[ "BSD-3-Clause" ]
2
2019-11-03T19:58:17.000Z
2020-04-28T01:14:17.000Z
# START # Largest Fibonacci under 10,000 a, b = 1, 1 while b < 10000: a, b = b, a + b # END print(a)
13.125
32
0.571429
21
105
2.857143
0.619048
0.1
0
0
0
0
0
0
0
0
0
0.16
0.285714
105
7
33
15
0.64
0.380952
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2a49277ce8e6322e3875217be35357140b4d5475
2,173
py
Python
rdr_service/alembic/versions/e8b090aa164e_aliquot_parent_ref_fix.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
rdr_service/alembic/versions/e8b090aa164e_aliquot_parent_ref_fix.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/alembic/versions/e8b090aa164e_aliquot_parent_ref_fix.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
"""aliquot parent ref fix Revision ID: e8b090aa164e Revises: b06bb829f85d Create Date: 2020-05-07 12:36:05.140486 """ from alembic import op import sqlalchemy as sa import model.utils from sqlalchemy.dialects import mysql from rdr_service.participant_enums import PhysicalMeasurementsStatus, QuestionnaireStatus, Orde...
33.430769
125
0.757018
246
2,173
6.47561
0.394309
0.035154
0.070308
0.078468
0.368487
0.323917
0.210923
0.210923
0.210923
0.15317
0
0.026954
0.146341
2,173
64
126
33.953125
0.831806
0.210769
0
0.125
0
0
0.111583
0
0
0
0
0
0
1
0.1875
false
0.0625
0.375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
2a4a376a546f5ba6c871f33303824c0702521ee6
4,140
py
Python
src/test/test_aes.py
alessandro-saglimbeni/libwally-core
ae84c26519b6c513332c19bc183dc0b584f4bf33
[ "MIT" ]
212
2017-09-01T21:08:04.000Z
2022-03-19T07:27:46.000Z
src/test/test_aes.py
alessandro-saglimbeni/libwally-core
ae84c26519b6c513332c19bc183dc0b584f4bf33
[ "MIT" ]
236
2017-07-25T10:34:43.000Z
2022-03-31T11:12:30.000Z
src/test/test_aes.py
alessandro-saglimbeni/libwally-core
ae84c26519b6c513332c19bc183dc0b584f4bf33
[ "MIT" ]
131
2017-06-27T04:06:27.000Z
2022-03-24T08:01:46.000Z
import unittest from util import * cases = [ # AES test vectors from FIPS 197. [ 128, "000102030405060708090a0b0c0d0e0f", "00112233445566778899aabbccddeeff", "69c4e0d86a7b0430d8cdb78070b4c55a" ], [ 192, "000102030405060708090a0b0c0d0e0f1011121314151617", "001122334455667788...
42.244898
78
0.633575
306
4,140
8.457516
0.349673
0.01391
0.01391
0.018547
0.131376
0.131376
0.131376
0.112828
0.112828
0.092736
0
0.374591
0.262319
4,140
97
79
42.680412
0.472823
0.017633
0
0.432099
0
0
0.423474
0.419783
0
0
0
0
0.061728
1
0.037037
false
0
0.024691
0
0.08642
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2a7a01392d2fa60f2511d56cfa87444553c35d95
110
py
Python
my_script.py
venkywarriors/ascii-art-Github-action
4fd80198449dbfaa8c5b05bbd790f7b15ae7390c
[ "MIT" ]
1
2020-08-15T11:04:35.000Z
2020-08-15T11:04:35.000Z
my_script.py
venkywarriors/ascii-art-Github-action
4fd80198449dbfaa8c5b05bbd790f7b15ae7390c
[ "MIT" ]
null
null
null
my_script.py
venkywarriors/ascii-art-Github-action
4fd80198449dbfaa8c5b05bbd790f7b15ae7390c
[ "MIT" ]
null
null
null
import pyfiglet result = pyfiglet.figlet_format("Venkateshwara rao", font = "digital" ) print(result)
13.75
72
0.718182
12
110
6.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.172727
110
7
73
15.714286
0.857143
0
0
0
0
0
0.218182
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2a96ccb5952d5b399f8356fb01338ce292c7e6bd
7,210
py
Python
workalendar/tests/test_oceania.py
mikko-ahlroth-vincit/workalendar
e38b79a2da98fe1eac480b76b9578add4dbdac6d
[ "MIT" ]
null
null
null
workalendar/tests/test_oceania.py
mikko-ahlroth-vincit/workalendar
e38b79a2da98fe1eac480b76b9578add4dbdac6d
[ "MIT" ]
null
null
null
workalendar/tests/test_oceania.py
mikko-ahlroth-vincit/workalendar
e38b79a2da98fe1eac480b76b9578add4dbdac6d
[ "MIT" ]
null
null
null
from datetime import date from workalendar.tests import GenericCalendarTest from workalendar.oceania import Australia from workalendar.oceania import AustraliaCapitalTerritory from workalendar.oceania import AustraliaNewSouthWales from workalendar.oceania import AustraliaNorthernTerritory from workalendar.oceania impo...
40.965909
77
0.683911
921
7,210
5.279045
0.144408
0.143151
0.190868
0.230358
0.61991
0.588441
0.568902
0.533525
0.519951
0.507199
0
0.094987
0.211512
7,210
175
78
41.2
0.760246
0.141331
0
0.515625
0
0
0
0
0
0
0
0
0.476563
1
0.125
false
0
0.09375
0
0.398438
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
aa4c602dc0311fe4885cf7a127e69ba56fd8299a
808
py
Python
inspect__examples/hello_world.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
117
2015-12-18T07:18:27.000Z
2022-03-28T00:25:54.000Z
inspect__examples/hello_world.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
8
2018-10-03T09:38:46.000Z
2021-12-13T19:51:09.000Z
inspect__examples/hello_world.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
28
2016-08-02T17:43:47.000Z
2022-03-21T08:31:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' import inspect print('Current line:', inspect.getframeinfo(inspect.currentframe()).lineno) print('Current line:', inspect.getframeinfo(inspect.currentframe()).lineno) print('Current line:', inspect.getframeinfo(inspect.currentframe()).lineno) p...
26.933333
93
0.75495
85
808
7.117647
0.294118
0.158678
0.343802
0.502479
0.6
0.523967
0.523967
0.523967
0.305785
0.305785
0
0.002677
0.075495
808
29
94
27.862069
0.807229
0.053218
0
0.4
0
0
0.178244
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0.066667
0.2
0.733333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
aa4d6cef4078ee1be6766f425e5bcd13c12648dd
264
py
Python
tekore/_client/api/playlist/__init__.py
Allerter/tekore
20cf68280fb5b691126600a5b474ee841f7be199
[ "MIT" ]
135
2020-01-14T17:47:26.000Z
2022-03-25T18:30:04.000Z
tekore/_client/api/playlist/__init__.py
Allerter/tekore
20cf68280fb5b691126600a5b474ee841f7be199
[ "MIT" ]
135
2020-01-13T22:56:35.000Z
2022-03-11T19:41:36.000Z
tekore/_client/api/playlist/__init__.py
Allerter/tekore
20cf68280fb5b691126600a5b474ee841f7be199
[ "MIT" ]
21
2020-01-16T16:01:23.000Z
2022-02-17T12:46:32.000Z
from .items import SpotifyPlaylistItems from .modify import SpotifyPlaylistModify from .view import SpotifyPlaylistView class SpotifyPlaylist( SpotifyPlaylistView, SpotifyPlaylistModify, SpotifyPlaylistItems, ): """All playlist API endpoints."""
22
41
0.787879
21
264
9.904762
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.151515
264
11
42
24
0.928571
0.102273
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
aa74e3a7a9a3637cbb90f9fa4d4a683d822d9ceb
835
py
Python
pylambdarest/request.py
radnov/pylambdarest
73e351716a7a431bcbdeee2f65910b812ae81ab2
[ "MIT" ]
null
null
null
pylambdarest/request.py
radnov/pylambdarest
73e351716a7a431bcbdeee2f65910b812ae81ab2
[ "MIT" ]
null
null
null
pylambdarest/request.py
radnov/pylambdarest
73e351716a7a431bcbdeee2f65910b812ae81ab2
[ "MIT" ]
null
null
null
import json class Request: def __init__(self, event): self.event = event @property def body(self): return self.event["body"] @property def json(self): if self.event["body"] is not None: return json.loads(self.event["body"]) return None @property ...
20.365854
59
0.608383
102
835
4.794118
0.303922
0.147239
0.143149
0.116564
0.126789
0.126789
0.126789
0
0
0
0
0
0.291018
835
40
60
20.875
0.826014
0
0
0.206897
0
0
0.076647
0.02515
0
0
0
0
0
1
0.275862
false
0
0.034483
0.172414
0.655172
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