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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e0ae7c18938f65d603fdc5ccf0fe562cc30757c2 | 40 | py | Python | tests/__init__.py | fabianSorn/semantic_text_similarity | 0caba4797b81bc3b7b5647ac128cf31a263f2aaf | [
"MIT"
] | null | null | null | tests/__init__.py | fabianSorn/semantic_text_similarity | 0caba4797b81bc3b7b5647ac128cf31a263f2aaf | [
"MIT"
] | null | null | null | tests/__init__.py | fabianSorn/semantic_text_similarity | 0caba4797b81bc3b7b5647ac128cf31a263f2aaf | [
"MIT"
] | null | null | null | """Unit test package for semtextsim."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e0b466cb2eba7f7b4fe51e2e9ab96616ac3425d5 | 70 | py | Python | scintillant/controllers/__init__.py | PaperDevil/scintillant | 369eb4e9613e21d436af8d5cdbd07d91632766a7 | [
"Apache-2.0"
] | null | null | null | scintillant/controllers/__init__.py | PaperDevil/scintillant | 369eb4e9613e21d436af8d5cdbd07d91632766a7 | [
"Apache-2.0"
] | null | null | null | scintillant/controllers/__init__.py | PaperDevil/scintillant | 369eb4e9613e21d436af8d5cdbd07d91632766a7 | [
"Apache-2.0"
] | null | null | null | from scintillant.controllers.context_controller import ContextUpdater
| 35 | 69 | 0.914286 | 7 | 70 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 1 | 70 | 70 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e0b92158609dc05e7f0caf8674364b3b2477ec93 | 916 | py | Python | ENIAC/api/__init__.py | Ahrli/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | 1 | 2021-12-11T16:33:47.000Z | 2021-12-11T16:33:47.000Z | ENIAC/api/__init__.py | webclinic017/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | null | null | null | ENIAC/api/__init__.py | webclinic017/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | 3 | 2021-11-22T09:46:43.000Z | 2022-01-28T22:33:07.000Z | # api/__init__.py
from sanic import Blueprint
# 蓝图
# from .eniac_bps.factors import factor
# from .eniac_bps.loopback import loop
# from .eniac_bps.backtrader import backtrader
# from .eniac_bps.btresultApi import api
# from .eniac_bps.piplineStatus import pipline
# from .eniac_bps.trading import trading
# from .eniac... | 38.166667 | 115 | 0.804585 | 126 | 916 | 5.619048 | 0.277778 | 0.139831 | 0.186441 | 0.090395 | 0.081921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113537 | 916 | 24 | 116 | 38.166667 | 0.871921 | 0.847162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
e0ebfe8d9a54e504ec6c64f065c0eefb1e72dc27 | 107 | py | Python | bob/pipelines/config/distributed/local_parallel.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | 1 | 2020-10-13T19:58:44.000Z | 2020-10-13T19:58:44.000Z | bob/pipelines/config/distributed/local_parallel.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | null | null | null | bob/pipelines/config/distributed/local_parallel.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | null | null | null | from bob.pipelines.distributed import get_local_parallel_client
dask_client = get_local_parallel_client()
| 26.75 | 63 | 0.878505 | 15 | 107 | 5.8 | 0.666667 | 0.183908 | 0.367816 | 0.505747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 3 | 64 | 35.666667 | 0.878788 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4618b4718858aad80c72a2029c2b1e1c265b6990 | 306 | py | Python | reamber/dummy/__init__.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | reamber/dummy/__init__.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | reamber/dummy/__init__.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | from reamber.dummy.DmBpm import DmBpm
from reamber.dummy.DmHit import DmHit
from reamber.dummy.DmHold import DmHold
from reamber.dummy.DmMap import DmMap
from reamber.dummy.DmMapMeta import DmMapMeta
from reamber.dummy.DmSv import DmSv
__all__ = ['DmBpm', 'DmHit', 'DmHold', 'DmMap', 'DmMapMeta', 'DmSv']
| 34 | 68 | 0.787582 | 43 | 306 | 5.511628 | 0.255814 | 0.278481 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 306 | 8 | 69 | 38.25 | 0.868132 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 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 | 5 |
1cb66cf33c42d1635a1a15ff6b8f76d546c04d2d | 32 | py | Python | test/run/t60.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t60.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t60.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | if not "?" in "xyz": print "OK"
| 16 | 31 | 0.53125 | 6 | 32 | 2.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1cfe75cf3778a5714bb9a45a95de3d68688708f8 | 201 | py | Python | dddm/samplers/__init__.py | JoranAngevaare/dddm | 3461e37984bac4d850beafecc9d1881b84fb226c | [
"MIT"
] | null | null | null | dddm/samplers/__init__.py | JoranAngevaare/dddm | 3461e37984bac4d850beafecc9d1881b84fb226c | [
"MIT"
] | 85 | 2021-09-20T12:08:53.000Z | 2022-03-30T12:48:06.000Z | dddm/samplers/__init__.py | JoranAngevaare/dddm | 3461e37984bac4d850beafecc9d1881b84fb226c | [
"MIT"
] | null | null | null | from . import emcee
from .emcee import *
from . import nestle
from .nestle import *
from . import pymultinest
from .pymultinest import *
from .multi_detectors import *
from . import multi_detectors
| 16.75 | 30 | 0.766169 | 26 | 201 | 5.846154 | 0.269231 | 0.263158 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174129 | 201 | 11 | 31 | 18.272727 | 0.915663 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e80ae07d8d706641a0024783b60fe1d4244fde50 | 66 | py | Python | apollo_ad/__init__.py | connorcapitolo/apollo_ad | 6a56845ae299789b84fe3235da847ab31180855e | [
"MIT"
] | 1 | 2021-01-29T20:47:35.000Z | 2021-01-29T20:47:35.000Z | apollo_ad/__init__.py | connorcapitolo/apollo_ad | 6a56845ae299789b84fe3235da847ab31180855e | [
"MIT"
] | null | null | null | apollo_ad/__init__.py | connorcapitolo/apollo_ad | 6a56845ae299789b84fe3235da847ab31180855e | [
"MIT"
] | 2 | 2021-01-29T20:47:45.000Z | 2021-10-03T13:06:58.000Z | from .apollo_ad import *
from .UI import UI
from .demo import demo | 22 | 24 | 0.772727 | 12 | 66 | 4.166667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 3 | 25 | 22 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e81fbbd2b23821fc0c078a6c0ab96898d6e6529d | 4,316 | py | Python | lemur/tests/test_users.py | caiges/lemur | 376b2b80517fb7f24fa505461d11bffeafefc713 | [
"Apache-2.0"
] | null | null | null | lemur/tests/test_users.py | caiges/lemur | 376b2b80517fb7f24fa505461d11bffeafefc713 | [
"Apache-2.0"
] | 1 | 2022-03-29T22:05:53.000Z | 2022-03-29T22:05:53.000Z | lemur/tests/test_users.py | TinLe/lemur | dfb9e3a0c8f8f1f1bd908b1fcb8596af7c65f739 | [
"Apache-2.0"
] | null | null | null | import json
import pytest
from lemur.tests.factories import UserFactory, RoleFactory
from lemur.users.views import * # noqa
from .vectors import VALID_ADMIN_HEADER_TOKEN, VALID_USER_HEADER_TOKEN
def test_user_input_schema(client):
from lemur.users.schemas import UserInputSchema
input_data = {
'use... | 29.972222 | 115 | 0.690222 | 581 | 4,316 | 4.888124 | 0.156627 | 0.104577 | 0.078873 | 0.103521 | 0.773944 | 0.746831 | 0.746831 | 0.746831 | 0.717606 | 0.717606 | 0 | 0.030227 | 0.164504 | 4,316 | 143 | 116 | 30.181818 | 0.757349 | 0.011121 | 0 | 0.476636 | 0 | 0 | 0.081379 | 0.006567 | 0 | 0 | 0 | 0 | 0.168224 | 1 | 0.121495 | false | 0.046729 | 0.056075 | 0 | 0.17757 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e837adb2e61c10b6c61070cb958bcf04f0e67e2c | 222 | py | Python | src/genie/libs/parser/iosxe/tests/ShowVlanFilter/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowVlanFilter/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowVlanFilter/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"vlan_id": {
"100": {"access_map_tag": "karim"},
"3": {"access_map_tag": "mordred"},
"15": {"access_map_tag": "mordred"},
"5": {"access_map_tag": "mordred"},
}
}
| 24.666667 | 44 | 0.5 | 24 | 222 | 4.208333 | 0.541667 | 0.356436 | 0.475248 | 0.564356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042945 | 0.265766 | 222 | 8 | 45 | 27.75 | 0.576687 | 0 | 0 | 0 | 0 | 0 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
1c0a8e9a6d73b236560d63e413673b60a9ca7854 | 137 | py | Python | desafio021.py | WebertiBarbosa/python | 640a70c327c262d4e867a4b4620ca50d42398c00 | [
"MIT"
] | null | null | null | desafio021.py | WebertiBarbosa/python | 640a70c327c262d4e867a4b4620ca50d42398c00 | [
"MIT"
] | 1 | 2020-06-06T21:34:44.000Z | 2020-06-06T21:44:58.000Z | desafio021.py | WebertiBarbosa/python | 640a70c327c262d4e867a4b4620ca50d42398c00 | [
"MIT"
] | null | null | null | import pygame
pygame.mixer.init()
pygame.mixer.music.load('ex021.mp3')
pygame.mixer.music.play()
#pygame.event.wait()
input('Agora sim')
| 19.571429 | 36 | 0.751825 | 21 | 137 | 4.904762 | 0.666667 | 0.320388 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 0.058394 | 137 | 6 | 37 | 22.833333 | 0.767442 | 0.138686 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c4adcf7e64b4d92e082b9ba0e6857c359ce8ed3 | 115 | py | Python | ex030.py | Roninho514/Treinamento-Python | fc6ad0b64fb3dc3cfa5381f8fc53b5b3243a7ff6 | [
"MIT"
] | null | null | null | ex030.py | Roninho514/Treinamento-Python | fc6ad0b64fb3dc3cfa5381f8fc53b5b3243a7ff6 | [
"MIT"
] | null | null | null | ex030.py | Roninho514/Treinamento-Python | fc6ad0b64fb3dc3cfa5381f8fc53b5b3243a7ff6 | [
"MIT"
] | null | null | null | numero = int(input('Digite um número:'))
print('Esse número é par' if numero % 2 == 0 else 'Esse número é impa7r')
| 38.333333 | 73 | 0.678261 | 20 | 115 | 3.9 | 0.75 | 0.25641 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.173913 | 115 | 2 | 74 | 57.5 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.469565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
1c7939a542a02d3eb204d675ac62e0ab9ada58f9 | 275 | py | Python | example/scan.py | Hong-Xiang/pitem | 5ab08a5e085f97cde096b680953fbee4f775ed8c | [
"Apache-2.0"
] | null | null | null | example/scan.py | Hong-Xiang/pitem | 5ab08a5e085f97cde096b680953fbee4f775ed8c | [
"Apache-2.0"
] | null | null | null | example/scan.py | Hong-Xiang/pitem | 5ab08a5e085f97cde096b680953fbee4f775ed8c | [
"Apache-2.0"
] | null | null | null | # This file is generated via pitem, DO NOT EDIT
import attrs
@attr.s
class ScanItem:
id: attrs.ib(type=int)
begin_position: attrs.ib(type=float)
end_position: attrs.ib(type=float)
is_denoise: attrs.ib(type=float, validator=is_in_range(0.000000, 1.000000))
| 22.916667 | 79 | 0.723636 | 46 | 275 | 4.217391 | 0.652174 | 0.14433 | 0.226804 | 0.247423 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.16 | 275 | 11 | 80 | 25 | 0.779221 | 0.163636 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.857143 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1c7bb9f1675178ac870e3a65a1d2da0a675995b9 | 43 | py | Python | example_data/yes03.py | Cogmob/epr | 7217c978afd2af87cce06db0ad1e0ab7e395ee9d | [
"MIT"
] | null | null | null | example_data/yes03.py | Cogmob/epr | 7217c978afd2af87cce06db0ad1e0ab7e395ee9d | [
"MIT"
] | null | null | null | example_data/yes03.py | Cogmob/epr | 7217c978afd2af87cce06db0ad1e0ab7e395ee9d | [
"MIT"
] | null | null | null | epr( jsd kfjaksjdkfjaksjdkfjaksdjkfjaksjdf
| 21.5 | 42 | 0.906977 | 3 | 43 | 13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
98c82d8ad45244a99725605e54e230077e6e15ca | 168 | py | Python | street_food_api/trucks/managers.py | ImustAdmit/Street-food-api | 7c232304379c558c1250d906536f367b6e890e76 | [
"MIT"
] | 1 | 2021-01-26T04:56:05.000Z | 2021-01-26T04:56:05.000Z | street_food_api/trucks/managers.py | ImustAdmit/Street-food-api | 7c232304379c558c1250d906536f367b6e890e76 | [
"MIT"
] | null | null | null | street_food_api/trucks/managers.py | ImustAdmit/Street-food-api | 7c232304379c558c1250d906536f367b6e890e76 | [
"MIT"
] | null | null | null | from django.db import models
class ConfirmedTruckManager(models.Manager):
def get_queryset(self):
return super().get_queryset().filter(is_confirmed=True)
| 24 | 63 | 0.755952 | 21 | 168 | 5.904762 | 0.857143 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 6 | 64 | 28 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
98d42c4673a4e695362e57430f0ae0b23f0c30e4 | 151 | py | Python | dashboard/overview/views.py | colinspear/music-dashboard | 35a7c082a8a6dab4637152adce5e9921a2984a97 | [
"FTL"
] | null | null | null | dashboard/overview/views.py | colinspear/music-dashboard | 35a7c082a8a6dab4637152adce5e9921a2984a97 | [
"FTL"
] | 5 | 2020-03-24T17:21:56.000Z | 2021-03-17T21:23:28.000Z | dashboard/overview/views.py | colinspear/music-dashboard | 35a7c082a8a6dab4637152adce5e9921a2984a97 | [
"FTL"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def i_exist(request):
return HttpResponse('Indeed, this view exists')
| 16.777778 | 51 | 0.781457 | 20 | 151 | 5.85 | 0.8 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152318 | 151 | 8 | 52 | 18.875 | 0.914063 | 0 | 0 | 0 | 0 | 0 | 0.161074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
98dfafe821513600b628a434f1ae38d505be517f | 1,772 | py | Python | tests/bash/grep.py | Mamatu/pysh | 1bacd6d18a1c40dfcb7ebdcc69711256bf6b9b3a | [
"MIT"
] | null | null | null | tests/bash/grep.py | Mamatu/pysh | 1bacd6d18a1c40dfcb7ebdcc69711256bf6b9b3a | [
"MIT"
] | null | null | null | tests/bash/grep.py | Mamatu/pysh | 1bacd6d18a1c40dfcb7ebdcc69711256bf6b9b3a | [
"MIT"
] | null | null | null | from unittest import TestCase
import pytest
from pysh.bash.grep import *
from pysh import core, shells
from pysh.tests import test
class GrepTests(TestCase):
def test_notmatch_exit1_1(self):
test.inShell(lambda: inText("testa").match("test").endBool("exit 0", "exit 1"), 1)
def test_notmatch_exit1_2(se... | 53.69697 | 105 | 0.672122 | 258 | 1,772 | 4.476744 | 0.174419 | 0.072727 | 0.155844 | 0.218182 | 0.800866 | 0.800866 | 0.800866 | 0.418182 | 0.334199 | 0.268398 | 0 | 0.042468 | 0.149549 | 1,772 | 32 | 106 | 55.375 | 0.723955 | 0 | 0 | 0 | 0 | 0 | 0.181716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.166667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
98f08b2635043ba01adc2ce87b41a555cd8aadd7 | 199 | py | Python | tests/test_dags_script.py | nleguillarme/inteGraph | 65faae4b7c16977094c387f6359980a4e99f94cb | [
"Apache-2.0"
] | null | null | null | tests/test_dags_script.py | nleguillarme/inteGraph | 65faae4b7c16977094c387f6359980a4e99f94cb | [
"Apache-2.0"
] | null | null | null | tests/test_dags_script.py | nleguillarme/inteGraph | 65faae4b7c16977094c387f6359980a4e99f94cb | [
"Apache-2.0"
] | null | null | null | from airflow.models.dagbag import DagBag
def test_import_dags():
dags = DagBag()
print("DAG import failures. Errors: {}".format(dags.import_errors))
assert len(dags.import_errors) == 0
| 24.875 | 71 | 0.713568 | 27 | 199 | 5.111111 | 0.592593 | 0.144928 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.160804 | 199 | 7 | 72 | 28.428571 | 0.820359 | 0 | 0 | 0 | 0 | 0 | 0.155779 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.8 | 0 | 1 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c710ff8ddfb3eb4e9d6e8b51ad5c8baae30db38d | 158 | py | Python | datanator_rest_api/spec/__init__.py | KarrLab/datanator_rest_api | eeadf30703329fbc8feeb9b96db1b78b54a8ccce | [
"MIT"
] | null | null | null | datanator_rest_api/spec/__init__.py | KarrLab/datanator_rest_api | eeadf30703329fbc8feeb9b96db1b78b54a8ccce | [
"MIT"
] | 130 | 2019-08-22T22:29:05.000Z | 2020-12-02T15:32:23.000Z | datanator_rest_api/spec/__init__.py | KarrLab/datanator_rest_api | eeadf30703329fbc8feeb9b96db1b78b54a8ccce | [
"MIT"
] | null | null | null | """ API init
:Author: Bilal Shaikh <bilalshaikh42@gmail.com>
:Date: 2019-08-16
:Copyright: 2019, Karr Lab
:License: MIT
"""
from .SpecUtils import SpecUtils
| 17.555556 | 47 | 0.727848 | 22 | 158 | 5.227273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10219 | 0.132911 | 158 | 8 | 48 | 19.75 | 0.737226 | 0.734177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c729517630f536cdeb70f466c58d5b7694116344 | 515 | py | Python | common/metrics.py | m-bizhani/Digital-rock-image-processing | 4d3914dcfa1f814b953e6ce7e97a198f861f8e3a | [
"MIT"
] | null | null | null | common/metrics.py | m-bizhani/Digital-rock-image-processing | 4d3914dcfa1f814b953e6ce7e97a198f861f8e3a | [
"MIT"
] | null | null | null | common/metrics.py | m-bizhani/Digital-rock-image-processing | 4d3914dcfa1f814b953e6ce7e97a198f861f8e3a | [
"MIT"
] | null | null | null | import tensorflow as tf
def PSNR(y_true, y_pred):
max_pixel = 1.0
return tf.image.psnr(y_true, y_pred, max_val =max_pixel)
def ssim(y_true, y_pred):
max_val = 1.0
return tf.image.ssim(y_true, y_pred, max_val = max_val, filter_size=11, filter_sigma=1.5, k1=0.01, k2=0.03)
def mssim(y_true, ... | 30.294118 | 112 | 0.625243 | 97 | 515 | 3.051546 | 0.298969 | 0.141892 | 0.121622 | 0.202703 | 0.807432 | 0.756757 | 0.685811 | 0.608108 | 0.608108 | 0.608108 | 0 | 0.075718 | 0.256311 | 515 | 16 | 113 | 32.1875 | 0.697128 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c729878274666c8a59a63612852502334789acb8 | 330 | py | Python | scattertext/viz/__init__.py | laugustyniak/scattertext | 95d865091ccb35d1798d650e737e401707a4b5af | [
"Apache-2.0"
] | null | null | null | scattertext/viz/__init__.py | laugustyniak/scattertext | 95d865091ccb35d1798d650e737e401707a4b5af | [
"Apache-2.0"
] | null | null | null | scattertext/viz/__init__.py | laugustyniak/scattertext | 95d865091ccb35d1798d650e737e401707a4b5af | [
"Apache-2.0"
] | null | null | null | from .ScatterplotStructure import ScatterplotStructure
from .BasicHTMLFromScatterplotStructure import BasicHTMLFromScatterplotStructure
from scattertext.viz.PairPlotFromScattertextSctructure import PairPlotFromScatterplotStructure
from .VizDataAdapter import VizDataAdapter
from .HTMLSemioticSquareViz import HTMLSemioti... | 66 | 94 | 0.924242 | 22 | 330 | 13.863636 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057576 | 330 | 5 | 95 | 66 | 0.980707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c737ccf9a9465649ccdab76b5acd96d8f58f4328 | 3,824 | gyp | Python | src/third_party/harfbuzz/harfbuzz.gyp | bdon/fontview | 6e3d9835dafe69d19b1eb185dc9acb9bd01ce708 | [
"Apache-2.0"
] | null | null | null | src/third_party/harfbuzz/harfbuzz.gyp | bdon/fontview | 6e3d9835dafe69d19b1eb185dc9acb9bd01ce708 | [
"Apache-2.0"
] | null | null | null | src/third_party/harfbuzz/harfbuzz.gyp | bdon/fontview | 6e3d9835dafe69d19b1eb185dc9acb9bd01ce708 | [
"Apache-2.0"
] | 1 | 2022-01-14T10:20:29.000Z | 2022-01-14T10:20:29.000Z | {
'includes': ['../../common.gypi'],
'targets': [
{
'target_name': 'harfbuzz',
'type': 'static_library',
'defines': [
'HAVE_FREETYPE',
'HAVE_FT_GET_VAR_BLEND_COORDINATES',
'HAVE_INTEL_ATOMIC_PRIMITIVES',
'HAVE_OT',
'... | 38.24 | 66 | 0.483002 | 404 | 3,824 | 4.502475 | 0.232673 | 0.314458 | 0.357339 | 0.346344 | 0.55635 | 0.37768 | 0.298516 | 0.137438 | 0 | 0 | 0 | 0.000804 | 0.349634 | 3,824 | 99 | 67 | 38.626263 | 0.730599 | 0.078975 | 0 | 0.159091 | 0 | 0 | 0.540718 | 0.447608 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c77e06c71c9b8e58f994249c505faf5776f2b966 | 75 | py | Python | batch_face/fast_alignment/__init__.py | mowshon/batch-face | fa5bb5903622dd9142af9b139a72b2b884b65cde | [
"MIT"
] | 4 | 2020-11-16T10:25:32.000Z | 2021-11-25T09:41:37.000Z | batch_face/fast_alignment/__init__.py | mowshon/batch-face | fa5bb5903622dd9142af9b139a72b2b884b65cde | [
"MIT"
] | 3 | 2021-04-07T11:29:11.000Z | 2022-02-28T11:34:09.000Z | batch_face/fast_alignment/__init__.py | mowshon/batch-face | fa5bb5903622dd9142af9b139a72b2b884b65cde | [
"MIT"
] | 5 | 2020-11-19T05:33:52.000Z | 2021-10-15T14:32:30.000Z | from ._version import __version__
from .predictor import LandmarkPredictor
| 25 | 40 | 0.866667 | 8 | 75 | 7.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 41 | 37.5 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c7af572ab82baef1dba629f150b53f37b38c70bc | 91 | py | Python | pandas_ml/imbaccessors/__init__.py | matsavage/pandas-ml | 794cddc8dc5d0a49fbc9734d826d9465078f376e | [
"BSD-3-Clause"
] | 305 | 2016-02-21T06:35:25.000Z | 2022-03-30T11:53:31.000Z | pandas_ml/imbaccessors/__init__.py | matsavage/pandas-ml | 794cddc8dc5d0a49fbc9734d826d9465078f376e | [
"BSD-3-Clause"
] | 69 | 2016-02-16T08:10:46.000Z | 2022-03-04T14:36:12.000Z | pandas_ml/imbaccessors/__init__.py | matsavage/pandas-ml | 794cddc8dc5d0a49fbc9734d826d9465078f376e | [
"BSD-3-Clause"
] | 73 | 2016-02-16T08:27:28.000Z | 2022-03-10T06:57:51.000Z | #!/usr/bin/env python
from pandas_ml.imbaccessors.base import ImbalanceMethods # noqa
| 22.75 | 65 | 0.769231 | 12 | 91 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 3 | 66 | 30.333333 | 0.884615 | 0.274725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c7afb0a2d05fd2b544af6b88629198886b263767 | 31,853 | py | Python | report_generation.py | rohit-k-das/vulnerability-management-reporter | 0d3f2177669ff4dc72ba1a80e825e7e8de18cc86 | [
"MIT"
] | null | null | null | report_generation.py | rohit-k-das/vulnerability-management-reporter | 0d3f2177669ff4dc72ba1a80e825e7e8de18cc86 | [
"MIT"
] | null | null | null | report_generation.py | rohit-k-das/vulnerability-management-reporter | 0d3f2177669ff4dc72ba1a80e825e7e8de18cc86 | [
"MIT"
] | null | null | null | import logging
import drive
import datetime
import sheet
from typing import List, Dict, Tuple
import ConfigParser
import os
logger = logging.getLogger(__name__)
Config = ConfigParser.ConfigParser()
Config.read(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'settings.ini'))
google_user_for_service_account = ... | 58.232176 | 213 | 0.680815 | 3,703 | 31,853 | 5.508237 | 0.05293 | 0.047066 | 0.036329 | 0.05491 | 0.849439 | 0.806295 | 0.768201 | 0.723293 | 0.677158 | 0.630975 | 0 | 0.000767 | 0.221832 | 31,853 | 546 | 214 | 58.338828 | 0.822125 | 0.02072 | 0 | 0.466346 | 0 | 0.009615 | 0.120194 | 0.036831 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026442 | false | 0 | 0.016827 | 0 | 0.055288 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7f4e4d4d4fb5516d40f6ce6d63f7fb0a55a8a78 | 111 | py | Python | Data_Conversion/Kfunc/__init__.py | simay1224/K-project-UI | c69f83b6446052a1cd32a00700e7db197f36a1ed | [
"Apache-2.0"
] | null | null | null | Data_Conversion/Kfunc/__init__.py | simay1224/K-project-UI | c69f83b6446052a1cd32a00700e7db197f36a1ed | [
"Apache-2.0"
] | 1 | 2018-06-19T22:21:43.000Z | 2018-06-19T22:21:43.000Z | Data_Conversion/Kfunc/__init__.py | simay1224/K-project-UI | c69f83b6446052a1cd32a00700e7db197f36a1ed | [
"Apache-2.0"
] | 3 | 2018-08-29T18:39:57.000Z | 2020-06-05T15:29:07.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Nov 15 17:09:56 2016
@author: medialab
"""
from model import *
| 11.1 | 35 | 0.594595 | 17 | 111 | 3.882353 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 0.225225 | 111 | 9 | 36 | 12.333333 | 0.616279 | 0.693694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1bf68078a26440e3f5260b505f96ef272240aaf8 | 95 | py | Python | Class 12 Record Book/Length.py | Bamgm14/My-Random-Work | b9678a3a84dd8ff00efd638890cff76eb6967c1b | [
"MIT"
] | null | null | null | Class 12 Record Book/Length.py | Bamgm14/My-Random-Work | b9678a3a84dd8ff00efd638890cff76eb6967c1b | [
"MIT"
] | null | null | null | Class 12 Record Book/Length.py | Bamgm14/My-Random-Work | b9678a3a84dd8ff00efd638890cff76eb6967c1b | [
"MIT"
] | null | null | null | def Length(file='Weird.txt'):
return len(list(open(file,'r').readlines()))
print(Length())
| 23.75 | 48 | 0.663158 | 14 | 95 | 4.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 3 | 49 | 31.666667 | 0.732558 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4043fd507df5bdbc5820b08b225176806f2983d1 | 1,836 | py | Python | stonesoup/types/array.py | dlast-dstl/Stone-Soup | 033254add5adc00097b746f81d6640308a3e3319 | [
"MIT"
] | 1 | 2021-04-13T11:47:42.000Z | 2021-04-13T11:47:42.000Z | stonesoup/types/array.py | dlast-dstl/Stone-Soup | 033254add5adc00097b746f81d6640308a3e3319 | [
"MIT"
] | null | null | null | stonesoup/types/array.py | dlast-dstl/Stone-Soup | 033254add5adc00097b746f81d6640308a3e3319 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
class StateVector(np.ndarray):
"""State vector wrapper for :class:`numpy.ndarray`
This class returns a view to a :class:`numpy.ndarray`, but ensures that
its initialised at a *Nx1* vector. It's called same as to
:func:`numpy.asarray`.
"""
def __new_... | 31.655172 | 77 | 0.610022 | 242 | 1,836 | 4.487603 | 0.280992 | 0.055249 | 0.062615 | 0.051565 | 0.712707 | 0.712707 | 0.712707 | 0.64825 | 0.64825 | 0.64825 | 0 | 0.005878 | 0.258715 | 1,836 | 57 | 78 | 32.210526 | 0.792065 | 0.235294 | 0 | 0.5625 | 0 | 0 | 0.066961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.03125 | 0.0625 | 0.59375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
40517258bb4832a077d5c1ffbc13d2bd7db0e5b6 | 2,508 | py | Python | bannerpunk/print.py | jarret/bannerpunk | f51d29fadf72c04b0b66adf8f5674328bff9f599 | [
"MIT"
] | 3 | 2019-12-09T02:03:57.000Z | 2019-12-29T03:42:18.000Z | bannerpunk/print.py | jarret/bannerpunk | f51d29fadf72c04b0b66adf8f5674328bff9f599 | [
"MIT"
] | null | null | null | bannerpunk/print.py | jarret/bannerpunk | f51d29fadf72c04b0b66adf8f5674328bff9f599 | [
"MIT"
] | null | null | null | # Copyright (c) 2018 PrimeVR
# All rights Reserved
###############################################################################
# print helpers
###############################################################################
CHILL_WHITE = '\x1b[0;37;40m'
CHILL_PURPLE = '\x1b[0;35;40m'
CHILL_LIGHT_BLUE = '\x1b[0;36;4... | 23.660377 | 79 | 0.642743 | 348 | 2,508 | 4.41092 | 0.112069 | 0.175896 | 0.220195 | 0.152443 | 0.441694 | 0.093811 | 0 | 0 | 0 | 0 | 0 | 0.042715 | 0.159888 | 2,508 | 105 | 80 | 23.885714 | 0.685809 | 0.023923 | 0 | 0 | 0 | 0 | 0.085135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.391304 | false | 0 | 0 | 0.188406 | 0.57971 | 0.405797 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 5 |
40517478ae6e37ed546d663cd3159a7be1cafc5d | 107 | py | Python | slybot/slybot/starturls/__init__.py | bowlofstew/portia | 41aaf2ef1a3ac75aeda363b6a5b67bf21b1afd4c | [
"BSD-3-Clause"
] | 1 | 2017-11-03T13:00:21.000Z | 2017-11-03T13:00:21.000Z | slybot/slybot/starturls/__init__.py | Save22/portia | 961d2c87b99d99fbdc17aa932ec897bdbcd54d79 | [
"BSD-3-Clause"
] | 2 | 2021-03-31T20:04:55.000Z | 2021-12-13T20:47:09.000Z | slybot/slybot/starturls/__init__.py | bowlofstew/portia | 41aaf2ef1a3ac75aeda363b6a5b67bf21b1afd4c | [
"BSD-3-Clause"
] | 2 | 2017-11-03T13:00:23.000Z | 2020-08-28T19:59:40.000Z | from .generator import UrlGenerator
class StartUrls():
def __call__(self, spec):
return spec
| 15.285714 | 35 | 0.691589 | 12 | 107 | 5.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233645 | 107 | 6 | 36 | 17.833333 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
409f30d07086ca905cdec06fd445e125530e6735 | 1,564 | py | Python | guillotina/utils/__init__.py | karannaoh/guillotina | dbc04f142734c465a04cb94ef6801ba819e63c76 | [
"BSD-2-Clause"
] | null | null | null | guillotina/utils/__init__.py | karannaoh/guillotina | dbc04f142734c465a04cb94ef6801ba819e63c76 | [
"BSD-2-Clause"
] | null | null | null | guillotina/utils/__init__.py | karannaoh/guillotina | dbc04f142734c465a04cb94ef6801ba819e63c76 | [
"BSD-2-Clause"
] | null | null | null | from .auth import get_authenticated_user # noqa
from .auth import get_authenticated_user_id # noqa
from .content import get_behavior # noqa
from .content import get_containers # noqa
from .content import get_content_depth # noqa
from .content import get_content_path # noqa
from .content import get_object_by_oid ... | 42.27027 | 51 | 0.792839 | 237 | 1,564 | 4.991561 | 0.248945 | 0.236686 | 0.121724 | 0.182587 | 0.559594 | 0.324598 | 0.057481 | 0 | 0 | 0 | 0 | 0 | 0.161125 | 1,564 | 36 | 52 | 43.444444 | 0.901677 | 0.11445 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.027778 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
40ba7aab465979e7dcec90e2c60e8d488a3753b6 | 24,098 | py | Python | tests/test_report_writer.py | lemoncheesecake/lemoncheesecake | bc92cb8225d74e2687ed5825ee5af3f56f907829 | [
"Apache-2.0",
"MIT"
] | 34 | 2017-06-12T18:50:36.000Z | 2021-11-29T01:59:07.000Z | tests/test_report_writer.py | lemoncheesecake/lemoncheesecake | bc92cb8225d74e2687ed5825ee5af3f56f907829 | [
"Apache-2.0",
"MIT"
] | 25 | 2017-12-07T13:35:29.000Z | 2022-03-10T01:27:58.000Z | tests/test_report_writer.py | lemoncheesecake/lemoncheesecake | bc92cb8225d74e2687ed5825ee5af3f56f907829 | [
"Apache-2.0",
"MIT"
] | 4 | 2019-05-05T03:19:00.000Z | 2021-10-06T13:12:05.000Z | # -*- coding: utf-8 -*-
'''
Created on Nov 1, 2016
@author: nicolas
'''
import os.path as osp
import time
import pytest
import six
import lemoncheesecake.api as lcc
from lemoncheesecake.matching import *
from helpers.runner import run_suite_class, run_suite_classes, run_func_in_test
from helpers.report import as... | 27.603666 | 122 | 0.632086 | 3,221 | 24,098 | 4.519093 | 0.063645 | 0.03222 | 0.030228 | 0.032152 | 0.8018 | 0.762572 | 0.729321 | 0.691261 | 0.669964 | 0.653476 | 0 | 0.012425 | 0.238526 | 24,098 | 872 | 123 | 27.635321 | 0.780817 | 0.003942 | 0 | 0.683721 | 0 | 0 | 0.102151 | 0 | 0 | 0 | 0 | 0 | 0.235659 | 1 | 0.176744 | false | 0.065116 | 0.012403 | 0.00155 | 0.252713 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
40f56b6672d61b45315a677a55d834c92ed3b91e | 110 | py | Python | quand.py | gaoyan0629/ml | c1ad3a3a6bdbe75e5911e8946bdf73d6cf14c3c8 | [
"Apache-2.0"
] | null | null | null | quand.py | gaoyan0629/ml | c1ad3a3a6bdbe75e5911e8946bdf73d6cf14c3c8 | [
"Apache-2.0"
] | null | null | null | quand.py | gaoyan0629/ml | c1ad3a3a6bdbe75e5911e8946bdf73d6cf14c3c8 | [
"Apache-2.0"
] | null | null | null | import quandl
mydata = quandl.get("YAHOO/INDEX_DJI",
start_date="2005-12-01", end_date="2005-12-05")
| 27.5 | 55 | 0.681818 | 18 | 110 | 4 | 0.777778 | 0.222222 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0.145455 | 110 | 3 | 56 | 36.666667 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dc0e01e5c601a01f2950a7352ea2398fa5d1ff2e | 285 | py | Python | qtrader/agents/random.py | aaron8tang/qtrader | 9bd50fd173c7b55707e91d75985055bbe8664548 | [
"Apache-2.0"
] | 381 | 2017-10-25T19:17:04.000Z | 2021-03-02T08:46:53.000Z | qtrader/agents/random.py | 362115815/qtrader | e5c1e175e19b20381f9140fb76c30ad5cb81f01c | [
"Apache-2.0"
] | 3 | 2018-02-13T23:19:40.000Z | 2018-12-03T22:50:58.000Z | qtrader/agents/random.py | 362115815/qtrader | e5c1e175e19b20381f9140fb76c30ad5cb81f01c | [
"Apache-2.0"
] | 145 | 2017-10-25T19:17:06.000Z | 2021-02-15T04:54:08.000Z | import numpy as np
from qtrader.agents.base import Agent
class RandomAgent(Agent):
"""Random agent."""
_id = 'random'
def __init__(self, action_space):
self.action_space = action_space
def act(self, observation):
return self.action_space.sample()
| 17.8125 | 41 | 0.673684 | 36 | 285 | 5.083333 | 0.611111 | 0.240437 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224561 | 285 | 15 | 42 | 19 | 0.828054 | 0.045614 | 0 | 0 | 0 | 0 | 0.022556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9074a91f6d1cd93585f26530bb8637feb3d5a91f | 109 | py | Python | avatar/signals.py | davmlaw/django-avatar | a634433a273f2d24c0a476c73943dfaa59eb0fd6 | [
"BSD-3-Clause"
] | null | null | null | avatar/signals.py | davmlaw/django-avatar | a634433a273f2d24c0a476c73943dfaa59eb0fd6 | [
"BSD-3-Clause"
] | null | null | null | avatar/signals.py | davmlaw/django-avatar | a634433a273f2d24c0a476c73943dfaa59eb0fd6 | [
"BSD-3-Clause"
] | null | null | null | import django.dispatch
avatar_updated = django.dispatch.Signal()
avatar_deleted = django.dispatch.Signal()
| 18.166667 | 41 | 0.807339 | 13 | 109 | 6.615385 | 0.538462 | 0.488372 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091743 | 109 | 5 | 42 | 21.8 | 0.868687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
90a87194ba14bd6a3d01f3dabd02bf63a4148a42 | 5,867 | py | Python | models/.ipynb_checkpoints/model_architecture-checkpoint.py | punyajoy/Fear-speech-analysis | a20f0032eee0114aac04710a5961f395bf0e4d59 | [
"MIT"
] | 10 | 2021-02-07T19:41:01.000Z | 2021-02-28T08:07:07.000Z | models/.ipynb_checkpoints/model_architecture-checkpoint.py | punyajoy/Fear-speech-analysis | a20f0032eee0114aac04710a5961f395bf0e4d59 | [
"MIT"
] | 1 | 2021-02-07T18:28:25.000Z | 2021-02-07T18:28:25.000Z | models/.ipynb_checkpoints/model_architecture-checkpoint.py | punyajoy/Fear-speech-analysis | a20f0032eee0114aac04710a5961f395bf0e4d59 | [
"MIT"
] | 2 | 2021-02-07T19:40:49.000Z | 2021-02-20T17:08:01.000Z | #from transformers import BertForSequenceClassification,BertPreTrainedModel,RobertaPreTrainedModel,XLMRobertaForSequenceClassification
from transformers.modeling_bert import *
from transformers.modeling_roberta import *
from transformers.modeling_xlm_roberta import *
from torch import nn
import torch
from torch.nn impo... | 42.208633 | 148 | 0.633373 | 703 | 5,867 | 5.051209 | 0.192034 | 0.05069 | 0.051253 | 0.057449 | 0.73782 | 0.73782 | 0.73782 | 0.720924 | 0.720924 | 0.701774 | 0 | 0.008661 | 0.27186 | 5,867 | 139 | 149 | 42.208633 | 0.822566 | 0.163968 | 0 | 0.565217 | 0 | 0 | 0.029624 | 0.0144 | 0 | 0 | 0 | 0 | 0.021739 | 1 | 0.054348 | false | 0 | 0.065217 | 0 | 0.173913 | 0.032609 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
90daff38b261653bbebc6b1dc07df60be513b782 | 13 | py | Python | Module00/myfirst-python.py | geiyer/cis189-python | 2b85ff66277b337aab9f6a7a6fa1c86dccf0178c | [
"MIT"
] | 2 | 2021-02-24T00:32:36.000Z | 2021-04-21T00:09:36.000Z | Module00/myfirst-python.py | geiyer/cis189-python | 2b85ff66277b337aab9f6a7a6fa1c86dccf0178c | [
"MIT"
] | null | null | null | Module00/myfirst-python.py | geiyer/cis189-python | 2b85ff66277b337aab9f6a7a6fa1c86dccf0178c | [
"MIT"
] | 2 | 2021-03-30T23:37:49.000Z | 2021-04-21T00:08:32.000Z | print('gopi') | 13 | 13 | 0.692308 | 2 | 13 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 | 1 | 13 | 13 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
90eac991fed069567cc92ab449b4869d566e3e75 | 48 | py | Python | converty/image_convert/__init__.py | sharmas1ddharth/converty | eb32dfc1882a7c20d57916287c10e154adbe67d9 | [
"MIT"
] | null | null | null | converty/image_convert/__init__.py | sharmas1ddharth/converty | eb32dfc1882a7c20d57916287c10e154adbe67d9 | [
"MIT"
] | null | null | null | converty/image_convert/__init__.py | sharmas1ddharth/converty | eb32dfc1882a7c20d57916287c10e154adbe67d9 | [
"MIT"
] | null | null | null | #from img_convert import jpg_to_png, png_to_jpg
| 24 | 47 | 0.854167 | 10 | 48 | 3.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.837209 | 0.958333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2903d5d69b9135292976689b8bee6d75b64c1f3f | 10,412 | py | Python | spytest/tests/routing/BGP/bgp4nodelib.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | 1 | 2021-09-15T17:09:13.000Z | 2021-09-15T17:09:13.000Z | spytest/tests/routing/BGP/bgp4nodelib.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | 1 | 2020-02-05T16:51:53.000Z | 2020-02-05T16:51:53.000Z | spytest/tests/routing/BGP/bgp4nodelib.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | null | null | null | #BGP 4 node linear topology
from spytest import st
from spytest.dicts import SpyTestDict
import apis.routing.ip as ipapi
import apis.routing.bgp as bgpapi
import utilities.common as utils
import BGP.bgplib as bgplib
global topo
topo = SpyTestDict()
def l3_ipv4v6_address_config_unconfig(config='yes', vrf_type='all', c... | 46.690583 | 243 | 0.608817 | 1,388 | 10,412 | 4.340778 | 0.112392 | 0.051452 | 0.047469 | 0.048797 | 0.809627 | 0.792697 | 0.750871 | 0.718672 | 0.680166 | 0.665228 | 0 | 0.039939 | 0.24491 | 10,412 | 222 | 244 | 46.900901 | 0.726405 | 0.067326 | 0 | 0.545455 | 0 | 0 | 0.170343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032468 | false | 0 | 0.038961 | 0.006494 | 0.103896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2911616b731165fcdfcdc35a01337dbcf1f0bef8 | 72,048 | py | Python | google/ads/google_ads/v5/proto/resources/ad_group_criterion_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v5/proto/resources/ad_group_criterion_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v5/proto/resources/ad_group_criterion_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v5/proto/resources/ad_group_criterion.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from ... | 71.832502 | 7,972 | 0.798426 | 9,605 | 72,048 | 5.567829 | 0.065487 | 0.025805 | 0.034331 | 0.049739 | 0.830943 | 0.798239 | 0.7436 | 0.684811 | 0.651676 | 0.583201 | 0 | 0.038577 | 0.100155 | 72,048 | 1,002 | 7,973 | 71.904192 | 0.786309 | 0.007231 | 0 | 0.45221 | 1 | 0.004111 | 0.35468 | 0.223972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015416 | 0 | 0.015416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2920ca4dd0173ed4466604445038b0eb072ca1d0 | 74 | py | Python | pyretina/mc/__init__.py | yandexdataschool/pyretina | 300d3cd460ded071d75d3729e9b5dc1489d86d73 | [
"Apache-2.0"
] | 2 | 2016-05-28T15:59:47.000Z | 2018-07-30T21:05:18.000Z | pyretina/mc/__init__.py | yandexdataschool/pyretina | 300d3cd460ded071d75d3729e9b5dc1489d86d73 | [
"Apache-2.0"
] | null | null | null | pyretina/mc/__init__.py | yandexdataschool/pyretina | 300d3cd460ded071d75d3729e9b5dc1489d86d73 | [
"Apache-2.0"
] | null | null | null | from pseudo_velo_mc import monte_carlo, mc_stream
from config import Event | 37 | 49 | 0.878378 | 13 | 74 | 4.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 50 | 37 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4625660b6d5d04c16c34782448fe3d79c97a7f98 | 112 | py | Python | detection/__main__.py | janaSunrise/opencv2-face-detection-python | 319f158f5f8eeadea597a447fee065d3926eefca | [
"MIT"
] | 3 | 2021-05-04T17:50:02.000Z | 2021-05-10T14:38:34.000Z | detection/__main__.py | janaSunrise/opencv2-face-detection-python | 319f158f5f8eeadea597a447fee065d3926eefca | [
"MIT"
] | null | null | null | detection/__main__.py | janaSunrise/opencv2-face-detection-python | 319f158f5f8eeadea597a447fee065d3926eefca | [
"MIT"
] | null | null | null | if __name__ == "__main__":
print("You cannot run this module directly. Try running one of the submodules.")
| 37.333333 | 84 | 0.723214 | 16 | 112 | 4.5625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 2 | 85 | 56 | 0.793478 | 0 | 0 | 0 | 0 | 0 | 0.705357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
464396c60b52257d002eea4cf825e7bdb78ee009 | 99 | py | Python | main.py | TheRavehorn/KeyLogger | 19faa15f929417942f6aaac1a28ada42ae3de384 | [
"MIT"
] | null | null | null | main.py | TheRavehorn/KeyLogger | 19faa15f929417942f6aaac1a28ada42ae3de384 | [
"MIT"
] | null | null | null | main.py | TheRavehorn/KeyLogger | 19faa15f929417942f6aaac1a28ada42ae3de384 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import keylogger
my_keylogger = keylogger.KeyLogger()
my_keylogger.start()
| 16.5 | 36 | 0.787879 | 13 | 99 | 5.846154 | 0.615385 | 0.289474 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.090909 | 99 | 5 | 37 | 19.8 | 0.833333 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4649cd8b599afe84623169e1d007d61a6131e097 | 39 | py | Python | setupegg.py | joshua-sterner/stockwell_transform | 6b78613cc3b2f6e0ac872813f41e57e949327c8c | [
"MIT"
] | 25 | 2017-03-23T19:21:00.000Z | 2022-03-03T14:49:42.000Z | setupegg.py | joshua-sterner/stockwell_transform | 6b78613cc3b2f6e0ac872813f41e57e949327c8c | [
"MIT"
] | 3 | 2017-12-18T16:49:06.000Z | 2019-06-30T12:24:40.000Z | setupegg.py | joshua-sterner/stockwell_transform | 6b78613cc3b2f6e0ac872813f41e57e949327c8c | [
"MIT"
] | 13 | 2016-04-25T23:17:45.000Z | 2021-01-30T23:42:35.000Z | import setuptools
execfile("setup.py")
| 13 | 20 | 0.794872 | 5 | 39 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 2 | 21 | 19.5 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d3c01ed5c9aad5e69c4a89e695d078cf93edc0e2 | 19 | py | Python | gym/version.py | MrJayK/gym | 49d33fa83c6b65859d584939dc6e72f1ad36882d | [
"Python-2.0",
"OLDAP-2.7"
] | 9 | 2019-12-11T20:34:20.000Z | 2021-05-23T04:35:29.000Z | gym/version.py | MrJayK/gym | 49d33fa83c6b65859d584939dc6e72f1ad36882d | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | gym/version.py | MrJayK/gym | 49d33fa83c6b65859d584939dc6e72f1ad36882d | [
"Python-2.0",
"OLDAP-2.7"
] | 1 | 2018-12-18T12:21:47.000Z | 2018-12-18T12:21:47.000Z | VERSION = '0.11.0'
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d3dfd6b2d289d0878c6eea0c8424f0e05509ec2c | 6,999 | py | Python | modules/2.79/freestyle/functions.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/freestyle/functions.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/freestyle/functions.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | class ChainingTimeStampF1D:
def __init__(self):
pass
def __call__(self, inter):
pass
class Curvature2DAngleF0D:
def __init__(self):
pass
def __call__(self, it):
pass
class Curvature2DAngleF1D:
def __init__(self, integration_type=IntegrationType.MEAN):
... | 12.431616 | 96 | 0.627947 | 709 | 6,999 | 5.588152 | 0.118477 | 0.136295 | 0.144372 | 0.193084 | 0.687027 | 0.670873 | 0.662039 | 0.662039 | 0.632761 | 0.632761 | 0 | 0.017515 | 0.298471 | 6,999 | 562 | 97 | 12.453737 | 0.789409 | 0 | 0 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.373188 | false | 0.405797 | 0 | 0 | 0.594203 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3103ec75192ef137fa9a0eceec55142a3a9fbe40 | 60 | py | Python | Unicorn.py | Hackerx0406/termux.clone | 31d7d7320eda8db35c7e6a48cd20edd0da0e441d | [
"Apache-2.0"
] | null | null | null | Unicorn.py | Hackerx0406/termux.clone | 31d7d7320eda8db35c7e6a48cd20edd0da0e441d | [
"Apache-2.0"
] | null | null | null | Unicorn.py | Hackerx0406/termux.clone | 31d7d7320eda8db35c7e6a48cd20edd0da0e441d | [
"Apache-2.0"
] | null | null | null | print("Hello User!")
print ("stay safe & have a nice day!")
| 20 | 38 | 0.65 | 10 | 60 | 3.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 2 | 39 | 30 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
31136bccb043f041d3a62fd66e12d2049a118cc4 | 126,549 | py | Python | NetFlax_pipeline_code/scripts/TAGs.py | GCA-VH-lab/coreNet | 19d328e808df93b7ea8ac18ed54982a6e720c09e | [
"MIT"
] | null | null | null | NetFlax_pipeline_code/scripts/TAGs.py | GCA-VH-lab/coreNet | 19d328e808df93b7ea8ac18ed54982a6e720c09e | [
"MIT"
] | null | null | null | NetFlax_pipeline_code/scripts/TAGs.py | GCA-VH-lab/coreNet | 19d328e808df93b7ea8ac18ed54982a6e720c09e | [
"MIT"
] | null | null | null | __author__ = "Chayan Kumar Saha, Gemma C. Atkinson"
__copyright__ = "MIT License: Copyright (c) 2020 Chayan Kumar Saha"
__email__ = "chayan.sust7@gmail.com"
from Bio import SeqIO
from Bio import Entrez
from Bio.Seq import Seq
from Bio.SeqRecord import SeqRecord
from Bio.Alphabet import generic_protein, IUPAC
import ... | 39.670533 | 379 | 0.677698 | 17,116 | 126,549 | 4.919198 | 0.073323 | 0.012328 | 0.008551 | 0.006841 | 0.774279 | 0.748008 | 0.727948 | 0.712282 | 0.695274 | 0.68525 | 0 | 0.030495 | 0.155497 | 126,549 | 3,189 | 380 | 39.682973 | 0.757343 | 0.11601 | 0 | 0.700802 | 0 | 0.006924 | 0.11741 | 0.011571 | 0.004373 | 0 | 0 | 0 | 0 | 1 | 0.021501 | false | 0.00328 | 0.010569 | 0.000364 | 0.088557 | 0.040816 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31471ce1c12c18064307381d689bd7c604c7e3ce | 149 | py | Python | angr/procedures/libc/setbuf.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | angr/procedures/libc/setbuf.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | angr/procedures/libc/setbuf.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z | import angr
class setbuf(angr.SimProcedure):
#pylint:disable=arguments-differ, unused-argument
def run(self, stream, buf):
return
| 16.555556 | 53 | 0.697987 | 18 | 149 | 5.777778 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201342 | 149 | 8 | 54 | 18.625 | 0.87395 | 0.322148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
31486c72d7dc2979eab1de3e230296c92ab947dd | 170 | wsgi | Python | Monitora-backend/main.wsgi | miiila/nasi-politici | 3edbf7adc3d89e2839c50ff2e7693101784868a0 | [
"MIT"
] | 16 | 2019-11-26T16:30:39.000Z | 2021-07-25T19:13:15.000Z | Monitora-backend/main.wsgi | miiila/nasi-politici | 3edbf7adc3d89e2839c50ff2e7693101784868a0 | [
"MIT"
] | 33 | 2019-11-25T08:17:54.000Z | 2022-02-26T21:08:41.000Z | Monitora-backend/main.wsgi | miiila/nasi-politici | 3edbf7adc3d89e2839c50ff2e7693101784868a0 | [
"MIT"
] | 8 | 2020-01-06T10:39:52.000Z | 2021-10-16T15:06:08.000Z | #!/usr/bin/python
import sys
import logging
logging.basicConfig(stream=sys.stderr)
sys.path.insert(0,"/var/www/fullreport/API/main/")
from main import app as application | 24.285714 | 50 | 0.788235 | 27 | 170 | 4.962963 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.076471 | 170 | 7 | 51 | 24.285714 | 0.847134 | 0.094118 | 0 | 0 | 0 | 0 | 0.188312 | 0.188312 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
314ba3a5881c9855c3210c8a581e1ee7bed8a510 | 168 | py | Python | tests/test_utils/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | null | null | null | tests/test_utils/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | null | null | null | tests/test_utils/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | null | null | null | import pytest
import backend as F
parametrize_idtype = pytest.mark.parametrize("idtype", [F.int32, F.int64])
from .checks import *
from .graph_cases import get_cases
| 21 | 74 | 0.779762 | 25 | 168 | 5.12 | 0.6 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027211 | 0.125 | 168 | 7 | 75 | 24 | 0.843537 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
314cd3af076d89a6ef53dd505680bb47e99707ba | 2,881 | py | Python | tests/test_influx.py | letrout/home_automation | 290a710ebecbb799746b4eaa1377865f833009bb | [
"Apache-2.0"
] | null | null | null | tests/test_influx.py | letrout/home_automation | 290a710ebecbb799746b4eaa1377865f833009bb | [
"Apache-2.0"
] | 1 | 2022-01-04T19:24:40.000Z | 2022-01-29T19:24:02.000Z | tests/test_influx.py | letrout/home_automation | 290a710ebecbb799746b4eaa1377865f833009bb | [
"Apache-2.0"
] | null | null | null | import pytest
from sensors.lib.influx import influx
def test_lp_1f1v():
test = influx.influx_lp(
"temp",
{"field1": 1},
{"tag1": 2},
1634158455045502066
)
assert test == "temp,tag1=2 field1=1 1634158455045502066"
def test_lp_2f2v():
test = influx.influx_lp(
... | 23.048 | 91 | 0.552933 | 323 | 2,881 | 4.80805 | 0.145511 | 0.085641 | 0.117193 | 0.139086 | 0.841597 | 0.777849 | 0.772054 | 0.705087 | 0.579524 | 0.510625 | 0 | 0.23657 | 0.295731 | 2,881 | 124 | 92 | 23.233871 | 0.528832 | 0.111073 | 0 | 0.588889 | 0 | 0 | 0.25637 | 0.059976 | 0 | 0 | 0 | 0.008065 | 0.122222 | 1 | 0.122222 | false | 0 | 0.022222 | 0 | 0.144444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9edb5b37e160f7a0e9572c7c5ee19a5cbb3758c9 | 192 | py | Python | infiltrate/views/faq.py | Qazzquimby/eternalCardEvaluator | ef8640ed819a89e5198f8aedf0861a29c57c5720 | [
"MIT"
] | 4 | 2019-04-08T09:30:10.000Z | 2020-09-15T19:25:30.000Z | infiltrate/views/faq.py | Qazzquimby/eternalCardEvaluator | ef8640ed819a89e5198f8aedf0861a29c57c5720 | [
"MIT"
] | 19 | 2019-04-09T19:02:14.000Z | 2020-12-25T05:22:45.000Z | infiltrate/views/faq.py | Qazzquimby/eternalCardEvaluator | ef8640ed819a89e5198f8aedf0861a29c57c5720 | [
"MIT"
] | null | null | null | """This is where the routes are defined."""
import flask
from flask_classful import FlaskView
class FaqView(FlaskView):
def index(self):
return flask.render_template("faq.html")
| 21.333333 | 48 | 0.729167 | 26 | 192 | 5.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 192 | 8 | 49 | 24 | 0.867925 | 0.192708 | 0 | 0 | 0 | 0 | 0.053691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
7305f64bed74a8cd99a86a6e7a9ee70628c723d7 | 2,688 | py | Python | apps/people/tests/test_create_people.py | bergran/people | a2639b238005bd37b7a08f220b57c4b5ad5c031d | [
"MIT"
] | null | null | null | apps/people/tests/test_create_people.py | bergran/people | a2639b238005bd37b7a08f220b57c4b5ad5c031d | [
"MIT"
] | null | null | null | apps/people/tests/test_create_people.py | bergran/people | a2639b238005bd37b7a08f220b57c4b5ad5c031d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from fastapi.encoders import jsonable_encoder
from starlette import status
from apps.people.serializers.people import PeopleOutSerializer
from core.test.transaction_test_case import TransactionTestCase
class CreatePeopleTestCase(TransactionTestCase):
@staticmethod
def get_url():
... | 33.185185 | 75 | 0.629092 | 306 | 2,688 | 5.284314 | 0.228758 | 0.029685 | 0.077922 | 0.095238 | 0.717996 | 0.717996 | 0.717996 | 0.717996 | 0.717996 | 0.717996 | 0 | 0.013466 | 0.254092 | 2,688 | 80 | 76 | 33.6 | 0.793017 | 0.007813 | 0 | 0.650794 | 0 | 0 | 0.102439 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 1 | 0.095238 | false | 0 | 0.063492 | 0.015873 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b44906c6a4f9e4f33b182018ea4cd4e8c43e4617 | 18,876 | py | Python | GPyOpt/optimization/acquisition_optimizer.py | RaulAstudillo/bocf | cd84eab2d1b4ea5a4bdeeb452df92296afbafb87 | [
"BSD-3-Clause"
] | null | null | null | GPyOpt/optimization/acquisition_optimizer.py | RaulAstudillo/bocf | cd84eab2d1b4ea5a4bdeeb452df92296afbafb87 | [
"BSD-3-Clause"
] | null | null | null | GPyOpt/optimization/acquisition_optimizer.py | RaulAstudillo/bocf | cd84eab2d1b4ea5a4bdeeb452df92296afbafb87 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2016, the GPyOpt Authors
# Licensed under the BSD 3-clause license (see LICENSE.txt)
from .optimizer import OptLbfgs, OptSGD, OptDirect, OptCma, apply_optimizer, choose_optimizer, apply_optimizer_inner
from .anchor_points_generator import ObjectiveAnchorPointsGenerator, ThompsonSamplingAnchorPointsGene... | 48.524422 | 247 | 0.66264 | 2,334 | 18,876 | 5.095973 | 0.100686 | 0.11098 | 0.044308 | 0.026484 | 0.751724 | 0.7302 | 0.72835 | 0.720111 | 0.711031 | 0.711031 | 0 | 0.005209 | 0.257523 | 18,876 | 388 | 248 | 48.649485 | 0.843453 | 0.228915 | 0 | 0.574879 | 0 | 0 | 0.022909 | 0.001702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048309 | false | 0 | 0.038647 | 0.004831 | 0.135266 | 0.120773 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b45cd4c02512e87dfb95b5b451287e391f50f7ec | 232 | py | Python | assignment-3/solvers/__init__.py | ybhan/Artificial-Intelligence-Projects | f562f4e4bf0093da13b3fb4675c97ea8e02b0ed1 | [
"MIT"
] | null | null | null | assignment-3/solvers/__init__.py | ybhan/Artificial-Intelligence-Projects | f562f4e4bf0093da13b3fb4675c97ea8e02b0ed1 | [
"MIT"
] | null | null | null | assignment-3/solvers/__init__.py | ybhan/Artificial-Intelligence-Projects | f562f4e4bf0093da13b3fb4675c97ea8e02b0ed1 | [
"MIT"
] | null | null | null | # COMP3620/6320 Artificial Intelligence
# The Australian National University - 2018
# Miquel Ramirez, Nathan Robinson, Enrico Scala ({enrico.scala,miquel.ramirez}@gmail.com)
from .solver_base import SolvingException, SolverWrapper
| 38.666667 | 89 | 0.814655 | 27 | 232 | 6.962963 | 0.851852 | 0.138298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.107759 | 232 | 5 | 90 | 46.4 | 0.850242 | 0.719828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b465e6a16c59d0d420f146e4aadc4dc946f251fd | 92 | py | Python | yzrpc/templates/project_template/src/services/__init__.py | ml444/yz-rpc | f3b6cb76dab72e1763d759080854c11aa6ade872 | [
"Apache-2.0"
] | 5 | 2021-04-28T09:12:04.000Z | 2021-11-25T13:50:32.000Z | yzrpc/templates/project_template/src/services/__init__.py | ml444/yz-rpc | f3b6cb76dab72e1763d759080854c11aa6ade872 | [
"Apache-2.0"
] | null | null | null | yzrpc/templates/project_template/src/services/__init__.py | ml444/yz-rpc | f3b6cb76dab72e1763d759080854c11aa6ade872 | [
"Apache-2.0"
] | 2 | 2021-07-27T04:11:51.000Z | 2022-01-06T09:36:06.000Z | #!/usr/bin/python3.7+
# -*- coding:utf-8 -*-
"""
@auth: cml
@date: 2021/2/23
@desc: ...
"""
| 11.5 | 22 | 0.5 | 14 | 92 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 0.141304 | 92 | 7 | 23 | 13.142857 | 0.455696 | 0.869565 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b470b4adffc8648c0343955ff3985b73ab00d688 | 248 | py | Python | corehq/ex-submodules/pillowtop/exceptions.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/ex-submodules/pillowtop/exceptions.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/ex-submodules/pillowtop/exceptions.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z |
class PillowtopCheckpointReset(Exception):
pass
class PillowNotFoundError(Exception):
pass
class PillowtopIndexingError(Exception):
pass
class PillowConfigError(Exception):
pass
class BulkDocException(Exception):
pass
| 11.809524 | 42 | 0.758065 | 20 | 248 | 9.4 | 0.4 | 0.345745 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181452 | 248 | 20 | 43 | 12.4 | 0.926108 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b47c042002ea8bb549e4e68879ab958cee8fe2ee | 10,317 | py | Python | venv/Lib/site-packages/PyQt4/examples/declarative/modelviews/objectlistmodel/objectlistmodel_rc.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyQt4/examples/declarative/modelviews/objectlistmodel/objectlistmodel_rc.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyQt4/examples/declarative/modelviews/objectlistmodel/objectlistmodel_rc.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Sat 2. Mar 10:35:47 2013
# by: The Resource Compiler for PyQt (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x09\x05\
\x2f\
\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x2a\x... | 57 | 96 | 0.727149 | 2,439 | 10,317 | 3.068471 | 0.051251 | 0.14992 | 0.17798 | 0.234099 | 0.667023 | 0.568813 | 0.525922 | 0.493453 | 0.427312 | 0.37961 | 0 | 0.40006 | 0.02336 | 10,317 | 180 | 97 | 57.316667 | 0.342696 | 0.017544 | 0 | 0.048485 | 0 | 0.890909 | 0 | 0 | 0 | 1 | 0.00079 | 0 | 0 | 1 | 0.012121 | false | 0 | 0.006061 | 0 | 0.018182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b47ef3e80d6b7f715ea653b06064311987b035cd | 40 | py | Python | tingting.py | yaserqaziuva/cs3240-labdemo | bc17db0fc4107d0f4524fbc5eaf121a117a96409 | [
"MIT"
] | null | null | null | tingting.py | yaserqaziuva/cs3240-labdemo | bc17db0fc4107d0f4524fbc5eaf121a117a96409 | [
"MIT"
] | null | null | null | tingting.py | yaserqaziuva/cs3240-labdemo | bc17db0fc4107d0f4524fbc5eaf121a117a96409 | [
"MIT"
] | null | null | null | # Yaser Qazi (yq4du)
print("tingting")
| 10 | 20 | 0.675 | 5 | 40 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.15 | 40 | 3 | 21 | 13.333333 | 0.764706 | 0.45 | 0 | 0 | 0 | 0 | 0.4 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b48168930bbe2bb695b47d99581f63e11478b98f | 129 | py | Python | forex/admin.py | Shokr/Stocks-Screener | 0b8da91da40b715beaf3a79163b1bdf6ea3be3b9 | [
"MIT"
] | 1 | 2021-06-28T23:08:51.000Z | 2021-06-28T23:08:51.000Z | forex/admin.py | Shokr/Stocks-Screener | 0b8da91da40b715beaf3a79163b1bdf6ea3be3b9 | [
"MIT"
] | 40 | 2020-03-06T10:24:55.000Z | 2022-03-12T00:56:44.000Z | forex/admin.py | Shokr/Stocks-Screener | 0b8da91da40b715beaf3a79163b1bdf6ea3be3b9 | [
"MIT"
] | 3 | 2020-01-19T07:27:24.000Z | 2021-09-11T10:09:25.000Z | from django.contrib import admin
from forex.froms import Currency
# Register your models here.
admin.site.register(Currency)
| 14.333333 | 32 | 0.79845 | 18 | 129 | 5.722222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 8 | 33 | 16.125 | 0.927928 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c30f073fb033a503d24e113794d48e97a857cd31 | 88 | py | Python | slave/app/pulls/__init__.py | darksigma/traceless | eed3a35e90b8bbbf272e1f324e1c28de7afe08da | [
"MIT"
] | 1 | 2015-06-19T14:27:52.000Z | 2015-06-19T14:27:52.000Z | slave/app/pulls/__init__.py | pratheeknagaraj/securechat | eed3a35e90b8bbbf272e1f324e1c28de7afe08da | [
"MIT"
] | null | null | null | slave/app/pulls/__init__.py | pratheeknagaraj/securechat | eed3a35e90b8bbbf272e1f324e1c28de7afe08da | [
"MIT"
] | 1 | 2016-04-09T19:25:11.000Z | 2016-04-09T19:25:11.000Z | from flask import Blueprint
pulls = Blueprint('pulls', __name__)
from . import routes
| 14.666667 | 36 | 0.761364 | 11 | 88 | 5.727273 | 0.636364 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 37 | 17.6 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
c31bf247f1306151cec5627d0a7771767e7d85d7 | 2,351 | py | Python | tests/permutils/test_stats.py | quintant/Permuta | 4cdc7990e3dc298d0089ba8c48cd8967acd9b81f | [
"BSD-3-Clause"
] | 12 | 2015-09-09T02:40:50.000Z | 2021-06-02T13:40:25.000Z | tests/permutils/test_stats.py | quintant/Permuta | 4cdc7990e3dc298d0089ba8c48cd8967acd9b81f | [
"BSD-3-Clause"
] | 80 | 2015-12-17T15:00:17.000Z | 2022-01-25T20:31:54.000Z | tests/permutils/test_stats.py | quintant/Permuta | 4cdc7990e3dc298d0089ba8c48cd8967acd9b81f | [
"BSD-3-Clause"
] | 19 | 2015-12-16T13:16:10.000Z | 2021-06-01T14:37:33.000Z | from permuta import Av
from permuta.permutils.statistics import PermutationStatistic
def test_distribution_all_perms():
assert sum(PermutationStatistic.inv().distribution_up_to(7), []) == [
1,
1,
1,
1,
1,
2,
2,
1,
1,
3,
5,
... | 13.282486 | 84 | 0.265844 | 206 | 2,351 | 2.975728 | 0.417476 | 0.052202 | 0.044046 | 0.032626 | 0.02447 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395709 | 0.643131 | 2,351 | 176 | 85 | 13.357955 | 0.334923 | 0 | 0 | 0.77907 | 0 | 0 | 0.001276 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 1 | 0.011628 | true | 0 | 0.011628 | 0 | 0.023256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c33ae417974841443f9d3d480f417e86768f558d | 292 | py | Python | own_blockchain_sdk/__init__.py | Muncan90/OwnBlockchainSdkPython | 730b519eca99629d6ee4b006d70b5fde7e7031fa | [
"MIT"
] | 1 | 2020-06-23T17:03:03.000Z | 2020-06-23T17:03:03.000Z | own_blockchain_sdk/__init__.py | Muncan90/OwnBlockchainSdkPython | 730b519eca99629d6ee4b006d70b5fde7e7031fa | [
"MIT"
] | null | null | null | own_blockchain_sdk/__init__.py | Muncan90/OwnBlockchainSdkPython | 730b519eca99629d6ee4b006d70b5fde7e7031fa | [
"MIT"
] | 1 | 2020-07-09T04:09:20.000Z | 2020-07-09T04:09:20.000Z | from own_blockchain_sdk.crypto import encode64, decode64, encode58, decode58, \
hash, derive_hash, \
generate_wallet, address_from_private_key, wallet_from_private_key, Wallet, sign_message, sign_plain_text, verify_plain_text_signature
from own_blockchain_sdk.transactions import Tx
| 48.666667 | 138 | 0.839041 | 40 | 292 | 5.675 | 0.625 | 0.061674 | 0.14978 | 0.176211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030651 | 0.106164 | 292 | 5 | 139 | 58.4 | 0.83908 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c33e00e451f84e278456f18bebb719f3dcb4ceba | 135 | py | Python | fusion/criterion/mi_estimator/critic/base_critic.py | Mrinal18/fusion | 34e563f2e50139385577c3880c5de11f8a73f220 | [
"BSD-3-Clause"
] | 14 | 2021-04-05T01:25:12.000Z | 2022-02-17T19:44:28.000Z | fusion/criterion/mi_estimator/critic/base_critic.py | Mrinal18/fusion | 34e563f2e50139385577c3880c5de11f8a73f220 | [
"BSD-3-Clause"
] | 1 | 2021-07-05T08:32:49.000Z | 2021-07-05T12:34:57.000Z | fusion/criterion/mi_estimator/critic/base_critic.py | Mrinal18/fusion | 34e563f2e50139385577c3880c5de11f8a73f220 | [
"BSD-3-Clause"
] | 1 | 2022-02-01T21:56:11.000Z | 2022-02-01T21:56:11.000Z | import abc
from torch import Tensor
class ABaseCritic(abc.ABC):
def __call__(self, x: Tensor, y: Tensor) -> Tensor:
pass
| 16.875 | 55 | 0.674074 | 19 | 135 | 4.578947 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22963 | 135 | 7 | 56 | 19.285714 | 0.836538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
c35955a44ee17802df94f2fa3143422f91ff3d81 | 638 | py | Python | test/tests/dict.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | 1 | 2020-11-26T23:37:19.000Z | 2020-11-26T23:37:19.000Z | test/tests/dict.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | null | null | null | test/tests/dict.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | null | null | null | # output: ok
a = {}
assert(len(a) == 0)
for i in range(0, 100):
a[i] = i * 2
assert(len(a) == 100)
for i in range(0, 100):
assert i in a
assert(a[i] == i * 2)
assert 101 not in a
for i in range(0, 100, 2):
del a[i]
assert(len(a) == 50)
for i in range(0, 100):
assert (i in a) == ((i % 2) != 0)
a... | 16.789474 | 42 | 0.510972 | 136 | 638 | 2.397059 | 0.139706 | 0.101227 | 0.147239 | 0.269939 | 0.791411 | 0.769939 | 0.739264 | 0.638037 | 0.638037 | 0.638037 | 0 | 0.124183 | 0.280564 | 638 | 37 | 43 | 17.243243 | 0.586057 | 0.015674 | 0 | 0.482759 | 0 | 0 | 0.007987 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c37008ebbba38d989e1e9087d8f9d9d569f9d1e6 | 14,145 | py | Python | codes/models/modules/Subnet_constructor.py | lin-zhao-resoLve/Symmetric-Enhancement | 11c1a662020582d1333d11cf5f9c99556ec0f427 | [
"Apache-2.0"
] | 14 | 2021-09-30T07:05:04.000Z | 2022-03-31T08:22:39.000Z | codes/models/modules/Subnet_constructor.py | lin-zhao-resoLve/Symmetric-Enhancement | 11c1a662020582d1333d11cf5f9c99556ec0f427 | [
"Apache-2.0"
] | 3 | 2021-11-09T06:52:13.000Z | 2021-11-20T08:00:46.000Z | codes/models/modules/Subnet_constructor.py | lin-zhao-resoLve/Symmetric-Enhancement | 11c1a662020582d1333d11cf5f9c99556ec0f427 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import models.modules.module_util as mutil
# from MPNCOV.python import MPNCOV
class DenseBlock(nn.Module):
def __init__(self, channel_in, channel_out, init='xavier', gc=32, bias=True):
super(DenseBlock, self).__init__()
self.conv1 =... | 39.401114 | 122 | 0.594344 | 1,980 | 14,145 | 4.065152 | 0.072222 | 0.044726 | 0.011927 | 0.02609 | 0.846068 | 0.811032 | 0.775624 | 0.72158 | 0.650764 | 0.607902 | 0 | 0.052931 | 0.266737 | 14,145 | 358 | 123 | 39.511173 | 0.723101 | 0.055709 | 0 | 0.566553 | 0 | 0 | 0.015202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095563 | false | 0 | 0.013652 | 0 | 0.25256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5ee434cb8445c7b25537aee5cb2b09397197a2d1 | 136 | py | Python | fooof/__init__.py | TheCheeseToast/fooof | f3f8422af7d87fa73772e083deaf8439ca59908d | [
"Apache-2.0"
] | null | null | null | fooof/__init__.py | TheCheeseToast/fooof | f3f8422af7d87fa73772e083deaf8439ca59908d | [
"Apache-2.0"
] | null | null | null | fooof/__init__.py | TheCheeseToast/fooof | f3f8422af7d87fa73772e083deaf8439ca59908d | [
"Apache-2.0"
] | null | null | null | """FOOOF - Fitting Oscillations & One-Over F"""
from .version import __version__
from .fit import FOOOF
from .group import FOOOFGroup
| 19.428571 | 47 | 0.757353 | 18 | 136 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154412 | 136 | 6 | 48 | 22.666667 | 0.86087 | 0.301471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5eed9366ec865e29912043c56d4f2b7c967f8724 | 177 | py | Python | Android/parser/webserver/test.py | Bravest-Ptt/Useful-Shell | 75016ff44f218afce6b885af7b23fb801a7ef2d4 | [
"Apache-2.0"
] | 1 | 2020-05-31T08:46:45.000Z | 2020-05-31T08:46:45.000Z | Android/parser/webserver/test.py | Bravest-Ptt/Useful-Shell | 75016ff44f218afce6b885af7b23fb801a7ef2d4 | [
"Apache-2.0"
] | null | null | null | Android/parser/webserver/test.py | Bravest-Ptt/Useful-Shell | 75016ff44f218afce6b885af7b23fb801a7ef2d4 | [
"Apache-2.0"
] | null | null | null | import subprocess
sys_command = "gedit /home/qinsw/pengtian/shell/Useful-Shell/Android/parser/html/html/websocket.html".encode('utf-8')
subprocess.Popen(sys_command, shell=True) | 59 | 117 | 0.813559 | 26 | 177 | 5.461538 | 0.730769 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.039548 | 177 | 3 | 118 | 59 | 0.829412 | 0 | 0 | 0 | 0 | 0.333333 | 0.505618 | 0.44382 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5eef24c797dbd4502e427473033368654c5319fe | 38,133 | py | Python | api/tests/test_views.py | posm/osm-export-tool2 | 5a1f4096f1afbe7420363376e6e1e8d42e47e1d1 | [
"BSD-3-Clause"
] | 2 | 2018-08-31T18:30:28.000Z | 2018-11-27T01:50:06.000Z | api/tests/test_views.py | posm/osm-export-tool2 | 5a1f4096f1afbe7420363376e6e1e8d42e47e1d1 | [
"BSD-3-Clause"
] | null | null | null | api/tests/test_views.py | posm/osm-export-tool2 | 5a1f4096f1afbe7420363376e6e1e8d42e47e1d1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import json
import logging
import os
import uuid
from unittest import skip
from mock import patch
from django.contrib.auth.models import Group, User
from django.contrib.gis.geos import GEOSGeometry, Polygon
from django.core.files import File
from rest_framework import status
from rest_framewo... | 44.809636 | 143 | 0.596124 | 4,277 | 38,133 | 5.197101 | 0.094693 | 0.084218 | 0.059385 | 0.058575 | 0.799082 | 0.763182 | 0.741227 | 0.724987 | 0.710725 | 0.685937 | 0 | 0.02407 | 0.266777 | 38,133 | 850 | 144 | 44.862353 | 0.770923 | 0.05528 | 0 | 0.657821 | 0 | 0 | 0.190981 | 0.014494 | 0 | 0 | 0 | 0 | 0.219274 | 1 | 0.057263 | false | 0.01257 | 0.022346 | 0 | 0.087989 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f039823adc1ecaf384a349c676b625abf54c7f1 | 4,929 | py | Python | tests/test_validator.py | benoit9126/drf-recaptcha | 959613c41585e500c42bfd74ced05e5f096282d9 | [
"MIT"
] | null | null | null | tests/test_validator.py | benoit9126/drf-recaptcha | 959613c41585e500c42bfd74ced05e5f096282d9 | [
"MIT"
] | null | null | null | tests/test_validator.py | benoit9126/drf-recaptcha | 959613c41585e500c42bfd74ced05e5f096282d9 | [
"MIT"
] | null | null | null | from unittest import mock
import pytest
from rest_framework.serializers import ValidationError
from drf_recaptcha.client import RecaptchaResponse
from drf_recaptcha.validators import ReCaptchaV2Validator, ReCaptchaV3Validator
@pytest.mark.parametrize(
("validator_class", "params"),
[
(ReCaptchaV2Val... | 35.717391 | 107 | 0.640495 | 480 | 4,929 | 6.325 | 0.177083 | 0.06917 | 0.057971 | 0.106719 | 0.797431 | 0.724308 | 0.724308 | 0.705534 | 0.705534 | 0.705534 | 0 | 0.013914 | 0.227227 | 4,929 | 137 | 108 | 35.978102 | 0.783145 | 0 | 0 | 0.601695 | 0 | 0 | 0.26618 | 0.070197 | 0 | 0 | 0 | 0 | 0.042373 | 1 | 0.042373 | false | 0.008475 | 0.042373 | 0 | 0.084746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f1931d551e3c84db6b4ec3803ff0fdadaf3d25a | 6,123 | py | Python | schedule.py | IkhwanFikri1997/Exam-Schedule-Generation | 33b8a7faf714cd05552faa5b8ed2a3717eafbb72 | [
"MIT"
] | null | null | null | schedule.py | IkhwanFikri1997/Exam-Schedule-Generation | 33b8a7faf714cd05552faa5b8ed2a3717eafbb72 | [
"MIT"
] | null | null | null | schedule.py | IkhwanFikri1997/Exam-Schedule-Generation | 33b8a7faf714cd05552faa5b8ed2a3717eafbb72 | [
"MIT"
] | null | null | null | import xlsxwriter
import display
import string
isfilled = {}
color = ['black', 'blue', 'brown', 'cyan', 'green', 'lime', 'magenta', 'navy', 'orange', 'pink', 'purple', 'silver', 'white', 'yellow']
workbook = xlsxwriter.Workbook('Exam_Revision_Schedule.xlsx')
worksheet = workbook.add_worksheet()
Bold = w... | 41.938356 | 136 | 0.529642 | 846 | 6,123 | 3.770686 | 0.13357 | 0.074608 | 0.045141 | 0.078997 | 0.796552 | 0.796552 | 0.777743 | 0.770846 | 0.748276 | 0.748276 | 0 | 0.037572 | 0.287114 | 6,123 | 146 | 137 | 41.938356 | 0.693242 | 0 | 0 | 0.582677 | 0 | 0 | 0.060378 | 0.004516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015748 | false | 0 | 0.023622 | 0 | 0.03937 | 0.031496 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f6c6527f36e7fb0f0afdf47372f4b5a5a7899ea | 21 | py | Python | christian.py | evydibble/EngineeringDesign | 44838c6bf807efeea6c791bd13737218b9b81b7f | [
"MIT"
] | null | null | null | christian.py | evydibble/EngineeringDesign | 44838c6bf807efeea6c791bd13737218b9b81b7f | [
"MIT"
] | null | null | null | christian.py | evydibble/EngineeringDesign | 44838c6bf807efeea6c791bd13737218b9b81b7f | [
"MIT"
] | 7 | 2018-12-19T01:35:44.000Z | 2019-01-10T13:59:40.000Z | print ("helloworld") | 21 | 21 | 0.714286 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 21 | 1 | 21 | 21 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
48a5f97c7400fcb0479970d3e626f5c5de4ce64f | 3,682 | py | Python | task.py | technetbytes/Nested-Object-Serialization | 86dc7812c2002010247af9f4edabaf29c78c3be9 | [
"MIT"
] | null | null | null | task.py | technetbytes/Nested-Object-Serialization | 86dc7812c2002010247af9f4edabaf29c78c3be9 | [
"MIT"
] | null | null | null | task.py | technetbytes/Nested-Object-Serialization | 86dc7812c2002010247af9f4edabaf29c78c3be9 | [
"MIT"
] | null | null | null | import json
from converter import datetime_converter
from status import Status
class Task:
def __init__(self, task_name, task_id, message, conditions):
self.task_name = task_name
self.task_id = task_id
self.conditions = conditions
self.message = message
def __iter__(self):
... | 35.403846 | 129 | 0.572787 | 402 | 3,682 | 4.927861 | 0.141791 | 0.056537 | 0.04846 | 0.064614 | 0.766784 | 0.766784 | 0.750126 | 0.706714 | 0.706714 | 0.706714 | 0 | 0.000789 | 0.311787 | 3,682 | 104 | 130 | 35.403846 | 0.780979 | 0.492395 | 0 | 0 | 0 | 0 | 0.068622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.102564 | 0.076923 | 0.384615 | 0.051282 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
48acb9b399d09e2e4fb3dde5930cb61b03c38394 | 109 | py | Python | medseg/models/segmentation_models/__init__.py | cherise215/Cooperative_Training_and_Latent_Space_Data_Augmentation | f5a987fb4babb891a41116e934a9ce6432e0d803 | [
"Apache-2.0"
] | 18 | 2021-06-20T11:38:08.000Z | 2022-01-04T11:53:10.000Z | medseg/models/segmentation_models/__init__.py | cherise215/Cooperative_Training_and_Latent_Space_Data_Augmentation | f5a987fb4babb891a41116e934a9ce6432e0d803 | [
"Apache-2.0"
] | 1 | 2021-10-04T07:12:27.000Z | 2021-12-06T20:54:46.000Z | medseg/models/segmentation_models/__init__.py | cherise215/Cooperative_Training_and_Latent_Space_Data_Augmentation | f5a987fb4babb891a41116e934a9ce6432e0d803 | [
"Apache-2.0"
] | 2 | 2021-09-30T18:25:48.000Z | 2022-03-14T17:16:41.000Z | # Created by cc215 at 05/05/19
# Enter feature description here
# Enter scenario name here
# Enter steps here | 27.25 | 32 | 0.770642 | 18 | 109 | 4.666667 | 0.722222 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.174312 | 109 | 4 | 33 | 27.25 | 0.833333 | 0.926606 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d2905b005d20a53cba6ef5eba12d791aa88cd1f6 | 41 | py | Python | kivymd/effects/fadingedge/__init__.py | vhn0912/KivyMD | 2f6f2b78a3c1f9ff15d18ede24fd034a8db5371d | [
"MIT"
] | 668 | 2018-08-31T12:38:18.000Z | 2020-07-31T21:29:10.000Z | kivymd/effects/fadingedge/__init__.py | vhn0912/KivyMD | 2f6f2b78a3c1f9ff15d18ede24fd034a8db5371d | [
"MIT"
] | 377 | 2018-10-23T15:46:29.000Z | 2020-08-01T14:03:36.000Z | kivymd/effects/fadingedge/__init__.py | vhn0912/KivyMD | 2f6f2b78a3c1f9ff15d18ede24fd034a8db5371d | [
"MIT"
] | 275 | 2018-09-04T19:27:51.000Z | 2020-07-31T01:14:48.000Z | from .fadingedge import FadingEdgeEffect
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d2b472f9e9a27f7e72edeb5c7d63b20a18ad95d6 | 43 | py | Python | python/src/log/token_exception.py | laxian/shell | 4de76b413e806d52571f1a6900fdf00e70f4f1a5 | [
"Apache-2.0"
] | 6 | 2018-01-13T17:29:25.000Z | 2022-03-13T15:33:52.000Z | python/src/log/token_exception.py | laxian/shell | 4de76b413e806d52571f1a6900fdf00e70f4f1a5 | [
"Apache-2.0"
] | null | null | null | python/src/log/token_exception.py | laxian/shell | 4de76b413e806d52571f1a6900fdf00e70f4f1a5 | [
"Apache-2.0"
] | 3 | 2018-06-03T10:28:42.000Z | 2021-08-09T13:32:55.000Z |
class TokenException(Exception):
pass | 10.75 | 32 | 0.744186 | 4 | 43 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 4 | 33 | 10.75 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d2c8c4e60374844fb4ca8bc854f31a975955baec | 20 | py | Python | baler/__init__.py | isabella232/baler | db4f09dd2c7729b2df5268c87ad3b4cb43396abf | [
"MIT"
] | 18 | 2015-01-14T00:19:50.000Z | 2021-10-21T22:48:08.000Z | baler/__init__.py | paypal/baler | db4f09dd2c7729b2df5268c87ad3b4cb43396abf | [
"MIT"
] | 1 | 2021-02-23T10:25:10.000Z | 2021-02-23T10:25:10.000Z | baler/__init__.py | isabella232/baler | db4f09dd2c7729b2df5268c87ad3b4cb43396abf | [
"MIT"
] | 9 | 2015-01-12T16:54:56.000Z | 2021-06-10T15:14:20.000Z | from baler import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8273805bd559ff19996f467fc461c865f970b301 | 332 | py | Python | test cases/unit/91 devenv/test-devenv.py | andriyor/meson | f9bfeb2add70973113ab4a98454a5c5d7e3a26ae | [
"Apache-2.0"
] | null | null | null | test cases/unit/91 devenv/test-devenv.py | andriyor/meson | f9bfeb2add70973113ab4a98454a5c5d7e3a26ae | [
"Apache-2.0"
] | null | null | null | test cases/unit/91 devenv/test-devenv.py | andriyor/meson | f9bfeb2add70973113ab4a98454a5c5d7e3a26ae | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/python
import os
from pathlib import Path
assert os.environ['MESON_DEVENV'] == '1'
assert os.environ['MESON_PROJECT_NAME'] == 'devenv'
assert os.environ['TEST_A'] == '1'
assert os.environ['TEST_B'] == '0+1+2+3+4'
from mymod.mod import hello
assert hello == 'world'
from mymod2.mod2 import hello
assert he... | 20.75 | 51 | 0.701807 | 54 | 332 | 4.222222 | 0.537037 | 0.140351 | 0.263158 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038194 | 0.13253 | 332 | 15 | 52 | 22.133333 | 0.753472 | 0.051205 | 0 | 0 | 0 | 0 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
82945189fe4f47d7eceb6f8a549dad11b567833d | 41 | py | Python | models/__init__.py | killf/remove_glasses | e73eec238686fa539cff66905a086fb26329b253 | [
"MIT"
] | null | null | null | models/__init__.py | killf/remove_glasses | e73eec238686fa539cff66905a086fb26329b253 | [
"MIT"
] | null | null | null | models/__init__.py | killf/remove_glasses | e73eec238686fa539cff66905a086fb26329b253 | [
"MIT"
] | null | null | null | from .networks import define_D, define_G
| 20.5 | 40 | 0.829268 | 7 | 41 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
82a228099e127f10947f580b359e0f7a3160f962 | 262 | py | Python | dlocal/utils/dates.py | GoPreki/DlocalSDK | 6c3f001454fcd6c8f1b5bec6b042777f5ab99b7d | [
"MIT"
] | null | null | null | dlocal/utils/dates.py | GoPreki/DlocalSDK | 6c3f001454fcd6c8f1b5bec6b042777f5ab99b7d | [
"MIT"
] | null | null | null | dlocal/utils/dates.py | GoPreki/DlocalSDK | 6c3f001454fcd6c8f1b5bec6b042777f5ab99b7d | [
"MIT"
] | null | null | null | from datetime import datetime
def now_in_isoformat():
return datetime.utcnow().isoformat()[:-3] + 'Z'
def isoformat_to_timestamp(isoformat_date, date_format='%Y-%m-%dT%H:%M:%S.%f%z'):
return datetime.strptime(isoformat_date, date_format).timestamp()
| 26.2 | 81 | 0.729008 | 38 | 262 | 4.815789 | 0.578947 | 0.153005 | 0.185792 | 0.251366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004274 | 0.10687 | 262 | 9 | 82 | 29.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.087786 | 0.083969 | 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 | 0 | 0 | 0 | 5 |
82cb71a8ca4209fb10e248bc9376b17de3152b7e | 6,176 | py | Python | chapter05_CNN/5.6_alexnet.py | JessyLee/Jessy_Dive_into_DL_Pytorch | 40b7921637b13507057f41485d928f3b59cc6f6a | [
"MIT"
] | null | null | null | chapter05_CNN/5.6_alexnet.py | JessyLee/Jessy_Dive_into_DL_Pytorch | 40b7921637b13507057f41485d928f3b59cc6f6a | [
"MIT"
] | null | null | null | chapter05_CNN/5.6_alexnet.py | JessyLee/Jessy_Dive_into_DL_Pytorch | 40b7921637b13507057f41485d928f3b59cc6f6a | [
"MIT"
] | null | null | null | # import time
# import torch
# from torch import nn, optim
# import torchvision
#
# import sys
# sys.path.append("..")
# import d2lzh_pytorch as d2l
# device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
#
# print(torch.__version__)
# print(torchvision.__version__)
# print(device)
#
# class AlexNet(nn.... | 32.505263 | 110 | 0.603627 | 791 | 6,176 | 4.543616 | 0.201011 | 0.045075 | 0.031163 | 0.033111 | 0.753478 | 0.740679 | 0.735392 | 0.735392 | 0.730106 | 0.725654 | 0 | 0.048743 | 0.259229 | 6,176 | 190 | 111 | 32.505263 | 0.736831 | 0.440576 | 0 | 0.135802 | 0 | 0.012346 | 0.03244 | 0.006845 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0 | 0.061728 | 0 | 0.148148 | 0.074074 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
82ceb2ebc1a8bc1ef05e2d65e7880f7791ff9d53 | 115 | py | Python | reverseCoding/is-42-the-answer-of-everything/gen.py | anirudhkannanvp/HACKERRANK-REVERSE-CODING- | 1d454d7d403ab68a667c34dba9158ebb72bdda4c | [
"MIT"
] | 1 | 2018-09-21T16:13:27.000Z | 2018-09-21T16:13:27.000Z | reverseCoding/is-42-the-answer-of-everything/gen.py | anirudhkannanvp/HACKERRANK-REVERSE-CODING- | 1d454d7d403ab68a667c34dba9158ebb72bdda4c | [
"MIT"
] | null | null | null | reverseCoding/is-42-the-answer-of-everything/gen.py | anirudhkannanvp/HACKERRANK-REVERSE-CODING- | 1d454d7d403ab68a667c34dba9158ebb72bdda4c | [
"MIT"
] | null | null | null | from random import randint
t=randint(1,10000)
print(t)
while(t):
t-=1
print(randint(1,100000),randint(1,100000)) | 19.166667 | 43 | 0.730435 | 21 | 115 | 4 | 0.47619 | 0.285714 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201923 | 0.095652 | 115 | 6 | 43 | 19.166667 | 0.605769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
82de53e37b6f9654ff9708e3b237cdfbad2bc9dd | 122 | py | Python | src/blip_sdk/extensions/chat/__init__.py | mirlarof/blip-sdk-python | f958149b2524d4340eeafad8739a33db71df45ed | [
"MIT"
] | 2 | 2021-07-02T20:10:48.000Z | 2021-07-13T20:51:18.000Z | src/blip_sdk/extensions/chat/__init__.py | mirlarof/blip-sdk-python | f958149b2524d4340eeafad8739a33db71df45ed | [
"MIT"
] | 9 | 2021-05-27T21:08:23.000Z | 2021-06-14T20:10:10.000Z | src/blip_sdk/extensions/chat/__init__.py | mirlarof/blip-sdk-python | f958149b2524d4340eeafad8739a33db71df45ed | [
"MIT"
] | 3 | 2021-06-23T19:53:20.000Z | 2022-01-04T17:50:44.000Z | from .content_types import ContentTypes
from .uri_templates import UriTemplates
from .chat_extension import ChatExtension
| 30.5 | 41 | 0.877049 | 15 | 122 | 6.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 3 | 42 | 40.666667 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d75729b46d86c9b3db59c5f1c54cc9ff0f4c444 | 119 | py | Python | main.py | CrutoiAlexandru/Job_scrapper | d170188b71ca04d3515bbcbec109168c5edb951c | [
"MIT"
] | null | null | null | main.py | CrutoiAlexandru/Job_scrapper | d170188b71ca04d3515bbcbec109168c5edb951c | [
"MIT"
] | null | null | null | main.py | CrutoiAlexandru/Job_scrapper | d170188b71ca04d3515bbcbec109168c5edb951c | [
"MIT"
] | null | null | null | import user.input as ui
if __name__ == '__main__':
# start the user input on the terminal based app
ui.start() | 23.8 | 52 | 0.689076 | 19 | 119 | 3.894737 | 0.736842 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226891 | 119 | 5 | 53 | 23.8 | 0.804348 | 0.386555 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7d897bc5f402b4abc2ce30552a2e6f587cb52e42 | 16 | py | Python | Week 1/assignment/assignment1.py | rasulbi528/Python-web-data-acess | 2cd1c3d3772a7f9630c837bd7bcb31598c13d10c | [
"MIT"
] | 1 | 2016-12-26T13:07:09.000Z | 2016-12-26T13:07:09.000Z | Week 1/assignment/assignment1.py | rasulbi528/Python-web-data-acess | 2cd1c3d3772a7f9630c837bd7bcb31598c13d10c | [
"MIT"
] | null | null | null | Week 1/assignment/assignment1.py | rasulbi528/Python-web-data-acess | 2cd1c3d3772a7f9630c837bd7bcb31598c13d10c | [
"MIT"
] | null | null | null | print "Hi!! :)"
| 8 | 15 | 0.4375 | 2 | 16 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7ddd3e58986132ebb9020f296e5a5d3e856e0754 | 513 | py | Python | calculator/src/lexer_test.py | cestella/software_engineering_curriculum | 5f4ac0f2ffe868abdea3c1baf29b66c091345a02 | [
"Apache-2.0"
] | 1 | 2020-08-19T19:43:45.000Z | 2020-08-19T19:43:45.000Z | calculator/src/lexer_test.py | cestella/software_engineering_curriculum | 5f4ac0f2ffe868abdea3c1baf29b66c091345a02 | [
"Apache-2.0"
] | 3 | 2020-07-24T12:36:59.000Z | 2021-05-28T18:01:36.000Z | calculator/src/lexer_test.py | cestella/software_engineering_curriculum | 5f4ac0f2ffe868abdea3c1baf29b66c091345a02 | [
"Apache-2.0"
] | 1 | 2020-05-31T14:54:18.000Z | 2020-05-31T14:54:18.000Z | from src.lexer import lex
def test_basecase():
assert lex("1 + 1") == [1, "+", 1]
def test_negative_weirdness():
assert lex("1 - -1") == [1, "-", -1]
def test_no_space():
assert lex("-1.2*2") == [-1.2, "*", 2]
def test_multiple_spaces():
assert lex("1 + 1") == [1, "+", 1]
def test_parens():
... | 17.1 | 66 | 0.481481 | 79 | 513 | 2.974684 | 0.265823 | 0.12766 | 0.12766 | 0.234043 | 0.446809 | 0.446809 | 0.446809 | 0.340426 | 0 | 0 | 0 | 0.086957 | 0.237817 | 513 | 29 | 67 | 17.689655 | 0.514067 | 0 | 0 | 0.266667 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 1 | 0.466667 | true | 0 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
8149d6d5371e10ee5d8956061019f0b7810c1ae5 | 130 | py | Python | calculatorapp/admin.py | arpit456jain/CalculatorApp-In-Django | aa976117952db03128e4fe6d6d0dbf375ab29b5d | [
"MIT"
] | null | null | null | calculatorapp/admin.py | arpit456jain/CalculatorApp-In-Django | aa976117952db03128e4fe6d6d0dbf375ab29b5d | [
"MIT"
] | null | null | null | calculatorapp/admin.py | arpit456jain/CalculatorApp-In-Django | aa976117952db03128e4fe6d6d0dbf375ab29b5d | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import UserFeedback
admin.site.register(UserFeedback) | 21.666667 | 33 | 0.823077 | 17 | 130 | 6.294118 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 130 | 6 | 33 | 21.666667 | 0.930435 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
816b0c81fba1986ec985dd3cb56e5f9b5969bc22 | 444 | py | Python | command.py | ichiyonnana/nnutil | bb6ae2fe47da47f15fa256aa85602e7c3beb1f80 | [
"MIT"
] | 1 | 2021-08-08T22:18:04.000Z | 2021-08-08T22:18:04.000Z | nnutil/command.py | ichiyonnana/nntools_maya | 6a0aa39194cac00aac35e9eca6fcf2b12a70f373 | [
"MIT"
] | null | null | null | nnutil/command.py | ichiyonnana/nntools_maya | 6a0aa39194cac00aac35e9eca6fcf2b12a70f373 | [
"MIT"
] | null | null | null | #! python
# coding:utf-8
import maya.cmds as cmds
import maya.mel as mel
import pymel.core as pm
def get_selection(**kwargs):
""" [cmds]
Returns:
[type]: [description]
"""
return cmds.ls(selection=True, flatten=True, **kwargs)
def selected(**kwargs):
""" [pm] flatten ... | 18.5 | 59 | 0.585586 | 52 | 444 | 4.980769 | 0.480769 | 0.07722 | 0.169884 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.268018 | 444 | 24 | 60 | 18.5 | 0.793846 | 0.301802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.428571 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
81e3c8e32867953c69e71802ef9948b2886604a1 | 120 | py | Python | uci_cbp_demo/ui/__init__.py | taoyilee/bp_demo | eaaba09857a8a597f3691b6b79902b71e4af1ffe | [
"SWL"
] | 1 | 2020-02-20T21:39:28.000Z | 2020-02-20T21:39:28.000Z | uci_cbp_demo/ui/__init__.py | taoyilee/bp_demo | eaaba09857a8a597f3691b6b79902b71e4af1ffe | [
"SWL"
] | 19 | 2020-04-08T00:10:06.000Z | 2020-06-21T04:39:48.000Z | uci_cbp_demo/ui/__init__.py | taoyilee/bp_demo | eaaba09857a8a597f3691b6b79902b71e4af1ffe | [
"SWL"
] | null | null | null | # MIT License
# Copyright (C) Michael Tao-Yi Lee (taoyil AT UCI EDU)
from .gui import main
from .tui import tui_main
| 20 | 55 | 0.725 | 21 | 120 | 4.095238 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 120 | 5 | 56 | 24 | 0.895833 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c4b41c63d6c0d9ceb82bae821585ed2753e8c1e0 | 208 | py | Python | src/loralay/data/utils.py | laudao/loralay-modeling | a7c89717bac4f0ef9ed820544c4d27e2fe2e4228 | [
"Apache-2.0"
] | null | null | null | src/loralay/data/utils.py | laudao/loralay-modeling | a7c89717bac4f0ef9ed820544c4d27e2fe2e4228 | [
"Apache-2.0"
] | null | null | null | src/loralay/data/utils.py | laudao/loralay-modeling | a7c89717bac4f0ef9ed820544c4d27e2fe2e4228 | [
"Apache-2.0"
] | null | null | null |
def normalize_bbox(bbox, size):
return [
int(1000 * bbox[0] / size[0]),
int(1000 * bbox[1] / size[1]),
int(1000 * bbox[2] / size[0]),
int(1000 * bbox[3] / size[1]),
]
| 23.111111 | 38 | 0.475962 | 30 | 208 | 3.266667 | 0.366667 | 0.285714 | 0.44898 | 0.244898 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0.322115 | 208 | 8 | 39 | 26 | 0.524823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
c4e46ee6de43bd254d0a5f54f2ef8afea92aaaf4 | 7,372 | py | Python | programs/aniso_magic.py | schwehr/PmagPy | 5e9edc5dc9a7a243b8e7f237fa156e0cd782076b | [
"BSD-3-Clause"
] | 2 | 2020-07-05T01:11:33.000Z | 2020-07-05T01:11:39.000Z | programs/aniso_magic.py | schwehr/PmagPy | 5e9edc5dc9a7a243b8e7f237fa156e0cd782076b | [
"BSD-3-Clause"
] | null | null | null | programs/aniso_magic.py | schwehr/PmagPy | 5e9edc5dc9a7a243b8e7f237fa156e0cd782076b | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- python-indent-offset: 4; -*-
#pylint: disable=invalid-name,wrong-import-position,line-too-long
#import draw
import sys
import matplotlib
if matplotlib.get_backend() != "TKAgg":
matplotlib.use("TKAgg")
import pmagpy.pmag as pmag
from pmagpy import ipmag
import pmagpy.pmagplotlib as pmag... | 38.196891 | 104 | 0.616115 | 1,069 | 7,372 | 4.117867 | 0.204864 | 0.047706 | 0.054521 | 0.068151 | 0.794184 | 0.780327 | 0.780327 | 0.758519 | 0.758519 | 0.758519 | 0 | 0.017596 | 0.267634 | 7,372 | 192 | 105 | 38.395833 | 0.79774 | 0.426072 | 0 | 0.54902 | 0 | 0 | 0.057975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.058824 | 0 | 0.088235 | 0.019608 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1ee644ac8ac8c64862ca2f6c7c456ea0a2a57bf2 | 47 | py | Python | neelu/__init__.py | NeeluGeorge/testpks | 4b676a70e88490cdcdf5ed9f6b92a47b28eedc2d | [
"MIT"
] | null | null | null | neelu/__init__.py | NeeluGeorge/testpks | 4b676a70e88490cdcdf5ed9f6b92a47b28eedc2d | [
"MIT"
] | null | null | null | neelu/__init__.py | NeeluGeorge/testpks | 4b676a70e88490cdcdf5ed9f6b92a47b28eedc2d | [
"MIT"
] | null | null | null | from .neelu import printhi
__all__=["printhi"] | 15.666667 | 26 | 0.765957 | 6 | 47 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 3 | 27 | 15.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1eefa53d1317567978c4addda55a56119ba40eda | 278 | py | Python | main_game/creditos.py | AlefAdonis/playgame | 3f1049ad3682f169f2435faeeef63b0b1ddf5642 | [
"MIT"
] | null | null | null | main_game/creditos.py | AlefAdonis/playgame | 3f1049ad3682f169f2435faeeef63b0b1ddf5642 | [
"MIT"
] | 2 | 2020-09-21T14:32:38.000Z | 2020-10-07T17:47:35.000Z | main_game/creditos.py | AlefAdonis/playgame | 3f1049ad3682f169f2435faeeef63b0b1ddf5642 | [
"MIT"
] | 2 | 2020-10-07T19:53:57.000Z | 2020-10-10T21:23:43.000Z | def credits():
print('\nObrigado por jogar !\n')
print('-' * 20)
print('CRÉDITOS FINAIS \nDiretor Geral - Álef Ádonis\nProgramador - Álef Ádonis\nRoteirista - Álef Ádonis\nEditor Chefe - Álef Ádonis\n\nUM PEQUENO GESTO PARA DEMOSTRAR MEU AMOR')
print('-' *20)
| 39.714286 | 183 | 0.683453 | 36 | 278 | 5.277778 | 0.694444 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.18705 | 278 | 6 | 184 | 46.333333 | 0.823009 | 0 | 0 | 0.4 | 0 | 0.2 | 0.705036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4808ae8e24928d021e6ff8a71a890563131b8265 | 176 | py | Python | bin/cubes/solid-pentominoes-3x3x9-ring.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/cubes/solid-pentominoes-3x3x9-ring.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/cubes/solid-pentominoes-3x3x9-ring.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""3 solutions"""
import puzzler
from puzzler.puzzles.solid_pentominoes import SolidPentominoes3x3x9Ring
puzzler.run(SolidPentominoes3x3x9Ring)
| 17.6 | 71 | 0.801136 | 19 | 176 | 7.368421 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04375 | 0.090909 | 176 | 9 | 72 | 19.555556 | 0.83125 | 0.210227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4813dc6e409e55e64fcb43edf90f0bc58640f97f | 196 | py | Python | app/__init__.py | lon9/Twitter-bot-maker | f1985dac43f5ceb8ea20983a8e418c4275f8b782 | [
"MIT"
] | 1 | 2019-10-12T23:28:02.000Z | 2019-10-12T23:28:02.000Z | app/__init__.py | Rompei/Twitter-bot-maker | f1985dac43f5ceb8ea20983a8e418c4275f8b782 | [
"MIT"
] | 1 | 2019-12-26T16:37:03.000Z | 2019-12-26T16:37:03.000Z | app/__init__.py | lon9/Twitter-bot-maker | f1985dac43f5ceb8ea20983a8e418c4275f8b782 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
__version = '1.0'
from bottle import Bottle, TEMPLATE_PATH
app = Bottle()
TEMPLATE_PATH.append("./app/views")
TEMPLATE_PATH.remove("./views/")
from app.controllers import *
| 24.5 | 40 | 0.714286 | 27 | 196 | 5 | 0.592593 | 0.266667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017143 | 0.107143 | 196 | 7 | 41 | 28 | 0.754286 | 0.102041 | 0 | 0 | 0 | 0 | 0.126437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
48862e16641b7648ac63c45ebe3f4f1e94b1c815 | 1,713 | py | Python | hapthexa_main/launch/launch.py | tmcit-caolab/hapthexa_ros2 | 74030283bba2c0c3b4de6651320c8b8a243d723c | [
"MIT"
] | null | null | null | hapthexa_main/launch/launch.py | tmcit-caolab/hapthexa_ros2 | 74030283bba2c0c3b4de6651320c8b8a243d723c | [
"MIT"
] | null | null | null | hapthexa_main/launch/launch.py | tmcit-caolab/hapthexa_ros2 | 74030283bba2c0c3b4de6651320c8b8a243d723c | [
"MIT"
] | 1 | 2021-11-01T08:14:32.000Z | 2021-11-01T08:14:32.000Z | from launch import LaunchDescription
from launch_ros.actions import Node
def generate_launch_description():
return LaunchDescription([
Node(
package="hapthexa_main",
executable="hapthexa_leg",
name="hapthexa_leg_front_left",
namespace="hapthexa/leg/front_left... | 33.588235 | 62 | 0.569177 | 153 | 1,713 | 6.045752 | 0.215686 | 0.214054 | 0.143784 | 0.174054 | 0.63027 | 0.610811 | 0.610811 | 0.610811 | 0.610811 | 0.610811 | 0 | 0.041415 | 0.323409 | 1,713 | 51 | 63 | 33.588235 | 0.756687 | 0 | 0 | 0.52 | 1 | 0 | 0.323221 | 0.177363 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | true | 0 | 0.04 | 0.02 | 0.08 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f7c0d29b94090986352ac8683b8b0b8b68e85e7 | 84 | py | Python | IA/Python/5/5.1/6.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | 1 | 2022-02-23T12:47:00.000Z | 2022-02-23T12:47:00.000Z | IA/Python/5/5.1/6.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | null | null | null | IA/Python/5/5.1/6.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | null | null | null | def factorial(n):
if n==1 or n==0:
return 1
return n*factorial(n-1)
| 16.8 | 27 | 0.547619 | 16 | 84 | 2.875 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.309524 | 84 | 4 | 28 | 21 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6fa9d8cffa9de939322d66001851e7534ba08d5b | 46 | py | Python | src/signal_backtester/base/__init__.py | xibalbas/signal_backtester | 8eaa52ecad22419b29b0e0e34eaadfea83f4e4b9 | [
"MIT"
] | 14 | 2022-03-04T20:23:45.000Z | 2022-03-30T11:04:40.000Z | src/signal_backtester/base/__init__.py | xibalbas/signal_backtester | 8eaa52ecad22419b29b0e0e34eaadfea83f4e4b9 | [
"MIT"
] | null | null | null | src/signal_backtester/base/__init__.py | xibalbas/signal_backtester | 8eaa52ecad22419b29b0e0e34eaadfea83f4e4b9 | [
"MIT"
] | 2 | 2022-03-05T10:18:19.000Z | 2022-03-06T12:51:49.000Z | """Base
Base Package
more description
"""
| 9.2 | 20 | 0.652174 | 5 | 46 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 4 | 21 | 11.5 | 0.833333 | 0.826087 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6fc786bf49e570d05ac98894f60c30b6ee77872d | 1,285 | py | Python | mollie/api/objects/invoice.py | bryanwills/mollie-api-python | 8122569ae83f07ad07893f3dd56e9a60bcccae05 | [
"BSD-2-Clause"
] | null | null | null | mollie/api/objects/invoice.py | bryanwills/mollie-api-python | 8122569ae83f07ad07893f3dd56e9a60bcccae05 | [
"BSD-2-Clause"
] | null | null | null | mollie/api/objects/invoice.py | bryanwills/mollie-api-python | 8122569ae83f07ad07893f3dd56e9a60bcccae05 | [
"BSD-2-Clause"
] | null | null | null | from .base import ObjectBase
class Invoice(ObjectBase):
@classmethod
def get_resource_class(cls, client):
from ..resources.invoices import Invoices
return Invoices(client)
@property
def id(self):
return self._get_property("id")
@property
def reference(self):
... | 20.725806 | 49 | 0.638911 | 147 | 1,285 | 5.346939 | 0.272109 | 0.181934 | 0.231552 | 0.28117 | 0.412214 | 0.221374 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257588 | 1,285 | 61 | 50 | 21.065574 | 0.823899 | 0 | 0 | 0.288889 | 0 | 0 | 0.070039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.311111 | false | 0 | 0.044444 | 0.288889 | 0.688889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.