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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
736f7afd3feb0d8bc50355ce826f01fc601ffd36 | 11,932 | py | Python | pyleecan/Methods/Slot/HoleM51/build_geometry.py | harshasunder-1/pyleecan | 32ae60f98b314848eb9b385e3652d7fc50a77420 | [
"Apache-2.0"
] | 2 | 2019-06-08T15:04:39.000Z | 2020-09-07T13:32:22.000Z | pyleecan/Methods/Slot/HoleM51/build_geometry.py | harshasunder-1/pyleecan | 32ae60f98b314848eb9b385e3652d7fc50a77420 | [
"Apache-2.0"
] | null | null | null | pyleecan/Methods/Slot/HoleM51/build_geometry.py | harshasunder-1/pyleecan | 32ae60f98b314848eb9b385e3652d7fc50a77420 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from numpy import exp, pi, cos, sin, tan
from ....Classes.Segment import Segment
from ....Classes.Arc1 import Arc1
from ....Classes.SurfLine import SurfLine
from ....Functions.Geometry.inter_line_circle import inter_line_circle
def build_geometry(self, alpha=0, delta=0, is_simplified=False):... | 38.24359 | 81 | 0.625377 | 1,858 | 11,932 | 3.829925 | 0.103875 | 0.136594 | 0.17285 | 0.22878 | 0.779511 | 0.748876 | 0.702361 | 0.679736 | 0.651068 | 0.636453 | 0 | 0.088379 | 0.244217 | 11,932 | 311 | 82 | 38.366559 | 0.70071 | 0.147251 | 0 | 0.514768 | 0 | 0 | 0.035416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004219 | false | 0 | 0.021097 | 0 | 0.029536 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7382476ebad7da4e55b6293da0a1583eb89c6e1d | 76 | py | Python | scripts/alldisabler.py | swagkarna/Python-RAT | 4ea062218150d2a5a73368b9ccaa12c2fe452859 | [
"MIT"
] | 1 | 2022-03-01T23:31:01.000Z | 2022-03-01T23:31:01.000Z | scripts/alldisabler.py | swagkarna/Python-RAT | 4ea062218150d2a5a73368b9ccaa12c2fe452859 | [
"MIT"
] | null | null | null | scripts/alldisabler.py | swagkarna/Python-RAT | 4ea062218150d2a5a73368b9ccaa12c2fe452859 | [
"MIT"
] | 2 | 2022-03-03T22:42:22.000Z | 2022-03-06T11:20:13.000Z | from ctypes import windll
while True:
windll.user32.BlockInput(True) | 19 | 34 | 0.75 | 10 | 76 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.184211 | 76 | 4 | 34 | 19 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
738990e6ca8a71f79ebc6e5ecf9f444e383a9dce | 91 | py | Python | olftrans/errors.py | FlyBrainLab/OlfTrans | 3f873eafba3a21b8fcb27231b49835df1d3cbc0c | [
"BSD-3-Clause"
] | null | null | null | olftrans/errors.py | FlyBrainLab/OlfTrans | 3f873eafba3a21b8fcb27231b49835df1d3cbc0c | [
"BSD-3-Clause"
] | null | null | null | olftrans/errors.py | FlyBrainLab/OlfTrans | 3f873eafba3a21b8fcb27231b49835df1d3cbc0c | [
"BSD-3-Clause"
] | null | null | null | class MissingFileException(Exception):
pass
class MissingFileWarning(Warning):
pass | 22.75 | 38 | 0.791209 | 8 | 91 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 4 | 39 | 22.75 | 0.923077 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
73f4c98919f2fc709294dacaa5a2b3e9f2a2a1d7 | 179 | py | Python | src/use_cases/create_auth/create_auth.py | pagbot/pagbot-auth | 4402437210a047fe0cd530afce0a56f9d7a9b564 | [
"MIT"
] | null | null | null | src/use_cases/create_auth/create_auth.py | pagbot/pagbot-auth | 4402437210a047fe0cd530afce0a56f9d7a9b564 | [
"MIT"
] | null | null | null | src/use_cases/create_auth/create_auth.py | pagbot/pagbot-auth | 4402437210a047fe0cd530afce0a56f9d7a9b564 | [
"MIT"
] | null | null | null |
class CreateAuth:
def __init__(self, repository):
self.auth_repository = repository
async def create(self):
return await self.auth_repository.create()
| 17.9 | 50 | 0.687151 | 20 | 179 | 5.85 | 0.55 | 0.136752 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234637 | 179 | 9 | 51 | 19.888889 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
73fffb2b6e36335d81a7cd057562b7d6b1797c3a | 112 | py | Python | local_settings_yemi_asmallorange_com.py | abrar78/cinepura | f0cf3c95d34433e80d24d61ee9c7bb3fb75ec0fb | [
"BSD-3-Clause"
] | 1 | 2016-05-08T07:49:15.000Z | 2016-05-08T07:49:15.000Z | local_settings_yemi_asmallorange_com.py | abrar78/cinepura | f0cf3c95d34433e80d24d61ee9c7bb3fb75ec0fb | [
"BSD-3-Clause"
] | null | null | null | local_settings_yemi_asmallorange_com.py | abrar78/cinepura | f0cf3c95d34433e80d24d61ee9c7bb3fb75ec0fb | [
"BSD-3-Clause"
] | 1 | 2020-10-02T15:03:56.000Z | 2020-10-02T15:03:56.000Z | DEBUG = True
APP_DIR = '/home/harish/django_projects/cinepura/'
STATIC_MEDIA_PREFIX = '/static_media/cinepura' | 22.4 | 50 | 0.785714 | 15 | 112 | 5.533333 | 0.8 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 112 | 5 | 51 | 22.4 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0.530973 | 0.530973 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fb69e9eb3e1f570d1afc4aa5c725f69b2ad0d521 | 187 | py | Python | testproject/testproject/admin.py | mkay849/django-relativedelta | 34e036906204213d9c42e586889e1190fb867cb3 | [
"MIT"
] | null | null | null | testproject/testproject/admin.py | mkay849/django-relativedelta | 34e036906204213d9c42e586889e1190fb867cb3 | [
"MIT"
] | null | null | null | testproject/testproject/admin.py | mkay849/django-relativedelta | 34e036906204213d9c42e586889e1190fb867cb3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from testapp.models import Interval
@admin.register(Interval)
class IntervalAdmin(admin.ModelAdmin):
list_display = ['value']
list_filter = ['value']
| 20.777778 | 38 | 0.780749 | 23 | 187 | 6.26087 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112299 | 187 | 8 | 39 | 23.375 | 0.86747 | 0 | 0 | 0 | 0 | 0 | 0.053476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fb763435a9a77e517e176897feba238237107623 | 231 | py | Python | coord2vec/common/itertools.py | jonzarecki/coord2vec | 4f267fdd87af7b3d3558ca834b88e9ab7c309c18 | [
"Apache-2.0"
] | null | null | null | coord2vec/common/itertools.py | jonzarecki/coord2vec | 4f267fdd87af7b3d3558ca834b88e9ab7c309c18 | [
"Apache-2.0"
] | null | null | null | coord2vec/common/itertools.py | jonzarecki/coord2vec | 4f267fdd87af7b3d3558ca834b88e9ab7c309c18 | [
"Apache-2.0"
] | 1 | 2021-01-25T09:21:17.000Z | 2021-01-25T09:21:17.000Z | from typing import List, TypeVar
from future.moves import itertools
_S = TypeVar('_S')
def flatten(l: List[List[_S]]) -> List[_S]:
return list(itertools.chain.from_iterable([(i if isinstance(i, list) else [i]) for i in l]))
| 25.666667 | 96 | 0.701299 | 38 | 231 | 4.131579 | 0.552632 | 0.063694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 231 | 8 | 97 | 28.875 | 0.80102 | 0 | 0 | 0 | 0 | 0 | 0.008658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
fb858ea6552d43efb3a98a694c69b9b852d8cfc9 | 189 | py | Python | py3plex/algorithms/hedwig/learners/__init__.py | SkBlaz/supertest | 5d99034af820cc10c8f70271b55cc90c42328709 | [
"BSD-3-Clause"
] | 79 | 2018-10-22T14:54:04.000Z | 2020-03-05T05:34:35.000Z | py3plex/algorithms/hedwig/learners/__init__.py | SkBlaz/supertest | 5d99034af820cc10c8f70271b55cc90c42328709 | [
"BSD-3-Clause"
] | 6 | 2019-02-19T16:33:14.000Z | 2019-12-16T10:23:25.000Z | py3plex/algorithms/hedwig/learners/__init__.py | SkBlaz/Py3Plex | 5d99034af820cc10c8f70271b55cc90c42328709 | [
"BSD-3-Clause"
] | 16 | 2019-02-19T16:30:29.000Z | 2020-02-13T05:57:16.000Z | from .learner import Learner as HeuristicLearner
from .optimal import OptimalLearner
# here add random rules, as well as bottom-up search
__all__ = ["HeuristicLearner", "OptimalLearner"]
| 27 | 52 | 0.793651 | 23 | 189 | 6.347826 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137566 | 189 | 6 | 53 | 31.5 | 0.895706 | 0.26455 | 0 | 0 | 0 | 0 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fb89c121ea8640e66c908bcc61215f51ebfa97a1 | 165 | py | Python | udemy/python-video-workbook/my_progress/082.py | djrgit/coursework | 2a91da9b76cb1acbd12f3d8049f15d2e71f475a1 | [
"MIT"
] | null | null | null | udemy/python-video-workbook/my_progress/082.py | djrgit/coursework | 2a91da9b76cb1acbd12f3d8049f15d2e71f475a1 | [
"MIT"
] | null | null | null | udemy/python-video-workbook/my_progress/082.py | djrgit/coursework | 2a91da9b76cb1acbd12f3d8049f15d2e71f475a1 | [
"MIT"
] | 3 | 2018-08-13T23:14:22.000Z | 2019-01-11T22:50:07.000Z | # Exercise 82 - Astronomy
from datetime import datetime
import ephem
j = ephem.Jupiter()
j.compute('1230/1/1')
print((j.sun_distance * ephem.meters_per_au) / 1000)
| 20.625 | 52 | 0.745455 | 26 | 165 | 4.615385 | 0.730769 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.127273 | 165 | 7 | 53 | 23.571429 | 0.75 | 0.139394 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fbce880bcb66811f438bed34e07d11bd59a11593 | 924 | py | Python | terrascript/ovh/d.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/ovh/d.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/ovh/d.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/ovh/d.py
import terrascript
class ovh_cloud_region(terrascript.Data):
pass
class ovh_cloud_regions(terrascript.Data):
pass
class ovh_dedicated_installation_templates(terrascript.Data):
pass
class ovh_dedicated_server(terrascript.Data):
pass
class ovh_dedicated_server_boots(terr... | 14.4375 | 61 | 0.778139 | 117 | 924 | 5.837607 | 0.247863 | 0.175695 | 0.417277 | 0.491947 | 0.761347 | 0.603221 | 0.497804 | 0 | 0 | 0 | 0 | 0 | 0.152597 | 924 | 63 | 62 | 14.666667 | 0.872286 | 0.021645 | 0 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.483871 | 0.032258 | 0 | 0.516129 | 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 |
836d3612559d2331dfc098932f0cb0bc4f7e3b9b | 89 | py | Python | py_tdlib/constructors/json_value_boolean.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/json_value_boolean.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/json_value_boolean.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class jsonValueBoolean(Type):
value = None # type: "Bool"
| 14.833333 | 29 | 0.707865 | 11 | 89 | 5.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 5 | 30 | 17.8 | 0.863014 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 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 |
83b05802382ed1bac6914a30645a3e520c4f1418 | 794 | py | Python | redo/__init__.py | benozol/redo_api | 7e2a88acdd8d666130398f0f483f182b403a9732 | [
"Apache-2.0"
] | null | null | null | redo/__init__.py | benozol/redo_api | 7e2a88acdd8d666130398f0f483f182b403a9732 | [
"Apache-2.0"
] | null | null | null | redo/__init__.py | benozol/redo_api | 7e2a88acdd8d666130398f0f483f182b403a9732 | [
"Apache-2.0"
] | null | null | null | """
A very thin python API to DJB’s redo
===
redo_api reads and writes files with extensions csv, pickle, txt, json, yaml,
and h5, xls(x).
redo_api additionaly reads files with extensions py (to python module), and
without extension (no data).
Example python do script:
```python
#!/usr/bin/env python3
import redo
#... | 24.060606 | 107 | 0.736776 | 123 | 794 | 4.715447 | 0.642276 | 0.024138 | 0.065517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003021 | 0.166247 | 794 | 32 | 108 | 24.8125 | 0.873112 | 0.746851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
83b5b3784b1494fbd81f4443aca8a8fa51121a2e | 294 | py | Python | correios_utils/__init__.py | douglasgusson/correios-utils | 47ba9cb36c8e953e6fc2d74e52dff25b2d2e8e30 | [
"MIT"
] | null | null | null | correios_utils/__init__.py | douglasgusson/correios-utils | 47ba9cb36c8e953e6fc2d74e52dff25b2d2e8e30 | [
"MIT"
] | null | null | null | correios_utils/__init__.py | douglasgusson/correios-utils | 47ba9cb36c8e953e6fc2d74e52dff25b2d2e8e30 | [
"MIT"
] | null | null | null | from .correios import (
Cotacao,
FormatoEncomenda,
SimNao,
Servico,
realizar_cotacao,
get_descricao_servico,
)
__all__ = [
"Cotacao",
"Servico",
"FormatoEncomenda",
"SimNao",
"realizar_cotacao",
"get_descricao_servico",
]
__version__ = "0.1.2"
| 14.7 | 28 | 0.629252 | 26 | 294 | 6.576923 | 0.576923 | 0.25731 | 0.210526 | 0.315789 | 0.397661 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013636 | 0.251701 | 294 | 19 | 29 | 15.473684 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 1 | 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 | 0 | 0 | 4 |
83ed9323011b7fac926c0cc84997f852adf65905 | 294 | py | Python | src/api/app/api_utils.py | abdala9512/mlops-course-practice | dd83dce26546fa61bb006d0032d7f0b576bd13bf | [
"MIT"
] | 1 | 2021-12-23T05:22:46.000Z | 2021-12-23T05:22:46.000Z | src/api/app/api_utils.py | abdala9512/mlops-course-practice | dd83dce26546fa61bb006d0032d7f0b576bd13bf | [
"MIT"
] | null | null | null | src/api/app/api_utils.py | abdala9512/mlops-course-practice | dd83dce26546fa61bb006d0032d7f0b576bd13bf | [
"MIT"
] | null | null | null |
from pydantic import BaseModel
import pandas as pd
import os
def transform_to_dataframe(class_model: BaseModel) -> pd.DataFrame:
transition_dictionary = {key:[value] for key, value in class_model.dict().items()}
data_frame = pd.DataFrame(transition_dictionary)
return data_frame | 29.4 | 86 | 0.772109 | 40 | 294 | 5.475 | 0.625 | 0.091324 | 0.191781 | 0.283105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146259 | 294 | 10 | 87 | 29.4 | 0.87251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f7b2b24e09806d9a845a942c419993a272507966 | 117 | py | Python | generic_template/__init__.py | fjchen7/generic-template | e93148a7eca04b63b527052d03a8a6804274aebd | [
"Apache-2.0"
] | 3 | 2021-06-29T18:48:30.000Z | 2021-09-09T15:04:39.000Z | generic_template/__init__.py | fjchen7/generic-template | e93148a7eca04b63b527052d03a8a6804274aebd | [
"Apache-2.0"
] | 99 | 2019-09-02T04:06:13.000Z | 2022-03-28T12:08:51.000Z | generic_template/__init__.py | ITProKyle/ansible-playbook-workstation | 380895acc40235ec20a52e9e433a08b068b9740f | [
"Apache-2.0"
] | 3 | 2021-09-01T17:48:15.000Z | 2022-03-26T21:16:41.000Z | """Blank file for Python transversal.
This can be deleted or renamed to store the source code of your project.
"""
| 19.5 | 72 | 0.74359 | 19 | 117 | 4.578947 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188034 | 117 | 5 | 73 | 23.4 | 0.915789 | 0.923077 | 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 |
f7cf81498893582aafa6cc7e86b9c984634919ef | 163 | py | Python | test/python/test.py | burgholzer/template | e7ef1d69377add39d109787d9e4da9e0f8b0a702 | [
"MIT"
] | null | null | null | test/python/test.py | burgholzer/template | e7ef1d69377add39d109787d9e4da9e0f8b0a702 | [
"MIT"
] | 8 | 2022-01-17T21:24:17.000Z | 2022-03-04T10:23:34.000Z | test/python/test.py | burgholzer/template | e7ef1d69377add39d109787d9e4da9e0f8b0a702 | [
"MIT"
] | null | null | null | from namespace import project
if __name__ == "__main__":
dummy = project.Dummy()
dummy.setVal(42)
print(dummy.getVal())
dummy = project.Dummy(42)
| 20.375 | 29 | 0.668712 | 20 | 163 | 5.05 | 0.6 | 0.237624 | 0.336634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.202454 | 163 | 7 | 30 | 23.285714 | 0.746154 | 0 | 0 | 0 | 0 | 0 | 0.04908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
f7d2327b8d643e9a3c9ba952316e6d98d94ed99e | 17 | py | Python | py3status/version.py | weberval/py3status | 77751cfe777d3ceeff24e4a8554be439b94d515c | [
"BSD-3-Clause"
] | null | null | null | py3status/version.py | weberval/py3status | 77751cfe777d3ceeff24e4a8554be439b94d515c | [
"BSD-3-Clause"
] | null | null | null | py3status/version.py | weberval/py3status | 77751cfe777d3ceeff24e4a8554be439b94d515c | [
"BSD-3-Clause"
] | null | null | null | version = "3.38"
| 8.5 | 16 | 0.588235 | 3 | 17 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.176471 | 17 | 1 | 17 | 17 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 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 |
f7f854423745070268712b5cedae1f26820f2ae5 | 4,927 | py | Python | Extra/maths.py | niefermar/APPIAN-PET-APPIAN | 895fa3aaad7f444d6f4e6f7c698ddace9415664c | [
"MIT"
] | 1 | 2021-04-15T01:46:36.000Z | 2021-04-15T01:46:36.000Z | Extra/maths.py | niefermar/APPIAN-PET-APPIAN | 895fa3aaad7f444d6f4e6f7c698ddace9415664c | [
"MIT"
] | null | null | null | Extra/maths.py | niefermar/APPIAN-PET-APPIAN | 895fa3aaad7f444d6f4e6f7c698ddace9415664c | [
"MIT"
] | null | null | null | import os
import numpy as np
from nipype.interfaces.base import CommandLine, CommandLineInputSpec #, Info
from nipype.interfaces.base import (TraitedSpec, File, traits, InputMultiPath,isdefined)
class MathsOutput(TraitedSpec):
out_file = File( desc="image to write after calculations")
class MathsInput(Command... | 38.492188 | 151 | 0.657195 | 606 | 4,927 | 5.174917 | 0.193069 | 0.049107 | 0.037309 | 0.048788 | 0.770727 | 0.734694 | 0.701212 | 0.674426 | 0.674426 | 0.658482 | 0 | 0.00668 | 0.210067 | 4,927 | 127 | 152 | 38.795276 | 0.799075 | 0.001218 | 0 | 0.604396 | 0 | 0 | 0.147154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098901 | false | 0 | 0.043956 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
792f74c7c108758b6df9c6ba6f680b394c15beab | 203 | py | Python | pylox/lox_callable.py | jasond1016/pylox | 89bb38e8615edf8ec431dca28edb9f8c1605ada3 | [
"MIT"
] | null | null | null | pylox/lox_callable.py | jasond1016/pylox | 89bb38e8615edf8ec431dca28edb9f8c1605ada3 | [
"MIT"
] | null | null | null | pylox/lox_callable.py | jasond1016/pylox | 89bb38e8615edf8ec431dca28edb9f8c1605ada3 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class LoxCallable(ABC):
@abstractmethod
def call(self, interpreter, arguments):
pass
@abstractmethod
def arity(self):
pass | 18.454545 | 44 | 0.630542 | 20 | 203 | 6.4 | 0.65 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.300493 | 203 | 11 | 45 | 18.454545 | 0.901408 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7936308a0f48a68d8f97eddebfba40402ae65b42 | 11,903 | py | Python | py/tests/integration/test_use_cases.py | radrow/aeternity | 4aaf3389cd2e8b7a340e58b7d9e95ada55607f80 | [
"ISC"
] | null | null | null | py/tests/integration/test_use_cases.py | radrow/aeternity | 4aaf3389cd2e8b7a340e58b7d9e95ada55607f80 | [
"ISC"
] | null | null | null | py/tests/integration/test_use_cases.py | radrow/aeternity | 4aaf3389cd2e8b7a340e58b7d9e95ada55607f80 | [
"ISC"
] | null | null | null | # coding: utf-8
import tempfile
import os
import shutil
from nose.tools import assert_equals, assert_not_equals, assert_true, with_setup
import common
from waiting import wait
from swagger_client.models.peers import Peers
settings = common.test_settings(__name__.split(".")[-1])
def test_syncing():
"""
Test n... | 34.302594 | 161 | 0.710325 | 1,623 | 11,903 | 4.881701 | 0.124461 | 0.045437 | 0.033321 | 0.03433 | 0.791746 | 0.767134 | 0.702764 | 0.643569 | 0.639152 | 0.614035 | 0 | 0.02171 | 0.191212 | 11,903 | 346 | 162 | 34.401734 | 0.801288 | 0.153743 | 0 | 0.689076 | 0 | 0 | 0.673108 | 0.379328 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.037815 | false | 0.012605 | 0.029412 | 0 | 0.088235 | 0.021008 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f701b8e4102b4d078dab74fc6655620decfbed24 | 665 | py | Python | themodelshop/utils/data/handlers.py | laraib-sidd/themodelshop | e811036eaf22f0d1b56b7b9c60912930a1fed3cb | [
"MIT"
] | 1 | 2021-01-12T16:13:14.000Z | 2021-01-12T16:13:14.000Z | themodelshop/utils/data/handlers.py | laraib-sidd/themodelshop | e811036eaf22f0d1b56b7b9c60912930a1fed3cb | [
"MIT"
] | 4 | 2020-11-30T12:32:39.000Z | 2021-01-08T12:20:39.000Z | themodelshop/utils/data/handlers.py | laraib-sidd/themodelshop | e811036eaf22f0d1b56b7b9c60912930a1fed3cb | [
"MIT"
] | 1 | 2021-01-12T16:13:20.000Z | 2021-01-12T16:13:20.000Z | """Utilities for working with data.
These are intended to be used predominantly by the filing cabinet
in order to read and write datasets appropriately.
"""
from typing import Any
def _get_handlers(location:str=""):
"""Returns available file handlers.
This checks for a handlers folder at this location and w... | 26.6 | 67 | 0.705263 | 91 | 665 | 5.131868 | 0.67033 | 0.021413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 665 | 24 | 68 | 27.708333 | 0.910331 | 0.816541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f70fa93743ec576b39568159579d16544248a1ec | 83 | py | Python | conf/apps.py | invernoa/Conferences | 9e821948311dc9c28323ede8a26764899fc05255 | [
"MIT"
] | 41 | 2019-01-02T09:36:54.000Z | 2022-02-20T13:13:05.000Z | conf/apps.py | invernoa/Conferences | 9e821948311dc9c28323ede8a26764899fc05255 | [
"MIT"
] | 15 | 2019-09-30T05:40:20.000Z | 2022-02-17T19:28:41.000Z | conf/apps.py | invernoa/Conferences | 9e821948311dc9c28323ede8a26764899fc05255 | [
"MIT"
] | 23 | 2019-02-18T10:50:10.000Z | 2022-01-06T07:53:18.000Z | from django.apps import AppConfig
class ConfConfig(AppConfig):
name = 'conf'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f7219557f313231bf047af09d8d81a13981c3f2b | 368 | py | Python | durgo_sdk/integrations/django/middleware.py | safwanrahman/durgo-python | 79b740e0500e1ba2bce7edcb47996587a9449964 | [
"BSD-3-Clause"
] | 1 | 2020-08-12T21:56:45.000Z | 2020-08-12T21:56:45.000Z | durgo_sdk/integrations/django/middleware.py | Alig1493/durgo-python | 79b740e0500e1ba2bce7edcb47996587a9449964 | [
"BSD-3-Clause"
] | null | null | null | durgo_sdk/integrations/django/middleware.py | Alig1493/durgo-python | 79b740e0500e1ba2bce7edcb47996587a9449964 | [
"BSD-3-Clause"
] | 1 | 2020-03-21T18:30:28.000Z | 2020-03-21T18:30:28.000Z | from django.utils import timezone
class DurgoMiddleware:
def __init__(self, get_response):
self.get_response = get_response
# One-time configuration and initialization.
def __call__(self, request):
start_time = timezone.now()
response = self.get_response(request)
end... | 21.647059 | 52 | 0.673913 | 41 | 368 | 5.707317 | 0.560976 | 0.188034 | 0.192308 | 0.196581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252717 | 368 | 16 | 53 | 23 | 0.850909 | 0.11413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f7275ca4a9614ae34d5dae69713b06a583c3d368 | 179 | py | Python | posts/forms.py | Kelit/My_blog | 891f082ac6b7a02ffbc8d106168cb0fd017ba3ef | [
"Apache-2.0"
] | null | null | null | posts/forms.py | Kelit/My_blog | 891f082ac6b7a02ffbc8d106168cb0fd017ba3ef | [
"Apache-2.0"
] | null | null | null | posts/forms.py | Kelit/My_blog | 891f082ac6b7a02ffbc8d106168cb0fd017ba3ef | [
"Apache-2.0"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, TextAreaField
class PostForm(FlaskForm):
title = StringField('Заголовок')
body = TextAreaField('Текст')
| 22.375 | 46 | 0.77095 | 19 | 179 | 7.210526 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150838 | 179 | 7 | 47 | 25.571429 | 0.901316 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 |
f756b0c338af4df0f1a4d036900343a034dcf2a4 | 111 | py | Python | grand_geckos/database/__init__.py | imsofi/codejam-grand-geckos | 55aabf5fe127ee9618c1faa2fe8cc02af8054b80 | [
"0BSD"
] | 5 | 2021-07-10T02:57:10.000Z | 2021-08-02T20:20:10.000Z | grand_geckos/database/__init__.py | imsofi/codejam-grand-geckos | 55aabf5fe127ee9618c1faa2fe8cc02af8054b80 | [
"0BSD"
] | 12 | 2021-07-09T22:06:22.000Z | 2021-07-16T20:27:42.000Z | grand_geckos/database/__init__.py | imsofi/codejam-grand-geckos | 55aabf5fe127ee9618c1faa2fe8cc02af8054b80 | [
"0BSD"
] | 6 | 2021-07-09T20:55:04.000Z | 2021-08-30T19:40:34.000Z | from .DBWorker import DatabaseWorker
from .models import Base
Base.metadata.create_all(DatabaseWorker.engine)
| 22.2 | 47 | 0.846847 | 14 | 111 | 6.642857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 4 | 48 | 27.75 | 0.920792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
f79b6cf0f20032ab54148b900139942b180df8db | 483 | py | Python | ConfManager/models/interfaces.py | cygerior/LabManager | a5abc3235e635ec0b63d8951aca02d4794790d63 | [
"MIT"
] | null | null | null | ConfManager/models/interfaces.py | cygerior/LabManager | a5abc3235e635ec0b63d8951aca02d4794790d63 | [
"MIT"
] | 2 | 2021-03-27T19:58:10.000Z | 2021-10-02T07:48:26.000Z | ConfManager/models/interfaces.py | cygerior/LaboConfigs | a5abc3235e635ec0b63d8951aca02d4794790d63 | [
"MIT"
] | null | null | null | from django.db import models
from polymorphic.models import PolymorphicModel
class Interface(PolymorphicModel):
name = models.CharField(max_length=30, unique=True)
def __str__(self):
return self.name
class NetworkInterface(Interface):
mac_address = models.CharField(max_length=23)
address = ... | 21 | 55 | 0.761905 | 56 | 483 | 6.410714 | 0.5 | 0.167131 | 0.200557 | 0.267409 | 0.32312 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.15528 | 483 | 22 | 56 | 21.954545 | 0.860294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.153846 | 0.076923 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e3bf9fc07802b00c0a94610d7a6d5b9c6eef5f1c | 1,145 | py | Python | services/abc.py | elegos/fast-api-class-based-skeleton | 7fdff842f83185d007ab97ca2923514b40d0c38f | [
"MIT"
] | null | null | null | services/abc.py | elegos/fast-api-class-based-skeleton | 7fdff842f83185d007ab97ca2923514b40d0c38f | [
"MIT"
] | null | null | null | services/abc.py | elegos/fast-api-class-based-skeleton | 7fdff842f83185d007ab97ca2923514b40d0c38f | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class MathABC(ABC):
@abstractmethod
def sum(*args) -> float:
pass
@abstractmethod
def subtract(*args) -> float:
pass
@abstractmethod
def divide(a, b) -> float:
pass
@abstractmethod
def multiply(a, b) -> float:
pass
... | 21.603774 | 63 | 0.609607 | 123 | 1,145 | 5.642276 | 0.203252 | 0.144092 | 0.167147 | 0.190202 | 0.501441 | 0.414986 | 0.268012 | 0 | 0 | 0 | 0 | 0.002427 | 0.280349 | 1,145 | 52 | 64 | 22.019231 | 0.839806 | 0 | 0 | 0.361111 | 0 | 0 | 0.082969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.305556 | false | 0.138889 | 0.027778 | 0.027778 | 0.583333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e3dccf77222528aeb307fcccc4b574ce4bfe6688 | 121 | py | Python | main.py | wdsrocha/anime-recommender | 689a690802889366e8895f0dd41b23d27b64588c | [
"MIT"
] | null | null | null | main.py | wdsrocha/anime-recommender | 689a690802889366e8895f0dd41b23d27b64588c | [
"MIT"
] | null | null | null | main.py | wdsrocha/anime-recommender | 689a690802889366e8895f0dd41b23d27b64588c | [
"MIT"
] | null | null | null | from src import preprocessing, telegram_bot
if __name__ == "__main__":
preprocessing.main()
telegram_bot.main()
| 20.166667 | 43 | 0.735537 | 14 | 121 | 5.642857 | 0.642857 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 121 | 5 | 44 | 24.2 | 0.782178 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3e7f765c9e66afc5e906b5431d5cb69b00d948a | 4,142 | py | Python | framework/common/TestConstants.py | 2spmohanty/Performance | 5a86a56f40bad1e12654fe1bb737affb4e0edd26 | [
"Apache-2.0"
] | null | null | null | framework/common/TestConstants.py | 2spmohanty/Performance | 5a86a56f40bad1e12654fe1bb737affb4e0edd26 | [
"Apache-2.0"
] | null | null | null | framework/common/TestConstants.py | 2spmohanty/Performance | 5a86a56f40bad1e12654fe1bb737affb4e0edd26 | [
"Apache-2.0"
] | null | null | null | __author__ = 'Smruti P Mohanty'
"""
Company : VMWare Inc.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
"""
from collections import namedtuple,defaultdict
"""
global testname
global stressparam
global test_d... | 19.913462 | 157 | 0.699662 | 520 | 4,142 | 5.3 | 0.248077 | 0.092888 | 0.146952 | 0.182874 | 0.230044 | 0.13897 | 0.05225 | 0 | 0 | 0 | 0 | 0.002624 | 0.171898 | 4,142 | 208 | 158 | 19.913462 | 0.800875 | 0.011589 | 0 | 0.017544 | 0 | 0 | 0.125257 | 0.032049 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236842 | false | 0.096491 | 0.008772 | 0.210526 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
e3fc6d70d60b93254fe7ae3bfc9ff0dcaff13f25 | 2,532 | py | Python | test/test_data_consent_details_dto.py | My-Data-My-Consent/python-sdk | 414640bcda6350e6f5e74e42442737eb8d5b7447 | [
"Apache-2.0"
] | null | null | null | test/test_data_consent_details_dto.py | My-Data-My-Consent/python-sdk | 414640bcda6350e6f5e74e42442737eb8d5b7447 | [
"Apache-2.0"
] | 5 | 2021-12-19T10:29:43.000Z | 2022-03-31T22:15:37.000Z | test/test_data_consent_details_dto.py | mydatamyconsent/python-sdk | 414640bcda6350e6f5e74e42442737eb8d5b7447 | [
"Apache-2.0"
] | null | null | null | """
My Data My Consent - Developer API
Unleashing the power of data consent by establishing trust. The Platform Core Developer API defines a set of capabilities that can be used to request, issue, manage and update data, documents and credentials by organizations. The API can be used to request, manage and upd... | 46.036364 | 469 | 0.813586 | 265 | 2,532 | 7.641509 | 0.418868 | 0.097778 | 0.108642 | 0.133333 | 0.202469 | 0.169383 | 0.077531 | 0.054321 | 0 | 0 | 0 | 0.003146 | 0.121248 | 2,532 | 54 | 470 | 46.888889 | 0.906966 | 0.31793 | 0 | 0.096774 | 0 | 0 | 0.114997 | 0.079431 | 0 | 0 | 0 | 0.018519 | 0 | 1 | 0.096774 | false | 0.096774 | 0.419355 | 0 | 0.548387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
5428fa08cba42998a6980fb3d5fffe48963d2299 | 230 | py | Python | tests/conftest.py | natpacket/curl-impersonate | 7717c220d1a4c311ed2a11c5dfb95c37940e1d9e | [
"MIT"
] | 1,065 | 2022-02-17T23:33:43.000Z | 2022-03-31T15:17:17.000Z | tests/conftest.py | natpacket/curl-impersonate | 7717c220d1a4c311ed2a11c5dfb95c37940e1d9e | [
"MIT"
] | 18 | 2022-02-18T11:21:27.000Z | 2022-03-28T17:34:00.000Z | tests/conftest.py | natpacket/curl-impersonate | 7717c220d1a4c311ed2a11c5dfb95c37940e1d9e | [
"MIT"
] | 37 | 2022-02-18T03:10:30.000Z | 2022-03-26T16:50:34.000Z | def pytest_addoption(parser):
# Where to find curl-impersonate's binaries
parser.addoption("--install-dir", action="store", default="/usr/local")
parser.addoption("--capture-interface", action="store", default="eth0")
| 46 | 75 | 0.713043 | 28 | 230 | 5.821429 | 0.75 | 0.184049 | 0.220859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.113043 | 230 | 4 | 76 | 57.5 | 0.794118 | 0.178261 | 0 | 0 | 0 | 0 | 0.299465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
58276ee9936a57254b0ab11c0ead4295004c0dc8 | 112 | py | Python | core/app/camera/mqtt/__init__.py | EmixMaxime/mx-home-security | ec6d329a09bb2e0afbbd7e481937893311f02634 | [
"MIT"
] | 2 | 2021-04-29T19:28:59.000Z | 2021-04-29T21:20:32.000Z | core/app/camera/mqtt/__init__.py | EmixMaxime/mx-home-security | ec6d329a09bb2e0afbbd7e481937893311f02634 | [
"MIT"
] | 101 | 2020-06-26T19:51:24.000Z | 2021-03-28T09:35:55.000Z | core/app/camera/mqtt/__init__.py | mxmaxime/mx-tech-house | f6b66b8390b348e48d4c6ea0da51e409f3845fd6 | [
"MIT"
] | null | null | null |
from enum import Enum
class MqttServices(Enum):
CAMERA_MANAGER = 'camera_manager'
CAMERA = 'camera'
| 12.444444 | 37 | 0.705357 | 13 | 112 | 5.923077 | 0.538462 | 0.337662 | 0.493506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 112 | 8 | 38 | 14 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
582e9b1d55aed4465ebe8065eac499be34dc4ffc | 192 | py | Python | stripe/api_resources/source_transaction.py | timvisher/stripe-python | ae953fd0aa531f5b500e5e86eee5859df95a255d | [
"MIT"
] | 2 | 2020-12-05T09:02:14.000Z | 2021-03-28T17:23:20.000Z | stripe/api_resources/source_transaction.py | timvisher/stripe-python | ae953fd0aa531f5b500e5e86eee5859df95a255d | [
"MIT"
] | 11 | 2019-12-26T17:21:03.000Z | 2022-03-21T22:17:07.000Z | lib/stripe/api_resources/source_transaction.py | linuxpi/hypoconn_gcloud | ebf06c44dc754ac446a0915a0db028f18e3f35a7 | [
"Apache-2.0"
] | 2 | 2019-12-19T10:25:38.000Z | 2020-01-03T08:54:20.000Z | from __future__ import absolute_import, division, print_function
from stripe.stripe_object import StripeObject
class SourceTransaction(StripeObject):
OBJECT_NAME = 'source_transaction'
| 24 | 64 | 0.838542 | 21 | 192 | 7.238095 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 192 | 7 | 65 | 27.428571 | 0.894118 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0.25 | 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 |
585adc83bdbb4ac06e0b5c2081d482f54da6596c | 78 | py | Python | nodeconductor/monitoring/zabbix/errors.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null | nodeconductor/monitoring/zabbix/errors.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null | nodeconductor/monitoring/zabbix/errors.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null |
class ZabbixError(Exception):
"""
Base zabbix error
"""
pass
| 11.142857 | 29 | 0.564103 | 7 | 78 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.320513 | 78 | 6 | 30 | 13 | 0.830189 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
58833a06de8efc02cff0b8dcc21155460557821b | 369 | py | Python | main.py | spotandjake/Repldex | 19bc5a1d5c3d43ffaf71492112f23b85ec9cacdb | [
"MIT"
] | null | null | null | main.py | spotandjake/Repldex | 19bc5a1d5c3d43ffaf71492112f23b85ec9cacdb | [
"MIT"
] | null | null | null | main.py | spotandjake/Repldex | 19bc5a1d5c3d43ffaf71492112f23b85ec9cacdb | [
"MIT"
] | null | null | null | from repldex.config import DOT_ENV
print('starting')
if DOT_ENV:
from dotenv import load_dotenv
load_dotenv()
# Don't move this up, env must be loaded first
from repldex.backend import api
from repldex.discordbot import bot as discordbot
from repldex.backend import website
website.start_server(discordbot.client.... | 23.0625 | 87 | 0.807588 | 56 | 369 | 5.214286 | 0.535714 | 0.150685 | 0.123288 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124661 | 369 | 15 | 88 | 24.6 | 0.904025 | 0.119241 | 0 | 0 | 0 | 0 | 0.024768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0.111111 | 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 |
588935af78f70e716d282cd13a4c2f0be3e3b0e5 | 797 | py | Python | tools/relative_to_absolute_path.py | Leviathan321/ChessDiagramRecognition | c46effa3a9d49ae29fa55e82733e7fc7ba41c043 | [
"MIT"
] | 6 | 2020-07-27T19:10:30.000Z | 2021-08-17T02:23:53.000Z | tools/relative_to_absolute_path.py | Leviathan321/ChessDiagramRecognition | c46effa3a9d49ae29fa55e82733e7fc7ba41c043 | [
"MIT"
] | 10 | 2020-06-17T15:19:26.000Z | 2021-01-01T23:13:01.000Z | tools/relative_to_absolute_path.py | Leviathan321/ChessDiagramRecognition | c46effa3a9d49ae29fa55e82733e7fc7ba41c043 | [
"MIT"
] | 7 | 2020-08-10T05:13:57.000Z | 2022-01-13T09:26:21.000Z | ################################################################################
################################################################################
from os.path import exists, abspath, dirname, join
################################################################################
#########################... | 46.882353 | 89 | 0.288582 | 45 | 797 | 4.888889 | 0.488889 | 0.272727 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070263 | 797 | 16 | 90 | 49.8125 | 0.296896 | 0.104141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
588e317d7c3f0eac34bd474fb903be127565780f | 114 | py | Python | dingding/__init__.py | gt945/dingding | 3b4768af0ac24c9a729e2b1adb6245bfb79a42c8 | [
"MIT"
] | 17 | 2017-10-31T14:00:13.000Z | 2021-07-25T13:02:44.000Z | dingding/__init__.py | gt945/dingding | 3b4768af0ac24c9a729e2b1adb6245bfb79a42c8 | [
"MIT"
] | 2 | 2017-10-31T13:50:24.000Z | 2019-11-21T14:24:41.000Z | dingding/__init__.py | gt945/dingding | 3b4768af0ac24c9a729e2b1adb6245bfb79a42c8 | [
"MIT"
] | 12 | 2017-12-07T09:48:45.000Z | 2022-03-18T06:58:58.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .dingding import DingDing
name = "dingding"
| 16.285714 | 38 | 0.72807 | 14 | 114 | 5.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.157895 | 114 | 6 | 39 | 19 | 0.802083 | 0.184211 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
589325fe8d2f97705e6ec8a4e79a3dbbf366b04e | 91 | py | Python | test/test_runner_subdir/inheriting_class.py | bukzor/Testify | e0054959b9be13851b937ec90533c183e9b2ba71 | [
"Apache-2.0"
] | 1 | 2020-12-18T01:07:23.000Z | 2020-12-18T01:07:23.000Z | test/test_runner_subdir/inheriting_class.py | dnephin/Testify | 9005a8866cbf099c26e6fbd74c3e2640a581a55b | [
"Apache-2.0"
] | null | null | null | test/test_runner_subdir/inheriting_class.py | dnephin/Testify | 9005a8866cbf099c26e6fbd74c3e2640a581a55b | [
"Apache-2.0"
] | null | null | null |
from .base_class import BaseClass
class InheritingClass(BaseClass):
__test__ = False
| 15.166667 | 33 | 0.78022 | 10 | 91 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
58990b4066a0bff9dbaeca8e87edf1ddc7b0d5e6 | 889 | py | Python | imglyb/config.py | hinerm/imglyb | fe6264f0ef5b37ab529186b73295d2d4011619bb | [
"BSD-2-Clause"
] | 19 | 2018-10-17T10:18:36.000Z | 2022-02-01T13:01:45.000Z | imglyb/config.py | hinerm/imglyb | fe6264f0ef5b37ab529186b73295d2d4011619bb | [
"BSD-2-Clause"
] | 10 | 2018-07-18T13:15:50.000Z | 2022-03-31T19:47:00.000Z | imglyb/config.py | hinerm/imglyb | fe6264f0ef5b37ab529186b73295d2d4011619bb | [
"BSD-2-Clause"
] | 5 | 2018-10-30T21:53:26.000Z | 2021-11-18T14:57:32.000Z | import os
__major__ = 2
__minor__ = 0
__patch__ = 1
__tag__ = 'dev0'
__version__ = f'{__major__}.{__minor__}.{__patch__}.{__tag__}'.strip('.')
class _Version(object):
def major(self):
return __major__
def minor(self):
return __minor__
def patch(self):
return __patch__
... | 19.755556 | 102 | 0.700787 | 102 | 889 | 5.176471 | 0.254902 | 0.246212 | 0.378788 | 0.159091 | 0.320076 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02432 | 0.213723 | 889 | 44 | 103 | 20.204545 | 0.731044 | 0 | 0 | 0.068966 | 0 | 0 | 0.086614 | 0.075366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0 | 0.034483 | 0.206897 | 0.586207 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
5436bf77c3441d99e2024b6559f9551ac0ea6231 | 121 | py | Python | Modules/Power/register.py | 57r4n63r/dwm-status | 75f14bc59838e6743fef95b8e0b73198b5b37c7e | [
"BSD-3-Clause"
] | 2 | 2020-06-04T14:19:27.000Z | 2022-02-01T19:29:41.000Z | Modules/Power/register.py | 57r4n63r/dwm-status | 75f14bc59838e6743fef95b8e0b73198b5b37c7e | [
"BSD-3-Clause"
] | null | null | null | Modules/Power/register.py | 57r4n63r/dwm-status | 75f14bc59838e6743fef95b8e0b73198b5b37c7e | [
"BSD-3-Clause"
] | null | null | null | from Modules.Importer import Importer
importer = Importer.getInstance()
importer.register('Modules.Power.Module.Power');
| 30.25 | 48 | 0.818182 | 14 | 121 | 7.071429 | 0.571429 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 121 | 3 | 49 | 40.333333 | 0.876106 | 0 | 0 | 0 | 0 | 0 | 0.214876 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5438ef5af95b52c86444973cd981a6c583fda831 | 70 | py | Python | tda/client/__init__.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 986 | 2020-04-14T21:50:03.000Z | 2022-03-29T19:09:31.000Z | tda/client/__init__.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 243 | 2020-04-26T14:05:34.000Z | 2022-03-12T13:02:51.000Z | tda/client/__init__.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 286 | 2020-04-14T22:17:04.000Z | 2022-03-27T07:30:15.000Z | from .synchronous import Client
from .asynchronous import AsyncClient
| 23.333333 | 37 | 0.857143 | 8 | 70 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 38 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
543e7406a6fb19cd647d5d877f56b4119acb96dc | 127 | py | Python | brane-ide/kernels/bakery/bakery_kernel/__main__.py | romnn/brane | 03752edd85a09a5ffb817b9f6a0fa03c8e9b277a | [
"Apache-2.0"
] | null | null | null | brane-ide/kernels/bakery/bakery_kernel/__main__.py | romnn/brane | 03752edd85a09a5ffb817b9f6a0fa03c8e9b277a | [
"Apache-2.0"
] | null | null | null | brane-ide/kernels/bakery/bakery_kernel/__main__.py | romnn/brane | 03752edd85a09a5ffb817b9f6a0fa03c8e9b277a | [
"Apache-2.0"
] | null | null | null | from ipykernel.kernelapp import IPKernelApp
from . import BakeryKernel
IPKernelApp.launch_instance(kernel_class=BakeryKernel)
| 25.4 | 54 | 0.874016 | 14 | 127 | 7.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07874 | 127 | 4 | 55 | 31.75 | 0.931624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
5481bf7f0dc710b6cbc42d8721afa306248e10c8 | 1,665 | py | Python | venv/Lib/site-packages/text_engine/utils/operators/OP1.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/text_engine/utils/operators/OP1.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/text_engine/utils/operators/OP1.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | from ...core import Match, As
class OP1:
s1: str
s2: str
@classmethod
def _cls(cls, name, s1, s2):
exec(f"class {name}({cls.__name__}):\n\ts1 = {repr(s1)}\n\ts2 = {repr(s2)}")
return eval(name)
def __init__(self, one):
self.one = one
def __repr__(self):
retur... | 21.623377 | 84 | 0.492492 | 223 | 1,665 | 3.547085 | 0.147982 | 0.159292 | 0.164349 | 0.16182 | 0.676359 | 0.581542 | 0.474083 | 0.362832 | 0.266751 | 0.266751 | 0 | 0.044144 | 0.333333 | 1,665 | 76 | 85 | 21.907895 | 0.668468 | 0 | 0 | 0.413793 | 0 | 0.017241 | 0.093093 | 0.063063 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.017241 | 0.172414 | 0.534483 | 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 |
54a6c1be163fa62ed25807ecf522fe5d1548e011 | 92 | py | Python | cryptonite/user_auth/apps.py | pshrmn/cryptonite | 3f83f34ae6c1733568578c6296e6396872fa5513 | [
"MIT"
] | 1 | 2018-01-15T14:44:36.000Z | 2018-01-15T14:44:36.000Z | cryptonite/user_auth/apps.py | pshrmn/cryptonite | 3f83f34ae6c1733568578c6296e6396872fa5513 | [
"MIT"
] | null | null | null | cryptonite/user_auth/apps.py | pshrmn/cryptonite | 3f83f34ae6c1733568578c6296e6396872fa5513 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class JsonAuthConfig(AppConfig):
name = 'json_auth'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 |
54b3567c6d8a86d3b831bc972db926ff7ab6639d | 228 | py | Python | django_remote_forms/__init__.py | gadventures/django-remote-forms | 4f577476baee93a96f23a373dfb4ec89dcd088c1 | [
"MIT"
] | null | null | null | django_remote_forms/__init__.py | gadventures/django-remote-forms | 4f577476baee93a96f23a373dfb4ec89dcd088c1 | [
"MIT"
] | null | null | null | django_remote_forms/__init__.py | gadventures/django-remote-forms | 4f577476baee93a96f23a373dfb4ec89dcd088c1 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
__author__ = 'Carlo Costino, Tareque Hossain'
__version__ = (0, 0, 1)
import logging
logger = logging.getLogger(__name__)
from .forms import RemoteForm
from .widgets import RemoteWidget
| 22.8 | 45 | 0.802632 | 28 | 228 | 5.928571 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.131579 | 228 | 9 | 46 | 25.333333 | 0.823232 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 |
49cd7f3ac80958a51257ece7a4a558d11ed08e9b | 87 | py | Python | test/feature/steps/__init__.py | drakejund/contract | e1dbfcff94f348a0040062fd04c48b0e42b64762 | [
"Apache-2.0"
] | 172 | 2017-10-12T07:56:32.000Z | 2022-03-10T11:08:02.000Z | test/feature/steps/__init__.py | Cielo2017/hyperledger-fabric-gm | 40f2d1d03a96872b52cf6c5ba8a5c634e36089a6 | [
"Apache-2.0"
] | 18 | 2017-10-02T16:31:51.000Z | 2020-02-24T21:39:20.000Z | test/feature/steps/__init__.py | Cielo2017/hyperledger-fabric-gm | 40f2d1d03a96872b52cf6c5ba8a5c634e36089a6 | [
"Apache-2.0"
] | 89 | 2017-09-14T04:38:56.000Z | 2021-05-21T17:24:48.000Z | #
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
| 14.5 | 42 | 0.712644 | 12 | 87 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.149425 | 87 | 5 | 43 | 17.4 | 0.810811 | 0.873563 | 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 |
49d063839927ddb657c71089e99a6dddd6f9d2b9 | 97 | py | Python | canteenREST/apps.py | chinmaykhamkar/canteen-automation-web | 48a0ceabe83424d9fd229bae3f5edd00caba0240 | [
"MIT"
] | 5 | 2018-12-27T07:32:04.000Z | 2020-01-27T20:18:33.000Z | canteenREST/apps.py | chinmaykhamkar/canteen-automation-web | 48a0ceabe83424d9fd229bae3f5edd00caba0240 | [
"MIT"
] | 57 | 2018-12-24T12:59:53.000Z | 2021-10-06T03:41:27.000Z | canteenREST/apps.py | chinmaykhamkar/canteen-automation-web | 48a0ceabe83424d9fd229bae3f5edd00caba0240 | [
"MIT"
] | 24 | 2018-12-24T11:30:05.000Z | 2021-11-27T16:47:47.000Z | from django.apps import AppConfig
class CanteenrestConfig(AppConfig):
name = "canteenREST"
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
49e7737d600ad96495d8ed2f96b7cdc93b7c317a | 809 | py | Python | setup.py | ParkJeongseop/PlaylistManager | e423a2da72a77b78d846846ce88a3c9beda9ef05 | [
"MIT"
] | null | null | null | setup.py | ParkJeongseop/PlaylistManager | e423a2da72a77b78d846846ce88a3c9beda9ef05 | [
"MIT"
] | null | null | null | setup.py | ParkJeongseop/PlaylistManager | e423a2da72a77b78d846846ce88a3c9beda9ef05 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name = 'pyPlaylistManager',
version = '0.1',
description = 'Music playlist manage library',
author = 'ParkJeongseop',
author_email = 'parkjeongseop@parkjeongseop.com',
url = 'https://github.c... | 38.52381 | 74 | 0.571075 | 71 | 809 | 6.450704 | 0.521127 | 0.248908 | 0.327511 | 0.340611 | 0.117904 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024648 | 0.297899 | 809 | 21 | 75 | 38.52381 | 0.78169 | 0 | 0 | 0 | 0 | 0 | 0.495062 | 0.038272 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3fa6c9c1b9085228f03a484a03c9fe1a7d3c1098 | 242 | py | Python | cl_sii/rtc/__init__.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 8 | 2020-03-07T19:58:40.000Z | 2021-12-15T13:47:40.000Z | cl_sii/rtc/__init__.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 141 | 2020-01-17T22:47:35.000Z | 2022-03-31T18:29:47.000Z | cl_sii/rtc/__init__.py | fyndata/lib-cl-sii-python | d618247fe7c73e11b391015ae8a00e7b282c2606 | [
"MIT"
] | 4 | 2019-05-18T15:43:35.000Z | 2019-11-06T21:55:09.000Z | """
SII RTC/RPETC
=============
Concepts and acronyms used interchangeably:
* "Registro Transferencia de Crédito" (RTC)
* "Registro Público Electrónico de Transferencia de Crédito" (RPETC)
* "Registro Electrónico de Cesión de Créditos"
"""
| 22 | 68 | 0.719008 | 27 | 242 | 6.444444 | 0.592593 | 0.172414 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 242 | 10 | 69 | 24.2 | 0.836538 | 0.96281 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3fc8f4536902961fa9de25457f2b0fc5156bc7c1 | 20,819 | py | Python | src/fixate/drivers/dso/helper.py | smontanari1/Fixate | 1469cf7b29c4a061a738b56767d6cfee52aade10 | [
"MIT"
] | null | null | null | src/fixate/drivers/dso/helper.py | smontanari1/Fixate | 1469cf7b29c4a061a738b56767d6cfee52aade10 | [
"MIT"
] | null | null | null | src/fixate/drivers/dso/helper.py | smontanari1/Fixate | 1469cf7b29c4a061a738b56767d6cfee52aade10 | [
"MIT"
] | null | null | null | import inspect
from abc import ABCMeta, abstractmethod
from functools import update_wrapper
from fixate.core.discover import discover_sub_classes, open_visa_instrument
from fixate.core.exceptions import InstrumentFeatureUnavailable
try:
import typing
number = typing.Union[float, int]
except ImportError:
n... | 33.257188 | 92 | 0.658533 | 2,173 | 20,819 | 6.171192 | 0.139439 | 0.187025 | 0.204027 | 0.255034 | 0.632289 | 0.619911 | 0.618121 | 0.606786 | 0.606786 | 0.606786 | 0 | 0.004361 | 0.240021 | 20,819 | 625 | 93 | 33.3104 | 0.843193 | 0.051636 | 0 | 0.454756 | 0 | 0 | 0.12207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243619 | false | 0.018561 | 0.016241 | 0.00464 | 0.357309 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3fcf91ed646864fdac46612ee70d52e9bb2ab19c | 485 | py | Python | binarysearch.io/the_accountant.py | mishrakeshav/Competitive-Programming | b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2 | [
"MIT"
] | 2 | 2020-06-25T21:10:32.000Z | 2020-12-10T06:53:45.000Z | binarysearch.io/the_accountant.py | mishrakeshav/Competitive-Programming | b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2 | [
"MIT"
] | null | null | null | binarysearch.io/the_accountant.py | mishrakeshav/Competitive-Programming | b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2 | [
"MIT"
] | 3 | 2020-05-15T14:17:09.000Z | 2021-07-25T13:18:20.000Z | class Solution:
def solve(self, n):
# Write your code here
l = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K'
, 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',
'X', 'Y', 'Z'
]
s = ""
while n > 26:
j = n%26
... | 22.045455 | 73 | 0.22268 | 61 | 485 | 1.770492 | 0.655738 | 0.111111 | 0.074074 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04955 | 0.542268 | 485 | 21 | 74 | 23.095238 | 0.436937 | 0.041237 | 0 | 0 | 0 | 0 | 0.056156 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3fd38c5a04cc5e582f8c8dfaed338f3aec8ba941 | 321 | py | Python | app/controllers/home.py | mustaphee/simple-blog | 22fb170a4ed94e6be5c131802d13d18b12818464 | [
"MIT"
] | null | null | null | app/controllers/home.py | mustaphee/simple-blog | 22fb170a4ed94e6be5c131802d13d18b12818464 | [
"MIT"
] | null | null | null | app/controllers/home.py | mustaphee/simple-blog | 22fb170a4ed94e6be5c131802d13d18b12818464 | [
"MIT"
] | null | null | null | from flask import render_template
def index():
"""Homepage of this app
:return: None
"""
return render_template('home.html')
def error_pages(error):
"""Return Error pages
:param error: Error or Exception object
:return:
"""
return render_template('error.html', error=str(error))
... | 16.894737 | 58 | 0.654206 | 40 | 321 | 5.15 | 0.55 | 0.203884 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227414 | 321 | 18 | 59 | 17.833333 | 0.830645 | 0.320872 | 0 | 0 | 0 | 0 | 0.103825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b777642aa2f06a5a1fb563e5012ffc5283846536 | 38 | py | Python | foiamachine/local/lib/python2.7/encodings/gb2312.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 3 | 2021-08-07T04:01:55.000Z | 2021-08-07T05:12:11.000Z | foiamachine/local/lib/python2.7/encodings/gb2312.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | null | null | null | foiamachine/local/lib/python2.7/encodings/gb2312.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 1 | 2021-08-05T22:51:14.000Z | 2021-08-05T22:51:14.000Z | /usr/lib/python2.7/encodings/gb2312.py | 38 | 38 | 0.815789 | 7 | 38 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 38 | 1 | 38 | 38 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b7a5b4e7e027ddc784ef714a76cd98a9f6074bbd | 3,330 | py | Python | code/tools/external/python/pygccxml/declarations/type_visitor.py | jgresula/jagpdf | 6c36958b109e6522e6b57d04144dd83c024778eb | [
"MIT"
] | 54 | 2015-02-16T14:25:16.000Z | 2022-03-16T07:54:25.000Z | code/tools/external/python/pygccxml/declarations/type_visitor.py | jgresula/jagpdf | 6c36958b109e6522e6b57d04144dd83c024778eb | [
"MIT"
] | null | null | null | code/tools/external/python/pygccxml/declarations/type_visitor.py | jgresula/jagpdf | 6c36958b109e6522e6b57d04144dd83c024778eb | [
"MIT"
] | 30 | 2015-03-05T08:52:25.000Z | 2022-02-17T13:49:15.000Z | # Copyright 2004 Roman Yakovenko.
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
"""
defines types visitor class interface
"""
class type_visitor_t(object):
"""
types visitor interface
All functi... | 25.227273 | 75 | 0.627628 | 314 | 3,330 | 6.410828 | 0.248408 | 0.151018 | 0.528564 | 0.569796 | 0.767511 | 0.481371 | 0.274714 | 0.227024 | 0 | 0 | 0 | 0.00431 | 0.303303 | 3,330 | 132 | 76 | 25.227273 | 0.863362 | 0.094294 | 0 | 0.481013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.493671 | false | 0 | 0 | 0 | 0.506329 | 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 |
b7e42eef2d08f4527de10b6676c6fddf6b090231 | 42,899 | py | Python | tests/test_options.py | kongdd/aria2p | 736a96b2cc52df6e9ee09a596441782a9ff2382a | [
"ISC"
] | 1 | 2020-01-02T13:12:15.000Z | 2020-01-02T13:12:15.000Z | tests/test_options.py | kongdd/aria2p | 736a96b2cc52df6e9ee09a596441782a9ff2382a | [
"ISC"
] | null | null | null | tests/test_options.py | kongdd/aria2p | 736a96b2cc52df6e9ee09a596441782a9ff2382a | [
"ISC"
] | null | null | null | from aria2p import API, Download, Options
# Test general methods
class TestGeneralMethods:
def setup_method(self):
self.api = API()
def test_init_method(self):
assert Options(self.api, {})
def test_are_global_method(self):
options = Options(self.api, {})
assert options.ar... | 35.660017 | 68 | 0.682976 | 5,467 | 42,899 | 5.067313 | 0.046278 | 0.229506 | 0.234415 | 0.144786 | 0.892214 | 0.676353 | 0.306537 | 0.048442 | 0.014403 | 0.006642 | 0 | 0.004608 | 0.246276 | 42,899 | 1,202 | 69 | 35.689684 | 0.852168 | 0.000932 | 0 | 0.194584 | 0 | 0 | 0.00161 | 0 | 0 | 0 | 0 | 0 | 0.398195 | 1 | 0.201605 | false | 0.029087 | 0.001003 | 0 | 0.204614 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b7ed6b2514651f0b16e9241f2453ea2df1d9e8c4 | 181 | py | Python | src/edrndmcc.appserver/edrndmcc/appserver/tests/__init__.py | EDRN/DMCCBackend | bae6b00bb0733daec927f08b989d62126e3a4f16 | [
"Apache-2.0"
] | null | null | null | src/edrndmcc.appserver/edrndmcc/appserver/tests/__init__.py | EDRN/DMCCBackend | bae6b00bb0733daec927f08b989d62126e3a4f16 | [
"Apache-2.0"
] | 13 | 2020-01-14T23:34:49.000Z | 2021-06-09T21:50:22.000Z | src/edrndmcc.appserver/edrndmcc/appserver/tests/__init__.py | EDRN/CancerDataExpo | 21b5e8c90186e05bda840ee1bf51acc34583c153 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
# Copyright 2008 California Institute of Technology. ALL RIGHTS
# RESERVED. U.S. Government Sponsorship acknowledged.
'''
Unit, functional, and other tests.
'''
| 20.111111 | 63 | 0.745856 | 22 | 181 | 6.136364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032468 | 0.149171 | 181 | 8 | 64 | 22.625 | 0.844156 | 0.911602 | 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 |
4d2080a48f8ab3bfd4b33db733d14ec1dd6083a6 | 275 | py | Python | ccupydo/__init__.py | tobadavid/CUPyDO | ad4712d5bd84c964f49ea0c05d6e5ad4fb1e9e88 | [
"Apache-2.0"
] | 1 | 2018-07-16T00:30:37.000Z | 2018-07-16T00:30:37.000Z | ccupydo/__init__.py | tobadavid/CUPyDO | ad4712d5bd84c964f49ea0c05d6e5ad4fb1e9e88 | [
"Apache-2.0"
] | null | null | null | ccupydo/__init__.py | tobadavid/CUPyDO | ad4712d5bd84c964f49ea0c05d6e5ad4fb1e9e88 | [
"Apache-2.0"
] | 1 | 2019-03-09T17:24:58.000Z | 2019-03-09T17:24:58.000Z | # Initialize the CCupydo module
#
# Authors : D. THOMAS
#
# COPYRIGHT (C) University of Liege, 2017.
from CCupydo import CInterpolator
from CCupydo import CManager
from CCupydo import CInterfaceMatrix
from CCupydo import CFlexInterfaceData
from CCupydo import CLinearSolver
| 22.916667 | 42 | 0.814545 | 33 | 275 | 6.787879 | 0.606061 | 0.245536 | 0.379464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017021 | 0.145455 | 275 | 11 | 43 | 25 | 0.93617 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4d2d95b12da22aeb34bbfea1f5430f129c5da64e | 2,228 | py | Python | magic/wireless/wireless.py | DomAmato/magic-cli | fd3dfdf464cf04e3c78fbfa2fe9b7c7766a4bafc | [
"MIT"
] | 12 | 2019-01-16T20:50:01.000Z | 2021-12-07T03:50:22.000Z | magic/wireless/wireless.py | DomAmato/magic-cli | fd3dfdf464cf04e3c78fbfa2fe9b7c7766a4bafc | [
"MIT"
] | 14 | 2019-01-08T16:50:41.000Z | 2019-05-07T18:04:32.000Z | magic/wireless/wireless.py | DomAmato/magic-cli | fd3dfdf464cf04e3c78fbfa2fe9b7c7766a4bafc | [
"MIT"
] | 2 | 2019-06-09T03:47:13.000Z | 2021-07-13T02:39:41.000Z | from magic.util.log import log
from magic.util.cmd import cmd
class Wireless:
_driver_name = None
_driver = None
def __init__(self, interface=None):
# Detect the platform's driver
self._driver_name = self.detect_driver()
if self._driver_name == 'networksetup':
from mag... | 34.276923 | 84 | 0.660233 | 270 | 2,228 | 5.311111 | 0.322222 | 0.083682 | 0.078103 | 0.041841 | 0.167364 | 0.125523 | 0.078103 | 0.078103 | 0.078103 | 0.078103 | 0 | 0.015777 | 0.260323 | 2,228 | 64 | 85 | 34.8125 | 0.854369 | 0.160233 | 0 | 0.05 | 0 | 0 | 0.107104 | 0 | 0 | 0 | 0 | 0.015625 | 0 | 1 | 0.225 | false | 0 | 0.1 | 0.175 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4d856916d76ce77676bdc6b5ae6ea718c111bb1e | 589 | py | Python | db/migrations/0013_auto_20210203_1355.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 1 | 2022-03-03T09:55:57.000Z | 2022-03-03T09:55:57.000Z | db/migrations/0013_auto_20210203_1355.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 7 | 2022-02-09T10:44:53.000Z | 2022-03-28T03:29:43.000Z | db/migrations/0013_auto_20210203_1355.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.1.5 on 2021-02-03 13:55
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('db', '0012_auto_20210203_1303'),
]
operations = [
migrations.AlterModelOptions(
name='language',
options={'ordering': ['name... | 22.653846 | 47 | 0.541596 | 49 | 589 | 6.44898 | 0.632653 | 0.256329 | 0.294304 | 0.183544 | 0.316456 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0.077307 | 0.319185 | 589 | 25 | 48 | 23.56 | 0.710723 | 0.076401 | 0 | 0.473684 | 1 | 0 | 0.162362 | 0.042435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4df82e24005c042f6f7cbb9eee30d6713bff98c1 | 251 | py | Python | Chapter 3/greetings.py | WilliamJaber/Python-Crash-Course | d87621785011039fbe0b42f0d8b6cd2364246577 | [
"MIT"
] | null | null | null | Chapter 3/greetings.py | WilliamJaber/Python-Crash-Course | d87621785011039fbe0b42f0d8b6cd2364246577 | [
"MIT"
] | null | null | null | Chapter 3/greetings.py | WilliamJaber/Python-Crash-Course | d87621785011039fbe0b42f0d8b6cd2364246577 | [
"MIT"
] | 5 | 2021-09-22T16:53:47.000Z | 2022-03-24T00:56:49.000Z | names = ['Dani', 'Ale', 'E. Jose']
message = f'Hey {names[0]}, Thanks for your friendship'
print(message)
message = f'Hey {names[1]}, Thanks for your friendship'
print(message)
message = f'Hey {names[2]}, Thanks for your friendship'
print(message)
| 22.818182 | 55 | 0.689243 | 38 | 251 | 4.552632 | 0.421053 | 0.138728 | 0.190751 | 0.277457 | 0.791908 | 0.791908 | 0.589595 | 0.589595 | 0.589595 | 0.589595 | 0 | 0.013953 | 0.143426 | 251 | 10 | 56 | 25.1 | 0.790698 | 0 | 0 | 0.428571 | 0 | 0 | 0.557769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4dfabf12c6a8fa1d720ab25fbbca864385986406 | 44 | py | Python | document_processing/azure_api/cognitiveservices/__init__.py | vhiwase/document_processing | 2274cfa47b2beece8cfd4701b646523bb9a2abd2 | [
"MIT"
] | null | null | null | document_processing/azure_api/cognitiveservices/__init__.py | vhiwase/document_processing | 2274cfa47b2beece8cfd4701b646523bb9a2abd2 | [
"MIT"
] | null | null | null | document_processing/azure_api/cognitiveservices/__init__.py | vhiwase/document_processing | 2274cfa47b2beece8cfd4701b646523bb9a2abd2 | [
"MIT"
] | 1 | 2021-05-28T18:21:52.000Z | 2021-05-28T18:21:52.000Z | from .ocr import *
__all__ = (ocr.__all__)
| 11 | 23 | 0.681818 | 6 | 44 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 24 | 14.666667 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1507bff66ba1413b34c28624d392ae8818ebcf01 | 135 | py | Python | domaintools/__init__.py | saurabh-prakash/python_api | 553290955c68ddb9d5f55a150031a62741918f70 | [
"MIT"
] | null | null | null | domaintools/__init__.py | saurabh-prakash/python_api | 553290955c68ddb9d5f55a150031a62741918f70 | [
"MIT"
] | 1 | 2021-06-02T13:51:14.000Z | 2021-06-02T13:51:14.000Z | domaintools/__init__.py | jmeridth/python_api | 01a5c8886bc55b5bdbb094f439faf218e353bf3e | [
"MIT"
] | null | null | null | """DomainTools' Official Python API"""
from domaintools._version import current
from domaintools.api import API
__version__ = current
| 22.5 | 40 | 0.807407 | 16 | 135 | 6.5 | 0.5 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 135 | 5 | 41 | 27 | 0.87395 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
1517296dfe700e7db2d515f200b9e9cffb06efd4 | 1,059 | py | Python | emerald/boa/_base.py | yu3ufff/emeraldml | 0c7247e59819383ba1d354aae5aa9c276015a046 | [
"MIT"
] | 2 | 2021-06-24T15:19:22.000Z | 2021-09-27T00:09:15.000Z | emerald/boa/_base.py | yu3ufff/gokboru | 0c7247e59819383ba1d354aae5aa9c276015a046 | [
"MIT"
] | null | null | null | emerald/boa/_base.py | yu3ufff/gokboru | 0c7247e59819383ba1d354aae5aa9c276015a046 | [
"MIT"
] | null | null | null | class BaseBoa:
NUM_REGRESSION_MODELS_SUPPORTED = 5
reg_model_index = {0: 'dtree',
1: 'knn',
2: 'linreg',
3: 'adaboost',
4: 'rforest',
}
def __repr__(self):
return type(... | 23.021739 | 97 | 0.523135 | 128 | 1,059 | 4.109375 | 0.367188 | 0.06654 | 0.152091 | 0.152091 | 0.326996 | 0.287072 | 0.188213 | 0.13308 | 0.13308 | 0 | 0 | 0.020802 | 0.364495 | 1,059 | 46 | 98 | 23.021739 | 0.760773 | 0.022663 | 0 | 0.076923 | 0 | 0 | 0.028046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0.076923 | 0 | 0.269231 | 0.730769 | 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 |
1287568b46346b5581ed9e4fff75b32dcf131ef7 | 253 | py | Python | aws_lambda_powertools/utilities/parameters/exceptions.py | Sordie/aws-lambda-powertools-python | 12c512b78b8830bf2ed09e35d640df14afacfc1a | [
"Apache-2.0"
] | 1,208 | 2020-05-20T19:06:29.000Z | 2022-03-30T14:17:47.000Z | aws_lambda_powertools/utilities/parameters/exceptions.py | Sordie/aws-lambda-powertools-python | 12c512b78b8830bf2ed09e35d640df14afacfc1a | [
"Apache-2.0"
] | 859 | 2020-05-22T09:59:54.000Z | 2022-03-31T08:31:30.000Z | aws_lambda_powertools/utilities/parameters/exceptions.py | Sordie/aws-lambda-powertools-python | 12c512b78b8830bf2ed09e35d640df14afacfc1a | [
"Apache-2.0"
] | 163 | 2020-05-18T21:08:25.000Z | 2022-03-28T12:03:37.000Z | """
Parameter retrieval exceptions
"""
class GetParameterError(Exception):
"""When a provider raises an exception on parameter retrieval"""
class TransformParameterError(Exception):
"""When a provider fails to transform a parameter value"""
| 21.083333 | 68 | 0.750988 | 27 | 253 | 7.037037 | 0.62963 | 0.189474 | 0.147368 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15415 | 253 | 11 | 69 | 23 | 0.88785 | 0.561265 | 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 | 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 | 1 | 0 | 0 | 4 |
1287fed578b74732ca4f6b79a8feb90938aa9d06 | 139 | py | Python | bot/__init__.py | zeroone2numeral2/regex-bot | ebb3a86795732485d41f103bd27cf0e1ac80d53b | [
"MIT"
] | 1 | 2019-09-19T19:29:20.000Z | 2019-09-19T19:29:20.000Z | bot/__init__.py | zeroone2numeral2/regex-bot | ebb3a86795732485d41f103bd27cf0e1ac80d53b | [
"MIT"
] | null | null | null | bot/__init__.py | zeroone2numeral2/regex-bot | ebb3a86795732485d41f103bd27cf0e1ac80d53b | [
"MIT"
] | 4 | 2020-02-19T15:50:43.000Z | 2021-09-08T16:46:07.000Z | import os
from telegram.ext import Updater
updater = Updater(token=os.environ.get('TG_TOKEN') or "")
dispatcher = updater.dispatcher
| 23.166667 | 58 | 0.748201 | 19 | 139 | 5.421053 | 0.631579 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143885 | 139 | 5 | 59 | 27.8 | 0.865546 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 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 |
128805702d2b4eb2f6ae130d6585560043bc3486 | 51 | py | Python | applications/Gardeners_temp/controllers/default.py | abhishek-vinjamoori/Restaurant-Portal | fd7e312b350b25260fb0e8d300ec44d1f8c6ae05 | [
"BSD-3-Clause"
] | null | null | null | applications/Gardeners_temp/controllers/default.py | abhishek-vinjamoori/Restaurant-Portal | fd7e312b350b25260fb0e8d300ec44d1f8c6ae05 | [
"BSD-3-Clause"
] | null | null | null | applications/Gardeners_temp/controllers/default.py | abhishek-vinjamoori/Restaurant-Portal | fd7e312b350b25260fb0e8d300ec44d1f8c6ae05 | [
"BSD-3-Clause"
] | null | null | null | def index():
redirect(URL('order','homepage'))
| 17 | 37 | 0.627451 | 6 | 51 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 38 | 25.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
129f7435a87497ee036c01d56ebf31a34035322b | 31 | py | Python | tests/__init__.py | BehindLoader/py2ch | a79f877ad6d4bb526d2476c12e9d340178da2170 | [
"MIT"
] | 5 | 2019-08-05T12:06:33.000Z | 2019-09-10T07:25:00.000Z | tests/__init__.py | BehindLoader/pych | a79f877ad6d4bb526d2476c12e9d340178da2170 | [
"MIT"
] | 16 | 2019-08-05T12:18:59.000Z | 2019-08-14T20:21:08.000Z | tests/__init__.py | BehindLoader/pych | a79f877ad6d4bb526d2476c12e9d340178da2170 | [
"MIT"
] | null | null | null | """Module for unit testing."""
| 15.5 | 30 | 0.645161 | 4 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.740741 | 0.774194 | 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 |
12a5f536091c7d9132427011b02b9015b58ce69d | 48,862 | py | Python | tests/test_configuration_parser.py | MarcoGorelli/rsmtool | 8759f5bec09a8ba0dd2ca16f6af8ce100d5ea6a0 | [
"Apache-2.0"
] | null | null | null | tests/test_configuration_parser.py | MarcoGorelli/rsmtool | 8759f5bec09a8ba0dd2ca16f6af8ce100d5ea6a0 | [
"Apache-2.0"
] | null | null | null | tests/test_configuration_parser.py | MarcoGorelli/rsmtool | 8759f5bec09a8ba0dd2ca16f6af8ce100d5ea6a0 | [
"Apache-2.0"
] | null | null | null | import json
import logging
import os
import tempfile
import pandas as pd
import warnings
from io import StringIO
from os import getcwd
from os.path import abspath, dirname, join
from pathlib import Path
from shutil import rmtree
from numpy.testing import assert_array_equal
from pandas.testing import assert_frame_equa... | 42.086133 | 94 | 0.532418 | 4,604 | 48,862 | 5.31364 | 0.076672 | 0.051014 | 0.073578 | 0.094179 | 0.797621 | 0.765206 | 0.72666 | 0.715541 | 0.678589 | 0.667144 | 0 | 0.013375 | 0.351234 | 48,862 | 1,160 | 95 | 42.122414 | 0.75836 | 0.014285 | 0 | 0.675936 | 0 | 0 | 0.258245 | 0.048766 | 0 | 0 | 0 | 0 | 0.04492 | 1 | 0.099465 | false | 0.00107 | 0.017112 | 0 | 0.120856 | 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 |
12ab561aa111c0466c23fb5ab67c5935ddf0650b | 480 | py | Python | thelper/data/geo/__init__.py | sfoucher/thelper | 235406f3166f03ba6eb77f4a7289188aebc9b2c4 | [
"Apache-2.0"
] | 17 | 2018-12-10T19:43:20.000Z | 2021-08-17T03:06:59.000Z | thelper/data/geo/__init__.py | sfoucher/thelper | 235406f3166f03ba6eb77f4a7289188aebc9b2c4 | [
"Apache-2.0"
] | 16 | 2019-07-31T20:13:26.000Z | 2020-12-14T15:48:30.000Z | thelper/data/geo/__init__.py | sfoucher/thelper | 235406f3166f03ba6eb77f4a7289188aebc9b2c4 | [
"Apache-2.0"
] | 10 | 2019-06-17T18:38:05.000Z | 2020-09-29T16:04:00.000Z | """Geospatial dataset parsing/loading package.
This package contains classes and functions whose role is to fetch the data required to train, validate,
and test a model on geospatial data. Importing the modules inside this package requires GDAL.
"""
import logging
import thelper.data.geo.gdl # noqa: F401
import the... | 32 | 104 | 0.779167 | 71 | 480 | 5.211268 | 0.591549 | 0.140541 | 0.183784 | 0.216216 | 0.227027 | 0.227027 | 0 | 0 | 0 | 0 | 0 | 0.029268 | 0.145833 | 480 | 14 | 105 | 34.285714 | 0.873171 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
12c28d741c50d1ea1874c2abd35ab50de4fa79f1 | 86 | py | Python | gui/sum_v1/apps.py | time-crunched/nlp-toolbox | b732abd0b2c6b265971efe04a4d70ebe20d2ee8f | [
"MIT"
] | null | null | null | gui/sum_v1/apps.py | time-crunched/nlp-toolbox | b732abd0b2c6b265971efe04a4d70ebe20d2ee8f | [
"MIT"
] | 3 | 2020-06-05T18:58:57.000Z | 2021-06-10T20:50:13.000Z | gui/sum_v1/apps.py | time-crunched/nlp-toolbox | b732abd0b2c6b265971efe04a4d70ebe20d2ee8f | [
"MIT"
] | 1 | 2019-12-01T16:56:41.000Z | 2019-12-01T16:56:41.000Z | from django.apps import AppConfig
class SumV1Config(AppConfig):
name = 'sum_v1'
| 14.333333 | 33 | 0.744186 | 11 | 86 | 5.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.174419 | 86 | 5 | 34 | 17.2 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 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 |
12ffa8349e8f8acb26be1f1f73cd8f450b117ed0 | 1,167 | py | Python | maad/__init__.py | scikit-maad/scikit-maad | 2052c6f5ffc2a973fa1676364cc1663d7da1715a | [
"BSD-3-Clause"
] | 31 | 2019-06-27T11:30:09.000Z | 2022-03-14T22:07:34.000Z | maad/__init__.py | scikit-maad/scikit-maad | 2052c6f5ffc2a973fa1676364cc1663d7da1715a | [
"BSD-3-Clause"
] | 9 | 2019-03-29T20:45:09.000Z | 2022-03-18T12:25:53.000Z | maad/__init__.py | scikit-maad/scikit-maad | 2052c6f5ffc2a973fa1676364cc1663d7da1715a | [
"BSD-3-Clause"
] | 7 | 2019-07-29T13:26:40.000Z | 2022-03-24T00:44:47.000Z | # -*- coding: utf-8 -*-
""" Multiresolution Analysis of Acoustic Diversity Scikit (Toolbox for SciPy)
scikit-maad is a modular toolbox to analyze ecoacoustics datasets in Python 3.
This package was designed to bring flexibility to find regions of interest,
and to compute acoustic features in audio recordings. This wo... | 32.416667 | 100 | 0.755784 | 163 | 1,167 | 5.386503 | 0.588957 | 0.039863 | 0.029613 | 0.047836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004171 | 0.178235 | 1,167 | 35 | 101 | 33.342857 | 0.911366 | 0.877464 | 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 |
4206f9ce40b713bf34bd45439c15caa54493aa40 | 22,319 | py | Python | corepy/arch/cal/isa/cal_insts.py | matthiaskramm/corepy | b2aad4e86adca10420e825fb65dcbd031cf44bb1 | [
"BSD-3-Clause"
] | 8 | 2016-02-20T03:52:58.000Z | 2022-01-24T15:04:14.000Z | corepy/arch/cal/isa/cal_insts.py | matthiaskramm/corepy | b2aad4e86adca10420e825fb65dcbd031cf44bb1 | [
"BSD-3-Clause"
] | null | null | null | corepy/arch/cal/isa/cal_insts.py | matthiaskramm/corepy | b2aad4e86adca10420e825fb65dcbd031cf44bb1 | [
"BSD-3-Clause"
] | 6 | 2015-12-11T05:21:15.000Z | 2020-12-11T10:59:15.000Z | # Copyright (c) 2006-2009 The Trustees of Indiana University.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without ... | 46.113636 | 415 | 0.67624 | 2,533 | 22,319 | 5.827477 | 0.09317 | 0.216246 | 0.053858 | 0.082582 | 0.751101 | 0.704763 | 0.689723 | 0.66818 | 0.666622 | 0.596369 | 0 | 0.019425 | 0.155787 | 22,319 | 483 | 416 | 46.20911 | 0.763985 | 0.115149 | 0 | 0.503333 | 0 | 0 | 0.076577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176667 | false | 0 | 0.046667 | 0.176667 | 1.04 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
42132dd04003bb22de4bd9ecbf0918f1e3e1596d | 147 | py | Python | booleanlist.py | terrykim1211/WechatBOT | 69d156e90f53c315693ffb114c84f493685261e9 | [
"MIT"
] | null | null | null | booleanlist.py | terrykim1211/WechatBOT | 69d156e90f53c315693ffb114c84f493685261e9 | [
"MIT"
] | null | null | null | booleanlist.py | terrykim1211/WechatBOT | 69d156e90f53c315693ffb114c84f493685261e9 | [
"MIT"
] | null | null | null | check = 'Coderbunker whatever'
bool(check.find('Coderbunker'))
print(bool(check))
if check == 'Coderbunker whatever':
print('what')
| 16.333333 | 36 | 0.659864 | 16 | 147 | 6.0625 | 0.5 | 0.329897 | 0.494845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 147 | 8 | 37 | 18.375 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.40146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 |
4252f541775784f36a2dce821a603b5ba98032e7 | 128 | py | Python | HackerEarth/Alternate_Elements.py | sawantaditi24/Competitive-Programming | 36e024215d8041c92c5ec78a22561aaa0025f8d2 | [
"MIT"
] | 2 | 2019-08-27T21:48:55.000Z | 2020-04-20T05:56:56.000Z | HackerEarth/Alternate_Elements.py | gauravsingh58/competitive-programming | fa5548f435cdf2aa059e1d6ab733885790c6a592 | [
"MIT"
] | 1 | 2020-10-10T16:14:54.000Z | 2020-10-10T16:14:54.000Z | HackerEarth/Alternate_Elements.py | gauravsingh58/competitive-programming | fa5548f435cdf2aa059e1d6ab733885790c6a592 | [
"MIT"
] | 2 | 2020-10-21T17:12:05.000Z | 2020-10-27T09:34:57.000Z | arr = list(map(int, input().split()))
print(arr[0] + arr[2] + arr[4] + arr[6] + arr[8])
print(arr[1] + arr[3] + arr[5] + arr[7]) | 42.666667 | 49 | 0.539063 | 26 | 128 | 2.653846 | 0.615385 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 0.148438 | 128 | 3 | 50 | 42.666667 | 0.550459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
42822f51de769f56bbcbf02da608d47ebdc0127f | 842 | py | Python | App/models.py | patricialiang/TPP | 8d364c88c3c0b5d98c0a910c77cb306cfa2840aa | [
"Apache-2.0"
] | null | null | null | App/models.py | patricialiang/TPP | 8d364c88c3c0b5d98c0a910c77cb306cfa2840aa | [
"Apache-2.0"
] | null | null | null | App/models.py | patricialiang/TPP | 8d364c88c3c0b5d98c0a910c77cb306cfa2840aa | [
"Apache-2.0"
] | null | null | null | from App.ext import db
from App.model_utils import BaseModel
class Letter(db.Model):
id = db.Column(db.Integer,primary_key=True,autoincrement=True)
letter = db.Column(db.String(2))
class City(db.Model):
id = db.Column(db.Integer,primary_key=True,autoincrement=True)
regionName = db.Column(db.String(16... | 21.05 | 66 | 0.699525 | 131 | 842 | 4.419847 | 0.305344 | 0.193437 | 0.241796 | 0.248705 | 0.554404 | 0.46114 | 0.392055 | 0.295337 | 0.295337 | 0.295337 | 0 | 0.023944 | 0.15677 | 842 | 39 | 67 | 21.589744 | 0.791549 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.105263 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
42891c3ac7381b4b5599d64afb5087b8fb94b11b | 190 | py | Python | examples/example2_2.py | hcseob/py_spectre | b5757b60eb799003af1d6165ffc9aafab909a322 | [
"MIT"
] | 3 | 2016-05-23T17:48:39.000Z | 2021-01-06T16:56:44.000Z | examples/example2_2.py | hcseob/py_spectre | b5757b60eb799003af1d6165ffc9aafab909a322 | [
"MIT"
] | null | null | null | examples/example2_2.py | hcseob/py_spectre | b5757b60eb799003af1d6165ffc9aafab909a322 | [
"MIT"
] | 1 | 2016-05-27T21:10:01.000Z | 2016-05-27T21:10:01.000Z | from py_spectre import *
pss = PySpectreScript('example.scs')
pss.remove('R1')
print pss.search('R*')
line_num = 5
ns = 'R1 VO 0 resistor r=3k'
pss.add(ns, line_num)
print pss.search('R*')
| 21.111111 | 36 | 0.694737 | 34 | 190 | 3.794118 | 0.647059 | 0.124031 | 0.217054 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 190 | 8 | 37 | 23.75 | 0.751515 | 0 | 0 | 0.25 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
429395748b12443ea001e39b6a38a4e706a86aa6 | 130 | py | Python | foodmap/apps.py | tonnpa/begin-here | a455f81f7ed9524ce7eb34867c6f7ce54ba6c4ec | [
"MIT"
] | null | null | null | foodmap/apps.py | tonnpa/begin-here | a455f81f7ed9524ce7eb34867c6f7ce54ba6c4ec | [
"MIT"
] | null | null | null | foodmap/apps.py | tonnpa/begin-here | a455f81f7ed9524ce7eb34867c6f7ce54ba6c4ec | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class FoodmapConfig(AppConfig):
name = 'foodmap'
| 16.25 | 39 | 0.792308 | 15 | 130 | 6.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 7 | 40 | 18.571429 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
42b1326ec46d6486f55bf96aa1a4de9f823def8b | 701 | py | Python | base.py | LucasSonego/BOT_BadTimeSim | 70b5c5c0ad2b4d281dfcbd27c16868ff9e1487ef | [
"MIT"
] | 1 | 2020-03-03T17:49:52.000Z | 2020-03-03T17:49:52.000Z | base.py | LucasSonego/BOT_BadTimeSim | 70b5c5c0ad2b4d281dfcbd27c16868ff9e1487ef | [
"MIT"
] | null | null | null | base.py | LucasSonego/BOT_BadTimeSim | 70b5c5c0ad2b4d281dfcbd27c16868ff9e1487ef | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pyautogui
from pyautogui import *
def k_alt_tab():
pyautogui.keyDown('alt')
pyautogui.keyDown('tab')
pyautogui.keyUp('tab')
pyautogui.keyUp('alt')
#keys
def k_space(delay):
pyautogui.keyDown('space')
time.sleep(delay)
pyautogui.keyUp('s... | 16.690476 | 30 | 0.633381 | 94 | 701 | 4.648936 | 0.265957 | 0.320366 | 0.240275 | 0.263158 | 0.320366 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001761 | 0.189729 | 701 | 41 | 31 | 17.097561 | 0.767606 | 0.072753 | 0 | 0.185185 | 0 | 0 | 0.046656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.074074 | 0 | 0.296296 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c430de5c949e4a3d273207be7fadb27de78ff774 | 238 | py | Python | gehomesdk/erd/values/microwave/erd_microwave_available_modes.py | ChevySSinSD/gehome | fddfb00749334441a6b57da14fa48ae11e752c2b | [
"MIT"
] | 17 | 2021-05-18T01:58:06.000Z | 2022-03-22T20:49:32.000Z | gehomesdk/erd/values/microwave/erd_microwave_available_modes.py | ChevySSinSD/gehome | fddfb00749334441a6b57da14fa48ae11e752c2b | [
"MIT"
] | 29 | 2021-05-17T21:43:16.000Z | 2022-02-28T22:50:48.000Z | gehomesdk/erd/values/microwave/erd_microwave_available_modes.py | ChevySSinSD/gehome | fddfb00749334441a6b57da14fa48ae11e752c2b | [
"MIT"
] | 9 | 2021-05-17T04:40:58.000Z | 2022-02-02T17:26:13.000Z | from typing import NamedTuple, Optional
class ErdMicrowaveAvailableModes(NamedTuple):
is_valid: bool
has_warm: bool
has_convection_bake: bool
has_convection_roast: bool
has_broil: bool
raw_value: Optional[str] | 23.8 | 45 | 0.752101 | 29 | 238 | 5.896552 | 0.655172 | 0.163743 | 0.19883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197479 | 238 | 10 | 46 | 23.8 | 0.895288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c453755de16c506beb50911c19407ca36b62dd21 | 49 | py | Python | ktrain/version.py | rubensmau/ktrain | de32b87b9d3996f35882e7ca18273356c72d342c | [
"Apache-2.0"
] | null | null | null | ktrain/version.py | rubensmau/ktrain | de32b87b9d3996f35882e7ca18273356c72d342c | [
"Apache-2.0"
] | null | null | null | ktrain/version.py | rubensmau/ktrain | de32b87b9d3996f35882e7ca18273356c72d342c | [
"Apache-2.0"
] | null | null | null | __all__ = ['__version__']
__version__ = '0.30.0'
| 16.333333 | 25 | 0.673469 | 6 | 49 | 3.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.122449 | 49 | 2 | 26 | 24.5 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0.346939 | 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 |
c45cd2c3fd06f37dd6e9337b006a8b3a55e2b180 | 170 | py | Python | Django_Assignment/user/models.py | samir321-pixel/Django_Assignment | 7049777c8c60a461fbe6b548d8cfae23833c883a | [
"Apache-2.0"
] | 2 | 2021-03-13T18:27:50.000Z | 2021-07-19T16:45:58.000Z | Django_Assignment/user/models.py | samir321-pixel/Django_Assignment | 7049777c8c60a461fbe6b548d8cfae23833c883a | [
"Apache-2.0"
] | null | null | null | Django_Assignment/user/models.py | samir321-pixel/Django_Assignment | 7049777c8c60a461fbe6b548d8cfae23833c883a | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.
class User(AbstractUser):
Address = models.TextField()
| 18.888889 | 51 | 0.776471 | 22 | 170 | 6 | 0.681818 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 170 | 8 | 52 | 21.25 | 0.910345 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c4698d6a69dbe3df5f58abf7c0c06ec45ad41203 | 89 | py | Python | stimuli/Python/one_file_per_item/jap/1_# math_seq 1.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 6 | 2020-04-24T08:16:51.000Z | 2021-11-01T09:50:46.000Z | stimuli/Python/one_file_per_item/jap/1_# math_seq 1.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | null | null | null | stimuli/Python/one_file_per_item/jap/1_# math_seq 1.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 4 | 2021-02-17T20:21:31.000Z | 2022-02-14T12:43:23.000Z | ei = 3
suu1 = int(ei)
suu2 = int(ei*ei)
suu3 = int(ei*ei*ei)
print(suu1 + suu2 + suu3)
| 11.125 | 25 | 0.595506 | 18 | 89 | 2.944444 | 0.388889 | 0.283019 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.213483 | 89 | 7 | 26 | 12.714286 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
c479ab7052b6c4c3c332e3c76351196ac664ed06 | 149 | py | Python | test.py | BlackPhoenixSlo/3vVrsto | ec00d389a09acc0ae2b4fed204c84a750cfb5e2e | [
"Apache-2.0"
] | null | null | null | test.py | BlackPhoenixSlo/3vVrsto | ec00d389a09acc0ae2b4fed204c84a750cfb5e2e | [
"Apache-2.0"
] | null | null | null | test.py | BlackPhoenixSlo/3vVrsto | ec00d389a09acc0ae2b4fed204c84a750cfb5e2e | [
"Apache-2.0"
] | 1 | 2020-08-18T10:52:17.000Z | 2020-08-18T10:52:17.000Z | a = {}
a["ad ad asd"] = 4
b = 4
if (b is a["ad ad asd"]):
print("jaka")
else:
print ("luka")
print (str([[0, 0, 0], [0, 0, 0], [0, 0, 0]])) | 14.9 | 46 | 0.42953 | 31 | 149 | 2.064516 | 0.419355 | 0.25 | 0.328125 | 0.375 | 0.140625 | 0.140625 | 0.140625 | 0.140625 | 0 | 0 | 0 | 0.100917 | 0.268456 | 149 | 10 | 46 | 14.9 | 0.486239 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
673d1c1073a8bb635455e891ca35f790a20ca173 | 5,572 | py | Python | pythran/tests/test_math.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,647 | 2015-01-13T01:45:38.000Z | 2022-03-28T01:23:41.000Z | pythran/tests/test_math.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,116 | 2015-01-01T09:52:05.000Z | 2022-03-18T21:06:40.000Z | pythran/tests/test_math.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 180 | 2015-02-12T02:47:28.000Z | 2022-03-14T10:28:18.000Z | from pythran.tests import TestEnv
@TestEnv.module
class TestMath(TestEnv):
def test_cos_(self):
self.run_test("def cos_(a):\n from math import cos\n return cos(a)", 1, cos_=[int])
def test_exp_(self):
self.run_test("def exp_(a):\n from math import exp\n return exp(a)", 1, exp_=[int])
de... | 38.965035 | 147 | 0.619167 | 950 | 5,572 | 3.421053 | 0.082105 | 0.084 | 0.132 | 0.170769 | 0.399692 | 0.047077 | 0.020923 | 0.020923 | 0.020923 | 0.020923 | 0 | 0.021724 | 0.223439 | 5,572 | 142 | 148 | 39.239437 | 0.729374 | 0 | 0 | 0.080808 | 0 | 0.070707 | 0.45944 | 0.003769 | 0 | 0 | 0 | 0 | 0 | 1 | 0.393939 | false | 0 | 0.40404 | 0 | 0.828283 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
67426f546e6cbfac07bbebd10dfcaf9bc05b70e0 | 66 | py | Python | {{cookiecutter.project_slug}}/app/__init__.py | Aquish-Lee/cookiecutter-pytorch-fastapi | 9ae6f58cc9823a342e1fafe467dd7dfea5086e7a | [
"Apache-2.0"
] | 15 | 2021-09-01T10:58:47.000Z | 2022-03-04T06:41:29.000Z | {{cookiecutter.project_slug}}/app/__init__.py | Aquish-Lee/cookiecutter-pytorch-fastapi | 9ae6f58cc9823a342e1fafe467dd7dfea5086e7a | [
"Apache-2.0"
] | null | null | null | {{cookiecutter.project_slug}}/app/__init__.py | Aquish-Lee/cookiecutter-pytorch-fastapi | 9ae6f58cc9823a342e1fafe467dd7dfea5086e7a | [
"Apache-2.0"
] | 6 | 2021-09-07T09:08:07.000Z | 2022-02-19T18:31:56.000Z | # -*- coding: utf-8 -*-
# @Author : Aquish
# @Organization : NTT
| 16.5 | 23 | 0.560606 | 7 | 66 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.212121 | 66 | 3 | 24 | 22 | 0.692308 | 0.893939 | 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 |
675fa4a35caaab9eea2b2643dd84d0d6df3d072f | 98 | py | Python | django_polls/polls/apps.py | bionikspoon/django_polls | de677f6b76be2dbb62c6355f1494a8db89086e56 | [
"MIT"
] | null | null | null | django_polls/polls/apps.py | bionikspoon/django_polls | de677f6b76be2dbb62c6355f1494a8db89086e56 | [
"MIT"
] | null | null | null | django_polls/polls/apps.py | bionikspoon/django_polls | de677f6b76be2dbb62c6355f1494a8db89086e56 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PollsConfig(AppConfig):
name = 'django_polls.polls'
| 16.333333 | 33 | 0.765306 | 12 | 98 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 34 | 19.6 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 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 |
6773be209620c0051efaea5cf4230acb0d7c1542 | 215 | py | Python | psonic/samples/misc.py | m-roberts/python-sonic | e7cdfefe10ee26e478c6f866fa0cdeb562fbb756 | [
"MIT"
] | 263 | 2016-01-31T17:15:45.000Z | 2022-03-28T04:15:54.000Z | psonic/samples/misc.py | m-roberts/python-sonic | e7cdfefe10ee26e478c6f866fa0cdeb562fbb756 | [
"MIT"
] | 32 | 2016-01-31T13:51:59.000Z | 2021-08-30T17:05:09.000Z | psonic/samples/misc.py | m-roberts/python-sonic | e7cdfefe10ee26e478c6f866fa0cdeb562fbb756 | [
"MIT"
] | 52 | 2016-02-01T01:54:35.000Z | 2021-09-24T07:27:51.000Z | """Miscellaneous Sounds"""
from . import Sample
MISC_BURP = Sample('misc_burp', 0.7932879818594104)
MISC_CINEBOOM = Sample('misc_cineboom', 7.922675736961451)
MISC_CROW = Sample('misc_crow', 0.48063492063492064)
| 23.888889 | 58 | 0.772093 | 26 | 215 | 6.153846 | 0.538462 | 0.25 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262887 | 0.097674 | 215 | 8 | 59 | 26.875 | 0.561856 | 0.093023 | 0 | 0 | 0 | 0 | 0.164021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 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 |
678d010eb270dc923ed398884a96bbf6ea7dfd2a | 142 | py | Python | data_models/onepassword_itemusage_data_model.py | panther-labs/panther-cli | 4e5c0a21570e1a02dada990fd91e324416afac96 | [
"MIT"
] | 4 | 2019-10-17T19:33:29.000Z | 2019-10-21T15:23:30.000Z | data_models/onepassword_itemusage_data_model.py | jacknagz/panther-analysis | fceab78ba5624136776596ee1b25fa0dc8a02a42 | [
"Apache-2.0"
] | null | null | null | data_models/onepassword_itemusage_data_model.py | jacknagz/panther-analysis | fceab78ba5624136776596ee1b25fa0dc8a02a42 | [
"Apache-2.0"
] | null | null | null | # 1Password item usage logs don't have event types, this file is a placeholder. All events are
# the viewing or usage of an item in 1Password
| 47.333333 | 94 | 0.774648 | 26 | 142 | 4.230769 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.190141 | 142 | 2 | 95 | 71 | 0.93913 | 0.964789 | 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 |
67a2dd96e1f64b456f45625e4c8b45beec315610 | 102 | py | Python | equipment_slots.py | kravlost/gogow | b41981354c711cc025d9072808ec00cd97dec91e | [
"Unlicense"
] | null | null | null | equipment_slots.py | kravlost/gogow | b41981354c711cc025d9072808ec00cd97dec91e | [
"Unlicense"
] | null | null | null | equipment_slots.py | kravlost/gogow | b41981354c711cc025d9072808ec00cd97dec91e | [
"Unlicense"
] | null | null | null | from enum import Enum, auto
class EquipmentSlots(Enum):
MAIN_HAND = auto()
OFF_HAND = auto() | 17 | 27 | 0.686275 | 14 | 102 | 4.857143 | 0.642857 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 102 | 6 | 28 | 17 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
67a3e85914c8ee7c2d1314dd30694ac03b2de163 | 126 | py | Python | backend/api/models/__init__.py | ardilom/DeptoShower | f8cb916a1c89722cf117b78ee93b43f1d488e27a | [
"MIT"
] | 1 | 2020-09-13T12:44:50.000Z | 2020-09-13T12:44:50.000Z | backend/api/models/__init__.py | ardilom/project_template | e42fbf73da7037074f160a31201cae70d7a027dc | [
"MIT"
] | 13 | 2021-04-06T18:34:04.000Z | 2022-02-27T11:08:17.000Z | backend/api/models/__init__.py | ardilom/DeptoShower | f8cb916a1c89722cf117b78ee93b43f1d488e27a | [
"MIT"
] | null | null | null | # imports
from .base import (
BaseModel,
file_path,
)
from .notifications import Notification
from .users import User
| 15.75 | 39 | 0.738095 | 15 | 126 | 6.133333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198413 | 126 | 7 | 40 | 18 | 0.910891 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
67b1bd17362a17858016e0244d5c16720ca303ec | 105 | py | Python | python/inc/WebApp.py | wadelau/GWA2 | 27259015ddbd7418d84230c1b4fab4248f6471c1 | [
"Apache-2.0"
] | 7 | 2016-09-05T12:41:26.000Z | 2021-06-29T14:48:17.000Z | python/inc/WebApp.py | wadelau/GWA2 | 27259015ddbd7418d84230c1b4fab4248f6471c1 | [
"Apache-2.0"
] | null | null | null | python/inc/WebApp.py | wadelau/GWA2 | 27259015ddbd7418d84230c1b4fab4248f6471c1 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# -v
# WebApp class for GWA2 in Python
# Xenxin@Ufqi, Fri 15 Dec 2017 21:04:39 CST
| 17.5 | 45 | 0.67619 | 20 | 105 | 3.55 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.2 | 105 | 5 | 46 | 21 | 0.678571 | 0.914286 | 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 |
67bc79ac47945fdd7843970f28149d47c8166a71 | 44 | py | Python | package/__init__.py | jfcrenshaw/python-package | 3419dcd0faa0ed5b68fd8c8ec514ad95e52e4257 | [
"MIT"
] | null | null | null | package/__init__.py | jfcrenshaw/python-package | 3419dcd0faa0ed5b68fd8c8ec514ad95e52e4257 | [
"MIT"
] | null | null | null | package/__init__.py | jfcrenshaw/python-package | 3419dcd0faa0ed5b68fd8c8ec514ad95e52e4257 | [
"MIT"
] | null | null | null | __version__ = "0.1.0"
from .module import *
| 14.666667 | 21 | 0.681818 | 7 | 44 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.159091 | 44 | 2 | 22 | 22 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 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 |
67c10aef8a49127bcd9507fd690683648b863079 | 566 | py | Python | models.py | renmarin/django_restaurants | a27f1d79856e4bd9da0c1987243e1dab3ec7be20 | [
"MIT"
] | null | null | null | models.py | renmarin/django_restaurants | a27f1d79856e4bd9da0c1987243e1dab3ec7be20 | [
"MIT"
] | null | null | null | models.py | renmarin/django_restaurants | a27f1d79856e4bd9da0c1987243e1dab3ec7be20 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Restaurant(models.Model):
name = models.CharField(max_length=200)
def __str__(self):
return f'{self.name}'
class MenuItem(models.Model):
name = models.CharField(max_length=70)
description = models.CharField(max_length=300)
p... | 25.727273 | 72 | 0.706714 | 73 | 566 | 5.287671 | 0.452055 | 0.194301 | 0.233161 | 0.310881 | 0.331606 | 0.331606 | 0.331606 | 0 | 0 | 0 | 0 | 0.023454 | 0.171378 | 566 | 21 | 73 | 26.952381 | 0.799574 | 0.042403 | 0 | 0.153846 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0.153846 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
67c79560de4cb7cb4a22b379f656e2be91872996 | 614 | py | Python | plugin/plugin_message.py | jfcherng-sublime/LSP-intelephense-patcher | 9be50080e6acc8ce25e14bbf5ca3c3615c938e0f | [
"MIT"
] | 3 | 2020-11-07T07:11:18.000Z | 2021-06-11T13:24:48.000Z | plugin/plugin_message.py | jfcherng-sublime/ST-patcher-LSP-intelephense | 97520041a572c8e07bef59388935020257768307 | [
"MIT"
] | null | null | null | plugin/plugin_message.py | jfcherng-sublime/ST-patcher-LSP-intelephense | 97520041a572c8e07bef59388935020257768307 | [
"MIT"
] | null | null | null | import sublime
def pluginfy_msg(msg: str, *args, **kwargs) -> str:
package_name = __package__.split(".")[0]
return msg.format(*args, _=package_name, **kwargs)
def console_msg(msg: str, *args, **kwargs) -> None:
print(pluginfy_msg(msg, *args, **kwargs))
def status_msg(msg: str, *args, **kwargs) -> Non... | 25.583333 | 62 | 0.669381 | 84 | 614 | 4.666667 | 0.27381 | 0.229592 | 0.178571 | 0.204082 | 0.640306 | 0.591837 | 0.153061 | 0 | 0 | 0 | 0 | 0.001912 | 0.148208 | 614 | 23 | 63 | 26.695652 | 0.74761 | 0 | 0 | 0 | 0 | 0 | 0.001629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0 | 0.583333 | 0.083333 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
67c97a746cf0a4325387f4ad93c749e10988afe3 | 214 | py | Python | django_docutils/rst_post/models/__init__.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 10 | 2017-04-28T00:19:10.000Z | 2020-07-22T15:27:09.000Z | django_docutils/rst_post/models/__init__.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 231 | 2017-01-17T04:47:51.000Z | 2022-03-30T03:03:42.000Z | django_docutils/rst_post/models/__init__.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 1 | 2019-01-25T14:42:15.000Z | 2019-01-25T14:42:15.000Z | # flake8: NOQA F4
from .checks import _check_postpage_post_back_relation, _check_root_page
from .post import RSTPostBase, get_post_model, get_post_models
from .post_page import RSTPostPageBase, get_postpage_models
| 42.8 | 72 | 0.864486 | 32 | 214 | 5.3125 | 0.5625 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.093458 | 214 | 4 | 73 | 53.5 | 0.865979 | 0.070093 | 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 |
db178da4922bd16e61db839e6eba195e360832b2 | 208 | py | Python | msbase/argparse_.py | monad-systems/base.py | 414a53aa19ced68583fce2a9b10bd50e71353d2a | [
"MIT"
] | null | null | null | msbase/argparse_.py | monad-systems/base.py | 414a53aa19ced68583fce2a9b10bd50e71353d2a | [
"MIT"
] | 2 | 2019-04-05T19:52:29.000Z | 2020-02-12T17:01:44.000Z | msbase/argparse_.py | monad-systems/base.py | 414a53aa19ced68583fce2a9b10bd50e71353d2a | [
"MIT"
] | 1 | 2019-08-09T16:54:16.000Z | 2019-08-09T16:54:16.000Z | import argparse
def p(*args, **kwargs):
if 'formatter_class' not in kwargs:
kwargs['formatter_class'] = argparse.ArgumentDefaultsHelpFormatter
return argparse.ArgumentParser(*args, **kwargs)
| 29.714286 | 74 | 0.730769 | 22 | 208 | 6.818182 | 0.636364 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158654 | 208 | 6 | 75 | 34.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
db27d0c2790b3fe31c6a8cd355f32d6fb38dec15 | 263 | py | Python | catalog/forms.py | Elbar/congenial-dollop | 7a3330a32100598b0baacdf03df7093342c5b9d1 | [
"MIT"
] | null | null | null | catalog/forms.py | Elbar/congenial-dollop | 7a3330a32100598b0baacdf03df7093342c5b9d1 | [
"MIT"
] | 11 | 2020-02-11T21:48:53.000Z | 2022-03-11T23:12:02.000Z | catalog/forms.py | Elbar/congenial-dollop | 7a3330a32100598b0baacdf03df7093342c5b9d1 | [
"MIT"
] | null | null | null | from django import forms
from .models import *
class DocumentForm(forms.ModelForm):
class Meta:
model = Document
fields = '__all__'
class CheckoutForm(forms.ModelForm):
class Meta:
model = Checkout
fields = '__all__'
| 16.4375 | 36 | 0.642586 | 27 | 263 | 5.962963 | 0.555556 | 0.173913 | 0.236025 | 0.285714 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281369 | 263 | 15 | 37 | 17.533333 | 0.851852 | 0 | 0 | 0.4 | 0 | 0 | 0.053232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
db34ba559acb001dffb959df14cd56e4057dded5 | 49 | py | Python | pi/driver/d_serial.py | jared-jones280/SmartFishTank-Arduino | ba21f2d579e8c09a168fdc6749908bbb28782e75 | [
"MIT"
] | 1 | 2020-05-23T17:21:39.000Z | 2020-05-23T17:21:39.000Z | pi/driver/d_serial.py | cmasterx/SmartFishTank-Arduino | ba21f2d579e8c09a168fdc6749908bbb28782e75 | [
"MIT"
] | null | null | null | pi/driver/d_serial.py | cmasterx/SmartFishTank-Arduino | ba21f2d579e8c09a168fdc6749908bbb28782e75 | [
"MIT"
] | 2 | 2020-05-26T02:45:26.000Z | 2020-05-26T18:18:07.000Z | import serial
ser = serial.Serial('/dev/ttyACM0') | 24.5 | 35 | 0.755102 | 7 | 49 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.081633 | 49 | 2 | 35 | 24.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.24 | 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 |
c003e86e7e16062b5683d3e9002a485b50811e85 | 581 | py | Python | tests/test_tuple_creation.py | tmr232/python-benchmark | f3b6f4a9679a27121b893eda7e3212d50705a924 | [
"MIT"
] | null | null | null | tests/test_tuple_creation.py | tmr232/python-benchmark | f3b6f4a9679a27121b893eda7e3212d50705a924 | [
"MIT"
] | null | null | null | tests/test_tuple_creation.py | tmr232/python-benchmark | f3b6f4a9679a27121b893eda7e3212d50705a924 | [
"MIT"
] | null | null | null | from tests.utils import verify
@verify
class TestTupleComprehension:
"""
Compare various ways to write "tuple comprehensions"
"""
DATA = list(range(1000000))
def test_generator_comprehension(self, benchmark):
"""tuple from generator comprehension"""
def run(data):
re... | 21.518519 | 56 | 0.63167 | 67 | 581 | 5.41791 | 0.432836 | 0.038567 | 0.143251 | 0.170799 | 0.550964 | 0.358127 | 0.358127 | 0.358127 | 0.358127 | 0.358127 | 0 | 0.016548 | 0.271945 | 581 | 26 | 57 | 22.346154 | 0.841608 | 0.201377 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.166667 | 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 |
c018e24dc050df001318fd7e62992f2ff738d005 | 317 | py | Python | sync_ends/collection.py | nirav1997/sync_ends | 04e39ec26ac43ad4e6d4e1bdf685eb73c03b1dbb | [
"MIT"
] | null | null | null | sync_ends/collection.py | nirav1997/sync_ends | 04e39ec26ac43ad4e6d4e1bdf685eb73c03b1dbb | [
"MIT"
] | null | null | null | sync_ends/collection.py | nirav1997/sync_ends | 04e39ec26ac43ad4e6d4e1bdf685eb73c03b1dbb | [
"MIT"
] | null | null | null | from src.end_point import EndPoint
class Collection:
def __init__(self, collection_json):
self.end_points = [EndPoint(x) for x in collection_json["item"]]
def get_end_points(self):
return self.end_points
def remove_end_point(self, end_point):
self.end_points.remove(end_point)
| 24.384615 | 72 | 0.709779 | 46 | 317 | 4.543478 | 0.434783 | 0.15311 | 0.186603 | 0.143541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201893 | 317 | 12 | 73 | 26.416667 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.012618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.