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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf20dcb6a3eb247ff04a6b046c2e9a68d1e234cf | 74 | py | Python | lclpy/plot/__init__.py | nobody1570/lspy | 1cf6efbafbbf8ddb54ba7a875e82c562f010edd1 | [
"MIT"
] | 3 | 2021-11-27T22:11:38.000Z | 2022-02-10T11:42:06.000Z | lclpy/plot/__init__.py | nobody1570/lspy | 1cf6efbafbbf8ddb54ba7a875e82c562f010edd1 | [
"MIT"
] | null | null | null | lclpy/plot/__init__.py | nobody1570/lspy | 1cf6efbafbbf8ddb54ba7a875e82c562f010edd1 | [
"MIT"
] | null | null | null | """Contains functions to plot the results of localsearch algorithms.
"""
| 18.5 | 68 | 0.756757 | 9 | 74 | 6.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 3 | 69 | 24.666667 | 0.888889 | 0.878378 | 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 |
cf220d1db7983b2c968eba4adfeec92a5aa0f7c2 | 616 | py | Python | person.py | TGI-educativo/IPA | cdd93fe94ae5b085ff5a4af6142291ea199c8775 | [
"MIT"
] | null | null | null | person.py | TGI-educativo/IPA | cdd93fe94ae5b085ff5a4af6142291ea199c8775 | [
"MIT"
] | null | null | null | person.py | TGI-educativo/IPA | cdd93fe94ae5b085ff5a4af6142291ea199c8775 | [
"MIT"
] | null | null | null | import pygame
class Person():
personagem_left1 = pygame.image.load('player_left1.PNG')
personagem_left2 = pygame.image.load('player_left2.PNG')
personagem_right1 = pygame.image.load('player_right1.PNG')
personagem_right2 = pygame.image.load('player_right2.PNG')
personagem_up1 = pygame.image.load('... | 36.235294 | 62 | 0.73539 | 84 | 616 | 5.202381 | 0.297619 | 0.201373 | 0.2746 | 0.384439 | 0.128146 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041985 | 0.149351 | 616 | 16 | 63 | 38.5 | 0.791985 | 0.112013 | 0 | 0 | 0 | 0 | 0.232044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cf46c83cc2f8b1bc6bc1c9461056d58a05a27d5e | 340 | py | Python | 24.py | mguenther/advent-of-code-2021 | 3d01e8c990444b233027ad3533e1434a75e38812 | [
"Apache-2.0"
] | null | null | null | 24.py | mguenther/advent-of-code-2021 | 3d01e8c990444b233027ad3533e1434a75e38812 | [
"Apache-2.0"
] | null | null | null | 24.py | mguenther/advent-of-code-2021 | 3d01e8c990444b233027ad3533e1434a75e38812 | [
"Apache-2.0"
] | null | null | null | # Solved manually after decompiling the input and analyzing it.
# There is already a great explanation out there, so I won't bother
# writing another one. Just have a look at the following well-
# documented code:
# https://github.com/dphilipson/advent-of-code-2021/blob/master/src/days/day24.rs
print(91699394894995)
p... | 42.5 | 81 | 0.788235 | 53 | 340 | 5.056604 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 0.123529 | 340 | 8 | 82 | 42.5 | 0.785235 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 4 |
cf59f12e7bd05771383c22aa4fddf2d2ea0a5ce7 | 535 | py | Python | sem1/fp/Prajitura/Domain/exceptii.py | itsbratu/bachelor | b3bcae07fc8297fb0557a4bf752b20c6104c2563 | [
"MIT"
] | null | null | null | sem1/fp/Prajitura/Domain/exceptii.py | itsbratu/bachelor | b3bcae07fc8297fb0557a4bf752b20c6104c2563 | [
"MIT"
] | null | null | null | sem1/fp/Prajitura/Domain/exceptii.py | itsbratu/bachelor | b3bcae07fc8297fb0557a4bf752b20c6104c2563 | [
"MIT"
] | null | null | null | """
Python file where we store our custom exceptions for the app
"""
class InvalidPrajitura(Exception):
def __init__(self , msg):
super().__init__(msg)
class MultiplePrajitura(Exception):
def __init__(self , msg):
super().__init__(msg)
class InvalidCommand(Exception):
def __init__(self , ... | 23.26087 | 60 | 0.66729 | 61 | 535 | 5.196721 | 0.377049 | 0.189274 | 0.252366 | 0.315457 | 0.615142 | 0.615142 | 0.615142 | 0.615142 | 0.504732 | 0 | 0 | 0 | 0.209346 | 535 | 23 | 61 | 23.26087 | 0.749409 | 0.11215 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cf70f56f3e7d0d4a8749bac6e784bf8e15325d65 | 545 | py | Python | mysite/Scripts/django-admin.py | katriinaw/Ohsiha | 680ee29b58cbf27563087fbc80286412e41b0ccc | [
"Apache-2.0"
] | null | null | null | mysite/Scripts/django-admin.py | katriinaw/Ohsiha | 680ee29b58cbf27563087fbc80286412e41b0ccc | [
"Apache-2.0"
] | null | null | null | mysite/Scripts/django-admin.py | katriinaw/Ohsiha | 680ee29b58cbf27563087fbc80286412e41b0ccc | [
"Apache-2.0"
] | null | null | null | #!c:\users\katrii~1.wal\appdata\roaming\micros~1\windows\startm~1\programs\python~1.7\mysite\mysite\scripts\python.exe
# EASY-INSTALL-DEV-SCRIPT: 'Django==3.0.dev20190130203156','django-admin.py'
__requires__ = 'Django==3.0.dev20190130203156'
__import__('pkg_resources').require('Django==3.0.dev20190130203156')
__file__... | 68.125 | 160 | 0.755963 | 78 | 545 | 5.012821 | 0.576923 | 0.053708 | 0.061381 | 0.191816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105566 | 0.044037 | 545 | 7 | 161 | 77.857143 | 0.644914 | 0.352294 | 0 | 0 | 0 | 0.2 | 0.632479 | 0.578348 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cf7a7647564d9bdb09ed0f8970e951600ed6906f | 134 | py | Python | src/elchempy/dataloaders/parsers/filetypes/__init__.py | MyPyDavid/ECpy | b74842b64eca86d2181067fdb22bfa8fa4b2c8bb | [
"MIT"
] | 3 | 2022-01-04T09:06:15.000Z | 2022-03-05T08:24:01.000Z | src/elchempy/dataloaders/parsers/filetypes/__init__.py | MyPyDavid/ECpy | b74842b64eca86d2181067fdb22bfa8fa4b2c8bb | [
"MIT"
] | null | null | null | src/elchempy/dataloaders/parsers/filetypes/__init__.py | MyPyDavid/ECpy | b74842b64eca86d2181067fdb22bfa8fa4b2c8bb | [
"MIT"
] | 1 | 2022-03-05T12:17:49.000Z | 2022-03-05T12:17:49.000Z | """
collection of parsers,
each module in this filetypes package is named after the extension of the file it can parse e.g. 'PAR'
"""
| 26.8 | 102 | 0.738806 | 23 | 134 | 4.304348 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 134 | 4 | 103 | 33.5 | 0.9 | 0.932836 | 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 |
d8417c51070669a2a30caf048bf9ff5077309707 | 458 | py | Python | service/utils.py | volbil/web-boilerplate | cf673ef444fc9f0c4343d067a8f321cdd07d1713 | [
"MIT"
] | 2 | 2021-12-16T23:13:41.000Z | 2021-12-16T23:13:56.000Z | service/utils.py | volbil/web-boilerplate | cf673ef444fc9f0c4343d067a8f321cdd07d1713 | [
"MIT"
] | null | null | null | service/utils.py | volbil/web-boilerplate | cf673ef444fc9f0c4343d067a8f321cdd07d1713 | [
"MIT"
] | null | null | null | import hashlib
import bcrypt
def hashpwd(password: str) -> str:
return bcrypt.hashpw(str.encode(password), bcrypt.gensalt()).decode()
def checkpwd(password, bcrypt_hash) -> bool:
return bcrypt.checkpw(str.encode(password), str.encode(bcrypt_hash))
def blake2b(data: str, size=32, key=""):
"""Hash wrapper ... | 26.941176 | 73 | 0.674672 | 59 | 458 | 5.186441 | 0.40678 | 0.147059 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013298 | 0.179039 | 458 | 16 | 74 | 28.625 | 0.800532 | 0.052402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.333333 | 0.166667 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
d85c81b680c1101d6d00313e5a997f3649add93a | 1,473 | py | Python | config.py | Eetsi123/fid | 656f6140882df20adca56cabd12f43507ee8d1e4 | [
"MIT"
] | null | null | null | config.py | Eetsi123/fid | 656f6140882df20adca56cabd12f43507ee8d1e4 | [
"MIT"
] | null | null | null | config.py | Eetsi123/fid | 656f6140882df20adca56cabd12f43507ee8d1e4 | [
"MIT"
] | null | null | null | from os import environ
DISCORD_BOT_TOKEN = environ['DISCORD_BOT_TOKEN'] # https://discord.com/developers/applications
FACEIT_API_KEY = environ['FACEIT_API_KEY'] # https://developers.faceit.com/apps
STEAM_WEB_API_KEY = environ['STEAM_WEB_API_KEY'] # https://steamcommunity.com/dev/apikey
# At least on of these ne... | 56.653846 | 94 | 0.663951 | 176 | 1,473 | 5.460227 | 0.5 | 0.257024 | 0.297607 | 0.274714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073456 | 0.186694 | 1,473 | 25 | 95 | 58.92 | 0.728715 | 0.175832 | 0 | 0 | 0 | 0.05 | 0.616722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d85f6e9d26ff7b49a2ee0988de2a5f7c600a9be5 | 166 | py | Python | TankistU3D/site/tankistwat/tankistwat/forms.py | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | TankistU3D/site/tankistwat/tankistwat/forms.py | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | TankistU3D/site/tankistwat/tankistwat/forms.py | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | from django import forms
class ContactForm(forms.Form):
subject = forms.CharField()
e_mail = forms.EmailField(required=False)
message = forms.CharField() | 27.666667 | 45 | 0.73494 | 20 | 166 | 6.05 | 0.75 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162651 | 166 | 6 | 46 | 27.666667 | 0.870504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d86274e8d2305843054df5ce76f19feb6b012572 | 163 | py | Python | redpwn/crypto/12-shades-of-redpwn/solve.py | deut-erium/WriteUps | 36b4193f5fab9f95527a48626ecba631d5a03796 | [
"MIT"
] | 11 | 2020-06-06T05:28:27.000Z | 2022-01-09T00:42:49.000Z | 2020/redpwn/crypto/12-shades-of-redpwn/solve.py | CSEA-IITB/WriteUps | 46e7f36b0c4ef182cbaf375fd10fda954b6667a0 | [
"MIT"
] | 1 | 2020-09-06T18:19:55.000Z | 2020-09-06T18:19:55.000Z | redpwn/crypto/12-shades-of-redpwn/solve.py | deut-erium/WriteUps | 36b4193f5fab9f95527a48626ecba631d5a03796 | [
"MIT"
] | 6 | 2020-06-06T05:36:43.000Z | 2021-08-11T10:17:18.000Z | EXTRACTED = '86 90 81 87 a3 49 99 43 97 97 41 92 49 7b 41 97 7b 44 92 7b 44 96 98 a5'
flag = ''.join([chr(int(i,12)) for i in EXTRACTED.split()])
print(flag)
| 32.6 | 86 | 0.631902 | 38 | 163 | 2.710526 | 0.710526 | 0.07767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.362903 | 0.239264 | 163 | 4 | 87 | 40.75 | 0.467742 | 0 | 0 | 0 | 0 | 0.333333 | 0.446541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d86d3b7da041c9ead5e7f8b8d8c5f98887bb50c9 | 238 | py | Python | gestoficinas/gestoficinas/doctype/veiculos/test_veiculos.py | Helkyd/GestOficinas | 15c39d164bf7706e3d415548940f30973c40ab5b | [
"MIT"
] | null | null | null | gestoficinas/gestoficinas/doctype/veiculos/test_veiculos.py | Helkyd/GestOficinas | 15c39d164bf7706e3d415548940f30973c40ab5b | [
"MIT"
] | null | null | null | gestoficinas/gestoficinas/doctype/veiculos/test_veiculos.py | Helkyd/GestOficinas | 15c39d164bf7706e3d415548940f30973c40ab5b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2015, Helio de Jesus and Contributors
# See license.txt
from __future__ import unicode_literals
# test_records = frappe.get_test_records('Veiculos')
class TestVeiculos(unittest.TestCase):
pass
| 19.833333 | 53 | 0.752101 | 31 | 238 | 5.516129 | 0.935484 | 0.128655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.138655 | 238 | 11 | 54 | 21.636364 | 0.809756 | 0.588235 | 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 |
d87a921f020eb459f0b344718d06099e79f5de5e | 2,370 | py | Python | app/data/models.py | S1riyS/CLICKSPEED | 79f17ae44579fda6a48574764db9c34fe0152ba8 | [
"Beerware"
] | 1 | 2021-07-24T19:04:04.000Z | 2021-07-24T19:04:04.000Z | app/data/models.py | S1riyS/CLICKSPEED | 79f17ae44579fda6a48574764db9c34fe0152ba8 | [
"Beerware"
] | null | null | null | app/data/models.py | S1riyS/CLICKSPEED | 79f17ae44579fda6a48574764db9c34fe0152ba8 | [
"Beerware"
] | null | null | null | import datetime
import sqlalchemy
from sqlalchemy import orm
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
from app import db, login_manager
class User(db.Model, UserMixin):
__tablename__ = "users"
id = sqlalchemy.Column(sqlalchemy.Integer,
... | 37.03125 | 81 | 0.667511 | 252 | 2,370 | 6.111111 | 0.261905 | 0.166234 | 0.27013 | 0.15 | 0.4 | 0.398701 | 0.214286 | 0.214286 | 0.214286 | 0.128571 | 0 | 0 | 0.233333 | 2,370 | 63 | 82 | 37.619048 | 0.847551 | 0.01097 | 0 | 0.166667 | 1 | 0 | 0.018368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.125 | 0.125 | 0.041667 | 0.770833 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d8b4bf201b69cf9978a39e66c67d4ed9fceeceef | 193 | py | Python | Mega_Contest_1/Editorials/Problem-4_DJ-WALE-BABU/solution.py | tanayduggad0299/CP-Buddy-Series | 29b85801f216e10e1817ce0769dd2d9d98856163 | [
"MIT"
] | 58 | 2020-08-02T16:38:43.000Z | 2021-04-11T15:17:07.000Z | Mega_Contest_1/Editorials/Problem-4_DJ-WALE-BABU/solution.py | tanayduggad0299/CP-Buddy-Series | 29b85801f216e10e1817ce0769dd2d9d98856163 | [
"MIT"
] | 29 | 2020-08-03T08:48:05.000Z | 2020-10-05T08:25:09.000Z | Mega_Contest_1/Editorials/Problem-4_DJ-WALE-BABU/solution.py | tanayduggad0299/CP-Buddy-Series | 29b85801f216e10e1817ce0769dd2d9d98856163 | [
"MIT"
] | 44 | 2020-08-02T16:51:08.000Z | 2021-03-04T13:51:01.000Z | # Solution to Mega Contest 1 Problem: DJ WALE BABU
string = input()
while "WUBWUB" in string: string = string.replace("WUBWUB", "WUB")
string = string.replace("WUB", " ")
print(string.strip()) | 32.166667 | 66 | 0.699482 | 27 | 193 | 5 | 0.666667 | 0.266667 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.139896 | 193 | 6 | 67 | 32.166667 | 0.807229 | 0.248705 | 0 | 0 | 0 | 0 | 0.131944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d8db2df2c730c5bf2b16f923958adf2a9fea9146 | 174 | py | Python | app/user/forms.py | trbs/recipe-app-api | b290f72c1c24f247e536eeee300c7e157511a3c2 | [
"MIT"
] | null | null | null | app/user/forms.py | trbs/recipe-app-api | b290f72c1c24f247e536eeee300c7e157511a3c2 | [
"MIT"
] | null | null | null | app/user/forms.py | trbs/recipe-app-api | b290f72c1c24f247e536eeee300c7e157511a3c2 | [
"MIT"
] | null | null | null | from django import forms
from core.models import Ingredient
class AddIngredientForm(forms.ModelForm):
class Meta:
model = Ingredient
fields = ('name','amount','unit') | 21.75 | 41 | 0.752874 | 21 | 174 | 6.238095 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143678 | 174 | 8 | 42 | 21.75 | 0.879195 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 |
d8dd242af9763257cb2878f1d8ac9ab193e05163 | 581 | py | Python | definitions/ghost.py | wichmannpas/webapp-version-inferer | a07c40ee05014b46a425edfa6a9a3c7e3176a298 | [
"Apache-2.0"
] | 5 | 2018-02-21T14:50:57.000Z | 2018-03-10T02:46:54.000Z | definitions/ghost.py | wichmannpas/webapp-version-inferer | a07c40ee05014b46a425edfa6a9a3c7e3176a298 | [
"Apache-2.0"
] | 7 | 2018-10-09T06:07:09.000Z | 2021-04-13T13:49:05.000Z | definitions/ghost.py | wichmannpas/webapp-version-inferer | a07c40ee05014b46a425edfa6a9a3c7e3176a298 | [
"Apache-2.0"
] | 1 | 2018-12-14T19:12:33.000Z | 2018-12-14T19:12:33.000Z | import re
from backends.software_package import SoftwarePackage
from definitions.definition import SoftwareDefinition
from providers.git import GitTagProvider
# TODO: find out path_map
#class Ghost(SoftwareDefinition):
# software_package = SoftwarePackage(
# name='Ghost',
# vendor='Ghost Foundation')... | 27.666667 | 53 | 0.667814 | 59 | 581 | 6.440678 | 0.644068 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002155 | 0.201377 | 581 | 20 | 54 | 29.05 | 0.81681 | 0.672978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2b09391c8a9dac0e407d8a626e95b9b9036c156c | 611 | py | Python | djf_surveys/mixin.py | irfanpule/django-form-surveys | ae27133f040e4bdf40c02944c6d5af65562b216d | [
"MIT"
] | 5 | 2022-03-22T08:10:07.000Z | 2022-03-30T11:52:01.000Z | djf_surveys/mixin.py | irfanpule/django-form-surveys | ae27133f040e4bdf40c02944c6d5af65562b216d | [
"MIT"
] | 1 | 2022-03-14T08:49:49.000Z | 2022-03-14T09:40:10.000Z | djf_surveys/mixin.py | irfanpule/django-form-surveys | ae27133f040e4bdf40c02944c6d5af65562b216d | [
"MIT"
] | null | null | null | from django.views.generic.base import ContextMixin
class ContextTitleMixin(ContextMixin):
title_page = ''
sub_title = ''
def get_title_page(self):
return self.title_page
def get_sub_title_page(self):
return self.sub_title
def get_context_data(self, **kwargs):
"""Insert t... | 29.095238 | 64 | 0.649755 | 79 | 611 | 4.734177 | 0.35443 | 0.216578 | 0.139037 | 0.074866 | 0.240642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240589 | 611 | 20 | 65 | 30.55 | 0.806034 | 0.062193 | 0 | 0 | 0 | 0 | 0.058201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.142857 | 0.714286 | 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 |
2b2972888d72840b831dc6851e0defc7f1032bee | 8,022 | py | Python | reuterspy/__init__.py | ViniciusWovst/reuterspy | efad62460d2b8b3eed09978c2e1c47614c7fa89a | [
"MIT"
] | 3 | 2021-01-10T20:28:53.000Z | 2021-05-10T17:30:56.000Z | reuterspy/__init__.py | ViniciusWovst/reuterspy | efad62460d2b8b3eed09978c2e1c47614c7fa89a | [
"MIT"
] | 2 | 2021-01-15T12:14:02.000Z | 2022-01-13T13:12:27.000Z | reuterspy/__init__.py | ViniciusWovst/reuterspy | efad62460d2b8b3eed09978c2e1c47614c7fa89a | [
"MIT"
] | 2 | 2021-01-24T20:04:39.000Z | 2021-07-16T07:05:30.000Z | __author__ = 'Vinicius wovst @ viniciuswovst in GitHub'
__version__ = '1.0'
# Copyright 2020-2021 Vinicius Wovst, viniciuswovst @ GitHub
# See LICENSE for details.
from bs4 import BeautifulSoup
import requests
import pandas as pd
from datetime import date
from .utils.api import get_data, get_fields_date
from .utils... | 42.221053 | 111 | 0.516704 | 783 | 8,022 | 5.191571 | 0.162197 | 0.082657 | 0.098401 | 0.122017 | 0.736531 | 0.736531 | 0.736531 | 0.721279 | 0.672817 | 0.672817 | 0 | 0.003885 | 0.358265 | 8,022 | 189 | 112 | 42.444444 | 0.785742 | 0.530541 | 0 | 0.376812 | 0 | 0 | 0.077617 | 0.010306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0.086957 | 0 | 0.217391 | 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 |
2b402d99b5f10d2cea09df5f7dae02aefeefa9f8 | 154 | py | Python | recursion/linear_sum.py | Lumexralph/python-algorithm-datastructures | 5108cbc19c6cb650e72a95e5fa0c69be2a3354ee | [
"MIT"
] | null | null | null | recursion/linear_sum.py | Lumexralph/python-algorithm-datastructures | 5108cbc19c6cb650e72a95e5fa0c69be2a3354ee | [
"MIT"
] | null | null | null | recursion/linear_sum.py | Lumexralph/python-algorithm-datastructures | 5108cbc19c6cb650e72a95e5fa0c69be2a3354ee | [
"MIT"
] | 1 | 2019-06-11T00:02:10.000Z | 2019-06-11T00:02:10.000Z | def linear_sum(S, n):
if n == 0:
return 0
return linear_sum(S, n - 1) + S[n - 1]
S = [1, 5, 8, 9, 4, 9, 3]
print(linear_sum(S, len(S)))
| 17.111111 | 42 | 0.493506 | 33 | 154 | 2.212121 | 0.484848 | 0.369863 | 0.410959 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 0.305195 | 154 | 8 | 43 | 19.25 | 0.579439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.5 | 0.166667 | 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 |
99131efc07e6dbecbb1111eb5369b69374f3de02 | 166 | py | Python | bot/bot/config.py | TSPS-Team/Project | b1d83cb7957420b8348939f0a1d36f506095519c | [
"MIT"
] | null | null | null | bot/bot/config.py | TSPS-Team/Project | b1d83cb7957420b8348939f0a1d36f506095519c | [
"MIT"
] | null | null | null | bot/bot/config.py | TSPS-Team/Project | b1d83cb7957420b8348939f0a1d36f506095519c | [
"MIT"
] | null | null | null | api_id = 3538476
api_hash = "b8889e6cb9db9df68b700da878321b90"
bot_token = "5094027680:AAETKP-L61BSdlDcvNudimlVqlw3Z9Ax7yQ"
redis_ip = "localhost"
redis_port = 6379
| 23.714286 | 60 | 0.825301 | 17 | 166 | 7.764706 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306667 | 0.096386 | 166 | 6 | 61 | 27.666667 | 0.573333 | 0 | 0 | 0 | 0 | 0 | 0.524096 | 0.46988 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9936b3c32ad7aeb71d3031400a166985f6e06f89 | 32 | py | Python | modules/debug/__init__.py | TendTo/MemeBot | b4ba23aa3991181903b7be285bcf587a69dedabb | [
"MIT"
] | 1 | 2020-09-10T22:10:57.000Z | 2020-09-10T22:10:57.000Z | modules/debug/__init__.py | TendTo/MemeBot | b4ba23aa3991181903b7be285bcf587a69dedabb | [
"MIT"
] | null | null | null | modules/debug/__init__.py | TendTo/MemeBot | b4ba23aa3991181903b7be285bcf587a69dedabb | [
"MIT"
] | null | null | null | """Modules used during debug"""
| 16 | 31 | 0.6875 | 4 | 32 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.785714 | 0.78125 | 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 |
995113bfdaac650b8f4c653a5b390d9a8fa293b4 | 222 | py | Python | Dataprocess/Get_W_features/read_Excel.py | ComputeSuda/PPICT | c8516083f2628a6f5e760b0f6749c00607eb31cf | [
"MIT"
] | null | null | null | Dataprocess/Get_W_features/read_Excel.py | ComputeSuda/PPICT | c8516083f2628a6f5e760b0f6749c00607eb31cf | [
"MIT"
] | null | null | null | Dataprocess/Get_W_features/read_Excel.py | ComputeSuda/PPICT | c8516083f2628a6f5e760b0f6749c00607eb31cf | [
"MIT"
] | 3 | 2022-01-12T06:55:02.000Z | 2022-01-12T14:32:11.000Z | import xlrd
def readExcel(filepath, sheet):
Ptm_Mutations = xlrd.open_workbook(filepath)
sheet = Ptm_Mutations.sheet_by_name(sheet)
rows = sheet.nrows
cols = sheet.ncols
return sheet, rows, cols
| 17.076923 | 48 | 0.702703 | 29 | 222 | 5.206897 | 0.586207 | 0.172185 | 0.211921 | 0.331126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 222 | 12 | 49 | 18.5 | 0.867816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9959c12001e173dbd0934c76af59f37b0b0ea6b5 | 99 | py | Python | mpanalysis/tests/test_dummy.py | mheikenfeld/mpanalysis | 95ab9863ae9ce261446f9725b45e29cd6c0e676f | [
"BSD-3-Clause"
] | null | null | null | mpanalysis/tests/test_dummy.py | mheikenfeld/mpanalysis | 95ab9863ae9ce261446f9725b45e29cd6c0e676f | [
"BSD-3-Clause"
] | null | null | null | mpanalysis/tests/test_dummy.py | mheikenfeld/mpanalysis | 95ab9863ae9ce261446f9725b45e29cd6c0e676f | [
"BSD-3-Clause"
] | null | null | null | import os
import pytest
import iris
import mpanalysis
def test_dummy_function():
assert 1==1
| 11 | 26 | 0.767677 | 15 | 99 | 4.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.181818 | 99 | 8 | 27 | 12.375 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
99640f618a9edfd7a4378b69a89415ee229788a7 | 76 | py | Python | intro/part01-04_minutes_in_a_year/src/minutes_in_a_year.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | intro/part01-04_minutes_in_a_year/src/minutes_in_a_year.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | intro/part01-04_minutes_in_a_year/src/minutes_in_a_year.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | # Write your solution here
print(365*24*60) # 365 days, 24 hours in each day | 38 | 49 | 0.736842 | 15 | 76 | 3.733333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.171053 | 76 | 2 | 49 | 38 | 0.698413 | 0.723684 | 0 | 0 | 0 | 0 | 0 | 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 |
99688d6f6bb39ecfe77c8e1ea4f615fa8b730cd8 | 242 | py | Python | backpack/extensions/firstorder/gradient/conv1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 395 | 2019-10-04T09:37:52.000Z | 2022-03-29T18:00:56.000Z | backpack/extensions/firstorder/gradient/conv1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 78 | 2019-10-11T18:56:43.000Z | 2022-03-23T01:49:54.000Z | backpack/extensions/firstorder/gradient/conv1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 50 | 2019-10-03T16:31:10.000Z | 2022-03-15T19:36:14.000Z | from backpack.core.derivatives.conv1d import Conv1DDerivatives
from .base import GradBaseModule
class GradConv1d(GradBaseModule):
def __init__(self):
super().__init__(derivatives=Conv1DDerivatives(), params=["bias", "weight"])
| 26.888889 | 84 | 0.764463 | 24 | 242 | 7.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.123967 | 242 | 8 | 85 | 30.25 | 0.816038 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9975f64811ec006311184b1dea1f4aa4ab167c15 | 131 | py | Python | archive/old/practice/2020.05.10/phoenix_and_balance.py | irvinodjuana/acm | d111d310a6970779eb0e28f4e612c44c30eb1b41 | [
"MIT"
] | null | null | null | archive/old/practice/2020.05.10/phoenix_and_balance.py | irvinodjuana/acm | d111d310a6970779eb0e28f4e612c44c30eb1b41 | [
"MIT"
] | null | null | null | archive/old/practice/2020.05.10/phoenix_and_balance.py | irvinodjuana/acm | d111d310a6970779eb0e28f4e612c44c30eb1b41 | [
"MIT"
] | null | null | null | import sys
cases = int(sys.stdin.readline())
for _ in range(cases):
n = int(sys.stdin.readline())
print(2**(n//2+1) - 2)
| 16.375 | 33 | 0.603053 | 22 | 131 | 3.545455 | 0.590909 | 0.153846 | 0.282051 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.19084 | 131 | 7 | 34 | 18.714286 | 0.698113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 |
997beab91237cf8bb3442a5d94a5bef0fb109270 | 224 | py | Python | psy/utils/__init__.py | Alias-Alan/pypsy | f055fe1f4901b654d99d9a776152e8192e014f5f | [
"MIT"
] | 169 | 2017-08-29T01:35:49.000Z | 2022-03-01T05:03:02.000Z | psy/utils/__init__.py | a854367688/pypsy | f055fe1f4901b654d99d9a776152e8192e014f5f | [
"MIT"
] | 8 | 2017-12-05T05:20:35.000Z | 2021-10-03T05:40:45.000Z | psy/utils/__init__.py | a854367688/pypsy | f055fe1f4901b654d99d9a776152e8192e014f5f | [
"MIT"
] | 67 | 2017-09-01T04:18:54.000Z | 2022-02-24T08:21:18.000Z | from psy.utils.probs import inverse_logistic, get_log_beta_pd, get_log_lognormal_pd, get_log_normal_pd, get_nodes_weights, \
r4beta
from psy.utils.tools import cached_property
from psy.utils.randoms import gen_item_bank
| 44.8 | 124 | 0.848214 | 38 | 224 | 4.605263 | 0.605263 | 0.12 | 0.205714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.098214 | 224 | 4 | 125 | 56 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
41e3731acb1d8959f520b35c058d585486e6190d | 1,502 | py | Python | configs/spade_configs.py | NguyenHoangAn0511/gan-compression | 6512c067d4adebc7451635991418b54ab76dd711 | [
"BSD-3-Clause"
] | 1,005 | 2020-03-20T04:13:59.000Z | 2022-03-30T01:16:45.000Z | configs/spade_configs.py | shadow2496/gan-compression | 9f3a2b51bedca040cc7d31c60ca71a77138f2c81 | [
"BSD-3-Clause"
] | 94 | 2020-03-20T08:36:57.000Z | 2022-03-12T00:20:02.000Z | configs/spade_configs.py | shadow2496/gan-compression | 9f3a2b51bedca040cc7d31c60ca71a77138f2c81 | [
"BSD-3-Clause"
] | 147 | 2020-03-20T04:49:35.000Z | 2022-03-23T10:44:25.000Z | from configs.channel_configs import ChannelConfigs
def get_configs(config_name):
if config_name == 'channels-48':
return ChannelConfigs(n_channels=[[48, 40, 32],
[48, 40, 32], [48, 40, 32], [48, 40, 32], [48, 40, 32],
[48,... | 65.304348 | 113 | 0.444075 | 214 | 1,502 | 3.056075 | 0.130841 | 0.195719 | 0.293578 | 0.269113 | 0.7263 | 0.681957 | 0.681957 | 0.681957 | 0.577982 | 0.529052 | 0 | 0.343915 | 0.370839 | 1,502 | 22 | 114 | 68.272727 | 0.348148 | 0 | 0 | 0.1 | 0 | 0 | 0.053262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
41f3917b01bf2fb297d965eaa73073d315b76618 | 659 | py | Python | coding_interview/59.py | smartx-jshan/Coding_Practice | bc7d485e7992031e55df62483818b721ad7d1d4f | [
"Apache-2.0"
] | null | null | null | coding_interview/59.py | smartx-jshan/Coding_Practice | bc7d485e7992031e55df62483818b721ad7d1d4f | [
"Apache-2.0"
] | null | null | null | coding_interview/59.py | smartx-jshan/Coding_Practice | bc7d485e7992031e55df62483818b721ad7d1d4f | [
"Apache-2.0"
] | null | null | null |
intervals.sort()
#print (intervals)
result = []
first = intervals.pop(0)
prev_start = first[0]
prev_end = first[1]
for value in intervals:
if prev_end >= value[0] and prev_end < value[1]:
pr... | 25.346154 | 63 | 0.449165 | 69 | 659 | 4.101449 | 0.304348 | 0.222615 | 0.254417 | 0.183746 | 0.402827 | 0.402827 | 0.204947 | 0.204947 | 0.204947 | 0 | 0 | 0.028169 | 0.461305 | 659 | 25 | 64 | 26.36 | 0.769014 | 0.025797 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
512e6e0072e754fe4f05133b28c3304e4647e5e4 | 171 | py | Python | Modulo 3/Lista11/17.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | 2 | 2021-08-17T14:02:13.000Z | 2021-08-19T02:37:28.000Z | Modulo 1/Lista01/17.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | null | null | null | Modulo 1/Lista01/17.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | 1 | 2021-09-05T20:18:45.000Z | 2021-09-05T20:18:45.000Z | # “é múltiplo de 3” ou “não é múltiplo de 3”.
Num1 = int(input("Escreva um Numero: "))
if Num1 % 3 > 0:
print("não é múltiplo de 3")
else:
print("é múltiplo de 3") | 28.5 | 45 | 0.614035 | 32 | 171 | 3.28125 | 0.5 | 0.342857 | 0.419048 | 0.457143 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061069 | 0.233918 | 171 | 6 | 46 | 28.5 | 0.740458 | 0.251462 | 0 | 0 | 0 | 0 | 0.417323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 |
5134a8f39b446b04b45b2036fc0b1b35936ec696 | 246 | py | Python | docman/serializers/__init__.py | andela-obanwo/django-doc-man-api | d71158396b3916a9f2994a86c4d7fd7106bf5627 | [
"Apache-2.0"
] | null | null | null | docman/serializers/__init__.py | andela-obanwo/django-doc-man-api | d71158396b3916a9f2994a86c4d7fd7106bf5627 | [
"Apache-2.0"
] | null | null | null | docman/serializers/__init__.py | andela-obanwo/django-doc-man-api | d71158396b3916a9f2994a86c4d7fd7106bf5627 | [
"Apache-2.0"
] | null | null | null | from .access_type import AccessTypeSerializer
from .department import DepartmentSerializer
from .document import DocumentSerializer
from .documenttype import DocumentTypeSerializer
from .role import RoleSerializer
from .user import UserSerializer | 41 | 48 | 0.882114 | 25 | 246 | 8.64 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093496 | 246 | 6 | 49 | 41 | 0.96861 | 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 |
5166fdc8c52d5baa2c2fbf294c7677a353330279 | 58 | py | Python | selenium/src/py/mypydoc.py | epall/selenium | 273260522efb84116979da2a499f64510250249b | [
"Apache-2.0"
] | 4 | 2015-10-26T01:43:04.000Z | 2018-05-12T17:39:32.000Z | selenium/src/py/mypydoc.py | hugs/selenium | 9fa09c04294bd43099aa8461b027148ba81be7b7 | [
"Apache-2.0"
] | 1 | 2021-06-18T00:45:52.000Z | 2021-06-18T00:45:52.000Z | selenium/src/py/mypydoc.py | hugs/selenium | 9fa09c04294bd43099aa8461b027148ba81be7b7 | [
"Apache-2.0"
] | 2 | 2016-07-11T20:19:31.000Z | 2018-11-17T22:36:54.000Z | import pydoc
if __name__ == "__main__":
pydoc.cli()
| 11.6 | 27 | 0.637931 | 7 | 58 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 58 | 4 | 28 | 14.5 | 0.644444 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 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 |
5accdae427d138ad38ab578646c995f0d5cd1e3a | 24 | py | Python | external-import/kaspersky/src/kaspersky/__init__.py | tiiibs/connectors | 65349790813a1d49f4536662725d99d8bfa08481 | [
"Apache-2.0"
] | 132 | 2019-06-28T23:23:18.000Z | 2022-03-30T07:47:55.000Z | external-import/kaspersky/src/kaspersky/__init__.py | tiiibs/connectors | 65349790813a1d49f4536662725d99d8bfa08481 | [
"Apache-2.0"
] | 472 | 2019-06-26T12:14:54.000Z | 2022-03-31T13:49:53.000Z | external-import/kaspersky/src/kaspersky/__init__.py | tiiibs/connectors | 65349790813a1d49f4536662725d99d8bfa08481 | [
"Apache-2.0"
] | 185 | 2019-07-01T09:32:14.000Z | 2022-03-28T05:29:12.000Z | """Kaspersky module."""
| 12 | 23 | 0.625 | 2 | 24 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.681818 | 0.708333 | 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 |
5ad1c7f2dd2b6bdaa227dfec0f3b98130133bb85 | 270 | py | Python | ramda/concat_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/concat_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/concat_test.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from .concat import concat
from ramda.private.asserts import assert_iterables_equal
def concat_nocurry_test():
assert_iterables_equal(concat([1, 2], [3, 4]), [1, 2, 3, 4])
def concat_curry_test():
assert_iterables_equal(concat([1, 2])([3, 4]), [1, 2, 3, 4])
| 24.545455 | 64 | 0.692593 | 44 | 270 | 4.022727 | 0.386364 | 0.045198 | 0.067797 | 0.090395 | 0.429379 | 0.429379 | 0.429379 | 0.429379 | 0.429379 | 0.429379 | 0 | 0.069264 | 0.144444 | 270 | 10 | 65 | 27 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5ade48f11d231183ffb104ba258fab8cfd3f2821 | 38 | py | Python | foiamachine/local/lib/python2.7/encodings/cp1006.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 3 | 2021-08-07T04:01:55.000Z | 2021-08-07T05:12:11.000Z | foiamachine/local/lib/python2.7/encodings/cp1006.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | null | null | null | foiamachine/local/lib/python2.7/encodings/cp1006.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 1 | 2021-08-05T22:51:14.000Z | 2021-08-05T22:51:14.000Z | /usr/lib/python2.7/encodings/cp1006.py | 38 | 38 | 0.815789 | 7 | 38 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 38 | 1 | 38 | 38 | 0.657895 | 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 |
850ed6c917533941ab2168ec0d5ffada7f59e2fc | 368 | py | Python | treadmill/cli/manage/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 2 | 2017-03-20T07:13:33.000Z | 2017-05-03T03:39:53.000Z | treadmill/cli/manage/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 12 | 2017-07-10T07:04:06.000Z | 2017-07-26T09:32:54.000Z | treadmill/cli/manage/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 2 | 2017-05-04T11:25:32.000Z | 2017-07-11T09:10:01.000Z | """Entry point for treadmill manage ecosystem"""
import pkgutil
import click
from treadmill import cli
__path__ = pkgutil.extend_path(__path__, __name__)
def init():
"""Return top level command handler."""
@click.group(cls=cli.make_multi_command('treadmill.cli.manage'))
def manage():
"""Manage a... | 20.444444 | 68 | 0.692935 | 44 | 368 | 5.454545 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190217 | 368 | 17 | 69 | 21.647059 | 0.805369 | 0.263587 | 0 | 0 | 0 | 0 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
8521793601cee4e6779c3ced43b912da2be85d9f | 54 | py | Python | paths_cli/tests/commands/conftest.py | sroet/openpathsampling-cli | 600d361195b5a3dfe68630358554e8f3e1e99599 | [
"MIT"
] | 2 | 2020-02-11T13:32:57.000Z | 2021-07-11T13:07:01.000Z | paths_cli/tests/commands/conftest.py | sroet/openpathsampling-cli | 600d361195b5a3dfe68630358554e8f3e1e99599 | [
"MIT"
] | 44 | 2020-02-11T10:17:21.000Z | 2022-01-03T19:53:06.000Z | paths_cli/tests/commands/conftest.py | sroet/openpathsampling-cli | 600d361195b5a3dfe68630358554e8f3e1e99599 | [
"MIT"
] | 3 | 2020-02-11T10:18:25.000Z | 2021-08-15T16:03:24.000Z | from paths_cli.tests.wizard.conftest import ad_openmm
| 27 | 53 | 0.87037 | 9 | 54 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.9 | 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 |
85236ce1d1e8a27cb816aab829fbaa9c0df8898e | 409 | py | Python | shop/templatetags/custom_filter.py | rahulbiswas24680/Django-Ecommerce | 89c0cbc12241b89bd88ce46b6c2f2e918b5719a7 | [
"MIT"
] | null | null | null | shop/templatetags/custom_filter.py | rahulbiswas24680/Django-Ecommerce | 89c0cbc12241b89bd88ce46b6c2f2e918b5719a7 | [
"MIT"
] | null | null | null | shop/templatetags/custom_filter.py | rahulbiswas24680/Django-Ecommerce | 89c0cbc12241b89bd88ce46b6c2f2e918b5719a7 | [
"MIT"
] | null | null | null | from django import template
register = template.Library()
@register.filter(name='currency')
def currency(number):
return "₹ " + str(number)
@register.filter(name='multiply')
def multiply(qty, number):
return qty * number
@register.filter(name='customer_total_cost')
def customer_total_cost(orders):
sum ... | 21.526316 | 45 | 0.699267 | 53 | 409 | 5.339623 | 0.509434 | 0.14841 | 0.190813 | 0.169611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002967 | 0.176039 | 409 | 19 | 46 | 21.526316 | 0.833828 | 0 | 0 | 0 | 0 | 0 | 0.090244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
51abbbfc3d68d7290ec1f51eba5434f17e030129 | 554 | py | Python | remi/models/colors_manager.py | biencos/events_reminder | 1cce0621ae240458ae1a398fe83345df45e34928 | [
"MIT"
] | null | null | null | remi/models/colors_manager.py | biencos/events_reminder | 1cce0621ae240458ae1a398fe83345df45e34928 | [
"MIT"
] | null | null | null | remi/models/colors_manager.py | biencos/events_reminder | 1cce0621ae240458ae1a398fe83345df45e34928 | [
"MIT"
] | null | null | null | from colorama import init
init(convert=True)
def printRed(skk): print("\033[91m {}\033[00m" .format(skk))
def printGreen(skk): print("\033[92m {}\033[00m" .format(skk))
def printYellow(skk): print("\033[93m {}\033[00m" .format(skk))
def printBlue(skk): print("\033[94m {}\033[00m" .format(skk))
def printPurple(skk): ... | 39.571429 | 66 | 0.676895 | 87 | 554 | 4.310345 | 0.321839 | 0.170667 | 0.234667 | 0.32 | 0.336 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158103 | 0.086643 | 554 | 13 | 67 | 42.615385 | 0.583004 | 0 | 0 | 0 | 0 | 0 | 0.274368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.8 | false | 0 | 0.1 | 0 | 0.9 | 0.8 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
51c45987ab5a73a7c872c6af4cdad5e016a3b88e | 146 | py | Python | kiwoom/config/__init__.py | gamjaa/kiwoom | 9bd130a3b6dfb39e0479c84a52e75806703b4ec9 | [
"MIT"
] | null | null | null | kiwoom/config/__init__.py | gamjaa/kiwoom | 9bd130a3b6dfb39e0479c84a52e75806703b4ec9 | [
"MIT"
] | null | null | null | kiwoom/config/__init__.py | gamjaa/kiwoom | 9bd130a3b6dfb39e0479c84a52e75806703b4ec9 | [
"MIT"
] | null | null | null | from kiwoom.config import error
from kiwoom.config.general import (
events,
is_valid_event,
markets,
market_gubuns,
sectors
)
| 16.222222 | 35 | 0.705479 | 18 | 146 | 5.555556 | 0.777778 | 0.2 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 146 | 8 | 36 | 18.25 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
51cee8aaceb04051e4d0cd51621e80f561ad9c83 | 123 | py | Python | katas/beta/rigged_dice.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/rigged_dice.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/rigged_dice.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from random import randint, random
def throw_rigged():
if random() < 0.22:
return 6
return randint(1, 5)
| 15.375 | 34 | 0.626016 | 18 | 123 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0.276423 | 123 | 7 | 35 | 17.571429 | 0.786517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
51ea4eaf92b939f9c94573a89bdbc65902e2833d | 741 | py | Python | test/serialbox-python/sdb/sdbcore/sdbtest/testlistener.py | elsagermann/serialbox | c590561d0876f3ce9a07878e4862a46003a37879 | [
"BSD-2-Clause"
] | 10 | 2017-04-18T14:28:07.000Z | 2019-10-23T03:22:16.000Z | test/serialbox-python/sdb/sdbcore/sdbtest/testlistener.py | elsagermann/serialbox | c590561d0876f3ce9a07878e4862a46003a37879 | [
"BSD-2-Clause"
] | 172 | 2017-02-16T14:24:33.000Z | 2019-11-06T08:46:34.000Z | test/serialbox-python/sdb/sdbcore/sdbtest/testlistener.py | elsagermann/serialbox | c590561d0876f3ce9a07878e4862a46003a37879 | [
"BSD-2-Clause"
] | 21 | 2016-12-15T15:22:02.000Z | 2019-10-02T09:40:10.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
##===-----------------------------------------------------------------------------*- Python -*-===##
##
## S E R I A L B O X
##
## This file is distributed under terms of BSD license.
## See LICENSE.txt for more information.
##
##===----------... | 27.444444 | 100 | 0.34278 | 57 | 741 | 4.263158 | 0.789474 | 0.111111 | 0.106996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.190283 | 741 | 26 | 101 | 28.5 | 0.398333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.625 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
51fb80ee1f8db5f602ac3b269c53083f26a353a9 | 87 | py | Python | mascots/apps.py | Tim-Jackins/mascot_app | 18381b56e56e83c59d638c133dada510d686ce0a | [
"MIT"
] | null | null | null | mascots/apps.py | Tim-Jackins/mascot_app | 18381b56e56e83c59d638c133dada510d686ce0a | [
"MIT"
] | null | null | null | mascots/apps.py | Tim-Jackins/mascot_app | 18381b56e56e83c59d638c133dada510d686ce0a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MascotsConfig(AppConfig):
name = 'mascots'
| 14.5 | 33 | 0.770115 | 10 | 87 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 34 | 17.4 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 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 |
a40110a10177c11dbe14aab8bf5fa17dfd4b9d5f | 166 | py | Python | pysite/views/main/about/rules.py | gatarelib/site | 81c71a58b949cb346e6af95d2cc3a7c4a71f36fe | [
"MIT"
] | null | null | null | pysite/views/main/about/rules.py | gatarelib/site | 81c71a58b949cb346e6af95d2cc3a7c4a71f36fe | [
"MIT"
] | null | null | null | pysite/views/main/about/rules.py | gatarelib/site | 81c71a58b949cb346e6af95d2cc3a7c4a71f36fe | [
"MIT"
] | null | null | null | from pysite.base_route import TemplateView
class RulesView(TemplateView):
path = "/about/rules"
name = "about.rules"
template = "main/about/rules.html"
| 20.75 | 42 | 0.710843 | 20 | 166 | 5.85 | 0.75 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174699 | 166 | 7 | 43 | 23.714286 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.26506 | 0.126506 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cf92de1240ee82800e83fffc67a6600642fbf98a | 94 | py | Python | utils/constants.py | gusseppe/dash-template | a73bb3bafa3c49d9658bec2173fcdb517e0f6e1b | [
"MIT"
] | 65 | 2021-01-06T09:33:06.000Z | 2022-03-29T18:22:50.000Z | utils/constants.py | gusseppe/dash-template | a73bb3bafa3c49d9658bec2173fcdb517e0f6e1b | [
"MIT"
] | null | null | null | utils/constants.py | gusseppe/dash-template | a73bb3bafa3c49d9658bec2173fcdb517e0f6e1b | [
"MIT"
] | 22 | 2021-01-06T17:19:55.000Z | 2022-03-22T20:01:13.000Z | home_page_location = "/"
gdp_page_location = "/gdp"
iris_page_location = "/iris"
TIMEOUT = 60 | 18.8 | 28 | 0.734043 | 13 | 94 | 4.846154 | 0.538462 | 0.571429 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.12766 | 94 | 5 | 29 | 18.8 | 0.743902 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cf95a7516288429e1d780c154e26180b05bbd039 | 113 | py | Python | instance/config.py | Collins33/flask-skeleton | 0d788ea1f0ad9b48f98e185aefeca557e4fa2066 | [
"MIT"
] | null | null | null | instance/config.py | Collins33/flask-skeleton | 0d788ea1f0ad9b48f98e185aefeca557e4fa2066 | [
"MIT"
] | null | null | null | instance/config.py | Collins33/flask-skeleton | 0d788ea1f0ad9b48f98e185aefeca557e4fa2066 | [
"MIT"
] | null | null | null | SECRET_KEY = 'p9Bv<3Eid9%$i01'
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://dt_admin:dt2016@localhost/dreamteam_db' | 56.5 | 82 | 0.814159 | 16 | 113 | 5.4375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.044248 | 113 | 2 | 82 | 56.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.605263 | 0.473684 | 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 |
cf9dbca4b4703d12c950daffa43e9535c162e480 | 593,479 | py | Python | libs/gui/gui_imgs.py | albertoccelli/vortex | 54bf15d2f74967d3dfeddec670b32868fbb2c51b | [
"MIT"
] | null | null | null | libs/gui/gui_imgs.py | albertoccelli/vortex | 54bf15d2f74967d3dfeddec670b32868fbb2c51b | [
"MIT"
] | null | null | null | libs/gui/gui_imgs.py | albertoccelli/vortex | 54bf15d2f74967d3dfeddec670b32868fbb2c51b | [
"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\x01\x79\xc8\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x07\x80\x... | 65.708481 | 113 | 0.727259 | 143,788 | 593,479 | 3.001467 | 0.002135 | 0.055402 | 0.079391 | 0.101822 | 0.056055 | 0.047227 | 0.039022 | 0.03383 | 0.03009 | 0.02895 | 0 | 0.307687 | 0.015365 | 593,479 | 9,031 | 114 | 65.715757 | 0.430856 | 0.000256 | 0 | 0.026733 | 0 | 0.995674 | 0.000002 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000222 | false | 0 | 0.000111 | 0 | 0.000333 | 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 |
cfb06c9ab398e02c78c24a8d59dabd2f9d804801 | 297 | py | Python | dashboard_presentations/urls.py | ContrastingSounds/djax | 9f07fa2e517c7231a02c6a37cfe6ab6f667353b3 | [
"MIT"
] | 1 | 2021-09-30T05:09:54.000Z | 2021-09-30T05:09:54.000Z | dashboard_presentations/urls.py | ContrastingSounds/djax | 9f07fa2e517c7231a02c6a37cfe6ab6f667353b3 | [
"MIT"
] | 13 | 2019-12-26T17:10:35.000Z | 2022-03-21T22:16:52.000Z | dashboard_presentations/urls.py | ContrastingSounds/djax | 9f07fa2e517c7231a02c6a37cfe6ab6f667353b3 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('generate_dashboard_presentation', views.generate_dashboard_presentation, name='generate_dashboard_presentation'),
path('action_form', views.action_form, name='action_form'),
] | 33 | 123 | 0.757576 | 35 | 297 | 6.171429 | 0.4 | 0.236111 | 0.402778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114478 | 297 | 9 | 124 | 33 | 0.821293 | 0 | 0 | 0 | 1 | 0 | 0.298658 | 0.208054 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cfb3ff583e24dc6260e1c0618084d4ee571ec839 | 171 | py | Python | backend/backend/feed/apps.py | epm0dev/personal-website | 6090f7b1c82e36625939edaa47a846abc10e70a0 | [
"MIT"
] | 1 | 2020-12-29T15:52:37.000Z | 2020-12-29T15:52:37.000Z | backend/backend/feed/apps.py | epm0dev/personal-website | 6090f7b1c82e36625939edaa47a846abc10e70a0 | [
"MIT"
] | 2 | 2021-04-08T20:44:41.000Z | 2021-06-09T18:28:45.000Z | backend/backend/feed/apps.py | epm0dev/personal-website | 6090f7b1c82e36625939edaa47a846abc10e70a0 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FeedConfig(AppConfig):
"""
Application config for the feed app which specifies the app's name.
"""
name = 'feed'
| 19 | 71 | 0.678363 | 22 | 171 | 5.272727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233918 | 171 | 8 | 72 | 21.375 | 0.885496 | 0.391813 | 0 | 0 | 0 | 0 | 0.045455 | 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 |
cfccccfd1ff006bba3981aae1e4cfa4c8549ec13 | 2,341 | py | Python | illumio/rules/enforcementboundary.py | dsommerville-illumio/illumio-py | 30e9ee4237b142a62579839ed8a21f2eb35c8b09 | [
"Apache-2.0"
] | 1 | 2022-01-18T04:55:16.000Z | 2022-01-18T04:55:16.000Z | illumio/rules/enforcementboundary.py | dsommerville-illumio/illumio-py | 30e9ee4237b142a62579839ed8a21f2eb35c8b09 | [
"Apache-2.0"
] | null | null | null | illumio/rules/enforcementboundary.py | dsommerville-illumio/illumio-py | 30e9ee4237b142a62579839ed8a21f2eb35c8b09 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""This module is a stub for enforcement boundary objects.
Copyright:
(c) 2022 Illumio
License:
Apache2, see LICENSE for more details.
"""
from dataclasses import dataclass
from illumio.util import pce_api
from .rule import BaseRule
@dataclass
@pce_api('enforcement_boundaries', is... | 31.635135 | 90 | 0.572405 | 233 | 2,341 | 5.626609 | 0.523605 | 0.130435 | 0.039664 | 0.038139 | 0.062548 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018354 | 0.325075 | 2,341 | 73 | 91 | 32.068493 | 0.811392 | 0.815891 | 0 | 0 | 0 | 0 | 0.095652 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.714286 | 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 |
cff226eaee50ba418ecb7e726eb1215a2ecb194c | 253 | py | Python | osp/core/utils/__init__.py | tareq97/osp-core | d07d75629367420e14be12cee0277aa7f757bdca | [
"BSD-3-Clause"
] | null | null | null | osp/core/utils/__init__.py | tareq97/osp-core | d07d75629367420e14be12cee0277aa7f757bdca | [
"BSD-3-Clause"
] | null | null | null | osp/core/utils/__init__.py | tareq97/osp-core | d07d75629367420e14be12cee0277aa7f757bdca | [
"BSD-3-Clause"
] | 1 | 2020-10-18T17:34:07.000Z | 2020-10-18T17:34:07.000Z | from .cuds2dot import Cuds2dot
from .general import *
from .wrapper_development import *
from .simple_search import *
from .pretty_print import pretty_print
from .schema_validation import validate_tree_against_schema, ConsistencyError, CardinalityError
| 36.142857 | 95 | 0.853755 | 31 | 253 | 6.709677 | 0.548387 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0.102767 | 253 | 6 | 96 | 42.166667 | 0.907489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 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 |
32028f9e529863f9f4d1e2e22221a08eae1c48d5 | 103 | py | Python | panomixapp/workplace/apps.py | altdotenv/panomix-app | 47aa2fca44e784c6ffc5a48313a75e89499d641f | [
"MIT"
] | null | null | null | panomixapp/workplace/apps.py | altdotenv/panomix-app | 47aa2fca44e784c6ffc5a48313a75e89499d641f | [
"MIT"
] | 4 | 2021-10-06T17:12:16.000Z | 2022-02-27T01:16:54.000Z | panomixapp/workplace/apps.py | altdotenv/panomix-app | 47aa2fca44e784c6ffc5a48313a75e89499d641f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WorkplaceConfig(AppConfig):
name = 'panomixapp.workplace'
| 20.6 | 33 | 0.786408 | 11 | 103 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 103 | 4 | 34 | 25.75 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.194175 | 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 |
3202a30ca8a8dc34445665ec6ea149da1b0067b0 | 54 | py | Python | dashboard/styles/colors.py | Platzi-Master-C8/dashboard | a8fa0d401e3c4fb54bff6ad565e9c8cb2e732070 | [
"Apache-2.0"
] | null | null | null | dashboard/styles/colors.py | Platzi-Master-C8/dashboard | a8fa0d401e3c4fb54bff6ad565e9c8cb2e732070 | [
"Apache-2.0"
] | null | null | null | dashboard/styles/colors.py | Platzi-Master-C8/dashboard | a8fa0d401e3c4fb54bff6ad565e9c8cb2e732070 | [
"Apache-2.0"
] | null | null | null | YELLOW = "#FFBF00"
ORANGE = "#F46036"
RED = "#E71D36"
| 13.5 | 18 | 0.611111 | 6 | 54 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 0.166667 | 54 | 3 | 19 | 18 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 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 |
320516c05c19b2e02831124bed38956e32575914 | 60 | py | Python | downstream/tinypersons/tests/test_onnx/__init__.py | bwconrad/solo-learn | ec510d803a4428d7d8803b90fa1484c42cb9cb52 | [
"MIT"
] | 326 | 2021-05-06T01:15:09.000Z | 2022-03-30T14:52:13.000Z | downstream/tinypersons/tests/test_onnx/__init__.py | bwconrad/solo-learn | ec510d803a4428d7d8803b90fa1484c42cb9cb52 | [
"MIT"
] | 48 | 2021-07-06T07:17:12.000Z | 2022-03-14T11:38:36.000Z | downstream/tinypersons/tests/test_onnx/__init__.py | bwconrad/solo-learn | ec510d803a4428d7d8803b90fa1484c42cb9cb52 | [
"MIT"
] | 54 | 2021-07-07T08:40:49.000Z | 2022-03-16T05:02:35.000Z | from .utils import ort_validate
__all__ = ['ort_validate']
| 15 | 31 | 0.766667 | 8 | 60 | 5 | 0.75 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 3 | 32 | 20 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 |
321a9593db6a2aa68938ee849b36986d7baffe72 | 2,981 | py | Python | tableconverter/autogen/HTMLTableListener.py | Blueswing/tableconverter | ac5684ea424ae601191fa45c936c9e133800ee36 | [
"MIT"
] | 1 | 2021-03-01T01:50:27.000Z | 2021-03-01T01:50:27.000Z | tableconverter/autogen/HTMLTableListener.py | Blueswing/tableconverter | ac5684ea424ae601191fa45c936c9e133800ee36 | [
"MIT"
] | null | null | null | tableconverter/autogen/HTMLTableListener.py | Blueswing/tableconverter | ac5684ea424ae601191fa45c936c9e133800ee36 | [
"MIT"
] | null | null | null | # Generated from HTMLTable.g4 by ANTLR 4.8
from antlr4 import *
if __name__ is not None and "." in __name__:
from .HTMLTable import HTMLTable
else:
from HTMLTable import HTMLTable
# This class defines a complete listener for a parse tree produced by HTMLTable.
class HTMLTableListener(ParseTreeListener):
#... | 29.22549 | 80 | 0.717544 | 346 | 2,981 | 6.15896 | 0.222543 | 0.059127 | 0.098545 | 0.177382 | 0.772877 | 0.473487 | 0.459878 | 0.457532 | 0 | 0 | 0 | 0.001714 | 0.217041 | 2,981 | 102 | 81 | 29.22549 | 0.911311 | 0.376719 | 0 | 0.425532 | 1 | 0 | 0.000551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.425532 | false | 0.425532 | 0.06383 | 0 | 0.510638 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5ca9c9b6043cba6e196bd0a5b2bc59a6e3ea1ce2 | 62 | py | Python | module.py | Cloudlie/pythonlearning | 347a2ea3b85450139e0718aec37ddf6998bd5678 | [
"MIT"
] | null | null | null | module.py | Cloudlie/pythonlearning | 347a2ea3b85450139e0718aec37ddf6998bd5678 | [
"MIT"
] | null | null | null | module.py | Cloudlie/pythonlearning | 347a2ea3b85450139e0718aec37ddf6998bd5678 | [
"MIT"
] | null | null | null | def say(words):
print words
name = "this is a import demo"
| 12.4 | 30 | 0.677419 | 11 | 62 | 3.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 62 | 4 | 31 | 15.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5cae98edbecf37a04d1c2e93c2086cf4f652f286 | 202 | py | Python | configs/m4c/m4c_textvqa.py | inspur-hsslab/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 23 | 2021-06-26T08:45:19.000Z | 2022-03-02T02:13:33.000Z | configs/m4c/m4c_textvqa.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | null | null | null | configs/m4c/m4c_textvqa.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 9 | 2021-06-10T02:36:20.000Z | 2021-11-09T02:18:16.000Z | _base_ = [
'../_base_/datasets/textvqa_dataset.py',
'../_base_/models/m4c_config.py',
'../_base_/schedules/schedule_textvqa.py',
'../_base_/textvqa_default_runtime.py'
] # yapf:disable
| 28.857143 | 46 | 0.673267 | 23 | 202 | 5.26087 | 0.608696 | 0.14876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.133663 | 202 | 6 | 47 | 33.666667 | 0.685714 | 0.059406 | 0 | 0 | 0 | 0 | 0.755319 | 0.755319 | 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 |
7a2b708727066cb7d35621770ae7450a27ba6d39 | 379 | py | Python | metanic/posts/api/viewsets.py | LimpidTech/melody | a00b99f9b697864a078e2cb886be4d75c10458a9 | [
"BSD-3-Clause"
] | null | null | null | metanic/posts/api/viewsets.py | LimpidTech/melody | a00b99f9b697864a078e2cb886be4d75c10458a9 | [
"BSD-3-Clause"
] | 1 | 2020-02-11T21:34:24.000Z | 2020-02-11T21:34:24.000Z | metanic/posts/api/viewsets.py | LimpidTech/melody | a00b99f9b697864a078e2cb886be4d75c10458a9 | [
"BSD-3-Clause"
] | null | null | null | from metanic.posts import models
from metanic.rest import viewsets
from . import serializers
class PostViewSet(viewsets.MetanicModelViewSet):
queryset = models.Post.objects.all()
serializer_class = serializers.PostSerializer
class TopicViewSet(viewsets.MetanicModelViewSet):
queryset = models.Topic.objec... | 29.153846 | 50 | 0.804749 | 39 | 379 | 7.769231 | 0.512821 | 0.072607 | 0.231023 | 0.270627 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124011 | 379 | 13 | 50 | 29.153846 | 0.912651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7a34f037e440e8e8b98dfe6e8bc5d552644b7a0e | 8,266 | py | Python | encoding/functions/syncbn.py | grow-yhq/PyTorch-Encoding | 06cb3098f67a6daa2d7a3b772d9f799a506cc5ff | [
"MIT"
] | null | null | null | encoding/functions/syncbn.py | grow-yhq/PyTorch-Encoding | 06cb3098f67a6daa2d7a3b772d9f799a506cc5ff | [
"MIT"
] | null | null | null | encoding/functions/syncbn.py | grow-yhq/PyTorch-Encoding | 06cb3098f67a6daa2d7a3b772d9f799a506cc5ff | [
"MIT"
] | null | null | null | ##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
## Created by: Hang Zhang
## ECE Department, Rutgers University
## Email: zhang.hang@rutgers.edu
## Copyright (c) 2017
##
## This source code is licensed under the MIT-style license found in the
## LICENSE file in the root directory of this sou... | 40.321951 | 87 | 0.612146 | 969 | 8,266 | 5.054696 | 0.153767 | 0.067987 | 0.053083 | 0.077583 | 0.780523 | 0.767252 | 0.743977 | 0.731319 | 0.698448 | 0.685178 | 0 | 0.004743 | 0.260344 | 8,266 | 204 | 88 | 40.519608 | 0.796369 | 0.124123 | 0 | 0.653061 | 0 | 0 | 0.027213 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 1 | 0.07483 | false | 0 | 0.020408 | 0 | 0.183673 | 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 |
7a3c6a4e700ab89c727793d7555b25e31d4228d7 | 76 | py | Python | covidapp/__init__.py | NikolaosDimitrakakis/Covid-19_dashboard_project | 8e038ff3ea527c5ec7f6e6d154ce39f1fc5efdc0 | [
"CNRI-Python"
] | 3 | 2020-04-14T16:08:56.000Z | 2020-04-19T16:49:24.000Z | covidapp/__init__.py | NikolaosDimitrakakis/Covid-19_dashboard_project | 8e038ff3ea527c5ec7f6e6d154ce39f1fc5efdc0 | [
"CNRI-Python"
] | 1 | 2020-12-13T19:49:32.000Z | 2020-12-13T19:49:32.000Z | covidapp/__init__.py | NikolaosDimitrakakis/Covid-19_dashboard_project | 8e038ff3ea527c5ec7f6e6d154ce39f1fc5efdc0 | [
"CNRI-Python"
] | 1 | 2020-05-12T05:18:33.000Z | 2020-05-12T05:18:33.000Z | from flask import Flask
app = Flask(__name__)
from covidapp import routes
| 12.666667 | 27 | 0.789474 | 11 | 76 | 5.090909 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 5 | 28 | 15.2 | 0.888889 | 0 | 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 |
7a622b366b1d18cebf290d9ac0e1dd2df8baa1be | 53 | py | Python | imageai/Detection/keras_resnet/layers/__init__.py | vickyvava/ImageAI | fc23bc1374d5a29f816c0895b37cb769b1766eac | [
"MIT"
] | 11 | 2020-01-23T12:55:22.000Z | 2021-06-23T15:34:41.000Z | imageai/Detection/keras_resnet/layers/__init__.py | vickyvava/ImageAI | fc23bc1374d5a29f816c0895b37cb769b1766eac | [
"MIT"
] | 9 | 2020-01-28T22:48:49.000Z | 2022-02-10T00:11:17.000Z | imageai/Detection/keras_resnet/layers/__init__.py | vickyvava/ImageAI | fc23bc1374d5a29f816c0895b37cb769b1766eac | [
"MIT"
] | 3 | 2020-01-23T12:59:58.000Z | 2021-05-21T12:30:09.000Z | from ._batch_normalization import BatchNormalization
| 26.5 | 52 | 0.90566 | 5 | 53 | 9.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.938776 | 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 |
7a6340e6bee10ca8f7090c3de2f2d0c92b5f3599 | 108 | py | Python | gltflib/enums/buffer_target.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | null | null | null | gltflib/enums/buffer_target.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | null | null | null | gltflib/enums/buffer_target.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | null | null | null | from enum import Enum
class BufferTarget(Enum):
ARRAY_BUFFER = 34962
ELEMENT_ARRAY_BUFFER = 34963
| 15.428571 | 32 | 0.75 | 14 | 108 | 5.571429 | 0.714286 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 0.203704 | 108 | 6 | 33 | 18 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7a77e734cf50b5fc53e70450ce9c89b0c0e2c293 | 61 | py | Python | pyNTM/exceptions.py | fooelisa/network_traffic_modeler_py3 | 9c5151c066331536b6864f7c5e152de3c352282f | [
"Apache-2.0"
] | 102 | 2018-09-16T00:14:05.000Z | 2022-03-24T09:07:37.000Z | pyNTM/exceptions.py | fooelisa/network_traffic_modeler_py3 | 9c5151c066331536b6864f7c5e152de3c352282f | [
"Apache-2.0"
] | 17 | 2019-01-17T14:00:50.000Z | 2021-05-05T14:59:36.000Z | pyNTM/exceptions.py | fooelisa/network_traffic_modeler_py3 | 9c5151c066331536b6864f7c5e152de3c352282f | [
"Apache-2.0"
] | 10 | 2019-08-14T20:57:34.000Z | 2022-03-24T09:07:42.000Z | """Exceptions"""
class ModelException(Exception):
pass
| 10.166667 | 32 | 0.688525 | 5 | 61 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 61 | 5 | 33 | 12.2 | 0.823529 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7a96324ed66cf757db143794b7c581aaf7c9c041 | 122 | py | Python | BitMagic/Kth_least_significant_bit.py | Anshir08/D.S.A. | 39d518a6edf0b9a9468c6b44e7795275de9b39e6 | [
"MIT"
] | null | null | null | BitMagic/Kth_least_significant_bit.py | Anshir08/D.S.A. | 39d518a6edf0b9a9468c6b44e7795275de9b39e6 | [
"MIT"
] | null | null | null | BitMagic/Kth_least_significant_bit.py | Anshir08/D.S.A. | 39d518a6edf0b9a9468c6b44e7795275de9b39e6 | [
"MIT"
] | null | null | null | def KthLSB(n, k):
return (n>>(k-1))&1
if __name__ == '__main__':
n = 10
k = 4
print(KthLSB(n, k)) | 15.25 | 27 | 0.467213 | 20 | 122 | 2.45 | 0.6 | 0.122449 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 0.336066 | 122 | 8 | 28 | 15.25 | 0.54321 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
7aa4e2c3aefbdc7bb71e13bf712e9db8a9a8e9c6 | 401 | py | Python | portfolio_web/admin.py | jiachengzhang1/portfolio-web | 796c3bb95216b6417d9d92291425405eebb2e7d9 | [
"MIT"
] | 1 | 2020-08-10T18:23:28.000Z | 2020-08-10T18:23:28.000Z | portfolio_web/admin.py | jiachengzhang1/portfolio-web | 796c3bb95216b6417d9d92291425405eebb2e7d9 | [
"MIT"
] | 10 | 2020-08-19T18:42:10.000Z | 2022-03-12T00:46:20.000Z | portfolio_web/admin.py | jiachengzhang1/portfolio-web | 796c3bb95216b6417d9d92291425405eebb2e7d9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import WebsiteInfo
from .models import Summary
from .models import Project
from .models import Technology
from .models import Experience
from .models import Education
admin.site.register(WebsiteInfo)
admin.site.register(Summary)
admin.site.register(Project)
admin.site.reg... | 25.0625 | 32 | 0.832918 | 53 | 401 | 6.301887 | 0.264151 | 0.179641 | 0.287425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089776 | 401 | 15 | 33 | 26.733333 | 0.915068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 0 | 0.538462 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7aba8bb5d59e10590c90670a11eafa5e1a859459 | 190 | py | Python | src/parsing/util.py | stmario/yinyang | 92855ca03475499b69f5646fa5574b2a62cb0453 | [
"MIT"
] | null | null | null | src/parsing/util.py | stmario/yinyang | 92855ca03475499b69f5646fa5574b2a62cb0453 | [
"MIT"
] | null | null | null | src/parsing/util.py | stmario/yinyang | 92855ca03475499b69f5646fa5574b2a62cb0453 | [
"MIT"
] | null | null | null | def debug(ctx,n):
print("######### BEGIN DEBUG"+n+"################")
print(ctx.getText())
print("######### END DEBUG ################")
class ASTException(Exception):
pass
| 23.75 | 55 | 0.452632 | 18 | 190 | 4.777778 | 0.666667 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 190 | 7 | 56 | 27.142857 | 0.5375 | 0 | 0 | 0 | 0 | 0 | 0.384211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0 | 0 | 0.333333 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 4 |
8f8b704a50d273a569e6f93811f1663cacc15754 | 108 | py | Python | client/__init__.py | georgemunyoro/code-jam | d589d704584177a1fe68d13c77d6d55802e52844 | [
"MIT"
] | 1 | 2021-07-09T18:06:12.000Z | 2021-07-09T18:06:12.000Z | client/__init__.py | GianisTsol/online-snake-tui | e3cd6fb386289e04f2b0deafa74767018398987a | [
"MIT"
] | 3 | 2021-07-12T13:25:58.000Z | 2021-07-15T18:32:16.000Z | client/__init__.py | GianisTsol/online-snake-tui | e3cd6fb386289e04f2b0deafa74767018398987a | [
"MIT"
] | 2 | 2021-07-09T19:07:27.000Z | 2021-07-11T13:15:16.000Z | """A TUI client to the snake game."""
# This file exists to denote to Python that the folder is a package.
| 27 | 68 | 0.712963 | 20 | 108 | 3.85 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 108 | 3 | 69 | 36 | 0.895349 | 0.916667 | 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 |
8fbb40cfdd59484af9c201908e3fea3a977474f0 | 52,535 | py | Python | api/messages_api.py | asvbkr/ttb_client_py | 84bf655c797d301c597d00cf7947495874d936b2 | [
"Apache-2.0"
] | 9 | 2019-08-17T15:04:09.000Z | 2020-07-13T09:56:36.000Z | api/messages_api.py | asvbkr/ttb_client_py | 84bf655c797d301c597d00cf7947495874d936b2 | [
"Apache-2.0"
] | null | null | null | api/messages_api.py | asvbkr/ttb_client_py | 84bf655c797d301c597d00cf7947495874d936b2 | [
"Apache-2.0"
] | 2 | 2019-07-13T05:41:12.000Z | 2020-04-20T21:45:46.000Z | # coding: utf-8
"""
TamTam Bot API
# About Bot API allows bots to interact with TamTam. Methods are called by sending HTTPS requests to [botapi.tamtam.chat](https://botapi.tamtam.chat) domain. Bots are third-party applications that use TamTam features. A bot can legitimately take part in a conversation. It ca... | 66.668782 | 13,145 | 0.668659 | 6,847 | 52,535 | 4.945085 | 0.111144 | 0.032133 | 0.050444 | 0.015594 | 0.723116 | 0.707877 | 0.69946 | 0.687026 | 0.6779 | 0.660209 | 0 | 0.024314 | 0.23668 | 52,535 | 787 | 13,146 | 66.753494 | 0.81973 | 0.550642 | 0 | 0.720657 | 0 | 0.014085 | 0.216698 | 0.024057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035211 | false | 0 | 0.00939 | 0 | 0.098592 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8fbf0570b9bbc4396964c5938f1e570c5c177eeb | 4,270 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtCore/QStateMachine.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QStateMachine.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QStateMachine.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtCore
# from C:\Python27\lib\site-packages\PySide\QtCore.pyd
# by generator 1.147
# no doc
# imports
import Shiboken as __Shiboken
from QState import QState
class QStateMachine(QState):
# no doc
def addDefaultAnimation(self, *args, **kwargs): # real signature unknown
... | 33.359375 | 109 | 0.678689 | 445 | 4,270 | 6.462921 | 0.220225 | 0.140125 | 0.215577 | 0.187761 | 0.562935 | 0.507302 | 0.507302 | 0.494089 | 0.032684 | 0 | 0 | 0.00687 | 0.215925 | 4,270 | 127 | 110 | 33.622047 | 0.852151 | 0.325293 | 0 | 0.3875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3875 | false | 0.3875 | 0.025 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8ffd5c97299c295457f553aefd53fad4e1ea4f27 | 1,936 | py | Python | python-algorithm/leetcode/problem_715.py | isudox/nerd-algorithm | c1fbe153953cf3fc24395f75d102016fdf9ea0fa | [
"MIT"
] | 5 | 2017-06-11T09:19:34.000Z | 2019-01-16T16:58:31.000Z | python-algorithm/leetcode/problem_715.py | isudox/leetcode-solution | 60085e64deaf396a171367affc94b18114565c43 | [
"MIT"
] | 5 | 2020-03-22T13:53:54.000Z | 2020-03-23T08:49:35.000Z | python-algorithm/leetcode/problem_715.py | isudox/nerd-algorithm | c1fbe153953cf3fc24395f75d102016fdf9ea0fa | [
"MIT"
] | 1 | 2019-03-02T15:50:43.000Z | 2019-03-02T15:50:43.000Z | """715. Range Module
https://leetcode.com/problems/range-module/
A Range Module is a module that tracks ranges of numbers. Your task is to
design and implement the following interfaces in an efficient manner.
addRange(int left, int right) Adds the half-open interval [left, right),
tracking every real number in that ... | 35.2 | 105 | 0.735021 | 312 | 1,936 | 4.535256 | 0.352564 | 0.057244 | 0.050883 | 0.031802 | 0.25159 | 0.169611 | 0.103887 | 0.103887 | 0.040989 | 0 | 0 | 0.041165 | 0.184401 | 1,936 | 54 | 106 | 35.851852 | 0.854972 | 0.849174 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8904623907d9b376ce469d3c3f0141e1aab434b9 | 152 | py | Python | util/file_reader.py | nikholasborges/Database_to_CSV_App | 64f9bfaedd2bfc6f9bdd87e2c79dbee7d4df889c | [
"MIT"
] | 1 | 2021-02-24T19:45:56.000Z | 2021-02-24T19:45:56.000Z | util/file_reader.py | nikholasborges/Database_to_CSV_App | 64f9bfaedd2bfc6f9bdd87e2c79dbee7d4df889c | [
"MIT"
] | null | null | null | util/file_reader.py | nikholasborges/Database_to_CSV_App | 64f9bfaedd2bfc6f9bdd87e2c79dbee7d4df889c | [
"MIT"
] | null | null | null | class FileReader:
def __init__(self):
pass
def read_text_file(self, path):
file = open(path, 'r')
return file.read() | 15.2 | 35 | 0.565789 | 19 | 152 | 4.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322368 | 152 | 10 | 36 | 15.2 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
890b64dd7e2e21db75677d532e1791c391261e22 | 162 | py | Python | prev_ob_models/Migliore2015operators/mkdict.py | fameshpatel/olfactorybulb | 8d7a644b4560309ef177c0590ff73ed4c2432604 | [
"MIT"
] | 5 | 2019-10-03T14:49:02.000Z | 2022-01-13T13:37:34.000Z | prev_ob_models/Migliore2015operators/mkdict.py | fameshpatel/olfactorybulb | 8d7a644b4560309ef177c0590ff73ed4c2432604 | [
"MIT"
] | 4 | 2019-12-30T15:57:24.000Z | 2020-10-07T22:42:50.000Z | prev_ob_models/Migliore2015operators/mkdict.py | fameshpatel/olfactorybulb | 8d7a644b4560309ef177c0590ff73ed4c2432604 | [
"MIT"
] | 2 | 2020-05-19T20:12:48.000Z | 2020-11-04T17:17:44.000Z |
import custom_params
custom_params.filename = 'g37e1i002'
from common import rank
import bindict
import params
bindict.mknetwork([37])
bindict.save('g37.dic')
| 14.727273 | 36 | 0.796296 | 22 | 162 | 5.772727 | 0.636364 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.111111 | 162 | 10 | 37 | 16.2 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
8f31e9bd48d4c9eacb5a7422ff9da2e0403636a8 | 266 | py | Python | gira_homeserver_api/__init__.py | leoyn/gira-homeserver-api | 7d642413a56078f694518d9189b4b7cc9776482d | [
"MIT"
] | 5 | 2020-03-17T12:45:50.000Z | 2022-03-07T10:55:50.000Z | gira_homeserver_api/__init__.py | leoyn/gira-homeserver-api | 7d642413a56078f694518d9189b4b7cc9776482d | [
"MIT"
] | 3 | 2020-04-17T09:53:45.000Z | 2021-01-25T22:14:14.000Z | gira_homeserver_api/__init__.py | leoyn/gira-homeserver-api | 7d642413a56078f694518d9189b4b7cc9776482d | [
"MIT"
] | 1 | 2020-04-17T06:51:50.000Z | 2020-04-17T06:51:50.000Z | from .client import Client
from .parser import Parser
# devices
from .devices.binary_device import BinaryDevice
from .devices.normalized_device import NormalizedDevice
from .devices.sequence_device import SequenceDevice
from .devices.value_device import ValueDevice | 33.25 | 55 | 0.860902 | 33 | 266 | 6.818182 | 0.424242 | 0.195556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097744 | 266 | 8 | 56 | 33.25 | 0.9375 | 0.026316 | 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 |
8f3c2bbe548bcdc83d655fceabe7e5f0e567b7b2 | 4,261 | py | Python | src/kalyna_cipher/classKey.py | hunkob/piics_project | 2f5d693ab44b04ab65994f5cd67fdfd530731c67 | [
"Apache-2.0"
] | null | null | null | src/kalyna_cipher/classKey.py | hunkob/piics_project | 2f5d693ab44b04ab65994f5cd67fdfd530731c67 | [
"Apache-2.0"
] | null | null | null | src/kalyna_cipher/classKey.py | hunkob/piics_project | 2f5d693ab44b04ab65994f5cd67fdfd530731c67 | [
"Apache-2.0"
] | null | null | null | from kalyna_cipher.classBasic import classBasic
from kalyna_cipher.classTable import classTable
class classKey(classBasic):
def __init__(self, var_c, var_l, var_k, var_t):
classBasic.__init__(self, var_c, var_l)
self.var_k = var_k
self.var_t = var_t
self.Ka = self.func_gen_matrix()... | 45.817204 | 81 | 0.585309 | 608 | 4,261 | 3.78125 | 0.110197 | 0.191388 | 0.104393 | 0.079165 | 0.790344 | 0.749891 | 0.715963 | 0.715963 | 0.673336 | 0.640713 | 0 | 0.010176 | 0.308144 | 4,261 | 92 | 82 | 46.315217 | 0.769674 | 0.004224 | 0 | 0.554217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060241 | false | 0 | 0.024096 | 0 | 0.120482 | 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 |
8f4e29e7f1381fa562c3e9417f9cc103ddf814ae | 138 | py | Python | cif2aims.py | ttlbyte/scripts | e7d00472c5e4f735d3d1fddabfa2887dda5324f3 | [
"MIT"
] | null | null | null | cif2aims.py | ttlbyte/scripts | e7d00472c5e4f735d3d1fddabfa2887dda5324f3 | [
"MIT"
] | null | null | null | cif2aims.py | ttlbyte/scripts | e7d00472c5e4f735d3d1fddabfa2887dda5324f3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from ase import io
atoms = io.read('/home/ruan/Documents/ZnO_slab/aims.cif')
atoms.write('POSCAR", format = 'vasp')
| 27.6 | 57 | 0.717391 | 23 | 138 | 4.26087 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 4 | 58 | 34.5 | 0.784 | 0.144928 | 0 | 0 | 0 | 0 | 0.478632 | 0.324786 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
56e1bfc6bffc8787f17dd52871c799754c3f7298 | 363 | py | Python | constants/texts.py | tamasmagyar/egyeni_vallalkozo_kalkulator | 5f892e9c14d073e6abcde174562406d439236d11 | [
"MIT"
] | null | null | null | constants/texts.py | tamasmagyar/egyeni_vallalkozo_kalkulator | 5f892e9c14d073e6abcde174562406d439236d11 | [
"MIT"
] | null | null | null | constants/texts.py | tamasmagyar/egyeni_vallalkozo_kalkulator | 5f892e9c14d073e6abcde174562406d439236d11 | [
"MIT"
] | null | null | null | ATALANY_40_DESC = "40 % költséghányad (bármely tevékenység)"
ATALANY_80_DESC = "80 % költséghányad (például építőipari kivitelezés, építőipari szolgáltatás, gépjárműjavítás, háztartási cikk javítása, taxis személyszállítás, fodrászat, szépségápolás, számítógép javítása, vendéglátó tevékenység)"
ATALANY_90_DESC = "90 % ... | 121 | 234 | 0.829201 | 36 | 363 | 8.194444 | 0.666667 | 0.122034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.099174 | 363 | 3 | 235 | 121 | 0.865443 | 0 | 0 | 0 | 0 | 0.333333 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
56e692d889aa3a6ada2f684142cf5bf604dfca90 | 79 | py | Python | sound_generator/sound_generator/ddsp_generator/__init__.py | Leofltt/rg_sound_generation | 8e79b4d9dce028def43284f80521a2ec61d0066c | [
"MIT"
] | null | null | null | sound_generator/sound_generator/ddsp_generator/__init__.py | Leofltt/rg_sound_generation | 8e79b4d9dce028def43284f80521a2ec61d0066c | [
"MIT"
] | null | null | null | sound_generator/sound_generator/ddsp_generator/__init__.py | Leofltt/rg_sound_generation | 8e79b4d9dce028def43284f80521a2ec61d0066c | [
"MIT"
] | null | null | null | from .model import DDSPGenerator
from .data_processor import DDSPDataProcessor
| 26.333333 | 45 | 0.873418 | 9 | 79 | 7.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 46 | 39.5 | 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 |
56e911a669b119c10f99ca0021c54cc6f9e7cc27 | 282 | py | Python | pyspace/event.py | cdent/pyspace | 3b33beda95323d404114961bf6b24f556a6d9b1c | [
"Apache-2.0"
] | null | null | null | pyspace/event.py | cdent/pyspace | 3b33beda95323d404114961bf6b24f556a6d9b1c | [
"Apache-2.0"
] | null | null | null | pyspace/event.py | cdent/pyspace | 3b33beda95323d404114961bf6b24f556a6d9b1c | [
"Apache-2.0"
] | null | null | null | """
Events, the fundamental message.
"""
class SpaceEvent(object):
def __init__(self, data):
self.data = data
def __str__(self):
return '<%s>: %s' % (self.__class__.__name__, self.data)
class KernelEvent(SpaceEvent):
"""A special event."""
pass
| 16.588235 | 64 | 0.613475 | 32 | 282 | 4.90625 | 0.625 | 0.152866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230496 | 282 | 16 | 65 | 17.625 | 0.723502 | 0.173759 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
56eee1ce03732f40c28cbd3aae0aec632a4cc10d | 200 | py | Python | backend/fastapi/app/users/__init__.py | Dikower/hack-starter | b0a561495aa43336a7badd6c65d6a0ef2dbd12a0 | [
"MIT"
] | 8 | 2021-07-06T12:02:53.000Z | 2022-02-20T23:50:39.000Z | backend/fastapi/app/users/__init__.py | Dikower/hack-starter | b0a561495aa43336a7badd6c65d6a0ef2dbd12a0 | [
"MIT"
] | null | null | null | backend/fastapi/app/users/__init__.py | Dikower/hack-starter | b0a561495aa43336a7badd6c65d6a0ef2dbd12a0 | [
"MIT"
] | null | null | null | from tortoise import Tortoise
from .controllers import router
def init(app):
app.include_router(router, prefix="/users", tags=["Users"])
Tortoise.init_models(["app.users.models"], "users")
| 22.222222 | 63 | 0.72 | 26 | 200 | 5.461538 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 200 | 8 | 64 | 25 | 0.816092 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
56ffdeec21c46c7afd6f27b7635ada5fa6de0406 | 120 | py | Python | break_config.py | sodaphish/break | 7f3eae619904eb4488c1067a768d93f41bb7c816 | [
"MIT"
] | null | null | null | break_config.py | sodaphish/break | 7f3eae619904eb4488c1067a768d93f41bb7c816 | [
"MIT"
] | null | null | null | break_config.py | sodaphish/break | 7f3eae619904eb4488c1067a768d93f41bb7c816 | [
"MIT"
] | null | null | null | import sys
try:
from sp.base import Logging
except Exception as e:
print "couldn't load splib"
sys.exit(1)
| 15 | 31 | 0.683333 | 20 | 120 | 4.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.241667 | 120 | 7 | 32 | 17.142857 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
71012ad6d34232d0a3929e31a4aefcb733c34e84 | 75 | py | Python | src/test/resources/python-code-examples/deducetype_nonparam.py | florayym/depends | 6c437a78268d91d54059b560c0273ae3c9253452 | [
"BSD-3-Clause",
"MIT"
] | 146 | 2019-03-09T03:02:59.000Z | 2022-03-28T11:28:41.000Z | src/test/resources/python-code-examples/deducetype_nonparam.py | florayym/depends | 6c437a78268d91d54059b560c0273ae3c9253452 | [
"BSD-3-Clause",
"MIT"
] | 27 | 2019-03-11T02:12:54.000Z | 2021-12-21T00:24:13.000Z | src/test/resources/python-code-examples/deducetype_nonparam.py | florayym/depends | 6c437a78268d91d54059b560c0273ae3c9253452 | [
"BSD-3-Clause",
"MIT"
] | 41 | 2019-03-09T03:04:50.000Z | 2022-01-14T06:53:14.000Z | class Type1:
def f1_1():
pass
def test(t1):
t1.f1_1()
t2 = t1
| 7.5 | 13 | 0.533333 | 14 | 75 | 2.714286 | 0.642857 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.32 | 75 | 9 | 14 | 8.333333 | 0.568627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
710f04cf4d86ffcaf69618bbc5ee2b490fd8814b | 317 | py | Python | run.py | koonwen/YNC-Gym-Counter | e5000f1e8665c275f0a3c66ade7084d94e6526ad | [
"Apache-2.0"
] | null | null | null | run.py | koonwen/YNC-Gym-Counter | e5000f1e8665c275f0a3c66ade7084d94e6526ad | [
"Apache-2.0"
] | null | null | null | run.py | koonwen/YNC-Gym-Counter | e5000f1e8665c275f0a3c66ade7084d94e6526ad | [
"Apache-2.0"
] | 1 | 2021-11-05T06:15:33.000Z | 2021-11-05T06:15:33.000Z | import os
import app
from app import db
from werkzeug.security import generate_password_hash
os.environ["PI_USERNAME"] = 'pi'
os.environ["PI_PASSWORD"] = generate_password_hash("pi")
app = app.create_app({
"ENV": 'development',
"DEBUG": True,
"TESTING": True
})
if __name__ == "__main__":
app.run() | 19.8125 | 56 | 0.694006 | 43 | 317 | 4.767442 | 0.534884 | 0.156098 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160883 | 317 | 16 | 57 | 19.8125 | 0.770677 | 0 | 0 | 0 | 1 | 0 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.307692 | 0 | 0.307692 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
71164e63d56ce2368f8a3af13857ac319d858974 | 39 | py | Python | Python/School/Project/q1.py | abdalrhmanyasser/Abdalrhman_Rep | e0fc3caa2cc04e92f591ccd7934586986d194000 | [
"CC0-1.0"
] | null | null | null | Python/School/Project/q1.py | abdalrhmanyasser/Abdalrhman_Rep | e0fc3caa2cc04e92f591ccd7934586986d194000 | [
"CC0-1.0"
] | null | null | null | Python/School/Project/q1.py | abdalrhmanyasser/Abdalrhman_Rep | e0fc3caa2cc04e92f591ccd7934586986d194000 | [
"CC0-1.0"
] | null | null | null | for i in input("text"):
print(i*2)
| 13 | 23 | 0.564103 | 8 | 39 | 2.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.230769 | 39 | 2 | 24 | 19.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7120fb52ab1307db8059d3bb70701ece91389e7c | 156 | py | Python | as_chem/data/as_data_utils.py | scarcella/torchchem | 48540715948cf75a2018eff736c00a3040f38fa7 | [
"MIT"
] | null | null | null | as_chem/data/as_data_utils.py | scarcella/torchchem | 48540715948cf75a2018eff736c00a3040f38fa7 | [
"MIT"
] | null | null | null | as_chem/data/as_data_utils.py | scarcella/torchchem | 48540715948cf75a2018eff736c00a3040f38fa7 | [
"MIT"
] | null | null | null | import numpy as np
def split(dataset, splits_p):
splits = len(dataset)*np.array(splits_p)
splits = [int(p) for p in list(splits)]
return splits | 26 | 44 | 0.685897 | 26 | 156 | 4.038462 | 0.615385 | 0.133333 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198718 | 156 | 6 | 45 | 26 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
853916a374bcd7e1b0134a0df3ec4607be6a0095 | 650 | py | Python | tests/test_auth_models.py | hydrobase/core_app | 8cac7049d21c077eaf7e1d363f2e48165aa39c21 | [
"MIT"
] | null | null | null | tests/test_auth_models.py | hydrobase/core_app | 8cac7049d21c077eaf7e1d363f2e48165aa39c21 | [
"MIT"
] | 29 | 2016-02-28T23:24:44.000Z | 2017-12-25T05:56:41.000Z | tests/test_auth_models.py | hydrobase/core_app | 8cac7049d21c077eaf7e1d363f2e48165aa39c21 | [
"MIT"
] | 8 | 2016-02-24T18:38:17.000Z | 2020-06-21T15:09:30.000Z | import unittest
from app import app
from app.auth.models import User
class TestAuthModels(unittest.TestCase):
def setUp(self):
self.app = app.test_client()
self.user = User('admin')
def tearDown(self):
pass
def test_is_authenticated(self):
self.assertEquals(True, self.us... | 21.666667 | 61 | 0.673846 | 85 | 650 | 4.905882 | 0.364706 | 0.095923 | 0.191847 | 0.115108 | 0.16307 | 0.16307 | 0.16307 | 0 | 0 | 0 | 0 | 0 | 0.207692 | 650 | 29 | 62 | 22.413793 | 0.809709 | 0 | 0 | 0 | 0 | 0 | 0.027692 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.315789 | false | 0.052632 | 0.157895 | 0 | 0.526316 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
854cca28e19b412ce3bb8e3a7de110f9d4dffc46 | 91 | py | Python | ocsmesh/mesh/__init__.py | noaa-ocs-modeling/geomesh | 6d99a282b6c87c44013db8897b9e0d1f83c3c028 | [
"CC0-1.0"
] | null | null | null | ocsmesh/mesh/__init__.py | noaa-ocs-modeling/geomesh | 6d99a282b6c87c44013db8897b9e0d1f83c3c028 | [
"CC0-1.0"
] | 2 | 2021-07-21T21:16:40.000Z | 2021-08-02T17:28:48.000Z | ocsmesh/mesh/__init__.py | noaa-ocs-modeling/geomesh | 6d99a282b6c87c44013db8897b9e0d1f83c3c028 | [
"CC0-1.0"
] | 1 | 2021-11-19T00:49:41.000Z | 2021-11-19T00:49:41.000Z | from ocsmesh.mesh.mesh import Mesh, EuclideanMesh2D
__all__ = ["Mesh", "EuclideanMesh2D"]
| 22.75 | 51 | 0.769231 | 10 | 91 | 6.6 | 0.6 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.10989 | 91 | 3 | 52 | 30.333333 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.208791 | 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 |
85afd026dfb49f5638c327e08d57471c141df44b | 1,045 | py | Python | tests/test.py | Muzix1/newpackage | ea0c67fd6254b73f456b22486b0d6b4efadc4334 | [
"MIT"
] | null | null | null | tests/test.py | Muzix1/newpackage | ea0c67fd6254b73f456b22486b0d6b4efadc4334 | [
"MIT"
] | null | null | null | tests/test.py | Muzix1/newpackage | ea0c67fd6254b73f456b22486b0d6b4efadc4334 | [
"MIT"
] | null | null | null | from newpackage import recursion, sorting
def test_bubble_sort():
"""
Ensuring that the sorting method works
"""
assert sorting.bubble_sort([3,8,3,9,4]) == [3,3,4,8,9], 'incorrect'
def test_merge_sort():
"""
Ensuring that the sorting method works
"""
assert sorting.merge_sort([3,8,3,9,... | 23.222222 | 71 | 0.626794 | 142 | 1,045 | 4.492958 | 0.246479 | 0.076803 | 0.15047 | 0.089342 | 0.376176 | 0.376176 | 0.376176 | 0.376176 | 0.376176 | 0.141066 | 0 | 0.047619 | 0.216268 | 1,045 | 44 | 72 | 23.75 | 0.73138 | 0.247847 | 0 | 0 | 0 | 0 | 0.107511 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 1 | 0.466667 | true | 0 | 0.066667 | 0 | 0.533333 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
85b0b2993bc4664e2e35bb37ec38050c3c2dc7d7 | 118 | py | Python | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/7/5_nested_while.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | null | null | null | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/7/5_nested_while.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | 3 | 2018-11-30T08:30:49.000Z | 2018-11-30T08:38:02.000Z | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/7/5_nested_while.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | 2 | 2018-07-01T14:11:47.000Z | 2018-11-04T01:06:55.000Z | i = 0
while i < 3:
print("i: ", i)
j = 0
while j < 3:
print("j: ", j)
j += 1
i += 1
| 10.727273 | 23 | 0.305085 | 20 | 118 | 1.8 | 0.35 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.508475 | 118 | 10 | 24 | 11.8 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
85b514b501960fd16039eb0d1cccd27529833f19 | 239 | py | Python | sesion14/models/author.py | joelibaceta/backend-codigo-10 | 75256580ce9975bcfa831fde884362787d82b71f | [
"MIT"
] | 1 | 2021-11-23T03:05:23.000Z | 2021-11-23T03:05:23.000Z | sesion14/models/author.py | joelibaceta/backend-codigo-10 | 75256580ce9975bcfa831fde884362787d82b71f | [
"MIT"
] | 1 | 2021-11-23T02:49:01.000Z | 2021-11-23T02:55:14.000Z | sesion14/models/author.py | joelibaceta/backend-codigo-10 | 75256580ce9975bcfa831fde884362787d82b71f | [
"MIT"
] | 1 | 2022-01-26T19:54:33.000Z | 2022-01-26T19:54:33.000Z | from sesion14.app import db
class Author(db.Model):
id = db.Column("idAuthor", db.Integer, primary_key=True)
first_name = db.Column(db.String(45))
last_name = db.Column(db.String(45))
nationality = db.Column(db.String(45)) | 34.142857 | 60 | 0.698745 | 38 | 239 | 4.315789 | 0.552632 | 0.195122 | 0.182927 | 0.292683 | 0.378049 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0.039409 | 0.150628 | 239 | 7 | 61 | 34.142857 | 0.768473 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a42f88a2b720e36fbf418130b5d1e368c6e7d18e | 220 | py | Python | django/tests/admin_views/templates/admin/admin_views/article/prepopulated_fields_js.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | django/tests/admin_views/templates/admin/admin_views/article/prepopulated_fields_js.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | django/tests/admin_views/templates/admin/admin_views/article/prepopulated_fields_js.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | BBBB BBBB BBBBBB
XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBX
XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX
| 31.428571 | 55 | 0.845455 | 10 | 220 | 18.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 220 | 6 | 56 | 36.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4398c2d82fe0d7c4ada5be70397606a471c5947 | 57 | py | Python | scripts/run_parsec.py | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 50 | 2015-10-21T23:16:35.000Z | 2021-09-27T12:52:04.000Z | scripts/run_parsec.py | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 187 | 2015-01-08T22:24:54.000Z | 2020-04-17T17:23:50.000Z | scripts/run_parsec.py | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 25 | 2015-11-02T17:54:49.000Z | 2020-06-16T07:28:11.000Z | #!/usr/bin/env python
import run
run.main(parsec=True)
| 9.5 | 21 | 0.719298 | 10 | 57 | 4.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 5 | 22 | 11.4 | 0.82 | 0.350877 | 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 |
a456e5300a62c60061616bfbe8569c973c9a9634 | 5,833 | py | Python | yubico/yubikey_base.py | Tiboris/python-yubico | a72e8eddb90da6ee96e29f60912ca1f2872c9aea | [
"BSD-2-Clause"
] | 161 | 2015-01-07T04:14:49.000Z | 2022-03-30T22:10:05.000Z | yubico/yubikey_base.py | Tiboris/python-yubico | a72e8eddb90da6ee96e29f60912ca1f2872c9aea | [
"BSD-2-Clause"
] | 39 | 2015-02-10T16:22:41.000Z | 2021-12-20T15:29:50.000Z | yubico/yubikey_base.py | Tiboris/python-yubico | a72e8eddb90da6ee96e29f60912ca1f2872c9aea | [
"BSD-2-Clause"
] | 35 | 2015-02-19T21:53:38.000Z | 2022-02-22T00:06:18.000Z | """
module for Yubikey base classes
"""
# Copyright (c) 2010, 2011, 2012 Yubico AB
# See the file COPYING for licence statement.
from .yubico_version import __version__
from . import yubico_exception
class YubiKeyError(yubico_exception.YubicoError):
"""
Exception raised concerning YubiKey operations.
At... | 29.311558 | 87 | 0.646837 | 743 | 5,833 | 4.921938 | 0.297443 | 0.081761 | 0.083675 | 0.087503 | 0.2379 | 0.210555 | 0.202352 | 0.146568 | 0.094613 | 0.083128 | 0 | 0.011681 | 0.280816 | 5,833 | 198 | 88 | 29.459596 | 0.860072 | 0.391051 | 0 | 0.305882 | 0 | 0 | 0.027945 | 0 | 0 | 0 | 0.000953 | 0 | 0 | 1 | 0.317647 | false | 0.058824 | 0.023529 | 0.2 | 0.694118 | 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 |
a4697a0f62d7dd99f23fd695d51e94c096f1813f | 179 | py | Python | LEVEL2/멀쩡한사각형/solution.py | seunghwanly/CODING-TEST | a820da950c163d399594770199aa2e782d1fbbde | [
"MIT"
] | null | null | null | LEVEL2/멀쩡한사각형/solution.py | seunghwanly/CODING-TEST | a820da950c163d399594770199aa2e782d1fbbde | [
"MIT"
] | null | null | null | LEVEL2/멀쩡한사각형/solution.py | seunghwanly/CODING-TEST | a820da950c163d399594770199aa2e782d1fbbde | [
"MIT"
] | null | null | null | def gcd(a,b):
res = 1
for i in range(1, min(a,b)+1):
if a % i == 0 and b % i == 0: res = i
return res
def solution(w,h):
return w * h - (w + h - gcd(w,h)) | 22.375 | 45 | 0.458101 | 39 | 179 | 2.102564 | 0.461538 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0.351955 | 179 | 8 | 46 | 22.375 | 0.663793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a46e8a02384dcde09ec58b7f9ff88e38d8223817 | 66 | py | Python | Hack/Lua/5.1/SciTE/scite-debug/tests/test1.py | andregoro/sitemain | 44d9eb6e7e29253b89664efb462829294d0d6326 | [
"FSFAP"
] | 16 | 2020-09-20T22:32:54.000Z | 2021-04-02T17:14:25.000Z | Hack/Lua/5.1/SciTE/scite-debug/tests/test1.py | andregoro/sitemain | 44d9eb6e7e29253b89664efb462829294d0d6326 | [
"FSFAP"
] | 3 | 2020-09-30T11:41:49.000Z | 2021-12-19T23:27:19.000Z | Hack/Lua/5.1/SciTE/scite-debug/tests/test1.py | andregoro/sitemain | 44d9eb6e7e29253b89664efb462829294d0d6326 | [
"FSFAP"
] | 1 | 2020-06-29T07:13:57.000Z | 2020-06-29T07:13:57.000Z | def one(x):
print x
def two(x,y):
one(x)
one(y)
two(10,20)
| 7.333333 | 13 | 0.545455 | 16 | 66 | 2.25 | 0.5 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.242424 | 66 | 8 | 14 | 8.25 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4733ecc7b2f9369119ba5a9b7ad93314775d7c4 | 36 | py | Python | test/execfile_tests/exception.py | ilil01/qdt | 2921fb121f8c6e8cd29bd82fc4b591cb92abab78 | [
"BSD-3-Clause"
] | 29 | 2017-12-22T17:25:56.000Z | 2022-03-03T08:27:01.000Z | test/execfile_tests/exception.py | ilil01/qdt | 2921fb121f8c6e8cd29bd82fc4b591cb92abab78 | [
"BSD-3-Clause"
] | 33 | 2019-11-26T17:21:14.000Z | 2021-08-23T03:28:12.000Z | test/execfile_tests/exception.py | ilil01/qdt | 2921fb121f8c6e8cd29bd82fc4b591cb92abab78 | [
"BSD-3-Clause"
] | 7 | 2017-12-22T17:14:59.000Z | 2022-01-30T19:52:03.000Z | raise RuntimeError("An exception!")
| 18 | 35 | 0.777778 | 4 | 36 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ef7361a57d30334590a96bf1847fcc0fc884b59 | 100 | py | Python | Confluence/apps.py | sandeepinigithub/IPM | aa4ed033c78880beb854d1fdaeaf25c52ea7a1be | [
"MIT"
] | null | null | null | Confluence/apps.py | sandeepinigithub/IPM | aa4ed033c78880beb854d1fdaeaf25c52ea7a1be | [
"MIT"
] | null | null | null | Confluence/apps.py | sandeepinigithub/IPM | aa4ed033c78880beb854d1fdaeaf25c52ea7a1be | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ConfluenceConfig(AppConfig):
name = 'Confluence'
| 16.666667 | 35 | 0.73 | 10 | 100 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 100 | 5 | 36 | 20 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
f10da24a2541e20e1a1ca7b35e1d57d6fb444ff6 | 323 | py | Python | submodules/GAN_stability/gan_training/metrics/__init__.py | joebartusek/graf | 80e1014a1def2660a44188c69021f0c498b6cef9 | [
"MIT"
] | null | null | null | submodules/GAN_stability/gan_training/metrics/__init__.py | joebartusek/graf | 80e1014a1def2660a44188c69021f0c498b6cef9 | [
"MIT"
] | null | null | null | submodules/GAN_stability/gan_training/metrics/__init__.py | joebartusek/graf | 80e1014a1def2660a44188c69021f0c498b6cef9 | [
"MIT"
] | null | null | null | from submodules.GAN_stability.gan_training.metrics.inception_score import inception_score
from submodules.GAN_stability.gan_training.metrics.fid_score import FIDEvaluator
from submodules.GAN_stability.gan_training.metrics.kid_score import KIDEvaluator
__all__ = [
inception_score,
FIDEvaluator,
KIDEvaluator... | 32.3 | 89 | 0.848297 | 39 | 323 | 6.641026 | 0.358974 | 0.162162 | 0.196911 | 0.301158 | 0.509653 | 0.509653 | 0.509653 | 0 | 0 | 0 | 0 | 0 | 0.099071 | 323 | 9 | 90 | 35.888889 | 0.890034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f158e1bc1695b8c639f928d345b4109cbe614907 | 128 | py | Python | server_py/flatgov/server.py | aih/BillMap | d130b1396cb25b415cd7d9ea7389ad558a34eec1 | [
"CC0-1.0"
] | 2 | 2022-01-18T14:55:52.000Z | 2022-01-31T03:38:39.000Z | server_py/flatgov/server.py | aih/FlatGov | 8201ef1813bbc062841421017f492e877f75a5f8 | [
"CC0-1.0"
] | 321 | 2020-09-01T16:20:35.000Z | 2021-07-03T06:42:34.000Z | server_py/flatgov/server.py | aih/FlatGov | 8201ef1813bbc062841421017f492e877f75a5f8 | [
"CC0-1.0"
] | 1 | 2022-03-31T15:02:49.000Z | 2022-03-31T15:02:49.000Z | from waitress import serve
from flatgov.wsgi import application
if __name__ == '__main__':
serve(application, port='8000') | 21.333333 | 36 | 0.757813 | 16 | 128 | 5.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.148438 | 128 | 6 | 37 | 21.333333 | 0.779817 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 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 |
f1842ebe6f281c586237c6faeaf04dc25cda0558 | 57 | py | Python | esst/sentry/__init__.py | etcher-be/esst | ac41cd0c07af8ca8532997f533756c529c9609a4 | [
"MIT"
] | 4 | 2018-06-24T14:03:44.000Z | 2019-01-21T01:20:02.000Z | esst/sentry/__init__.py | etcher-be/esst | ac41cd0c07af8ca8532997f533756c529c9609a4 | [
"MIT"
] | 106 | 2018-06-24T13:59:52.000Z | 2019-11-26T09:05:14.000Z | esst/sentry/__init__.py | theendsofinvention/esst | ac41cd0c07af8ca8532997f533756c529c9609a4 | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Package to manage Sentry for ESST
"""
| 11.4 | 33 | 0.666667 | 9 | 57 | 4.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.175439 | 57 | 4 | 34 | 14.25 | 0.787234 | 0.824561 | 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 |
74c40944a3557c6f32d10a7aa41f2e40588efc24 | 2,163 | py | Python | code_template.py | GOAL-Robots/CAR_flow | 1113343ffe35c0e12d4dfcbd170e67fb2fb34e75 | [
"MIT"
] | 1 | 2021-09-17T06:42:51.000Z | 2021-09-17T06:42:51.000Z | code_template.py | GOAL-Robots/CAR_flow | 1113343ffe35c0e12d4dfcbd170e67fb2fb34e75 | [
"MIT"
] | 2 | 2021-08-25T16:16:47.000Z | 2021-09-08T09:32:46.000Z | code_template.py | GOAL-Robots/CAR_flow | 1113343ffe35c0e12d4dfcbd170e67fb2fb34e75 | [
"MIT"
] | 2 | 2021-06-07T12:30:29.000Z | 2021-06-07T12:36:42.000Z | #!/usr/bin/python
#
# Project Saturn
# _____________________________________________________________________________
#
# _.oo.
# June 2021 _.u[[/;:,. .odMMMMMM'
# ... | 35.459016 | 151 | 0.506704 | 155 | 2,163 | 5.070968 | 0.664516 | 0.012723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.358761 | 2,163 | 60 | 152 | 36.05 | 0.539293 | 0.91031 | 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 |
74cdc62a0f92edfdf1c494a5b15b9f12348a85b7 | 130 | py | Python | deuce/drivers/storage/metadata/__init__.py | TheSriram/deuce | 9e8a7a342275aa02d0a59953b5a8c96ffb760b51 | [
"Apache-2.0"
] | null | null | null | deuce/drivers/storage/metadata/__init__.py | TheSriram/deuce | 9e8a7a342275aa02d0a59953b5a8c96ffb760b51 | [
"Apache-2.0"
] | null | null | null | deuce/drivers/storage/metadata/__init__.py | TheSriram/deuce | 9e8a7a342275aa02d0a59953b5a8c96ffb760b51 | [
"Apache-2.0"
] | null | null | null |
from deuce.drivers.storage.metadata.metadatastoragedriver \
import MetadataStorageDriver, GapError, OverlapError # noqa
| 32.5 | 68 | 0.792308 | 11 | 130 | 9.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 3 | 69 | 43.333333 | 0.927928 | 0.030769 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.