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
8972def81e0de8b3cad7ca1478b00b24b4b31241
24
py
Python
test_project/tox_run.py
brycedrennan/django-qtools
7af5f36d72f8f75350fd0e84e814fb83204134cc
[ "MIT" ]
6
2016-04-05T21:46:20.000Z
2017-08-30T21:05:20.000Z
test_project/tox_run.py
brycedrennan/django-qtools
7af5f36d72f8f75350fd0e84e814fb83204134cc
[ "MIT" ]
5
2016-10-26T22:08:39.000Z
2021-06-10T17:28:27.000Z
test_project/tox_run.py
brycedrennan/django-qtools
7af5f36d72f8f75350fd0e84e814fb83204134cc
[ "MIT" ]
null
null
null
import tox tox.cmdline()
12
13
0.791667
4
24
4.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.083333
24
2
13
12
0.863636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
5
9871310e4ed55a7ff16d68f5eed06d3804209774
128
py
Python
datasets/mta_perf/parse.py
spacegoing/Pandas_Books
3b3790b2bbf9f31522c36b15ec0e06f61505b3ed
[ "MIT" ]
1
2019-02-28T13:34:20.000Z
2019-02-28T13:34:20.000Z
datasets/mta_perf/parse.py
spacegoing/Pandas_Books
3b3790b2bbf9f31522c36b15ec0e06f61505b3ed
[ "MIT" ]
null
null
null
datasets/mta_perf/parse.py
spacegoing/Pandas_Books
3b3790b2bbf9f31522c36b15ec0e06f61505b3ed
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:eade80af4e3d56fe129321e75b50cf7beb97145f18909656a898385ada8ebf57 size 329
32
75
0.882813
13
128
8.692308
1
0
0
0
0
0
0
0
0
0
0
0.377049
0.046875
128
3
76
42.666667
0.54918
0
0
0
0
0
0
0
0
1
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
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
987d28f38580fb951fdc3269dd2d30be9026c9f8
66
py
Python
test/fixtures/test.py
mwilliammyers/hyperdrive
55b57e2c8b1d790e48efeb860c277889030e9bc2
[ "MIT" ]
100
2019-03-23T13:23:48.000Z
2022-02-06T03:57:40.000Z
notebooks/scr_args.py
nikolis7/python_ml_tutorial
d1189dff44a29d1054504071892d34da356f092b
[ "MIT" ]
6
2018-02-08T07:41:42.000Z
2018-03-05T21:52:47.000Z
notebooks/scr_args.py
nikolis7/python_ml_tutorial
d1189dff44a29d1054504071892d34da356f092b
[ "MIT" ]
25
2019-04-18T22:48:02.000Z
2022-02-19T18:46:43.000Z
from __future__ import print_function import sys print(sys.argv)
13.2
37
0.833333
10
66
5
0.7
0
0
0
0
0
0
0
0
0
0
0
0.121212
66
4
38
16.5
0.862069
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.666667
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
1
0
0
1
0
5
988431d893e89ad683046b13fb9c744eb7c42f09
56
py
Python
ironic_inventory/api/controllers/v1/__init__.py
softlayer/ironic-inventory-integrator
1c7650bb2479939da6af910a80689103d32c75e3
[ "Apache-2.0" ]
1
2016-04-28T19:13:58.000Z
2016-04-28T19:13:58.000Z
ironic_inventory/api/controllers/v1/__init__.py
softlayer/ironic-inventory-integrator
1c7650bb2479939da6af910a80689103d32c75e3
[ "Apache-2.0" ]
null
null
null
ironic_inventory/api/controllers/v1/__init__.py
softlayer/ironic-inventory-integrator
1c7650bb2479939da6af910a80689103d32c75e3
[ "Apache-2.0" ]
1
2016-03-13T07:40:36.000Z
2016-03-13T07:40:36.000Z
from ironic_inventory.api.controllers.v1 import server
18.666667
54
0.857143
8
56
5.875
1
0
0
0
0
0
0
0
0
0
0
0.019608
0.089286
56
2
55
28
0.901961
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
7f39074ad0868243d040926f452846c3aa3a7da8
1,265
gyp
Python
binding.gyp
gaupidigital/nativeextractor.js
ef193c442279432a0b919fac7e6ae04a042a0869
[ "MIT" ]
1
2021-06-07T20:23:59.000Z
2021-06-07T20:23:59.000Z
binding.gyp
gaupidigital/nativeextractor.js
ef193c442279432a0b919fac7e6ae04a042a0869
[ "MIT" ]
1
2021-07-12T10:59:33.000Z
2021-07-12T10:59:33.000Z
binding.gyp
gaupidigital/nativeextractor.js
ef193c442279432a0b919fac7e6ae04a042a0869
[ "MIT" ]
2
2021-06-07T20:04:23.000Z
2021-06-10T11:28:05.000Z
{ "targets": [ { "target_name": "nativeextractor", "cflags!": [ "-fno-exceptions" ], "cflags_cc!": [ "-fno-exceptions" ], "sources": [ "nativeextractor.cc", # "<!@(python -c \"import os; print '\n'.join(['%s' % x for x in os.listdir('../../') if x[-2:] in ('.c', '.h') and 'main' not in x]) + '\nnativeextractor.cc'\")", "./nativeextractor/src/csv_parser.c", "./nativeextractor/src/extractor.c", "./nativeextractor/src/miner.c", "./nativeextractor/src/ner.c", "./nativeextractor/src/occurrence.c", "./nativeextractor/src/pair.c", "./nativeextractor/src/patricia.c", "./nativeextractor/src/patricia_miner.c", "./nativeextractor/src/stream.c", "./nativeextractor/src/unicode.c", ], "include_dirs": [ "<!@(node -p \"require('node-addon-api').include\")", './nativeextractor/src/', './nativeextractor/src/bindings', './nativeextractor/include', '/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include', ], "libraries": [ "-lglib-2.0", ], 'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ], 'extra_link_args': [ '-rdynamic' ], } ] }
34.189189
171
0.534387
127
1,265
5.23622
0.511811
0.324812
0.257143
0.07218
0
0
0
0
0
0
0
0.011506
0.244269
1,265
36
172
35.138889
0.6841
0.127273
0
0.085714
0
0
0.615245
0.438294
0
0
0
0
0
1
0
true
0
0
0
0
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
7f3c4c66ebd5f20463deaeb7c79dfcb8aa54a9cd
32
py
Python
src/pysiaalarm/sync/__init__.py
nestorix1343/pysiaalarm
f40f1b429ec43c70dc1a5b47191a50d8db04dd0f
[ "MIT" ]
12
2020-05-22T20:32:29.000Z
2022-03-06T23:42:16.000Z
src/pysiaalarm/sync/__init__.py
nestorix1343/pysiaalarm
f40f1b429ec43c70dc1a5b47191a50d8db04dd0f
[ "MIT" ]
18
2020-09-30T17:20:29.000Z
2022-02-21T12:54:43.000Z
src/pysiaalarm/sync/__init__.py
nestorix1343/pysiaalarm
f40f1b429ec43c70dc1a5b47191a50d8db04dd0f
[ "MIT" ]
10
2020-06-14T11:18:40.000Z
2022-01-06T13:53:36.000Z
"""Init file for sync folder."""
32
32
0.65625
5
32
4.2
1
0
0
0
0
0
0
0
0
0
0
0
0.125
32
1
32
32
0.75
0.8125
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
7f49531d5e878e44baa771fe0275a546c29a387d
697
py
Python
tests/ocd_backend/utils/test_ibabs.py
openstate/open-raadsinformatie
bb5cb306d794251334942f34e573a204f52db61b
[ "MIT" ]
23
2015-10-28T09:02:41.000Z
2021-12-15T08:40:41.000Z
tests/ocd_backend/utils/test_ibabs.py
openstate/open-raadsinformatie
bb5cb306d794251334942f34e573a204f52db61b
[ "MIT" ]
326
2015-11-03T12:59:48.000Z
2022-03-11T23:18:14.000Z
tests/ocd_backend/utils/test_ibabs.py
openstate/open-raadsinformatie
bb5cb306d794251334942f34e573a204f52db61b
[ "MIT" ]
10
2016-02-05T08:43:07.000Z
2022-03-09T10:04:32.000Z
from unittest import TestCase from ocd_backend.utils.ibabs import translate_position class TranslatePositionTestCase(TestCase): def test_castable_value(self): self.assertEqual(translate_position('1'), (1.0, None)) self.assertEqual(translate_position('1.1'), (1.1, None)) def test_uncastable_value(self): self.assertEqual(translate_position('1A'), (1.0, '1A')) self.assertEqual(translate_position('1.4C'), (1.4, '1.4C')) def test_untranslatable_value(self): self.assertEqual(translate_position('A'), (None, 'A')) self.assertEqual(translate_position('.'), (None, '.')) self.assertEqual(translate_position(None), (None, None))
36.684211
67
0.6901
84
697
5.547619
0.321429
0.291845
0.360515
0.480687
0.575107
0.341202
0
0
0
0
0
0.028961
0.157819
697
18
68
38.722222
0.764906
0
0
0
0
0
0.028694
0
0
0
0
0
0.538462
1
0.230769
false
0
0.153846
0
0.461538
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
5
7f52bfcacc6457226093a473f8d111f2bf0ce6a7
36
py
Python
kattelmod/systems/mkat/__init__.py
ska-sa/kattelmod
b244ac1460e70a4b5c279681172ddcd240af8ba4
[ "BSD-3-Clause" ]
null
null
null
kattelmod/systems/mkat/__init__.py
ska-sa/kattelmod
b244ac1460e70a4b5c279681172ddcd240af8ba4
[ "BSD-3-Clause" ]
2
2020-04-06T11:29:12.000Z
2020-12-08T08:55:12.000Z
kattelmod/systems/mkat/__init__.py
ska-sa/kattelmod
b244ac1460e70a4b5c279681172ddcd240af8ba4
[ "BSD-3-Clause" ]
null
null
null
"""The MeerKAT telescope system."""
18
35
0.694444
4
36
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.78125
0.805556
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
7f9a543c98dd211fb530d4e4d73e10f88f2b3363
45
py
Python
tests/__init__.py
matibek/request_limiter
56d8208d48a7d4a825de170c79b58ae5006101dc
[ "MIT" ]
1
2020-01-21T08:46:37.000Z
2020-01-21T08:46:37.000Z
tests/__init__.py
matibek/request_limiter
56d8208d48a7d4a825de170c79b58ae5006101dc
[ "MIT" ]
5
2020-06-05T20:29:43.000Z
2021-06-04T22:17:55.000Z
tests/__init__.py
matibek/request_limiter
56d8208d48a7d4a825de170c79b58ae5006101dc
[ "MIT" ]
null
null
null
"""Unit test package for request_limiter."""
22.5
44
0.733333
6
45
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
45
1
45
45
0.8
0.844444
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
7fa4f00b3a69989b5d6a82041b1c481171ea7de8
343
py
Python
fapy/algorithms.py
altaris/fapy
a135af53e4efb5fe7d9f8980f126ad280dc04ee3
[ "MIT" ]
1
2020-09-16T13:07:15.000Z
2020-09-16T13:07:15.000Z
fapy/algorithms.py
altaris/fapy
a135af53e4efb5fe7d9f8980f126ad280dc04ee3
[ "MIT" ]
null
null
null
fapy/algorithms.py
altaris/fapy
a135af53e4efb5fe7d9f8980f126ad280dc04ee3
[ "MIT" ]
null
null
null
# pylint: disable=unused-import """Meta module for algorithms """ from fapy.algorithm_brozozwski import brozozwski from fapy.algorithm_brozozwski_minimize import brozozwski_minimize from fapy.algorithm_glushkov import glushkov from fapy.algorithm_powerset_determinize import powerset_determinize from fapy.algorithm_thompson import thompson
31.181818
68
0.868805
42
343
6.880952
0.404762
0.138408
0.294118
0.186851
0
0
0
0
0
0
0
0
0.087464
343
10
69
34.3
0.923323
0.166181
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
f6a12abc808a0ee91be5acfcd0718a87566d8891
724
py
Python
w3r-basic-1-21.py
WLi-syd/python
e8bd743535a1eca3493ea7f74a7475d1fb49de98
[ "CNRI-Python" ]
null
null
null
w3r-basic-1-21.py
WLi-syd/python
e8bd743535a1eca3493ea7f74a7475d1fb49de98
[ "CNRI-Python" ]
null
null
null
w3r-basic-1-21.py
WLi-syd/python
e8bd743535a1eca3493ea7f74a7475d1fb49de98
[ "CNRI-Python" ]
null
null
null
# 21. Write a Python program to find whether a given number (accept from the user) is even or odd, print out an appropriate message to the user. # Question: # Input: # Output: # Solution: https://www.w3resource.com/python-exercises/python-basic-exercise-21.php # Ideas: """ 1. """ # Steps: """ """ # Notes: """ """ # Code: def checkOdd(): # if...else # number = int(input("Pls enter a number: ")) # if number % 2 == 0: # return "The number you entered is even." # else: # return "The number you entered is odd." # tenrary return "The number you entered is even." if (int(input("Pls enter a number: ")) % 2 == 0) else "The number you entered is odd." print(checkOdd()) # Testing: """ """
18.564103
144
0.624309
104
724
4.346154
0.519231
0.079646
0.106195
0.168142
0.358407
0.358407
0.137168
0
0
0
0
0.017637
0.216851
724
38
145
19.052632
0.779541
0.645028
0
0
0
0
0.389423
0
0
0
0
0
0
1
0.333333
true
0
0
0.333333
0.666667
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
5
f6ed9c14682c1ab2efe6d60c401c5474028b0b21
336
py
Python
halotools/tests/test_subpkg_imports.py
pllim/halotools
6499cff09e7e0f169e4f425ee265403f6be816e8
[ "BSD-3-Clause" ]
83
2015-01-15T14:54:16.000Z
2021-12-09T11:28:02.000Z
halotools/tests/test_subpkg_imports.py
pllim/halotools
6499cff09e7e0f169e4f425ee265403f6be816e8
[ "BSD-3-Clause" ]
579
2015-01-14T15:57:37.000Z
2022-01-13T18:58:44.000Z
halotools/tests/test_subpkg_imports.py
pllim/halotools
6499cff09e7e0f169e4f425ee265403f6be816e8
[ "BSD-3-Clause" ]
70
2015-01-14T15:15:58.000Z
2021-12-22T18:18:31.000Z
""" Testing module to ensure that all sub-packages can be imported. """ def test_import_sim_manager(): from .. import sim_manager def test_import_empirical_models(): from .. import empirical_models def test_import_mock_observables(): from .. import mock_observables def test_import_utils(): from .. import utils
17.684211
67
0.738095
45
336
5.2
0.488889
0.119658
0.222222
0
0
0
0
0
0
0
0
0
0.178571
336
18
68
18.666667
0.847826
0.1875
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
1
0
1.5
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
1
0
1
0
1
0
0
5
12039e1aae31045eb68c6a6531bc66a755c6955c
160
py
Python
terrascript/cloudflare/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
terrascript/cloudflare/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
terrascript/cloudflare/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
# terrascript/cloudflare/d.py import terrascript class cloudflare_ip_ranges(terrascript.Data): pass class cloudflare_zones(terrascript.Data): pass
14.545455
45
0.78125
19
160
6.421053
0.578947
0.245902
0.311475
0
0
0
0
0
0
0
0
0
0.14375
160
10
46
16
0.890511
0.16875
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0.4
0.2
0
0.6
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
126f45886f66608b315779a055ca146ed9b07144
42
py
Python
main/static/automaticImporter.py
gagominecraft12/Blueity-Client-Retrace
d42a927a85226d73da66123922d9ea11cc20ac3d
[ "MIT" ]
null
null
null
main/static/automaticImporter.py
gagominecraft12/Blueity-Client-Retrace
d42a927a85226d73da66123922d9ea11cc20ac3d
[ "MIT" ]
null
null
null
main/static/automaticImporter.py
gagominecraft12/Blueity-Client-Retrace
d42a927a85226d73da66123922d9ea11cc20ac3d
[ "MIT" ]
null
null
null
import tarfile; tarfile.CompressionError()
21
26
0.857143
4
42
9
0.75
0
0
0
0
0
0
0
0
0
0
0
0.047619
42
2
26
21
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
5
89cabc0a71291c5549ed772c65e8650adf67d00f
208
py
Python
imeerk/notifications/slack/__init__.py
nikialeksey/imeerk
fdf9cbdf9c139418ec872489f9615dbd88b378c2
[ "MIT" ]
null
null
null
imeerk/notifications/slack/__init__.py
nikialeksey/imeerk
fdf9cbdf9c139418ec872489f9615dbd88b378c2
[ "MIT" ]
9
2018-10-19T18:35:53.000Z
2018-11-14T08:34:52.000Z
imeerk/notifications/slack/__init__.py
nikialeksey/imeerk
fdf9cbdf9c139418ec872489f9615dbd88b378c2
[ "MIT" ]
null
null
null
from .DbSlackNotification import DbSlackNotification from .DbSlackNotifications import DbSlackNotifications from .SlackNotification import SlackNotification from .SlackNotifications import SlackNotifications
41.6
54
0.903846
16
208
11.75
0.375
0
0
0
0
0
0
0
0
0
0
0
0.076923
208
4
55
52
0.979167
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
89e318848d8df2b986786ffc1b379bd16592cc7c
128
py
Python
cowsay_app/admin.py
KJWilliamson/django-cowsay
7a3bedef97ad5c32d4f0084182c671054d17fb3b
[ "MIT" ]
null
null
null
cowsay_app/admin.py
KJWilliamson/django-cowsay
7a3bedef97ad5c32d4f0084182c671054d17fb3b
[ "MIT" ]
null
null
null
cowsay_app/admin.py
KJWilliamson/django-cowsay
7a3bedef97ad5c32d4f0084182c671054d17fb3b
[ "MIT" ]
null
null
null
from django.contrib import admin from cowsay_app.models import Cowsay # Register your models here. admin.site.register(Cowsay)
21.333333
36
0.820313
19
128
5.473684
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.117188
128
5
37
25.6
0.920354
0.203125
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
89f5334f92c3ccc357924d8aa0e4908c983dab7f
185
py
Python
src/exceptions.py
vcodrins/json_to_folder
3e07259b1c5757587a5235b2412441d87607597f
[ "MIT" ]
null
null
null
src/exceptions.py
vcodrins/json_to_folder
3e07259b1c5757587a5235b2412441d87607597f
[ "MIT" ]
null
null
null
src/exceptions.py
vcodrins/json_to_folder
3e07259b1c5757587a5235b2412441d87607597f
[ "MIT" ]
null
null
null
class InvalidArgumentCount(Exception): pass class InvalidFolderPath(Exception): pass class InvalidFilePath(Exception): pass class InvalidJsonFile(Exception): pass
12.333333
38
0.751351
16
185
8.6875
0.4375
0.374101
0.388489
0
0
0
0
0
0
0
0
0
0.183784
185
14
39
13.214286
0.92053
0
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
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
1
1
0
0
0
0
0
5
d60d96c9d2b4a4a6ac4d9241d86c17a4d968ac26
167
py
Python
django_pwned/apps.py
QueraTeam/django-pwned
1a7f4f50fa686d4e10f7a1c4e648480e34fdde25
[ "MIT" ]
21
2022-01-19T12:27:43.000Z
2022-03-16T23:43:05.000Z
django_pwned/apps.py
QueraTeam/django-pwned
1a7f4f50fa686d4e10f7a1c4e648480e34fdde25
[ "MIT" ]
null
null
null
django_pwned/apps.py
QueraTeam/django-pwned
1a7f4f50fa686d4e10f7a1c4e648480e34fdde25
[ "MIT" ]
1
2022-01-27T17:30:09.000Z
2022-01-27T17:30:09.000Z
from django.apps import AppConfig class DjangoPwnedConfig(AppConfig): name = "django_pwned" verbose_name = "Django Pwned" def ready(self): pass
16.7
35
0.688623
19
167
5.947368
0.736842
0.176991
0.265487
0
0
0
0
0
0
0
0
0
0.233533
167
9
36
18.555556
0.882813
0
0
0
0
0
0.143713
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.833333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
5
d616c3114219bf5c53c5ffce084f61fab82445f0
125
py
Python
App/views.py
FlaskTeam/FlaskAXF
7b8c4128ca8339397274ab89ba2035768f16aa92
[ "Apache-2.0" ]
2
2018-04-23T08:44:44.000Z
2018-04-23T08:44:51.000Z
App/views.py
FlaskTeam/FlaskAXF
7b8c4128ca8339397274ab89ba2035768f16aa92
[ "Apache-2.0" ]
null
null
null
App/views.py
FlaskTeam/FlaskAXF
7b8c4128ca8339397274ab89ba2035768f16aa92
[ "Apache-2.0" ]
null
null
null
from flask import Blueprint blue = Blueprint("blue",__name__) def init_blue(app): app.register_blueprint(blueprint=blue)
25
42
0.784
17
125
5.411765
0.588235
0.423913
0
0
0
0
0
0
0
0
0
0
0.112
125
5
42
25
0.828829
0
0
0
0
0
0.031746
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.75
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
1
0
0
0
0
0
1
0
5
c38dfef0912bdc3e6cc550cb05ab806db74419a7
365
py
Python
opengl/utils/helpers.py
pestipeti/LyftOpenGLRasterizer
afeab7e463afc40dc97f9f38be6b87ea0e0759a0
[ "MIT-0" ]
3
2020-09-15T13:37:47.000Z
2020-10-06T08:08:56.000Z
opengl/utils/helpers.py
morizin/l5kit_fix
363a2607217c4dc6e3f4333099055a03a117be5d
[ "MIT-0" ]
1
2020-10-27T04:34:20.000Z
2020-10-27T04:34:20.000Z
opengl/utils/helpers.py
morizin/l5kit_fix
363a2607217c4dc6e3f4333099055a03a117be5d
[ "MIT-0" ]
1
2020-12-09T14:02:51.000Z
2020-12-09T14:02:51.000Z
import dill import os def obj_save(obj, filename, dir_cache): with open(f'{dir_cache}/{filename}.dil', 'wb') as f: dill.dump(obj, f) def obj_load(filename, dir_cache): with open(f'{dir_cache}/{filename}.dil', 'rb') as f: return dill.load(f) def obj_exists(filename, dir_cache): return os.path.isfile(f'{dir_cache}/{filename}.dil')
21.470588
56
0.660274
60
365
3.866667
0.366667
0.206897
0.206897
0.219828
0.465517
0.37931
0.37931
0.37931
0.37931
0.37931
0
0
0.175342
365
16
57
22.8125
0.770764
0
0
0
0
0
0.224658
0.213699
0
0
0
0
0
1
0.3
false
0
0.2
0.1
0.7
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
c3b8807cb8f6730d8bf2a8fb0bfe4827379da7fc
60
py
Python
adventofcode/2021/3/process_diagnostic/__init__.py
bneradt/toy
982e80ec98f4e951f7275e5f22cb0197f8f86c08
[ "Apache-2.0" ]
null
null
null
adventofcode/2021/3/process_diagnostic/__init__.py
bneradt/toy
982e80ec98f4e951f7275e5f22cb0197f8f86c08
[ "Apache-2.0" ]
null
null
null
adventofcode/2021/3/process_diagnostic/__init__.py
bneradt/toy
982e80ec98f4e951f7275e5f22cb0197f8f86c08
[ "Apache-2.0" ]
null
null
null
from .process_diagnostic import BinaryStat, ReportProcessor
30
59
0.883333
6
60
8.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.083333
60
1
60
60
0.945455
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
c3fae72db627a245510d8176fd1ab37dc4099bfd
38
py
Python
trade/gateways/xtp/__init__.py
dogfun/clend
04a0746bd07f66717444db5f541397475366c614
[ "MIT" ]
2
2021-12-15T07:24:33.000Z
2022-03-21T14:30:41.000Z
trade/gateways/xtp/__init__.py
dogfun/clend
04a0746bd07f66717444db5f541397475366c614
[ "MIT" ]
null
null
null
trade/gateways/xtp/__init__.py
dogfun/clend
04a0746bd07f66717444db5f541397475366c614
[ "MIT" ]
null
null
null
# from .xtp_gateway import XtpGateway
19
37
0.815789
5
38
6
1
0
0
0
0
0
0
0
0
0
0
0
0.131579
38
1
38
38
0.909091
0.921053
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
7f069d0f43282233c010cd5353b53718049ca409
206
py
Python
lat/lightcurve_test.py
Omaam/lat
bb72c43fc870a36e26a32b05000d091871e07ad5
[ "MIT" ]
null
null
null
lat/lightcurve_test.py
Omaam/lat
bb72c43fc870a36e26a32b05000d091871e07ad5
[ "MIT" ]
null
null
null
lat/lightcurve_test.py
Omaam/lat
bb72c43fc870a36e26a32b05000d091871e07ad5
[ "MIT" ]
null
null
null
"""Test for lightcurve.py """ import unittest def make_sim_fitslightcurve(): return None class FitsLightCruveTest(unittest.TestCase): def calc_psd_check_number_of_bin_test(self): pass
13.733333
48
0.737864
26
206
5.538462
0.884615
0
0
0
0
0
0
0
0
0
0
0
0.179612
206
14
49
14.714286
0.852071
0.106796
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0.166667
0.166667
0.833333
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
1
1
0
0
5
613c646a2de918a3e0020956bfad3595112855ab
4,182
py
Python
gnes/proto/gnes_pb2_grpc.py
micro-pixel/gnes
388d1ba718ec04eedaaff3ce34da43689c197ee7
[ "Apache-2.0" ]
2
2019-08-12T04:25:13.000Z
2019-12-02T18:25:40.000Z
gnes/proto/gnes_pb2_grpc.py
cmy9068/gnes
44a54be4c80108ac65b2450b4af8deded6da3339
[ "Apache-2.0" ]
null
null
null
gnes/proto/gnes_pb2_grpc.py
cmy9068/gnes
44a54be4c80108ac65b2450b4af8deded6da3339
[ "Apache-2.0" ]
1
2020-10-28T15:07:36.000Z
2020-10-28T15:07:36.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from . import gnes_pb2 as gnes__pb2 class GnesRPCStub(object): # missing associated documentation comment in .proto file pass def __init__(self, channel): """Constructor. Args: channel: A grpc.Channel. """ self.Train = channel.unary_unary( '/gnes.GnesRPC/Train', request_serializer=gnes__pb2.Request.SerializeToString, response_deserializer=gnes__pb2.Response.FromString, ) self.Index = channel.unary_unary( '/gnes.GnesRPC/Index', request_serializer=gnes__pb2.Request.SerializeToString, response_deserializer=gnes__pb2.Response.FromString, ) self.Query = channel.unary_unary( '/gnes.GnesRPC/Query', request_serializer=gnes__pb2.Request.SerializeToString, response_deserializer=gnes__pb2.Response.FromString, ) self.Call = channel.unary_unary( '/gnes.GnesRPC/Call', request_serializer=gnes__pb2.Request.SerializeToString, response_deserializer=gnes__pb2.Response.FromString, ) self.StreamCall = channel.stream_stream( '/gnes.GnesRPC/StreamCall', request_serializer=gnes__pb2.Request.SerializeToString, response_deserializer=gnes__pb2.Response.FromString, ) class GnesRPCServicer(object): # missing associated documentation comment in .proto file pass def Train(self, request, context): """option (rpc_core.method_no_deadline) = true; option (rpc_core.service_default_deadline_ms) = 5000; """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Index(self, request, context): # missing associated documentation comment in .proto file pass context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Query(self, request, context): # missing associated documentation comment in .proto file pass context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Call(self, request, context): # missing associated documentation comment in .proto file pass context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def StreamCall(self, request_iterator, context): # missing associated documentation comment in .proto file pass context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def add_GnesRPCServicer_to_server(servicer, server): rpc_method_handlers = { 'Train': grpc.unary_unary_rpc_method_handler( servicer.Train, request_deserializer=gnes__pb2.Request.FromString, response_serializer=gnes__pb2.Response.SerializeToString, ), 'Index': grpc.unary_unary_rpc_method_handler( servicer.Index, request_deserializer=gnes__pb2.Request.FromString, response_serializer=gnes__pb2.Response.SerializeToString, ), 'Query': grpc.unary_unary_rpc_method_handler( servicer.Query, request_deserializer=gnes__pb2.Request.FromString, response_serializer=gnes__pb2.Response.SerializeToString, ), 'Call': grpc.unary_unary_rpc_method_handler( servicer.Call, request_deserializer=gnes__pb2.Request.FromString, response_serializer=gnes__pb2.Response.SerializeToString, ), 'StreamCall': grpc.stream_stream_rpc_method_handler( servicer.StreamCall, request_deserializer=gnes__pb2.Request.FromString, response_serializer=gnes__pb2.Response.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( 'gnes.GnesRPC', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,))
36.051724
69
0.724295
444
4,182
6.540541
0.173423
0.05303
0.05854
0.076446
0.766529
0.727961
0.727961
0.67562
0.67562
0.67562
0
0.007674
0.189861
4,182
115
70
36.365217
0.849469
0.131516
0
0.528736
1
0
0.102978
0.00668
0
0
0
0
0
1
0.08046
false
0.068966
0.022989
0
0.126437
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
6153b8a6bcef63120e5086ccad891cd42e36f8e2
88
py
Python
wcics/database/models/oauth/__init__.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
null
null
null
wcics/database/models/oauth/__init__.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
6
2019-12-06T18:06:28.000Z
2021-12-01T20:19:05.000Z
wcics/database/models/oauth/__init__.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .google import GoogleLinks from .github import GithubLinks
22
31
0.727273
11
88
5.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0.013333
0.147727
88
4
32
22
0.84
0.238636
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
f64ee8423fe00402459084305f80e19c14e0b251
302
py
Python
ocd_backend/es.py
ngi-nix/poliscoops
491d12f83a44afbb4f1ee525b29ae70dc564e0f7
[ "CC-BY-4.0" ]
6
2020-04-08T08:23:07.000Z
2021-12-05T09:56:14.000Z
ocd_backend/es.py
ngi-nix/poliscoops
491d12f83a44afbb4f1ee525b29ae70dc564e0f7
[ "CC-BY-4.0" ]
65
2020-04-07T08:16:31.000Z
2022-02-19T00:18:24.000Z
ocd_backend/es.py
openstate/coronalert
9aa24cc0ea75b85e9bda0cfcd6ff592a2c61c95e
[ "CC-BY-4.0" ]
1
2021-08-03T09:49:14.000Z
2021-08-03T09:49:14.000Z
from elasticsearch import Elasticsearch from ocd_backend.settings import ELASTICSEARCH_HOST, ELASTICSEARCH_PORT def setup_elasticsearch(host=ELASTICSEARCH_HOST, port=ELASTICSEARCH_PORT): return Elasticsearch([{'host': host, 'port': port, 'timeout': 20}]) elasticsearch = setup_elasticsearch()
27.454545
74
0.804636
33
302
7.151515
0.393939
0.288136
0.254237
0
0
0
0
0
0
0
0
0.00738
0.102649
302
10
75
30.2
0.863469
0
0
0
0
0
0.049669
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
5
f65d7b7a36b604e73cdc028fc121a7031b9bac6a
30
py
Python
code/abc041_a_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc041_a_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc041_a_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
print(input()[int(input())-1])
30
30
0.633333
5
30
3.8
0.8
0
0
0
0
0
0
0
0
0
0
0.033333
0
30
1
30
30
0.6
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
0
0
0
1
0
5
f66afccd601cc2e65c2e26e76002c8936080293f
285
py
Python
feedly/feeds/memory.py
amitpatra/Stream-Framework
2c40d537fc5a8b3d721060f33b817fb0ca5ec2ee
[ "BSD-3-Clause" ]
2
2020-11-22T00:49:53.000Z
2020-11-23T08:54:06.000Z
feedly/feeds/memory.py
amitpatra/Stream-Framework
2c40d537fc5a8b3d721060f33b817fb0ca5ec2ee
[ "BSD-3-Clause" ]
2
2021-04-13T15:47:56.000Z
2021-12-02T17:57:00.000Z
feedly/feeds/memory.py
amitpatra/Stream-Framework
2c40d537fc5a8b3d721060f33b817fb0ca5ec2ee
[ "BSD-3-Clause" ]
null
null
null
from feedly.feeds.base import BaseFeed from feedly.storage.memory import InMemoryActivityStorage from feedly.storage.memory import InMemoryTimelineStorage class Feed(BaseFeed): timeline_storage_class = InMemoryTimelineStorage activity_storage_class = InMemoryActivityStorage
31.666667
57
0.85614
29
285
8.275862
0.482759
0.125
0.141667
0.191667
0.241667
0
0
0
0
0
0
0
0.105263
285
8
58
35.625
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
f66ec4bce2b8f8e3e0144a94d8a995f95739236f
210
py
Python
labfunctions/runtimes/__init__.py
dymaxionlabs/nb_workflows
336e4d83dd5f8a7edfbaacfa426b23a42c0a68a9
[ "Apache-2.0" ]
4
2022-02-17T19:47:52.000Z
2022-02-17T20:11:06.000Z
labfunctions/runtimes/__init__.py
dymaxionlabs/nb_workflows
336e4d83dd5f8a7edfbaacfa426b23a42c0a68a9
[ "Apache-2.0" ]
2
2022-03-26T00:07:05.000Z
2022-03-30T21:20:00.000Z
labfunctions/runtimes/__init__.py
dymaxionlabs/nb_workflows
336e4d83dd5f8a7edfbaacfa426b23a42c0a68a9
[ "Apache-2.0" ]
1
2022-02-18T13:33:00.000Z
2022-02-18T13:33:00.000Z
from .bundler import bundle_project from .context import ( build_upload_uri, create_build_ctx, local_runtime_data, make_docker_name, ) from .utils import generate_dockerfile, get_spec_from_file
23.333333
58
0.790476
29
210
5.275862
0.793103
0
0
0
0
0
0
0
0
0
0
0
0.161905
210
8
59
26.25
0.869318
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
f673e9e84ca1ede0eedb70daea863b1d7b17919b
44
py
Python
PlayChess/chat/__init__.py
ShavImigne/PlayChess
1eb0dcaf1d58b02bdc880f8e51857a87696ee461
[ "MIT" ]
12
2018-05-02T13:13:41.000Z
2022-03-13T15:37:29.000Z
PlayChess/chat/__init__.py
ShavImigne/PlayChess
1eb0dcaf1d58b02bdc880f8e51857a87696ee461
[ "MIT" ]
24
2018-05-03T13:06:56.000Z
2019-08-13T14:49:03.000Z
PlayChess/chat/__init__.py
ShavImigne/PlayChess
1eb0dcaf1d58b02bdc880f8e51857a87696ee461
[ "MIT" ]
17
2018-05-03T13:46:40.000Z
2021-06-26T13:57:05.000Z
""" Contains website's chat applications """
44
44
0.727273
5
44
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.113636
44
1
44
44
0.820513
0.818182
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
9c86d9a31f1d91d1d3df7075bfb0248ff611f922
77
py
Python
torchio/data/inference/__init__.py
nwschurink/torchio
9cb4319200ca328102a370d58b39be1c3b0b4cdc
[ "MIT" ]
1
2021-05-18T09:36:35.000Z
2021-05-18T09:36:35.000Z
torchio/data/inference/__init__.py
nwschurink/torchio
9cb4319200ca328102a370d58b39be1c3b0b4cdc
[ "MIT" ]
null
null
null
torchio/data/inference/__init__.py
nwschurink/torchio
9cb4319200ca328102a370d58b39be1c3b0b4cdc
[ "MIT" ]
1
2022-01-12T06:41:26.000Z
2022-01-12T06:41:26.000Z
from .grid_sampler import GridSampler from .aggregator import GridAggregator
25.666667
38
0.87013
9
77
7.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.103896
77
2
39
38.5
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9ca0381be2211f58759dd4cc4cdeeb1d2f9a9e5e
126
py
Python
api/admin.py
SwampGuzzler/django-charts
7591bcb3d859694e52a9c64f299a0cfaaa464d85
[ "CC0-1.0" ]
null
null
null
api/admin.py
SwampGuzzler/django-charts
7591bcb3d859694e52a9c64f299a0cfaaa464d85
[ "CC0-1.0" ]
null
null
null
api/admin.py
SwampGuzzler/django-charts
7591bcb3d859694e52a9c64f299a0cfaaa464d85
[ "CC0-1.0" ]
null
null
null
from django.contrib import admin # Register your models here. from api.models import Character admin.site.register(Character)
25.2
32
0.825397
18
126
5.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.111111
126
5
33
25.2
0.928571
0.206349
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9cb9550b63abc0b217f09bdae4a10e48d5cdc5b0
24
py
Python
librarygadget/librarybot/findlibraries/__init__.py
bluestemscott/librarygadget
4407af47b568715750f3f6604441d5f72971ea18
[ "MIT" ]
null
null
null
librarygadget/librarybot/findlibraries/__init__.py
bluestemscott/librarygadget
4407af47b568715750f3f6604441d5f72971ea18
[ "MIT" ]
null
null
null
librarygadget/librarybot/findlibraries/__init__.py
bluestemscott/librarygadget
4407af47b568715750f3f6604441d5f72971ea18
[ "MIT" ]
null
null
null
__author__ = 'P082393'
12
23
0.708333
2
24
6.5
1
0
0
0
0
0
0
0
0
0
0
0.3
0.166667
24
1
24
24
0.35
0
0
0
0
0
0.304348
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
1
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
5
9ce5e7eb385ad892df342895b05dfb874767e856
3,050
py
Python
tests/test_sqlalchemy_datalayer/test_simple_schema.py
Zenor27/fastapi-rest-jsonapi
1c6eaad0791949bbaf9f4032fb7ecd483e80a02a
[ "MIT" ]
2
2022-03-01T00:59:04.000Z
2022-03-03T06:17:51.000Z
tests/test_sqlalchemy_datalayer/test_simple_schema.py
Zenor27/fastapi-rest-jsonapi
1c6eaad0791949bbaf9f4032fb7ecd483e80a02a
[ "MIT" ]
9
2022-01-16T15:47:35.000Z
2022-03-28T18:47:18.000Z
tests/test_sqlalchemy_datalayer/test_simple_schema.py
Zenor27/fastapi-rest-jsonapi
1c6eaad0791949bbaf9f4032fb7ecd483e80a02a
[ "MIT" ]
null
null
null
import random from fastapi import status from fastapi.testclient import TestClient from requests.models import Response def test_simple_list(client: TestClient, user, generate_data): response: Response = client.get("/users") assert response.status_code == status.HTTP_200_OK assert response.json() == { "data": [ generate_data(user), ] } def test_simple_list_multiple_users(client: TestClient, users, generate_data): response: Response = client.get("/users") assert response.status_code == status.HTTP_200_OK assert response.json() == {"data": [generate_data(user) for user in users]} def test_simple_detail(client: TestClient, user, generate_data): response: Response = client.get(f"/users/{user.id}") assert response.status_code == status.HTTP_200_OK assert response.json() == {"data": generate_data(user)} def test_simple_detail_object_not_found(client: TestClient): response: Response = client.get("/users/999") assert response.status_code == status.HTTP_404_NOT_FOUND def test_simple_detail_multiple_users(client: TestClient, users, generate_data): random_user = random.choice(users) response: Response = client.get(f"/users/{random_user.id}") assert response.status_code == status.HTTP_200_OK assert response.json() == {"data": generate_data(random_user)} def test_simple_delete(client: TestClient, user): response: Response = client.delete(f"/users/{user.id}") assert response.status_code == status.HTTP_204_NO_CONTENT def test_simple_delete_object_not_found(client: TestClient): response: Response = client.delete("/users/42") assert response.status_code == status.HTTP_404_NOT_FOUND def test_simple_delete_multiple_users(client: TestClient, users): random_user = random.choice(users) response: Response = client.delete(f"/users/{random_user.id}") assert response.status_code == status.HTTP_204_NO_CONTENT def test_simple_delete_multiple_users_object_not_found(client: TestClient, users): response: Response = client.delete("/users/999") assert response.status_code == status.HTTP_404_NOT_FOUND def test_simple_update(client: TestClient, user): response: Response = client.patch(f"/users/{user.id}", json={"name": "New user name", "age": 24}) assert response.status_code == status.HTTP_204_NO_CONTENT def test_simple_update_multiple_users(client: TestClient, users): random_user = random.choice(users) response: Response = client.patch(f"/users/{random_user.id}", json={"name": "New user name", "age": 24}) assert response.status_code == status.HTTP_204_NO_CONTENT def test_simple_create_user(client: TestClient): response: Response = client.post("/users", json={"name": "New user name", "age": 42}) assert response.status_code == status.HTTP_201_CREATED assert response.json() == { "data": { "type": "user", "id": response.json()["data"]["id"], "attributes": {"name": "New user name", "age": 42}, } }
36.746988
108
0.718361
399
3,050
5.235589
0.135338
0.11393
0.074677
0.137865
0.856391
0.798468
0.711345
0.654859
0.581618
0.544758
0
0.020179
0.155082
3,050
82
109
37.195122
0.790454
0
0
0.310345
1
0
0.095082
0.022623
0
0
0
0
0.293103
1
0.206897
false
0
0.068966
0
0.275862
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
9cec4eedad91d332a980add2e00d1bef97de54eb
14
py
Python
zabbix/mon/modules/tst/m1/m11/m11s.py
gelo22/scripts
0245f7b976930da590026736539b8fcee1b540b9
[ "BSD-3-Clause" ]
null
null
null
zabbix/mon/modules/tst/m1/m11/m11s.py
gelo22/scripts
0245f7b976930da590026736539b8fcee1b540b9
[ "BSD-3-Clause" ]
null
null
null
zabbix/mon/modules/tst/m1/m11/m11s.py
gelo22/scripts
0245f7b976930da590026736539b8fcee1b540b9
[ "BSD-3-Clause" ]
null
null
null
print('m11s')
7
13
0.642857
2
14
4.5
1
0
0
0
0
0
0
0
0
0
0
0.153846
0.071429
14
1
14
14
0.538462
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
0
0
0
1
0
5
9cee6b27bdd4a1a73de4d39416c957f89650bf9f
88
py
Python
src/onqg/utils/__init__.py
WING-NUS/RL-for-Question-Generation
745b8f823df9bcf4cc422c97a83ce096ac9c5e35
[ "MIT" ]
1
2021-01-05T05:30:00.000Z
2021-01-05T05:30:00.000Z
src/onqg/utils/__init__.py
MrSchnappi/RL-for-Question-Generation
d1966a47ef28c076902189469508194f659c5270
[ "MIT" ]
null
null
null
src/onqg/utils/__init__.py
MrSchnappi/RL-for-Question-Generation
d1966a47ef28c076902189469508194f659c5270
[ "MIT" ]
1
2021-03-23T16:34:06.000Z
2021-03-23T16:34:06.000Z
from onqg.utils.mask import get_non_pad_mask, get_attn_key_pad_mask, get_subsequent_mask
88
88
0.897727
17
88
4.117647
0.647059
0.2
0.285714
0
0
0
0
0
0
0
0
0
0.056818
88
1
88
88
0.843373
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
140c66a883c170d13e9c90570aa3a544d65aa5f1
259
py
Python
ansible/collections/ansible_collections/nhsd/apigee/plugins/module_utils/models/manifest/apigee.py
uk-gov-mirror/nhsdigital.api-management-utils
4ee5489f7ce7595c371e2f4e83fc0c753308905a
[ "MIT" ]
null
null
null
ansible/collections/ansible_collections/nhsd/apigee/plugins/module_utils/models/manifest/apigee.py
uk-gov-mirror/nhsdigital.api-management-utils
4ee5489f7ce7595c371e2f4e83fc0c753308905a
[ "MIT" ]
20
2020-05-27T15:00:31.000Z
2021-09-13T11:38:58.000Z
ansible/collections/ansible_collections/nhsd/apigee/plugins/module_utils/models/manifest/apigee.py
uk-gov-mirror/nhsdigital.api-management-utils
4ee5489f7ce7595c371e2f4e83fc0c753308905a
[ "MIT" ]
3
2021-04-11T07:31:36.000Z
2022-01-24T11:23:18.000Z
import typing import pydantic from ansible_collections.nhsd.apigee.plugins.module_utils.models.manifest.apigee_environment import ManifestApigeeEnvironment class ManifestApigee(pydantic.BaseModel): environments: typing.List[ManifestApigeeEnvironment]
25.9
125
0.864865
26
259
8.5
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.07722
259
9
126
28.777778
0.924686
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
149aaa2aeb0e8bf342cb65da90cf9e5ed27f4c54
759
py
Python
Derangements/Derangements.py
ajtroyer/Integer-Sequences
d54a84c74b2cfa95e3df8489d5878fa4e8881d73
[ "Unlicense" ]
48
2021-06-28T05:53:43.000Z
2022-03-17T10:37:26.000Z
Derangements/Derangements.py
ajtroyer/Integer-Sequences
d54a84c74b2cfa95e3df8489d5878fa4e8881d73
[ "Unlicense" ]
99
2021-06-28T03:16:51.000Z
2022-03-17T00:18:50.000Z
Derangements/Derangements.py
ajtroyer/Integer-Sequences
d54a84c74b2cfa95e3df8489d5878fa4e8881d73
[ "Unlicense" ]
140
2021-06-28T06:29:19.000Z
2022-03-30T11:15:45.000Z
Derangements.py 1 def derangements(n): 2 if n == 0: 3 return 1 4 if n == 1: 5 return 0 6 return (n-1) * (derangements(n-1) + derangements(n-2)) 7 n = int(input('Enter n: ')) 8 print(derangements(n)) 9 10 ~ ~ ~
50.6
150
0.173913
42
759
3.142857
0.5
0.393939
0.212121
0.227273
0
0
0
0
0
0
0
0.105882
0.776021
759
14
151
54.214286
0.670588
0
0
0
0
0
0.011858
0
0
0
0
0
0
0
null
null
0
0
null
null
0.071429
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
14a29080525fc17141b6ffa7e62887ab17f2d446
574
py
Python
app.py
cenglish89/Python-Final-Project
3b210440b880a04e8d91857de7ade00ea2471741
[ "MIT" ]
null
null
null
app.py
cenglish89/Python-Final-Project
3b210440b880a04e8d91857de7ade00ea2471741
[ "MIT" ]
null
null
null
app.py
cenglish89/Python-Final-Project
3b210440b880a04e8d91857de7ade00ea2471741
[ "MIT" ]
null
null
null
from flask import Flask, render_template app = Flask(__name__) @app.route('/') def home(): return render_template('home.html') @app.route('/about') def about(): return render_template('about.html') @app.route('/results') def results(): return render_template('results.html') @app.route('/research') def research(): return render_template('researchq.html') @app.route('/project') def project(): return render_template('project.html') @app.route('/methodology') def methodology(): return render_template('methodology.html') if __name__ == '__main__': app.run()
18.516129
43
0.721254
73
574
5.410959
0.287671
0.248101
0.303797
0
0
0
0
0
0
0
0
0
0.101045
574
31
44
18.516129
0.765504
0
0
0
0
0
0.217391
0
0
0
0
0
0
1
0.272727
false
0
0.045455
0.272727
0.590909
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
1adfa2b5c3a99c58204a799598cc1f6b1c35f55b
357
py
Python
sample/example.py
PhongPhamdt/design_pattern
88998816bea02ce6296a043fb2dfb402a7a02c5c
[ "MIT" ]
null
null
null
sample/example.py
PhongPhamdt/design_pattern
88998816bea02ce6296a043fb2dfb402a7a02c5c
[ "MIT" ]
null
null
null
sample/example.py
PhongPhamdt/design_pattern
88998816bea02ce6296a043fb2dfb402a7a02c5c
[ "MIT" ]
null
null
null
class X: def call(self): print("X") class Y: def call(self): print("Y") class Z: def call(self): print("Z") class T: def call(self): print("T") class A(X,Y): def load(self): print("A") class B(Z,T): def load(self): print("B") class M(A,B): pass m = M() m.call() m.load()
9.648649
19
0.464986
57
357
2.912281
0.245614
0.325301
0.26506
0.385542
0
0
0
0
0
0
0
0
0.347339
357
36
20
9.916667
0.712446
0
0
0.272727
0
0
0.016807
0
0
0
0
0
0
1
0.272727
false
0.045455
0
0
0.590909
0.272727
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
1
0
0
0
0
1
0
0
5
1ae8a232c2daa7d82e5c6156d8488de676910ecc
96
py
Python
venv/lib/python3.8/site-packages/numpy/core/tests/test_cpu_features.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/numpy/core/tests/test_cpu_features.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/numpy/core/tests/test_cpu_features.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/1f/94/2e/48cde61209565251cfaeda412bd10bfebb03463e14d3fc9e87ccb61ffa
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.364583
0
96
1
96
96
0.53125
0
0
0
0
0
0
0
0
1
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
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
211349926e78920de7b92148818726b6506802e3
25
py
Python
twixreader/__init__.py
davidrigie/twixreader
e815de7a25746e9fa6b756a795e24bb8b3e1206a
[ "MIT" ]
3
2018-02-08T13:13:55.000Z
2020-06-02T14:09:47.000Z
twixreader/__init__.py
davidrigie/twixreader
e815de7a25746e9fa6b756a795e24bb8b3e1206a
[ "MIT" ]
null
null
null
twixreader/__init__.py
davidrigie/twixreader
e815de7a25746e9fa6b756a795e24bb8b3e1206a
[ "MIT" ]
1
2019-04-30T08:00:23.000Z
2019-04-30T08:00:23.000Z
from .twixreader import *
25
25
0.8
3
25
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
dcdd84cfc6574b8b210de811c7d390059964fd18
28
py
Python
deepspeed/profiling/gpu_profiler/__init__.py
harishsg99/DeepSpeed
4f436ddd767db0d82ab02ec3f9b2a454c25cecb9
[ "MIT" ]
null
null
null
deepspeed/profiling/gpu_profiler/__init__.py
harishsg99/DeepSpeed
4f436ddd767db0d82ab02ec3f9b2a454c25cecb9
[ "MIT" ]
null
null
null
deepspeed/profiling/gpu_profiler/__init__.py
harishsg99/DeepSpeed
4f436ddd767db0d82ab02ec3f9b2a454c25cecb9
[ "MIT" ]
null
null
null
from .gpu_profiler import *
14
27
0.785714
4
28
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
0d07f17d36124b1cc52c00d506ecc0b2e9809b54
77
py
Python
octopus/modules/sheets/tests/fixtures/__init__.py
richard-jones/magnificent-octopus
4a65f5a3e919af61887302d2911849233347f18f
[ "Apache-2.0" ]
2
2016-02-22T04:31:30.000Z
2021-08-03T23:58:36.000Z
octopus/modules/sheets/tests/fixtures/__init__.py
richard-jones/magnificent-octopus
4a65f5a3e919af61887302d2911849233347f18f
[ "Apache-2.0" ]
9
2015-01-04T14:00:05.000Z
2021-12-13T19:35:07.000Z
octopus/modules/sheets/tests/fixtures/__init__.py
richard-jones/magnificent-octopus
4a65f5a3e919af61887302d2911849233347f18f
[ "Apache-2.0" ]
3
2016-09-09T13:39:45.000Z
2018-02-19T14:23:12.000Z
from octopus.modules.sheets.tests.fixtures.sheets import SheetsFixtureFactory
77
77
0.896104
9
77
7.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.038961
77
1
77
77
0.932432
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0d145ba0c2c9df59a4c9c61ea85e957b4c92bab6
86
py
Python
venv/Lib/site-packages/pybrain3/auxiliary/__init__.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pybrain3/auxiliary/__init__.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pybrain3/auxiliary/__init__.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
null
null
null
from .gradientdescent import GradientDescent from .gaussprocess import GaussianProcess
43
44
0.895349
8
86
9.625
0.625
0
0
0
0
0
0
0
0
0
0
0
0.081395
86
2
45
43
0.974684
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0d539abb808489c72b682526d973fd4fb9c11b5f
63
py
Python
units/configure/tst.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
units/configure/tst.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
units/configure/tst.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os print(os.environ.get('HOME'))
12.6
29
0.698413
11
63
4
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.095238
63
5
29
12.6
0.77193
0.31746
0
0
0
0
0.093023
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
b4cfc013b0db764304d73f27d3c399e0a5a74b02
139
py
Python
vnpy/api/lts/__init__.py
OceanMT/vnpy_py3
0901e9381c54e615247eb753bac476a911c9ae5d
[ "MIT" ]
null
null
null
vnpy/api/lts/__init__.py
OceanMT/vnpy_py3
0901e9381c54e615247eb753bac476a911c9ae5d
[ "MIT" ]
null
null
null
vnpy/api/lts/__init__.py
OceanMT/vnpy_py3
0901e9381c54e615247eb753bac476a911c9ae5d
[ "MIT" ]
null
null
null
# encoding: UTF-8 from .vnltsmd import MdApi from .vnltstd import TdApi from .vnltsqry import QryApi from .lts_data_type import defineDict
23.166667
37
0.81295
21
139
5.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0.008333
0.136691
139
6
37
23.166667
0.916667
0.107914
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b4f52066ac0f4de00660956397a30bfd88fab0c5
130
py
Python
cryptofeed_werks/exchanges/bitfinex/__init__.py
globophobe/django-cryptofeed-werks
dd7c04189a0d1582b115298fbe44cf1e0cb969f2
[ "MIT" ]
7
2021-12-30T02:38:17.000Z
2022-03-08T16:14:35.000Z
cryptofeed_werks/exchanges/bitfinex/__init__.py
globophobe/django-cryptofeed-werks
dd7c04189a0d1582b115298fbe44cf1e0cb969f2
[ "MIT" ]
null
null
null
cryptofeed_werks/exchanges/bitfinex/__init__.py
globophobe/django-cryptofeed-werks
dd7c04189a0d1582b115298fbe44cf1e0cb969f2
[ "MIT" ]
1
2022-01-28T00:18:45.000Z
2022-01-28T00:18:45.000Z
from .candles import bitfinex_candles from .controllers import bitfinex_trades __all__ = ["bitfinex_trades", "bitfinex_candles"]
26
49
0.823077
15
130
6.6
0.466667
0.282828
0
0
0
0
0
0
0
0
0
0
0.1
130
4
50
32.5
0.846154
0
0
0
0
0
0.238462
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
1
0
1
0
0
5
370f6f7d64f9a332708a465d2217e8c9760fd614
66
py
Python
internetdefense/apps/ip2geo/context_processors.py
gnubrasil/idl-members
25f0c048c9cae047cedc4aa0eb58548fac760849
[ "MIT" ]
175
2015-01-01T06:23:10.000Z
2021-12-07T09:08:51.000Z
internetdefense/apps/ip2geo/context_processors.py
jwyterlin/idl-members
76c467ff38de1c46666d911837f934a76aa6fc7b
[ "MIT" ]
5
2015-03-21T03:34:32.000Z
2017-03-03T00:19:49.000Z
internetdefense/apps/ip2geo/context_processors.py
jwyterlin/idl-members
76c467ff38de1c46666d911837f934a76aa6fc7b
[ "MIT" ]
38
2015-02-03T23:49:05.000Z
2020-07-30T16:26:56.000Z
def add_session(request): return {'session': request.session}
22
39
0.727273
8
66
5.875
0.625
0.595745
0
0
0
0
0
0
0
0
0
0
0.136364
66
2
40
33
0.824561
0
0
0
0
0
0.106061
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
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
1
0
0
0
1
0
0
0
5
2c21ed10b444ab084004c78fd4ddb9607d77a396
604
py
Python
8_kyu/count_sheeps.py
resulemreaygan/codewars
153c6cc8b285164ff0ebea1c041949be0ebeb925
[ "MIT" ]
null
null
null
8_kyu/count_sheeps.py
resulemreaygan/codewars
153c6cc8b285164ff0ebea1c041949be0ebeb925
[ "MIT" ]
null
null
null
8_kyu/count_sheeps.py
resulemreaygan/codewars
153c6cc8b285164ff0ebea1c041949be0ebeb925
[ "MIT" ]
null
null
null
""" Author: Resul Emre AYGAN """ ''' Project Description: Counting sheep... Consider an array/list of sheep where some sheep may be missing from their place. We need a function that counts the number of sheep present in the array (true means present). For example, [True, True, True, False, True, True, True, True , True, False, True, False, True, False, False, True , True, True, True, True , False, False, True, True] The correct answer would be 17. Hint: Don't forget to check for bad values like null/undefined ''' def count_sheeps(sheep): return sheep.count(True)
21.571429
93
0.693709
92
604
4.543478
0.597826
0.210526
0.200957
0.15311
0.23445
0.143541
0.143541
0
0
0
0
0.004193
0.210265
604
27
94
22.37037
0.872117
0.039735
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
257da1d68794daa3cc7281335c4394661f7cd43a
188
py
Python
Curso-Em-Video-Python/2Exercicios/097_um_print_especial.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/2Exercicios/097_um_print_especial.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/2Exercicios/097_um_print_especial.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
def linha(texto): print('-' * (len(texto) + 4)) print(f' {texto}') print('-' * (len(texto) + 4)) linha('Pedro') linha('Python é topzera') linha('Curso de Python No Youtube')
20.888889
35
0.574468
26
188
4.153846
0.576923
0.185185
0.240741
0.333333
0.351852
0
0
0
0
0
0
0.013245
0.196809
188
9
35
20.888889
0.701987
0
0
0.285714
0
0
0.306878
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.428571
1
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
1
0
5
25dfbf4e104bda5c19824943adb579d75f4802c6
179
py
Python
Code_Hunter/community/admin.py
leobang17/Weiver
73269ae5603efdad4f1a7b8bc69c6aed671c897c
[ "MIT" ]
null
null
null
Code_Hunter/community/admin.py
leobang17/Weiver
73269ae5603efdad4f1a7b8bc69c6aed671c897c
[ "MIT" ]
null
null
null
Code_Hunter/community/admin.py
leobang17/Weiver
73269ae5603efdad4f1a7b8bc69c6aed671c897c
[ "MIT" ]
3
2021-05-30T03:05:59.000Z
2021-07-02T10:03:38.000Z
from django.contrib import admin from .models import Community, CommunityComment # Register your models here. admin.site.register(Community) admin.site.register(CommunityComment)
29.833333
47
0.837989
22
179
6.818182
0.545455
0.12
0.226667
0
0
0
0
0
0
0
0
0
0.089385
179
6
48
29.833333
0.920245
0.145251
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
d3057e6292682e6a4db4fe79b7b0518be57f1292
265
py
Python
zodiac_service/Models/Category.py
Remydeme/zodiac
46a2615f102cb11558a7a8ec5b3740b4b6fd155a
[ "MIT" ]
2
2020-08-07T15:10:54.000Z
2020-09-15T13:29:11.000Z
zodiac_service/Models/Category.py
Remydeme/zodiac
46a2615f102cb11558a7a8ec5b3740b4b6fd155a
[ "MIT" ]
null
null
null
zodiac_service/Models/Category.py
Remydeme/zodiac
46a2615f102cb11558a7a8ec5b3740b4b6fd155a
[ "MIT" ]
1
2020-08-07T15:11:09.000Z
2020-08-07T15:11:09.000Z
class Category(object): def __init__(self, name): """ Object that represent a category :param name: {str} category name """ self.name_ = name def __dict__(self): return {'name' : self.name_}
15.588235
40
0.516981
27
265
4.703704
0.518519
0.188976
0.188976
0
0
0
0
0
0
0
0
0
0.377358
265
17
41
15.588235
0.769697
0.260377
0
0
0
0
0.025974
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
d3423dba9037007c93db348336d1f33ac547256a
131
py
Python
xclim/indicators/seaIce/__init__.py
Ouranosinc/dcvar
0737c66a36f8969e7a17276990bc7e76f7b410c4
[ "Apache-2.0" ]
1
2018-08-20T16:36:40.000Z
2018-08-20T16:36:40.000Z
xclim/indicators/seaIce/__init__.py
Ouranosinc/dcvar
0737c66a36f8969e7a17276990bc7e76f7b410c4
[ "Apache-2.0" ]
3
2018-08-23T13:25:47.000Z
2018-08-23T15:59:45.000Z
xclim/indicators/seaIce/__init__.py
Ouranosinc/dcvar
0737c66a36f8969e7a17276990bc7e76f7b410c4
[ "Apache-2.0" ]
null
null
null
# noqa: D205,D400 """ Ice-related indicators ====================== """ from __future__ import annotations from ._seaice import *
14.555556
34
0.610687
13
131
5.769231
0.846154
0
0
0
0
0
0
0
0
0
0
0.052632
0.129771
131
8
35
16.375
0.605263
0.473282
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6c937447c5ede8bd918a4a727a1f7343158364f6
740
py
Python
qmla/shared_functionality/__init__.py
Evan1415/QMLA
4521f7c08456a4494aed7c1b78d8ded5ea40f3d8
[ "MIT" ]
null
null
null
qmla/shared_functionality/__init__.py
Evan1415/QMLA
4521f7c08456a4494aed7c1b78d8ded5ea40f3d8
[ "MIT" ]
null
null
null
qmla/shared_functionality/__init__.py
Evan1415/QMLA
4521f7c08456a4494aed7c1b78d8ded5ea40f3d8
[ "MIT" ]
null
null
null
from qmla.shared_functionality.branch_mapping import * from qmla.shared_functionality.expectation_value_functions import * from qmla.shared_functionality.model_pairing_strategies import * from qmla.shared_functionality.probe_transformer import * # from qmla.shared_functionality.experiment_design_heuristics import * # from qmla.shared_functionality.experimental_data_processing import * # from qmla.shared_functionality.model_naming import * # from qmla.shared_functionality.prior_distributions import * # from qmla.shared_functionality.probe_set_generation import * from qmla.shared_functionality.qinfer_model_interface import * # from qmla.shared_functionality.topology import * from qmla.shared_functionality.genetic_algorithm import *
61.666667
70
0.87027
89
740
6.910112
0.348315
0.156098
0.273171
0.526829
0.622764
0.247154
0
0
0
0
0
0
0.072973
740
12
71
61.666667
0.896501
0.486486
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6cc44270e4207feaa81d5d45e0d3e1016ea9fe76
7,934
py
Python
tests/test_instantiation.py
fabiocaccamo/python-fontbro
2ed7ef0d3d1ed4d91387278cfb5f7fd63324451b
[ "MIT" ]
11
2021-11-17T23:51:55.000Z
2022-03-17T20:38:14.000Z
tests/test_instantiation.py
fabiocaccamo/python-fontbro
2ed7ef0d3d1ed4d91387278cfb5f7fd63324451b
[ "MIT" ]
4
2022-02-21T02:16:06.000Z
2022-03-28T02:18:16.000Z
tests/test_instantiation.py
fabiocaccamo/python-fontbro
2ed7ef0d3d1ed4d91387278cfb5f7fd63324451b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from tests import AbstractTestCase class InstantiationTestCase(AbstractTestCase): """ Test case for the methods related to the variable font instantiation. """ def _get_static_font(self): font = self._get_font("/Tourney/static/Tourney/Tourney-Regular.ttf") self.assertTrue(font.is_static()) return font def _get_variable_font(self): font = self._get_font("/Tourney/Tourney-VariableFont_wdth,wght.ttf") self.assertTrue(font.is_variable()) return font def test_to_static_with_static_font(self): font = self._get_static_font() with self.assertRaises(TypeError): font.to_static() def test_to_static_without_coordinates(self): font = self._get_variable_font() font.to_static() self.assertTrue(font.is_static()) def test_to_static_with_all_coordinates(self): font = self._get_variable_font() font.to_static(coordinates={"wght": 200, "wdth": 110}) self.assertTrue(font.is_static()) self.assertEqual(font.get_weight()["value"], 200) def test_to_static_with_some_coordinates(self): font = self._get_variable_font() font.to_static(coordinates={"wdth": 110}) self.assertTrue(font.is_static()) # weight axis pinned to default value self.assertEqual(font.get_weight()["value"], 100) def test_to_static_with_coordinates_for_slicing(self): font = self._get_variable_font() with self.assertRaises(ValueError): font.to_static(coordinates={"wght": [100, 400]}) def test_to_sliced_variable_with_static_font(self): font = self._get_static_font() with self.assertRaises(TypeError): font.to_sliced_variable() def test_to_sliced_variable_without_coordinates(self): # nothing changes without coordinates font = self._get_variable_font() with self.assertRaises(ValueError): font.to_sliced_variable(coordinates=None) def test_to_sliced_variable_with_coordinates_pinned(self): # if all coordinates are pinned the result would be a static font font = self._get_variable_font() with self.assertRaises(ValueError): font.to_sliced_variable(coordinates={"wght": 200, "wdth": 110}) def test_to_sliced_variable_with_coordinates_sliced_and_passed_as_tuple(self): font = self._get_variable_font() expected_axes = [ { "default_value": 100.0, "max_value": 900.0, "min_value": 100.0, "name": "Weight", "tag": "wght", }, { "default_value": 100.0, "max_value": 125.0, "min_value": 75.0, "name": "Width", "tag": "wdth", }, ] self.assertEqual(font.get_variable_axes(), expected_axes) font.to_sliced_variable(coordinates={"wght": (100, 400), "wdth": (100, 110)}) expected_axes = [ { "default_value": 100.0, "max_value": 400.0, "min_value": 100.0, "name": "Weight", "tag": "wght", }, { "default_value": 100.0, "max_value": 110.0, "min_value": 100.0, "name": "Width", "tag": "wdth", }, ] self.assertEqual(font.get_variable_axes(), expected_axes) def test_to_sliced_variable_with_coordinates_sliced_and_passed_as_list(self): font = self._get_variable_font() expected_axes = [ { "default_value": 100.0, "max_value": 900.0, "min_value": 100.0, "name": "Weight", "tag": "wght", }, { "default_value": 100.0, "max_value": 125.0, "min_value": 75.0, "name": "Width", "tag": "wdth", }, ] self.assertEqual(font.get_variable_axes(), expected_axes) font.to_sliced_variable(coordinates={"wght": [100, 400], "wdth": [100, 110]}) expected_axes = [ { "default_value": 100.0, "max_value": 400.0, "min_value": 100.0, "name": "Weight", "tag": "wght", }, { "default_value": 100.0, "max_value": 110.0, "min_value": 100.0, "name": "Width", "tag": "wdth", }, ] self.assertEqual(font.get_variable_axes(), expected_axes) def test_to_sliced_variable_with_coordinates_sliced_and_passed_as_dict(self): font = self._get_variable_font() expected_axes = [ { "default_value": 100.0, "max_value": 900.0, "min_value": 100.0, "name": "Weight", "tag": "wght", }, { "default_value": 100.0, "max_value": 125.0, "min_value": 75.0, "name": "Width", "tag": "wdth", }, ] self.assertEqual(font.get_variable_axes(), expected_axes) font.to_sliced_variable( coordinates={ "wght": {"min": 100, "max": 400}, "wdth": {"min": 100, "max": 110}, } ) expected_axes = [ { "default_value": 100.0, "max_value": 400.0, "min_value": 100.0, "name": "Weight", "tag": "wght", }, { "default_value": 100.0, "max_value": 110.0, "min_value": 100.0, "name": "Width", "tag": "wdth", }, ] self.assertEqual(font.get_variable_axes(), expected_axes) def test_to_sliced_variable_with_coordinates_sliced_and_passed_as_dict_but_incomplete( self, ): font = self._get_variable_font() font.to_sliced_variable( coordinates={"wght": {"min": 100}, "wdth": {"min": 100}} ) expected_axes = [ { "default_value": 100.0, "max_value": 900.0, "min_value": 100.0, "name": "Weight", "tag": "wght", }, { "default_value": 100.0, "max_value": 125.0, "min_value": 100.0, "name": "Width", "tag": "wdth", }, ] self.assertEqual(font.get_variable_axes(), expected_axes) def test_to_sliced_variable_with_coordinates_sliced_and_pinned(self): font = self._get_variable_font() expected_axes = [ { "default_value": 100.0, "max_value": 900.0, "min_value": 100.0, "name": "Weight", "tag": "wght", }, { "default_value": 100.0, "max_value": 125.0, "min_value": 75.0, "name": "Width", "tag": "wdth", }, ] self.assertEqual(font.get_variable_axes(), expected_axes) font.to_sliced_variable(coordinates={"wght": (100, 400), "wdth": 100}) expected_axes = [ { "default_value": 100.0, "max_value": 400.0, "min_value": 100.0, "name": "Weight", "tag": "wght", } ] self.assertEqual(font.get_variable_axes(), expected_axes)
33.058333
90
0.496345
798
7,934
4.612782
0.100251
0.067373
0.07335
0.073893
0.861994
0.798968
0.770986
0.726433
0.693833
0.693018
0
0.056696
0.379758
7,934
239
91
33.196653
0.691323
0.028737
0
0.61215
0
0
0.128269
0.011188
0
0
0
0
0.098131
1
0.070093
false
0.018692
0.004673
0
0.088785
0
0
0
0
null
0
0
0
1
1
1
1
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
5
6cc980907bdf07c4742aa7f858c60237028d26aa
89
py
Python
Data Structure/Binary Tree/1660. Correct a Binary Tree.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
Data Structure/Binary Tree/1660. Correct a Binary Tree.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
Data Structure/Binary Tree/1660. Correct a Binary Tree.py
smsubham/Data-Structure-Algorithms-Questions
45da68231907068ef4e4a0444ffdac69b337fa7c
[ "Apache-2.0" ]
null
null
null
#https://leetcode.com/problems/correct-a-binary-tree/ #https://leetcode.ca/all/1660.html
29.666667
53
0.764045
14
89
4.857143
0.857143
0.382353
0
0
0
0
0
0
0
0
0
0.045977
0.022472
89
3
54
29.666667
0.735632
0.955056
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
6cce7dc320165855df62e71e51a4b924af5a71a6
629
py
Python
tests/orientation_tests/test__ne__.py
lycantropos/rene
c73c616f3e360b994e92c950a3616a8ccb1136b9
[ "MIT" ]
null
null
null
tests/orientation_tests/test__ne__.py
lycantropos/rene
c73c616f3e360b994e92c950a3616a8ccb1136b9
[ "MIT" ]
null
null
null
tests/orientation_tests/test__ne__.py
lycantropos/rene
c73c616f3e360b994e92c950a3616a8ccb1136b9
[ "MIT" ]
null
null
null
from hypothesis import given from rene import Orientation from tests.utils import equivalence from . import strategies @given(strategies.orientations) def test_irreflexivity(orientation: Orientation) -> None: assert not orientation != orientation @given(strategies.orientations, strategies.orientations) def test_symmetry(first: Orientation, second: Orientation) -> None: assert equivalence(first != second, second != first) @given(strategies.orientations, strategies.orientations) def test_equivalents(first: Orientation, second: Orientation) -> None: assert equivalence(first != second, not first == second)
29.952381
70
0.785374
68
629
7.220588
0.308824
0.224033
0.164969
0.177189
0.492872
0.492872
0.492872
0.264766
0.264766
0
0
0
0.125596
629
20
71
31.45
0.892727
0
0
0.153846
0
0
0
0
0
0
0
0
0.230769
1
0.230769
false
0
0.307692
0
0.538462
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
6cdc5a60fb0901a898072bfbc8f16001dec31884
137
py
Python
website/__init__.py
svandegar/carshareing-compare
f966d6779b411438649454dc644afa0a0bfdc503
[ "MIT" ]
1
2019-04-15T18:03:06.000Z
2019-04-15T18:03:06.000Z
website/__init__.py
svandegar/carshareing-compare
f966d6779b411438649454dc644afa0a0bfdc503
[ "MIT" ]
null
null
null
website/__init__.py
svandegar/carshareing-compare
f966d6779b411438649454dc644afa0a0bfdc503
[ "MIT" ]
null
null
null
from flask import Flask import os app = Flask(__name__) app.secret_key = os.environ['SECRET_KEY'] from website import * import backend
15.222222
41
0.773723
21
137
4.761905
0.52381
0.22
0
0
0
0
0
0
0
0
0
0
0.145985
137
9
42
15.222222
0.854701
0
0
0
0
0
0.072464
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
1
0
1
0
0
5
6cea20374a830a86dd70c07311679e0cf0e57836
170
py
Python
uploader/admin.py
jayvdb/geonote
cacffa72fb37effadfba7f93de8aad205288397f
[ "MIT" ]
12
2016-10-22T13:02:31.000Z
2021-09-21T13:35:59.000Z
uploader/admin.py
jayvdb/geonote
cacffa72fb37effadfba7f93de8aad205288397f
[ "MIT" ]
null
null
null
uploader/admin.py
jayvdb/geonote
cacffa72fb37effadfba7f93de8aad205288397f
[ "MIT" ]
2
2019-01-03T04:47:10.000Z
2020-09-26T05:01:26.000Z
from django.contrib import admin from uploader.models import Upload, Images admin.site.register(Upload, admin.ModelAdmin) admin.site.register(Images, admin.ModelAdmin)
24.285714
45
0.823529
23
170
6.086957
0.521739
0.157143
0.242857
0
0
0
0
0
0
0
0
0
0.088235
170
6
46
28.333333
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
9f747ac639b31594ee7d14838ee15630277909ae
544
py
Python
wirepas_backend_client/__init__.py
bencorrado/backend-client
628c9999f8d98b0c1e56d87bfd2dbf1ca1ea138c
[ "Apache-2.0" ]
null
null
null
wirepas_backend_client/__init__.py
bencorrado/backend-client
628c9999f8d98b0c1e56d87bfd2dbf1ca1ea138c
[ "Apache-2.0" ]
null
null
null
wirepas_backend_client/__init__.py
bencorrado/backend-client
628c9999f8d98b0c1e56d87bfd2dbf1ca1ea138c
[ "Apache-2.0" ]
1
2021-03-12T17:20:56.000Z
2021-03-12T17:20:56.000Z
""" WIREPAS_BACKEND_CLIENT ====================== A package to interface with Wirepas Backend Services, meant for testing, cloud to cloud integration and R&D. .. Copyright: Copyright 2019 Wirepas Ltd under Apache License, Version 2.0. See file LICENSE for full license details. """ from wirepas_backend_client import api from wirepas_backend_client import management from wirepas_backend_client import messages from wirepas_backend_client import tools __all__ = ["api", "management", "messages", "tools"]
30.222222
69
0.71875
68
544
5.544118
0.544118
0.222812
0.265252
0.254642
0.318302
0
0
0
0
0
0
0.013514
0.183824
544
17
70
32
0.835586
0.520221
0
0
0
0
0.115556
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
9f8931e156e61bbb312df9e8786e0af96af95fcf
127
py
Python
learnGrammar/python_whois_learn.py
HelloHuDi/learn-python-demo
dd0419e93e96e67f86aaeba5fe8de9a1043ae1e7
[ "Apache-2.0" ]
1
2017-11-28T02:13:52.000Z
2017-11-28T02:13:52.000Z
learnGrammar/python_whois_learn.py
HelloHuDi/learn-python-demo
dd0419e93e96e67f86aaeba5fe8de9a1043ae1e7
[ "Apache-2.0" ]
null
null
null
learnGrammar/python_whois_learn.py
HelloHuDi/learn-python-demo
dd0419e93e96e67f86aaeba5fe8de9a1043ae1e7
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # Created by hd on 2017/12/5 . import whois """查询网站所有者""" print(whois.whois("https://www.zhipin.com"))
18.142857
44
0.629921
20
127
4
0.9
0
0
0
0
0
0
0
0
0
0
0.072072
0.125984
127
6
45
21.166667
0.648649
0.385827
0
0
0
0
0.354839
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
9f8b96561a8d013b5e48ff139282a29c00e8b36d
143
py
Python
goflow/workflow/decorators.py
mikewolfli/django2-goflow
136afbfd90205ee83b2d50ac1be6a6b207fbcdf8
[ "MIT" ]
10
2018-08-10T15:07:29.000Z
2021-11-05T23:14:47.000Z
goflow/workflow/decorators.py
mikewolfli/django2-goflow
136afbfd90205ee83b2d50ac1be6a6b207fbcdf8
[ "MIT" ]
5
2019-11-20T06:09:00.000Z
2022-03-11T23:26:40.000Z
goflow/workflow/decorators.py
mikewolfli/django2-goflow
136afbfd90205ee83b2d50ac1be6a6b207fbcdf8
[ "MIT" ]
1
2018-08-10T15:07:37.000Z
2018-08-10T15:07:37.000Z
''' def allow_tags(func): def _decorate(_func): _func.allow_tags = True return _func return _decorate(func) '''
17.875
32
0.58042
16
143
4.75
0.4375
0.236842
0
0
0
0
0
0
0
0
0
0
0.307692
143
8
33
17.875
0.767677
0.888112
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
9f9ef1a5734b8d348c7f1342910364d5b256b837
210
py
Python
asg/output/json/__init__.py
aidangoettsch/asg
130c292f63a3cf118cb311760b4eba00e8bae445
[ "MIT" ]
8
2020-10-25T01:26:47.000Z
2021-12-24T15:32:33.000Z
asg/output/json/__init__.py
aidangoettsch/asg
130c292f63a3cf118cb311760b4eba00e8bae445
[ "MIT" ]
5
2020-09-04T18:37:21.000Z
2021-05-29T17:28:51.000Z
asg/output/json/__init__.py
aidangoettsch/asg
130c292f63a3cf118cb311760b4eba00e8bae445
[ "MIT" ]
2
2020-10-21T06:09:58.000Z
2020-12-31T18:35:11.000Z
import json class ClassJSONEncoder(json.JSONEncoder): def default(self, o): return o.__dict__ def il_to_json(output_il, output_file): json.dump(output_il, output_file, cls=ClassJSONEncoder)
19.090909
59
0.742857
29
210
5.034483
0.586207
0.109589
0.191781
0.246575
0
0
0
0
0
0
0
0
0.166667
210
10
60
21
0.834286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
1
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
1
0
0
0
5
9fa06e37cbf0023475a1b18402e67fb65d7ac666
78
py
Python
doc/sphinxext/numpydoc/__init__.py
ivanov/numpy
6d2665626e40f346bb5af8d780579f5a429ff9ba
[ "BSD-3-Clause" ]
null
null
null
doc/sphinxext/numpydoc/__init__.py
ivanov/numpy
6d2665626e40f346bb5af8d780579f5a429ff9ba
[ "BSD-3-Clause" ]
null
null
null
doc/sphinxext/numpydoc/__init__.py
ivanov/numpy
6d2665626e40f346bb5af8d780579f5a429ff9ba
[ "BSD-3-Clause" ]
null
null
null
from __future__ import division, absolute_import from .numpydoc import setup
19.5
48
0.846154
10
78
6.1
0.7
0
0
0
0
0
0
0
0
0
0
0
0.128205
78
3
49
26
0.897059
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9fc7f55a7ea64a28670276138b92e7b31408de78
44
py
Python
tests/components/discovergy/__init__.py
schlac/hacs-integration-discovergy
f97b41bc36316debde07acd7659055ae0ad27d95
[ "Apache-2.0" ]
8
2021-11-02T16:41:45.000Z
2022-03-24T21:15:05.000Z
tests/components/discovergy/__init__.py
schlac/hacs-integration-discovergy
f97b41bc36316debde07acd7659055ae0ad27d95
[ "Apache-2.0" ]
3
2021-10-31T18:23:31.000Z
2022-01-06T23:46:05.000Z
tests/components/discovergy/__init__.py
schlac/hacs-integration-discovergy
f97b41bc36316debde07acd7659055ae0ad27d95
[ "Apache-2.0" ]
1
2021-11-30T12:05:12.000Z
2021-11-30T12:05:12.000Z
"""Tests for the Discovergy integration."""
22
43
0.727273
5
44
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.113636
44
1
44
44
0.820513
0.840909
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
4c96655d9b5dfb81fa23133c089dabbbe4894e38
72
py
Python
multimeter/read_arduino_mock.py
tropi-frutti/facharbeit-fhg
e162014a9d12e60c616d78c14166c75414acda7b
[ "MIT" ]
null
null
null
multimeter/read_arduino_mock.py
tropi-frutti/facharbeit-fhg
e162014a9d12e60c616d78c14166c75414acda7b
[ "MIT" ]
null
null
null
multimeter/read_arduino_mock.py
tropi-frutti/facharbeit-fhg
e162014a9d12e60c616d78c14166c75414acda7b
[ "MIT" ]
null
null
null
import globvar def read(): globvar.measure0 = "466" return
10.285714
26
0.611111
8
72
5.5
0.875
0
0
0
0
0
0
0
0
0
0
0.078431
0.291667
72
7
27
10.285714
0.784314
0
0
0
0
0
0.044776
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
5
4cc7821a096874cbbb16b62bdd0c3830609c0183
33
py
Python
coiiot_sdk/tests/mocks.py
Zamony/iot-python-rules-engine-sdk
c6e39cc27ecd38f4270e3efa9e332b0c78a87117
[ "Apache-2.0" ]
null
null
null
coiiot_sdk/tests/mocks.py
Zamony/iot-python-rules-engine-sdk
c6e39cc27ecd38f4270e3efa9e332b0c78a87117
[ "Apache-2.0" ]
null
null
null
coiiot_sdk/tests/mocks.py
Zamony/iot-python-rules-engine-sdk
c6e39cc27ecd38f4270e3efa9e332b0c78a87117
[ "Apache-2.0" ]
1
2022-03-23T08:58:45.000Z
2022-03-23T08:58:45.000Z
from typing import Any sdk: Any
8.25
22
0.757576
6
33
4.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.212121
33
3
23
11
0.961538
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
5
4cce1e9470f6dae3b31ee72891697ebf00638a97
76
py
Python
storage_drl_agents/agents/__init__.py
maiwen/DeepTuning
9587b302feb89a9f38db757b043392ca5ad89f47
[ "MIT" ]
2
2019-09-08T09:25:34.000Z
2020-06-11T13:41:41.000Z
storage_drl_agents/agents/__init__.py
maiwen/DeepTuning
9587b302feb89a9f38db757b043392ca5ad89f47
[ "MIT" ]
1
2021-01-21T02:13:13.000Z
2021-01-21T02:13:13.000Z
storage_drl_agents/agents/__init__.py
maiwen/DeepTuning
9587b302feb89a9f38db757b043392ca5ad89f47
[ "MIT" ]
2
2019-04-19T08:48:26.000Z
2022-03-17T10:21:18.000Z
# -*- coding: utf-8 -*- """ Created on 2018/5/23 19:47 @author: vincent """
12.666667
26
0.565789
12
76
3.583333
1
0
0
0
0
0
0
0
0
0
0
0.190476
0.171053
76
6
27
12.666667
0.492063
0.881579
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
4cd033e023655264cb59f34f11969ebf7fc7c92e
59
py
Python
library/libvirt_capabilities_facts.py
bkmeneguello/ansible-role-libvirt
e7f82077b1fd4c2ec5afa463973ecde599209549
[ "MIT" ]
1
2019-02-19T19:41:36.000Z
2019-02-19T19:41:36.000Z
library/libvirt_capabilities_facts.py
bkmeneguello/ansible-role-libvirt
e7f82077b1fd4c2ec5afa463973ecde599209549
[ "MIT" ]
null
null
null
library/libvirt_capabilities_facts.py
bkmeneguello/ansible-role-libvirt
e7f82077b1fd4c2ec5afa463973ecde599209549
[ "MIT" ]
null
null
null
# TODO: https://libvirt.org/formatcaps.html#elementExamples
59
59
0.813559
7
59
6.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.033898
59
1
59
59
0.842105
0.949153
0
null
0
null
0
0
null
0
0
1
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
5
980a152966e45a9def1a3ccbaa178c3a98248a10
1,040
py
Python
alpyro_msgs/actionlib/testrequestactionfeedback.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
1
2020-12-13T13:07:10.000Z
2020-12-13T13:07:10.000Z
alpyro_msgs/actionlib/testrequestactionfeedback.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
null
null
null
alpyro_msgs/actionlib/testrequestactionfeedback.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
null
null
null
from typing import Final from alpyro_msgs import RosMessage from alpyro_msgs.actionlib.testrequestfeedback import TestRequestFeedback from alpyro_msgs.actionlib_msgs.goalstatus import GoalStatus from alpyro_msgs.std_msgs.header import Header class TestRequestActionFeedback(RosMessage): __msg_typ__ = "actionlib/TestRequestActionFeedback" __msg_def__ = "c3RkX21zZ3MvSGVhZGVyIGhlYWRlcgogIHVpbnQzMiBzZXEKICB0aW1lIHN0YW1wCiAgc3RyaW5nIGZyYW1lX2lkCmFjdGlvbmxpYl9tc2dzL0dvYWxTdGF0dXMgc3RhdHVzCiAgdWludDggUEVORElORz0wCiAgdWludDggQUNUSVZFPTEKICB1aW50OCBQUkVFTVBURUQ9MgogIHVpbnQ4IFNVQ0NFRURFRD0zCiAgdWludDggQUJPUlRFRD00CiAgdWludDggUkVKRUNURUQ9NQogIHVpbnQ4IFBSRUVNUFRJTkc9NgogIHVpbnQ4IFJFQ0FMTElORz03CiAgdWludDggUkVDQUxMRUQ9OAogIHVpbnQ4IExPU1Q9OQogIGFjdGlvbmxpYl9tc2dzL0dvYWxJRCBnb2FsX2lkCiAgICB0aW1lIHN0YW1wCiAgICBzdHJpbmcgaWQKICB1aW50OCBzdGF0dXMKICBzdHJpbmcgdGV4dAphY3Rpb25saWIvVGVzdFJlcXVlc3RGZWVkYmFjayBmZWVkYmFjawoK" __md5_sum__ = "aae20e09065c3809e8a8e87c4c8953fd" header: Header status: GoalStatus feedback: TestRequestFeedback
65
574
0.928846
51
1,040
18.529412
0.45098
0.042328
0.059259
0.048677
0
0
0
0
0
0
0
0.077935
0.05
1,040
15
575
69.333333
0.878543
0
0
0
0
0
0.599038
0.599038
0
1
0
0
0
1
0
false
0
0.416667
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
1
0
0
0
0
0
0
0
1
0
1
0
0
5
e224d74e8b953d07f329cb025253c7599a5f5f5f
671
py
Python
PredictiveOutlierExplanationBenchmark/src/configpkg/DetectorsConfig.py
myrtakis/MxM
552fa5ad27e542f41ade04ad1af565fdc6213be7
[ "Apache-2.0" ]
5
2021-07-13T07:48:32.000Z
2022-02-28T10:59:15.000Z
PredictiveOutlierExplanationBenchmark/src/configpkg/DetectorsConfig.py
myrtakis/MxM
552fa5ad27e542f41ade04ad1af565fdc6213be7
[ "Apache-2.0" ]
5
2021-03-19T15:30:01.000Z
2022-03-12T00:51:20.000Z
PredictiveOutlierExplanationBenchmark/src/configpkg/DetectorsConfig.py
myrtakis/MxM
552fa5ad27e542f41ade04ad1af565fdc6213be7
[ "Apache-2.0" ]
null
null
null
class DetectorConfig: __DETECTORS_KEY = "detectors" __ID_KEY = "id" __PARAMS_KEY = "params" __detectors_json_obj = None def __init__(self): pass @staticmethod def setup(config_json_obj): DetectorConfig.__detectors_json_obj = config_json_obj[DetectorConfig.__DETECTORS_KEY] @staticmethod def get_detectors_confs(): return DetectorConfig.__detectors_json_obj @staticmethod def id_key(): return DetectorConfig.__ID_KEY @staticmethod def detectors_key(): return DetectorConfig.__DETECTORS_KEY @staticmethod def params_key(): return DetectorConfig.__PARAMS_KEY
22.366667
93
0.700447
69
671
6.144928
0.275362
0.271226
0.183962
0.127358
0.308962
0
0
0
0
0
0
0
0.235469
671
29
94
23.137931
0.826511
0
0
0.227273
0
0
0.025335
0
0
0
0
0
0
1
0.272727
false
0.045455
0
0.181818
0.681818
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
e23df512d9dc2dc91304591db255f2f6debecc0e
197
py
Python
games/management/commands/update_switch_price.py
JeffersonBC/eshop-index-back
66a11ad2ee86b9cd4dd49bcb34f676db3281153b
[ "MIT" ]
null
null
null
games/management/commands/update_switch_price.py
JeffersonBC/eshop-index-back
66a11ad2ee86b9cd4dd49bcb34f676db3281153b
[ "MIT" ]
null
null
null
games/management/commands/update_switch_price.py
JeffersonBC/eshop-index-back
66a11ad2ee86b9cd4dd49bcb34f676db3281153b
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand from games.tasks import update_switch_price class Command(BaseCommand): def handle(self, *args, **options): update_switch_price()
21.888889
51
0.761421
25
197
5.84
0.76
0.164384
0.232877
0
0
0
0
0
0
0
0
0
0.152284
197
8
52
24.625
0.874252
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
e2602a15a79d803f166ecd4a12e24a17f7f9d44a
10,786
py
Python
python/20190130/Code/tickets/test.py
Realize0917/career
b5d02ac53cfc3ce3a2ca38d11480c51560283e67
[ "MIT" ]
3
2019-01-17T05:50:51.000Z
2019-03-15T10:10:07.000Z
python/20190130/Code/tickets/test.py
Realize0917/career
b5d02ac53cfc3ce3a2ca38d11480c51560283e67
[ "MIT" ]
10
2019-01-17T06:07:03.000Z
2019-02-19T05:55:25.000Z
python/20190130/Code/tickets/test.py
Realize0917/career
b5d02ac53cfc3ce3a2ca38d11480c51560283e67
[ "MIT" ]
4
2018-12-22T07:32:55.000Z
2019-03-06T09:13:48.000Z
base_url = r'https://kyfw.12306.cn/otn/leftTicket/queryZ' p1 = r'?leftTicketDTO.train_date=2019-01-31' p2 = r'&leftTicketDTO.from_station=SHH' p3 = r'&leftTicketDTO.to_station=OMH' p4 = r'&purpose_codes=ADULT' resp = r''' { "data": { "flag": "1", "map": { "AOH": "上海虹桥", "MAH": "马鞍山", "OMH": "马鞍山东", "SHH": "上海" }, "result": [ "%2BCSaM1dfrms9%2BD2Uhfp1jet54ofQaADOLyyuYeUNcwoCW8wexX1nM8Mvvj%2B9a5IBFKQyWUj9eJGh%0Aj5wGpxzmvgjeytW2v11XNq%2BNT6ag49Fj69A2LW%2F1UPL08Qkcp2H9tMMQLjERmyr47nDogNqWcQ4z%0A7bJ81Y4x45s4gTlY67zlvlQoc34fxw3YVfz0ZPmOZ%2BsiXp4EPjuRToEYq8pH75P83uVAanyorRSk%0ASUKSkJ2o4XqfQ2EVNC9oFpjvT3cibAUMIj5gFvJKLFoj2R%2BgMwXEhkbVv5%2BPVGxvYlJ4yt8aj4t9%0A6xU8N5ySG4s%3D|预订|55000G937200|G9372|SHH|AQH|SHH|OMH|01:49|03:51|02:02|Y|VrOxdUn4ugdoau%2BlGHKQxSc75qu0cychMFWsB4AffJxTniIyDDwtSNNE4XA%3D|20190131|3|H1|01|05|1|0|||||||有||||2|3|8||O090M0O0|O9MO|0|0|null", "P4HeBacOzqTkldXGrqIxaZYcSI0ApiFD%2BgaPn1A4GR5UCszCi86s0j%2BwOjW0OlQxkhC7KJUwZ32I%0AZumDEgMimeomdnU2qmdIuu4Aa3W0SlkNp80Ve5KB%2FFQLQCVqYpFJeWbTkVbmMng8Cc9uHVSvJr3y%0A1HSn7dn0idW8H3vgHS0I3MOcxfL8vLaPxW9EyH92LjNvopwgIpxX4uCwAs%2FQEVWDUujm%2BIK5bXm%2B%0ATkfR5BwYbmnfodHqMYk2py0VKNKaQjY%2FflvOcbSI4lSNYXnXFx9MOm0jTQy82JkFtquYdChT1Oyq%0AAn47ieG09BE%3D|预订|55000G7072A0|G7072|SHH|AQH|SHH|OMH|05:48|08:22|02:34|Y|78tt7SEXFlPTvlmAZw1iFFKOExXToygptBNnwUoaAd7Hk2iTdBCy%2Fl0Xp9w%3D|20190131|3|HZ|01|09|1|0|||||||无||||无|无|2||O090O0M0|O9OM|0|0|null", "RhmLy11iIXNG6clN2jokh42uqUCszCg0N%2B1E2BANC%2FyxOb3Txz4tP6gpS1q2kKXxayJ%2B9Ci3yhun%0AXdC7GjtZzg43xSug3tBC9nJvFPo7LdNnzoSKC8bvbLyUVReI5o90jUwWzT5%2BrE89uQ%2FKCVgeIgen%0Aa7ZInzk0yWIeLEWHxFbmlSdv4YX%2F%2BAjgyUXeGiTkkBrzmEXg%2BYqI7Ug2zoL0FT4swgpw0WKyYeSh%0AIGzjhHIZ3xo79GKdDiLNfuKElVjB0FVTSHBEy1sBn3pdNxamM9k4ydY1Bn2Az8z01KnUa82YTQ8V%0AkBj5J0W%2B6Qw%3D|预订|55000G7076F0|G7076|SHH|AQH|SHH|OMH|06:20|08:52|02:32|Y|odjRweNcwmMSMeDTnh2grxCCAbaPQaE%2FrTK%2Fn8BvZW4zU6NmMC8Ep4KiD%2BI%3D|20190131|3|HZ|01|10|1|0||||||无|1||||无|无|||O0O0M0P0|OOMP|0|0|null", "|预订|55000G927610|G9276|SHH|AQH|SHH|OMH|07:10|09:44|02:34|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H2|01|10|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "|预订|55000G925400|G9254|SHH|WHH|SHH|OMH|07:37|10:22|02:45|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H1|01|10|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "|预订|55000G708001|G7080|SHH|AQH|SHH|OMH|07:44|10:09|02:25|N|vB7k4KF3dSYYuuu%2B6LdTMxb9SfmeEBFYbjc0ciM0bV9VLd1D15RF3pEDPn8%3D|20190131|3|H6|01|08|1|0|||||||无||||无|无|无||O090O0M0|O9OM|0|0|null", "|预订|55000G708481|G7084|SHH|AQH|SHH|OMH|08:37|11:00|02:23|N|sL4v5i7tiuCvlR0Z%2B7wj0zXhriION3odYNL9GOD4xTmU10lm|20190131|3|HZ|01|08|1|0|||||||无||||无|无|||O0M0O0|OMO|0|0|null", "|预订|55000K445810|K4458|SHH|NCW|SHH|MAH|08:40|14:16|05:36|N|SQjUm9CXr1Kt8B8UMGjP%2FSm%2BOcrP%2Bip41fiw5oxiNXWepu78|20190131|3|H1|01|06|0|0|||||无||无|||无|||||101020|112|0|0|null", "|预订|56000G749230|G7492|JBH|AQH|AOH|OMH|09:03|11:28|02:25|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H6|08|15|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "MTkeofC4vWli7QG2C%2FjRRCJD%2FtdrTzBhwUmaHCKJBgRLz1vg8GgLWqSZPW2t%2FyL%2BIQ8dc4eJuFdl%0A1Upm%2F9mvawjyY8sitl%2Bg2SDomxu%2FFFI0FN%2B3%2FNNilqH4SVBNzzzCaSvM1Cb5WunnSFkBmAFPPTUp%0AMEgJ88xY9sSEcu3EfrZnjBGzwHQ71QYhl3XGlbt4B9id8kDzgjaJ6jTS%2B8ho2Lry5%2BzalDUzXYPQ%0Aq5YqTMRpySnUbkxf9Mqil2YdPV95dAXNmcTMjNImovqu4G9eHzxx7GKhDQxekq2%2Bz%2BMgk02a3PAP%0ALPxbDCeDFK7MmENmOptUdw%3D%3D|预订|5l000G7132D1|G7132|AOH|AQH|AOH|OMH|09:41|11:56|02:15|Y|seybQ49lJrwiNNhGSVBNArIzn1efh8efKSSqNIG44WBjYYapNeC1KF5zFqU%3D|20190131|3|HY|01|07|1|0|||||||无||||无|无|6||O090M0O0|O9MO|0|0|null", "|预订|55000K155601|K1556|SHH|NNZ|SHH|MAH|10:21|15:43|05:22|N|MeRB3Vx7cetjvUOCkja27VzMMjj5dv7bDxoAlI54wXUQnsXONr0rd6nKwvI%3D|20190131|3|H2|01|08|0|0||||无|||无||无|无|||||10401030|1413|0|0|null", "|预订|5l000G7136D0|G7136|AOH|AQH|AOH|OMH|10:29|12:53|02:24|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H6|01|08|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "|预订|55000G706080|G7060|SHH|AQH|SHH|OMH|10:40|13:08|02:28|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H1|01|09|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "|预订|55000K115651|K1156|SHH|CDW|SHH|MAH|11:16|16:41|05:25|N|MeRB3Vx7cetjvUOCkja27VzMMjj5dv7bDxoAlI54wXUQnsXONr0rd6nKwvI%3D|20190131|3|H6|01|08|0|0||||无|||无||无|无|||||10401030|1413|0|0|null", "1mL1qjaJi3bigzb1rZPKA%2Bs1rbSx5kC1lWBsFf6uuqVc5hSg12E8AuLUmRUt0TPMLX07AXBiDTdf%0ABiTouNW0X%2BixCbUVyNCZzVJYV6izUmeN0vdZx9KxFrK93ViCFmscD7SoSpsLjgDfaVWXbWX4sq7d%0Ai%2FX1FcBooleZsrh4va09UuaYCWug1CaT2M1%2BK1aRUD12LhlBaro%2FGKgwteOvQ8M0hUzSd6tk4vHr%0A83c77EAyjRS2X4qy1cyIi%2FgPg6oQniUtFu%2BhJjiEAzAb0hTSctOEzb7LIVqnyeU22odcOBApnOvR%0A|预订|55000G728230|G7282|SHH|WHH|SHH|OMH|11:33|13:54|02:21|Y|cDDNdx5cnFzyML3I%2BWYU%2FLoQ1IDgV%2FEtebH3Dm9xh%2FEMNMX7|20190131|3|H6|01|08|1|0|||||||有||||无|无|||O0M0O0|OMO|0|0|null", "|预订|550000K78270|K782|SHH|PXG|SHH|MAH|12:28|18:20|05:52|N|%2FJ2oYsU3iG6VHf7fXfsej3TB3R7wGicdHF0hDxeuQ9nSPsek|20190131|3|H6|01|08|0|0|||||||无||无|无|||||101030|113|0|0|null", "|预订|55000G708861|G7088|SHH|AQH|SHH|OMH|12:54|15:17|02:23|N|vB7k4KF3dSYYuuu%2B6LdTMxb9SfmeEBFYbjc0ciM0bV9VLd1D15RF3pEDPn8%3D|20190131|3|H6|01|07|1|0|||||||无||||无|无|无||O090O0M0|O9OM|0|0|null", "|预订|550000321650|3216|SHH|CDW|SHH|MAH|13:02|18:46|05:44|N|iyrM4q6WU%2BiFMZQbYOvnVlgSY51lSXMK|20190131|0|HZ|01|08|0|0|||||||无|||无|||||1010|11|0|0|null", "iYP6d2hOoJl1l020l%2BH8opTT7LFFyJo7%2BinW8oOwKiK%2B9bqweFNvuMHAzvFBTL5sTaYzbSACaHeP%0A50MZXt4l6%2FvyyFCe%2BcW%2B5ea64cFmn8xccf56l30OYU3S1NyJL2REjQsHPxcOALy1p6%2BsysORA3MR%0AxJR0sMDaw4n%2BpFXpPCZowx%2BF00Tu852TqwaIaejZrZ%2BNFyrXFXhRj7dHkyqmPbmuSS63LrngM0cK%0AhYPDTMwWK2tka67q%2FoVxle69vwYcS3nkna0t6WxQaeO2AEJVR5PfT6pMPfggj8XCHSBdzVcvLk2H%0AheuSUA%3D%3D|预订|5l000G714861|G7148|AOH|WHH|AOH|OMH|13:35|15:56|02:21|Y|MdmQB8zeKUw6P%2F0%2BgNyIwAnhO2Hea6%2F4Xg5pUaYDwu1OV7Sy|20190131|3|H2|01|08|1|0|||||||有||||无|无|||O0M0O0|OMO|0|0|null", "|预订|55000G7092N0|G7092|SHH|AQH|SHH|OMH|13:41|16:11|02:30|N|vB7k4KF3dSYYuuu%2B6LdTMxb9SfmeEBFYbjc0ciM0bV9VLd1D15RF3pEDPn8%3D|20190131|3|H6|01|09|1|0|||||||无||||无|无|无||O090O0M0|O9OM|0|0|null", "|预订|5l000G7140A0|G7140|AOH|AQH|AOH|OMH|15:04|17:26|02:22|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H6|01|08|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "|预订|55000G9246B0|G9246|SHH|AQH|SHH|OMH|15:21|17:46|02:25|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H3|01|07|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "98IkKpnSheUIe5kIzRSo074w%2FscncENUuT%2F96t0nfOSmQnG1s6pg8CRNAVEuMD5OgAUp9lqDh3WA%0Ay%2FzPmcmYWSQMfapHxnAPkVfYlg0qG1u8TDiGMFUgrkBl4rMBy%2BFJtkdvf8v7EZo9dkNFPK7L9FNt%0A%2BHQx4w22JvaDa5%2F1M9QdWlfNq%2BNtf%2Fv0r60dbyn%2FsL1O7f7CXXh6jflNHkHjFmHDIiTFq7lq0KWW%0AVoYug4tK%2BcOBGtOPtaFnDkvf3CRuGPekjc92MWAVh48S78quoMJulPFos4ETRwQdtHgqMA%2B7gdIH%0AT1uXXqiemkI%3D|预订|55000G721850|G7218|SHH|WHH|SHH|OMH|15:29|17:32|02:03|Y|MwgwCk9SAn%2B0dgd3hDAZdKoZp5d8dbxEYdeFXhCvNfUsv%2B%2FUo2FT6WVJLQM%3D|20190131|3|H1|01|05|1|0|||||||2||||3|5|1||O090O0M0|O9OM|0|0|null", "|预订|55000K413841|K4138|SHH|CDW|SHH|MAH|15:39|22:45|07:06|N|G09CazGb1j4lTY%2B%2Fe9nh%2BAUILHX88oS9npiH9Ffji%2B9pm5QY|20190131|3|H1|01|07|0|0||||无|||无|||无|||||101040|114|0|0|null", "EEnEhfGV4V65%2BrvJhckFZCIQi7JqUUdWxXUl2x2M5UkYxDPgGBPYhbdtOSUiTRGXLf7XGcV45vyB%0AZ8x38fF5Wso79%2BywNs842nTZXsoT2Tn5arKECL6yhGH%2F30BqfYnDTzYeits16McRTLZ4fP4bIqc%2F%0AspfoP8E0xXAFVhAfHFAF98GYD6TEOIvqfRqXzan%2FOuLgbNwPXv13293spb7%2FpJ4rmno3epxK6EcT%0A7ycmxfYXCpfbWzG9%2FgzedP4UdHZyhUfGJApE0Iiu1FSC6UPcSK0cxlVkGiramRhPnv104nVNgtbX%0AVOeQFUfmt2OqSfWKZk5Nfw%3D%3D|预订|5l000G715272|G7152|AOH|WHH|AOH|OMH|15:50|18:24|02:34|Y|jKmj0PUDaGMhCs4oVFaezLNOw7aEWkSDPBMQk9PCFq2ZsP14PrGTDekNHf0%3D|20190131|3|H3|01|09|1|0|||||||有||||5|2|5||O090M0O0|O9MO|0|0|null", "|预订|5j000G759212|G7592|VRH|AQH|AOH|OMH|16:25|19:07|02:42|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H6|12|22|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "|预订|5l000G714470|G7144|AOH|AQH|AOH|OMH|17:05|19:38|02:33|N|vB7k4KF3dSYYuuu%2B6LdTMxb9SfmeEBFYbjc0ciM0bV9VLd1D15RF3pEDPn8%3D|20190131|3|H6|01|09|1|0|||||||无||||无|无|无||O090O0M0|O9OM|0|0|null", "|预订|5l000G936410|G9364|AOH|AQH|AOH|OMH|18:18|20:53|02:35|N|sL4v5i7tiuCvlR0Z%2B7wj0zXhriION3odYNL9GOD4xTmU10lm|20190131|3|H1|01|09|1|0|||||||无||||无|无|||O0M0O0|OMO|0|0|null", "|预订|55000G727280|G7272|SHH|AQH|SHH|OMH|18:42|21:04|02:22|N|MnLSO%2FRfh59%2BYaY5ckZDXU8vtFoZpxrps7E0KI7J7lBM%2BlMaIXfGG%2Fe91ZQ%3D|20190131|3|H1|01|08|1|0|||||||无||||无|无|无||O090M0O0|O9MO|0|0|null", "BxZHWSkwHgQQGdSlZDMWn85h8NzNeXLlK6%2F3A5v8ju1XOkVL5CZ5IWDDW9Jz9NnDY9YSluBfRbht%0Axgq1yTZuXtrGRKYctIYE7CZde08tpMewYwgkh6O6onC8b7pSYXTGvsQbnwbRPN7kVkDlTvdlaSd5%0AdX2WV46DvRVf3SaA6aUZ4rp%2F0B%2FNp%2FfwfFd0hVDsKeX825VtK6xWj%2F1sBOuCkRBkK8dd86CLwm8T%0AY3y9%2FEUuK0iOai0RZADaoqbTzHDsIM5m3TvN7Cej83LpiyXLWLYuwEmcEPgD5%2FlBjV0A53ee8haH%0AhgaXGM7076U%3D|预订|55000G7226A0|G7226|SHH|WHH|SHH|OMH|19:37|22:12|02:35|Y|Y8nV1zu31NSWbLl%2BDs6ped46cK4yAHC6BYWmfytaaQ7AcHMktiC58RHu26A%3D|20190131|3|H1|01|09|1|0|||||||有||||15|16|5||O090M0O0|O9MO|0|0|null", "HNIZEIxEagI6b%2FhO1SEX1YbfiGXG8HWP1jv6d1g6n3fNTbnjF4dDsunJY1t%2ByQIBuNAHd96bXhKS%0Aj3LUYCJcsV5DBpxRLrrqAcQyaxjPDZ%2FOaBngkq8een1ZTa28WP%2FIiPEjD4J4wCQQooC1jTpIZNNV%0ALx0Sd7Hx%2BJ%2F9V%2BOa%2FK9xvuj6duW8Q8cggfwEJt799sZ%2Fb9ZPCUTsygANC57%2FqaRuXGW86ttbM8sb%0AXq6PU750E%2BeyRiEGAGHgGURKo2mHwiPK80rJrZjHHNorsXteuDY21gpoewptngKWM5UOQ%2BRPbn%2FX%0A|预订|55000G728610|G7286|SHH|WHH|SHH|OMH|20:35|22:47|02:12|Y|yWmmJeDnlyuVaFRID39o8hwy9GTJmkV8eDyQ1uMkY5KIIvOV|20190131|3|H2|01|07|1|0|||||||有||||17|无|||O0M0O0|OMO|0|0|null", "fSDVfDVnwa1gcUyP1VKq%2BOMEkFG2PCspqky2l%2FSz%2FQfKLrxNNB9h1XfcVFZ13oi4rePjm5JAzYfY%0ALq8O8fuK9RJOVstF9TRtDiV8WBfQcZxNSMykx5HgNnkU1QX2K09sY7Qa5F7VQlpnK8%2BZlgQV8IFs%0ASlv3hvZtR%2FEEtBkPGPlGUtR2yiGuNdiZIeSihv%2B7SbrVIwmEGSiSONo2W%2FFqvTTkyB7mstulfANn%0A2j80snQnyOr2tFG5iN5C2mk90ZbOH9hw6ps9pFhNQD678jra2yl4QdbYDFGkwlYfQVM%2BUYmrbhLy%0A%2F2WEJVLSm60%3D|预订|55000G936820|G9368|SHH|AQH|SHH|OMH|23:58|02:04|02:06|Y|5gVJPtqQ2iTyUCy%2BNRAebQrNNFCMtor5wOYfOQ4fBMevV7YYTRbcuDZB%2FQ8%3D|20190131|3|H3|01|06|1|0|||||||有||||1|1|3||O090M0O0|O9MO|0|0|null" ] }, "httpstatus": 200, "messages": "", "status": true } '''
196.109091
572
0.780363
1,296
10,786
6.490741
0.315586
0.014979
0.013195
0.010461
0.260223
0.210533
0.197932
0.194009
0.170233
0.161317
0
0.273924
0.056369
10,786
55
573
196.109091
0.552564
0
0
0
0
0.581818
0.993882
0.920738
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e268568b81b179d95d43f09dc7930b99b3db2f33
98
py
Python
components/subprocess/printandwait.py
minhan74/MIS-Locker
ab7e90000d566e818b4f44bd27165ed45a8f653f
[ "Apache-2.0", "MIT" ]
2
2020-07-29T13:38:54.000Z
2021-07-24T13:54:48.000Z
components/subprocess/printandwait.py
minhan74/MIS-Locker
ab7e90000d566e818b4f44bd27165ed45a8f653f
[ "Apache-2.0", "MIT" ]
4
2020-02-27T09:53:34.000Z
2020-02-27T09:54:35.000Z
components/subprocess/printandwait.py
minhan74/MIS-Locker
ab7e90000d566e818b4f44bd27165ed45a8f653f
[ "Apache-2.0", "MIT" ]
null
null
null
import time import sys print (10) sys.stdout.flush() time.sleep(10) print (20) sys.stdout.flush()
12.25
18
0.734694
17
98
4.235294
0.529412
0.25
0.388889
0
0
0
0
0
0
0
0
0.068966
0.112245
98
7
19
14
0.758621
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0.285714
1
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
1
0
0
0
0
0
0
5
e276e4d1fb97dfa8aeba915591de75d0ea967965
4,960
py
Python
tests/classToken/test2_6_parsecert.py
a513/PythonPKCS11Gost
96f3d46a8b28a7d14e667d05ca95333b416fbe9f
[ "MIT" ]
2
2021-02-24T05:47:32.000Z
2021-11-12T01:20:32.000Z
tests/classToken/test2_6_parsecert.py
a513/PythonPKCS11Gost
96f3d46a8b28a7d14e667d05ca95333b416fbe9f
[ "MIT" ]
null
null
null
tests/classToken/test2_6_parsecert.py
a513/PythonPKCS11Gost
96f3d46a8b28a7d14e667d05ca95333b416fbe9f
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys import pyp11 from Token import Token print('Работа с функциями parsecert:') #Выбираем библиотеку #Программный токен lib = '/usr/local/lib64/libls11sw2016.so' #Для Windows #lib='C:\Temp\ls11sw2016.dll' #Облачный токен #lib = '/usr/local/lib64/libls11cloud.so' #Аппаратный токен #lib = '/usr/local/lib64/librtpkcs11ecp_2.0.so' try: aa = pyp11.loadmodule(lib) print('load lib: ', aa) except: print('Except load lib: ') e = sys.exc_info()[1] e1 = e.args[0] print (e1) quit() #Создаем объект токен slot = 0 #For rabota sn = '228CBB83AEC1EA19' #For dom #sn = '50A333C9E79D9FD6' t1 = Token(aa, slot, sn) if (t1.returncode != ''): print ('Ошибка создания объекта токена') print (t1.returncode) #Уничтожение объекта del t1 quit() #cert_der_hex = '3082069d30820648a00302010202021016300c06082a8503070101030205003081e2310b3009060355040613025255312c302a06035504080c23d09cd0bed181d0bad0bed0b2d181d0bad0b0d18f20d0bed0b1d0bbd0b0d181d182d18c3120301e06035504070c17476e75504720d093d09ed0a1d0a22d323031322d32353631143012060355040a0c0bd0a3d0a62031325f3235363114301206035504030c0bd0a3d0a62031325f323536311a301806082a85030381030101120c3132333435363738393031323118301606052a85036401120d313233343536373839303132333121301f06092a864886f70d010901161263615f31325f323536406c697373692e7275301e170d3230303631393039323533305a170d3233303931343039323533305a3081e4310b30090603550406130252553141303f06035504080c38d0a7d183d0b2d0b0d188d181d0bad0b0d18f20d0a0d0b5d181d0bfd183d0b1d0bbd0b8d0bad0b0202d20d0a7d183d0b2d0b0d188d0b8d18f310e300c06035504070c0564667364663111300f06035504030c0854657874344b6579310e300c06035504040c056473666664310e300c060355042a0c056378767863311a301806082a85030381030101120c3232323232323232323232323116301406052a85036403120b3333333333333333333333311b301906092a864886f70d010901160c6b657934406b6579342e72753066301f06082a85030701010101301306072a85030202240006082a850307010102020343000440a9816daf3fb8618718f5d9ed51ebf235bd09d6eb50184f3453dbf2481834211f7c6466b1aae96f1c0fee2675a74b71983df5a73dd60cf315b5d1028baa4e5a30a38203d9308203d5300c0603551d130101ff040230003081ae06052a850364700481a43081a10c3ad09dd0b0d0b8d0bcd0b5d0bdd0bed0b2d0b0d0bdd0b8d0b520d0a1d09ad097d09820d0bfd0bed0bbd18cd0b7d0bed0b2d0b0d182d0b5d0bbd18f0c1cd0a2d0b5d181d182d0bed0b2d18bd0b920d0a3d0a6204341464c36330c26d0a1d0b5d180d182d0b8d184d0b8d0bad0b0d18220d0a1d09ad097d09820d0a3d0a620e284960c1dd0a1d0b5d180d182d0b8d184d0b8d0bad0b0d18220d0a3d0a620e28496304506052a8503646f043c0c3ad09dd0b0d0b8d0bcd0b5d0bdd0bed0b2d0b0d0bdd0b8d0b520d0a1d09ad097d09820d0bfd0bed0bbd18cd0b7d0bed0b2d0b0d182d0b5d0bbd18f301d0603551d2004163014300806062a8503647101300806062a8503647102300b0603551d0f0404030204f0301106096086480186f84201010404030205a03082012c0603551d25048201233082011f06082b0601050507030206082b06010505070304060a2b06010401823714020206062a850364020106072a85030202220606082b0601050507030206082b0601050507030406092a850305011802010306052a8503060e06072a85030381570406072a85030381570506072a85030381570606072a85030381570706072a85030381570806072a85030381570906072a85030381570b06072a85030381570c06072a85030381570d060b2b0601040182bf2601010106082a8503024001010106082a850303050a020c06062a850306030206082a8503050118022e06082a8503062d01010106082a8503050118021e06072a850305011c0206072a850305011c0306082a850303814a010806082b0601050507030206082b06010505070304301d0603551d0e041604148491c02f2faa4711e096d0155d75f47540e878d2308201190603551d23048201103082010c80146d3700d64bf7ed43c3ebc25962639626272651cca181e8a481e53081e2310b3009060355040613025255312c302a06035504080c23d09cd0bed181d0bad0bed0b2d181d0bad0b0d18f20d0bed0b1d0bbd0b0d181d182d18c3120301e06035504070c17476e75504720d093d09ed0a1d0a22d323031322d32353631143012060355040a0c0bd0a3d0a62031325f3235363114301206035504030c0bd0a3d0a62031325f323536311a301806082a85030381030101120c3132333435363738393031323118301606052a85036401120d313233343536373839303132333121301f06092a864886f70d010901161263615f31325f323536406c697373692e7275820900c6047cfc0235e1eb30170603551d110410300e810c6b657934406b6579342e727530090603551d1204023000300c06082a85030701010302050003410015e2ad073f8bddfb763e0b46a5c8c554c359e4b989899f56850571ff2f6c967c953c61ae3e1f3eac45228dbbf6a31f7de2de07306c2d2be704712182eed71e8c' ######################## #Читаем серификат в DER-кодировке из файла with open("cert_256.der", "rb") as f: cert_der = f.read() #Упаковываем der в hex cert_der_hex = bytes(cert_der).hex() # #Перевод из hex в der #cert_der = bytearray.fromhex(cert_der_hex) #Перевод из binary в hex #cert_der_hex = bytes(cert_der).hex() #cert_der_hex = bytes(bytearray.fromhex(cert_der_hex)).hex() print ('parsecert') dd, stat = t1.parsecert (cert_der_hex) if (stat != ''): print ('Ошибка при parsecert') print (stat) quit() for key in dd.keys(): print (key + ': ' + dd[key]) print ('parsecert END') dd = pyp11.parsecert (cert_der_hex) print ('parsecert END not slot') print (dd.keys()) for key in dd.keys(): print (key + ': ' + dd[key])
70.857143
3,412
0.893952
232
4,960
19.012931
0.409483
0.019043
0.022671
0.010882
0.058944
0.025391
0.025391
0.025391
0.025391
0
0
0.591985
0.054234
4,960
69
3,413
71.884058
0.348327
0.794355
0
0.179487
0
0
0.223022
0.033916
0
1
0
0
0
1
0
false
0
0.076923
0
0.076923
0.358974
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
5
2c41d03867523deddd6e4e5cca6ea268944aa244
24
py
Python
swarmopt/__init__.py
swarmopt/swarmopt
6384fd81af043a103b7b4e9f3f26830ed7efa048
[ "MIT" ]
6
2019-08-25T14:00:45.000Z
2019-10-11T09:41:04.000Z
swarmopt/__init__.py
swarmopt/swarmopt
6384fd81af043a103b7b4e9f3f26830ed7efa048
[ "MIT" ]
4
2019-09-25T18:05:16.000Z
2020-01-02T19:53:49.000Z
swarmopt/__init__.py
swarmopt/swarmopt
6384fd81af043a103b7b4e9f3f26830ed7efa048
[ "MIT" ]
1
2020-08-07T12:56:18.000Z
2020-08-07T12:56:18.000Z
from .mopso_agg import *
24
24
0.791667
4
24
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
2c451fbf0e23563a442bfc7a63f96ae36b06da36
223
py
Python
src/casper/__init__.py
shaunb866/CASPER
233bbe131bf28650533ca722104e9f599b97900a
[ "MIT" ]
1
2021-08-18T15:23:49.000Z
2021-08-18T15:23:49.000Z
src/casper/__init__.py
shaunb866/CASPER
233bbe131bf28650533ca722104e9f599b97900a
[ "MIT" ]
null
null
null
src/casper/__init__.py
shaunb866/CASPER
233bbe131bf28650533ca722104e9f599b97900a
[ "MIT" ]
null
null
null
__all__ = ['Critical_density' , 'Einasto_density' , 'Einasto_mass' , 'casper', 'density_rms', 'peak_height', 'smooth_kspace' , 'spherical_top_hat' , 'spherical_top_hat_generalised'] from .casper import *
24.777778
110
0.686099
24
223
5.75
0.708333
0.202899
0.217391
0
0
0
0
0
0
0
0
0
0.174888
223
8
111
27.875
0.75
0
0
0
0
0
0.59633
0.133028
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
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
1
0
0
0
0
5
2c6bab85cda3844d1519c35c94f7cc08c1aa59a8
80
py
Python
__init__.py
bliebeskind/Gene-Ages
fee8d009d4d5ee24c3ae3cb0763439c48d4705e6
[ "MIT" ]
8
2016-04-21T14:20:06.000Z
2021-06-10T06:50:45.000Z
__init__.py
bliebeskind/Gene-Ages
fee8d009d4d5ee24c3ae3cb0763439c48d4705e6
[ "MIT" ]
null
null
null
__init__.py
bliebeskind/Gene-Ages
fee8d009d4d5ee24c3ae3cb0763439c48d4705e6
[ "MIT" ]
3
2018-06-15T03:44:39.000Z
2020-07-07T22:41:21.000Z
from functions import * from parsers import * import infer_age import db_comp
20
24
0.8
12
80
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.175
80
4
25
20
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
2ca5f483c467cc9e0af2604b707656990c8d184b
92
py
Python
editor_app/admin.py
stasgora/latex-editor
f365f8155f87cf19ab2a192d87eebcd7ed71a04d
[ "MIT" ]
1
2021-01-10T12:40:16.000Z
2021-01-10T12:40:16.000Z
editor_app/admin.py
stasgora/latex-editor
f365f8155f87cf19ab2a192d87eebcd7ed71a04d
[ "MIT" ]
null
null
null
editor_app/admin.py
stasgora/latex-editor
f365f8155f87cf19ab2a192d87eebcd7ed71a04d
[ "MIT" ]
1
2021-01-10T12:58:17.000Z
2021-01-10T12:58:17.000Z
from django.contrib import admin from .models import Formula admin.site.register(Formula)
15.333333
32
0.815217
13
92
5.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.119565
92
5
33
18.4
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e2e68695a1ba3081124f8e1548c56ccd7fe4c570
55
py
Python
sklearnext/preprocessing/over_sampling/tests/test_geometric_smote.py
ReneRa/scikit-learn-extensions
499c763b22e980d5add16b085d11915b3cd1c6d2
[ "BSD-3-Clause" ]
null
null
null
sklearnext/preprocessing/over_sampling/tests/test_geometric_smote.py
ReneRa/scikit-learn-extensions
499c763b22e980d5add16b085d11915b3cd1c6d2
[ "BSD-3-Clause" ]
null
null
null
sklearnext/preprocessing/over_sampling/tests/test_geometric_smote.py
ReneRa/scikit-learn-extensions
499c763b22e980d5add16b085d11915b3cd1c6d2
[ "BSD-3-Clause" ]
null
null
null
""" Test the geometric_smote module. """ import pytest
11
32
0.727273
7
55
5.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.145455
55
5
33
11
0.829787
0.581818
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1a3ebd787979100d303b1a63b6451e764141b50a
218
py
Python
src/tokens/literal_token.py
thelennylord/yamu
60c7130278cde696561b3de1c997f8e843ecc116
[ "MIT" ]
null
null
null
src/tokens/literal_token.py
thelennylord/yamu
60c7130278cde696561b3de1c997f8e843ecc116
[ "MIT" ]
null
null
null
src/tokens/literal_token.py
thelennylord/yamu
60c7130278cde696561b3de1c997f8e843ecc116
[ "MIT" ]
null
null
null
from .base_token import BaseToken class LiteralToken(BaseToken): def __init__(self, command, parent=None) -> None: super().__init__(command, parent) def get_type(self) -> str: return "literal"
27.25
53
0.678899
26
218
5.307692
0.730769
0.188406
0
0
0
0
0
0
0
0
0
0
0.206422
218
8
54
27.25
0.797688
0
0
0
0
0
0.031963
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
1a46089f943a524d64cbf099d28dc751d9e129ed
301
py
Python
frappe-bench/apps/erpnext/erpnext/patches/v4_2/add_currency_turkish_lira.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
1
2021-04-29T14:55:29.000Z
2021-04-29T14:55:29.000Z
frappe-bench/apps/erpnext/erpnext/patches/v4_2/add_currency_turkish_lira.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
null
null
null
frappe-bench/apps/erpnext/erpnext/patches/v4_2/add_currency_turkish_lira.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
1
2021-04-29T14:39:01.000Z
2021-04-29T14:39:01.000Z
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe def execute(): return # country = get_country_info(country="Turkey") # add_country_and_currency("Turkey", country)
27.363636
68
0.780731
40
301
5.625
0.75
0
0
0
0
0
0
0
0
0
0
0.019157
0.13289
301
10
69
30.1
0.842912
0.700997
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
5
1aa0abf620cc0221e4bdd746d87b9553b9f6a2c1
215
py
Python
bin/checkLinko.py
mikiec84/linkshop
72959ceca0003be226edeca6496f915502831596
[ "Apache-2.0" ]
6
2017-07-18T15:28:33.000Z
2020-03-03T14:45:45.000Z
bin/checkLinko.py
mikiec84/linkshop
72959ceca0003be226edeca6496f915502831596
[ "Apache-2.0" ]
null
null
null
bin/checkLinko.py
mikiec84/linkshop
72959ceca0003be226edeca6496f915502831596
[ "Apache-2.0" ]
3
2017-09-09T00:36:48.000Z
2020-03-03T14:45:49.000Z
#!/usr/bin/env python3 """Command-line wrapper for linkoCreate.cli_checkLinkoStructure.""" import loadPath # Adds the project path. import linkograph.linkoCreate linkograph.linkoCreate.cli_checkLinkoStructure()
23.888889
67
0.809302
24
215
7.166667
0.75
0.162791
0.383721
0
0
0
0
0
0
0
0
0.005128
0.093023
215
8
68
26.875
0.876923
0.493023
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1ad078c30dc7a196dce0426f8f3f656e8ced1219
7,540
py
Python
Ago-Dic-2019/JOSE ONOFRE/Ordinario/BDCharacter.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ago-Dic-2019/JOSE ONOFRE/Ordinario/BDCharacter.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ago-Dic-2019/JOSE ONOFRE/Ordinario/BDCharacter.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
import sqlite3 from ClaseCharacter import * try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado a SQLite') query = 'SELECT sqlite_version();' cursor.execute(query) rows = cursor.fetchall() print('Version de SQLite: ', rows) cursor.close() except sqlite3.Error as error: print('Error con la conexión!', error) finally: if (conexion): conexion.close() print('Conexión a SQLite cerrada\n') #Crear Tabla try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = """CREATE TABLE IF NOT EXISTS Personaje( id TEXT PRIMARY KEY, name TEXT NOT NULL, status TEXT, species TEXT, type TEXT, gender TEXT, origin_name TEXT, origin_url TEXT, location_name TEXT, location_url TEXT, image TEXT, episode TEXT, url TEXT, created TEXT );""" cursor.execute(query) conexion.commit() print('Tabla creada con exito') cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close() ##Insertar def insertarP(Personaje): try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = """INSERT INTO Personaje VALUES ("{}", "{}", "{}", "{}", "{}", "{}", "{}", "{}", "{}", "{}", "{}", "{}", "{}", "{}")""".format(Personaje._id, Personaje._nameCh, Personaje._statusCh, Personaje._speciesCh, Personaje._typeCh, Personaje._genderCh, Personaje._origin_nameCh, Personaje._origin_urlCh, Personaje._location_NameCh, Personaje._location_UrlCh, Personaje._imageCh, Personaje._episodeCh, Personaje._urlCh, Personaje._createdCh) resultado = cursor.execute(query) conexion.commit() print('Valor Insertado Correctamente', resultado) cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close() # Mostrar datos def VisualizarPersonaje(): try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = 'SELECT * FROM Personaje;' cursor.execute(query) rows = cursor.fetchall() print('Total de registros: ', len(rows)) print('------------Registros-------------') for row in rows: print('Id: {}\nName: {}\nStatus: {}\nSpecies: {}\nType: {}\nGender: {}\nOriginName: {}\nOriginUrl: {}\nLocationName: {}\nLocationUrl: {}\nImage: {}\nEpisode: {}\nUrl: {}\nCreated: {}'.format(*row)) cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close() ################################################## #Crear Tabla Location try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = """CREATE TABLE IF NOT EXISTS Loc( id TEXT PRIMARY KEY, name TEXT NOT NULL, type TEXT, dimension TEXT, residents TEXT, url TEXT, created TEXT );""" cursor.execute(query) conexion.commit() print('Tabla creada con exito') cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close() ##Insertar en Locacion def insertarL(Location): try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = """INSERT INTO Loc VALUES ("{}", "{}", "{}", "{}", "{}", "{}", "{}")""".format(Location._id, Location._nameLoc, Location._typeLoc, Location._dimensionLoc, Location._residentsLoc, Location._urlLoc, Location._createdLoc) resultado = cursor.execute(query) conexion.commit() print('Valor Insertado Correctamente', resultado) cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close() # Mostrar datos def VisualizarLocacion(): try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = 'SELECT * FROM Loc;' cursor.execute(query) rows = cursor.fetchall() print('Total de registros: ', len(rows)) print('------------Registros-------------') for row in rows: print('Id: {}\nName: {}\nType: {}\nDimension: {}\nResidents: {}\nUrl: {}\nCreated: {}'.format(*row)) cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close() ################################################## #Crear Tabla Episode try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = """CREATE TABLE IF NOT EXISTS Epis( id TEXT PRIMARY KEY, name TEXT NOT NULL, airdate TEXT, episode TEXT, characters TEXT, url TEXT, created TEXT );""" cursor.execute(query) conexion.commit() print('Tabla creada con exito') cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close() ##Insertar en Epis def insertarE(Episodio): try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = """INSERT INTO Epis VALUES ("{}", "{}", "{}", "{}", "{}", "{}", "{}")""".format(Episodio._id, Episodio._nameEp, Episodio._airdateEp, Episodio._episodeEp, Episodio._charactersEp, Episodio._urlEp, Episodio._createdEp) resultado = cursor.execute(query) conexion.commit() print('Valor Insertado Correctamente', resultado) cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close() # Mostrar datos def VisualizarEpisode(): try: conexion = sqlite3.connect('BDCharacter.db') cursor = conexion.cursor() print('Conectado') query = 'SELECT * FROM Epis;' cursor.execute(query) rows = cursor.fetchall() print('Total de registros: ', len(rows)) print('------------Registros-------------') for row in rows: print('Id: {}\nName: {}\nAirDate: {}\nEpisode: {}\nCharacters: {}\nUrl: {}\nCreated: {}'.format(*row)) cursor.close() except sqlite3.Error as error: print('Error con la conexion',error) finally: if(conexion): conexion.close()
28.134328
415
0.540318
691
7,540
5.842258
0.186686
0.027248
0.044588
0.061927
0.722071
0.722071
0.713401
0.703245
0.680208
0.680208
0
0.004046
0.311671
7,540
268
416
28.134328
0.773796
0.018302
0
0.791667
0
0.015625
0.358162
0.013992
0
0
0
0
0
1
0.03125
false
0
0.010417
0
0.041667
0.192708
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
1ad1959204e46a1232907bd6ec8fa8da697fba77
39
py
Python
netxlib/network/ping.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
netxlib/network/ping.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
netxlib/network/ping.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
# write a ping module (from container)
19.5
38
0.74359
6
39
4.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.179487
39
1
39
39
0.90625
0.923077
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
46cad48ec065b865e1e68c3a18f68869421f25c4
2,909
py
Python
sql/python_libraries_for_sql_functions/namenormalizer/korean_last_name.py
zbj-labs/openalex-guts
4e54363591da66b35a7376009ad1bca534559f98
[ "MIT" ]
48
2021-11-20T08:17:53.000Z
2022-03-19T13:57:15.000Z
sql/python_libraries_for_sql_functions/namenormalizer/korean_last_name.py
zbj-labs/openalex-guts
4e54363591da66b35a7376009ad1bca534559f98
[ "MIT" ]
null
null
null
sql/python_libraries_for_sql_functions/namenormalizer/korean_last_name.py
zbj-labs/openalex-guts
4e54363591da66b35a7376009ad1bca534559f98
[ "MIT" ]
2
2022-01-04T16:28:48.000Z
2022-02-05T21:25:01.000Z
# https://en.wikipedia.org/wiki/List_of_Korean_surnames gKoreanLastName = {"ga":9950,"gan":2525,"gal":2086,"gam":6024,"gang":1269,"gyeon":1684,"gyeong":116958,"gye":6641,"go":471429,"gok":101,"gong":92340,"gwak":203365,"gwan":20,"gyo":26,"gu":208550,"guk":20768,"gung":572,"gwok":183,"gwon":706212,"geun":170,"geum":25472,"gi":29062,"gil":38173,"gim":10689,"na":161015,"ra":161015,"nan":8,"ran":10,"nam":275659,"namgung":21313,"nang":181,"rang":181,"nae":374,"no":315372,"ro":315372,"noe":19,"roe":19,"da":7,"dan":1632,"dam":47,"dang":1146,"dae":669,"do":57946,"dokgo":502,"don":117,"dong":5936,"dongbang":180,"du":6428,"deung":20,"deungjeong":5,"ryeo":80672,"roh":67,"ryu":963498,"ree":240,"rim":1015,"ma":39196,"man":124,"mangjeol":8,"mae":201,"maeng":22028,"myeong":29110,"mo":21912,"mok":8859,"myo":21,"moo":15,"moobon":6,"muk":172,"mun":464047,"mi":16,"min":171799,"bak":4192,"ban":28223,"bang":129559,"bae":400669,"baek":382447,"beon":6,"beom":3838,"byeon":138802,"bo":16,"bok":9538,"bokho":5,"bong":12959,"bu":10604,"bi":16,"bin":5782,"bing":763,"buyeo":89,"sa":10998,"sagong":4488,"san":9,"sam":38,"sang":2416,"seo":752233,"seomun":2044,"seok":60607,"seon":42842,"seonu":3648,"seol":45692,"seob":75,"seong":199160,"so":53856,"son":457356,"song":683521,"su":47,"sun":1237,"seung":3430,"si":4354,"sin":986001,"sim":272049,"a":529,"an":685688,"ae":24,"ya":77,"yang":530554,"ryang":530554,"eo":18929,"eogeum":8,"eom":144660,"yeo":80672,"yeon":34850,"ryeon":34850,"yeom":69428,"ryeom":69428,"yeop":571,"yeong":24,"ye":13587,"o":763334,"ok":25107,"on":5418,"ong":967,"wan":6,"wang":25581,"yo":29,"yong":15276,"ryong":15276,"u":195729,"un":118,"won":130174,"wi":32191,"yu":963498,"yuk":23455,"ryuk":23455,"yun":1020,"eun":16927,"eum":5604,"i":7307,"ri":7307,"in":22363,"im":1015,"ja":75,"jang":1021,"jeon":749266,"jeom":158,"jeong":2407,"je":21988,"jegal":5735,"jo":1453,"jong":681,"jwa":3383,"ju":232063,"jeung":18,"ji":160147,"jin":186310,"cha":194788,"chang":1095,"chae":131757,"cheon":121927,"cho":1453,"choe":2340,"chu":232063,"tak":21099,"tan":1632,"tae":9073,"pan":28223,"paeng":2935,"pyeon":16689,"pyeong":515,"po":57,"pyo":30749,"pung":651,"pi":6578,"pil":174,"ha":233106,"hak":35,"han":773537,"ham":80659,"hae":155,"heo":326782,"hyeon":88831,"hyeong":7328,"ho":5853,"hong":558994,"hwa":915,"hwang":697475,"hwangmok":5,"hwangbo":10427,"hu":74,"ka":9950,"kan":2525,"kal":2086,"kam":6024,"kang":1269,"kye":6641,"ko":471429,"kok":101,"kong":92340,"kwak":203365,"kwan":20,"kyo":26,"ku":208550,"kuk":20768,"kung":572,"ki":29062,"kil":38173,"kim":10689,"ta":7,"tam":47,"tang":1146,"to":57946,"tokko":502,"ton":117,"tong":5936,"tongbang":180,"tu":6428,"rah":25974,"rahn":10,"roi":19,"pak":4192,"pang":129559,"pae":400669,"paek":382447,"bun":6,"pok":9538,"pokho":5,"pong":12959,"pu":10604,"pin":5782,"ping":763,"sub":75,"yi":7307,"che":21988,"chegal":5735,"chong":681,"chwa":3383,"chi":160147,"chin":186310}
1,454.5
2,853
0.656927
502
2,909
3.800797
0.846614
0
0
0
0
0
0
0
0
0
0
0.345267
0.001375
2,909
2
2,853
1,454.5
0.311532
0.018219
0
0
0
0
0.296673
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
46ff6a0ce714a757deb0862206cdc1fe481f4f3d
77
py
Python
puzzle/Types.py
petereichinger/sudoku
cf60ab9d1d7b4996fa0751e764f0369631944dbf
[ "MIT" ]
null
null
null
puzzle/Types.py
petereichinger/sudoku
cf60ab9d1d7b4996fa0751e764f0369631944dbf
[ "MIT" ]
null
null
null
puzzle/Types.py
petereichinger/sudoku
cf60ab9d1d7b4996fa0751e764f0369631944dbf
[ "MIT" ]
null
null
null
from typing import Tuple Block = Tuple[int, int] Position = Tuple[int, int]
15.4
26
0.727273
12
77
4.666667
0.583333
0.285714
0.392857
0
0
0
0
0
0
0
0
0
0.168831
77
4
27
19.25
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
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
1
0
0
0
0
5
200602274c8c6224f4709e6420078ee80c374cf5
150
py
Python
src/home/apps.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
2
2016-07-18T02:11:37.000Z
2017-08-27T17:28:25.000Z
src/home/apps.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
66
2016-06-18T04:00:01.000Z
2018-02-03T17:42:17.000Z
src/home/apps.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
null
null
null
""" Homepage App Config """ from django.apps import AppConfig class HomeConfig(AppConfig): """ Homepage App Config """ name = 'home'
13.636364
33
0.633333
16
150
5.9375
0.75
0.231579
0.357895
0
0
0
0
0
0
0
0
0
0.24
150
10
34
15
0.833333
0.26
0
0
0
0
0.045455
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
2018ee2f3befe5c7c429fa982956ed14913611bf
32
py
Python
pipeline/__init__.py
cdvx/etl-python
600d581e25c983e385a0ea660bde03ea3950fc06
[ "MIT" ]
null
null
null
pipeline/__init__.py
cdvx/etl-python
600d581e25c983e385a0ea660bde03ea3950fc06
[ "MIT" ]
null
null
null
pipeline/__init__.py
cdvx/etl-python
600d581e25c983e385a0ea660bde03ea3950fc06
[ "MIT" ]
null
null
null
from .pipeline import main
10.666667
26
0.6875
4
32
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.28125
32
3
27
10.666667
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
203151becd4bff427512ae31c770312aa3f130f8
50
py
Python
src/constellix/API/__init__.py
aperim/python-constellix
11cb19fce5cc00aefd14f8ac6bf63dc2f98731ae
[ "CC0-1.0" ]
null
null
null
src/constellix/API/__init__.py
aperim/python-constellix
11cb19fce5cc00aefd14f8ac6bf63dc2f98731ae
[ "CC0-1.0" ]
null
null
null
src/constellix/API/__init__.py
aperim/python-constellix
11cb19fce5cc00aefd14f8ac6bf63dc2f98731ae
[ "CC0-1.0" ]
null
null
null
"""Constellix API""" from .main import Constellix
16.666667
28
0.74
6
50
6.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.12
50
3
28
16.666667
0.840909
0.28
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
203dd2ff23c62380bad322ca3d9ea871eea3ccbd
56
py
Python
diss/concept_classes/__init__.py
mvcisback/DISS
3ac94d62d2f10e2642a5ea7ef27b1ed045664abc
[ "MIT" ]
null
null
null
diss/concept_classes/__init__.py
mvcisback/DISS
3ac94d62d2f10e2642a5ea7ef27b1ed045664abc
[ "MIT" ]
null
null
null
diss/concept_classes/__init__.py
mvcisback/DISS
3ac94d62d2f10e2642a5ea7ef27b1ed045664abc
[ "MIT" ]
null
null
null
from diss.concept_classes.dfa_concept import DFAConcept
28
55
0.892857
8
56
6
0.875
0
0
0
0
0
0
0
0
0
0
0
0.071429
56
1
56
56
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6457dbe89597376285c73410c04f46303964bdb7
40
py
Python
deep_utils/utils/encodes/__init__.py
Vargha-Kh/deep_utils
30bcef4f5869b5b7c7333612d6c219d5399f819b
[ "MIT" ]
5
2021-07-29T16:35:20.000Z
2022-03-27T18:24:44.000Z
deep_utils/utils/encodes/__init__.py
MenuaB/deep_utils
b1b936f4780ea7dc52224f53f5116288c5b0a804
[ "MIT" ]
null
null
null
deep_utils/utils/encodes/__init__.py
MenuaB/deep_utils
b1b936f4780ea7dc52224f53f5116288c5b0a804
[ "MIT" ]
null
null
null
from .b64 import b64_to_img, img_to_b64
20
39
0.825
9
40
3.222222
0.555556
0
0
0
0
0
0
0
0
0
0
0.171429
0.125
40
1
40
40
0.657143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
64767b9aab20bcc764d2e6dae0f1ec8c271280e5
154
py
Python
pp/sp/__init__.py
smartalecH/gdsfactory
66dfbf740704f1a6155f4812a1d9483ccf5c116c
[ "MIT" ]
16
2020-02-03T07:05:31.000Z
2021-12-29T18:40:09.000Z
pp/sp/__init__.py
smartalecH/gdsfactory
66dfbf740704f1a6155f4812a1d9483ccf5c116c
[ "MIT" ]
2
2020-01-31T20:01:40.000Z
2020-09-26T17:50:55.000Z
pp/sp/__init__.py
smartalecH/gdsfactory
66dfbf740704f1a6155f4812a1d9483ccf5c116c
[ "MIT" ]
7
2020-02-09T23:16:18.000Z
2020-10-30T03:12:04.000Z
""" Work with SParameters """ from pp.sp.load import load from pp.sp.write import write from pp.sp.plot import plot __all__ = ["load", "write", "plot"]
15.4
35
0.694805
25
154
4.12
0.44
0.174757
0.23301
0
0
0
0
0
0
0
0
0
0.155844
154
9
36
17.111111
0.792308
0.136364
0
0
0
0
0.104
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
64770573df47755a0ab6aaba4f78821b39d94959
53
py
Python
vformer/decoder/task_heads/__init__.py
aditya-agrawal-30502/vformer
e1f4950f980238442ff1dc39a8f0791e4fbc9dac
[ "MIT" ]
90
2021-09-08T10:21:19.000Z
2022-03-26T18:11:47.000Z
vformer/decoder/task_heads/__init__.py
aditya-agrawal-30502/vformer
e1f4950f980238442ff1dc39a8f0791e4fbc9dac
[ "MIT" ]
72
2021-09-09T06:54:50.000Z
2022-03-31T09:23:31.000Z
vformer/decoder/task_heads/__init__.py
aditya-agrawal-30502/vformer
e1f4950f980238442ff1dc39a8f0791e4fbc9dac
[ "MIT" ]
21
2021-09-09T05:56:03.000Z
2022-03-20T08:22:09.000Z
from .detection import * from .segmentation import *
17.666667
27
0.773585
6
53
6.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.150943
53
2
28
26.5
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
647c0b5a29006717e7f61081839fa9717d638c70
432
py
Python
Codewars/4kyu/roman-numerals-encoder/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
7
2017-09-20T16:40:39.000Z
2021-08-31T18:15:08.000Z
Codewars/4kyu/roman-numerals-encoder/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
Codewars/4kyu/roman-numerals-encoder/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
# Python - 2.7.6 test.assert_equals(solution(1),'I') test.assert_equals(solution(4),'IV') test.assert_equals(solution(6),'VI') test.assert_equals(solution(182),'CLXXXII') test.assert_equals(solution(1990),'MCMXC') test.assert_equals(solution(1875),'MDCCCLXXV') test.assert_equals(solution(2008),'MMVIII') test.assert_equals(solution(1666),'MDCLXVI') test.assert_equals(solution(1000),'M') test.assert_equals(solution(2007),'MMVII')
36
46
0.773148
64
432
5.0625
0.421875
0.308642
0.493827
0.740741
0
0
0
0
0
0
0
0.078947
0.032407
432
12
47
36
0.696172
0.032407
0
0
0
0
0.107914
0
0
0
0
0
1
1
0
true
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
5
64c5081601eb859e7cbd47c4bdbbe94a9fe732de
35
py
Python
base_flask_app/run.py
anokata/pythonPetProjects
245c3ff11ae560b17830970061d8d60013948fd7
[ "MIT" ]
3
2017-04-30T17:44:53.000Z
2018-02-03T06:02:11.000Z
base_flask_app/run.py
anokata/pythonPetProjects
245c3ff11ae560b17830970061d8d60013948fd7
[ "MIT" ]
10
2021-03-18T20:17:19.000Z
2022-03-11T23:14:19.000Z
base_flask_app/run.py
anokata/pythonPetProjects
245c3ff11ae560b17830970061d8d60013948fd7
[ "MIT" ]
null
null
null
from src.app import app app.run()
8.75
23
0.714286
7
35
3.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.171429
35
3
24
11.666667
0.862069
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
5
b38802915ef49a25aac0f6ee61f2f4d56286269a
7,147
py
Python
mdd&c.py
kirasisi/closest-manhattan-distance-with-divde-and-conqure
388f2322f7f28e611815578c0d15b765e95dc0a6
[ "MIT" ]
1
2021-06-15T12:08:38.000Z
2021-06-15T12:08:38.000Z
mdd&c.py
kirasisi/closest-manhattan-distance-with-divde-and-conqure
388f2322f7f28e611815578c0d15b765e95dc0a6
[ "MIT" ]
null
null
null
mdd&c.py
kirasisi/closest-manhattan-distance-with-divde-and-conqure
388f2322f7f28e611815578c0d15b765e95dc0a6
[ "MIT" ]
null
null
null
from math import * class PointSet: def __init__(self,pt=[]): self.contents = pt for i in pt: self.x = i[0] self.y = i[1] def insertPt(self,newP): newPt = PointSet(pt=[newP]+self.contents) return newPt def deletePt(self,delPt): if delPt in self.contents: self.contents.remove(delPt) else: print ("point not found") def sortX(Lx): Lx = PointSet(sorted(Lx.contents, key= lambda p: [p[0]])) return Lx def sortY(Ly): Ly = PointSet(sorted(Ly.contents, key= lambda p: [p[1]])) return Ly def manhattan_closest_dc(Lx,Ly,dListL,dListR,dmin):#divide and conqure if len(Lx.contents) > 4 and len(Ly.contents) > 4: midX = len(Lx.contents)//2 midY = len(Ly.contents)//2 leftX = PointSet(Lx.contents[:midX]) #divide the list sorted by x leftY = PointSet(Ly.contents[:midY]) #divide th list sorted by y rightX = PointSet(Lx.contents[midX:]) rightY = PointSet(Ly.contents[midY:]) if leftX.contents[0]!= leftY.contents[0]: dxL = abs(leftX.contents[0][0]-leftY.contents[0][0]) dyL = abs(leftX.contents[0][1]-leftY.contents[0][1]) dL = dxL + dyL dListL.append(dL) if len(leftX.contents)>1: mid = len(leftX.contents) // 2 midDxX1 = abs(leftX.contents[mid-1][0]- leftX.contents[mid][0])#pairs which one point on left midDyX1 = abs(leftX.contents[mid-1][1]- leftX.contents[mid][1])#and one on right side of the divide line dmidX1 = midDxX1 + midDyX1 dListL.append(dmidX1) elif len(leftY.contents)>1: mid = len(leftY.contents) // 2 midDxY2 = abs(leftY.contents[mid][0]- leftY.contents[mid][0]) midDyY2 = abs(leftY.contents[midY][1]- leftY.contents[mid][1]) dmidY2 = midDxY2 + midDyY2 dListL.append(dmidY2) dminL = min(dListL) dmin.append(dminL) return leftX.manhattan_closest_dc(leftY,dListL,dListR,dmin) if leftX.contents[0] == leftY.contents[0]: dxL = abs(leftX.contents[0][0]-leftY.contents[1][0]) dyL = abs(leftX.contents[0][1]-leftY.contents[1][1]) dL = dxL + dyL dListL.append(dL) if len(leftX.contents)>1: mid = len(leftX.contents) // 2 midDxX1 = abs(leftX.contents[mid-1][0]- leftX.contents[mid][0])#pairs which one point on left midDyX1 = abs(leftX.contents[mid-1][1]- leftX.contents[mid][1])#and one on right side of the divide line dmidX1 = midDxX1 + midDyX1 dListL.append(dmidX1) elif len(leftY.contents)>1: mid = len(leftY.contents) // 2 midDxY2 = abs(leftY.contents[mid-1][0]- leftY.contents[mid][0]) midDyY2 = abs(leftY.contents[mid-1][1]- leftY.contents[mid][1]) dmidY2 = midDxY2 + midDyY2 dListL.append(dmidY2) dminL = min(dListL) dmin.append(dminL) return leftX.manhattan_closest_dc(leftY,dListL,dListR,dmin) if rightX.contents[0]!=rightY.contents[0]: dxR = abs(rightX.contents[0][0]-rightY.contents[0][0]) dyR = abs(rightX.contents[0][1]-rightY.contents[0][1]) dR = dxR + dyR dListR.append(dR) if len(rightX.contents)>1: mid = len(rightX.contents) // 2 midDxX1 = abs(rightX.contents[mid-1][0] - rightX.contents[mid][0]) midDyX1 = abs(rightX.contents[mid-1][1] - rightX.contents[mid][1]) dmidX1 = midDxX1 + midDyX1 dListR.append(dmidX1) elif len(rightY.contents)>1: mid = len(rightY.contents) // 2 midDxY2 = abs(rightY.contents[mid-1][0] - rightY.contents[mid][0]) midDyY2 = abs(rightY.contents[mid-1][1] - rightY.contents[mid][1]) dmidY2 = midDxY2 + midDyY2 dListR.append(dmidY2) dminR = min(dListR) dmin.append(dminR) return rightX.manhattan_closest_dc(rightY,dListL,dListR,dmin) if rightX.contents[0]==rightY.contents[0]: dxR = abs(rightX.contents[0][0]-rightY.contents[1][0]) dyR = abs(rightX.contents[0][1]-rightY.contents[1][1]) dR = dxR + dyR dListR.append(dR) if len(rightX.contents)>1: mid = len(rightX.contents) // 2 midDxX1 = abs(rightX.contents[mid-1][0] - rightX.contents[mid][0]) midDyX1 = abs(rightX.contents[mid-1][1] - rightX.contents[mid][1]) dmidX1 = midDxX1 + midDyX1 dListR.append(dmidX1) elif len(rightY.contents)>1: mid = len(rightY.contents) // 2 midDxY2 = abs(rightY.contents[mid-1][0] - rightY.contents[mid][0]) midDyY2 = abs(rightY.contents[mid-1][1] - rightY.contents[mid][1]) dmidY2 = midDxY2 + midDyY2 dListR.append(dmidY2) dminR = min(dListR) dmin.append(dminR) return rightX.manhattan_closest_dc(rightY,dListL,dListR,dmin) if len(Lx.contents) <= 4 or len(Ly.contents) <= 4 : point = [] dx = 0 dy = 0 if len(Lx.contents) <= 1: return 0 else: for p in Lx.contents: for q in Ly.contents: if p != q: dx = abs(p[0]-q[0]) dy = abs(p[1]-q[1]) dmin.append(dx+dy) for p in Lx.contents: for q in Ly.contents: dx = abs(p[0]-q[0]) dy = abs(p[1]-q[1]) if (dx+dy) == min(dmin) and p not in point: point.append(p) point.append(q) if len(dmin)==0: return 0 else: return point,min(dmin) #test a = PointSet([(1,2),(3,4),(5,6),(4,3),(15,4),(27,29),(34,28),(45,64),(17,21),(38,53),(11,29),(41,23)]) lx = a.sortX() #sort list by x ly = a.sortY() lx.manhattan_closest_dc(ly,[],[],[])
45.814103
130
0.463971
815
7,147
4.04908
0.137423
0.103333
0.08
0.036364
0.74697
0.724848
0.724848
0.724848
0.724848
0.656364
0
0.05063
0.411361
7,147
155
131
46.109677
0.733777
0.039177
0
0.562044
0
0
0.002188
0
0
0
0
0
0
1
0.043796
false
0
0.007299
0
0.131387
0.007299
0
0
0
null
0
0
0
0
1
1
1
1
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
5
b3a063d27a86f1a5b32344c623107b0751ebfff5
69
py
Python
testdata/class_with_staticmethod.py
maet3608/splint
2b8b7277bcc752a6005bde275c0f3d28d9d847b0
[ "Apache-2.0" ]
3
2019-09-18T23:12:08.000Z
2020-05-21T00:55:29.000Z
testdata/class_with_staticmethod.py
maet3608/splint
2b8b7277bcc752a6005bde275c0f3d28d9d847b0
[ "Apache-2.0" ]
null
null
null
testdata/class_with_staticmethod.py
maet3608/splint
2b8b7277bcc752a6005bde275c0f3d28d9d847b0
[ "Apache-2.0" ]
null
null
null
class Foo: @staticmethod def add(a, b): return a + b
13.8
20
0.521739
10
69
3.6
0.8
0.111111
0
0
0
0
0
0
0
0
0
0
0.376812
69
4
21
17.25
0.837209
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
b3c587eb07214b67382671dbbc849b0826aa9863
39
py
Python
tests/__init__.py
lukeshiner/pywowcher
1577a37310d79f16d5b9ebfb6ff6dbd87c081e0b
[ "MIT" ]
null
null
null
tests/__init__.py
lukeshiner/pywowcher
1577a37310d79f16d5b9ebfb6ff6dbd87c081e0b
[ "MIT" ]
19
2019-04-24T12:57:41.000Z
2019-07-08T05:47:35.000Z
tests/__init__.py
lukeshiner/pywowcher
1577a37310d79f16d5b9ebfb6ff6dbd87c081e0b
[ "MIT" ]
null
null
null
"""Tests for the Pywowcher pacakge."""
19.5
38
0.692308
5
39
5.4
1
0
0
0
0
0
0
0
0
0
0
0
0.128205
39
1
39
39
0.794118
0.820513
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5