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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
50678d52ee9dd55cfdf0952bdcb40a21409e0aec | 57 | py | Python | farabio/core/__init__.py | tuttelikz/farabi | 5b65cdf39ceecbd69ae759d030b132ee74661b48 | [
"Apache-2.0"
] | 53 | 2021-04-06T17:57:12.000Z | 2022-03-07T17:45:45.000Z | farabio/core/__init__.py | tuttelikz/farabi | 5b65cdf39ceecbd69ae759d030b132ee74661b48 | [
"Apache-2.0"
] | 1 | 2022-03-07T19:48:44.000Z | 2022-03-07T19:49:47.000Z | farabio/core/__init__.py | tuttelikz/farabi | 5b65cdf39ceecbd69ae759d030b132ee74661b48 | [
"Apache-2.0"
] | 2 | 2021-12-06T14:42:44.000Z | 2021-12-07T11:33:14.000Z | from .basetrainer import *
from .convnettrainer import *
| 19 | 29 | 0.789474 | 6 | 57 | 7.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 30 | 28.5 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5076516b6d1bd4ebe53f85e4233e00f0c32c88d2 | 52 | py | Python | cachy/__init__.py | the-dan/cachy | 7e6620a1af4d82c4d3caae6acab998f725d0d9e5 | [
"MIT"
] | null | null | null | cachy/__init__.py | the-dan/cachy | 7e6620a1af4d82c4d3caae6acab998f725d0d9e5 | [
"MIT"
] | null | null | null | cachy/__init__.py | the-dan/cachy | 7e6620a1af4d82c4d3caae6acab998f725d0d9e5 | [
"MIT"
] | null | null | null | from .data import *
from .http import flappy_network | 26 | 32 | 0.807692 | 8 | 52 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 32 | 26 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
508d41267cfc3c61be1e84437e4b2f2b96665225 | 400 | py | Python | tests/rectangle_into_squares_test.py | eliflores/coding-katas-python | db978c221d849483a4047e80dc843848fe38f05c | [
"MIT"
] | null | null | null | tests/rectangle_into_squares_test.py | eliflores/coding-katas-python | db978c221d849483a4047e80dc843848fe38f05c | [
"MIT"
] | 3 | 2022-03-24T20:30:30.000Z | 2022-03-24T22:00:33.000Z | tests/rectangle_into_squares_test.py | eliflores/coding-katas-python | db978c221d849483a4047e80dc843848fe38f05c | [
"MIT"
] | null | null | null | from katas.rectangle_into_squares import squares_in_rectangle
def test_square_in_rectangles_when_length_and_width_are_equal():
assert squares_in_rectangle(5, 5) is None
def test_square_in_rectangles():
assert squares_in_rectangle(5, 3) == [3, 2, 1, 1]
assert squares_in_rectangle(20, 14) == [14, 6, 6, 2,... | 33.333333 | 72 | 0.7225 | 70 | 400 | 3.785714 | 0.428571 | 0.169811 | 0.339623 | 0.362264 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10119 | 0.16 | 400 | 11 | 73 | 36.363636 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.428571 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
509e3c9f822d9807eaa510e363d89b315c4b4e2b | 6,402 | py | Python | unit_tests/view_modify_land_charge/test_edit_charge_date.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/view_modify_land_charge/test_edit_charge_date.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/view_modify_land_charge/test_edit_charge_date.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from maintain_frontend import main
from flask import url_for
from flask_testing import TestCase
from unit_tests.utilities import Utilities
from unittest.mock import patch
from maintain_frontend.dependencies.session_api.session import Session
from maintain_frontend.models import LocalLandChargeItem
from maintain_fronten... | 44.151724 | 115 | 0.7204 | 795 | 6,402 | 5.462893 | 0.132075 | 0.038683 | 0.062169 | 0.087037 | 0.767672 | 0.766981 | 0.758232 | 0.758232 | 0.758232 | 0.746489 | 0 | 0.011891 | 0.185567 | 6,402 | 144 | 116 | 44.458333 | 0.821059 | 0.055608 | 0 | 0.556604 | 0 | 0 | 0.161296 | 0.091362 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0.075472 | false | 0 | 0.084906 | 0 | 0.179245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50b270e6a6533dd0c4f5022189c765a0280b8353 | 4,361 | py | Python | toggle.py | lzl257/gesis_wikiwho | 3c1367b108aebbedad8d55e6018b0c92dddf7a7e | [
"MIT"
] | null | null | null | toggle.py | lzl257/gesis_wikiwho | 3c1367b108aebbedad8d55e6018b0c92dddf7a7e | [
"MIT"
] | null | null | null | toggle.py | lzl257/gesis_wikiwho | 3c1367b108aebbedad8d55e6018b0c92dddf7a7e | [
"MIT"
] | null | null | null | # functions for hiding
from IPython.display import HTML
import random
def hide_toggle(for_next=False, hiding_text='Toggle show/hide'):
this_cell = """$('div.cell.code_cell.rendered.selected')"""
next_cell = this_cell + '.next()'
toggle_text = hiding_text # text shown on toggle link
target_cell = this... | 31.832117 | 112 | 0.517313 | 487 | 4,361 | 4.361396 | 0.143737 | 0.07533 | 0.073446 | 0.048023 | 0.815443 | 0.766008 | 0.733992 | 0.718456 | 0.693974 | 0.693974 | 0 | 0.004952 | 0.351754 | 4,361 | 137 | 113 | 31.832117 | 0.746374 | 0.070167 | 0 | 0.696429 | 0 | 0 | 0.551877 | 0.163785 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.017857 | 0 | 0.089286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50b3c4a69bca4b0021af805bb7a5ba37f04a48aa | 14,138 | py | Python | sourcecode/utils/font_set.py | JulianJuaner/VecFontTransfer | 266b969878cdecc821d1d6e240e87d4caa151d84 | [
"MIT"
] | 7 | 2021-04-12T10:48:14.000Z | 2021-12-26T10:17:18.000Z | sourcecode/utils/font_set.py | JulianJuaner/VecFontTransfer | 266b969878cdecc821d1d6e240e87d4caa151d84 | [
"MIT"
] | null | null | null | sourcecode/utils/font_set.py | JulianJuaner/VecFontTransfer | 266b969878cdecc821d1d6e240e87d4caa151d84 | [
"MIT"
] | null | null | null | WESTERN_CHAR = '1234567890-=!@#¥%……&*()~:"{{}}[]|\\?/<>,.;\'+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
CHINESE_CHAR = [
'啰','阿','唉','哀','矮','肮','胞','并','朝','炒','匙','崇','初','雌','簇','脆','旦','氮','盗','等','叠','懂','洞','遏','伐','泛','菲','诽','沸','愤','俘','俯','腐','妇','赣','刚','稿','构','龟','浩','衡','侯','护','还','会','汇'... | 2,827.6 | 14,003 | 0.253643 | 3,508 | 14,138 | 1.02366 | 0.999715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000708 | 0.000849 | 14,138 | 5 | 14,004 | 2,827.6 | 0.253009 | 0 | 0 | 0 | 0 | 0 | 0.250583 | 0.003041 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50b64d19912b681ecdc59611d8715a73f826e9da | 108 | py | Python | src/bio2bel_excape/__init__.py | bio2bel/excape | dd3cfa446dd47135e754da41d52caf700fddbe0e | [
"MIT"
] | null | null | null | src/bio2bel_excape/__init__.py | bio2bel/excape | dd3cfa446dd47135e754da41d52caf700fddbe0e | [
"MIT"
] | 12 | 2018-09-02T16:38:56.000Z | 2019-03-06T12:46:00.000Z | src/bio2bel_excape/__init__.py | bio2bel/excape | dd3cfa446dd47135e754da41d52caf700fddbe0e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Bio2BEL ExCAPE-DB."""
from bio2bel_excape.manager import Manager # noqa: F401
| 18 | 56 | 0.657407 | 14 | 108 | 5 | 0.785714 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 0.157407 | 108 | 5 | 57 | 21.6 | 0.703297 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
50c94a8d27383d5f2f605aaaeeb3e7740d6fa757 | 833 | py | Python | mar_prior/convolutional_rnn/__init__.py | Catherine0505/mar-scf-flow | aa7c3564cb9f2967c5e580a633516dba1b597f98 | [
"Apache-2.0"
] | 101 | 2020-03-05T06:47:05.000Z | 2022-03-31T03:42:51.000Z | Net/LSTM/__init__.py | jarrycyx/dual-channel-low-light-video-public | 9d0bd612c9563cc62742b66c14b5d8404b0fd9b3 | [
"Apache-2.0"
] | 12 | 2020-03-12T11:10:57.000Z | 2022-01-14T03:58:03.000Z | Net/LSTM/__init__.py | jarrycyx/dual-channel-low-light-video-public | 9d0bd612c9563cc62742b66c14b5d8404b0fd9b3 | [
"Apache-2.0"
] | 31 | 2020-06-17T22:00:13.000Z | 2022-01-20T06:18:20.000Z | from .module import Conv1dRNN
from .module import Conv1dLSTM
from .module import Conv1dPeepholeLSTM
from .module import Conv1dGRU
from .module import Conv2dRNN
from .module import Conv2dLSTM
from .module import Conv2dPeepholeLSTM
from .module import Conv2dGRU
from .module import Conv3dRNN
from .module import Conv3dLS... | 27.766667 | 42 | 0.84994 | 96 | 833 | 7.375 | 0.28125 | 0.338983 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.121249 | 833 | 29 | 43 | 28.724138 | 0.934426 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
50d5c5b7294ff5a0615af137d2f5b24eb656903c | 120 | py | Python | torchkge/evaluation/__init__.py | MacOS/torchkge | 89ed724368f3a5279c0f79c6ba1f948ed2a5696f | [
"BSD-3-Clause"
] | 248 | 2019-04-03T10:04:43.000Z | 2022-03-30T13:01:51.000Z | torchkge/evaluation/__init__.py | MacOS/torchkge | 89ed724368f3a5279c0f79c6ba1f948ed2a5696f | [
"BSD-3-Clause"
] | 52 | 2019-04-04T05:54:35.000Z | 2022-03-02T17:18:15.000Z | torchkge/evaluation/__init__.py | MacOS/torchkge | 89ed724368f3a5279c0f79c6ba1f948ed2a5696f | [
"BSD-3-Clause"
] | 41 | 2019-06-05T08:08:00.000Z | 2022-03-26T09:18:05.000Z | from .link_prediction import LinkPredictionEvaluator
from .triplet_classification import TripletClassificationEvaluator
| 40 | 66 | 0.916667 | 10 | 120 | 10.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 120 | 2 | 67 | 60 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
50de16f898ab6ebb1ba1b1184b1df16768a80d79 | 14,937 | py | Python | azure-mgmt-web/azure/mgmt/web/operations/global_domain_registration_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/global_domain_registration_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/global_domain_registration_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft and contributors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of ... | 42.677143 | 140 | 0.675772 | 1,555 | 14,937 | 6.315113 | 0.138907 | 0.041752 | 0.02444 | 0.03666 | 0.736253 | 0.736253 | 0.736253 | 0.732179 | 0.697352 | 0.683707 | 0 | 0.003899 | 0.227288 | 14,937 | 349 | 141 | 42.799427 | 0.846907 | 0.287206 | 0 | 0.767857 | 0 | 0 | 0.166783 | 0.109859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.02381 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0fca8190a8280034fcbde2422ec57bcb5e0de6b3 | 220 | py | Python | TestImage.py | uesp/skyrimmaps-scripts | 19acbec216487978d85afa67df98073bd43dcb84 | [
"MIT"
] | null | null | null | TestImage.py | uesp/skyrimmaps-scripts | 19acbec216487978d85afa67df98073bd43dcb84 | [
"MIT"
] | null | null | null | TestImage.py | uesp/skyrimmaps-scripts | 19acbec216487978d85afa67df98073bd43dcb84 | [
"MIT"
] | null | null | null | import os
import sys
import Image
import shutil
ImageNW = Image.open("d:\\steam\\steamapps\\common\\skyrim\\data\\textures\\maps\\skyrim\\tamriel.61.-7.dds")
ImageNW.Save("d:\\test.jpg")
| 22 | 110 | 0.622727 | 29 | 220 | 4.724138 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017143 | 0.204545 | 220 | 9 | 111 | 24.444444 | 0.765714 | 0 | 0 | 0 | 0 | 0.166667 | 0.459716 | 0.402844 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0fe555fd31bb6b2837e6e532f9f20b3cfef053fb | 162 | py | Python | test/stream-monitor/test/support/stream-base/two_pass/test_two_pass.py | arunrordell/RackHD | 079c21f45cb38f538c502363aa1ff86dbcac3169 | [
"Apache-2.0"
] | 451 | 2015-11-09T13:19:25.000Z | 2022-03-16T08:00:16.000Z | test/stream-monitor/test/support/stream-base/two_pass/test_two_pass.py | arunrordell/RackHD | 079c21f45cb38f538c502363aa1ff86dbcac3169 | [
"Apache-2.0"
] | 824 | 2015-11-10T15:25:50.000Z | 2018-04-09T09:59:49.000Z | test/stream-monitor/test/support/stream-base/two_pass/test_two_pass.py | arunrordell/RackHD | 079c21f45cb38f538c502363aa1ff86dbcac3169 | [
"Apache-2.0"
] | 221 | 2015-11-10T23:00:46.000Z | 2022-03-16T08:00:22.000Z | """
Copyright (c) 2016-2017 Dell Inc. or its subsidiaries. All Rights Reserved.
"""
def test_one_of_two_pass():
pass
def test_two_of_two_pass():
pass
| 13.5 | 75 | 0.697531 | 26 | 162 | 4.038462 | 0.692308 | 0.133333 | 0.171429 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061069 | 0.191358 | 162 | 11 | 76 | 14.727273 | 0.740458 | 0.462963 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 1 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ba0f54a32f7ec2ee8ddd70184152f9b526668ab1 | 9,493 | py | Python | tests/unittests/cli.py | wilzbach/storyscript-sls | d71d74a53852ebae54bdaab341678b04f2775411 | [
"Apache-2.0"
] | null | null | null | tests/unittests/cli.py | wilzbach/storyscript-sls | d71d74a53852ebae54bdaab341678b04f2775411 | [
"Apache-2.0"
] | null | null | null | tests/unittests/cli.py | wilzbach/storyscript-sls | d71d74a53852ebae54bdaab341678b04f2775411 | [
"Apache-2.0"
] | null | null | null | import json
from unittest.mock import call
import click
from click.testing import CliRunner
from pytest import fixture, mark
from sls import App, Cli
from sls.version import version
@fixture
def runner():
return CliRunner()
@fixture
def echo(patch):
patch.object(click, "echo")
return click.echo
@fi... | 29.758621 | 79 | 0.596123 | 1,269 | 9,493 | 4.283688 | 0.096139 | 0.064018 | 0.076527 | 0.06181 | 0.814202 | 0.786424 | 0.765269 | 0.721854 | 0.676784 | 0.674577 | 0 | 0.016839 | 0.236806 | 9,493 | 318 | 80 | 29.852201 | 0.733471 | 0.077215 | 0 | 0.543269 | 0 | 0 | 0.11553 | 0.002596 | 0 | 0 | 0 | 0 | 0.283654 | 1 | 0.120192 | false | 0 | 0.033654 | 0.004808 | 0.168269 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e8416a61f2b86bc72810d71126773a647eccb84d | 105 | py | Python | services/weblogic/__init__.py | claudijd/honeycomb_plugins | f25132812b5119259d8562117c93d1e57a74b920 | [
"MIT"
] | 24 | 2018-04-27T08:49:57.000Z | 2022-03-03T15:55:19.000Z | services/weblogic/__init__.py | claudijd/honeycomb_plugins | f25132812b5119259d8562117c93d1e57a74b920 | [
"MIT"
] | 353 | 2018-04-27T12:06:37.000Z | 2019-12-11T07:15:34.000Z | services/weblogic/__init__.py | claudijd/honeycomb_plugins | f25132812b5119259d8562117c93d1e57a74b920 | [
"MIT"
] | 12 | 2018-05-25T10:29:29.000Z | 2022-01-24T13:35:49.000Z | # -*- coding: utf-8 -*-
"""Honeycomb Oracle WebLogic Service."""
from __future__ import unicode_literals
| 26.25 | 40 | 0.72381 | 12 | 105 | 5.916667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.12381 | 105 | 3 | 41 | 35 | 0.76087 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e85b9c321a23c68ef0fb1b780ac525750b393583 | 88 | py | Python | sim-services/python/__init__.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 1 | 2020-12-24T22:00:01.000Z | 2020-12-24T22:00:01.000Z | sim-services/python/__init__.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | null | null | null | sim-services/python/__init__.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 3 | 2020-07-17T09:20:29.000Z | 2021-03-30T16:44:18.000Z | from icecube.load_pybindings import load_pybindings
load_pybindings(__name__, __path__)
| 29.333333 | 51 | 0.886364 | 11 | 88 | 6.090909 | 0.636364 | 0.626866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 88 | 2 | 52 | 44 | 0.817073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e87f1d2c7a3017b77c3ca9af54fdf6079f945022 | 32 | py | Python | python/testData/resolve/multiFile/importOsPath/yos/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/importOsPath/yos/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/importOsPath/yos/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def makedir(foo):
print foo
| 10.666667 | 17 | 0.65625 | 5 | 32 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 32 | 2 | 18 | 16 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e8b04fb8b4e29e9c9239239d686c5686a6380dab | 143 | py | Python | NSE/__init__.py | GamesBond008/NSE-India-Scrapper | 9963d1b99ee5557e61d6be329bf9f50444d2820a | [
"MIT"
] | 1 | 2021-06-01T19:36:42.000Z | 2021-06-01T19:36:42.000Z | NSE/__init__.py | GamesBond008/NSE-India-Scrapper | 9963d1b99ee5557e61d6be329bf9f50444d2820a | [
"MIT"
] | null | null | null | NSE/__init__.py | GamesBond008/NSE-India-Scrapper | 9963d1b99ee5557e61d6be329bf9f50444d2820a | [
"MIT"
] | null | null | null | import importlib.resources,json
with importlib.resources.path('NSE','ValidSymbols.json') as data_path:
ValidSymbols=json.load(open(data_path)) | 47.666667 | 70 | 0.818182 | 20 | 143 | 5.75 | 0.6 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048951 | 143 | 3 | 71 | 47.666667 | 0.845588 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa120f1d587d44b6452582ab91218f1c1599d8dc | 99 | py | Python | enthought/block_canvas/canvas/canvas_grid.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/block_canvas/canvas/canvas_grid.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/block_canvas/canvas/canvas_grid.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from blockcanvas.canvas.canvas_grid import *
| 24.75 | 44 | 0.848485 | 13 | 99 | 6 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 3 | 45 | 33 | 0.886364 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa64459d20607c8b78aff014dfb29c365986acea | 85 | py | Python | headbot/settings.py | headbot/headbot-python | adc4fb389821f771b8c916490fa85efa21d035f4 | [
"Apache-2.0"
] | null | null | null | headbot/settings.py | headbot/headbot-python | adc4fb389821f771b8c916490fa85efa21d035f4 | [
"Apache-2.0"
] | null | null | null | headbot/settings.py | headbot/headbot-python | adc4fb389821f771b8c916490fa85efa21d035f4 | [
"Apache-2.0"
] | null | null | null | import os
API_ROOT_URL = os.environ.get("API_ROOT_URL", "https://headbot.io/api/")
| 17 | 72 | 0.717647 | 15 | 85 | 3.8 | 0.666667 | 0.245614 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 4 | 73 | 21.25 | 0.74026 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d73013e758a6b0d272f2d2cfa80aa76f749bee78 | 2,360 | py | Python | google/cloud/servicemanagement_v1/types/__init__.py | LaudateCorpus1/python-service-management | ad49299424aefbaaef686c79af533058d5fa5b66 | [
"Apache-2.0"
] | 2 | 2021-10-07T02:24:31.000Z | 2021-11-04T07:19:04.000Z | google/cloud/servicemanagement_v1/types/__init__.py | LaudateCorpus1/python-service-management | ad49299424aefbaaef686c79af533058d5fa5b66 | [
"Apache-2.0"
] | 36 | 2021-03-25T16:02:45.000Z | 2022-03-07T16:49:58.000Z | google/cloud/servicemanagement_v1/types/__init__.py | LaudateCorpus1/python-service-management | ad49299424aefbaaef686c79af533058d5fa5b66 | [
"Apache-2.0"
] | 5 | 2021-03-26T13:18:08.000Z | 2022-01-29T08:13:29.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 27.764706 | 74 | 0.741525 | 162 | 2,360 | 10.777778 | 0.62963 | 0.034364 | 0.014891 | 0.018328 | 0.717068 | 0.717068 | 0.717068 | 0.717068 | 0.612829 | 0.612829 | 0 | 0.004663 | 0.182203 | 2,360 | 84 | 75 | 28.095238 | 0.9 | 0.241102 | 0 | 0 | 0 | 0 | 0.352676 | 0.236056 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d737c2717558809b91510eda2245d3e43d075769 | 221 | py | Python | NASA SPACEAPPS CHALLENGE/Solution/Software part/Astronomical Data and Python Libraries/Astropy/astropy-1.1.2/astropy/visualization/__init__.py | sahirsharma/Martian | 062e9b47849512863c16713811f347ad7e121b56 | [
"MIT"
] | null | null | null | NASA SPACEAPPS CHALLENGE/Solution/Software part/Astronomical Data and Python Libraries/Astropy/astropy-1.1.2/astropy/visualization/__init__.py | sahirsharma/Martian | 062e9b47849512863c16713811f347ad7e121b56 | [
"MIT"
] | null | null | null | NASA SPACEAPPS CHALLENGE/Solution/Software part/Astronomical Data and Python Libraries/Astropy/astropy-1.1.2/astropy/visualization/__init__.py | sahirsharma/Martian | 062e9b47849512863c16713811f347ad7e121b56 | [
"MIT"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
from .stretch import *
from .interval import *
from .transform import *
from .ui import *
from .mpl_style import *
from .hist import *
from .units import *
| 22.1 | 63 | 0.737557 | 33 | 221 | 4.909091 | 0.575758 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.180995 | 221 | 9 | 64 | 24.555556 | 0.889503 | 0.276018 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d74b43515a07aa4a4874227520a2a1f3d8be0b3a | 205 | py | Python | venv/Lib/site-packages/neuralnetwork/Sigmoid.py | GacinhoV33/VoiceAssistant | 3409cb630968dd9cd79abc5955a6e3f8df756622 | [
"MIT-CMU"
] | 1 | 2021-01-11T11:56:12.000Z | 2021-01-11T11:56:12.000Z | venv/Lib/site-packages/neuralnetwork/Sigmoid.py | GacinhoV33/VoiceAssistant | 3409cb630968dd9cd79abc5955a6e3f8df756622 | [
"MIT-CMU"
] | null | null | null | venv/Lib/site-packages/neuralnetwork/Sigmoid.py | GacinhoV33/VoiceAssistant | 3409cb630968dd9cd79abc5955a6e3f8df756622 | [
"MIT-CMU"
] | 1 | 2020-03-30T16:34:34.000Z | 2020-03-30T16:34:34.000Z | import math
class Sigmoid:
def getActivation(self,net):
return 1/(1+math.exp(-1 * net))
def getDerivative(self,net):
return self.getActivation(net) * (1 - self.getActivation(net)) | 25.625 | 70 | 0.653659 | 27 | 205 | 4.962963 | 0.444444 | 0.104478 | 0.19403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.209756 | 205 | 8 | 70 | 25.625 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
d74b912b79bc14049cd898fb009af55bb35ece44 | 30 | py | Python | src/django_core/settings/__init__.py | leonardon473/simplest-docker-django-example | b290ca0783b66a4c9ad1471f38b8ad128b6e1f91 | [
"MIT"
] | null | null | null | src/django_core/settings/__init__.py | leonardon473/simplest-docker-django-example | b290ca0783b66a4c9ad1471f38b8ad128b6e1f91 | [
"MIT"
] | null | null | null | src/django_core/settings/__init__.py | leonardon473/simplest-docker-django-example | b290ca0783b66a4c9ad1471f38b8ad128b6e1f91 | [
"MIT"
] | null | null | null | from .django import * # noqa
| 15 | 29 | 0.666667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 1 | 30 | 30 | 0.869565 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d75006bf81456c3e2b70a33490c2d271c627920a | 413 | py | Python | ms_deisotope/data_source/_vendor/masslynx/__init__.py | mstim/ms_deisotope | 29f4f466e92e66b65a2d21eca714aa627caa21db | [
"Apache-2.0"
] | 18 | 2017-09-01T12:26:12.000Z | 2022-02-23T02:31:29.000Z | ms_deisotope/data_source/_vendor/masslynx/__init__.py | mstim/ms_deisotope | 29f4f466e92e66b65a2d21eca714aa627caa21db | [
"Apache-2.0"
] | 19 | 2017-03-12T20:40:36.000Z | 2022-03-31T22:50:47.000Z | ms_deisotope/data_source/_vendor/masslynx/__init__.py | mstim/ms_deisotope | 29f4f466e92e66b65a2d21eca714aa627caa21db | [
"Apache-2.0"
] | 14 | 2016-05-06T02:25:30.000Z | 2022-03-31T14:40:06.000Z | # from .libload import proxy, register_dll, _register_dll
# from .loader import (MassLynxRawLoader, is_waters_raw_dir,
# determine_if_available, infer_reader,
# IndexEntry, Cycle)
# __all__ = [
# "proxy", "register_dll", "_register_dll",
# "MassLynxRawLoader", "is_wat... | 34.416667 | 60 | 0.644068 | 41 | 413 | 5.95122 | 0.487805 | 0.180328 | 0.131148 | 0.196721 | 0.852459 | 0.631148 | 0.631148 | 0.631148 | 0.631148 | 0.631148 | 0 | 0 | 0.234867 | 413 | 12 | 61 | 34.416667 | 0.772152 | 0.946731 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
d75a22b208b4f0acf7a33f0ee8733b1104c6ab51 | 124 | py | Python | messaging/admin.py | pabulumm/neighbors | 59f3f3ae727fe52c7897beaf73d157b02cdcb7a3 | [
"BSD-3-Clause"
] | null | null | null | messaging/admin.py | pabulumm/neighbors | 59f3f3ae727fe52c7897beaf73d157b02cdcb7a3 | [
"BSD-3-Clause"
] | null | null | null | messaging/admin.py | pabulumm/neighbors | 59f3f3ae727fe52c7897beaf73d157b02cdcb7a3 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Message,Alert
admin.site.register(Message)
admin.site.register(Alert)
| 20.666667 | 33 | 0.822581 | 18 | 124 | 5.666667 | 0.555556 | 0.176471 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08871 | 124 | 5 | 34 | 24.8 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d761f4c5f3d9510c38b21f178c089c9b84c2758b | 1,010 | py | Python | src/Caitrin/writeSASCodeLOL.py | networkdynamics/PuckIt | 08542c324440919960198eae4ca8855f2ac43134 | [
"Apache-2.0"
] | 1 | 2018-05-16T20:58:32.000Z | 2018-05-16T20:58:32.000Z | src/Caitrin/writeSASCodeLOL.py | networkdynamics/PuckIt | 08542c324440919960198eae4ca8855f2ac43134 | [
"Apache-2.0"
] | null | null | null | src/Caitrin/writeSASCodeLOL.py | networkdynamics/PuckIt | 08542c324440919960198eae4ca8855f2ac43134 | [
"Apache-2.0"
] | null | null | null | Xs = ["Year_Founded","Year_Joined_NHL","Franchise_Moved__Kind_of_invalid","Stadium_Capacity","VAR6","Number_of_Stanley_Cup_Wins","Last_Time_Won_Stanley_Cup","Number_of_Stanley_Cup_Finals_App","Most_Recent_Stanley_Cup_Finals_A","Last_Time_Made_Playoffs__Does_no","Number_of_Playoff_Appearances_ov","sum_playoff_lengths_5_... | 101 | 588 | 0.820792 | 152 | 1,010 | 4.848684 | 0.651316 | 0.097693 | 0.040706 | 0.048847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004154 | 0.046535 | 1,010 | 9 | 589 | 112.222222 | 0.761163 | 0 | 0 | 0 | 0 | 0.2 | 0.822772 | 0.477228 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d77740789e6229262866544bbdb94df57f189fd6 | 22 | py | Python | discum/science/__init__.py | firewood-b/Discord-S.C.U.M | 1beb8c25ab245a1389431a5206eafb9b4a95df0f | [
"MIT"
] | null | null | null | discum/science/__init__.py | firewood-b/Discord-S.C.U.M | 1beb8c25ab245a1389431a5206eafb9b4a95df0f | [
"MIT"
] | null | null | null | discum/science/__init__.py | firewood-b/Discord-S.C.U.M | 1beb8c25ab245a1389431a5206eafb9b4a95df0f | [
"MIT"
] | null | null | null | from .science import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d788dc51593f48859a158847d4ccd533fc6c177c | 21 | py | Python | neslter/parsing/ctd/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | 3 | 2019-01-24T16:32:50.000Z | 2021-11-05T02:18:12.000Z | neslter/parsing/ctd/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | 45 | 2019-05-23T15:15:32.000Z | 2022-03-15T14:09:20.000Z | neslter/parsing/ctd/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | null | null | null | from .api import Ctd
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ad541f30abcc65903bfb4338ea0e98817f2809ab | 242 | py | Python | openexplorer_old/exploration_campaign/__init__.py | uibcdf/PELE-OpenMM | 15100f6167ea8f2b5795cc7b90d8c5e852de1f57 | [
"MIT"
] | null | null | null | openexplorer_old/exploration_campaign/__init__.py | uibcdf/PELE-OpenMM | 15100f6167ea8f2b5795cc7b90d8c5e852de1f57 | [
"MIT"
] | null | null | null | openexplorer_old/exploration_campaign/__init__.py | uibcdf/PELE-OpenMM | 15100f6167ea8f2b5795cc7b90d8c5e852de1f57 | [
"MIT"
] | 1 | 2022-02-15T22:47:28.000Z | 2022-02-15T22:47:28.000Z | from .montecarlo import MonteCarlo
from .montecarlo_minimization import MonteCarloMinimization
#from .basinhopping import BasinHopping
from .quench_and_restore import QuenchAndRestore
from .successive_confinement import SuccessiveConfinement
| 40.333333 | 59 | 0.892562 | 24 | 242 | 8.833333 | 0.541667 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 242 | 5 | 60 | 48.4 | 0.954955 | 0.157025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ad77ffd04f0d55291232ee0e4bf9aeeb707b095e | 6,056 | py | Python | tests/test_contagion.py | lucasmccabe/contagion | b692f03f142e6b94e0d5a271bb689589ae891e7d | [
"MIT"
] | 1 | 2021-05-05T20:52:12.000Z | 2021-05-05T20:52:12.000Z | tests/test_contagion.py | lucasmccabe/contagion | b692f03f142e6b94e0d5a271bb689589ae891e7d | [
"MIT"
] | null | null | null | tests/test_contagion.py | lucasmccabe/contagion | b692f03f142e6b94e0d5a271bb689589ae891e7d | [
"MIT"
] | null | null | null | import sys
import copy
import unittest
import numpy as np
import networkx as nx
sys.path.append("..")
from contagion import contagion
class TestContagion(unittest.TestCase):
def test_init_In(self):
"""
Tests initialization of Infected compartment.
"""
G = nx.barabasi_albert_graph(... | 31.541667 | 79 | 0.588838 | 687 | 6,056 | 5.004367 | 0.173217 | 0.028505 | 0.044793 | 0.069226 | 0.741419 | 0.700407 | 0.700407 | 0.700407 | 0.659104 | 0.605585 | 0 | 0.038359 | 0.315555 | 6,056 | 191 | 80 | 31.706806 | 0.791074 | 0.128633 | 0 | 0.705426 | 0 | 0 | 0.002022 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 1 | 0.108527 | false | 0 | 0.046512 | 0 | 0.162791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad7d63f28cfc61172c28b5903dd114afd04f8eda | 200 | py | Python | filemanager/signals.py | code-assassin/django-filemanager | 69950c786348bec619f060e3131f49eb7f2e58c5 | [
"BSD-3-Clause"
] | 12 | 2016-04-02T06:02:20.000Z | 2021-11-18T18:49:08.000Z | filemanager/signals.py | code-assassin/django-filemanager | 69950c786348bec619f060e3131f49eb7f2e58c5 | [
"BSD-3-Clause"
] | 3 | 2015-06-02T08:28:29.000Z | 2016-01-08T16:09:24.000Z | filemanager/signals.py | code-assassin/django-filemanager | 69950c786348bec619f060e3131f49eb7f2e58c5 | [
"BSD-3-Clause"
] | 9 | 2015-04-21T05:07:20.000Z | 2021-05-14T14:11:16.000Z | from django.dispatch import Signal
filemanager_pre_upload = Signal(providing_args=["filename", "path", "filepath"])
filemanager_post_upload = Signal(providing_args=["filename", "path", "filepath"])
| 33.333333 | 81 | 0.775 | 23 | 200 | 6.478261 | 0.608696 | 0.161074 | 0.281879 | 0.33557 | 0.604027 | 0.604027 | 0.604027 | 0 | 0 | 0 | 0 | 0 | 0.08 | 200 | 5 | 82 | 40 | 0.809783 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ad8c4d033aaf99350905356196be6ed9b4b0aebc | 244 | py | Python | mini_project/Classroom/views.py | op3ntrap/SMUMinipoject | 7b5727faecc0454661baf4dba3149db05de2f3ef | [
"MIT"
] | null | null | null | mini_project/Classroom/views.py | op3ntrap/SMUMinipoject | 7b5727faecc0454661baf4dba3149db05de2f3ef | [
"MIT"
] | 6 | 2020-02-11T23:29:09.000Z | 2021-06-10T18:51:47.000Z | mini_project/Classroom/views.py | op3ntrap/SMUMinipoject | 7b5727faecc0454661baf4dba3149db05de2f3ef | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect, render_to_response
from django.http import HttpResponse
from django.contrib.auth import logout as auth_logout
from django.contrib.auth.decorators import login_required
# Create your views here.
| 27.111111 | 65 | 0.840164 | 35 | 244 | 5.742857 | 0.6 | 0.199005 | 0.169154 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 244 | 8 | 66 | 30.5 | 0.930556 | 0.094262 | 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 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ad8fe935e29b7d655cc14b46dc579cdb4b2e37ff | 113 | py | Python | multi_task/config/__init__.py | mydkzgj/esm | 2170d436af021188f233fa88a233959c61bd1f23 | [
"MIT"
] | null | null | null | multi_task/config/__init__.py | mydkzgj/esm | 2170d436af021188f233fa88a233959c61bd1f23 | [
"MIT"
] | null | null | null | multi_task/config/__init__.py | mydkzgj/esm | 2170d436af021188f233fa88a233959c61bd1f23 | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
@author: Jiayang Chen
@contact: yjcmydkzgj@gmail.com
"""
from .defaults import _C as cfg
| 14.125 | 31 | 0.699115 | 16 | 113 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.159292 | 113 | 7 | 32 | 16.142857 | 0.810526 | 0.619469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a8dd849fd9e6c30288642083c73d8528211ad3c4 | 199 | py | Python | presentation/code/duck.py | jrahm/DuckTest | 6a7ff76765d96d57764f5d88b94f676c7fbe1544 | [
"BSD-2-Clause"
] | null | null | null | presentation/code/duck.py | jrahm/DuckTest | 6a7ff76765d96d57764f5d88b94f676c7fbe1544 | [
"BSD-2-Clause"
] | null | null | null | presentation/code/duck.py | jrahm/DuckTest | 6a7ff76765d96d57764f5d88b94f676c7fbe1544 | [
"BSD-2-Clause"
] | null | null | null | class Duck:
def __init__(self):
print("Duck!")
def walk(self):
print("Waddle")
def quack(self):
print("Quack!")
def feathers(self):
print("Ruffle")
| 15.307692 | 23 | 0.517588 | 22 | 199 | 4.5 | 0.5 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326633 | 199 | 12 | 24 | 16.583333 | 0.738806 | 0 | 0 | 0 | 0 | 0 | 0.115578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0 | 0.555556 | 0.444444 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 5 |
d109549f1ad38c6e2afb6a58b737dbafd0424ec1 | 206 | py | Python | monoport/lib/modeling/backbones/__init__.py | ArshdeepSahni/MonoPort | a67fdc02b4fb45b3cc187aa4ae34053574d0383c | [
"Unlicense"
] | 1 | 2021-01-15T09:42:29.000Z | 2021-01-15T09:42:29.000Z | monoport/lib/modeling/backbones/__init__.py | ArshdeepSahni/MonoPort | a67fdc02b4fb45b3cc187aa4ae34053574d0383c | [
"Unlicense"
] | null | null | null | monoport/lib/modeling/backbones/__init__.py | ArshdeepSahni/MonoPort | a67fdc02b4fb45b3cc187aa4ae34053574d0383c | [
"Unlicense"
] | null | null | null | from .HGFilters import HGFilter, PIFuHGFilters
from .ResBlkFilters import ResnetFilter, PIFuResBlkFilters
from .Yolov4Filters import Yolov4Filters
from .HRNetFilters import HRNetV2_W18_small_v2_balance_last | 51.5 | 59 | 0.88835 | 23 | 206 | 7.73913 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.082524 | 206 | 4 | 59 | 51.5 | 0.910053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d1386fb21a9d2cc73a2270c7779851ad0bff96d1 | 8,425 | py | Python | LiquorStore/models.py | CPU-sangoma/PlentyPot | 27e326f61e57746f5ca6701358d86c01b4a9ee31 | [
"MIT"
] | null | null | null | LiquorStore/models.py | CPU-sangoma/PlentyPot | 27e326f61e57746f5ca6701358d86c01b4a9ee31 | [
"MIT"
] | null | null | null | LiquorStore/models.py | CPU-sangoma/PlentyPot | 27e326f61e57746f5ca6701358d86c01b4a9ee31 | [
"MIT"
] | null | null | null | from django.db import models
from profiles.models import BusinessProfile
class LiquorHomePageModel(models.Model):
bannerImage = models.ImageField(verbose_name="upload a big banner Image for your Home Page",upload_to="LiquorStore/LiquorHome/", height_field=None, width_field=None, max_length=None,null=True,blank=... | 102.743902 | 208 | 0.794659 | 1,154 | 8,425 | 5.660312 | 0.116118 | 0.068892 | 0.088028 | 0.103337 | 0.87722 | 0.87722 | 0.87722 | 0.638089 | 0.483313 | 0.483313 | 0 | 0.006792 | 0.091276 | 8,425 | 81 | 209 | 104.012346 | 0.846395 | 0 | 0 | 0.123077 | 0 | 0 | 0.295549 | 0.068249 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.030769 | 0.030769 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0f02080bc075cbc4491b688fae5a41484c653235 | 220 | py | Python | gallery/templatetags/spaces.py | mattmc318/coolwater-creations | a9ef97c39febaf28e3291d83a0a5022238204f8f | [
"MIT"
] | null | null | null | gallery/templatetags/spaces.py | mattmc318/coolwater-creations | a9ef97c39febaf28e3291d83a0a5022238204f8f | [
"MIT"
] | 3 | 2020-06-09T01:29:36.000Z | 2020-07-21T01:53:16.000Z | gallery/templatetags/spaces.py | mattmc318/coolwater-creations | a9ef97c39febaf28e3291d83a0a5022238204f8f | [
"MIT"
] | null | null | null | import re
from django.template import Library
from django.template.defaultfilters import stringfilter
register = Library()
@stringfilter
def spaces(value):
return re.sub('\s+', ' ', value)
register.filter(spaces)
| 18.333333 | 55 | 0.759091 | 27 | 220 | 6.185185 | 0.592593 | 0.11976 | 0.215569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131818 | 220 | 11 | 56 | 20 | 0.874346 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.625 | 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 | 1 | 1 | 1 | 0 | 0 | 5 |
0f5cc8c44b3863951472058ba105f53581bcbad9 | 27 | py | Python | py/desitest/_version.py | sbailey/desitest | 9f39999bc71b15ac8fc9bc864c12def8ee210218 | [
"BSD-3-Clause"
] | null | null | null | py/desitest/_version.py | sbailey/desitest | 9f39999bc71b15ac8fc9bc864c12def8ee210218 | [
"BSD-3-Clause"
] | 33 | 2018-01-10T22:24:06.000Z | 2022-02-02T00:59:09.000Z | py/desitest/_version.py | sbailey/desitest | 9f39999bc71b15ac8fc9bc864c12def8ee210218 | [
"BSD-3-Clause"
] | 1 | 2019-05-17T15:37:08.000Z | 2019-05-17T15:37:08.000Z | __version__ = '20.4.dev58'
| 13.5 | 26 | 0.703704 | 4 | 27 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7e71df8f88193c74251ea533da63e0ae86edcc3f | 156 | py | Python | django_project/bucket_list/filters.py | ugauniyal/Bucket-List-App | 03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f | [
"MIT"
] | null | null | null | django_project/bucket_list/filters.py | ugauniyal/Bucket-List-App | 03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f | [
"MIT"
] | null | null | null | django_project/bucket_list/filters.py | ugauniyal/Bucket-List-App | 03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f | [
"MIT"
] | null | null | null | import django_filters
from .models import *
class TaskFilter(django_filters.FilterSet):
class Meta:
model = Task
fields = ('category',) | 22.285714 | 43 | 0.679487 | 17 | 156 | 6.117647 | 0.764706 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 156 | 7 | 44 | 22.285714 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.050955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7eab9aede48823942fce3d6fb1226a64b3a66e27 | 2,157 | py | Python | test/test_cannon.py | PetrSpacek/angrylikegame-python-pyqt5 | 2ddc73fb5b4398117c3a83593632408b4b44e246 | [
"MIT"
] | 2 | 2020-01-17T10:43:13.000Z | 2021-11-21T14:56:53.000Z | test/test_cannon.py | PetrSpacek/angrylikegame-python-pyqt5 | 2ddc73fb5b4398117c3a83593632408b4b44e246 | [
"MIT"
] | null | null | null | test/test_cannon.py | PetrSpacek/angrylikegame-python-pyqt5 | 2ddc73fb5b4398117c3a83593632408b4b44e246 | [
"MIT"
] | null | null | null | from model.game_info import GameInfoA
from utils.game_object_factory import GameObjectFactoryA
from utils.geometry import Position
def test_shooting_mode_toggle(qtbot):
factory = GameObjectFactoryA()
cannon = factory.create_cannon(Position(0,0))
orig_shooting_mode = cannon.active_shooting_mode
# Switc... | 37.842105 | 85 | 0.731108 | 281 | 2,157 | 5.384342 | 0.16726 | 0.150694 | 0.099141 | 0.111038 | 0.79577 | 0.778586 | 0.756114 | 0.732981 | 0.732981 | 0.732981 | 0 | 0.021873 | 0.173389 | 2,157 | 57 | 86 | 37.842105 | 0.826697 | 0.030598 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.38 | 1 | 0.06 | false | 0 | 0.06 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7eaff1377f5a9d71cc3b2f583c44ce038fb89a35 | 69 | py | Python | example/test/core/geometry/simple/usphere/__init__.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | example/test/core/geometry/simple/usphere/__init__.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | example/test/core/geometry/simple/usphere/__init__.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | #__name__ = "box"
#__package__ = "box"
#__all__ = ['unit']
| 13.8 | 23 | 0.521739 | 6 | 69 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 69 | 4 | 24 | 17.25 | 0.48 | 0.84058 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e324adfb68a15219fdda5f4571b74612c114fa6 | 62 | py | Python | flaskr/config.py | Mishuni/Flask_Practice | ac3c94bd7eb185ee655892b50a4d4881def9a373 | [
"MIT"
] | null | null | null | flaskr/config.py | Mishuni/Flask_Practice | ac3c94bd7eb185ee655892b50a4d4881def9a373 | [
"MIT"
] | null | null | null | flaskr/config.py | Mishuni/Flask_Practice | ac3c94bd7eb185ee655892b50a4d4881def9a373 | [
"MIT"
] | null | null | null | SECRET_KEY = b"'@,\xf6\x9d\xd3\xfa\x80<r\xb9\xa3\x91\x19\xd2h" | 62 | 62 | 0.693548 | 14 | 62 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.032258 | 62 | 1 | 62 | 62 | 0.5 | 0 | 0 | 0 | 0 | 1 | 0.730159 | 0.730159 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e5119adc054321d769fbd53fbc56983fef684ba | 126 | py | Python | backend/users/models.py | iron-claw-972/ScoutingApp2022 | 4bc12bccb45225717b1ed94e7dcf593c7a8e0c83 | [
"MIT"
] | null | null | null | backend/users/models.py | iron-claw-972/ScoutingApp2022 | 4bc12bccb45225717b1ed94e7dcf593c7a8e0c83 | [
"MIT"
] | 8 | 2022-01-10T22:01:11.000Z | 2022-01-25T02:35:15.000Z | backend/users/models.py | iron-claw-972/ScoutingApp2022 | 4bc12bccb45225717b1ed94e7dcf593c7a8e0c83 | [
"MIT"
] | 2 | 2022-02-05T00:06:39.000Z | 2022-02-19T20:18:56.000Z | from django.db import models
from django.contrib.auth.models import AbstractUser
class CustomUser(AbstractUser):
pass | 25.2 | 52 | 0.793651 | 16 | 126 | 6.25 | 0.6875 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 126 | 5 | 53 | 25.2 | 0.934579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
0e598afac02e98ebd703ac728c779f86dd114b80 | 48 | py | Python | Tools/MagicPanels/panelBackOut.py | dprojects/Woodworking | 24420b248e3343a387ae1328fc6dcbf97e433242 | [
"MIT"
] | 6 | 2022-02-25T19:11:40.000Z | 2022-03-24T22:03:47.000Z | Tools/MagicPanels/panelBackOut.py | dprojects/Woodworking | 24420b248e3343a387ae1328fc6dcbf97e433242 | [
"MIT"
] | 1 | 2022-03-13T09:35:22.000Z | 2022-03-13T13:30:36.000Z | Tools/MagicPanels/panelBackOut.py | dprojects/Woodworking | 24420b248e3343a387ae1328fc6dcbf97e433242 | [
"MIT"
] | 3 | 2022-02-26T15:01:08.000Z | 2022-03-20T21:30:04.000Z | import MagicPanels
MagicPanels.panelBackOut()
| 9.6 | 26 | 0.833333 | 4 | 48 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 4 | 27 | 12 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0e95632a162bf60bdcb0cb5221fbb686ad20a62a | 91 | py | Python | precis/templating/__init__.py | rukmal/precis | 0329a0b4a67d996a2b573e3870a509ae92f2c051 | [
"MIT"
] | null | null | null | precis/templating/__init__.py | rukmal/precis | 0329a0b4a67d996a2b573e3870a509ae92f2c051 | [
"MIT"
] | 12 | 2019-04-09T03:42:52.000Z | 2021-11-16T00:33:36.000Z | precis/templating/__init__.py | rukmal/precis | 0329a0b4a67d996a2b573e3870a509ae92f2c051 | [
"MIT"
] | null | null | null | from . import util
from .driver import TemplateDriver
from .template import PrecisTemplate
| 22.75 | 36 | 0.835165 | 11 | 91 | 6.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 37 | 30.333333 | 0.962025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0e9cd3f34f4a868090a05ca7564d5c3a9f860156 | 103 | py | Python | markov.py | jshap70/jarbot | 9004cfa262d492281840f50632ee7bd40420739b | [
"MIT"
] | null | null | null | markov.py | jshap70/jarbot | 9004cfa262d492281840f50632ee7bd40420739b | [
"MIT"
] | null | null | null | markov.py | jshap70/jarbot | 9004cfa262d492281840f50632ee7bd40420739b | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Interface module to markov framework
"""
# global imports
import markovify
| 12.875 | 36 | 0.737864 | 13 | 103 | 5.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.145631 | 103 | 7 | 37 | 14.714286 | 0.852273 | 0.708738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7eba18ac0cd019d89fefcb1bea3af02bf84ebeb3 | 812 | py | Python | util/common.py | agibli/sansapp | e87dffd81ec709172c25a7729fdf713feaac3a78 | [
"MIT"
] | 11 | 2016-05-10T06:22:14.000Z | 2022-02-01T15:53:54.000Z | util/common.py | agibli/sansapp | e87dffd81ec709172c25a7729fdf713feaac3a78 | [
"MIT"
] | 2 | 2015-06-01T05:05:52.000Z | 2016-04-27T05:17:16.000Z | util/common.py | agibli/sansapp | e87dffd81ec709172c25a7729fdf713feaac3a78 | [
"MIT"
] | 5 | 2016-04-26T08:20:47.000Z | 2021-08-09T07:07:54.000Z | import struct
def be_word4(buf):
return struct.unpack(">L", buf)[0]
def le_word4(buf):
return struct.unpack("<L", buf)[0]
def be_word8(buf):
return struct.unpack(">Q", buf)[0]
def le_word8(buf):
return struct.unpack("<Q", buf)[0]
def be_read4(stream):
return struct.unpack(">L", stream.read... | 17.276596 | 50 | 0.619458 | 124 | 812 | 3.975806 | 0.241935 | 0.194726 | 0.292089 | 0.170385 | 0.640974 | 0.640974 | 0.640974 | 0.640974 | 0.640974 | 0.365112 | 0 | 0.03864 | 0.203202 | 812 | 46 | 51 | 17.652174 | 0.723338 | 0 | 0 | 0.076923 | 0 | 0 | 0.022167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.038462 | 0.346154 | 0.807692 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7d49a13b89e511282e7692c8272b01862de1fb4c | 36 | py | Python | lib/ancientsolutions/__init__.py | caoimhechaos/py-ancientsolutions-crypttools | 6ea317b2e291113524eb8b4aae74c0077550e36c | [
"BSD-2-Clause"
] | null | null | null | lib/ancientsolutions/__init__.py | caoimhechaos/py-ancientsolutions-crypttools | 6ea317b2e291113524eb8b4aae74c0077550e36c | [
"BSD-2-Clause"
] | null | null | null | lib/ancientsolutions/__init__.py | caoimhechaos/py-ancientsolutions-crypttools | 6ea317b2e291113524eb8b4aae74c0077550e36c | [
"BSD-2-Clause"
] | null | null | null | # __init__.py for ancientsolutions.
| 18 | 35 | 0.805556 | 4 | 36 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.78125 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bc02f7fb94c8be0a06bb883519d4dc703782d507 | 10,436 | py | Python | gitinsights/tests/unit/test_ado_services.py | nmiodice/git-insights | 5667615a152dc5b1c6b2481fe9d6ca6e3de082fa | [
"MIT"
] | null | null | null | gitinsights/tests/unit/test_ado_services.py | nmiodice/git-insights | 5667615a152dc5b1c6b2481fe9d6ca6e3de082fa | [
"MIT"
] | null | null | null | gitinsights/tests/unit/test_ado_services.py | nmiodice/git-insights | 5667615a152dc5b1c6b2481fe9d6ca6e3de082fa | [
"MIT"
] | null | null | null | import json
import os
from unittest import TestCase
from unittest.mock import Mock
from unittest.mock import patch
import pandas as pd
from gitinsights.mods.ado_client import AzureDevopsInsights
def loadMockFile(filePath: str):
with open(os.path.join(os.path.dirname(__file__), filePath)) as f:
return js... | 54.638743 | 170 | 0.694423 | 1,071 | 10,436 | 6.596639 | 0.152194 | 0.112527 | 0.107006 | 0.124841 | 0.752866 | 0.740127 | 0.728238 | 0.718613 | 0.713234 | 0.699363 | 0 | 0.025104 | 0.171713 | 10,436 | 190 | 171 | 54.926316 | 0.792226 | 0.027693 | 0 | 0.559748 | 0 | 0 | 0.245612 | 0.146914 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.062893 | false | 0 | 0.044025 | 0.006289 | 0.125786 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bc1326f1d890abe2d582bc9bfbb791f589100409 | 553 | py | Python | services/match.py | nayfaan/Wordle_Analyzer | 1efba591a0c6243c06f97101bdf2827e39b910f3 | [
"MIT"
] | null | null | null | services/match.py | nayfaan/Wordle_Analyzer | 1efba591a0c6243c06f97101bdf2827e39b910f3 | [
"MIT"
] | null | null | null | services/match.py | nayfaan/Wordle_Analyzer | 1efba591a0c6243c06f97101bdf2827e39b910f3 | [
"MIT"
] | null | null | null | class match:
def __init__(self, comb):
self.comb = comb
self.cover = self.__cover__()
'''def __eq__(self, other):
return self.comb == self.comb
def __gt__(self, other):
return self.comb > self.comb
def __hash__(self):
return hash((self.w1, self.w2))... | 24.043478 | 60 | 0.549729 | 65 | 553 | 4.123077 | 0.353846 | 0.238806 | 0.134328 | 0.179104 | 0.253731 | 0.253731 | 0.253731 | 0.253731 | 0 | 0 | 0 | 0.005208 | 0.305606 | 553 | 23 | 61 | 24.043478 | 0.692708 | 0 | 0 | 0 | 0 | 0 | 0.034682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0 | 0.090909 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
70da3268298b169368477d1e02d18ba27f175180 | 127 | py | Python | katas/kyu_6/simple_sentences.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_6/simple_sentences.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_6/simple_sentences.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def make_sentences(parts):
return '{}.'.format(
''.join(' ' + a if a.isalnum() else a for a in parts).strip(' .'))
| 31.75 | 74 | 0.551181 | 18 | 127 | 3.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228346 | 127 | 3 | 75 | 42.333333 | 0.704082 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
cb24e33b93aef758d0d7d5d66724e37d67f23b56 | 106 | py | Python | projects/ISTR/istr/__init__.py | braindevices/ISTR | 520b0d410ba8be5dbf53971d962b0bfcf072a7c0 | [
"Apache-2.0"
] | 171 | 2021-05-04T02:44:01.000Z | 2022-03-28T09:58:29.000Z | projects/ISTR/istr/__init__.py | braindevices/ISTR | 520b0d410ba8be5dbf53971d962b0bfcf072a7c0 | [
"Apache-2.0"
] | 10 | 2021-05-09T16:04:43.000Z | 2021-12-03T01:21:44.000Z | projects/ISTR/istr/__init__.py | braindevices/ISTR | 520b0d410ba8be5dbf53971d962b0bfcf072a7c0 | [
"Apache-2.0"
] | 21 | 2021-05-04T02:47:57.000Z | 2022-01-06T07:34:24.000Z | from .config import add_ISTR_config
from .inseg import ISTR
from .dataset_mapper import ISTRDatasetMapper
| 26.5 | 45 | 0.858491 | 15 | 106 | 5.866667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 3 | 46 | 35.333333 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb27794b61c2afee8f678401b1e88cc23b563de6 | 42 | py | Python | grortir/test/externals/__init__.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | grortir/test/externals/__init__.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | grortir/test/externals/__init__.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | """Package for test externals package."""
| 21 | 41 | 0.714286 | 5 | 42 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.810811 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cb6c3a0c44e201c452bf3d59c3d8d0e67163cd7d | 59 | py | Python | tests/test.py | rokujyouhitoma/cysqlite3 | 56d7a1974724a1dbfca0b75660db7ed46060ed89 | [
"MIT"
] | null | null | null | tests/test.py | rokujyouhitoma/cysqlite3 | 56d7a1974724a1dbfca0b75660db7ed46060ed89 | [
"MIT"
] | null | null | null | tests/test.py | rokujyouhitoma/cysqlite3 | 56d7a1974724a1dbfca0b75660db7ed46060ed89 | [
"MIT"
] | null | null | null | import pyximport; pyximport.install()
import test_sqlite3
| 14.75 | 37 | 0.830508 | 7 | 59 | 6.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.101695 | 59 | 3 | 38 | 19.666667 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cbcf058bc586d539f01f6b2b3270fd90c02e4801 | 3,514 | py | Python | python/fbs/SymmetricStateMatrix.py | oliverlee/biketest | 074b0b03455021c52a13efe583b1816bc5daad4e | [
"BSD-2-Clause"
] | 3 | 2016-12-14T01:22:27.000Z | 2020-04-07T05:15:04.000Z | python/fbs/SymmetricStateMatrix.py | oliverlee/biketest | 074b0b03455021c52a13efe583b1816bc5daad4e | [
"BSD-2-Clause"
] | 7 | 2017-01-12T15:20:57.000Z | 2017-07-02T16:09:37.000Z | python/fbs/SymmetricStateMatrix.py | oliverlee/biketest | 074b0b03455021c52a13efe583b1816bc5daad4e | [
"BSD-2-Clause"
] | 1 | 2020-04-07T05:15:05.000Z | 2020-04-07T05:15:05.000Z | # automatically generated, do not modify
# namespace: fbs
import flatbuffers
class SymmetricStateMatrix(object):
__slots__ = ['_tab']
# SymmetricStateMatrix
def Init(self, buf, pos):
self._tab = flatbuffers.table.Table(buf, pos)
# SymmetricStateMatrix
def Q00(self): return self._tab.Get... | 55.777778 | 147 | 0.7749 | 427 | 3,514 | 6.187354 | 0.149883 | 0.082135 | 0.249811 | 0.096518 | 0.596139 | 0.596139 | 0.596139 | 0.596139 | 0.596139 | 0.596139 | 0 | 0.059297 | 0.116961 | 3,514 | 62 | 148 | 56.677419 | 0.792137 | 0.1107 | 0 | 0 | 1 | 0 | 0.001288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.447368 | false | 0 | 0.026316 | 0.394737 | 0.552632 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1dbd902b3e1d94479e72f35dea53f2b01b463e5d | 59 | py | Python | tests/tests_setups/colreqs_test/test_collect_reqs_latest_SHOULD_exclude_repoassist_reqs_properly/mod.py | DamianPala/pyrepogen | 1626d13875083b4d005b4ae5d68ac35a9879a464 | [
"MIT"
] | null | null | null | tests/tests_setups/colreqs_test/test_collect_reqs_latest_SHOULD_exclude_repoassist_reqs_properly/mod.py | DamianPala/pyrepogen | 1626d13875083b4d005b4ae5d68ac35a9879a464 | [
"MIT"
] | null | null | null | tests/tests_setups/colreqs_test/test_collect_reqs_latest_SHOULD_exclude_repoassist_reqs_properly/mod.py | DamianPala/pyrepogen | 1626d13875083b4d005b4ae5d68ac35a9879a464 | [
"MIT"
] | null | null | null |
import pytest
@pytest.mark.skip
def test_dump():
pass | 9.833333 | 17 | 0.711864 | 9 | 59 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 6 | 18 | 9.833333 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1dcbca3f876551a0f6b8746ec5aacc31020ebe97 | 183 | py | Python | pyapp_ext/messaging/sio/checks.py | pyapp-org/pyapp-messaging | 159dede0d9a9823997dd37641cc2f46b139d24e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-21T18:27:23.000Z | 2021-02-21T18:27:23.000Z | pyapp_ext/messaging/sio/checks.py | pyapp-org/pyapp-messaging | 159dede0d9a9823997dd37641cc2f46b139d24e3 | [
"BSD-3-Clause"
] | 22 | 2020-07-31T05:06:51.000Z | 2022-02-14T00:03:03.000Z | pyapp_ext/messaging/sio/checks.py | pyapp-org/pyapp-messaging | 159dede0d9a9823997dd37641cc2f46b139d24e3 | [
"BSD-3-Clause"
] | null | null | null | from pyapp.checks.registry import register
from .factory import message_sender_factory, message_receiver_factory
register(message_sender_factory)
register(message_receiver_factory)
| 26.142857 | 69 | 0.885246 | 23 | 183 | 6.695652 | 0.434783 | 0.168831 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071038 | 183 | 6 | 70 | 30.5 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
382444817ccbd09ece3a6ee4a1dee1140c214bfe | 117 | py | Python | meniscus/data/handlers/elasticsearch/__init__.py | ProjectMeniscus/meniscus | 1df9efe33ead702d0f53dfc227b5da385ba9cf23 | [
"Apache-2.0"
] | 12 | 2015-01-14T03:40:05.000Z | 2018-08-20T13:19:07.000Z | meniscus/data/handlers/elasticsearch/__init__.py | ProjectMeniscus/meniscus | 1df9efe33ead702d0f53dfc227b5da385ba9cf23 | [
"Apache-2.0"
] | 1 | 2015-07-02T17:03:47.000Z | 2015-07-02T17:03:47.000Z | meniscus/data/handlers/elasticsearch/__init__.py | ProjectMeniscus/meniscus | 1df9efe33ead702d0f53dfc227b5da385ba9cf23 | [
"Apache-2.0"
] | 4 | 2015-05-12T12:04:44.000Z | 2020-11-17T19:08:43.000Z | #hoist get_handler method into package namespace
from meniscus.data.handlers.elasticsearch.driver import get_handler
| 39 | 67 | 0.871795 | 16 | 117 | 6.25 | 0.875 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 117 | 2 | 68 | 58.5 | 0.934579 | 0.401709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
69dd4a866acdb6c0fdc9faf4d74dd58e63acda10 | 2,390 | py | Python | py-rest-client/test/test_products_l0_dist_api.py | ausseabed/product-catalogue | 3deca0301298efe22d7b61028683254ac3bd3c66 | [
"Apache-2.0"
] | null | null | null | py-rest-client/test/test_products_l0_dist_api.py | ausseabed/product-catalogue | 3deca0301298efe22d7b61028683254ac3bd3c66 | [
"Apache-2.0"
] | 4 | 2022-02-13T10:48:44.000Z | 2022-03-02T21:22:04.000Z | py-rest-client/test/test_products_l0_dist_api.py | ausseabed/product-catalogue | 3deca0301298efe22d7b61028683254ac3bd3c66 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
AusSeabed product catalogue
The API description for the Ausseabed product catalogue inventory # noqa: E501
The version of the OpenAPI document: 0.2.2
Contact: AusSeabed@ga.gov.au
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import... | 25.157895 | 110 | 0.71841 | 295 | 2,390 | 5.342373 | 0.220339 | 0.139594 | 0.195431 | 0.304569 | 0.713198 | 0.695431 | 0.648477 | 0.648477 | 0.423858 | 0.119289 | 0 | 0.020867 | 0.217992 | 2,390 | 94 | 111 | 25.425532 | 0.822365 | 0.396234 | 0 | 0.34375 | 0 | 0 | 0.005891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.34375 | 0.15625 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
0e12818f898714380cb5fd3cab7d431aeacfc7f7 | 345 | py | Python | stubs/resizeimage/resizeimage.py | tiliado/fxwebgen | 5d1c5120b27fc13b6b45ee4e0017771271c3c3e0 | [
"BSD-2-Clause"
] | null | null | null | stubs/resizeimage/resizeimage.py | tiliado/fxwebgen | 5d1c5120b27fc13b6b45ee4e0017771271c3c3e0 | [
"BSD-2-Clause"
] | 13 | 2018-08-06T15:25:50.000Z | 2019-04-14T14:09:22.000Z | stubs/resizeimage/resizeimage.py | tiliado/fxwebgen | 5d1c5120b27fc13b6b45ee4e0017771271c3c3e0 | [
"BSD-2-Clause"
] | null | null | null | from typing import Union, Tuple, List
from PIL.Image import Image
def resize_width(image: Image, size: Union[int, Tuple[int, int], List[int]]) -> Image: ...
def resize_height(image: Image, size: Union[int, Tuple[int, int], List[int]]) -> Image: ...
def resize_thumbnail(image: Image, size: Union[int, Tuple[int, int], L... | 49.285714 | 94 | 0.689855 | 53 | 345 | 4.433962 | 0.283019 | 0.102128 | 0.178723 | 0.242553 | 0.651064 | 0.651064 | 0.651064 | 0.651064 | 0.651064 | 0.651064 | 0 | 0 | 0.127536 | 345 | 6 | 95 | 57.5 | 0.780731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.6 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
38b0c0abf965823ba4d857c58f57de8c41d5ad29 | 2,374 | py | Python | tests/cli/97_test_site_update.py | zorrobyte/easyengine | a37396d0c941ef363c6a297876582ddcc37ed55b | [
"MIT"
] | 2 | 2015-09-06T13:18:36.000Z | 2019-02-13T09:00:56.000Z | tests/cli/97_test_site_update.py | zorrobyte/easyengine | a37396d0c941ef363c6a297876582ddcc37ed55b | [
"MIT"
] | 1 | 2020-10-27T19:47:50.000Z | 2020-10-27T19:47:50.000Z | tests/cli/97_test_site_update.py | zorrobyte/easyengine | a37396d0c941ef363c6a297876582ddcc37ed55b | [
"MIT"
] | null | null | null | from ee.utils import test
from ee.cli.main import get_test_app
class CliTestCaseSite(test.EETestCase):
def test_ee_cli(self):
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_html(self):
self.app = get_test_app(argv=['site', 'update', 'example2.com... | 32.081081 | 71 | 0.508846 | 283 | 2,374 | 4.031802 | 0.134276 | 0.239264 | 0.087642 | 0.105171 | 0.776512 | 0.776512 | 0.776512 | 0.776512 | 0.776512 | 0.531989 | 0 | 0.007079 | 0.345409 | 2,374 | 73 | 72 | 32.520548 | 0.727156 | 0 | 0 | 0.557377 | 0 | 0 | 0.10952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163934 | false | 0 | 0.032787 | 0 | 0.213115 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
38cdc884fd43405de51719a7d80ee6169abf9749 | 137 | py | Python | comments/admin.py | LordK1/Socialist | 775820db682b97b00caa47e3df6d5d63dd3f8b37 | [
"MIT"
] | null | null | null | comments/admin.py | LordK1/Socialist | 775820db682b97b00caa47e3df6d5d63dd3f8b37 | [
"MIT"
] | null | null | null | comments/admin.py | LordK1/Socialist | 775820db682b97b00caa47e3df6d5d63dd3f8b37 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from comments.models import PostComment
admin.site.register(PostComment)
| 19.571429 | 39 | 0.824818 | 18 | 137 | 6.277778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 137 | 6 | 40 | 22.833333 | 0.933884 | 0.189781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
38d0167e537bf04b5ac3b4db66068bf2cb34859d | 14,691 | py | Python | hsstock/service/sinanews_service.py | hsstock/hsstock | f8841331022e8844537a5c5b08d047e2cc328856 | [
"Apache-2.0"
] | 2 | 2018-10-04T08:04:24.000Z | 2021-01-21T06:58:30.000Z | hsstock/service/sinanews_service.py | hsstock/hsstock | f8841331022e8844537a5c5b08d047e2cc328856 | [
"Apache-2.0"
] | null | null | null | hsstock/service/sinanews_service.py | hsstock/hsstock | f8841331022e8844537a5c5b08d047e2cc328856 | [
"Apache-2.0"
] | 1 | 2018-10-20T09:39:50.000Z | 2018-10-20T09:39:50.000Z | # -*- coding: UTF-8 -*-
import requests
import bs4
import time
import random
import hsstock.utils.logger as logger
from hsstock.utils.date_util import DateUtil
from hsstock.utils.decorator import retry
class SinanewsService(object):
def __init__(self, mongodbutil):
self.itemArray = []
self.mongodb... | 39.280749 | 150 | 0.481519 | 1,559 | 14,691 | 4.461835 | 0.135985 | 0.041116 | 0.021852 | 0.030046 | 0.782921 | 0.750288 | 0.725273 | 0.71406 | 0.686889 | 0.681857 | 0 | 0.027009 | 0.390103 | 14,691 | 373 | 151 | 39.386059 | 0.74933 | 0.086311 | 0 | 0.753247 | 0 | 0.00974 | 0.137808 | 0.009101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032468 | false | 0 | 0.022727 | 0.006494 | 0.12987 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
38d5b5d7e0f316b1f7f1295ca986e454c9184d27 | 222 | py | Python | deepstocks/math/moving_average.py | b3h47pte/deepstocks | cbe8e4bba47eadb44f41434190acee2e1d6f8417 | [
"Apache-2.0"
] | null | null | null | deepstocks/math/moving_average.py | b3h47pte/deepstocks | cbe8e4bba47eadb44f41434190acee2e1d6f8417 | [
"Apache-2.0"
] | 4 | 2021-01-28T20:07:40.000Z | 2022-03-25T18:51:39.000Z | deepstocks/math/moving_average.py | b3h47pte/deepstocks | cbe8e4bba47eadb44f41434190acee2e1d6f8417 | [
"Apache-2.0"
] | null | null | null | #
# Utiltiies for computing the moving average.
#
# newVal = [(N- 1) * previousAvg + newVal] / N
def smoothedMovingAverage(previousAvg, newVal, N):
newVal = ((N-1) * previousAvg + newVal) / float(N)
return newVal
| 24.666667 | 54 | 0.666667 | 26 | 222 | 5.692308 | 0.538462 | 0.189189 | 0.108108 | 0.256757 | 0.337838 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.198198 | 222 | 8 | 55 | 27.75 | 0.820225 | 0.396396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2a11456d4f9e5329f2b4c44982edaff5a6bf2ebe | 102 | py | Python | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/stats/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 18 | 2018-02-23T11:28:54.000Z | 2021-09-23T08:19:54.000Z | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/stats/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 2 | 2018-01-22T23:21:36.000Z | 2018-01-22T23:31:27.000Z | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/stats/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 12 | 2017-05-23T06:01:12.000Z | 2021-08-16T05:09:46.000Z | """
Common namespace of statistical functions
"""
# flake8: noqa
from pandas.stats.moments import *
| 12.75 | 41 | 0.735294 | 12 | 102 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.156863 | 102 | 7 | 42 | 14.571429 | 0.860465 | 0.539216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aa7a8ea05dd8e1b66ceb006b968f214a152a1564 | 6,160 | py | Python | lte/gateway/python/magma/pipelined/tests/test_uplink_bridge.py | kyaaqba/magma | fdb7be22a2076f9a9b158c9670a9af6cad68b85f | [
"BSD-3-Clause"
] | null | null | null | lte/gateway/python/magma/pipelined/tests/test_uplink_bridge.py | kyaaqba/magma | fdb7be22a2076f9a9b158c9670a9af6cad68b85f | [
"BSD-3-Clause"
] | 10 | 2021-03-31T20:19:00.000Z | 2022-02-19T07:09:57.000Z | lte/gateway/python/magma/pipelined/tests/test_uplink_bridge.py | 119Vik/magma-1 | 107a7b374466a837fc0a49b283ba9d6ff1d702e3 | [
"BSD-3-Clause"
] | 3 | 2020-08-20T18:45:34.000Z | 2020-08-20T20:18:42.000Z | """
Copyright (c) 2020-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
"""
import unittest
import warni... | 35.2 | 84 | 0.633766 | 632 | 6,160 | 5.901899 | 0.245253 | 0.06756 | 0.040214 | 0.03941 | 0.76059 | 0.753351 | 0.753351 | 0.753351 | 0.753351 | 0.710456 | 0 | 0.013749 | 0.291558 | 6,160 | 174 | 85 | 35.402299 | 0.840972 | 0.120617 | 0 | 0.669291 | 0 | 0 | 0.070192 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 1 | 0.047244 | false | 0 | 0.047244 | 0 | 0.19685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa8884e4d257627c00be8a44b2576b63fde32ff2 | 89 | py | Python | LibsRobotics/__init__.py | michalnand/libs_robotics | 815748c46e88accfa8c97b4b9aba5fa19daca50b | [
"MIT"
] | null | null | null | LibsRobotics/__init__.py | michalnand/libs_robotics | 815748c46e88accfa8c97b4b9aba5fa19daca50b | [
"MIT"
] | null | null | null | LibsRobotics/__init__.py | michalnand/libs_robotics | 815748c46e88accfa8c97b4b9aba5fa19daca50b | [
"MIT"
] | null | null | null | from .common.MapGrid import *
from .localisation.ParticleFilter import * | 44.5 | 44 | 0.662921 | 8 | 89 | 7.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269663 | 89 | 2 | 45 | 44.5 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aaa66afc2f7931cfff392787190426f2579d3cba | 160 | py | Python | finper/admin.py | vamosviendo/djangofinper | 8bd4ceb2c66d25cbb7b248fd6d713189cc6ac9fb | [
"BSD-3-Clause"
] | null | null | null | finper/admin.py | vamosviendo/djangofinper | 8bd4ceb2c66d25cbb7b248fd6d713189cc6ac9fb | [
"BSD-3-Clause"
] | null | null | null | finper/admin.py | vamosviendo/djangofinper | 8bd4ceb2c66d25cbb7b248fd6d713189cc6ac9fb | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Movement, Account
# Register your models here.
admin.site.register(Movement)
admin.site.register(Account) | 22.857143 | 37 | 0.8125 | 22 | 160 | 5.909091 | 0.545455 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10625 | 160 | 7 | 38 | 22.857143 | 0.909091 | 0.1625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aab38362d5c1742e391965d30c2412ace4eb1a7a | 1,362 | py | Python | tests/routes/test_helpers/recipes_helper.py | f-i-l-i-p/recipes-backend | bcfc1a188361582024447d2e8103dfcdfda612a4 | [
"MIT"
] | null | null | null | tests/routes/test_helpers/recipes_helper.py | f-i-l-i-p/recipes-backend | bcfc1a188361582024447d2e8103dfcdfda612a4 | [
"MIT"
] | null | null | null | tests/routes/test_helpers/recipes_helper.py | f-i-l-i-p/recipes-backend | bcfc1a188361582024447d2e8103dfcdfda612a4 | [
"MIT"
] | null | null | null | import json
from tests.routes.test_helpers.route_test_case import RouteTestCase
from server.database.models import Recipe, User
def create_recipe_ingredients():
ingredients = [{
"name": "test",
"unit": "kg",
"quantity": 4
}] * 100
return json.dumps(ingredients)
def create_recipe... | 54.48 | 876 | 0.743759 | 77 | 1,362 | 13.038961 | 0.662338 | 0.026892 | 0.044821 | 0.035857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059856 | 0.080029 | 1,362 | 24 | 877 | 56.75 | 0.741421 | 0.024963 | 0 | 0 | 0 | 0.066667 | 0.675716 | 0.65083 | 0 | 1 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.066667 | 0.6 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2abf533d66ea53f13b65d01899e7f811ec14a785 | 128 | py | Python | src/demo/__init__.py | shehancaldera/baxter_pick_and_place | e6f6b7decf5bee0b3b757b4dd7326c97115b6e38 | [
"BSD-2-Clause"
] | 6 | 2018-12-15T15:08:45.000Z | 2020-10-24T05:57:59.000Z | src/demo/__init__.py | BRML/baxter_pick_and_place | b9faf285bcbeb0cbadac59c34d016838b26d1fe4 | [
"BSD-2-Clause"
] | null | null | null | src/demo/__init__.py | BRML/baxter_pick_and_place | b9faf285bcbeb0cbadac59c34d016838b26d1fe4 | [
"BSD-2-Clause"
] | 4 | 2016-12-14T17:44:43.000Z | 2020-01-07T06:58:16.000Z | # -*- coding: utf-8 -*-
"""Module for implementing demonstration procedure."""
from joint_pick_and_place import PickAndPlace
| 18.285714 | 54 | 0.742188 | 15 | 128 | 6.133333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.132813 | 128 | 6 | 55 | 21.333333 | 0.81982 | 0.554688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2aca77b163255e1877734b2d8767a895d8d49b92 | 46 | py | Python | example/marketprice/messages/shark/__init__.py | jcoates/avro2py | 410bd4da92bd2673c616dfb02ba6db6f8af4ab95 | [
"MIT"
] | 2 | 2020-12-08T00:23:48.000Z | 2021-09-29T07:43:49.000Z | example/marketprice/messages/shark/__init__.py | jcoates/avro2py | 410bd4da92bd2673c616dfb02ba6db6f8af4ab95 | [
"MIT"
] | 8 | 2020-12-02T22:36:38.000Z | 2021-12-02T17:48:03.000Z | example/marketprice/messages/shark/__init__.py | jcoates/avro2py | 410bd4da92bd2673c616dfb02ba6db6f8af4ab95 | [
"MIT"
] | 4 | 2021-03-10T19:52:29.000Z | 2021-12-10T12:02:26.000Z | """`marketprice.messages.shark` namespace."""
| 23 | 45 | 0.717391 | 4 | 46 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 46 | 1 | 46 | 46 | 0.75 | 0.847826 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2ad001c1355f7f025958d89644fdafafddafb94c | 128 | py | Python | Aw/Rpyc/test_aw.py | StarryHome/MultiToolsPlatform | 2bd2b7e0700dbf542f0272ece3590a4afde328a4 | [
"MIT"
] | null | null | null | Aw/Rpyc/test_aw.py | StarryHome/MultiToolsPlatform | 2bd2b7e0700dbf542f0272ece3590a4afde328a4 | [
"MIT"
] | null | null | null | Aw/Rpyc/test_aw.py | StarryHome/MultiToolsPlatform | 2bd2b7e0700dbf542f0272ece3590a4afde328a4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class TestAw(object):
def __init__(self):
pass
def show(self):
print('show')
| 12.8 | 23 | 0.515625 | 15 | 128 | 4.133333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.3125 | 128 | 9 | 24 | 14.222222 | 0.693182 | 0.164063 | 0 | 0 | 0 | 0 | 0.038095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
2ae63f3b738899070bc7130fe31e210842498b70 | 17,303 | py | Python | tests/BundleInstallTest.py | mwatts15/owmeta-core | b072178f8e7b83cc8665a29f4d038554d18adc35 | [
"MIT"
] | 2 | 2021-03-06T16:25:35.000Z | 2022-03-24T15:00:03.000Z | tests/BundleInstallTest.py | mwatts15/owmeta-core | b072178f8e7b83cc8665a29f4d038554d18adc35 | [
"MIT"
] | 39 | 2020-02-08T21:58:33.000Z | 2022-01-03T15:28:18.000Z | tests/BundleInstallTest.py | openworm/owmeta-core | b072178f8e7b83cc8665a29f4d038554d18adc35 | [
"MIT"
] | null | null | null | from collections import namedtuple
import json
from os import listdir, makedirs
from os.path import join as p, isdir, isfile
import transaction
from unittest.mock import patch
from tempfile import TemporaryDirectory
import pytest
import rdflib
from rdflib.term import URIRef
from owmeta_core.bundle import (Installer, ... | 34.263366 | 110 | 0.664451 | 2,540 | 17,303 | 4.358268 | 0.08937 | 0.038753 | 0.041734 | 0.034688 | 0.788618 | 0.758988 | 0.740921 | 0.729359 | 0.709756 | 0.693406 | 0 | 0.012617 | 0.193839 | 17,303 | 504 | 111 | 34.331349 | 0.780988 | 0.148703 | 0 | 0.69883 | 0 | 0 | 0.10502 | 0.002273 | 0 | 0 | 0 | 0 | 0.049708 | 1 | 0.084795 | false | 0 | 0.157895 | 0.011696 | 0.260234 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6307e6ce23b8b77a3a71b98cafa7d3ffcec958e1 | 70 | py | Python | pysptools/distance/__init__.py | ctherien/pysptools | fbcd3ecaa7ab27f0158b28b4327537c3e75db160 | [
"Apache-2.0"
] | 35 | 2016-03-20T15:25:07.000Z | 2022-03-29T04:05:56.000Z | pysptools/distance/__init__.py | ctherien/pysptools | fbcd3ecaa7ab27f0158b28b4327537c3e75db160 | [
"Apache-2.0"
] | 12 | 2016-03-24T13:38:52.000Z | 2021-04-06T07:11:19.000Z | pysptools/distance/__init__.py | ctherien/pysptools | fbcd3ecaa7ab27f0158b28b4327537c3e75db160 | [
"Apache-2.0"
] | 14 | 2016-03-21T17:26:46.000Z | 2022-01-18T08:39:27.000Z | """
"""
from .dist import SAM, SID, chebyshev, NormXCorr, classify | 17.5 | 58 | 0.657143 | 8 | 70 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 4 | 58 | 17.5 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2da5088d15271fb0f8776598a171254bce8547a7 | 98 | py | Python | mayan/apps/common/tests/__init__.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 2,743 | 2017-12-18T07:12:30.000Z | 2022-03-27T17:21:25.000Z | mayan/apps/common/tests/__init__.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | 15 | 2020-06-06T00:00:48.000Z | 2022-03-12T00:03:54.000Z | mayan/apps/common/tests/__init__.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | 257 | 2017-12-18T03:12:58.000Z | 2022-03-25T08:59:10.000Z | from .base import BaseTestCase # NOQA
from .decorators import skip_file_descriptor_check # NOQA
| 32.666667 | 58 | 0.816327 | 13 | 98 | 5.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 2 | 59 | 49 | 0.916667 | 0.091837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2dd5e448b5e7bf0186b12ee8d56f1e00ed6a75bc | 129 | py | Python | starboard/__init__.py | notodinair/RedV3-Cogs | 47747ccc33617dcaa3851ff12c6f95aee675d1e6 | [
"MIT"
] | 1 | 2020-06-08T13:39:30.000Z | 2020-06-08T13:39:30.000Z | starboard/__init__.py | Tominous/Swift-Cogs | 47747ccc33617dcaa3851ff12c6f95aee675d1e6 | [
"MIT"
] | null | null | null | starboard/__init__.py | Tominous/Swift-Cogs | 47747ccc33617dcaa3851ff12c6f95aee675d1e6 | [
"MIT"
] | 1 | 2020-06-08T13:39:32.000Z | 2020-06-08T13:39:32.000Z | from redbot.core.bot import Red
from starboard.starboard import Starboard
def setup(bot: Red):
bot.add_cog(Starboard(bot))
| 18.428571 | 41 | 0.767442 | 20 | 129 | 4.9 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 6 | 42 | 21.5 | 0.882883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2dd964aaee755da0dba6a18709cdd415afe5c49c | 84 | py | Python | route_dynamics/__init__.py | EricaEgg/Route_Dynamics | ebb34bb29042629ef95d46e155233d2d603f6a7a | [
"MIT"
] | null | null | null | route_dynamics/__init__.py | EricaEgg/Route_Dynamics | ebb34bb29042629ef95d46e155233d2d603f6a7a | [
"MIT"
] | 6 | 2019-03-07T23:37:36.000Z | 2019-03-22T03:43:54.000Z | route_dynamics/__init__.py | EricaEgg/Route_Dynamics | ebb34bb29042629ef95d46e155233d2d603f6a7a | [
"MIT"
] | 5 | 2019-02-28T23:37:19.000Z | 2021-02-06T23:27:26.000Z | #from .base import *
#from .single_route import *
#from .multiple_route import *
| 21 | 31 | 0.714286 | 11 | 84 | 5.272727 | 0.545455 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 3 | 32 | 28 | 0.84058 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
935eba47efdcb4c262e4d3f4ee1531a4ecd3f010 | 39,419 | py | Python | 033_Hand_Detection_and_Tracking/01_float32/12_new_hand_landmark_tflite2h5_weight_int_fullint_float16_quant.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 1,529 | 2019-12-11T13:36:23.000Z | 2022-03-31T18:38:27.000Z | 033_Hand_Detection_and_Tracking/01_float32/12_new_hand_landmark_tflite2h5_weight_int_fullint_float16_quant.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 200 | 2020-01-06T09:24:42.000Z | 2022-03-31T17:29:08.000Z | 033_Hand_Detection_and_Tracking/01_float32/12_new_hand_landmark_tflite2h5_weight_int_fullint_float16_quant.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 288 | 2020-02-21T14:56:02.000Z | 2022-03-30T03:00:35.000Z | ### tensorflow==2.3.0
### https://ai.googleblog.com/2020/08/on-device-real-time-body-pose-tracking.html
### https://google.github.io/mediapipe/solutions/pose
### https://www.tensorflow.org/api_docs/python/tf/keras/Model
### https://www.tensorflow.org/lite/guide/ops_compatibility
### https://www.tensorflow.org/api_do... | 65.263245 | 125 | 0.714072 | 5,668 | 39,419 | 4.657022 | 0.080805 | 0.016593 | 0.094067 | 0.114563 | 0.760153 | 0.751705 | 0.746515 | 0.734316 | 0.721511 | 0.711017 | 0 | 0.089498 | 0.133768 | 39,419 | 603 | 126 | 65.371476 | 0.683535 | 0.07126 | 0 | 0.032037 | 0 | 0 | 0.194585 | 0.175811 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002288 | false | 0 | 0.018307 | 0 | 0.020595 | 0.009153 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
937e7125924f798c0a2800ecb6adb68f83c5ec15 | 2,019 | py | Python | tests/devices/test_base.py | jtappolet/pydigitalstrom | b988a2c5f72920264ce5e008709aa287c3e6d631 | [
"MIT"
] | 3 | 2018-12-09T00:33:26.000Z | 2020-09-05T04:58:13.000Z | tests/devices/test_base.py | jtappolet/pydigitalstrom | b988a2c5f72920264ce5e008709aa287c3e6d631 | [
"MIT"
] | null | null | null | tests/devices/test_base.py | jtappolet/pydigitalstrom | b988a2c5f72920264ce5e008709aa287c3e6d631 | [
"MIT"
] | 4 | 2020-08-20T18:25:34.000Z | 2021-08-30T11:15:28.000Z | # -*- coding: UTF-8 -*-
import aiounittest
from unittest.mock import Mock, patch
from pydigitalstrom.devices.base import DSDevice
from tests.common import get_testclient
class TestDevice(aiounittest.AsyncTestCase):
def test_attributes(self):
device = DSDevice(client=get_testclient(), device_id=5, device_... | 41.204082 | 87 | 0.674096 | 243 | 2,019 | 5.378601 | 0.222222 | 0.018363 | 0.085692 | 0.105585 | 0.795715 | 0.795715 | 0.795715 | 0.756695 | 0.756695 | 0.726855 | 0 | 0.005636 | 0.209014 | 2,019 | 48 | 88 | 42.0625 | 0.812774 | 0.010401 | 0 | 0.564103 | 0 | 0 | 0.11523 | 0.073647 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0.076923 | false | 0 | 0.102564 | 0 | 0.205128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fa8f4e6eab1f95f44a8d23afba095e1f564c48c8 | 73 | py | Python | modules/biometry/__init__.py | camargo2019/conecta | 3bf67a7aa5280d1d263e5ee40cbc48f0045fcb99 | [
"MIT"
] | 1 | 2021-08-01T05:40:31.000Z | 2021-08-01T05:40:31.000Z | modules/biometry/__init__.py | camargo2019/conecta | 3bf67a7aa5280d1d263e5ee40cbc48f0045fcb99 | [
"MIT"
] | null | null | null | modules/biometry/__init__.py | camargo2019/conecta | 3bf67a7aa5280d1d263e5ee40cbc48f0045fcb99 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def teste_biometry():
print('Em desenvolvimento') | 18.25 | 28 | 0.712329 | 9 | 73 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.123288 | 73 | 4 | 28 | 18.25 | 0.78125 | 0.232877 | 0 | 0 | 0 | 0 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fa9a45b7517609bfe6bf39f363db0b80c38458c2 | 391 | py | Python | shared/lesson02/server1_topology.py | flavio-fernandes/ovs-lab | 4cac9368ecba4d99783fda5fcee051868df1e761 | [
"Apache-2.0"
] | 38 | 2015-02-23T11:15:15.000Z | 2021-11-16T11:37:09.000Z | shared/lesson02/server1_topology.py | flavio-fernandes/ovs-lab | 4cac9368ecba4d99783fda5fcee051868df1e761 | [
"Apache-2.0"
] | 2 | 2015-11-06T11:39:41.000Z | 2019-07-20T01:23:18.000Z | shared/lesson02/server1_topology.py | flavio-fernandes/ovs-lab | 4cac9368ecba4d99783fda5fcee051868df1e761 | [
"Apache-2.0"
] | 26 | 2015-01-19T21:40:11.000Z | 2021-05-14T02:42:42.000Z | #!/usr/bin/python
from common import createTopology
createTopology(
's1',
[
[
'red1',
{
'ip': '10.0.0.1/8',
'mac': '00:00:00:00:aa:01'
}
],
[
'blue1',
{
'ip': '10.0.0.1/8',
... | 15.64 | 42 | 0.289003 | 37 | 391 | 3.054054 | 0.513514 | 0.212389 | 0.212389 | 0.106195 | 0.40708 | 0.40708 | 0.40708 | 0.40708 | 0.40708 | 0.40708 | 0 | 0.194444 | 0.539642 | 391 | 24 | 43 | 16.291667 | 0.433333 | 0.040921 | 0 | 0.2 | 0 | 0 | 0.200535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8782a8d1c7de0cb34a466e2e9734f099540e875e | 104 | py | Python | bitmovin_api_sdk/encoding/configurations/audio/eac3/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/configurations/audio/eac3/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/configurations/audio/eac3/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.configurations.audio.eac3.customdata.customdata_api import CustomdataApi
| 52 | 103 | 0.903846 | 13 | 104 | 7 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.038462 | 104 | 1 | 104 | 104 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8785f4e008026946e4ff11b315b9b3cb0252509f | 161 | py | Python | heymac/utl/mock_serial.py | dwhall/HeyMac | 18c86b5855d65d3d6ffe9ee9d5913396cee40d81 | [
"MIT"
] | 5 | 2018-03-25T03:31:52.000Z | 2021-11-23T03:17:01.000Z | heymac/utl/mock_serial.py | dwhall/HeyMac | 18c86b5855d65d3d6ffe9ee9d5913396cee40d81 | [
"MIT"
] | 10 | 2018-05-18T20:53:45.000Z | 2021-08-22T03:01:31.000Z | heymac/utl/mock_serial.py | dwhall/HeyMac | 18c86b5855d65d3d6ffe9ee9d5913396cee40d81 | [
"MIT"
] | 1 | 2020-06-14T16:31:34.000Z | 2020-06-14T16:31:34.000Z | class Serial():
def __init__(self, port, baudrate, timeout):
self.baudrate = baudrate
def read(self, n): return [0,]*n
def close(self): pass
| 26.833333 | 48 | 0.627329 | 22 | 161 | 4.409091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.236025 | 161 | 5 | 49 | 32.2 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.6 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
879481eafca0906cd384909827c67ecb999bd247 | 129 | py | Python | trebelge/tasks.py | askmetoo/trebelge | bff1b13edf41d1a9afd9ddb039f5b4089cb83dd6 | [
"MIT"
] | 6 | 2019-12-21T21:15:50.000Z | 2021-12-30T21:59:53.000Z | trebelge/tasks.py | Framras/trebelge | 362179925dc688ad8ea008f532de72e67e49941b | [
"MIT"
] | null | null | null | trebelge/tasks.py | Framras/trebelge | 362179925dc688ad8ea008f532de72e67e49941b | [
"MIT"
] | 3 | 2020-01-05T19:32:40.000Z | 2021-11-03T14:11:21.000Z | from __future__ import unicode_literals
from trebelge import api
def every_day_at_02_38():
api.check_all_ebelge_parties()
| 16.125 | 39 | 0.813953 | 20 | 129 | 4.65 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.139535 | 129 | 7 | 40 | 18.428571 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
87a5e24276f16abf412f936f07d0bb42dd76c5e9 | 4,776 | py | Python | egs/biendata/s5/local/data_cleaning.py | zhangshuaiCasia/kaldi | e298736da4e6fb3bf5d70a7b520eb742c4744500 | [
"Apache-2.0"
] | 1 | 2021-06-30T07:29:48.000Z | 2021-06-30T07:29:48.000Z | egs/biendata/s5/local/data_cleaning.py | zhangshuaiCasia/kaldi | e298736da4e6fb3bf5d70a7b520eb742c4744500 | [
"Apache-2.0"
] | null | null | null | egs/biendata/s5/local/data_cleaning.py | zhangshuaiCasia/kaldi | e298736da4e6fb3bf5d70a7b520eb742c4744500 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import re
# resource_dir = "data_text_clean/test/text"
# target_dir = "data_text_clean/test/text_new"
# # remove illegal encode whiteblanks
# with open(resource_dir, 'r') as f:
# for line in f.readlines():
# new = re.sub('\u3000',' ',line)
# with open(target_dir, 'a') as w:
# w.write(n... | 28.260355 | 152 | 0.545017 | 704 | 4,776 | 3.555398 | 0.140625 | 0.139832 | 0.192968 | 0.234918 | 0.815421 | 0.769477 | 0.670396 | 0.670396 | 0.670396 | 0.670396 | 0 | 0.016887 | 0.206449 | 4,776 | 168 | 153 | 28.428571 | 0.643536 | 0.737856 | 0 | 0.208333 | 0 | 0 | 0.155971 | 0.129234 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 5 |
87d9871afcdc947f17cf6893a64407ec89430393 | 177 | py | Python | AI/data/__init__.py | yast-ia/YastAI | f5a05841126da4acd9b7250c5bf6f627ac1703d5 | [
"MIT"
] | 1 | 2020-08-23T22:00:17.000Z | 2020-08-23T22:00:17.000Z | AI/data/__init__.py | yast-ia/YastAI | f5a05841126da4acd9b7250c5bf6f627ac1703d5 | [
"MIT"
] | null | null | null | AI/data/__init__.py | yast-ia/YastAI | f5a05841126da4acd9b7250c5bf6f627ac1703d5 | [
"MIT"
] | 1 | 2020-08-23T18:34:12.000Z | 2020-08-23T18:34:12.000Z | """
Data
====
Load, preprocess and filted data.
"""
from .constants import *
from .dataset import *
from .generator import *
from .preprocessing import *
from .utils import * | 13.615385 | 33 | 0.700565 | 21 | 177 | 5.904762 | 0.571429 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175141 | 177 | 13 | 34 | 13.615385 | 0.849315 | 0.248588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
87f1f3b129a966e650b7cf594ad5b0d94868c09d | 515 | py | Python | src/shared_library/shared_library.py | DantasB/smart-speaker | d74151f447848f5054d310679cafb0b3298d34bd | [
"MIT"
] | 1 | 2021-09-25T16:07:30.000Z | 2021-09-25T16:07:30.000Z | src/shared_library/shared_library.py | DantasB/smart-speaker | d74151f447848f5054d310679cafb0b3298d34bd | [
"MIT"
] | 1 | 2022-01-10T03:50:13.000Z | 2022-01-10T03:50:13.000Z | src/shared_library/shared_library.py | DantasB/smart-speaker | d74151f447848f5054d310679cafb0b3298d34bd | [
"MIT"
] | null | null | null | import tempfile
def generate_workfolder() -> tempfile.TemporaryDirectory:
"""Generates a workfolder
Returns:
tempfile.TemporaryDirectory: the temporary directory generated
"""
temp_dir = tempfile.TemporaryDirectory()
return temp_dir
def delete_workfolder(directory: tempfile.T... | 25.75 | 71 | 0.699029 | 45 | 515 | 7.911111 | 0.488889 | 0.365169 | 0.162921 | 0.168539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223301 | 515 | 19 | 72 | 27.105263 | 0.89 | 0.41165 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
e20a6e9062b584a8742ba88963b500f7424a3f89 | 193 | py | Python | python_justclick/python_justclick_django/__init__.py | moshkov/python_justclick | b7039c53b6140e66e98f02ddb324269e044a4054 | [
"MIT"
] | null | null | null | python_justclick/python_justclick_django/__init__.py | moshkov/python_justclick | b7039c53b6140e66e98f02ddb324269e044a4054 | [
"MIT"
] | null | null | null | python_justclick/python_justclick_django/__init__.py | moshkov/python_justclick | b7039c53b6140e66e98f02ddb324269e044a4054 | [
"MIT"
] | null | null | null | from python_justclick.justclick import JustClickConnection
from django.conf import settings
justClickConnection = JustClickConnection(settings.JUSTCLICK_USERNAME, settings.JUSTCLICK_API_KEY)
| 32.166667 | 98 | 0.88601 | 20 | 193 | 8.35 | 0.55 | 0.203593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072539 | 193 | 5 | 99 | 38.6 | 0.932961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
356ec68d102707648a63ab1bdeda22b402009a35 | 133 | py | Python | affo_sms_service/api/exception.py | fossabot/affo-sms-service | a843eb37d61560392d7fcbb6b14ca2d31cd50b12 | [
"BSD-3-Clause"
] | null | null | null | affo_sms_service/api/exception.py | fossabot/affo-sms-service | a843eb37d61560392d7fcbb6b14ca2d31cd50b12 | [
"BSD-3-Clause"
] | 1 | 2019-11-25T14:25:13.000Z | 2019-11-25T14:25:13.000Z | affo_sms_service/api/exception.py | fossabot/affo-sms-service | a843eb37d61560392d7fcbb6b14ca2d31cd50b12 | [
"BSD-3-Clause"
] | 1 | 2019-11-25T14:21:58.000Z | 2019-11-25T14:21:58.000Z | import http
import connexion_buzz
class InvalidPhone(connexion_buzz.ConnexionBuzz):
status_code = http.HTTPStatus.BAD_REQUEST
| 16.625 | 49 | 0.827068 | 16 | 133 | 6.625 | 0.75 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 7 | 50 | 19 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3574bc2423066b4a2512a253ab5a3aa09958e2a2 | 217 | py | Python | pythontohtml/__init__.py | hakiKhuva/pythontohtml | d86df95c5260b1b567fabb356c60057bc4055224 | [
"MIT"
] | null | null | null | pythontohtml/__init__.py | hakiKhuva/pythontohtml | d86df95c5260b1b567fabb356c60057bc4055224 | [
"MIT"
] | null | null | null | pythontohtml/__init__.py | hakiKhuva/pythontohtml | d86df95c5260b1b567fabb356c60057bc4055224 | [
"MIT"
] | null | null | null | """
PythontoHTML : use python functions to create html document
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"""
from .__about__ import __name__, __version__, __author__, __author_email__, __license__ | 36.166667 | 87 | 0.576037 | 17 | 217 | 5.882353 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115207 | 217 | 6 | 87 | 36.166667 | 0.520833 | 0.529954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
357951f7bdce5e3652fb55ba49f202e8ea78a23c | 240 | py | Python | confidant/authnz/errors.py | chadwhitacre/confidant | dd788147b355f760767cf3b9487671c67948ade3 | [
"Apache-2.0"
] | 1,820 | 2015-11-04T17:57:16.000Z | 2022-03-31T16:47:24.000Z | confidant/authnz/errors.py | chadwhitacre/confidant | dd788147b355f760767cf3b9487671c67948ade3 | [
"Apache-2.0"
] | 1,601 | 2018-09-13T14:56:27.000Z | 2021-03-31T20:06:16.000Z | confidant/authnz/errors.py | isabella232/confidant | 3dac318c3e1f29bae5771084ad29a4bc121f1771 | [
"Apache-2.0"
] | 136 | 2015-11-04T19:23:14.000Z | 2022-02-25T01:51:29.000Z | # authentication / authorization related error classes
class UserUnknownError(Exception):
pass
class TokenVersionError(Exception):
pass
class AuthenticationError(Exception):
pass
class NotAuthorized(Exception):
pass
| 13.333333 | 54 | 0.7625 | 21 | 240 | 8.714286 | 0.571429 | 0.284153 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179167 | 240 | 17 | 55 | 14.117647 | 0.928934 | 0.216667 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
35850910507f5b61ca978b4a79a718c629acfa4f | 323 | py | Python | octicons16px/chevron_down.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/chevron_down.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/chevron_down.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_CHEVRON_DOWN = """
<svg class="octicon octicon-chevron-down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M12.78 6.22a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06 0L3.22 7.28a.75.75 0 011.06-1.06L8 9.94l3.72-3.72a.75.75 0 011.06 0z"></path></svg>
"... | 64.6 | 290 | 0.671827 | 74 | 323 | 2.905405 | 0.621622 | 0.074419 | 0.093023 | 0.074419 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309278 | 0.099071 | 323 | 4 | 291 | 80.75 | 0.429553 | 0 | 0 | 0 | 0 | 0.333333 | 0.906832 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
35dc2e3e2beff573f5d8768af63a591c784733f8 | 74 | py | Python | asyncworker/metrics/__init__.py | async-worker/async-worker | 9025d8f14d3fe6e1a2b1373c84abf41de575b359 | [
"MIT"
] | 7 | 2021-05-02T19:26:14.000Z | 2022-02-08T15:12:10.000Z | asyncworker/metrics/__init__.py | async-worker/async-worker | 9025d8f14d3fe6e1a2b1373c84abf41de575b359 | [
"MIT"
] | 10 | 2021-05-02T15:37:55.000Z | 2021-09-11T10:58:32.000Z | asyncworker/metrics/__init__.py | async-worker/async-worker | 9025d8f14d3fe6e1a2b1373c84abf41de575b359 | [
"MIT"
] | null | null | null | from .collectors import *
from .definitions import *
from .types import *
| 18.5 | 26 | 0.756757 | 9 | 74 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 27 | 24.666667 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
35e3d18c0457a8e2c4e28c1568febe10d2e25bad | 31,624 | py | Python | orttraining/orttraining/test/python/orttraining_test_orttrainer_checkpoint_functions.py | vpisarev/onnxruntime | bab9b80f1f2330d3a115e0abbb4d8278c2be3f44 | [
"MIT"
] | null | null | null | orttraining/orttraining/test/python/orttraining_test_orttrainer_checkpoint_functions.py | vpisarev/onnxruntime | bab9b80f1f2330d3a115e0abbb4d8278c2be3f44 | [
"MIT"
] | null | null | null | orttraining/orttraining/test/python/orttraining_test_orttrainer_checkpoint_functions.py | vpisarev/onnxruntime | bab9b80f1f2330d3a115e0abbb4d8278c2be3f44 | [
"MIT"
] | null | null | null | import pytest
from unittest.mock import patch, Mock
from _test_commons import _load_pytorch_transformer_model
from onnxruntime.training import amp, checkpoint, optim, orttrainer, _checkpoint_storage
import numpy as np
import onnx
import torch
# Helper functions
def _create_trainer(zero_enabled=False):
"""Cerates ... | 37.647619 | 148 | 0.611561 | 3,742 | 31,624 | 4.815874 | 0.064137 | 0.075412 | 0.040786 | 0.023306 | 0.838633 | 0.813773 | 0.789301 | 0.736974 | 0.697464 | 0.67044 | 0 | 0.031847 | 0.238427 | 31,624 | 839 | 149 | 37.692491 | 0.716409 | 0.018846 | 0 | 0.616 | 0 | 0 | 0.207079 | 0.043816 | 0 | 0 | 0 | 0 | 0.116 | 1 | 0.038667 | false | 0 | 0.009333 | 0.004 | 0.056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ea1e8f3e59a2502d167add15ee1ef7df59cd09ce | 379 | py | Python | erica/domain/BackgroundJobs/BackgroundJobInterface.py | punknoir101/erica-1 | 675a6280d38ca5b56946af6f3ed7e295ba896db0 | [
"MIT"
] | null | null | null | erica/domain/BackgroundJobs/BackgroundJobInterface.py | punknoir101/erica-1 | 675a6280d38ca5b56946af6f3ed7e295ba896db0 | [
"MIT"
] | null | null | null | erica/domain/BackgroundJobs/BackgroundJobInterface.py | punknoir101/erica-1 | 675a6280d38ca5b56946af6f3ed7e295ba896db0 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class BackgroundJobInterface:
__metaclass__ = ABCMeta
@abstractmethod
def enqueue(self, f, *args, **kwargs):
pass
@abstractmethod
def scheduled_enqueue(self):
pass
@abstractmethod
def get_enqueued_job_by_id(self):
pass
... | 17.227273 | 42 | 0.662269 | 39 | 379 | 6.153846 | 0.615385 | 0.283333 | 0.2625 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271768 | 379 | 21 | 43 | 18.047619 | 0.869565 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.266667 | 0.066667 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ea6c325ef1569aaff98b9c5edf3c0ebf6cb13acd | 45 | py | Python | pyalt/gui/__main__.py | demian-wolf/Alternativa-PC-Client | 24e1136ef006268b9afe46512c69c7354b2c1b60 | [
"MIT"
] | null | null | null | pyalt/gui/__main__.py | demian-wolf/Alternativa-PC-Client | 24e1136ef006268b9afe46512c69c7354b2c1b60 | [
"MIT"
] | null | null | null | pyalt/gui/__main__.py | demian-wolf/Alternativa-PC-Client | 24e1136ef006268b9afe46512c69c7354b2c1b60 | [
"MIT"
] | null | null | null | from .journal import Main
Main().mainloop()
| 11.25 | 25 | 0.733333 | 6 | 45 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 26 | 15 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
57a50a9c9bcc8b47f1e0e0f3e6a18b367cd81839 | 51 | py | Python | sepc/self_mmdet/models/__init__.py | implus/SEPC | 51e24ace1653cba6d3bc0ab536c6adb3b956c8dd | [
"Apache-2.0"
] | 2 | 2020-04-27T06:30:32.000Z | 2020-04-27T06:30:34.000Z | sepc/self_mmdet/models/__init__.py | yhl41001/SEPC | 51e24ace1653cba6d3bc0ab536c6adb3b956c8dd | [
"Apache-2.0"
] | null | null | null | sepc/self_mmdet/models/__init__.py | yhl41001/SEPC | 51e24ace1653cba6d3bc0ab536c6adb3b956c8dd | [
"Apache-2.0"
] | 1 | 2021-03-23T01:39:30.000Z | 2021-03-23T01:39:30.000Z | from .anchor_heads import *
from .necks import sepc | 25.5 | 27 | 0.803922 | 8 | 51 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 28 | 25.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
57bafef27aedcc92a9f9359583bd93eb4fa1df87 | 41,119 | py | Python | tests/config_test.py | tomcallahan/rally | 4d05fa88ea0920ec1f3178c3705201a53f6420db | [
"Apache-2.0"
] | null | null | null | tests/config_test.py | tomcallahan/rally | 4d05fa88ea0920ec1f3178c3705201a53f6420db | [
"Apache-2.0"
] | null | null | null | tests/config_test.py | tomcallahan/rally | 4d05fa88ea0920ec1f3178c3705201a53f6420db | [
"Apache-2.0"
] | null | null | null | import os
import configparser
from unittest import TestCase
import unittest.mock as mock
from esrally import config
from esrally.utils import io
class MockInput:
def __init__(self, inputs):
self.inputs = iter(inputs)
def __call__(self, *args, **kwargs):
null_output(*args, **kwargs)
... | 44.597614 | 139 | 0.622243 | 4,549 | 41,119 | 5.415476 | 0.074522 | 0.066166 | 0.052446 | 0.039213 | 0.831622 | 0.793992 | 0.754942 | 0.735458 | 0.670022 | 0.641567 | 0 | 0.008377 | 0.242248 | 41,119 | 921 | 140 | 44.646037 | 0.782271 | 0.03361 | 0 | 0.547837 | 0 | 0.003932 | 0.246455 | 0.063956 | 0 | 0 | 0 | 0 | 0.251638 | 1 | 0.051114 | false | 0.003932 | 0.007864 | 0.001311 | 0.069463 | 0.001311 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
57beb5c0816cdeecf55b778c4dd5b378b8aa17d8 | 184 | py | Python | OpenAttack/attack_evals/__init__.py | wenh06/OpenAttack | 412d1b2777dea5009fe97ac264044bfda65dfa5d | [
"MIT"
] | 10 | 2021-12-01T15:35:05.000Z | 2022-03-16T16:10:24.000Z | OpenAttack/attack_evals/__init__.py | leileigan/clean_label_textual_backdoor_attack | 56e3a96f6a4eeaf30b90a275685f37cc7e7b3c7c | [
"Apache-2.0"
] | null | null | null | OpenAttack/attack_evals/__init__.py | leileigan/clean_label_textual_backdoor_attack | 56e3a96f6a4eeaf30b90a275685f37cc7e7b3c7c | [
"Apache-2.0"
] | null | null | null | from .default import DefaultAttackEval
from .invoke_limit_eval import InvokeLimitedAttackEval
from .chinese_eval import ChineseAttackEval
from .detailed_eval import DetailedAttackEval
| 36.8 | 54 | 0.891304 | 20 | 184 | 8 | 0.6 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 184 | 4 | 55 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
57cd5b18d1e192e16cc82c80fdaddeba3f7ce106 | 203 | py | Python | django_rest_passwordreset/__init__.py | eadwinCode/django-ninja-passwordreset | 1b23b781a75957ed31f2712e1b69a01b10a9a8ef | [
"BSD-3-Clause"
] | null | null | null | django_rest_passwordreset/__init__.py | eadwinCode/django-ninja-passwordreset | 1b23b781a75957ed31f2712e1b69a01b10a9a8ef | [
"BSD-3-Clause"
] | null | null | null | django_rest_passwordreset/__init__.py | eadwinCode/django-ninja-passwordreset | 1b23b781a75957ed31f2712e1b69a01b10a9a8ef | [
"BSD-3-Clause"
] | null | null | null | """ An extension of django ninja framework, providing a configurable password reset strategy"""
__version__ = "1.0.0"
default_app_config = "django_rest_passwordreset.apps.DjangoRestPasswordResetConfig"
| 40.6 | 95 | 0.817734 | 24 | 203 | 6.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.098522 | 203 | 4 | 96 | 50.75 | 0.846995 | 0.433498 | 0 | 0 | 0 | 0 | 0.601852 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.