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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2cbf89be6da24a22a9ca1b7215e2c9dcd62dc519 | 184 | py | Python | pycqed/measurement/waveform_control_CC/__init__.py | nuttamas/PycQED_py3 | 1ee35c7428d36ed42ba4afb5d4bda98140b2283e | [
"MIT"
] | 60 | 2016-08-03T10:00:18.000Z | 2021-11-10T11:46:16.000Z | pycqed/measurement/waveform_control_CC/__init__.py | nuttamas/PycQED_py3 | 1ee35c7428d36ed42ba4afb5d4bda98140b2283e | [
"MIT"
] | 512 | 2016-08-03T17:10:02.000Z | 2022-03-31T14:03:43.000Z | pycqed/measurement/waveform_control_CC/__init__.py | nuttamas/PycQED_py3 | 1ee35c7428d36ed42ba4afb5d4bda98140b2283e | [
"MIT"
] | 34 | 2016-10-19T12:00:52.000Z | 2022-03-19T04:43:26.000Z | '''
Module containing waveforms for any codeword based waveform generator.
This is the library containing pulses for
CBox (still uses old one)
QWG
UHFQC (not used yet)
'''
| 23 | 70 | 0.722826 | 26 | 184 | 5.115385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 184 | 7 | 71 | 26.285714 | 0.923611 | 0.951087 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e2cad3607d2ce5a48ecfd0c702c092fd6ba21786 | 24 | py | Python | data/studio21_generated/introductory/4440/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4440/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4440/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def validate_pin(pin):
| 12 | 22 | 0.75 | 4 | 24 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 2 | 23 | 12 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e2f92c07c25bcc67308a2cb5dcae80b8b541482b | 35 | py | Python | junn/common/__init__.py | modsim/junn | a40423b98c6a3739dd0b2ba02d546a5db91f9215 | [
"BSD-2-Clause"
] | null | null | null | junn/common/__init__.py | modsim/junn | a40423b98c6a3739dd0b2ba02d546a5db91f9215 | [
"BSD-2-Clause"
] | null | null | null | junn/common/__init__.py | modsim/junn | a40423b98c6a3739dd0b2ba02d546a5db91f9215 | [
"BSD-2-Clause"
] | null | null | null | """Common functionality module."""
| 17.5 | 34 | 0.714286 | 3 | 35 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.78125 | 0.8 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
394c0a95f80ca6b5a6459e883027f6e8484a36c9 | 116 | py | Python | djmoney/models/__init__.py | toudi/django-money | 44878b26f05351a55ec97d2b437de48875ea6cee | [
"BSD-3-Clause"
] | null | null | null | djmoney/models/__init__.py | toudi/django-money | 44878b26f05351a55ec97d2b437de48875ea6cee | [
"BSD-3-Clause"
] | null | null | null | djmoney/models/__init__.py | toudi/django-money | 44878b26f05351a55ec97d2b437de48875ea6cee | [
"BSD-3-Clause"
] | null | null | null | # coding=utf-8
from django.core import serializers
serializers.register_serializer('json', 'djmoney.serializers')
| 19.333333 | 62 | 0.801724 | 14 | 116 | 6.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.086207 | 116 | 5 | 63 | 23.2 | 0.858491 | 0.103448 | 0 | 0 | 0 | 0 | 0.22549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1a4be22543af73441ad4c9ced85adf6351a9df98 | 100 | py | Python | zeeko/cyloop/tests/conftest.py | alexrudy/Zeeko | fb4992724620ed548dd32c3201f79f5b7bebfe32 | [
"BSD-3-Clause"
] | 2 | 2017-07-23T22:06:05.000Z | 2020-02-28T07:54:15.000Z | zeeko/cyloop/tests/conftest.py | alexrudy/Zeeko | fb4992724620ed548dd32c3201f79f5b7bebfe32 | [
"BSD-3-Clause"
] | 1 | 2020-10-29T19:54:06.000Z | 2020-10-29T19:54:06.000Z | zeeko/cyloop/tests/conftest.py | alexrudy/Zeeko | fb4992724620ed548dd32c3201f79f5b7bebfe32 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import numpy as np
@pytest.fixture
def n():
"""Number of arrays"""
return 3
| 11.111111 | 26 | 0.65 | 15 | 100 | 4.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.24 | 100 | 8 | 27 | 12.5 | 0.842105 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1a85a960a6472eb85416df8f920eee65f1eef307 | 65 | py | Python | authentication/account/__init__.py | vo0doO/pydj-persweb | efcd6b7090230f7c0b9ec056008f6d1d9e876ed9 | [
"CC0-1.0"
] | null | null | null | authentication/account/__init__.py | vo0doO/pydj-persweb | efcd6b7090230f7c0b9ec056008f6d1d9e876ed9 | [
"CC0-1.0"
] | 4 | 2020-05-06T17:22:00.000Z | 2021-12-13T20:43:30.000Z | authentication/account/__init__.py | vo0doO/pydj-persweb | efcd6b7090230f7c0b9ec056008f6d1d9e876ed9 | [
"CC0-1.0"
] | null | null | null | default_app_config = 'authentication.account.apps.AccountConfig'
| 32.5 | 64 | 0.861538 | 7 | 65 | 7.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 65 | 1 | 65 | 65 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.630769 | 0.630769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1a9e25b8e38841c4bac70ac6ccb33656070cf168 | 868 | py | Python | slot/d/water.py | smashwidget/dl-1 | 352a65b9e40a623d7a9e5a693fa2b412f27d8cff | [
"Apache-2.0"
] | null | null | null | slot/d/water.py | smashwidget/dl-1 | 352a65b9e40a623d7a9e5a693fa2b412f27d8cff | [
"Apache-2.0"
] | null | null | null | slot/d/water.py | smashwidget/dl-1 | 352a65b9e40a623d7a9e5a693fa2b412f27d8cff | [
"Apache-2.0"
] | null | null | null | from slot import *
class Leviathan(DragonBase):
ele = 'water'
att = 125
a = [('a', 0.6)]
class Siren(DragonBase):
ele = 'water'
att = 125
a = [('s', 0.9), ('a', 0.2)]
class Dragonyule_Jeanne(DragonBase):
ele = 'water'
att = 125
a = [('a', 0.30), ('cc', 0.15)]
DJ = Dragonyule_Jeann... | 20.186047 | 45 | 0.559908 | 118 | 868 | 4.050847 | 0.381356 | 0.217573 | 0.301255 | 0.351464 | 0.330544 | 0.330544 | 0.225941 | 0.225941 | 0 | 0 | 0 | 0.087963 | 0.253456 | 868 | 43 | 46 | 20.186047 | 0.649691 | 0 | 0 | 0.4 | 0 | 0 | 0.097814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.942857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
46c9302c3f4b4a29c5ed9d253acad5c1dab9d819 | 323 | py | Python | instagram_api/response/profile_notice.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | 13 | 2019-08-07T21:24:34.000Z | 2020-12-12T12:23:50.000Z | instagram_api/response/profile_notice.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | instagram_api/response/profile_notice.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | from .mapper import ApiResponse, ApiResponseInterface
from .mapper.types import Timestamp, AnyType
__all__ = ['ProfileNoticeResponse']
class ProfileNoticeResponseInterface(ApiResponseInterface):
has_change_password_megaphone: bool
class ProfileNoticeResponse(ApiResponse, ProfileNoticeResponseInterface):
pa... | 24.846154 | 73 | 0.839009 | 26 | 323 | 10.153846 | 0.692308 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 323 | 12 | 74 | 26.916667 | 0.913495 | 0 | 0 | 0 | 0 | 0 | 0.065015 | 0.065015 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
20324745b49d12b28c5e64b40f7fe8dfb4e906b0 | 2,051 | py | Python | workspace/machine_learning/support_functions.py | Batyi/Website-Fingerprinting-on-Proxy | d2c330fa154cf13c03bd36947e6507debf1ec173 | [
"MIT"
] | 1 | 2020-06-26T14:25:41.000Z | 2020-06-26T14:25:41.000Z | workspace/machine_learning/support_functions.py | Batyi/Website-Fingerprinting-on-Proxy | d2c330fa154cf13c03bd36947e6507debf1ec173 | [
"MIT"
] | null | null | null | workspace/machine_learning/support_functions.py | Batyi/Website-Fingerprinting-on-Proxy | d2c330fa154cf13c03bd36947e6507debf1ec173 | [
"MIT"
] | null | null | null | import os
import re
def multi_files_names(URL):
#print(f"URL:{URL}")
curr_dir = os.getcwd()
# First get the current directory and then add the folder which you want to enter
sourcepath = os.listdir(os.path.join(curr_dir, "data_for_ML")) # OR read_file_path()
delimiters = "_"
#re.escape allows to build the... | 32.555556 | 96 | 0.712823 | 322 | 2,051 | 4.326087 | 0.254658 | 0.080402 | 0.074659 | 0.053841 | 0.774587 | 0.759512 | 0.7229 | 0.7229 | 0.623116 | 0.623116 | 0 | 0.000593 | 0.17845 | 2,051 | 62 | 97 | 33.080645 | 0.826113 | 0.486592 | 0 | 0.25 | 0 | 0 | 0.044031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.357143 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
646f4083f45e56bf5ee8cc0ae6f1cddc67c84556 | 179 | py | Python | testdust/settling/__init__.py | ibackus/testdust | 29e78e4cd2f3466dd503ce863c6db9014da07a04 | [
"MIT"
] | null | null | null | testdust/settling/__init__.py | ibackus/testdust | 29e78e4cd2f3466dd503ce863c6db9014da07a04 | [
"MIT"
] | null | null | null | testdust/settling/__init__.py | ibackus/testdust | 29e78e4cd2f3466dd503ce863c6db9014da07a04 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Oct 19 15:32:04 2016
@author: ibackus
"""
import utils
import randomNormalSnap
import ppdgrid
import analyze
import makeICs
import plot | 14.916667 | 35 | 0.73743 | 26 | 179 | 5.076923 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086093 | 0.156425 | 179 | 12 | 36 | 14.916667 | 0.788079 | 0.424581 | 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 | 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 | 4 |
6470e5d0deee719aa79c71b3de4aad355884b9c7 | 87 | py | Python | e7gzly/apps.py | naderabdalghani/e7gzly-api | a5c8afba1c4f118d56742c147d8f79be5241f66a | [
"Apache-2.0"
] | null | null | null | e7gzly/apps.py | naderabdalghani/e7gzly-api | a5c8afba1c4f118d56742c147d8f79be5241f66a | [
"Apache-2.0"
] | null | null | null | e7gzly/apps.py | naderabdalghani/e7gzly-api | a5c8afba1c4f118d56742c147d8f79be5241f66a | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class E7gzlyConfig(AppConfig):
name = 'e7gzly'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
648aec550e075b1bc9c41b89b9001500027781fb | 221 | py | Python | mentorship_api/views.py | brickfaced/mentorship-app | b2fd44f2689bd0e613f2f4836c81aa1de9ecf0b3 | [
"MIT"
] | null | null | null | mentorship_api/views.py | brickfaced/mentorship-app | b2fd44f2689bd0e613f2f4836c81aa1de9ecf0b3 | [
"MIT"
] | null | null | null | mentorship_api/views.py | brickfaced/mentorship-app | b2fd44f2689bd0e613f2f4836c81aa1de9ecf0b3 | [
"MIT"
] | null | null | null | from rest_framework.decorators import api_view
from rest_framework.response import Response
@api_view()
def hello_world(request):
"""Get for the hello world test."""
return Response({'message': 'Hello World!'})
| 24.555556 | 48 | 0.746606 | 30 | 221 | 5.333333 | 0.6 | 0.1875 | 0.2125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140271 | 221 | 8 | 49 | 27.625 | 0.842105 | 0.131222 | 0 | 0 | 0 | 0 | 0.102151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 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 | 4 |
64aa3e1874f0f343663a3b5eb7d3f0e4ccdcb368 | 284 | py | Python | pyinstagram/agents/web_agent.py | OlegYurchik/pyInstagram | d71ce6918fa0a3d6ed641318efa6a55a41dec939 | [
"MIT"
] | 152 | 2019-03-26T23:33:28.000Z | 2022-01-04T15:33:25.000Z | pyinstagram/agents/web_agent.py | OlegYurchik/pyInstagram | d71ce6918fa0a3d6ed641318efa6a55a41dec939 | [
"MIT"
] | 58 | 2019-03-27T09:30:21.000Z | 2020-12-03T13:40:39.000Z | pyinstagram/agents/web_agent.py | OlegYurchik/pyInstagram | d71ce6918fa0a3d6ed641318efa6a55a41dec939 | [
"MIT"
] | 60 | 2019-04-05T14:34:45.000Z | 2021-01-20T02:44:24.000Z | from .async_web_agent import AsyncWebAgent
from .utils import sync
class WebAgent(AsyncWebAgent):
update = sync(AsyncWebAgent.update)
get_media = sync(AsyncWebAgent.get_media)
get_likes = sync(AsyncWebAgent.get_likes)
get_comments = sync(AsyncWebAgent.get_comments)
| 28.4 | 51 | 0.785211 | 35 | 284 | 6.142857 | 0.428571 | 0.316279 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 284 | 9 | 52 | 31.555556 | 0.881148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
64cc4da63c52447e3507f875e905f219bd67e494 | 271 | py | Python | config/__init__.py | hajareshyam/flask-seed | 5e1cddebd8496e39cc99c012e8a203ef9bd4b834 | [
"MIT"
] | 3 | 2018-02-11T23:20:18.000Z | 2019-12-15T10:29:22.000Z | config/__init__.py | hajareshyam/flask-seed | 5e1cddebd8496e39cc99c012e8a203ef9bd4b834 | [
"MIT"
] | null | null | null | config/__init__.py | hajareshyam/flask-seed | 5e1cddebd8496e39cc99c012e8a203ef9bd4b834 | [
"MIT"
] | 1 | 2019-11-01T06:42:47.000Z | 2019-11-01T06:42:47.000Z | __all__ = ['local', 'development', 'production', 'test', 'constants']
# from .base import BaseConfig
from .development import DevelopmentConfig
from .local import LocalConfig
from .production import ProductionConfig
from .test import TestConfig
from .constants import *
| 30.111111 | 69 | 0.785978 | 29 | 271 | 7.206897 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121771 | 271 | 8 | 70 | 33.875 | 0.878151 | 0.103321 | 0 | 0 | 0 | 0 | 0.161826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b389c2bfce76608735c4250529737d25b0aaea66 | 142 | py | Python | testing.py | gabeladd/testrepo | 9d8c8cc2bc467434c2ecc1df7463eeff0b454293 | [
"MIT"
] | null | null | null | testing.py | gabeladd/testrepo | 9d8c8cc2bc467434c2ecc1df7463eeff0b454293 | [
"MIT"
] | null | null | null | testing.py | gabeladd/testrepo | 9d8c8cc2bc467434c2ecc1df7463eeff0b454293 | [
"MIT"
] | null | null | null | #something new
var="BOB was here!!!!"
#have to change something else
print("\n\nDave what are you doing????\n\n\n")
#New branch master added | 20.285714 | 46 | 0.697183 | 25 | 142 | 3.96 | 0.8 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 7 | 47 | 20.285714 | 0.811475 | 0.457746 | 0 | 0 | 0 | 0 | 0.706667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b3b2a1868f837830ffe9e3641a48352d008e79e3 | 246 | py | Python | test/mp/mpTest.py | yunfeiqi/multiprocessingpy | d552b0930047312ce0df9aa324118cf28b3d71cd | [
"Apache-2.0"
] | 3 | 2020-08-28T09:27:21.000Z | 2020-11-11T07:51:18.000Z | test/mp/mpTest.py | yunfeiqi/multiprocessingpy | d552b0930047312ce0df9aa324118cf28b3d71cd | [
"Apache-2.0"
] | null | null | null | test/mp/mpTest.py | yunfeiqi/multiprocessingpy | d552b0930047312ce0df9aa324118cf28b3d71cd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@Description : The base class of Unit test
@Time :2020/08/27 15:35:05
@Author :sam.qi
@Version :1.0
'''
import unittest
class BaseTest(unittest.TestCase):
pass | 18.923077 | 46 | 0.589431 | 34 | 246 | 4.264706 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092896 | 0.256098 | 246 | 13 | 47 | 18.923077 | 0.699454 | 0.703252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
b3efd49668e001d5d1b52c28738f089ab51d1a6d | 677 | py | Python | mooquant_history/history/api.py | bopo/mooquant_history | 42238e5c17488f629215c3360cf77976c1fbf46f | [
"MIT"
] | 1 | 2018-02-03T06:12:02.000Z | 2018-02-03T06:12:02.000Z | mooquant_history/history/api.py | bopo/mooquant_history | 42238e5c17488f629215c3360cf77976c1fbf46f | [
"MIT"
] | 1 | 2021-03-25T21:56:53.000Z | 2021-03-25T21:56:53.000Z | mooquant_history/history/api.py | bopo/mooquant_history | 42238e5c17488f629215c3360cf77976c1fbf46f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .bundle import Day
def init(dtype='day', export='csv', path=None):
return Day(path=path, export=export).init()
def single(dtype='day', stock=None, path='history', export='csv'):
if stock is None:
raise Exception('stock code is None')
return Day(path=path, export=exp... | 26.038462 | 69 | 0.666174 | 99 | 677 | 4.555556 | 0.262626 | 0.10643 | 0.121951 | 0.18847 | 0.538803 | 0.487805 | 0.432373 | 0.359202 | 0.359202 | 0.359202 | 0 | 0.001727 | 0.144756 | 677 | 25 | 70 | 27.08 | 0.777202 | 0.031019 | 0 | 0 | 0 | 0 | 0.088685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0.307692 | 0.846154 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b604ba270987a772344b759fe236787c977a0500 | 798 | py | Python | examples/lambda/kms.py | nathants/aws-util | 7a8751eac4ad1ff8f99a8800ecb659c3b381d46e | [
"MIT"
] | null | null | null | examples/lambda/kms.py | nathants/aws-util | 7a8751eac4ad1ff8f99a8800ecb659c3b381d46e | [
"MIT"
] | null | null | null | examples/lambda/kms.py | nathants/aws-util | 7a8751eac4ad1ff8f99a8800ecb659c3b381d46e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#
# attr: concurrency 0
# attr: memory 128
# attr: timeout 60
# policy: AWSLambdaBasicExecutionRole
import base64
import boto3
import os
def decrypt(text):
return boto3.client('kms').decrypt(CiphertextBlob=base64.b64decode(bytes(text, 'utf-8')))['Plaintext'].decode('utf-8')
def main(event,... | 24.9375 | 122 | 0.605263 | 109 | 798 | 4.366972 | 0.568807 | 0.05042 | 0.10084 | 0.042017 | 0.12605 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0.032407 | 0.18797 | 798 | 31 | 123 | 25.741935 | 0.70216 | 0.614035 | 0 | 0 | 0 | 0 | 0.100775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
37452035deb83fe334a0ce5c91b574bc1022bec4 | 66 | py | Python | base_structure/common/config.py | djy-git/base-structure | 7b867086fee66d1cd9b6e4fd9c7dd082fef29575 | [
"MIT"
] | null | null | null | base_structure/common/config.py | djy-git/base-structure | 7b867086fee66d1cd9b6e4fd9c7dd082fef29575 | [
"MIT"
] | null | null | null | base_structure/common/config.py | djy-git/base-structure | 7b867086fee66d1cd9b6e4fd9c7dd082fef29575 | [
"MIT"
] | 2 | 2021-08-12T16:44:45.000Z | 2021-10-19T14:25:25.000Z | """**Configuration 변수들이 정의되는 module**
1. Constant는 대문자
----
"""
| 9.428571 | 37 | 0.606061 | 7 | 66 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.166667 | 66 | 6 | 38 | 11 | 0.709091 | 0.878788 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
374643baf4905a23f6574e861031e8d99a6d3e66 | 752 | py | Python | src/rentinfo/model.py | SwaggieBroker/HousePriceDataVisualization | 43325cf6ba03548bf4a867dff2cafb4abec7758f | [
"MIT"
] | null | null | null | src/rentinfo/model.py | SwaggieBroker/HousePriceDataVisualization | 43325cf6ba03548bf4a867dff2cafb4abec7758f | [
"MIT"
] | null | null | null | src/rentinfo/model.py | SwaggieBroker/HousePriceDataVisualization | 43325cf6ba03548bf4a867dff2cafb4abec7758f | [
"MIT"
] | null | null | null | from django.conf import settings
from django.db import models
class RentInfo(models.Model):
class Meta:
db_table = "rentinfo"
houseID = models.CharField(primary_key=True, max_length=50)
updatedate = models.DateTimeField('updatedate')
decoration = models.CharField(max_length=50)
heating = ... | 34.181818 | 63 | 0.734043 | 98 | 752 | 5.489796 | 0.336735 | 0.334572 | 0.245353 | 0.490706 | 0.531599 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.162234 | 752 | 21 | 64 | 35.809524 | 0.815873 | 0 | 0 | 0 | 0 | 0 | 0.023936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.944444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
374a5f8b4571959df8d4deab391fa8af6f778e90 | 633 | py | Python | MyApp/admin.py | liqi629/yyapi | 36873d87cb433d6077bafd31fca89ea15aaaed66 | [
"MIT"
] | 1 | 2021-08-06T09:17:37.000Z | 2021-08-06T09:17:37.000Z | MyApp/admin.py | liqi629/yyapi | 36873d87cb433d6077bafd31fca89ea15aaaed66 | [
"MIT"
] | null | null | null | MyApp/admin.py | liqi629/yyapi | 36873d87cb433d6077bafd31fca89ea15aaaed66 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
# 管理django后台的一个文件,我们要在后台中看到的数据库表都需要在这里注册,后续会详细说明
# 我们这里必须手动加上一句,从我的app里models 中导入所有类*
from MyApp.models import *
# 注册 刚刚的吐槽表:admin.site.register() 是注册用的函数,里面写类名,注意是类名,并不是类本身,所以不要加()
admin.site.register(DB_tucao)
admin.site.register(DB_home_href)
admin.site... | 31.65 | 68 | 0.832543 | 94 | 633 | 5.425532 | 0.404255 | 0.229412 | 0.433333 | 0.447059 | 0.296078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055292 | 633 | 20 | 69 | 31.65 | 0.852843 | 0.276461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3765c900eb2d09e0228c547fd8a74527b34b5d0c | 213 | py | Python | __init__.py | muhammad-rafi/conf_diff | 90d85c045afcab0d2ab7d16ef43f4a378b231c47 | [
"CNRI-Python"
] | 5 | 2022-03-28T03:32:33.000Z | 2022-03-29T18:22:24.000Z | __init__.py | muhammad-rafi/conf_diff | 90d85c045afcab0d2ab7d16ef43f4a378b231c47 | [
"CNRI-Python"
] | null | null | null | __init__.py | muhammad-rafi/conf_diff | 90d85c045afcab0d2ab7d16ef43f4a378b231c47 | [
"CNRI-Python"
] | null | null | null | import importlib.metadata
try:
__author__ = """Muhammad Rafi"""
__version__ = importlib.metadata.version(__package__ or __name__)
except importlib.metadata.PackageNotFoundError:
__version__ = "0.6.5"
| 26.625 | 69 | 0.755869 | 22 | 213 | 6.409091 | 0.727273 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.140845 | 213 | 7 | 70 | 30.428571 | 0.754098 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3766166b65d1e540121498a9b42b52fdaf2ed5db | 197 | py | Python | aioeventbus/typing.py | momocow/python-aioeventbus | 35d17789bb028e81f4613c0a40c3f51304f96df4 | [
"MIT"
] | 2 | 2020-03-06T06:58:27.000Z | 2020-03-07T11:57:39.000Z | aioeventbus/typing.py | momocow/python-aioeventbus | 35d17789bb028e81f4613c0a40c3f51304f96df4 | [
"MIT"
] | null | null | null | aioeventbus/typing.py | momocow/python-aioeventbus | 35d17789bb028e81f4613c0a40c3f51304f96df4 | [
"MIT"
] | null | null | null | from abc import ABC
from typing import Awaitable, Callable, Type, Union
class EventBase(ABC):
pass
EventClass = Type[EventBase]
Handler = Callable[[EventBase], Union[None, Awaitable[None]]]
| 19.7 | 61 | 0.751269 | 25 | 197 | 5.92 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147208 | 197 | 9 | 62 | 21.888889 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
3790bcbb0c53fecdcdd2285bc764dfa70337dd15 | 139 | py | Python | src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/__init__.py | cattz/aws-deployment-framework | 089ac40b5a91b4d1ae3151be601a818244eaf1c6 | [
"Apache-2.0"
] | 3 | 2019-03-07T00:33:36.000Z | 2020-01-16T02:32:52.000Z | src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/__init__.py | cattz/aws-deployment-framework | 089ac40b5a91b4d1ae3151be601a818244eaf1c6 | [
"Apache-2.0"
] | null | null | null | src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/__init__.py | cattz/aws-deployment-framework | 089ac40b5a91b4d1ae3151be601a818244eaf1c6 | [
"Apache-2.0"
] | 1 | 2019-11-12T10:08:32.000Z | 2019-11-12T10:08:32.000Z | # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
"""
__init__ for adf-build
"""
| 19.857143 | 73 | 0.726619 | 20 | 139 | 4.85 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042017 | 0.143885 | 139 | 6 | 74 | 23.166667 | 0.773109 | 0.906475 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37962a94c4bab8df8fabf49b0401e28ebeb74d78 | 110 | py | Python | bot/DataBase/Logic/MigrationManager.py | Amirioelmos/zekranehbot | 0868cafa74059814923dec90c0b488ff747ada52 | [
"MIT"
] | 1 | 2020-04-13T04:46:54.000Z | 2020-04-13T04:46:54.000Z | bot/DataBase/Logic/MigrationManager.py | Amirioelmos/zekranehbot | 0868cafa74059814923dec90c0b488ff747ada52 | [
"MIT"
] | null | null | null | bot/DataBase/Logic/MigrationManager.py | Amirioelmos/zekranehbot | 0868cafa74059814923dec90c0b488ff747ada52 | [
"MIT"
] | null | null | null |
from bot.DataBase.Logic import Page, MainText
def run_migrate():
Page.migrate()
MainText.migrate()
| 13.75 | 45 | 0.709091 | 14 | 110 | 5.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 7 | 46 | 15.714286 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
805ba55ed86af7e1a77e310df139512e78b99f6e | 61,165 | py | Python | iptv_proxy/providers/iptv_provider/configuration.py | sfanous/IPTVProxy | 23047be01a229ef8f69ea6ca55185eae93adc56e | [
"MIT"
] | 9 | 2018-11-02T02:51:50.000Z | 2022-01-12T06:22:33.000Z | iptv_proxy/providers/iptv_provider/configuration.py | sfanous/IPTVProxy | 23047be01a229ef8f69ea6ca55185eae93adc56e | [
"MIT"
] | 3 | 2019-05-11T21:28:32.000Z | 2020-04-27T00:58:46.000Z | iptv_proxy/providers/iptv_provider/configuration.py | sfanous/IPTVProxy | 23047be01a229ef8f69ea6ca55185eae93adc56e | [
"MIT"
] | 7 | 2019-01-03T20:31:30.000Z | 2022-01-29T04:09:24.000Z | import copy
import json
import logging
from iptv_proxy.providers import ProvidersController
from iptv_proxy.security import SecurityManager
logger = logging.getLogger(__name__)
class ProviderConfiguration(object):
__slots__ = []
_configuration_schema = {}
_provider_name = None
@classmethod
def... | 42.066713 | 154 | 0.457615 | 4,995 | 61,165 | 5.225826 | 0.035035 | 0.06574 | 0.054591 | 0.057005 | 0.874574 | 0.833238 | 0.791786 | 0.723787 | 0.619431 | 0.521588 | 0 | 0.010199 | 0.474225 | 61,165 | 1,453 | 155 | 42.095664 | 0.801486 | 0.02266 | 0 | 0.569231 | 0 | 0 | 0.102922 | 0.003314 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005668 | false | 0.02996 | 0.004049 | 0.00081 | 0.017004 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
80e7b35470ae7027078edaf6b4a8639438f64588 | 129 | py | Python | module05/inflation.py | deepcloudlabs/dcl702-2021-jul-12 | 1b8442ddfb507f4bdc5fc3e2d1c9188c26f1834b | [
"MIT"
] | null | null | null | module05/inflation.py | deepcloudlabs/dcl702-2021-jul-12 | 1b8442ddfb507f4bdc5fc3e2d1c9188c26f1834b | [
"MIT"
] | null | null | null | module05/inflation.py | deepcloudlabs/dcl702-2021-jul-12 | 1b8442ddfb507f4bdc5fc3e2d1c9188c26f1834b | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
df = pd.read_csv("eurostat_hicpv2.csv")
eu_inflations = df.iloc[6:]
print(eu_inflations)
| 18.428571 | 39 | 0.767442 | 23 | 129 | 4.130435 | 0.695652 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.124031 | 129 | 6 | 40 | 21.5 | 0.823009 | 0 | 0 | 0 | 0 | 0 | 0.147287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 | 0 | 0 | 4 |
03bc7308d95fe63376ad94bd08a689fdbb65b6f5 | 49 | py | Python | bigbrain/__init__.py | gmischl1/bigbrain | 1920363e19c296fa69c27be0dcdf2b5b6c4ababb | [
"Apache-2.0"
] | 2 | 2020-03-13T22:08:27.000Z | 2020-03-13T22:08:47.000Z | bigbrain/__init__.py | gmischl1/bigbrain | 1920363e19c296fa69c27be0dcdf2b5b6c4ababb | [
"Apache-2.0"
] | null | null | null | bigbrain/__init__.py | gmischl1/bigbrain | 1920363e19c296fa69c27be0dcdf2b5b6c4ababb | [
"Apache-2.0"
] | 1 | 2020-03-13T22:09:07.000Z | 2020-03-13T22:09:07.000Z | from bigbrain.ai import AI
__version__ = "0.1.2" | 16.333333 | 26 | 0.734694 | 9 | 49 | 3.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.142857 | 49 | 3 | 27 | 16.333333 | 0.690476 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
03d56a3fb87b437933882dff43b9721b0cb74ab5 | 86 | py | Python | run.py | heston/label-commander | 327c1e105bce83b8b674b55411f7fe2650d3a610 | [
"MIT"
] | 3 | 2019-03-25T04:33:01.000Z | 2021-01-03T22:21:04.000Z | run.py | heston/label-commander | 327c1e105bce83b8b674b55411f7fe2650d3a610 | [
"MIT"
] | 4 | 2020-03-26T06:56:18.000Z | 2022-01-02T19:50:12.000Z | run.py | heston/label-commander | 327c1e105bce83b8b674b55411f7fe2650d3a610 | [
"MIT"
] | 1 | 2021-11-30T22:33:41.000Z | 2021-11-30T22:33:41.000Z | from labelcommander import listener
if __name__ == '__main__':
listener.listen()
| 17.2 | 35 | 0.744186 | 9 | 86 | 6.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 4 | 36 | 21.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff0db082700495307506b5163be178a41cbf3825 | 83 | py | Python | paintbot/__init__.py | MimirHQ/paintbot | 486e6a6cf8013adf613f66905f5ed682c05087f9 | [
"MIT"
] | 1 | 2018-06-13T18:03:12.000Z | 2018-06-13T18:03:12.000Z | paintbot/__init__.py | MimirHQ/paintbot | 486e6a6cf8013adf613f66905f5ed682c05087f9 | [
"MIT"
] | null | null | null | paintbot/__init__.py | MimirHQ/paintbot | 486e6a6cf8013adf613f66905f5ed682c05087f9 | [
"MIT"
] | null | null | null | """
paintbot main module
"""
from paintbot.game import ( # noqa
PaintGame
)
| 9.222222 | 35 | 0.638554 | 9 | 83 | 5.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 83 | 8 | 36 | 10.375 | 0.84127 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 | 4 |
ff11ad37041d3b4e8d72e395cee185f651939aa0 | 85 | py | Python | setup.py | MrRubyRed/MBRL | fa8e357325611fd8431ce3be5e97592011f010c6 | [
"BSD-3-Clause"
] | null | null | null | setup.py | MrRubyRed/MBRL | fa8e357325611fd8431ce3be5e97592011f010c6 | [
"BSD-3-Clause"
] | null | null | null | setup.py | MrRubyRed/MBRL | fa8e357325611fd8431ce3be5e97592011f010c6 | [
"BSD-3-Clause"
] | null | null | null | from setuptools import setup
setup(name='mbrl', version='0.1.0', packages=['mbrl'])
| 21.25 | 54 | 0.705882 | 13 | 85 | 4.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.094118 | 85 | 3 | 55 | 28.333333 | 0.74026 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff1ad4b17580fbaf7e85b4376dc04a3da6a40153 | 42 | py | Python | src/dcos_e2e_cli/dcos_docker/commands/__init__.py | jongiddy/dcos-e2e | b52ef9a1097a8fb328902064345cc6c8b0bf5779 | [
"Apache-2.0"
] | 63 | 2018-05-17T21:02:14.000Z | 2021-11-15T19:18:03.000Z | src/dcos_e2e_cli/dcos_docker/commands/__init__.py | jongiddy/dcos-e2e | b52ef9a1097a8fb328902064345cc6c8b0bf5779 | [
"Apache-2.0"
] | 225 | 2017-09-08T02:24:58.000Z | 2018-05-16T12:18:58.000Z | src/dcos_e2e_cli/dcos_docker/commands/__init__.py | jongiddy/dcos-e2e | b52ef9a1097a8fb328902064345cc6c8b0bf5779 | [
"Apache-2.0"
] | 21 | 2018-06-14T21:58:24.000Z | 2021-11-15T19:18:06.000Z | """
Commands for ``minidcos docker``.
"""
| 10.5 | 33 | 0.595238 | 4 | 42 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 34 | 14 | 0.694444 | 0.785714 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
205b8088479920dca866cedf75f6b27d51ad46f9 | 200 | py | Python | halo_bian/bian/plugins/halo_bian_err_plugin.py | halo-framework/halo-bian | 38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac | [
"MIT"
] | null | null | null | halo_bian/bian/plugins/halo_bian_err_plugin.py | halo-framework/halo-bian | 38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac | [
"MIT"
] | null | null | null | halo_bian/bian/plugins/halo_bian_err_plugin.py | halo-framework/halo-bian | 38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac | [
"MIT"
] | null | null | null |
class BianPlugin():
def ready(self):
return True
def run(self,core,*params):
err = "from halo_bian.bian.mixin_err_msg import ErrorMessages\n\n"
return {"err":err}
| 16.666667 | 74 | 0.615 | 27 | 200 | 4.444444 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265 | 200 | 11 | 75 | 18.181818 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.309645 | 0.142132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
20955b537db28fcb9f49cbce39f463fbee44592c | 5,692 | py | Python | third_party/dimorphite_dl/acid_base_pairs.py | uta-smile/CD-MVGNN | b48f4cd14befed298980a83edb417ab6809f0af6 | [
"MIT"
] | 3 | 2022-02-06T09:13:51.000Z | 2022-02-19T15:03:35.000Z | third_party/dimorphite_dl/acid_base_pairs.py | uta-smile/CD-MVGNN | b48f4cd14befed298980a83edb417ab6809f0af6 | [
"MIT"
] | 1 | 2022-02-14T23:16:27.000Z | 2022-02-14T23:16:27.000Z | third_party/dimorphite_dl/acid_base_pairs.py | uta-smile/CD-MVGNN | b48f4cd14befed298980a83edb417ab6809f0af6 | [
"MIT"
] | null | null | null | from third_party.molvs.charge import AcidBasePair
from rdkit import Chem
pair_string = """Nitro [C,c,N,n,O,o:1]-[NX3:2](=[O:3])-[O-1:4] [C,c,N,n,O,o:1]-[NX3:2](=[O:3])-[O:4]-[H] 3
Sulfate [SX4:1](=[O:2])(=[O:3])([O:4]-[C,c,N,n:5])-[O-1:6] [SX4:1](=[O:2])(=[O:3])([O:4]-[C,c,N,n:5])-[OX2:6]-[H] 5
Sulfonate [SX4:1](=[O:2... | 56.356436 | 230 | 0.500703 | 1,342 | 5,692 | 2.061103 | 0.106557 | 0.0282 | 0.039046 | 0.034707 | 0.465654 | 0.37021 | 0.338033 | 0.276934 | 0.227766 | 0.221258 | 0 | 0.111066 | 0.133169 | 5,692 | 100 | 231 | 56.92 | 0.449534 | 0 | 0 | 0.068182 | 0 | 0.5 | 0.69993 | 0.504919 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.022727 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2096bbd23d6d1eb8cd8c79333789419dd5da64b5 | 120 | py | Python | bind/__init__.py | PowerOlive/bind | dca84228b43b0bf93580d5ae9c4fd1a79bce42c5 | [
"MIT"
] | 2 | 2018-07-18T11:37:37.000Z | 2019-05-03T11:37:13.000Z | bind/__init__.py | PowerOlive/bind | dca84228b43b0bf93580d5ae9c4fd1a79bce42c5 | [
"MIT"
] | 3 | 2018-10-22T15:19:32.000Z | 2019-06-01T15:06:26.000Z | bind/__init__.py | PowerOlive/bind | dca84228b43b0bf93580d5ae9c4fd1a79bce42c5 | [
"MIT"
] | 4 | 2019-05-03T11:37:21.000Z | 2020-08-07T08:10:24.000Z | from .bind import bind # noqa
__version__ = '3.0.0' # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
| 30 | 87 | 0.725 | 20 | 120 | 4.15 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.2 | 120 | 3 | 88 | 40 | 0.822917 | 0.558333 | 0 | 0 | 1 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
20c5797dd314a61d66fc031c71f6307cee019dde | 81 | py | Python | miniquora/qac/apps.py | rochakgupta/miniquora | 341722806c6d42c7cc1ecfe6ff0254f11e9370c7 | [
"MIT"
] | null | null | null | miniquora/qac/apps.py | rochakgupta/miniquora | 341722806c6d42c7cc1ecfe6ff0254f11e9370c7 | [
"MIT"
] | 6 | 2020-06-05T19:47:55.000Z | 2022-03-11T23:38:53.000Z | miniquora/qac/apps.py | rochakgupta/miniquora | 341722806c6d42c7cc1ecfe6ff0254f11e9370c7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class QacConfig(AppConfig):
name = 'qac'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
20df33ace10cb4d9d76d4f800c169534a71238a5 | 78 | py | Python | uci_janggi/__init__.py | sprinter89/uci_janggi | 1acdf8db9a186eb44be6c462329c9965f5952f7e | [
"MIT"
] | null | null | null | uci_janggi/__init__.py | sprinter89/uci_janggi | 1acdf8db9a186eb44be6c462329c9965f5952f7e | [
"MIT"
] | null | null | null | uci_janggi/__init__.py | sprinter89/uci_janggi | 1acdf8db9a186eb44be6c462329c9965f5952f7e | [
"MIT"
] | null | null | null | #this file does nothing except informing pypi that uci_janggi.py is a package
| 39 | 77 | 0.820513 | 14 | 78 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 1 | 78 | 78 | 0.954545 | 0.974359 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4556270ed64165ee50af5ad0e7a8aeb1bf232a5f | 302 | py | Python | torrents/urls.py | kevincornish/Genesis | 6bc424fe97be954776dec2bdc4c7d214992cc3e2 | [
"MIT"
] | null | null | null | torrents/urls.py | kevincornish/Genesis | 6bc424fe97be954776dec2bdc4c7d214992cc3e2 | [
"MIT"
] | null | null | null | torrents/urls.py | kevincornish/Genesis | 6bc424fe97be954776dec2bdc4c7d214992cc3e2 | [
"MIT"
] | null | null | null | from django.conf.urls import url, include
from django.contrib import admin
from torrents import views
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
url(r'^upload/$', views.upload, name='upload'),
url(r'^browse/$', views.browse, name='browse'),
] | 25.166667 | 51 | 0.735099 | 43 | 302 | 5.162791 | 0.418605 | 0.18018 | 0.189189 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135762 | 302 | 12 | 52 | 25.166667 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
45723f2ab738ef71e49f0975850a3b605e12c203 | 2,120 | py | Python | tests/test_utils_math.py | kevinddchen/Cirq-PrimeFactorization | 9104a60b983b345595c8016205dd0dd616483eaa | [
"MIT"
] | null | null | null | tests/test_utils_math.py | kevinddchen/Cirq-PrimeFactorization | 9104a60b983b345595c8016205dd0dd616483eaa | [
"MIT"
] | null | null | null | tests/test_utils_math.py | kevinddchen/Cirq-PrimeFactorization | 9104a60b983b345595c8016205dd0dd616483eaa | [
"MIT"
] | null | null | null | import pytest
from factor import modular_inverse, continued_fraction, approximate_fraction, is_prime
def test_modular_inverse():
assert modular_inverse(a=1, N=2) == 1
assert modular_inverse(a=1, N=5) == 1
assert modular_inverse(a=2, N=5) == 3
assert modular_inverse(a=3, N=5) == 2
assert modular_i... | 34.193548 | 86 | 0.64717 | 335 | 2,120 | 3.925373 | 0.125373 | 0.260076 | 0.304183 | 0.158175 | 0.320913 | 0.265399 | 0.187833 | 0.065399 | 0.065399 | 0 | 0 | 0.109982 | 0.210849 | 2,120 | 61 | 87 | 34.754098 | 0.676031 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.769231 | 1 | 0.076923 | true | 0 | 0.038462 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
458d75bdd1f6d36bbdc888e70fe25b1dda1e7cf1 | 130 | py | Python | src/read_data.py | argj92/bball | 226827249c83647263447e3ef9f831e70ae1dfa3 | [
"Apache-2.0"
] | null | null | null | src/read_data.py | argj92/bball | 226827249c83647263447e3ef9f831e70ae1dfa3 | [
"Apache-2.0"
] | null | null | null | src/read_data.py | argj92/bball | 226827249c83647263447e3ef9f831e70ae1dfa3 | [
"Apache-2.0"
] | 1 | 2018-09-26T02:13:47.000Z | 2018-09-26T02:13:47.000Z | import pandas as pd
import numpy as np
def main():
print("a bombae bros production\n")
if __name__ == "__main__":
main() | 16.25 | 39 | 0.669231 | 20 | 130 | 3.95 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 130 | 8 | 40 | 16.25 | 0.77451 | 0 | 0 | 0 | 0 | 0 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0.166667 | 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 | 0 | 0 | 0 | 4 |
45960c81e911bf2eccfc72ba2ed6263dc24bbc1a | 429 | py | Python | bbs_viewer/modules/points/admin.py | yoophi/bbs_viewer | bda8604c02214738c55b6130450d0bff15ee9a0d | [
"MIT"
] | null | null | null | bbs_viewer/modules/points/admin.py | yoophi/bbs_viewer | bda8604c02214738c55b6130450d0bff15ee9a0d | [
"MIT"
] | null | null | null | bbs_viewer/modules/points/admin.py | yoophi/bbs_viewer | bda8604c02214738c55b6130450d0bff15ee9a0d | [
"MIT"
] | null | null | null | # -*- coding: utf8
from __future__ import unicode_literals
from flask_admin.contrib.sqla import ModelView
from instashare.database import db
from instashare.extensions import admin
from .models import UserPointInfo, UserDailyPointInfo, \
UserPointHistory
admin.add_view(ModelView(UserPointInfo, db.session))
admin... | 30.642857 | 57 | 0.827506 | 51 | 429 | 6.784314 | 0.45098 | 0.069364 | 0.104046 | 0.182081 | 0.17341 | 0.17341 | 0 | 0 | 0 | 0 | 0 | 0.002571 | 0.09324 | 429 | 13 | 58 | 33 | 0.886889 | 0.037296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
45d79374760aed11ea1437698d8d2f46c96c56da | 1,741 | py | Python | hg/tests/test_tip.py | pakit/test_staging | 9be9a6aa392c33926edb6f6ea6af64b4d23224ee | [
"BSD-3-Clause"
] | 1 | 2020-10-06T02:26:24.000Z | 2020-10-06T02:26:24.000Z | hg/tests/test_tip.py | pakit/test_staging | 9be9a6aa392c33926edb6f6ea6af64b4d23224ee | [
"BSD-3-Clause"
] | null | null | null | hg/tests/test_tip.py | pakit/test_staging | 9be9a6aa392c33926edb6f6ea6af64b4d23224ee | [
"BSD-3-Clause"
] | null | null | null | '''Test output of {tip}.'''
from nose import *
from util import *
def _tip_rev():
opts = { 'template': '{rev}', }
_ui = get_sandbox_ui()
_ui.pushbuffer()
commands.tip(_ui, get_sandbox_repo(), **opts)
return _ui.popbuffer()
def _tip_node():
opts = { 'template': '{node}', }
... | 22.320513 | 56 | 0.598507 | 226 | 1,741 | 4.331858 | 0.163717 | 0.092952 | 0.157303 | 0.121553 | 0.861083 | 0.855975 | 0.803882 | 0.75383 | 0.449438 | 0.449438 | 0 | 0.004521 | 0.237794 | 1,741 | 77 | 57 | 22.61039 | 0.733233 | 0.012062 | 0 | 0.66 | 0 | 0 | 0.134772 | 0 | 0 | 0 | 0 | 0 | 0.22 | 1 | 0.12 | false | 0 | 0.04 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3025eca2b7a4625acad785a4ee0a16f48b01f83 | 126 | py | Python | car/consumers.py | stefangeorg/town-car | 81ca81eed8912911527c3cb6dc521d000482b0fd | [
"Apache-2.0"
] | null | null | null | car/consumers.py | stefangeorg/town-car | 81ca81eed8912911527c3cb6dc521d000482b0fd | [
"Apache-2.0"
] | null | null | null | car/consumers.py | stefangeorg/town-car | 81ca81eed8912911527c3cb6dc521d000482b0fd | [
"Apache-2.0"
] | null | null | null | def ws_message(message):
message.reply_channel.send({
"text": "Just for fun %s" % message.content['text'],
}) | 25.2 | 60 | 0.611111 | 16 | 126 | 4.6875 | 0.75 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 126 | 5 | 61 | 25.2 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 4 |
b303231d165ddfd087f7fd53fc036372e39d8b6b | 1,991 | py | Python | core/tests/test_trezor.crypto.rfc6979.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | null | null | null | core/tests/test_trezor.crypto.rfc6979.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | 1 | 2019-02-08T00:22:42.000Z | 2019-02-13T09:41:54.000Z | core/tests/test_trezor.crypto.rfc6979.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | 2 | 2019-02-07T23:57:09.000Z | 2020-10-21T07:07:27.000Z | from common import *
from trezor.crypto import rfc6979
from trezor.crypto.hashlib import sha256
class TestCryptoRfc6979(unittest.TestCase):
def test_vectors(self):
vectors = [
("c9afa9d845ba75166b5c215767b1d6934e50c3db36e89b127b8a622b120f6721",
"sample",
"a6e3c57dd... | 48.560976 | 223 | 0.719237 | 120 | 1,991 | 11.858333 | 0.708333 | 0.014055 | 0.022488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.392332 | 0.213963 | 1,991 | 40 | 224 | 49.775 | 0.516933 | 0 | 0 | 0.1875 | 0 | 0.03125 | 0.622803 | 0.450025 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.03125 | false | 0 | 0.09375 | 0 | 0.15625 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b318c21ad0eb2b6e95186d57efe3b7d26ec2e237 | 175 | py | Python | FlaskApp/extensions.py | re0phimes/FlaskTest | 43144766cb09201b27168a3a0b369116dc1a51d3 | [
"MIT"
] | 1 | 2019-05-14T08:18:44.000Z | 2019-05-14T08:18:44.000Z | FlaskApp/extensions.py | re0phimes/FlaskTest | 43144766cb09201b27168a3a0b369116dc1a51d3 | [
"MIT"
] | null | null | null | FlaskApp/extensions.py | re0phimes/FlaskTest | 43144766cb09201b27168a3a0b369116dc1a51d3 | [
"MIT"
] | null | null | null | from flask import Flask, render_template, redirect
# from flask_bootstrap import Bootstrap
from flask_sqlalchemy import SQLAlchemy
# bootstrp = Bootstrap()
db = SQLAlchemy() | 25 | 50 | 0.811429 | 21 | 175 | 6.619048 | 0.47619 | 0.194245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131429 | 175 | 7 | 51 | 25 | 0.914474 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b33f09e5bf45a9316a7fe457b361826368d9568b | 175 | py | Python | mysite/LibreBadge/views/views.py | energized-id/energized-id | 9dfd483e808cee7e87bfae02864ff2d614609890 | [
"MIT"
] | 8 | 2020-03-05T07:04:48.000Z | 2022-03-29T14:32:00.000Z | mysite/LibreBadge/views/views.py | energized-id/energized-id | 9dfd483e808cee7e87bfae02864ff2d614609890 | [
"MIT"
] | 36 | 2020-02-26T18:15:37.000Z | 2020-11-25T05:56:09.000Z | mysite/LibreBadge/views/views.py | energized-id/energized-id | 9dfd483e808cee7e87bfae02864ff2d614609890 | [
"MIT"
] | 2 | 2021-06-20T06:27:16.000Z | 2021-11-12T10:48:14.000Z | from .imports import *
#Put all views that don't belong elsewere here
@login_required
def index(request):
return render(request, 'LibreBadge/home.html',
context = {}) | 25 | 50 | 0.725714 | 24 | 175 | 5.25 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165714 | 175 | 7 | 51 | 25 | 0.863014 | 0.257143 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b34c9285365db87ed1c599e4cb5dbc704c6fe688 | 223 | py | Python | blazeform/tests/renderers/withaction.py | blazelibs/blazeform | 29722ed6398ab9883dd1e1d0e9d1cb04ed8bc0a7 | [
"BSD-3-Clause"
] | null | null | null | blazeform/tests/renderers/withaction.py | blazelibs/blazeform | 29722ed6398ab9883dd1e1d0e9d1cb04ed8bc0a7 | [
"BSD-3-Clause"
] | 6 | 2017-05-15T14:08:46.000Z | 2020-10-23T21:31:00.000Z | blazeform/tests/renderers/withaction.py | blazelibs/blazeform | 29722ed6398ab9883dd1e1d0e9d1cb04ed8bc0a7 | [
"BSD-3-Clause"
] | 1 | 2020-07-01T21:08:38.000Z | 2020-07-01T21:08:38.000Z | from __future__ import absolute_import
from blazeform.form import Form
class TestForm(Form):
def __init__(self):
Form.__init__(self, 'withactionform', action='/submitto')
self.add_text('text', 'Text')
| 24.777778 | 65 | 0.70852 | 27 | 223 | 5.333333 | 0.592593 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174888 | 223 | 8 | 66 | 27.875 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.139013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b3530c3a8484a4747a14654a1eca8555cff02513 | 60 | py | Python | login.py | saaassin13/test_python10 | 102acab0417b238cba5f452604bda09ea2a98591 | [
"MIT"
] | null | null | null | login.py | saaassin13/test_python10 | 102acab0417b238cba5f452604bda09ea2a98591 | [
"MIT"
] | null | null | null | login.py | saaassin13/test_python10 | 102acab0417b238cba5f452604bda09ea2a98591 | [
"MIT"
] | null | null | null | num = 1
num1 = 1111
num2 = 2222
num3 = 3333
num4 = 4444
| 6 | 11 | 0.6 | 10 | 60 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.512195 | 0.316667 | 60 | 9 | 12 | 6.666667 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b36ff8b258a3b936864a267d1093c9ac36b4d023 | 1,412 | py | Python | tests/misc/test_ordersort.py | BarrensZeppelin/PyRival | bb01523283af0130c3921445ed5e532bfcf053af | [
"Apache-2.0"
] | 748 | 2018-09-27T01:08:12.000Z | 2022-03-25T17:31:56.000Z | tests/misc/test_ordersort.py | swarajspatil158/PyRival | 07c4c38b2b6ca69a275d2ed3743b6c09af80b732 | [
"Apache-2.0"
] | 38 | 2019-02-24T14:50:02.000Z | 2022-03-25T01:27:50.000Z | tests/misc/test_ordersort.py | swarajspatil158/PyRival | 07c4c38b2b6ca69a275d2ed3743b6c09af80b732 | [
"Apache-2.0"
] | 288 | 2018-10-29T11:55:57.000Z | 2022-03-20T04:37:27.000Z | import random
from pyrival.ordersort import *
def test_ordersort():
for _ in range(10000):
l = random.randint(1, 100)
arr = [random.randint(0, 1000) for _ in range(l)]
got = ordersort(range(l), arr)
expected = sorted(range(l), key=arr.__getitem__)
assert [arr[i] for i i... | 26.641509 | 77 | 0.596317 | 210 | 1,412 | 3.847619 | 0.161905 | 0.089109 | 0.111386 | 0.079208 | 0.790842 | 0.756188 | 0.756188 | 0.715347 | 0.67698 | 0.633663 | 0 | 0.05486 | 0.264164 | 1,412 | 52 | 78 | 27.153846 | 0.72281 | 0 | 0 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 1 | 0.129032 | false | 0 | 0.064516 | 0 | 0.193548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2fa7cb7b773d534e726796a3ee44b6013d7d462d | 244 | py | Python | get_confluence_page_latex_path.py | Open-Measure/TOME-Python | 55159b3fbb55224b34e4fb71b63e4678c84ab4b7 | [
"CC-BY-4.0"
] | 1 | 2021-04-17T14:44:47.000Z | 2021-04-17T14:44:47.000Z | get_confluence_page_latex_path.py | Open-Measure/TOME-Python | 55159b3fbb55224b34e4fb71b63e4678c84ab4b7 | [
"CC-BY-4.0"
] | null | null | null | get_confluence_page_latex_path.py | Open-Measure/TOME-Python | 55159b3fbb55224b34e4fb71b63e4678c84ab4b7 | [
"CC-BY-4.0"
] | null | null | null | import settings
def get_confluence_page_latex_path(space_key, page_id):
confluence_page_latex_path = \
f"{settings.LOCAL_CONFLUENCE_PAGE_LATEX_FOLDER}/" \
f"{space_key}_{page_id}.tex"
return confluence_page_latex_path
| 27.111111 | 59 | 0.758197 | 34 | 244 | 4.882353 | 0.470588 | 0.337349 | 0.457831 | 0.415663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159836 | 244 | 8 | 60 | 30.5 | 0.809756 | 0 | 0 | 0 | 0 | 0 | 0.290984 | 0.290984 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
2fcee79f2e3618a6a53efa3b80dd76c30155b9ef | 140 | py | Python | ExPython/CursoemVideo/ex030.py | MatheusEwen/Exercicios_Do_CursoDePython | 7c21f95f0d31ec1e6c17e1b957c1442843118c48 | [
"MIT"
] | 1 | 2020-10-06T00:27:05.000Z | 2020-10-06T00:27:05.000Z | ExPython/CursoemVideo/ex030.py | MatheusEwen/Exercicios_Do_CursoDePython | 7c21f95f0d31ec1e6c17e1b957c1442843118c48 | [
"MIT"
] | null | null | null | ExPython/CursoemVideo/ex030.py | MatheusEwen/Exercicios_Do_CursoDePython | 7c21f95f0d31ec1e6c17e1b957c1442843118c48 | [
"MIT"
] | null | null | null | import math
n = int(input('Digite um número:'))
resul = n % 2
if resul == 0:
print('O número é par')
else:
print('O número é impar') | 20 | 35 | 0.614286 | 25 | 140 | 3.44 | 0.72 | 0.139535 | 0.27907 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.228571 | 140 | 7 | 36 | 20 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
2fdee606c545c725c7021d340c2c47cba95c6f8a | 5,317 | py | Python | server/config.py | BlankDAO/user-dashboard | b94e82366aeafab9aa08ed523f06e8ea6682f7a5 | [
"BSD-2-Clause"
] | 3 | 2019-03-10T06:07:39.000Z | 2019-04-08T12:52:58.000Z | server/config.py | BlankDAO/user-dashboard | b94e82366aeafab9aa08ed523f06e8ea6682f7a5 | [
"BSD-2-Clause"
] | null | null | null | server/config.py | BlankDAO/user-dashboard | b94e82366aeafab9aa08ed523f06e8ea6682f7a5 | [
"BSD-2-Clause"
] | null | null | null | def Obj(): return lambda: None
INFURA_URL = 'https://mainnet.infura.io/v3/81a17a01107e4ac9bf8a556da267ae2d'
BLANKDAO_PUBLIC_KEY = '117f893e-9184-427a-892c-6993e88981f0'
BLANK_TOKEN_ABI = '[{"constant": true, "inputs": [], "name": "mintingFinished", "outputs": [{"name": "", "type": "bool"}], "payable": false,... | 231.173913 | 4,861 | 0.595637 | 504 | 5,317 | 6.22619 | 0.180556 | 0.063735 | 0.16348 | 0.11791 | 0.7645 | 0.700446 | 0.67304 | 0.640535 | 0.612492 | 0.543658 | 0 | 0.025835 | 0.10457 | 5,317 | 22 | 4,862 | 241.681818 | 0.63327 | 0 | 0 | 0 | 0 | 0.071429 | 0.949764 | 0.023041 | 0 | 0 | 0.007932 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0.071429 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2ff591dd882602db2d4555a4dfd235c125da3f56 | 90 | py | Python | character/bonds/bond.py | chrisbrake/PythonSandbox | 8cd2ea847676d6a300b55c560f49cd980f760b00 | [
"BSD-3-Clause"
] | 1 | 2018-10-19T17:35:01.000Z | 2018-10-19T17:35:01.000Z | character/bonds/bond.py | chrisbrake/PythonSandbox | 8cd2ea847676d6a300b55c560f49cd980f760b00 | [
"BSD-3-Clause"
] | null | null | null | character/bonds/bond.py | chrisbrake/PythonSandbox | 8cd2ea847676d6a300b55c560f49cd980f760b00 | [
"BSD-3-Clause"
] | null | null | null | class BaseBond(object):
def __init__(self):
super(BaseBond, self).__init__()
| 18 | 40 | 0.655556 | 10 | 90 | 5.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211111 | 90 | 4 | 41 | 22.5 | 0.71831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2ffa363e2ef05730e61cd94e52d180a5b70ce996 | 236 | py | Python | gobigger/utils/__init__.py | luanshaotong/GoBigger | 00c347a89a660134677d633f39c39123c5ab3deb | [
"Apache-2.0"
] | 189 | 2021-10-08T07:55:10.000Z | 2022-03-31T23:49:43.000Z | gobigger/utils/__init__.py | luanshaotong/GoBigger | 00c347a89a660134677d633f39c39123c5ab3deb | [
"Apache-2.0"
] | 25 | 2021-11-01T06:59:30.000Z | 2022-03-22T11:22:27.000Z | gobigger/utils/__init__.py | luanshaotong/GoBigger | 00c347a89a660134677d633f39c39123c5ab3deb | [
"Apache-2.0"
] | 28 | 2021-10-14T12:23:14.000Z | 2022-03-31T23:49:45.000Z | from .structures import format_vector, add_size, save_screen_data_to_img, Border, QuadNode
from .collision_detection import create_collision_detection
from .config_utils import deep_merge_dicts
from .tool import *
from .colors import *
| 39.333333 | 90 | 0.851695 | 34 | 236 | 5.558824 | 0.705882 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 236 | 5 | 91 | 47.2 | 0.891509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
64020b4bfa2cce6cea0b7b429c38432043eb9e81 | 115 | py | Python | npypacke/regression/tests/__init__.py | phetdam/npy_openblas_demo | ff5f9932b19f82162bc0d9d46b341d42805f942b | [
"MIT"
] | 1 | 2021-10-16T00:59:11.000Z | 2021-10-16T00:59:11.000Z | npypacke/regression/tests/__init__.py | phetdam/numpy-lapacke-demo | ff5f9932b19f82162bc0d9d46b341d42805f942b | [
"MIT"
] | null | null | null | npypacke/regression/tests/__init__.py | phetdam/numpy-lapacke-demo | ff5f9932b19f82162bc0d9d46b341d42805f942b | [
"MIT"
] | null | null | null | """Unit test subpackage for numpy-lapacke-demo.regression.
.. codeauthor:: Derek Huang <djh458@stern.nyu.edu>
""" | 28.75 | 59 | 0.730435 | 15 | 115 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.104348 | 115 | 4 | 60 | 28.75 | 0.786408 | 0.93913 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
640609535538c486602ef8f06a0b9836a7e3f787 | 40 | py | Python | src/arcresthelper/_abstract/__init__.py | Bmcalpine/ArcREST | c437612abcaada2ef3d393a89009f8b65ea9732b | [
"Apache-2.0"
] | null | null | null | src/arcresthelper/_abstract/__init__.py | Bmcalpine/ArcREST | c437612abcaada2ef3d393a89009f8b65ea9732b | [
"Apache-2.0"
] | null | null | null | src/arcresthelper/_abstract/__init__.py | Bmcalpine/ArcREST | c437612abcaada2ef3d393a89009f8b65ea9732b | [
"Apache-2.0"
] | null | null | null | import abstract
__version__ = "2.1.100" | 13.333333 | 23 | 0.75 | 6 | 40 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 40 | 3 | 23 | 13.333333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6412681b7d33190c888fe2ca81f843fbabb8f1f4 | 79 | py | Python | app/me/apps.py | GiorgosXonikis/Social_Media-RestAPI | 4d54c18b296ebf52773093a5bedcfabec9404438 | [
"MIT"
] | null | null | null | app/me/apps.py | GiorgosXonikis/Social_Media-RestAPI | 4d54c18b296ebf52773093a5bedcfabec9404438 | [
"MIT"
] | null | null | null | app/me/apps.py | GiorgosXonikis/Social_Media-RestAPI | 4d54c18b296ebf52773093a5bedcfabec9404438 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MeConfig(AppConfig):
name = 'me'
| 13.166667 | 33 | 0.721519 | 10 | 79 | 5.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 79 | 5 | 34 | 15.8 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
641f10073e3e2ac1d958d64840101d11760b2f66 | 236 | py | Python | spopt/__init__.py | fiendskrah/spopt | b0f4b682f9246670241c415c4023fcb3e596c372 | [
"BSD-3-Clause"
] | null | null | null | spopt/__init__.py | fiendskrah/spopt | b0f4b682f9246670241c415c4023fcb3e596c372 | [
"BSD-3-Clause"
] | null | null | null | spopt/__init__.py | fiendskrah/spopt | b0f4b682f9246670241c415c4023fcb3e596c372 | [
"BSD-3-Clause"
] | null | null | null | __version__ = "0.1.0"
from .region import MaxPHeuristic
from .region import RegionKMeansHeuristic
from .region import Skater
from .region import WardSpatial
from .region import Spenc
from .region import w_to_g
from .region import AZP
| 21.454545 | 41 | 0.809322 | 34 | 236 | 5.441176 | 0.441176 | 0.378378 | 0.605405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014778 | 0.139831 | 236 | 10 | 42 | 23.6 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.021186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ff369ffed01924e0fc727c1c01ee736be4c7d1a9 | 83 | py | Python | backend/api/hash/apps.py | BeelGroup/EB-1920--Mass-Email-Detection-Team-3- | 5960b2265f7214d95ac134c81ffb072fc45250e0 | [
"MIT"
] | null | null | null | backend/api/hash/apps.py | BeelGroup/EB-1920--Mass-Email-Detection-Team-3- | 5960b2265f7214d95ac134c81ffb072fc45250e0 | [
"MIT"
] | 8 | 2019-11-19T13:02:58.000Z | 2022-02-10T11:53:09.000Z | backend/api/hash/apps.py | BeelGroup/EB-1920--Mass-Email-Detection-Team-3- | 5960b2265f7214d95ac134c81ffb072fc45250e0 | [
"MIT"
] | 1 | 2019-11-21T14:29:32.000Z | 2019-11-21T14:29:32.000Z | from django.apps import AppConfig
class HashConfig(AppConfig):
name = 'hash'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ff59e51b4fa55a54d473c146ad037ee2a323a7c7 | 33 | py | Python | tests/unit/transformers/addons/__init__.py | sdv-dev/RDT | dbc550fc5e6cd62a032ab412aa8e2687bac82647 | [
"MIT"
] | 49 | 2020-05-02T23:36:48.000Z | 2022-03-30T17:37:29.000Z | tests/unit/transformers/addons/__init__.py | sdv-dev/RDT | dbc550fc5e6cd62a032ab412aa8e2687bac82647 | [
"MIT"
] | 250 | 2020-01-09T16:22:51.000Z | 2022-03-31T22:46:48.000Z | tests/unit/transformers/addons/__init__.py | sdv-dev/RDT | dbc550fc5e6cd62a032ab412aa8e2687bac82647 | [
"MIT"
] | 12 | 2020-02-22T21:18:20.000Z | 2021-11-15T15:03:58.000Z | """RDT addons testing module."""
| 16.5 | 32 | 0.666667 | 4 | 33 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.758621 | 0.787879 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff70584e9af663a354a11925e5dbf5f1175dd544 | 673 | py | Python | mgt/datamanagers/data_manager.py | wingedsheep/music-generation-tools | 02656eb75781925451f51d4ead7d8b6003bdeb29 | [
"MIT"
] | 12 | 2021-07-22T12:13:27.000Z | 2022-02-13T09:09:08.000Z | mgt/datamanagers/data_manager.py | wingedsheep/music-generation-tools | 02656eb75781925451f51d4ead7d8b6003bdeb29 | [
"MIT"
] | 9 | 2021-06-26T10:43:16.000Z | 2021-12-03T17:25:10.000Z | mgt/datamanagers/data_manager.py | wingedsheep/music-generation-tools | 02656eb75781925451f51d4ead7d8b6003bdeb29 | [
"MIT"
] | null | null | null | from mgt.datamanagers.midi_wrapper import MidiWrapper
class Dictionary(object):
def __init__(self, word_to_data, data_to_word):
self.wtd = word_to_data
self.dtw = data_to_word
def word_to_data(self, word):
return self.wtd[word]
def data_to_word(self, data):
return self.d... | 19.794118 | 53 | 0.655275 | 89 | 673 | 4.685393 | 0.292135 | 0.076739 | 0.071942 | 0.081535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2526 | 673 | 33 | 54 | 20.393939 | 0.829026 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0.1 | 0.05 | 0.15 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
ff7cee0bbdeb25c035125e937f02eb3a317f2f50 | 233 | py | Python | podcast/admin.py | Msyoka/2cents | 8a0f0ddef743b27c715d46ee790eca6f48e8d163 | [
"MIT"
] | null | null | null | podcast/admin.py | Msyoka/2cents | 8a0f0ddef743b27c715d46ee790eca6f48e8d163 | [
"MIT"
] | null | null | null | podcast/admin.py | Msyoka/2cents | 8a0f0ddef743b27c715d46ee790eca6f48e8d163 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Profile, Comments, Votes, Podcasts
# Register your models here.
admin.site.register(Podcasts)
admin.site.register(Profile)
admin.site.register(Comments)
admin.site.register(Votes) | 29.125 | 54 | 0.815451 | 32 | 233 | 5.9375 | 0.4375 | 0.189474 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085837 | 233 | 8 | 55 | 29.125 | 0.892019 | 0.111588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff8706b5a00742ca3207eda1bc2ad47956aa1b90 | 40 | py | Python | tributary/lazy/calculations/utils.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 357 | 2018-09-13T19:58:46.000Z | 2022-03-31T17:22:20.000Z | tributary/lazy/calculations/utils.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 109 | 2018-09-13T18:37:00.000Z | 2022-03-27T00:59:49.000Z | tributary/lazy/calculations/utils.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 36 | 2018-09-17T21:01:05.000Z | 2022-03-26T02:41:37.000Z | _CALCULATIONS_GRAPHVIZSHAPE = "ellipse"
| 20 | 39 | 0.85 | 3 | 40 | 10.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
ff89e4fe7cb73dbb2c2951c31c1b4e05b345c9ee | 521 | py | Python | sqlstrainer/__init__.py | MoebiusSolutions/sqlstrainer | 1be8442deb00971bea17cc676fdfe270552966cf | [
"MIT"
] | null | null | null | sqlstrainer/__init__.py | MoebiusSolutions/sqlstrainer | 1be8442deb00971bea17cc676fdfe270552966cf | [
"MIT"
] | null | null | null | sqlstrainer/__init__.py | MoebiusSolutions/sqlstrainer | 1be8442deb00971bea17cc676fdfe270552966cf | [
"MIT"
] | null | null | null | """SQLStrainer filters SQLAlchemy Query objects based any column or hybrid property of a related model.
.. code::
from sqlstrainer import strainer
strainer = sqlstrainer(mydb)
query.filter(strainer.strain(request.args))
mapper
------
.. automodule:: sqlstrainer.mapper
strainer
--------
.. automodule... | 15.323529 | 103 | 0.702495 | 52 | 521 | 6.961538 | 0.634615 | 0.232044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149712 | 521 | 33 | 104 | 15.787879 | 0.817156 | 0.852207 | 0 | 0 | 0 | 0 | 0.735294 | 0.455882 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
44055cc8dd4a7b7cba19e2a5900454c473e4c188 | 52 | py | Python | goodok_mlu/trackers/visualize/__init__.py | roma-goodok/ml_utils | c1d6630021a519102b5c4e029cecccdd8a0da946 | [
"MIT"
] | null | null | null | goodok_mlu/trackers/visualize/__init__.py | roma-goodok/ml_utils | c1d6630021a519102b5c4e029cecccdd8a0da946 | [
"MIT"
] | null | null | null | goodok_mlu/trackers/visualize/__init__.py | roma-goodok/ml_utils | c1d6630021a519102b5c4e029cecccdd8a0da946 | [
"MIT"
] | 1 | 2021-03-29T13:15:02.000Z | 2021-03-29T13:15:02.000Z | ""
from .utils import (plot_lr_loss, plot_metrics)
| 13 | 47 | 0.75 | 8 | 52 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 3 | 48 | 17.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 4 |
4415e071d9ad66aaae324d50f83edc703e23afa3 | 95,661 | py | Python | Widget_Resources_rc.py | Prx001/Qt-Login-UI | e895c8714cfdde37d2ec3e56df9f0e7da121199a | [
"MIT"
] | 2 | 2021-09-25T18:53:31.000Z | 2021-09-26T00:37:09.000Z | Widget_Resources_rc.py | Prx001/Qt-Login-UI | e895c8714cfdde37d2ec3e56df9f0e7da121199a | [
"MIT"
] | null | null | null | Widget_Resources_rc.py | Prx001/Qt-Login-UI | e895c8714cfdde37d2ec3e56df9f0e7da121199a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x11\xc6\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\xc0\x... | 63.901804 | 129 | 0.727067 | 23,101 | 95,661 | 3.009134 | 0.013289 | 0.024168 | 0.018903 | 0.010876 | 0.321216 | 0.238398 | 0.189789 | 0.182409 | 0.179647 | 0.177274 | 0 | 0.340785 | 0.016558 | 95,661 | 1,496 | 130 | 63.944519 | 0.398121 | 0.001589 | 0 | 0.160135 | 0 | 0.963514 | 0.00001 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001351 | false | 0 | 0.000676 | 0 | 0.002027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 4 |
44454b3951561028466a5296e4c73346be5078a6 | 313 | py | Python | jsonbender/__init__.py | csestelo/jsonbender | 008c570c6bfc217c8b6e488df803340b070f78e5 | [
"MIT"
] | null | null | null | jsonbender/__init__.py | csestelo/jsonbender | 008c570c6bfc217c8b6e488df803340b070f78e5 | [
"MIT"
] | null | null | null | jsonbender/__init__.py | csestelo/jsonbender | 008c570c6bfc217c8b6e488df803340b070f78e5 | [
"MIT"
] | null | null | null | from jsonbender.core import Bender, Context, bend, BendingException
from jsonbender.list_ops import FlatForall, Forall, Filter, Reduce
from jsonbender.string_ops import Format
from jsonbender.selectors import F, K, S, OptionalS
from jsonbender.control_flow import Alternation, If, Switch
__version__ = '0.9.2'
| 31.3 | 67 | 0.814696 | 43 | 313 | 5.767442 | 0.697674 | 0.282258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.118211 | 313 | 9 | 68 | 34.777778 | 0.887681 | 0 | 0 | 0 | 0 | 0 | 0.016026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4496bc453a600d2cdbfc10306dcde26b6af41bee | 41 | py | Python | test_server/src/controllers/__init__.py | s-nao/gatling-practice | 5d4e6abfbed34a4e356a7ef770393e57411de80c | [
"Apache-2.0"
] | null | null | null | test_server/src/controllers/__init__.py | s-nao/gatling-practice | 5d4e6abfbed34a4e356a7ef770393e57411de80c | [
"Apache-2.0"
] | null | null | null | test_server/src/controllers/__init__.py | s-nao/gatling-practice | 5d4e6abfbed34a4e356a7ef770393e57411de80c | [
"Apache-2.0"
] | null | null | null | from . import (
users,
search,
)
| 8.2 | 15 | 0.512195 | 4 | 41 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365854 | 41 | 4 | 16 | 10.25 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
9221f8b3cd619ef0a25608b276b0b53b07e7b0d4 | 83 | py | Python | cfgr/__init__.py | markkorput/pycfgr | 594fc8d1c36e59e4fcf3e1d0bb5a5db8edf426c5 | [
"MIT"
] | 1 | 2021-09-15T08:40:10.000Z | 2021-09-15T08:40:10.000Z | cfgr/__init__.py | markkorput/pycfgr | 594fc8d1c36e59e4fcf3e1d0bb5a5db8edf426c5 | [
"MIT"
] | 6 | 2019-09-25T08:09:00.000Z | 2019-09-27T12:26:09.000Z | cfgr/__init__.py | markkorput/pycfgr | 594fc8d1c36e59e4fcf3e1d0bb5a5db8edf426c5 | [
"MIT"
] | 1 | 2021-09-15T08:40:14.000Z | 2021-09-15T08:40:14.000Z | from .Runtime import Runtime
from .Type import Type
from .Instance import Instance
| 20.75 | 30 | 0.819277 | 12 | 83 | 5.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 31 | 27.666667 | 0.957746 | 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 | 0 | 0 | 0 | 4 |
92231061990614a2931123b7d435d718a7b2ef2d | 62 | py | Python | run.py | rblack42/flask-inventory | 48c0cfaf1ab10d0891c5af9d2b609e2b9e44ed74 | [
"BSD-3-Clause"
] | null | null | null | run.py | rblack42/flask-inventory | 48c0cfaf1ab10d0891c5af9d2b609e2b9e44ed74 | [
"BSD-3-Clause"
] | null | null | null | run.py | rblack42/flask-inventory | 48c0cfaf1ab10d0891c5af9d2b609e2b9e44ed74 | [
"BSD-3-Clause"
] | null | null | null | from app.core import create_app
app = create_app('flask.cfg')
| 20.666667 | 31 | 0.774194 | 11 | 62 | 4.181818 | 0.636364 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 32 | 31 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
922663d4e78a63fff7f9bf0e66748de595d3c9af | 161 | py | Python | pymath/map_squares/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 3 | 2017-05-02T10:28:13.000Z | 2019-02-06T09:10:11.000Z | pymath/map_squares/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2017-06-21T20:39:14.000Z | 2020-02-25T10:28:57.000Z | pymath/map_squares/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2016-07-29T04:35:22.000Z | 2017-01-18T17:05:36.000Z | def map_squares(numbers):
"""
:param numbers: list of numbers
:return: square of the numbers
"""
return list(map(lambda x: x ** 2, numbers))
| 23 | 47 | 0.614907 | 22 | 161 | 4.454545 | 0.590909 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.254658 | 161 | 6 | 48 | 26.833333 | 0.808333 | 0.385093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
924648ee2a9039a086b544cb62c526565fc25489 | 724 | py | Python | amshared/stage/__init__.py | avidclam/amshared | fc605639409f3ea2b0efb2c0b45ad03969115bb6 | [
"MIT"
] | null | null | null | amshared/stage/__init__.py | avidclam/amshared | fc605639409f3ea2b0efb2c0b45ad03969115bb6 | [
"MIT"
] | null | null | null | amshared/stage/__init__.py | avidclam/amshared | fc605639409f3ea2b0efb2c0b45ad03969115bb6 | [
"MIT"
] | null | null | null | """
Stage is a way to serialize data flows.
Data Flow is a sequence (list, generator) of (metadata, content) tuples.
Metadata is a key-value dictionary with several key names reserved:
``rubric``, ``name``, ``part``, `format``, and ``payload``.
Content is useful application data (payload) or miscellaneous informatio... | 32.909091 | 80 | 0.75 | 106 | 724 | 5.113208 | 0.669811 | 0.016605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161602 | 724 | 21 | 81 | 34.47619 | 0.892916 | 0.914365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
92649a378fb9f445f1cb4f5a9e530473e26b4104 | 260 | py | Python | verify/admin.py | openstax/verification | ad6d7b7d66bcd222f7848c49c0bc1ac08c437a45 | [
"MIT"
] | null | null | null | verify/admin.py | openstax/verification | ad6d7b7d66bcd222f7848c49c0bc1ac08c437a45 | [
"MIT"
] | 15 | 2019-06-17T15:49:41.000Z | 2022-03-11T23:48:24.000Z | verify/admin.py | openstax/verification | ad6d7b7d66bcd222f7848c49c0bc1ac08c437a45 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Verification
class VerificationAdmin(admin.ModelAdmin):
list_display = ('ox_accounts_id', 'salesforce_id', 'status')
list_filter = ('status', )
admin.site.register(Verification, VerificationAdmin)
| 28.888889 | 64 | 0.773077 | 29 | 260 | 6.758621 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119231 | 260 | 8 | 65 | 32.5 | 0.855895 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9266bbe11d1b61ca34c8e1102cddeae6080d6514 | 260 | py | Python | libs/__init__.py | s-kostyuk/ahaf_activation_1 | 1ec1515d8b0228c83f45b9b09a747f2f6dd3b767 | [
"MIT"
] | null | null | null | libs/__init__.py | s-kostyuk/ahaf_activation_1 | 1ec1515d8b0228c83f45b9b09a747f2f6dd3b767 | [
"MIT"
] | null | null | null | libs/__init__.py | s-kostyuk/ahaf_activation_1 | 1ec1515d8b0228c83f45b9b09a747f2f6dd3b767 | [
"MIT"
] | null | null | null | from .act_name_to_f import activation_name_to_function
from .multiopt_proxy import MultiOptProxy
from .running_stat import RunningStat
from .save_load_net import save_network, load_network, save_optimizer, load_optimizer
from .create_net import create_network
| 43.333333 | 85 | 0.880769 | 39 | 260 | 5.461538 | 0.512821 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088462 | 260 | 5 | 86 | 52 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
92717f71e70e1d088e212b1ad5b9f5e93d1233a2 | 23 | py | Python | app/__init__.py | dixonwhitmire/fastapi-template | eb67b80420c9fe6265190ca1003f18859709fe58 | [
"Apache-2.0"
] | 520 | 2015-03-17T23:04:53.000Z | 2022-03-27T22:10:59.000Z | app/__init__.py | dixonwhitmire/fastapi-template | eb67b80420c9fe6265190ca1003f18859709fe58 | [
"Apache-2.0"
] | 544 | 2015-02-19T16:56:58.000Z | 2022-03-28T18:23:38.000Z | app/__init__.py | dixonwhitmire/fastapi-template | eb67b80420c9fe6265190ca1003f18859709fe58 | [
"Apache-2.0"
] | 306 | 2015-03-23T19:42:15.000Z | 2022-03-18T22:22:11.000Z | __version__ = "0.42.0"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 | 0 | 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 | 4 |
9285021996e531713e496d0c51fcc3ab2e94ce3e | 32 | py | Python | build/lib/maguro/version.py | rmaniego/karton | 68e66599159a2cca316965a6fa24c1bf4a65e53a | [
"MIT"
] | 1 | 2021-06-28T21:31:43.000Z | 2021-06-28T21:31:43.000Z | build/lib/maguro/version.py | rmaniego/maguro | 68e66599159a2cca316965a6fa24c1bf4a65e53a | [
"MIT"
] | null | null | null | build/lib/maguro/version.py | rmaniego/maguro | 68e66599159a2cca316965a6fa24c1bf4a65e53a | [
"MIT"
] | null | null | null | """ maguro """
version = "0.0.9" | 16 | 17 | 0.5 | 5 | 32 | 3.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.15625 | 32 | 2 | 17 | 16 | 0.481481 | 0.1875 | 0 | 0 | 0 | 0 | 0.263158 | 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 | 0 | 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 | 4 |
92893bf164929c8a7d2d8a430070228cde40df01 | 256 | py | Python | django/chat/views.py | AngelOnFira/django-quasar-template | f1f33a05bd78285d1dddd7480f1279f769576700 | [
"MIT"
] | null | null | null | django/chat/views.py | AngelOnFira/django-quasar-template | f1f33a05bd78285d1dddd7480f1279f769576700 | [
"MIT"
] | 1 | 2022-02-14T11:05:12.000Z | 2022-02-14T11:05:12.000Z | django/chat/views.py | AngelOnFira/django-quasar-template | f1f33a05bd78285d1dddd7480f1279f769576700 | [
"MIT"
] | null | null | null | from .models import Message
from .serializers import MessageSerializer
from rest_framework import viewsets
class MessageViewSet(viewsets.ModelViewSet):
queryset = Message.objects.all().order_by("created_at")
serializer_class = MessageSerializer
| 25.6 | 59 | 0.8125 | 28 | 256 | 7.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121094 | 256 | 9 | 60 | 28.444444 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
928957e67f711c82d8b751175b522466746c5306 | 157 | py | Python | src/data_loader/__init__.py | YCaptain/MapWorld-pred | 12f35cd0744cabe1303321e0256b17967fe43da9 | [
"MIT"
] | null | null | null | src/data_loader/__init__.py | YCaptain/MapWorld-pred | 12f35cd0744cabe1303321e0256b17967fe43da9 | [
"MIT"
] | null | null | null | src/data_loader/__init__.py | YCaptain/MapWorld-pred | 12f35cd0744cabe1303321e0256b17967fe43da9 | [
"MIT"
] | null | null | null | from .spacenet_loader import SpaceNetDataLoader
from .spacenet_road_loader import SpaceNetRoadDataLoader
from .cyclegan_data import CustomDatasetDataLoader
| 31.4 | 56 | 0.898089 | 16 | 157 | 8.5625 | 0.625 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 157 | 4 | 57 | 39.25 | 0.951389 | 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 | 0 | 0 | 0 | 4 |
92a80e67902b327f49022344c6449b52dc564296 | 199 | py | Python | CircuitPython_Made_Easy_On_CPX/cpx_play_tone/code.py | albinger/Adafruit_Learning_System_Guides | 4fe2da261fe5d1ca282b86bd3b93ee1466346fa7 | [
"MIT"
] | null | null | null | CircuitPython_Made_Easy_On_CPX/cpx_play_tone/code.py | albinger/Adafruit_Learning_System_Guides | 4fe2da261fe5d1ca282b86bd3b93ee1466346fa7 | [
"MIT"
] | null | null | null | CircuitPython_Made_Easy_On_CPX/cpx_play_tone/code.py | albinger/Adafruit_Learning_System_Guides | 4fe2da261fe5d1ca282b86bd3b93ee1466346fa7 | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2017 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: MIT
from adafruit_circuitplayground.express import cpx
cpx.play_tone(262, 1)
cpx.play_tone(294, 1)
| 22.111111 | 68 | 0.80402 | 28 | 199 | 5.607143 | 0.75 | 0.089172 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.110553 | 199 | 8 | 69 | 24.875 | 0.819209 | 0.477387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 | 4 |
92a90c376bb34719218ade2a529d194a53bd4e68 | 4,375 | py | Python | modules/all_class.py | shequ123/Tron_monitor | ac071481f04395c54da12aebd13096bb76337a10 | [
"MIT"
] | 2 | 2018-11-26T09:08:00.000Z | 2018-12-05T04:16:49.000Z | modules/all_class.py | shequ123/Tron_monitor | ac071481f04395c54da12aebd13096bb76337a10 | [
"MIT"
] | null | null | null | modules/all_class.py | shequ123/Tron_monitor | ac071481f04395c54da12aebd13096bb76337a10 | [
"MIT"
] | null | null | null | # 这个文件包含3个类
# Transaction
# Top
# Block
# 用来实例化后实行解析操作
class Transaction:
txID = ''
ret = []
signature = []
raw_data = {}
txdata = {}
type = ''
def __init__(self, tx):
self.txID = tx['txID']
self.ret = tx['ret']
self.signature = tx['signature']
self.raw_dat... | 24.857955 | 100 | 0.630629 | 546 | 4,375 | 4.820513 | 0.122711 | 0.079787 | 0.180851 | 0.068389 | 0.300912 | 0.18883 | 0.135258 | 0.06231 | 0.032675 | 0 | 0 | 0.007116 | 0.261257 | 4,375 | 175 | 101 | 25 | 0.80724 | 0.036571 | 0 | 0.055046 | 0 | 0 | 0.099163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.311927 | false | 0 | 0 | 0.275229 | 0.779817 | 0 | 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 | 0 | 0 | 4 |
2ba9a68c0d2e685fc62f09c1f4d6c194b81d0b3e | 173 | py | Python | inversefed/nn/__init__.py | MelonDLI/ATSPrivacy | 2cf4bd67c9c0c69092b63dcdc3d06b33acf32812 | [
"MIT"
] | 119 | 2020-04-01T02:56:03.000Z | 2022-03-30T13:01:49.000Z | inversefed/nn/__init__.py | MelonDLI/ATSPrivacy | 2cf4bd67c9c0c69092b63dcdc3d06b33acf32812 | [
"MIT"
] | 8 | 2020-04-08T08:52:19.000Z | 2021-12-08T04:22:37.000Z | inversefed/nn/__init__.py | MelonDLI/ATSPrivacy | 2cf4bd67c9c0c69092b63dcdc3d06b33acf32812 | [
"MIT"
] | 47 | 2020-04-06T07:14:59.000Z | 2022-03-21T15:57:53.000Z | """Experimental modules and unexperimental model hooks."""
from .models import construct_model
from .modules import MetaMonkey
__all__ = ['construct_model', 'MetaMonkey']
| 24.714286 | 58 | 0.786127 | 19 | 173 | 6.842105 | 0.631579 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 173 | 6 | 59 | 28.833333 | 0.849673 | 0.300578 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2be0ca04e974edf9be7a5a0fcaafe17dd5800ba0 | 132 | py | Python | langbook/chapter05/test.py | zhao-embassy/learn_language | 2719f27dea1877ba1da32f1c1d53ebedd5a81fdf | [
"FSFAP"
] | 48 | 2015-02-05T15:25:47.000Z | 2022-01-07T05:52:03.000Z | langbook/chapter05/test.py | zhao-embassy/learn_language | 2719f27dea1877ba1da32f1c1d53ebedd5a81fdf | [
"FSFAP"
] | null | null | null | langbook/chapter05/test.py | zhao-embassy/learn_language | 2719f27dea1877ba1da32f1c1d53ebedd5a81fdf | [
"FSFAP"
] | 21 | 2015-02-12T23:50:10.000Z | 2019-12-12T08:25:35.000Z | # -*- encoding: utf-8 -*-
from coderunner import test, Python, main
test(Python, "recursive.py", """
15
""", is_file=True)
main()
| 14.666667 | 41 | 0.636364 | 18 | 132 | 4.611111 | 0.833333 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.151515 | 132 | 8 | 42 | 16.5 | 0.714286 | 0.174242 | 0 | 0 | 0 | 0 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
2be6278c41064f7dddfcf63804ac3110527470ea | 161 | py | Python | snowBuilder/scripts/__init__.py | Sudarshanhavale/solo_packages | d68247f6f7d8b584ed65f6c73664e93864ff51bf | [
"Apache-2.0"
] | 1 | 2020-04-17T17:01:01.000Z | 2020-04-17T17:01:01.000Z | snowBuilder/scripts/__init__.py | Sudarshanhavale/solo_packages | d68247f6f7d8b584ed65f6c73664e93864ff51bf | [
"Apache-2.0"
] | null | null | null | snowBuilder/scripts/__init__.py | Sudarshanhavale/solo_packages | d68247f6f7d8b584ed65f6c73664e93864ff51bf | [
"Apache-2.0"
] | null | null | null | # Created by SNEHAL at 21-04-2020
Feature: #Enter feature name here
# Enter feature description here
Scenario: # Enter scenario name here
# Enter steps here
| 20.125 | 37 | 0.757764 | 24 | 161 | 5.083333 | 0.583333 | 0.196721 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061069 | 0.186335 | 161 | 7 | 38 | 23 | 0.870229 | 0.78882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9217f064843ea0309f5a6b856cd5967dad7c5477 | 47 | py | Python | tensorkit/backend/pytorch_/__init__.py | lizeyan/tensorkit | 2997a5914ec3c3ec72f91eb5906b5ee878fdc020 | [
"MIT"
] | null | null | null | tensorkit/backend/pytorch_/__init__.py | lizeyan/tensorkit | 2997a5914ec3c3ec72f91eb5906b5ee878fdc020 | [
"MIT"
] | null | null | null | tensorkit/backend/pytorch_/__init__.py | lizeyan/tensorkit | 2997a5914ec3c3ec72f91eb5906b5ee878fdc020 | [
"MIT"
] | 2 | 2020-10-15T06:41:32.000Z | 2021-01-27T12:55:11.000Z | from . import _version_check
name = 'PyTorch'
| 11.75 | 28 | 0.744681 | 6 | 47 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 29 | 15.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ecf5d119b411d7111d5a7caa7e25f9e59783661e | 284 | py | Python | pymagicc/errors.py | gabriel-abrahao/pymagicc | c9bdd610f97aa832dd879796aa6b9bfe11fa0f07 | [
"BSD-3-Clause"
] | 25 | 2017-02-03T10:47:13.000Z | 2020-01-21T21:58:22.000Z | pymagicc/errors.py | gabriel-abrahao/pymagicc | c9bdd610f97aa832dd879796aa6b9bfe11fa0f07 | [
"BSD-3-Clause"
] | 248 | 2017-02-15T19:47:31.000Z | 2020-03-05T04:15:05.000Z | pymagicc/errors.py | gabriel-abrahao/pymagicc | c9bdd610f97aa832dd879796aa6b9bfe11fa0f07 | [
"BSD-3-Clause"
] | 8 | 2020-05-08T04:02:04.000Z | 2021-12-06T16:10:51.000Z | class NoReaderWriterError(ValueError):
"""Exception raised when a valid Reader or Writer could not be found for the file"""
pass
class InvalidTemporalResError(ValueError):
"""Exception raised when a file has a temporal resolution which cannot be processed"""
pass
| 25.818182 | 90 | 0.746479 | 36 | 284 | 5.888889 | 0.722222 | 0.179245 | 0.235849 | 0.273585 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190141 | 284 | 10 | 91 | 28.4 | 0.921739 | 0.559859 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a6027a3ebc5d97cf960018115a8dd70040b07344 | 121 | py | Python | virtual/lib/python3.6/site-packages/url_or_relative_url_field/apps.py | sharonmaswai/awards | 9556d6c559fdd12a860b6e3509b2482b260a63c0 | [
"Unlicense"
] | 6 | 2018-03-14T16:01:56.000Z | 2021-12-05T06:11:07.000Z | virtual/lib/python3.6/site-packages/url_or_relative_url_field/apps.py | sharonmaswai/awards | 9556d6c559fdd12a860b6e3509b2482b260a63c0 | [
"Unlicense"
] | 7 | 2020-02-12T03:20:53.000Z | 2022-03-12T00:06:11.000Z | virtual/lib/python3.6/site-packages/url_or_relative_url_field/apps.py | sharonmaswai/awards | 9556d6c559fdd12a860b6e3509b2482b260a63c0 | [
"Unlicense"
] | 4 | 2018-03-23T12:08:40.000Z | 2021-12-13T00:58:08.000Z | from django.apps import AppConfig
class UrlOrRelativeUrlFieldConfig(AppConfig):
name = 'url_or_relative_url_field'
| 20.166667 | 45 | 0.818182 | 14 | 121 | 6.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 5 | 46 | 24.2 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 0.206612 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a6027e7c6c9accbef3a1e0fb42f95f71fdcfc5a3 | 4,877 | py | Python | tests/test_graph_iden.py | Erotemic/graphid | 5d04c2eec609f135464a921ba03d9578fa6e22fd | [
"Apache-2.0"
] | 4 | 2019-03-04T02:49:26.000Z | 2021-10-06T00:51:13.000Z | tests/test_graph_iden.py | Erotemic/graphid | 5d04c2eec609f135464a921ba03d9578fa6e22fd | [
"Apache-2.0"
] | 1 | 2019-02-15T23:42:26.000Z | 2019-02-15T23:42:26.000Z | tests/test_graph_iden.py | Erotemic/graphid | 5d04c2eec609f135464a921ba03d9578fa6e22fd | [
"Apache-2.0"
] | null | null | null | import ubelt as ub
from graphid import demo
from graphid.core.state import (POSTV, NEGTV, INCMP, UNREV)
def test_incomp_inference():
infr = demo.demodata_infr(num_pccs=0)
# Make 2 consistent and 2 inconsistent CCs
infr.add_feedback(( 1, 2), POSTV)
infr.add_feedback(( 2, 3), POSTV)
infr... | 34.104895 | 64 | 0.599754 | 674 | 4,877 | 4.158754 | 0.118694 | 0.212273 | 0.45487 | 0.299679 | 0.881912 | 0.67178 | 0.607207 | 0.566536 | 0.55512 | 0.541206 | 0 | 0.078899 | 0.225548 | 4,877 | 142 | 65 | 34.34507 | 0.663225 | 0.09432 | 0 | 0.571429 | 0 | 0 | 0.028743 | 0.012455 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.038095 | 0 | 0.066667 | 0.07619 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a60fb9d495770e6c4eafb910265165abbcd032b4 | 272 | py | Python | AutotestWebD/apps/config/views/service.py | yangjourney/sosotest | 2e88099a829749910ca325253c9b1a2e368d21a0 | [
"MIT"
] | 422 | 2019-08-18T05:04:20.000Z | 2022-03-31T06:49:19.000Z | AutotestWebD/apps/config/views/service.py | LinSongJian1985/sosotest | 091863dee531b5726650bb63efd6f169267cbeb4 | [
"MIT"
] | 10 | 2019-10-24T09:55:38.000Z | 2021-09-29T17:28:43.000Z | AutotestWebD/apps/config/views/service.py | LinSongJian1985/sosotest | 091863dee531b5726650bb63efd6f169267cbeb4 | [
"MIT"
] | 202 | 2019-08-18T05:04:27.000Z | 2022-03-30T05:57:18.000Z | from apps.config.services.serviceConfService import ServiceConfService
from django.shortcuts import HttpResponse
import json
def getServiceConf(request):
serviceConf = ServiceConfService.queryServiceConfSort(request)
return HttpResponse(json.dumps(serviceConf))
| 30.222222 | 70 | 0.841912 | 26 | 272 | 8.807692 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099265 | 272 | 8 | 71 | 34 | 0.934694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a63954e3462fad8db808fe79ee0028680cc60ef9 | 12,864 | py | Python | alphacsc/tests/test_d_solver.py | dinalzein/alphacsc | dab672c4da54ed1b89f2364f552cf9b0707fcaeb | [
"BSD-3-Clause"
] | null | null | null | alphacsc/tests/test_d_solver.py | dinalzein/alphacsc | dab672c4da54ed1b89f2364f552cf9b0707fcaeb | [
"BSD-3-Clause"
] | null | null | null | alphacsc/tests/test_d_solver.py | dinalzein/alphacsc | dab672c4da54ed1b89f2364f552cf9b0707fcaeb | [
"BSD-3-Clause"
] | null | null | null | import pytest
from numpy.testing import assert_allclose
import numpy as np
from alphacsc.tests.conftest import N_CHANNELS, N_TIMES_ATOM, N_ATOMS
from alphacsc.update_d_multi import prox_d, prox_uv
from alphacsc._d_solver import get_solver_d, check_solver_and_constraints
from alphacsc._z_encoder import get_z_encoder_... | 36.134831 | 89 | 0.576803 | 1,526 | 12,864 | 4.529489 | 0.079948 | 0.087095 | 0.094184 | 0.082465 | 0.810619 | 0.783999 | 0.73669 | 0.705729 | 0.603733 | 0.499277 | 0 | 0.008201 | 0.317553 | 12,864 | 355 | 90 | 36.23662 | 0.779132 | 0.070973 | 0 | 0.625498 | 0 | 0 | 0.111017 | 0 | 0 | 0 | 0 | 0 | 0.131474 | 1 | 0.059761 | false | 0 | 0.027888 | 0.003984 | 0.091633 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a656d2bce16963a39c156a75a1c47bd702c5f92a | 965 | py | Python | monitor.py | TheRevanchist/rcnn_for_relab | c51dcb464f5485278cdecbe413b9e03819be0a12 | [
"MIT"
] | null | null | null | monitor.py | TheRevanchist/rcnn_for_relab | c51dcb464f5485278cdecbe413b9e03819be0a12 | [
"MIT"
] | null | null | null | monitor.py | TheRevanchist/rcnn_for_relab | c51dcb464f5485278cdecbe413b9e03819be0a12 | [
"MIT"
] | null | null | null | import numpy as np
class AccuracyChecker:
def __init__(self, n_labels):
self.confusion = np.zeros((n_labels, n_labels))
# batch_accuracies = np.zeros((n_batches, max_epoch))
def update(self, real, predicted):
if predicted.ndim == 2 and real.ndim == 2:
predicted = np.argmax... | 29.242424 | 69 | 0.619689 | 125 | 965 | 4.704 | 0.384 | 0.243197 | 0.071429 | 0.117347 | 0.258503 | 0.173469 | 0.173469 | 0.173469 | 0.173469 | 0 | 0 | 0.01122 | 0.26114 | 965 | 32 | 70 | 30.15625 | 0.813464 | 0.112953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0.15 | 0.55 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a66ffc143e72f7f83e2cb123a1a619264f32be49 | 295 | py | Python | datasets/mmdet_tusimple/mmdet/core/bbox/iou_calculators/__init__.py | Jinming-Su/SGNet | fcf35edaf332c1a4e2713acad5a0fc0e21509c3e | [
"MIT"
] | 13 | 2021-10-15T15:14:45.000Z | 2022-03-09T00:22:55.000Z | datasets/mmdet_tusimple/mmdet/core/bbox/iou_calculators/__init__.py | Jinming-Su/SGNet | fcf35edaf332c1a4e2713acad5a0fc0e21509c3e | [
"MIT"
] | 4 | 2021-10-17T09:04:20.000Z | 2022-03-25T06:43:00.000Z | datasets/mmdet_tusimple/mmdet/core/bbox/iou_calculators/__init__.py | Jinming-Su/SGNet | fcf35edaf332c1a4e2713acad5a0fc0e21509c3e | [
"MIT"
] | 2 | 2021-11-17T11:31:35.000Z | 2021-11-29T06:50:35.000Z | from .builder import build_iou_calculator
from .iou2d_calculator import BboxOverlaps2D, bbox_overlaps
from .dis_calculator import Dis, bbox_dis
from .riou_calculator import RboxOverlaps2D
__all__ = ['build_iou_calculator', 'BboxOverlaps2D', 'bbox_overlaps', 'Dis', 'bbox_dis', 'RboxOverlaps2D']
| 49.166667 | 106 | 0.823729 | 36 | 295 | 6.333333 | 0.388889 | 0.210526 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018587 | 0.088136 | 295 | 5 | 107 | 59 | 0.828996 | 0 | 0 | 0 | 0 | 0 | 0.244068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a6916c2562bc34fa77693f0eed4d20bec95c048f | 140 | py | Python | hook-ctypes.macholib.py | RayFV/yuntech_netflow_check | da30a336cac24e738d5ee5bc20401e198a3b2ce7 | [
"MIT"
] | null | null | null | hook-ctypes.macholib.py | RayFV/yuntech_netflow_check | da30a336cac24e738d5ee5bc20401e198a3b2ce7 | [
"MIT"
] | null | null | null | hook-ctypes.macholib.py | RayFV/yuntech_netflow_check | da30a336cac24e738d5ee5bc20401e198a3b2ce7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('apscheduler') | 23.333333 | 50 | 0.707143 | 18 | 140 | 5.388889 | 0.888889 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.142857 | 140 | 6 | 51 | 23.333333 | 0.791667 | 0.307143 | 0 | 0 | 0 | 0 | 0.120879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a6a7c29743e855724d1e7a6f8b0133acb961084a | 263 | py | Python | demo/service/test/hello_world_v2.py | RyouZhang/nori | 2e87f81582fe51590d115de84dfa25c5d0d52520 | [
"MIT"
] | 5 | 2017-03-14T23:36:54.000Z | 2021-08-20T09:37:30.000Z | demo/service/test/hello_world_v2.py | RyouZhang/nori | 2e87f81582fe51590d115de84dfa25c5d0d52520 | [
"MIT"
] | null | null | null | demo/service/test/hello_world_v2.py | RyouZhang/nori | 2e87f81582fe51590d115de84dfa25c5d0d52520 | [
"MIT"
] | 1 | 2017-08-24T10:01:11.000Z | 2017-08-24T10:01:11.000Z | import noir.router as router
import noir.rule as rule
class HelloWorldV2(router.ServiceHandler):
async def process(self, args, context):
return 'Hello world V2 from HelloWorldV2', None
router.register_service_handler('/api/hello/v2', HelloWorldV2()) | 29.222222 | 64 | 0.764259 | 35 | 263 | 5.685714 | 0.685714 | 0.100503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022124 | 0.140684 | 263 | 9 | 64 | 29.222222 | 0.858407 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 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 | 4 |
a6ca74bb3ea2418641e9550941a9244aad99e30a | 1,982 | py | Python | test.py | Nekobitlz/case_converter | cfb9c05207b52201e11f262bbe30692a1b3dcd31 | [
"MIT"
] | null | null | null | test.py | Nekobitlz/case_converter | cfb9c05207b52201e11f262bbe30692a1b3dcd31 | [
"MIT"
] | 8 | 2021-11-29T00:34:48.000Z | 2021-11-29T02:40:55.000Z | test.py | Nekobitlz/new_case_converter | cfb9c05207b52201e11f262bbe30692a1b3dcd31 | [
"MIT"
] | null | null | null | import main
def test_convert_case_error():
assert main.convert("error case", "error case") == main.validation_error
def test_convert_camel_case():
assert main.convert("camelCase", "my own camel case") == "myOwnCamelCase"
assert main.convert("camelCase", "camel") == "camel"
assert main.convert("camel... | 41.291667 | 90 | 0.694753 | 251 | 1,982 | 5.278884 | 0.087649 | 0.188679 | 0.320755 | 0.253585 | 0.743396 | 0.575094 | 0.386415 | 0.126792 | 0 | 0 | 0 | 0 | 0.137235 | 1,982 | 47 | 91 | 42.170213 | 0.774854 | 0 | 0 | 0 | 0 | 0 | 0.400605 | 0 | 0 | 0 | 0 | 0 | 0.78125 | 1 | 0.1875 | true | 0 | 0.03125 | 0 | 0.21875 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
a6d246359b3c588c6b5be1e5ecf927811dc7f619 | 121 | py | Python | TWITOFF/__init__.py | mvkumar14/twitoff | 449d512b117e1ba2c3fc6209c489bb295cbfa75e | [
"MIT"
] | null | null | null | TWITOFF/__init__.py | mvkumar14/twitoff | 449d512b117e1ba2c3fc6209c489bb295cbfa75e | [
"MIT"
] | 4 | 2021-06-02T01:03:41.000Z | 2022-01-13T02:03:12.000Z | TWITOFF/__init__.py | mvkumar14/twitoff | 449d512b117e1ba2c3fc6209c489bb295cbfa75e | [
"MIT"
] | null | null | null | """Entry point for our twitoff flask app"""
from .app import create_app
# This is a global variable
APP = create_app()
| 17.285714 | 43 | 0.727273 | 20 | 121 | 4.3 | 0.75 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 121 | 6 | 44 | 20.166667 | 0.868687 | 0.528926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 4 |
a6d38ff49f410af36c11e6d1b389bea967667847 | 372 | py | Python | lokalise/endpoints/translation_providers_endpoint.py | carlmanaster/python-lokalise-api | ce4a43c5a7bf14f45a2432e096b1880ff28d6770 | [
"BSD-3-Clause"
] | 5 | 2020-09-09T15:22:34.000Z | 2021-12-07T12:24:26.000Z | lokalise/endpoints/translation_providers_endpoint.py | carlmanaster/python-lokalise-api | ce4a43c5a7bf14f45a2432e096b1880ff28d6770 | [
"BSD-3-Clause"
] | 39 | 2020-12-08T16:56:06.000Z | 2022-03-28T15:18:52.000Z | lokalise/endpoints/translation_providers_endpoint.py | carlmanaster/python-lokalise-api | ce4a43c5a7bf14f45a2432e096b1880ff28d6770 | [
"BSD-3-Clause"
] | 1 | 2021-03-25T02:55:49.000Z | 2021-03-25T02:55:49.000Z | """
lokalise.endpoints.translation_providers_endpoint
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Module containing translation providers endpoint.
"""
from .base_endpoint import BaseEndpoint
class TranslationProvidersEndpoint(BaseEndpoint):
"""Describes translation providers endpoint.
"""
PATH = "t... | 28.615385 | 64 | 0.693548 | 30 | 372 | 8.4 | 0.633333 | 0.31746 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099462 | 372 | 12 | 65 | 31 | 0.752239 | 0.526882 | 0 | 0 | 0 | 0 | 0.312883 | 0.312883 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a6d5f724d443cbaceedf53aa771224350bbf9d9e | 165 | py | Python | pyvmomi_restapi/vm_helpers/apps.py | johnedstone/how-to-use-pyvmomi | f2e58ce82f360bac4fe0ca52ae347ebf691430bb | [
"Apache-2.0"
] | null | null | null | pyvmomi_restapi/vm_helpers/apps.py | johnedstone/how-to-use-pyvmomi | f2e58ce82f360bac4fe0ca52ae347ebf691430bb | [
"Apache-2.0"
] | null | null | null | pyvmomi_restapi/vm_helpers/apps.py | johnedstone/how-to-use-pyvmomi | f2e58ce82f360bac4fe0ca52ae347ebf691430bb | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class HelperEndpointsConfig(AppConfig):
name = 'vm_helpers'
| 18.333333 | 39 | 0.751515 | 19 | 165 | 6.210526 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.151515 | 165 | 8 | 40 | 20.625 | 0.835714 | 0.127273 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a6d98fd04b1baa85481c214e43a3e464743dce06 | 114 | py | Python | v6wos/error.py | sfstpala/v6wos | acb4483ab89174529172c3705a4ecbc463c938f5 | [
"0BSD"
] | 7 | 2016-10-10T12:25:31.000Z | 2021-06-15T23:46:59.000Z | v6wos/error.py | sfstpala/v6wos | acb4483ab89174529172c3705a4ecbc463c938f5 | [
"0BSD"
] | 3 | 2017-05-20T05:32:30.000Z | 2019-09-29T10:19:21.000Z | v6wos/error.py | sfstpala/v6wos | acb4483ab89174529172c3705a4ecbc463c938f5 | [
"0BSD"
] | 1 | 2017-05-20T05:29:10.000Z | 2017-05-20T05:29:10.000Z | import v6wos
class ErrorHandler(v6wos.ErrorHandler):
def initialize(self):
super().initialize(404)
| 14.25 | 39 | 0.701754 | 12 | 114 | 6.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0.192982 | 114 | 7 | 40 | 16.285714 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a6e25d64ccd3e54ed546f5c28015d89901848099 | 147 | py | Python | cplusplus/temp.py | ekdnam/bhasha | c34f2a184d25604656c45e18adb56eac844639a6 | [
"Apache-2.0"
] | 1 | 2020-06-11T16:06:22.000Z | 2020-06-11T16:06:22.000Z | cplusplus/temp.py | ekdnam/bhasha | c34f2a184d25604656c45e18adb56eac844639a6 | [
"Apache-2.0"
] | 1 | 2020-10-31T19:47:50.000Z | 2020-10-31T19:47:50.000Z | cplusplus/temp.py | ekdnam/bhasha | c34f2a184d25604656c45e18adb56eac844639a6 | [
"Apache-2.0"
] | null | null | null | # This is a working model for converting python scripts to .cpp files
print("\nHello World!") # comment 1
print("\nThis is Bhasha") # comment 2
| 36.75 | 70 | 0.714286 | 23 | 147 | 4.565217 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.183673 | 147 | 3 | 71 | 49 | 0.858333 | 0.591837 | 0 | 0 | 0 | 0 | 0.566038 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a6e546530cbad3c2cb944ee543616eb417f98888 | 681 | py | Python | evm/logic/block.py | theresume/py-evm | c7f982e9832ea91312f456cfdd5be7c867853d0b | [
"MIT"
] | null | null | null | evm/logic/block.py | theresume/py-evm | c7f982e9832ea91312f456cfdd5be7c867853d0b | [
"MIT"
] | 4 | 2018-12-07T21:32:48.000Z | 2019-02-22T15:25:01.000Z | evm/logic/block.py | theresume/py-evm | c7f982e9832ea91312f456cfdd5be7c867853d0b | [
"MIT"
] | null | null | null | from evm import constants
def blockhash(computation):
block_number = computation.stack_pop(type_hint=constants.UINT256)
block_hash = computation.vm_state.get_ancestor_hash(block_number)
computation.stack_push(block_hash)
def coinbase(computation):
computation.stack_push(computation.vm_state.coinba... | 22.7 | 69 | 0.807636 | 83 | 681 | 6.361446 | 0.313253 | 0.212121 | 0.204545 | 0.293561 | 0.464015 | 0.464015 | 0.464015 | 0 | 0 | 0 | 0 | 0.004942 | 0.108664 | 681 | 29 | 70 | 23.482759 | 0.864909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.066667 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.