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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3cdd38b398d7b592216aa1ed2195651695e9fb02 | 78 | py | Python | RASA_Restaurant_Chatbot/nlu/__init__.py | anugrahasinha/nlp | 3fd7ac305678eb6c2d761f6239ce5e53a016a3e4 | [
"MIT"
] | null | null | null | RASA_Restaurant_Chatbot/nlu/__init__.py | anugrahasinha/nlp | 3fd7ac305678eb6c2d761f6239ce5e53a016a3e4 | [
"MIT"
] | null | null | null | RASA_Restaurant_Chatbot/nlu/__init__.py | anugrahasinha/nlp | 3fd7ac305678eb6c2d761f6239ce5e53a016a3e4 | [
"MIT"
] | null | null | null | ## init file for nlu ##
from . import nlu_model
from .nlu_model import *
| 15.6 | 25 | 0.666667 | 12 | 78 | 4.166667 | 0.583333 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24359 | 78 | 4 | 26 | 19.5 | 0.847458 | 0.217949 | 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 |
596b78266e3f9ee1ae0f7a506b31200477b08b81 | 111 | py | Python | server/app/services/tasks_scheduler/async_tasks/app/emqx/__init__.py | goodfree/ActorCloud | e8db470830ea6f6f208ad43c2e56a2e8976bc468 | [
"Apache-2.0"
] | 173 | 2019-06-10T07:14:49.000Z | 2022-03-31T08:42:36.000Z | server/app/services/tasks_scheduler/async_tasks/app/emqx/__init__.py | zlyz12345/ActorCloud | 9c34b371c23464981323ef9865d9913bde1fe09c | [
"Apache-2.0"
] | 27 | 2019-06-12T08:25:29.000Z | 2022-02-26T11:37:15.000Z | server/app/services/tasks_scheduler/async_tasks/app/emqx/__init__.py | zlyz12345/ActorCloud | 9c34b371c23464981323ef9865d9913bde1fe09c | [
"Apache-2.0"
] | 67 | 2019-06-10T08:40:05.000Z | 2022-03-09T03:43:56.000Z | from .auth import device_auth
from .callback import backend_callback
from .publish import device_publish_task
| 22.2 | 40 | 0.855856 | 16 | 111 | 5.6875 | 0.5 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 111 | 4 | 41 | 27.75 | 0.928571 | 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 |
597b6c3517f5711e47d555d3691837c60a310c75 | 14,277 | py | Python | py-wacz/tests/test_optional_flags_wacz.py | emmadickson/wacz-format | 9397f3e31b378eb2064dfe25a5b0b7b727c62f5d | [
"MIT"
] | null | null | null | py-wacz/tests/test_optional_flags_wacz.py | emmadickson/wacz-format | 9397f3e31b378eb2064dfe25a5b0b7b727c62f5d | [
"MIT"
] | null | null | null | py-wacz/tests/test_optional_flags_wacz.py | emmadickson/wacz-format | 9397f3e31b378eb2064dfe25a5b0b7b727c62f5d | [
"MIT"
] | null | null | null | import unittest
import tempfile
import os
import zipfile, json, gzip
from wacz.main import main, now
from unittest.mock import patch
import jsonlines
TEST_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "fixtures")
class TestWaczFormat(unittest.TestCase):
@patch("wacz.main.now")
def test_warc... | 40.444759 | 132 | 0.478742 | 1,454 | 14,277 | 4.550206 | 0.096974 | 0.048065 | 0.077086 | 0.096735 | 0.870768 | 0.861548 | 0.849607 | 0.831469 | 0.800181 | 0.786427 | 0 | 0.020459 | 0.407719 | 14,277 | 352 | 133 | 40.559659 | 0.761944 | 0.055894 | 0 | 0.646302 | 0 | 0 | 0.171162 | 0.105493 | 0 | 0 | 0 | 0 | 0.106109 | 1 | 0.032154 | false | 0 | 0.022508 | 0 | 0.057878 | 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 |
59a60c963e9fa01ea5f8ff8fd293cc4ce3c76640 | 29 | py | Python | vnpy/api/mini/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | vnpy/api/mini/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | vnpy/api/mini/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | from .mini_constant 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 |
ab96e27d1a1291539f8c5c2e960e914132af06dc | 35 | py | Python | 003/todo-app/main/todo/forms/__init__.py | akiracadet/django-projects-v1 | 35ab3b88ed9bb9fab7e3d32a8fb838fff6571937 | [
"MIT"
] | null | null | null | 003/todo-app/main/todo/forms/__init__.py | akiracadet/django-projects-v1 | 35ab3b88ed9bb9fab7e3d32a8fb838fff6571937 | [
"MIT"
] | 5 | 2021-03-30T14:07:08.000Z | 2021-09-22T19:28:43.000Z | 006/ui-design/main/todo/forms/__init__.py | akiracadet/django-projects-v1 | 35ab3b88ed9bb9fab7e3d32a8fb838fff6571937 | [
"MIT"
] | null | null | null | from .create import CreateTodoForm
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
abe7056ad58508bdc48397b0bc58a2982c85a7a0 | 393 | py | Python | icesat2_toolkit/__init__.py | oupin123/read-ICESat-2 | 2501f305536a7ef875438a3986d7de175f4b833d | [
"MIT"
] | 1 | 2020-02-06T17:30:07.000Z | 2020-02-06T17:30:07.000Z | icesat2_toolkit/__init__.py | oupin123/read-ICESat-2 | 2501f305536a7ef875438a3986d7de175f4b833d | [
"MIT"
] | null | null | null | icesat2_toolkit/__init__.py | oupin123/read-ICESat-2 | 2501f305536a7ef875438a3986d7de175f4b833d | [
"MIT"
] | null | null | null | from icesat2_toolkit.count_leap_seconds import count_leap_seconds
from icesat2_toolkit.convert_julian import convert_julian
from icesat2_toolkit.read_ICESat2_ATL03 import read_HDF5_ATL03, read_HDF5_ATL09
from icesat2_toolkit.read_ICESat2_ATL06 import read_HDF5_ATL06
from icesat2_toolkit.read_ICESat2_ATL07 import read_H... | 56.142857 | 79 | 0.918575 | 61 | 393 | 5.42623 | 0.262295 | 0.199396 | 0.326284 | 0.265861 | 0.350453 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089674 | 0.063613 | 393 | 6 | 80 | 65.5 | 0.809783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9eda7b140a1d743f75d3e08d99206fa6d47ff6e | 44 | py | Python | 5-sax-detector/code/db_status.py | davidluther/Metis-Projects | ade74f4fc4fb4b6626d456735243211f4c1a3563 | [
"MIT"
] | 5 | 2019-07-02T03:54:14.000Z | 2022-03-21T01:02:26.000Z | 5-sax-detector/code/db_status.py | davidluther/Metis-Projects | ade74f4fc4fb4b6626d456735243211f4c1a3563 | [
"MIT"
] | null | null | null | 5-sax-detector/code/db_status.py | davidluther/Metis-Projects | ade74f4fc4fb4b6626d456735243211f4c1a3563 | [
"MIT"
] | 2 | 2018-02-06T14:35:41.000Z | 2020-02-11T23:00:02.000Z | from audiomod import db_status
db_status()
| 11 | 30 | 0.818182 | 7 | 44 | 4.857143 | 0.714286 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 31 | 14.666667 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 |
e60be8a61204226d460d3bca07f0aba4e61fab34 | 36 | py | Python | flenv/src/env/__init__.py | qubard/deepq-collision-avoidance | 2d6cc3d494482e0b7a3e38f825bcb6eae103c453 | [
"MIT"
] | 3 | 2020-01-07T14:44:30.000Z | 2020-11-10T04:16:17.000Z | flenv/src/env/__init__.py | qubard/deepq-collision-avoidance | 2d6cc3d494482e0b7a3e38f825bcb6eae103c453 | [
"MIT"
] | 1 | 2021-01-11T03:51:47.000Z | 2021-01-11T03:51:47.000Z | flenv/src/env/__init__.py | qubard/deepq-collision-avoidance | 2d6cc3d494482e0b7a3e38f825bcb6eae103c453 | [
"MIT"
] | null | null | null | from .env import Environment, Entity | 36 | 36 | 0.833333 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
e60c84e3ba18c221f6623337c1597af88344d257 | 84 | py | Python | saleor_gql_loader/__init__.py | Yegabebar/saleor-gql-loader | 9c6fea078c9719a7669ee312dae22305675fe2fb | [
"MIT"
] | null | null | null | saleor_gql_loader/__init__.py | Yegabebar/saleor-gql-loader | 9c6fea078c9719a7669ee312dae22305675fe2fb | [
"MIT"
] | null | null | null | saleor_gql_loader/__init__.py | Yegabebar/saleor-gql-loader | 9c6fea078c9719a7669ee312dae22305675fe2fb | [
"MIT"
] | null | null | null | from .data_loader import ETLDataLoader
from .data_requester import ETLDataRequester
| 28 | 44 | 0.880952 | 10 | 84 | 7.2 | 0.7 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 45 | 42 | 0.947368 | 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 |
e66aab99772d06d114a2ef9827dfd03c906657fd | 12,211 | py | Python | sdk/python/pulumi_alicloud/bastionhost/user_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/bastionhost/user_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/bastionhost/user_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 41.675768 | 211 | 0.645893 | 1,571 | 12,211 | 4.789306 | 0.107575 | 0.070574 | 0.062866 | 0.052632 | 0.780569 | 0.754386 | 0.744551 | 0.720627 | 0.711988 | 0.689128 | 0 | 0.004891 | 0.263205 | 12,211 | 292 | 212 | 41.818493 | 0.831388 | 0.378921 | 0 | 0.537415 | 1 | 0 | 0.106526 | 0.007316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14966 | false | 0.006803 | 0.034014 | 0 | 0.272109 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
056cb5d62044954d2a46dc536e2369013f25e6c0 | 136 | py | Python | {{cookiecutter.app_name}}/apps.py | bulv1ne/cookiecutter-drf-app | c603dca5f61d2d8cee66c73278e2b9d95e32311c | [
"MIT"
] | 2 | 2017-11-05T16:30:03.000Z | 2021-04-07T14:52:40.000Z | {{cookiecutter.app_name}}/apps.py | bulv1ne/cookiecutter-drf-app | c603dca5f61d2d8cee66c73278e2b9d95e32311c | [
"MIT"
] | null | null | null | {{cookiecutter.app_name}}/apps.py | bulv1ne/cookiecutter-drf-app | c603dca5f61d2d8cee66c73278e2b9d95e32311c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class {{cookiecutter.app_name|capitalize}}Config(AppConfig):
name = '{{cookiecutter.app_name}}'
| 22.666667 | 60 | 0.757353 | 16 | 136 | 6.3125 | 0.6875 | 0.29703 | 0.376238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 136 | 5 | 61 | 27.2 | 0.834711 | 0 | 0 | 0 | 0 | 0 | 0.183824 | 0.183824 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5558b8882a8cae8edc5e1699a48974679321fdec | 107 | py | Python | parameterscan/__init__.py | DavidMStraub/parameterscan | 4fa1ce2bd9ed0f4ed20b0cafa6f17e6a98031903 | [
"MIT"
] | 4 | 2019-02-27T22:37:30.000Z | 2020-11-16T09:41:05.000Z | parameterscan/__init__.py | DavidMStraub/parameterscan | 4fa1ce2bd9ed0f4ed20b0cafa6f17e6a98031903 | [
"MIT"
] | 1 | 2019-02-26T10:10:13.000Z | 2019-02-26T10:12:28.000Z | parameterscan/__init__.py | DavidMStraub/parameterscan | 4fa1ce2bd9ed0f4ed20b0cafa6f17e6a98031903 | [
"MIT"
] | null | null | null |
from . import sqlite
from . import random
from .sqlite import ScanStoreSQL
from .random import RandomScan
| 17.833333 | 32 | 0.803738 | 14 | 107 | 6.142857 | 0.428571 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 107 | 5 | 33 | 21.4 | 0.955556 | 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 |
5558c7e1b82b690402750e6d6d427164e5a5cc64 | 5,886 | py | Python | test/test_activity_api.py | pygitee/pygitee | 7622314a4dbb08cf2f729b6cdd0a2887b96e394e | [
"MIT"
] | null | null | null | test/test_activity_api.py | pygitee/pygitee | 7622314a4dbb08cf2f729b6cdd0a2887b96e394e | [
"MIT"
] | null | null | null | test/test_activity_api.py | pygitee/pygitee | 7622314a4dbb08cf2f729b6cdd0a2887b96e394e | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
import unittest
from gitee.api.activity_api import ActivityApi # noqa: E501
class TestActivityApi(unittest.TestCase):
"""ActivityApi unit test stubs"""
def setUp(self):
self.api = ActivityApi() # noqa: E501
def tearDown(self):
... | 23.82996 | 69 | 0.638974 | 726 | 5,886 | 4.736915 | 0.121212 | 0.063972 | 0.102355 | 0.139575 | 0.840942 | 0.809538 | 0.736551 | 0.638558 | 0.445478 | 0.151788 | 0 | 0.040241 | 0.294937 | 5,886 | 246 | 70 | 23.926829 | 0.788434 | 0.415053 | 0 | 0.445946 | 0 | 0 | 0.002929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.459459 | false | 0.445946 | 0.040541 | 0 | 0.513514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
558ee1e02cea50804c3e61a713b8c03e837ce4ff | 28 | py | Python | src/oxint/ingest/test/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | src/oxint/ingest/test/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | src/oxint/ingest/test/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | from . import TestCSVReader
| 14 | 27 | 0.821429 | 3 | 28 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
e97d813cd305c8a853f994f298f98d0453fbfda9 | 3,582 | py | Python | server/server/organizations/migrations/0005_auto_20210610_1919.py | omert-visiblerisk/connective | c6b81700b35e2d8355ad1535b182093595fff8b7 | [
"MIT"
] | 4 | 2021-07-05T10:49:26.000Z | 2021-11-24T11:34:43.000Z | server/server/organizations/migrations/0005_auto_20210610_1919.py | omert-visiblerisk/connective | c6b81700b35e2d8355ad1535b182093595fff8b7 | [
"MIT"
] | 39 | 2021-06-21T15:02:37.000Z | 2022-02-28T15:07:42.000Z | server/server/organizations/migrations/0005_auto_20210610_1919.py | Eyal-VR/connective | 46857dd79dc58f63c3afb9791ecf8adf853a6c57 | [
"MIT"
] | 17 | 2021-06-16T08:59:45.000Z | 2021-09-29T11:35:38.000Z | # Generated by Django 3.1.11 on 2021-06-10 16:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('organizations', '0004_auto_20210608_1047'),
]
operations = [
migrations.AlterField(
model_name='activity',
name='do... | 34.442308 | 93 | 0.574819 | 336 | 3,582 | 5.979167 | 0.235119 | 0.179194 | 0.223992 | 0.259831 | 0.80886 | 0.80886 | 0.790443 | 0.695869 | 0.695869 | 0.574913 | 0 | 0.022258 | 0.310162 | 3,582 | 103 | 94 | 34.776699 | 0.790773 | 0.012842 | 0 | 0.659794 | 1 | 0 | 0.129598 | 0.006508 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010309 | 0 | 0.041237 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9bf8ccb8f2dd4b2e5632d30340f5408f32dd355 | 122 | py | Python | mplfonts/util/common.py | Clarmy/mplfonts | cb92d66c0e266d957c451664f487799b8608332b | [
"BSD-2-Clause"
] | null | null | null | mplfonts/util/common.py | Clarmy/mplfonts | cb92d66c0e266d957c451664f487799b8608332b | [
"BSD-2-Clause"
] | 1 | 2021-07-14T16:16:21.000Z | 2021-07-14T16:16:21.000Z | mplfonts/util/common.py | Clarmy/mplfonts | cb92d66c0e266d957c451664f487799b8608332b | [
"BSD-2-Clause"
] | null | null | null | import hashlib
def calc_md5(content):
return hashlib.md5(content).hexdigest()
if __name__ == '__main__':
pass
| 12.2 | 43 | 0.696721 | 15 | 122 | 5.066667 | 0.8 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.188525 | 122 | 9 | 44 | 13.555556 | 0.747475 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
7565282ff75c918cfb637f3802bfe39169f12dea | 1,272 | py | Python | pyorgtex/orgexport.py | linncy/pyorgtex | 7afa05e75441864b1f1f2bc9338c267476bfbd9a | [
"Apache-2.0"
] | null | null | null | pyorgtex/orgexport.py | linncy/pyorgtex | 7afa05e75441864b1f1f2bc9338c267476bfbd9a | [
"Apache-2.0"
] | null | null | null | pyorgtex/orgexport.py | linncy/pyorgtex | 7afa05e75441864b1f1f2bc9338c267476bfbd9a | [
"Apache-2.0"
] | null | null | null | from subprocess import call
import sys,os
#----Define some environmental variables here------#
EMACS_INIT_PATH='~/.emacs.d/init.el'
#--------------------------------------------------#
def export2pdf(ORGname):
if not os.path.isfile(ORGname):
print("export2pdf Error: " + ORGname + " doesn't exist")
sys.e... | 42.4 | 129 | 0.623428 | 171 | 1,272 | 4.578947 | 0.263158 | 0.040868 | 0.083014 | 0.07152 | 0.733078 | 0.733078 | 0.733078 | 0.733078 | 0.733078 | 0.733078 | 0 | 0.007124 | 0.117138 | 1,272 | 29 | 130 | 43.862069 | 0.690116 | 0.078616 | 0 | 0.521739 | 0 | 0 | 0.371894 | 0.164524 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.086957 | null | null | 0.173913 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75a264c4ed595ecc0739a8b93d96b14beb5e97c9 | 7,194 | py | Python | reviewboard/webapi/tests/test_filediff.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | reviewboard/webapi/tests/test_filediff.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | reviewboard/webapi/tests/test_filediff.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | def _compare_item(self, item_rsp, filediff):
self.assertEqual(item_rsp["id"], filediff.pk)
self.assertEqual(item_rsp["extra_data"], filediff.extra_data)
self.assertEqual(item_rsp["source_file"], filediff.source_file)
self.assertEqual(item_rsp["dest_file"], filediff.dest_file)
self.assertEqual(item_rsp["source_revi... | 58.016129 | 172 | 0.773978 | 928 | 7,194 | 5.69181 | 0.145474 | 0.115676 | 0.05301 | 0.045437 | 0.8156 | 0.768459 | 0.764483 | 0.732488 | 0.71242 | 0.705225 | 0 | 0.001897 | 0.120795 | 7,194 | 124 | 173 | 58.016129 | 0.833202 | 0.114262 | 0 | 0.618557 | 0 | 0 | 0.063988 | 0.019116 | 0 | 0 | 0 | 0 | 0.226804 | 1 | 0.092784 | false | 0 | 0 | 0 | 0.278351 | 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 |
75b19f628814485c31692af2172d13b7bb510e8c | 100 | py | Python | pythonapm/metrics/dummy.py | dm03514/python-apm | 940ee66992412878ec99244feaa878719a887830 | [
"Unlicense"
] | 1 | 2018-09-19T13:48:57.000Z | 2018-09-19T13:48:57.000Z | pythonapm/metrics/dummy.py | dm03514/python-apm | 940ee66992412878ec99244feaa878719a887830 | [
"Unlicense"
] | 14 | 2018-05-31T23:58:10.000Z | 2018-06-09T12:48:09.000Z | pythonapm/metrics/dummy.py | dm03514/python-apm | 940ee66992412878ec99244feaa878719a887830 | [
"Unlicense"
] | null | null | null |
class DummyMetric(object):
def __init__(self):
pass
def incr(self):
pass
| 11.111111 | 26 | 0.56 | 11 | 100 | 4.727273 | 0.727273 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35 | 100 | 8 | 27 | 12.5 | 0.8 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f9a219c95039e96da6d0ac3c215fdb96ca67bcb0 | 2,889 | py | Python | tests/test_models.py | MarcJavin/ODYNN | 8187b8db71c8621d17bce94749aecc0a81f11e10 | [
"MIT"
] | 1 | 2019-01-08T15:55:29.000Z | 2019-01-08T15:55:29.000Z | tests/test_models.py | MarcusJP/ODYNN | 8187b8db71c8621d17bce94749aecc0a81f11e10 | [
"MIT"
] | 7 | 2019-12-16T21:03:57.000Z | 2022-02-10T00:01:22.000Z | tests/test_models.py | MarcusJP/ODYNN | 8187b8db71c8621d17bce94749aecc0a81f11e10 | [
"MIT"
] | 2 | 2019-11-23T10:21:09.000Z | 2019-12-13T16:02:46.000Z | from unittest import TestCase
from odynn.models import cfg_model
import numpy as np
p = cfg_model.NEURON_MODEL.default_params
models2 = cfg_model.models
class TestModels(TestCase):
def test_init(self):
for mod in models2:
p = mod.default_params
hh = mod(init_p=[p for _ in range(1... | 41.271429 | 88 | 0.590516 | 408 | 2,889 | 3.970588 | 0.159314 | 0.194444 | 0.157407 | 0.116667 | 0.787654 | 0.766667 | 0.766667 | 0.766667 | 0.703704 | 0.685185 | 0 | 0.022445 | 0.275182 | 2,889 | 69 | 89 | 41.869565 | 0.751194 | 0 | 0 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 1 | 0.051724 | false | 0 | 0.051724 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ddccf302ec00095cfce6ff9702ce6db3b46bf1e3 | 101 | py | Python | number_generator/__init__.py | pablocael/handwritten-number-generator | 931e61469d610c48c7a36d316845026926d72eb2 | [
"MIT"
] | null | null | null | number_generator/__init__.py | pablocael/handwritten-number-generator | 931e61469d610c48c7a36d316845026926d72eb2 | [
"MIT"
] | null | null | null | number_generator/__init__.py | pablocael/handwritten-number-generator | 931e61469d610c48c7a36d316845026926d72eb2 | [
"MIT"
] | null | null | null | from number_generator.core import generate_numbers_sequence
__all__ = ['generate_numbers_sequence']
| 25.25 | 59 | 0.861386 | 12 | 101 | 6.5 | 0.75 | 0.384615 | 0.589744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 3 | 60 | 33.666667 | 0.83871 | 0 | 0 | 0 | 1 | 0 | 0.247525 | 0.247525 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dded4e75cfac2a5999f2f2cb8efb3464a86c7072 | 53 | py | Python | server/apps/sqsworker/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/sqsworker/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/sqsworker/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | from .tests_api import *
from .tests_worker import *
| 17.666667 | 27 | 0.773585 | 8 | 53 | 4.875 | 0.625 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 28 | 26.5 | 0.866667 | 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 |
ddf66169aedb5fc1a179c5aa074b2e4d6efa7b6c | 230 | py | Python | program/plotting_routines/figure_management/loading_figure_mode.py | statphysandml/ODEVisualisation | cadc8f9b1e2adeaf1ce702197af7119e9f3b1ede | [
"MIT"
] | null | null | null | program/plotting_routines/figure_management/loading_figure_mode.py | statphysandml/ODEVisualisation | cadc8f9b1e2adeaf1ce702197af7119e9f3b1ede | [
"MIT"
] | null | null | null | program/plotting_routines/figure_management/loading_figure_mode.py | statphysandml/ODEVisualisation | cadc8f9b1e2adeaf1ce702197af7119e9f3b1ede | [
"MIT"
] | null | null | null |
def loading_figure_mode(working_mode):
if working_mode is "development":
from figure_management import figure_devolpment as fma
else:
from figure_management import figure_management as fma
return fma
| 25.555556 | 62 | 0.747826 | 30 | 230 | 5.466667 | 0.533333 | 0.292683 | 0.243902 | 0.317073 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221739 | 230 | 8 | 63 | 28.75 | 0.916201 | 0 | 0 | 0 | 0 | 0 | 0.048246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
348c06236e40edfdad45fd2be501ebfe7855d68c | 104 | py | Python | fizz-buzz/Unsolved/fizz-buzz.py | ratalla816/algorithms | 85fd3e15cbc11c9c80d117fd5e7c306d4127dba5 | [
"MIT"
] | null | null | null | fizz-buzz/Unsolved/fizz-buzz.py | ratalla816/algorithms | 85fd3e15cbc11c9c80d117fd5e7c306d4127dba5 | [
"MIT"
] | null | null | null | fizz-buzz/Unsolved/fizz-buzz.py | ratalla816/algorithms | 85fd3e15cbc11c9c80d117fd5e7c306d4127dba5 | [
"MIT"
] | null | null | null | print("\n".join([("Fizz"*(not i%3)+"Buzz"*(not i%5)+str(i)*(i%3!=0 and i%5!=0)) for i in range(1,100)])) | 104 | 104 | 0.538462 | 26 | 104 | 2.153846 | 0.653846 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0.076923 | 104 | 1 | 104 | 104 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
34b61a88c2878008642a98b6b6418da88703a52a | 33 | py | Python | com/anjie/spider/__init__.py | anzaizai/EasySpider | 1d24c02bd9879a4c7eb5d801b7b0d3fa4efb2a28 | [
"Apache-2.0"
] | null | null | null | com/anjie/spider/__init__.py | anzaizai/EasySpider | 1d24c02bd9879a4c7eb5d801b7b0d3fa4efb2a28 | [
"Apache-2.0"
] | null | null | null | com/anjie/spider/__init__.py | anzaizai/EasySpider | 1d24c02bd9879a4c7eb5d801b7b0d3fa4efb2a28 | [
"Apache-2.0"
] | null | null | null | # Created by zaizai at 2017/9/22
| 16.5 | 32 | 0.727273 | 7 | 33 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0.181818 | 33 | 1 | 33 | 33 | 0.62963 | 0.909091 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
34b9968c8e72e5c7b8f06567ede8fd0686b4ba78 | 120 | py | Python | enthought/plugins/remote_editor/remote_editor_plugin.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/plugins/remote_editor/remote_editor_plugin.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/plugins/remote_editor/remote_editor_plugin.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.plugins.remote_editor.remote_editor_plugin import *
| 30 | 65 | 0.866667 | 16 | 120 | 6 | 0.6875 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 3 | 66 | 40 | 0.880734 | 0.1 | 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 |
34e0a993c62b8b81e8e1a56f8c35b151b9c7a992 | 1,378 | py | Python | api/api_interfaces.py | goldbossstatus/hexagonal_recipe_api | 9d5222957b98582a8b3a20daa6d8b48c3b0dcb6f | [
"MIT"
] | null | null | null | api/api_interfaces.py | goldbossstatus/hexagonal_recipe_api | 9d5222957b98582a8b3a20daa6d8b48c3b0dcb6f | [
"MIT"
] | null | null | null | api/api_interfaces.py | goldbossstatus/hexagonal_recipe_api | 9d5222957b98582a8b3a20daa6d8b48c3b0dcb6f | [
"MIT"
] | null | null | null | from api import api_models
class IAuthAPI:
def authenticate(self, user_id: str, password: str) -> str:
raise NotImplemented
def revoke(self, user_id: str, password: str, jwt_st: str) -> bool:
raise NotImplemented
def is_expired(self, jwt_st: str) -> bool:
raise NotImplemented
... | 27.56 | 81 | 0.669086 | 184 | 1,378 | 4.858696 | 0.173913 | 0.276286 | 0.221477 | 0.087248 | 0.784116 | 0.755034 | 0.680089 | 0.618568 | 0.508949 | 0.508949 | 0 | 0 | 0.236575 | 1,378 | 49 | 82 | 28.122449 | 0.84981 | 0 | 0 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.419355 | false | 0.064516 | 0.032258 | 0 | 0.580645 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
34f3f01b1a32d72b6aea8dda70606fa797e75bec | 10,243 | py | Python | idl2py/star/moonpos.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/star/moonpos.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/star/moonpos.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def moonpos():
pass
# PRO MOONPOS, jd, ra, dec, dis, geolong, geolat, RADIAN = radian
#;+
#; NAME:
#; MOONPOS
#; PURPOSE:
#; To compute the RA and Dec of the Moon... | 38.65283 | 84 | 0.56048 | 1,786 | 10,243 | 3.194849 | 0.318589 | 0.0347 | 0.033123 | 0.033649 | 0.146512 | 0.114441 | 0.104101 | 0.094462 | 0.062215 | 0.051875 | 0 | 0.23022 | 0.247291 | 10,243 | 264 | 85 | 38.799242 | 0.509857 | 0.894855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
9b884078862a9fc62b8a267cf357e2af40f4566e | 37 | py | Python | grid/__init__.py | sachin-101/PyGrid | b8d3c360cf4ae447ead199f72fda7fd74c5ed79e | [
"Apache-2.0"
] | null | null | null | grid/__init__.py | sachin-101/PyGrid | b8d3c360cf4ae447ead199f72fda7fd74c5ed79e | [
"Apache-2.0"
] | null | null | null | grid/__init__.py | sachin-101/PyGrid | b8d3c360cf4ae447ead199f72fda7fd74c5ed79e | [
"Apache-2.0"
] | 1 | 2020-05-05T20:22:37.000Z | 2020-05-05T20:22:37.000Z | from grid.version import __version__
| 18.5 | 36 | 0.864865 | 5 | 37 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.848485 | 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 |
9b9ed1d59a6d3d2625bece274608fd11159e2052 | 49 | py | Python | miniconda_images/miniconda-install-image/main.py | kavisek/docker-images | 74a131b55fe68e6748eff5613b8ee94b07714ded | [
"MIT"
] | 1 | 2020-03-03T22:12:12.000Z | 2020-03-03T22:12:12.000Z | miniconda_images/miniconda-install-image/main.py | kavisek/docker-images | 74a131b55fe68e6748eff5613b8ee94b07714ded | [
"MIT"
] | 5 | 2021-06-02T03:55:08.000Z | 2022-03-12T00:54:02.000Z | miniconda_images/miniconda-install-image/main.py | kavisek/docker-images | 74a131b55fe68e6748eff5613b8ee94b07714ded | [
"MIT"
] | 1 | 2020-03-21T04:13:49.000Z | 2020-03-21T04:13:49.000Z | import sys
print(f"python version {sys.version}") | 24.5 | 38 | 0.77551 | 8 | 49 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 2 | 38 | 24.5 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.56 | 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 |
32f1067d6fabec20f0b5c7133e9e9dabc4df0fe6 | 5,916 | py | Python | templates/ViewEventListener/ViewEventListener.py | pichillilorenzo/SublimePluginJavaScript | 72702bec695a67c5caf3337c2b815df26c703692 | [
"MIT"
] | 2 | 2020-04-21T08:27:21.000Z | 2021-12-23T22:30:54.000Z | templates/ViewEventListener/ViewEventListener.py | pichillilorenzo/create-sublime-plugin-js | 72702bec695a67c5caf3337c2b815df26c703692 | [
"MIT"
] | null | null | null | templates/ViewEventListener/ViewEventListener.py | pichillilorenzo/create-sublime-plugin-js | 72702bec695a67c5caf3337c2b815df26c703692 | [
"MIT"
] | null | null | null | import sublime_plugin
from ...pylib.JSViewEventListener import JSViewEventListener
class {{listenerName}}Listener(JSViewEventListener, sublime_plugin.ViewEventListener):
{{#is_applicable}}
@classmethod
def is_applicable(self, settings):
return super({{listenerName}}Listener, self).is_applicable(settings)
... | 27.262673 | 100 | 0.713489 | 778 | 5,916 | 5.002571 | 0.069409 | 0.053957 | 0.13592 | 0.183196 | 0.866393 | 0.809096 | 0.672148 | 0.649538 | 0.385406 | 0.248201 | 0 | 0 | 0.1381 | 5,916 | 216 | 101 | 27.388889 | 0.763287 | 0 | 0 | 0.732984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.109948 | 0.010471 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fd33d59023e22fd06e256bd13fda592f17a72d10 | 143 | py | Python | tests/teams/conftest.py | Br3nda/pontoon | f8749dcb25c75954761e67344a21d19f70900e70 | [
"BSD-3-Clause"
] | null | null | null | tests/teams/conftest.py | Br3nda/pontoon | f8749dcb25c75954761e67344a21d19f70900e70 | [
"BSD-3-Clause"
] | 795 | 2017-11-02T12:26:10.000Z | 2020-06-01T13:34:22.000Z | tests/teams/conftest.py | Br3nda/pontoon | f8749dcb25c75954761e67344a21d19f70900e70 | [
"BSD-3-Clause"
] | 1 | 2019-07-17T21:21:41.000Z | 2019-07-17T21:21:41.000Z | """
All fixtures/configurations related to testing of the teams module.
"""
from tests.base.conftest import assert_permissionchangelog # noqa
| 28.6 | 67 | 0.797203 | 18 | 143 | 6.277778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125874 | 143 | 4 | 68 | 35.75 | 0.904 | 0.51049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd1d683548e8d4157944e307683bc7373cc1b260 | 4,650 | py | Python | Lv3_diagnostics_display.py | masonng-astro/nicerpy_xrayanalysis | c21c7c9bc5570c63c986197fb363ae80691515d5 | [
"MIT"
] | 3 | 2020-01-13T20:13:14.000Z | 2021-06-03T21:58:08.000Z | Lv3_diagnostics_display.py | masonng-astro/nicerpy_xrayanalysis | c21c7c9bc5570c63c986197fb363ae80691515d5 | [
"MIT"
] | null | null | null | Lv3_diagnostics_display.py | masonng-astro/nicerpy_xrayanalysis | c21c7c9bc5570c63c986197fb363ae80691515d5 | [
"MIT"
] | 2 | 2020-01-15T15:08:40.000Z | 2021-07-09T11:49:30.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created on Sat Jan 12 2:54pm 2019
Saving/showing (aka displaying) the diagnostic plots. This is simply to reduce
the clutter in Lv3_diagnostics.
"""
from __future__ import division, print_function
import numpy as np
import Lv0_dirs,Lv1_data_bin
from astropy.io import ... | 46.969697 | 255 | 0.671828 | 699 | 4,650 | 4.350501 | 0.234621 | 0.032226 | 0.052614 | 0.01973 | 0.803025 | 0.803025 | 0.803025 | 0.803025 | 0.803025 | 0.775403 | 0 | 0.023727 | 0.193333 | 4,650 | 98 | 256 | 47.44898 | 0.78699 | 0.30129 | 0 | 0.68 | 0 | 0.04 | 0.261161 | 0.01977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.12 | 0 | 0.16 | 0.04 | 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 |
bd1fc7fc9b14d43aef609e2871c83bf9287ca53c | 1,771 | py | Python | src/sgd/frontend/frontend_interface.py | yeastgenome/SGDFrontend | f2eb01bbfda331bc6b44d069dc40cfa7319a4898 | [
"MIT-0",
"MIT"
] | 5 | 2015-03-22T01:17:23.000Z | 2022-03-07T06:04:32.000Z | src/sgd/frontend/frontend_interface.py | yeastgenome/SGDFrontend | f2eb01bbfda331bc6b44d069dc40cfa7319a4898 | [
"MIT-0",
"MIT"
] | 48 | 2015-11-03T00:16:18.000Z | 2021-09-22T16:39:44.000Z | src/sgd/frontend/frontend_interface.py | yeastgenome/SGDFrontend | f2eb01bbfda331bc6b44d069dc40cfa7319a4898 | [
"MIT-0",
"MIT"
] | 2 | 2017-04-11T16:38:43.000Z | 2018-07-23T17:47:58.000Z | '''
Created on Oct 11, 2013
@author: kpaskov
'''
from abc import abstractmethod, ABCMeta
class FrontendInterface(metaclass=ABCMeta):
@abstractmethod
def get_renderer(self, method_name):
return None
#Response
@abstractmethod
def response_wrapper(self, method_name, request):
ret... | 21.597561 | 79 | 0.627894 | 177 | 1,771 | 6.141243 | 0.299435 | 0.281509 | 0.331187 | 0.372585 | 0.452622 | 0.160074 | 0.160074 | 0 | 0 | 0 | 0 | 0.004894 | 0.307736 | 1,771 | 81 | 80 | 21.864198 | 0.881729 | 0.03275 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | false | 0 | 0.017857 | 0.321429 | 0.678571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1fafb64047bb19911011d82a2fab65f20676c598 | 91 | py | Python | wafec_tests_openstack_base/src/wafec_tests_openstack_base/exceptions/client_exception.py | wafec/wafec-tests-openstack-base | c9b30ea2b24e8eb66e42dfa7992c3faa6b21e345 | [
"MIT"
] | null | null | null | wafec_tests_openstack_base/src/wafec_tests_openstack_base/exceptions/client_exception.py | wafec/wafec-tests-openstack-base | c9b30ea2b24e8eb66e42dfa7992c3faa6b21e345 | [
"MIT"
] | null | null | null | wafec_tests_openstack_base/src/wafec_tests_openstack_base/exceptions/client_exception.py | wafec/wafec-tests-openstack-base | c9b30ea2b24e8eb66e42dfa7992c3faa6b21e345 | [
"MIT"
] | null | null | null | from .exception_base import ExceptionBase
class ClientException(ExceptionBase):
pass
| 15.166667 | 41 | 0.813187 | 9 | 91 | 8.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 5 | 42 | 18.2 | 0.935897 | 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 |
1fe7783d8a2d3d320daa407173c06a3d0186bf90 | 21 | py | Python | app/portal/link/views/__init__.py | gkzz/link-portal | 4546fd305d774fc66de0dfa6843764630660aeab | [
"MIT"
] | 1 | 2021-06-06T22:59:06.000Z | 2021-06-06T22:59:06.000Z | app/portal/link/views/__init__.py | gkzz/link-portal | 4546fd305d774fc66de0dfa6843764630660aeab | [
"MIT"
] | 1 | 2020-11-19T11:52:02.000Z | 2021-01-08T15:09:13.000Z | app/portal/link/views/__init__.py | gkzz/link-portal | 4546fd305d774fc66de0dfa6843764630660aeab | [
"MIT"
] | null | null | null | from .link import *
| 7 | 19 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 2 | 20 | 10.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9512bdca8f10cbf90d02c4cf2f37db8ed20297a5 | 88 | py | Python | bqspec/validator/__init__.py | orisano/bqspec | a9b955107638130a4c7f5f711f0964a077302788 | [
"MIT"
] | 7 | 2017-12-15T04:45:27.000Z | 2018-03-20T09:45:24.000Z | bqspec/validator/__init__.py | orisano/bqspec | a9b955107638130a4c7f5f711f0964a077302788 | [
"MIT"
] | null | null | null | bqspec/validator/__init__.py | orisano/bqspec | a9b955107638130a4c7f5f711f0964a077302788 | [
"MIT"
] | 1 | 2018-07-01T07:10:31.000Z | 2018-07-01T07:10:31.000Z | # coding: utf-8
from .schema import validate_schema
from .values import validate_values
| 22 | 35 | 0.818182 | 13 | 88 | 5.384615 | 0.615385 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.125 | 88 | 3 | 36 | 29.333333 | 0.896104 | 0.147727 | 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 |
1f30a66823047a870d7d4f64e7872e561a66c083 | 3,819 | py | Python | nanome/_internal/_shapes/_shape.py | nanome-ai/nanome-plugin-api | f2ce6a5e3123ee7449a90c2659f3891124289f4a | [
"MIT"
] | 1 | 2020-04-10T09:47:54.000Z | 2020-04-10T09:47:54.000Z | nanome/_internal/_shapes/_shape.py | nanome-ai/nanome-plugin-api | f2ce6a5e3123ee7449a90c2659f3891124289f4a | [
"MIT"
] | 10 | 2019-05-30T18:29:10.000Z | 2020-02-15T02:16:42.000Z | nanome/_internal/_shapes/_shape.py | nanome-ai/nanome-plugin-api | f2ce6a5e3123ee7449a90c2659f3891124289f4a | [
"MIT"
] | 2 | 2020-02-04T02:56:21.000Z | 2020-04-25T20:05:16.000Z | import nanome
from nanome.util import Color, Logs
class _Shape(object):
def __init__(self, shape_type):
self._index = -1
self._shape_type = shape_type
self._anchors = []
self._color = Color.Grey()
@classmethod
def _create(cls, shape_type):
return cls(shape_type)
... | 46.573171 | 160 | 0.672951 | 459 | 3,819 | 5.283224 | 0.141612 | 0.118763 | 0.069278 | 0.052784 | 0.811546 | 0.811546 | 0.811546 | 0.811546 | 0.717938 | 0.706392 | 0 | 0.001745 | 0.249804 | 3,819 | 81 | 161 | 47.148148 | 0.844677 | 0 | 0 | 0.557143 | 0 | 0 | 0.023566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0 | 0.028571 | 0.042857 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f3b4c266f0e368ce2295e4f0373a669cc3ec24b | 167 | py | Python | LibStudy/dsnpythonStudy.py | ggwhsd/PythonPractice | 58248be9bb5700bc9a1914f8e41c30931fad8b82 | [
"MIT"
] | null | null | null | LibStudy/dsnpythonStudy.py | ggwhsd/PythonPractice | 58248be9bb5700bc9a1914f8e41c30931fad8b82 | [
"MIT"
] | null | null | null | LibStudy/dsnpythonStudy.py | ggwhsd/PythonPractice | 58248be9bb5700bc9a1914f8e41c30931fad8b82 | [
"MIT"
] | null | null | null |
# -*- coding: UTF-8 -*-
from dns import resolver
ans = resolver.query("www.baidu.com","A")
print ans
print ans.qname
print ans.response
print ans.response.answer[1]
| 16.7 | 41 | 0.712575 | 27 | 167 | 4.407407 | 0.666667 | 0.268908 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.131737 | 167 | 9 | 42 | 18.555556 | 0.806897 | 0.125749 | 0 | 0 | 0 | 0 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1f441ce2b227bc7a5481104d3d687c65bc5d88da | 599 | py | Python | gimmeashell/utils.py | LosFuzzys/gimmeashell | bdb54df31fac640049a0c287722fd5df843c259d | [
"MIT"
] | null | null | null | gimmeashell/utils.py | LosFuzzys/gimmeashell | bdb54df31fac640049a0c287722fd5df843c259d | [
"MIT"
] | null | null | null | gimmeashell/utils.py | LosFuzzys/gimmeashell | bdb54df31fac640049a0c287722fd5df843c259d | [
"MIT"
] | null | null | null | def from_byte(N):
return lambda buf: buf[N:]
def to_byte(N):
return lambda buf: buf[N:]
to_char = to_byte
from_chars = from_byte
def to_line(N):
return lambda buf: "\n".join(buf.split("\n")[:N])
def from_line(N):
return lambda buf: "\n".join(buf.split("\n")[N:])
def from_line_to_line(from_, to... | 17.114286 | 60 | 0.639399 | 102 | 599 | 3.509804 | 0.166667 | 0.268156 | 0.335196 | 0.251397 | 0.692737 | 0.617318 | 0.617318 | 0.326816 | 0.24581 | 0.24581 | 0 | 0 | 0.176962 | 599 | 34 | 61 | 17.617647 | 0.726166 | 0 | 0 | 0.111111 | 0 | 0 | 0.03172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.444444 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1f4e20e3079dd3db4d596826dd8eb547df087aff | 166 | py | Python | descwl_shear_sims/artifacts/__init__.py | LSSTDESC/descwl_shear_sims | 1c696518104b7f301dd6c69571239431c6232110 | [
"BSD-3-Clause"
] | null | null | null | descwl_shear_sims/artifacts/__init__.py | LSSTDESC/descwl_shear_sims | 1c696518104b7f301dd6c69571239431c6232110 | [
"BSD-3-Clause"
] | 11 | 2019-12-10T23:30:27.000Z | 2019-12-24T13:59:32.000Z | descwl_shear_sims/artifacts/__init__.py | LSSTDESC/wl-shear-testing-sims | 6e4a0baa6f664b5bc52b08b55614eaa58c8b0748 | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
from .cosmic_rays import generate_cosmic_rays
from .bad_columns import generate_bad_columns
from .star_bleeds import add_bleed, get_max_mag_with_bleed
| 33.2 | 58 | 0.86747 | 27 | 166 | 4.888889 | 0.62963 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.096386 | 166 | 4 | 59 | 41.5 | 0.873333 | 0.072289 | 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 |
1f6b27da6ba2d6924f631aebfb8f64bc242e03fc | 269 | py | Python | views/portfolio.py | Javascript-void0/javascript-void0.github.io | 7816f23cc1234057ff9d55f0de9108572cb792e4 | [
"MIT"
] | null | null | null | views/portfolio.py | Javascript-void0/javascript-void0.github.io | 7816f23cc1234057ff9d55f0de9108572cb792e4 | [
"MIT"
] | null | null | null | views/portfolio.py | Javascript-void0/javascript-void0.github.io | 7816f23cc1234057ff9d55f0de9108572cb792e4 | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template
portfolio = Blueprint('portfolio', __name__)
@portfolio.route('/')
def form():
return render_template('portfolio/portfolio.html')
@portfolio.route('/test')
def test():
return render_template('portfolio/test.html') | 24.454545 | 54 | 0.747212 | 31 | 269 | 6.258065 | 0.451613 | 0.216495 | 0.35567 | 0.298969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107807 | 269 | 11 | 55 | 24.454545 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.214815 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2f0ed0c5fab2a157824c05500967ce7c90189b85 | 5,365 | py | Python | connectorx-python/connectorx/tests/test_oracle.py | jorgecarleitao/connector-x | 8c37965b50190fa1addd52e8bdb71669b83f920b | [
"MIT"
] | null | null | null | connectorx-python/connectorx/tests/test_oracle.py | jorgecarleitao/connector-x | 8c37965b50190fa1addd52e8bdb71669b83f920b | [
"MIT"
] | null | null | null | connectorx-python/connectorx/tests/test_oracle.py | jorgecarleitao/connector-x | 8c37965b50190fa1addd52e8bdb71669b83f920b | [
"MIT"
] | null | null | null | import os
import pandas as pd
import pytest
from pandas.testing import assert_frame_equal
from .. import read_sql
@pytest.fixture(scope="module") # type: ignore
def oracle_url() -> str:
conn = os.environ["ORACLE_URL"]
return conn
@pytest.mark.skipif(not os.environ.get("ORACLE_URL"), reason="Test oracle u... | 33.742138 | 108 | 0.611184 | 741 | 5,365 | 4.240216 | 0.125506 | 0.074475 | 0.028644 | 0.048377 | 0.885105 | 0.885105 | 0.885105 | 0.885105 | 0.866964 | 0.866964 | 0 | 0.049032 | 0.239702 | 5,365 | 158 | 109 | 33.955696 | 0.721255 | 0.002237 | 0 | 0.637681 | 0 | 0 | 0.226126 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 1 | 0.065217 | false | 0 | 0.036232 | 0 | 0.108696 | 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 |
2f3672be35b48ce600b8b38e44294f1ed66ece0c | 247 | py | Python | classes1.py | rajatpuri25/python | 8e01e150ce72aedd7d206242753bb8468a014a1c | [
"bzip2-1.0.6"
] | null | null | null | classes1.py | rajatpuri25/python | 8e01e150ce72aedd7d206242753bb8468a014a1c | [
"bzip2-1.0.6"
] | null | null | null | classes1.py | rajatpuri25/python | 8e01e150ce72aedd7d206242753bb8468a014a1c | [
"bzip2-1.0.6"
] | null | null | null | class circle(object):
pi = 3.14
def __init__(self,radius=1):
self.radius=radius
def area(self):
return (self.radius**2) * circle.pi
def cir(self):
return (self.radius*2)*circle.pi
| 19 | 44 | 0.530364 | 32 | 247 | 3.96875 | 0.46875 | 0.314961 | 0.220472 | 0.314961 | 0.456693 | 0.456693 | 0.456693 | 0 | 0 | 0 | 0 | 0.037037 | 0.34413 | 247 | 12 | 45 | 20.583333 | 0.746914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2f53d67df68d795bae6832c9d193b910b6aa4182 | 49 | py | Python | cyder/api/v1/endpoints/dns/sshfp/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 6 | 2015-04-16T23:18:22.000Z | 2020-08-25T22:50:13.000Z | cyder/api/v1/endpoints/dns/sshfp/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 267 | 2015-01-01T00:18:57.000Z | 2015-10-14T00:01:13.000Z | cyder/api/v1/endpoints/dns/sshfp/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 5 | 2015-03-23T00:57:09.000Z | 2019-09-09T22:42:37.000Z | from cyder.api.v1.endpoints.dns.sshfp import api
| 24.5 | 48 | 0.816327 | 9 | 49 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.081633 | 49 | 1 | 49 | 49 | 0.866667 | 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 |
2f81ecb12d58cfdef236d8c6d5479df9f9ee5b21 | 2,235 | py | Python | scrapbag/tests/test_censal.py | NeolithEra/scrapbag | 3a4f9824ab6fe21121214ba9963690618da2c9de | [
"MIT"
] | 1 | 2018-09-21T07:45:34.000Z | 2018-09-21T07:45:34.000Z | scrapbag/tests/test_censal.py | NeolithEra/scrapbag | 3a4f9824ab6fe21121214ba9963690618da2c9de | [
"MIT"
] | 2 | 2019-12-18T11:57:32.000Z | 2021-12-13T19:48:04.000Z | scrapbag/tests/test_censal.py | NeolithEra/scrapbag | 3a4f9824ab6fe21121214ba9963690618da2c9de | [
"MIT"
] | 1 | 2019-12-25T02:22:13.000Z | 2019-12-25T02:22:13.000Z | # -*- coding: utf-8 -*-
"""
Test Scrapbag files file
"""
import unittest
from scrapbag.censal import IneCensal
class UtilsFilesTestCase(unittest.TestCase):
def setUp(self):
self.ine_censal = IneCensal()
def test_get_codigo_censal(self):
self.assertEqual(len(self.ine_censal.index_localidade... | 49.666667 | 138 | 0.713199 | 284 | 2,235 | 5.359155 | 0.232394 | 0.096583 | 0.179369 | 0.274639 | 0.738502 | 0.738502 | 0.738502 | 0.738502 | 0.71025 | 0.405388 | 0 | 0.03856 | 0.129754 | 2,235 | 44 | 139 | 50.795455 | 0.743959 | 0.021029 | 0 | 0.076923 | 0 | 0 | 0.164679 | 0 | 0 | 0 | 0 | 0 | 0.769231 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f8d30f2a331341bc3b2f792a7fb81a28d5116f3 | 110 | py | Python | openktn_old/old/lib/__init__.py | uibcdf/OpenKinNet | 8ed5d3da561e7a0f62ac80cb02cc09116c08ac25 | [
"MIT"
] | null | null | null | openktn_old/old/lib/__init__.py | uibcdf/OpenKinNet | 8ed5d3da561e7a0f62ac80cb02cc09116c08ac25 | [
"MIT"
] | null | null | null | openktn_old/old/lib/__init__.py | uibcdf/OpenKinNet | 8ed5d3da561e7a0f62ac80cb02cc09116c08ac25 | [
"MIT"
] | null | null | null | from .libnetwork import module_network as network
#from .liblandscapes import module_landscapes as landscapes
| 36.666667 | 59 | 0.863636 | 14 | 110 | 6.642857 | 0.571429 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 2 | 60 | 55 | 0.94898 | 0.527273 | 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 |
85eb2767e92597a00a0e649d14244bcab1b71fd2 | 43 | py | Python | tiny_imagenet/__init__.py | KarlisBerkolds/ksachdeva-tiny-imagenet-tfds | 6e3404f23661aa0078cffbc854861c5de07c0bf9 | [
"Apache-2.0"
] | 9 | 2020-05-06T18:28:07.000Z | 2022-03-17T00:51:17.000Z | tiny_imagenet/__init__.py | KarlisBerkolds/ksachdeva-tiny-imagenet-tfds | 6e3404f23661aa0078cffbc854861c5de07c0bf9 | [
"Apache-2.0"
] | null | null | null | tiny_imagenet/__init__.py | KarlisBerkolds/ksachdeva-tiny-imagenet-tfds | 6e3404f23661aa0078cffbc854861c5de07c0bf9 | [
"Apache-2.0"
] | 5 | 2020-01-13T20:29:19.000Z | 2021-12-10T17:06:44.000Z | from ._imagenet import TinyImagenetDataset
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8014f8959479020775163bc2dfd6a9559e418fb | 13,705 | py | Python | huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import models into model package
from huaweicloudsdkiotedge.v2.model.access_roma_brief_info import AccessRomaBriefInfo
from huaweicloudsdkiotedge.v2.model.access_roma_info import AccessRomaInfo
from huaweicloudsdkiotedge.v2.model.add_device_request import AddDe... | 89.575163 | 131 | 0.923532 | 1,478 | 13,705 | 8.265223 | 0.159675 | 0.300835 | 0.324902 | 0.385069 | 0.539293 | 0.463572 | 0.343238 | 0.134741 | 0.028815 | 0 | 0 | 0.011449 | 0.043999 | 13,705 | 152 | 132 | 90.164474 | 0.920928 | 0.003356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c095a12cc8e3fa2699bfd54d374e92cd4c05285b | 31 | py | Python | bindings/python/robotoc_sim/__init__.py | mcx/robotoc | 4a1d2f522ecc8f9aa8dea17330b97148a2085270 | [
"BSD-3-Clause"
] | 58 | 2021-11-11T09:47:02.000Z | 2022-03-27T20:13:08.000Z | bindings/python/robotoc_sim/__init__.py | mcx/robotoc | 4a1d2f522ecc8f9aa8dea17330b97148a2085270 | [
"BSD-3-Clause"
] | 30 | 2021-10-30T10:31:38.000Z | 2022-03-28T14:12:08.000Z | bindings/python/robotoc_sim/__init__.py | mcx/robotoc | 4a1d2f522ecc8f9aa8dea17330b97148a2085270 | [
"BSD-3-Clause"
] | 12 | 2021-11-17T10:59:20.000Z | 2022-03-18T07:34:02.000Z | from .legged_simulator import * | 31 | 31 | 0.83871 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 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 |
c09a8a23f9c0dd9585c2dd1c1ee44fcdf38cbabc | 135 | py | Python | titanic/scripts/explorer.py | wojtekwalczak/kaggle_titanic | f13258dcb9e964bcad61609fdcc374e3db47824e | [
"Apache-2.0"
] | null | null | null | titanic/scripts/explorer.py | wojtekwalczak/kaggle_titanic | f13258dcb9e964bcad61609fdcc374e3db47824e | [
"Apache-2.0"
] | null | null | null | titanic/scripts/explorer.py | wojtekwalczak/kaggle_titanic | f13258dcb9e964bcad61609fdcc374e3db47824e | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import numpy as np
from titanic.db.loader import data
print(data.groupby('Survived').count())
| 16.875 | 39 | 0.792593 | 20 | 135 | 5.1 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 135 | 7 | 40 | 19.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
c0b9a918e671afd486024c7f28d57c21dc34f182 | 69 | py | Python | vizbert/inject/__init__.py | daemon/vizbert | e40b7d1529f8857050313f8d87ff03b1b7226c9e | [
"MIT"
] | null | null | null | vizbert/inject/__init__.py | daemon/vizbert | e40b7d1529f8857050313f8d87ff03b1b7226c9e | [
"MIT"
] | null | null | null | vizbert/inject/__init__.py | daemon/vizbert | e40b7d1529f8857050313f8d87ff03b1b7226c9e | [
"MIT"
] | null | null | null | from .base import *
from .module import *
from .transformer import *
| 17.25 | 26 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 27 | 23 | 0.894737 | 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 |
c0ca8e67d4abbff96dfdcce9fdeac0d73713d5c6 | 2,201 | py | Python | armery/migrations/0003_armor_others.py | DeividVM/heroquest | c693d664717a849de645908ae78d62ec2a5837a5 | [
"MIT"
] | null | null | null | armery/migrations/0003_armor_others.py | DeividVM/heroquest | c693d664717a849de645908ae78d62ec2a5837a5 | [
"MIT"
] | null | null | null | armery/migrations/0003_armor_others.py | DeividVM/heroquest | c693d664717a849de645908ae78d62ec2a5837a5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.9 on 2016-08-19 17:49
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('armery', '0002_auto_20160819_1747'),
]
operations = [
migrations.CreateModel... | 44.02 | 114 | 0.572921 | 209 | 2,201 | 5.851675 | 0.382775 | 0.161897 | 0.078496 | 0.055601 | 0.755519 | 0.755519 | 0.755519 | 0.755519 | 0.755519 | 0.755519 | 0 | 0.02396 | 0.279418 | 2,201 | 49 | 115 | 44.918367 | 0.747163 | 0.030441 | 0 | 0.619048 | 1 | 0 | 0.174566 | 0.010793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
238d4c7e90272159991ae99aa7342a6c39f0b862 | 79 | py | Python | src/udgs/models/forces_def/__init__.py | idsc-frazzoli/UDGs | beb50bf7e90cbe976d3686419772d499eeeb50dd | [
"CNRI-Python"
] | null | null | null | src/udgs/models/forces_def/__init__.py | idsc-frazzoli/UDGs | beb50bf7e90cbe976d3686419772d499eeeb50dd | [
"CNRI-Python"
] | null | null | null | src/udgs/models/forces_def/__init__.py | idsc-frazzoli/UDGs | beb50bf7e90cbe976d3686419772d499eeeb50dd | [
"CNRI-Python"
] | null | null | null | from .constants import *
from .indices import *
from .parameters import *
| 8.777778 | 25 | 0.708861 | 9 | 79 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21519 | 79 | 8 | 26 | 9.875 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23a674d59f116b2a68ef4b6d66898c5d67f6043b | 156 | py | Python | python/word-count/word_count.py | casca/exercism | c1f05f0926490610ea556bea7a1f6d6f753478e3 | [
"MIT"
] | null | null | null | python/word-count/word_count.py | casca/exercism | c1f05f0926490610ea556bea7a1f6d6f753478e3 | [
"MIT"
] | 1 | 2021-09-02T13:20:52.000Z | 2021-09-02T13:20:52.000Z | python/word-count/word_count.py | cascandaliato/exercism-solutions | c1f05f0926490610ea556bea7a1f6d6f753478e3 | [
"MIT"
] | null | null | null | from collections import Counter
import re
def count_words(sentence):
return Counter(re.findall(r'([a-zA-Z]+(?:\'[a-zA-Z]+)?|\d+)', sentence.lower()))
| 22.285714 | 84 | 0.660256 | 24 | 156 | 4.25 | 0.708333 | 0.058824 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 156 | 6 | 85 | 26 | 0.733813 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9b13a730602a5895f5c5e5616cf69fb002143b15 | 90 | py | Python | giung2/modeling/backbone/__init__.py | cs-giung/giung2 | c8560fd1b56f20eb1f3cf57202975d8325b591f5 | [
"MIT"
] | 4 | 2021-10-18T05:15:59.000Z | 2022-03-09T04:29:05.000Z | giung2/modeling/backbone/__init__.py | cs-giung/giung2 | c8560fd1b56f20eb1f3cf57202975d8325b591f5 | [
"MIT"
] | null | null | null | giung2/modeling/backbone/__init__.py | cs-giung/giung2 | c8560fd1b56f20eb1f3cf57202975d8325b591f5 | [
"MIT"
] | 3 | 2022-01-12T11:47:51.000Z | 2022-03-18T06:28:22.000Z | from .resnet import build_resnet_backbone
from .preresnet import build_preresnet_backbone
| 30 | 47 | 0.888889 | 12 | 90 | 6.333333 | 0.5 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 48 | 45 | 0.926829 | 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 |
9b14ce0cf06e64262b85e577158bce2eb72fbfb4 | 250 | py | Python | hprof/error.py | dolkow/py-hprof | 8948273c79e235825a1496602602f81fa8763e76 | [
"MIT"
] | null | null | null | hprof/error.py | dolkow/py-hprof | 8948273c79e235825a1496602602f81fa8763e76 | [
"MIT"
] | null | null | null | hprof/error.py | dolkow/py-hprof | 8948273c79e235825a1496602602f81fa8763e76 | [
"MIT"
] | null | null | null | # Copyright (C) 2019 Snild Dolkow
# Licensed under the LICENSE.
class HprofError(Exception): pass
class FormatError(HprofError): pass
class UnexpectedEof(HprofError): pass
class UnhandledError(HprofError): pass
class MissingObject(HprofError): pass
| 27.777778 | 38 | 0.812 | 29 | 250 | 7 | 0.586207 | 0.17734 | 0.280788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017937 | 0.108 | 250 | 8 | 39 | 31.25 | 0.892377 | 0.236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
7b32512de5af25ac44ae2dc6cb05877285d1101e | 46 | py | Python | third_party/efficient_3DCNN/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | 9 | 2020-11-17T08:44:55.000Z | 2022-02-14T12:02:32.000Z | third_party/efficient_3DCNN/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | null | null | null | third_party/efficient_3DCNN/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | 1 | 2021-03-17T02:34:12.000Z | 2021-03-17T02:34:12.000Z | from .datasets import Kinetics, UCF101, Jester | 46 | 46 | 0.826087 | 6 | 46 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.108696 | 46 | 1 | 46 | 46 | 0.853659 | 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 |
7b345a678703dc86796ff602bcdf548e960d1b3c | 116 | py | Python | treat/elements/__init__.py | tjlaboss/tasty_treat | 5a137b49c6648eda6500025de8bab9c8dcc78d45 | [
"MIT"
] | 3 | 2019-03-04T22:52:07.000Z | 2022-01-23T12:28:58.000Z | treat/elements/__init__.py | tjlaboss/tasty_treat | 5a137b49c6648eda6500025de8bab9c8dcc78d45 | [
"MIT"
] | 3 | 2021-07-23T17:30:35.000Z | 2021-09-17T16:25:57.000Z | treat/elements/__init__.py | tjlaboss/tasty_treat | 5a137b49c6648eda6500025de8bab9c8dcc78d45 | [
"MIT"
] | null | null | null | from . import constants
from . import geometry
from . import common_layers
from . import crd
from .element import *
| 19.333333 | 27 | 0.775862 | 16 | 116 | 5.5625 | 0.5 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 116 | 5 | 28 | 23.2 | 0.927083 | 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 |
9e5d7fab2798af2e2cb0314d5b8f23a2c4e38caf | 7,572 | py | Python | guiask/gbigchar.py | nullp0tr/guiask | 69127b2ed9a1a678aaad8f9722656a02c58c489a | [
"MIT"
] | null | null | null | guiask/gbigchar.py | nullp0tr/guiask | 69127b2ed9a1a678aaad8f9722656a02c58c489a | [
"MIT"
] | null | null | null | guiask/gbigchar.py | nullp0tr/guiask | 69127b2ed9a1a678aaad8f9722656a02c58c489a | [
"MIT"
] | null | null | null | big_square_char_font = {
'A': '■■■■■■■'
'■ ■'
'■ ■'
'■■■■■■■'
'■ ■'
'■ ■'
'■ ■',
'B': '■■■■■■ '
'■ ■'
'■ ■'
'■■■■■■ '
'■ ■'
'■ ■'
'■■■■■■ ',
'C': '■■■■■■■'
... | 19.16962 | 85 | 0.114897 | 706 | 7,572 | 2.315864 | 0.116147 | 0.228746 | 0.273395 | 0.293578 | 0.514985 | 0.409786 | 0.341284 | 0.198165 | 0.151682 | 0.129052 | 0 | 0.003659 | 0.639065 | 7,572 | 394 | 86 | 19.218274 | 0.291987 | 0 | 0 | 0.737705 | 0 | 0 | 0.282356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008197 | false | 0 | 0 | 0.002732 | 0.016393 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9eb25526d2c08269d41a542471fbfbf31151c321 | 117 | py | Python | tests/fixtures/an_app/random_search/rs_agent.py | deeplearninc/relaax | a0cf280486dc74dca3857c85ec0e4c34e88d6b2b | [
"MIT"
] | 71 | 2017-01-25T00:26:20.000Z | 2021-02-17T12:39:20.000Z | tests/fixtures/an_app/random_search/rs_agent.py | deeplearninc/relaax | a0cf280486dc74dca3857c85ec0e4c34e88d6b2b | [
"MIT"
] | 69 | 2017-01-23T19:29:23.000Z | 2018-08-21T13:26:39.000Z | tests/fixtures/an_app/random_search/rs_agent.py | deeplearninc/relaax | a0cf280486dc74dca3857c85ec0e4c34e88d6b2b | [
"MIT"
] | 13 | 2017-01-23T21:18:09.000Z | 2019-01-29T23:48:30.000Z | from builtins import object
class RSAgent(object):
def some_method(self):
return "some method result"
| 14.625 | 35 | 0.700855 | 15 | 117 | 5.4 | 0.8 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 117 | 7 | 36 | 16.714286 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
9eb8d5ad528023125c977fbb2b9eb2a6e6b37de2 | 18 | py | Python | packages/lorax/lorax-19.6.45/src/pylorax/version.py | tomhurd/clip | 7f0db86f3dd88fd9e33a3d179e6632d1d9b3209d | [
"Apache-2.0"
] | 1 | 2016-01-06T15:42:52.000Z | 2016-01-06T15:42:52.000Z | packages/lorax/lorax-19.6.45/src/pylorax/version.py | tomhurd/clip | 7f0db86f3dd88fd9e33a3d179e6632d1d9b3209d | [
"Apache-2.0"
] | null | null | null | packages/lorax/lorax-19.6.45/src/pylorax/version.py | tomhurd/clip | 7f0db86f3dd88fd9e33a3d179e6632d1d9b3209d | [
"Apache-2.0"
] | null | null | null | num = '19.6.42-1'
| 9 | 17 | 0.5 | 5 | 18 | 1.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.166667 | 18 | 1 | 18 | 18 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7b4109bee8e56a64677df8177d1adaf9a5b43c6d | 74 | py | Python | coinpy/static_funcs.py | Demirrr/coinpy | d6149d5251561c80903e91ef079fb1124954fd0e | [
"MIT"
] | null | null | null | coinpy/static_funcs.py | Demirrr/coinpy | d6149d5251561c80903e91ef079fb1124954fd0e | [
"MIT"
] | null | null | null | coinpy/static_funcs.py | Demirrr/coinpy | d6149d5251561c80903e91ef079fb1124954fd0e | [
"MIT"
] | null | null | null | def normalize(data_series):
return (data_series / data_series[0]) - 1
| 24.666667 | 45 | 0.716216 | 11 | 74 | 4.545455 | 0.636364 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.162162 | 74 | 2 | 46 | 37 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7b7d672d798738db8cd22abbef633aa60e3566d0 | 10,612 | py | Python | crack-path-prediction/networks/BuildingBlocks.py | saeedmhz/MultiRes-WNet | 1fa862763f9c37640741bfa3a02f8d58d2aec1ef | [
"MIT"
] | 1 | 2022-01-21T09:11:30.000Z | 2022-01-21T09:11:30.000Z | strain-prediction/networks/BuildingBlocks.py | saeedmhz/MultiRes-WNet | 1fa862763f9c37640741bfa3a02f8d58d2aec1ef | [
"MIT"
] | null | null | null | strain-prediction/networks/BuildingBlocks.py | saeedmhz/MultiRes-WNet | 1fa862763f9c37640741bfa3a02f8d58d2aec1ef | [
"MIT"
] | null | null | null | ##################################################
## Description:
## This script contrains building blocks of the
## MultiRes-WNet
##################################################
## Author: Saeed Mohammadzadeh
## Email: saeedmhz@bu.edu
## License:
##################################################
import torch
fr... | 46.13913 | 169 | 0.638522 | 1,385 | 10,612 | 4.675812 | 0.072924 | 0.157968 | 0.173101 | 0.105312 | 0.908277 | 0.903644 | 0.897622 | 0.887894 | 0.877857 | 0.877857 | 0 | 0.026963 | 0.206653 | 10,612 | 230 | 170 | 46.13913 | 0.74225 | 0.227949 | 0 | 0.693878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102041 | false | 0 | 0.020408 | 0 | 0.22449 | 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 |
7b9a051d70d27c680081b0dc67d545e1303b0313 | 70 | py | Python | tests/minitest.py | eric-czech/FaST-LMM | 497ac732f0cb25e328282cff42045afb70a99076 | [
"Apache-2.0"
] | 1 | 2021-06-09T12:11:04.000Z | 2021-06-09T12:11:04.000Z | tests/minitest.py | eric-czech/FaST-LMM | 497ac732f0cb25e328282cff42045afb70a99076 | [
"Apache-2.0"
] | null | null | null | tests/minitest.py | eric-czech/FaST-LMM | 497ac732f0cb25e328282cff42045afb70a99076 | [
"Apache-2.0"
] | null | null | null | import fastlmm
import fastlmm.util.matrix.cample as cample
print("OK") | 23.333333 | 43 | 0.814286 | 11 | 70 | 5.181818 | 0.727273 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 3 | 44 | 23.333333 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 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 |
c8e85e5f05400f4183450bcf1a5aa49f9d9ff32e | 60 | py | Python | fidelite/models/__init__.py | progistack/odoo-progistack | c0aded728e4c85b913effabad1fbdb8ff81a8174 | [
"MIT"
] | null | null | null | fidelite/models/__init__.py | progistack/odoo-progistack | c0aded728e4c85b913effabad1fbdb8ff81a8174 | [
"MIT"
] | null | null | null | fidelite/models/__init__.py | progistack/odoo-progistack | c0aded728e4c85b913effabad1fbdb8ff81a8174 | [
"MIT"
] | null | null | null | from . import programme_fidelite
from . import loyalty_field | 30 | 32 | 0.85 | 8 | 60 | 6.125 | 0.75 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 2 | 33 | 30 | 0.924528 | 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 |
c8fd1623ad1fb05ce435dae4d4d766d93871b62c | 893 | py | Python | release/stubs.min/System/Windows/Controls/__init___parts/VirtualizationCacheLengthConverter.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/Windows/Controls/__init___parts/VirtualizationCacheLengthConverter.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/Windows/Controls/__init___parts/VirtualizationCacheLengthConverter.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class VirtualizationCacheLengthConverter(TypeConverter):
""" VirtualizationCacheLengthConverter() """
def CanConvertFrom(self,*__args):
""" CanConvertFrom(self: VirtualizationCacheLengthConverter,typeDescriptorContext: ITypeDescriptorContext,sourceType: Type) -> bool """
pass
def CanConvertTo(self,*__args):... | 59.533333 | 179 | 0.793953 | 62 | 893 | 11.306452 | 0.33871 | 0.045649 | 0.336662 | 0.462197 | 0.293866 | 0.293866 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097424 | 893 | 14 | 180 | 63.785714 | 0.869727 | 0.692049 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cdf9235e9244ad332a1383afc247952c04cc3ff4 | 22,741 | py | Python | legate/pandas/frontend/indexing.py | marcinz/legate.pandas | 94c21c436f59c06cfba454c6569e9f5d7109d839 | [
"Apache-2.0"
] | 67 | 2021-04-12T18:06:55.000Z | 2022-03-28T06:51:05.000Z | legate/pandas/frontend/indexing.py | marcinz/legate.pandas | 94c21c436f59c06cfba454c6569e9f5d7109d839 | [
"Apache-2.0"
] | 2 | 2021-06-22T00:30:36.000Z | 2021-07-01T22:12:43.000Z | legate/pandas/frontend/indexing.py | marcinz/legate.pandas | 94c21c436f59c06cfba454c6569e9f5d7109d839 | [
"Apache-2.0"
] | 6 | 2021-04-14T21:28:00.000Z | 2022-03-22T09:45:25.000Z | # Copyright 2021 NVIDIA Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 32.211048 | 79 | 0.571039 | 2,766 | 22,741 | 4.385033 | 0.090745 | 0.073213 | 0.016325 | 0.029681 | 0.825789 | 0.802869 | 0.77863 | 0.76313 | 0.756039 | 0.753566 | 0 | 0.003261 | 0.352711 | 22,741 | 705 | 80 | 32.256738 | 0.82072 | 0.091157 | 0 | 0.697917 | 0 | 0 | 0.059163 | 0 | 0 | 0 | 0 | 0.001418 | 0.002083 | 1 | 0.058333 | false | 0.002083 | 0.00625 | 0 | 0.110417 | 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 |
a81e6d858a88f7591b752e03bb331eaa4cd65577 | 99 | py | Python | drivers/mocks/mock_wd_driver.py | VMS19/Inhalator | 77ff3f063efa48e825d1c5ef648203b2d70b753e | [
"MIT"
] | 9 | 2020-03-30T08:27:57.000Z | 2020-04-11T12:37:28.000Z | drivers/mocks/mock_wd_driver.py | VMS19/Inhalator | 77ff3f063efa48e825d1c5ef648203b2d70b753e | [
"MIT"
] | 145 | 2020-03-25T20:41:24.000Z | 2020-04-15T17:39:10.000Z | drivers/mocks/mock_wd_driver.py | VMS19/Inhalator | 77ff3f063efa48e825d1c5ef648203b2d70b753e | [
"MIT"
] | 4 | 2020-03-22T09:57:27.000Z | 2020-04-15T18:10:48.000Z | class MockWdDriver(object):
def __init__(self):
pass
def arm(self):
pass
| 12.375 | 27 | 0.565657 | 11 | 99 | 4.727273 | 0.727273 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.343434 | 99 | 7 | 28 | 14.142857 | 0.8 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b520475e7b2ac90afbfa3cc62783e7fad7f44fdb | 46 | py | Python | web/__init__.py | TBlackford/SentimentAnalysis | 59d1212cbe9ab018c6cf8bc2762d42458226803d | [
"MIT"
] | null | null | null | web/__init__.py | TBlackford/SentimentAnalysis | 59d1212cbe9ab018c6cf8bc2762d42458226803d | [
"MIT"
] | null | null | null | web/__init__.py | TBlackford/SentimentAnalysis | 59d1212cbe9ab018c6cf8bc2762d42458226803d | [
"MIT"
] | null | null | null | from .app import app, api
from .views import * | 23 | 25 | 0.73913 | 8 | 46 | 4.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5251a409f253a2008ea66a469f6281f7a96f03a | 135 | py | Python | src/api/resources/tests/conftest.py | ricoms/credit-fraud-dealing-with-imbalanced-datasets-mlops | aa483832493faa88affd00eff5489d03506abdeb | [
"MIT"
] | 5 | 2021-04-29T22:20:08.000Z | 2021-05-21T03:29:52.000Z | src/api/resources/tests/conftest.py | ricoms/credit-fraud-dealing-with-imbalanced-datasets-mlops | aa483832493faa88affd00eff5489d03506abdeb | [
"MIT"
] | 5 | 2020-02-17T21:59:49.000Z | 2022-03-12T00:47:31.000Z | src/api/resources/tests/conftest.py | ricoms/credit-fraud-dealing-with-imbalanced-datasets-mlops | aa483832493faa88affd00eff5489d03506abdeb | [
"MIT"
] | 3 | 2021-04-29T22:41:59.000Z | 2021-10-03T20:06:05.000Z | import pytest
from falcon import testing
from api import app
@pytest.fixture()
def client():
return testing.TestClient(app.app)
| 13.5 | 38 | 0.755556 | 19 | 135 | 5.368421 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162963 | 135 | 9 | 39 | 15 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b55433cf4b7e45be966571d9eaba509b5892b9e9 | 60 | py | Python | tests/core/test_import.py | vapory-testing/pytest-vapory | 1528905ada6660f7fc0cb8264b266a382674e800 | [
"MIT"
] | 19 | 2018-09-06T07:43:45.000Z | 2022-02-06T14:33:03.000Z | tests/core/test_import.py | vapory-testing/pytest-vapory | 1528905ada6660f7fc0cb8264b266a382674e800 | [
"MIT"
] | 26 | 2018-09-06T00:09:17.000Z | 2019-10-23T15:13:02.000Z | tests/core/test_import.py | vapory-testing/pytest-vapory | 1528905ada6660f7fc0cb8264b266a382674e800 | [
"MIT"
] | 9 | 2018-09-06T00:05:48.000Z | 2022-03-28T19:03:07.000Z | def test_import():
import pytest_ethereum # noqa: F401
| 20 | 40 | 0.716667 | 8 | 60 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.2 | 60 | 2 | 41 | 30 | 0.791667 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b59108b4f3b707212130f6033c7174f5c0ebbe6d | 114 | py | Python | utils/data/__init__.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | 1 | 2021-08-13T22:14:10.000Z | 2021-08-13T22:14:10.000Z | utils/data/__init__.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | null | null | null | utils/data/__init__.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | null | null | null | from . import mappers
from .datasets import *
from .image_utils import *
from .misc import *
from .types import *
| 19 | 26 | 0.745614 | 16 | 114 | 5.25 | 0.5 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 114 | 5 | 27 | 22.8 | 0.893617 | 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 |
a9698fd45f3b6c2ac946fd8f974ea4accf350d68 | 235 | py | Python | exceptions.py | CPSuperstore/NotifiPythonSDK | 960d4bc3fdfe3aec8c6a4ce9d6c45ccd3f882468 | [
"MIT"
] | 1 | 2021-07-01T19:30:38.000Z | 2021-07-01T19:30:38.000Z | exceptions.py | CPSuperstore/Notipy | 960d4bc3fdfe3aec8c6a4ce9d6c45ccd3f882468 | [
"MIT"
] | null | null | null | exceptions.py | CPSuperstore/Notipy | 960d4bc3fdfe3aec8c6a4ce9d6c45ccd3f882468 | [
"MIT"
] | null | null | null | class FailedToSendMessageException(Exception):
pass
class FailedToConfirmMessageException(Exception):
pass
class FailedToReceiveMessageException(Exception):
pass
class InvalidCredentialsException(Exception):
pass
| 15.666667 | 49 | 0.804255 | 16 | 235 | 11.8125 | 0.4375 | 0.275132 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144681 | 235 | 14 | 50 | 16.785714 | 0.940299 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8d31bf1c5e82dd428d34e54cd2c5ac210c416de5 | 197 | py | Python | utils/utils.py | KyleKun/chika-s-script | f1351cbe0135be4f2b7d233c66df105fdf3d4151 | [
"MIT"
] | 2 | 2020-04-24T19:22:41.000Z | 2020-05-03T23:46:30.000Z | utils/utils.py | KyleKun/chika-s-script | f1351cbe0135be4f2b7d233c66df105fdf3d4151 | [
"MIT"
] | null | null | null | utils/utils.py | KyleKun/chika-s-script | f1351cbe0135be4f2b7d233c66df105fdf3d4151 | [
"MIT"
] | null | null | null |
class LoaderCondition:
loaded = False
class MyLogger(object):
def debug(self, msg):
pass
def warning(self, msg):
pass
def error(self, msg):
print(msg)
| 12.3125 | 27 | 0.573604 | 23 | 197 | 4.913043 | 0.608696 | 0.185841 | 0.19469 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.329949 | 197 | 15 | 28 | 13.133333 | 0.856061 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.222222 | 0 | 0 | 0.666667 | 0.111111 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8d379a146f1ebb9f9ccc2cfb54b1eaf310a30415 | 1,171 | py | Python | deutsch_jozsa/deutsch_jozsa_oracle.py | eharmonicminorperfect5thbelow/QISKIT-examples | 1065190ceb114ade833c7d9a8f7d1ae806af70b4 | [
"MIT"
] | null | null | null | deutsch_jozsa/deutsch_jozsa_oracle.py | eharmonicminorperfect5thbelow/QISKIT-examples | 1065190ceb114ade833c7d9a8f7d1ae806af70b4 | [
"MIT"
] | null | null | null | deutsch_jozsa/deutsch_jozsa_oracle.py | eharmonicminorperfect5thbelow/QISKIT-examples | 1065190ceb114ade833c7d9a8f7d1ae806af70b4 | [
"MIT"
] | null | null | null | # 一定(2ビット)
# f(00)=f(10)=f(01)=f(11)=0
def Uf_c2_1(qc, q, c):
pass
# f(00)=f(10)=f(01)=f(11)=1
def Uf_c2_2(qc, q, c):
qc.x(q[2])
# 均等(2ビット)
# f(10)=f(11)=1
# f(00)=f(01)=0
def Uf_b2_1(qc, q, c):
qc.h(q[0])
qc.h(q[2])
qc.cx(q[2], q[0])
qc.h(q[0])
qc.h(q[2])
# f(01)=f(11)=1
# f(00)=f(10)=0
... | 15.407895 | 27 | 0.407344 | 327 | 1,171 | 1.409786 | 0.079511 | 0.182213 | 0.24295 | 0.151844 | 0.845987 | 0.815618 | 0.644252 | 0.590022 | 0.529284 | 0.529284 | 0 | 0.168578 | 0.255337 | 1,171 | 75 | 28 | 15.613333 | 0.360092 | 0.202391 | 0 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.019231 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a5d349de2c71d542a7052732b683776132612158 | 42 | py | Python | fastai/vision/models/all.py | mone27/fastai | af8dfc07ca3f333f8c1bdbea1803af669a53738f | [
"Apache-2.0"
] | 708 | 2019-11-23T13:48:38.000Z | 2022-03-21T22:28:04.000Z | fastai/vision/models/all.py | mone27/fastai | af8dfc07ca3f333f8c1bdbea1803af669a53738f | [
"Apache-2.0"
] | 503 | 2019-11-23T21:16:56.000Z | 2020-08-17T23:35:52.000Z | fastai/vision/models/all.py | mone27/fastai | af8dfc07ca3f333f8c1bdbea1803af669a53738f | [
"Apache-2.0"
] | 386 | 2019-11-23T19:28:03.000Z | 2022-03-09T15:48:01.000Z | from .xresnet import *
from .unet import * | 21 | 22 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 23 | 21 | 0.885714 | 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 |
a5dfa349dbc73d0997be26f1d97e8f4d980399cc | 30 | py | Python | gnomad/resources/grch38/__init__.py | tpoterba/gnomad_methods | 95dbb4844bd625619492026713a474882d87fcb7 | [
"MIT"
] | null | null | null | gnomad/resources/grch38/__init__.py | tpoterba/gnomad_methods | 95dbb4844bd625619492026713a474882d87fcb7 | [
"MIT"
] | null | null | null | gnomad/resources/grch38/__init__.py | tpoterba/gnomad_methods | 95dbb4844bd625619492026713a474882d87fcb7 | [
"MIT"
] | null | null | null | from .reference_data import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
a5eb784a2e9f56ce89bdfea19cd58c8c76d2731b | 173 | py | Python | exam/color.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | 1 | 2021-02-22T03:39:24.000Z | 2021-02-22T03:39:24.000Z | exam/color.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | exam/color.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | import random
T = 10
n = 100000
print(T)
for i in range(T):
print(random.randint(1, n), end=" ")
print(random.randint(1, n), end=" ")
print(random.randint(1, n)) | 21.625 | 40 | 0.612717 | 30 | 173 | 3.533333 | 0.466667 | 0.311321 | 0.509434 | 0.537736 | 0.622642 | 0.622642 | 0.622642 | 0.622642 | 0.622642 | 0.622642 | 0 | 0.079137 | 0.196532 | 173 | 8 | 41 | 21.625 | 0.683453 | 0 | 0 | 0.25 | 0 | 0 | 0.011494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
572b2298468a40154c4ec9da1f8a53c19c7f30f7 | 125 | py | Python | lib/handle_existing_files.py | Reinachan/Steam-Screenshots-Sorter | 4821954438fadba52d46d8ab1f7ec1003c945c6b | [
"MIT"
] | 1 | 2021-06-10T16:48:18.000Z | 2021-06-10T16:48:18.000Z | lib/handle_existing_files.py | Reinachan/Steam-Screenshots-Sorter | 4821954438fadba52d46d8ab1f7ec1003c945c6b | [
"MIT"
] | null | null | null | lib/handle_existing_files.py | Reinachan/Steam-Screenshots-Sorter | 4821954438fadba52d46d8ab1f7ec1003c945c6b | [
"MIT"
] | null | null | null | def existing_img(path):
if path.endswith(".png") or path.endswith(".jpg") or path.endswith(".jpeg"):
return path
| 31.25 | 80 | 0.648 | 18 | 125 | 4.444444 | 0.611111 | 0.45 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176 | 125 | 3 | 81 | 41.666667 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
939a29bbc58b40e45c18025bf3685103c470e652 | 305 | py | Python | lambdata/__init__.py | Samuel-Egbert31415/lambdata-DS24 | 7a6ef5e5d8c67c8cc5b55976ea7c0ad7d244a09d | [
"MIT"
] | null | null | null | lambdata/__init__.py | Samuel-Egbert31415/lambdata-DS24 | 7a6ef5e5d8c67c8cc5b55976ea7c0ad7d244a09d | [
"MIT"
] | null | null | null | lambdata/__init__.py | Samuel-Egbert31415/lambdata-DS24 | 7a6ef5e5d8c67c8cc5b55976ea7c0ad7d244a09d | [
"MIT"
] | null | null | null | """Lambdata - A collection of Data Science Helper Functions"""
print("this is the first thing that is run when importing lambdata")
print("Todo - import pandas and numpy when you get into the Python REPL")
def df_cleanser(df):
"""Cleans pd.DataFrame"""
# TODO - Implement
pass
| 25.416667 | 73 | 0.678689 | 43 | 305 | 4.790698 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 305 | 11 | 74 | 27.727273 | 0.876596 | 0.308197 | 0 | 0 | 0 | 0 | 0.621212 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 6 |
93dc705c5112d7d2bbf95acb1f2e8ac7823897b6 | 43 | py | Python | src/models/rescal/__init__.py | wang-yuhao/Practical-Big-Data-Science-ADL-AI | 0bf63bf210f506e287f8492e716bb3394137d74b | [
"MIT"
] | null | null | null | src/models/rescal/__init__.py | wang-yuhao/Practical-Big-Data-Science-ADL-AI | 0bf63bf210f506e287f8492e716bb3394137d74b | [
"MIT"
] | null | null | null | src/models/rescal/__init__.py | wang-yuhao/Practical-Big-Data-Science-ADL-AI | 0bf63bf210f506e287f8492e716bb3394137d74b | [
"MIT"
] | 1 | 2021-12-24T00:26:26.000Z | 2021-12-24T00:26:26.000Z | from .rescal_evaluation_model import RESCAL | 43 | 43 | 0.906977 | 6 | 43 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.925 | 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 |
9e2588347da1dbc97f4bdc7a2b2fe44cf82e888e | 74 | py | Python | mne/datasets/erp_core/__init__.py | rylaw/mne-python | aa526c8ed7049046734ca28493d99e841672b0eb | [
"BSD-3-Clause"
] | 1,953 | 2015-01-17T20:33:46.000Z | 2022-03-30T04:36:34.000Z | mne/datasets/erp_core/__init__.py | LiFeng-SECUC/mne-python | 732bb1f994e64e41a8e95dcc10dc98c22cac95c0 | [
"BSD-3-Clause"
] | 8,490 | 2015-01-01T13:04:18.000Z | 2022-03-31T23:02:08.000Z | mne/datasets/erp_core/__init__.py | LiFeng-SECUC/mne-python | 732bb1f994e64e41a8e95dcc10dc98c22cac95c0 | [
"BSD-3-Clause"
] | 1,130 | 2015-01-08T22:39:27.000Z | 2022-03-30T21:44:26.000Z | """ERP-CORE EEG dataset."""
from .erp_core import data_path, get_version
| 18.5 | 44 | 0.743243 | 12 | 74 | 4.333333 | 0.833333 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 3 | 45 | 24.666667 | 0.8 | 0.283784 | 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 |
f52b29f101294b834f6f1931a94e37fe2b3b8d40 | 34 | py | Python | src/wai/annotations/yolo/od/__init__.py | waikato-ufdl/wai-annotations-yolo | 93efbed0c99f2e9cfc2e4ee564da6502e5cc8414 | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/yolo/od/__init__.py | waikato-ufdl/wai-annotations-yolo | 93efbed0c99f2e9cfc2e4ee564da6502e5cc8414 | [
"Apache-2.0"
] | 1 | 2022-02-23T04:26:19.000Z | 2022-02-23T04:26:19.000Z | src/wai/annotations/yolo/od/__init__.py | waikato-ufdl/wai-annotations-yolo | 93efbed0c99f2e9cfc2e4ee564da6502e5cc8414 | [
"Apache-2.0"
] | null | null | null | from ._format import YOLOODFormat
| 17 | 33 | 0.852941 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
f571e7810e90ab2f7af100f81039816029ec01db | 31 | py | Python | tests/unit/mongodb/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | tests/unit/mongodb/__init__.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | tests/unit/mongodb/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | from .outcome import * # noqa
| 15.5 | 30 | 0.677419 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.875 | 0.129032 | 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 |
f59f6d4dfc766987b2b6250a87fb3e8067d24634 | 11,588 | py | Python | support/tests/test_bridge.py | hermesdt/retro-contest | b0212c7eb501243e62575dd6867437237a3a5094 | [
"MIT"
] | 51 | 2018-04-05T19:41:35.000Z | 2022-03-15T11:49:47.000Z | support/tests/test_bridge.py | hermesdt/retro-contest | b0212c7eb501243e62575dd6867437237a3a5094 | [
"MIT"
] | 19 | 2018-04-07T23:12:49.000Z | 2018-11-16T18:22:31.000Z | support/tests/test_bridge.py | hermesdt/retro-contest | b0212c7eb501243e62575dd6867437237a3a5094 | [
"MIT"
] | 42 | 2018-04-06T00:44:24.000Z | 2021-09-19T06:48:01.000Z | import gym_remote as gr
import os
from . import tempdir
def setup_client_server(base):
server = gr.Bridge(base)
server.listen()
client = gr.Bridge(base)
client.connect()
return client, server
def start_bridge(client, server):
server.server_accept()
client.configure_client()
def test_... | 28.263415 | 73 | 0.658958 | 1,540 | 11,588 | 4.814935 | 0.055195 | 0.111396 | 0.075523 | 0.045314 | 0.910452 | 0.860418 | 0.79029 | 0.740661 | 0.727849 | 0.680108 | 0 | 0.013553 | 0.178633 | 11,588 | 409 | 74 | 28.332518 | 0.765497 | 0 | 0 | 0.666667 | 0 | 0 | 0.051864 | 0 | 0 | 0 | 0.005178 | 0 | 0.379433 | 1 | 0.06383 | false | 0.014184 | 0.039007 | 0 | 0.106383 | 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 |
192c49c30fa24b67178674d5beaf8e93103ccddc | 219 | py | Python | permalink/views.py | n2o/dpb | 9e44ef91dc25782a12150e1001983aeee62bc566 | [
"MIT"
] | null | null | null | permalink/views.py | n2o/dpb | 9e44ef91dc25782a12150e1001983aeee62bc566 | [
"MIT"
] | 31 | 2015-07-26T13:53:26.000Z | 2020-09-28T06:08:03.000Z | permalink/views.py | n2o/dpb | 9e44ef91dc25782a12150e1001983aeee62bc566 | [
"MIT"
] | null | null | null | from django.shortcuts import get_object_or_404, redirect
from .models import Permalink
def redirectPermanent(request, slug):
return redirect(get_object_or_404(Permalink, short=slug).redirect_url, permanent=True)
| 27.375 | 90 | 0.821918 | 30 | 219 | 5.766667 | 0.666667 | 0.104046 | 0.127168 | 0.16185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.105023 | 219 | 7 | 91 | 31.285714 | 0.852041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1947ff911b8f0df64b90ebfe1b8151c8fc2b8719 | 37 | py | Python | pysrc/qulacs_osaka/state/__init__.py | kodack64/qulacs-osaka | 4ccc3ff084f10942e22d8663a01ed67efd24d9f7 | [
"MIT"
] | null | null | null | pysrc/qulacs_osaka/state/__init__.py | kodack64/qulacs-osaka | 4ccc3ff084f10942e22d8663a01ed67efd24d9f7 | [
"MIT"
] | null | null | null | pysrc/qulacs_osaka/state/__init__.py | kodack64/qulacs-osaka | 4ccc3ff084f10942e22d8663a01ed67efd24d9f7 | [
"MIT"
] | null | null | null | from qulacs_osaka_core.state import * | 37 | 37 | 0.864865 | 6 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.882353 | 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 |
194b23c9f29445418846fa8b52ecceddd97473fa | 30 | py | Python | bibliopixel/builder/__init__.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 253 | 2015-01-03T23:17:57.000Z | 2021-12-14T02:31:08.000Z | bibliopixel/builder/__init__.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 879 | 2015-01-11T16:07:25.000Z | 2021-12-10T16:24:31.000Z | bibliopixel/builder/__init__.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 71 | 2015-01-04T01:02:47.000Z | 2022-03-25T18:30:10.000Z | from . builder import Builder
| 15 | 29 | 0.8 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.96 | 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 |
197e325b46f8fb3b24548edcb2bb061e87c450cb | 142 | py | Python | Suddha_bot/__init__.py | Dead-Coder-s-Society/Suddha_bot | 6597f314b6f7522434c6f820e258316456b509b4 | [
"MIT"
] | null | null | null | Suddha_bot/__init__.py | Dead-Coder-s-Society/Suddha_bot | 6597f314b6f7522434c6f820e258316456b509b4 | [
"MIT"
] | null | null | null | Suddha_bot/__init__.py | Dead-Coder-s-Society/Suddha_bot | 6597f314b6f7522434c6f820e258316456b509b4 | [
"MIT"
] | null | null | null | __invite__ ="https://discord.com/api/oauth2/authorize?client_id=935377369609412669&permissions=395204114464&scope=bot%20applications.commands" | 142 | 142 | 0.866197 | 16 | 142 | 7.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 0.007042 | 142 | 1 | 142 | 142 | 0.602837 | 0 | 0 | 0 | 0 | 1 | 0.895105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19ad07cb8ed186078b95ab43d5ea52e66bc18e61 | 22,526 | py | Python | pybind/slxos/v16r_1_00b/acl_mirror/source/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/acl_mirror/source/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/acl_mirror/source/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 78.215278 | 659 | 0.693998 | 3,117 | 22,526 | 4.780237 | 0.060956 | 0.045101 | 0.046309 | 0.058658 | 0.876577 | 0.845772 | 0.816779 | 0.815235 | 0.811208 | 0.800201 | 0 | 0.015929 | 0.15835 | 22,526 | 287 | 660 | 78.487805 | 0.769977 | 0.115733 | 0 | 0.515957 | 0 | 0.058511 | 0.383567 | 0.202613 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095745 | false | 0 | 0.042553 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5fda3c98d80aa7cda6540ff44888ba611a55587b | 191 | py | Python | moonreader_tools/handlers/__init__.py | MrLokans/MoonReader_tools | 93500bbe4de6dae08bf5f029dbbdc3cc1062da40 | [
"MIT"
] | 4 | 2016-07-03T08:54:57.000Z | 2022-02-16T15:14:46.000Z | moonreader_tools/handlers/__init__.py | MrLokans/MoonReader_tools | 93500bbe4de6dae08bf5f029dbbdc3cc1062da40 | [
"MIT"
] | 11 | 2016-05-17T18:50:12.000Z | 2018-10-21T14:14:53.000Z | moonreader_tools/handlers/__init__.py | MrLokans/MoonReader_tools | 93500bbe4de6dae08bf5f029dbbdc3cc1062da40 | [
"MIT"
] | 2 | 2017-05-21T16:57:30.000Z | 2017-10-15T04:45:42.000Z | from moonreader_tools.handlers.dropbox import DropboxDownloader
from moonreader_tools.handlers.fs_handler import FilesystemDownloader
__all__ = ["DropboxDownloader", "FilesystemDownloader"]
| 38.2 | 69 | 0.86911 | 18 | 191 | 8.833333 | 0.611111 | 0.176101 | 0.238994 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068063 | 191 | 4 | 70 | 47.75 | 0.893258 | 0 | 0 | 0 | 0 | 0 | 0.193717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2706d7d7ee2e70346fc30a823a1897525b05b2e4 | 24 | py | Python | polygon_uploader/lojac/__init__.py | niyaznigmatullin/polygon-uploader | f030537a55ba311de2b52dfdb4c068fcb28e4ce3 | [
"MIT"
] | 2 | 2020-09-25T01:18:32.000Z | 2021-04-14T11:25:40.000Z | polygon_uploader/lojac/__init__.py | niyaznigmatullin/lojacimport | f030537a55ba311de2b52dfdb4c068fcb28e4ce3 | [
"MIT"
] | 2 | 2020-07-08T08:27:07.000Z | 2020-08-15T09:52:56.000Z | polygon_uploader/lojac/__init__.py | niyaznigmatullin/lojacimport | f030537a55ba311de2b52dfdb4c068fcb28e4ce3 | [
"MIT"
] | 1 | 2020-09-20T15:28:05.000Z | 2020-09-20T15:28:05.000Z | from .lojac import main
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 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 |
27a230ddf43f185e794a433a2854ff621d67401a | 4,071 | py | Python | CT_TIQUA/python_scripts/ANTS_registration.py | brosscle/CT-TIQUA | d56104cd60ffa962afae9506b6bc9d4afc0d0de9 | [
"Apache-2.0"
] | null | null | null | CT_TIQUA/python_scripts/ANTS_registration.py | brosscle/CT-TIQUA | d56104cd60ffa962afae9506b6bc9d4afc0d0de9 | [
"Apache-2.0"
] | null | null | null | CT_TIQUA/python_scripts/ANTS_registration.py | brosscle/CT-TIQUA | d56104cd60ffa962afae9506b6bc9d4afc0d0de9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue May 25 16:29:58 2021
@author: cbrossard
"""
import bids
from nipype.interfaces import fsl
from multiprocessing import Pool
from shutil import copyfile
#from cmtklib.interfaces.fsl import FSLCreateHD
import ants
def Apply_ANTS_Atlas(DataPat... | 43.308511 | 186 | 0.649226 | 503 | 4,071 | 5.033797 | 0.256461 | 0.067141 | 0.016588 | 0.034755 | 0.819115 | 0.819115 | 0.799368 | 0.799368 | 0.799368 | 0.799368 | 0 | 0.019328 | 0.224761 | 4,071 | 94 | 187 | 43.308511 | 0.782953 | 0.269713 | 0 | 0.577778 | 0 | 0 | 0.088565 | 0.033254 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.111111 | 0 | 0.155556 | 0.044444 | 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 |
27ebf2107c946fc5f944ff38b5889639a11c91ed | 222 | py | Python | python/auth_middleware/__init__.py | Pennsieve/auth-middleware | f1533aa8913e9b533cc13b596e765c59f1cfb675 | [
"Apache-2.0"
] | null | null | null | python/auth_middleware/__init__.py | Pennsieve/auth-middleware | f1533aa8913e9b533cc13b596e765c59f1cfb675 | [
"Apache-2.0"
] | null | null | null | python/auth_middleware/__init__.py | Pennsieve/auth-middleware | f1533aa8913e9b533cc13b596e765c59f1cfb675 | [
"Apache-2.0"
] | null | null | null | from .config import JwtConfig # noqa: F401, F403
from .service_claim import * # noqa: F401, F403
from .claim import * # noqa: F401, F403
from .role import * # noqa: F401, F403
from .version import * # noqa: F401, F403
| 37 | 49 | 0.693694 | 32 | 222 | 4.78125 | 0.34375 | 0.261438 | 0.392157 | 0.418301 | 0.496732 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 0.198198 | 222 | 5 | 50 | 44.4 | 0.691011 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7e0cdc7be09eadee3a6908079f5da21c7b074b94 | 1,055 | py | Python | python/anyascii/_data/_132.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_132.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_132.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='iw N18a N18b N19 wDb N21 N22 N23 spAt xAst N25a Dw Axt xa q iAt N31 N32 N33 N33a N34 N34a n mw N36 S N37a N38 N39 Sm id N42 NL1 NL2 NL3 NL4 NL5 NL5a NL6 NL7 NL8 NL9 NL10 NL11 NL12 NL13 NL14 NL15 NL16 NL17 NL17a NL18 NL19 NL20 NU1 NU2 NU3 NU4 NU5 NU6 NU7 NU8 NU9 NU10 NU10a NU11 NU11a NU12 NU13 NU14 NU15 NU16 NU17 NU1... | 1,055 | 1,055 | 0.75545 | 257 | 1,055 | 3.101167 | 0.992218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37 | 0.241706 | 1,055 | 1 | 1,055 | 1,055 | 0.62625 | 0 | 0 | 0 | 0 | 1 | 0.995265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd99fa50efc6bf35ac8e5279ad6ce128a4d7f5bc | 57,716 | py | Python | clients/python/sust/api/climate_explorer/clientgen/api/portfolios_api.py | sustglobal/dev-center | 817947b2a91500c634c4cac9063e5084efb2f8a6 | [
"Apache-2.0"
] | null | null | null | clients/python/sust/api/climate_explorer/clientgen/api/portfolios_api.py | sustglobal/dev-center | 817947b2a91500c634c4cac9063e5084efb2f8a6 | [
"Apache-2.0"
] | 6 | 2021-12-06T19:25:57.000Z | 2022-03-01T20:58:55.000Z | clients/python/sust/api/climate_explorer/clientgen/api/portfolios_api.py | sustglobal/dev-center | 817947b2a91500c634c4cac9063e5084efb2f8a6 | [
"Apache-2.0"
] | 1 | 2021-12-03T22:39:06.000Z | 2021-12-03T22:39:06.000Z | """
Sust Global Climate Explorer API
This API provides programmatic access to physical risk exposure data. For more guidance on using this API, please visit the Sust Global Dev Center: https://developers.sustglobal.com. # noqa: E501
The version of the OpenAPI document: beta
Generated by: https://op... | 37.332471 | 202 | 0.4943 | 5,169 | 57,716 | 5.28284 | 0.052234 | 0.051415 | 0.020947 | 0.021753 | 0.905043 | 0.896364 | 0.883803 | 0.862563 | 0.847145 | 0.82521 | 0 | 0.004183 | 0.420143 | 57,716 | 1,545 | 203 | 37.356634 | 0.811755 | 0.360645 | 0 | 0.692974 | 0 | 0 | 0.235496 | 0.039711 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01155 | false | 0 | 0.015399 | 0 | 0.038499 | 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 |
fdb0470ef5f01523bce6c6b1aa32786ea11105c4 | 257 | py | Python | tests/test_unary.py | gtors/lambdaz | 870ed4d4bca5a7e813363452dbfbb2ee04229bd6 | [
"MIT"
] | 1 | 2022-03-18T15:27:23.000Z | 2022-03-18T15:27:23.000Z | tests/test_unary.py | gtors/lambdaz | 870ed4d4bca5a7e813363452dbfbb2ee04229bd6 | [
"MIT"
] | null | null | null | tests/test_unary.py | gtors/lambdaz | 870ed4d4bca5a7e813363452dbfbb2ee04229bd6 | [
"MIT"
] | null | null | null | from lambdaz import a0
def test_repr():
assert repr(~a0._) == "unary(<built-in function invert>, (a0))"
def test_negate():
assert (-a0._)(1) - 1 == -2
def test_pos():
assert (+a0._)(1) == 1
def test_invert():
assert (~a0._)(-1) == 0
| 14.277778 | 67 | 0.564202 | 38 | 257 | 3.605263 | 0.473684 | 0.20438 | 0.19708 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065 | 0.22179 | 257 | 17 | 68 | 15.117647 | 0.62 | 0 | 0 | 0 | 0 | 0 | 0.151751 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fdcf56c83ce97bb98b84e40a8c35de175ac40637 | 20,095 | py | Python | util/simplify_human36_frames.py | VMReyes/keypointgan | 17b6f6f43430d532603d25edb2f42c087119986e | [
"BSD-3-Clause"
] | null | null | null | util/simplify_human36_frames.py | VMReyes/keypointgan | 17b6f6f43430d532603d25edb2f42c087119986e | [
"BSD-3-Clause"
] | null | null | null | util/simplify_human36_frames.py | VMReyes/keypointgan | 17b6f6f43430d532603d25edb2f42c087119986e | [
"BSD-3-Clause"
] | null | null | null | import os, sys
import mat73
import argparse
import skimage.io
from skimage.transform import resize
import numpy as np
import matplotlib.pyplot as plt
import scipy.io
parser = argparse.ArgumentParser(description='Simplifies a Human3.6m dataset after running subject_videos_to_frames.sh')
parser.add_argument('--root_dir'... | 58.078035 | 164 | 0.684349 | 2,601 | 20,095 | 4.98193 | 0.088428 | 0.022689 | 0.033956 | 0.019447 | 0.819648 | 0.786695 | 0.764007 | 0.739775 | 0.735993 | 0.717009 | 0 | 0.01132 | 0.230654 | 20,095 | 345 | 165 | 58.246377 | 0.826843 | 0.134611 | 0 | 0.5875 | 0 | 0.008333 | 0.123208 | 0.035037 | 0 | 0 | 0 | 0.002899 | 0.008333 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.095833 | 0.104167 | 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 |
fdd5be9c6b365496bff74f54326c0522e17a1db4 | 123 | py | Python | src/config/fonts.py | ChengShusss/spt | f68e6b317ae64237aec5d0a058064804a28996d1 | [
"MIT"
] | null | null | null | src/config/fonts.py | ChengShusss/spt | f68e6b317ae64237aec5d0a058064804a28996d1 | [
"MIT"
] | null | null | null | src/config/fonts.py | ChengShusss/spt | f68e6b317ae64237aec5d0a058064804a28996d1 | [
"MIT"
] | null | null | null | #!/usr/local/bin/python3
# -*- coding: utf-8 -*-
import matplotlib
import matplotlib
print(matplotlib.matplotlib_fname()) | 17.571429 | 36 | 0.739837 | 15 | 123 | 6 | 0.733333 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.097561 | 123 | 7 | 36 | 17.571429 | 0.792793 | 0.365854 | 0 | 0.666667 | 0 | 0 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.