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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4615a64a6186fae886d04ac19288304aa7f07a0f | 12,878 | py | Python | src/dl/models/decoders/long_skips/unetpp_cat_skip.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | 13 | 2021-01-25T07:47:03.000Z | 2022-01-20T16:02:51.000Z | src/dl/models/decoders/long_skips/unetpp_cat_skip.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | 1 | 2022-02-12T15:03:23.000Z | 2022-02-12T15:03:23.000Z | src/dl/models/decoders/long_skips/unetpp_cat_skip.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from typing import List, Tuple
from .. import MultiBlockBasic
from ...modules import FixedUnpool
class CatBlock(nn.ModuleDict):
def __init__(self) -> None:
"""
Cat merge block for all the skip connections in unet++
"""
super(CatBlock, self).__in... | 37.005747 | 82 | 0.532458 | 1,411 | 12,878 | 4.67399 | 0.140326 | 0.031691 | 0.034117 | 0.025474 | 0.798484 | 0.776042 | 0.765732 | 0.760879 | 0.749356 | 0.744049 | 0 | 0.005624 | 0.39253 | 12,878 | 348 | 83 | 37.005747 | 0.837403 | 0.374748 | 0 | 0.720238 | 0 | 0 | 0.014338 | 0.006326 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.029762 | 0 | 0.10119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
1ce57468792f92b8e2ec5325a434adcf83005024 | 37 | py | Python | structdc/_meta/__init__.py | KnifeMaster007/structdc | 79bfb00527f1db7347091f220bb4b2df2da3a1b3 | [
"MIT"
] | null | null | null | structdc/_meta/__init__.py | KnifeMaster007/structdc | 79bfb00527f1db7347091f220bb4b2df2da3a1b3 | [
"MIT"
] | null | null | null | structdc/_meta/__init__.py | KnifeMaster007/structdc | 79bfb00527f1db7347091f220bb4b2df2da3a1b3 | [
"MIT"
] | null | null | null | from .structmixin import StructMixin
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 | 1 | 0 | 0 | 6 |
e801d6086980978f1d616ea1a2f5f181926e8b0a | 136 | py | Python | reset.py | umireon/ptc-streaming-utils | 3dd8c75ea52d2c10fc374ef211a80abf27e6a92b | [
"MIT"
] | null | null | null | reset.py | umireon/ptc-streaming-utils | 3dd8c75ea52d2c10fc374ef211a80abf27e6a92b | [
"MIT"
] | null | null | null | reset.py | umireon/ptc-streaming-utils | 3dd8c75ea52d2c10fc374ef211a80abf27e6a92b | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from applib import read_ini, reset
reset(read_ini('left'), 6)
reset(read_ini('right'), 6)
reset(read_ini('hand'), 7)
| 22.666667 | 34 | 0.713235 | 24 | 136 | 3.875 | 0.583333 | 0.301075 | 0.387097 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.088235 | 136 | 5 | 35 | 27.2 | 0.717742 | 0.125 | 0 | 0 | 0 | 0 | 0.110169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e80d8beb3b54a3b3b9cde8ab18903cf0bf0aae62 | 130 | py | Python | invoices/models/__init__.py | jdevera/pythoncanarias_web | 465e8b0a054726e29b1029f1dffe11f913e40bcc | [
"MIT"
] | null | null | null | invoices/models/__init__.py | jdevera/pythoncanarias_web | 465e8b0a054726e29b1029f1dffe11f913e40bcc | [
"MIT"
] | null | null | null | invoices/models/__init__.py | jdevera/pythoncanarias_web | 465e8b0a054726e29b1029f1dffe11f913e40bcc | [
"MIT"
] | null | null | null | from invoices.models.client import Client
from invoices.models.concept import Concept
from invoices.models.invoice import Invoice
| 32.5 | 43 | 0.861538 | 18 | 130 | 6.222222 | 0.388889 | 0.321429 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 130 | 3 | 44 | 43.333333 | 0.949153 | 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 | 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 | 6 |
08ff003acd90e860c3a7ab4222d6a85ce77577ff | 28 | py | Python | src/ip2whois/__init__.py | ip2whois/ip2whois-python | 79af46c585e3d1e48135b2b985ce51d9a83fced5 | [
"MIT"
] | 1 | 2021-11-22T02:36:04.000Z | 2021-11-22T02:36:04.000Z | src/ip2whois/__init__.py | ip2whois/ip2whois-python | 79af46c585e3d1e48135b2b985ce51d9a83fced5 | [
"MIT"
] | null | null | null | src/ip2whois/__init__.py | ip2whois/ip2whois-python | 79af46c585e3d1e48135b2b985ce51d9a83fced5 | [
"MIT"
] | null | null | null | from ip2whois.api import Api | 28 | 28 | 0.857143 | 5 | 28 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 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 | 1 | 0 | 0 | 6 |
1c0aeb9ff15a0c1f1b4b025c2a79c72dfb77f9aa | 26 | py | Python | spr/core/__init__.py | aksr-aashish/spr | d63068f04fae262d351403103c8155af3f846cc9 | [
"MIT"
] | 35 | 2021-07-16T01:27:25.000Z | 2022-03-31T03:44:56.000Z | spr/core/__init__.py | aksr-aashish/spr | d63068f04fae262d351403103c8155af3f846cc9 | [
"MIT"
] | 3 | 2021-09-02T11:18:07.000Z | 2022-03-31T12:51:38.000Z | spr/core/__init__.py | aksr-aashish/spr | d63068f04fae262d351403103c8155af3f846cc9 | [
"MIT"
] | 88 | 2021-07-16T02:21:53.000Z | 2022-03-30T06:08:42.000Z | from .keyboard import ikb
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 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 | 1 | 0 | 0 | 6 |
1c4e2287d7223d5e5b97fec35130a31221dd19e7 | 30 | py | Python | modytest/__init__.py | mohmoniem281/modytest | 419eec1d5e85d2a2381ecd287caafbeabc57f34c | [
"MIT"
] | null | null | null | modytest/__init__.py | mohmoniem281/modytest | 419eec1d5e85d2a2381ecd287caafbeabc57f34c | [
"MIT"
] | null | null | null | modytest/__init__.py | mohmoniem281/modytest | 419eec1d5e85d2a2381ecd287caafbeabc57f34c | [
"MIT"
] | null | null | null | from modytest.code import code | 30 | 30 | 0.866667 | 5 | 30 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 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 | 1 | 0 | 0 | 6 |
1c5212feea36c2efc19fa932cd43f916bcd82d98 | 54 | py | Python | src/supervisor_console/__init__.py | MrWork/supervisor-console | 52f263a03d0a2e8dbf0cd986547b05d6d19ef31a | [
"BSD-3-Clause"
] | 1 | 2020-10-05T16:16:10.000Z | 2020-10-05T16:16:10.000Z | src/supervisor_console/__init__.py | MrWork/supervisor-console | 52f263a03d0a2e8dbf0cd986547b05d6d19ef31a | [
"BSD-3-Clause"
] | null | null | null | src/supervisor_console/__init__.py | MrWork/supervisor-console | 52f263a03d0a2e8dbf0cd986547b05d6d19ef31a | [
"BSD-3-Clause"
] | 1 | 2022-01-12T16:38:48.000Z | 2022-01-12T16:38:48.000Z | from .console import ProcessCommunicationEventHandler
| 27 | 53 | 0.907407 | 4 | 54 | 12.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.98 | 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 | 1 | 0 | 0 | 6 |
1c89fcfc4af29f383c025608f6256dc4d8748208 | 35 | py | Python | demon/__init__.py | iriszero/DeMoN | 12a314d0c57908fd95d0e9c5a8ee17d3d122fb47 | [
"Apache-2.0"
] | 1 | 2020-09-15T07:42:47.000Z | 2020-09-15T07:42:47.000Z | demon/__init__.py | iriszero/DeMoN | 12a314d0c57908fd95d0e9c5a8ee17d3d122fb47 | [
"Apache-2.0"
] | null | null | null | demon/__init__.py | iriszero/DeMoN | 12a314d0c57908fd95d0e9c5a8ee17d3d122fb47 | [
"Apache-2.0"
] | 1 | 2020-09-15T08:30:33.000Z | 2020-09-15T08:30:33.000Z | from . import model, test, training | 35 | 35 | 0.771429 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.9 | 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 | 1 | 0 | 0 | 6 |
98bc55731eef1b9921ea569bf4133856ebc22e17 | 131 | py | Python | sensors/Wind_Sensor.py | Atech1/Weather_Station | 817a05083a13823316048103c6474e9a257a2792 | [
"MIT"
] | null | null | null | sensors/Wind_Sensor.py | Atech1/Weather_Station | 817a05083a13823316048103c6474e9a257a2792 | [
"MIT"
] | null | null | null | sensors/Wind_Sensor.py | Atech1/Weather_Station | 817a05083a13823316048103c6474e9a257a2792 | [
"MIT"
] | null | null | null | # this is a base class
class WindSensor(object):
def __init__(self):
return
def read(self):
return 0
| 14.555556 | 25 | 0.580153 | 17 | 131 | 4.235294 | 0.764706 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.343511 | 131 | 8 | 26 | 16.375 | 0.825581 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
98d47fafb8cc131c3148c6290416b658ced69625 | 205 | py | Python | blog/views.py | vipulgupta2048/django-girls | 5012b9b35737a1ab5e0c28a52be82dc80200848c | [
"MIT"
] | null | null | null | blog/views.py | vipulgupta2048/django-girls | 5012b9b35737a1ab5e0c28a52be82dc80200848c | [
"MIT"
] | null | null | null | blog/views.py | vipulgupta2048/django-girls | 5012b9b35737a1ab5e0c28a52be82dc80200848c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.shortcuts import render
# Create your views here.
def post_list(request):
return render(request, 'blog/post_list.html', {})
| 25.625 | 53 | 0.736585 | 28 | 205 | 5.142857 | 0.785714 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.141463 | 205 | 7 | 54 | 29.285714 | 0.8125 | 0.219512 | 0 | 0 | 0 | 0 | 0.121019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c72e85e6166e1ea3abab1f203358708366df40e4 | 43,449 | py | Python | tests/test_zone_processor.py | bxparks/AceTimePython | d4eae67aa2fce307a3a683ca6e85e488383ec471 | [
"MIT"
] | 1 | 2021-09-09T06:31:41.000Z | 2021-09-09T06:31:41.000Z | tests/test_zone_processor.py | bxparks/AceTimePython | d4eae67aa2fce307a3a683ca6e85e488383ec471 | [
"MIT"
] | null | null | null | tests/test_zone_processor.py | bxparks/AceTimePython | d4eae67aa2fce307a3a683ca6e85e488383ec471 | [
"MIT"
] | null | null | null | # Copyright 2018 Brian T. Park
#
# MIT License
from typing import cast
import unittest
from datetime import datetime
from acetime.zonedb import zone_infos
from acetime.zone_processor import YearMonthTuple
from acetime.zone_processor import DateTuple
from acetime.zone_processor import Transition
from acetime.zone_proc... | 39.861468 | 80 | 0.599646 | 5,159 | 43,449 | 4.85346 | 0.052723 | 0.189305 | 0.143776 | 0.114821 | 0.889373 | 0.85874 | 0.841927 | 0.812333 | 0.772755 | 0.740485 | 0 | 0.096566 | 0.278073 | 43,449 | 1,089 | 81 | 39.898072 | 0.701693 | 0.046376 | 0 | 0.665143 | 0 | 0 | 0.032697 | 0 | 0 | 0 | 0 | 0 | 0.368 | 1 | 0.026286 | false | 0 | 0.027429 | 0 | 0.061714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
c76d4f5c25355d19cb37035d76535164421a886b | 176 | py | Python | mitorch/datasets/__init__.py | shonohs/mitorch | 567a8390cc7a600280c51bc4e2a4e1c93fefc801 | [
"MIT"
] | null | null | null | mitorch/datasets/__init__.py | shonohs/mitorch | 567a8390cc7a600280c51bc4e2a4e1c93fefc801 | [
"MIT"
] | 1 | 2020-06-12T05:56:54.000Z | 2020-06-12T05:56:54.000Z | mitorch/datasets/__init__.py | shonohs/mitorch | 567a8390cc7a600280c51bc4e2a4e1c93fefc801 | [
"MIT"
] | null | null | null | from .image_dataset import ImageDataset, ObjectDetectionDataset
from .factory import TransformFactory
__all__ = ['ImageDataset', 'ObjectDetectionDataset', 'TransformFactory']
| 35.2 | 72 | 0.835227 | 14 | 176 | 10.142857 | 0.642857 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085227 | 176 | 4 | 73 | 44 | 0.881988 | 0 | 0 | 0 | 0 | 0 | 0.284091 | 0.125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | 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 | 6 |
c7b28ee49cd7969c9293c6bb726a733d5c9d6974 | 22 | py | Python | icepyx/quest/dataset_scripts/__init__.py | zachghiaccio/icepyx | 4bf75bd94d8b8db15dc8a0ebf14d1ff0966c3f3a | [
"BSD-3-Clause"
] | 41 | 2017-11-03T01:23:56.000Z | 2021-10-03T18:00:32.000Z | icepyx/quest/dataset_scripts/__init__.py | zachghiaccio/icepyx | 4bf75bd94d8b8db15dc8a0ebf14d1ff0966c3f3a | [
"BSD-3-Clause"
] | 3 | 2021-06-08T21:03:16.000Z | 2022-03-12T00:18:44.000Z | icepyx/quest/dataset_scripts/__init__.py | zachghiaccio/icepyx | 4bf75bd94d8b8db15dc8a0ebf14d1ff0966c3f3a | [
"BSD-3-Clause"
] | 7 | 2017-11-09T11:05:30.000Z | 2020-03-21T17:09:42.000Z | from .dataset 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 | 1 | 0 | 0 | 6 |
c7b8f075130251b732846dcc79b2d444825dd95c | 20,069 | py | Python | tests/test_async_client.py | cenobites/flask-jsonrpc | 5d930b192859ae24a58b1ceb4273897df2e77cb9 | [
"BSD-3-Clause"
] | 236 | 2015-01-07T10:38:45.000Z | 2022-03-31T12:08:35.000Z | tests/test_async_client.py | cenobites/flask-jsonrpc | 5d930b192859ae24a58b1ceb4273897df2e77cb9 | [
"BSD-3-Clause"
] | 107 | 2015-01-22T11:35:28.000Z | 2022-03-30T07:19:25.000Z | tests/test_async_client.py | Pandinosaurus/flask-jsonrpc | 3897575fcb7106c665e2217a5762f1131a7dd536 | [
"BSD-3-Clause"
] | 69 | 2015-01-05T08:29:36.000Z | 2022-03-27T17:34:10.000Z | # Copyright (c) 2020-2021, Cenobit Technologies, Inc. http://cenobit.es/
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice... | 37.164815 | 120 | 0.51298 | 2,287 | 20,069 | 4.427197 | 0.111937 | 0.018568 | 0.081778 | 0.076049 | 0.800889 | 0.77521 | 0.756346 | 0.750914 | 0.727704 | 0.707062 | 0 | 0.035176 | 0.276147 | 20,069 | 539 | 121 | 37.233766 | 0.661802 | 0.076287 | 0 | 0.539823 | 0 | 0.011062 | 0.331749 | 0.010372 | 0 | 0 | 0 | 0 | 0.192478 | 1 | 0.039823 | false | 0 | 0.006637 | 0 | 0.04646 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
1bdf73a20cad4a1c3c3ca3de32ffb790e37b305d | 155 | py | Python | adaptivedistillation/apis/__init__.py | wyze-AI/AdaptiveDistillation | 5f4575794101dbb1ed2f7e90a2be03856f76041c | [
"MIT"
] | 1 | 2022-01-12T22:24:07.000Z | 2022-01-12T22:24:07.000Z | adaptivedistillation/apis/__init__.py | wyze-AI/AdaptiveDistillation | 5f4575794101dbb1ed2f7e90a2be03856f76041c | [
"MIT"
] | null | null | null | adaptivedistillation/apis/__init__.py | wyze-AI/AdaptiveDistillation | 5f4575794101dbb1ed2f7e90a2be03856f76041c | [
"MIT"
] | 2 | 2022-01-12T22:24:17.000Z | 2022-02-15T05:46:30.000Z | from .test import multi_gpu_test, single_gpu_test
from .train import train_model
__all__ = [
'multi_gpu_test', 'single_gpu_test', 'train_model'
]
| 22.142857 | 54 | 0.748387 | 23 | 155 | 4.434783 | 0.391304 | 0.27451 | 0.235294 | 0.352941 | 0.490196 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 155 | 6 | 55 | 25.833333 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
1beaee3ce9b5e5df0d894f9d785ac2eba6197143 | 37,963 | py | Python | templates/project/protos/python/wallet/resources_pb2.py | sadegh-moayedizadeh/Anilius | 669cb9a7af72ae251a979a88f6556d14ccb63c2f | [
"MIT"
] | 3 | 2020-02-07T11:54:36.000Z | 2020-02-09T11:53:26.000Z | templates/project/protos/python/wallet/resources_pb2.py | TomanPay/Anilius | 24a7ff3ae8bd21901e46b475feadf72e46516481 | [
"MIT"
] | null | null | null | templates/project/protos/python/wallet/resources_pb2.py | TomanPay/Anilius | 24a7ff3ae8bd21901e46b475feadf72e46516481 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: wallet/resources.proto
import sys
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from goo... | 30.615323 | 2,429 | 0.559308 | 3,877 | 37,963 | 5.202734 | 0.063193 | 0.063457 | 0.065589 | 0.05265 | 0.798572 | 0.737197 | 0.709038 | 0.688315 | 0.675921 | 0.666204 | 0 | 0.040881 | 0.336327 | 37,963 | 1,239 | 2,430 | 30.640032 | 0.759714 | 0.018992 | 0 | 0.802864 | 1 | 0.000842 | 0.149461 | 0.108846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004212 | 0 | 0.004212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
402652e6a10f39cf397f8ef1122a87e4384d1819 | 48 | py | Python | django_xfields/forms/__init__.py | leviplj/django_xfields | 6108173f1d24b71b69bd1634f411b0ad5383f948 | [
"MIT"
] | null | null | null | django_xfields/forms/__init__.py | leviplj/django_xfields | 6108173f1d24b71b69bd1634f411b0ad5383f948 | [
"MIT"
] | null | null | null | django_xfields/forms/__init__.py | leviplj/django_xfields | 6108173f1d24b71b69bd1634f411b0ad5383f948 | [
"MIT"
] | null | null | null | from django_xfields.forms.fields import * # NOQA | 48 | 48 | 0.8125 | 7 | 48 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.883721 | 0.083333 | 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 | 1 | 0 | 0 | 6 |
4061e6d70b6045eb8869b39ee7640a8adb465979 | 10,880 | py | Python | analyzeGrain.py | charpagne/slipAnalysis | 2b619fa4f029250e669ef0b6107cb66c47cc9dfa | [
"Apache-2.0"
] | 2 | 2020-03-05T02:47:50.000Z | 2022-02-19T00:10:51.000Z | analyzeGrain.py | charpagne/slipAnalysis | 2b619fa4f029250e669ef0b6107cb66c47cc9dfa | [
"Apache-2.0"
] | null | null | null | analyzeGrain.py | charpagne/slipAnalysis | 2b619fa4f029250e669ef0b6107cb66c47cc9dfa | [
"Apache-2.0"
] | 2 | 2021-02-27T02:46:20.000Z | 2021-06-10T06:06:46.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Feb 18 18:17:36 2020
@author: Arsenic
"""
import numpy as np
from matplotlib import pyplot as plt, colors, colorbar, cm
import crystallography
import seaborn as sns
sns.set(style="whitegrid")
lattice = 'FCC'
# load grain euler angles from TSL OIM
grain = 48... | 56.082474 | 135 | 0.541728 | 1,523 | 10,880 | 3.786605 | 0.126724 | 0.029131 | 0.010404 | 0.014566 | 0.801977 | 0.771112 | 0.771112 | 0.771112 | 0.742154 | 0.738512 | 0 | 0.094977 | 0.24614 | 10,880 | 194 | 136 | 56.082474 | 0.608144 | 0.026654 | 0 | 0.602339 | 0 | 0 | 0.179882 | 0.016476 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023392 | 0 | 0.023392 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
40706b38f05e00da9725053ac7eca2cdeaeb2354 | 132 | py | Python | sheets/python/log-format-right-just.py | zgmarx/cheatsheet | b29e43a55c5c0fae8763a855025d77a8f46e1208 | [
"MIT"
] | 1 | 2020-03-31T11:26:05.000Z | 2020-03-31T11:26:05.000Z | sheets/python/log-format-right-just.py | zgmarx/cheatsheet | b29e43a55c5c0fae8763a855025d77a8f46e1208 | [
"MIT"
] | null | null | null | sheets/python/log-format-right-just.py | zgmarx/cheatsheet | b29e43a55c5c0fae8763a855025d77a8f46e1208 | [
"MIT"
] | null | null | null | # %(levelname)8s
logging.Formatter("[%(asctime)s] [%(levelname)8s] --- %(message)s (%(filename)s:%(lineno)s)", "%Y-%m-%d %H:%M:%S")
| 44 | 114 | 0.575758 | 20 | 132 | 3.8 | 0.65 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.068182 | 132 | 2 | 115 | 66 | 0.601626 | 0.106061 | 0 | 0 | 0 | 1 | 0.767241 | 0.215517 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
407526762fd2160cacb1b14fa146458cf50318bc | 26,686 | py | Python | experiments/tpcds/groupby/groupby501.py | qingzma/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 11 | 2019-12-24T02:39:35.000Z | 2022-03-21T22:39:41.000Z | experiments/tpcds/groupby/groupby501.py | Forever-MrX/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 4 | 2019-12-09T09:48:17.000Z | 2021-07-07T02:58:26.000Z | experiments/tpcds/groupby/groupby501.py | qingzma/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 8 | 2019-11-08T02:10:37.000Z | 2022-03-21T22:42:46.000Z | # Created by Qingzhi Ma at 10/02/2020
# All right reserved
# Department of Computer Science
# the University of Warwick
# Q.Ma.2@warwick.ac.uk
#
#
# hive -e "select ss_store_sk, count(*) from store_sales_1t where ss_sold_date_sk between 2451119 and 2451483 group by ss_store_sk;" > ~/group501counts.csv
#
#
from dbestc... | 44.925926 | 275 | 0.697145 | 3,700 | 26,686 | 4.686216 | 0.064595 | 0.184786 | 0.134437 | 0.051906 | 0.943019 | 0.933906 | 0.913547 | 0.913547 | 0.908415 | 0.900802 | 0 | 0.073509 | 0.199655 | 26,686 | 593 | 276 | 45.001686 | 0.738318 | 0.186577 | 0 | 0.653689 | 0 | 0.088115 | 0.574155 | 0.257984 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018443 | false | 0 | 0.002049 | 0 | 0.020492 | 0.010246 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
40758fa0598fc68b8bb172fa598ca9024a5c4961 | 28 | py | Python | pyotp/__init__.py | Elizafox/pyotp | 78789b3514befcd9e2e7fb1f7ffe74249432240a | [
"WTFPL"
] | null | null | null | pyotp/__init__.py | Elizafox/pyotp | 78789b3514befcd9e2e7fb1f7ffe74249432240a | [
"WTFPL"
] | null | null | null | pyotp/__init__.py | Elizafox/pyotp | 78789b3514befcd9e2e7fb1f7ffe74249432240a | [
"WTFPL"
] | null | null | null | # TODO FIXME add stuff here
| 14 | 27 | 0.75 | 5 | 28 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 1 | 28 | 28 | 0.954545 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40a7f207c75e1188c09d3d60cf7773c402bf3caa | 149 | py | Python | test/Bindings/import.py | yangkeping/scalehls | ad2bf8b7c6801a83042a3fdbe0fc3e39521c13ab | [
"Apache-2.0"
] | 60 | 2021-07-30T03:30:35.000Z | 2022-03-27T20:00:41.000Z | test/Bindings/import.py | TimJZ/scalehls | ad2bf8b7c6801a83042a3fdbe0fc3e39521c13ab | [
"Apache-2.0"
] | 13 | 2021-08-02T16:13:04.000Z | 2022-03-30T23:43:45.000Z | test/Bindings/import.py | TimJZ/scalehls | ad2bf8b7c6801a83042a3fdbe0fc3e39521c13ab | [
"Apache-2.0"
] | 14 | 2021-07-30T12:55:01.000Z | 2022-03-04T14:29:39.000Z | # REQUIRES: bindings_python
# RUN: %PYTHON %s
import mlir.ir
from mlir.dialects import builtin
import scalehls
from scalehls.dialects import hlscpp
| 18.625 | 36 | 0.805369 | 21 | 149 | 5.666667 | 0.619048 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 149 | 7 | 37 | 21.285714 | 0.922481 | 0.275168 | 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 | 1 | 0 | 0 | 6 |
40b4416a9354250df1fdb05349e15884cffa948c | 32 | py | Python | xxmaker/game/g1836jr/__init__.py | pijll/xxmaker | 654d639e2f170b373a1a955b15cee07ed4cfa5ab | [
"MIT"
] | null | null | null | xxmaker/game/g1836jr/__init__.py | pijll/xxmaker | 654d639e2f170b373a1a955b15cee07ed4cfa5ab | [
"MIT"
] | null | null | null | xxmaker/game/g1836jr/__init__.py | pijll/xxmaker | 654d639e2f170b373a1a955b15cee07ed4cfa5ab | [
"MIT"
] | null | null | null | from .main import create_1836jr
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 32 | 1 | 32 | 32 | 0.785714 | 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 | 1 | 0 | 0 | 6 |
40f807051a9d9fea77fee0507c721d70c7113db1 | 284 | py | Python | modulo1/Tiempo.py | OmarGP/Python1 | 66df90aa7b293d42f1e738099582d81ba203d3f4 | [
"Apache-2.0"
] | null | null | null | modulo1/Tiempo.py | OmarGP/Python1 | 66df90aa7b293d42f1e738099582d81ba203d3f4 | [
"Apache-2.0"
] | null | null | null | modulo1/Tiempo.py | OmarGP/Python1 | 66df90aa7b293d42f1e738099582d81ba203d3f4 | [
"Apache-2.0"
] | null | null | null | import time
print("Time : ", time.time())
print(time.localtime(time.time()))
print("Año: ", time.localtime(time.time()).tm_year)
print("Minutos: ", time.localtime(time.time()).tm_min)
print("Milliseconds: ", int(time.time() * 1000.0))
print(time.asctime(time.localtime(time.time()))) | 35.5 | 54 | 0.697183 | 41 | 284 | 4.780488 | 0.341463 | 0.285714 | 0.346939 | 0.428571 | 0.234694 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.066901 | 284 | 8 | 55 | 35.5 | 0.720755 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.857143 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dc04554417617ae3785ead802cb7acb263d4af3c | 40 | py | Python | atmos/__init__.py | cmflannery/atmos | be8261208527f46023ec25792e846f8798e76429 | [
"MIT"
] | 1 | 2019-09-22T17:33:01.000Z | 2019-09-22T17:33:01.000Z | atmos/__init__.py | cmflannery/atmos | be8261208527f46023ec25792e846f8798e76429 | [
"MIT"
] | null | null | null | atmos/__init__.py | cmflannery/atmos | be8261208527f46023ec25792e846f8798e76429 | [
"MIT"
] | 1 | 2019-09-27T18:25:06.000Z | 2019-09-27T18:25:06.000Z | from . import atmos
from .atmos import * | 20 | 20 | 0.75 | 6 | 40 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 20 | 20 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc1610646c8d73c9e5be546ff9df3f3add1d8fe1 | 47 | py | Python | wamr/ffi.py | isabella232/wamr-python | 44a296304c6649f03a22ff275a812db43efd068b | [
"Apache-2.0"
] | null | null | null | wamr/ffi.py | isabella232/wamr-python | 44a296304c6649f03a22ff275a812db43efd068b | [
"Apache-2.0"
] | 1 | 2022-03-21T06:27:49.000Z | 2022-03-21T06:27:49.000Z | wamr/ffi.py | isabella232/wamr-python | 44a296304c6649f03a22ff275a812db43efd068b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from .binding import *
| 15.666667 | 23 | 0.574468 | 6 | 47 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.191489 | 47 | 2 | 24 | 23.5 | 0.684211 | 0.446809 | 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 | 1 | 0 | 0 | 6 |
905de1b077459c4da9131c8d2fcbb19b10d06363 | 180 | py | Python | image-editor/data_editor/model/model_files.py | flegac/deep-experiments | e1b12e724f2c8340cbe9c51396cf3f42e3b4e934 | [
"MIT"
] | null | null | null | image-editor/data_editor/model/model_files.py | flegac/deep-experiments | e1b12e724f2c8340cbe9c51396cf3f42e3b4e934 | [
"MIT"
] | null | null | null | image-editor/data_editor/model/model_files.py | flegac/deep-experiments | e1b12e724f2c8340cbe9c51396cf3f42e3b4e934 | [
"MIT"
] | null | null | null | from data_editor.utils.file_select import ask_open_file
def ask_open_model():
return ask_open_file('Open model', [
('all files', '.*'),
('h5', '.h5'),
])
| 20 | 55 | 0.594444 | 24 | 180 | 4.125 | 0.625 | 0.212121 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.233333 | 180 | 8 | 56 | 22.5 | 0.702899 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0.166667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
906b013bfdfd7d817fbc43580842772964463df5 | 13,970 | py | Python | tests/lazy/test_op_gradients.py | fbartolic/starry | d50576caf964ad925c490c9f3ffe1273ab155397 | [
"MIT"
] | null | null | null | tests/lazy/test_op_gradients.py | fbartolic/starry | d50576caf964ad925c490c9f3ffe1273ab155397 | [
"MIT"
] | null | null | null | tests/lazy/test_op_gradients.py | fbartolic/starry | d50576caf964ad925c490c9f3ffe1273ab155397 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Test the various Theano Ops and their gradients.
"""
import theano
from theano.tests.unittest_tools import verify_grad
from theano.configparser import change_flags
import theano.tensor as tt
import numpy as np
import pytest
import starry
def test_sT(abs_tol=1e-5, rel_tol=1e-5, eps=1e-7):
... | 26.358491 | 89 | 0.445168 | 1,974 | 13,970 | 3.011651 | 0.075481 | 0.06762 | 0.075694 | 0.050463 | 0.84508 | 0.817998 | 0.812952 | 0.792935 | 0.78032 | 0.759125 | 0 | 0.069577 | 0.422835 | 13,970 | 529 | 90 | 26.408318 | 0.667742 | 0.02083 | 0 | 0.696517 | 0 | 0 | 0.003966 | 0 | 0 | 0 | 0 | 0.00189 | 0 | 1 | 0.044776 | false | 0 | 0.017413 | 0.004975 | 0.067164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
907daf00644d95e2a234686021ba60047c21f677 | 251 | py | Python | bnbapp/core/context_processors.py | Bionetbook/bionetbook | c92d5bbdc5c121631c2230cf93aa63977d381f30 | [
"MIT"
] | null | null | null | bnbapp/core/context_processors.py | Bionetbook/bionetbook | c92d5bbdc5c121631c2230cf93aa63977d381f30 | [
"MIT"
] | null | null | null | bnbapp/core/context_processors.py | Bionetbook/bionetbook | c92d5bbdc5c121631c2230cf93aa63977d381f30 | [
"MIT"
] | null | null | null | from django.conf import settings # import the settings file
def registration_enabled(context):
# return the value you want as a dictionnary. you may add multiple values in there.
return {'REGISTRATION_ENABLED': settings.REGISTRATION_ENABLED}
| 41.833333 | 87 | 0.788845 | 34 | 251 | 5.735294 | 0.705882 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155378 | 251 | 5 | 88 | 50.2 | 0.919811 | 0.422311 | 0 | 0 | 0 | 0 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
90b657959a92432da43d6638905ae3b3ebb0f772 | 23 | py | Python | nevermore/lightning/__init__.py | shadowy000/nevermore | b46bc957dee283a02a19d1c6e6cb2d7b5eea86ca | [
"Apache-2.0"
] | null | null | null | nevermore/lightning/__init__.py | shadowy000/nevermore | b46bc957dee283a02a19d1c6e6cb2d7b5eea86ca | [
"Apache-2.0"
] | null | null | null | nevermore/lightning/__init__.py | shadowy000/nevermore | b46bc957dee283a02a19d1c6e6cb2d7b5eea86ca | [
"Apache-2.0"
] | null | null | null | from .gradnorm import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 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 | 1 | 0 | 0 | 6 |
90c92138e81e0bac49da667da1fd76297f5c752c | 3,116 | py | Python | tests/test_amin_amax.py | Rubtsowa/dpnp | ef404c0f284b0c508ed1e556e140f02f76ae5551 | [
"BSD-2-Clause"
] | 37 | 2020-09-08T00:38:52.000Z | 2022-03-18T01:44:10.000Z | tests/test_amin_amax.py | Rubtsowa/dpnp | ef404c0f284b0c508ed1e556e140f02f76ae5551 | [
"BSD-2-Clause"
] | 432 | 2020-09-07T09:48:41.000Z | 2022-03-25T17:50:55.000Z | tests/test_amin_amax.py | Rubtsowa/dpnp | ef404c0f284b0c508ed1e556e140f02f76ae5551 | [
"BSD-2-Clause"
] | 17 | 2020-09-07T10:00:34.000Z | 2022-03-25T13:53:43.000Z | import pytest
import dpnp
import numpy
@pytest.mark.parametrize("type",
[numpy.float64],
ids=['float64'])
def test_amax_float64(type):
a = numpy.array([[[-2., 3.], [9.1, 0.2]], [[-2., 5.0], [-2, -1.2]], [[1.0, -2.], [5.0, -1.1]]])
ia = dpnp.array(a)
for... | 28.851852 | 99 | 0.531772 | 432 | 3,116 | 3.710648 | 0.12037 | 0.049906 | 0.104803 | 0.114785 | 0.822832 | 0.781659 | 0.767311 | 0.767311 | 0.739863 | 0.689956 | 0 | 0.06062 | 0.285302 | 3,116 | 107 | 100 | 29.121495 | 0.659183 | 0 | 0 | 0.582278 | 0 | 0 | 0.044288 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 1 | 0.088608 | false | 0 | 0.037975 | 0 | 0.139241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
90d17a7ba88f1747d52989665437afc0ae4f3d27 | 3,134 | py | Python | tests/test_api_keys.py | therefromhere/dj-stripe | 8f1fa8b95229288caa0dc036038e015e84e52e85 | [
"MIT"
] | null | null | null | tests/test_api_keys.py | therefromhere/dj-stripe | 8f1fa8b95229288caa0dc036038e015e84e52e85 | [
"MIT"
] | null | null | null | tests/test_api_keys.py | therefromhere/dj-stripe | 8f1fa8b95229288caa0dc036038e015e84e52e85 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.test import TestCase
from django.test.utils import override_settings
from djstripe import settings as djstripe_settings
from djstripe.models import StripeModel
try:
reload
except NameError:
from importlib import reload
class TestSubscriberModelRetrievalMethod(Te... | 38.691358 | 76 | 0.739311 | 409 | 3,134 | 5.210269 | 0.110024 | 0.150164 | 0.151103 | 0.20366 | 0.782731 | 0.77053 | 0.761145 | 0.711403 | 0.711403 | 0.695448 | 0 | 0 | 0.181876 | 3,134 | 80 | 77 | 39.175 | 0.831123 | 0.040523 | 0 | 0.485294 | 0 | 0 | 0.087883 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.088235 | false | 0 | 0.088235 | 0 | 0.191176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
90ef05c04befab5d1af1bff364e66f8484ec4780 | 19,563 | py | Python | plot_noise_parameters_v2.py | patternizer/AVHRR_NOISE | fe4127801393e92bd88e846d664bd1e2b4b76d78 | [
"MIT"
] | null | null | null | plot_noise_parameters_v2.py | patternizer/AVHRR_NOISE | fe4127801393e92bd88e846d664bd1e2b4b76d78 | [
"MIT"
] | 5 | 2019-02-25T21:49:27.000Z | 2019-02-27T23:32:37.000Z | plot_noise_parameters_v2.py | patternizer/AVHRR_NOISE | fe4127801393e92bd88e846d664bd1e2b4b76d78 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#ipdb> import os; os._exit(1)
# call as: python noise_parameters.py file_in
# =======================================
# Version 0.4
# 12 April, 2019
# michael.taylor AT reading DOT ac DOT uk
# =======================================
import os
import os.path
import glob
import optparse
f... | 35.895413 | 107 | 0.654041 | 3,018 | 19,563 | 3.96554 | 0.047382 | 0.044703 | 0.070187 | 0.048128 | 0.811247 | 0.79629 | 0.787182 | 0.778409 | 0.730699 | 0.719836 | 0 | 0.030966 | 0.168021 | 19,563 | 544 | 108 | 35.961397 | 0.70435 | 0.106425 | 0 | 0.551487 | 0 | 0 | 0.205784 | 0.06123 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002288 | false | 0 | 0.032037 | 0 | 0.034325 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
296131891e0d3732cbea1d4d4355d95fd060db6f | 108 | py | Python | config.py | ppiecuch/gd_chipmunk | 3deb177c1cca0a2dc41c91aa5f174105a3564887 | [
"MIT"
] | null | null | null | config.py | ppiecuch/gd_chipmunk | 3deb177c1cca0a2dc41c91aa5f174105a3564887 | [
"MIT"
] | null | null | null | config.py | ppiecuch/gd_chipmunk | 3deb177c1cca0a2dc41c91aa5f174105a3564887 | [
"MIT"
] | null | null | null | # config.py
def can_build(env, platform):
return not env['production']
def configure(env):
pass
| 10.8 | 32 | 0.666667 | 15 | 108 | 4.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212963 | 108 | 9 | 33 | 12 | 0.835294 | 0.083333 | 0 | 0 | 0 | 0 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
296563ea5a34dabeb87a196fea6868448d4c8459 | 54,004 | py | Python | demisto_sdk/tests/integration_tests/format_integration_test.py | SergeBakharev/demisto-sdk | 17d00942a1bd33039a8aba9ddffecfd81008d275 | [
"MIT"
] | null | null | null | demisto_sdk/tests/integration_tests/format_integration_test.py | SergeBakharev/demisto-sdk | 17d00942a1bd33039a8aba9ddffecfd81008d275 | [
"MIT"
] | null | null | null | demisto_sdk/tests/integration_tests/format_integration_test.py | SergeBakharev/demisto-sdk | 17d00942a1bd33039a8aba9ddffecfd81008d275 | [
"MIT"
] | null | null | null | import json
import os
import re
from pathlib import PosixPath
from typing import List
import pytest
from click.testing import CliRunner
from demisto_sdk.__main__ import main
from demisto_sdk.commands.common import tools
from demisto_sdk.commands.common.handlers import YAML_Handler
from demisto_sdk.commands.common.hoo... | 40.002963 | 125 | 0.657822 | 6,653 | 54,004 | 5.133774 | 0.056666 | 0.016162 | 0.028986 | 0.026409 | 0.845879 | 0.811653 | 0.78782 | 0.769492 | 0.76229 | 0.736964 | 0 | 0.008091 | 0.247074 | 54,004 | 1,349 | 126 | 40.032617 | 0.831903 | 0.203429 | 0 | 0.629932 | 0 | 0.002721 | 0.172554 | 0.040187 | 0 | 0 | 0 | 0 | 0.212245 | 1 | 0.054422 | false | 0 | 0.028571 | 0 | 0.084354 | 0.001361 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
46a375734f84fecd9cc7680ff045bf144de72a2f | 26,964 | py | Python | cse2rad.py | dataaa/UDFA | 20f700efe0fe8ce969754bae1d7c09b1e4ff6fae | [
"MIT"
] | null | null | null | cse2rad.py | dataaa/UDFA | 20f700efe0fe8ce969754bae1d7c09b1e4ff6fae | [
"MIT"
] | null | null | null | cse2rad.py | dataaa/UDFA | 20f700efe0fe8ce969754bae1d7c09b1e4ff6fae | [
"MIT"
] | null | null | null | from glob import glob
from os.path import join
import re
################################################################################
##### cse2rad.py, v1.0 #####
##### Originally written in 2015 by Paul M. Woods. #####
##### This script a... | 63.895735 | 2,694 | 0.652425 | 5,254 | 26,964 | 3.341073 | 0.289113 | 0.003304 | 0.010254 | 0.006836 | 0.435513 | 0.42093 | 0.406859 | 0.383104 | 0.366982 | 0.35086 | 0 | 0.361817 | 0.108552 | 26,964 | 421 | 2,695 | 64.047506 | 0.368474 | 0.145231 | 0 | 0.046296 | 0 | 0.092593 | 0.619887 | 0.489973 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.009259 | null | null | 0.015432 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3b2b632a7a3533ea8e7f11d810aeca42cc5f36b | 9,199 | py | Python | cumtd/cumtd_client.py | rthotakura97/cumtd-python | 5073d79c0e2429457be7ff386bde2a25194e3c08 | [
"MIT"
] | null | null | null | cumtd/cumtd_client.py | rthotakura97/cumtd-python | 5073d79c0e2429457be7ff386bde2a25194e3c08 | [
"MIT"
] | null | null | null | cumtd/cumtd_client.py | rthotakura97/cumtd-python | 5073d79c0e2429457be7ff386bde2a25194e3c08 | [
"MIT"
] | null | null | null | import requests
import json
class ApiClient:
def __init__(self, api_key):
self.base_url = 'https://developer.cumtd.com/api/v2.2/json/'
self.api_key = api_key
self.api_key_url = '?key=' + self.api_key
def get_calendar_dates_by_date(self, date):
data = requests.get(self.base_ur... | 33.819853 | 209 | 0.602239 | 1,125 | 9,199 | 4.692444 | 0.080889 | 0.035234 | 0.056829 | 0.06649 | 0.818526 | 0.789543 | 0.756393 | 0.700701 | 0.675317 | 0.675317 | 0 | 0.000303 | 0.282639 | 9,199 | 271 | 210 | 33.944649 | 0.799667 | 0 | 0 | 0.722222 | 0 | 0 | 0.115569 | 0.012285 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.009259 | 0 | 0.37963 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
31a2ba43e3c4076eaf6bf797fcbd5e05c8f24053 | 207 | py | Python | noteapp/members/urls.py | Sergiogd112/notesapp | 63cc35f085c07ba411b4875cc10b689100a25c4e | [
"MIT"
] | null | null | null | noteapp/members/urls.py | Sergiogd112/notesapp | 63cc35f085c07ba411b4875cc10b689100a25c4e | [
"MIT"
] | null | null | null | noteapp/members/urls.py | Sergiogd112/notesapp | 63cc35f085c07ba411b4875cc10b689100a25c4e | [
"MIT"
] | null | null | null | from django.urls import path
from .views import *
urlpatterns = [
path('register/', UserRegistrationView.as_view(),name='register'),
path('login/', UserRegistrationView.as_view(),name='login'),
]
| 20.7 | 70 | 0.705314 | 23 | 207 | 6.26087 | 0.565217 | 0.305556 | 0.361111 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 207 | 9 | 71 | 23 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
732bfcabd7dbd2f7b1d8b1628890f7aba728bfb7 | 9,369 | py | Python | tests/apps/slack_integration/test_slash_command.py | alysivji/github-adapter | 5e3543f41f189fbe4a50d64e3d6734dc765579b4 | [
"MIT"
] | 55 | 2019-05-05T01:20:58.000Z | 2022-01-10T18:03:05.000Z | tests/apps/slack_integration/test_slash_command.py | alysivji/github-adapter | 5e3543f41f189fbe4a50d64e3d6734dc765579b4 | [
"MIT"
] | 222 | 2019-05-03T16:31:26.000Z | 2021-08-28T23:49:03.000Z | tests/apps/slack_integration/test_slash_command.py | busy-beaver-dev/busy-beaver | 5e3543f41f189fbe4a50d64e3d6734dc765579b4 | [
"MIT"
] | 19 | 2019-04-27T19:49:32.000Z | 2020-06-30T19:52:09.000Z | import pytest
from busy_beaver.apps.slack_integration.slash_command import (
command_not_found,
disconnect_github,
display_help_text,
link_github,
next_event,
relink_github,
upcoming_events,
)
from busy_beaver.models import GitHubSummaryUser, SlackUser
from tests._utilities import FakeSlack... | 32.644599 | 88 | 0.738926 | 1,114 | 9,369 | 5.900359 | 0.115799 | 0.060246 | 0.085197 | 0.115016 | 0.837974 | 0.811197 | 0.773315 | 0.756428 | 0.71033 | 0.691161 | 0 | 0.007388 | 0.147614 | 9,369 | 286 | 89 | 32.758741 | 0.815677 | 0.010567 | 0 | 0.631579 | 0 | 0 | 0.100198 | 0.008469 | 0 | 0 | 0 | 0 | 0.129187 | 1 | 0.076555 | false | 0 | 0.019139 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
735039babdde9d8be02059260f2716a3de66a7fd | 961 | py | Python | multiagent/observation.py | SakuraiSatoru/multiagent-particle-envs | 151e66f37e373107b98e166a24304b64ae752f60 | [
"MIT"
] | null | null | null | multiagent/observation.py | SakuraiSatoru/multiagent-particle-envs | 151e66f37e373107b98e166a24304b64ae752f60 | [
"MIT"
] | null | null | null | multiagent/observation.py | SakuraiSatoru/multiagent-particle-envs | 151e66f37e373107b98e166a24304b64ae752f60 | [
"MIT"
] | null | null | null | import numpy as np
class Conv1dObservation(object):
def __init__(self, non_lidar_obs, lidar_obs):
"""
:type non_lidar_obs: np.ndarray
:type lidar_obs: np.ndarray
"""
assert len(non_lidar_obs.shape) == 1
assert len(lidar_obs.shape) == 2
self._non_lidar_obs =... | 25.972973 | 95 | 0.651405 | 134 | 961 | 4.261194 | 0.201493 | 0.322242 | 0.211909 | 0.183888 | 0.474606 | 0.374781 | 0.334501 | 0.085814 | 0 | 0 | 0 | 0.008299 | 0.247659 | 961 | 37 | 96 | 25.972973 | 0.781466 | 0.138398 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.285714 | false | 0 | 0.047619 | 0.238095 | 0.619048 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7352bb3ce8cd9ffd7788e96dcc681288581fc5d8 | 39 | py | Python | devip/__init__.py | jorgebg/devip | b4fe953efe513cdd88db99dee1d961a9c8be924e | [
"MIT"
] | null | null | null | devip/__init__.py | jorgebg/devip | b4fe953efe513cdd88db99dee1d961a9c8be924e | [
"MIT"
] | null | null | null | devip/__init__.py | jorgebg/devip | b4fe953efe513cdd88db99dee1d961a9c8be924e | [
"MIT"
] | null | null | null | from devip.lib import get_ip_addresses
| 19.5 | 38 | 0.871795 | 7 | 39 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 | 1 | 0 | 0 | 6 |
7dfbde09e42950bbd35d7f575da35cede36fd141 | 29 | py | Python | plugins/i18n_subsites/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/i18n_subsites/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/i18n_subsites/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .i18n_subsites import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 29 | 1 | 29 | 29 | 0.8 | 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 | 1 | 0 | 0 | 6 |
b4302cccbef6d36cb12392d13e264501e86e71aa | 10,817 | py | Python | mayan/apps/mailer/tests/test_workflow_actions.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 4 | 2021-09-02T00:16:30.000Z | 2021-09-09T22:25:15.000Z | mayan/apps/mailer/tests/test_workflow_actions.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 86 | 2021-09-01T23:53:02.000Z | 2021-09-20T02:25:10.000Z | mayan/apps/mailer/tests/test_workflow_actions.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 70 | 2021-09-01T12:54:51.000Z | 2022-02-16T00:53:18.000Z | import json
from django.core import mail
from mayan.apps.documents.tests.base import GenericDocumentTestCase
from mayan.apps.documents.tests.mixins.document_mixins import DocumentTestMixin
from mayan.apps.document_states.literals import WORKFLOW_ACTION_ON_ENTRY
from mayan.apps.document_states.permissions import permi... | 39.050542 | 123 | 0.660072 | 1,174 | 10,817 | 5.699319 | 0.089438 | 0.07936 | 0.050217 | 0.078464 | 0.802122 | 0.755343 | 0.740248 | 0.728441 | 0.728441 | 0.65491 | 0 | 0.004798 | 0.248498 | 10,817 | 276 | 124 | 39.192029 | 0.818305 | 0 | 0 | 0.588235 | 0 | 0 | 0.064436 | 0.023482 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.042017 | false | 0 | 0.063025 | 0 | 0.12605 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
b437fd7c37adbdcc45ba1b5e16007f27b077f6f0 | 2,879 | py | Python | tests/jobs/test_build.py | jlakin2/python-jenkins | 2b69951603d1f57b3fe82e119bba62a19156a629 | [
"BSD-3-Clause"
] | 7 | 2020-01-08T19:34:50.000Z | 2022-03-07T15:54:43.000Z | tests/jobs/test_build.py | jlakin2/python-jenkins | 2b69951603d1f57b3fe82e119bba62a19156a629 | [
"BSD-3-Clause"
] | 2 | 2021-03-31T12:35:39.000Z | 2021-08-17T16:30:34.000Z | tests/jobs/test_build.py | jlakin2/python-jenkins | 2b69951603d1f57b3fe82e119bba62a19156a629 | [
"BSD-3-Clause"
] | 6 | 2017-12-02T23:31:32.000Z | 2021-12-13T02:26:05.000Z | from mock import patch
import jenkins
from tests.jobs.base import JenkinsJobsTestBase
class JenkinsBuildJobTest(JenkinsJobsTestBase):
@patch.object(jenkins.Jenkins, 'jenkins_open')
def test_simple(self, jenkins_mock):
jenkins_mock.side_effect = [
{'foo': 'bar'},
]
build_... | 37.38961 | 100 | 0.637721 | 376 | 2,879 | 4.587766 | 0.151596 | 0.14029 | 0.104348 | 0.132174 | 0.882899 | 0.882899 | 0.858551 | 0.858551 | 0.833623 | 0.833623 | 0 | 0.009848 | 0.224036 | 2,879 | 76 | 101 | 37.881579 | 0.76231 | 0 | 0 | 0.5 | 0 | 0 | 0.147621 | 0.050017 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.086207 | false | 0 | 0.051724 | 0 | 0.155172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
b470dff06e03bbb5641987a9fd8d14291ab8c6f2 | 18,326 | py | Python | backend/wellness/models.py | abayakturin/wellness | 8cdc7c8f4a38f55fa4baf1511eb599eeefe1343d | [
"MIT"
] | null | null | null | backend/wellness/models.py | abayakturin/wellness | 8cdc7c8f4a38f55fa4baf1511eb599eeefe1343d | [
"MIT"
] | null | null | null | backend/wellness/models.py | abayakturin/wellness | 8cdc7c8f4a38f55fa4baf1511eb599eeefe1343d | [
"MIT"
] | null | null | null | # This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior
# * Remove `managed =... | 31.542169 | 104 | 0.72007 | 2,191 | 18,326 | 5.797809 | 0.103606 | 0.081477 | 0.093521 | 0.124695 | 0.781863 | 0.764071 | 0.731638 | 0.702511 | 0.66441 | 0.627804 | 0 | 0.017759 | 0.185747 | 18,326 | 580 | 105 | 31.596552 | 0.833534 | 0.025647 | 0 | 0.603286 | 1 | 0 | 0.059222 | 0.015968 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002347 | 0.002347 | 0 | 0.758216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b485007b056c930c2e38a42c0a483fe964f3ed0c | 21 | py | Python | Xana/SaxsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 1 | 2021-01-25T08:57:57.000Z | 2021-01-25T08:57:57.000Z | Xana/SaxsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 21 | 2020-03-23T12:50:32.000Z | 2021-05-07T07:54:38.000Z | Xana/SaxsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 2 | 2020-03-22T10:31:09.000Z | 2020-07-01T14:00:28.000Z | from .Soq import Soq
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 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 | 1 | 0 | 0 | 6 |
81e8e46ad0f32377e77f7c139d78adec7877862d | 16,316 | py | Python | tests/test_rds/test_filters.py | andormarkus/moto | 67cda6d7d6f42118ccd7e2170e7ff0a1f92fa6a6 | [
"Apache-2.0"
] | null | null | null | tests/test_rds/test_filters.py | andormarkus/moto | 67cda6d7d6f42118ccd7e2170e7ff0a1f92fa6a6 | [
"Apache-2.0"
] | null | null | null | tests/test_rds/test_filters.py | andormarkus/moto | 67cda6d7d6f42118ccd7e2170e7ff0a1f92fa6a6 | [
"Apache-2.0"
] | null | null | null | import boto3
import pytest
import sure # noqa # pylint: disable=unused-import
from botocore.exceptions import ClientError
from moto import mock_rds
class TestDBInstanceFilters(object):
mock = mock_rds()
@classmethod
def setup_class(cls):
cls.mock.start()
client = boto3.client("rds", re... | 43.393617 | 88 | 0.620679 | 1,744 | 16,316 | 5.625 | 0.087729 | 0.082569 | 0.06422 | 0.071356 | 0.902854 | 0.888685 | 0.858002 | 0.800204 | 0.766259 | 0.725076 | 0 | 0.007198 | 0.250735 | 16,316 | 375 | 89 | 43.509333 | 0.795256 | 0.081699 | 0 | 0.661238 | 0 | 0 | 0.203837 | 0.028881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09772 | false | 0.006515 | 0.016287 | 0 | 0.127036 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
c33ae08834f0370d4050a01ddcf2dce529617ce9 | 164 | py | Python | quadtree/point.py | josehuillca/GeoComp_TrabalhoFinal | 3af183f940b624234d741aa3fd6789faec236aa1 | [
"MIT"
] | null | null | null | quadtree/point.py | josehuillca/GeoComp_TrabalhoFinal | 3af183f940b624234d741aa3fd6789faec236aa1 | [
"MIT"
] | null | null | null | quadtree/point.py | josehuillca/GeoComp_TrabalhoFinal | 3af183f940b624234d741aa3fd6789faec236aa1 | [
"MIT"
] | null | null | null | class Point():
def __init__(self, x, y):
self.x = x
self.y = y
def __str__(self):
return 'P({:.2f}, {:.2f})'.format(self.x, self.y) | 23.428571 | 57 | 0.487805 | 25 | 164 | 2.88 | 0.48 | 0.208333 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.304878 | 164 | 7 | 57 | 23.428571 | 0.614035 | 0 | 0 | 0 | 0 | 0 | 0.10303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c3595a9b8c4aaf78741498dca9d243d2c9e9f1c4 | 41 | py | Python | sensors/cpu.py | singh87/rtop | 153f1fa130fa71b57e3225a01ff220900ecb9f3a | [
"MIT"
] | null | null | null | sensors/cpu.py | singh87/rtop | 153f1fa130fa71b57e3225a01ff220900ecb9f3a | [
"MIT"
] | null | null | null | sensors/cpu.py | singh87/rtop | 153f1fa130fa71b57e3225a01ff220900ecb9f3a | [
"MIT"
] | null | null | null | import psutil
class CpuSensor:
pass | 8.2 | 16 | 0.731707 | 5 | 41 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 41 | 5 | 17 | 8.2 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
5ee419291c80caf452e84b1d87b5bdb5f26a71a2 | 112 | py | Python | src/biopy/__init__.py | BioPyTeam/biopy | 5c1444280d0a5098b61a99d96dc2825259c7ced5 | [
"MIT"
] | null | null | null | src/biopy/__init__.py | BioPyTeam/biopy | 5c1444280d0a5098b61a99d96dc2825259c7ced5 | [
"MIT"
] | null | null | null | src/biopy/__init__.py | BioPyTeam/biopy | 5c1444280d0a5098b61a99d96dc2825259c7ced5 | [
"MIT"
] | 2 | 2021-07-23T09:30:58.000Z | 2021-07-23T09:33:25.000Z | from . import datasets
from . import metrics
from . import models
from . import statistic
from . import training | 22.4 | 23 | 0.785714 | 15 | 112 | 5.866667 | 0.466667 | 0.568182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 112 | 5 | 24 | 22.4 | 0.946237 | 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 | 1 | 0 | 0 | 6 |
5eeeeac16b8fb941c05fc12ae687d27b922ec2c0 | 4,957 | py | Python | paper/oopsla17-cameraready/plots.py | ucsd-progsys/nate | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | 9 | 2017-08-30T23:00:52.000Z | 2021-02-25T23:08:55.000Z | paper/oopsla17-cameraready/plots.py | ucsd-progsys/ml2 | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | null | null | null | paper/oopsla17-cameraready/plots.py | ucsd-progsys/ml2 | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | 1 | 2022-03-31T19:50:33.000Z | 2022-03-31T19:50:33.000Z | import csv
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
UCSD = 'UCSD'
BUCKETS = [0.1, 0.2, 1.0, 10.0, 60.0 ] # range(500, 3001, 500)
#COLORS=['#90B0D4', '#90D492', '#D4B490', '#D490D2']
COLORS=['#8dd3c7','#bebada','#ffffb3','#fb8072','#80b1d3','#fdb462']
COLORS_E=['#8dd3c7','#bebada','#80b1d3'... | 38.130769 | 118 | 0.587452 | 754 | 4,957 | 3.732095 | 0.16313 | 0.079957 | 0.102345 | 0.034115 | 0.793888 | 0.793888 | 0.793888 | 0.793888 | 0.769012 | 0.750533 | 0 | 0.065717 | 0.235626 | 4,957 | 129 | 119 | 38.426357 | 0.67696 | 0.0581 | 0 | 0.515464 | 0 | 0 | 0.198495 | 0.022151 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.041237 | null | null | 0.14433 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f26d849b15598e6e852d39e4c42d5a09474f4db | 104 | py | Python | test/__init__.py | synx-ai/single-page-https | 6dc63cdfd18ca8d155cf6eb8a9f8143e683a256f | [
"MIT"
] | null | null | null | test/__init__.py | synx-ai/single-page-https | 6dc63cdfd18ca8d155cf6eb8a9f8143e683a256f | [
"MIT"
] | null | null | null | test/__init__.py | synx-ai/single-page-https | 6dc63cdfd18ca8d155cf6eb8a9f8143e683a256f | [
"MIT"
] | null | null | null | import os
from os import sys, path
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
| 20.8 | 67 | 0.778846 | 17 | 104 | 4.529412 | 0.529412 | 0.181818 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 104 | 4 | 68 | 26 | 0.810526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 6 |
6f2e09147840846a01aa9242b31aadbcee3c47f0 | 111 | py | Python | app/views.py | silence114/DataGO | bd087a235ccdc901033139d41e51aca6de0950a4 | [
"MIT"
] | null | null | null | app/views.py | silence114/DataGO | bd087a235ccdc901033139d41e51aca6de0950a4 | [
"MIT"
] | null | null | null | app/views.py | silence114/DataGO | bd087a235ccdc901033139d41e51aca6de0950a4 | [
"MIT"
] | null | null | null | from app import app
@app.route('/index', methods=['GET', 'POST'])
def get_index():
return 'Hello World'
| 13.875 | 45 | 0.63964 | 16 | 111 | 4.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171171 | 111 | 7 | 46 | 15.857143 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6f7297b179413f290e7eaaa2ecaf2ba1cbaed213 | 268 | py | Python | pvae/distributions/__init__.py | macio232/pvae | 391a4c634d565d6a7dc60915fabf02ab77d3cc68 | [
"MIT"
] | 95 | 2019-04-30T12:36:00.000Z | 2022-03-14T13:59:52.000Z | pvae/distributions/__init__.py | thanosvlo/Causal-Future-Prediction-in-a-Minkowski-Space-Time | 0e0539a122484ce9869aca9acd436a24c2597908 | [
"MIT"
] | 8 | 2020-06-18T12:15:44.000Z | 2022-03-27T00:04:02.000Z | pvae/distributions/__init__.py | thanosvlo/Causal-Future-Prediction-in-a-Minkowski-Space-Time | 0e0539a122484ce9869aca9acd436a24c2597908 | [
"MIT"
] | 29 | 2019-05-02T09:12:35.000Z | 2022-01-24T11:31:45.000Z | from pvae.distributions.riemannian_normal import RiemannianNormal
from pvae.distributions.hyperbolic_radius import HyperbolicRadius
from pvae.distributions.wrapped_normal import WrappedNormal
from pvae.distributions.hyperspherical_uniform import HypersphericalUniform
| 53.6 | 75 | 0.910448 | 28 | 268 | 8.571429 | 0.535714 | 0.133333 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 268 | 4 | 76 | 67 | 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 | 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 | 1 | 0 | 0 | 6 |
489361ee6d5bbfc8e2d253acbbb689d5e6644bc7 | 149 | py | Python | hci/command/commands/le_apcf_commands/__init__.py | cc4728/python-hci | d988f69c55972af445ec3ba04fd4cd1199593d10 | [
"MIT"
] | 3 | 2021-12-16T14:32:45.000Z | 2022-01-25T03:10:48.000Z | hci/command/commands/le_apcf_commands/__init__.py | cc4728/python-hci | d988f69c55972af445ec3ba04fd4cd1199593d10 | [
"MIT"
] | null | null | null | hci/command/commands/le_apcf_commands/__init__.py | cc4728/python-hci | d988f69c55972af445ec3ba04fd4cd1199593d10 | [
"MIT"
] | 1 | 2022-01-25T03:10:50.000Z | 2022-01-25T03:10:50.000Z | from .apcf_enable import APCF_Enable
from .apcf_local_name import APCF_Local_Name
from .apcf_set_filter_parameters import APCF_Set_Filter_parameters
| 37.25 | 66 | 0.899329 | 24 | 149 | 5.083333 | 0.375 | 0.196721 | 0.213115 | 0.377049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080537 | 149 | 3 | 67 | 49.666667 | 0.890511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
48dbe79b7fea81eff5f549f797ffc02353c385f4 | 26,594 | py | Python | venv/Lib/site-packages/introcs/strings.py | frankappolonia/SmartPrice | 7b6e1116b3f388623648db43390c7cf3492e8271 | [
"MIT"
] | 1 | 2021-12-26T03:15:59.000Z | 2021-12-26T03:15:59.000Z | venv/Lib/site-packages/introcs/strings.py | frankappolonia/SmartPrice | 7b6e1116b3f388623648db43390c7cf3492e8271 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/introcs/strings.py | frankappolonia/SmartPrice | 7b6e1116b3f388623648db43390c7cf3492e8271 | [
"MIT"
] | 2 | 2021-01-20T01:38:08.000Z | 2021-07-17T02:15:37.000Z | """
Functions for popular string operations.
The purpose of this module is to allow students to work with strings without having to
understand method calls. We do not provide all string methods as functions -- just the
most popular ones.
The functions that would normally return lists return tuples. That is because,... | 34.448187 | 127 | 0.633113 | 3,719 | 26,594 | 4.523797 | 0.111051 | 0.024964 | 0.012839 | 0.017118 | 0.724144 | 0.720756 | 0.714337 | 0.700487 | 0.686044 | 0.67267 | 0 | 0.005439 | 0.253365 | 26,594 | 771 | 128 | 34.492866 | 0.841861 | 0.748327 | 0 | 0.343434 | 0 | 0 | 0.136075 | 0 | 0 | 0 | 0 | 0 | 0.323232 | 1 | 0.323232 | false | 0.030303 | 0 | 0 | 0.646465 | 0.020202 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
48e7d341d8f003cb9f133e36811adcf1acdfa459 | 2,469 | py | Python | Misc/Incomplete/Data_getter.py | BadenLab/2Panalysis | 8b23b3eaa1700f4fb5729eb7e89bfd55e7b4811a | [
"MIT"
] | null | null | null | Misc/Incomplete/Data_getter.py | BadenLab/2Panalysis | 8b23b3eaa1700f4fb5729eb7e89bfd55e7b4811a | [
"MIT"
] | null | null | null | Misc/Incomplete/Data_getter.py | BadenLab/2Panalysis | 8b23b3eaa1700f4fb5729eb7e89bfd55e7b4811a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Dec 13 17:52:00 2021
@author: SimenLab
"""
import pandas as pd
def Data_getter(file_location):
"""A function which gets and prepares data from CSV files, as well as
returning some additional params like an number of ROIs and their
corresponding labels.
Pa... | 32.92 | 83 | 0.611989 | 304 | 2,469 | 4.848684 | 0.319079 | 0.032564 | 0.032564 | 0.040706 | 0.860244 | 0.860244 | 0.860244 | 0.860244 | 0.860244 | 0.860244 | 0 | 0.009861 | 0.301742 | 2,469 | 75 | 84 | 32.92 | 0.845128 | 0.463751 | 0 | 0.571429 | 0 | 0 | 0.094532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
d2cea63bb88f4bd5d66b3b760df7373eae60582c | 11,664 | py | Python | tensorflow_graphics/math/tests/vector_test.py | BachiLi/graphics | 0a9b20dbca6c1fc2f67bedfcdd100e732ede0362 | [
"Apache-2.0"
] | 1 | 2019-10-10T06:16:42.000Z | 2019-10-10T06:16:42.000Z | tensorflow_graphics/math/tests/vector_test.py | mwtarnowski/graphics | 228472e31327635e80220a740f13d672252bec9f | [
"Apache-2.0"
] | null | null | null | tensorflow_graphics/math/tests/vector_test.py | mwtarnowski/graphics | 228472e31327635e80220a740f13d672252bec9f | [
"Apache-2.0"
] | 1 | 2019-10-10T06:16:30.000Z | 2019-10-10T06:16:30.000Z | #Copyright 2019 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 38.622517 | 79 | 0.680813 | 1,964 | 11,664 | 3.703666 | 0.089104 | 0.147649 | 0.196866 | 0.058152 | 0.801072 | 0.777152 | 0.765604 | 0.74512 | 0.690129 | 0.664146 | 0 | 0.031214 | 0.170525 | 11,664 | 301 | 80 | 38.750831 | 0.72062 | 0.117541 | 0 | 0.542222 | 0 | 0 | 0.030633 | 0.006186 | 0 | 0 | 0 | 0 | 0.115556 | 1 | 0.084444 | false | 0 | 0.044444 | 0.004444 | 0.137778 | 0.004444 | 0 | 0 | 0 | null | 0 | 1 | 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 | 6 |
8250a21c28442004b55f8b2b6a8fe0c12d9f3bb7 | 1,145 | py | Python | src/nlpia/book/forum/example_sparse_matmul.py | byukan/nlpia | 73c03f651e54e945f9a7eebe4714095dc3e5609a | [
"MIT"
] | 532 | 2016-11-30T03:51:13.000Z | 2022-03-29T13:40:43.000Z | src/nlpia/book/forum/example_sparse_matmul.py | byukan/nlpia | 73c03f651e54e945f9a7eebe4714095dc3e5609a | [
"MIT"
] | 30 | 2017-12-12T12:18:41.000Z | 2022-03-23T14:44:45.000Z | src/nlpia/book/forum/example_sparse_matmul.py | byukan/nlpia | 73c03f651e54e945f9a7eebe4714095dc3e5609a | [
"MIT"
] | 241 | 2017-06-20T11:51:31.000Z | 2022-03-28T09:42:38.000Z | """
>>> import numpy as np
>>> import scipy
>>> id(scipy.dot) == id(np.dot)
True
>>> A = scipy.sparse.csr_matrix([[1, 2, 0], [0, 0, 3], [4, 0, 5]])
>>> v = scipy.sparse.csr_matrix([[1], [0], [-1]])
>>> A.dot(v)
<3x1 sparse matrix of type '<class 'numpy.int64'>'
with 3 stored elements in Compressed Sparse Row format... | 33.676471 | 66 | 0.648035 | 194 | 1,145 | 3.804124 | 0.159794 | 0.03252 | 0.081301 | 0.130081 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.057143 | 0.174672 | 1,145 | 33 | 67 | 34.69697 | 0.72381 | 0.799127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
8288c3a3879468a2ceee0f8e37ad9fca46aac1c3 | 4,748 | py | Python | assignement_eight_2021_09_28/test_assignment_ten.py | Soyvolon/CISS_380 | 81ba41ef45ba8f4a4cfc55f9e20b87c5feddba08 | [
"Unlicense"
] | null | null | null | assignement_eight_2021_09_28/test_assignment_ten.py | Soyvolon/CISS_380 | 81ba41ef45ba8f4a4cfc55f9e20b87c5feddba08 | [
"Unlicense"
] | null | null | null | assignement_eight_2021_09_28/test_assignment_ten.py | Soyvolon/CISS_380 | 81ba41ef45ba8f4a4cfc55f9e20b87c5feddba08 | [
"Unlicense"
] | null | null | null | import unittest
from . import assignment_ten_2021_10_05 as a10
class TestIntArray(unittest.TestCase):
def _build_int_array(self, lyst):
pass
def test_addition(self):
test = [([1, 2, 3], [3, 2, 1]),
([0, 3], [1, 2, 3]),
([], [1, 2, 3])]
res = [[4, 4, 4],
... | 29.675 | 54 | 0.4246 | 651 | 4,748 | 3.013825 | 0.099846 | 0.071356 | 0.081549 | 0.11213 | 0.849643 | 0.823649 | 0.817533 | 0.817533 | 0.817533 | 0.817533 | 0 | 0.094599 | 0.403328 | 4,748 | 160 | 55 | 29.675 | 0.597953 | 0 | 0 | 0.632813 | 0 | 0 | 0.004211 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 1 | 0.117188 | false | 0.007813 | 0.015625 | 0 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
7d5cc769d6b1a65666220d8e2acbcc55b05d2b43 | 23 | py | Python | ped/__init__.py | khalidm/ped | 23ba61040fee17d39785aade6707490578d53dfd | [
"BSD-2-Clause"
] | null | null | null | ped/__init__.py | khalidm/ped | 23ba61040fee17d39785aade6707490578d53dfd | [
"BSD-2-Clause"
] | null | null | null | ped/__init__.py | khalidm/ped | 23ba61040fee17d39785aade6707490578d53dfd | [
"BSD-2-Clause"
] | null | null | null | from .core import main
| 23 | 23 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 | 1 | 0 | 0 | 6 |
7d6a73104f1052e4f823f69cb2b5761c2662531c | 166 | py | Python | pattern6/smart_home_v4/src/commnad/NoneCommand.py | icexmoon/design-pattern-with-python | bb897e886fe52bb620db0edc6ad9d2e5ecb067af | [
"MIT"
] | null | null | null | pattern6/smart_home_v4/src/commnad/NoneCommand.py | icexmoon/design-pattern-with-python | bb897e886fe52bb620db0edc6ad9d2e5ecb067af | [
"MIT"
] | null | null | null | pattern6/smart_home_v4/src/commnad/NoneCommand.py | icexmoon/design-pattern-with-python | bb897e886fe52bb620db0edc6ad9d2e5ecb067af | [
"MIT"
] | null | null | null | from smart_home_v4.src.commnad.Command import Command
class NoneCommand(Command):
def execute(self) -> None:
pass
def undo(self) -> None:
pass | 27.666667 | 53 | 0.668675 | 22 | 166 | 4.954545 | 0.727273 | 0.146789 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.23494 | 166 | 6 | 54 | 27.666667 | 0.850394 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
7dc49f9c2eab13dfdb7f6e66c7709caae8133631 | 169 | py | Python | apps/twee/models/__init__.py | adepeter/pythondailytip | 8b114b68d417e7631d139f1ee2267f6f0e061cdf | [
"MIT"
] | null | null | null | apps/twee/models/__init__.py | adepeter/pythondailytip | 8b114b68d417e7631d139f1ee2267f6f0e061cdf | [
"MIT"
] | null | null | null | apps/twee/models/__init__.py | adepeter/pythondailytip | 8b114b68d417e7631d139f1ee2267f6f0e061cdf | [
"MIT"
] | null | null | null | from .hash_tag import PythonTipHashTag
from .link import PythonTipLink
from .tip import PythonTip
from .twee_crypt import TweeCrypt
from .user import PythonTipTweetUser
| 169 | 169 | 0.852071 | 22 | 169 | 6.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118343 | 169 | 1 | 169 | 169 | 0.95302 | 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 | 1 | 0 | 0 | 6 |
7dca7fa0b14aa339ae1608d9ee69ed724cab3418 | 43,312 | py | Python | app/revisioner/tests/e2e/inspected.py | getmetamapper/metamapper | 0b2f67eec03fbf7ece35ff9f58ea9bb2dde4d85f | [
"BSD-2-Clause"
] | 53 | 2020-07-01T23:11:59.000Z | 2022-03-31T19:10:28.000Z | app/revisioner/tests/e2e/inspected.py | metamapper-io/metamapper | 376716e72bcaca62f1ec09ca9a13a0346e5502f9 | [
"BSD-2-Clause"
] | 5 | 2020-11-25T19:48:57.000Z | 2022-02-27T23:50:18.000Z | app/revisioner/tests/e2e/inspected.py | metamapper-io/metamapper | 376716e72bcaca62f1ec09ca9a13a0346e5502f9 | [
"BSD-2-Clause"
] | 5 | 2020-08-29T16:43:59.000Z | 2022-01-17T19:05:30.000Z | # -*- coding: utf-8 -*-
tables_and_views = [
{
"schema_object_id": 16441,
"table_schema": "app",
"table_object_id": 16442,
"table_name": "customers",
"table_type": "base table",
"properties": {},
"columns": [
{
"column_object_id":... | 33.679627 | 121 | 0.427757 | 3,375 | 43,312 | 5.133926 | 0.052444 | 0.065562 | 0.060599 | 0.119582 | 0.859237 | 0.83846 | 0.831131 | 0.822474 | 0.776707 | 0.732556 | 0 | 0.042659 | 0.449575 | 43,312 | 1,285 | 122 | 33.705837 | 0.684144 | 0.000485 | 0 | 0.657299 | 0 | 0 | 0.388644 | 0.007485 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
7dd4adc3f96a7e734caa68afda04ed96ad26f848 | 231 | py | Python | great_expectations/datasource/__init__.py | williamjr/great_expectations | 7e3af56476ea9966045172696af316b8537ff4c6 | [
"Apache-2.0"
] | 2 | 2020-03-04T19:35:57.000Z | 2020-04-13T21:06:02.000Z | great_expectations/datasource/__init__.py | noncomposmentis/great_expectations | 8155b1f20a88aa186745698792856f84d82f33ef | [
"Apache-2.0"
] | null | null | null | great_expectations/datasource/__init__.py | noncomposmentis/great_expectations | 8155b1f20a88aa186745698792856f84d82f33ef | [
"Apache-2.0"
] | null | null | null | from .datasource import Datasource
from .pandas_datasource import PandasDatasource
from .sqlalchemy_datasource import SqlAlchemyDatasource
from .sparkdf_datasource import SparkDFDatasource
from .dbt_datasource import DBTDatasource
| 38.5 | 55 | 0.891775 | 24 | 231 | 8.416667 | 0.458333 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08658 | 231 | 5 | 56 | 46.2 | 0.957346 | 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 | 1 | 0 | 0 | 6 |
7deca5d3892271826be8accdc79f61a8e9a65ac4 | 256 | py | Python | snake_wars/commons/__init__.py | Joffreybvn/snake-wars | 74732b29272c30af967d13e16d460b424a78cd98 | [
"MIT"
] | null | null | null | snake_wars/commons/__init__.py | Joffreybvn/snake-wars | 74732b29272c30af967d13e16d460b424a78cd98 | [
"MIT"
] | null | null | null | snake_wars/commons/__init__.py | Joffreybvn/snake-wars | 74732b29272c30af967d13e16d460b424a78cd98 | [
"MIT"
] | null | null | null |
from snake_wars.commons.direction import Direction
from snake_wars.commons.location import Location
from snake_wars.commons.random_location import RandomLocation
from snake_wars.commons.size import Size
from snake_wars.commons.game_state import GameState
| 36.571429 | 61 | 0.878906 | 37 | 256 | 5.891892 | 0.351351 | 0.206422 | 0.298165 | 0.458716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082031 | 256 | 6 | 62 | 42.666667 | 0.92766 | 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 | 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 | 0 | 0 | 0 | 6 |
c4a4e28fe6b079084fedac6e2b04b9b8173b224f | 87 | py | Python | ruslanways/HW_5/cw5_5.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | ruslanways/HW_5/cw5_5.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | ruslanways/HW_5/cw5_5.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | def count_sheeps(sheep):
# TODO May the force be with you
return sheep.count(True)
| 21.75 | 34 | 0.735632 | 15 | 87 | 4.2 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 3 | 35 | 29 | 0.887324 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c4b5715c36f1a1c8ccec949d77aca91c7dd09766 | 41 | py | Python | build/lib/fractalpaths/__init__.py | karangoe/fractalpaths | eeeec7c6d301c7561da62c2d3e3ec4160d5d9b98 | [
"MIT"
] | 1 | 2021-01-25T01:22:12.000Z | 2021-01-25T01:22:12.000Z | build/lib/fractalpaths/__init__.py | karangoe/fractalpaths | eeeec7c6d301c7561da62c2d3e3ec4160d5d9b98 | [
"MIT"
] | null | null | null | build/lib/fractalpaths/__init__.py | karangoe/fractalpaths | eeeec7c6d301c7561da62c2d3e3ec4160d5d9b98 | [
"MIT"
] | null | null | null | from fractalpaths.fractal import Fractal
| 20.5 | 40 | 0.878049 | 5 | 41 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 | 1 | 0 | 0 | 6 |
c4f40a0bcd8fce3b7ddcfba9cb2a91b13c1086ca | 177 | py | Python | imagedt/caffe/__init__.py | Eddy-zheng/ImageDT | 78c9e671526422f28bd564cad9879ef95f12b454 | [
"Apache-2.0"
] | 9 | 2018-06-06T02:37:50.000Z | 2020-07-16T12:23:26.000Z | imagedt/caffe/__init__.py | Eddy-zheng/ImageDT | 78c9e671526422f28bd564cad9879ef95f12b454 | [
"Apache-2.0"
] | null | null | null | imagedt/caffe/__init__.py | Eddy-zheng/ImageDT | 78c9e671526422f28bd564cad9879ef95f12b454 | [
"Apache-2.0"
] | 5 | 2018-06-03T11:04:11.000Z | 2018-12-26T11:37:22.000Z | # coding: utf-8
from __future__ import absolute_import
from __future__ import print_function
from . import network
from . import optim
from . import tools
from . import trainer | 22.125 | 38 | 0.80791 | 25 | 177 | 5.32 | 0.52 | 0.300752 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.152542 | 177 | 8 | 39 | 22.125 | 0.88 | 0.073446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
481dd6a90407e870fe54a9197f8db1e323c5f937 | 6,516 | py | Python | API and AI Model/disease.py | themayankjha/MedX | cdf295910f6e0a30e6738fcabbf458b8f3e9f9ae | [
"MIT"
] | null | null | null | API and AI Model/disease.py | themayankjha/MedX | cdf295910f6e0a30e6738fcabbf458b8f3e9f9ae | [
"MIT"
] | null | null | null | API and AI Model/disease.py | themayankjha/MedX | cdf295910f6e0a30e6738fcabbf458b8f3e9f9ae | [
"MIT"
] | 1 | 2021-02-28T06:01:08.000Z | 2021-02-28T06:01:08.000Z | from pandas import Series, DataFrame
import pandas as pd
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.tree import DecisionTreeClassifier
from sklearn.metrics import classification_report
import sklearn.metrics
from sklearn import datasets
from sklearn.ensemble import Extr... | 71.604396 | 190 | 0.824586 | 830 | 6,516 | 5.979518 | 0.278313 | 0.013298 | 0.012089 | 0.01753 | 0.815434 | 0.800322 | 0.800322 | 0.800322 | 0.800322 | 0.800322 | 0 | 0.000838 | 0.084254 | 6,516 | 90 | 191 | 72.4 | 0.830903 | 0 | 0 | 0.395349 | 0 | 0 | 0.235871 | 0.056827 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011628 | false | 0.034884 | 0.139535 | 0 | 0.162791 | 0.093023 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
48668178dff7e8d60ba7428f3498fc22130b3421 | 8,344 | py | Python | app.py | JLabadorf/COVID_data_scraper | 522cf04daf19d25718dc060be864d0fbaee72b78 | [
"MIT"
] | null | null | null | app.py | JLabadorf/COVID_data_scraper | 522cf04daf19d25718dc060be864d0fbaee72b78 | [
"MIT"
] | null | null | null | app.py | JLabadorf/COVID_data_scraper | 522cf04daf19d25718dc060be864d0fbaee72b78 | [
"MIT"
] | null | null | null | from flask import Flask, request, render_template, jsonify
import pandas as pd
from flask_heroku import Heroku
#Code by James Labadorf. James@jameslabadorf.com
app = Flask(__name__)
heroku = Heroku(app)
@app.route('/')
def index():
return render_template('index.html')
@app.route('/sum/')
def summuraized():
... | 51.826087 | 163 | 0.667665 | 1,158 | 8,344 | 4.65285 | 0.086356 | 0.1366 | 0.048255 | 0.082034 | 0.850223 | 0.844655 | 0.836674 | 0.807906 | 0.805494 | 0.789161 | 0 | 0.001858 | 0.161553 | 8,344 | 160 | 164 | 52.15 | 0.768296 | 0.214765 | 0 | 0.488189 | 0 | 0 | 0.371393 | 0.003223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07874 | false | 0 | 0.023622 | 0.007874 | 0.181102 | 0.015748 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
486b5e9c08040dc90412b0d639c2fe4e6a0c0a10 | 457 | py | Python | api/server/codegen/server/controllers/default_controller.py | CivicKnowledge/health-reporter | ff352ef5b15a17bb849ace0af3f29dfc8f7f34f0 | [
"BSD-2-Clause"
] | null | null | null | api/server/codegen/server/controllers/default_controller.py | CivicKnowledge/health-reporter | ff352ef5b15a17bb849ace0af3f29dfc8f7f34f0 | [
"BSD-2-Clause"
] | null | null | null | api/server/codegen/server/controllers/default_controller.py | CivicKnowledge/health-reporter | ff352ef5b15a17bb849ace0af3f29dfc8f7f34f0 | [
"BSD-2-Clause"
] | null | null | null |
def find_measure(name = None, tag = None, id = None, search = None):
return 'do some magic!'
def get_dimension(id):
return 'do some magic!'
def get_indicator(id):
return 'do some magic!'
def get_measure(id):
return 'do some magic!'
def get_measure_root(id):
return 'do some magic!'
def get_root... | 18.28 | 68 | 0.66302 | 70 | 457 | 4.2 | 0.271429 | 0.217687 | 0.326531 | 0.462585 | 0.727891 | 0.591837 | 0.387755 | 0.217687 | 0 | 0 | 0 | 0 | 0.21663 | 457 | 24 | 69 | 19.041667 | 0.821229 | 0 | 0 | 0.5 | 0 | 0 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6f852fb6c87071c47eb8071af79907751480a08a | 146 | py | Python | src/currencycloud/resources/report.py | icebotariccl/currencycloud-python | 03bb0df2743e6669790dee6f2367f9e0500a4610 | [
"MIT"
] | 12 | 2015-07-31T10:28:55.000Z | 2021-12-28T03:28:37.000Z | src/currencycloud/resources/report.py | icebotariccl/currencycloud-python | 03bb0df2743e6669790dee6f2367f9e0500a4610 | [
"MIT"
] | 26 | 2015-07-01T16:25:19.000Z | 2022-02-25T14:42:18.000Z | src/currencycloud/resources/report.py | icebotariccl/currencycloud-python | 03bb0df2743e6669790dee6f2367f9e0500a4610 | [
"MIT"
] | 20 | 2015-10-14T18:21:04.000Z | 2022-02-02T09:59:28.000Z |
from currencycloud.resources.resource import Resource
class Report (Resource):
"""This class represents a CurrencyCloud Report"""
pass
| 18.25 | 54 | 0.753425 | 16 | 146 | 6.875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171233 | 146 | 7 | 55 | 20.857143 | 0.909091 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6f891ba41df694e17963eae57cafd81f4470d782 | 56 | py | Python | __init__.py | takkaO/Bezier_Clipping_Algorithm | 5ce169c0c32ea66a42739759dbc067a1d52494ac | [
"MIT"
] | 2 | 2020-08-19T17:27:39.000Z | 2022-01-20T18:14:24.000Z | __init__.py | takkaO/Bezier_Clipping_Algorithm | 5ce169c0c32ea66a42739759dbc067a1d52494ac | [
"MIT"
] | null | null | null | __init__.py | takkaO/Bezier_Clipping_Algorithm | 5ce169c0c32ea66a42739759dbc067a1d52494ac | [
"MIT"
] | 1 | 2021-04-01T10:42:18.000Z | 2021-04-01T10:42:18.000Z | from . import bezier_clipping
from . import line_module | 28 | 30 | 0.821429 | 8 | 56 | 5.5 | 0.75 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 31 | 28 | 0.916667 | 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 | 1 | 0 | 0 | 6 |
6fbd3ad8cd950642fce8f521342d60ee1a5a41e2 | 2,107 | py | Python | MyDIPUtils/hole.py | DaddyGang/Laser-Shadowgraph-Image-Processing | befbba60f88d6ec3b250458733b2d56a3712e970 | [
"MIT"
] | 3 | 2018-10-21T05:16:29.000Z | 2018-11-01T06:33:13.000Z | MyDIPUtils/hole.py | DaddyGang/Laser-Shadowgraph-Image-Processing | befbba60f88d6ec3b250458733b2d56a3712e970 | [
"MIT"
] | null | null | null | MyDIPUtils/hole.py | DaddyGang/Laser-Shadowgraph-Image-Processing | befbba60f88d6ec3b250458733b2d56a3712e970 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
import cv2
import numpy as np
from MyDIPUtils.bitop import is_similar
def floodfill(image, FULL = False):
im_in = image.copy()
# Copy the thresholded image.
im_floodfill = im_in.copy()
# Mask used to flood filling.
# Notice the size nee... | 36.964912 | 115 | 0.589464 | 285 | 2,107 | 4.189474 | 0.259649 | 0.080402 | 0.073702 | 0.107203 | 0.834171 | 0.834171 | 0.834171 | 0.834171 | 0.834171 | 0.834171 | 0 | 0.041436 | 0.312767 | 2,107 | 57 | 116 | 36.964912 | 0.783149 | 0.213574 | 0 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.103448 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
6fcb36aceaef82a69b81adec07d38433fb2e10d9 | 93 | py | Python | data/config_interface/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | 5 | 2021-05-05T06:08:52.000Z | 2022-03-24T04:57:52.000Z | data/config_interface/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | null | null | null | data/config_interface/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | 2 | 2021-08-07T05:18:05.000Z | 2022-03-31T03:48:37.000Z | from .DataConfigurator import DataConfigurator
from .GridConfigurator import GridConfigurator | 46.5 | 46 | 0.903226 | 8 | 93 | 10.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 93 | 2 | 47 | 46.5 | 0.976744 | 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 | 1 | 0 | 0 | 6 |
b505d1bb1ef4d42abd66e116dc34b05a56372e67 | 55 | py | Python | task_in_steps/__init__.py | tom-010/task_in_steps | 826e329b8815fe6cb3eb829100998315bd55f666 | [
"Apache-2.0"
] | null | null | null | task_in_steps/__init__.py | tom-010/task_in_steps | 826e329b8815fe6cb3eb829100998315bd55f666 | [
"Apache-2.0"
] | null | null | null | task_in_steps/__init__.py | tom-010/task_in_steps | 826e329b8815fe6cb3eb829100998315bd55f666 | [
"Apache-2.0"
] | null | null | null | from task_in_steps.task_in_steps import Step, run_steps | 55 | 55 | 0.890909 | 11 | 55 | 4 | 0.636364 | 0.272727 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.862745 | 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 | 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 | 6 |
b510b91b99c1a03bb4d48207f9494837964973a4 | 166 | py | Python | test/test_secure_import.py | rsimari/secure_import | 7d70cb6984977d9abf4e2cca5ff95c5ded69b819 | [
"MIT"
] | null | null | null | test/test_secure_import.py | rsimari/secure_import | 7d70cb6984977d9abf4e2cca5ff95c5ded69b819 | [
"MIT"
] | 3 | 2019-10-21T17:14:02.000Z | 2021-06-01T22:42:23.000Z | test/test_secure_import.py | rsimari/secure_import | 7d70cb6984977d9abf4e2cca5ff95c5ded69b819 | [
"MIT"
] | null | null | null | import pytest
import os
from sys import path
path.append(os.path.join(os.getcwd(), 'src'))
from secure_import import secure_import
def test_secure_import():
pass
| 15.090909 | 45 | 0.777108 | 27 | 166 | 4.62963 | 0.518519 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126506 | 166 | 10 | 46 | 16.6 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.714286 | 0 | 0.857143 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b514c2206eaacda3175b389bee9647a792348b6a | 42 | py | Python | src/manim_pptx/__init__.py | TheShadow29/manim-pptx | 2a8fca7fcf205e07063b511146bd1c774ed645a5 | [
"MIT"
] | 6 | 2021-11-30T03:09:13.000Z | 2022-02-25T01:17:59.000Z | src/manim_pptx/__init__.py | TheShadow29/manim-pptx | 2a8fca7fcf205e07063b511146bd1c774ed645a5 | [
"MIT"
] | 2 | 2021-12-03T19:56:08.000Z | 2022-03-03T08:37:50.000Z | src/manim_pptx/__init__.py | TheShadow29/manim-pptx | 2a8fca7fcf205e07063b511146bd1c774ed645a5 | [
"MIT"
] | 1 | 2021-11-30T05:33:23.000Z | 2021-11-30T05:33:23.000Z | from manim_pptx.pptxscene import PPTXScene | 42 | 42 | 0.904762 | 6 | 42 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.948718 | 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 | 1 | 0 | 0 | 6 |
d2027a953218722586c09f57259b0995c2b9930f | 45 | py | Python | my/bert_codertimo_pytorch/__init__.py | notyetend/annotated-transformer | 9c4fdbbbc5ab4d3bff931b540be5f1d811de3ea0 | [
"MIT"
] | null | null | null | my/bert_codertimo_pytorch/__init__.py | notyetend/annotated-transformer | 9c4fdbbbc5ab4d3bff931b540be5f1d811de3ea0 | [
"MIT"
] | null | null | null | my/bert_codertimo_pytorch/__init__.py | notyetend/annotated-transformer | 9c4fdbbbc5ab4d3bff931b540be5f1d811de3ea0 | [
"MIT"
] | null | null | null | from .model import BERT, CustomBERT, GoodBad
| 22.5 | 44 | 0.8 | 6 | 45 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.923077 | 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 | 1 | 0 | 0 | 6 |
d269c462f3233e464f799f1ee22e2858335d5867 | 31 | py | Python | streamz_ext/sources.py | xpdAcq/streamz_ext | 9c3b41fdcca3dc7deea6d3f5523fee315af71211 | [
"BSD-3-Clause"
] | 1 | 2018-10-02T02:37:19.000Z | 2018-10-02T02:37:19.000Z | streamz_ext/sources.py | xpdAcq/streamz_ext | 9c3b41fdcca3dc7deea6d3f5523fee315af71211 | [
"BSD-3-Clause"
] | 31 | 2018-01-17T15:54:32.000Z | 2018-10-24T17:11:28.000Z | streamz_ext/sources.py | xpdAcq/streamz_ext | 9c3b41fdcca3dc7deea6d3f5523fee315af71211 | [
"BSD-3-Clause"
] | 4 | 2018-01-16T19:27:49.000Z | 2018-08-20T08:58:06.000Z | from zstreamz.sources import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 | 1 | 0 | 0 | 6 |
9677a9dcffcb3b06012debedbb5cde5144b60e57 | 38 | py | Python | platipy/dicom/communication/__init__.py | RadiotherapyAI/platipy | 53294789a3805ea088c9953027f4ab09a614f052 | [
"Apache-2.0"
] | 26 | 2020-10-26T17:30:00.000Z | 2022-03-07T01:21:37.000Z | platipy/dicom/communication/__init__.py | RadiotherapyAI/platipy | 53294789a3805ea088c9953027f4ab09a614f052 | [
"Apache-2.0"
] | 20 | 2020-10-01T04:05:37.000Z | 2022-03-29T23:27:11.000Z | platipy/dicom/communication/__init__.py | RadiotherapyAI/platipy | 53294789a3805ea088c9953027f4ab09a614f052 | [
"Apache-2.0"
] | 5 | 2020-10-01T03:33:36.000Z | 2021-02-20T09:58:30.000Z | from .connector import DicomConnector
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 | 1 | 0 | 0 | 6 |
967b681ab9942c359fbecb0863f6ae9bef66774f | 1,031 | py | Python | Day72/Functions.py | analuisadev/100-Days-Of-Code | b1dafabc335cd2c3c9b1cecd50597b42d8959d4a | [
"MIT"
] | 2 | 2021-01-08T22:13:21.000Z | 2021-03-17T10:44:12.000Z | Day72/Functions.py | analuisadev/100-Days-Of-Code | b1dafabc335cd2c3c9b1cecd50597b42d8959d4a | [
"MIT"
] | null | null | null | Day72/Functions.py | analuisadev/100-Days-Of-Code | b1dafabc335cd2c3c9b1cecd50597b42d8959d4a | [
"MIT"
] | null | null | null | #Função para ler um número inteiro usando tratamento de erros caso não seja digitado corretamente
def ReadInt(msg):
while True:
try:
number = int(input(msg))
except (ValueError, TypeError):
print ('\033[1;31mERRO: Digite um número inteiro válido!\033[m')
continue... | 38.185185 | 102 | 0.594568 | 122 | 1,031 | 5.02459 | 0.385246 | 0.078303 | 0.042414 | 0.04894 | 0.924959 | 0.787928 | 0.787928 | 0.787928 | 0.787928 | 0.787928 | 0 | 0.054755 | 0.326867 | 1,031 | 27 | 103 | 38.185185 | 0.82853 | 0.183317 | 0 | 0.666667 | 0 | 0 | 0.284514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.25 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
9693d0adc1ee8de233d3015aa07f6141ff5843be | 28 | py | Python | test/login.py | huang880/test | 9c65ffd470dd52633ded4eb2b8e1cd89d3b7c5d0 | [
"MIT"
] | null | null | null | test/login.py | huang880/test | 9c65ffd470dd52633ded4eb2b8e1cd89d3b7c5d0 | [
"MIT"
] | null | null | null | test/login.py | huang880/test | 9c65ffd470dd52633ded4eb2b8e1cd89d3b7c5d0 | [
"MIT"
] | null | null | null | a=1
b=2
c=3
d=4
你是不是个沙雕
f=6
| 4 | 7 | 0.607143 | 11 | 28 | 1.545455 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.214286 | 28 | 6 | 8 | 4.666667 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96b6ffb35c3e506a946c466854e70ad7712a107c | 34 | py | Python | tests/connection/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | 1 | 2021-07-24T11:05:20.000Z | 2021-07-24T11:05:20.000Z | tests/connection/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | null | null | null | tests/connection/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:14:02.000Z | 2021-08-08T11:14:02.000Z | from .tests import TestConnection
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 | 1 | 0 | 0 | 6 |
96c13bd9d17b1f133114f423edc49b8147772953 | 83 | py | Python | uq360/algorithms/ensemble_heteroscedastic_regression/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 148 | 2021-05-27T20:52:51.000Z | 2022-03-16T22:49:48.000Z | uq360/algorithms/ensemble_heteroscedastic_regression/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 9 | 2021-06-21T18:45:07.000Z | 2021-11-08T14:42:30.000Z | uq360/algorithms/ensemble_heteroscedastic_regression/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 27 | 2021-06-01T18:29:02.000Z | 2022-03-02T06:56:03.000Z | from .ensemble_heteroscedastic_regression import EnsembleHeteroscedasticRegression
| 41.5 | 82 | 0.939759 | 6 | 83 | 12.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 83 | 1 | 83 | 83 | 0.962025 | 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 | 1 | 0 | 0 | 6 |
7393c4f4852ba5d21f5669a7fd019496e04c0545 | 8,434 | py | Python | tests/test_auth.py | nhi-vanye/sanic-auth | 5ea5eaad9a554f2e1358004dc23786b484169ded | [
"BSD-3-Clause"
] | null | null | null | tests/test_auth.py | nhi-vanye/sanic-auth | 5ea5eaad9a554f2e1358004dc23786b484169ded | [
"BSD-3-Clause"
] | null | null | null | tests/test_auth.py | nhi-vanye/sanic-auth | 5ea5eaad9a554f2e1358004dc23786b484169ded | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from sanic import response
from sanic_auth import Auth, User
def test_login(app):
auth = Auth(app)
@app.post('/login')
async def login(request):
name = request.form.get('name')
password = request.form.get('password')
if name == 'demo' and pas... | 31.94697 | 79 | 0.612521 | 1,115 | 8,434 | 4.552466 | 0.095067 | 0.055162 | 0.069149 | 0.068952 | 0.783688 | 0.780733 | 0.759259 | 0.719858 | 0.696612 | 0.696612 | 0 | 0.022738 | 0.23346 | 8,434 | 263 | 80 | 32.068441 | 0.762413 | 0.019208 | 0 | 0.720588 | 0 | 0 | 0.104862 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 1 | 0.063725 | false | 0.107843 | 0.014706 | 0.019608 | 0.230392 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
73d7984e928998618b05a99d7efe16d78d45d1cb | 153 | py | Python | config.py | valerybriz/api_tests | ba66df69fbd422d0c4c9e292350302ea442d2336 | [
"MIT"
] | null | null | null | config.py | valerybriz/api_tests | ba66df69fbd422d0c4c9e292350302ea442d2336 | [
"MIT"
] | null | null | null | config.py | valerybriz/api_tests | ba66df69fbd422d0c4c9e292350302ea442d2336 | [
"MIT"
] | null | null | null | import os
test_username= os.environ.get("TEST_USERNAME","")
test_password= os.environ.get("TEST_PASSWORD","")
test_params = [{"something": "something"}] | 30.6 | 49 | 0.738562 | 20 | 153 | 5.4 | 0.45 | 0.222222 | 0.222222 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065359 | 153 | 5 | 50 | 30.6 | 0.755245 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
73dadc12194e37c4138ac0967e34e1e560a7901b | 295 | py | Python | plotly/graph_objs/contour/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/contour/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/contour/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._stream import Stream
from ._line import Line
from ._hoverlabel import Hoverlabel
from plotly.graph_objs.contour import hoverlabel
from ._contours import Contours
from plotly.graph_objs.contour import contours
from ._colorbar import ColorBar
from plotly.graph_objs.contour import colorbar
| 32.777778 | 48 | 0.854237 | 41 | 295 | 5.95122 | 0.268293 | 0.122951 | 0.184426 | 0.233607 | 0.393443 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108475 | 295 | 8 | 49 | 36.875 | 0.927757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73dcc4968e972c3e15c37e4dae3f34088c5b7883 | 6,435 | py | Python | pymtl3/passes/backends/verilog/import_/test/VImportSignalGen_test.py | mondO/pymtl3 | 9869dda28c01926cee6da94ebdeac2a210150c62 | [
"BSD-3-Clause"
] | 1 | 2022-01-03T06:22:11.000Z | 2022-01-03T06:22:11.000Z | pymtl3/passes/backends/verilog/import_/test/VImportSignalGen_test.py | mondO/pymtl3 | 9869dda28c01926cee6da94ebdeac2a210150c62 | [
"BSD-3-Clause"
] | null | null | null | pymtl3/passes/backends/verilog/import_/test/VImportSignalGen_test.py | mondO/pymtl3 | 9869dda28c01926cee6da94ebdeac2a210150c62 | [
"BSD-3-Clause"
] | null | null | null | #=========================================================================
# VImportSignalGen.py
#=========================================================================
# Author : Peitian Pan
# Date : June 1, 2019
"""Test the SystemVerilog signal generation of imported component."""
from pymtl3.datatypes import B... | 27.151899 | 75 | 0.588967 | 907 | 6,435 | 3.973539 | 0.115766 | 0.046615 | 0.075749 | 0.069922 | 0.821032 | 0.791898 | 0.77525 | 0.713929 | 0.693674 | 0.67758 | 0 | 0.027924 | 0.259829 | 6,435 | 236 | 76 | 27.266949 | 0.728742 | 0.102564 | 0 | 0.704434 | 0 | 0.004926 | 0.095569 | 0 | 0 | 0 | 0 | 0 | 0.009852 | 1 | 0.172414 | false | 0.029557 | 0.034483 | 0 | 0.37931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
fb45b80af373f1ca67f0d005ecddc7593f77eb92 | 35 | py | Python | vnpy/gateway/mt5/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 19,529 | 2015-03-02T12:17:35.000Z | 2022-03-31T17:18:27.000Z | vnpy/gateway/mt5/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 2,186 | 2015-03-04T23:16:33.000Z | 2022-03-31T03:44:01.000Z | vnpy/gateway/mt5/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 8,276 | 2015-03-02T05:21:04.000Z | 2022-03-31T13:13:13.000Z | from .mt5_gateway import Mt5Gateway | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.085714 | 35 | 1 | 35 | 35 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb49cd235f066ad95405a72b7af891476fa545df | 48 | py | Python | zimp/__init__.py | freecraver/zimp | 13fda3c561643ce24a9f4358058d9af9f395283c | [
"Apache-2.0"
] | null | null | null | zimp/__init__.py | freecraver/zimp | 13fda3c561643ce24a9f4358058d9af9f395283c | [
"Apache-2.0"
] | null | null | null | zimp/__init__.py | freecraver/zimp | 13fda3c561643ce24a9f4358058d9af9f395283c | [
"Apache-2.0"
] | null | null | null | from readability.metrics import get_dummy_score
| 24 | 47 | 0.895833 | 7 | 48 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 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 | 1 | 0 | 0 | 6 |
fb6e77a276e97736312f93e4bbb2ee98cb3928c6 | 2,152 | py | Python | test05.py | OskarBreach/advent-of-code-2018 | 10887873d988df699e7ebe83d39511b3303ccf38 | [
"MIT"
] | null | null | null | test05.py | OskarBreach/advent-of-code-2018 | 10887873d988df699e7ebe83d39511b3303ccf38 | [
"MIT"
] | null | null | null | test05.py | OskarBreach/advent-of-code-2018 | 10887873d988df699e7ebe83d39511b3303ccf38 | [
"MIT"
] | null | null | null | import unittest
from day05 import resulting_polymer, reacted_polymer_after_unit_removed, shortest_reacted_polymer_after_unit_removed,\
shortest_reacted_polymer_after_any_unit_removed
class ResultingPolymerTests(unittest.TestCase):
def test_firstTestCase(self):
self.assertEqual(resulting_polymer("aA")... | 36.474576 | 118 | 0.761617 | 238 | 2,152 | 6.504202 | 0.197479 | 0.067829 | 0.184109 | 0.163437 | 0.846253 | 0.794574 | 0.692506 | 0.605297 | 0.523256 | 0.377907 | 0 | 0.009704 | 0.138011 | 2,152 | 59 | 119 | 36.474576 | 0.824798 | 0 | 0 | 0.368421 | 0 | 0 | 0.099861 | 0 | 0 | 0 | 0 | 0 | 0.394737 | 1 | 0.394737 | false | 0 | 0.052632 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fb784bb9c52bbd4f10e8a63a3cd9d27ccd23c083 | 11,955 | py | Python | tests/io/test_agent_exclusions.py | oklymenok/pyTenable | 73475e37034608afa5e9c7b20c9cec33a2818622 | [
"MIT"
] | 1 | 2020-05-22T12:08:52.000Z | 2020-05-22T12:08:52.000Z | tests/io/test_agent_exclusions.py | oklymenok/pyTenable | 73475e37034608afa5e9c7b20c9cec33a2818622 | [
"MIT"
] | null | null | null | tests/io/test_agent_exclusions.py | oklymenok/pyTenable | 73475e37034608afa5e9c7b20c9cec33a2818622 | [
"MIT"
] | null | null | null | from datetime import datetime as dtime, timedelta
from .fixtures import *
from tenable.errors import *
import uuid
@pytest.fixture
def agentexclusion(request, api):
excl = api.agent_exclusions.create(str(uuid.uuid4()),
start_time=dtime.utcnow(),
end_time=dtime.utcnow() + timedelta(hours=1))
def... | 38.941368 | 86 | 0.681221 | 1,411 | 11,955 | 5.593905 | 0.079376 | 0.064994 | 0.104903 | 0.063854 | 0.864944 | 0.841885 | 0.841885 | 0.816166 | 0.809832 | 0.785506 | 0 | 0.006088 | 0.175659 | 11,955 | 307 | 87 | 38.941368 | 0.794825 | 0 | 0 | 0.609848 | 0 | 0 | 0.089829 | 0.0092 | 0 | 0 | 0 | 0 | 0.026515 | 1 | 0.166667 | false | 0.003788 | 0.015152 | 0 | 0.185606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
fb92113cf97b19cbfdf57bde5151c4d65c8cf615 | 66 | py | Python | python/testData/testRunner/env/pytest/folder_no_init_py/test_test.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/testRunner/env/pytest/folder_no_init_py/test_test.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/testRunner/env/pytest/folder_no_init_py/test_test.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z |
def test_test():
assert False
def test_2_test():
pass
| 7.333333 | 18 | 0.621212 | 10 | 66 | 3.8 | 0.6 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.287879 | 66 | 8 | 19 | 8.25 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.5 | true | 0.25 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fbbad49a5ba884a8303b023dfd8e4b9ed065bb4d | 9,395 | py | Python | tests/test_sirix_async.py | sirixdb/sirix-python-client | 1e57aa7961ec7916e2e6fe227f8f9111b4d0633b | [
"Apache-2.0"
] | 7 | 2019-12-11T19:16:17.000Z | 2021-04-09T14:39:05.000Z | tests/test_sirix_async.py | sirixdb/sirix-python-client | 1e57aa7961ec7916e2e6fe227f8f9111b4d0633b | [
"Apache-2.0"
] | 1 | 2021-03-25T15:11:05.000Z | 2021-03-25T15:11:05.000Z | tests/test_sirix_async.py | sirixdb/sirix-python-client | 1e57aa7961ec7916e2e6fe227f8f9111b4d0633b | [
"Apache-2.0"
] | null | null | null | import pytest
import httpx
import pysirix
from pysirix import DBType
from pysirix.errors import SirixServerError
from .data import data_for_query, post_query, resource_query
base_url = "http://localhost:9443"
pytestmark = pytest.mark.asyncio
async def test_sirix_async_init():
client = httpx.AsyncClient(base_u... | 32.396552 | 64 | 0.675891 | 1,166 | 9,395 | 5.280446 | 0.09434 | 0.051161 | 0.042878 | 0.092902 | 0.818256 | 0.786422 | 0.758649 | 0.732824 | 0.719181 | 0.691246 | 0 | 0.010976 | 0.195104 | 9,395 | 289 | 65 | 32.508651 | 0.803227 | 0 | 0 | 0.605809 | 0 | 0 | 0.088345 | 0.005641 | 0 | 0 | 0 | 0 | 0.082988 | 1 | 0 | false | 0 | 0.024896 | 0 | 0.024896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
fbd865570b892e0869af54f729c092c6a63174b9 | 57 | py | Python | tests/frameworks/lightgbm/test_lightgbm.py | schroedk/sensAI | a2d6d7c6ab7bed9ccd5eac216dd988c49d69aec7 | [
"MIT"
] | 10 | 2020-02-19T09:16:54.000Z | 2022-02-04T16:19:33.000Z | tests/frameworks/lightgbm/test_lightgbm.py | schroedk/sensAI | a2d6d7c6ab7bed9ccd5eac216dd988c49d69aec7 | [
"MIT"
] | 47 | 2020-03-11T16:26:51.000Z | 2022-02-04T15:29:40.000Z | tests/frameworks/lightgbm/test_lightgbm.py | schroedk/sensAI | a2d6d7c6ab7bed9ccd5eac216dd988c49d69aec7 | [
"MIT"
] | 5 | 2020-03-12T21:33:22.000Z | 2020-12-21T14:43:04.000Z | def test_lightgbm():
import lightgbm
assert True
| 14.25 | 20 | 0.701754 | 7 | 57 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245614 | 57 | 3 | 21 | 19 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
838971380c6ca7300a0196431537795be3047818 | 25 | py | Python | spikeforest/spikesorters/yass1/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:19.000Z | 2021-09-23T01:07:19.000Z | spikeforest/spikesorters/yass1/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | null | null | null | spikeforest/spikesorters/yass1/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:21.000Z | 2021-09-23T01:07:21.000Z | from .yass1 import YASS1
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83dca0bc1a3af7cc4a0ee2a5df938dce2d2fcc57 | 157 | py | Python | material/curso_em_video/ex030.py | sergiodealencar/courses | c9d86b27b0185cc82624b01ed76653dbc12554a3 | [
"MIT"
] | null | null | null | material/curso_em_video/ex030.py | sergiodealencar/courses | c9d86b27b0185cc82624b01ed76653dbc12554a3 | [
"MIT"
] | null | null | null | material/curso_em_video/ex030.py | sergiodealencar/courses | c9d86b27b0185cc82624b01ed76653dbc12554a3 | [
"MIT"
] | null | null | null | num = int(input('Diga um número inteiro: '))
if (num % 2) == 0:
print('Esse número é par!')
else:
print('Esse número é ímpar!')
print('--- FIM ---')
| 22.428571 | 44 | 0.566879 | 24 | 157 | 3.708333 | 0.708333 | 0.202247 | 0.337079 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.210191 | 157 | 6 | 45 | 26.166667 | 0.701613 | 0 | 0 | 0 | 0 | 0 | 0.464968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.