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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9060aa77ad288459e31b292c692f7d695b06c73 | 325 | py | Python | src/urllib3/_compat.py | Stanislav1975/urllib3 | 21945b84b0707a3143b09ade5c59e8dbf6a69a0f | [
"MIT"
] | 2 | 2021-05-08T10:46:28.000Z | 2021-05-13T06:54:13.000Z | src/urllib3/_compat.py | Stanislav1975/urllib3 | 21945b84b0707a3143b09ade5c59e8dbf6a69a0f | [
"MIT"
] | null | null | null | src/urllib3/_compat.py | Stanislav1975/urllib3 | 21945b84b0707a3143b09ade5c59e8dbf6a69a0f | [
"MIT"
] | null | null | null | class RLock: # Python 3.6
# We shim out a context manager to be used as a compatibility layer
# if the system `threading` module doesn't have a real `RLock` available.
def __enter__(self) -> None:
pass
def __exit__(self, exc_type: object, exc_value: object, traceback: object) -> None:
... | 36.111111 | 87 | 0.667692 | 48 | 325 | 4.3125 | 0.791667 | 0.077295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.249231 | 325 | 8 | 88 | 40.625 | 0.840164 | 0.455385 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d90f73053ca972ef7955b05d9278e78fa228753a | 20 | py | Python | app/instance/config.py | Rickyngotho/pitch | aa48bcf0df20a1522a2d82587c3e9225c1122324 | [
"MIT"
] | null | null | null | app/instance/config.py | Rickyngotho/pitch | aa48bcf0df20a1522a2d82587c3e9225c1122324 | [
"MIT"
] | null | null | null | app/instance/config.py | Rickyngotho/pitch | aa48bcf0df20a1522a2d82587c3e9225c1122324 | [
"MIT"
] | null | null | null | SECRET_KEY = '12345' | 20 | 20 | 0.75 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0.1 | 20 | 1 | 20 | 20 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d92ef07785a578dc21e8b1433b743e66a2c5ee8f | 992 | py | Python | modeltranslation_wrapper/models.py | zlorf/django-modeltranslation-wrapper | 6a447f1bbafa9a9f2e6c666fd0ea51c773e1dc89 | [
"BSD-3-Clause"
] | 1 | 2015-05-21T08:33:51.000Z | 2015-05-21T08:33:51.000Z | modeltranslation_wrapper/models.py | zlorf/django-modeltranslation-wrapper | 6a447f1bbafa9a9f2e6c666fd0ea51c773e1dc89 | [
"BSD-3-Clause"
] | null | null | null | modeltranslation_wrapper/models.py | zlorf/django-modeltranslation-wrapper | 6a447f1bbafa9a9f2e6c666fd0ea51c773e1dc89 | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
try:
from modeltranslation import autodiscover
# direct patch will not be possible.
# one need to set 'modeltranslation_wrapper.patch' at end of MODELTRANSLATION_TRANSLATION_FILES
except ImportError:
# modeltranslation < 0.4, so use the translation autodiscover
sett... | 58.352941 | 106 | 0.819556 | 98 | 992 | 8.030612 | 0.397959 | 0.343075 | 0.400254 | 0.304956 | 0.232529 | 0.160102 | 0 | 0 | 0 | 0 | 0 | 0.002288 | 0.118952 | 992 | 16 | 107 | 62 | 0.898169 | 0.189516 | 0 | 0 | 0 | 0 | 0.2625 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d964922e86d4bfbeb0f7bcecb9646f3c53cdb9a7 | 447 | py | Python | project/controllers/pilotConsoleController.py | MattiaPeiretti/TVG | 5c815a7f829fc642e297691306d6292c843a284b | [
"Apache-2.0"
] | null | null | null | project/controllers/pilotConsoleController.py | MattiaPeiretti/TVG | 5c815a7f829fc642e297691306d6292c843a284b | [
"Apache-2.0"
] | null | null | null | project/controllers/pilotConsoleController.py | MattiaPeiretti/TVG | 5c815a7f829fc642e297691306d6292c843a284b | [
"Apache-2.0"
] | null | null | null | # Libs
import flask
# Modules
from project.visionGrabber.device import Device
def get_vision_feed():
return flask.Response(generate_frame_from_view(Device()), mimetype='multipart/x-mixed-replace; boundary=frame')
def generate_frame_from_view(camera):
while True:
#get camera frame
... | 29.8 | 116 | 0.682327 | 63 | 447 | 4.698413 | 0.555556 | 0.027027 | 0.114865 | 0.141892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190157 | 447 | 15 | 117 | 29.8 | 0.81768 | 0.06264 | 0 | 0 | 1 | 0 | 0.218905 | 0.064677 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.555556 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d976b2f7ad1fcfc7e02416606f807b97e38f0dbe | 27 | py | Python | ckanext/example_theme/v14_more_custom_css/plugin.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 2,805 | 2015-01-02T18:13:15.000Z | 2022-03-31T03:35:01.000Z | ckanext/example_theme/v14_more_custom_css/plugin.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 3,801 | 2015-01-02T11:05:36.000Z | 2022-03-31T19:24:37.000Z | ckanext/example_theme/v14_more_custom_css/plugin.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 1,689 | 2015-01-02T19:46:43.000Z | 2022-03-28T14:59:43.000Z | ../v13_custom_css/plugin.py | 27 | 27 | 0.814815 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 27 | 1 | 27 | 27 | 0.666667 | 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 |
79685cfb03e400035fb008da152a6eaada5879c2 | 129 | py | Python | tests/test_utils.py | kirillskor/dedoc | 7793a1be2220a26e7520521306351dfc0a9c8d98 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | kirillskor/dedoc | 7793a1be2220a26e7520521306351dfc0a9c8d98 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | kirillskor/dedoc | 7793a1be2220a26e7520521306351dfc0a9c8d98 | [
"Apache-2.0"
] | null | null | null | import os
def get_full_path(path, file=__file__):
dir_path = os.path.dirname(file)
return os.path.join(dir_path, path)
| 18.428571 | 39 | 0.72093 | 22 | 129 | 3.863636 | 0.5 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 129 | 6 | 40 | 21.5 | 0.787037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
798b41dd71b72ad2886638f64bfc50e69ab0c1b5 | 138 | py | Python | programming-laboratory-I/1wge/FC.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | programming-laboratory-I/1wge/FC.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | programming-laboratory-I/1wge/FC.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | f = float(raw_input())
c = (f - 32)/1.8
k = c + 273.15
print "Fahrenheit: %.3f F" %f
print "Celsius: %.3f C" %c
print "Kelvin: %.3f K" %k
| 19.714286 | 29 | 0.565217 | 28 | 138 | 2.75 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 0.202899 | 138 | 6 | 30 | 23 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0.34058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
79b5cb6d046779344b08269f431845dd55901b8b | 7,006 | py | Python | tests/test_config.py | isidentical/unimport | 53f3733e43cdcf090d76923b18cc5ef425d7a356 | [
"MIT"
] | 147 | 2019-09-19T15:43:06.000Z | 2022-03-25T16:42:08.000Z | tests/test_config.py | isidentical/unimport | 53f3733e43cdcf090d76923b18cc5ef425d7a356 | [
"MIT"
] | 154 | 2019-10-31T19:50:18.000Z | 2022-03-29T12:43:00.000Z | tests/test_config.py | isidentical/unimport | 53f3733e43cdcf090d76923b18cc5ef425d7a356 | [
"MIT"
] | 28 | 2019-10-31T18:11:13.000Z | 2021-09-06T08:24:14.000Z | import re
from pathlib import Path
from unittest import TestCase
from unimport import constants as C
from unimport import utils
from unimport.config import Config, DefaultConfig
TEST_DIR = Path(__file__).parent / "configs"
pyproject = TEST_DIR / "pyproject.toml"
setup_cfg = TEST_DIR / "setup.cfg"
no_unimport_pyproj... | 37.666667 | 78 | 0.687554 | 800 | 7,006 | 5.835 | 0.09625 | 0.070694 | 0.077121 | 0.053556 | 0.800985 | 0.772708 | 0.723865 | 0.677806 | 0.643102 | 0.555698 | 0 | 0.000534 | 0.197973 | 7,006 | 185 | 79 | 37.87027 | 0.830219 | 0 | 0 | 0.565789 | 0 | 0 | 0.051813 | 0.003426 | 0 | 0 | 0 | 0 | 0.506579 | 1 | 0.111842 | false | 0 | 0.098684 | 0 | 0.269737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
79c0f4d4ab41631fb941806671e83621fe306ccf | 179 | py | Python | src/test_import.py | usdot-its-jpo-data-portal/canary-lambda | 34a61cd7781edbd21d9b12b293dfddac3b35fbf7 | [
"Apache-2.0"
] | null | null | null | src/test_import.py | usdot-its-jpo-data-portal/canary-lambda | 34a61cd7781edbd21d9b12b293dfddac3b35fbf7 | [
"Apache-2.0"
] | 11 | 2019-03-27T20:46:16.000Z | 2021-08-17T17:58:47.000Z | src/test_import.py | usdot-its-jpo-data-portal/canary-lambda | 34a61cd7781edbd21d9b12b293dfddac3b35fbf7 | [
"Apache-2.0"
] | 2 | 2019-05-21T22:52:49.000Z | 2021-12-14T18:07:17.000Z | import unittest
import os
class TestImports(unittest.TestCase):
def test_imports(self):
print('Temporary dummy import test for coverage config.')
import main | 22.375 | 65 | 0.72067 | 22 | 179 | 5.818182 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212291 | 179 | 8 | 66 | 22.375 | 0.907801 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 1 | 0 | 1.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
79cb9a61ca4c38971106485a22fbd2e85564675a | 296 | py | Python | mud/admin.py | lambda-mud-cs18/backend | 060c5c1a317d8b6557e778cd539e75f24eff05dd | [
"MIT"
] | 1 | 2022-01-12T17:44:26.000Z | 2022-01-12T17:44:26.000Z | mud/admin.py | lambda-mud-cs18/backend | 060c5c1a317d8b6557e778cd539e75f24eff05dd | [
"MIT"
] | 8 | 2020-02-12T01:12:46.000Z | 2022-02-10T10:17:28.000Z | mud/admin.py | lambda-mud-cs18/backend | 060c5c1a317d8b6557e778cd539e75f24eff05dd | [
"MIT"
] | 2 | 2022-01-12T17:44:29.000Z | 2022-01-12T17:44:29.000Z | from django.contrib import admin
from .models import Player, PlayerInventory, Item, Team, Map, Room
# Register your models here.
admin.site.register(Player)
admin.site.register(PlayerInventory)
admin.site.register(Item)
admin.site.register(Team)
admin.site.register(Map)
admin.site.register(Room) | 32.888889 | 66 | 0.810811 | 42 | 296 | 5.714286 | 0.380952 | 0.225 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077703 | 296 | 9 | 67 | 32.888889 | 0.879121 | 0.087838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8dd47ec6221ef87674fccdc9903c2914bf89802d | 1,738 | py | Python | tests/test_config.py | contourpy/contourpy | 3854f86f4ff080a9bf9c4988849b5b9f0a63666e | [
"BSD-3-Clause"
] | 14 | 2021-09-17T18:23:07.000Z | 2022-03-20T14:28:48.000Z | tests/test_config.py | ianthomas23/contourpy | 10df582b7631332467b848981a0255f4739ef901 | [
"BSD-3-Clause"
] | 9 | 2021-04-22T07:56:38.000Z | 2022-03-05T14:28:36.000Z | tests/test_config.py | ianthomas23/contourpy | 10df582b7631332467b848981a0255f4739ef901 | [
"BSD-3-Clause"
] | 1 | 2021-02-19T16:08:56.000Z | 2021-02-19T16:08:56.000Z | from image_comparison import compare_images
import pytest
import util_config
import util_test
@pytest.mark.parametrize("name", util_test.all_names())
def test_config_filled(name):
config = util_config.ConfigFilled(name)
image_buffer = config.save_to_buffer()
compare_images(image_buffer, "config_filled.png... | 35.469388 | 71 | 0.777906 | 246 | 1,738 | 5.105691 | 0.162602 | 0.105096 | 0.16242 | 0.119427 | 0.84793 | 0.75 | 0.714968 | 0.66879 | 0.663217 | 0.663217 | 0 | 0.002597 | 0.113924 | 1,738 | 48 | 72 | 36.208333 | 0.812987 | 0.020138 | 0 | 0.333333 | 0 | 0 | 0.098765 | 0.061141 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.111111 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8dd8678d605f65dc0d1f0fcb8c271dcb71f478e9 | 223 | py | Python | src/sentry/web/frontend/organization_avatar.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 4 | 2019-05-27T13:55:07.000Z | 2021-03-30T07:05:09.000Z | src/sentry/web/frontend/organization_avatar.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 196 | 2019-06-10T08:34:10.000Z | 2022-02-22T01:26:13.000Z | src/sentry/web/frontend/organization_avatar.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 1 | 2020-07-03T00:52:19.000Z | 2020-07-03T00:52:19.000Z | from __future__ import absolute_import
from sentry.models import OrganizationAvatar
from sentry.web.frontend.base import AvatarPhotoView
class OrganizationAvatarPhotoView(AvatarPhotoView):
model = OrganizationAvatar
| 24.777778 | 52 | 0.856502 | 22 | 223 | 8.454545 | 0.636364 | 0.107527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107623 | 223 | 8 | 53 | 27.875 | 0.934673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 |
8df4e314bf7af748679804ada3759823ed34af94 | 50 | py | Python | tests/__init__.py | grikbi/coreapi-async-worker | 6feebfeefaf7d469fb8b394e9fa85aba07278829 | [
"Apache-1.1"
] | null | null | null | tests/__init__.py | grikbi/coreapi-async-worker | 6feebfeefaf7d469fb8b394e9fa85aba07278829 | [
"Apache-1.1"
] | null | null | null | tests/__init__.py | grikbi/coreapi-async-worker | 6feebfeefaf7d469fb8b394e9fa85aba07278829 | [
"Apache-1.1"
] | null | null | null | """The unit test code for f8a-server-backbone."""
| 25 | 49 | 0.7 | 8 | 50 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.12 | 50 | 1 | 50 | 50 | 0.772727 | 0.86 | 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 |
5c0487337656f06e0de80448a71ff7ece983eab9 | 98 | py | Python | app/db/models/bigintkey.py | sp0x/orion | 7ba1856546afe48710ef12d1e201f854f8d8d8ae | [
"MIT"
] | null | null | null | app/db/models/bigintkey.py | sp0x/orion | 7ba1856546afe48710ef12d1e201f854f8d8d8ae | [
"MIT"
] | 3 | 2020-11-13T18:52:53.000Z | 2022-02-10T01:54:50.000Z | app/db/models/bigintkey.py | sp0x/orion | 7ba1856546afe48710ef12d1e201f854f8d8d8ae | [
"MIT"
] | null | null | null | import peewee as pw
class BigIntPrimaryKey(pw.PrimaryKeyField):
field_type = 'BIGAUTO'
| 16.333333 | 44 | 0.72449 | 11 | 98 | 6.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 98 | 5 | 45 | 19.6 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 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 |
5c3bbd4d08bacd8d5af76f6187eff1fd6c673cd6 | 928 | py | Python | calcloudML/tests/test_example.py | alphasentaurii/calcloud-ai | 97fc46e93fc5669a49b9fd53eb22520c0648f24a | [
"BSD-3-Clause"
] | 1 | 2021-03-11T23:02:59.000Z | 2021-03-11T23:02:59.000Z | calcloudML/tests/test_example.py | alphasentaurii/calcloud-ml-dashboard | 97fc46e93fc5669a49b9fd53eb22520c0648f24a | [
"BSD-3-Clause"
] | null | null | null | calcloudML/tests/test_example.py | alphasentaurii/calcloud-ml-dashboard | 97fc46e93fc5669a49b9fd53eb22520c0648f24a | [
"BSD-3-Clause"
] | null | null | null | import pytest
import os
from calcloudML.makefigs import load_data
from calcloudML.makefigs import predictor
def test_data_import():
print(os.getcwd())
assert True
# df = load_data.get_single_dataset("data/hst_data.csv")
# instruments = list(df["instr_key"].unique())
# assert len(instruments) == 4... | 22.634146 | 63 | 0.657328 | 126 | 928 | 4.68254 | 0.563492 | 0.071186 | 0.074576 | 0.094915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039136 | 0.201509 | 928 | 40 | 64 | 23.2 | 0.757085 | 0.696121 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | true | 0 | 0.666667 | 0 | 0.888889 | 0.111111 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30965501debca9540ae4ecc35d395abcb53b0f82 | 158 | py | Python | setup.py | MThioub/ssl-certificate-collision | 7a905c08d407173827abef8573440ade835a4d88 | [
"Apache-2.0"
] | null | null | null | setup.py | MThioub/ssl-certificate-collision | 7a905c08d407173827abef8573440ade835a4d88 | [
"Apache-2.0"
] | null | null | null | setup.py | MThioub/ssl-certificate-collision | 7a905c08d407173827abef8573440ade835a4d88 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='engine',
description='search a prime factor to the modulus ',
packages=find_packages())
| 22.571429 | 56 | 0.727848 | 20 | 158 | 5.65 | 0.8 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183544 | 158 | 6 | 57 | 26.333333 | 0.875969 | 0 | 0 | 0 | 0 | 0 | 0.272152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30b3b1d74fe309863a9dd6566a2e0eaca8d8a76d | 98 | py | Python | adoptions/apps.py | Pruthviraj98/Wisdompets_linkedInLearning | 8bfcce297245503a543157eca2d23448fce3bf6f | [
"MIT"
] | null | null | null | adoptions/apps.py | Pruthviraj98/Wisdompets_linkedInLearning | 8bfcce297245503a543157eca2d23448fce3bf6f | [
"MIT"
] | null | null | null | adoptions/apps.py | Pruthviraj98/Wisdompets_linkedInLearning | 8bfcce297245503a543157eca2d23448fce3bf6f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AdoptionsConfig(AppConfig):
name = 'adoptions'
| 16.333333 | 34 | 0.72449 | 10 | 98 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 98 | 5 | 35 | 19.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 |
30cbf0d92a4e12680dbf782cbdd8e9bdc38f1300 | 18 | py | Python | env/lib/python3.6/site-packages/chargebee/version.py | Mohitkaushal97/File | 0bc5cca9a557e242861a289af74dfe8b905bc3bd | [
"MIT"
] | null | null | null | env/lib/python3.6/site-packages/chargebee/version.py | Mohitkaushal97/File | 0bc5cca9a557e242861a289af74dfe8b905bc3bd | [
"MIT"
] | null | null | null | env/lib/python3.6/site-packages/chargebee/version.py | Mohitkaushal97/File | 0bc5cca9a557e242861a289af74dfe8b905bc3bd | [
"MIT"
] | null | null | null | VERSION = '2.7.4'
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30dbf81e1c872abd3943ee4e17202debbdbcc826 | 194 | py | Python | desafios/des006.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | desafios/des006.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | desafios/des006.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | n1 = int(input('Digite um número que você deseje saber o dobro, triplo e raiz quadrada: '))
print(f'O dobro do seu número é {n1 * 2}, o triplo é {n1 * 3}, e a raiz quadrada é {n1 ** (1 / 2)}.')
| 64.666667 | 101 | 0.639175 | 39 | 194 | 3.179487 | 0.641026 | 0.072581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052288 | 0.21134 | 194 | 2 | 102 | 97 | 0.75817 | 0 | 0 | 0 | 0 | 0.5 | 0.840206 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
eb4d4b72c05e6abf8b022ed576a5dc8be53ddb28 | 1,829 | py | Python | Aulas/aula7_part1.py | CamilaContrucci/DIO_Python | f2c21383fab964af7d2831896ece16a4d938f9bd | [
"MIT"
] | null | null | null | Aulas/aula7_part1.py | CamilaContrucci/DIO_Python | f2c21383fab964af7d2831896ece16a4d938f9bd | [
"MIT"
] | null | null | null | Aulas/aula7_part1.py | CamilaContrucci/DIO_Python | f2c21383fab964af7d2831896ece16a4d938f9bd | [
"MIT"
] | null | null | null | # Função é tudo que retorna ao valor, método é o que não retorna.No Python o método é chamado de definição.
def soma(a, b):
return a + b
print(soma(1, 2))
print(soma(3, 4))
def subtracao(a, b):
return a - b
print(soma(5, 3))
# Ensinando a fazer criando a classe
class Calculadora:
def __init__(self, num... | 27.298507 | 107 | 0.68234 | 278 | 1,829 | 4.334532 | 0.266187 | 0.104564 | 0.074689 | 0.079668 | 0.454772 | 0.406639 | 0.406639 | 0.375104 | 0.350207 | 0.26805 | 0 | 0.017731 | 0.229087 | 1,829 | 67 | 108 | 27.298507 | 0.836879 | 0.274467 | 0 | 0 | 0 | 0 | 0.006084 | 0 | 0 | 0 | 0 | 0.014925 | 0 | 1 | 0.285714 | false | 0.02381 | 0 | 0.238095 | 0.571429 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
eba93d5431ec95f8df2f2234bc275869cdb0f723 | 202 | py | Python | 81.write_to_a_file.py | gptakhil/Python_Practice_Beginner | ebff3da1204dfed6762bce0cfc6b0ea562212548 | [
"MIT"
] | 2 | 2020-10-13T08:16:56.000Z | 2020-10-14T10:05:16.000Z | 81.write_to_a_file.py | gptakhil/Python_Practice_Beginner | ebff3da1204dfed6762bce0cfc6b0ea562212548 | [
"MIT"
] | null | null | null | 81.write_to_a_file.py | gptakhil/Python_Practice_Beginner | ebff3da1204dfed6762bce0cfc6b0ea562212548 | [
"MIT"
] | 2 | 2020-10-13T08:17:04.000Z | 2020-10-17T11:19:33.000Z | fp = open('./data/Program81.txt')
fp.write("Hello World 1 \n")
fp.write("Hello world 2 \n")
fp.writelines("Hello World 3 \n")
text = ["Hello World 4 \n","Hello World 5 \n", "Hello World 6"]
fp.close() | 25.25 | 63 | 0.643564 | 37 | 202 | 3.513514 | 0.486486 | 0.461538 | 0.184615 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046243 | 0.143564 | 202 | 8 | 64 | 25.25 | 0.705202 | 0 | 0 | 0 | 0 | 0 | 0.55665 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ebbafa4564c499ed23b762098698b0a374a15c33 | 3,862 | py | Python | boto3/iam.py | yinbiao/lazyaws | 1a78b5776264b7db8e16473db37378eaf464aa06 | [
"Apache-2.0"
] | null | null | null | boto3/iam.py | yinbiao/lazyaws | 1a78b5776264b7db8e16473db37378eaf464aa06 | [
"Apache-2.0"
] | null | null | null | boto3/iam.py | yinbiao/lazyaws | 1a78b5776264b7db8e16473db37378eaf464aa06 | [
"Apache-2.0"
] | null | null | null | # -*- coding=utf-8 -*-
#!/bin/env python
import boto3
from include.tools import fprint
from policydocument import policy
class IamApi(object):
def __init__(self):
self.iam_client = boto3.client('iam')
def create_user(self, username, path="/"):
if not path.endswith("/"):
path = pat... | 32.453782 | 99 | 0.556447 | 365 | 3,862 | 5.687671 | 0.315068 | 0.040462 | 0.075145 | 0.100674 | 0.24711 | 0.186898 | 0.05106 | 0.05106 | 0 | 0 | 0 | 0.020642 | 0.322631 | 3,862 | 118 | 100 | 32.728814 | 0.772936 | 0.404972 | 0 | 0 | 0 | 0 | 0.013629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324324 | false | 0.108108 | 0.081081 | 0.216216 | 0.72973 | 0.054054 | 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 |
ebbe0c36ca74b2add4e73c53dc230d2c9f033c40 | 297 | py | Python | ziggonext/__init__.py | geertsmichael/ziggonext-python | 9c5ea87f56bd4ecfc2ae6e1d2aef113494a25bc5 | [
"MIT"
] | 6 | 2020-02-04T18:35:58.000Z | 2021-04-18T13:42:25.000Z | ziggonext/__init__.py | geertsmichael/ziggonext-python | 9c5ea87f56bd4ecfc2ae6e1d2aef113494a25bc5 | [
"MIT"
] | 6 | 2020-08-15T18:53:59.000Z | 2021-05-30T20:24:24.000Z | ziggonext/__init__.py | geertsmichael/ziggonext-python | 9c5ea87f56bd4ecfc2ae6e1d2aef113494a25bc5 | [
"MIT"
] | 6 | 2020-02-15T14:41:22.000Z | 2020-12-04T21:05:35.000Z | """Python client for Ziggo Next."""
from .ziggonext import ZiggoNext
from .models import ZiggoRecordingSingle, ZiggoRecordingShow
from .ziggonextbox import ZiggoNextBox
from .const import ONLINE_RUNNING, ONLINE_STANDBY
from .exceptions import ZiggoNextAuthenticationError, ZiggoNextConnectionError | 49.5 | 78 | 0.858586 | 30 | 297 | 8.433333 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 297 | 6 | 78 | 49.5 | 0.937037 | 0.097643 | 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 |
ebc768e030eb5a977b33c40a3066524c58fcdfdd | 15 | py | Python | signal/__init__.py | indranilsinharoy/iutils | 1b102029306fa2947d69d8ca80d976d143f3d068 | [
"MIT"
] | null | null | null | signal/__init__.py | indranilsinharoy/iutils | 1b102029306fa2947d69d8ca80d976d143f3d068 | [
"MIT"
] | null | null | null | signal/__init__.py | indranilsinharoy/iutils | 1b102029306fa2947d69d8ca80d976d143f3d068 | [
"MIT"
] | null | null | null | # signal utils
| 7.5 | 14 | 0.733333 | 2 | 15 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 1 | 15 | 15 | 0.916667 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ebcfea568a1ce36005802fce8b184a7845688ae1 | 2,393 | py | Python | testsuite/tests/QB02-003__m_files/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | 2 | 2017-10-22T18:04:26.000Z | 2020-03-06T11:07:41.000Z | testsuite/tests/QB02-003__m_files/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | null | null | null | testsuite/tests/QB02-003__m_files/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | 4 | 2018-05-22T12:08:54.000Z | 2020-12-14T15:25:27.000Z | def test_ok(style_checker):
"""Style check test against ok.m
"""
style_checker.set_year(2017)
p = style_checker.run_style_checker('whatever', 'ok.m')
style_checker.assertEqual(p.status, 0, p.image)
style_checker.assertRunOutputEmpty(p)
def test_rcs_rev(style_checker):
"""Style check test a... | 33.236111 | 82 | 0.723778 | 347 | 2,393 | 4.778098 | 0.167147 | 0.303981 | 0.109771 | 0.092883 | 0.830519 | 0.802774 | 0.718938 | 0.589867 | 0.589867 | 0.589867 | 0 | 0.023051 | 0.147931 | 2,393 | 71 | 83 | 33.704225 | 0.790093 | 0.121605 | 0 | 0.555556 | 0 | 0.022222 | 0.242601 | 0 | 0 | 0 | 0 | 0 | 0.311111 | 1 | 0.155556 | false | 0 | 0 | 0 | 0.155556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ebd8c9f7a7d36ea1b9d25562211565dd519a2c3a | 162 | py | Python | geoana/kernels/__init__.py | simpeg/geoana | 417e23a0a689da19112e5fd361f823a2abd8785a | [
"MIT"
] | 11 | 2017-11-14T12:29:42.000Z | 2022-01-17T18:36:28.000Z | geoana/kernels/__init__.py | simpeg/geoana | 417e23a0a689da19112e5fd361f823a2abd8785a | [
"MIT"
] | 28 | 2016-09-02T02:44:32.000Z | 2022-03-31T22:41:33.000Z | geoana/kernels/__init__.py | simpeg/geoana | 417e23a0a689da19112e5fd361f823a2abd8785a | [
"MIT"
] | 4 | 2017-03-07T22:07:15.000Z | 2021-05-14T20:08:33.000Z | """This module contains kernals for (semi-)analytic geophysical responses
"""
from geoana.kernels.tranverse_electric_reflections import rTE_forward, rTE_gradient
| 40.5 | 83 | 0.839506 | 20 | 162 | 6.6 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 162 | 3 | 84 | 54 | 0.891892 | 0.432099 | 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 |
ebdd46d910d824fe0c0c29415a9512f3d363ea5d | 110 | py | Python | tests/opensocial_tests/__init__.py | chrischabot/opensocial-python-client | 7be0d6def6d608ad15de6225d0c22af7fe8030af | [
"Apache-2.0"
] | null | null | null | tests/opensocial_tests/__init__.py | chrischabot/opensocial-python-client | 7be0d6def6d608ad15de6225d0c22af7fe8030af | [
"Apache-2.0"
] | null | null | null | tests/opensocial_tests/__init__.py | chrischabot/opensocial-python-client | 7be0d6def6d608ad15de6225d0c22af7fe8030af | [
"Apache-2.0"
] | null | null | null | import sys
import logging
sys.path.insert(0, sys.path[0] + '/../src')
logging.basicConfig(level=logging.INFO) | 22 | 43 | 0.736364 | 17 | 110 | 4.764706 | 0.588235 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.081818 | 110 | 5 | 44 | 22 | 0.782178 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 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 |
ccdec17e826fe6bbfec7bad4507e90f7e1afe591 | 466 | py | Python | system_query/__init__.py | vatai/system-query | d343a199dbf67a4071ff6e8b24aca04e0943710f | [
"Apache-2.0"
] | 7 | 2017-10-24T05:55:53.000Z | 2021-06-07T02:57:34.000Z | system_query/__init__.py | vatai/system-query | d343a199dbf67a4071ff6e8b24aca04e0943710f | [
"Apache-2.0"
] | 8 | 2017-06-15T02:47:51.000Z | 2021-08-05T13:09:27.000Z | system_query/__init__.py | vatai/system-query | d343a199dbf67a4071ff6e8b24aca04e0943710f | [
"Apache-2.0"
] | 5 | 2017-09-11T23:28:58.000Z | 2021-08-05T05:42:44.000Z | """Initialization of system_query package."""
__all__ = [
'query_all', 'query_cpu', 'query_gpus', 'query_ram', 'query_software', 'query_and_export']
from .all_info import query_all
from .cpu_info import query_cpu
from .gpu_info import query_gpus
# from .host_info import query_host
# from .os_info import query_os
... | 31.066667 | 94 | 0.791845 | 73 | 466 | 4.643836 | 0.260274 | 0.292035 | 0.353982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124464 | 466 | 14 | 95 | 33.285714 | 0.830882 | 0.296137 | 0 | 0 | 0 | 0 | 0.209375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6959848d97202203387786eed6791bb4e9d1aece | 125 | py | Python | src/cefpython3.wx/__init__.py | donalm/cefpython | ce21ff975194ea1b17a9061ceb66648cbb3115c5 | [
"CNRI-Python",
"RSA-MD",
"Linux-OpenIB"
] | 1 | 2018-08-03T07:04:47.000Z | 2018-08-03T07:04:47.000Z | src/cefpython3.wx/__init__.py | donalm/cefpython | ce21ff975194ea1b17a9061ceb66648cbb3115c5 | [
"CNRI-Python",
"RSA-MD",
"Linux-OpenIB"
] | null | null | null | src/cefpython3.wx/__init__.py | donalm/cefpython | ce21ff975194ea1b17a9061ceb66648cbb3115c5 | [
"CNRI-Python",
"RSA-MD",
"Linux-OpenIB"
] | 1 | 2021-07-22T04:29:54.000Z | 2021-07-22T04:29:54.000Z | # This dummy file is overwritten by "__init__.py.template", see:
# cefpython/windows/installer/
# cefpython/linux/installer/
| 31.25 | 64 | 0.776 | 16 | 125 | 5.8125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 3 | 65 | 41.666667 | 0.830357 | 0.944 | 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 |
15c9ba166f7a8c05e1b9b9a7729143432b174318 | 264 | py | Python | py_moysklad/entities/meta_entity.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | py_moysklad/entities/meta_entity.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | py_moysklad/entities/meta_entity.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | from typing import Optional
from py_moysklad.entities.entity import Entity
from py_moysklad.entities.meta import Meta
class MetaEntity(Entity):
id: Optional[str] # noqa: VNE003
account_id: Optional[str]
name: Optional[str]
meta: Optional[Meta]
| 22 | 46 | 0.75 | 36 | 264 | 5.416667 | 0.472222 | 0.169231 | 0.14359 | 0.225641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.170455 | 264 | 11 | 47 | 24 | 0.876712 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
15d155bda259e02388935089248506f2152fbcdc | 124 | py | Python | apps/menuplans/apps.py | jajadinimueter/recipe | f3f0a4054a14637bf4e49728876fe7b0a029a21f | [
"MIT"
] | null | null | null | apps/menuplans/apps.py | jajadinimueter/recipe | f3f0a4054a14637bf4e49728876fe7b0a029a21f | [
"MIT"
] | null | null | null | apps/menuplans/apps.py | jajadinimueter/recipe | f3f0a4054a14637bf4e49728876fe7b0a029a21f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MenuplansConfig(AppConfig):
name = 'menuplans'
verbose_name = 'Menuplans'
| 17.714286 | 33 | 0.741935 | 13 | 124 | 7 | 0.769231 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 6 | 34 | 20.666667 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 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 |
15f6956514683786b798a8033c9f037fd4972ff1 | 274 | py | Python | tests/Unit/PointwiseFunctions/GeneralRelativity/IndexManipulation.py | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | tests/Unit/PointwiseFunctions/GeneralRelativity/IndexManipulation.py | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | tests/Unit/PointwiseFunctions/GeneralRelativity/IndexManipulation.py | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | # Distributed under the MIT License.
# See LICENSE.txt for details.
import numpy as np
def raise_or_lower_first_index(tensor, metric):
return np.einsum("ij,ikl", metric, tensor)
def trace_last_indices(tensor, metric):
return np.einsum("ij,kij", metric, tensor)
| 21.076923 | 47 | 0.740876 | 42 | 274 | 4.690476 | 0.690476 | 0.121827 | 0.182741 | 0.203046 | 0.284264 | 0.284264 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153285 | 274 | 12 | 48 | 22.833333 | 0.849138 | 0.229927 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c60d417b88f4481848c4ec87642e1959b38f06fe | 318 | py | Python | cv_interactive/utils.py | kovarn/computervision-interactive | e306a0cec2d5298aee306179d3df95a8a256a5dc | [
"Apache-2.0"
] | null | null | null | cv_interactive/utils.py | kovarn/computervision-interactive | e306a0cec2d5298aee306179d3df95a8a256a5dc | [
"Apache-2.0"
] | null | null | null | cv_interactive/utils.py | kovarn/computervision-interactive | e306a0cec2d5298aee306179d3df95a8a256a5dc | [
"Apache-2.0"
] | null | null | null | from matplotlib import pyplot as plt
def imshow(img, **kwargs):
if len(img.shape) == 2 and 'cmap' not in kwargs:
return plt.imshow(img, cmap=plt.cm.gray, **kwargs)
if len(img.shape) == 3 and img.shape[2] == 3:
return plt.imshow(img[:, :, ::-1], **kwargs)
return plt.imshow(img, **kwargs)
| 31.8 | 58 | 0.610063 | 50 | 318 | 3.88 | 0.46 | 0.185567 | 0.231959 | 0.278351 | 0.443299 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.213836 | 318 | 9 | 59 | 35.333333 | 0.756 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.714286 | 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 |
c634fc13a3e88288646092267041924f0ed2911d | 213 | py | Python | main.py | bjnhur/pyHelloWorld | 60fba9b176b9b1b97336aa4a10afb3d2263b6d1c | [
"MIT"
] | null | null | null | main.py | bjnhur/pyHelloWorld | 60fba9b176b9b1b97336aa4a10afb3d2263b6d1c | [
"MIT"
] | null | null | null | main.py | bjnhur/pyHelloWorld | 60fba9b176b9b1b97336aa4a10afb3d2263b6d1c | [
"MIT"
] | null | null | null | def test_get_helloworld():
assert 'hello world' == get_helloworld()
def get_helloworld():
print('hello world')
return 'hello world'
def main():
print(get_helloworld())
if __name__ == '__main__':
main()
| 16.384615 | 41 | 0.694836 | 27 | 213 | 5 | 0.444444 | 0.385185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 213 | 13 | 42 | 16.384615 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.191589 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.444444 | 0.222222 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d66e92a0d590f91cee0fbe0b986c740b90a3ac13 | 103 | py | Python | django_grpc_bus/apps.py | rameezarshad/django-grpc-framework | 6f9cea9828343b23c60656b561bca5d750fe6b5f | [
"Apache-2.0"
] | 2 | 2020-12-19T18:56:49.000Z | 2022-01-13T07:01:37.000Z | django_grpc_bus/apps.py | rameezarshad/django-grpc-framework | 6f9cea9828343b23c60656b561bca5d750fe6b5f | [
"Apache-2.0"
] | null | null | null | django_grpc_bus/apps.py | rameezarshad/django-grpc-framework | 6f9cea9828343b23c60656b561bca5d750fe6b5f | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class DjangoGRPCBusConfig(AppConfig):
name = 'django_grpc_bus'
| 17.166667 | 37 | 0.786408 | 12 | 103 | 6.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 38 | 20.6 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 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 |
d66f0f6e6600e20df5d69b976c65ffe95b14ab19 | 62 | py | Python | nxted/files/test3.py | xlcteam/nxtIDE | 659ace68b060682aeeb6d789d88a7b6899a56f9a | [
"MIT"
] | 8 | 2015-02-16T23:11:30.000Z | 2021-01-16T00:15:25.000Z | nxted/files/test3.py | xlcteam/nxtIDE | 659ace68b060682aeeb6d789d88a7b6899a56f9a | [
"MIT"
] | 3 | 2016-07-16T20:47:48.000Z | 2021-03-25T21:27:11.000Z | nxted/files/test3.py | xlcteam/nxtIDE | 659ace68b060682aeeb6d789d88a7b6899a56f9a | [
"MIT"
] | 3 | 2015-08-30T18:23:51.000Z | 2016-10-28T15:07:59.000Z |
def main():
TextOut(0, LCD_LINE1, "test3")
Wait(2000) | 15.5 | 34 | 0.596774 | 9 | 62 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 0.225806 | 62 | 4 | 35 | 15.5 | 0.604167 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d68ab0a5a8dfe43872d002fdaf937e3a2d38a1cd | 74 | py | Python | ask.py | christoga/python | 1395b3177e7baf46677a7a7a4ae89d2488c6f0fa | [
"MIT"
] | 5 | 2015-11-15T19:08:31.000Z | 2015-11-27T02:34:28.000Z | ask.py | christoga/python | 1395b3177e7baf46677a7a7a4ae89d2488c6f0fa | [
"MIT"
] | null | null | null | ask.py | christoga/python | 1395b3177e7baf46677a7a7a4ae89d2488c6f0fa | [
"MIT"
] | null | null | null | print "What's your name?",
name = raw_input()
print "Hello %r!" % (name)
| 14.8 | 26 | 0.621622 | 12 | 74 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 4 | 27 | 18.5 | 0.737705 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
d68b6c364a1229ba02c32e4011695f761d9f5502 | 335 | py | Python | tests/helpers.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 12 | 2020-08-27T19:56:02.000Z | 2022-03-08T03:23:43.000Z | tests/helpers.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 101 | 2020-07-24T08:23:00.000Z | 2021-11-17T13:37:45.000Z | tests/helpers.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 11 | 2021-02-11T22:24:13.000Z | 2021-11-18T06:45:03.000Z | from neo3.core import serialization
from neo3.core.serialization import BinaryReader, BinaryWriter
class SerializableObject(serialization.ISerializable):
def serialize(self, writer: BinaryWriter) -> None:
pass
def deserialize(self, reader: BinaryReader) -> None:
pass
def __len__(self):
... | 25.769231 | 62 | 0.722388 | 35 | 335 | 6.8 | 0.6 | 0.067227 | 0.10084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.202985 | 335 | 13 | 63 | 25.769231 | 0.88015 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.222222 | 0.222222 | 0.111111 | 0.777778 | 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 |
d6b6bedc794e32ce1a16a93a87ca73305491ac9d | 324 | py | Python | ramda/zip_with_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/zip_with_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/zip_with_test.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from .zip_with import zip_with
from ramda.private.asserts import assert_iterables_equal
def add(a, b):
return a + b
def uniq_nocurry_test():
assert_iterables_equal(zip_with(add, [1, 1, 1], [1, 2, 3]), [2, 3, 4])
def take_curry_test():
assert_iterables_equal(zip_with(add)([1, 1, 1], [1, 2, 3]), [2, 3, ... | 21.6 | 74 | 0.66358 | 59 | 324 | 3.40678 | 0.40678 | 0.059701 | 0.059701 | 0.238806 | 0.427861 | 0.427861 | 0.427861 | 0.427861 | 0.427861 | 0.427861 | 0 | 0.067164 | 0.17284 | 324 | 14 | 75 | 23.142857 | 0.682836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d6cb017f79ae7e90388d35ef3600684c5d398daf | 620 | py | Python | tests/services/conftest.py | javi-cortes/gigaupload | 1c24dc1c4c4d6714130fc19e012b02e93106f874 | [
"MIT"
] | null | null | null | tests/services/conftest.py | javi-cortes/gigaupload | 1c24dc1c4c4d6714130fc19e012b02e93106f874 | [
"MIT"
] | null | null | null | tests/services/conftest.py | javi-cortes/gigaupload | 1c24dc1c4c4d6714130fc19e012b02e93106f874 | [
"MIT"
] | null | null | null | import pathlib
import uuid
import pytest
from app.schemas import FileQuery
from app.services.file import FileService
@pytest.fixture()
def file_service(db):
return FileService(db)
@pytest.fixture(scope="session")
def file():
return open("tests/files_stub/test_file", "wb")
@pytest.fixture(scope="session"... | 20 | 60 | 0.732258 | 88 | 620 | 5.034091 | 0.488636 | 0.117381 | 0.121896 | 0.1693 | 0.243792 | 0.14447 | 0 | 0 | 0 | 0 | 0 | 0.001869 | 0.137097 | 620 | 30 | 61 | 20.666667 | 0.826168 | 0.070968 | 0 | 0.105263 | 0 | 0 | 0.131579 | 0.091228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.263158 | 0.157895 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d6ea6c21e104b63fe251ea67e0444536e49f06ef | 326 | py | Python | URI/1-Beginner/1041.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | URI/1-Beginner/1041.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | URI/1-Beginner/1041.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
x, y = [float(x) for x in raw_input().split()]
if x == 0 and y == 0:
print 'Origem'
elif x == 0:
print 'Eixo Y'
elif y == 0:
print 'Eixo X'
elif x > 0:
if y > 0:
print 'Q1'
else:
print 'Q4'
elif x < 0:
if y > 0:
print 'Q2'
else:
print... | 15.52381 | 46 | 0.447853 | 55 | 326 | 2.636364 | 0.418182 | 0.206897 | 0.193103 | 0.110345 | 0.206897 | 0.206897 | 0.206897 | 0 | 0 | 0 | 0 | 0.064677 | 0.383436 | 326 | 20 | 47 | 16.3 | 0.656716 | 0.064417 | 0 | 0.235294 | 0 | 0 | 0.085809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.411765 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d6fa13e05dcd095d8a5e985924edda0b7aeb982b | 764 | py | Python | class_day02.py | yunjung-lee/class_python_data | 67ceab73e67ec63d408894a6ab016a8d25a4e30b | [
"MIT"
] | null | null | null | class_day02.py | yunjung-lee/class_python_data | 67ceab73e67ec63d408894a6ab016a8d25a4e30b | [
"MIT"
] | null | null | null | class_day02.py | yunjung-lee/class_python_data | 67ceab73e67ec63d408894a6ab016a8d25a4e30b | [
"MIT"
] | null | null | null | # ## 통계 기반 데이터 분석 (부제: 영상 처리를 통한 데이터 분석 및 통계 처리) ##
#
#
#
#
# 복습퀴즈1. 800x800 화면에서 거북이가 다음 정보를 소유하도록 한다.
#
# [거북이개체, (시작x,y), (끝x,y), (r,g,b), 크기]
#
# 20마리를 생성해서 리스트에 저장한 후에, 각각 이동하도록 한다.
#
#
#
#
# 복습퀴즈2. 구구단을 처리하되, 각 결과의 앞자리~뒷자리까지 합계로 출력한다.
#
# 예) 2x1=3 (값2를 02로 취급해서 0부터 2까지의 합계 : 0+1+2 = 3)
#
# 2x... | 14.980392 | 61 | 0.41623 | 138 | 764 | 2.304348 | 0.623188 | 0.025157 | 0.037736 | 0.037736 | 0.144654 | 0.144654 | 0.144654 | 0.144654 | 0.144654 | 0.144654 | 0 | 0.229399 | 0.412304 | 764 | 51 | 62 | 14.980392 | 0.478842 | 0.859948 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba3d64e634eb4273bf62cc90099ff962af90632e | 199 | py | Python | worker/Twitter/service1/coordinatesExtractor.py | LamriAli/remote-extraction-proxy-and-worker | 6e402efbd94298b015797183934fc10744ea0ded | [
"MIT"
] | null | null | null | worker/Twitter/service1/coordinatesExtractor.py | LamriAli/remote-extraction-proxy-and-worker | 6e402efbd94298b015797183934fc10744ea0ded | [
"MIT"
] | 10 | 2022-03-17T23:23:18.000Z | 2022-03-18T00:15:11.000Z | worker/Twitter/service1/coordinatesExtractor.py | LamriAli/remote-extraction-proxy-and-worker | 6e402efbd94298b015797183934fc10744ea0ded | [
"MIT"
] | 1 | 2022-03-24T23:56:46.000Z | 2022-03-24T23:56:46.000Z |
class CoordinateExtractor:
@staticmethod
def crawlCoordinates(self,api,fullStructure,uid,graph,userQueue,coordinatesQueue,placeQueue,urlQueue,mediaQueue,tweetQueue):
pass
| 22.111111 | 128 | 0.753769 | 17 | 199 | 8.823529 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170854 | 199 | 9 | 129 | 22.111111 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 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 |
ba4079dc3d598a4785edd4cd6abf6ad797bd3ad0 | 67 | py | Python | practice/bitwise_operations/ex9.py | recursivelycurious/wordnik-repl | 9d9e96a8ebc79b95f135d5bc871602b65d2d2b79 | [
"MIT"
] | null | null | null | practice/bitwise_operations/ex9.py | recursivelycurious/wordnik-repl | 9d9e96a8ebc79b95f135d5bc871602b65d2d2b79 | [
"MIT"
] | 8 | 2017-12-29T21:19:00.000Z | 2018-04-01T05:05:05.000Z | practice/bitwise_operations/ex9.py | recursivelycurious/wordnik-repl | 9d9e96a8ebc79b95f135d5bc871602b65d2d2b79 | [
"MIT"
] | 1 | 2017-12-27T23:45:58.000Z | 2017-12-27T23:45:58.000Z | a = 0b10111011
mask = 0b100
desired = a | mask
print bin(desired)
| 11.166667 | 18 | 0.701493 | 10 | 67 | 4.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 0.208955 | 67 | 5 | 19 | 13.4 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba495de1c474adfaf02a6add6adf5ee28e172b76 | 38 | py | Python | C-101/test.py | shabd07/C-101 | 68773f440c5e8fb656bf0736a93a32a70697b35d | [
"MIT"
] | null | null | null | C-101/test.py | shabd07/C-101 | 68773f440c5e8fb656bf0736a93a32a70697b35d | [
"MIT"
] | null | null | null | C-101/test.py | shabd07/C-101 | 68773f440c5e8fb656bf0736a93a32a70697b35d | [
"MIT"
] | null | null | null | a = input("write your name")
print(a) | 19 | 29 | 0.657895 | 7 | 38 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 2 | 30 | 19 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.394737 | 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 |
ba93f3483f2a20e3d87bdd034d95151a78e506e6 | 1,718 | py | Python | DailyProgrammer/DP20130111C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20130111C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20130111C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[01/11/13] Challenge #116 [Hard] Maximum Random Walk
https://www.reddit.com/r/dailyprogrammer/comments/16dbyh/011113_challenge_116_hard_maximum_random_walk/
# [](#HardIcon) *(Hard)*: Maximum Random Walk
Consider the classic random walk: at each step, you have a 1/2 chance of taking a step to the left and a 1/2 ch... | 37.347826 | 119 | 0.731083 | 300 | 1,718 | 4.14 | 0.466667 | 0.032206 | 0.035427 | 0.050725 | 0.1562 | 0.1562 | 0.10306 | 0.043478 | 0.043478 | 0.043478 | 0 | 0.057828 | 0.174622 | 1,718 | 45 | 120 | 38.177778 | 0.818054 | 0.95518 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
badd8ac0d2373edb6eb650b8eef72f14bea0bd87 | 172 | py | Python | moya/testprojects/expose/site/py/exposed.py | moyaproject/moya | 78b91d87b4519f91dfdd2b40dab44e72f201a843 | [
"MIT"
] | 129 | 2015-02-16T12:02:50.000Z | 2021-11-06T00:20:01.000Z | moya/testprojects/expose/site/py/exposed.py | liaohandel/moya | 78b91d87b4519f91dfdd2b40dab44e72f201a843 | [
"MIT"
] | 5 | 2015-02-19T15:56:41.000Z | 2015-09-08T18:58:35.000Z | moya/testprojects/expose/site/py/exposed.py | liaohandel/moya | 78b91d87b4519f91dfdd2b40dab44e72f201a843 | [
"MIT"
] | 14 | 2015-02-19T17:20:34.000Z | 2022-03-28T01:38:09.000Z | from __future__ import unicode_literals
from moya.expose import View
class TestView(View):
name = "hello"
def get(self, context):
return "Hello, World"
| 15.636364 | 39 | 0.69186 | 22 | 172 | 5.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226744 | 172 | 10 | 40 | 17.2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.098837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
24028296aaf599c16aabdb14feebefdf9feaf931 | 47 | py | Python | freeze.py | ayushb1126/memoji_fer2013 | da6cf70d9942daa32ae0d3cb2fd1a366d569afd0 | [
"MIT"
] | null | null | null | freeze.py | ayushb1126/memoji_fer2013 | da6cf70d9942daa32ae0d3cb2fd1a366d569afd0 | [
"MIT"
] | null | null | null | freeze.py | ayushb1126/memoji_fer2013 | da6cf70d9942daa32ae0d3cb2fd1a366d569afd0 | [
"MIT"
] | null | null | null | recursive function to find hcf of two numbers.
| 23.5 | 46 | 0.808511 | 8 | 47 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 1 | 47 | 47 | 0.974359 | 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 |
2405b8e423af64ca9a2550b9dd325f381d5c61b3 | 436 | py | Python | mysite/myapp/admin.py | pl3nny/csc648-team05_pl3nny | a571d5da2caed9201664ebb37ccec73f72cb03ba | [
"MIT"
] | null | null | null | mysite/myapp/admin.py | pl3nny/csc648-team05_pl3nny | a571d5da2caed9201664ebb37ccec73f72cb03ba | [
"MIT"
] | null | null | null | mysite/myapp/admin.py | pl3nny/csc648-team05_pl3nny | a571d5da2caed9201664ebb37ccec73f72cb03ba | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import UserData
from .models import Posts
from .models import HazardType
from .models import Message
from .models import Comments
from .models import PostImageCollection
# Register your models here.
admin.site.register(HazardType)
admin.site.register(UserData)
admin.site.... | 25.647059 | 40 | 0.830275 | 57 | 436 | 6.350877 | 0.280702 | 0.165746 | 0.265193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094037 | 436 | 16 | 41 | 27.25 | 0.916456 | 0.059633 | 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 |
241b64277673ef0a72a82b6a967cc9631a5a57f0 | 623 | py | Python | flamingo/core/errors.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | flamingo/core/errors.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | flamingo/core/errors.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | class FlamingoError(Exception):
pass
class DataModelError(FlamingoError):
pass
class MultipleObjectsReturned(DataModelError):
def __init__(self, query, *args, **kwargs):
self.query = query
return super().__init__(*args, **kwargs)
def __str__(self):
return 'multiple objects ... | 23.074074 | 74 | 0.669342 | 66 | 623 | 5.954545 | 0.348485 | 0.137405 | 0.10687 | 0.127226 | 0.641221 | 0.641221 | 0.483461 | 0.483461 | 0.483461 | 0.483461 | 0 | 0 | 0.211878 | 623 | 26 | 75 | 23.961538 | 0.800407 | 0 | 0 | 0.625 | 0 | 0 | 0.110754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0 | 0.125 | 0.75 | 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 |
24474a441a651c5f56b4808118c1ee12a32df780 | 106 | py | Python | tenant_workspace/apps.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 1 | 2020-07-16T10:58:23.000Z | 2020-07-16T10:58:23.000Z | tenant_workspace/apps.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 13 | 2018-11-30T02:29:39.000Z | 2022-03-11T23:35:49.000Z | tenant_workspace/apps.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | null | null | null | from django.apps import AppConfig
class TenantWorkspaceConfig(AppConfig):
name = 'tenant_workspace'
| 17.666667 | 39 | 0.792453 | 11 | 106 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 40 | 21.2 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 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 |
244e62a8dd4d125397f7791bc13d8afd2fa7377c | 50 | py | Python | app/db/abstracts.py | lukecyx/fastlms | 01ccc126f8067434698ea53f6274a23d69fc0120 | [
"MIT"
] | null | null | null | app/db/abstracts.py | lukecyx/fastlms | 01ccc126f8067434698ea53f6274a23d69fc0120 | [
"MIT"
] | null | null | null | app/db/abstracts.py | lukecyx/fastlms | 01ccc126f8067434698ea53f6274a23d69fc0120 | [
"MIT"
] | null | null | null | from abc import ABC
class CollectionManager(ABC)
| 12.5 | 28 | 0.82 | 7 | 50 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 3 | 29 | 16.666667 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 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 |
79ef06e0ab149d4edc755bc4fe395bb977c4d95a | 199 | py | Python | tests/test___main__.py | oterrier/openapi-python-client | ca8acdbe34b11584143b78afc130684f0690d5bf | [
"MIT"
] | 172 | 2020-02-15T20:14:16.000Z | 2021-06-09T07:09:15.000Z | tests/test___main__.py | oterrier/openapi-python-client | ca8acdbe34b11584143b78afc130684f0690d5bf | [
"MIT"
] | 410 | 2020-02-15T19:39:29.000Z | 2021-06-09T19:28:57.000Z | tests/test___main__.py | oterrier/openapi-python-client | ca8acdbe34b11584143b78afc130684f0690d5bf | [
"MIT"
] | 38 | 2020-04-12T09:36:27.000Z | 2021-06-11T08:57:07.000Z | def test_main(mocker):
app = mocker.patch("openapi_python_client.cli.app")
# noinspection PyUnresolvedReferences
from openapi_python_client import __main__
app.assert_called_once()
| 24.875 | 55 | 0.768844 | 24 | 199 | 5.916667 | 0.708333 | 0.183099 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155779 | 199 | 7 | 56 | 28.428571 | 0.845238 | 0.175879 | 0 | 0 | 0 | 0 | 0.179012 | 0.179012 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0307d536d63a1ac49fc4ebcbcad78f8f91d81b9a | 137 | py | Python | application.py | archman/unicorn-webapp | fac170e228760246c56673587b4a0aa2758adf53 | [
"MIT"
] | 1 | 2018-07-06T16:04:32.000Z | 2018-07-06T16:04:32.000Z | application.py | archman/unicorn-webapp | fac170e228760246c56673587b4a0aa2758adf53 | [
"MIT"
] | 1 | 2021-11-02T14:12:57.000Z | 2021-11-02T14:12:57.000Z | application.py | archman/unicorn-webapp | fac170e228760246c56673587b4a0aa2758adf53 | [
"MIT"
] | 1 | 2018-09-27T17:06:56.000Z | 2018-09-27T17:06:56.000Z | # -*- coding: utf-8 -*-
from app import app as application
if __name__ == '__main__':
application.run(host="0.0.0.0", debug=True)
| 17.125 | 47 | 0.642336 | 21 | 137 | 3.809524 | 0.761905 | 0.075 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044248 | 0.175182 | 137 | 7 | 48 | 19.571429 | 0.663717 | 0.153285 | 0 | 0 | 0 | 0 | 0.131579 | 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 |
03135afc5289be1daad291f077c536f8a689643d | 188 | py | Python | venv/venv/Scripts/django-admin.py | RawFlash/BabyShoesShop | 624ccbc921b847c6f7257a240c02a6c295fdf74e | [
"bzip2-1.0.6"
] | null | null | null | venv/venv/Scripts/django-admin.py | RawFlash/BabyShoesShop | 624ccbc921b847c6f7257a240c02a6c295fdf74e | [
"bzip2-1.0.6"
] | null | null | null | venv/venv/Scripts/django-admin.py | RawFlash/BabyShoesShop | 624ccbc921b847c6f7257a240c02a6c295fdf74e | [
"bzip2-1.0.6"
] | null | null | null | #!c:\users\30026663\desktop\learn\c9b1~1\sayt1\sayt1\venv\venv\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 31.333333 | 81 | 0.787234 | 27 | 188 | 5.074074 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075145 | 0.079787 | 188 | 5 | 82 | 37.6 | 0.716763 | 0.425532 | 0 | 0 | 0 | 0 | 0.074766 | 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 |
033282956215f684248f9f961d991169a0bf6e66 | 520 | py | Python | tools/init_db.py | yktimes/YkForm | 24ed846646336f2235a5d5e7ec66e420050a4eec | [
"Apache-2.0"
] | null | null | null | tools/init_db.py | yktimes/YkForm | 24ed846646336f2235a5d5e7ec66e420050a4eec | [
"Apache-2.0"
] | null | null | null | tools/init_db.py | yktimes/YkForm | 24ed846646336f2235a5d5e7ec66e420050a4eec | [
"Apache-2.0"
] | null | null | null | from apps.users.models import User
from peewee import MySQLDatabase
from YkForm.settings import database
from apps.community.models import CommunityGroup,CommunityGroupMember,PostComment,Post,CommentLike
from apps.question.models import Question,Answer
def init():
# database.create_tables([User])
# database.c... | 28.888889 | 98 | 0.792308 | 58 | 520 | 6.896552 | 0.448276 | 0.14 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113462 | 520 | 17 | 99 | 30.588235 | 0.867679 | 0.282692 | 0 | 0 | 0 | 0 | 0.02168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.555556 | 0 | 0.666667 | 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 |
03404981e6ecaea21f386b9789e674859d4dcd1f | 476 | py | Python | pyFixedFlatFile/exceptions.py | anderson89marques/PyFixedFlatFile | c09afdfe73a3ff7f9b1cbb0d0c23c51080d569de | [
"MIT"
] | 5 | 2019-09-26T13:32:55.000Z | 2022-02-09T03:19:31.000Z | pyFixedFlatFile/exceptions.py | anderson89marques/PyFixedFlatFile | c09afdfe73a3ff7f9b1cbb0d0c23c51080d569de | [
"MIT"
] | null | null | null | pyFixedFlatFile/exceptions.py | anderson89marques/PyFixedFlatFile | c09afdfe73a3ff7f9b1cbb0d0c23c51080d569de | [
"MIT"
] | null | null | null | class ParamsException(Exception):
"""Exception raised when tp, fmt and size values are wrongs"""
pass
class LineSizeException(Exception):
"""Exception raised when line size is bigger then specified"""
pass
class LineIdentifierException(Exception):
"""Exception raised when line indentifier rased ... | 26.444444 | 70 | 0.726891 | 58 | 476 | 5.965517 | 0.62069 | 0.156069 | 0.208092 | 0.242775 | 0.184971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 476 | 17 | 71 | 28 | 0.915344 | 0.607143 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0342c1452d15f632b97129d19014876732dd5d14 | 359 | py | Python | instagram_api/interfaces/api_response.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | 13 | 2019-08-07T21:24:34.000Z | 2020-12-12T12:23:50.000Z | instagram_api/interfaces/api_response.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | instagram_api/interfaces/api_response.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod, abstractproperty
__all__ = ['ApiResponseInterface']
class ApiResponseInterface(metaclass=ABCMeta):
@abstractproperty
def is_ok(self): ...
@abstractmethod
def get_message(self): ...
@abstractproperty
def http_response(self): ...
@abstractpropert... | 18.894737 | 57 | 0.707521 | 33 | 359 | 7.424242 | 0.575758 | 0.232653 | 0.187755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183844 | 359 | 18 | 58 | 19.944444 | 0.836177 | 0 | 0 | 0.272727 | 0 | 0 | 0.05571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
034a4f6e5433eefc330c044e8bc451b37969600d | 99 | py | Python | tests/test_mpain.py | raeoks/mpain | d6d3920a35f6d2d188106e32389ea365137d23c4 | [
"MIT"
] | null | null | null | tests/test_mpain.py | raeoks/mpain | d6d3920a35f6d2d188106e32389ea365137d23c4 | [
"MIT"
] | null | null | null | tests/test_mpain.py | raeoks/mpain | d6d3920a35f6d2d188106e32389ea365137d23c4 | [
"MIT"
] | null | null | null | from mpain import MPain
class TestMPain(object):
def test_sanity(self):
assert MPain
| 14.142857 | 26 | 0.69697 | 13 | 99 | 5.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 99 | 6 | 27 | 16.5 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0357ba33f78e1a556f68b5e5ab88c0faae896bc1 | 287 | py | Python | scheduler/apps/authentication/migrations/0003_merge_20191106_1150.py | bryan-munene/scheduler-api | 8221d9b35422d6332a980e10cda1e237007b94f2 | [
"MIT"
] | null | null | null | scheduler/apps/authentication/migrations/0003_merge_20191106_1150.py | bryan-munene/scheduler-api | 8221d9b35422d6332a980e10cda1e237007b94f2 | [
"MIT"
] | 6 | 2020-06-06T00:23:40.000Z | 2022-02-10T13:37:32.000Z | scheduler/apps/authentication/migrations/0003_merge_20191106_1150.py | bryan-munene/scheduler-api | 8221d9b35422d6332a980e10cda1e237007b94f2 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.6 on 2019-11-06 08:50
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('authentication', '0002_auto_20191106_1018'),
('authentication', '0002_auto_20191106_1148'),
]
operations = [
]
| 19.133333 | 54 | 0.665505 | 33 | 287 | 5.606061 | 0.757576 | 0.194595 | 0.237838 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209821 | 0.219512 | 287 | 14 | 55 | 20.5 | 0.616071 | 0.156794 | 0 | 0 | 1 | 0 | 0.308333 | 0.191667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03702a99393f699241415f62dc6656a58b56d0b7 | 257 | py | Python | text_to_command_conversion/model_creating.py | TolimanStaR/Virushack | 4aede82e794972263ff97bef1283a5f7677773bb | [
"MIT"
] | null | null | null | text_to_command_conversion/model_creating.py | TolimanStaR/Virushack | 4aede82e794972263ff97bef1283a5f7677773bb | [
"MIT"
] | null | null | null | text_to_command_conversion/model_creating.py | TolimanStaR/Virushack | 4aede82e794972263ff97bef1283a5f7677773bb | [
"MIT"
] | null | null | null | import word2vec
from config import *
word2vec.word2phrase(filename_start, filename_phrases, verbose=True)
word2vec.word2vec(filename_phrases, filename_bin, size=100, verbose=True)
word2vec.word2clusters(filename_start, filename_clusters, 100, verbose=True)
| 42.833333 | 76 | 0.848249 | 32 | 257 | 6.625 | 0.46875 | 0.15566 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054167 | 0.066148 | 257 | 5 | 77 | 51.4 | 0.829167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
cef0a3fad68cadd415133ce04b1e216361d233a2 | 144 | py | Python | geolocations_app/models.py | sivasankar-dev/latlong-django | ca1093ced3955b89f8512f5a3b3ad5f39efec4ee | [
"MIT"
] | null | null | null | geolocations_app/models.py | sivasankar-dev/latlong-django | ca1093ced3955b89f8512f5a3b3ad5f39efec4ee | [
"MIT"
] | null | null | null | geolocations_app/models.py | sivasankar-dev/latlong-django | ca1093ced3955b89f8512f5a3b3ad5f39efec4ee | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class AddressFile(models.Model):
excel_file = models.FileField(upload_to='excel/')
| 24 | 53 | 0.763889 | 20 | 144 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 5 | 54 | 28.8 | 0.864 | 0.166667 | 0 | 0 | 0 | 0 | 0.050847 | 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 |
cef638ede8486cddef67573ff651227592fdd206 | 33 | py | Python | proxygrab/package/__init__.py | Divkix/ProxyGrab | c8b2dcf48a00c379eddc9fa7e79ef6feac14e403 | [
"MIT"
] | 15 | 2021-01-20T00:42:35.000Z | 2022-03-23T15:04:31.000Z | proxygrab/package/__init__.py | SkuzzyxD/ProxyGrab | 7a20d3e6617270798dfe1828cb14de218c6a7777 | [
"MIT"
] | 17 | 2021-06-15T16:14:02.000Z | 2022-03-01T08:32:14.000Z | proxygrab/package/__init__.py | Divkix/ProxyGrab | c8b2dcf48a00c379eddc9fa7e79ef6feac14e403 | [
"MIT"
] | 3 | 2021-03-07T11:06:07.000Z | 2021-06-26T17:23:39.000Z | """initialise main workplace."""
| 16.5 | 32 | 0.69697 | 3 | 33 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.766667 | 0.787879 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cef83d3fc2d34fbe283ba5693f898df3c3e35e53 | 382 | py | Python | django_mongoengine/__init__.py | lsaint/django-mongoengine | b74d91c15967982cb42c9acb22fd7d5a0e2e2689 | [
"BSD-3-Clause"
] | null | null | null | django_mongoengine/__init__.py | lsaint/django-mongoengine | b74d91c15967982cb42c9acb22fd7d5a0e2e2689 | [
"BSD-3-Clause"
] | 1 | 2021-06-10T17:45:46.000Z | 2021-06-10T17:45:46.000Z | django_mongoengine/__init__.py | lsaint/django-mongoengine | b74d91c15967982cb42c9acb22fd7d5a0e2e2689 | [
"BSD-3-Clause"
] | null | null | null | from .document import (
Document,
DynamicDocument,
EmbeddedDocument,
DynamicEmbeddedDocument,
)
from .queryset import QuerySet, QuerySetNoCache
__all__ = [
"QuerySet",
"QuerySetNoCache",
"Document",
"DynamicDocument",
"EmbeddedDocument",
"DynamicEmbeddedDocument",
]
# default_a... | 20.105263 | 72 | 0.722513 | 26 | 382 | 10.346154 | 0.615385 | 0.171004 | 0.289963 | 0.460967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183246 | 382 | 18 | 73 | 21.222222 | 0.862179 | 0.183246 | 0 | 0 | 0 | 0 | 0.274194 | 0.074194 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3046ef5c1dcf39dd14402482113acfbfe8424c51 | 167 | py | Python | example/example/urls.py | nicokant/django-htmx | 4e5b9875404d34dc2e9386b5de8410f354980605 | [
"MIT"
] | null | null | null | example/example/urls.py | nicokant/django-htmx | 4e5b9875404d34dc2e9386b5de8410f354980605 | [
"MIT"
] | null | null | null | example/example/urls.py | nicokant/django-htmx | 4e5b9875404d34dc2e9386b5de8410f354980605 | [
"MIT"
] | null | null | null | from django.urls import path
from example.core.views import attribute_test, index
urlpatterns = [
path("", index),
path("attribute-test", attribute_test),
]
| 18.555556 | 52 | 0.718563 | 21 | 167 | 5.619048 | 0.571429 | 0.330508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161677 | 167 | 8 | 53 | 20.875 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0.083832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
30540bfff7d7759b8de60c3f969ba122494b3de7 | 61 | py | Python | 分类代表题目/动态规划/股票类型问题/指定K次交易.py | ResolveWang/algorithm_qa | a0cb649acaf8cf9d808272bc15f1951f2c05c828 | [
"MIT"
] | 79 | 2018-03-27T12:37:49.000Z | 2022-01-21T10:18:17.000Z | 分类代表题目/动态规划/股票类型问题/指定K次交易.py | ResolveWang/algorithm_qa | a0cb649acaf8cf9d808272bc15f1951f2c05c828 | [
"MIT"
] | null | null | null | 分类代表题目/动态规划/股票类型问题/指定K次交易.py | ResolveWang/algorithm_qa | a0cb649acaf8cf9d808272bc15f1951f2c05c828 | [
"MIT"
] | 27 | 2018-04-08T03:07:06.000Z | 2021-10-30T00:01:50.000Z | """
问题: 假设把股票价格按时间先后顺序存储在数组中,可以最多买卖K次,请问
该股票可能获得的最大利润是多少?
""" | 15.25 | 36 | 0.770492 | 5 | 61 | 9.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 4 | 37 | 15.25 | 0.824561 | 0.868852 | 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 |
305504531288652d1dffef8b34774c1bda329d63 | 345 | py | Python | tests/test_api_key.py | Thierryvil/escolhedor-de-filme | e9691546f956763b3f667727491798daf843650c | [
"MIT"
] | null | null | null | tests/test_api_key.py | Thierryvil/escolhedor-de-filme | e9691546f956763b3f667727491798daf843650c | [
"MIT"
] | null | null | null | tests/test_api_key.py | Thierryvil/escolhedor-de-filme | e9691546f956763b3f667727491798daf843650c | [
"MIT"
] | null | null | null | """ Tests File"""
import requests
from website import API_KEY
def test_api_key_is_not_null():
""" Get API_KEY value and compare """
assert API_KEY != None
def test_request_api_key():
""" Test a request with api_key value """
assert requests.get(f'https://api.themoviedb.org/3/movie/76341?api_key={API_K... | 28.75 | 105 | 0.710145 | 56 | 345 | 4.107143 | 0.571429 | 0.208696 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.156522 | 345 | 11 | 106 | 31.363636 | 0.75945 | 0.22029 | 0 | 0 | 0 | 0 | 0.232 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
061d73570a28b74f2cc41ca13a297d043f6f8902 | 26 | py | Python | kmodes/__init__.py | sdkugelmass/kmodes | 01b35b2a1307ba0cca3c56791adf70a80b890328 | [
"MIT"
] | null | null | null | kmodes/__init__.py | sdkugelmass/kmodes | 01b35b2a1307ba0cca3c56791adf70a80b890328 | [
"MIT"
] | null | null | null | kmodes/__init__.py | sdkugelmass/kmodes | 01b35b2a1307ba0cca3c56791adf70a80b890328 | [
"MIT"
] | null | null | null | __version__ = 'nb 0.11.2'
| 13 | 25 | 0.653846 | 5 | 26 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.153846 | 26 | 1 | 26 | 26 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
063b7befbdbad7ff9ff936c2801cebf831de8ef8 | 265 | py | Python | bots_detector/models/base_model.py | cloutavista/bot-detector | 110b4d1bc2c12a28e0907295ceacc0cb87eb00f3 | [
"MIT"
] | null | null | null | bots_detector/models/base_model.py | cloutavista/bot-detector | 110b4d1bc2c12a28e0907295ceacc0cb87eb00f3 | [
"MIT"
] | null | null | null | bots_detector/models/base_model.py | cloutavista/bot-detector | 110b4d1bc2c12a28e0907295ceacc0cb87eb00f3 | [
"MIT"
] | null | null | null | ### This script will be responsible for building a model, optionally leveraging a training set ###
from abc import ABC
class Model(ABC):
def train(self):
return NotImplemented
def predict(self, profile):
return NotImplemented | 22.083333 | 99 | 0.671698 | 32 | 265 | 5.5625 | 0.75 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264151 | 265 | 12 | 100 | 22.083333 | 0.912821 | 0.339623 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 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 |
064c5625a9234ce77d492cbe8f933eff84ae5fe4 | 263 | py | Python | Python/gksdudaovld/MapperTest.py | ForestHouse2316/gksdudaovld | f6ddbb824ea90ef7012dc4dcb0ea3533a49018da | [
"MIT"
] | null | null | null | Python/gksdudaovld/MapperTest.py | ForestHouse2316/gksdudaovld | f6ddbb824ea90ef7012dc4dcb0ea3533a49018da | [
"MIT"
] | null | null | null | Python/gksdudaovld/MapperTest.py | ForestHouse2316/gksdudaovld | f6ddbb824ea90ef7012dc4dcb0ea3533a49018da | [
"MIT"
] | null | null | null | from gksdudaovld import KoEngMapper as Mapper
from SimpleTester import SimpleTester
tester = SimpleTester("./test_en2ko.txt", Mapper.conv_en2ko)
print(tester.start().log)
# tester = SimpleTester("./test_ko2en.txt", Mapper.conv_ko2en)
# print(tester.start().log) | 32.875 | 62 | 0.78327 | 34 | 263 | 5.941176 | 0.470588 | 0.178218 | 0.217822 | 0.188119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.087452 | 263 | 8 | 63 | 32.875 | 0.825 | 0.326996 | 0 | 0 | 0 | 0 | 0.091429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 |
06a256b23504528d2fba80a78e11b2df44a254b3 | 3,199 | py | Python | p638_shopping_offers.py | feigaochn/leetcode | abf0877fae02aa9c2549051f0b68df0ace952512 | [
"MIT"
] | null | null | null | p638_shopping_offers.py | feigaochn/leetcode | abf0877fae02aa9c2549051f0b68df0ace952512 | [
"MIT"
] | null | null | null | p638_shopping_offers.py | feigaochn/leetcode | abf0877fae02aa9c2549051f0b68df0ace952512 | [
"MIT"
] | null | null | null | class Solution:
def shoppingOffers(self, price, special, needs):
"""
:type price: List[int]
:type special: List[List[int]]
:type needs: List[int]
:rtype: int
"""
for i, p in enumerate(price):
row = [0 for _ in price] + [p]
row[i] = 1
... | 66.645833 | 1,681 | 0.444201 | 900 | 3,199 | 1.557778 | 0.084444 | 0.025678 | 0.012839 | 0.008559 | 0.052782 | 0.027104 | 0 | 0 | 0 | 0 | 0 | 0.327532 | 0.209753 | 3,199 | 47 | 1,682 | 68.06383 | 0.227057 | 0.051579 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0 | 0 | 0.090909 | 0.090909 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
06aed32fbd2f060a1ccd9bab2938abfb97d0660a | 70 | py | Python | passenger_wsgi.py | gijzelaerr/workflow-service | e2cc4b5ae9a04d4fdd1f86272edb993c0dd0b926 | [
"Apache-2.0"
] | 32 | 2017-07-21T08:40:51.000Z | 2022-02-17T08:24:46.000Z | passenger_wsgi.py | Sage-Bionetworks/workflow-service | 8b5dc0afe9ea0972014cdf48a693ee6f893cfe5e | [
"Apache-2.0"
] | 90 | 2017-08-01T17:31:29.000Z | 2022-03-28T16:58:16.000Z | passenger_wsgi.py | Sage-Bionetworks/workflow-service | 8b5dc0afe9ea0972014cdf48a693ee6f893cfe5e | [
"Apache-2.0"
] | 19 | 2017-10-27T19:12:19.000Z | 2020-05-29T16:26:45.000Z | from wes_service.wes_service_main import setup
application = setup()
| 17.5 | 46 | 0.828571 | 10 | 70 | 5.5 | 0.7 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 3 | 47 | 23.333333 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
231d9fe43e95fc6c6a57d7e8dbf2a8343552dc3b | 439 | py | Python | app/talk/__init__.py | Deteriorator/Alog | bdb7b3199d13c28030987275fe020955e3bf7b74 | [
"MIT"
] | null | null | null | app/talk/__init__.py | Deteriorator/Alog | bdb7b3199d13c28030987275fe020955e3bf7b74 | [
"MIT"
] | null | null | null | app/talk/__init__.py | Deteriorator/Alog | bdb7b3199d13c28030987275fe020955e3bf7b74 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
-------------------------------------------------------------------------------
@Name: __init__.py.py
@Desc:
@Author: Asura liangz.org@gmail.com
@Create: 2019.06.20 21:26
------------------------------------------------------------------------... | 29.266667 | 79 | 0.23918 | 28 | 439 | 3.607143 | 0.857143 | 0.118812 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054974 | 0.129841 | 439 | 14 | 80 | 31.357143 | 0.209424 | 0.968109 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
232d8c7995f0d16643008641081b18ead4b988d7 | 191 | py | Python | reference/Python/lang/*and**_in_function.py | steadylearner/code | ba6df6c38a6e25b7ea996f4df905921e27760e04 | [
"MIT"
] | 4 | 2019-07-17T14:43:32.000Z | 2022-03-27T21:38:01.000Z | reference/Python/lang/*and**_in_function.py | steadylearner/code | ba6df6c38a6e25b7ea996f4df905921e27760e04 | [
"MIT"
] | 39 | 2020-09-04T03:31:16.000Z | 2022-03-08T22:54:03.000Z | reference/Python/lang/*and**_in_function.py | steadylearner/code | ba6df6c38a6e25b7ea996f4df905921e27760e04 | [
"MIT"
] | 1 | 2021-03-03T13:04:28.000Z | 2021-03-03T13:04:28.000Z | def print_some(a, b):
print(a, b)
list_of_numbers = [1, 2]
print_some(*list_of_numbers)
# a = {'a': "one", 'b': "two", 'c': "three" }]
# print_some(*a) key
# print_some(**a) value
| 12.733333 | 46 | 0.570681 | 33 | 191 | 3.060606 | 0.484848 | 0.356436 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.193717 | 191 | 14 | 47 | 13.642857 | 0.642857 | 0.445026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
232e677d08a852c84fae7aec83e3dbd5ecb6e408 | 44 | py | Python | pyExSi/__init__.py | ladisk/pyExSi | ef83e58097b4930aef6fed384d71c416e5bc9503 | [
"MIT"
] | 3 | 2020-12-21T07:46:37.000Z | 2022-03-27T06:56:31.000Z | pyExSi/__init__.py | ladisk/pyExSi | ef83e58097b4930aef6fed384d71c416e5bc9503 | [
"MIT"
] | 2 | 2020-12-22T11:29:09.000Z | 2021-01-07T06:28:24.000Z | pyExSi/__init__.py | ladisk/pyExSi | ef83e58097b4930aef6fed384d71c416e5bc9503 | [
"MIT"
] | 2 | 2020-12-22T10:34:27.000Z | 2021-03-14T19:17:12.000Z | __version__ = '0.42'
from .signals import *
| 14.666667 | 22 | 0.704545 | 6 | 44 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.159091 | 44 | 2 | 23 | 22 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
23342e21ee8a42d3a6079fb00bf27c570c526ff8 | 143 | py | Python | fmojinja/chpi/__main__.py | Taro-Imahiro/fmojinja | 5b2c4100e25bd198b1cf8ed44b37b1c4bb93d2ee | [
"MIT"
] | null | null | null | fmojinja/chpi/__main__.py | Taro-Imahiro/fmojinja | 5b2c4100e25bd198b1cf8ed44b37b1c4bb93d2ee | [
"MIT"
] | 13 | 2021-07-06T07:03:58.000Z | 2021-11-22T15:25:22.000Z | fmojinja/chpi/__main__.py | Taro-Imahiro/fmojinja | 5b2c4100e25bd198b1cf8ed44b37b1c4bb93d2ee | [
"MIT"
] | 3 | 2021-06-26T19:40:34.000Z | 2021-09-15T04:24:21.000Z | from ..mixin import SubCommands
from .vpi import Vpi
from .input import Input
SubCommands.main_proc({
"vpi": Vpi,
"input": Input,
})
| 14.3 | 31 | 0.685315 | 19 | 143 | 5.105263 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195804 | 143 | 9 | 32 | 15.888889 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 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 |
2338cb89a06e0654983f17e5a500313d5f25a3d3 | 282 | py | Python | books/grokking_deeplearning/ch3/numpy_dables.py | gerritjvv/deeplearning | 1cfdee65c7f1d48156b5e1f64616cae0c90aa347 | [
"MIT"
] | null | null | null | books/grokking_deeplearning/ch3/numpy_dables.py | gerritjvv/deeplearning | 1cfdee65c7f1d48156b5e1f64616cae0c90aa347 | [
"MIT"
] | null | null | null | books/grokking_deeplearning/ch3/numpy_dables.py | gerritjvv/deeplearning | 1cfdee65c7f1d48156b5e1f64616cae0c90aa347 | [
"MIT"
] | null | null | null | import numpy as np
a = np.array([
[1, 2, 3],
[4, 5, 6]
])
print("print(a)")
print(a)
print()
print("print(a.T)")
print(a.T)
print()
print("print(a.dot(2))")
print(a.dot(2))
print()
print("print(a.dot(np.array([2, 2, 2])))")
print(a.dot(np.array([2, 2, 2])))
print()
| 10.846154 | 42 | 0.542553 | 55 | 282 | 2.781818 | 0.272727 | 0.313725 | 0.287582 | 0.313725 | 0.542484 | 0.281046 | 0.281046 | 0.281046 | 0.281046 | 0 | 0 | 0.059322 | 0.163121 | 282 | 25 | 43 | 11.28 | 0.588983 | 0 | 0 | 0.235294 | 0 | 0 | 0.235714 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.705882 | 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 | 0 | 1 | 0 | 4 |
237863f20657e7ad752aa50c6e7b8202db9d98c8 | 297 | py | Python | spinta/backends/mongo/commands/migrate.py | atviriduomenys/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 2 | 2019-03-14T06:41:14.000Z | 2019-03-26T11:48:14.000Z | spinta/backends/mongo/commands/migrate.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 44 | 2019-04-05T15:52:45.000Z | 2022-03-30T07:41:33.000Z | spinta/backends/mongo/commands/migrate.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 1 | 2019-04-01T09:54:27.000Z | 2019-04-01T09:54:27.000Z | from spinta import commands
from spinta.components import Context
from spinta.manifests.components import Manifest
from spinta.backends.mongo.components import Mongo
@commands.migrate.register(Context, Manifest, Mongo)
def migrate(context: Context, manifest: Manifest, backend: Mongo):
pass
| 29.7 | 66 | 0.818182 | 37 | 297 | 6.567568 | 0.405405 | 0.164609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 297 | 9 | 67 | 33 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.571429 | 0 | 0.714286 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
88dc34f0cf1ea5d9a1f2f26189837da3c5be377a | 39 | py | Python | scripts/sources/swedish/sls.py | AlexGustafsson/word-frequencies | 21a73dc1e56770f5563f928b7e3943874c995bd9 | [
"Unlicense"
] | null | null | null | scripts/sources/swedish/sls.py | AlexGustafsson/word-frequencies | 21a73dc1e56770f5563f928b7e3943874c995bd9 | [
"Unlicense"
] | null | null | null | scripts/sources/swedish/sls.py | AlexGustafsson/word-frequencies | 21a73dc1e56770f5563f928b7e3943874c995bd9 | [
"Unlicense"
] | null | null | null | http://fho.sls.fi/tidsperiod/1900-tal/
| 19.5 | 38 | 0.74359 | 7 | 39 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.025641 | 39 | 1 | 39 | 39 | 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 |
88def8e18ff3987bc984126c88734ff490e6a48e | 2,913 | py | Python | twitter_bot.py | etopuz/twitter-bot-with-selenium | 3db2e044f06e75eea7a4c61156df56ef0a4eafe2 | [
"MIT"
] | 1 | 2021-03-23T19:04:49.000Z | 2021-03-23T19:04:49.000Z | twitter_bot.py | etopuz/twitter-bot-with-selenium | 3db2e044f06e75eea7a4c61156df56ef0a4eafe2 | [
"MIT"
] | null | null | null | twitter_bot.py | etopuz/twitter-bot-with-selenium | 3db2e044f06e75eea7a4c61156df56ef0a4eafe2 | [
"MIT"
] | null | null | null | import time
import pickle
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
import os.path
def load_cookies(driver):
for cookie in pickle.load(open("TwitterCookies.pkl", "rb")):
driver.add_cookie(cookie)
def save_cookies(driver):
pickle.dump(driver.ge... | 39.90411 | 172 | 0.658084 | 471 | 2,913 | 3.946921 | 0.195329 | 0.293706 | 0.280796 | 0.219473 | 0.420118 | 0.351802 | 0.319527 | 0.314685 | 0.300699 | 0.239914 | 0 | 0.02286 | 0.174047 | 2,913 | 72 | 173 | 40.458333 | 0.749792 | 0.037075 | 0 | 0.090909 | 0 | 0.163636 | 0.361437 | 0.308651 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.127273 | 0.090909 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
88ed9489e7600e51a22aec7cb6e1e124e89afade | 253 | py | Python | students/k3342/practical_works/Kocheshkova_Kseniia/django_project_kocheshkova/project_first_app/admin.py | Derimeer/ITMO_ICT_WebProgramming_2020 | afb4999d20d59c5d47e4f380e8ba06204a42c729 | [
"MIT"
] | null | null | null | students/k3342/practical_works/Kocheshkova_Kseniia/django_project_kocheshkova/project_first_app/admin.py | Derimeer/ITMO_ICT_WebProgramming_2020 | afb4999d20d59c5d47e4f380e8ba06204a42c729 | [
"MIT"
] | null | null | null | students/k3342/practical_works/Kocheshkova_Kseniia/django_project_kocheshkova/project_first_app/admin.py | Derimeer/ITMO_ICT_WebProgramming_2020 | afb4999d20d59c5d47e4f380e8ba06204a42c729 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Owner
admin.site.register(Owner)
from .models import Car
admin.site.register(Car)
from .models import Ownership
admin.site.register(Ownership)
from .models import License
admin.site.register(License)
| 25.3 | 32 | 0.822134 | 37 | 253 | 5.621622 | 0.324324 | 0.192308 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094862 | 253 | 9 | 33 | 28.111111 | 0.908297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 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 |
88edef9bc409124fbd18c514a05e5f45b19b8e53 | 142 | py | Python | codes_auto/1633.minimum-number-of-increments-on-subarrays-to-form-a-target-array.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/1633.minimum-number-of-increments-on-subarrays-to-form-a-target-array.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/1633.minimum-number-of-increments-on-subarrays-to-form-a-target-array.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=1633 lang=python3
#
# [1633] minimum-number-of-increments-on-subarrays-to-form-a-target-array
#
None
# @lc code=end | 20.285714 | 73 | 0.725352 | 24 | 142 | 4.291667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 0.098592 | 142 | 7 | 74 | 20.285714 | 0.734375 | 0.880282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
001104d018ea2bf73c02502f551472045fef36fc | 159 | py | Python | examples/trending_example.py | RiccardoTOTI/TikTok-Api-1 | b23a4e3f0adbde388c9af6b6dbc8fb701fefbb48 | [
"MIT"
] | 3 | 2022-03-15T19:36:20.000Z | 2022-03-18T11:26:01.000Z | examples/trending_example.py | RiccardoTOTI/TikTok-Api-1 | b23a4e3f0adbde388c9af6b6dbc8fb701fefbb48 | [
"MIT"
] | null | null | null | examples/trending_example.py | RiccardoTOTI/TikTok-Api-1 | b23a4e3f0adbde388c9af6b6dbc8fb701fefbb48 | [
"MIT"
] | 4 | 2022-03-15T14:38:29.000Z | 2022-03-20T11:55:26.000Z | from TikTokApi import TikTokApi
verify_fp = "verify_xxx"
api = TikTokApi(custom_verify_fp=verify_fp)
for video in api.trending.videos():
print(video.id)
| 19.875 | 43 | 0.773585 | 24 | 159 | 4.916667 | 0.625 | 0.20339 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 159 | 7 | 44 | 22.714286 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0.062893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 |
003a5ea57652922fb54aa929a80dd17ca79dd841 | 423 | py | Python | problems/484.Find_Permutation/stefan_1line_sort.py | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | problems/484.Find_Permutation/stefan_1line_sort.py | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | problems/484.Find_Permutation/stefan_1line_sort.py | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | def findPermutation(self, s):
return sorted(range(1, len(s) + 2), cmp=lambda i, j: -('I' not in s[j - 1:i - 1]))
# My 1 - liner tells sorted that the(larger) number i comes before
# the(smaller) number j iff they're both under the same D-streak, i.e.,
# iff there's no I between them. (I'm not totally sure that i wil... | 47 | 84 | 0.687943 | 82 | 423 | 3.54878 | 0.670732 | 0.061856 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014409 | 0.179669 | 423 | 8 | 85 | 52.875 | 0.824207 | 0.699764 | 0 | 0 | 0 | 0 | 0.008264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
003e772cf2e887b25e96553ffd89dc523d12964b | 108 | py | Python | pick_choose.py | iomintz/python-snippets | 982861c173bf4bcd5d908514a9e8b1914a580a5d | [
"CC0-1.0"
] | 2 | 2020-04-10T07:29:56.000Z | 2020-05-27T03:45:21.000Z | pick_choose.py | LyricLy/python-snippets | 9d868b7bbccd793ea1dc513f51290963584a1dee | [
"CC0-1.0"
] | null | null | null | pick_choose.py | LyricLy/python-snippets | 9d868b7bbccd793ea1dc513f51290963584a1dee | [
"CC0-1.0"
] | 2 | 2018-11-24T08:16:59.000Z | 2019-02-24T04:41:30.000Z | from math import factorial as fac
P = lambda n, r: fac(n) // fac(n - r)
C = lambda n, r: P(n, r) // fac(r)
| 21.6 | 37 | 0.574074 | 24 | 108 | 2.583333 | 0.458333 | 0.129032 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 108 | 4 | 38 | 27 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cc3fe956d17ef61a059930c6abf6f336073cca03 | 34 | py | Python | tests/comply/__init__.py | repsistance/keripy | 655c5625b5593844c405e7da5d4b089153b64efb | [
"Apache-2.0"
] | 26 | 2020-05-18T19:52:33.000Z | 2022-03-02T13:58:45.000Z | tests/comply/__init__.py | repsistance/keripy | 655c5625b5593844c405e7da5d4b089153b64efb | [
"Apache-2.0"
] | 47 | 2021-06-17T20:00:02.000Z | 2022-03-31T20:20:44.000Z | tests/comply/__init__.py | repsistance/keripy | 655c5625b5593844c405e7da5d4b089153b64efb | [
"Apache-2.0"
] | 13 | 2020-05-05T20:21:26.000Z | 2022-03-31T14:11:30.000Z | """
Compliance test package
"""
| 5.666667 | 23 | 0.617647 | 3 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 5 | 24 | 6.8 | 0.777778 | 0.676471 | 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 |
cc42bd6fb8b5a45bd06fea0917c0ab268e7854f4 | 74 | py | Python | src/gae_flask_boilerplate/app.py | euri10/python-gae_flask_boilerplate | 408ed2d9b718b34e73a9a4654b65a0c0d00f2117 | [
"BSD-2-Clause"
] | null | null | null | src/gae_flask_boilerplate/app.py | euri10/python-gae_flask_boilerplate | 408ed2d9b718b34e73a9a4654b65a0c0d00f2117 | [
"BSD-2-Clause"
] | null | null | null | src/gae_flask_boilerplate/app.py | euri10/python-gae_flask_boilerplate | 408ed2d9b718b34e73a9a4654b65a0c0d00f2117 | [
"BSD-2-Clause"
] | null | null | null | from gae_flask_boilerplate import create_app
app = create_app('default')
| 18.5 | 44 | 0.824324 | 11 | 74 | 5.181818 | 0.727273 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 3 | 45 | 24.666667 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 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 |
ccd3aa7d5dd8071850f869f3a2168cc67318798e | 952 | py | Python | contacts/__init__.py | heimann/contacts | 9a8f2ebea6ec45a34b5791fa74a61857abdb3887 | [
"MIT"
] | 1 | 2017-10-17T20:40:10.000Z | 2017-10-17T20:40:10.000Z | contacts/__init__.py | heimann/contacts | 9a8f2ebea6ec45a34b5791fa74a61857abdb3887 | [
"MIT"
] | null | null | null | contacts/__init__.py | heimann/contacts | 9a8f2ebea6ec45a34b5791fa74a61857abdb3887 | [
"MIT"
] | null | null | null | # __ __ ___ _______
#/ `/ \|\ || /\ / `|/__`
#\__,\__/| \||/~~\\__,|.__/
#
"""
Contact Cards
~~~~~~~~~~~~~~~~~~~~~
Contacts let's you create Contact Cards in Python that just work, so you can worry about having meaningful conversations
with people who know who you are.
Here's how it works:
>>> from contac... | 26.444444 | 120 | 0.625 | 113 | 952 | 5 | 0.575221 | 0.106195 | 0.084956 | 0.081416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009321 | 0.211134 | 952 | 36 | 121 | 26.444444 | 0.743009 | 0.952731 | 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 |
aeb38f4149d71a788fc7aa92cdfa8c8f88837c1f | 8,866 | py | Python | tests/robotcode/jsonrpc/test_jsonrpcprotocol.py | d-biehl/robotcode | e5c002f9810e71880e876be1602fcfb78e028d79 | [
"Apache-2.0"
] | 21 | 2021-03-11T19:37:31.000Z | 2022-02-28T05:26:33.000Z | tests/robotcode/jsonrpc/test_jsonrpcprotocol.py | d-biehl/robotcode | e5c002f9810e71880e876be1602fcfb78e028d79 | [
"Apache-2.0"
] | 46 | 2021-03-11T10:58:38.000Z | 2022-03-31T10:15:54.000Z | tests/robotcode/jsonrpc/test_jsonrpcprotocol.py | d-biehl/robotcode | e5c002f9810e71880e876be1602fcfb78e028d79 | [
"Apache-2.0"
] | 1 | 2021-11-08T10:32:57.000Z | 2021-11-08T10:32:57.000Z | import asyncio
import json
from typing import Any, Dict, Generator, List, Optional, cast
import pytest
from robotcode.jsonrpc2.protocol import (
JsonRPCError,
JsonRPCErrorObject,
JsonRPCErrors,
JsonRPCMessage,
JsonRPCProtocol,
JsonRPCRequest,
JsonRPCResponse,
)
from robotcode.jsonrpc2.serv... | 33.583333 | 120 | 0.713738 | 1,112 | 8,866 | 5.498201 | 0.115108 | 0.070167 | 0.038927 | 0.046778 | 0.78999 | 0.772162 | 0.739614 | 0.707229 | 0.699051 | 0.685149 | 0 | 0.004947 | 0.15644 | 8,866 | 263 | 121 | 33.711027 | 0.812542 | 0 | 0 | 0.576087 | 0 | 0 | 0.118543 | 0.039589 | 0 | 0 | 0 | 0 | 0.081522 | 1 | 0.016304 | false | 0 | 0.038043 | 0 | 0.070652 | 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 |
aec4c9bbade5dae6ddc729f0ddce1b28cfd218e8 | 94 | py | Python | packages/pyright-scip/snapshots/output/nested_items/src/__init__.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | null | null | null | packages/pyright-scip/snapshots/output/nested_items/src/__init__.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | 19 | 2022-03-17T03:20:34.000Z | 2022-03-31T02:53:12.000Z | packages/pyright-scip/snapshots/output/nested_items/src/__init__.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | null | null | null | # < definition scip-python pypi snapshot-util 0.1 src/__init__:
#documentation (module) src
| 18.8 | 63 | 0.755319 | 13 | 94 | 5.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.138298 | 94 | 4 | 64 | 23.5 | 0.802469 | 0.925532 | 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 |
aecf40ebe8715fec5f76bfdedfc7a65ab74417b7 | 246 | py | Python | hawser/errors.py | 5elenay/hawser | eb8cc081284e123e9d84560555d803dc979dec94 | [
"MIT"
] | 4 | 2021-06-22T19:07:02.000Z | 2022-03-10T10:44:40.000Z | hawser/errors.py | 5elenay/hawser | eb8cc081284e123e9d84560555d803dc979dec94 | [
"MIT"
] | null | null | null | hawser/errors.py | 5elenay/hawser | eb8cc081284e123e9d84560555d803dc979dec94 | [
"MIT"
] | null | null | null | class UserNotMonitoredError(Exception):
"""Raises when user not monitored."""
pass
class LanyardException(Exception):
"""Raises when lanyard gives success false but we don't have a support for the exception."""
pass
| 22.363636 | 97 | 0.686992 | 29 | 246 | 5.827586 | 0.793103 | 0.177515 | 0.224852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227642 | 246 | 10 | 98 | 24.6 | 0.889474 | 0.479675 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4e0ced49dcd48524a581f7426d91ff1c7da6ead3 | 14,346 | py | Python | sdk/python/pulumi_aws/ec2/subnet_cidr_reservation.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ec2/subnet_cidr_reservation.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ec2/subnet_cidr_reservation.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 39.85 | 134 | 0.639621 | 1,627 | 14,346 | 5.401352 | 0.098955 | 0.077606 | 0.095585 | 0.077606 | 0.78152 | 0.749772 | 0.723145 | 0.690601 | 0.675467 | 0.652367 | 0 | 0.003197 | 0.258609 | 14,346 | 359 | 135 | 39.961003 | 0.823054 | 0.300641 | 0 | 0.590674 | 1 | 0 | 0.105551 | 0.012893 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15544 | false | 0.005181 | 0.025907 | 0 | 0.274611 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9d9390f1436263609a6fcadeff29f93d2ee8c8ef | 128 | py | Python | app.py | eocode/Queens | 11a08a315dc76e7d2ddc9c742380dcfa9fd58e23 | [
"BSD-3-Clause"
] | null | null | null | app.py | eocode/Queens | 11a08a315dc76e7d2ddc9c742380dcfa9fd58e23 | [
"BSD-3-Clause"
] | null | null | null | app.py | eocode/Queens | 11a08a315dc76e7d2ddc9c742380dcfa9fd58e23 | [
"BSD-3-Clause"
] | null | null | null | """
Start app
"""
from app import queen
if __name__ == "__main__":
"""Main function for run application"""
queen.run()
| 14.222222 | 43 | 0.632813 | 16 | 128 | 4.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210938 | 128 | 8 | 44 | 16 | 0.722772 | 0.070313 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
9d9c6befb790681971c79f3f322e402455d903a5 | 3,322 | py | Python | backend/api_v2/migrations/0008_auto_20170101_0105.py | AstroMatt/subjective-time-perception | cbe222b86d2ec98065038d2f7a55c2c6b9518b9e | [
"MIT"
] | null | null | null | backend/api_v2/migrations/0008_auto_20170101_0105.py | AstroMatt/subjective-time-perception | cbe222b86d2ec98065038d2f7a55c2c6b9518b9e | [
"MIT"
] | null | null | null | backend/api_v2/migrations/0008_auto_20170101_0105.py | AstroMatt/subjective-time-perception | cbe222b86d2ec98065038d2f7a55c2c6b9518b9e | [
"MIT"
] | 1 | 2021-02-08T17:13:56.000Z | 2021-02-08T17:13:56.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-01-01 01:05
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api_v2', '0007_auto_20170101_0101'),
]
operations = [
migrations.AlterField... | 41.012346 | 137 | 0.609272 | 352 | 3,322 | 5.556818 | 0.198864 | 0.132924 | 0.166155 | 0.19274 | 0.850716 | 0.711145 | 0.691718 | 0.593558 | 0.395706 | 0.275051 | 0 | 0.013986 | 0.268212 | 3,322 | 80 | 138 | 41.525 | 0.790621 | 0.02047 | 0 | 0.534247 | 1 | 0 | 0.222701 | 0.007075 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027397 | 0 | 0.068493 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9da9b8f7acb7fdc67eeaf7b824499f818fc3b09d | 238 | py | Python | {{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/exceptions.py | pcrespov/cookiecutter-simcore-pyservice | 4c35ae839373cb3f28effd612350f2e5f2ee9ce9 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/exceptions.py | pcrespov/cookiecutter-simcore-pyservice | 4c35ae839373cb3f28effd612350f2e5f2ee9ce9 | [
"MIT"
] | 8 | 2018-10-10T16:56:55.000Z | 2022-02-09T18:17:12.000Z | {{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/exceptions.py | pcrespov/cookiecutter-simcore-pyservice | 4c35ae839373cb3f28effd612350f2e5f2ee9ce9 | [
"MIT"
] | 3 | 2018-10-08T16:15:44.000Z | 2020-05-14T10:18:39.000Z | """ All exceptions used in the {{ cookiecutter.package_name }} code base are defined here.
"""
class ServiceException(Exception):
"""
Base exception class. All service-specific exceptions should subclass
this class.
"""
| 23.8 | 90 | 0.701681 | 27 | 238 | 6.148148 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197479 | 238 | 9 | 91 | 26.444444 | 0.86911 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
9dad5d1d07249c3d6b94c519bcbbca1c3f7e6a20 | 48 | py | Python | python/testData/refactoring/rename/referencesInsideFStringsNotReportedAsStringOccurrences.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/rename/referencesInsideFStringsNotReportedAsStringOccurrences.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/refactoring/rename/referencesInsideFStringsNotReportedAsStringOccurrences.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func():
v<caret>ar = 42
s = f'{var}' | 16 | 19 | 0.458333 | 9 | 48 | 2.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.3125 | 48 | 3 | 20 | 16 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 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 |
9dda19880ecc91080ad58956c4787b469daefd8d | 109 | py | Python | yard/skills/00-web/django_demo/dss/urls.py | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 1 | 2016-03-29T02:01:58.000Z | 2016-03-29T02:01:58.000Z | yard/skills/00-web/django_demo/dss/urls.py | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 18 | 2019-02-13T09:15:25.000Z | 2021-12-09T21:32:13.000Z | yard/skills/00-web/django_demo/dss/urls.py | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 2 | 2020-07-05T01:01:30.000Z | 2020-07-08T22:33:06.000Z | from com.adapter.urls import path, include
import dss.views
urlpatterns = [
path('do', dss.views.do),
]
| 15.571429 | 42 | 0.697248 | 16 | 109 | 4.75 | 0.6875 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 6 | 43 | 18.166667 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
9de72947edfe8ca9025c5fbd922adaa312231117 | 105 | py | Python | __init__.py | mikhailkin/dataset | 7417483fdbe2e3743af4d614cb9036fd5b1375c0 | [
"Apache-2.0"
] | null | null | null | __init__.py | mikhailkin/dataset | 7417483fdbe2e3743af4d614cb9036fd5b1375c0 | [
"Apache-2.0"
] | null | null | null | __init__.py | mikhailkin/dataset | 7417483fdbe2e3743af4d614cb9036fd5b1375c0 | [
"Apache-2.0"
] | null | null | null | import sys
import importlib
sys.modules[__package__] = importlib.import_module('.dataset', __package__)
| 21 | 75 | 0.809524 | 12 | 105 | 6.333333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 4 | 76 | 26.25 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 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 |
d17f66fc2e21f1d967298f331c1e054183b4bc80 | 4,148 | py | Python | apps/jetbrains/jetbrains_actions.py | RichardHladik/knausj_talon | dc67801a59efc577f9010a2056501f5570bea14d | [
"MIT"
] | 1 | 2020-12-30T00:18:18.000Z | 2020-12-30T00:18:18.000Z | apps/jetbrains/jetbrains_actions.py | RichardHladik/knausj_talon | dc67801a59efc577f9010a2056501f5570bea14d | [
"MIT"
] | null | null | null | apps/jetbrains/jetbrains_actions.py | RichardHladik/knausj_talon | dc67801a59efc577f9010a2056501f5570bea14d | [
"MIT"
] | null | null | null | from talon import Context, actions
ctx = Context()
ctx.matches = r"""
# Requires https://plugins.jetbrains.com/plugin/10504-voice-code-idea
app: jetbrains
"""
@ctx.action_class('user')
class UserActions:
#talon app actions (+custom tab actions)
def tab_final(): actions.user.idea('ac... | 57.611111 | 103 | 0.651398 | 448 | 4,148 | 5.875 | 0.294643 | 0.12766 | 0.223404 | 0.319149 | 0.18731 | 0.044073 | 0 | 0 | 0 | 0 | 0 | 0.001578 | 0.236017 | 4,148 | 71 | 104 | 58.422535 | 0.828968 | 0.066779 | 0 | 0 | 0 | 0 | 0.260419 | 0.055656 | 0 | 0 | 0 | 0 | 0 | 1 | 0.75 | false | 0 | 0.017857 | 0 | 0.839286 | 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 |
d181dadbe12dfdf2110698564f212368cfea3ae3 | 358 | py | Python | API.py | erose1337/export_opera_passwords | 0d47ff2849e3379851e5557961781c825fa9bf0a | [
"MIT"
] | null | null | null | API.py | erose1337/export_opera_passwords | 0d47ff2849e3379851e5557961781c825fa9bf0a | [
"MIT"
] | null | null | null | API.py | erose1337/export_opera_passwords | 0d47ff2849e3379851e5557961781c825fa9bf0a | [
"MIT"
] | null | null | null | VERSION = "1.0.1"
LANGUAGE = "python"
PROJECT = "export_opera_passwords"
API = {"export_opera_passwords.main.main" : {"command line arguments" : ("output filename",
"database filename"),
"side effects"... | 39.777778 | 94 | 0.458101 | 28 | 358 | 5.714286 | 0.75 | 0.1375 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.430168 | 358 | 8 | 95 | 44.75 | 0.769608 | 0 | 0 | 0 | 0 | 0 | 0.418994 | 0.150838 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.