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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
714453fd548ab4bcac2a2356b5d6db303e203a82 | 43 | py | Python | run.py | camilosalazar98/camilo-blog | 2fc92a0c2a4beae659d5329b332c89065aa60de8 | [
"MIT"
] | 2 | 2020-01-18T17:30:56.000Z | 2020-03-09T04:52:48.000Z | run.py | camilosalazar98/camilo-blog | 2fc92a0c2a4beae659d5329b332c89065aa60de8 | [
"MIT"
] | null | null | null | run.py | camilosalazar98/camilo-blog | 2fc92a0c2a4beae659d5329b332c89065aa60de8 | [
"MIT"
] | 1 | 2020-03-09T04:52:55.000Z | 2020-03-09T04:52:55.000Z | #!/usr/bin/env python3
from app import app
| 14.333333 | 22 | 0.744186 | 8 | 43 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.139535 | 43 | 2 | 23 | 21.5 | 0.837838 | 0.488372 | 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 |
85326e481823f7da5f803f939313c5494031b9d9 | 8,117 | py | Python | tests/test_bot/test_asyncbot.py | ExpressApp/pythonlib_botx | aff35f2d05db8295a829dd9fa85d495f68ed6d20 | [
"MIT"
] | null | null | null | tests/test_bot/test_asyncbot.py | ExpressApp/pythonlib_botx | aff35f2d05db8295a829dd9fa85d495f68ed6d20 | [
"MIT"
] | null | null | null | tests/test_bot/test_asyncbot.py | ExpressApp/pythonlib_botx | aff35f2d05db8295a829dd9fa85d495f68ed6d20 | [
"MIT"
] | null | null | null | import pytest
from botx import (
CTS,
AsyncBot,
BotCredentials,
BotXException,
CTSCredentials,
Message,
Status,
StatusResult,
)
@pytest.mark.asyncio
async def test_async_bot_init(hostname):
bot = AsyncBot()
await bot.start()
assert bot._dispatcher is not None
assert b... | 24.375375 | 88 | 0.645189 | 1,044 | 8,117 | 4.685824 | 0.090996 | 0.068684 | 0.055192 | 0.066231 | 0.834424 | 0.810098 | 0.799469 | 0.735282 | 0.701349 | 0.701349 | 0 | 0.002475 | 0.253296 | 8,117 | 332 | 89 | 24.448795 | 0.804653 | 0 | 0 | 0.640316 | 0 | 0 | 0.009486 | 0 | 0 | 0 | 0 | 0 | 0.067194 | 1 | 0.003953 | false | 0 | 0.007905 | 0 | 0.011858 | 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 |
8533aa99c879e69929469a8c66581115e5f81b18 | 23 | py | Python | devel/lib/python2.7/dist-packages/theora_image_transport/msg/__init__.py | lty1994/atuolabor | 42b8c52eac93a2e48fbd64275c7dd426a988000c | [
"Apache-2.0"
] | 1 | 2020-05-05T13:11:31.000Z | 2020-05-05T13:11:31.000Z | devel/lib/python2.7/dist-packages/theora_image_transport/msg/__init__.py | lty1994/atuolabor | 42b8c52eac93a2e48fbd64275c7dd426a988000c | [
"Apache-2.0"
] | 1 | 2021-07-08T10:26:06.000Z | 2021-07-08T10:31:11.000Z | devel/lib/python2.7/dist-packages/theora_image_transport/msg/__init__.py | lty1994/atuolabor | 42b8c52eac93a2e48fbd64275c7dd426a988000c | [
"Apache-2.0"
] | 1 | 2020-09-11T14:00:36.000Z | 2020-09-11T14:00:36.000Z | from ._Packet import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.842105 | 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 |
85572389e1ccb7a13f48957cafcf7be315381cb1 | 75 | py | Python | embeddingvectorizer/__init__.py | ccs-amsterdam/embeddingvectorizer | 557274cb3e4fb08d122f93c90f4b7fd1f5b28e26 | [
"MIT"
] | null | null | null | embeddingvectorizer/__init__.py | ccs-amsterdam/embeddingvectorizer | 557274cb3e4fb08d122f93c90f4b7fd1f5b28e26 | [
"MIT"
] | null | null | null | embeddingvectorizer/__init__.py | ccs-amsterdam/embeddingvectorizer | 557274cb3e4fb08d122f93c90f4b7fd1f5b28e26 | [
"MIT"
] | null | null | null | from .vectorizer import EmbeddingCountVectorizer, EmbeddingTfidfVectorizer
| 37.5 | 74 | 0.906667 | 5 | 75 | 13.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 75 | 1 | 75 | 75 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
856025f64a009babc4f2f418086d45234a9411ef | 1,247 | py | Python | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GLES2/OES/texture_storage_multisample_2d_array.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GLES2/OES/texture_storage_multisample_2d_array.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/raw/GLES2/OES/texture_storage_multisample_2d_array.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C
import... | 56.681818 | 143 | 0.864475 | 189 | 1,247 | 5.174603 | 0.359788 | 0.132924 | 0.184049 | 0.214724 | 0.567485 | 0.436605 | 0.375256 | 0.119632 | 0 | 0 | 0 | 0.034834 | 0.056135 | 1,247 | 21 | 144 | 59.380952 | 0.796092 | 0.080192 | 0 | 0 | 1 | 0 | 0.25614 | 0.25614 | 0 | 0 | 0.026316 | 0 | 0 | 1 | 0.117647 | false | 0.058824 | 0.352941 | 0.058824 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8584f924976812ad6af35e999c1fa9bff1a07dd3 | 360 | py | Python | deliverable_model/builtin/processor/__init__.py | lanSeFangZhou/deliverable_model | b01c502286850879bc3f9be1dd6f369ad1181d07 | [
"Apache-2.0"
] | 2 | 2020-08-20T04:26:58.000Z | 2021-01-04T10:06:31.000Z | deliverable_model/builtin/processor/__init__.py | lanSeFangZhou/deliverable_model | b01c502286850879bc3f9be1dd6f369ad1181d07 | [
"Apache-2.0"
] | 6 | 2019-12-12T03:13:43.000Z | 2021-11-10T20:08:18.000Z | deliverable_model/builtin/processor/__init__.py | lanSeFangZhou/deliverable_model | b01c502286850879bc3f9be1dd6f369ad1181d07 | [
"Apache-2.0"
] | 4 | 2019-11-15T09:56:01.000Z | 2020-05-08T10:23:00.000Z | from deliverable_model.builtin.processor.lookup_processor import LookupProcessor
from deliverable_model.builtin.processor.biluo_decode_processor import (
BILUOEncodeProcessor,
)
from deliverable_model.builtin.processor.pad_processor import PadProcessor
from deliverable_model.builtin.processor.str_tokens_convert_pro... | 51.428571 | 102 | 0.897222 | 39 | 360 | 8 | 0.435897 | 0.192308 | 0.25641 | 0.346154 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061111 | 360 | 6 | 103 | 60 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
85c5ad20f78873e7d80aeeefe02599f2675e280b | 25 | py | Python | atomicswap/__init__.py | y-chan/atomicswap-qt | 5bab6d301177aaf7487236597f75efb1172e6450 | [
"MIT"
] | 14 | 2020-01-12T07:43:31.000Z | 2020-09-10T23:50:53.000Z | atomicswap/__init__.py | atomicswap-network/atomicswap-qt | 4379deda0840ca305d8cc20b0337a7d3517eb6a3 | [
"MIT"
] | 12 | 2020-01-12T10:33:58.000Z | 2020-02-06T04:35:27.000Z | atomicswap/__init__.py | atomicswap-network/atomicswap-qt | 4379deda0840ca305d8cc20b0337a7d3517eb6a3 | [
"MIT"
] | 4 | 2020-01-28T03:17:32.000Z | 2021-08-09T22:14:40.000Z | from atomicswap import *
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
a4406dda02b7e95d2c30c76426fbe550d321fce6 | 30 | py | Python | alfworld/agents/graph_map/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | 6 | 2021-05-22T15:33:42.000Z | 2022-01-12T03:34:39.000Z | alfworld/agents/graph_map/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | 1 | 2021-06-19T10:04:13.000Z | 2021-06-20T03:37:23.000Z | alfworld/agents/graph_map/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | null | null | null | from . import utils_graph_map
| 15 | 29 | 0.833333 | 5 | 30 | 4.6 | 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 |
a498b3375faee1605718e063bac0a5f90ff46620 | 679 | py | Python | octicons16px/unmute.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/unmute.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/unmute.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_UNMUTE = """
<svg class="octicon octicon-unmute" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.563 2.069A.75.75 0 018 2.75v10.5a.75.75 0 01-1.238.57L3.472 11H1.75A1.75 1.75 0 010 9.25v-2.5C0 5.784.784 5 1.75 5h1.723l3.289-2.82a.75.75 0 01.801-.111... | 135.8 | 652 | 0.670103 | 185 | 679 | 2.454054 | 0.454054 | 0.072687 | 0.110132 | 0.077093 | 0.079295 | 0 | 0 | 0 | 0 | 0 | 0 | 0.524046 | 0.111929 | 679 | 4 | 653 | 169.75 | 0.228856 | 0 | 0 | 0 | 0 | 0.333333 | 0.964602 | 0.231563 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f10d181c12e15f56b146f65d4c274c8343974fe2 | 82,381 | py | Python | test/unit/test_alerts_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | 1 | 2022-03-26T18:20:42.000Z | 2022-03-26T18:20:42.000Z | test/unit/test_alerts_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | null | null | null | test/unit/test_alerts_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2022.
#
# 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 l... | 54.162393 | 505 | 0.754057 | 9,386 | 82,381 | 6.120179 | 0.031004 | 0.07832 | 0.045331 | 0.052956 | 0.911166 | 0.900338 | 0.87675 | 0.837494 | 0.784138 | 0.712468 | 0 | 0.016849 | 0.17799 | 82,381 | 1,520 | 506 | 54.198026 | 0.831433 | 0.237676 | 0 | 0.438992 | 0 | 0.015915 | 0.105595 | 0.035231 | 0 | 0 | 0 | 0 | 0.135279 | 1 | 0.075597 | false | 0 | 0.011936 | 0 | 0.140584 | 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 |
f13891b471befbf194760051d8124301f81644c4 | 631 | py | Python | Codewars/8kyu/fix-the-bugs-syntax-my-first-kata/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/fix-the-bugs-syntax-my-first-kata/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/fix-the-bugs-syntax-my-first-kata/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 2.7.6
Test.describe('Basic Tests')
Test.assert_equals(my_first_kata(3, 5), (3 % 5 + 5 % 3))
Test.assert_equals(my_first_kata('hello', 3), False)
Test.assert_equals(my_first_kata(67, 'bye'), False)
Test.assert_equals(my_first_kata(True, True), False)
Test.assert_equals(my_first_kata(314, 107), (107 % 314 + 3... | 45.071429 | 68 | 0.700475 | 111 | 631 | 3.711712 | 0.243243 | 0.242718 | 0.38835 | 0.436893 | 0.747573 | 0.737864 | 0.67233 | 0 | 0 | 0 | 0 | 0.111702 | 0.106181 | 631 | 13 | 69 | 48.538462 | 0.618794 | 0.022187 | 0 | 0 | 0 | 0 | 0.047154 | 0 | 0 | 0 | 0 | 0 | 0.909091 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74ba1c013d2fda3f9059a18335646510eeb7a112 | 215 | py | Python | diss/experiment/__init__.py | mvcisback/DISS | 3ac94d62d2f10e2642a5ea7ef27b1ed045664abc | [
"MIT"
] | null | null | null | diss/experiment/__init__.py | mvcisback/DISS | 3ac94d62d2f10e2642a5ea7ef27b1ed045664abc | [
"MIT"
] | null | null | null | diss/experiment/__init__.py | mvcisback/DISS | 3ac94d62d2f10e2642a5ea7ef27b1ed045664abc | [
"MIT"
] | null | null | null | from diss.experiment.concept_class import PartialDFAIdentifier, ignore_white
from diss.experiment.concept_class import PARTIAL_DFA, BASE_EXAMPLES
from diss.experiment.vis import view_dfa, print_map, print_trc, tile
| 53.75 | 76 | 0.869767 | 31 | 215 | 5.774194 | 0.612903 | 0.134078 | 0.301676 | 0.27933 | 0.402235 | 0.402235 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07907 | 215 | 3 | 77 | 71.666667 | 0.90404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74e80055d59ce34c8e0ee8e6bd318af746540dad | 9,748 | py | Python | plate_reader_evolution/mic.py | microbial-pangenomes-lab/plate_reader_evolution | bf98a236013114b91df192bc5560c2a4762fc140 | [
"MIT"
] | null | null | null | plate_reader_evolution/mic.py | microbial-pangenomes-lab/plate_reader_evolution | bf98a236013114b91df192bc5560c2a4762fc140 | [
"MIT"
] | null | null | null | plate_reader_evolution/mic.py | microbial-pangenomes-lab/plate_reader_evolution | bf98a236013114b91df192bc5560c2a4762fc140 | [
"MIT"
] | null | null | null | # Copyright 2019 Marco Galardini
import logging
import numpy as np
import pandas as pd
from scipy import stats
from scipy.optimize import curve_fit
logger = logging.getLogger('evol.mic')
def compute_mic(values, threshold=0.3, normalise=None):
"""Compute MIC
Args:
values (pandas.Series)
... | 33.613793 | 81 | 0.492614 | 1,251 | 9,748 | 3.830536 | 0.147882 | 0.074082 | 0.084725 | 0.121035 | 0.804674 | 0.803422 | 0.743531 | 0.725167 | 0.702629 | 0.701377 | 0 | 0.024731 | 0.398543 | 9,748 | 289 | 82 | 33.730104 | 0.792598 | 0.352277 | 0 | 0.639752 | 0 | 0 | 0.050118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031056 | false | 0 | 0.031056 | 0 | 0.15528 | 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 |
74f20f729f6077499143dc55325a5aa4dfdd6367 | 159 | py | Python | python/inherit2.py | robotlightsyou/test | 015f13943fc402d8ce86c5f6d2f5a7d032b3340a | [
"MIT"
] | 2 | 2019-05-26T15:09:34.000Z | 2021-09-12T08:01:23.000Z | python/inherit2.py | robotlightsyou/test | 015f13943fc402d8ce86c5f6d2f5a7d032b3340a | [
"MIT"
] | null | null | null | python/inherit2.py | robotlightsyou/test | 015f13943fc402d8ce86c5f6d2f5a7d032b3340a | [
"MIT"
] | 1 | 2021-04-11T20:28:21.000Z | 2021-04-11T20:28:21.000Z | class Parent1:
def __call__(self):
return 'parent1'
class Parent2:
def foo(self):
return 'parent2'
class Child1(Parent1):
pass
| 12.230769 | 24 | 0.610063 | 18 | 159 | 5.166667 | 0.555556 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.295597 | 159 | 12 | 25 | 13.25 | 0.776786 | 0 | 0 | 0 | 0 | 0 | 0.08805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
2d3f0b588d0bc091eff58855e32335882dd9588b | 163 | py | Python | src/pulseio.py | MatthewWilkes/Adafruit_Blinka | 81790ff48cfc2a68f198997d71313384c661bb3d | [
"MIT"
] | null | null | null | src/pulseio.py | MatthewWilkes/Adafruit_Blinka | 81790ff48cfc2a68f198997d71313384c661bb3d | [
"MIT"
] | null | null | null | src/pulseio.py | MatthewWilkes/Adafruit_Blinka | 81790ff48cfc2a68f198997d71313384c661bb3d | [
"MIT"
] | null | null | null | from adafruit_blinka.agnostic import detector
if detector.board.any_raspberry_pi:
from adafruit_blinka.microcontroller.bcm283x.pulseio.PulseIn import PulseIn
| 32.6 | 79 | 0.858896 | 21 | 163 | 6.47619 | 0.714286 | 0.176471 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.092025 | 163 | 4 | 80 | 40.75 | 0.898649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d452bbaad110ccfc7a3b545b00510df6698d8b2 | 526,072 | py | Python | src/acetime/zonedb/zone_infos.py | bxparks/AceTimePython | d4eae67aa2fce307a3a683ca6e85e488383ec471 | [
"MIT"
] | 1 | 2021-09-09T06:31:41.000Z | 2021-09-09T06:31:41.000Z | src/acetime/zonedb/zone_infos.py | bxparks/AceTimePython | d4eae67aa2fce307a3a683ca6e85e488383ec471 | [
"MIT"
] | null | null | null | src/acetime/zonedb/zone_infos.py | bxparks/AceTimePython | d4eae67aa2fce307a3a683ca6e85e488383ec471 | [
"MIT"
] | null | null | null | # This file was generated by the following script:
#
# $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
# --input_dir /home/brian/dev/tz
# --output_dir /home/brian/src/AceTimePython/src/acetime/zonedb
# --tz_version 2021e
# --action zonedb
# --language python
# --scope extended
# ... | 27.121307 | 77 | 0.461178 | 52,559 | 526,072 | 4.290911 | 0.018855 | 0.06456 | 0.079977 | 0.082607 | 0.812762 | 0.766093 | 0.720857 | 0.700004 | 0.677292 | 0.660718 | 0 | 0.07504 | 0.299128 | 526,072 | 19,396 | 78 | 27.122706 | 0.536624 | 0.24701 | 0 | 0.657664 | 1 | 0 | 0.34652 | 0.00237 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000203 | 0 | 0.000203 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
776ced13ccc6519dcd5ebbc368fbb64d53643005 | 229 | py | Python | src/torchprune/torchprune/method/base_sens/__init__.py | dani3l125/torchprune | f2589ec7514bd531ddaa7da3aed6388bb13712d3 | [
"MIT"
] | 74 | 2021-03-05T01:25:00.000Z | 2022-03-26T06:15:32.000Z | src/torchprune/torchprune/method/base_sens/__init__.py | dani3l125/torchprune | f2589ec7514bd531ddaa7da3aed6388bb13712d3 | [
"MIT"
] | 4 | 2021-05-25T06:01:22.000Z | 2022-01-24T22:38:09.000Z | src/torchprune/torchprune/method/base_sens/__init__.py | dani3l125/torchprune | f2589ec7514bd531ddaa7da3aed6388bb13712d3 | [
"MIT"
] | 7 | 2021-03-24T14:14:32.000Z | 2022-02-19T17:27:56.000Z | # flake8: noqa: F403,F401
"""Base package containing abstract specialization for sensitivity."""
from .base_sens_net import BaseSensNet
from .base_sens_pruner import BaseSensPruner
from .base_sens_tracker import BaseSensTracker
| 32.714286 | 70 | 0.834061 | 29 | 229 | 6.37931 | 0.689655 | 0.12973 | 0.194595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034146 | 0.104803 | 229 | 6 | 71 | 38.166667 | 0.868293 | 0.388646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77a1f33678d776bd69bad59488bb678db485362a | 419 | py | Python | my_happy_pandas/core/reshape/api.py | ggservice007/my-happy-pandas | 63145d54e452177f7d5b2fc8fdbc1fdf37dd5b16 | [
"Apache-2.0"
] | null | null | null | my_happy_pandas/core/reshape/api.py | ggservice007/my-happy-pandas | 63145d54e452177f7d5b2fc8fdbc1fdf37dd5b16 | [
"Apache-2.0"
] | null | null | null | my_happy_pandas/core/reshape/api.py | ggservice007/my-happy-pandas | 63145d54e452177f7d5b2fc8fdbc1fdf37dd5b16 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from my_happy_pandas.core.reshape.concat import concat
from my_happy_pandas.core.reshape.melt import lreshape, melt, wide_to_long
from my_happy_pandas.core.reshape.merge import merge, merge_asof, merge_ordered
from my_happy_pandas.core.reshape.pivot import crosstab, pivot, pivot_table
from my_happy_pand... | 46.555556 | 79 | 0.852029 | 69 | 419 | 4.913043 | 0.376812 | 0.106195 | 0.19469 | 0.300885 | 0.495575 | 0.495575 | 0 | 0 | 0 | 0 | 0 | 0.002604 | 0.083532 | 419 | 8 | 80 | 52.375 | 0.880208 | 0.02864 | 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 |
77ad6972bae9bf6bbf1d16a1e3dc613e7be417a9 | 77 | py | Python | test/settings/test_kafka_producer_config.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | test/settings/test_kafka_producer_config.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | test/settings/test_kafka_producer_config.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | import unittest
class TestKafkaProducerConfig(unittest.TestCase):
pass
| 12.833333 | 49 | 0.805195 | 7 | 77 | 8.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 5 | 50 | 15.4 | 0.939394 | 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 |
77ff8ecbb44e45afe9d42e6d5c6c78830af2d923 | 186 | py | Python | mydemoapp/admin.py | Kartik-CR7/MyDemoProject | 6415b70ca8279964fc96fa4df2ee320a915f6e25 | [
"bzip2-1.0.6"
] | null | null | null | mydemoapp/admin.py | Kartik-CR7/MyDemoProject | 6415b70ca8279964fc96fa4df2ee320a915f6e25 | [
"bzip2-1.0.6"
] | 8 | 2021-03-19T04:46:59.000Z | 2022-03-12T00:10:00.000Z | mydemoapp/admin.py | Kartik-CR7/MyDemoProject | 6415b70ca8279964fc96fa4df2ee320a915f6e25 | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from mydemoapp.models import Like,BT_Contact,BT_Imageupload
admin.site.register(Like)
admin.site.register(BT_Contact)
admin.site.register(BT_Imageupload) | 37.2 | 59 | 0.860215 | 28 | 186 | 5.571429 | 0.464286 | 0.173077 | 0.326923 | 0.24359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 186 | 5 | 60 | 37.2 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bb1bc1393e67c2415015bf11265c0d3a06cf921d | 94 | py | Python | server/__init__.py | grsakea/pyt | af8696e5b25c4f60008780e2b9ae1efa74aaec20 | [
"MIT"
] | 1 | 2015-05-05T05:01:32.000Z | 2015-05-05T05:01:32.000Z | server/__init__.py | grsakea/pyt | af8696e5b25c4f60008780e2b9ae1efa74aaec20 | [
"MIT"
] | null | null | null | server/__init__.py | grsakea/pyt | af8696e5b25c4f60008780e2b9ae1efa74aaec20 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from server.server import startServer
def main():
startServer()
| 11.75 | 37 | 0.712766 | 12 | 94 | 5.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.170213 | 94 | 7 | 38 | 13.428571 | 0.846154 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb5d6831406e3877ca88687211a3376e70fe7c62 | 2,292 | py | Python | tests/test_flask_restx_proxy.py | Colin-b/layab | 1b700f2681b39f77f35be56564990d6e3fe982d3 | [
"MIT"
] | 3 | 2019-11-29T18:39:51.000Z | 2019-12-14T22:22:52.000Z | tests/test_flask_restx_proxy.py | Colin-b/layab | 1b700f2681b39f77f35be56564990d6e3fe982d3 | [
"MIT"
] | 4 | 2019-11-29T14:10:28.000Z | 2020-10-09T13:25:09.000Z | tests/test_flask_restx_proxy.py | Colin-b/layab | 1b700f2681b39f77f35be56564990d6e3fe982d3 | [
"MIT"
] | null | null | null | import flask
from layab.flask_restx import enrich_flask
def test_default():
app = flask.Flask(__name__)
enrich_flask(app, cors=False, compress_mimetypes=None, reverse_proxy=True)
@app.route("/proxy")
def proxy():
return flask.jsonify(
{"scheme": flask.request.scheme, "client": fla... | 31.39726 | 87 | 0.630017 | 275 | 2,292 | 5.036364 | 0.181818 | 0.069314 | 0.037545 | 0.049097 | 0.935018 | 0.935018 | 0.898917 | 0.898917 | 0.898917 | 0.898917 | 0 | 0.013498 | 0.224258 | 2,292 | 72 | 88 | 31.833333 | 0.765467 | 0 | 0 | 0.571429 | 0 | 0 | 0.136998 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.035714 | 0.071429 | 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 |
249e44af6c450931633570b57e89134dabc29457 | 40 | py | Python | context_paper/dataloader/__init__.py | peternara/Fashion-AI-compatibility- | 14487fea9459eb2ff2e57c76d2941a274400c42b | [
"Apache-2.0"
] | 3 | 2020-06-29T08:27:40.000Z | 2022-03-13T00:41:41.000Z | context_paper/dataloader/__init__.py | peternara/Fashion-AI-compatibility- | 14487fea9459eb2ff2e57c76d2941a274400c42b | [
"Apache-2.0"
] | 1 | 2020-12-22T16:34:25.000Z | 2020-12-22T16:34:25.000Z | context_paper/dataloader/__init__.py | peternara/Fashion-AI-compatibility- | 14487fea9459eb2ff2e57c76d2941a274400c42b | [
"Apache-2.0"
] | 4 | 2020-04-08T02:53:01.000Z | 2021-06-03T14:00:19.000Z | from .polyvore import DataLoaderPolyvore | 40 | 40 | 0.9 | 4 | 40 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24c9bf2d07c8b152abfaf569b53dde8ca2c41ccb | 93 | py | Python | testapps/test_pillowtop/tests/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | testapps/test_pillowtop/tests/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | testapps/test_pillowtop/tests/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | from .test_changes import *
from .test_require_elastic import *
from .test_settings import *
| 23.25 | 35 | 0.806452 | 13 | 93 | 5.461538 | 0.538462 | 0.338028 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 3 | 36 | 31 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
24d0e75389d3523ffa061ee5ef3d33e48ae6f370 | 205 | py | Python | l10n_thai_app/l10n_thai_app/doctype/th_vat_settings/th_vat_settings.py | ecosoft-odoo/l10n_thai_app | adcef3bf4dc352cba9849e08c9abdce96c5d6a5f | [
"MIT"
] | 1 | 2022-01-31T09:27:42.000Z | 2022-01-31T09:27:42.000Z | l10n_thai_app/l10n_thai_app/doctype/th_vat_settings/th_vat_settings.py | ecosoft-odoo/l10n_thai_app | adcef3bf4dc352cba9849e08c9abdce96c5d6a5f | [
"MIT"
] | null | null | null | l10n_thai_app/l10n_thai_app/doctype/th_vat_settings/th_vat_settings.py | ecosoft-odoo/l10n_thai_app | adcef3bf4dc352cba9849e08c9abdce96c5d6a5f | [
"MIT"
] | 1 | 2022-01-31T09:27:47.000Z | 2022-01-31T09:27:47.000Z | # Copyright (c) 2022, Ecosoft Co., Ltd. and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class THVATSettings(Document):
pass
| 22.777778 | 56 | 0.780488 | 27 | 205 | 5.925926 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.141463 | 205 | 8 | 57 | 25.625 | 0.886364 | 0.565854 | 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 |
7073a3a20874472216a9a68771ca190aefcf14c9 | 58,587 | py | Python | change-header.py | Hugo-Gao/Linux-tools | 8ba51927693599993bff651539ddcd4e2214106f | [
"Apache-2.0"
] | null | null | null | change-header.py | Hugo-Gao/Linux-tools | 8ba51927693599993bff651539ddcd4e2214106f | [
"Apache-2.0"
] | null | null | null | change-header.py | Hugo-Gao/Linux-tools | 8ba51927693599993bff651539ddcd4e2214106f | [
"Apache-2.0"
] | null | null | null | from bs4 import BeautifulSoup
import os
import html
headStr = '''<meta charset="utf-8"><meta name="Keywords" content="极客时间,极客邦,极客邦科技,极客邦控股,极客时间App,专栏订阅,极客新闻,二叉树,极客Live,QCon,左耳听风,AI技术内参,大航海时代,陈皓,徐飞,洪亮劼,霍泰稳,池建强,Selina,Gary,InfoQ,极客搜索"><meta name="description" content="极客时间是极客邦科技出品的一款 IT 内容知识服务 App,内容包含专栏订阅、极客新闻、热点专题、直播、... | 1,010.12069 | 55,428 | 0.897656 | 4,557 | 58,587 | 11.535659 | 0.314242 | 0.01558 | 0.018148 | 0.008751 | 0.218479 | 0.195651 | 0.171816 | 0.153477 | 0.142102 | 0.138145 | 0 | 0.106489 | 0.013279 | 58,587 | 57 | 55,429 | 1,027.842105 | 0.802851 | 0.000597 | 0 | 0 | 0 | 0.152174 | 0.987754 | 0.926524 | 0 | 1 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.065217 | 0 | 0.152174 | 0.021739 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
707993ede4d173556ae00fbe98e1112654ea65f6 | 566 | py | Python | octicons16px/share.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/share.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/share.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_SHARE = """
<svg class="octicon octicon-share" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.823.177L4.927 3.073a.25.25 0 00.177.427H7.25v5.75a.75.75 0 001.5 0V3.5h2.146a.25.25 0 00.177-.427L8.177.177a.25.25 0 00-.354 0zM3.75 6.5a.25.25 0 00-.25.2... | 113.2 | 540 | 0.671378 | 146 | 566 | 2.59589 | 0.479452 | 0.073879 | 0.079156 | 0.110818 | 0.192612 | 0.092348 | 0.063325 | 0 | 0 | 0 | 0 | 0.476378 | 0.102474 | 566 | 4 | 541 | 141.5 | 0.269685 | 0 | 0 | 0 | 0 | 0.333333 | 0.959292 | 0.223009 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
707af883285b76afd6406529b897f2c3a018e3df | 345 | py | Python | runnose.py | wilsonify/fwrap | f2e20eb55eaa3de72905e2ef28198da00eebe262 | [
"BSD-3-Clause"
] | 23 | 2015-02-25T00:24:15.000Z | 2021-09-08T01:35:45.000Z | runnose.py | fwrap/fwrap | 61a56f2d0050096b4973d88e5f11cfac2ef01a4b | [
"BSD-3-Clause"
] | 1 | 2021-09-08T01:45:02.000Z | 2021-09-08T01:45:02.000Z | runnose.py | fwrap/fwrap | 61a56f2d0050096b4973d88e5f11cfac2ef01a4b | [
"BSD-3-Clause"
] | 4 | 2015-03-22T01:33:39.000Z | 2021-09-09T15:25:44.000Z | #------------------------------------------------------------------------------
# Copyright (c) 2010, Kurt W. Smith
# All rights reserved. See LICENSE.txt.
#------------------------------------------------------------------------------
from subprocess import call
import sys
call(("%s/bin/nosetests -s fwrap/tests" % s... | 34.5 | 79 | 0.388406 | 29 | 345 | 4.586207 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012618 | 0.081159 | 345 | 9 | 80 | 38.333333 | 0.40694 | 0.66087 | 0 | 0 | 0 | 0 | 0.274336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
709cdf42a50a770c9db4d28b77df3c2e563f09ba | 15,286 | py | Python | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/junipernetworks/junos/tests/unit/modules/network/junos/test_junos_bgp_global.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/junipernetworks/junos/tests/unit/modules/network/junos/test_junos_bgp_global.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/junipernetworks/junos/tests/unit/modules/network/junos/test_junos_bgp_global.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#############################################
# WARNING #
#############################################
#
# This file is auto generated by th... | 48.22082 | 140 | 0.611082 | 1,701 | 15,286 | 5.329218 | 0.148148 | 0.136349 | 0.159073 | 0.024379 | 0.834197 | 0.802648 | 0.778047 | 0.746608 | 0.746608 | 0.74032 | 0 | 0.005283 | 0.244668 | 15,286 | 316 | 141 | 48.373418 | 0.779837 | 0.030616 | 0 | 0.492537 | 0 | 0.175373 | 0.463411 | 0.3457 | 0 | 0 | 0 | 0 | 0.014925 | 1 | 0.044776 | false | 0.007463 | 0.026119 | 0 | 0.078358 | 0.003731 | 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 |
563b995c2013d01bafe07f42aee73b3797389734 | 46 | py | Python | tests/helpers/empty_tester.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | 9 | 2015-06-06T06:15:12.000Z | 2020-05-27T21:37:16.000Z | tests/helpers/empty_tester.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | null | null | null | tests/helpers/empty_tester.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | 3 | 2018-11-17T22:51:45.000Z | 2021-01-22T14:07:48.000Z | from grader import *
@test
def empty(m): pass | 11.5 | 20 | 0.717391 | 8 | 46 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 4 | 21 | 11.5 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
56414c58dd0778f5f8f83381a63b893e4b81690a | 95 | py | Python | mailgun2/__init__.py | albertyw/python-mailgun2 | 50d4c9dd02064f4497b6bc06ee948986c09e4e3f | [
"Apache-2.0"
] | 5 | 2016-03-05T09:29:36.000Z | 2021-04-09T13:29:24.000Z | mailgun2/__init__.py | albertyw/python-mailgun2 | 50d4c9dd02064f4497b6bc06ee948986c09e4e3f | [
"Apache-2.0"
] | 12 | 2016-03-05T08:25:19.000Z | 2018-05-21T02:32:01.000Z | mailgun2/__init__.py | albertyw/python-mailgun2 | 50d4c9dd02064f4497b6bc06ee948986c09e4e3f | [
"Apache-2.0"
] | 3 | 2016-04-19T05:46:50.000Z | 2017-07-05T16:22:04.000Z | from .__version__ import __version__ # noqa: F401
from .mailgun import Mailgun # noqa: F401
| 23.75 | 50 | 0.757895 | 12 | 95 | 5.333333 | 0.5 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.178947 | 95 | 3 | 51 | 31.666667 | 0.74359 | 0.221053 | 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 |
56993f235e1fe9ec81ff86bf79281c8836b01355 | 155 | py | Python | Python/7 kyu/Descending Order/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | 1 | 2020-01-09T21:47:56.000Z | 2020-01-09T21:47:56.000Z | Python/7 kyu/Descending Order/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | 1 | 2020-01-20T12:39:03.000Z | 2020-01-20T12:39:03.000Z | Python/7 kyu/Descending Order/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | null | null | null | # [7 kyu] Descending Order
#
# Author: Hsins
# Date: 2019/12/31
def descending_order(num):
return int("".join(sorted(str(num), reverse=True)))
| 17.222222 | 55 | 0.645161 | 22 | 155 | 4.5 | 0.863636 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.187097 | 155 | 8 | 56 | 19.375 | 0.714286 | 0.393548 | 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 |
3b606cbf643385963a0ad9eec8be2552382d117c | 26,913 | py | Python | hio-yocto-bsp/sources/poky/bitbake/lib/toaster/orm/migrations/0001_initial.py | qiangzai00001/hio-prj | 060ff97fe21093b1369db78109d5b730b2b181c8 | [
"MIT"
] | null | null | null | hio-yocto-bsp/sources/poky/bitbake/lib/toaster/orm/migrations/0001_initial.py | qiangzai00001/hio-prj | 060ff97fe21093b1369db78109d5b730b2b181c8 | [
"MIT"
] | null | null | null | hio-yocto-bsp/sources/poky/bitbake/lib/toaster/orm/migrations/0001_initial.py | qiangzai00001/hio-prj | 060ff97fe21093b1369db78109d5b730b2b181c8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Build'
db.create_table(u'orm_build', (
(u'id'... | 67.2825 | 159 | 0.598633 | 3,126 | 26,913 | 5.012476 | 0.049584 | 0.111813 | 0.19478 | 0.278256 | 0.862659 | 0.832344 | 0.778671 | 0.725573 | 0.67892 | 0.592252 | 0 | 0.012975 | 0.186713 | 26,913 | 400 | 160 | 67.2825 | 0.702897 | 0.031992 | 0 | 0.195195 | 0 | 0 | 0.512086 | 0.326083 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006006 | false | 0 | 0.012012 | 0 | 0.027027 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b83bdfe7c9e9ea7d87363972773d66362900ef3 | 26,669 | py | Python | tests/model/test_dataset.py | laughingman7743/BigQuery-DatasetManager | df5282a6e871fc434f51edede0b7140883332344 | [
"MIT"
] | 7 | 2017-10-16T13:56:58.000Z | 2020-09-02T14:58:27.000Z | tests/model/test_dataset.py | laughingman7743/BigQuery-DatasetManager | df5282a6e871fc434f51edede0b7140883332344 | [
"MIT"
] | 19 | 2017-10-23T13:35:05.000Z | 2018-07-01T14:32:26.000Z | tests/model/test_dataset.py | laughingman7743/BigQuery-DatasetManager | df5282a6e871fc434f51edede0b7140883332344 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import unittest
from google.cloud.bigquery import AccessEntry
from bqdm.model.dataset import BigQueryAccessEntry, BigQueryDataset
from tests.util import make_dataset
class TestBigQueryAccessEntry(unittest.TestCase):
def test_eq(self):
acce... | 35.990553 | 95 | 0.555101 | 2,303 | 26,669 | 6.070343 | 0.040816 | 0.067811 | 0.072103 | 0.08412 | 0.897639 | 0.853791 | 0.809728 | 0.798856 | 0.77382 | 0.758798 | 0 | 0.045559 | 0.349807 | 26,669 | 740 | 96 | 36.039189 | 0.760669 | 0.000787 | 0 | 0.664765 | 0 | 0 | 0.146889 | 0.00608 | 0 | 0 | 0 | 0 | 0.084165 | 1 | 0.011412 | false | 0 | 0.007133 | 0 | 0.021398 | 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 |
3b90c8e13a56dcae739a2c3aa841f29ad0decf06 | 40 | py | Python | linkedrw/linkedw/__init__.py | CypherAk007/LinkedRW | 167b8423f7229fff04ea2cbef6c29cb2ce01fb08 | [
"MIT"
] | 114 | 2019-05-27T13:43:14.000Z | 2021-11-30T02:29:01.000Z | linkedrw/linkedw/__init__.py | CypherAk007/LinkedRW | 167b8423f7229fff04ea2cbef6c29cb2ce01fb08 | [
"MIT"
] | 18 | 2019-06-02T15:22:15.000Z | 2020-10-03T03:54:06.000Z | linkedrw/linkedw/__init__.py | CypherAk007/LinkedRW | 167b8423f7229fff04ea2cbef6c29cb2ce01fb08 | [
"MIT"
] | 16 | 2019-05-28T08:28:47.000Z | 2021-08-02T09:25:55.000Z | from .website import make_website_files
| 20 | 39 | 0.875 | 6 | 40 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 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 |
8e8e98d541bf3cd3776ccb413273e1a33bc8ebaa | 262 | py | Python | intervention/windows.py | deepettas/intervention | 6bf6e77c58abc66bc434a986a1dc18313cb5d3ba | [
"MIT"
] | 4 | 2015-05-07T16:04:49.000Z | 2021-07-12T14:06:05.000Z | intervention/windows.py | deepettas/intervention | 6bf6e77c58abc66bc434a986a1dc18313cb5d3ba | [
"MIT"
] | 9 | 2015-03-21T07:24:54.000Z | 2015-05-22T17:27:49.000Z | intervention/windows.py | deepettas/intervention | 6bf6e77c58abc66bc434a986a1dc18313cb5d3ba | [
"MIT"
] | 2 | 2015-05-08T11:47:51.000Z | 2019-09-29T12:49:32.000Z | import win32api
# TODO: probably possible via:
# widget.setCursor(Qt.BlankCursor)
# widget.unsetCursor()
def hide_cursor():
pass
def show_cursor():
pass
def get_idle_time():
return (win32api.GetTickCount() - win32api.GetLastInputInfo()) / 1000
| 15.411765 | 73 | 0.717557 | 30 | 262 | 6.133333 | 0.766667 | 0.108696 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045662 | 0.164122 | 262 | 16 | 74 | 16.375 | 0.794521 | 0.312977 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.428571 | true | 0.285714 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
8eb0b4b74db93c1ddf03f0ccd295c8970a3f4c62 | 179 | py | Python | src/_shims/django/sl_handler.py | lyk082401/tencent-framework-components | 97c001520604ea54a3ee8e78c177dc421942dc8c | [
"MIT"
] | 25 | 2021-03-18T09:21:47.000Z | 2022-03-28T01:18:06.000Z | src/_shims/django/sl_handler.py | lyk082401/tencent-framework-components | 97c001520604ea54a3ee8e78c177dc421942dc8c | [
"MIT"
] | 12 | 2020-11-10T11:49:54.000Z | 2021-02-01T11:27:37.000Z | src/_shims/django/sl_handler.py | lyk082401/tencent-framework-components | 97c001520604ea54a3ee8e78c177dc421942dc8c | [
"MIT"
] | 5 | 2021-04-03T07:24:28.000Z | 2022-02-20T04:11:30.000Z | import serverless_wsgi
import {{django_project}}.wsgi
def handler(event, context):
return serverless_wsgi.handle_request({{django_project}}.wsgi.application, event, context)
| 29.833333 | 94 | 0.798883 | 22 | 179 | 6.272727 | 0.590909 | 0.202899 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 179 | 5 | 95 | 35.8 | 0.846626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | 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 |
8eb89012df1da12ab1c8f89eeeda553104c49abb | 785 | py | Python | venv/Lib/site-packages/IPython/lib/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | venv/Lib/site-packages/IPython/lib/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | venv/Lib/site-packages/IPython/lib/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | # encoding: utf-8
"""
Extra capabilities for IPython
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this ... | 35.681818 | 78 | 0.29172 | 45 | 785 | 5.088889 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.082803 | 785 | 21 | 79 | 37.380952 | 0.305556 | 0.900637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d92b2ae76f0747a22ce82e007d76e2ac710f28ce | 27 | py | Python | src/euler_python_package/euler_python/medium/p298.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p298.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p298.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem298():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d98790cb1f77740344be04d6d4d22209b3242940 | 10,119 | py | Python | Code/Chenglong/utils/xgb_utils.py | ChenglongChen/Kaggle_Homedepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 465 | 2016-04-27T13:17:36.000Z | 2020-05-15T11:05:13.000Z | Code/Chenglong/utils/xgb_utils.py | CharlotteSean/Kaggle_HomeDepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 1 | 2016-10-15T04:33:54.000Z | 2016-10-15T04:33:54.000Z | Code/Chenglong/utils/xgb_utils.py | CharlotteSean/Kaggle_HomeDepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 230 | 2016-04-30T06:35:17.000Z | 2019-12-04T08:23:22.000Z | # -*- coding: utf-8 -*-
"""
@author: Chenglong Chen <c.chenglong@gmail.com>
@brief: utils for XGBoost models
"""
import numpy as np
import matplotlib
matplotlib.use('Agg')
import xgboost as xgb
class XGBRegressor:
def __init__(self, booster='gbtree', base_score=0., colsample_bylevel=1.,
colsamp... | 41.134146 | 101 | 0.549066 | 1,206 | 10,119 | 4.359038 | 0.126866 | 0.063344 | 0.029675 | 0.022827 | 0.78657 | 0.784288 | 0.766026 | 0.760129 | 0.741297 | 0.741297 | 0 | 0.018934 | 0.326712 | 10,119 | 245 | 102 | 41.302041 | 0.752679 | 0.020457 | 0 | 0.7277 | 0 | 0.004695 | 0.13759 | 0.010405 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084507 | false | 0 | 0.042254 | 0.018779 | 0.201878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79473de28bb296633be3b8479f7f82aefaa21c94 | 413 | py | Python | python/schuelerpraktika/sascha_mueller/Aufgaben/Aufgabe8.py | maximilianharr/code_snippets | 8b271e6fa9174e24200e88be59e417abd5f2f59a | [
"BSD-3-Clause"
] | null | null | null | python/schuelerpraktika/sascha_mueller/Aufgaben/Aufgabe8.py | maximilianharr/code_snippets | 8b271e6fa9174e24200e88be59e417abd5f2f59a | [
"BSD-3-Clause"
] | null | null | null | python/schuelerpraktika/sascha_mueller/Aufgaben/Aufgabe8.py | maximilianharr/code_snippets | 8b271e6fa9174e24200e88be59e417abd5f2f59a | [
"BSD-3-Clause"
] | null | null | null | #-*- coding: utf-8 -*-
# @todo Auch importieren aus anderen Datei klassen.py
import time
import Printme
Printme.printme ("Max muss 50 Euro an Mr.X überweisen, weil er gegen ihn im Wetten\nin einem Online spiel verloren hat."); time.sleep(0.5)
print
Printme.printme ("Nun will er von seinen 100€ 50€ überweisen und zeig... | 34.416667 | 140 | 0.755448 | 71 | 413 | 4.422535 | 0.746479 | 0.133758 | 0.063694 | 0.070064 | 0.101911 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.1477 | 413 | 11 | 141 | 37.545455 | 0.852273 | 0.176755 | 0 | 0.285714 | 0 | 0.285714 | 0.60355 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0.571429 | 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 | 1 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7999e01b2c6da5ec9e67c12765d273dc86b186d7 | 29,590 | py | Python | python/src/nnabla/parametric_functions.py | PAC-P2P/nnabla | bb7e7d52555a5bc145ec3c9a2e152fa5b11574de | [
"Apache-2.0"
] | null | null | null | python/src/nnabla/parametric_functions.py | PAC-P2P/nnabla | bb7e7d52555a5bc145ec3c9a2e152fa5b11574de | [
"Apache-2.0"
] | null | null | null | python/src/nnabla/parametric_functions.py | PAC-P2P/nnabla | bb7e7d52555a5bc145ec3c9a2e152fa5b11574de | [
"Apache-2.0"
] | 1 | 2020-08-19T08:32:51.000Z | 2020-08-19T08:32:51.000Z | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 45.313936 | 218 | 0.661913 | 4,069 | 29,590 | 4.667732 | 0.117474 | 0.024851 | 0.019902 | 0.028432 | 0.758227 | 0.741273 | 0.727005 | 0.715 | 0.704839 | 0.699574 | 0 | 0.007877 | 0.236296 | 29,590 | 652 | 219 | 45.383436 | 0.832596 | 0.020514 | 0 | 0.593626 | 0 | 0 | 0.068461 | 0.009122 | 0 | 0 | 0 | 0 | 0.003984 | 0 | null | null | 0.003984 | 0.023904 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79a51ff2b9816a312884d34213d560a8719c266a | 47 | py | Python | connectors/python/pydob/__init__.py | pranavbaburaj/jodb | 1242a6235fd3e976b70e8fa4da83bf1108baed42 | [
"MIT"
] | 2 | 2021-03-29T18:30:48.000Z | 2021-04-10T17:44:34.000Z | connectors/python/pydob/__init__.py | pranavbaburaj/json-based-database | 1242a6235fd3e976b70e8fa4da83bf1108baed42 | [
"MIT"
] | null | null | null | connectors/python/pydob/__init__.py | pranavbaburaj/json-based-database | 1242a6235fd3e976b70e8fa4da83bf1108baed42 | [
"MIT"
] | null | null | null | from .table import PyDOB
import webbrowser
| 11.75 | 25 | 0.765957 | 6 | 47 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 3 | 26 | 15.666667 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79d11f4d2fccba42314dd205d832cdbf1854ad77 | 26 | py | Python | valueguard/__init__.py | Valueguard-Index-Sweden/valueguard-python-client | 88f2d486f0fce9bf6b3a35d0c2642640b3601432 | [
"Unlicense"
] | 1 | 2020-10-01T08:27:01.000Z | 2020-10-01T08:27:01.000Z | valueguard/__init__.py | Valueguard-Index-Sweden/valueguard-python-client | 88f2d486f0fce9bf6b3a35d0c2642640b3601432 | [
"Unlicense"
] | 1 | 2021-04-01T07:45:44.000Z | 2021-04-01T07:48:53.000Z | valueguard/__init__.py | Valueguard-Index-Sweden/valueguard-python-client | 88f2d486f0fce9bf6b3a35d0c2642640b3601432 | [
"Unlicense"
] | 1 | 2020-06-11T14:15:26.000Z | 2020-06-11T14:15:26.000Z | from .valueguard import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8dc2f72747057674cded8e35f68d16c2b485e6d2 | 594 | py | Python | tests/core/tests/__init__.py | speedplane/django-haystack | 4ace30aea6aa1b1708f79a5a9df20a00fa0b4d96 | [
"BSD-3-Clause"
] | 1 | 2017-10-12T14:25:06.000Z | 2017-10-12T14:25:06.000Z | tests/core/tests/__init__.py | speedplane/django-haystack | 4ace30aea6aa1b1708f79a5a9df20a00fa0b4d96 | [
"BSD-3-Clause"
] | 1 | 2016-08-03T18:01:43.000Z | 2016-08-03T18:03:00.000Z | tests/core/tests/__init__.py | speedplane/django-haystack | 4ace30aea6aa1b1708f79a5a9df20a00fa0b4d96 | [
"BSD-3-Clause"
] | null | null | null | import warnings
warnings.simplefilter('ignore', Warning)
from django.conf import settings
from core.tests.test_backends import *
from core.tests.test_fields import *
from core.tests.test_forms import *
from core.tests.test_indexes import *
from core.tests.test_inputs import *
from core.tests.test_loading import *
fro... | 31.263158 | 49 | 0.818182 | 90 | 594 | 5.244444 | 0.288889 | 0.220339 | 0.358051 | 0.46822 | 0.584746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104377 | 594 | 18 | 50 | 33 | 0.887218 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9375 | 0 | 0.9375 | 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 |
8ddbfe1c9df7b2faebb04d5ddec07fdbdb364168 | 162 | py | Python | rfhub/blueprints/__init__.py | datakurre/robotframework-hub | f3dc7562fe6218a7b8d7aac7b9ef234e1a573f7c | [
"Apache-2.0"
] | 156 | 2015-01-08T07:58:12.000Z | 2021-11-09T23:52:38.000Z | rfhub/blueprints/__init__.py | qause/robotframework-hub | ce9e6410c12e373cc3d62ba099ae112e613d0079 | [
"Apache-2.0"
] | 90 | 2019-09-04T17:52:10.000Z | 2021-07-01T14:01:08.000Z | rfhub/blueprints/__init__.py | fhumayun/robotframework-hub | f3dc7562fe6218a7b8d7aac7b9ef234e1a573f7c | [
"Apache-2.0"
] | 75 | 2015-01-09T01:06:28.000Z | 2022-03-16T13:49:04.000Z | from rfhub.blueprints.api import blueprint as api
from rfhub.blueprints.dashboard import blueprint as dashboard
from rfhub.blueprints.doc import blueprint as doc
| 40.5 | 61 | 0.851852 | 24 | 162 | 5.75 | 0.375 | 0.195652 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 162 | 3 | 62 | 54 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5c0ba973872dc2aa93b01e04652897f4aa80d3d4 | 33 | py | Python | tests/unit/io/custom_code.py | halotudio/openPNM-copy2 | d400ec65e9421256a531f6d22a38255b002d5dcb | [
"MIT"
] | 2 | 2019-08-24T09:17:40.000Z | 2020-07-05T07:21:21.000Z | tests/unit/io/custom_code.py | halotudio/openPNM-copy2 | d400ec65e9421256a531f6d22a38255b002d5dcb | [
"MIT"
] | 2 | 2020-06-26T19:58:23.000Z | 2021-12-14T07:16:41.000Z | tests/unit/io/custom_code.py | halotudio/openPNM-copy2 | d400ec65e9421256a531f6d22a38255b002d5dcb | [
"MIT"
] | null | null | null | def test(target):
return 1.0
| 11 | 17 | 0.636364 | 6 | 33 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.242424 | 33 | 2 | 18 | 16.5 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5c424f35b9b2b5f391c25d8f82079ce5f704c5e4 | 137 | py | Python | set1/challenge1_convert_hex_to_base64/s1c1.py | douglasnaphas/cryptopals-python | a81d390a213691864301985bc777e283c273301d | [
"Apache-2.0"
] | null | null | null | set1/challenge1_convert_hex_to_base64/s1c1.py | douglasnaphas/cryptopals-python | a81d390a213691864301985bc777e283c273301d | [
"Apache-2.0"
] | null | null | null | set1/challenge1_convert_hex_to_base64/s1c1.py | douglasnaphas/cryptopals-python | a81d390a213691864301985bc777e283c273301d | [
"Apache-2.0"
] | null | null | null | class S1C1():
@staticmethod
def ret_true():
return True
@staticmethod
def hex_to_base64(hx):
return "x"
| 15.222222 | 26 | 0.576642 | 16 | 137 | 4.75 | 0.75 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.328467 | 137 | 8 | 27 | 17.125 | 0.782609 | 0 | 0 | 0.285714 | 0 | 0 | 0.007299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 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 |
30e474eb07fea9e564f0278e2c569c6f57c1d711 | 143 | py | Python | peeringdb_server/client_adaptor/setup.py | CyberFlameGO/peeringdb | 83461deb58805fe1d83c5ff4276fa3bcb59a7323 | [
"BSD-2-Clause"
] | 224 | 2016-10-13T10:32:33.000Z | 2022-03-23T13:08:48.000Z | peeringdb_server/client_adaptor/setup.py | CyberFlameGO/peeringdb | 83461deb58805fe1d83c5ff4276fa3bcb59a7323 | [
"BSD-2-Clause"
] | 1,063 | 2016-06-07T02:57:11.000Z | 2022-03-31T00:08:07.000Z | peeringdb_server/client_adaptor/setup.py | CyberFlameGO/peeringdb | 83461deb58805fe1d83c5ff4276fa3bcb59a7323 | [
"BSD-2-Clause"
] | 92 | 2016-10-22T14:59:40.000Z | 2022-03-26T11:30:12.000Z | """
django-peeringdb backend setup (needed for pdb_load_data command)
"""
from django_peeringdb.client_adaptor.setup import configure # noqa
| 23.833333 | 67 | 0.797203 | 19 | 143 | 5.789474 | 0.842105 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 143 | 5 | 68 | 28.6 | 0.873016 | 0.496504 | 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 |
eb5e516f306865c17f90021e75f1b633ba2b60f2 | 74 | py | Python | pure_sklearn/ensemble/tests/test_import.py | ashetty1-m/pure-predict | 05a0f105fb43532af1a0713dc34b26574d51b563 | [
"Apache-2.0"
] | 62 | 2020-02-14T15:54:12.000Z | 2021-11-23T14:12:32.000Z | pure_sklearn/ensemble/tests/test_import.py | ashetty1-m/pure-predict | 05a0f105fb43532af1a0713dc34b26574d51b563 | [
"Apache-2.0"
] | 9 | 2020-04-05T16:19:33.000Z | 2022-02-08T14:54:56.000Z | pure_sklearn/ensemble/tests/test_import.py | ashetty1-m/pure-predict | 05a0f105fb43532af1a0713dc34b26574d51b563 | [
"Apache-2.0"
] | 5 | 2021-02-26T14:04:17.000Z | 2022-02-10T23:06:16.000Z | def test_import():
from pure_sklearn import ensemble
assert True
| 14.8 | 37 | 0.72973 | 10 | 74 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22973 | 74 | 4 | 38 | 18.5 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb77dd3363c2cb7ef642a98b6e429ece00ac81e7 | 211 | py | Python | python/hard_python/robot/539/ex.py | ii6uu99/ipynb | d924a6926838ca5e563620cd324368a07d2c2521 | [
"MIT"
] | 1 | 2021-01-27T09:01:33.000Z | 2021-01-27T09:01:33.000Z | python/hard_python/robot/539/ex.py | ii6uu99/ipynb | d924a6926838ca5e563620cd324368a07d2c2521 | [
"MIT"
] | null | null | null | python/hard_python/robot/539/ex.py | ii6uu99/ipynb | d924a6926838ca5e563620cd324368a07d2c2521 | [
"MIT"
] | 1 | 2021-01-26T13:22:21.000Z | 2021-01-26T13:22:21.000Z | #作业:实现一个闰年的函数
def run_nian(year):
return (year%4==0 and year%100!=0) or year%400==0
#断言: 4个测试用例
assert run_nian(2004)==True
assert run_nian(2005)==False
assert run_nian(2000)==True
assert run_nian(2100)==False | 23.444444 | 50 | 0.744076 | 40 | 211 | 3.8 | 0.55 | 0.230263 | 0.342105 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141361 | 0.094787 | 211 | 9 | 51 | 23.444444 | 0.65445 | 0.104265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
eb8a93a1c4bbd8b679284037893fbfb3f704974a | 76 | py | Python | sample-apps/oauth-app/src/routes/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 1 | 2020-11-12T08:46:32.000Z | 2020-11-12T08:46:32.000Z | sample-apps/oauth-app/src/routes/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | null | null | null | sample-apps/oauth-app/src/routes/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | null | null | null | from .oauth import module as oauth
from .contacts import module as contacts
| 25.333333 | 40 | 0.815789 | 12 | 76 | 5.166667 | 0.5 | 0.387097 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 2 | 41 | 38 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
693c1266a8be51ade67ce4e55adb1880359dbe77 | 2,512 | py | Python | dlcli/api/agents.py | outlyerapp/dlcli | 57458b7346a9b9c92cf99628f6c051589a9edb27 | [
"Apache-2.0"
] | 1 | 2017-12-06T11:07:48.000Z | 2017-12-06T11:07:48.000Z | dlcli/api/agents.py | outlyerapp/dlcli | 57458b7346a9b9c92cf99628f6c051589a9edb27 | [
"Apache-2.0"
] | 1 | 2020-02-22T20:29:15.000Z | 2020-02-22T20:29:15.000Z | dlcli/api/agents.py | outlyerapp/dlcli | 57458b7346a9b9c92cf99628f6c051589a9edb27 | [
"Apache-2.0"
] | null | null | null | import logging
import utils
from wrapper import *
logger = logging.getLogger(__name__)
# noinspection PyUnusedLocal
def get_agents(url='', org='', account='', key='', timeout=60, **kwargs):
return get(utils.build_api_url(url, org, account,
endpoint='agents'),
hea... | 42.576271 | 100 | 0.565685 | 269 | 2,512 | 5.144981 | 0.163569 | 0.060694 | 0.12211 | 0.080925 | 0.82948 | 0.786127 | 0.760838 | 0.760838 | 0.760838 | 0.760838 | 0 | 0.006615 | 0.277866 | 2,512 | 58 | 101 | 43.310345 | 0.75634 | 0.064092 | 0 | 0.564103 | 0 | 0 | 0.083618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0.076923 | 0.384615 | 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 |
d69d3190dab354143415f4296f95c747b1ef7727 | 4,976 | py | Python | client/src/dolbyio_rest_apis/communications/remix.py | dolbyio-samples/dolbyio-rest-apis-client-python | 37354dc10f967c4656776f9e2651a2284a11f530 | [
"MIT"
] | 1 | 2021-12-23T17:55:06.000Z | 2021-12-23T17:55:06.000Z | client/src/dolbyio_rest_apis/communications/remix.py | dolbyio-samples/dolbyio-rest-apis-client-python | 37354dc10f967c4656776f9e2651a2284a11f530 | [
"MIT"
] | null | null | null | client/src/dolbyio_rest_apis/communications/remix.py | dolbyio-samples/dolbyio-rest-apis-client-python | 37354dc10f967c4656776f9e2651a2284a11f530 | [
"MIT"
] | null | null | null | """
dolbyio_rest_apis.communications.remix
~~~~~~~~~~~~~~~
This module contains the functions to work with the remix API.
"""
from deprecated import deprecated
from dolbyio_rest_apis.communications.internal.http_context import CommunicationsHttpContext
from dolbyio_rest_apis.communications.internal.urls import get_ap... | 33.395973 | 121 | 0.699759 | 622 | 4,976 | 5.456592 | 0.191318 | 0.042428 | 0.037124 | 0.044196 | 0.896288 | 0.896288 | 0.872127 | 0.872127 | 0.865645 | 0.865645 | 0 | 0.00182 | 0.226889 | 4,976 | 148 | 122 | 33.621622 | 0.880426 | 0.023714 | 0 | 0.586207 | 0 | 0 | 0.192756 | 0.107374 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.137931 | 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 |
d6cd17f22e11ae389209ac7b552f16a52e356efa | 4,178 | py | Python | extensions/.stubs/clrclasses/System/Threading/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | extensions/.stubs/clrclasses/System/Threading/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | extensions/.stubs/clrclasses/System/Threading/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | import __clrclasses__.System.Threading.Tasks as Tasks
from __clrclasses__.System.Threading import AbandonedMutexException
from __clrclasses__.System.Threading import ApartmentState
from __clrclasses__.System.Threading import AsyncFlowControl
from __clrclasses__.System.Threading import AsyncLocal
from __clrclasses__.Sys... | 60.550725 | 77 | 0.902106 | 409 | 4,178 | 8.550122 | 0.180929 | 0.311124 | 0.486131 | 0.555619 | 0.670575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065103 | 4,178 | 68 | 78 | 61.441176 | 0.895289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ba7060078f8915ec135ac2a924b535a8630ed5a8 | 257,317 | py | Python | instances/passenger_demand/pas-20210422-1717-int8e-1/90.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/90.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/90.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 15271
passenger_arriving = (
(2, 7, 3, 3, 0, 1, 1, 1, 0, 0, 1, 1, 0, 9, 0, 3, 2, 3, 1, 2, 1, 1, 2, 0, 0, 0), # 0
(6, 4, 3, 2, 1, 2, 2, 2, 0, 0, 1, 0, 0, 7, 5, 3, 1, 2, 3, 1, 2, 1, 2, 0, 1, 0), # 1
(1, 4, 2, 4, 5, 3, 1, 1, 0, 1, 0, 0, 0, 9, 3, 2, 3, 3, 0, 1, 1, 0, 3, 0, 0, 0), ... | 275.205348 | 493 | 0.768674 | 32,987 | 257,317 | 5.995756 | 0.212053 | 0.360397 | 0.345835 | 0.655267 | 0.380778 | 0.372643 | 0.368037 | 0.366408 | 0.365867 | 0.365867 | 0 | 0.849172 | 0.096123 | 257,317 | 934 | 494 | 275.5 | 0.0012 | 0.015588 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba8f6e05418207e4075e32fbe088b22e1fb30e4b | 229 | py | Python | hyaml/methods/prelude/array.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | 3 | 2020-04-12T15:55:11.000Z | 2021-08-02T16:26:21.000Z | hyaml/methods/prelude/array.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | null | null | null | hyaml/methods/prelude/array.py | latera/hyaml | 4dc020434d25c182f8477ddd5582398e51501274 | [
"Apache-2.0"
] | null | null | null | from hyaml.methods.prelude.polymorphic import to_s
def map_join(array, separator=","):
return list(map(lambda pair: separator.join(pair), array))
def join(array, separator=""):
return separator.join(map(to_s, array))
| 22.9 | 62 | 0.724891 | 33 | 229 | 4.939394 | 0.515152 | 0.03681 | 0.220859 | 0.294479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131004 | 229 | 9 | 63 | 25.444444 | 0.819095 | 0 | 0 | 0 | 0 | 0 | 0.004367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bafe9525e79eab4ecccd1e73cdec310e8c19c8bd | 1,103 | py | Python | displayPoint.py | SquidwardPaul/Pointnet_Pointnet2_pytorch | d27c89e2a66750fb5af6ea0e6d3894e7cc3074dd | [
"MIT"
] | null | null | null | displayPoint.py | SquidwardPaul/Pointnet_Pointnet2_pytorch | d27c89e2a66750fb5af6ea0e6d3894e7cc3074dd | [
"MIT"
] | null | null | null | displayPoint.py | SquidwardPaul/Pointnet_Pointnet2_pytorch | d27c89e2a66750fb5af6ea0e6d3894e7cc3074dd | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
# 三维离散点图显示点云
def displayPoint1(data, title):
# 解决中文显示问题
plt.rcParams['font.sans-serif'] = ['SimHei']
plt.rcParams['axes.unicode_minus'] = False
# 点数量太多不予显示
while len(data[0]) > 20000:
print("点太多了!")
exit()
... | 25.068182 | 74 | 0.578422 | 148 | 1,103 | 4.236486 | 0.364865 | 0.063796 | 0.051037 | 0.076555 | 0.76874 | 0.76874 | 0.76874 | 0.76874 | 0.76874 | 0.76874 | 0 | 0.035129 | 0.225748 | 1,103 | 43 | 75 | 25.651163 | 0.699063 | 0.058024 | 0 | 0.83871 | 0 | 0 | 0.097182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.064516 | 0 | 0.129032 | 0.064516 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
246911f7de35fd9d39ee994474af4d9cc9d01ef2 | 41 | py | Python | PIP/Class Program/User Define Module Import/mainModule.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | 10 | 2021-04-24T11:46:48.000Z | 2022-01-17T05:14:37.000Z | PIP/Class Program/User Define Module Import/mainModule.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | 2 | 2021-06-28T11:51:50.000Z | 2021-11-01T08:21:53.000Z | PIP/Class Program/User Define Module Import/mainModule.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | 16 | 2021-04-24T11:46:58.000Z | 2022-03-02T05:08:19.000Z | import imortedModule as i
print('hello') | 20.5 | 26 | 0.780488 | 6 | 41 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 27 | 20.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 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 |
79f75e9ba7a11fafb92f7f50f0901c1e73f88392 | 16,094 | py | Python | tensorflow/contrib/learn/python/learn/estimators/head_test.py | jksk/tensorflow | 48fb73a1c94ee2409382225428063d3496dc651e | [
"Apache-2.0"
] | 2 | 2018-04-10T11:50:28.000Z | 2019-01-08T02:40:17.000Z | tensorflow/contrib/learn/python/learn/estimators/head_test.py | jksk/tensorflow | 48fb73a1c94ee2409382225428063d3496dc651e | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/learn/python/learn/estimators/head_test.py | jksk/tensorflow | 48fb73a1c94ee2409382225428063d3496dc651e | [
"Apache-2.0"
] | 6 | 2017-04-14T07:11:14.000Z | 2019-11-20T08:19:15.000Z | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 41.694301 | 80 | 0.618802 | 1,971 | 16,094 | 4.76966 | 0.119736 | 0.046165 | 0.06595 | 0.044676 | 0.77779 | 0.761834 | 0.737581 | 0.723859 | 0.710563 | 0.697054 | 0 | 0.022612 | 0.252579 | 16,094 | 385 | 81 | 41.802597 | 0.758916 | 0.084255 | 0 | 0.736334 | 0 | 0 | 0.053115 | 0.032848 | 0 | 0 | 0 | 0.002597 | 0.212219 | 1 | 0.083601 | false | 0 | 0.022508 | 0.003215 | 0.122187 | 0.003215 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0340c995c9af004ef8f1e661f362a0d0356c3236 | 31 | py | Python | unms/__init__.py | OrchardBroadband/station-monitor | db1d10d2d0ee8dcead4e936fb78a8a7915be5827 | [
"Unlicense"
] | null | null | null | unms/__init__.py | OrchardBroadband/station-monitor | db1d10d2d0ee8dcead4e936fb78a8a7915be5827 | [
"Unlicense"
] | null | null | null | unms/__init__.py | OrchardBroadband/station-monitor | db1d10d2d0ee8dcead4e936fb78a8a7915be5827 | [
"Unlicense"
] | null | null | null | from unms.client import Client
| 15.5 | 30 | 0.83871 | 5 | 31 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cee09a23499fa00b8c14b3fbd5cfa731ad90e2ea | 160 | py | Python | utils/__init__.py | daemonslayer/image-completion-inpainting | 944b47175866bd7cfc8339c3a475e4bcf1c72994 | [
"MIT"
] | null | null | null | utils/__init__.py | daemonslayer/image-completion-inpainting | 944b47175866bd7cfc8339c3a475e4bcf1c72994 | [
"MIT"
] | null | null | null | utils/__init__.py | daemonslayer/image-completion-inpainting | 944b47175866bd7cfc8339c3a475e4bcf1c72994 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .config import *
from .evaluator import *
from .meter import *
from .optim import *
from .trainer import *
from .visualizer import * | 20 | 25 | 0.73125 | 22 | 160 | 5.318182 | 0.545455 | 0.42735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 160 | 8 | 25 | 20 | 0.873134 | 0.125 | 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 |
cefab3c4ff9c5d087347aebcc19940c968c3f090 | 433 | py | Python | spongeauth/spongemime/test_spongemime.py | felixoi/SpongeAuth | d44ee52d0b35b2e1909c7bf6bad29aa7b4835b26 | [
"MIT"
] | 10 | 2016-11-18T12:37:24.000Z | 2022-03-04T09:25:25.000Z | spongeauth/spongemime/test_spongemime.py | felixoi/SpongeAuth | d44ee52d0b35b2e1909c7bf6bad29aa7b4835b26 | [
"MIT"
] | 794 | 2016-11-19T18:34:37.000Z | 2022-03-31T16:49:11.000Z | spongeauth/spongemime/test_spongemime.py | PowerNukkit/OreAuth | 96a2926c9601fce6fac471bdb997077f07e8bf9a | [
"MIT"
] | 11 | 2016-11-26T22:30:17.000Z | 2022-03-16T17:20:14.000Z | import spongemime
def test_mime2exts():
assert spongemime.mime2exts("image/png") == ["png"]
assert set(spongemime.mime2exts("image/jpeg")) == {"jpg", "jpeg", "jpe"}
assert set(spongemime.mime2exts("image/svg+xml")) == {"svg", "svgz"}
def test_ext2mime():
assert spongemime.ext2mime("png") == "image/p... | 30.928571 | 76 | 0.660508 | 50 | 433 | 5.68 | 0.32 | 0.225352 | 0.253521 | 0.197183 | 0.232394 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.140878 | 433 | 13 | 77 | 33.307692 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.210162 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.222222 | true | 0 | 0.111111 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
306a8c8056f7b25499a80f1337ded9dae628af5b | 31 | py | Python | ast/testdata/func_defaults.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 126 | 2019-07-19T14:42:41.000Z | 2022-03-21T22:22:19.000Z | ast/testdata/func_defaults.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 38 | 2019-08-28T01:46:31.000Z | 2022-03-17T05:46:51.000Z | ast/testdata/func_defaults.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 55 | 2019-08-02T09:32:33.000Z | 2021-12-22T11:25:51.000Z | def foo(a, b=1, c=3):
pass
| 10.333333 | 21 | 0.483871 | 8 | 31 | 1.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.290323 | 31 | 2 | 22 | 15.5 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
06305d1438d01c2eca764ce0396bb132ab908ff8 | 88 | py | Python | python/ql/test/library-tests/exprs/compare/compare.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/library-tests/exprs/compare/compare.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/library-tests/exprs/compare/compare.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z |
a < b < c
x in y
x not in y
x is y
x is not y
x < y
x > y
x >= y
x <= y
x == y
x != y
| 6.285714 | 10 | 0.420455 | 29 | 88 | 1.275862 | 0.275862 | 0.486486 | 0.486486 | 0.540541 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0 | 0 | 0.443182 | 88 | 13 | 11 | 6.769231 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
065069d5830ea97707ebc84583d23b1448e3ba77 | 124 | py | Python | doclib/manager/errors/__init__.py | mark-ep/doclib | 17b3ae2036d744a5224172e62e53307a3b69677e | [
"MIT"
] | null | null | null | doclib/manager/errors/__init__.py | mark-ep/doclib | 17b3ae2036d744a5224172e62e53307a3b69677e | [
"MIT"
] | 4 | 2017-08-13T11:06:33.000Z | 2017-08-13T11:16:16.000Z | doclib/manager/errors/__init__.py | mark-ep/doclib | 17b3ae2036d744a5224172e62e53307a3b69677e | [
"MIT"
] | null | null | null | from .project_error import ProjectError
from .category_error import CategoryError
from .document_error import DocumentError
| 31 | 41 | 0.879032 | 15 | 124 | 7.066667 | 0.6 | 0.311321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 3 | 42 | 41.333333 | 0.946429 | 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 |
ebed3464b4576cf9aaa39a281e3960697569029d | 3,373 | py | Python | cogs/fun/weeb.py | itsVale/Vale.py | 6b3cac68d53e8d814ee969a959aae4de52beda80 | [
"MIT"
] | 14 | 2018-08-06T06:45:19.000Z | 2018-12-28T14:20:33.000Z | cogs/fun/weeb.py | itsVale/Vale.py | 6b3cac68d53e8d814ee969a959aae4de52beda80 | [
"MIT"
] | 10 | 2018-10-06T10:52:08.000Z | 2018-12-28T14:21:47.000Z | cogs/fun/weeb.py | itsVale/Vale.py | 6b3cac68d53e8d814ee969a959aae4de52beda80 | [
"MIT"
] | 13 | 2018-09-23T20:13:10.000Z | 2019-01-26T11:02:37.000Z | from urllib.parse import quote
import discord
from discord.ext import commands
from utils.colors import random_color
class Weeb(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(name='anime', aliases=['animu', 'material'])
async def _anime(self, ctx, *, query):
""... | 49.602941 | 132 | 0.556181 | 406 | 3,373 | 4.517241 | 0.258621 | 0.098146 | 0.107961 | 0.137405 | 0.823337 | 0.823337 | 0.801527 | 0.801527 | 0.755725 | 0.755725 | 0 | 0.008696 | 0.249926 | 3,373 | 67 | 133 | 50.343284 | 0.716206 | 0.009191 | 0 | 0.595745 | 0 | 0.042553 | 0.34792 | 0.172881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.085106 | 0 | 0.191489 | 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 |
ebf68892aeb952ee8d2c40df397390710b305a9b | 669 | py | Python | stickerfinder/models/__init__.py | drbuilderpro/sticker-finder | 688656a4b67c1e5057c0d1dc5b21201f0466b7ab | [
"MIT"
] | null | null | null | stickerfinder/models/__init__.py | drbuilderpro/sticker-finder | 688656a4b67c1e5057c0d1dc5b21201f0466b7ab | [
"MIT"
] | null | null | null | stickerfinder/models/__init__.py | drbuilderpro/sticker-finder | 688656a4b67c1e5057c0d1dc5b21201f0466b7ab | [
"MIT"
] | 1 | 2020-11-06T02:17:14.000Z | 2020-11-06T02:17:14.000Z | from stickerfinder.models.chat import Chat, chat_sticker_set # noqa
from stickerfinder.models.sticker import Sticker, sticker_tag # noqa
from stickerfinder.models.task import Task # noqa
from stickerfinder.models.sticker_set import StickerSet # noqa
from stickerfinder.models.tag import Tag # noqa
from stickerfinder.mod... | 55.75 | 79 | 0.846039 | 87 | 669 | 6.413793 | 0.241379 | 0.335125 | 0.453405 | 0.483871 | 0.426523 | 0.136201 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101644 | 669 | 11 | 80 | 60.818182 | 0.928453 | 0.080717 | 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 |
230b48b9eec5c38b0d901edbd9cb5303b38e1367 | 128 | py | Python | scripts/run_legendre_polynomials.py | jaantollander/LegendrePolynomials | 55cd51f35a6f0cb4444bd0912f93ca2fb3bb619a | [
"MIT"
] | 1 | 2019-12-16T14:30:44.000Z | 2019-12-16T14:30:44.000Z | scripts/run_legendre_polynomials.py | jaantollander/LegendreSeries | 55cd51f35a6f0cb4444bd0912f93ca2fb3bb619a | [
"MIT"
] | null | null | null | scripts/run_legendre_polynomials.py | jaantollander/LegendreSeries | 55cd51f35a6f0cb4444bd0912f93ca2fb3bb619a | [
"MIT"
] | null | null | null | import numpy as np
from plots import plot_legendre_polynomials
x = np.linspace(-1, 1, 1001)
plot_legendre_polynomials(x, n=5)
| 18.285714 | 43 | 0.78125 | 22 | 128 | 4.363636 | 0.681818 | 0.25 | 0.479167 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 0.132813 | 128 | 6 | 44 | 21.333333 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
231645d701e6581c716290c8a0773d10a8b7801f | 129 | py | Python | code_icc/utils/cluster/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | code_icc/utils/cluster/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | code_icc/utils/cluster/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | from . import baselines, cluster_eval, data, eval_metrics, general, IID_losses
from . import k_means_assess, render, transforms
| 43 | 78 | 0.806202 | 18 | 129 | 5.5 | 0.833333 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 2 | 79 | 64.5 | 0.876106 | 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 |
88c458706c61dda56cefbbcb0a2e497ab43d7363 | 45 | py | Python | server/rest/models/__init__.py | nking1232/html5-msoy | 6e026f1989b15310ad67c050beb69a168c3bdd5f | [
"MIT"
] | null | null | null | server/rest/models/__init__.py | nking1232/html5-msoy | 6e026f1989b15310ad67c050beb69a168c3bdd5f | [
"MIT"
] | null | null | null | server/rest/models/__init__.py | nking1232/html5-msoy | 6e026f1989b15310ad67c050beb69a168c3bdd5f | [
"MIT"
] | 2 | 2020-12-18T19:19:38.000Z | 2020-12-18T19:53:56.000Z | from .room import Room
from .user import User | 22.5 | 22 | 0.8 | 8 | 45 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 23 | 22.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88cd90332a0797802354ddd3d8d43d2d76454b00 | 242 | py | Python | sentence_transformers/readers/__init__.py | danielperezr88/sentence-transformers | 56a7990c56c484e7948cf6400b54f27114bb267c | [
"Apache-2.0"
] | null | null | null | sentence_transformers/readers/__init__.py | danielperezr88/sentence-transformers | 56a7990c56c484e7948cf6400b54f27114bb267c | [
"Apache-2.0"
] | null | null | null | sentence_transformers/readers/__init__.py | danielperezr88/sentence-transformers | 56a7990c56c484e7948cf6400b54f27114bb267c | [
"Apache-2.0"
] | null | null | null | from .InputExample import InputExample
from .LabelSentenceReader import LabelSentenceReader
from .NLIDataReader import NLIDataReader
from .STSDataReader import STSDataReader, STSBenchmarkDataReader
from .TripletReader import TripletReader | 48.4 | 65 | 0.876033 | 21 | 242 | 10.095238 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 242 | 5 | 66 | 48.4 | 0.972477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc616d4bbfced43d6a8e1e528110399a5f193f89 | 5,031 | py | Python | scripts/gen_iwslt_grid_search_scripts.py | fallcat/synst | 0fa4adffa825af4a62b6e739b59c4125a7b6698e | [
"BSD-3-Clause"
] | 1 | 2019-09-08T13:55:21.000Z | 2019-09-08T13:55:21.000Z | scripts/gen_iwslt_grid_search_scripts.py | fallcat/synst | 0fa4adffa825af4a62b6e739b59c4125a7b6698e | [
"BSD-3-Clause"
] | 2 | 2019-10-02T15:23:55.000Z | 2019-10-16T02:38:25.000Z | scripts/gen_iwslt_grid_search_scripts.py | fallcat/synst | 0fa4adffa825af4a62b6e739b59c4125a7b6698e | [
"BSD-3-Clause"
] | null | null | null |
import os
# layer 123
enc_fixed = "left right left right left right"
dec_fixed = "left center left center left center"
enc_position_list = ['left left', 'left center', 'left right', 'center center', 'center right', 'right right']
dec_position_list = ['left left', 'left center', 'center center']
def generate_train_s... | 34.458904 | 110 | 0.705625 | 837 | 5,031 | 4.050179 | 0.223417 | 0.037168 | 0.038938 | 0.060177 | 0.787611 | 0.775811 | 0.744543 | 0.744543 | 0.724484 | 0.724484 | 0 | 0.03907 | 0.119857 | 5,031 | 145 | 111 | 34.696552 | 0.726513 | 0.001789 | 0 | 0.666667 | 0 | 0.095238 | 0.723994 | 0.310682 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.007937 | 0 | 0.02381 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cc89fd6d0bb2e50834e53586eb09e67a12cea7e1 | 6,808 | py | Python | CIM100/IEC61970/Informative/InfERPSupport/__init__.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | null | null | null | CIM100/IEC61970/Informative/InfERPSupport/__init__.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | null | null | null | CIM100/IEC61970/Informative/InfERPSupport/__init__.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | null | null | null | # Copyright (C) 2010-2011 Richard Lincoln
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish... | 74.813187 | 1,638 | 0.84386 | 814 | 6,808 | 7.05774 | 0.300983 | 0.074848 | 0.134726 | 0.217058 | 0.49295 | 0.17859 | 0.17859 | 0.164665 | 0.164665 | 0.164665 | 0 | 0.059537 | 0.104436 | 6,808 | 90 | 1,639 | 75.644444 | 0.882729 | 0.422444 | 0 | 0.075472 | 0 | 0 | 0.018266 | 0 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0 | false | 0.075472 | 0.811321 | 0 | 0.886792 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
aec9e229809a5f1510196e4f23d47ebb99c2431d | 199 | py | Python | include/TestClientData.py | DonaldTsang/hydrus | 1ffd13469c0ea98ea78961ab377aff1c6325379b | [
"WTFPL"
] | 3 | 2019-06-19T09:29:50.000Z | 2019-12-18T14:17:21.000Z | include/TestClientData.py | DonaldTsang/hydrus | 1ffd13469c0ea98ea78961ab377aff1c6325379b | [
"WTFPL"
] | 50 | 2019-04-05T02:25:13.000Z | 2019-04-27T04:29:31.000Z | include/TestClientData.py | DonaldTsang/hydrus | 1ffd13469c0ea98ea78961ab377aff1c6325379b | [
"WTFPL"
] | null | null | null | from . import ClientConstants as CC
from . import ClientImportOptions
from . import ClientImportFileSeeds
from . import HydrusConstants as HC
from . import HydrusExceptions
import os
import unittest
| 24.875 | 35 | 0.834171 | 23 | 199 | 7.217391 | 0.521739 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140704 | 199 | 7 | 36 | 28.428571 | 0.97076 | 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 |
aecf42ccc82d98a1e452b16aabd40d0c938d19cf | 31 | py | Python | Holamundo.py | monicacice/Ejercicios | 3fefde384c8a3186a695abd921ef4066df2672e1 | [
"MIT"
] | null | null | null | Holamundo.py | monicacice/Ejercicios | 3fefde384c8a3186a695abd921ef4066df2672e1 | [
"MIT"
] | null | null | null | Holamundo.py | monicacice/Ejercicios | 3fefde384c8a3186a695abd921ef4066df2672e1 | [
"MIT"
] | null | null | null | print("Hola Mundo, soy Batman") | 31 | 31 | 0.741935 | 5 | 31 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
aed2cdc9517949f2151832e43e404bf8a7356d30 | 98 | py | Python | observation/__init__.py | NLeSC/eWaterCycle-comda | 64c60d8c7c51187d36bbe0b3d883841fca537337 | [
"Apache-2.0"
] | null | null | null | observation/__init__.py | NLeSC/eWaterCycle-comda | 64c60d8c7c51187d36bbe0b3d883841fca537337 | [
"Apache-2.0"
] | null | null | null | observation/__init__.py | NLeSC/eWaterCycle-comda | 64c60d8c7c51187d36bbe0b3d883841fca537337 | [
"Apache-2.0"
] | null | null | null | from observation.dummies import *
from observation.landsat import *
import observation.observation | 32.666667 | 33 | 0.857143 | 11 | 98 | 7.636364 | 0.454545 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 3 | 34 | 32.666667 | 0.94382 | 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 |
9d84c4e13d30deca15f08dd63e5ebddd0630e17c | 622 | py | Python | content/browse/__init__.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | 2 | 2022-01-24T23:30:18.000Z | 2022-01-26T00:21:22.000Z | content/browse/__init__.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | content/browse/__init__.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | """
"""
from .page import full_browse_page
from .sections import (
top_songs_all_time, top_albums_all_time, top_artists_all_time,
trending_songs, trending_albums, trending_artists,
trending_youtube,
recently_uploaded_albums,
artist_spotlight, revibe_playlists
)
# -------------------------------... | 20.064516 | 79 | 0.673633 | 67 | 622 | 5.626866 | 0.298507 | 0.111406 | 0.106101 | 0.079576 | 0.832891 | 0.832891 | 0.832891 | 0.832891 | 0.832891 | 0.832891 | 0 | 0 | 0.149518 | 622 | 30 | 80 | 20.733333 | 0.712665 | 0.123794 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 |
9de9702d2931232e222e5306334d850495f7da1b | 1,866 | py | Python | teacher/explanation/tests/test_factual.py | Kaysera/teacher | 99fe61b30798143e39a10eb3ba33c8f28cdd6c79 | [
"MIT"
] | 3 | 2022-03-09T16:54:02.000Z | 2022-03-10T13:28:31.000Z | teacher/explanation/tests/test_factual.py | Kaysera/teacher | 99fe61b30798143e39a10eb3ba33c8f28cdd6c79 | [
"MIT"
] | 1 | 2022-03-17T16:30:02.000Z | 2022-03-24T17:54:08.000Z | teacher/explanation/tests/test_factual.py | Kaysera/teacher | 99fe61b30798143e39a10eb3ba33c8f28cdd6c79 | [
"MIT"
] | null | null | null | from teacher.tree import Rule
from teacher.explanation import m_factual, c_factual, mr_factual, FID3_factual
def test_m_factual(mock_fired_rules):
instance, rule_list, class_val = mock_fired_rules
rule_one = Rule([('color', 'low'), ('strength', 'high')], 'IPA', 0.93)
rule_two = Rule([('color', 'high'), ('... | 44.428571 | 83 | 0.684352 | 267 | 1,866 | 4.456929 | 0.142322 | 0.07563 | 0.117647 | 0.158824 | 0.810924 | 0.790756 | 0.782353 | 0.782353 | 0.782353 | 0.782353 | 0 | 0.023285 | 0.148446 | 1,866 | 41 | 84 | 45.512195 | 0.725614 | 0 | 0 | 0.516129 | 0 | 0 | 0.117899 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.16129 | false | 0 | 0.064516 | 0 | 0.225806 | 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 |
9df84aab69d2f6b67bd0ec64372a8898e336a39f | 3,500 | py | Python | build_kernel/test.py | mik90/scripts | 7f2e90667c0619e65068a74060d7ea2b0afab359 | [
"Apache-2.0"
] | null | null | null | build_kernel/test.py | mik90/scripts | 7f2e90667c0619e65068a74060d7ea2b0afab359 | [
"Apache-2.0"
] | null | null | null | build_kernel/test.py | mik90/scripts | 7f2e90667c0619e65068a74060d7ea2b0afab359 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
""" Tests build_kernel.py """
import unittest
import build_kernel
class TestBuildKernel(unittest.TestCase):
def test_version_compare_major(self):
old = build_kernel.VersionInfo(version_triple="4.7.10", vmlinuz="vmlinuz-4.7.10-gentoo",
system_map... | 59.322034 | 155 | 0.617714 | 504 | 3,500 | 4.121032 | 0.107143 | 0.057776 | 0.069331 | 0.129995 | 0.867598 | 0.837747 | 0.837265 | 0.762638 | 0.720751 | 0.697641 | 0 | 0.074627 | 0.234286 | 3,500 | 58 | 156 | 60.344828 | 0.700373 | 0.024 | 0 | 0.463415 | 0 | 0 | 0.261891 | 0.18027 | 0 | 0 | 0 | 0 | 0.146341 | 1 | 0.146341 | false | 0 | 0.04878 | 0 | 0.219512 | 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 |
d1acfcc660e7a128be7859c10296b008fa1c62ef | 11,913 | py | Python | test/torch_hierarchical_test.py | ymchen7/bluefog | d9c450f2bdac11ff719b7e5f5434ee5ff56499b4 | [
"Apache-2.0"
] | null | null | null | test/torch_hierarchical_test.py | ymchen7/bluefog | d9c450f2bdac11ff719b7e5f5434ee5ff56499b4 | [
"Apache-2.0"
] | null | null | null | test/torch_hierarchical_test.py | ymchen7/bluefog | d9c450f2bdac11ff719b7e5f5434ee5ff56499b4 | [
"Apache-2.0"
] | null | null | null | import itertools
import os
import numpy as np
import pytest
import torch
import networkx as nx
import bluefog.torch as bf
from common import mpi_env_rank_and_size
EPSILON = 1e-6
TEST_ON_GPU = torch.cuda.is_available()
# Utility functions
def cast_and_place(tensor, dtype):
if dtype.is_cuda:
if bf.nccl_... | 39.44702 | 100 | 0.685134 | 1,604 | 11,913 | 4.841646 | 0.096633 | 0.045197 | 0.036827 | 0.037085 | 0.882307 | 0.871234 | 0.871234 | 0.859902 | 0.851275 | 0.838398 | 0 | 0.013669 | 0.195501 | 11,913 | 301 | 101 | 39.578073 | 0.79664 | 0.070679 | 0 | 0.681818 | 0 | 0 | 0.146694 | 0.037171 | 0 | 0 | 0 | 0 | 0.078512 | 1 | 0.057851 | false | 0 | 0.033058 | 0.004132 | 0.11157 | 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 |
d1b8c2ab378968f279e1f844a643fa38b07eeba7 | 97 | py | Python | temann/data/TEMDB.py | Luochenghuang/TEMANN | 88afc00f214ae91d60b3b41af2da322524dc0663 | [
"MIT"
] | 5 | 2018-02-28T01:33:42.000Z | 2018-03-08T23:05:15.000Z | temann/data/TEMDB.py | Luochenghuang/TEMANN | 88afc00f214ae91d60b3b41af2da322524dc0663 | [
"MIT"
] | 8 | 2020-01-28T21:51:59.000Z | 2022-02-09T23:28:37.000Z | temann/data/TEMDB.py | Luochenghuang/TEMANN | 88afc00f214ae91d60b3b41af2da322524dc0663 | [
"MIT"
] | null | null | null | import pandas as pd
from ..utils import file_path
TEMDB = pd.read_csv(file_path('TEMDB.csv'))
| 13.857143 | 43 | 0.742268 | 17 | 97 | 4.058824 | 0.647059 | 0.231884 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 97 | 6 | 44 | 16.166667 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0607eab4e74c2220ba48758b0c13f4aea0b23b2a | 1,057 | py | Python | Cloud_Data_warehouse/check_Cluster_Availabiilty.py | ManaliSharma/Data_Engineering_Projects | 4a6eb1be9bc3de36ca44bfd7b635b92a2adb76ae | [
"MIT"
] | 1 | 2021-07-28T02:33:13.000Z | 2021-07-28T02:33:13.000Z | Cloud_Data_warehouse/check_Cluster_Availabiilty.py | ManaliSharma/Data_Engineering_Projects | 4a6eb1be9bc3de36ca44bfd7b635b92a2adb76ae | [
"MIT"
] | null | null | null | Cloud_Data_warehouse/check_Cluster_Availabiilty.py | ManaliSharma/Data_Engineering_Projects | 4a6eb1be9bc3de36ca44bfd7b635b92a2adb76ae | [
"MIT"
] | null | null | null | from create_infrastructure import config_parse_file, aws_client, aws_open_redshift_port, check_cluster_creation, aws_resource, config_persist_cluster_infos
#import config_parse_file, aws_client, aws_open_redshift_port, check_cluster_creation, aws_resource, config_persist_cluster_infos
# def main():
# config_parse_... | 28.567568 | 155 | 0.687796 | 129 | 1,057 | 5.131783 | 0.232558 | 0.066465 | 0.090634 | 0.114804 | 0.963746 | 0.963746 | 0.963746 | 0.963746 | 0.963746 | 0.963746 | 0 | 0.011792 | 0.197729 | 1,057 | 37 | 156 | 28.567568 | 0.768868 | 0.468307 | 0 | 0 | 0 | 0 | 0.094545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.153846 | 0.153846 | 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 |
ae685e603d004d1cae09309b43e41529f4a1cace | 86 | py | Python | tests/instapaper.py | thetomcraig/HPI | 5eecd8721dc0cbfc68040106bb7b540b1567dff3 | [
"MIT"
] | null | null | null | tests/instapaper.py | thetomcraig/HPI | 5eecd8721dc0cbfc68040106bb7b540b1567dff3 | [
"MIT"
] | null | null | null | tests/instapaper.py | thetomcraig/HPI | 5eecd8721dc0cbfc68040106bb7b540b1567dff3 | [
"MIT"
] | null | null | null | from my.instapaper import pages
def test_pages():
assert len(list(pages())) > 3
| 14.333333 | 33 | 0.686047 | 13 | 86 | 4.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.186047 | 86 | 5 | 34 | 17.2 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8848e1f17d5cde76aeedd02407d4938e72365d92 | 154 | py | Python | dart_fss/fs/__init__.py | dveamer/dart-fss | 1ea6b937f363d604a7da9c03686fba7f66707efa | [
"MIT"
] | 243 | 2019-04-19T09:05:32.000Z | 2022-03-27T10:51:24.000Z | dart_fss/fs/__init__.py | dveamer/dart-fss | 1ea6b937f363d604a7da9c03686fba7f66707efa | [
"MIT"
] | 80 | 2019-04-20T06:37:44.000Z | 2022-03-25T12:20:47.000Z | dart_fss/fs/__init__.py | dveamer/dart-fss | 1ea6b937f363d604a7da9c03686fba7f66707efa | [
"MIT"
] | 92 | 2019-04-18T06:19:52.000Z | 2022-03-17T07:43:39.000Z | # -*- coding: utf-8 -*-
from dart_fss.fs.extract import extract
from dart_fss.fs.fs import FinancialStatement
__all__ = ['extract', 'FinancialStatement'] | 30.8 | 45 | 0.753247 | 20 | 154 | 5.5 | 0.55 | 0.145455 | 0.2 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.11039 | 154 | 5 | 46 | 30.8 | 0.79562 | 0.136364 | 0 | 0 | 0 | 0 | 0.189394 | 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 |
88989651f55d1308ca078002d046e1bcf8ce392a | 3,089 | py | Python | resize_images.py | chadwickcasp/iMaterialistMRCNN | 76b53ebd50f9fb13148579a3a4b10451fa163cda | [
"Apache-2.0"
] | 3 | 2020-01-10T15:50:59.000Z | 2020-11-25T20:22:36.000Z | resize_images.py | chadwickcasp/iMaterialistMRCNN | 76b53ebd50f9fb13148579a3a4b10451fa163cda | [
"Apache-2.0"
] | null | null | null | resize_images.py | chadwickcasp/iMaterialistMRCNN | 76b53ebd50f9fb13148579a3a4b10451fa163cda | [
"Apache-2.0"
] | null | null | null | import PIL
from PIL import Image, ImageFile
import matplotlib
import matplotlib.pyplot as plt
import os
MAX_DIM = 512
ImageFile.LOAD_TRUNCATED_IMAGES = True
if __name__ == '__main__':
# for parent, dirs, files in os.walk('./imaterialist-fashion-2019-FGVC6/train/'):
# for i, file in enumerate(files):
#... | 45.426471 | 108 | 0.580123 | 379 | 3,089 | 4.601583 | 0.221636 | 0.065367 | 0.092317 | 0.112385 | 0.868693 | 0.850344 | 0.826261 | 0.826261 | 0.826261 | 0.826261 | 0 | 0.049698 | 0.303011 | 3,089 | 68 | 109 | 45.426471 | 0.760334 | 0.573001 | 0 | 0 | 0 | 0 | 0.083725 | 0.061033 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.185185 | 0 | 0.185185 | 0.111111 | 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 |
c9bd388fb991524d9a186bb2170db9266cb87875 | 144,907 | py | Python | restit/exception/http_error_css.py | Rollmops/restit | ddc0fc3a4bf0ffed02c59cce5e7a07b3737e1874 | [
"MIT"
] | 3 | 2020-03-08T19:44:32.000Z | 2020-03-09T19:46:15.000Z | restit/exception/http_error_css.py | Rollmops/restit | ddc0fc3a4bf0ffed02c59cce5e7a07b3737e1874 | [
"MIT"
] | 11 | 2020-03-17T14:50:07.000Z | 2020-04-03T11:20:30.000Z | restit/exception/http_error_css.py | Rollmops/restit | ddc0fc3a4bf0ffed02c59cce5e7a07b3737e1874 | [
"MIT"
] | null | null | null | _ERROR_BOOTSTRAP_CSS = """/*!
* Bootstrap v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3... | 18,113.375 | 144,620 | 0.781329 | 24,565 | 144,907 | 4.608874 | 0.03102 | 0.020456 | 0.006995 | 0.013911 | 0.770043 | 0.691318 | 0.563891 | 0.507353 | 0.444439 | 0.402758 | 0 | 0.058025 | 0.010489 | 144,907 | 7 | 144,621 | 20,701 | 0.731566 | 0 | 0 | 0 | 0 | 0.285714 | 0.999793 | 0.9576 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9e13bb62f2e5bbb1da37752847494880ce0db08 | 127 | py | Python | withings_data/admin.py | MPikDev/withings_weight_display | 8d0a91c949cc9c2f1323db9986f68330cf21e4bf | [
"MIT"
] | null | null | null | withings_data/admin.py | MPikDev/withings_weight_display | 8d0a91c949cc9c2f1323db9986f68330cf21e4bf | [
"MIT"
] | null | null | null | withings_data/admin.py | MPikDev/withings_weight_display | 8d0a91c949cc9c2f1323db9986f68330cf21e4bf | [
"MIT"
] | null | null | null | from django.contrib import admin
from withings_data.models import *
admin.site.register(User)
admin.site.register(DataAccount) | 25.4 | 34 | 0.834646 | 18 | 127 | 5.833333 | 0.666667 | 0.209524 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07874 | 127 | 5 | 35 | 25.4 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4e7edb28bf36db81d8fd97be8c399de572994edf | 23 | py | Python | OMASS4/FWHM/__init__.py | DBernardes/OMASS4 | 30d2edc961463253cc120bc8ca1d74a0a73d922d | [
"MIT"
] | null | null | null | OMASS4/FWHM/__init__.py | DBernardes/OMASS4 | 30d2edc961463253cc120bc8ca1d74a0a73d922d | [
"MIT"
] | null | null | null | OMASS4/FWHM/__init__.py | DBernardes/OMASS4 | 30d2edc961463253cc120bc8ca1d74a0a73d922d | [
"MIT"
] | null | null | null | from .fwhm import FWHM
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ed07968e766fdd8ef3243fd98e7df69518b2943 | 37 | py | Python | src/next_scraper/conf/travis.py | EnTeQuAk/next-scraper | c362ff362976125c142caabd08e224c0156970aa | [
"BSD-3-Clause"
] | null | null | null | src/next_scraper/conf/travis.py | EnTeQuAk/next-scraper | c362ff362976125c142caabd08e224c0156970aa | [
"BSD-3-Clause"
] | 8 | 2021-03-19T00:17:16.000Z | 2021-12-13T20:34:55.000Z | src/next_scraper/conf/travis.py | EnTeQuAk/next-scraper | c362ff362976125c142caabd08e224c0156970aa | [
"BSD-3-Clause"
] | null | null | null | from next_scraper.conf.test import *
| 18.5 | 36 | 0.810811 | 6 | 37 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14c52fac207de48e49c0545141ca505d92b4b4f1 | 139 | py | Python | app/__init__.py | lovato/precommit-hook | 8c1545cf33bb28879df57df1aabbe85a455c30c9 | [
"MIT"
] | 15 | 2017-07-30T20:15:21.000Z | 2019-06-13T12:16:42.000Z | app/__init__.py | lovato/precommit-hook | 8c1545cf33bb28879df57df1aabbe85a455c30c9 | [
"MIT"
] | 87 | 2017-08-26T10:08:49.000Z | 2022-02-21T05:35:14.000Z | app/__init__.py | lovato/precommit-hook | 8c1545cf33bb28879df57df1aabbe85a455c30c9 | [
"MIT"
] | 7 | 2017-07-30T17:42:11.000Z | 2019-10-21T06:32:42.000Z | # @Author: collins
# @Date: 2017-06-14T15:44:53+03:00
# @Last modified by: collins
# @Last modified time: 2017-06-16T13:08:50+03:00
| 17.375 | 48 | 0.661871 | 24 | 139 | 3.833333 | 0.708333 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310345 | 0.165468 | 139 | 7 | 49 | 19.857143 | 0.482759 | 0.913669 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
093f17efe429887572627bfe1154f4c8d380bd23 | 32 | py | Python | env/lib/python3.8/site-packages/sseclient/__init__.py | juansjimenez/goodocity-backend | 77b2ab3f11047e2896e81358b8d8c63d7952b521 | [
"MIT"
] | 5 | 2018-01-18T11:39:23.000Z | 2022-01-01T11:38:40.000Z | env/lib/python3.8/site-packages/sseclient/__init__.py | juansjimenez/goodocity-backend | 77b2ab3f11047e2896e81358b8d8c63d7952b521 | [
"MIT"
] | 12 | 2021-10-18T00:37:47.000Z | 2022-03-09T01:35:20.000Z | env/lib/python3.8/site-packages/sseclient/__init__.py | juansjimenez/goodocity-backend | 77b2ab3f11047e2896e81358b8d8c63d7952b521 | [
"MIT"
] | 4 | 2018-01-18T11:32:38.000Z | 2021-11-25T23:28:04.000Z | from .sseclient import SSEClient | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
11d4eb9c86b301add1e5a5251a6b779367659578 | 123 | py | Python | redis-py/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | redis-py/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | redis-py/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | import redis
#r = redis.StrictRedis(host='localhost', port=6379, db=0)
#r.set('foo', 'bar')
#assert r.get('foo') == 'bar'
| 20.5 | 57 | 0.634146 | 20 | 123 | 3.9 | 0.75 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0.113821 | 123 | 5 | 58 | 24.6 | 0.669725 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eeb971de0f814e20331bbc12c072a81de797fddc | 898 | py | Python | src/authentication/tests/test_login_api.py | pykulytsky/freelance-service | 0f6e36093128ae3e63bd7dcf21959882eae7e683 | [
"MIT"
] | null | null | null | src/authentication/tests/test_login_api.py | pykulytsky/freelance-service | 0f6e36093128ae3e63bd7dcf21959882eae7e683 | [
"MIT"
] | 45 | 2021-01-18T14:01:20.000Z | 2021-08-02T07:40:10.000Z | src/authentication/tests/test_login_api.py | pykulytsky/freelance-service | 0f6e36093128ae3e63bd7dcf21959882eae7e683 | [
"MIT"
] | 1 | 2021-01-26T09:58:22.000Z | 2021-01-26T09:58:22.000Z | import pytest
from authentication.models import User
from django.urls import reverse
pytestmark = [pytest.mark.django_db]
def test_login_api_works(anon_api, performer_role):
user = User.objects.create_user(username='test', email='test@mail.com', password='1234', role=performer_role, first_name='test', last_name=... | 29.933333 | 166 | 0.693764 | 121 | 898 | 4.942149 | 0.363636 | 0.046823 | 0.040134 | 0.050167 | 0.722408 | 0.722408 | 0.722408 | 0.722408 | 0.722408 | 0.722408 | 0 | 0.025333 | 0.164811 | 898 | 29 | 167 | 30.965517 | 0.772 | 0 | 0 | 0.6 | 0 | 0 | 0.119154 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0.2 | 0.15 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
eec75b641c16b59d0a9dfa315b75a4fb40fa7b17 | 244 | py | Python | can_tools/scrapers/official/DC/__init__.py | jrybacek/can-scrapers | 1a32a45be6aa6630de4d100c56c2a8659a1b1025 | [
"MIT"
] | null | null | null | can_tools/scrapers/official/DC/__init__.py | jrybacek/can-scrapers | 1a32a45be6aa6630de4d100c56c2a8659a1b1025 | [
"MIT"
] | null | null | null | can_tools/scrapers/official/DC/__init__.py | jrybacek/can-scrapers | 1a32a45be6aa6630de4d100c56c2a8659a1b1025 | [
"MIT"
] | null | null | null | from can_tools.scrapers.official.DC.dc_general import DCGeneral
from can_tools.scrapers.official.DC.dc_deaths import DCDeaths
from can_tools.scrapers.official.DC.dc_base import DCBase
from can_tools.scrapers.official.DC.dc_cases import DCCases
| 48.8 | 63 | 0.868852 | 40 | 244 | 5.1 | 0.375 | 0.137255 | 0.235294 | 0.392157 | 0.627451 | 0.627451 | 0.627451 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 244 | 4 | 64 | 61 | 0.894737 | 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 |
eee54a3dee16466ecea0e924dc2d1b68b223d9ad | 30,226 | py | Python | tests/test_coef.py | miltondp/clustermatch-gene-expr | 664bcf9032f53e22165ce7aa586dbf11365a5827 | [
"BSD-2-Clause-Patent"
] | null | null | null | tests/test_coef.py | miltondp/clustermatch-gene-expr | 664bcf9032f53e22165ce7aa586dbf11365a5827 | [
"BSD-2-Clause-Patent"
] | 13 | 2021-08-13T16:02:15.000Z | 2022-01-31T17:56:57.000Z | tests/test_coef.py | miltondp/clustermatch-gene-expr | 664bcf9032f53e22165ce7aa586dbf11365a5827 | [
"BSD-2-Clause-Patent"
] | 1 | 2021-08-09T14:57:40.000Z | 2021-08-09T14:57:40.000Z | from concurrent.futures import ThreadPoolExecutor
from random import shuffle
import numpy as np
import pandas as pd
from sklearn.preprocessing import minmax_scale
from sklearn.metrics import adjusted_rand_score as ari
from clustermatch.coef import (
cm,
_get_range_n_clusters,
run_quantile_clustering,
... | 27.378623 | 87 | 0.649672 | 4,679 | 30,226 | 3.953195 | 0.065399 | 0.070065 | 0.086284 | 0.050819 | 0.856085 | 0.82781 | 0.8024 | 0.770395 | 0.741309 | 0.720549 | 0 | 0.054525 | 0.240323 | 30,226 | 1,103 | 88 | 27.403445 | 0.751023 | 0.136141 | 0 | 0.604615 | 0 | 0 | 0.003278 | 0.002546 | 0 | 0 | 0 | 0 | 0.352308 | 1 | 0.073846 | false | 0 | 0.026154 | 0 | 0.1 | 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 |
e10128137f10ff6d13f4991e0d63e8be9430cc3d | 9,466 | py | Python | nominals/testing/test_integration/test_audit.py | rossm6/accounts | 74633ce4038806222048d85ef9dfe97a957a6a71 | [
"MIT"
] | 11 | 2021-01-23T01:09:54.000Z | 2021-01-25T07:16:30.000Z | nominals/testing/test_integration/test_audit.py | rossm6/accounts | 74633ce4038806222048d85ef9dfe97a957a6a71 | [
"MIT"
] | 7 | 2021-04-06T18:19:10.000Z | 2021-09-22T19:45:03.000Z | nominals/testing/test_integration/test_audit.py | rossm6/accounts | 74633ce4038806222048d85ef9dfe97a957a6a71 | [
"MIT"
] | 3 | 2021-01-23T18:55:32.000Z | 2021-02-16T17:47:59.000Z | from datetime import date
from accountancy.signals import audit_post_delete
from django.db import models
from django.test import TestCase
from nominals.models import (Nominal, NominalHeader, NominalLine,
NominalTransaction)
from simple_history.models import HistoricalRecords
class Nomina... | 32.982578 | 115 | 0.572047 | 1,005 | 9,466 | 5.197015 | 0.128358 | 0.042121 | 0.041356 | 0.029102 | 0.896611 | 0.882826 | 0.877082 | 0.868849 | 0.817346 | 0.795903 | 0 | 0.004385 | 0.349567 | 9,466 | 286 | 116 | 33.097902 | 0.843917 | 0.130678 | 0 | 0.676471 | 0 | 0 | 0.07285 | 0.022166 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.093137 | false | 0 | 0.029412 | 0 | 0.142157 | 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 |
e11556e02ea2f5c46b52795e9780af535bc1de5c | 3,379 | py | Python | app/models/custom_lookup.py | arxcdr/silverback | 212139cbc1a648d1f877d60f2d7c4d750eefc3da | [
"BSD-3-Clause"
] | null | null | null | app/models/custom_lookup.py | arxcdr/silverback | 212139cbc1a648d1f877d60f2d7c4d750eefc3da | [
"BSD-3-Clause"
] | null | null | null | app/models/custom_lookup.py | arxcdr/silverback | 212139cbc1a648d1f877d60f2d7c4d750eefc3da | [
"BSD-3-Clause"
] | null | null | null | """
Custom Lookup
"""
# Third Party Library
from django.db.models import Lookup
from django.db.models.fields import DateField, DateTimeField
@DateField.register_lookup
@DateTimeField.register_lookup
class DateEqLookup(Lookup):
lookup_name = 'date_c_eq'
def as_sql(self, compiler, connection):
lhs, lh... | 30.169643 | 97 | 0.698727 | 423 | 3,379 | 5.35461 | 0.111111 | 0.190728 | 0.120088 | 0.127152 | 0.881236 | 0.803974 | 0.792936 | 0.768653 | 0.768653 | 0.768653 | 0 | 0 | 0.192365 | 3,379 | 111 | 98 | 30.441441 | 0.829974 | 0.010062 | 0 | 0.648649 | 0 | 0 | 0.092898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.027027 | 0 | 0.459459 | 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 |
012c4c35bedcc68b558091e5597f84117d61548c | 40 | py | Python | lib/storage/__init__.py | alt-locator/alt-py | d1d620b5115c7209f7633d837ec60ffa88f4d8df | [
"MIT"
] | null | null | null | lib/storage/__init__.py | alt-locator/alt-py | d1d620b5115c7209f7633d837ec60ffa88f4d8df | [
"MIT"
] | 1 | 2018-01-06T07:59:35.000Z | 2018-01-06T07:59:35.000Z | lib/storage/__init__.py | alt-locator/alt-py | d1d620b5115c7209f7633d837ec60ffa88f4d8df | [
"MIT"
] | 1 | 2017-02-09T04:01:07.000Z | 2017-02-09T04:01:07.000Z | import firebase_storage
import location
| 13.333333 | 23 | 0.9 | 5 | 40 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 2 | 24 | 20 | 0.972222 | 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 |
6d680134d4f0d66d7d7ae8be678cf06139ece5cd | 24 | py | Python | sguif/__init__.py | sr9000/gui-py-app-framework | bc1f1c2ad01b8a860a1da007ffa72627a3cbe48e | [
"MIT"
] | null | null | null | sguif/__init__.py | sr9000/gui-py-app-framework | bc1f1c2ad01b8a860a1da007ffa72627a3cbe48e | [
"MIT"
] | 3 | 2021-06-08T21:09:49.000Z | 2022-03-12T00:21:27.000Z | sguif/__init__.py | sr9000/gui-py-app-framework | bc1f1c2ad01b8a860a1da007ffa72627a3cbe48e | [
"MIT"
] | null | null | null | from .engine import App
| 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.