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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
01ed574a7b7585b08dbf97fe6c3131482d0b89a5 | 48 | py | Python | src/backend/api/__init__.py | zackramjan/motuz | 892252eb50acbd8135bf9df9872df5e4cfe6277b | [
"MIT"
] | 84 | 2019-05-10T14:56:48.000Z | 2022-03-19T17:07:24.000Z | src/backend/api/__init__.py | zackramjan/motuz | 892252eb50acbd8135bf9df9872df5e4cfe6277b | [
"MIT"
] | 226 | 2019-05-28T21:59:22.000Z | 2022-03-09T10:58:24.000Z | src/backend/api/__init__.py | zackramjan/motuz | 892252eb50acbd8135bf9df9872df5e4cfe6277b | [
"MIT"
] | 16 | 2019-09-27T01:35:49.000Z | 2022-03-08T16:18:50.000Z | from .application import create_app, db, celery
| 24 | 47 | 0.8125 | 7 | 48 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.904762 | 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 |
17398386566025f7d966f88f2e59fd1ecfaddcbb | 169 | py | Python | hops/__init__.py | logicalclocks/hops-util-py | 64e500d3017c5ded0dc96c9852e161461ff4aee7 | [
"Apache-2.0"
] | 24 | 2018-09-20T17:56:43.000Z | 2021-11-11T23:34:43.000Z | hops/__init__.py | logicalclocks/hops-util-py | 64e500d3017c5ded0dc96c9852e161461ff4aee7 | [
"Apache-2.0"
] | 39 | 2018-10-04T15:19:07.000Z | 2021-12-23T10:50:33.000Z | hops/__init__.py | logicalclocks/hops-util-py | 64e500d3017c5ded0dc96c9852e161461ff4aee7 | [
"Apache-2.0"
] | 23 | 2018-09-18T07:51:56.000Z | 2021-08-10T12:10:27.000Z | from .version import __version__
import logging
import sys
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s: %(message)s", stream=sys.stdout)
| 24.142857 | 107 | 0.775148 | 23 | 169 | 5.521739 | 0.652174 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088757 | 169 | 6 | 108 | 28.166667 | 0.824675 | 0 | 0 | 0 | 0 | 0 | 0.224852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
bd5ad81f90562d13b7acbbd53c7abd389c7e8e0c | 81 | py | Python | 7KYU/t_area.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 7KYU/t_area.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 7KYU/t_area.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | def t_area(t_str: str) -> float:
return (t_str.count("\n") - 2) ** 2 / 2
| 27 | 43 | 0.518519 | 15 | 81 | 2.6 | 0.6 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.259259 | 81 | 3 | 44 | 27 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bd68bafd28bb1a17fefa56396af8d1b8610c9156 | 32 | py | Python | code/python/other_destructing_assignment.py | evmorov/ruby-coffeescript | 1c61c5ce351509b210e26feceee6efab0b255442 | [
"MIT"
] | 29 | 2016-06-15T09:19:18.000Z | 2022-03-21T14:34:47.000Z | code/python/other_destructing_assignment.py | evmorov/ruby-coffeescript | 1c61c5ce351509b210e26feceee6efab0b255442 | [
"MIT"
] | 7 | 2016-06-16T07:02:43.000Z | 2020-01-08T21:12:30.000Z | code/python/other_destructing_assignment.py | evmorov/ruby-coffeescript | 1c61c5ce351509b210e26feceee6efab0b255442 | [
"MIT"
] | 7 | 2016-06-15T14:57:46.000Z | 2021-12-09T17:57:22.000Z | one, two = 1, 2
print(one, two)
| 10.666667 | 15 | 0.59375 | 7 | 32 | 2.714286 | 0.714286 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.21875 | 32 | 2 | 16 | 16 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
bdaf21e99e5be6323de7fbed75b8d7c082d9c6ad | 41 | py | Python | ipalm/net/__init__.py | hartvjir/detectron2 | 3d6cf5f1212ef432358db751e761491d7f60b6d5 | [
"Apache-2.0"
] | null | null | null | ipalm/net/__init__.py | hartvjir/detectron2 | 3d6cf5f1212ef432358db751e761491d7f60b6d5 | [
"Apache-2.0"
] | null | null | null | ipalm/net/__init__.py | hartvjir/detectron2 | 3d6cf5f1212ef432358db751e761491d7f60b6d5 | [
"Apache-2.0"
] | null | null | null | from .mobilenetv3 import MobileNetV3Large | 41 | 41 | 0.902439 | 4 | 41 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.073171 | 41 | 1 | 41 | 41 | 0.921053 | 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 |
da0c6c4608df46e868c993cfc8b86594b4e02238 | 25 | py | Python | bot/__init__.py | gamer23232323/HLavalink | b62350a9df9ea6070922f2e4029e0ade3d9afe34 | [
"MIT"
] | 94 | 2020-08-11T19:33:31.000Z | 2022-03-11T17:44:23.000Z | bot/__init__.py | gamer23232323/HLavalink | b62350a9df9ea6070922f2e4029e0ade3d9afe34 | [
"MIT"
] | 3 | 2020-08-16T19:36:37.000Z | 2020-11-18T01:17:47.000Z | bot/__init__.py | gamer23232323/HLavalink | b62350a9df9ea6070922f2e4029e0ade3d9afe34 | [
"MIT"
] | 154 | 2020-08-12T10:05:31.000Z | 2022-03-12T04:40:39.000Z | from .bot import MusicBot | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 |
da6886a287ca6874221eab1151360a24366bbe7e | 1,051 | py | Python | python/kyu-8/is-your-period-late/test_is_your_period_late.py | ledwindra/codewars | 0552669a69e801cfe5f9a3696a4d98be63a96951 | [
"WTFPL"
] | 1 | 2020-11-13T16:55:04.000Z | 2020-11-13T16:55:04.000Z | python/kyu-8/is-your-period-late/test_is_your_period_late.py | ledwindra/codewars | 0552669a69e801cfe5f9a3696a4d98be63a96951 | [
"WTFPL"
] | 1 | 2020-01-28T15:48:17.000Z | 2020-01-28T15:48:17.000Z | python/kyu-8/is-your-period-late/test_is_your_period_late.py | ledwindra/codewars | 0552669a69e801cfe5f9a3696a4d98be63a96951 | [
"WTFPL"
] | null | null | null | from datetime import date
from is_your_period_late import is_late
class TestIsLate:
def test_0(self):
assert is_late(date(2016, 6, 13), date(2016, 7, 16), 35) == False
def test_1(self):
assert is_late(date(2016, 6, 13), date(2016, 7, 16), 28) == True
def test_2(self):
ass... | 30.911765 | 73 | 0.582303 | 184 | 1,051 | 3.195652 | 0.195652 | 0.272109 | 0.204082 | 0.272109 | 0.62415 | 0.62415 | 0.62415 | 0.539116 | 0.539116 | 0.539116 | 0 | 0.208174 | 0.254995 | 1,051 | 34 | 74 | 30.911765 | 0.542784 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 1 | 0.434783 | false | 0 | 0.086957 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e59eea66794af3e9aa0ab98752d1bc804dcb9509 | 220 | py | Python | dsfaker/generators/__init__.py | pajachiet/dsfaker | 0e65ba336608c2ccc5e32a541f3b66dfad019b35 | [
"MIT"
] | 3 | 2017-03-12T22:08:59.000Z | 2017-05-22T16:57:17.000Z | dsfaker/generators/__init__.py | pajachiet/dsfaker | 0e65ba336608c2ccc5e32a541f3b66dfad019b35 | [
"MIT"
] | 12 | 2017-03-01T10:14:08.000Z | 2017-04-23T12:15:10.000Z | dsfaker/generators/__init__.py | pajachiet/dsfaker | 0e65ba336608c2ccc5e32a541f3b66dfad019b35 | [
"MIT"
] | 2 | 2017-05-04T15:36:21.000Z | 2018-02-07T13:49:13.000Z | # -*- coding: utf-8 -*-
from .base import *
from .utils import *
from .distributions import *
from .autoincrement import *
from .date import *
from .series import *
from .timeseries import *
from .trigonometric import *
| 22 | 28 | 0.718182 | 27 | 220 | 5.851852 | 0.481481 | 0.443038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.168182 | 220 | 9 | 29 | 24.444444 | 0.857924 | 0.095455 | 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 |
e5d111e76c6f76b5283a6920579cfc2e866b0e96 | 45 | py | Python | etf_db/__init__.py | lauraporta/etf-db | ee66a6c3ea6abcfbf3f5310381664a34748d28cd | [
"MIT"
] | 1 | 2021-02-15T17:00:01.000Z | 2021-02-15T17:00:01.000Z | etf_db/__init__.py | lauraporta/etf-db | ee66a6c3ea6abcfbf3f5310381664a34748d28cd | [
"MIT"
] | 2 | 2021-02-21T03:50:15.000Z | 2021-02-22T16:09:29.000Z | etf_db/__init__.py | lauraporta/etf-db | ee66a6c3ea6abcfbf3f5310381664a34748d28cd | [
"MIT"
] | null | null | null | from .utils import download_clean_public_data | 45 | 45 | 0.911111 | 7 | 45 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.904762 | 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 |
f90073e74e7a2099b0f178f2f433e7ccc321ce0a | 4,055 | py | Python | qork/prefab.py | flipcoder/qork | 86f10f0db2edc82786516fd30bbd9f046b1a27aa | [
"MIT"
] | 3 | 2020-03-19T06:31:32.000Z | 2021-08-24T19:19:50.000Z | qork/prefab.py | flipcoder/qork | 86f10f0db2edc82786516fd30bbd9f046b1a27aa | [
"MIT"
] | null | null | null | qork/prefab.py | flipcoder/qork | 86f10f0db2edc82786516fd30bbd9f046b1a27aa | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import moderngl as gl
from qork.util import *
class Prefab:
def __init__(self, *args):
self.name = try_get(args, 0)
self.data = try_get(args, 1)
self.type = try_get(args, 2, gl.TRIANGLES)
self.layout = try_get(args, 3, "xyz")
self.width = len(self.lay... | 23.994083 | 65 | 0.428113 | 922 | 4,055 | 1.831887 | 0.08026 | 0.243931 | 0.230906 | 0.21788 | 0.583777 | 0.577857 | 0.53286 | 0.479574 | 0.461812 | 0.461812 | 0 | 0.23255 | 0.32873 | 4,055 | 168 | 66 | 24.136905 | 0.38795 | 0.055487 | 0 | 0.601563 | 0 | 0 | 0.041132 | 0.012313 | 0 | 0 | 0 | 0.005952 | 0 | 1 | 0.023438 | false | 0 | 0.015625 | 0 | 0.070313 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9208ab4a2032386a3d6cb8c40ddaad220d1378b | 84 | py | Python | tests/test_root.py | Dih5/zadeh | 3cc0d2a4803a77d8d4d0a90c0012eea0397ee9ca | [
"MIT"
] | 2 | 2020-11-24T14:37:05.000Z | 2021-06-16T20:02:41.000Z | tests/test_root.py | Dih5/zadeh | 3cc0d2a4803a77d8d4d0a90c0012eea0397ee9ca | [
"MIT"
] | null | null | null | tests/test_root.py | Dih5/zadeh | 3cc0d2a4803a77d8d4d0a90c0012eea0397ee9ca | [
"MIT"
] | null | null | null | import zadeh
def test_load():
"""Trivial test to if package loads"""
assert True
| 14 | 39 | 0.714286 | 13 | 84 | 4.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 5 | 40 | 16.8 | 0.855072 | 0.380952 | 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 |
0060f27f95c811a40dca345cf4ca4335eca1e017 | 41 | py | Python | Web_Crawling/python-crawler/chapter_3/3-8.py | devming0322/2021-K-Digital-Training | 2803492a9c533945de7c4054dce1e1c102260cdc | [
"MIT"
] | 11 | 2021-06-01T00:08:01.000Z | 2021-09-04T02:41:55.000Z | Web_Crawling/python-crawler/chapter_3/3-8.py | devming0322/2021-K-Digital-Training | 2803492a9c533945de7c4054dce1e1c102260cdc | [
"MIT"
] | 1 | 2021-05-28T08:44:39.000Z | 2021-06-01T01:11:04.000Z | Web_Crawling/python-crawler/chapter_3/3-8.py | devming0322/2021-K-Digital-Training | 2803492a9c533945de7c4054dce1e1c102260cdc | [
"MIT"
] | 12 | 2021-06-01T00:27:05.000Z | 2021-07-01T04:25:27.000Z | a = 2 + 4 + 8 + \
16 + 32 + 64
print(a) | 13.666667 | 18 | 0.390244 | 9 | 41 | 1.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0.390244 | 41 | 3 | 19 | 13.666667 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
006b1f3f5fd14d3348c280b2fa60b498ff301fdd | 67 | py | Python | pyPhenology/models/utils/__init__.py | gaybro8777/pyPhenology | 2a58654126170eb304c71c5d453745c66058bd83 | [
"MIT"
] | 15 | 2018-11-22T16:36:27.000Z | 2022-02-14T10:58:40.000Z | pyPhenology/models/utils/__init__.py | gaybro8777/pyPhenology | 2a58654126170eb304c71c5d453745c66058bd83 | [
"MIT"
] | 52 | 2017-12-12T17:23:59.000Z | 2021-09-08T01:20:28.000Z | pyPhenology/models/utils/__init__.py | sdtaylor/phenology | 72d1d07dfc1a628a29de77447066ead23ee8b1ec | [
"MIT"
] | 8 | 2018-02-15T12:54:10.000Z | 2021-03-01T22:23:52.000Z | from . import transforms
from . import optimize
from . import misc
| 16.75 | 24 | 0.776119 | 9 | 67 | 5.777778 | 0.555556 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 25 | 22.333333 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
97735f64ee6fd688fe06987b6ce4b325c6839cfa | 3,008 | py | Python | curation_projects/misc/wikisource.py | sanskrit-coders/doc_curation | 6da4cab5d97232b84b2a656becca9136da13a00b | [
"MIT"
] | 7 | 2020-04-25T08:55:55.000Z | 2020-12-21T05:31:00.000Z | curation_projects/misc/wikisource.py | sanskrit-coders/doc_curation | 6da4cab5d97232b84b2a656becca9136da13a00b | [
"MIT"
] | 15 | 2020-04-25T08:31:42.000Z | 2021-07-24T12:23:42.000Z | curation_projects/misc/wikisource.py | sanskrit-coders/doc_curation | 6da4cab5d97232b84b2a656becca9136da13a00b | [
"MIT"
] | 4 | 2020-04-25T06:28:37.000Z | 2020-12-19T21:30:10.000Z | from doc_curation.scraping import wikisource
from doc_curation.scraping.wikisource import enumerated, serial
from indic_transliteration import sanscript
if __name__ == '__main__':
pass
# logging.debug(get_item("http://sanskritabhyas.in/hi/Kridanta/View/%E0%A4%AD%E0%A5%82"))
# serial.dump_text(start_url... | 100.266667 | 606 | 0.754654 | 592 | 3,008 | 3.766892 | 0.302365 | 0.044843 | 0.080717 | 0.103139 | 0.582511 | 0.508969 | 0.483857 | 0.446188 | 0.341256 | 0.234529 | 0 | 0.047285 | 0.050864 | 3,008 | 29 | 607 | 103.724138 | 0.710683 | 0.907247 | 0 | 0 | 0 | 0 | 0.030189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
97c91881987c9935db68b827fd1a5c4ea2822fd0 | 192 | py | Python | hwt/synthesizer/rtlLevel/mainBases.py | mgielda/hwt | e6c699fb154f93ac03523bfe40a3d4fc1912d28b | [
"MIT"
] | null | null | null | hwt/synthesizer/rtlLevel/mainBases.py | mgielda/hwt | e6c699fb154f93ac03523bfe40a3d4fc1912d28b | [
"MIT"
] | null | null | null | hwt/synthesizer/rtlLevel/mainBases.py | mgielda/hwt | e6c699fb154f93ac03523bfe40a3d4fc1912d28b | [
"MIT"
] | null | null | null | class RtlSignalBase():
"""
Main base class for all rtl signals
"""
pass
class RtlMemoryBase(RtlSignalBase):
"""
Main base class for all rtl memories
"""
pass
| 14.769231 | 40 | 0.604167 | 21 | 192 | 5.52381 | 0.52381 | 0.293103 | 0.362069 | 0.448276 | 0.603448 | 0.603448 | 0.603448 | 0 | 0 | 0 | 0 | 0 | 0.302083 | 192 | 12 | 41 | 16 | 0.865672 | 0.375 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c15cc48522a0e84b701050ee9508f1037e12cc96 | 9,160 | py | Python | client_test_cases/xbridge_client_accept_tx_test.py | Palem1988/blocknetdx-utils | 2d91f3a2b416ff49949cd105de733b4585e3c8b0 | [
"MIT"
] | null | null | null | client_test_cases/xbridge_client_accept_tx_test.py | Palem1988/blocknetdx-utils | 2d91f3a2b416ff49949cd105de733b4585e3c8b0 | [
"MIT"
] | null | null | null | client_test_cases/xbridge_client_accept_tx_test.py | Palem1988/blocknetdx-utils | 2d91f3a2b416ff49949cd105de733b4585e3c8b0 | [
"MIT"
] | 1 | 2019-10-02T23:40:17.000Z | 2019-10-02T23:40:17.000Z | from strgen import StringGenerator
import time
import unittest
import sys
from utils import xbridge_utils
from interface import xbridge_client
""" *** COMMENT ***
- Here, the length of the garbage data is very high and increased.
The "j" parameter in the "generate_input_fr... | 63.172414 | 281 | 0.749891 | 1,222 | 9,160 | 5.223404 | 0.121931 | 0.05499 | 0.094 | 0.1128 | 0.827981 | 0.794141 | 0.767977 | 0.750901 | 0.734608 | 0.721604 | 0 | 0.018952 | 0.164738 | 9,160 | 144 | 282 | 63.611111 | 0.815318 | 0.049127 | 0 | 0.270833 | 0 | 0 | 0.027083 | 0.012065 | 0 | 0 | 0 | 0 | 0.28125 | 1 | 0.104167 | false | 0 | 0.0625 | 0 | 0.177083 | 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 |
c1ab596568e355d09f06f11288fc887fe5e3e660 | 35 | py | Python | script.py | veerkeizer/Casimir-programming | 8b0a91aaa7114f7a3a44fb4d8ffda512490d3f9f | [
"MIT"
] | null | null | null | script.py | veerkeizer/Casimir-programming | 8b0a91aaa7114f7a3a44fb4d8ffda512490d3f9f | [
"MIT"
] | null | null | null | script.py | veerkeizer/Casimir-programming | 8b0a91aaa7114f7a3a44fb4d8ffda512490d3f9f | [
"MIT"
] | null | null | null | import test
print('unhappy Artur')
| 11.666667 | 22 | 0.771429 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 2 | 23 | 17.5 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c1b5ce43651230b3bec625d832105677f58ffcb6 | 112 | py | Python | pycelsiusnetwork/exceptions/__init__.py | eitchtee/pyCelsiusNetwork | 7aa36687334c43989ff3318bde336d0ec663eb9c | [
"MIT"
] | 4 | 2020-09-17T18:30:08.000Z | 2021-03-15T19:28:13.000Z | pycelsiusnetwork/exceptions/__init__.py | eitchtee/pyCelsiusNetwork | 7aa36687334c43989ff3318bde336d0ec663eb9c | [
"MIT"
] | null | null | null | pycelsiusnetwork/exceptions/__init__.py | eitchtee/pyCelsiusNetwork | 7aa36687334c43989ff3318bde336d0ec663eb9c | [
"MIT"
] | 1 | 2020-09-17T18:30:12.000Z | 2020-09-17T18:30:12.000Z | from .CelsiusNetworkHTTPError import CelsiusNetworkHTTPError
from .AbstractionFailure import AbstractionFailure
| 37.333333 | 60 | 0.910714 | 8 | 112 | 12.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 61 | 56 | 0.980769 | 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 |
c1cb8155bf00a76528e0223439fc266d7189d74c | 184 | py | Python | python/test/dummy.py | dune-community/dune-xt-data | 32593bbcd52ed69b0a11963400a9173740089a75 | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:09:11.000Z | 2020-02-08T04:09:11.000Z | python/test/dummy.py | dune-community/dune-xt-data | 32593bbcd52ed69b0a11963400a9173740089a75 | [
"BSD-2-Clause"
] | 40 | 2018-08-26T08:34:34.000Z | 2021-09-28T13:01:55.000Z | python/test/dummy.py | dune-community/dune-xt-data | 32593bbcd52ed69b0a11963400a9173740089a75 | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:10:14.000Z | 2020-02-08T04:10:14.000Z | with open("pytest_results.xml", "w") as f:
f.write("<?xml version='1.0' encoding='utf-8'?>")
f.write("<test>")
f.write("<!-- No tests executed -->")
f.write("</test>")
| 30.666667 | 53 | 0.543478 | 28 | 184 | 3.535714 | 0.678571 | 0.242424 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.168478 | 184 | 5 | 54 | 36.8 | 0.627451 | 0 | 1 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a9e148920085d0d3c6104cb1114e6940fa650397 | 176 | py | Python | students/K33421/Samoshchenkov_Alexei/practical_works/practival_work_2_3/django_project_Samoshchenkov/django_first_app/admin.py | Vivasus/ITMO_ICT_WebDevelopment_2020-2021 | 833d7ac1d40d9f7456a3c6b104a0e53c652d0035 | [
"MIT"
] | null | null | null | students/K33421/Samoshchenkov_Alexei/practical_works/practival_work_2_3/django_project_Samoshchenkov/django_first_app/admin.py | Vivasus/ITMO_ICT_WebDevelopment_2020-2021 | 833d7ac1d40d9f7456a3c6b104a0e53c652d0035 | [
"MIT"
] | null | null | null | students/K33421/Samoshchenkov_Alexei/practical_works/practival_work_2_3/django_project_Samoshchenkov/django_first_app/admin.py | Vivasus/ITMO_ICT_WebDevelopment_2020-2021 | 833d7ac1d40d9f7456a3c6b104a0e53c652d0035 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Driver)
admin.site.register(Car)
admin.site.register(Ownership)
admin.site.register(Licence)
| 22 | 33 | 0.778409 | 24 | 176 | 5.708333 | 0.5 | 0.262774 | 0.49635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 176 | 7 | 34 | 25.142857 | 0.878205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
e73e842094c6a2e38d52c852e51170f1b50669c9 | 5,991 | py | Python | testing/cdutil/test_missing_season.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 62 | 2018-03-30T15:46:56.000Z | 2021-12-08T23:30:24.000Z | testing/cdutil/test_missing_season.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 114 | 2018-03-21T01:12:43.000Z | 2021-07-05T12:29:54.000Z | testing/cdutil/test_missing_season.py | CDAT/uvcdat | 5133560c0c049b5c93ee321ba0af494253b44f91 | [
"BSD-3-Clause"
] | 14 | 2018-06-06T02:42:47.000Z | 2021-11-26T03:27:00.000Z | import cdms2,cdutil,sys,MV2,numpy,os,cdat_info
f=cdms2.open(os.path.join(cdat_info.get_sampledata_path(),'clt.nc'))
s=f("clt")
cdutil.setTimeBoundsMonthly(s)
print 'Getting JJA, which should be inexistant in data'
try:
cdutil.JJA(s[:5])
raise RuntimeError( "data w/o season did not fail")
except:
pass
## Create... | 31.867021 | 172 | 0.634118 | 966 | 5,991 | 3.924431 | 0.180124 | 0.08019 | 0.020575 | 0.034819 | 0.800317 | 0.7378 | 0.724611 | 0.707729 | 0.68689 | 0.651543 | 0 | 0.088893 | 0.179436 | 5,991 | 187 | 173 | 32.037433 | 0.682262 | 0.07795 | 0 | 0.567376 | 0 | 0 | 0.20632 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 0 | null | null | 0.035461 | 0.007092 | null | null | 0.070922 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e73eec1c1a95584b12c9b4a5aa0482c7d3e73596 | 131 | py | Python | Beginner/2747.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | Beginner/2747.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | Beginner/2747.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | line = '-'*39
blank = '|' + ' '*37 + '|'
print(line)
print(blank)
print(blank)
print(blank)
print(blank)
print(blank)
print(line)
| 11.909091 | 26 | 0.618321 | 18 | 131 | 4.5 | 0.277778 | 0.617284 | 0.925926 | 0.987654 | 0.679012 | 0.679012 | 0.679012 | 0.679012 | 0.679012 | 0 | 0 | 0.035714 | 0.145038 | 131 | 10 | 27 | 13.1 | 0.6875 | 0 | 0 | 0.777778 | 0 | 0 | 0.030534 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.777778 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 6 |
e7c82d0086ae411fb36cb3b76c731f6556ecdc66 | 184 | py | Python | shasta/envs/red_team/utils.py | aditya8119/shasta | d917231e7e8d495d3ea7ddf28da18dcb114d081a | [
"MIT"
] | 1 | 2021-09-07T16:38:59.000Z | 2021-09-07T16:38:59.000Z | shasta/envs/red_team/utils.py | aditya8119/shasta | d917231e7e8d495d3ea7ddf28da18dcb114d081a | [
"MIT"
] | null | null | null | shasta/envs/red_team/utils.py | aditya8119/shasta | d917231e7e8d495d3ea7ddf28da18dcb114d081a | [
"MIT"
] | 1 | 2021-02-08T21:12:09.000Z | 2021-02-08T21:12:09.000Z | import asyncio
def async_func(f):
def wrapped(*args, **kwargs):
return asyncio.get_event_loop().run_in_executor(
None, f, *args, *kwargs)
return wrapped
| 18.4 | 56 | 0.63587 | 24 | 184 | 4.666667 | 0.708333 | 0.178571 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 184 | 9 | 57 | 20.444444 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
e7e222d782aa64ebfc554405f9246120ca9c9362 | 211 | py | Python | src/kellersensortelegrambot/tests/test_kellersensortelegrambot.py | linuxluigi/kellerbot | c0d5d37ddee9653f8b98cff80eb93caf5756e243 | [
"MIT"
] | null | null | null | src/kellersensortelegrambot/tests/test_kellersensortelegrambot.py | linuxluigi/kellerbot | c0d5d37ddee9653f8b98cff80eb93caf5756e243 | [
"MIT"
] | null | null | null | src/kellersensortelegrambot/tests/test_kellersensortelegrambot.py | linuxluigi/kellerbot | c0d5d37ddee9653f8b98cff80eb93caf5756e243 | [
"MIT"
] | null | null | null | import pytest
import kellersensortelegrambot
def test_project_defines_author_and_version():
assert hasattr(kellersensortelegrambot, '__author__')
assert hasattr(kellersensortelegrambot, '__version__')
| 26.375 | 58 | 0.834123 | 19 | 211 | 8.578947 | 0.631579 | 0.159509 | 0.441718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104265 | 211 | 7 | 59 | 30.142857 | 0.862434 | 0 | 0 | 0 | 0 | 0 | 0.099526 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
99d23ad2e60613fccb6ede752e719319665386de | 71 | py | Python | presentation/screens/__init__.py | greko6/cryptoTickerGraph | 4b13cdca53525dc3d51762920fbb65f085910f47 | [
"MIT"
] | null | null | null | presentation/screens/__init__.py | greko6/cryptoTickerGraph | 4b13cdca53525dc3d51762920fbb65f085910f47 | [
"MIT"
] | null | null | null | presentation/screens/__init__.py | greko6/cryptoTickerGraph | 4b13cdca53525dc3d51762920fbb65f085910f47 | [
"MIT"
] | null | null | null | from . import epd2in13v2, epd2in13bv3, picture
# from . import picture
| 23.666667 | 46 | 0.774648 | 8 | 71 | 6.875 | 0.625 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.15493 | 71 | 2 | 47 | 35.5 | 0.783333 | 0.295775 | 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 |
8219a0e7c8794d2549e57b906098fa197d228fd6 | 217 | py | Python | aioredis/cluster/__init__.py | kialo/aioredis | d332e6ca1229cba467d8e9e71953b0b1914a381d | [
"MIT"
] | 1 | 2020-05-09T05:53:00.000Z | 2020-05-09T05:53:00.000Z | aioredis/cluster/__init__.py | ramjet-labs/aioredis | bbe70ad53b38abb91fdb607f7d272a26a20cbe15 | [
"MIT"
] | 3 | 2016-05-30T14:40:22.000Z | 2018-05-29T13:08:45.000Z | aioredis/cluster/__init__.py | ramjet-labs/aioredis | bbe70ad53b38abb91fdb607f7d272a26a20cbe15 | [
"MIT"
] | 4 | 2017-11-29T14:56:21.000Z | 2018-11-05T03:33:27.000Z | from .cluster import (
create_cluster,
create_pool_cluster,
RedisCluster,
RedisPoolCluster
)
__all__ = [
'create_cluster',
'create_pool_cluster',
'RedisCluster',
'RedisPoolCluster'
]
| 14.466667 | 26 | 0.672811 | 18 | 217 | 7.555556 | 0.444444 | 0.191176 | 0.279412 | 0.338235 | 0.852941 | 0.852941 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.235023 | 217 | 14 | 27 | 15.5 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.281106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8223b2eec470a3a8ed6f0053f5fc836aaca894c8 | 191 | py | Python | mogptk/gpr/__init__.py | vishalbelsare/mogptk | 4f7001fbfacea778bd62a1e4e6c5b404c473e313 | [
"MIT"
] | 85 | 2020-02-11T08:13:03.000Z | 2022-03-26T23:39:17.000Z | mogptk/gpr/__init__.py | vishalbelsare/mogptk | 4f7001fbfacea778bd62a1e4e6c5b404c473e313 | [
"MIT"
] | 31 | 2020-02-12T20:03:20.000Z | 2022-03-09T17:05:24.000Z | mogptk/gpr/__init__.py | vishalbelsare/mogptk | 4f7001fbfacea778bd62a1e4e6c5b404c473e313 | [
"MIT"
] | 25 | 2020-03-05T23:45:33.000Z | 2022-03-26T23:25:37.000Z | from .config import *
from .parameter import *
from .likelihood import *
from .mean import *
from .kernel import *
from .singleoutput import *
from .multioutput import *
from .model import *
| 21.222222 | 27 | 0.748691 | 24 | 191 | 5.958333 | 0.416667 | 0.48951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167539 | 191 | 8 | 28 | 23.875 | 0.899371 | 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 |
41357f795345f9f659e96d8a1db2c7f4f7d570d7 | 20,745 | py | Python | osidb_bindings/bindings/python_client/api/osidb/osidb_api_v1_flaws_list.py | RedHatProductSecurity/osidb-bindings | 5cbfbcd7164b4f1eca64c6d0f7154819ec9a4846 | [
"MIT"
] | null | null | null | osidb_bindings/bindings/python_client/api/osidb/osidb_api_v1_flaws_list.py | RedHatProductSecurity/osidb-bindings | 5cbfbcd7164b4f1eca64c6d0f7154819ec9a4846 | [
"MIT"
] | null | null | null | osidb_bindings/bindings/python_client/api/osidb/osidb_api_v1_flaws_list.py | RedHatProductSecurity/osidb-bindings | 5cbfbcd7164b4f1eca64c6d0f7154819ec9a4846 | [
"MIT"
] | null | null | null | import datetime
from typing import Any, Dict, List, Optional, Union
import httpx
from ...client import AuthenticatedClient
from ...models.osidb_api_v1_flaws_list_impact import OsidbApiV1FlawsListImpact
from ...models.osidb_api_v1_flaws_list_mitigated_by import OsidbApiV1FlawsListMitigatedBy
from ...models.osidb_api_v... | 38.345656 | 104 | 0.665558 | 2,461 | 20,745 | 5.405933 | 0.046729 | 0.137553 | 0.192574 | 0.072835 | 0.775932 | 0.758794 | 0.750752 | 0.734967 | 0.7161 | 0.682201 | 0 | 0.008319 | 0.229356 | 20,745 | 540 | 105 | 38.416667 | 0.823857 | 0 | 0 | 0.672131 | 0 | 0 | 0.015966 | 0.001013 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010246 | false | 0 | 0.02459 | 0.002049 | 0.05123 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
41395943bbb93abd23e4e887411cf3b7f68cd9d2 | 47 | py | Python | pathnet/pathfinder/__init__.py | Bhaney44/PathNet | d63cc4c131363356a238245f4da352914a77b4d6 | [
"Apache-2.0"
] | null | null | null | pathnet/pathfinder/__init__.py | Bhaney44/PathNet | d63cc4c131363356a238245f4da352914a77b4d6 | [
"Apache-2.0"
] | null | null | null | pathnet/pathfinder/__init__.py | Bhaney44/PathNet | d63cc4c131363356a238245f4da352914a77b4d6 | [
"Apache-2.0"
] | null | null | null | from pathnet.pathfinder.path_extractor import * | 47 | 47 | 0.87234 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 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 |
41555f80184f2d7d283421b2f409d5c9262e0981 | 73 | py | Python | maybe.py | txt/evil | a08188d16cb983f329b8a0d03565cc108f435eff | [
"Unlicense"
] | 1 | 2016-08-03T03:45:18.000Z | 2016-08-03T03:45:18.000Z | maybe.py | txt/evil | a08188d16cb983f329b8a0d03565cc108f435eff | [
"Unlicense"
] | null | null | null | maybe.py | txt/evil | a08188d16cb983f329b8a0d03565cc108f435eff | [
"Unlicense"
] | 1 | 2018-06-22T15:21:57.000Z | 2018-06-22T15:21:57.000Z | from __future__ import division,print_function
from lib import *
| 10.428571 | 46 | 0.753425 | 9 | 73 | 5.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 73 | 6 | 47 | 12.166667 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
68cc3fd31ee9e89490a193c0554c020aafdbe9ba | 37 | py | Python | ants/contrib/sklearn_interface/__init__.py | xemio/ANTsPy | ef610318e217bb04d3850d480c2e51df695d56c0 | [
"Apache-2.0"
] | 338 | 2017-09-01T06:47:54.000Z | 2022-03-31T12:11:46.000Z | ants/contrib/sklearn_interface/__init__.py | xemio/ANTsPy | ef610318e217bb04d3850d480c2e51df695d56c0 | [
"Apache-2.0"
] | 306 | 2017-08-30T20:05:07.000Z | 2022-03-31T16:20:44.000Z | ants/contrib/sklearn_interface/__init__.py | xemio/ANTsPy | ef610318e217bb04d3850d480c2e51df695d56c0 | [
"Apache-2.0"
] | 115 | 2017-09-08T11:53:17.000Z | 2022-03-27T05:53:39.000Z |
from .sklearn_registration import * | 12.333333 | 35 | 0.810811 | 4 | 37 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 3 | 35 | 12.333333 | 0.90625 | 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 |
68da09c530fd2784c4ea6a8f97eadc7c006c4db9 | 7,205 | py | Python | tests/test_integration_asset.py | jcfr/github-release | 2e8601270b89be5952a9e7ea43158b2ed47c6b61 | [
"Apache-2.0"
] | 2 | 2017-02-02T16:09:33.000Z | 2017-02-07T20:49:26.000Z | tests/test_integration_asset.py | jcfr/github-release | 2e8601270b89be5952a9e7ea43158b2ed47c6b61 | [
"Apache-2.0"
] | null | null | null | tests/test_integration_asset.py | jcfr/github-release | 2e8601270b89be5952a9e7ea43158b2ed47c6b61 | [
"Apache-2.0"
] | null | null | null |
from . import (
check_releases,
clear_github_release_and_tags,
github_token_required,
integration_test_repo_name_required,
push_dir,
REPO_NAME
)
import github_release as ghr
def _create_asset(_dir, _name):
_dir.ensure(_name).write(_name)
@github_token_required
@integration_test_repo_na... | 27.188679 | 73 | 0.663567 | 996 | 7,205 | 4.344378 | 0.083333 | 0.072799 | 0.050844 | 0.066559 | 0.89554 | 0.865496 | 0.779524 | 0.764733 | 0.717356 | 0.618211 | 0 | 0.038878 | 0.218182 | 7,205 | 264 | 74 | 27.291667 | 0.729274 | 0 | 0 | 0.558824 | 0 | 0 | 0.202526 | 0.093143 | 0 | 0 | 0 | 0 | 0.098039 | 1 | 0.04902 | false | 0 | 0.009804 | 0 | 0.058824 | 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 |
ec14331558c331ef13349737ad23e48347ae35a0 | 38 | py | Python | src/youtube2text/__init__.py | codenamewei/youtube2text | 2171b634f68da764c336eaf48f83cb3c9763a7a4 | [
"MIT"
] | 7 | 2022-01-17T01:22:07.000Z | 2022-03-28T14:56:23.000Z | src/youtube2text/__init__.py | codenamewei/youtube2text | 2171b634f68da764c336eaf48f83cb3c9763a7a4 | [
"MIT"
] | 5 | 2022-01-19T21:21:56.000Z | 2022-03-22T05:07:51.000Z | src/youtube2text/__init__.py | codenamewei/youtube2text | 2171b634f68da764c336eaf48f83cb3c9763a7a4 | [
"MIT"
] | null | null | null | from .youtube2text import Youtube2Text | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.078947 | 38 | 1 | 38 | 38 | 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 |
6baf125faad128bba298e8dc4f703d0534040d1c | 1,500 | py | Python | tests/test_dupe_filter.py | abael/ScrapyGenericCrawler | 9d210fb862a7fddd58c548847d8f5c2d72eae5c1 | [
"MIT"
] | 88 | 2016-04-07T18:41:19.000Z | 2022-01-03T12:18:44.000Z | tests/test_dupe_filter.py | shekar9160/generic_scraper | e5104dca5a5d9fe4b9ddd085c7b0935a712ea74d | [
"MIT"
] | 61 | 2016-04-06T18:31:45.000Z | 2021-07-15T12:10:23.000Z | tests/test_dupe_filter.py | shekar9160/generic_scraper | e5104dca5a5d9fe4b9ddd085c7b0935a712ea74d | [
"MIT"
] | 31 | 2016-04-14T07:49:49.000Z | 2021-08-08T17:07:36.000Z | from scrapy import Request
from scrapy_splash import SplashRequest
from undercrawler.dupe_filter import DupeFilter
def test_dupe_filter_with_splash():
dupe_filter = DupeFilter()
url_fp = lambda url: dupe_filter.request_fingerprint(SplashRequest(url))
assert url_fp('http://example.com') == \
ur... | 41.666667 | 76 | 0.633333 | 236 | 1,500 | 3.864407 | 0.173729 | 0.120614 | 0.177632 | 0.164474 | 0.758772 | 0.758772 | 0.758772 | 0.743421 | 0.721491 | 0.721491 | 0 | 0.013019 | 0.180667 | 1,500 | 35 | 77 | 42.857143 | 0.729048 | 0.045333 | 0 | 0.482759 | 0 | 0 | 0.370629 | 0 | 0 | 0 | 0 | 0 | 0.344828 | 1 | 0.068966 | false | 0 | 0.103448 | 0 | 0.172414 | 0.068966 | 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 |
6bb6f9a170745a9acc30dba890ca9da3a9ace25f | 174 | py | Python | accounts/admin.py | Samio-Santos/Api_Django_Rest | b02e901a56d676ca0c753f1b6970b4c19d9d8d7b | [
"MIT"
] | null | null | null | accounts/admin.py | Samio-Santos/Api_Django_Rest | b02e901a56d676ca0c753f1b6970b4c19d9d8d7b | [
"MIT"
] | null | null | null | accounts/admin.py | Samio-Santos/Api_Django_Rest | b02e901a56d676ca0c753f1b6970b4c19d9d8d7b | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth import admin as auth_admin
from .models import CostumerUser
admin.site.register(CostumerUser, auth_admin.UserAdmin) | 34.8 | 55 | 0.850575 | 25 | 174 | 5.84 | 0.48 | 0.136986 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 174 | 5 | 55 | 34.8 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bc18eecdd34fb1a605aee7a0bbe458c5b60505f | 177 | py | Python | face_recognition/__init__.py | platanus/face-recognition | def3b4d1a679cea4358336cb5c0a2b8d076143ae | [
"MIT"
] | null | null | null | face_recognition/__init__.py | platanus/face-recognition | def3b4d1a679cea4358336cb5c0a2b8d076143ae | [
"MIT"
] | 3 | 2020-06-19T13:27:25.000Z | 2020-06-19T13:50:29.000Z | face_recognition/__init__.py | platanus/face-recognition | def3b4d1a679cea4358336cb5c0a2b8d076143ae | [
"MIT"
] | null | null | null | from . import helpers
from . import classifiers
from . import face_space
from . import face_recognizers
__all__ = ["helpers", "classifiers", "face_space", "face_recognizers"]
| 22.125 | 70 | 0.762712 | 21 | 177 | 6.047619 | 0.380952 | 0.314961 | 0.220472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 177 | 7 | 71 | 25.285714 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0.248588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d41cd3ba40a0f82960f32b9c8861ad33bcb0048d | 7,115 | py | Python | tests/unit/test_utils.py | JonathanDZiegler/SDV | 4232f127d465190a1e90b826d4b95c919d5a6d8c | [
"MIT"
] | 39 | 2018-07-07T01:02:42.000Z | 2019-12-17T13:53:47.000Z | tests/unit/test_utils.py | JonathanDZiegler/SDV | 4232f127d465190a1e90b826d4b95c919d5a6d8c | [
"MIT"
] | 75 | 2018-06-29T00:35:02.000Z | 2019-12-23T16:59:55.000Z | tests/unit/test_utils.py | JonathanDZiegler/SDV | 4232f127d465190a1e90b826d4b95c919d5a6d8c | [
"MIT"
] | 31 | 2018-10-29T13:16:38.000Z | 2020-01-02T13:10:42.000Z | """Tests for the sdv.utils module."""
from unittest.mock import Mock, call, patch
import pkg_resources
from sdv.tabular import GaussianCopula
from sdv.utils import get_package_versions, throw_version_mismatch_warning
@patch('sdv.utils.pkg_resources.get_distribution')
def test_get_package_versions_no_model(get_dist... | 33.093023 | 95 | 0.68967 | 880 | 7,115 | 5.330682 | 0.125 | 0.095928 | 0.085056 | 0.034108 | 0.840972 | 0.840972 | 0.819441 | 0.819441 | 0.819441 | 0.79855 | 0 | 0.000361 | 0.222066 | 7,115 | 214 | 96 | 33.247664 | 0.847154 | 0.319606 | 0 | 0.64557 | 0 | 0 | 0.21178 | 0.081182 | 0 | 0 | 0 | 0 | 0.164557 | 1 | 0.088608 | false | 0 | 0.050633 | 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 |
d4289e8426f1bbf2024ae7e6c613aeaaf09a257c | 35 | py | Python | stellarstreams/data/cmd.py | adrn/stellarstreams | f1d05085b46df4892ebde8a5c7082f49f8b0ad48 | [
"MIT"
] | null | null | null | stellarstreams/data/cmd.py | adrn/stellarstreams | f1d05085b46df4892ebde8a5c7082f49f8b0ad48 | [
"MIT"
] | null | null | null | stellarstreams/data/cmd.py | adrn/stellarstreams | f1d05085b46df4892ebde8a5c7082f49f8b0ad48 | [
"MIT"
] | null | null | null | # TODO: add matched filter helpers
| 17.5 | 34 | 0.771429 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.931034 | 0.914286 | 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 |
d43ae70248a462735077a5a6f4353c8f2922cdf5 | 88 | py | Python | lizard_mon/__init__.py | omaskery/lizard-monitor | 6399727970c7851117f9edf430ca03876fae3b36 | [
"MIT"
] | null | null | null | lizard_mon/__init__.py | omaskery/lizard-monitor | 6399727970c7851117f9edf430ca03876fae3b36 | [
"MIT"
] | 8 | 2018-09-02T16:04:31.000Z | 2018-09-07T22:27:15.000Z | lizard_mon/__init__.py | omaskery/lizard-monitor | 6399727970c7851117f9edf430ca03876fae3b36 | [
"MIT"
] | null | null | null |
from .exceptions import LizardMonException
from . import results
from . import config
| 14.666667 | 42 | 0.806818 | 10 | 88 | 7.1 | 0.6 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 43 | 17.6 | 0.959459 | 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 |
d44989df6e3545f5d419c0ec10d14d83645a7dd0 | 140 | py | Python | packman/commands/util.py | audoh/packager | 299f297da8465ec40eb9ffffa40fcfaa6bcf0102 | [
"MIT"
] | null | null | null | packman/commands/util.py | audoh/packager | 299f297da8465ec40eb9ffffa40fcfaa6bcf0102 | [
"MIT"
] | null | null | null | packman/commands/util.py | audoh/packager | 299f297da8465ec40eb9ffffa40fcfaa6bcf0102 | [
"MIT"
] | null | null | null | from typing import Union
def get_version_name(version: Union[str, None]) -> str:
return version if version is not None else "unknown"
| 23.333333 | 56 | 0.742857 | 22 | 140 | 4.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 140 | 5 | 57 | 28 | 0.886957 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 |
d479604d8d3aa6fd5e3454cb9de280ce25f261b8 | 23 | py | Python | operations/comment.py | PyGera/GieriLang | b84be33cd618228bfc5b361e11886d82e5dce005 | [
"MIT"
] | 3 | 2019-12-06T18:51:38.000Z | 2021-11-01T15:34:23.000Z | operations/comment.py | PyGera/GieriLang | b84be33cd618228bfc5b361e11886d82e5dce005 | [
"MIT"
] | 2 | 2021-01-28T20:37:43.000Z | 2022-03-25T18:59:21.000Z | operations/comment.py | PyGera/GieriLang | b84be33cd618228bfc5b361e11886d82e5dce005 | [
"MIT"
] | null | null | null | def comment():
pass | 11.5 | 14 | 0.608696 | 3 | 23 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 23 | 2 | 15 | 11.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d47a5c78d91b13f923e5b85857b847350ab0b4b4 | 229 | py | Python | core/eval/__init__.py | L-Net-1992/DI-drive | cc7f47bedbf60922acbcf3a5f77fc8e274df62cf | [
"Apache-2.0"
] | 219 | 2021-07-07T21:55:21.000Z | 2022-03-31T14:56:43.000Z | core/eval/__init__.py | L-Net-1992/DI-drive | cc7f47bedbf60922acbcf3a5f77fc8e274df62cf | [
"Apache-2.0"
] | 7 | 2021-08-11T05:26:19.000Z | 2022-03-29T22:21:24.000Z | core/eval/__init__.py | L-Net-1992/DI-drive | cc7f47bedbf60922acbcf3a5f77fc8e274df62cf | [
"Apache-2.0"
] | 29 | 2021-07-08T03:17:22.000Z | 2022-03-16T03:51:43.000Z | from core import SIMULATORS
from .serial_evaluator import SerialEvaluator
if 'carla' in SIMULATORS:
from .single_carla_evaluator import SingleCarlaEvaluator
from .carla_benchmark_evaluator import CarlaBenchmarkEvaluator
| 32.714286 | 66 | 0.847162 | 25 | 229 | 7.56 | 0.56 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126638 | 229 | 6 | 67 | 38.166667 | 0.945 | 0 | 0 | 0 | 0 | 0 | 0.021834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
5cee75cb4de95c4db4a182231e36284483781dab | 24 | py | Python | pgshapely/__init__.py | skwash/pgshapely | 2811082ac6b8dd43692f7eff9c32e8de8c2e135b | [
"BSD-3-Clause"
] | 3 | 2015-02-20T20:51:35.000Z | 2020-12-05T03:52:02.000Z | pgshapely/__init__.py | skwash/pgshapely | 2811082ac6b8dd43692f7eff9c32e8de8c2e135b | [
"BSD-3-Clause"
] | null | null | null | pgshapely/__init__.py | skwash/pgshapely | 2811082ac6b8dd43692f7eff9c32e8de8c2e135b | [
"BSD-3-Clause"
] | null | null | null | from pgshapely import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
cf080c8bf10a365d9be28bf5f6c173b834979bbb | 70 | py | Python | mock_renpy/renpy/__init__.py | tcyrus/renpy-encyclopaedia | 900517b34ab7b870f6ee03057f898fb5eb61313c | [
"MIT"
] | 27 | 2015-04-22T00:01:47.000Z | 2022-02-21T06:52:30.000Z | mock_renpy/renpy/__init__.py | tcyrus/renpy-encyclopaedia | 900517b34ab7b870f6ee03057f898fb5eb61313c | [
"MIT"
] | 5 | 2017-12-07T11:58:05.000Z | 2020-04-04T02:30:44.000Z | mock_renpy/renpy/__init__.py | tcyrus/renpy-encyclopaedia | 900517b34ab7b870f6ee03057f898fb5eb61313c | [
"MIT"
] | 4 | 2015-04-22T00:01:49.000Z | 2020-03-25T21:18:05.000Z | from . import exports # NOQA: F401
from . import store # NOQA: F401
| 23.333333 | 35 | 0.685714 | 10 | 70 | 4.8 | 0.6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.228571 | 70 | 2 | 36 | 35 | 0.777778 | 0.3 | 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 |
cf106658cd01cc88c4d7cc94c834ad26127e8331 | 208 | py | Python | account/views/__init__.py | NTUSA/fudez-app | 91c8d85238fb642488ef5616be441e4417f21d0a | [
"MIT"
] | 2 | 2017-04-13T08:52:19.000Z | 2018-05-07T12:14:34.000Z | account/views/__init__.py | NTUSA/fudez-app | 91c8d85238fb642488ef5616be441e4417f21d0a | [
"MIT"
] | null | null | null | account/views/__init__.py | NTUSA/fudez-app | 91c8d85238fb642488ef5616be441e4417f21d0a | [
"MIT"
] | 1 | 2018-07-28T16:09:59.000Z | 2018-07-28T16:09:59.000Z | from .bank_account import BankAccountViewSet
from .department import DepartmentViewSet
from .me import MeView, MeResetPasswordView
from .unlock_record import UnlockRecordViewSet
from .user import UserViewSet
| 34.666667 | 46 | 0.870192 | 23 | 208 | 7.782609 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100962 | 208 | 5 | 47 | 41.6 | 0.957219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cf3e3a373697e8abc031cb5ba3d5d83a497e90ee | 149 | py | Python | Codewars/7kyu/last/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/last/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/last/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
test.assert_equals(last([1, 2, 3, 4, 5]), 5)
test.assert_equals(last('abcde'), 'e')
test.assert_equals(last(1, 'b', 3, 'd', 5), 5)
| 24.833333 | 46 | 0.604027 | 30 | 149 | 2.9 | 0.533333 | 0.344828 | 0.551724 | 0.689655 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.127517 | 149 | 5 | 47 | 29.8 | 0.569231 | 0.09396 | 0 | 0 | 0 | 0 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf6ea380051c8d18038c8752fc552077b309006f | 23,287 | py | Python | tests/quara/loss_function/test_weighted_probability_based_squared_error.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 3 | 2021-05-19T11:44:30.000Z | 2022-03-30T07:13:49.000Z | tests/quara/loss_function/test_weighted_probability_based_squared_error.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 2 | 2021-06-02T01:24:59.000Z | 2021-06-02T12:20:31.000Z | tests/quara/loss_function/test_weighted_probability_based_squared_error.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 1 | 2021-10-14T13:21:27.000Z | 2021-10-14T13:21:27.000Z | import numpy as np
import numpy.testing as npt
import pytest
from quara.loss_function.weighted_probability_based_squared_error import (
WeightedProbabilityBasedSquaredError,
WeightedProbabilityBasedSquaredErrorOption,
)
from quara.minimization_algorithm.projected_gradient_descent_backtracking import (
... | 38.238095 | 158 | 0.60858 | 2,914 | 23,287 | 4.573782 | 0.065202 | 0.02551 | 0.025435 | 0.023109 | 0.827806 | 0.802446 | 0.770708 | 0.747899 | 0.717737 | 0.696729 | 0 | 0.04792 | 0.285782 | 23,287 | 608 | 159 | 38.300987 | 0.753427 | 0.060849 | 0 | 0.621951 | 0 | 0 | 0.01333 | 0.011069 | 0 | 0 | 0 | 0 | 0.20122 | 1 | 0.042683 | false | 0 | 0.022358 | 0.006098 | 0.089431 | 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 |
2b6f17151ec1dd46d5735d0caa0ac9e646b907c2 | 9,371 | py | Python | rasa_sheets/__init__.py | danielyudicarvalho/rasa2csv | e7bf13156df5ad69a751a99e81dd39fc4b5a2539 | [
"MIT"
] | null | null | null | rasa_sheets/__init__.py | danielyudicarvalho/rasa2csv | e7bf13156df5ad69a751a99e81dd39fc4b5a2539 | [
"MIT"
] | null | null | null | rasa_sheets/__init__.py | danielyudicarvalho/rasa2csv | e7bf13156df5ad69a751a99e81dd39fc4b5a2539 | [
"MIT"
] | null | null | null | import pandas as pd
import os.path
import yaml
def export(file):
# intent
if file == 'intent' or file == 'intents':
with open('data/nlu/nlu.yml') as file:
file = yaml.load(file, Loader=yaml.FullLoader)
myvar = pd.DataFrame(index=[i['intent'] for i in file['n... | 38.563786 | 161 | 0.438587 | 1,018 | 9,371 | 3.966601 | 0.09332 | 0.031699 | 0.022288 | 0.015602 | 0.86528 | 0.855374 | 0.805102 | 0.777613 | 0.762011 | 0.740218 | 0 | 0.011767 | 0.419592 | 9,371 | 243 | 162 | 38.563786 | 0.730649 | 0.007256 | 0 | 0.674286 | 0 | 0 | 0.121821 | 0.034775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011429 | false | 0.017143 | 0.017143 | 0 | 0.04 | 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 |
996f13a049f1df9e9f1abf9fe4cb70d5ea0e5388 | 29 | py | Python | mcunet/tinynas/elastic_nn/networks/__init__.py | 1999michael/tinyml | e8a5c9baef3d8a4890bb7ddbed4f5655cb4fa535 | [
"MIT"
] | 306 | 2021-01-15T07:49:40.000Z | 2022-03-31T03:13:20.000Z | tinynas/elastic_nn/networks/__init__.py | liuyy3364/mcunet | f53f9e20e8e912bdb111b4c32da75e71e9a59597 | [
"Apache-2.0"
] | 9 | 2021-02-04T00:58:33.000Z | 2022-03-29T06:19:55.000Z | tinynas/elastic_nn/networks/__init__.py | liuyy3364/mcunet | f53f9e20e8e912bdb111b4c32da75e71e9a59597 | [
"Apache-2.0"
] | 65 | 2021-01-18T06:06:09.000Z | 2022-03-25T01:42:15.000Z | from .ofa_proxyless import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
998aacb17d8d3c66257cd60239bd5a5c0384c1d6 | 26,757 | py | Python | markusapi/tests/test_markusapi.py | pretendWhale/markus-api | 4a8e8a0cba556f8ac86c95eedb5822e50f252f80 | [
"MIT"
] | 1 | 2021-09-09T03:46:02.000Z | 2021-09-09T03:46:02.000Z | markusapi/tests/test_markusapi.py | pretendWhale/markus-api | 4a8e8a0cba556f8ac86c95eedb5822e50f252f80 | [
"MIT"
] | 4 | 2019-04-29T16:28:23.000Z | 2022-02-04T17:43:24.000Z | markusapi/tests/test_markusapi.py | pretendWhale/markus-api | 4a8e8a0cba556f8ac86c95eedb5822e50f252f80 | [
"MIT"
] | 4 | 2019-02-21T21:30:33.000Z | 2021-12-17T00:49:05.000Z | import abc
import pytest
import markusapi
import datetime
from unittest.mock import patch, PropertyMock, Mock
FAKE_API_KEY = "fake_api_key"
FAKE_URL = "http://example.com"
@pytest.fixture
def api():
return markusapi.Markus(FAKE_API_KEY, FAKE_URL)
class AbstractTestClass(abc.ABC):
@classmethod
@pytest.f... | 31.891538 | 109 | 0.664985 | 3,153 | 26,757 | 5.355534 | 0.069458 | 0.064669 | 0.045481 | 0.055964 | 0.839927 | 0.813396 | 0.798591 | 0.776797 | 0.745707 | 0.722729 | 0 | 0.011343 | 0.215794 | 26,757 | 838 | 110 | 31.929594 | 0.793404 | 0 | 0 | 0.643185 | 0 | 0 | 0.173562 | 0.057443 | 0 | 0 | 0 | 0 | 0.068913 | 1 | 0.145482 | false | 0.006126 | 0.007657 | 0.004594 | 0.425727 | 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 |
9994c1a6652ddaf3d6cdb7dc654087de849789e2 | 307 | py | Python | src/cloudwatch/modules/awsutils.py | yimuniao/collectd-cloudwatch | afbb2e74ddf16e3cb04dc1236fd86b9c2d6c0b05 | [
"MIT"
] | 220 | 2016-10-06T16:32:19.000Z | 2022-03-10T01:26:09.000Z | src/cloudwatch/modules/awsutils.py | yimuniao/collectd-cloudwatch | afbb2e74ddf16e3cb04dc1236fd86b9c2d6c0b05 | [
"MIT"
] | 79 | 2016-10-06T18:49:55.000Z | 2022-03-24T10:55:12.000Z | src/cloudwatch/modules/awsutils.py | yimuniao/collectd-cloudwatch | afbb2e74ddf16e3cb04dc1236fd86b9c2d6c0b05 | [
"MIT"
] | 149 | 2016-10-06T17:15:00.000Z | 2021-12-14T12:29:05.000Z | from datetime import datetime
def get_aws_timestamp():
"""
Returns timestamp expressed in the format YYYYMMDDThhmmssZ,
as specified in the ISO 8601 standard.
"""
return datetime.utcnow().strftime('%Y%m%dT%H%M%SZ')
def get_datestamp():
return datetime.utcnow().strftime('%Y%m%d') | 23.615385 | 63 | 0.690554 | 42 | 307 | 4.97619 | 0.666667 | 0.057416 | 0.191388 | 0.267943 | 0.287081 | 0.287081 | 0 | 0 | 0 | 0 | 0 | 0.015936 | 0.18241 | 307 | 13 | 64 | 23.615385 | 0.816733 | 0.319218 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
999d0dc313cbef969d23cc66a083565c140775f6 | 14,168 | py | Python | tests/test_main.py | source-foundry/fdiff | 7e49daf7f599a593b891110de2f3a86af76f05f9 | [
"Apache-2.0"
] | 27 | 2019-09-18T19:08:28.000Z | 2022-02-26T12:39:17.000Z | tests/test_main.py | source-foundry/fdiff | 7e49daf7f599a593b891110de2f3a86af76f05f9 | [
"Apache-2.0"
] | 123 | 2019-09-05T02:54:07.000Z | 2022-03-21T10:05:26.000Z | tests/test_main.py | source-foundry/fdiff | 7e49daf7f599a593b891110de2f3a86af76f05f9 | [
"Apache-2.0"
] | 1 | 2020-04-15T18:29:15.000Z | 2020-04-15T18:29:15.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import pytest
from fdiff.__main__ import run
ROBOTO_BEFORE_PATH = os.path.join("tests", "testfiles", "Roboto-Regular.subset1.ttf")
ROBOTO_AFTER_PATH = os.path.join("tests", "testfiles", "Roboto-Regular.subset2.ttf")
ROBOTO_UDIFF_EXPECTED_PATH = os.path.join("... | 36.992167 | 121 | 0.705816 | 2,017 | 14,168 | 4.740704 | 0.093208 | 0.047061 | 0.043296 | 0.041728 | 0.854633 | 0.813324 | 0.780276 | 0.776093 | 0.747229 | 0.691801 | 0 | 0.011159 | 0.203063 | 14,168 | 382 | 122 | 37.089005 | 0.83571 | 0.263763 | 0 | 0.578947 | 0 | 0.009569 | 0.112141 | 0.024244 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.090909 | false | 0 | 0.014354 | 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 |
99a92bd0203ae4ef9d22b93331d412bc46890a66 | 131 | py | Python | core/io/path.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | core/io/path.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | core/io/path.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | ## @file
from .io import *
## file/dir as OS path (points directly with slashes)
## @ingroup io
class Path(IO, String):
pass
| 14.555556 | 53 | 0.656489 | 20 | 131 | 4.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21374 | 131 | 8 | 54 | 16.375 | 0.834951 | 0.519084 | 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 |
41f620d1988624c376df4aec9cd47e98a28e77f0 | 34 | py | Python | fitlins/workflows/__init__.py | mgxd/fitlins | b75f0efb34f78e28bca8fa14664ace5fe073f7a6 | [
"Apache-2.0"
] | 1 | 2018-01-24T19:25:06.000Z | 2018-01-24T19:25:06.000Z | fitlins/workflows/__init__.py | mgxd/fitlins | b75f0efb34f78e28bca8fa14664ace5fe073f7a6 | [
"Apache-2.0"
] | 10 | 2017-10-25T20:09:40.000Z | 2019-09-20T18:20:55.000Z | fitlins/workflows/__init__.py | mgxd/fitlins | b75f0efb34f78e28bca8fa14664ace5fe073f7a6 | [
"Apache-2.0"
] | 1 | 2018-02-13T01:52:09.000Z | 2018-02-13T01:52:09.000Z | from .base import init_fitlins_wf
| 17 | 33 | 0.852941 | 6 | 34 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
5ab97887cd87b0140883cfab213368c772e35c24 | 35 | py | Python | src/nastran/post/f06/__init__.py | zuckberj/nastran-aeroelasticity | 04b46ea0cdc0d762a8de4d9ae18bef6806207701 | [
"MIT"
] | 1 | 2022-03-16T19:28:28.000Z | 2022-03-16T19:28:28.000Z | src/nastran/post/f06/__init__.py | zuckberj/nastran-aeroelasticity | 04b46ea0cdc0d762a8de4d9ae18bef6806207701 | [
"MIT"
] | null | null | null | src/nastran/post/f06/__init__.py | zuckberj/nastran-aeroelasticity | 04b46ea0cdc0d762a8de4d9ae18bef6806207701 | [
"MIT"
] | 1 | 2022-01-25T21:22:04.000Z | 2022-01-25T21:22:04.000Z | from nastran.post.f06.f06 import *
| 17.5 | 34 | 0.771429 | 6 | 35 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0.114286 | 35 | 1 | 35 | 35 | 0.741935 | 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 |
51a342c70056b7885db8d45823530f3fa324f748 | 47 | py | Python | cursoemvideo/python/exercicio/021(tocaMP3).py | mateusjustino/cursos | 10927bf62f89b5847bb0acd998e9e9191472d0f4 | [
"MIT"
] | null | null | null | cursoemvideo/python/exercicio/021(tocaMP3).py | mateusjustino/cursos | 10927bf62f89b5847bb0acd998e9e9191472d0f4 | [
"MIT"
] | null | null | null | cursoemvideo/python/exercicio/021(tocaMP3).py | mateusjustino/cursos | 10927bf62f89b5847bb0acd998e9e9191472d0f4 | [
"MIT"
] | null | null | null | import playsound
playsound.playsound('021.mp3') | 23.5 | 30 | 0.829787 | 6 | 47 | 6.5 | 0.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0.042553 | 47 | 2 | 30 | 23.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
51a3dabd5a9a9896a267211d1ec41dd59c6bd39d | 45 | py | Python | python/testData/completion/keywordArgumentEqualsSignSurroundedWithSpaces.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/keywordArgumentEqualsSignSurroundedWithSpaces.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/keywordArgumentEqualsSignSurroundedWithSpaces.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(foo):
pass
func(foo<caret>) | 11.25 | 16 | 0.577778 | 7 | 45 | 3.714286 | 0.714286 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 45 | 4 | 16 | 11.25 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cfbf644c47b1ad0caca85913eb7659c1dbcc1f9d | 71 | py | Python | tests/samples/importing/top.py | frthjf/machinable | efb56ef9827ec78c19acf3d6bea1ac47fea1ad67 | [
"MIT"
] | 7 | 2020-01-02T11:54:38.000Z | 2020-01-10T11:10:06.000Z | tests/samples/importing/top.py | frthjf/machinable | efb56ef9827ec78c19acf3d6bea1ac47fea1ad67 | [
"MIT"
] | 1 | 2020-01-03T21:20:12.000Z | 2020-01-03T21:20:12.000Z | tests/samples/importing/top.py | frthjf/machinable | efb56ef9827ec78c19acf3d6bea1ac47fea1ad67 | [
"MIT"
] | null | null | null | from machinable import Element
class TopComponent(Element):
pass
| 11.833333 | 30 | 0.774648 | 8 | 71 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 5 | 31 | 14.2 | 0.948276 | 0 | 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 |
cfcdd807edbd1fd996833288102e9c0cfbacca54 | 33 | py | Python | test_watch_bells.py | euan-reid/watch-bells | d9c5ecce45d9664f2d4d6de508b3d94116441a1f | [
"MIT"
] | null | null | null | test_watch_bells.py | euan-reid/watch-bells | d9c5ecce45d9664f2d4d6de508b3d94116441a1f | [
"MIT"
] | 2 | 2021-06-08T20:39:23.000Z | 2022-01-13T01:51:47.000Z | test_watch_bells.py | euan-reid/watch-bells | d9c5ecce45d9664f2d4d6de508b3d94116441a1f | [
"MIT"
] | null | null | null | def test_null():
assert True
| 11 | 16 | 0.666667 | 5 | 33 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 33 | 2 | 17 | 16.5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32077a3c98c346d6ab4aa8c8f0db2b0f63da8d4f | 31 | py | Python | app/src/APIs/__init__.py | rmetcalf9/dockJob | a61acf7ca52e37ff513695a5cc201d346fb4a7fa | [
"MIT"
] | 14 | 2018-03-28T20:37:56.000Z | 2020-08-30T13:29:05.000Z | app/src/APIs/__init__.py | rmetcalf9/dockJob | a61acf7ca52e37ff513695a5cc201d346fb4a7fa | [
"MIT"
] | 79 | 2018-02-07T14:42:00.000Z | 2022-02-11T22:30:03.000Z | app/src/APIs/__init__.py | rmetcalf9/dockJob | a61acf7ca52e37ff513695a5cc201d346fb4a7fa | [
"MIT"
] | 6 | 2018-05-08T21:49:40.000Z | 2021-07-30T13:47:37.000Z | from .main import registerAPIs
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
5c6f5cd7d2309b0a1b1d3db738016e0a0a4c77ad | 32 | py | Python | src/amuse/community/phigrape/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/phigrape/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/phigrape/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | from .interface import Phigrape
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
5c8a90ad6de76bd77308f6f9078989b91cb4dfa0 | 309 | py | Python | isolated_system_api_interface_definitions.py | vizeet/bitcoin_core_python_client | bcd7695e2a7f80c1faa9931c623af859f11eae8d | [
"MIT"
] | 4 | 2018-05-12T16:13:51.000Z | 2022-03-29T21:44:48.000Z | isolated_system_api_interface_definitions.py | vizeet/bitcoin_core_python_client | bcd7695e2a7f80c1faa9931c623af859f11eae8d | [
"MIT"
] | null | null | null | isolated_system_api_interface_definitions.py | vizeet/bitcoin_core_python_client | bcd7695e2a7f80c1faa9931c623af859f11eae8d | [
"MIT"
] | 6 | 2020-07-09T15:46:51.000Z | 2021-05-21T09:32:13.000Z | def getNewAddress():
pass
def pushRawP2PKHTxn():
pass
def pushRawP2SHTxn():
pass
def pushRawBareP2WPKHTxn():
pass
def pushRawBareP2WSHTxn():
pass
def pushRawP2SH_P2WPKHTxn():
pass
def pushRawP2SH_P2WSHTxn():
pass
def getSignedTxn():
pass
| 12.875 | 28 | 0.614887 | 26 | 309 | 7.230769 | 0.423077 | 0.260638 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.307443 | 309 | 23 | 29 | 13.434783 | 0.841122 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7a23b64a2bdf2212e518a243e118b27209ba8016 | 110 | py | Python | main.py | pitonides/hello-color | 3695882263379aaad06b3f00c25fc62cbf45dff6 | [
"MIT"
] | null | null | null | main.py | pitonides/hello-color | 3695882263379aaad06b3f00c25fc62cbf45dff6 | [
"MIT"
] | null | null | null | main.py | pitonides/hello-color | 3695882263379aaad06b3f00c25fc62cbf45dff6 | [
"MIT"
] | null | null | null | import crayons
from pyfiglet import figlet_format
print(crayons.blue(figlet_format('Hi there!'), bold=True))
| 22 | 58 | 0.8 | 16 | 110 | 5.375 | 0.75 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 110 | 4 | 59 | 27.5 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a2b9d6d11bcbdef089b7bc22efaddd01b3a0005 | 6,052 | py | Python | imcsdk/mometa/aaa/AaaUserPolicy.py | ecoen66/imcsdk | b10eaa926a5ee57cea7182ae0adc8dd1c818b0ab | [
"Apache-2.0"
] | 31 | 2016-06-14T07:23:59.000Z | 2021-09-12T17:17:26.000Z | imcsdk/mometa/aaa/AaaUserPolicy.py | sthagen/imcsdk | 1831eaecb5960ca03a8624b1579521749762b932 | [
"Apache-2.0"
] | 109 | 2016-05-25T03:56:56.000Z | 2021-10-18T02:58:12.000Z | imcsdk/mometa/aaa/AaaUserPolicy.py | sthagen/imcsdk | 1831eaecb5960ca03a8624b1579521749762b932 | [
"Apache-2.0"
] | 67 | 2016-05-17T05:53:56.000Z | 2022-03-24T15:52:53.000Z | """This module contains the general information for AaaUserPolicy ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class AaaUserPolicyConsts:
USER_MODE_IPMI = "ipmi"
USER_MODE_NON_IPMI = "non-ipmi"
class AaaUserPolicy(... | 61.755102 | 243 | 0.646728 | 562 | 6,052 | 6.75089 | 0.174377 | 0.063258 | 0.096995 | 0.0369 | 0.82525 | 0.78097 | 0.742225 | 0.702688 | 0.663679 | 0.663679 | 0 | 0.032693 | 0.191342 | 6,052 | 97 | 244 | 62.391753 | 0.742542 | 0.017515 | 0 | 0.342105 | 0 | 0 | 0.29272 | 0.044489 | 0 | 0 | 0.011796 | 0 | 0 | 1 | 0.013158 | false | 0.131579 | 0.039474 | 0 | 0.171053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7a46dae13127b08f0d051af09a26cc9c1bcb42cd | 93 | py | Python | app/auth/__init__.py | hnguyenworkstation/stomystory_endpoint | 415752b6a73811e98356b9ebd0dfde2875344e7a | [
"Apache-2.0"
] | null | null | null | app/auth/__init__.py | hnguyenworkstation/stomystory_endpoint | 415752b6a73811e98356b9ebd0dfde2875344e7a | [
"Apache-2.0"
] | null | null | null | app/auth/__init__.py | hnguyenworkstation/stomystory_endpoint | 415752b6a73811e98356b9ebd0dfde2875344e7a | [
"Apache-2.0"
] | null | null | null | # RESTful Api
from flask import Blueprint
auth = Blueprint('auth', __name__)
import views
| 11.625 | 34 | 0.752688 | 12 | 93 | 5.5 | 0.75 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 7 | 35 | 13.285714 | 0.857143 | 0.11828 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
7a844e89559fcdbca5f84f0ea37d2414f5a3e04c | 269 | py | Python | tests/test_utils.py | kigawas/computation-py | 4e1dc356c03b845cae1218a244ad2f2ce2b10132 | [
"MIT"
] | 24 | 2016-04-16T09:10:15.000Z | 2022-03-14T08:44:48.000Z | tests/test_utils.py | kigawas/computation-py | 4e1dc356c03b845cae1218a244ad2f2ce2b10132 | [
"MIT"
] | 10 | 2020-11-29T13:01:09.000Z | 2022-01-22T13:14:32.000Z | tests/test_utils.py | kigawas/computation-py | 4e1dc356c03b845cae1218a244ad2f2ce2b10132 | [
"MIT"
] | 2 | 2019-09-21T15:07:41.000Z | 2021-03-14T13:38:10.000Z | from computation.utils import detect
def test_detect():
assert detect([1, 2, 3], lambda x: x > 1 and x < 3) == 2
assert detect([1, 2, 3], lambda x: False) is None
assert detect([1, 2, 3], lambda x: True) == 1
assert detect([], lambda x: True) is None
| 29.888889 | 60 | 0.613383 | 47 | 269 | 3.489362 | 0.382979 | 0.292683 | 0.237805 | 0.256098 | 0.402439 | 0.402439 | 0.402439 | 0 | 0 | 0 | 0 | 0.063415 | 0.237918 | 269 | 8 | 61 | 33.625 | 0.736585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a91b618af090bed2cccd08eb2d18a1df784d94b | 3,568 | py | Python | leetcode.com/python/322_Coin_Change.py | XSoyOscar/Algorithms | 6e1626d4b0f7804494f0a651698966ad6fd0fe18 | [
"MIT"
] | 713 | 2019-11-19T16:11:25.000Z | 2022-03-31T02:27:52.000Z | leetcode.com/python/322_Coin_Change.py | arunsank/coding-interview-gym | 8131e3a82795707e144fe55d765b6c15bdb97306 | [
"MIT"
] | 7 | 2020-01-16T17:07:18.000Z | 2021-11-15T18:24:39.000Z | leetcode.com/python/322_Coin_Change.py | arunsank/coding-interview-gym | 8131e3a82795707e144fe55d765b6c15bdb97306 | [
"MIT"
] | 393 | 2019-11-18T17:55:45.000Z | 2022-03-28T20:26:32.000Z | import sys
# Top-Down approach. But solution has Excedd the Time Limit
class Solution(object):
def coinChange(self, coins, amount):
"""
:type coins: List[int]
:type amount: int
:rtype: int
"""
if amount < 1:
return 0
numOfCoins = [float('inf') f... | 33.345794 | 98 | 0.605381 | 425 | 3,568 | 5.082353 | 0.192941 | 0.087963 | 0.011111 | 0.02037 | 0.750463 | 0.737037 | 0.728704 | 0.728704 | 0.728704 | 0.728704 | 0 | 0.016254 | 0.310258 | 3,568 | 106 | 99 | 33.660377 | 0.861438 | 0.265695 | 0 | 0.727273 | 0 | 0 | 0.018087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.018182 | 0 | 0.418182 | 0.018182 | 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 |
7a9b8dd959e412c68d427eb6ab3886a87b3b7d11 | 206 | py | Python | tests/test_module.py | trickeydan/mqtt-automate | a43303af80b892cfa15fe3cbf79bf5b47c036d16 | [
"MIT"
] | null | null | null | tests/test_module.py | trickeydan/mqtt-automate | a43303af80b892cfa15fe3cbf79bf5b47c036d16 | [
"MIT"
] | null | null | null | tests/test_module.py | trickeydan/mqtt-automate | a43303af80b892cfa15fe3cbf79bf5b47c036d16 | [
"MIT"
] | null | null | null | """Test that the MQTTAutomate imports as expected."""
import mqtt_automate
def test_module() -> None:
"""Test that the module behaves as expected."""
assert mqtt_automate.__version__ is not None
| 22.888889 | 53 | 0.728155 | 28 | 206 | 5.107143 | 0.642857 | 0.111888 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 206 | 8 | 54 | 25.75 | 0.841176 | 0.432039 | 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 |
8febd5bb0a5b91da9732096790a0a392077086e7 | 41 | py | Python | broccoli/__init__.py | msoedov/brocolli | f4bb320de63eca5e0e2c844b1a34fff3c59d9991 | [
"MIT"
] | 6 | 2015-08-31T12:38:59.000Z | 2015-11-28T12:56:17.000Z | broccoli/__init__.py | msoedov/brocolli | f4bb320de63eca5e0e2c844b1a34fff3c59d9991 | [
"MIT"
] | 2 | 2015-12-08T13:55:29.000Z | 2015-12-08T13:57:32.000Z | broccoli/__init__.py | msoedov/broccoli | f4bb320de63eca5e0e2c844b1a34fff3c59d9991 | [
"MIT"
] | null | null | null | from .core import *
from .flask import *
| 13.666667 | 20 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.878788 | 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 |
56c27b221f1591c28ff1f16942bdaf780e8ff5b2 | 135 | py | Python | tests/test_autodiscover/some_folder_two/base_model.py | dmiwell/peewee_migrate2 | a1bfa72a993fbaa3440e91eb52ecc3d5d3e8fd7d | [
"BSD-3-Clause"
] | 18 | 2019-12-18T09:12:13.000Z | 2022-01-25T15:34:33.000Z | tests/test_autodiscover/some_folder_two/base_model.py | dmiwell/peewee_migrate2 | a1bfa72a993fbaa3440e91eb52ecc3d5d3e8fd7d | [
"BSD-3-Clause"
] | 27 | 2020-01-20T07:28:21.000Z | 2022-03-18T06:10:42.000Z | tests/test_autodiscover/some_folder_two/base_model.py | dmiwell/peewee_migrate2 | a1bfa72a993fbaa3440e91eb52ecc3d5d3e8fd7d | [
"BSD-3-Clause"
] | 8 | 2020-02-12T15:16:48.000Z | 2021-10-18T18:40:19.000Z | import peewee as pw
class BaseModel(pw.Model):
# Basically this class used when many models need same Meta class config
pass
| 19.285714 | 76 | 0.740741 | 21 | 135 | 4.761905 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 135 | 6 | 77 | 22.5 | 0.952381 | 0.518519 | 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 |
56fc9bfb47389da959f0898a089c3d40231e9c27 | 40,419 | py | Python | QUANTAXIS/QAData/QADataStruct.py | YANHAOsTHINGSdb/QUANTAXIS | 8bc1706a13ea74ba2f0ff4df7ce5f29d9add0143 | [
"MIT"
] | 5 | 2017-12-05T08:13:10.000Z | 2021-12-02T07:25:17.000Z | QUANTAXIS/QAData/QADataStruct.py | YANHAOsTHINGSdb/QUANTAXIS | 8bc1706a13ea74ba2f0ff4df7ce5f29d9add0143 | [
"MIT"
] | 1 | 2017-12-17T04:57:53.000Z | 2017-12-17T04:57:53.000Z | QUANTAXIS/QAData/QADataStruct.py | YANHAOsTHINGSdb/QUANTAXIS | 8bc1706a13ea74ba2f0ff4df7ce5f29d9add0143 | [
"MIT"
] | 6 | 2017-11-27T02:26:39.000Z | 2022-02-19T03:08:21.000Z | # coding :utf-8
"""
定义一些可以扩展的数据结构
方便序列化/相互转换
"""
import datetime
import itertools
import os
import platform
import sys
import time
import webbrowser
from functools import lru_cache, reduce, partial
import numpy as np
import pandas as pd
import six
from pyecharts import Kline
from QUANTAXIS.QAData.data_fq import QA... | 45.722851 | 194 | 0.59858 | 5,320 | 40,419 | 4.26485 | 0.044737 | 0.066288 | 0.054432 | 0.054211 | 0.883909 | 0.858037 | 0.832959 | 0.8055 | 0.791749 | 0.780334 | 0 | 0.002455 | 0.244316 | 40,419 | 883 | 195 | 45.774632 | 0.740375 | 0.007125 | 0 | 0.674189 | 0 | 0 | 0.111438 | 0.002921 | 0 | 0 | 0 | 0 | 0.007052 | 1 | 0.170663 | false | 0.007052 | 0.026798 | 0.06347 | 0.489422 | 0.00141 | 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 |
7123108fe47e8c16e38b91a3d4f2e841fc1f47e5 | 1,488 | py | Python | mistletoe/token_sets.py | executablebooks/mistletoe-ebp | 229812436726fd9b1af85c6e66ff8c81b415758d | [
"MIT"
] | 2 | 2020-05-19T02:06:47.000Z | 2020-06-27T10:01:59.000Z | mistletoe/token_sets.py | executablebooks/mistletoe-ebp | 229812436726fd9b1af85c6e66ff8c81b415758d | [
"MIT"
] | 5 | 2020-03-10T22:43:16.000Z | 2020-03-21T22:09:09.000Z | mistletoe/token_sets.py | ExecutableBookProject/mistletoe-ebp | 229812436726fd9b1af85c6e66ff8c81b415758d | [
"MIT"
] | null | null | null | from mistletoe import block_tokens, block_tokens_ext, span_tokens, span_tokens_ext
def get_commonmark_block_tokens():
return (
block_tokens.HTMLBlock,
block_tokens.BlockCode,
block_tokens.Heading,
block_tokens.Quote,
block_tokens.CodeFence,
block_tokens.ThematicBrea... | 25.220339 | 82 | 0.665995 | 153 | 1,488 | 6.084967 | 0.215686 | 0.283566 | 0.055854 | 0.047261 | 0.780881 | 0.780881 | 0.780881 | 0.780881 | 0.683136 | 0.573577 | 0 | 0 | 0.268817 | 1,488 | 58 | 83 | 25.655172 | 0.855699 | 0 | 0 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | true | 0 | 0.02 | 0.08 | 0.18 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
712489b550bd1ea9bdf03595c63ae780d0440bc4 | 37 | py | Python | xaby/nn/models/__init__.py | mcleonard/xaby | e9170983ca04e0891621164cd28fa2a76a527c40 | [
"BSD-3-Clause"
] | 89 | 2020-02-06T09:24:10.000Z | 2021-09-11T22:49:34.000Z | xaby/nn/models/__init__.py | mcleonard/xaby | e9170983ca04e0891621164cd28fa2a76a527c40 | [
"BSD-3-Clause"
] | null | null | null | xaby/nn/models/__init__.py | mcleonard/xaby | e9170983ca04e0891621164cd28fa2a76a527c40 | [
"BSD-3-Clause"
] | 8 | 2020-04-15T19:07:49.000Z | 2020-10-12T10:06:55.000Z | from .mobilenetv2 import mobilenetv2
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
853379a4df742fdfd61a10c500fc3642c44d6bb0 | 148 | py | Python | lib/exceptions/__init__.py | GonzaloAlvarez/py-ga-sysadmin | fbbbbcad36df9f1b3e40328ff48c22bad13a56f4 | [
"MIT"
] | 2 | 2018-01-05T15:32:06.000Z | 2021-06-02T13:15:05.000Z | lib/exceptions/__init__.py | GonzaloAlvarez/devops-tools | fbbbbcad36df9f1b3e40328ff48c22bad13a56f4 | [
"MIT"
] | 67 | 2017-01-09T19:39:19.000Z | 2018-02-28T05:33:40.000Z | lib/exceptions/__init__.py | GonzaloAlvarez/devops-tools | fbbbbcad36df9f1b3e40328ff48c22bad13a56f4 | [
"MIT"
] | null | null | null | from .rofe import RemoteOperationExecutionException
from .uhe import UnknownHostException
from .duplicatemediaex import DuplicateMediaFileException
| 37 | 57 | 0.898649 | 12 | 148 | 11.083333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 148 | 3 | 58 | 49.333333 | 0.977941 | 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 |
85af898f748a3d70ab7672b0c3308a14a6b328de | 305 | py | Python | sdg/data_schemas/__init__.py | Defra-Data-Science-Centre-of-Excellence/sdg-build | 716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0 | [
"MIT"
] | 7 | 2019-02-25T03:50:17.000Z | 2022-03-31T12:58:42.000Z | sdg/data_schemas/__init__.py | Defra-Data-Science-Centre-of-Excellence/sdg-build | 716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0 | [
"MIT"
] | 185 | 2019-01-14T15:35:53.000Z | 2022-03-28T19:16:37.000Z | sdg/data_schemas/__init__.py | Defra-Data-Science-Centre-of-Excellence/sdg-build | 716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0 | [
"MIT"
] | 18 | 2019-01-14T11:20:05.000Z | 2022-02-08T14:10:17.000Z | from .DataSchemaInputBase import DataSchemaInputBase
from .DataSchemaInputFiles import DataSchemaInputFiles
from .DataSchemaInputIndicator import DataSchemaInputIndicator
from .DataSchemaInputTableSchemaYaml import DataSchemaInputTableSchemaYaml
from .DataSchemaInputSdmxDsd import DataSchemaInputSdmxDsd
| 50.833333 | 74 | 0.918033 | 20 | 305 | 14 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 305 | 5 | 75 | 61 | 0.982456 | 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 |
85bd1706caf5c625b662ae17f98275f8a557a711 | 127 | py | Python | src/probnum/quad/bq_methods/__init__.py | feimeng93/probnum | 4e46273c0157d26b9be2a7a415ccf69a3691ec22 | [
"MIT"
] | 1 | 2021-04-14T14:17:12.000Z | 2021-04-14T14:17:12.000Z | src/probnum/quad/bq_methods/__init__.py | jzenn/probnum | cb9e5ec07384913049a312ac62cfec88970f1c8d | [
"MIT"
] | 16 | 2021-03-08T07:25:31.000Z | 2022-03-28T21:05:53.000Z | src/probnum/quad/bq_methods/__init__.py | jzenn/probnum | cb9e5ec07384913049a312ac62cfec88970f1c8d | [
"MIT"
] | 2 | 2022-01-23T14:24:08.000Z | 2022-01-29T01:26:47.000Z | """Bayesian Quadrature."""
from ._bayesian_quadrature import BayesianQuadrature
from ._warped import WarpedBayesianQuadrature
| 25.4 | 52 | 0.84252 | 11 | 127 | 9.454545 | 0.636364 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 127 | 4 | 53 | 31.75 | 0.896552 | 0.15748 | 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 |
a43584b0006a30c666626359702da7ba54449230 | 252 | py | Python | MapSuiteGisEditor/GisEditorPluginCore/StylePlugins/StyleUIs/SharedStyleUserControls/FilterStyle/FilterCodeTemplate/Python.py | hoangduit/MapSuiteGisEditor | 44567f66d679ab2d23b5f4dcd10ca9cdda4a3116 | [
"Apache-2.0"
] | 2 | 2020-06-17T04:59:45.000Z | 2020-10-06T12:14:38.000Z | MapSuiteGisEditor/GisEditorPluginCore/StylePlugins/StyleUIs/SharedStyleUserControls/FilterStyle/FilterCodeTemplate/Python.py | hnjm/GIS-Editor | 1f0be7f6944650c04317ff63cc35398369a3ecc4 | [
"Apache-2.0"
] | null | null | null | MapSuiteGisEditor/GisEditorPluginCore/StylePlugins/StyleUIs/SharedStyleUserControls/FilterStyle/FilterCodeTemplate/Python.py | hnjm/GIS-Editor | 1f0be7f6944650c04317ff63cc35398369a3ecc4 | [
"Apache-2.0"
] | 4 | 2020-06-17T05:01:07.000Z | 2021-09-15T06:49:14.000Z | f = True
f = feature.ColumnValues["COLUMN_NAME"] == "MATCH_VALUE"
f = f and (float(feature.ColumnValues["COLUMN_NAME"])> 0 or float(feature.ColumnValues["COLUMN_NAME"]) <= 1)
f = f and feature.ColumnValues["COLUMN_NAME"] != "MATCH_VALUE"
return f | 50.4 | 109 | 0.710317 | 37 | 252 | 4.702703 | 0.405405 | 0.436782 | 0.574713 | 0.666667 | 0.83908 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0.00905 | 0.123016 | 252 | 5 | 110 | 50.4 | 0.773756 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a49e5697e5ee8357e6145f7c204458841726b252 | 23 | py | Python | pycausal/__init__.py | ntanmayee/pycausal | 04ed5365278c38ac71e4f4654cb101a517566eb9 | [
"BSD-2-Clause"
] | 4 | 2019-09-20T10:28:15.000Z | 2022-03-26T11:39:26.000Z | pycausal/__init__.py | ntanmayee/pycausal | 04ed5365278c38ac71e4f4654cb101a517566eb9 | [
"BSD-2-Clause"
] | null | null | null | pycausal/__init__.py | ntanmayee/pycausal | 04ed5365278c38ac71e4f4654cb101a517566eb9 | [
"BSD-2-Clause"
] | 1 | 2016-05-31T04:39:12.000Z | 2016-05-31T04:39:12.000Z | from backdoor import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 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 |
f114a9e44882cfe4e454ffdd1a2a216f94e6c5c1 | 79 | py | Python | carim/global_resources/mods.py | schana/dayz-server-carim | 007c2f3d1861b736c4a59aeb4ef6275c56f76869 | [
"Apache-2.0"
] | 3 | 2020-04-06T17:57:24.000Z | 2020-06-02T04:21:41.000Z | carim/global_resources/mods.py | schana/dayz-server-carim | 007c2f3d1861b736c4a59aeb4ef6275c56f76869 | [
"Apache-2.0"
] | 16 | 2020-03-18T09:07:51.000Z | 2020-05-11T14:58:55.000Z | carim/global_resources/mods.py | schana/dayz-server-carim | 007c2f3d1861b736c4a59aeb4ef6275c56f76869 | [
"Apache-2.0"
] | null | null | null | _mods = []
def get():
return _mods
def add(mod):
_mods.append(mod)
| 7.9 | 21 | 0.56962 | 11 | 79 | 3.818182 | 0.636364 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278481 | 79 | 9 | 22 | 8.777778 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 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 |
f13416a59f3765119ca861a46f8a0915cedc640b | 163 | py | Python | tensors.py | steveKapturowski/curvy | 4c69d2ffce20d0b6a317de6d5416d988ee709390 | [
"MIT"
] | null | null | null | tensors.py | steveKapturowski/curvy | 4c69d2ffce20d0b6a317de6d5416d988ee709390 | [
"MIT"
] | null | null | null | tensors.py | steveKapturowski/curvy | 4c69d2ffce20d0b6a317de6d5416d988ee709390 | [
"MIT"
] | null | null | null | import sympy
def christoffelSymbols(g):
pass
def riemannTensor(g):
pass
def ricciTensor(g):
pass
def weylTensor(g):
pass
def ricciScalar(g):
pass
| 6.791667 | 26 | 0.699387 | 22 | 163 | 5.181818 | 0.454545 | 0.219298 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208589 | 163 | 23 | 27 | 7.086957 | 0.883721 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0.090909 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f161965184f153de2c66353a58f3767018363e0e | 200 | py | Python | ngz-geoviz/frontend/views.py | GispoCoding/ngz-geoviz | a2ef88d752ae733845e98b20ea26be9e71460e4e | [
"MIT"
] | 26 | 2020-06-01T09:49:30.000Z | 2022-01-10T06:00:50.000Z | ngz-geoviz/frontend/views.py | GispoCoding/ngz-geoviz | a2ef88d752ae733845e98b20ea26be9e71460e4e | [
"MIT"
] | 4 | 2021-05-06T09:15:43.000Z | 2022-02-27T05:49:14.000Z | ngz-geoviz/frontend/views.py | GispoCoding/ngz-geoviz | a2ef88d752ae733845e98b20ea26be9e71460e4e | [
"MIT"
] | 1 | 2020-06-01T13:34:05.000Z | 2020-06-01T13:34:05.000Z | from django.shortcuts import render
from django.views.decorators.clickjacking import xframe_options_exempt
@xframe_options_exempt
def index(request):
return render(request, 'frontend/index.html')
| 25 | 70 | 0.835 | 26 | 200 | 6.269231 | 0.653846 | 0.122699 | 0.233129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 200 | 7 | 71 | 28.571429 | 0.895604 | 0 | 0 | 0 | 0 | 0 | 0.095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2d066fe756555bc84d5a330209a59a854ab90601 | 3,407 | py | Python | src/bug-bounty-related/xss/xss_blaster.py | shownadda/Malware-Dev | a3fb40371bb4c4f41c582747af41ae8800050f5c | [
"Unlicense"
] | 46 | 2022-01-30T14:29:02.000Z | 2022-03-25T03:49:13.000Z | src/bug-bounty-related/xss/xss_blaster.py | shownadda/Malware-Dev | a3fb40371bb4c4f41c582747af41ae8800050f5c | [
"Unlicense"
] | null | null | null | src/bug-bounty-related/xss/xss_blaster.py | shownadda/Malware-Dev | a3fb40371bb4c4f41c582747af41ae8800050f5c | [
"Unlicense"
] | 1 | 2022-03-05T03:42:55.000Z | 2022-03-05T03:42:55.000Z | ## XSS Blaster
## By ShowNadda
# Version 1.0
# Global Imports
import requests
import time
import sys
import colorama
from colorama import Fore, Back, Style
colorama.init()
# Header to send with the request
header = {'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Geko/20100101 Firefox/40.1'}
# Title Scree... | 36.634409 | 99 | 0.57558 | 443 | 3,407 | 4.395034 | 0.248307 | 0.09245 | 0.093477 | 0.05547 | 0.785824 | 0.728814 | 0.715973 | 0.715973 | 0.715973 | 0.715973 | 0 | 0.017989 | 0.282066 | 3,407 | 92 | 100 | 37.032609 | 0.778005 | 0.034048 | 0 | 0.746835 | 0 | 0.012658 | 0.26242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.025316 | 0.063291 | 0 | 0.063291 | 0.316456 | 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 |
2d349a7d3eb9e1bf721517b7c61651c64a9b84ae | 211 | py | Python | flair/hyperparameter/__init__.py | dav-ell/flair | c24856d42ddf698ccfd2a59a81db360a78ebf23f | [
"MIT"
] | 3 | 2019-07-10T08:12:46.000Z | 2020-02-05T08:36:45.000Z | flair/hyperparameter/__init__.py | dav-ell/flair | c24856d42ddf698ccfd2a59a81db360a78ebf23f | [
"MIT"
] | 6 | 2020-01-28T22:49:43.000Z | 2022-02-10T00:11:52.000Z | src/.tmp/scan/flair/hyperparameter/__init__.py | perploug/Zincr-TestRepo | c56c66c4630f1b921db218f2ef1b293ab019fe48 | [
"MIT"
] | 1 | 2021-02-16T01:57:07.000Z | 2021-02-16T01:57:07.000Z | from .parameter import Parameter, SEQUENCE_TAGGER_PARAMETERS, TRAINING_PARAMETERS, DOCUMENT_EMBEDDING_PARAMETERS
from .param_selection import SequenceTaggerParamSelector, TextClassifierParamSelector, SearchSpace | 105.5 | 112 | 0.909953 | 19 | 211 | 9.789474 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056872 | 211 | 2 | 113 | 105.5 | 0.934673 | 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 |
748d0f9178228ecd9ab14ae9ad00a37451d12d6f | 266 | py | Python | data_flow/data_input_abs.py | polltooh/TensorflowFramework | 0c996c8ad98b32fc2c50f8dc0660038a65de312c | [
"Apache-2.0"
] | 4 | 2017-03-04T02:30:27.000Z | 2019-01-14T02:30:23.000Z | data_flow/data_input_abs.py | polltooh/TensorflowFramework | 0c996c8ad98b32fc2c50f8dc0660038a65de312c | [
"Apache-2.0"
] | null | null | null | data_flow/data_input_abs.py | polltooh/TensorflowFramework | 0c996c8ad98b32fc2c50f8dc0660038a65de312c | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta, abstractmethod
from data_abs import DataAbs
class DataInputAbs(DataAbs):
__metaclass__ = ABCMeta
@abstractmethod
def get_label(self):
pass
@abstractmethod
def get_input(self):
pass
@abstractmethod
def load_data(self):
pass
| 14.777778 | 39 | 0.770677 | 33 | 266 | 5.969697 | 0.545455 | 0.258883 | 0.203046 | 0.253807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 266 | 17 | 40 | 15.647059 | 0.887387 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.230769 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
749bdf49d36ee3a75fbd5eeaf7d9d5bbb9f030b8 | 85 | py | Python | tsetmc_webservice/__init__.py | mahs4d/tsetmc-webservice | e18cdb22d8d68288168da5937823a519ad76e03a | [
"MIT"
] | 7 | 2020-11-10T07:40:04.000Z | 2022-02-17T00:03:42.000Z | tsetmc_webservice/__init__.py | mahs4d/tsetmc-webservice | e18cdb22d8d68288168da5937823a519ad76e03a | [
"MIT"
] | 1 | 2021-10-30T18:02:09.000Z | 2021-10-30T18:17:35.000Z | tsetmc_webservice/__init__.py | mahs4d/tsetmc-webservice | e18cdb22d8d68288168da5937823a519ad76e03a | [
"MIT"
] | 1 | 2021-04-13T12:29:01.000Z | 2021-04-13T12:29:01.000Z | from .client import WebserviceClient, Flow
from .pack_generator import generate_pack
| 28.333333 | 42 | 0.858824 | 11 | 85 | 6.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 2 | 43 | 42.5 | 0.934211 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74ac20365ae07b5f2b27098ac1b48633114e44de | 3,987 | py | Python | tests/test_models/test_convnext.py | DarshanDeshpande/jax-models | ae5750540f142572ff7f276b927a9cdb5195fd23 | [
"Apache-2.0"
] | 61 | 2022-01-08T19:06:48.000Z | 2022-03-28T07:56:19.000Z | tests/test_models/test_convnext.py | DarshanDeshpande/jax-models | ae5750540f142572ff7f276b927a9cdb5195fd23 | [
"Apache-2.0"
] | 1 | 2022-02-27T01:15:57.000Z | 2022-02-28T13:31:50.000Z | tests/test_models/test_convnext.py | DarshanDeshpande/jax-models | ae5750540f142572ff7f276b927a9cdb5195fd23 | [
"Apache-2.0"
] | 2 | 2022-01-09T10:01:49.000Z | 2022-02-03T23:19:24.000Z | import unittest
import jax.numpy as jnp
import jax.random as random
from jax_models.models.convnext import *
class TestConvNeXt(unittest.TestCase):
def test_output_shape(self):
key, drop = random.split(random.PRNGKey(0), 2)
model = ConvNeXt(attach_head=False)
x = jnp.zeros([1, 224, 224, ... | 25.557692 | 83 | 0.505643 | 368 | 3,987 | 5.288043 | 0.152174 | 0.090442 | 0.139774 | 0.192703 | 0.791881 | 0.791881 | 0.789825 | 0.76927 | 0.76927 | 0.76927 | 0 | 0.040691 | 0.389767 | 3,987 | 155 | 84 | 25.722581 | 0.759145 | 0 | 0 | 0.57037 | 0 | 0 | 0.091798 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 1 | 0.014815 | false | 0 | 0.02963 | 0 | 0.051852 | 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 |
778ee273951e59328d0b0914f58fa3b522478556 | 44 | py | Python | src/__init__.py | smithara/geomagnetic_datacubes_dev | b842ec31dfd36eee5b8845e9b496a280ea8785b5 | [
"MIT"
] | null | null | null | src/__init__.py | smithara/geomagnetic_datacubes_dev | b842ec31dfd36eee5b8845e9b496a280ea8785b5 | [
"MIT"
] | null | null | null | src/__init__.py | smithara/geomagnetic_datacubes_dev | b842ec31dfd36eee5b8845e9b496a280ea8785b5 | [
"MIT"
] | null | null | null | from . import env, data, models, tools, viz
| 22 | 43 | 0.704545 | 7 | 44 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 1 | 44 | 44 | 0.861111 | 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 |
77950de048590990dfd55ff7a1269113cc8e6e39 | 322 | py | Python | ngram_graphs/__init__.py | loginn/ngrams_graphs | 74fc42d3895cdbc51eec5aaf7b5505b4432619e3 | [
"MIT"
] | 8 | 2018-04-24T17:03:29.000Z | 2022-02-08T14:36:00.000Z | ngram_graphs/__init__.py | loginn/ngrams-graphs | 74fc42d3895cdbc51eec5aaf7b5505b4432619e3 | [
"MIT"
] | 1 | 2019-08-13T08:50:54.000Z | 2021-12-03T11:19:51.000Z | ngram_graphs/__init__.py | loginn/ngrams_graphs | 74fc42d3895cdbc51eec5aaf7b5505b4432619e3 | [
"MIT"
] | null | null | null | from .Generator import Generator
from ngram_graphs.TextGraph.IGraphTextGraph import IGraphTextGraph
from ngram_graphs.TextGraph.NetworkxTextGraph import NetworkxTextGraph
from .utils import generate_model_graph
from .comparison import size_similarity, value_similarity, normalized_value_similarity, containment_similarit... | 53.666667 | 110 | 0.897516 | 36 | 322 | 7.777778 | 0.5 | 0.064286 | 0.107143 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 322 | 5 | 111 | 64.4 | 0.936455 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77b30e9d506049e90b16c950d2a093ce7ed68fa4 | 29 | py | Python | dimka/__init__.py | madmis/dimka-binance | 8a9173ac923d2fb122afeb68f85e4aba07d08c5b | [
"MIT"
] | null | null | null | dimka/__init__.py | madmis/dimka-binance | 8a9173ac923d2fb122afeb68f85e4aba07d08c5b | [
"MIT"
] | null | null | null | dimka/__init__.py | madmis/dimka-binance | 8a9173ac923d2fb122afeb68f85e4aba07d08c5b | [
"MIT"
] | null | null | null | from dimka import core, test
| 14.5 | 28 | 0.793103 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.958333 | 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 |
7ada3adc39da7f7cf16d338944ab14a325097b3c | 163 | py | Python | qualitymeter/refactoring_opportunities/pushdown_method_identification.py | a-afra/QualityMeter | 4067aa669050b406fc032547cb48a852fb50cee0 | [
"MIT"
] | null | null | null | qualitymeter/refactoring_opportunities/pushdown_method_identification.py | a-afra/QualityMeter | 4067aa669050b406fc032547cb48a852fb50cee0 | [
"MIT"
] | null | null | null | qualitymeter/refactoring_opportunities/pushdown_method_identification.py | a-afra/QualityMeter | 4067aa669050b406fc032547cb48a852fb50cee0 | [
"MIT"
] | null | null | null | """
The module identify push-down method refactoring opportunities in Java projects
"""
# Todo: Implementing a decent push-down method identification algorithm.
| 23.285714 | 79 | 0.791411 | 20 | 163 | 6.45 | 0.85 | 0.124031 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 163 | 6 | 80 | 27.166667 | 0.921429 | 0.92638 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.166667 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 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 |
bb176ab2cdacc9907803db74d14dcb1b4425cb48 | 363 | py | Python | texar/data/__init__.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 25 | 2019-01-03T09:15:20.000Z | 2022-02-12T04:20:59.000Z | texar/data/__init__.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 4 | 2019-03-28T11:02:20.000Z | 2022-02-15T04:57:33.000Z | texar/data/__init__.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 9 | 2019-01-03T02:20:37.000Z | 2022-02-12T04:20:50.000Z | #
"""
Modules of texar library data.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# pylint: disable=wildcard-import
from texar.data.data_utils import *
from texar.data.data import *
from texar.data.data_decoders import *
from texar.data.vocabulary i... | 21.352941 | 38 | 0.798898 | 50 | 363 | 5.48 | 0.38 | 0.218978 | 0.273723 | 0.346715 | 0.251825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126722 | 363 | 16 | 39 | 22.6875 | 0.864353 | 0.173554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
248746513d123dc3d3752762a1874a2210ef0352 | 94,485 | py | Python | rtk/analyses/statistics/Distributions.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | null | null | null | rtk/analyses/statistics/Distributions.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | null | null | null | rtk/analyses/statistics/Distributions.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | 2 | 2020-04-03T04:14:42.000Z | 2021-02-22T05:30:35.000Z | #!/usr/bin/env python
"""
######################################
Statistics Package Distribution Module
######################################
"""
# -*- coding: utf-8 -*-
#
# rtk.analyses.statistics.Distributions.py is part of The RTK Project
#
# All rights reserved.
# Copyright 2007 - 2017 Andrew Rowland andrew... | 45.014293 | 103 | 0.536826 | 11,560 | 94,485 | 4.22846 | 0.048529 | 0.014832 | 0.032078 | 0.00491 | 0.863812 | 0.850719 | 0.836828 | 0.821587 | 0.811195 | 0.805159 | 0 | 0.028715 | 0.375996 | 94,485 | 2,098 | 104 | 45.035748 | 0.800353 | 0.510293 | 0 | 0.638621 | 0 | 0 | 0.005589 | 0.000708 | 0 | 0 | 0 | 0.001907 | 0 | 1 | 0.073103 | false | 0 | 0.009655 | 0 | 0.151724 | 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 |
24bfc7457a85ca3a1bb753ee28faeb37df198116 | 125 | py | Python | PythonExercicios/Mundo 1/ex002.py | gabryelvicthor/Aprendendo-Python | 895c5ef2d93c946d1e61c1820b3d7e09669e59ca | [
"MIT"
] | null | null | null | PythonExercicios/Mundo 1/ex002.py | gabryelvicthor/Aprendendo-Python | 895c5ef2d93c946d1e61c1820b3d7e09669e59ca | [
"MIT"
] | null | null | null | PythonExercicios/Mundo 1/ex002.py | gabryelvicthor/Aprendendo-Python | 895c5ef2d93c946d1e61c1820b3d7e09669e59ca | [
"MIT"
] | null | null | null | nome = input('Qual é o seu nome? ')
print('É um prazer te conhecer,', nome + '!')
print('É um bom nome, {}-san'.format(nome)) | 41.666667 | 45 | 0.624 | 22 | 125 | 3.545455 | 0.636364 | 0.230769 | 0.25641 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 125 | 3 | 46 | 41.666667 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.515873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
7025af02ed7af7dc7534e91e4c96991aa74bf4b2 | 19,800 | py | Python | test_autoarray/unit/operators/inversion/test_inversions.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | test_autoarray/unit/operators/inversion/test_inversions.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | test_autoarray/unit/operators/inversion/test_inversions.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | import autoarray as aa
from autoarray.operators.inversion import inversions
from autoarray import exc
import numpy as np
import pytest
from test_autoarray.mock import mock_inversion
class TestRegularizationTerm:
def test__solution_all_1s__regularization_matrix_simple(self):
matrix_shape = (3, 3)
... | 35.804702 | 225 | 0.560859 | 2,523 | 19,800 | 4.189853 | 0.062624 | 0.039542 | 0.046542 | 0.046921 | 0.872671 | 0.854697 | 0.839466 | 0.827642 | 0.820736 | 0.806357 | 0 | 0.072358 | 0.30899 | 19,800 | 552 | 226 | 35.869565 | 0.700263 | 0.145404 | 0 | 0.690289 | 0 | 0 | 0.007709 | 0.006641 | 0 | 0 | 0 | 0 | 0.094488 | 1 | 0.028871 | false | 0 | 0.023622 | 0 | 0.062992 | 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 |
70333cdf09f4a7dacf5795792518aa544375610c | 48 | py | Python | examples/runners/__init__.py | Renovamen/tinyark | da536e8f8132ef531c5bef3feebd3178c1877fce | [
"MIT"
] | 15 | 2021-02-08T16:01:52.000Z | 2021-02-10T07:49:26.000Z | examples/runners/__init__.py | Renovamen/tinyark | da536e8f8132ef531c5bef3feebd3178c1877fce | [
"MIT"
] | null | null | null | examples/runners/__init__.py | Renovamen/tinyark | da536e8f8132ef531c5bef3feebd3178c1877fce | [
"MIT"
] | 2 | 2021-05-10T06:40:45.000Z | 2021-05-10T14:47:03.000Z | from .train import train
from .test import test
| 16 | 24 | 0.791667 | 8 | 48 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.95 | 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 |
708f51aaf48e7012d3dd92382692e0fa457b738c | 15,428 | py | Python | examples/stress_test/publish.py | IOT-DSA/sdk-dslink-python | 80990f9b836370fa010bf3f18eb0587f1056bbeb | [
"Apache-2.0"
] | 8 | 2015-09-09T15:21:54.000Z | 2019-10-10T10:24:15.000Z | examples/stress_test/publish.py | IOT-DSA/sdk-dslink-python | 80990f9b836370fa010bf3f18eb0587f1056bbeb | [
"Apache-2.0"
] | 5 | 2015-09-27T17:32:36.000Z | 2018-10-23T05:07:57.000Z | examples/stress_test/publish.py | IOT-DSA/sdk-dslink-python | 80990f9b836370fa010bf3f18eb0587f1056bbeb | [
"Apache-2.0"
] | 13 | 2016-02-12T22:52:05.000Z | 2021-05-18T23:31:40.000Z | import dslink
from twisted.internet import task
class PublishDSLink(dslink.DSLink):
i=0
def start(self):
task.LoopingCall(self.publish).start(0.0001)
def publish(self):
#self.requester.invoke(path="/data/publish", params={"Path": "/data/test", "Value": "hellooooooooooooooooooooooooooooooo... | 857.111111 | 14,977 | 0.987166 | 73 | 15,428 | 208.520548 | 0.452055 | 0.002102 | 0.002496 | 0.003022 | 0.010774 | 0.010774 | 0.007489 | 0.007489 | 0.007489 | 0.007489 | 0 | 0.000456 | 0.006028 | 15,428 | 17 | 14,978 | 907.529412 | 0.992175 | 0.970184 | 0 | 0 | 0 | 0 | 0.126638 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5606eea1d885d6484432838a476ddac2183c007d | 72 | py | Python | Tests/PyQtdemo_Test.py | Neeraj2K18/Coffee-Machine-App | 5e82146ddaf0c4baffaea75f29e12163e1c09375 | [
"MIT"
] | 1 | 2022-01-04T20:31:26.000Z | 2022-01-04T20:31:26.000Z | Tests/PyQtdemo_Test.py | Neeraj2K18/Coffee-Machine-App | 5e82146ddaf0c4baffaea75f29e12163e1c09375 | [
"MIT"
] | 2 | 2021-01-02T23:04:31.000Z | 2021-01-04T12:50:34.000Z | Tests/PyQtdemo_Test.py | Neeraj2K18/Coffee-Machine-App | 5e82146ddaf0c4baffaea75f29e12163e1c09375 | [
"MIT"
] | 2 | 2021-01-04T10:04:14.000Z | 2021-01-04T11:46:24.000Z | import sys
from PySide2 import QtCore
from ..Src import PyQtdemo
pass
| 10.285714 | 26 | 0.791667 | 11 | 72 | 5.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.180556 | 72 | 6 | 27 | 12 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
56087655023a77354e11d555b80e6243f2a2387c | 1,628 | py | Python | rblk/tag/engine.py | ihgazni2/rblk | 653d0687c9a4a768e8f327d065e60c7c5d9ddfba | [
"MIT"
] | null | null | null | rblk/tag/engine.py | ihgazni2/rblk | 653d0687c9a4a768e8f327d065e60c7c5d9ddfba | [
"MIT"
] | null | null | null | rblk/tag/engine.py | ihgazni2/rblk | 653d0687c9a4a768e8f327d065e60c7c5d9ddfba | [
"MIT"
] | null | null | null | __all__ = [
"_is_ltag",
"_is_not_ltag",
"_is_rtag",
"_is_not_rtag",
"_is_tag",
"_is_not_tag",
"_is_ltag_of",
"_is_not_ltag_of",
"_is_rtag_of",
"_is_not_rtag_of",
"_is_pair_of",
"_is_not_pair_of",
"_is_not_ltag_and_not_rtag_of"
]
####
def _is_ltag(tag,tag_pairs):
... | 22.30137 | 54 | 0.691032 | 280 | 1,628 | 3.496429 | 0.075 | 0.236977 | 0.132789 | 0.172625 | 0.80286 | 0.728294 | 0.538304 | 0.231869 | 0.067416 | 0 | 0 | 0.031641 | 0.165233 | 1,628 | 72 | 55 | 22.611111 | 0.688742 | 0 | 0 | 0.117647 | 0 | 0 | 0.101674 | 0.017359 | 0 | 0 | 0 | 0 | 0 | 1 | 0.254902 | false | 0 | 0 | 0.117647 | 0.254902 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
56552596ee80192ec762380ec0e4c9b5435c98b3 | 28 | py | Python | packages/procura.py | cleuton/pythondrops | 8190567fc3c0b54b4cb2465d989f1bc992ca89da | [
"Apache-2.0"
] | 8 | 2018-06-15T05:37:41.000Z | 2021-05-23T23:40:45.000Z | packages/procura.py | cleuton/pythondrops | 8190567fc3c0b54b4cb2465d989f1bc992ca89da | [
"Apache-2.0"
] | 2 | 2018-06-15T05:39:59.000Z | 2019-08-30T01:16:30.000Z | packages/procura.py | cleuton/pythondrops | 8190567fc3c0b54b4cb2465d989f1bc992ca89da | [
"Apache-2.0"
] | 5 | 2018-06-15T05:37:42.000Z | 2019-08-29T10:19:22.000Z | import a
print(a.calcular()) | 14 | 19 | 0.75 | 5 | 28 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 2 | 19 | 14 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5661cbf365eefb23a3af8c250ca3105009092594 | 33 | py | Python | commands/upgrader/utils/nbt/__item__.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | 1 | 2020-07-27T16:53:26.000Z | 2020-07-27T16:53:26.000Z | commands/upgrader/utils/nbt/__item__.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | 5 | 2019-01-02T14:21:32.000Z | 2019-07-07T05:39:39.000Z | commands/upgrader/utils/nbt/__item__.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | null | null | null | from . import block, entity, item | 33 | 33 | 0.757576 | 5 | 33 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.892857 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.