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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4d76b86656112b85899bb9e4fb117a7e7e55f208 | 41 | py | Python | src/swegram/version.py | bmegyesi/swegram | 7faa6df8e25d4cfd91f8abfba9d883e45570985b | [
"MIT"
] | null | null | null | src/swegram/version.py | bmegyesi/swegram | 7faa6df8e25d4cfd91f8abfba9d883e45570985b | [
"MIT"
] | null | null | null | src/swegram/version.py | bmegyesi/swegram | 7faa6df8e25d4cfd91f8abfba9d883e45570985b | [
"MIT"
] | null | null | null | """Version info"""
VERSION = '2.0.0.dev2' | 20.5 | 22 | 0.609756 | 7 | 41 | 3.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.097561 | 41 | 2 | 22 | 20.5 | 0.567568 | 0.292683 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d97aa00a46f5b46c9eed297584c71dc08fab85d | 211 | py | Python | pyhindsight/plugins/__init__.py | denmilu/hindsight_chrome-history-forensic | c4df0e3cfc196ed08da361cd00e81778c67acfd4 | [
"Apache-2.0"
] | null | null | null | pyhindsight/plugins/__init__.py | denmilu/hindsight_chrome-history-forensic | c4df0e3cfc196ed08da361cd00e81778c67acfd4 | [
"Apache-2.0"
] | null | null | null | pyhindsight/plugins/__init__.py | denmilu/hindsight_chrome-history-forensic | c4df0e3cfc196ed08da361cd00e81778c67acfd4 | [
"Apache-2.0"
] | null | null | null | __all__ = ['chrome_extensions', 'generic_timestamps', 'google_analytics',
'google_searches', 'load_balancer_cookies', 'quantcast_cookies',
'query_string_parser', 'time_discrepancy_finder']
| 52.75 | 75 | 0.725118 | 20 | 211 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151659 | 211 | 3 | 76 | 70.333333 | 0.77095 | 0 | 0 | 0 | 0 | 0 | 0.691943 | 0.208531 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4db5aab0639a37eecd867ca6933e67e2c33e0407 | 301 | py | Python | src/training_schedules.py | nnmhuy/flownet2-tf | 9815e19a9a3745ff9cdf618ea2f1339583d7ae6a | [
"MIT"
] | 438 | 2017-07-11T16:56:50.000Z | 2022-03-23T15:14:33.000Z | src/training_schedules.py | nnmhuy/flownet2-tf | 9815e19a9a3745ff9cdf618ea2f1339583d7ae6a | [
"MIT"
] | 110 | 2017-08-17T07:52:10.000Z | 2022-02-10T09:22:44.000Z | src/training_schedules.py | nnmhuy/flownet2-tf | 9815e19a9a3745ff9cdf618ea2f1339583d7ae6a | [
"MIT"
] | 232 | 2017-06-28T09:13:50.000Z | 2022-03-28T08:18:01.000Z | LONG_SCHEDULE = {
'step_values': [400000, 600000, 800000, 1000000],
'learning_rates': [0.0001, 0.00005, 0.000025, 0.0000125, 0.00000625],
'momentum': 0.9,
'momentum2': 0.999,
'weight_decay': 0.0004,
'max_iter': 1200000,
}
FINETUNE_SCHEDULE = {
# TODO: Finetune schedule
}
| 23.153846 | 73 | 0.631229 | 38 | 301 | 4.842105 | 0.736842 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327801 | 0.199336 | 301 | 12 | 74 | 25.083333 | 0.435685 | 0.076412 | 0 | 0 | 0 | 0 | 0.224638 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4dbe1a7e69d182b6651b3b6ace48329687900435 | 466 | py | Python | Algorithms/sum_of_digits.py | StokicDusan/Python-misc | c12f1603ef4dc7bf9ff55994cdbd6cf1dafcfee1 | [
"MIT"
] | null | null | null | Algorithms/sum_of_digits.py | StokicDusan/Python-misc | c12f1603ef4dc7bf9ff55994cdbd6cf1dafcfee1 | [
"MIT"
] | 12 | 2021-04-15T21:22:26.000Z | 2022-02-18T15:09:56.000Z | Algorithms/sum_of_digits.py | StokicDusan/Python-misc | c12f1603ef4dc7bf9ff55994cdbd6cf1dafcfee1 | [
"MIT"
] | null | null | null | def sum_of_digits(number: int) -> int:
"""
Returns the sum of digits
for the entered number
"""
return eval("+".join([i for i in str(number)]))
def test_sum_of_digits() -> None:
"""
>>> sum_of_digits(1)
1
>>> sum_of_digits(40)
4
>>> sum_of_digits(165)
12
>>> sum_of... | 16.642857 | 51 | 0.560086 | 65 | 466 | 3.661538 | 0.538462 | 0.168067 | 0.369748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.296137 | 466 | 27 | 52 | 17.259259 | 0.664634 | 0.373391 | 0 | 0 | 0 | 0 | 0.040724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4dbf6dd726b57493416fba18fcb958c96244965e | 168 | py | Python | assignments/Exercise_Lecture53_Phumeth_P.py | ZnoKunG/PythonProject | 388b5dfeb0161aee66094e7b2ecc2d6ed13588bd | [
"MIT"
] | null | null | null | assignments/Exercise_Lecture53_Phumeth_P.py | ZnoKunG/PythonProject | 388b5dfeb0161aee66094e7b2ecc2d6ed13588bd | [
"MIT"
] | null | null | null | assignments/Exercise_Lecture53_Phumeth_P.py | ZnoKunG/PythonProject | 388b5dfeb0161aee66094e7b2ecc2d6ed13588bd | [
"MIT"
] | null | null | null | totalPrice = float(input("Total price :"))
def vatCalculator(totalPrice):
result = totalPrice+(totalPrice*7/100)
return result
print(vatCalculator(totalPrice)) | 28 | 42 | 0.75 | 18 | 168 | 7 | 0.666667 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027211 | 0.125 | 168 | 6 | 43 | 28 | 0.829932 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4dc0b009ef2b1f874e3e403f81ed7e27d67c6435 | 374 | py | Python | CDSB_series/kfingerprinting/const.py | WFDetector/WFDetection | b16d35b3a3a5de62de9e0bac83eccd21b6358b53 | [
"Apache-2.0"
] | null | null | null | CDSB_series/kfingerprinting/const.py | WFDetector/WFDetection | b16d35b3a3a5de62de9e0bac83eccd21b6358b53 | [
"Apache-2.0"
] | null | null | null | CDSB_series/kfingerprinting/const.py | WFDetector/WFDetection | b16d35b3a3a5de62de9e0bac83eccd21b6358b53 | [
"Apache-2.0"
] | null | null | null | from os.path import join, abspath, dirname, pardir
BASE_DIR = abspath(join(dirname(__file__), pardir))
confdir = join(BASE_DIR,'conf.ini')
outputdir = join(BASE_DIR, 'kfingerprinting/results/')
modeldir = join(BASE_DIR, 'kfingerprinting/models/')
randomdir = join(BASE_DIR, 'kfingerprinting/randomresults/')
LOG_FORMAT =... | 53.428571 | 66 | 0.756684 | 49 | 374 | 5.571429 | 0.612245 | 0.128205 | 0.161172 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008746 | 0.082888 | 374 | 7 | 66 | 53.428571 | 0.787172 | 0 | 0 | 0 | 0 | 0 | 0.362667 | 0.205333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
4dd3923e0495a9d6be5cf93e43506475ec6b2df9 | 417 | py | Python | subsets.py | rresender/python-samples | 2fb2330f59f3cc0c6b975381e22268a758773b69 | [
"MIT"
] | null | null | null | subsets.py | rresender/python-samples | 2fb2330f59f3cc0c6b975381e22268a758773b69 | [
"MIT"
] | null | null | null | subsets.py | rresender/python-samples | 2fb2330f59f3cc0c6b975381e22268a758773b69 | [
"MIT"
] | null | null | null | def subsets(nums):
results = []
stack = []
recurse(results, nums, stack, 0)
return results
def recurse(results, nums, stack, position):
if position == len(nums):
results.append(stack.copy())
return
stack.append(nums[position])
recurse(results, nums, stack, position + 1)
... | 26.0625 | 47 | 0.613909 | 52 | 417 | 4.923077 | 0.384615 | 0.21875 | 0.28125 | 0.359375 | 0.371094 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.230216 | 417 | 16 | 48 | 26.0625 | 0.778816 | 0 | 0 | 0.142857 | 0 | 0 | 0.004785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.071429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4dd49cf920a8af05f3339ec905a5bcf164fbee39 | 226 | py | Python | abc/104/b/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | abc/104/b/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | abc/104/b/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | import re
S = input()
small_char_diff = len(re.findall(r'[a-z]', S.lower())) - len(re.findall(r'[a-z]', S))
if S[0] == 'A' and S[2:(len(S) - 1)].count('C') == 1 and small_char_diff == 2:
print('AC')
else:
print('WA') | 25.111111 | 85 | 0.553097 | 45 | 226 | 2.688889 | 0.533333 | 0.14876 | 0.214876 | 0.214876 | 0.264463 | 0.264463 | 0.264463 | 0 | 0 | 0 | 0 | 0.026596 | 0.168142 | 226 | 9 | 86 | 25.111111 | 0.617021 | 0 | 0 | 0 | 0 | 0 | 0.070485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4de7c577675c55118cf310769a41e854274c2491 | 76 | py | Python | mmdet/ops/space_time_mem/__init__.py | Nitin-Mane/MMDET | 7410b25f27c200719482955cb4a8a1c381e67e04 | [
"Apache-2.0"
] | 2 | 2019-10-15T09:42:33.000Z | 2020-02-05T11:37:09.000Z | mmdet/ops/space_time_mem/__init__.py | Nitin-Mane/MMDET | 7410b25f27c200719482955cb4a8a1c381e67e04 | [
"Apache-2.0"
] | null | null | null | mmdet/ops/space_time_mem/__init__.py | Nitin-Mane/MMDET | 7410b25f27c200719482955cb4a8a1c381e67e04 | [
"Apache-2.0"
] | 1 | 2020-07-31T18:42:13.000Z | 2020-07-31T18:42:13.000Z | from .space_time_mem import PointwiseGraphNN
__all__ = ['PointwiseGraphNN'] | 25.333333 | 44 | 0.828947 | 8 | 76 | 7.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 76 | 3 | 45 | 25.333333 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4df80a732327deba391ee66fbd56177b587b60c7 | 188 | py | Python | consulting_reverse/ping_get_reverse.py | andradjp/tools | 4cb2123563518f8a029fa9d67e9e6eabd18aa863 | [
"MIT"
] | null | null | null | consulting_reverse/ping_get_reverse.py | andradjp/tools | 4cb2123563518f8a029fa9d67e9e6eabd18aa863 | [
"MIT"
] | null | null | null | consulting_reverse/ping_get_reverse.py | andradjp/tools | 4cb2123563518f8a029fa9d67e9e6eabd18aa863 | [
"MIT"
] | null | null | null | import ipaddress
import socket
range = ipaddress.IPv4Network('10.7.0.0/22')
for x in range:
try:
print(socket.gethostbyaddr(str(x))[0])
except socket.herror:
pass
| 18.8 | 46 | 0.659574 | 27 | 188 | 4.592593 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.218085 | 188 | 9 | 47 | 20.888889 | 0.782313 | 0 | 0 | 0 | 0 | 0 | 0.058511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.25 | 0 | 0.25 | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
15064eadf229bee7fa1b543b628934eeda847112 | 896 | py | Python | trinity/protocol/bcc_libp2p/exceptions.py | dendisuhubdy/trinity | 001664781259c7dd0779a0ef6f822451b608ded4 | [
"MIT"
] | null | null | null | trinity/protocol/bcc_libp2p/exceptions.py | dendisuhubdy/trinity | 001664781259c7dd0779a0ef6f822451b608ded4 | [
"MIT"
] | null | null | null | trinity/protocol/bcc_libp2p/exceptions.py | dendisuhubdy/trinity | 001664781259c7dd0779a0ef6f822451b608ded4 | [
"MIT"
] | null | null | null | class BaseLibp2pError(Exception):
...
class HandshakeFailure(BaseLibp2pError):
...
class DialPeerError(BaseLibp2pError):
...
class MessageIOFailure(BaseLibp2pError):
...
class ReadMessageFailure(MessageIOFailure):
...
class WriteMessageFailure(MessageIOFailure):
...
class RequestFail... | 13.373134 | 51 | 0.717634 | 51 | 896 | 12.607843 | 0.372549 | 0.279938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014765 | 0.168527 | 896 | 66 | 52 | 13.575758 | 0.848322 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1512dd04183d10fc5e71cab96f764ca461ce9ced | 1,476 | py | Python | tests/behavioural/features/steps/aggregated_data.py | uk-gov-mirror/ONSdigital.ras-secure-message | 741eed651eea47dd1a13c7c93b1b1796584cdf2b | [
"MIT"
] | null | null | null | tests/behavioural/features/steps/aggregated_data.py | uk-gov-mirror/ONSdigital.ras-secure-message | 741eed651eea47dd1a13c7c93b1b1796584cdf2b | [
"MIT"
] | null | null | null | tests/behavioural/features/steps/aggregated_data.py | uk-gov-mirror/ONSdigital.ras-secure-message | 741eed651eea47dd1a13c7c93b1b1796584cdf2b | [
"MIT"
] | null | null | null | import nose.tools
from behave import then
from flask import json
from secure_message.services.service_toggles import party
@then("retrieved message additional from data matches that from party service")
def step_impl_verify_additional_from_data_matches_that_from_party_service(context):
"""validate that the additi... | 50.896552 | 106 | 0.802846 | 219 | 1,476 | 5.100457 | 0.182648 | 0.08863 | 0.120859 | 0.102059 | 0.794987 | 0.789615 | 0.704566 | 0.65085 | 0.623993 | 0.623993 | 0 | 0.001528 | 0.113144 | 1,476 | 28 | 107 | 52.714286 | 0.851795 | 0.184282 | 0 | 0.157895 | 0 | 0 | 0.229798 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.157895 | false | 0 | 0.210526 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1281c7ccde718fe8c94f3f7754b34faa572e9e42 | 1,063 | py | Python | fern/ast/kvpair.py | andrewf/fern | 16c155ff1d0c8a096b43c2c19d1f478a334682e4 | [
"MIT"
] | 1 | 2021-12-13T12:50:35.000Z | 2021-12-13T12:50:35.000Z | fern/ast/kvpair.py | andrewf/fern | 16c155ff1d0c8a096b43c2c19d1f478a334682e4 | [
"MIT"
] | 1 | 2018-07-19T03:54:17.000Z | 2018-07-19T03:54:17.000Z | fern/ast/kvpair.py | andrewf/fern | 16c155ff1d0c8a096b43c2c19d1f478a334682e4 | [
"MIT"
] | null | null | null | from node import Node
class KVPair(Node):
def __init__(self, key, value):
Node.__init__(self)
self.key = key
self.value = value
self.outofdate = True
def get_children(self):
return [self._key, self._value]
def setkey(self, k):
self.reparent(k)
self._k... | 28.72973 | 80 | 0.605833 | 132 | 1,063 | 4.712121 | 0.348485 | 0.067524 | 0.090032 | 0.054662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297272 | 1,063 | 36 | 81 | 29.527778 | 0.832664 | 0.018815 | 0 | 0.058824 | 0 | 0 | 0.073967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.029412 | 0.117647 | 0.558824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
12adb37508574e372da269fc1cffc47b9cb80aee | 525 | py | Python | nc/tests/test_prime_cache.py | OpenDataPolicingNC/Traffic-Stops | 74e0d16ad2ac32addca6f04d34c2ddf36d023990 | [
"MIT"
] | 25 | 2015-09-12T23:10:52.000Z | 2021-03-24T08:39:46.000Z | nc/tests/test_prime_cache.py | OpenDataPolicingNC/Traffic-Stops | 74e0d16ad2ac32addca6f04d34c2ddf36d023990 | [
"MIT"
] | 159 | 2015-07-01T03:57:23.000Z | 2021-04-17T21:09:19.000Z | nc/tests/test_prime_cache.py | copelco/NC-Traffic-Stops | 74e0d16ad2ac32addca6f04d34c2ddf36d023990 | [
"MIT"
] | 8 | 2015-10-02T16:56:40.000Z | 2020-10-18T01:16:29.000Z | from django.test import TestCase
from nc.prime_cache import run
from nc.tests import factories
class PrimeCacheTests(TestCase):
"""
This merely gives the cache priming code a chance to blow up if silly
changes are made. No results are verified.
"""
multi_db = True
def test_prime_cache(self):... | 26.25 | 73 | 0.697143 | 59 | 525 | 6.135593 | 0.644068 | 0.359116 | 0.38674 | 0.574586 | 0.359116 | 0.359116 | 0.359116 | 0.359116 | 0 | 0 | 0 | 0 | 0.23619 | 525 | 19 | 74 | 27.631579 | 0.902743 | 0.215238 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
12af9da12c94a5063450a10f066162807fa00a96 | 1,702 | py | Python | python_modules/dagster/dagster/core/run_coordinator/default_run_coordinator.py | basilvetas/dagster | b08f5534a0b0277dab38cb7b6a46d324e94b8940 | [
"Apache-2.0"
] | 2 | 2021-06-21T17:50:26.000Z | 2021-06-21T19:14:23.000Z | python_modules/dagster/dagster/core/run_coordinator/default_run_coordinator.py | basilvetas/dagster | b08f5534a0b0277dab38cb7b6a46d324e94b8940 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/core/run_coordinator/default_run_coordinator.py | basilvetas/dagster | b08f5534a0b0277dab38cb7b6a46d324e94b8940 | [
"Apache-2.0"
] | 1 | 2021-08-18T17:21:57.000Z | 2021-08-18T17:21:57.000Z | import weakref
from dagster import DagsterInstance, check
from dagster.core.host_representation import ExternalPipeline
from dagster.core.storage.pipeline_run import PipelineRun, PipelineRunStatus
from dagster.serdes import ConfigurableClass, ConfigurableClassData
from .base import RunCoordinator
class DefaultRunCo... | 32.730769 | 93 | 0.738543 | 199 | 1,702 | 6.040201 | 0.336683 | 0.0599 | 0.049917 | 0.026622 | 0.069884 | 0.069884 | 0.069884 | 0 | 0 | 0 | 0 | 0 | 0.185076 | 1,702 | 51 | 94 | 33.372549 | 0.866619 | 0.06228 | 0 | 0.176471 | 0 | 0 | 0.028931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0 | 0.176471 | 0.117647 | 0.617647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
12be6318e245cb6a14ccf2dbe9665a5f99f5185e | 280 | py | Python | spider/__init__.py | zhouqijun/a_simple_spider_frame | 424572cee9479fe3c54481928d1b780e1d800cde | [
"BSD-2-Clause"
] | 1 | 2017-11-23T05:20:10.000Z | 2017-11-23T05:20:10.000Z | spider/__init__.py | zhouqijun/a_simple_spider_frame | 424572cee9479fe3c54481928d1b780e1d800cde | [
"BSD-2-Clause"
] | null | null | null | spider/__init__.py | zhouqijun/a_simple_spider_frame | 424572cee9479fe3c54481928d1b780e1d800cde | [
"BSD-2-Clause"
] | null | null | null | # _*_ coding: utf-8 _*_
"""
define WebSpider, WebSpiderDist, and also define utilities and instances for web_spider
"""
__version__ = "spider-2.8.2"
from .utilities import *
from .instances import Fetcher, Parser, Saver
from .concurrent import TPEnum, WebSpider, WebSpiderDist
| 23.333333 | 87 | 0.760714 | 35 | 280 | 5.828571 | 0.628571 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.142857 | 280 | 11 | 88 | 25.454545 | 0.833333 | 0.392857 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
12e01cc5be4da569f1b2ec8cea6a710d8244d14c | 1,586 | py | Python | tests/transformation_tests/functions_tests/pitchfunctions_tests/test_general_pitch_function.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | 1 | 2021-05-06T19:45:54.000Z | 2021-05-06T19:45:54.000Z | tests/transformation_tests/functions_tests/pitchfunctions_tests/test_general_pitch_function.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | null | null | null | tests/transformation_tests/functions_tests/pitchfunctions_tests/test_general_pitch_function.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | null | null | null | import logging
import sys
import unittest
from tonalmodel.diatonic_pitch import DiatonicPitch
from transformation.functions.pitchfunctions.general_pitch_function import GeneralPitchFunction
class TestGeneralPitchFunction(unittest.TestCase):
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
def set... | 26.433333 | 95 | 0.587011 | 218 | 1,586 | 4.215596 | 0.224771 | 0.206746 | 0.261153 | 0.136017 | 0.584331 | 0.557127 | 0.550598 | 0.550598 | 0.550598 | 0.550598 | 0 | 0.033417 | 0.245271 | 1,586 | 59 | 96 | 26.881356 | 0.734336 | 0.009458 | 0 | 0.578947 | 0 | 0 | 0.090504 | 0 | 0 | 0 | 0 | 0 | 0.394737 | 1 | 0.105263 | false | 0.052632 | 0.131579 | 0 | 0.263158 | 0.078947 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
12e6be44a35dd67ccec0b2a93845234312841d91 | 15 | py | Python | slacks/__init__.py | hicdss/slacks | aba625799b471f031452ea6300d286c788533650 | [
"MIT"
] | null | null | null | slacks/__init__.py | hicdss/slacks | aba625799b471f031452ea6300d286c788533650 | [
"MIT"
] | 2 | 2019-07-08T12:54:55.000Z | 2019-07-08T14:45:10.000Z | slacks/__init__.py | hicdss/slacks | aba625799b471f031452ea6300d286c788533650 | [
"MIT"
] | null | null | null | name = "slacks" | 15 | 15 | 0.666667 | 2 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 15 | 1 | 15 | 15 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
12f340225b8822724d57e32fae1679f2457e45e9 | 170 | py | Python | Curso em Vídeo/Mundo 1 Fundamentos/Desafios/desafio014.py | henriqueumeda/-Estudo-python | 28e93a377afa4732037a29eb74d4bc7c9e24b62f | [
"MIT"
] | null | null | null | Curso em Vídeo/Mundo 1 Fundamentos/Desafios/desafio014.py | henriqueumeda/-Estudo-python | 28e93a377afa4732037a29eb74d4bc7c9e24b62f | [
"MIT"
] | null | null | null | Curso em Vídeo/Mundo 1 Fundamentos/Desafios/desafio014.py | henriqueumeda/-Estudo-python | 28e93a377afa4732037a29eb74d4bc7c9e24b62f | [
"MIT"
] | null | null | null | celsius = float(input("Informe a temperatura em ºC: "))
fahrenheit = (celsius * 9 / 5) + 32
print('A temperatura de {}ºC corresponde a {}ºF!'.format(celsius, fahrenheit)) | 56.666667 | 78 | 0.7 | 24 | 170 | 4.958333 | 0.708333 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.141176 | 170 | 3 | 78 | 56.666667 | 0.787671 | 0 | 0 | 0 | 0 | 0 | 0.409357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
12fe288ff695b778f4b61f1f69f5d43e908b9b91 | 221 | py | Python | EstruturaSequencial/3_ex_soma.py | Koalapvh13/python_exercises | 5dc12dfa886edaccc54727d1866438f20a83d4d0 | [
"MIT"
] | null | null | null | EstruturaSequencial/3_ex_soma.py | Koalapvh13/python_exercises | 5dc12dfa886edaccc54727d1866438f20a83d4d0 | [
"MIT"
] | null | null | null | EstruturaSequencial/3_ex_soma.py | Koalapvh13/python_exercises | 5dc12dfa886edaccc54727d1866438f20a83d4d0 | [
"MIT"
] | null | null | null | # Faça um Programa que peça dois números e imprima a soma.
n1 = int(input('Informe o primeiro número: '))
n2 = int(input('informe o segundo número: '))
print('A soma entre {} e {} é igual a {}.'.format(n1, n2, (n1+n2)))
| 36.833333 | 67 | 0.656109 | 38 | 221 | 3.815789 | 0.657895 | 0.068966 | 0.206897 | 0.22069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.176471 | 221 | 5 | 68 | 44.2 | 0.763736 | 0.253394 | 0 | 0 | 0 | 0 | 0.533742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
420621bfca8e931afc4ae7387c41dd4996981e84 | 272 | py | Python | pyvalidator/is_css_unit.py | theteladras/py.validator | 624ace7973552c8ac9353f48acbf96ec0ecc24a9 | [
"MIT"
] | 15 | 2021-11-01T14:14:56.000Z | 2022-03-17T11:52:29.000Z | pyvalidator/is_css_unit.py | theteladras/py.validator | 624ace7973552c8ac9353f48acbf96ec0ecc24a9 | [
"MIT"
] | 1 | 2022-03-16T13:39:16.000Z | 2022-03-17T09:16:00.000Z | pyvalidator/is_css_unit.py | theteladras/py.validator | 624ace7973552c8ac9353f48acbf96ec0ecc24a9 | [
"MIT"
] | null | null | null | from .utils.assert_string import assert_string
def is_css_unit(input: str) -> bool:
input = assert_string(input)
pattern = r"^((-?(\d*\.)?\d+)((px)|(em)|(%)|(ex)|(ch)|(rem)|(vw)|(vh)|(vmin)|(vmax)|(cm)|(mm)|(in)|(pt)|(pc))|0)$"
return input.match(pattern)
| 27.2 | 118 | 0.577206 | 41 | 272 | 3.707317 | 0.780488 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004184 | 0.121324 | 272 | 9 | 119 | 30.222222 | 0.631799 | 0 | 0 | 0 | 0 | 0.2 | 0.371324 | 0.371324 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
42162fea5ed0aa3e9f08fea8e99d1fd48e0a641a | 295 | py | Python | project/tcav_gpu_server/image_crawler.py | ymetz/local_interpretability | 3b230a425687137f36e3b148f883af961375a57d | [
"MIT"
] | null | null | null | project/tcav_gpu_server/image_crawler.py | ymetz/local_interpretability | 3b230a425687137f36e3b148f883af961375a57d | [
"MIT"
] | null | null | null | project/tcav_gpu_server/image_crawler.py | ymetz/local_interpretability | 3b230a425687137f36e3b148f883af961375a57d | [
"MIT"
] | null | null | null | import icrawler
import os
from icrawler.builtin import GoogleImageCrawler
def crawl_images(image_dir, concept_keyword, N=10):
google_crawler = GoogleImageCrawler(storage={'root_dir': os.path.join(image_dir, concept_keyword)})
google_crawler.crawl(keyword=concept_keyword, max_num=N)
| 26.818182 | 103 | 0.80339 | 40 | 295 | 5.675 | 0.575 | 0.185022 | 0.132159 | 0.193833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.105085 | 295 | 10 | 104 | 29.5 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0.027211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
421fe66b5755daf51c083fa400209ff76828e3cb | 4,011 | py | Python | analyzer/checks/metrics/privacy_missing_third_party.py | cqr-cryeye-forks/gdpr-scanner | 5d5bd517a97befa84b8294504f8e4aaf3eb7f5f8 | [
"MIT"
] | 18 | 2020-02-14T12:51:48.000Z | 2022-01-05T08:57:44.000Z | analyzer/checks/metrics/privacy_missing_third_party.py | cqr-cryeye-forks/gdpr-scanner | 5d5bd517a97befa84b8294504f8e4aaf3eb7f5f8 | [
"MIT"
] | null | null | null | analyzer/checks/metrics/privacy_missing_third_party.py | cqr-cryeye-forks/gdpr-scanner | 5d5bd517a97befa84b8294504f8e4aaf3eb7f5f8 | [
"MIT"
] | 2 | 2021-06-15T13:04:09.000Z | 2021-07-13T07:04:20.000Z | import logging
from abc import ABC, abstractmethod
from typing import List
from analyzer.checks import detectors
from analyzer.checks.check_result import CheckResult
from analyzer.checks.metrics import MetricCheck
from analyzer.checks.severity import Severity
logger = logging.getLogger(__name__)
class BasePrivacyMi... | 40.515152 | 117 | 0.735228 | 429 | 4,011 | 6.692308 | 0.312354 | 0.073145 | 0.05364 | 0.106235 | 0.269592 | 0.244514 | 0.108673 | 0.034134 | 0 | 0 | 0 | 0.00031 | 0.19621 | 4,011 | 99 | 118 | 40.515152 | 0.890199 | 0.146098 | 0 | 0.086957 | 0 | 0.014493 | 0.149927 | 0.05388 | 0 | 0 | 0 | 0.010101 | 0 | 1 | 0.057971 | false | 0.072464 | 0.101449 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4224de0279cb5b51485b7ea50b8e13d1dce6e68c | 412 | py | Python | projeto/fucoes.py | santosgv/Stock_Control | fb9da55bc2486f45d33529941818ae4816310fe8 | [
"MIT"
] | null | null | null | projeto/fucoes.py | santosgv/Stock_Control | fb9da55bc2486f45d33529941818ae4816310fe8 | [
"MIT"
] | null | null | null | projeto/fucoes.py | santosgv/Stock_Control | fb9da55bc2486f45d33529941818ae4816310fe8 | [
"MIT"
] | 1 | 2022-02-07T14:14:08.000Z | 2022-02-07T14:14:08.000Z | from .models import Banco, cursor
from .principal import *
class FuncionalidadeS(Banco):
def __init__(self):
pass
def adiciona(self):
volume=(int(self.entvr.get())*int(self.entq.get()))
Banco(self.entacao.get(),self.entvr.get(),self.entq.get(),100,volume,100,self.entpc.get()).insert()
... | 22.888889 | 107 | 0.628641 | 54 | 412 | 4.722222 | 0.481481 | 0.054902 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.206311 | 412 | 17 | 108 | 24.235294 | 0.761468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.083333 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
422a2318dafc557ee294aa87662dace83e45a4e8 | 783 | py | Python | app/migrations/0013_auto_20200604_0912.py | leesw98/reBOOT | 41eaf3ceb9ed21263482022668fbd8e44e90a0fa | [
"MIT"
] | 10 | 2017-10-17T04:35:44.000Z | 2021-03-19T21:12:15.000Z | app/migrations/0013_auto_20200604_0912.py | leesw98/reBOOT | 41eaf3ceb9ed21263482022668fbd8e44e90a0fa | [
"MIT"
] | 224 | 2017-10-18T18:33:48.000Z | 2022-02-02T03:33:04.000Z | app/migrations/0013_auto_20200604_0912.py | leesw98/reBOOT | 41eaf3ceb9ed21263482022668fbd8e44e90a0fa | [
"MIT"
] | 1 | 2018-08-02T03:10:25.000Z | 2018-08-02T03:10:25.000Z | # Generated by Django 2.2.10 on 2020-06-04 13:12
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app', '0012_remove_donation_status'),
]
operations = [
migrations.AlterModelOptions(
name='donor',
options={'default_permis... | 27 | 63 | 0.528736 | 64 | 783 | 6.375 | 0.5625 | 0.198529 | 0.227941 | 0.205882 | 0.526961 | 0.526961 | 0.526961 | 0.526961 | 0.401961 | 0.401961 | 0 | 0.037594 | 0.320562 | 783 | 28 | 64 | 27.964286 | 0.729323 | 0.058748 | 0 | 0.545455 | 1 | 0 | 0.247619 | 0.036735 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4235957e767ceb3dce212737770ff109c8b99f23 | 1,639 | py | Python | src/labster/infrastructure/repositories/sqla/profile_repository.py | abilian/labandco | 8acfefbebcbc86e67319fa92a7aa4d23ff8a183e | [
"Apache-2.0"
] | 2 | 2019-11-11T22:09:58.000Z | 2020-01-20T19:44:30.000Z | src/labster/infrastructure/repositories/sqla/profile_repository.py | abilian/labandco | 8acfefbebcbc86e67319fa92a7aa4d23ff8a183e | [
"Apache-2.0"
] | 15 | 2020-03-31T10:58:37.000Z | 2022-01-22T09:14:49.000Z | src/labster/infrastructure/repositories/sqla/profile_repository.py | abilian/labandco | 8acfefbebcbc86e67319fa92a7aa4d23ff8a183e | [
"Apache-2.0"
] | 2 | 2021-05-28T12:20:24.000Z | 2021-09-08T11:27:57.000Z | from __future__ import annotations
from typing import Set
from flask_sqlalchemy import SQLAlchemy
from injector import inject
from sqlalchemy.orm import Session
from sqlalchemy.orm.exc import NoResultFound
from labster.domain2.model.profile import Profile, ProfileId, ProfileRepository
from labster.infrastructure.rep... | 27.779661 | 79 | 0.671751 | 217 | 1,639 | 4.921659 | 0.262673 | 0.067416 | 0.070225 | 0.082397 | 0.132022 | 0.132022 | 0.132022 | 0.067416 | 0 | 0 | 0 | 0.001563 | 0.219036 | 1,639 | 58 | 80 | 28.258621 | 0.832813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292683 | false | 0 | 0.195122 | 0.170732 | 0.731707 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
423fd34e6ba13800cdcdcff3a9b83b0c7870ebe5 | 226 | py | Python | chainmodel/models/steem/ops/fill_vesting_withdraw.py | aaroncox/blockmodel | 14fa856a439ee3563ea4cad7b77db9bb998bdc7e | [
"MIT"
] | 1 | 2018-03-29T09:06:03.000Z | 2018-03-29T09:06:03.000Z | chainmodel/models/steem/ops/fill_vesting_withdraw.py | aaroncox/blockmodel | 14fa856a439ee3563ea4cad7b77db9bb998bdc7e | [
"MIT"
] | null | null | null | chainmodel/models/steem/ops/fill_vesting_withdraw.py | aaroncox/blockmodel | 14fa856a439ee3563ea4cad7b77db9bb998bdc7e | [
"MIT"
] | null | null | null | from chainmodel.models.steem.operation import Operation
class FillVestingWithdraw(Operation):
asset_fields = ['deposited', 'withdrawn']
tx_involves = ['from_account', 'to_account']
tx_originator = 'from_account'
| 28.25 | 55 | 0.752212 | 24 | 226 | 6.833333 | 0.708333 | 0.134146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137168 | 226 | 7 | 56 | 32.285714 | 0.841026 | 0 | 0 | 0 | 0 | 0 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4261a05f56441af659bba7074dedc12bd2f4637e | 26,899 | py | Python | tbptt/adaptive_truncation.py | aicherc/adaptive_tbptt | 1bab8664ff8bc1fc892b6e5cdbb40a7d015d8421 | [
"MIT"
] | 6 | 2019-05-20T20:53:29.000Z | 2021-07-03T07:13:41.000Z | tbptt/adaptive_truncation.py | aicherc/adaptive_tbptt | 1bab8664ff8bc1fc892b6e5cdbb40a7d015d8421 | [
"MIT"
] | null | null | null | tbptt/adaptive_truncation.py | aicherc/adaptive_tbptt | 1bab8664ff8bc1fc892b6e5cdbb40a7d015d8421 | [
"MIT"
] | null | null | null | """ Adaptive Truncation Helper """
import numpy as np
import pandas as pd
from scipy.special import logsumexp
import torch
import torch.nn as nn
#import torch.utils.data
import time
from tqdm import tqdm
from .tbptt import _detach_state
EPS = 1e-100
def calculate_gradient_norms(X, Y, init_state, rnn_module, loss_m... | 39.21137 | 100 | 0.605041 | 3,917 | 26,899 | 3.913965 | 0.076845 | 0.064706 | 0.038745 | 0.014611 | 0.782663 | 0.755463 | 0.713195 | 0.67295 | 0.650512 | 0.617768 | 0 | 0.01516 | 0.286405 | 26,899 | 685 | 101 | 39.268613 | 0.783537 | 0.23644 | 0 | 0.577726 | 0 | 0 | 0.038681 | 0.007696 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025522 | false | 0 | 0.018561 | 0 | 0.074246 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
427d3453833a082ee4fb18af20978f8a0533d23a | 61 | py | Python | pystratis/api/federation/__init__.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 8 | 2021-06-30T20:44:22.000Z | 2021-12-07T14:42:22.000Z | pystratis/api/federation/__init__.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 2 | 2021-07-01T11:50:18.000Z | 2022-01-25T18:39:49.000Z | pystratis/api/federation/__init__.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 4 | 2021-07-01T04:36:42.000Z | 2021-09-17T10:54:19.000Z | from .federation import Federation
__all__ = ['Federation']
| 15.25 | 34 | 0.770492 | 6 | 61 | 7.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 3 | 35 | 20.333333 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
427ea5b2791c03ebc0c407c7676b63700f9badcb | 1,626 | py | Python | ztools/ztools/ds/tstack.py | zoumingzhe/ztools | 1f4d1c17f418486fcdd36e648015b7909210745a | [
"MIT"
] | 3 | 2019-05-02T07:08:15.000Z | 2021-03-10T04:55:03.000Z | ztools/ztools/ds/tstack.py | zoumingzhe/ztools | 1f4d1c17f418486fcdd36e648015b7909210745a | [
"MIT"
] | null | null | null | ztools/ztools/ds/tstack.py | zoumingzhe/ztools | 1f4d1c17f418486fcdd36e648015b7909210745a | [
"MIT"
] | 1 | 2019-05-13T07:26:33.000Z | 2019-05-13T07:26:33.000Z | #!/usr/bin/env python3
# coding=utf-8
# ----------------------------------------------------------------------------------------------------
# 类 tstack
# ----------------------------------------------------------------------------------------------------
# 变更履历:
# 2020-04-17 | Zou Mingzhe | Ver0.1 | 初始版本
# ---------... | 36.133333 | 102 | 0.235547 | 84 | 1,626 | 4.452381 | 0.630952 | 0.064171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011547 | 0.201107 | 1,626 | 44 | 103 | 36.954545 | 0.276366 | 0.693112 | 0 | 0 | 0 | 0 | 0.008021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
42809e39b9e32ff512d1a0ab611aa92407ed6efc | 184 | py | Python | six/c4.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | six/c4.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | six/c4.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | # snippet 片段
# if mycode:
# pass
# else:
# pass 空语句 占位语句
# a = True
# if a:
# print('hello')
# else:
# print('world')
# if True:
# pass
# if False:
# pass
| 9.2 | 20 | 0.483696 | 24 | 184 | 3.708333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358696 | 184 | 19 | 21 | 9.684211 | 0.754237 | 0.815217 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42824f0f2a48ad23528baa87e864111b05636768 | 571 | py | Python | dynamic_programming/best_time_to_buy_and_sell_stock2.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | dynamic_programming/best_time_to_buy_and_sell_stock2.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | dynamic_programming/best_time_to_buy_and_sell_stock2.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | def max_profit(prices):
max_p = 0
i = 0
while i < len(prices) - 1:
while i < len(prices) - 1 and prices[i] >= prices[i + 1]:
i += 1
valley = prices[i]
while i < len(prices) - 1 and prices[i] <= prices[i + 1]:
i += 1
peak = prices[i]
max_p +... | 21.148148 | 65 | 0.509632 | 100 | 571 | 2.81 | 0.23 | 0.224199 | 0.298932 | 0.160142 | 0.434164 | 0.377224 | 0.256228 | 0.256228 | 0.256228 | 0.256228 | 0 | 0.09068 | 0.304729 | 571 | 26 | 66 | 21.961538 | 0.617128 | 0.019264 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.111111 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42890ebcb1d9501551387dd8dd30cbf96cd2739e | 249 | py | Python | only_serializers/admin.py | arabindamahato/DjangoREST_API_DRF | 5292f47c4f29e64de4b5c15dc254a892b2661639 | [
"MIT"
] | null | null | null | only_serializers/admin.py | arabindamahato/DjangoREST_API_DRF | 5292f47c4f29e64de4b5c15dc254a892b2661639 | [
"MIT"
] | 4 | 2021-03-19T01:51:07.000Z | 2021-09-22T18:52:10.000Z | only_serializers/admin.py | arabindamahato/DjangoREST_API_DRF | 5292f47c4f29e64de4b5c15dc254a892b2661639 | [
"MIT"
] | null | null | null | from django.contrib import admin
from only_serializers.models import Employee
# Register your models here.
class EmployeeAdmin(admin.ModelAdmin):
list_display = ['id','eno', 'ename', 'esal', 'eaddr']
admin.site.register(Employee, EmployeeAdmin)
| 24.9 | 54 | 0.771084 | 31 | 249 | 6.129032 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 249 | 9 | 55 | 27.666667 | 0.855856 | 0.104418 | 0 | 0 | 0 | 0 | 0.085973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
429e16e11c366c6425d783c3052df7ef5075eaa5 | 154 | py | Python | Backend/Testing/rpyc/ABexample/B.py | dcordb/DSpotify | dfb7ce4bac3a97254b943e0bcf8027f3e49a3d6f | [
"MIT"
] | 1 | 2020-01-11T05:28:22.000Z | 2020-01-11T05:28:22.000Z | Backend/Testing/rpyc/ABexample/B.py | dcordb/DSpotify | dfb7ce4bac3a97254b943e0bcf8027f3e49a3d6f | [
"MIT"
] | null | null | null | Backend/Testing/rpyc/ABexample/B.py | dcordb/DSpotify | dfb7ce4bac3a97254b943e0bcf8027f3e49a3d6f | [
"MIT"
] | null | null | null | from Backend.Testing.rpyc.ABexample.Node import NodeService
import rpyc
serverB = rpyc.ThreadedServer(NodeService("node B"), port = 5556)
serverB.start() | 30.8 | 65 | 0.798701 | 20 | 154 | 6.15 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.090909 | 154 | 5 | 66 | 30.8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
42aebf6c27b4daaa978f7d69d1e6101d3e413c8c | 168 | py | Python | snapx/snapx/classes/__init__.py | ruth-ann/snap-python | fe98de7b5697b3d60eb3497893e24801ae1916f9 | [
"BSD-3-Clause"
] | 242 | 2015-01-01T08:40:28.000Z | 2022-03-18T05:22:09.000Z | snapx/snapx/classes/__init__.py | ruth-ann/snap-python | fe98de7b5697b3d60eb3497893e24801ae1916f9 | [
"BSD-3-Clause"
] | 99 | 2015-01-24T07:55:27.000Z | 2021-10-30T18:20:13.000Z | snapx/snapx/classes/__init__.py | ruth-ann/snap-python | fe98de7b5697b3d60eb3497893e24801ae1916f9 | [
"BSD-3-Clause"
] | 105 | 2015-03-03T06:45:17.000Z | 2022-02-24T15:52:40.000Z | from .attrdict import AttributeDict
from .graph import Graph
from .function import *
from .digraph import DiGraph
from .filters import *
from .graphviews import *
| 14 | 35 | 0.77381 | 21 | 168 | 6.190476 | 0.428571 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172619 | 168 | 11 | 36 | 15.272727 | 0.935252 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
42b05306fc617fa1f37cbb15628c0815f089d366 | 39,701 | py | Python | tests/test_eos_mix.py | tedhyu/thermo | 1966c7cba5a603984b49f22c97ff00a144d90812 | [
"MIT"
] | 1 | 2021-03-05T23:39:47.000Z | 2021-03-05T23:39:47.000Z | tests/test_eos_mix.py | tedhyu/thermo | 1966c7cba5a603984b49f22c97ff00a144d90812 | [
"MIT"
] | 1 | 2021-12-17T21:28:17.000Z | 2021-12-17T21:28:17.000Z | tests/test_eos_mix.py | tedhyu/thermo | 1966c7cba5a603984b49f22c97ff00a144d90812 | [
"MIT"
] | 1 | 2022-01-18T16:14:59.000Z | 2022-01-18T16:14:59.000Z | # -*- coding: utf-8 -*-
'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2016, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... | 51.626788 | 166 | 0.678396 | 6,418 | 39,701 | 4.048925 | 0.105329 | 0.080274 | 0.009928 | 0.024783 | 0.708959 | 0.70234 | 0.6719 | 0.664473 | 0.658547 | 0.652505 | 0 | 0.272524 | 0.164933 | 39,701 | 768 | 167 | 51.69401 | 0.511296 | 0.092517 | 0 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30101 | 1 | 0.052525 | false | 0 | 0.012121 | 0 | 0.082828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
35f86799e378bda9bd81cfec981e92d98024b02f | 312 | py | Python | tests/kyu_4_tests/test_roman_numerals_helper.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_4_tests/test_roman_numerals_helper.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_4_tests/test_roman_numerals_helper.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_4.roman_numerals_helper import RomanNumerals
class RomanNumeralsHelperTestCase(unittest.TestCase):
def test_equals(self):
self.assertEqual(RomanNumerals.to_roman(1000), 'M')
def test_equals_2(self):
self.assertEqual(RomanNumerals.from_roman('M'), 1000)
| 26 | 61 | 0.762821 | 38 | 312 | 6.052632 | 0.578947 | 0.06087 | 0.113043 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 0.141026 | 312 | 11 | 62 | 28.363636 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c44699fafb3390b41e2476de60a02ec8a23d71d9 | 454 | py | Python | home/migrations/0016_auto_20200913_0501.py | codejay411/Wheeling_and_dealing | 26b8133950094e7b65463c8418edd8f5cd1c544c | [
"MIT"
] | 1 | 2020-12-26T05:43:49.000Z | 2020-12-26T05:43:49.000Z | home/migrations/0016_auto_20200913_0501.py | codejay411/Wheeling_and_dealing | 26b8133950094e7b65463c8418edd8f5cd1c544c | [
"MIT"
] | null | null | null | home/migrations/0016_auto_20200913_0501.py | codejay411/Wheeling_and_dealing | 26b8133950094e7b65463c8418edd8f5cd1c544c | [
"MIT"
] | 2 | 2020-09-11T18:04:42.000Z | 2021-06-08T17:31:32.000Z | # Generated by Django 3.1.1 on 2020-09-12 23:31
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('home', '0015_auto_20200913_0500'),
]
operations = [
migrations.RemoveField(
model_name='post',
name='timestamp... | 20.636364 | 48 | 0.535242 | 42 | 454 | 5.666667 | 0.714286 | 0.176471 | 0.218487 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106164 | 0.356828 | 454 | 21 | 49 | 21.619048 | 0.708904 | 0.099119 | 0 | 0.4 | 1 | 0 | 0.145078 | 0.059585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c46064ec173ed9c3eb6a3fdd6521820342d34339 | 16,025 | py | Python | reaper-tools/scripts/cdn_detect.py | cqkenuo/Reaper | b359a11d3b7265dcfac0dd6db146d27cd1906839 | [
"Apache-2.0"
] | 42 | 2020-04-18T15:15:43.000Z | 2021-12-28T09:18:17.000Z | reaper-tools/scripts/cdn_detect.py | cqkenuo/Reaper | b359a11d3b7265dcfac0dd6db146d27cd1906839 | [
"Apache-2.0"
] | null | null | null | reaper-tools/scripts/cdn_detect.py | cqkenuo/Reaper | b359a11d3b7265dcfac0dd6db146d27cd1906839 | [
"Apache-2.0"
] | 6 | 2020-04-19T02:30:32.000Z | 2021-06-11T07:35:08.000Z | # -*- coding: UTF-8 -*-
import dns.resolver
import re
from urllib.parse import urlparse
from concurrent.futures import ThreadPoolExecutor, wait, ALL_COMPLETED
import IPy
from scripts.ipAPI import IPrun
# 通过查询pdns,然后排除国内外常见的cdn段,如果出现极有可能是真实ip
cdns = [
'223.99.255.0/24', '71.152.0.0/17', '219.153.73.0/24', '125.39... | 57.232143 | 120 | 0.537785 | 3,277 | 16,025 | 2.62069 | 0.150137 | 0.142874 | 0.023055 | 0.025151 | 0.067769 | 0.04844 | 0.007219 | 0.007219 | 0 | 0 | 0 | 0.437753 | 0.165928 | 16,025 | 279 | 121 | 57.437276 | 0.204773 | 0.012855 | 0 | 0.041825 | 0 | 0 | 0.61627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011407 | false | 0.003802 | 0.022814 | 0 | 0.045627 | 0.011407 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c47fe6a83cdb1644b9c0044238a1c91cc8e86469 | 1,484 | py | Python | src/c_api/c_api_test.py | bluesjjw/xlearn | 6da54dbef3edb6edaa3c0cd189704d72ef1b5e21 | [
"Apache-2.0"
] | 1 | 2021-01-06T08:27:27.000Z | 2021-01-06T08:27:27.000Z | src/c_api/c_api_test.py | bluesjjw/xlearn | 6da54dbef3edb6edaa3c0cd189704d72ef1b5e21 | [
"Apache-2.0"
] | null | null | null | src/c_api/c_api_test.py | bluesjjw/xlearn | 6da54dbef3edb6edaa3c0cd189704d72ef1b5e21 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
import unittest
import ctypes
from ctypes import cdll, c_bool, c_int, c_float
XLearnHandle = ctypes.c_void_p
def c_str(string):
return ctypes.c_char_p(string)
class TestCAPI(unittest.TestCase):
def test_all_c_api(self):
xl = XLearnHandle()
xl_handle = ctypes.byref(xl)
myLib = cdll.LoadLibrar... | 44.969697 | 85 | 0.741914 | 228 | 1,484 | 4.574561 | 0.289474 | 0.061361 | 0.268456 | 0.261745 | 0.490892 | 0.490892 | 0.490892 | 0.473634 | 0.473634 | 0.276127 | 0 | 0.016987 | 0.087601 | 1,484 | 33 | 86 | 44.969697 | 0.753323 | 0.00876 | 0 | 0 | 0 | 0 | 0.087075 | 0.017007 | 0 | 0 | 0 | 0 | 0.518519 | 1 | 0.074074 | false | 0 | 0.111111 | 0.037037 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
671654622a97ed7e3653cbcc62b02abe675b6f9c | 12,008 | py | Python | tests/test_function.py | bgoujaud/PEPit | 7352607069f5e90fb1919fc689ec5e9d745c3bac | [
"MIT"
] | 44 | 2021-11-18T16:41:20.000Z | 2022-02-14T09:59:13.000Z | tests/test_function.py | bgoujaud/PEPit | 7352607069f5e90fb1919fc689ec5e9d745c3bac | [
"MIT"
] | 2 | 2021-10-05T09:20:25.000Z | 2022-02-19T13:58:01.000Z | tests/test_function.py | bgoujaud/PEPit | 7352607069f5e90fb1919fc689ec5e9d745c3bac | [
"MIT"
] | 1 | 2022-02-08T12:03:29.000Z | 2022-02-08T12:03:29.000Z | import unittest
from PEPit.tools.dict_operations import prune_dict
from PEPit.point import Point
from PEPit.expression import Expression
from PEPit.function import Function
from PEPit.functions.convex_function import ConvexFunction
class TestFunction(unittest.TestCase):
def setUp(self):
self.func1 = F... | 41.694444 | 224 | 0.724684 | 1,539 | 12,008 | 5.348278 | 0.077323 | 0.039363 | 0.065606 | 0.058316 | 0.757624 | 0.739643 | 0.713765 | 0.667963 | 0.622525 | 0.582311 | 0 | 0.022092 | 0.18954 | 12,008 | 287 | 225 | 41.839721 | 0.823674 | 0.094604 | 0 | 0.508772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.573099 | 1 | 0.081871 | false | 0 | 0.035088 | 0 | 0.128655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
671e0e00866b04ad31a6cc042e6d6aa53c5c9fef | 1,564 | py | Python | model/user.py | vjohndo/casino | 749315eda707f15616a1a9bee6098fa28774cc68 | [
"MIT"
] | null | null | null | model/user.py | vjohndo/casino | 749315eda707f15616a1a9bee6098fa28774cc68 | [
"MIT"
] | null | null | null | model/user.py | vjohndo/casino | 749315eda707f15616a1a9bee6098fa28774cc68 | [
"MIT"
] | null | null | null | from model.database import sql_select, sql_write
from model.player import Player
from datetime import date
# Given an email, checks if a user exists
def user_exists_of_email(email):
fetched_items = sql_select("SELECT id FROM users WHERE email = %s", [email])
return bool(len(fetched_items))
# Given an email, r... | 50.451613 | 171 | 0.721867 | 254 | 1,564 | 4.255906 | 0.267717 | 0.192414 | 0.181314 | 0.047179 | 0.466235 | 0.466235 | 0.416281 | 0.377428 | 0.377428 | 0.377428 | 0 | 0.026395 | 0.152174 | 1,564 | 31 | 172 | 50.451613 | 0.788839 | 0.144501 | 0 | 0.105263 | 0 | 0.157895 | 0.282821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.210526 | 0.157895 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
672088747f67a88f6670ca45940dacf8fa86d3ce | 182 | py | Python | cmdline/lightroom.py | ZenosParadox/grtoolkit | 2e34f151a78f57864e39e572c221ca4b73e48bb7 | [
"MIT"
] | 3 | 2020-02-02T14:33:30.000Z | 2020-07-29T00:27:46.000Z | cmdline/lightroom.py | ZenosParadox/grtoolkit | 2e34f151a78f57864e39e572c221ca4b73e48bb7 | [
"MIT"
] | null | null | null | cmdline/lightroom.py | ZenosParadox/grtoolkit | 2e34f151a78f57864e39e572c221ca4b73e48bb7 | [
"MIT"
] | 2 | 2020-02-02T14:33:32.000Z | 2022-03-21T14:33:34.000Z | import time, pyautogui as pag
print("Proceed to select Lightroom")
time.sleep(3)
while True:
pag.hotkey("shift", 'a')
time.sleep(1)
pag.press('right')
time.sleep(2) | 18.2 | 36 | 0.659341 | 28 | 182 | 4.285714 | 0.75 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.186813 | 182 | 10 | 37 | 18.2 | 0.790541 | 0 | 0 | 0 | 0 | 0 | 0.20765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0.125 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67266034b2b33686fe29e63216fb45051f369917 | 117 | py | Python | backend/auth/__init__.py | anribras/ximalaya_crawler | f5be7e7cf7464b549495309ad415821947a0d0fe | [
"MIT"
] | null | null | null | backend/auth/__init__.py | anribras/ximalaya_crawler | f5be7e7cf7464b549495309ad415821947a0d0fe | [
"MIT"
] | null | null | null | backend/auth/__init__.py | anribras/ximalaya_crawler | f5be7e7cf7464b549495309ad415821947a0d0fe | [
"MIT"
] | null | null | null | from flask_jwt_extended import JWTManager
from flask_login import LoginManager
jwt = JWTManager()
lm = LoginManager() | 29.25 | 41 | 0.837607 | 15 | 117 | 6.333333 | 0.6 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 117 | 4 | 42 | 29.25 | 0.913462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
674285a2e63f53acc3ecaab53079125fc65aaff7 | 252 | py | Python | MCSH/__init__.py | RealAllenDa/MinecraftServerHelper | 888217070443c0cc04823ebe4a41c7f24ff785ec | [
"MIT"
] | null | null | null | MCSH/__init__.py | RealAllenDa/MinecraftServerHelper | 888217070443c0cc04823ebe4a41c7f24ff785ec | [
"MIT"
] | null | null | null | MCSH/__init__.py | RealAllenDa/MinecraftServerHelper | 888217070443c0cc04823ebe4a41c7f24ff785ec | [
"MIT"
] | null | null | null | """
***************************************
MCSH - A Minecraft Server Helper.
Coded by AllenDa 2020.
Licensed under MIT.
***************************************
Module Description:
The entrance for the package.
Module Revision: 0.0.1-16
"""
| 22.909091 | 40 | 0.47619 | 25 | 252 | 4.8 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042056 | 0.150794 | 252 | 10 | 41 | 25.2 | 0.518692 | 0.93254 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67604442d2311ce32685c5b0b5bc1bdf2dea2ecc | 5,105 | py | Python | python/pyrutok/api.py | alesapin/rutok | 808a88dd80f1cf03bbf459bec71b8655825b5391 | [
"MIT"
] | null | null | null | python/pyrutok/api.py | alesapin/rutok | 808a88dd80f1cf03bbf459bec71b8655825b5391 | [
"MIT"
] | 8 | 2019-08-17T11:50:37.000Z | 2019-08-17T20:28:31.000Z | python/pyrutok/api.py | alesapin/rutok | 808a88dd80f1cf03bbf459bec71b8655825b5391 | [
"MIT"
] | null | null | null | from rutokpy import TokenImpl, CommonInputStreamFromFD, SentenceImpl
from rutokpy import TokenHasherImpl
from rutokpy import CommonInputStreamFromString
from rutokpy import GraphemTag, SemanticTag, TokenType
from builtins import object
def _to_tag_set(tag):
if isinstance(tag, GraphemTag):
return [t for t i... | 27.446237 | 83 | 0.677179 | 674 | 5,105 | 4.704748 | 0.148368 | 0.102176 | 0.102491 | 0.095869 | 0.417849 | 0.352886 | 0.135604 | 0.077578 | 0.046673 | 0.046673 | 0 | 0.001017 | 0.229187 | 5,105 | 185 | 84 | 27.594595 | 0.804828 | 0 | 0 | 0.143939 | 0 | 0 | 0.007835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.037879 | 0.318182 | 0.772727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6761ac8f0255079b13691d1d0828a9ae2f0a0722 | 2,374 | py | Python | test_scripts/test_file_list_order.py | entailor/pytailor | dfd15a0b2a6c1fea6432721ef3b2bc6fb5aad583 | [
"BSD-3-Clause"
] | 9 | 2020-09-20T07:26:19.000Z | 2022-02-28T09:12:30.000Z | test_scripts/test_file_list_order.py | entailor/pytailor | dfd15a0b2a6c1fea6432721ef3b2bc6fb5aad583 | [
"BSD-3-Clause"
] | 2 | 2020-10-03T07:53:23.000Z | 2020-10-12T11:40:24.000Z | test_scripts/test_file_list_order.py | entailor/pytailor | dfd15a0b2a6c1fea6432721ef3b2bc6fb5aad583 | [
"BSD-3-Clause"
] | null | null | null | """
Create a branch based on a list in inputs. Assert that files produced in the branches
are retrieved with same order as the input list.
"""
from pytailor import PythonTask, BranchTask, DAG, Workflow, Project
with DAG(name="DAG") as dag:
with BranchTask(
name="MAKE_FILES", branch_data="<% $.inputs.b... | 34.405797 | 85 | 0.538332 | 278 | 2,374 | 4.341727 | 0.302158 | 0.21541 | 0.301574 | 0.310688 | 0.437448 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046203 | 0.334457 | 2,374 | 68 | 86 | 34.911765 | 0.717722 | 0.077506 | 0 | 0 | 0 | 0 | 0.413951 | 0.328132 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.019231 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67686a528367ab8ad728bcd10c50465bcad307aa | 71 | py | Python | password_session/__init__.py | bigmlcom/django-password-session | 8fa8aea0cd04af97058fe53ee301c1caf2f78d6b | [
"MIT"
] | null | null | null | password_session/__init__.py | bigmlcom/django-password-session | 8fa8aea0cd04af97058fe53ee301c1caf2f78d6b | [
"MIT"
] | null | null | null | password_session/__init__.py | bigmlcom/django-password-session | 8fa8aea0cd04af97058fe53ee301c1caf2f78d6b | [
"MIT"
] | null | null | null | VERSION = '0.3.3.dev1'
from .handlers import update_session_auth_hash
| 17.75 | 46 | 0.788732 | 12 | 71 | 4.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.112676 | 71 | 3 | 47 | 23.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6776a06e424866a95d12c3a68ac1618b91e5b4ab | 404 | py | Python | dvc/repo/freeze.py | vladkol/dvc | f4349aa09b839687fbb24913ee222b815f875567 | [
"Apache-2.0"
] | 1 | 2021-04-05T19:16:36.000Z | 2021-04-05T19:16:36.000Z | dvc/repo/freeze.py | vladkol/dvc | f4349aa09b839687fbb24913ee222b815f875567 | [
"Apache-2.0"
] | null | null | null | dvc/repo/freeze.py | vladkol/dvc | f4349aa09b839687fbb24913ee222b815f875567 | [
"Apache-2.0"
] | null | null | null | from . import locked
@locked
def _set(repo, target, frozen):
from dvc.utils import parse_target
path, name = parse_target(target)
stage = repo.get_stage(path, name)
stage.frozen = frozen
stage.dvcfile.dump(stage, update_lock=False)
return stage
def freeze(repo, target):
return _set(rep... | 18.363636 | 48 | 0.695545 | 56 | 404 | 4.892857 | 0.428571 | 0.182482 | 0.142336 | 0.138686 | 0.211679 | 0.211679 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20297 | 404 | 21 | 49 | 19.238095 | 0.850932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
677aa1839ea554df3a9a8f6b118fb60a037f1437 | 933 | py | Python | apps/accounts/api/v1/serializers/register.py | jimialex/django-wise-template-mysql | 78b7281ba5cdd1e89a165b217e1b200fdba0135b | [
"MIT"
] | 2 | 2020-06-06T23:10:27.000Z | 2020-10-06T19:12:26.000Z | apps/accounts/api/v1/serializers/register.py | jimialex/django-wise-template-mysql | 78b7281ba5cdd1e89a165b217e1b200fdba0135b | [
"MIT"
] | 3 | 2021-04-08T20:44:38.000Z | 2021-09-22T19:04:16.000Z | apps/accounts/api/v1/serializers/register.py | jimialex/django-wise-template-mysql | 78b7281ba5cdd1e89a165b217e1b200fdba0135b | [
"MIT"
] | 1 | 2020-10-10T14:07:37.000Z | 2020-10-10T14:07:37.000Z | # -*- coding: utf-8 -*-
from django.conf import settings
from rest_framework import serializers
from rest_framework.exceptions import ValidationError
from apps.accounts import response_codes
from apps.accounts.api.v1.serializers.email import EmailSerializer
from apps.accounts.models import User
class RegisterSeria... | 34.555556 | 76 | 0.757771 | 107 | 933 | 6.485981 | 0.523364 | 0.115274 | 0.069164 | 0.142651 | 0.106628 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002574 | 0.167203 | 933 | 26 | 77 | 35.884615 | 0.890605 | 0.078242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.058824 | 0.352941 | 0 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
677f6a01e9a336f7b322496e1121155f0328f4e9 | 407 | py | Python | ngshare/database/__init__.py | yumoL/ngshare | c15a52b377144a60751e6a3b6614b9feb651d4f9 | [
"BSD-3-Clause"
] | 6 | 2020-06-12T18:49:49.000Z | 2021-05-06T08:41:30.000Z | ngshare/database/__init__.py | yumoL/ngshare | c15a52b377144a60751e6a3b6614b9feb651d4f9 | [
"BSD-3-Clause"
] | 86 | 2020-02-22T08:51:27.000Z | 2020-06-05T21:43:14.000Z | ngshare/database/__init__.py | yumoL/ngshare | c15a52b377144a60751e6a3b6614b9feb651d4f9 | [
"BSD-3-Clause"
] | 10 | 2020-06-18T10:58:29.000Z | 2022-01-03T13:24:44.000Z | from .database import (
Base,
User,
Course,
Assignment,
Submission,
File,
InstructorAssociation,
StudentAssociation,
)
from .test_database import clear_db, init_db, dump_db
__all__ = [
'Base',
'User',
'Course',
'Assignment',
'Submission',
'File',
'InstructorA... | 15.653846 | 53 | 0.604423 | 36 | 407 | 6.527778 | 0.472222 | 0.119149 | 0.119149 | 0.204255 | 0.817021 | 0.817021 | 0.655319 | 0.655319 | 0 | 0 | 0 | 0 | 0.272727 | 407 | 25 | 54 | 16.28 | 0.793919 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 0.051597 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6785e7d1f57dd9257ea7163c67c8f2458b7cd8c0 | 750 | py | Python | Stacks_and_Queues/1Three_in_One.py | RoKu1/cracking-the-coding-interview | ce2fabba75f1edf69b81a80022eb9ebac8a09af2 | [
"Apache-2.0"
] | null | null | null | Stacks_and_Queues/1Three_in_One.py | RoKu1/cracking-the-coding-interview | ce2fabba75f1edf69b81a80022eb9ebac8a09af2 | [
"Apache-2.0"
] | null | null | null | Stacks_and_Queues/1Three_in_One.py | RoKu1/cracking-the-coding-interview | ce2fabba75f1edf69b81a80022eb9ebac8a09af2 | [
"Apache-2.0"
] | null | null | null | """
3.1 Three in One: Describe how you could use a single array to implement three stacks.
"""
"""
We can allocate 1/3rd of array to the each stack and operate it normally --> but one of therm may overflow without
using full potentil of array --:
In this case we have to design the structure such that it shifts the ele... | 25 | 117 | 0.66 | 123 | 750 | 3.98374 | 0.593496 | 0.065306 | 0.044898 | 0.073469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.24 | 750 | 29 | 118 | 25.862069 | 0.850877 | 0.114667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6786ee98d3abb4b0d4965ad8f949ee0829121e74 | 306 | py | Python | Ex05.py | Kevinwmiguel/PythonExercises | e976b274d8f17f427b2bcf0c2a614c0043478ea5 | [
"MIT"
] | null | null | null | Ex05.py | Kevinwmiguel/PythonExercises | e976b274d8f17f427b2bcf0c2a614c0043478ea5 | [
"MIT"
] | null | null | null | Ex05.py | Kevinwmiguel/PythonExercises | e976b274d8f17f427b2bcf0c2a614c0043478ea5 | [
"MIT"
] | null | null | null | """
Ex 05 - Make a program that reads an integer and shows on the screen its successor and predecessor
"""
print('successor and predecessor')
print('-' * 30)
n = int(input('Enter a number: '))
s = n + 1
p = n - 1
print(f'Your seccessor is: {s}')
print(f'Your predecessor is: {p}')
input('Enter to exit')
| 21.857143 | 98 | 0.663399 | 52 | 306 | 3.903846 | 0.634615 | 0.118227 | 0.226601 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.183007 | 306 | 13 | 99 | 23.538462 | 0.788 | 0.320261 | 0 | 0 | 0 | 0 | 0.505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
678ac2854972f38607dfd30cbd367982cc3493ad | 36 | py | Python | Perfect_game_player/pgameplayer/solvers/__init__.py | lquispel/Chain-Reaction-Simulator | d826b3453d1a634186ab345e342e6fa7b44a2154 | [
"MIT"
] | null | null | null | Perfect_game_player/pgameplayer/solvers/__init__.py | lquispel/Chain-Reaction-Simulator | d826b3453d1a634186ab345e342e6fa7b44a2154 | [
"MIT"
] | null | null | null | Perfect_game_player/pgameplayer/solvers/__init__.py | lquispel/Chain-Reaction-Simulator | d826b3453d1a634186ab345e342e6fa7b44a2154 | [
"MIT"
] | null | null | null | __all__ = ['connect4', 'tictactoe']
| 18 | 35 | 0.666667 | 3 | 36 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67cc4aced639a78b583c0ce7a6b3a4a81280ce68 | 172 | py | Python | Python/Programming Fundamentals/Dictionaries/02.Bakery.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | Python/Programming Fundamentals/Dictionaries/02.Bakery.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | Python/Programming Fundamentals/Dictionaries/02.Bakery.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | data = input()
elements = data.split(' ')
products = {
elements[index]: int(elements[index + 1])
for index in range(0, len(elements), 2)
}
print(products) | 19.111111 | 46 | 0.610465 | 22 | 172 | 4.772727 | 0.681818 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.226744 | 172 | 9 | 47 | 19.111111 | 0.766917 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67f1748b9aa93bf09f49ffc95a65c70ac232d691 | 233 | py | Python | CSCE/12.8.20/textReader.py | bgrose/TeachingPython | 206cefe9056fc2e6efb35749aee3fefa6ec747fd | [
"Apache-2.0"
] | 1 | 2020-06-14T01:44:44.000Z | 2020-06-14T01:44:44.000Z | CSCE/12.8.20/textReader.py | bgrose/TeachingPython | 206cefe9056fc2e6efb35749aee3fefa6ec747fd | [
"Apache-2.0"
] | null | null | null | CSCE/12.8.20/textReader.py | bgrose/TeachingPython | 206cefe9056fc2e6efb35749aee3fefa6ec747fd | [
"Apache-2.0"
] | null | null | null | import os
if os.path.isfile("file.txt"):
file = open("file.txt", 'r+')
line = file.read()
print(line)
file.write("\nHello, Midterm!")
line = file.read()
print(line)
file.close()
else:
print("No File") | 19.416667 | 35 | 0.570815 | 33 | 233 | 4.030303 | 0.545455 | 0.240602 | 0.180451 | 0.255639 | 0.37594 | 0.37594 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23176 | 233 | 12 | 36 | 19.416667 | 0.743017 | 0 | 0 | 0.363636 | 0 | 0 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67fb54b6027b593d2ec049fee73860f107410c6a | 44 | py | Python | Server/__init__.py | Youggls/electron-chat-room-server | ed3aa6f6fbee55ccf6ae269efd4c09a35a12351f | [
"MIT"
] | 2 | 2021-12-04T04:24:33.000Z | 2021-12-04T07:09:25.000Z | Server/__init__.py | Youggls/electron-chat-room-server | ed3aa6f6fbee55ccf6ae269efd4c09a35a12351f | [
"MIT"
] | null | null | null | Server/__init__.py | Youggls/electron-chat-room-server | ed3aa6f6fbee55ccf6ae269efd4c09a35a12351f | [
"MIT"
] | null | null | null | __init__ = ['__init__.py', 'ChatServer.py']
| 22 | 43 | 0.681818 | 5 | 44 | 4.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67ff71c4859dc235046d7ad0911e57386d864d48 | 52 | py | Python | tradukoj/__init__.py | jsancho-gpl/django-tradukoj | bf8c563436411035f00d99a822be8259a9783692 | [
"BSD-3-Clause"
] | 7 | 2019-06-05T11:05:05.000Z | 2022-02-23T20:35:28.000Z | tradukoj/__init__.py | jsancho-gpl/django-tradukoj | bf8c563436411035f00d99a822be8259a9783692 | [
"BSD-3-Clause"
] | null | null | null | tradukoj/__init__.py | jsancho-gpl/django-tradukoj | bf8c563436411035f00d99a822be8259a9783692 | [
"BSD-3-Clause"
] | 2 | 2020-03-04T11:40:56.000Z | 2020-04-17T18:23:06.000Z | default_app_config = 'tradukoj.apps.TradukojConfig'
| 26 | 51 | 0.846154 | 6 | 52 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db00566a425886eafd99905e8361c8ef07dc87de | 466 | py | Python | sympy/functions/special/tests/test_delta_functions.py | gnulinooks/sympy | 46f63841f96cd025289b91ba9db3e261138d720a | [
"BSD-3-Clause"
] | 1 | 2016-05-09T10:08:18.000Z | 2016-05-09T10:08:18.000Z | sympy/functions/special/tests/test_delta_functions.py | gnulinooks/sympy | 46f63841f96cd025289b91ba9db3e261138d720a | [
"BSD-3-Clause"
] | null | null | null | sympy/functions/special/tests/test_delta_functions.py | gnulinooks/sympy | 46f63841f96cd025289b91ba9db3e261138d720a | [
"BSD-3-Clause"
] | null | null | null | from sympy import symbols, DiracDelta, Heaviside, nan, oo, Real, sqrt, pi
x = symbols('x')
def test_DiracDelta():
assert DiracDelta(1) == 0
assert DiracDelta(5.1) == 0
assert DiracDelta(-pi) == 0
assert DiracDelta(5,7) == 0
assert DiracDelta(0) == oo
assert DiracDelta(0,5) == oo
assert isin... | 27.411765 | 73 | 0.650215 | 65 | 466 | 4.630769 | 0.307692 | 0.318937 | 0.225914 | 0.119601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05163 | 0.2103 | 466 | 16 | 74 | 29.125 | 0.766304 | 0 | 0 | 0 | 0 | 0 | 0.002146 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db242d1d07b2d4c4cddc921e10b2fd4bae9aa3f5 | 590 | py | Python | aws_kms_policies/aws_cmk_key_rotation.py | panther-labs/panther-cli | 4e5c0a21570e1a02dada990fd91e324416afac96 | [
"MIT"
] | 4 | 2019-10-17T19:33:29.000Z | 2019-10-21T15:23:30.000Z | aws_kms_policies/aws_cmk_key_rotation.py | jacknagz/panther-analysis | fceab78ba5624136776596ee1b25fa0dc8a02a42 | [
"Apache-2.0"
] | null | null | null | aws_kms_policies/aws_cmk_key_rotation.py | jacknagz/panther-analysis | fceab78ba5624136776596ee1b25fa0dc8a02a42 | [
"Apache-2.0"
] | null | null | null | def policy(resource):
# per AWS Docs automatic rotation is only supported on managed symmetric keys
# These are of Origin AWS_KMS
if resource.get("Origin") != "AWS_KMS":
return True
return ( # Ignore AWS managed keys
resource.get("KeyManager") != "CUSTOMER" # Check that the KeyRotation... | 39.333333 | 97 | 0.679661 | 75 | 590 | 5.32 | 0.64 | 0.137845 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222034 | 590 | 14 | 98 | 42.142857 | 0.869281 | 0.354237 | 0 | 0 | 0 | 0 | 0.336 | 0.072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e1d6545bbcd1ee13f0cc42be63dc2d3dc01492cb | 2,430 | py | Python | libs/units/named_composed_unit.py | mscansian/drpexe-uploader | de17baf9085155a046b8e5f68b0b3191a2ce1847 | [
"MIT"
] | null | null | null | libs/units/named_composed_unit.py | mscansian/drpexe-uploader | de17baf9085155a046b8e5f68b0b3191a2ce1847 | [
"MIT"
] | null | null | null | libs/units/named_composed_unit.py | mscansian/drpexe-uploader | de17baf9085155a046b8e5f68b0b3191a2ce1847 | [
"MIT"
] | null | null | null | """Assign arbitrary new symbols to composed units."""
from units.abstract import AbstractUnit
from units.composed_unit import ComposedUnit
from units.registry import REGISTRY
class NamedComposedUnit(AbstractUnit):
"""A NamedComposedUnit is a composed unit with its own symbol."""
def get_name(self):
"... | 30 | 73 | 0.600412 | 266 | 2,430 | 5.157895 | 0.263158 | 0.209913 | 0.116618 | 0.09621 | 0.30102 | 0.271866 | 0.158163 | 0.158163 | 0.158163 | 0 | 0 | 0.00355 | 0.304527 | 2,430 | 80 | 74 | 30.375 | 0.808284 | 0.173663 | 0 | 0 | 0 | 0 | 0.010682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27451 | false | 0 | 0.058824 | 0.137255 | 0.686275 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
e1de0569246c2e9d5c131b409260d42011d3445f | 583 | py | Python | apps/home/dataManagement/gastos/manage.py | jjsanchezc/CONPY | c7a92f5bbf214813bc7f79baff803657fb40f3a2 | [
"MIT"
] | 1 | 2022-02-19T17:21:57.000Z | 2022-02-19T17:21:57.000Z | apps/home/dataManagement/gastos/manage.py | jjsanchezc/CONPY | c7a92f5bbf214813bc7f79baff803657fb40f3a2 | [
"MIT"
] | null | null | null | apps/home/dataManagement/gastos/manage.py | jjsanchezc/CONPY | c7a92f5bbf214813bc7f79baff803657fb40f3a2 | [
"MIT"
] | null | null | null | ##este metodo va a ser practicamente lo mismo que el mamange de ingresos
def add_gastos(destino,descr,cant):
"""metodo para registrar los gastos
este metodo creo que se va a usar para poder agregar los gastos a la base de datos
Args:
destino (str): datos de la persona o empresa que recibe el dinero... | 38.866667 | 86 | 0.650086 | 81 | 583 | 4.666667 | 0.641975 | 0.05291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22813 | 583 | 14 | 87 | 41.642857 | 0.84 | 0.653516 | 0 | 0 | 0 | 0 | 0.541176 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e1f1c649d22eb006489b96335a6e962dc46bf428 | 91 | py | Python | test/mitmproxy/scripts/a_helper.py | dolfly/mitmproxy | 4604c25c6055a37e5f25a238d2a089759bd5d98a | [
"MIT"
] | 1 | 2019-08-20T11:54:06.000Z | 2019-08-20T11:54:06.000Z | test/mitmproxy/data/scripts/a_helper.py | yatere/mitmproxy | 5c0161886ae03dcd3b4cfc726c7a53408cdb5d71 | [
"MIT"
] | null | null | null | test/mitmproxy/data/scripts/a_helper.py | yatere/mitmproxy | 5c0161886ae03dcd3b4cfc726c7a53408cdb5d71 | [
"MIT"
] | null | null | null | import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--var', type=int)
| 18.2 | 38 | 0.769231 | 11 | 91 | 6.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 4 | 39 | 22.75 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c002ec2ab169aef3283909b105cf96d0e5fc5a27 | 136 | py | Python | vision-core/src/bsmu/vision/core/constants.py | IvanKosik/vision | 74603d4b727e6d993b562eb4656952e29173323e | [
"BSD-3-Clause"
] | 2 | 2019-10-15T11:34:17.000Z | 2021-02-03T10:46:07.000Z | vision-core/src/bsmu/vision/core/constants.py | IvanKosik/vision | 74603d4b727e6d993b562eb4656952e29173323e | [
"BSD-3-Clause"
] | null | null | null | vision-core/src/bsmu/vision/core/constants.py | IvanKosik/vision | 74603d4b727e6d993b562eb4656952e29173323e | [
"BSD-3-Clause"
] | null | null | null | from enum import IntEnum
class PlaneAxis(IntEnum):
X = 0 # Sagittal (red)
Y = 1 # Coronal (blue)
Z = 2 # Axial (green)
| 17 | 27 | 0.588235 | 19 | 136 | 4.210526 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.301471 | 136 | 7 | 28 | 19.428571 | 0.810526 | 0.316176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c01b1c5b64fdd984544c9e37a7400fbe6422e143 | 591 | py | Python | lab08/tests/q2_1_2.py | ucsb-ds/ds1-f20-content | 25f62c7a597b98da436ca39631761c1f3feccfdd | [
"MIT"
] | 2 | 2020-10-14T12:43:18.000Z | 2021-01-06T18:06:16.000Z | lab08/tests/q2_1_2.py | ucsb-ds/ds1-f20-content | 25f62c7a597b98da436ca39631761c1f3feccfdd | [
"MIT"
] | 2 | 2020-10-13T05:21:15.000Z | 2020-12-11T18:03:54.000Z | lab08/tests/q2_1_2.py | ucsb-ds/ds1-f20-content | 25f62c7a597b98da436ca39631761c1f3feccfdd | [
"MIT"
] | 3 | 2021-01-05T05:30:01.000Z | 2021-03-16T22:09:08.000Z | test = { 'name': 'q2_1_2',
'points': 1,
'suites': [ { 'cases': [ {'code': '>>> majority(kclosest)\n0', 'hidden': False, 'locked': False},
{'code': ">>> majority(kclosest.where('Class', are.equal_to(1)))\n1", 'hidden': False, 'locked': False},
... | 59.1 | 142 | 0.411168 | 51 | 591 | 4.705882 | 0.588235 | 0.15 | 0.25 | 0.275 | 0.5 | 0.391667 | 0.391667 | 0.391667 | 0 | 0 | 0 | 0.026738 | 0.367174 | 591 | 9 | 143 | 65.666667 | 0.614973 | 0 | 0 | 0 | 0 | 0 | 0.416244 | 0.1489 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c01e5a31e99d2e88c8cfae63655a4d2b5bbbb948 | 180 | py | Python | maya/app/renderSetup/views/initialize.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/app/renderSetup/views/initialize.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/app/renderSetup/views/initialize.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | from maya.app.renderSetup.views.renderSetupPreferences import addRenderSetupPreferences
def initialize(mplugin):
pass
def uninitialize(mplugin):
pass
commands = []
| 12 | 87 | 0.766667 | 17 | 180 | 8.117647 | 0.823529 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161111 | 180 | 14 | 88 | 12.857143 | 0.913907 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c02345ff6ad4e5039ae8241bb36d8f6da4ab6dcc | 33 | py | Python | rabbit_dump/__init__.py | Yemsheng/rabbit_dump | ca63ca9b02469351732a7be1a1482ba71bf325d7 | [
"Apache-2.0"
] | null | null | null | rabbit_dump/__init__.py | Yemsheng/rabbit_dump | ca63ca9b02469351732a7be1a1482ba71bf325d7 | [
"Apache-2.0"
] | null | null | null | rabbit_dump/__init__.py | Yemsheng/rabbit_dump | ca63ca9b02469351732a7be1a1482ba71bf325d7 | [
"Apache-2.0"
] | null | null | null | #encoding=utf-8
VERSION = "0.0.1" | 16.5 | 17 | 0.666667 | 7 | 33 | 3.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.090909 | 33 | 2 | 17 | 16.5 | 0.6 | 0.424242 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c024601c32ba595f1010c0693a4d29a0e42eb18e | 190 | py | Python | core/src/zeit/cms/browser/tests/test_jslint.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 5 | 2019-05-16T09:51:29.000Z | 2021-05-31T09:30:03.000Z | core/src/zeit/cms/browser/tests/test_jslint.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 107 | 2019-05-24T12:19:02.000Z | 2022-03-23T15:05:56.000Z | core/src/zeit/cms/browser/tests/test_jslint.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 3 | 2020-08-14T11:01:17.000Z | 2022-01-08T17:32:19.000Z | import zeit.cms.testing
class JSLintTest(zeit.cms.testing.JSLintTestCase):
include = ('zeit.cms.browser:js',)
exclude = (
'MochiKit.js',
'json-template.js',
)
| 17.272727 | 50 | 0.615789 | 21 | 190 | 5.571429 | 0.666667 | 0.179487 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231579 | 190 | 10 | 51 | 19 | 0.80137 | 0 | 0 | 0 | 0 | 0 | 0.242105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c0353d2f4ea686a65a1366af400f378dff0af22e | 345 | py | Python | top/api/rest/TmallItemIncrementUpdateSchemaGetRequest.py | forestsheep/middleman | 34d54f9ffd9d7bcd775a8dcce4f00dd6c5bb1acd | [
"MIT"
] | null | null | null | top/api/rest/TmallItemIncrementUpdateSchemaGetRequest.py | forestsheep/middleman | 34d54f9ffd9d7bcd775a8dcce4f00dd6c5bb1acd | [
"MIT"
] | null | null | null | top/api/rest/TmallItemIncrementUpdateSchemaGetRequest.py | forestsheep/middleman | 34d54f9ffd9d7bcd775a8dcce4f00dd6c5bb1acd | [
"MIT"
] | null | null | null | '''
Created by auto_sdk on 2015.08.03
'''
from top.api.base import RestApi
class TmallItemIncrementUpdateSchemaGetRequest(RestApi):
def __init__(self,domain='gw.api.taobao.com',port=80):
RestApi.__init__(self,domain, port)
self.item_id = None
self.xml_data = None
def getapiname(self):
return 'tmall.item.incr... | 26.538462 | 56 | 0.762319 | 50 | 345 | 5.04 | 0.74 | 0.063492 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032573 | 0.110145 | 345 | 12 | 57 | 28.75 | 0.788274 | 0.095652 | 0 | 0 | 0 | 0 | 0.180921 | 0.125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c046c51d107a8ff7f89bfdd6bbffded1af382d1a | 2,268 | py | Python | MIDI Remote Scripts/Push2/browser_item.py | aarkwright/ableton_devices | fe5df3bbd64ccbc136bba722ba1e131a02969798 | [
"MIT"
] | null | null | null | MIDI Remote Scripts/Push2/browser_item.py | aarkwright/ableton_devices | fe5df3bbd64ccbc136bba722ba1e131a02969798 | [
"MIT"
] | null | null | null | MIDI Remote Scripts/Push2/browser_item.py | aarkwright/ableton_devices | fe5df3bbd64ccbc136bba722ba1e131a02969798 | [
"MIT"
] | null | null | null | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\browser_item.py
# Compiled at: 2018-11-30 15:48:11
from __futur... | 27 | 165 | 0.665344 | 293 | 2,268 | 4.863481 | 0.307167 | 0.098246 | 0.117895 | 0.033684 | 0.308772 | 0.247018 | 0.247018 | 0.14386 | 0.14386 | 0.089825 | 0 | 0.030321 | 0.243827 | 2,268 | 84 | 166 | 27 | 0.800583 | 0.130952 | 0 | 0.47541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.245902 | false | 0 | 0.032787 | 0.196721 | 0.557377 | 0.016393 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c04f1d317aefdc1907c7baf73b15461fcb230d3a | 420 | py | Python | tuprolog/unify/exception/_ktadapt.py | DavideEva/2ppy | 55609415102f8116165a42c8e33e029c4906e160 | [
"Apache-2.0"
] | 1 | 2021-08-07T06:29:28.000Z | 2021-08-07T06:29:28.000Z | tuprolog/unify/exception/_ktadapt.py | DavideEva/2ppy | 55609415102f8116165a42c8e33e029c4906e160 | [
"Apache-2.0"
] | 14 | 2021-09-16T13:25:12.000Z | 2022-01-03T10:12:22.000Z | tuprolog/unify/exception/_ktadapt.py | DavideEva/2ppy | 55609415102f8116165a42c8e33e029c4906e160 | [
"Apache-2.0"
] | 1 | 2021-12-22T00:25:32.000Z | 2021-12-22T00:25:32.000Z | from tuprolog import logger
import jpype
@jpype.JImplementationFor("it.unibo.tuprolog.unify.exception.NoUnifyException")
class _KtNoUnifyException:
def __jclass_init__(cls):
pass
@property
def term1(self):
return self.getTerm1()
@property
def term2(self):
return self.getT... | 21 | 90 | 0.716667 | 48 | 420 | 6.145833 | 0.666667 | 0.047458 | 0.101695 | 0.135593 | 0.19661 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01173 | 0.188095 | 420 | 19 | 91 | 22.105263 | 0.853372 | 0 | 0 | 0.153846 | 0 | 0 | 0.295238 | 0.202381 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.153846 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
c05da67ca8fce8c26a555695d5d777bfdd819d2b | 51 | py | Python | artista/register/__init__.py | Rafat97/Artista | 40a824f97dcc8f97632a1864a12329c3172c7c66 | [
"MIT"
] | 17 | 2020-09-21T19:59:23.000Z | 2021-05-16T15:28:41.000Z | artista/register/__init__.py | Rafat97/Artista | 40a824f97dcc8f97632a1864a12329c3172c7c66 | [
"MIT"
] | null | null | null | artista/register/__init__.py | Rafat97/Artista | 40a824f97dcc8f97632a1864a12329c3172c7c66 | [
"MIT"
] | 2 | 2021-03-13T09:31:30.000Z | 2022-03-19T09:43:15.000Z | default_app_config = 'register.apps.RegisterConfig' | 51 | 51 | 0.862745 | 6 | 51 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 51 | 1 | 51 | 51 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fbec3f73fedccb8eee6d70f729bbea6ff75322eb | 173 | py | Python | python/testData/quickdoc/PropOldDocstringOfGetter.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickdoc/PropOldDocstringOfGetter.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickdoc/PropOldDocstringOfGetter.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class C:
def _get(self):
"""Getter."""
return 42
def _set(self, x):
pass
attr = property(fget=_get, fset=_set)
C().at<the_ref>tr = 42 | 14.416667 | 41 | 0.514451 | 25 | 173 | 3.36 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.32948 | 173 | 12 | 42 | 14.416667 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.142857 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
fbfe75c2368ee97387cce9df07599a4a7785403e | 124 | py | Python | 2019/08/05/Flask-Praetorian Walkthrough A Library for API Security With JSON Web Tokens JWT/myapi/myapi/extensions.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 492 | 2019-06-25T12:54:31.000Z | 2022-03-30T12:38:28.000Z | 2019/08/05/Flask-Praetorian Walkthrough A Library for API Security With JSON Web Tokens JWT/myapi/myapi/extensions.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 23 | 2019-10-01T01:36:08.000Z | 2022-02-10T12:46:16.000Z | 2019/08/05/Flask-Praetorian Walkthrough A Library for API Security With JSON Web Tokens JWT/myapi/myapi/extensions.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 1,734 | 2019-06-03T06:25:13.000Z | 2022-03-31T23:57:53.000Z | from flask_sqlalchemy import SQLAlchemy
from flask_praetorian import Praetorian
db = SQLAlchemy()
guard = Praetorian() | 24.8 | 41 | 0.798387 | 14 | 124 | 6.928571 | 0.5 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 124 | 5 | 42 | 24.8 | 0.92381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
22162a22e28fb071ce5430a977f17c94e1a0d327 | 1,226 | py | Python | followed/__init__.py | ke-zhang-rd/followed | 825425f0d7f3cae5f6dfc72f2b992a29555696c8 | [
"BSD-3-Clause"
] | 1 | 2021-01-10T10:56:24.000Z | 2021-01-10T10:56:24.000Z | followed/__init__.py | ke-zhang-rd/followed | 825425f0d7f3cae5f6dfc72f2b992a29555696c8 | [
"BSD-3-Clause"
] | null | null | null | followed/__init__.py | ke-zhang-rd/followed | 825425f0d7f3cae5f6dfc72f2b992a29555696c8 | [
"BSD-3-Clause"
] | null | null | null | from functools import wraps
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
def byattr(attr):
def dec(func):
@wraps(func)
def newfunc(*args, **kwargs):
return getattr(func(*args, **kwargs), attr)
return newfunc
return dec
# Oneli... | 23.132075 | 112 | 0.595432 | 141 | 1,226 | 5.120567 | 0.35461 | 0.110803 | 0.072022 | 0.116343 | 0.462604 | 0.440443 | 0.33795 | 0.33795 | 0.33795 | 0.33795 | 0 | 0 | 0.25938 | 1,226 | 52 | 113 | 23.576923 | 0.795154 | 0.510604 | 0 | 0.555556 | 0 | 0 | 0.01354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
22220318dad962dac065b12f13c928bb79309af8 | 64 | py | Python | DCS325 Distributed System/Distributed File System/md_server/ms_conf.py | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | 1 | 2021-12-17T23:09:00.000Z | 2021-12-17T23:09:00.000Z | DCS325 Distributed System/Distributed File System/md_server/ms_conf.py | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | null | null | null | DCS325 Distributed System/Distributed File System/md_server/ms_conf.py | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | 1 | 2021-08-03T23:42:06.000Z | 2021-08-03T23:42:06.000Z | md_serverIP = "127.0.0.1"
md_serverPort = "50051"
md_timeout = 5 | 21.333333 | 25 | 0.71875 | 12 | 64 | 3.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.125 | 64 | 3 | 26 | 21.333333 | 0.553571 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
223aabe368f7d498b44321c3d7d4aae2cdff22f1 | 81 | py | Python | bob/pipelines/config/distributed/dask_it_pipeline.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | 1 | 2020-10-13T19:58:44.000Z | 2020-10-13T19:58:44.000Z | bob/pipelines/config/distributed/dask_it_pipeline.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | null | null | null | bob/pipelines/config/distributed/dask_it_pipeline.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | null | null | null | import bob.pipelines as mario
pipeline = mario.wrap(["dask"], pipeline) # noqa
| 20.25 | 49 | 0.716049 | 11 | 81 | 5.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 50 | 27 | 0.84058 | 0.049383 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2257e50b6a31f75a49d55cbbb6b70f50618b7543 | 16,440 | py | Python | psx/_dump_/1/_dump_ida_/overlay_c/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 15 | 2018-06-28T01:11:25.000Z | 2021-09-27T15:57:18.000Z | psx/_dump_/1/_dump_ida_/overlay_c/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-29T04:08:23.000Z | 2019-10-17T13:57:22.000Z | psx/_dump_/1/_dump_ida_/overlay_c/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-28T01:11:34.000Z | 2020-05-23T09:21:48.000Z | set_name(0x80122BB4, "GameOnlyTestRoutine__Fv", SN_NOWARN)
set_name(0x80122BBC, "vecleny__Fii", SN_NOWARN)
set_name(0x80122BE0, "veclenx__Fii", SN_NOWARN)
set_name(0x80122C0C, "GetDamageAmt__FiPiT1", SN_NOWARN)
set_name(0x80123204, "CheckBlock__Fiiii", SN_NOWARN)
set_name(0x801232EC, "FindClosest__Fiii", SN_NOWARN)
set... | 53.376623 | 67 | 0.831934 | 2,270 | 16,440 | 5.429515 | 0.290308 | 0.174361 | 0.273103 | 0.372414 | 0.442353 | 0.007627 | 0 | 0 | 0 | 0 | 0 | 0.154005 | 0.056022 | 16,440 | 307 | 68 | 53.550489 | 0.640183 | 0 | 0 | 0 | 0 | 0 | 0.327737 | 0.100243 | 0 | 0 | 0.18674 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
225f3bfc2e3c5fcb9f575acea56ae616e337ab34 | 53,635 | py | Python | etl/parsers/etw/Microsoft_Windows_PrintService.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_PrintService.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_PrintService.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-PrintService
GUID : 747ef6fd-e535-4d16-b510-42c90f6873a1
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
from et... | 28.288502 | 123 | 0.666039 | 5,909 | 53,635 | 5.868675 | 0.063124 | 0.096891 | 0.16956 | 0.121114 | 0.906165 | 0.904406 | 0.644039 | 0.644039 | 0.641271 | 0.641271 | 0 | 0.160383 | 0.20427 | 53,635 | 1,895 | 124 | 28.30343 | 0.652147 | 0.001809 | 0 | 0.517335 | 0 | 0 | 0.240094 | 0.14863 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002719 | 0 | 0.28688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
226fff548711ae407f4abc7249986e8d8a718418 | 86 | py | Python | accounts/urls.py | waregagbagbo/Social_App | a6cc83b09de613fb1b51f8a5596366cc8c5c6806 | [
"MIT"
] | null | null | null | accounts/urls.py | waregagbagbo/Social_App | a6cc83b09de613fb1b51f8a5596366cc8c5c6806 | [
"MIT"
] | null | null | null | accounts/urls.py | waregagbagbo/Social_App | a6cc83b09de613fb1b51f8a5596366cc8c5c6806 | [
"MIT"
] | null | null | null | from django.urls import path
from .import views
app_name = 'accounts'
urlpatterns=[
] | 14.333333 | 28 | 0.767442 | 12 | 86 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 6 | 29 | 14.333333 | 0.878378 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
97d804b6b5c7ff541e4e008c3133e89951c5fdb4 | 280 | py | Python | weibo/test/testZZ.py | haiboz/weiboSpider | 517cae2ef3e7bccd9e1d328a40965406707f5362 | [
"Apache-2.0"
] | null | null | null | weibo/test/testZZ.py | haiboz/weiboSpider | 517cae2ef3e7bccd9e1d328a40965406707f5362 | [
"Apache-2.0"
] | null | null | null | weibo/test/testZZ.py | haiboz/weiboSpider | 517cae2ef3e7bccd9e1d328a40965406707f5362 | [
"Apache-2.0"
] | null | null | null | #coding:utf8
'''
Created on 2016年6月6日
@author: wb-zhaohaibo
'''
# import re
# detail_cont = "411023199112300511"
# pattern = re.compile(ur'/^(\d{15}$|^\d{18}$|^\d{17}(\d|X|x))$/')
# aa = re.match(pattern, detail_cont, 0)
# print aa
import this
print this
| 14.736842 | 67 | 0.592857 | 39 | 280 | 4.205128 | 0.666667 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143498 | 0.203571 | 280 | 18 | 68 | 15.555556 | 0.591928 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
97e731015001584f2716adad2e346bc940afd4a0 | 537 | py | Python | py/phpinfo.py | christophfranke/continuous-integration-tools | eeb77a624303f5b5971ea7110a8352ff72feb312 | [
"MIT"
] | null | null | null | py/phpinfo.py | christophfranke/continuous-integration-tools | eeb77a624303f5b5971ea7110a8352ff72feb312 | [
"MIT"
] | null | null | null | py/phpinfo.py | christophfranke/continuous-integration-tools | eeb77a624303f5b5971ea7110a8352ff72feb312 | [
"MIT"
] | null | null | null | from modules import engine
from modules import out
from modules import run
from modules import php
from time import sleep
@engine.prepare_and_clean
def execute():
#make sure we have the php command file online
php.upload_command_file()
#open it with the phpinfo parameter
run.local('open ' + engine.REMO... | 29.833333 | 83 | 0.741155 | 84 | 537 | 4.666667 | 0.535714 | 0.112245 | 0.173469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002304 | 0.191806 | 537 | 18 | 84 | 29.833333 | 0.900922 | 0.292365 | 0 | 0 | 0 | 0 | 0.187831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.416667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
97f0d43d20eaa67490f6a5e13153a566d203debf | 6,012 | py | Python | tts_manager/filesystem.py | sytone/TTS-Manager | bb00d6f17a22a426458ba14712364b74d569c741 | [
"MIT"
] | 3 | 2019-04-26T10:48:05.000Z | 2020-03-28T21:19:42.000Z | tts_manager/filesystem.py | sytone/TTS-Manager | bb00d6f17a22a426458ba14712364b74d569c741 | [
"MIT"
] | null | null | null | tts_manager/filesystem.py | sytone/TTS-Manager | bb00d6f17a22a426458ba14712364b74d569c741 | [
"MIT"
] | 1 | 2019-09-18T22:33:05.000Z | 2019-09-18T22:33:05.000Z | import os
import os.path
import string
from .save_type import SaveType
from .logger import logger
def get_default_fs():
return FileSystem(standard_basepath())
def standard_basepath():
return os.path.join(os.path.expanduser("~"), "Documents", "My Games", "Tabletop Simulator")
def strip_filename(filename):
... | 35.157895 | 126 | 0.630739 | 760 | 6,012 | 4.773684 | 0.152632 | 0.052922 | 0.055127 | 0.065601 | 0.385612 | 0.260474 | 0.260474 | 0.229603 | 0.100882 | 0.070562 | 0 | 0.000452 | 0.264471 | 6,012 | 170 | 127 | 35.364706 | 0.819991 | 0.030772 | 0 | 0.213235 | 0 | 0 | 0.046792 | 0 | 0 | 0 | 0 | 0.005882 | 0 | 1 | 0.205882 | false | 0 | 0.036765 | 0.102941 | 0.514706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f0892c98d9484d8375b0a94176473e54cda5f3c | 2,060 | py | Python | memberships.database/python/cs-business.py | anytizer/membership.pro | c1664be277332e4705c685aca88bc79d754c93db | [
"MIT"
] | null | null | null | memberships.database/python/cs-business.py | anytizer/membership.pro | c1664be277332e4705c685aca88bc79d754c93db | [
"MIT"
] | null | null | null | memberships.database/python/cs-business.py | anytizer/membership.pro | c1664be277332e4705c685aca88bc79d754c93db | [
"MIT"
] | null | null | null | from _processor import *
print()
print("using libraries.dtos;")
print("using libraries.repositories;")
print()
print("namespace libraries.business")
print("{")
print(" public partial class BusinessLibrary".format())
print(" {");
print(" private BusinessRepository br = new BusinessRepository();")... | 32.698413 | 86 | 0.500971 | 204 | 2,060 | 5.004902 | 0.205882 | 0.29383 | 0.161606 | 0.215475 | 0.63761 | 0.616063 | 0.568071 | 0.360431 | 0.297747 | 0.297747 | 0 | 0.014225 | 0.317476 | 2,060 | 63 | 87 | 32.698413 | 0.711949 | 0 | 0 | 0.610169 | 0 | 0 | 0.465233 | 0.068034 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.016949 | 0.915254 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3f2f18ff33f6968b9ea9ca3b874685d5226efb67 | 569 | py | Python | src/striga/compiler/tests/importtest.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | src/striga/compiler/tests/importtest.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | src/striga/compiler/tests/importtest.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | import sys
import os;
import time, re as RG
import atexit; import datetime, httplib
import atexit; import datetime, httplib;
from telnetlib import AUTHENTICATION, BINARY as B, AO
from httplib import *
from getopt import ( do_longs, getopt as GO )
from getopt import ( do_longs, getopt as GO,)
from . import test
from ... | 23.708333 | 53 | 0.771529 | 86 | 569 | 5.081395 | 0.395349 | 0.06865 | 0.08238 | 0.118993 | 0.311213 | 0.160183 | 0.160183 | 0.160183 | 0.160183 | 0 | 0 | 0.004211 | 0.165202 | 569 | 23 | 54 | 24.73913 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3f37e5c2431a14543279c7f67d969c5845bd49e2 | 10,720 | py | Python | Packs/PhishLabs/Integrations/PhishLabsIOC/PhishLabsIOC_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/PhishLabs/Integrations/PhishLabsIOC/PhishLabsIOC_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/PhishLabs/Integrations/PhishLabsIOC/PhishLabsIOC_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | from CommonServerPython import *
def test_create_indicator_no_date():
from PhishLabsIOC import create_indicator_content
files_json = """
{
"attributes": [
{
"createdAt": "2019-05-14T13:03:45Z",
"id": "xyz",
... | 31.43695 | 99 | 0.445336 | 875 | 10,720 | 5.32 | 0.12 | 0.042535 | 0.099893 | 0.069817 | 0.797852 | 0.755102 | 0.69044 | 0.664876 | 0.63695 | 0.614178 | 0 | 0.138056 | 0.408769 | 10,720 | 340 | 100 | 31.529412 | 0.596403 | 0 | 0 | 0.548822 | 0 | 0.003367 | 0.611287 | 0.117164 | 0 | 0 | 0 | 0 | 0.037037 | 1 | 0.020202 | false | 0 | 0.023569 | 0 | 0.043771 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3f4b118e06b1897fe4faa1c0c9c53ad408c839bf | 255 | py | Python | docx/parts/footnotes.py | Volker-ES/python-docx | 9bea8c9cc4bdb17eff3230a9a98c115286e49896 | [
"MIT"
] | null | null | null | docx/parts/footnotes.py | Volker-ES/python-docx | 9bea8c9cc4bdb17eff3230a9a98c115286e49896 | [
"MIT"
] | null | null | null | docx/parts/footnotes.py | Volker-ES/python-docx | 9bea8c9cc4bdb17eff3230a9a98c115286e49896 | [
"MIT"
] | null | null | null | # encoding: utf-8
"""|FootnotesPart| and related objects"""
from __future__ import absolute_import, division, print_function, unicode_literals
from docx.opc.part import XmlPart
class FootnotesPart(XmlPart):
"""Package part containing footnotes""" | 23.181818 | 82 | 0.776471 | 30 | 255 | 6.366667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004484 | 0.12549 | 255 | 11 | 83 | 23.181818 | 0.852018 | 0.337255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3f5ea5f99dccc292e60466892e6f7040ef45dbc6 | 2,640 | py | Python | dataloader/transforms.py | doty-k/world_models | c298bf48f65a2fc9690467be8174084a839c7cd0 | [
"MIT"
] | 4 | 2021-03-17T11:02:21.000Z | 2021-04-27T13:24:25.000Z | dataloader/transforms.py | doty-k/world_models | c298bf48f65a2fc9690467be8174084a839c7cd0 | [
"MIT"
] | null | null | null | dataloader/transforms.py | doty-k/world_models | c298bf48f65a2fc9690467be8174084a839c7cd0 | [
"MIT"
] | 1 | 2020-07-19T01:44:06.000Z | 2020-07-19T01:44:06.000Z | # DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited.
#
# This material is based upon work supported by the Assistant Secretary of Defense for Research and
# Engineering under Air Force Contract No. FA8721-05-C-0002 and/or FA8702-15-D-0001. Any opinions,
# findings, conclusions or recommendat... | 34.285714 | 100 | 0.710227 | 371 | 2,640 | 4.97035 | 0.479784 | 0.026573 | 0.041757 | 0.034707 | 0.206074 | 0.119306 | 0.059653 | 0.059653 | 0.059653 | 0 | 0 | 0.055634 | 0.196591 | 2,640 | 76 | 101 | 34.736842 | 0.813296 | 0.548485 | 0 | 0.1875 | 0 | 0 | 0.006184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.125 | 0.125 | 0.78125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f61f9f0f3046337eb5db62e79e308b17098d649 | 4,209 | py | Python | src/azure-cli/azure/cli/command_modules/monitor/_client_factory.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 4 | 2016-08-23T06:19:01.000Z | 2018-03-20T22:47:15.000Z | src/azure-cli/azure/cli/command_modules/monitor/_client_factory.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 120 | 2018-03-27T19:14:40.000Z | 2020-12-10T23:53:35.000Z | src/azure-cli/azure/cli/command_modules/monitor/_client_factory.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 11 | 2018-08-23T21:31:06.000Z | 2020-09-03T21:39:51.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 28.828767 | 94 | 0.78641 | 582 | 4,209 | 5.118557 | 0.16323 | 0.136959 | 0.128902 | 0.100705 | 0.639476 | 0.497482 | 0.487076 | 0.441759 | 0.342732 | 0.128231 | 0 | 0 | 0.104775 | 4,209 | 145 | 95 | 29.027586 | 0.790605 | 0.086481 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.472222 | false | 0 | 0.055556 | 0.444444 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f70b467e82d1cea9dba3e53fc540de3ce53040a | 316 | py | Python | gpax/__init__.py | ziatdinovmax/gpax | a35374c178b66a3ea5640063a479b0b6be8d57db | [
"MIT"
] | 13 | 2021-11-18T20:20:18.000Z | 2022-03-23T12:53:51.000Z | gpax/__init__.py | ziatdinovmax/gpax | a35374c178b66a3ea5640063a479b0b6be8d57db | [
"MIT"
] | 5 | 2022-02-25T09:50:44.000Z | 2022-03-26T21:10:26.000Z | gpax/__init__.py | ziatdinovmax/gpax | a35374c178b66a3ea5640063a479b0b6be8d57db | [
"MIT"
] | null | null | null | from . import utils, kernels, acquisition
from .gp import ExactGP
from .vgp import vExactGP
from .dkl import DKL
from .vidkl import viDKL
from .spm import sPM
from .__version__ import version as __version__
__all__ = ["utils", "kernels", "acquisition", "ExactGP", "vExactGP", "DKL", "viDKL", "sPM", "__version__"]
| 28.727273 | 106 | 0.737342 | 41 | 316 | 5.292683 | 0.365854 | 0.110599 | 0.211982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142405 | 316 | 10 | 107 | 31.6 | 0.800738 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
58bb3439d4195b498923cbfe7ed39e59ccc82ea7 | 99 | py | Python | ArubaCloud/Compute/LoadBalancer/Models/LoadBalancerStatus.py | luigidacunto/pyArubaCloud | 0aa4a558739fdfd9ad93e33b5290fb0ad219e9a2 | [
"Apache-2.0"
] | 39 | 2016-01-27T17:42:33.000Z | 2021-09-28T08:03:32.000Z | ArubaCloud/Compute/LoadBalancer/Models/LoadBalancerStatus.py | luigidacunto/pyArubaCloud | 0aa4a558739fdfd9ad93e33b5290fb0ad219e9a2 | [
"Apache-2.0"
] | 33 | 2016-01-13T15:52:18.000Z | 2021-04-05T17:00:21.000Z | ArubaCloud/Compute/LoadBalancer/Models/LoadBalancerStatus.py | luigidacunto/pyArubaCloud | 0aa4a558739fdfd9ad93e33b5290fb0ad219e9a2 | [
"Apache-2.0"
] | 31 | 2015-11-05T14:12:59.000Z | 2022-03-24T08:27:15.000Z | class LoadBalancerStatus(object):
Creating = 1
Running = 2
Stopped = 3
Deleted = 4
| 16.5 | 33 | 0.626263 | 11 | 99 | 5.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.30303 | 99 | 5 | 34 | 19.8 | 0.84058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
58bc9b42cd6a7b28931a3358b02ec0989a6062a9 | 225 | py | Python | python_crash_course/chapter_03/3-09_dinner_guests.py | valdsonmota/python-studies | 1abf5ba4337006f77b2a162b37f341b116414f59 | [
"MIT"
] | null | null | null | python_crash_course/chapter_03/3-09_dinner_guests.py | valdsonmota/python-studies | 1abf5ba4337006f77b2a162b37f341b116414f59 | [
"MIT"
] | null | null | null | python_crash_course/chapter_03/3-09_dinner_guests.py | valdsonmota/python-studies | 1abf5ba4337006f77b2a162b37f341b116414f59 | [
"MIT"
] | null | null | null | #Exercise 3-9 - Dinner Guests
guests = ['ricardo', 'rodolfo', 'vinicius', 'jailson', 'miguel', 'raphael']
print('DINNER GUEST LIST')
print('-' * 40)
print('Numbers of people invited to dinner:', len(guests))
print('-' * 40)
| 32.142857 | 75 | 0.657778 | 29 | 225 | 5.103448 | 0.724138 | 0.094595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.133333 | 225 | 6 | 76 | 37.5 | 0.728205 | 0.124444 | 0 | 0.4 | 0 | 0 | 0.497436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
58d7191301250345886e2741abf77086b804ef9e | 1,885 | py | Python | gyoithon/migrations/0024_auto_20210513_0503.py | gyoisamurai/GyoiBoard | aebd29820a39d1d88b9e5874b56f923b1c88d170 | [
"MIT"
] | 3 | 2021-07-03T12:41:39.000Z | 2021-11-18T17:23:08.000Z | gyoithon/migrations/0024_auto_20210513_0503.py | gyoisamurai/GyoiBoard | aebd29820a39d1d88b9e5874b56f923b1c88d170 | [
"MIT"
] | null | null | null | gyoithon/migrations/0024_auto_20210513_0503.py | gyoisamurai/GyoiBoard | aebd29820a39d1d88b9e5874b56f923b1c88d170 | [
"MIT"
] | 3 | 2021-06-12T13:25:48.000Z | 2021-09-30T19:06:49.000Z | # Generated by Django 3.1.7 on 2021-05-12 20:03
import datetime
from django.db import migrations, models
from django.utils.timezone import utc
class Migration(migrations.Migration):
dependencies = [
('gyoithon', '0023_auto_20210512_2208'),
]
operations = [
migrations.AlterField(
... | 36.960784 | 126 | 0.577719 | 192 | 1,885 | 5.583333 | 0.302083 | 0.130597 | 0.163246 | 0.189366 | 0.75 | 0.75 | 0.639925 | 0.639925 | 0.557836 | 0.557836 | 0 | 0.083515 | 0.269496 | 1,885 | 50 | 127 | 37.7 | 0.694989 | 0.023873 | 0 | 0.659091 | 1 | 0 | 0.131665 | 0.012514 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068182 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58fcacfad1d7730ac449718a038450d4b4d22588 | 395 | py | Python | src/sentry/auth/providers/saml2/activedirectory/views.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | src/sentry/auth/providers/saml2/activedirectory/views.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | src/sentry/auth/providers/saml2/activedirectory/views.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, print_function
from sentry.auth.providers.saml2.generic.view import GenericSAML2View
class ActiveDirectorySAML2View(GenericSAML2View):
"""
Active Directory is a subset of our generic SAML2 implementation. However,
this may not be obvious to end users. This inherite... | 32.916667 | 78 | 0.782278 | 50 | 395 | 6.06 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015244 | 0.16962 | 395 | 11 | 79 | 35.909091 | 0.908537 | 0.475949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
452d8da04b1d3618ba15efde7737031cd930b17d | 167 | py | Python | aldryn_waffle_segment/__init__.py | aldryn/aldryn-waffle-segment | 1560f13c6b24c8faa76e494e5ab3df9d8b1f9f92 | [
"BSD-3-Clause"
] | null | null | null | aldryn_waffle_segment/__init__.py | aldryn/aldryn-waffle-segment | 1560f13c6b24c8faa76e494e5ab3df9d8b1f9f92 | [
"BSD-3-Clause"
] | null | null | null | aldryn_waffle_segment/__init__.py | aldryn/aldryn-waffle-segment | 1560f13c6b24c8faa76e494e5ab3df9d8b1f9f92 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
__version__ = "0.0.2"
default_app_config = 'aldryn_waffle_segment.apps.AldrynWaffleSegmentAppConfig'
| 23.857143 | 78 | 0.784431 | 20 | 167 | 5.9 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.101796 | 167 | 6 | 79 | 27.833333 | 0.76 | 0.125749 | 0 | 0 | 0 | 0 | 0.416667 | 0.381944 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
188f28faa53d2da49e690e6f0b9f6ae550142d9f | 338 | py | Python | server/src/weaverbird/backends/mongo_translator/steps/fillna.py | ToucanToco/vue-query-builder | e09e9b76c72628041dc82ab82145420738869a20 | [
"BSD-3-Clause"
] | 4 | 2019-03-01T11:26:12.000Z | 2019-04-23T16:48:52.000Z | server/src/weaverbird/backends/mongo_translator/steps/fillna.py | ToucanToco/vue-query-builder | e09e9b76c72628041dc82ab82145420738869a20 | [
"BSD-3-Clause"
] | 279 | 2019-02-15T10:54:22.000Z | 2019-10-19T19:41:48.000Z | server/src/weaverbird/backends/mongo_translator/steps/fillna.py | ToucanToco/vue-query-builder | e09e9b76c72628041dc82ab82145420738869a20 | [
"BSD-3-Clause"
] | 1 | 2019-05-28T18:44:15.000Z | 2019-05-28T18:44:15.000Z | from typing import List
from weaverbird.backends.mongo_translator.steps.types import MongoStep
from weaverbird.pipeline.steps.fillna import FillnaStep
def translate_fillna(step: FillnaStep) -> List[MongoStep]:
add_fields = {col: {'$ifNull': [f'${col}', step.value]} for col in step.columns}
return [{'$addFiel... | 33.8 | 84 | 0.751479 | 44 | 338 | 5.681818 | 0.636364 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121302 | 338 | 9 | 85 | 37.555556 | 0.841751 | 0 | 0 | 0 | 0 | 0 | 0.068047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
18ab53b57e001d041dd92ad1a45b71f0a32dd648 | 236 | py | Python | scaelum/__init__.py | fedorados/SkyComputing | a626a62de9505db7397a2c5096010089dba1d0d5 | [
"Apache-2.0"
] | 53 | 2022-02-25T03:11:03.000Z | 2022-03-23T01:01:24.000Z | scaelum/__init__.py | fedorados/SkyComputing | a626a62de9505db7397a2c5096010089dba1d0d5 | [
"Apache-2.0"
] | 1 | 2022-02-28T16:53:01.000Z | 2022-02-28T16:53:01.000Z | scaelum/__init__.py | fedorados/SkyComputing | a626a62de9505db7397a2c5096010089dba1d0d5 | [
"Apache-2.0"
] | 15 | 2022-02-25T03:07:21.000Z | 2022-03-03T02:55:59.000Z | from .builder import *
from .config import *
from .dataset import *
from .dynamics import *
from .logger import *
from .model import *
from .registry import *
from .runner import *
from .timer import *
from .version import __version__
| 19.666667 | 32 | 0.745763 | 31 | 236 | 5.548387 | 0.387097 | 0.523256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173729 | 236 | 11 | 33 | 21.454545 | 0.882051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
18b74e489e59d1c776fd46e4700ac48f6eee44dc | 671 | py | Python | cactus/config/fallback.py | jacobmarshall-etc/Cactus | 398ed4a1f57d0aa84fe3b297d7d27d0703683637 | [
"BSD-3-Clause"
] | 2 | 2016-07-07T17:43:33.000Z | 2017-09-11T00:33:19.000Z | cactus/config/fallback.py | jacobmarshall-etc/Cactus | 398ed4a1f57d0aa84fe3b297d7d27d0703683637 | [
"BSD-3-Clause"
] | null | null | null | cactus/config/fallback.py | jacobmarshall-etc/Cactus | 398ed4a1f57d0aa84fe3b297d7d27d0703683637 | [
"BSD-3-Clause"
] | null | null | null | #coding:utf-8
import logging
logger = logging.getLogger(__name__)
class ConfigFallback(object):
"""
A transient fallback config.
This config does not store anything to the filesystem.
"""
def __init__(self):
self.cnf = {}
@property
def path(self):
return "@fallback"
... | 20.96875 | 108 | 0.608048 | 86 | 671 | 4.639535 | 0.546512 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002037 | 0.268256 | 671 | 31 | 109 | 21.645161 | 0.810591 | 0.14307 | 0 | 0 | 0 | 0 | 0.115315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.058824 | 0.176471 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
18dc7151e77bc9e7500b1a5b4d35dc89b2b6b172 | 1,056 | py | Python | simple_rl/tasks/dm_fixed_reacher/FixedReacherStateClass.py | samlobel/simple_rl_mbrl | ed868916d06dbf68f4af23bea83b0e852e88df6e | [
"Apache-2.0"
] | 1 | 2020-01-30T13:14:24.000Z | 2020-01-30T13:14:24.000Z | simple_rl/tasks/dm_fixed_reacher/FixedReacherStateClass.py | samlobel/simple_rl_mbrl | ed868916d06dbf68f4af23bea83b0e852e88df6e | [
"Apache-2.0"
] | null | null | null | simple_rl/tasks/dm_fixed_reacher/FixedReacherStateClass.py | samlobel/simple_rl_mbrl | ed868916d06dbf68f4af23bea83b0e852e88df6e | [
"Apache-2.0"
] | null | null | null | # Python imports
import numpy as np
# Local imports
from simple_rl.mdp.StateClass import State
class FixedReacherState(State):
''' Fixed State class '''
def __init__(self, observation, is_terminal=False):
self.position = observation["position"]
self.velocity = observation["velocity"]
... | 34.064516 | 115 | 0.612689 | 133 | 1,056 | 4.601504 | 0.406015 | 0.065359 | 0.098039 | 0.098039 | 0.117647 | 0.117647 | 0.117647 | 0 | 0 | 0 | 0 | 0.011673 | 0.269886 | 1,056 | 31 | 116 | 34.064516 | 0.782101 | 0.148674 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.117647 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
18e057d77a32fba4e9095062d7a237229287ada3 | 777 | py | Python | python-scripts/BEST_ToolsTestBoxNrs.py | Fedict/best-tools | b037e717b04922ed18d8af89fe5073b3995f04ff | [
"BSD-2-Clause"
] | 3 | 2019-07-01T12:11:34.000Z | 2021-11-18T08:00:48.000Z | python-scripts/BEST_ToolsTestBoxNrs.py | Fedict/best-tools | b037e717b04922ed18d8af89fe5073b3995f04ff | [
"BSD-2-Clause"
] | 3 | 2021-02-24T14:01:18.000Z | 2022-02-16T01:20:33.000Z | python-scripts/BEST_ToolsTestBoxNrs.py | Fedict/best-tools | b037e717b04922ed18d8af89fe5073b3995f04ff | [
"BSD-2-Clause"
] | null | null | null | #-------------------------------------#
# Python script for BEST address #
# Author: Marc Bruyland (FOD BOSA) #
# Contact: marc.bruyland@bosa.fgov.be #
# June 2019 #
#-------------------------------------#
from BEST_Lib import *
bx="0002"
print(bx, transformBoxNr(bx))
bx=... | 22.852941 | 40 | 0.577864 | 98 | 777 | 4.561224 | 0.326531 | 0.187919 | 0.563758 | 0.61745 | 0.697987 | 0.525727 | 0.409396 | 0.409396 | 0.409396 | 0.409396 | 0 | 0.048212 | 0.172458 | 777 | 33 | 41 | 23.545455 | 0.646967 | 0.285714 | 0 | 0.48 | 0 | 0 | 0.090196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.48 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.