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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
df6cc5107d7ae49da676c3fd3d1c2dd250914b71 | 134 | py | Python | .eggs/py2app-0.14-py3.6.egg/py2app/recipes/uuid.py | stfbnc/mtsa_py | 0dd14f0e51e3251f10b3da781867fbc7173608eb | [
"MIT"
] | 17 | 2018-08-28T04:40:07.000Z | 2021-12-15T06:19:31.000Z | .eggs/py2app-0.14-py3.6.egg/py2app/recipes/uuid.py | stfbnc/mtsa_py | 0dd14f0e51e3251f10b3da781867fbc7173608eb | [
"MIT"
] | 4 | 2019-05-17T09:35:30.000Z | 2022-03-13T03:50:20.000Z | .eggs/py2app-0.14-py3.6.egg/py2app/recipes/uuid.py | stfbnc/mtsa_py | 0dd14f0e51e3251f10b3da781867fbc7173608eb | [
"MIT"
] | 3 | 2019-01-15T07:13:53.000Z | 2020-03-29T00:48:39.000Z | def check(cmd, mf):
m = mf.findNode('uuid')
if m:
return dict(expected_missing_imports=set(['netbios', 'win32wnet']))
| 26.8 | 75 | 0.626866 | 18 | 134 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.201493 | 134 | 4 | 76 | 33.5 | 0.747664 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
10f8b8c8dd7fd44443fe3f7a6e718b056cbeb235 | 120 | py | Python | testproj/testproj/util.py | MilanPecov/drf-yasg | b99306f71c6a5779b62189df7d9c1f5ea1c794ef | [
"BSD-3-Clause"
] | 2,788 | 2017-12-13T10:52:26.000Z | 2022-03-30T13:00:14.000Z | testproj/testproj/util.py | MilanPecov/drf-yasg | b99306f71c6a5779b62189df7d9c1f5ea1c794ef | [
"BSD-3-Clause"
] | 694 | 2017-12-15T11:33:16.000Z | 2022-03-31T09:27:40.000Z | testproj/testproj/util.py | MilanPecov/drf-yasg | b99306f71c6a5779b62189df7d9c1f5ea1c794ef | [
"BSD-3-Clause"
] | 427 | 2017-12-14T19:27:43.000Z | 2022-03-28T04:22:42.000Z | from django.templatetags.static import static
from django.utils.functional import lazy
static_lazy = lazy(static, str)
| 24 | 45 | 0.825 | 17 | 120 | 5.764706 | 0.529412 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 4 | 46 | 30 | 0.915888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
8001f9b0b018d7a16cafa19e0700aa7334a5d45e | 32 | py | Python | PiCN/Layers/LinkLayer/FaceIDTable/test/__init__.py | NikolaiRutz/PiCN | 7775c61caae506a88af2e4ec34349e8bd9098459 | [
"BSD-3-Clause"
] | null | null | null | PiCN/Layers/LinkLayer/FaceIDTable/test/__init__.py | NikolaiRutz/PiCN | 7775c61caae506a88af2e4ec34349e8bd9098459 | [
"BSD-3-Clause"
] | 5 | 2020-07-15T09:01:42.000Z | 2020-09-28T08:45:21.000Z | PiCN/Layers/LinkLayer/FaceIDTable/test/__init__.py | NikolaiRutz/PiCN | 7775c61caae506a88af2e4ec34349e8bd9098459 | [
"BSD-3-Clause"
] | null | null | null | """Tests for the FaceIDTable"""
| 16 | 31 | 0.6875 | 4 | 32 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.785714 | 0.78125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
80113a1172f06650af34d5123a20f68d72ff9d57 | 411 | py | Python | asseteour/resolver/base_asset_wrapper.py | ImagineersHub/asseteour | 72dd401d2029eceaed2ee57440435b55ce4e2b36 | [
"MIT"
] | null | null | null | asseteour/resolver/base_asset_wrapper.py | ImagineersHub/asseteour | 72dd401d2029eceaed2ee57440435b55ce4e2b36 | [
"MIT"
] | null | null | null | asseteour/resolver/base_asset_wrapper.py | ImagineersHub/asseteour | 72dd401d2029eceaed2ee57440435b55ce4e2b36 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
from typing import Dict
class BaseAssetWrapper(metaclass=ABCMeta):
@classmethod
@abstractmethod
def parse_obj(cls, payload: Dict):
pass
@classmethod
@abstractmethod
def schema_json(cls, indent=4):
pass
@abstractmethod
def json(... | 16.44 | 42 | 0.652068 | 42 | 411 | 6.333333 | 0.571429 | 0.255639 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003378 | 0.279805 | 411 | 24 | 43 | 17.125 | 0.89527 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0 | 0.388889 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
80431c27da323e1bde09bb3a5cca52dc9fe752c3 | 72 | py | Python | codes/course1/hw02.py | BigShuang/big-shuang-python-introductory-course | c4fd1343c4c539567180072c749b68bda7c28075 | [
"MIT"
] | null | null | null | codes/course1/hw02.py | BigShuang/big-shuang-python-introductory-course | c4fd1343c4c539567180072c749b68bda7c28075 | [
"MIT"
] | null | null | null | codes/course1/hw02.py | BigShuang/big-shuang-python-introductory-course | c4fd1343c4c539567180072c749b68bda7c28075 | [
"MIT"
] | null | null | null | for i in range(5):
n = 2 * i + 1
print(' ' * (5 - i) + 'A' * n)
| 18 | 34 | 0.347222 | 14 | 72 | 1.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.402778 | 72 | 3 | 35 | 24 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 1 | 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 |
805208d149a6fcff979f94d0fefe8342d6a1591e | 425 | py | Python | app/models/vehicle.py | TataneInYourFace/wifill-api | 9167306aa4b920b87e57d194b9ad073f16977544 | [
"MIT"
] | null | null | null | app/models/vehicle.py | TataneInYourFace/wifill-api | 9167306aa4b920b87e57d194b9ad073f16977544 | [
"MIT"
] | 1 | 2018-10-19T07:41:21.000Z | 2018-10-19T07:41:21.000Z | app/models/vehicle.py | TataneInYourFace/wifill-api | 9167306aa4b920b87e57d194b9ad073f16977544 | [
"MIT"
] | null | null | null | from django.db import models
from app.models.user import User
class Vehicle(models.Model):
user = models.ForeignKey(User, null=True)
plate = models.CharField(max_length=255, blank=False)
brand = models.CharField(max_length=255, blank=False)
name = models.CharField(max_length=255, blank=False)
col... | 28.333333 | 57 | 0.710588 | 58 | 425 | 5.137931 | 0.431034 | 0.201342 | 0.241611 | 0.322148 | 0.479866 | 0.479866 | 0.372483 | 0 | 0 | 0 | 0 | 0.033994 | 0.169412 | 425 | 14 | 58 | 30.357143 | 0.810198 | 0 | 0 | 0 | 0 | 0 | 0.021176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
33863dc4d0c72d42f4a281aec4cf0cf6bf63fb8c | 360 | py | Python | pytools/log.py | alexfikl/pytools | 8ac46ed6564f8ef0dbf0306e348099ada8c9230a | [
"MIT"
] | 52 | 2015-06-23T10:30:24.000Z | 2021-07-28T20:50:31.000Z | pytools/log.py | alexfikl/pytools | 8ac46ed6564f8ef0dbf0306e348099ada8c9230a | [
"MIT"
] | 72 | 2015-10-22T18:57:08.000Z | 2022-03-01T00:04:45.000Z | pytools/log.py | alexfikl/pytools | 8ac46ed6564f8ef0dbf0306e348099ada8c9230a | [
"MIT"
] | 27 | 2015-09-14T07:24:04.000Z | 2021-12-17T14:31:33.000Z | from warnings import warn
warn("pytools.log was moved to https://github.com/illinois-ceesd/logpyle/. "
"I will try to import that for you. If the import fails, say "
"'pip install logpyle', and change your imports from 'pytools.log' "
"to 'logpyle'.", DeprecationWarning)
from logpyle import * ... | 40 | 76 | 0.688889 | 50 | 360 | 4.96 | 0.72 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205556 | 360 | 8 | 77 | 45 | 0.867133 | 0.097222 | 0 | 0 | 0 | 0 | 0.645963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
339b9dd2a7e5c83a639460c6758990c5c8d9c895 | 57 | wsgi | Python | api/webapp.wsgi | jisantuc/labeller | 11c7738d43b860fbdad660b459572843f873abce | [
"Apache-2.0"
] | 2 | 2021-12-02T08:42:31.000Z | 2022-03-11T19:58:40.000Z | api/webapp.wsgi | jisantuc/labeller | 11c7738d43b860fbdad660b459572843f873abce | [
"Apache-2.0"
] | null | null | null | api/webapp.wsgi | jisantuc/labeller | 11c7738d43b860fbdad660b459572843f873abce | [
"Apache-2.0"
] | 2 | 2021-12-03T17:49:49.000Z | 2022-03-21T17:05:06.000Z | from webapp import create_app
application = create_app()
| 19 | 29 | 0.824561 | 8 | 57 | 5.625 | 0.75 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 2 | 30 | 28.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
33b8cabef1e837767acc111fad9b0efb11bae7fe | 1,699 | py | Python | django/stock/repository_pattern.py | nah990/StockF | 58f719728f4072186459d0ca5651624eab820c5e | [
"MIT"
] | null | null | null | django/stock/repository_pattern.py | nah990/StockF | 58f719728f4072186459d0ca5651624eab820c5e | [
"MIT"
] | 3 | 2021-12-27T02:05:58.000Z | 2022-03-23T00:06:14.000Z | django/stock/repository_pattern.py | nah990/StockF | 58f719728f4072186459d0ca5651624eab820c5e | [
"MIT"
] | null | null | null | from .models import StockByDate, StockInfo, SourceInfo
from abc import ABCMeta, abstractmethod
from .db_manager import DBConfigManager
class abstractclassmethod(classmethod):
__slots__ = ()
def __init__(self, function):
super(abstractclassmethod, self).__init__(function)
function.__isabstractm... | 21.2375 | 59 | 0.665686 | 182 | 1,699 | 5.950549 | 0.324176 | 0.23084 | 0.258541 | 0.11819 | 0.265928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272513 | 1,699 | 80 | 60 | 21.2375 | 0.876214 | 0.128899 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.218182 | false | 0.181818 | 0.054545 | 0.018182 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
33d6ddec512e7720028be36363b348ad86ed428c | 30 | py | Python | nornir_f5/plugins/tasks/bigip/__init__.py | kpressouyre/nornir_f5 | 9e36ae3e19ac6d45d3858579856fbcc196fe512f | [
"Apache-2.0"
] | 1 | 2021-03-23T04:21:08.000Z | 2021-03-23T04:21:08.000Z | nornir_f5/plugins/tasks/bigip/__init__.py | kpressouyre/nornir_f5 | 9e36ae3e19ac6d45d3858579856fbcc196fe512f | [
"Apache-2.0"
] | 1 | 2021-12-01T19:42:14.000Z | 2021-12-01T19:42:14.000Z | nornir_f5/plugins/tasks/bigip/__init__.py | kpressouyre/nornir_f5 | 9e36ae3e19ac6d45d3858579856fbcc196fe512f | [
"Apache-2.0"
] | 1 | 2021-11-25T18:12:47.000Z | 2021-11-25T18:12:47.000Z | """Nornir F5 BIG-IP tasks."""
| 15 | 29 | 0.6 | 5 | 30 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 30 | 1 | 30 | 30 | 0.653846 | 0.766667 | 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 |
33e1a97a0ddf76804deef78e53b4a7785e1364bd | 222 | py | Python | UnityEngine/CameraType/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/CameraType/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/CameraType/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class CameraType:
def __new__(cls, arg1=None):
'''
:returns: CameraType
:rtype: UnityEngine.CameraType
'''
pass
| 18.5 | 38 | 0.617117 | 21 | 222 | 6.333333 | 0.714286 | 0.165414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.297297 | 222 | 11 | 39 | 20.181818 | 0.846154 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
33e371908c634df958efa6cadf31fb846706f2a2 | 70 | py | Python | ipycode/A00-fileSplit.py | wangzhongtian/ConTractMngToolSrc | 773a29adab950a4a8d8eda58889c0a3494598532 | [
"Unlicense"
] | null | null | null | ipycode/A00-fileSplit.py | wangzhongtian/ConTractMngToolSrc | 773a29adab950a4a8d8eda58889c0a3494598532 | [
"Unlicense"
] | null | null | null | ipycode/A00-fileSplit.py | wangzhongtian/ConTractMngToolSrc | 773a29adab950a4a8d8eda58889c0a3494598532 | [
"Unlicense"
] | null | null | null | #!/usr/bin/python3
#-*- coding: UTF-8
import fileSplit
fileSplit.合并()
| 14 | 18 | 0.7 | 10 | 70 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.1 | 70 | 4 | 19 | 17.5 | 0.746032 | 0.485714 | 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 |
d50670d1fbc424a70968a991c8f277eb6cb53f38 | 165 | py | Python | impact/elements/element.py | jacquelinegarrahan/lume-impact | 13564f4cd5009ad2077d55c45c7ec6f6b3af9bd7 | [
"Apache-2.0"
] | 1 | 2021-08-06T06:37:35.000Z | 2021-08-06T06:37:35.000Z | impact/elements/element.py | jacquelinegarrahan/lume-impact | 13564f4cd5009ad2077d55c45c7ec6f6b3af9bd7 | [
"Apache-2.0"
] | 2 | 2021-11-11T22:01:49.000Z | 2022-01-04T01:02:55.000Z | impact/elements/element.py | jacquelinegarrahan/lume-impact | 13564f4cd5009ad2077d55c45c7ec6f6b3af9bd7 | [
"Apache-2.0"
] | 6 | 2021-01-20T19:17:58.000Z | 2022-03-29T07:45:12.000Z | from impact import parsers
class ImpactEle:
"""
"""
def __init__(self, L=0, type='drift'):
pass
| 8.25 | 42 | 0.406061 | 14 | 165 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.49697 | 165 | 20 | 43 | 8.25 | 0.746988 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d50afc5407278994a3f17929bc7ef173c8ad87e6 | 454 | py | Python | src/api/v1/node_api.py | glimsil/orch | 3212c95855cbde73e9d5fd3e7a8464609eb49c71 | [
"BSD-2-Clause"
] | null | null | null | src/api/v1/node_api.py | glimsil/orch | 3212c95855cbde73e9d5fd3e7a8464609eb49c71 | [
"BSD-2-Clause"
] | null | null | null | src/api/v1/node_api.py | glimsil/orch | 3212c95855cbde73e9d5fd3e7a8464609eb49c71 | [
"BSD-2-Clause"
] | null | null | null | from flask import jsonify
from api import api
import socket
@api.route('/v1/node/who/i/am', methods=['GET'])
def node_who_i_am():
return jsonify({'node_name':str(socket.gethostname())})
@api.route('/v1/node/sync', methods=['POST'])
def node_sync():
return jsonify({'node_name':str(socket.gethostname())})
@api... | 30.266667 | 59 | 0.702643 | 67 | 454 | 4.626866 | 0.343284 | 0.077419 | 0.096774 | 0.135484 | 0.487097 | 0.487097 | 0.487097 | 0.354839 | 0.354839 | 0.354839 | 0 | 0.007282 | 0.092511 | 454 | 15 | 60 | 30.266667 | 0.745146 | 0 | 0 | 0.25 | 0 | 0 | 0.195604 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d50c0348467071ff95038defa6df2252d2df3b32 | 41,502 | py | Python | tests/test_forms.py | azmeuk/webtest | ca58f4d1712d87397e84ed30fd87475c6a814d32 | [
"MIT"
] | 239 | 2015-01-23T06:19:06.000Z | 2022-03-08T10:40:10.000Z | tests/test_forms.py | azmeuk/webtest | ca58f4d1712d87397e84ed30fd87475c6a814d32 | [
"MIT"
] | 96 | 2015-01-05T17:16:52.000Z | 2022-02-04T17:21:41.000Z | tests/test_forms.py | azmeuk/webtest | ca58f4d1712d87397e84ed30fd87475c6a814d32 | [
"MIT"
] | 84 | 2015-01-21T14:07:59.000Z | 2022-03-06T08:52:47.000Z | import cgi
import os.path
import struct
import sys
import webtest
from webob import Request
from webtest.debugapp import DebugApp
from webtest.compat import to_bytes
from webtest.forms import NoValue, Submit, Upload
from tests.compat import unittest
from tests.compat import u
class TestForms(unittest.TestCase):
... | 38.932458 | 78 | 0.589128 | 4,743 | 41,502 | 4.982922 | 0.063884 | 0.085682 | 0.045697 | 0.032961 | 0.806127 | 0.7716 | 0.716806 | 0.671829 | 0.646399 | 0.629517 | 0 | 0.010221 | 0.259771 | 41,502 | 1,065 | 79 | 38.969014 | 0.75909 | 0.006096 | 0 | 0.652079 | 0 | 0.001094 | 0.273867 | 0.034676 | 0 | 0 | 0 | 0 | 0.218818 | 1 | 0.067834 | false | 0.003282 | 0.012035 | 0 | 0.102845 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1d0fedfb7b338404bf84bacf7e1e0db02f7efb5a | 120 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_NumPy_Summations_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_NumPy_Summations_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_NumPy_Summations_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | import numpy as np
arr1 = np.array([1, 2, 3])
arr2 = np.array([1, 2, 3])
newarr = np.sum([arr1, arr2])
print(newarr)
| 13.333333 | 29 | 0.608333 | 23 | 120 | 3.173913 | 0.565217 | 0.191781 | 0.219178 | 0.246575 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0.183333 | 120 | 8 | 30 | 15 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1d20a8f1545d845394e1f5edf52448a542555ae5 | 111 | py | Python | a10/build/lib/a10/asvr/db/__init__.py | THS-on/AttestationEngine | 6746d602215df43056b04515bd9b831f0bb0ddbb | [
"BSD-3-Clause-Clear"
] | 7 | 2021-10-20T05:22:47.000Z | 2022-01-31T14:46:14.000Z | a10/build/lib/a10/asvr/db/__init__.py | THS-on/AttestationEngine | 6746d602215df43056b04515bd9b831f0bb0ddbb | [
"BSD-3-Clause-Clear"
] | 15 | 2021-11-21T23:27:36.000Z | 2022-03-25T11:35:07.000Z | a10/build/lib/a10/asvr/db/__init__.py | THS-on/AttestationEngine | 6746d602215df43056b04515bd9b831f0bb0ddbb | [
"BSD-3-Clause-Clear"
] | 5 | 2021-12-08T20:55:34.000Z | 2022-03-29T11:41:33.000Z | # Copyright 2021 Nokia
# Licensed under the BSD 3-Clause Clear License.
# SPDX-License-Identifier: BSD-3-Clear
| 27.75 | 48 | 0.774775 | 17 | 111 | 5.058824 | 0.764706 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.135135 | 111 | 3 | 49 | 37 | 0.833333 | 0.936937 | 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 |
1d2dc122738bf6d68995c9f12eb28377f7273da6 | 139 | py | Python | libtool/util/regex.py | matan-h/libtool | 259df4e887ab0a218850040018bc9ad38721ee9f | [
"MIT"
] | null | null | null | libtool/util/regex.py | matan-h/libtool | 259df4e887ab0a218850040018bc9ad38721ee9f | [
"MIT"
] | null | null | null | libtool/util/regex.py | matan-h/libtool | 259df4e887ab0a218850040018bc9ad38721ee9f | [
"MIT"
] | null | null | null | import re
def get_val(val, string):
sec = """{}(\s|)+=(\s|)+(["'])(.*)(["'])""".format(val)
return re.findall(sec, string)[0][3]
| 19.857143 | 59 | 0.482014 | 19 | 139 | 3.473684 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.151079 | 139 | 6 | 60 | 23.166667 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0.223022 | 0.223022 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1d6381326459448602068f20a112f33cd9689164 | 158 | py | Python | file_handling/excepation handling program test/print_excepation_information_in_msg.class_program.py | swarajRaut01/Python | 28c4a6d70c14244b65c9bd2c264b7488a82a75a5 | [
"MIT"
] | null | null | null | file_handling/excepation handling program test/print_excepation_information_in_msg.class_program.py | swarajRaut01/Python | 28c4a6d70c14244b65c9bd2c264b7488a82a75a5 | [
"MIT"
] | null | null | null | file_handling/excepation handling program test/print_excepation_information_in_msg.class_program.py | swarajRaut01/Python | 28c4a6d70c14244b65c9bd2c264b7488a82a75a5 | [
"MIT"
] | null | null | null | #print excepation information as a msg in program
try:
print(10/0)
except ZeroDivisionError as msg:
print("the type of error:",msg.__class__)
| 19.75 | 50 | 0.702532 | 23 | 158 | 4.652174 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.21519 | 158 | 7 | 51 | 22.571429 | 0.83871 | 0.303797 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1d6aa47bbdb0bd49b5e0e167a65c83c3df2c7d8c | 23 | py | Python | python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/typeHintFollowedByComment_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/typeHintFollowedByComment_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/typeHintFollowedByComment_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | var: int = undefined()
| 11.5 | 22 | 0.652174 | 3 | 23 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1d763078cca2015fcc49782a1473a54ee6186124 | 161 | py | Python | settings.py | khaledboka/point_to_line | 1af0721ba1ff88d410992cf473c1864e128ffeb2 | [
"BSD-2-Clause"
] | null | null | null | settings.py | khaledboka/point_to_line | 1af0721ba1ff88d410992cf473c1864e128ffeb2 | [
"BSD-2-Clause"
] | 3 | 2021-03-09T15:21:34.000Z | 2021-09-01T21:02:35.000Z | settings.py | cartologic/point_to_line | 1af0721ba1ff88d410992cf473c1864e128ffeb2 | [
"BSD-2-Clause"
] | null | null | null | # this file is excuted from cartoview.app_manager.settings using exec_file
import os
import point_to_line
app_folder = os.path.dirname(point_to_line.__file__)
| 23 | 74 | 0.832298 | 27 | 161 | 4.555556 | 0.703704 | 0.113821 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 161 | 6 | 75 | 26.833333 | 0.86014 | 0.447205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d544e3297d3521a7d009869f69b30d715439078f | 93 | py | Python | src/pyfma/__init__.py | Vutshi/pyfma | 9b9ca33529a1edd5bc7ebbf7726f7b1d4a73c165 | [
"MIT"
] | null | null | null | src/pyfma/__init__.py | Vutshi/pyfma | 9b9ca33529a1edd5bc7ebbf7726f7b1d4a73c165 | [
"MIT"
] | null | null | null | src/pyfma/__init__.py | Vutshi/pyfma | 9b9ca33529a1edd5bc7ebbf7726f7b1d4a73c165 | [
"MIT"
] | null | null | null | from _pyfma import fma
from .__about__ import __version__
__all__ = ["__version__", "fma"]
| 15.5 | 34 | 0.752688 | 11 | 93 | 4.818182 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 5 | 35 | 18.6 | 0.670886 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 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 |
d5525cefeef4d9a6e93355dd97015570cbe87a05 | 114 | py | Python | commands/hello.py | el-ideal-ideas/MocaCommands | 33dda0b05ca3b34f4855ff264bcf70d016dfb1c0 | [
"MIT"
] | null | null | null | commands/hello.py | el-ideal-ideas/MocaCommands | 33dda0b05ca3b34f4855ff264bcf70d016dfb1c0 | [
"MIT"
] | null | null | null | commands/hello.py | el-ideal-ideas/MocaCommands | 33dda0b05ca3b34f4855ff264bcf70d016dfb1c0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Please make sure this file can be executed.
# chmod +x hello.py
print('Hello World!!')
| 16.285714 | 45 | 0.692982 | 19 | 114 | 4.157895 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.166667 | 114 | 6 | 46 | 19 | 0.821053 | 0.72807 | 0 | 0 | 0 | 0 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d5682ab86e697f17a24fe8fab55aa35246ae83e4 | 323 | py | Python | Exercicios/Extras/Arrow.py | RicardoMart922/estudo_Python | cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72 | [
"MIT"
] | null | null | null | Exercicios/Extras/Arrow.py | RicardoMart922/estudo_Python | cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72 | [
"MIT"
] | null | null | null | Exercicios/Extras/Arrow.py | RicardoMart922/estudo_Python | cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72 | [
"MIT"
] | null | null | null | def seta(n):
for i in range(n):
if i == n - 1:
print((2 * n) * '*', end='')
print((i + 1) * '*')
else:
print((2 * n) * ' ', end='')
print((i + 1) * '*')
for j in range(n - 1, 0, -1):
print((2 * n) * ' ',end='')
print(j * '*')
seta(1... | 24.846154 | 40 | 0.309598 | 43 | 323 | 2.325581 | 0.372093 | 0.18 | 0.21 | 0.3 | 0.51 | 0.51 | 0.34 | 0 | 0 | 0 | 0 | 0.060773 | 0.439628 | 323 | 12 | 41 | 26.916667 | 0.491713 | 0 | 0 | 0.333333 | 0 | 0 | 0.018576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.083333 | 0.5 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 4 |
d56841c83fa5ecd4ffecb17a09a33178193515ca | 31 | py | Python | autokey/CapsCtrl/caps_g.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | 1 | 2017-04-17T16:24:23.000Z | 2017-04-17T16:24:23.000Z | autokey/CapsCtrl/caps_g.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | null | null | null | autokey/CapsCtrl/caps_g.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | 1 | 2021-02-23T07:51:32.000Z | 2021-02-23T07:51:32.000Z | keyboard.send_keys("<ctrl>+g")
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 31 | 1 | 31 | 31 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d58e94ec5caaff3a9a3eecd3c2b15c63dfb1cf67 | 359 | py | Python | app/models.py | YuliyaSim/blogwebsite | 4499eeade05b2614fd1a7691779513fb38eb8132 | [
"MIT"
] | null | null | null | app/models.py | YuliyaSim/blogwebsite | 4499eeade05b2614fd1a7691779513fb38eb8132 | [
"MIT"
] | 1 | 2021-05-10T21:19:36.000Z | 2021-05-10T21:19:36.000Z | app/models.py | YuliyaSim/blogwebsite | 4499eeade05b2614fd1a7691779513fb38eb8132 | [
"MIT"
] | null | null | null | from app import db
class Blogpost(db.Model):
post_id = db.Column(db.Integer, primary_key=True)
title = db.Column(db.String(64))
subtitle = db.Column(db.String(64))
author = db.Column(db.String(64))
date_posted = db.Column(db.DateTime)
content = db.Column(db.Text)
# def __repr__(self):
... | 23.933333 | 53 | 0.64624 | 54 | 359 | 4.166667 | 0.555556 | 0.213333 | 0.266667 | 0.213333 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020906 | 0.200557 | 359 | 14 | 54 | 25.642857 | 0.763066 | 0.150418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d5995fefd698d1d13007b796a48a2f98caf0cc37 | 604 | py | Python | mne/viz/tests/test_figure.py | stevemats/mne-python | 47051833f21bb372d60afc3adbf4305648ac7f69 | [
"BSD-3-Clause"
] | 1,953 | 2015-01-17T20:33:46.000Z | 2022-03-30T04:36:34.000Z | mne/viz/tests/test_figure.py | stevemats/mne-python | 47051833f21bb372d60afc3adbf4305648ac7f69 | [
"BSD-3-Clause"
] | 8,490 | 2015-01-01T13:04:18.000Z | 2022-03-31T23:02:08.000Z | mne/viz/tests/test_figure.py | stevemats/mne-python | 47051833f21bb372d60afc3adbf4305648ac7f69 | [
"BSD-3-Clause"
] | 1,130 | 2015-01-08T22:39:27.000Z | 2022-03-30T21:44:26.000Z | # Authors: Daniel McCloy <dan@mccloy.info>
#
# License: Simplified BSD
import pytest
from mne.viz._mpl_figure import _psd_figure
from mne.viz._figure import _get_browser
def test_browse_figure_constructor():
"""Test error handling in MNEBrowseFigure constructor."""
with pytest.raises(TypeError, match='an ins... | 30.2 | 78 | 0.726821 | 81 | 604 | 5.209877 | 0.530864 | 0.063981 | 0.047393 | 0.123223 | 0.436019 | 0.436019 | 0.265403 | 0.265403 | 0.265403 | 0.265403 | 0 | 0.003937 | 0.15894 | 604 | 19 | 79 | 31.789474 | 0.826772 | 0.27649 | 0 | 0 | 0 | 0 | 0.17217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d5a4104962800246c7d852c401bb5d81c0c30259 | 3,219 | py | Python | alphamind/benchmarks/data/winsorize.py | rongliang-tech/alpha-mind | 39f720974c637d17e185e445dc05c9fc4863a241 | [
"MIT"
] | 186 | 2017-11-27T01:26:44.000Z | 2022-03-28T16:11:33.000Z | alphamind/benchmarks/data/winsorize.py | atefar2/alpha-mind | 66d839affb5d81d31d5cac7e5e224278e3f99a8b | [
"MIT"
] | 2 | 2017-12-19T02:47:36.000Z | 2021-01-09T05:25:18.000Z | alphamind/benchmarks/data/winsorize.py | atefar2/alpha-mind | 66d839affb5d81d31d5cac7e5e224278e3f99a8b | [
"MIT"
] | 65 | 2017-11-27T01:26:47.000Z | 2022-03-17T10:50:52.000Z | # -*- coding: utf-8 -*-
"""
Created on 2017-4-25
@author: cheng.li
"""
import datetime as dt
import numpy as np
import pandas as pd
from alphamind.data.winsorize import winsorize_normal
def benchmark_winsorize_normal(n_samples: int, n_features: int, n_loops: int) -> None:
print("-" * 60)
... | 33.53125 | 102 | 0.560422 | 398 | 3,219 | 4.256281 | 0.211055 | 0.035419 | 0.061393 | 0.040142 | 0.790437 | 0.751476 | 0.751476 | 0.717237 | 0.669421 | 0.631641 | 0 | 0.02914 | 0.328363 | 3,219 | 95 | 103 | 33.884211 | 0.754394 | 0.019261 | 0 | 0.612903 | 0 | 0.016129 | 0.113949 | 0.013752 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.064516 | 0 | 0.16129 | 0.16129 | 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 |
d5a567636617e49740902766571c21f06e01cb73 | 2,680 | py | Python | src/LPB/LPBVisitor.py | CptSpookz/LPB | 1e3ff95e87b7aa9bc09eb214d2015e866ea9494f | [
"MIT"
] | 1 | 2018-10-24T18:51:12.000Z | 2018-10-24T18:51:12.000Z | src/LPB/LPBVisitor.py | CptSpookz/LPB | 1e3ff95e87b7aa9bc09eb214d2015e866ea9494f | [
"MIT"
] | null | null | null | src/LPB/LPBVisitor.py | CptSpookz/LPB | 1e3ff95e87b7aa9bc09eb214d2015e866ea9494f | [
"MIT"
] | null | null | null | # Generated from LPB.g4 by ANTLR 4.7.1
from antlr4 import *
if __name__ is not None and "." in __name__:
from .LPBParser import LPBParser
else:
from LPBParser import LPBParser
from antlr4.error.Errors import ParseCancellationException
# This class defines a complete generic visitor for a parse tree produced by... | 31.904762 | 87 | 0.745149 | 339 | 2,680 | 5.769912 | 0.235988 | 0.046012 | 0.076687 | 0.138037 | 0.462679 | 0.462679 | 0.447853 | 0.43047 | 0.43047 | 0.43047 | 0 | 0.002749 | 0.185448 | 2,680 | 84 | 88 | 31.904762 | 0.893266 | 0.317164 | 0 | 0.388889 | 1 | 0 | 0.000556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0.111111 | 0.388889 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d5a60fdd709604d275ff2b3365d1766f4980f7d5 | 93 | py | Python | _project/testovani/apps.py | SucheG/cayman-pullup.cz | a03bb58d5ff3ef3dba431bd4e900e6b3649c48f8 | [
"CC0-1.0"
] | null | null | null | _project/testovani/apps.py | SucheG/cayman-pullup.cz | a03bb58d5ff3ef3dba431bd4e900e6b3649c48f8 | [
"CC0-1.0"
] | null | null | null | _project/testovani/apps.py | SucheG/cayman-pullup.cz | a03bb58d5ff3ef3dba431bd4e900e6b3649c48f8 | [
"CC0-1.0"
] | 1 | 2018-10-08T16:56:40.000Z | 2018-10-08T16:56:40.000Z | from django.apps import AppConfig
class TestovaniConfig(AppConfig):
name = 'testovani'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
639b70cec82eef32dcabff26a0c609fa05ea04f6 | 137 | py | Python | Hello World Programs/Hello World.py | chloee59/Contribute-to-HacktoberFest2020 | 15c292f4bdc659ad4a0fc1276b245520612c24ab | [
"MIT"
] | null | null | null | Hello World Programs/Hello World.py | chloee59/Contribute-to-HacktoberFest2020 | 15c292f4bdc659ad4a0fc1276b245520612c24ab | [
"MIT"
] | null | null | null | Hello World Programs/Hello World.py | chloee59/Contribute-to-HacktoberFest2020 | 15c292f4bdc659ad4a0fc1276b245520612c24ab | [
"MIT"
] | null | null | null | print ("Hello world")
print ("Nice to meet you!")
name = input ("what is your name")
print ("I hope to code with you more" name "!")
| 27.4 | 48 | 0.635036 | 23 | 137 | 3.782609 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211679 | 137 | 4 | 49 | 34.25 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.540146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8946e949f159ef64b04c0446e5a9e266c09ae307 | 3,140 | py | Python | third/time_Arrow.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 13 | 2020-01-04T07:37:38.000Z | 2021-08-31T05:19:58.000Z | third/time_Arrow.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 3 | 2020-06-05T22:42:53.000Z | 2020-08-24T07:18:54.000Z | third/time_Arrow.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 9 | 2020-10-19T04:53:06.000Z | 2021-08-31T05:20:01.000Z | # https://github.com/arrow-py/arrow
"""
>>> import arrow
>>> arrow.get('2013-05-11T21:23:58.970460+07:00')
<Arrow [2013-05-11T21:23:58.970460+07:00]>
>>> utc = arrow.utcnow()
>>> utc
<Arrow [2013-05-11T21:23:58.970460+00:00]>
>>> utc = utc.shift(hours=-1)
>>> utc
<Arrow [2013-05-11T20:23:58.970460+00:00]>
>>> local ... | 26.837607 | 81 | 0.649682 | 541 | 3,140 | 3.763401 | 0.214418 | 0.084479 | 0.15668 | 0.070236 | 0.562868 | 0.5 | 0.346758 | 0.268173 | 0.157171 | 0.077603 | 0 | 0.284355 | 0.096178 | 3,140 | 117 | 82 | 26.837607 | 0.433051 | 0.997134 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
89471bc6a991e1d9497b6f603ab9d30938d69293 | 323 | py | Python | udemy-data-structures-and-algorithms/15-recursion/15.5_factorial_memoization.py | washimimizuku/python-data-structures-and-algorithms | 537f4eabaf31888ae48004d153088fb28bb684ab | [
"MIT"
] | null | null | null | udemy-data-structures-and-algorithms/15-recursion/15.5_factorial_memoization.py | washimimizuku/python-data-structures-and-algorithms | 537f4eabaf31888ae48004d153088fb28bb684ab | [
"MIT"
] | null | null | null | udemy-data-structures-and-algorithms/15-recursion/15.5_factorial_memoization.py | washimimizuku/python-data-structures-and-algorithms | 537f4eabaf31888ae48004d153088fb28bb684ab | [
"MIT"
] | null | null | null | # Create cache for known results
factorial_memo = {}
def factorial(k):
if k < 2:
return 1
if not k in factorial_memo:
factorial_memo[k] = k * factorial(k-1)
return factorial_memo[k]
print(factorial_memo)
print(factorial(4))
print(factorial_memo)
print(factorial(5))
print(factorial_mem... | 15.380952 | 46 | 0.684211 | 47 | 323 | 4.553191 | 0.382979 | 0.425234 | 0.252336 | 0.214953 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019685 | 0.213622 | 323 | 20 | 47 | 16.15 | 0.822835 | 0.092879 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.25 | 0.416667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8948a92cc25589fb4c5f8d4542880240bf2753df | 103 | py | Python | mysocialauth/social_auth_app/apps.py | itssubas/django-social-auth | 076ebfb4b2c7d2ddf3693294bf8b58c08b892cf3 | [
"MIT"
] | null | null | null | mysocialauth/social_auth_app/apps.py | itssubas/django-social-auth | 076ebfb4b2c7d2ddf3693294bf8b58c08b892cf3 | [
"MIT"
] | null | null | null | mysocialauth/social_auth_app/apps.py | itssubas/django-social-auth | 076ebfb4b2c7d2ddf3693294bf8b58c08b892cf3 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SocialAuthAppConfig(AppConfig):
name = 'social_auth_app'
| 17.166667 | 37 | 0.786408 | 12 | 103 | 6.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 38 | 20.6 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
895b890668160ca1aaa03d6d668f6d30f8afafa1 | 453 | py | Python | tests/test_helpers.py | baurt/sqladmin | 5701c7905a1e8c6ea8f2bcfbf7ff68517f64c572 | [
"BSD-3-Clause"
] | 319 | 2021-12-27T21:40:02.000Z | 2022-03-31T20:03:47.000Z | tests/test_helpers.py | dwreeves/sqladmin | fbc733ec1a7eb31ddd1e39e2b9dd2b21c82f0ce7 | [
"BSD-3-Clause"
] | 36 | 2021-12-31T00:12:49.000Z | 2022-03-31T09:58:14.000Z | tests/test_helpers.py | dwreeves/sqladmin | fbc733ec1a7eb31ddd1e39e2b9dd2b21c82f0ce7 | [
"BSD-3-Clause"
] | 30 | 2022-01-03T16:57:58.000Z | 2022-03-24T04:23:47.000Z | from sqladmin.helpers import secure_filename
def test_secure_filename(monkeypatch):
assert secure_filename("My cool movie.mov") == "My_cool_movie.mov"
assert secure_filename("../../../etc/passwd") == "etc_passwd"
assert (
secure_filename("i contain cool \xfcml\xe4uts.txt")
== "i_contain_co... | 34.846154 | 70 | 0.686534 | 54 | 453 | 5.425926 | 0.462963 | 0.334471 | 0.341297 | 0.095563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002646 | 0.165563 | 453 | 12 | 71 | 37.75 | 0.772487 | 0 | 0 | 0 | 0 | 0 | 0.348786 | 0.057395 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.1 | false | 0.1 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8997371d6cf2b0742cd918f9b7d7907b27de2c41 | 10,048 | py | Python | inverse_covariance/tests/quic_graph_lasso_test.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | null | null | null | inverse_covariance/tests/quic_graph_lasso_test.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | null | null | null | inverse_covariance/tests/quic_graph_lasso_test.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from numpy.testing import assert_raises
from numpy.testing import assert_allclose
from sklearn import datasets
from inverse_covariance import (
QuicGraphicalLasso,
QuicGraphicalLassoCV,
QuicGraphicalLassoEBIC,
quic,
)
def custom_init(X):
init_cov = np.cov(X, rowv... | 32.517799 | 87 | 0.439689 | 927 | 10,048 | 4.612729 | 0.186624 | 0.037418 | 0.039289 | 0.032741 | 0.759588 | 0.731291 | 0.723106 | 0.673761 | 0.661132 | 0.660664 | 0 | 0.245107 | 0.435609 | 10,048 | 308 | 88 | 32.623377 | 0.508905 | 0.033439 | 0 | 0.553114 | 0 | 0 | 0.061286 | 0 | 0 | 0 | 0 | 0 | 0.03663 | 1 | 0.021978 | false | 0 | 0.021978 | 0 | 0.051282 | 0.014652 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
89a1b10d14bdbbec080f45fecbeaf2e6b8f8834c | 193 | py | Python | tests/constants.py | raiden-network/raiden-wizard | faea0f3075b748b6a1e204518e84b0fd1950d5b5 | [
"MIT"
] | 9 | 2020-05-27T12:19:29.000Z | 2022-03-20T05:55:36.000Z | tests/constants.py | raiden-network/raiden-wizard | faea0f3075b748b6a1e204518e84b0fd1950d5b5 | [
"MIT"
] | 178 | 2020-02-26T17:03:22.000Z | 2021-12-28T14:21:00.000Z | tests/constants.py | raiden-network/raiden-wizard | faea0f3075b748b6a1e204518e84b0fd1950d5b5 | [
"MIT"
] | 9 | 2020-03-30T13:35:28.000Z | 2022-03-01T17:24:20.000Z | import tempfile
from pathlib import Path
TESTING_TEMP_FOLDER = Path(tempfile.gettempdir()).joinpath("raiden-wizard-testing")
TESTING_KEYSTORE_FOLDER = TESTING_TEMP_FOLDER.joinpath("keystore")
| 32.166667 | 83 | 0.834197 | 24 | 193 | 6.458333 | 0.541667 | 0.141935 | 0.219355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067358 | 193 | 5 | 84 | 38.6 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.150259 | 0.108808 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
89a4049c7a9e1c8b35eada2ea8ffa7e07bb99d7e | 35 | py | Python | Second.py | DheerajKN/Python-with-pygame | 22a39eba6de64fb31b1c7bd5c1b1d434b790f29b | [
"MIT"
] | 1 | 2019-04-18T08:09:17.000Z | 2019-04-18T08:09:17.000Z | Second.py | DheerajKN/Python-with-pygame | 22a39eba6de64fb31b1c7bd5c1b1d434b790f29b | [
"MIT"
] | null | null | null | Second.py | DheerajKN/Python-with-pygame | 22a39eba6de64fb31b1c7bd5c1b1d434b790f29b | [
"MIT"
] | null | null | null | s="\t\tHello\n"
print(s.strip())
| 11.666667 | 17 | 0.571429 | 7 | 35 | 2.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 2 | 18 | 17.5 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
89b5a982460ef61e62dc172e5ff082191884905b | 313 | py | Python | venv/Lib/site-packages/flask_administration/blueprints.py | DoesArt-Studios/RamBrowse | a81da53e04d265d17e76855e7affc11130ee6120 | [
"MIT"
] | 1 | 2020-05-18T06:35:36.000Z | 2020-05-18T06:35:36.000Z | venv/Lib/site-packages/flask_administration/blueprints.py | DoesArt-Studios/RamBrowse | a81da53e04d265d17e76855e7affc11130ee6120 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/flask_administration/blueprints.py | DoesArt-Studios/RamBrowse | a81da53e04d265d17e76855e7affc11130ee6120 | [
"MIT"
] | null | null | null | from flask import jsonify, Blueprint, request, Response, render_template
from .utils import (static_folder, template_folder, encode_model)
admin = Blueprint('main',
'flask.ext.administration.main',
static_folder=static_folder,
template_folder=template_folder)
| 39.125 | 72 | 0.690096 | 33 | 313 | 6.30303 | 0.545455 | 0.173077 | 0.288462 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233227 | 313 | 7 | 73 | 44.714286 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.105431 | 0.092652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
89b8d91aa521c6ad5c769377e26181594b481fd7 | 788 | py | Python | phase_2/pkg_KOG/class_hero.py | Jackson-Cong/191130 | 2a47d5bef9139172cf9a472880cc278b964a0394 | [
"BSD-3-Clause"
] | null | null | null | phase_2/pkg_KOG/class_hero.py | Jackson-Cong/191130 | 2a47d5bef9139172cf9a472880cc278b964a0394 | [
"BSD-3-Clause"
] | null | null | null | phase_2/pkg_KOG/class_hero.py | Jackson-Cong/191130 | 2a47d5bef9139172cf9a472880cc278b964a0394 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
import random
class Hero():
'''
skin = '英雄原始皮肤'
name = '英雄姓名'
position = '英雄定位'
ab_viability = 0
ab_damage = 0
ab_effect = 0
ab_difficulty = 0
'''
def __init__(self, s, n, p):
'初始化英雄类'
self.skin = s
self.__name = n # 不可更改
... | 19.7 | 51 | 0.550761 | 96 | 788 | 4.291667 | 0.364583 | 0.058252 | 0.135922 | 0.165049 | 0.167476 | 0.167476 | 0 | 0 | 0 | 0 | 0 | 0.040307 | 0.338832 | 788 | 39 | 52 | 20.205128 | 0.75048 | 0.191624 | 0 | 0.227273 | 0 | 0 | 0.009967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.045455 | 0.181818 | 0.545455 | 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 |
9834db89cddefc5f9fef58cd52af2fcf951ad100 | 336 | py | Python | app/commands/default/slack_send.py | mallycrip/jenkinsfile-converter | aa9eddeec48444efdbf7d042680382131a127032 | [
"MIT"
] | null | null | null | app/commands/default/slack_send.py | mallycrip/jenkinsfile-converter | aa9eddeec48444efdbf7d042680382131a127032 | [
"MIT"
] | null | null | null | app/commands/default/slack_send.py | mallycrip/jenkinsfile-converter | aa9eddeec48444efdbf7d042680382131a127032 | [
"MIT"
] | null | null | null | from app.commands.default import BaseCommand
class SlackSend(BaseCommand):
def get_command(self, color, message) -> str:
return self.generate_command(color, message)
@classmethod
def generate_command(cls, color, message):
return f'slackSend (color: "{color}", message: """\\\n{message}""".... | 30.545455 | 90 | 0.690476 | 38 | 336 | 6.026316 | 0.578947 | 0.209607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 336 | 10 | 91 | 33.6 | 0.820789 | 0 | 0 | 0 | 1 | 0 | 0.214286 | 0.10119 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9873d8b8ea1a10eac9db2ceae3d041e3f8598a61 | 4,337 | py | Python | registry/packages.py | AraOshin/civic-sandbox-backend | 7f864cd829927e5cbe99f252ba54c488ed4dedb6 | [
"MIT"
] | 1 | 2018-11-16T21:57:25.000Z | 2018-11-16T21:57:25.000Z | registry/packages.py | nam20485/civic-sandbox-backend | 7f864cd829927e5cbe99f252ba54c488ed4dedb6 | [
"MIT"
] | null | null | null | registry/packages.py | nam20485/civic-sandbox-backend | 7f864cd829927e5cbe99f252ba54c488ed4dedb6 | [
"MIT"
] | 1 | 2019-03-07T17:24:26.000Z | 2019-03-07T17:24:26.000Z | packages = {
'Greenspace': {
'description': '',
'foundations' : [
'neighborhood_development_18_027',
'neighborhood_development_18_021'
],
'default_foundation' : 'neighborhood_development_18_027',
'slides' : [
'neighborhood_development_18_003',
'neighborhood_de... | 30.118056 | 62 | 0.635462 | 359 | 4,337 | 7.038997 | 0.167131 | 0.500594 | 0.544123 | 0.073605 | 0.540562 | 0.380689 | 0.380689 | 0.274634 | 0.117135 | 0.061733 | 0 | 0.110561 | 0.255476 | 4,337 | 144 | 63 | 30.118056 | 0.672035 | 0 | 0 | 0.555556 | 0 | 0 | 0.634855 | 0.494929 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98925c11d94069b4203987ba167a6c80d2f1f30d | 99 | py | Python | jaegerserver/apps.py | the-bombers/jaeger | 8912252af89154928f47bfde6912267d782371d1 | [
"Unlicense"
] | null | null | null | jaegerserver/apps.py | the-bombers/jaeger | 8912252af89154928f47bfde6912267d782371d1 | [
"Unlicense"
] | 19 | 2021-03-17T10:22:19.000Z | 2021-03-19T15:13:08.000Z | jaegerserver/apps.py | the-bombers/jaeger | 8912252af89154928f47bfde6912267d782371d1 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class JaegerserverConfig(AppConfig):
name = 'jaegerserver'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
7f2adeeac0ef7b2299a59a4f772a735b62c22c19 | 214 | py | Python | case/api_test/conftest.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | 5 | 2021-07-21T06:50:51.000Z | 2022-03-31T04:18:28.000Z | case/api_test/conftest.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | null | null | null | case/api_test/conftest.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | 1 | 2022-03-28T01:50:03.000Z | 2022-03-28T01:50:03.000Z | # import pytest
#
# from case.conftest import api_data
#
#
# @pytest.fixture(scope="function")
# def testcase_data(request):
# testcase_name = request.function.__name__
# return api_data.get(testcase_name)
| 21.4 | 47 | 0.733645 | 27 | 214 | 5.481481 | 0.592593 | 0.094595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14486 | 214 | 9 | 48 | 23.777778 | 0.808743 | 0.911215 | 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 |
7f3da242a8ca5bec4f9f34d7f819cb7e39d878e8 | 93 | py | Python | qwilt/qsig/__init__.py | Qwilt/Qsig-Token-Python | 4d663b5699495f1a14bbc34ce23d34fe03872ce0 | [
"MIT"
] | 1 | 2020-01-01T13:21:38.000Z | 2020-01-01T13:21:38.000Z | qwilt/qsig/__init__.py | Qwilt/Qsig-Token-Python | 4d663b5699495f1a14bbc34ce23d34fe03872ce0 | [
"MIT"
] | 1 | 2020-07-20T12:07:16.000Z | 2020-07-22T05:29:20.000Z | qwilt/qsig/__init__.py | Qwilt/Qsig-Token-Python | 4d663b5699495f1a14bbc34ce23d34fe03872ce0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .qsig import Qsig, QsigError
__all__ = ['Qsig', 'QsigError'] | 13.285714 | 33 | 0.612903 | 11 | 93 | 4.818182 | 0.727273 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.182796 | 93 | 7 | 34 | 13.285714 | 0.684211 | 0.225806 | 0 | 0 | 0 | 0 | 0.183099 | 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 |
7f5641b73662c58164efef95c9059d8694c78193 | 172 | py | Python | pyxb/bundles/opengis/examples/demo.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/opengis/examples/demo.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/opengis/examples/demo.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from __future__ import print_function
import pyxb.bundles.opengis.gml as gml
dv = gml.DegreesType(32, direction='N')
print(dv.toDOM(element_name='degrees').toxml("utf-8"))
| 34.4 | 54 | 0.77907 | 27 | 172 | 4.740741 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.075581 | 172 | 4 | 55 | 43 | 0.786164 | 0 | 0 | 0 | 0 | 0 | 0.075581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
7f5cfa459f86e843fd53afdee7b0bb51cecafad6 | 116 | py | Python | test_apps/python_app/example/patterns/startup.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | null | null | null | test_apps/python_app/example/patterns/startup.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | 127 | 2019-11-23T17:09:35.000Z | 2021-09-02T11:06:20.000Z | test_apps/python_app/example/patterns/startup.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | null | null | null | # Pattern that would startup the DUT, then do nothing else.
# Should still generate.
with Pattern() as pat:
...
| 23.2 | 59 | 0.698276 | 17 | 116 | 4.764706 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 116 | 4 | 60 | 29 | 0.880435 | 0.689655 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f60f7d7d78459ae55379f9f5ca9568b5f3d6755 | 175 | py | Python | OCR/recon_img.py | lhfei/scrapy-in-action | 1caac28812a6b11cf69e90f276fa7e9dc08a635e | [
"Apache-2.0"
] | null | null | null | OCR/recon_img.py | lhfei/scrapy-in-action | 1caac28812a6b11cf69e90f276fa7e9dc08a635e | [
"Apache-2.0"
] | null | null | null | OCR/recon_img.py | lhfei/scrapy-in-action | 1caac28812a6b11cf69e90f276fa7e9dc08a635e | [
"Apache-2.0"
] | null | null | null | import easyocr
reader = easyocr.Reader(['ch_sim', 'en']) # need to run only once to load model into memory
result = reader.readtext('chinese.jpg', detail = 0, paragraph=True) | 43.75 | 91 | 0.731429 | 27 | 175 | 4.703704 | 0.851852 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.137143 | 175 | 4 | 92 | 43.75 | 0.834437 | 0.268571 | 0 | 0 | 0 | 0 | 0.149606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7f6acd31318f5c4bfd333a4da43cc8cda74af81a | 237 | py | Python | Python/Exercícios_Python/001_=_deixando_tudo_pronto.py | vdonoladev/aprendendo-programacao | 83abbcd6701b2105903b28fd549738863418cfb8 | [
"MIT"
] | null | null | null | Python/Exercícios_Python/001_=_deixando_tudo_pronto.py | vdonoladev/aprendendo-programacao | 83abbcd6701b2105903b28fd549738863418cfb8 | [
"MIT"
] | null | null | null | Python/Exercícios_Python/001_=_deixando_tudo_pronto.py | vdonoladev/aprendendo-programacao | 83abbcd6701b2105903b28fd549738863418cfb8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""001 = Deixando tudo pronto
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1GhfZy4Dql6Q-h1khGuR5Uji39RilKx9T
"""
msg = "Olá, Mundo"
print(msg) | 21.545455 | 77 | 0.729958 | 29 | 237 | 5.965517 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058537 | 0.135021 | 237 | 11 | 78 | 21.545455 | 0.785366 | 0.835443 | 0 | 0 | 1 | 0 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7f7fb053278e91b8b33976c424fcb55d5353b91b | 31 | py | Python | python/testData/selectWord/literal/before.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/selectWord/literal/before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/selectWord/literal/before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | x = r"hello world <caret>again" | 31 | 31 | 0.709677 | 6 | 31 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.75 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f8b75d67008da8c5ac68069f5e9cdae55fbabf3 | 155 | py | Python | src/instructions.py | Cyclip/parser-py | ee599b219f74927b06088a830b4f4d4aca18e5c3 | [
"MIT"
] | null | null | null | src/instructions.py | Cyclip/parser-py | ee599b219f74927b06088a830b4f4d4aca18e5c3 | [
"MIT"
] | null | null | null | src/instructions.py | Cyclip/parser-py | ee599b219f74927b06088a830b4f4d4aca18e5c3 | [
"MIT"
] | null | null | null | INSTRUCTIONS = {
"SUM": 0b00001,
"SUB": 0b00010,
"MULT": 0b00011,
"DIV": 0b00101,
}
def instrFor(instr):
return INSTRUCTIONS[instr] | 17.222222 | 30 | 0.593548 | 15 | 155 | 6.133333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.251613 | 155 | 9 | 30 | 17.222222 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0.125 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
7f90cf053a201357d9c50de613ac5215942759fe | 275 | py | Python | webhooks.py | JacobMannix/StaffordResults | 7c602159c66a2d092febcfdb3fc99ea5013ca9df | [
"MIT"
] | null | null | null | webhooks.py | JacobMannix/StaffordResults | 7c602159c66a2d092febcfdb3fc99ea5013ca9df | [
"MIT"
] | null | null | null | webhooks.py | JacobMannix/StaffordResults | 7c602159c66a2d092febcfdb3fc99ea5013ca9df | [
"MIT"
] | null | null | null | #!/home/mannix/anaconda3/bin/python
# # Jacob Mannix [08-31-2020]
# Webhook Function
# Import Dependencies
import requests
# Function
def webhookMessage(webhook_url, message_content):
Message = {"content": message_content}
requests.post(webhook_url, data=Message)
| 21.153846 | 49 | 0.756364 | 33 | 275 | 6.181818 | 0.636364 | 0.205882 | 0.205882 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037657 | 0.130909 | 275 | 12 | 50 | 22.916667 | 0.8159 | 0.389091 | 0 | 0 | 0 | 0 | 0.04321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 |
7fb7ab918e2a989c2f4797719d76ff8008b200ec | 61 | py | Python | app/mongo/data/collect/models/model.py | jgphilpott/polyMaker | 33ab5ecdba277d1765ffdaebb77f0bab2480dc46 | [
"MIT"
] | null | null | null | app/mongo/data/collect/models/model.py | jgphilpott/polyMaker | 33ab5ecdba277d1765ffdaebb77f0bab2480dc46 | [
"MIT"
] | null | null | null | app/mongo/data/collect/models/model.py | jgphilpott/polyMaker | 33ab5ecdba277d1765ffdaebb77f0bab2480dc46 | [
"MIT"
] | null | null | null | class Model():
def __init__(self, model):
pass
| 10.166667 | 30 | 0.557377 | 7 | 61 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327869 | 61 | 5 | 31 | 12.2 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7fbab6aab3392719deaa563dcfed117040616f60 | 84 | py | Python | python__fundamentals/data_types_and_variables_lab/05.pounds_to_dollars.py | EmilianStoyanov/Projects-in-SoftUni | e83996670fe00424a158905d537a7bbbeee8fb59 | [
"MIT"
] | 1 | 2020-07-14T12:32:47.000Z | 2020-07-14T12:32:47.000Z | python__fundamentals/data_types_and_variables_lab/05.pounds_to_dollars.py | EmilianStoyanov/Projects-in-SoftUni | e83996670fe00424a158905d537a7bbbeee8fb59 | [
"MIT"
] | null | null | null | python__fundamentals/data_types_and_variables_lab/05.pounds_to_dollars.py | EmilianStoyanov/Projects-in-SoftUni | e83996670fe00424a158905d537a7bbbeee8fb59 | [
"MIT"
] | null | null | null | pound = int(input())
conv_to_dollar = pound * 1.31
print(f"{conv_to_dollar:.3f}")
| 14 | 30 | 0.678571 | 15 | 84 | 3.533333 | 0.733333 | 0.226415 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.130952 | 84 | 5 | 31 | 16.8 | 0.671233 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
f6b17e40a64f6e955938ba58e578aaa4881568dd | 101 | py | Python | testingCentre/apps.py | p2titus/ContactTracing | 83b11a2908223aab51983ed8128fe11850208b5a | [
"MIT"
] | null | null | null | testingCentre/apps.py | p2titus/ContactTracing | 83b11a2908223aab51983ed8128fe11850208b5a | [
"MIT"
] | null | null | null | testingCentre/apps.py | p2titus/ContactTracing | 83b11a2908223aab51983ed8128fe11850208b5a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TestingCentreConfig(AppConfig):
name = 'testingCentre'
| 16.833333 | 37 | 0.782178 | 10 | 101 | 7.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 5 | 38 | 20.2 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 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 |
f6fecefcdebd1a8c482f564cb98d549c7873e4b5 | 27 | py | Python | 优化算法/test.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | 95 | 2020-10-11T04:45:46.000Z | 2022-02-25T01:50:40.000Z | 优化算法/test.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | null | null | null | 优化算法/test.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | 30 | 2020-11-05T09:01:00.000Z | 2022-03-08T05:58:55.000Z | lr = pow(2,-2)*16
print(lr) | 13.5 | 17 | 0.592593 | 7 | 27 | 2.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 2 | 18 | 13.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
63ed6ff4fcea3f5da8339ceeaf8155ad8fa0e50c | 77 | py | Python | service/tests/__init__.py | tuub/jper | 1a723a36617b2c27b0fc43dd4cb9a0f5fe811f37 | [
"Apache-2.0"
] | 2 | 2015-05-21T10:38:46.000Z | 2015-06-10T15:49:50.000Z | service/tests/__init__.py | tuub/jper | 1a723a36617b2c27b0fc43dd4cb9a0f5fe811f37 | [
"Apache-2.0"
] | 83 | 2015-05-05T11:10:13.000Z | 2016-02-22T11:04:34.000Z | service/tests/__init__.py | tuub/jper | 1a723a36617b2c27b0fc43dd4cb9a0f5fe811f37 | [
"Apache-2.0"
] | 3 | 2015-11-11T16:37:33.000Z | 2016-07-26T10:33:52.000Z | """
This module contains all of the system tests and associated fixtures
"""
| 19.25 | 68 | 0.753247 | 11 | 77 | 5.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 3 | 69 | 25.666667 | 0.90625 | 0.883117 | 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 |
120058f91b9748a1cf2e83a8fca59365bc30aa14 | 98 | py | Python | ECE650-system-programming/HW4_db/hw4_django_orm/app_homepage/apps.py | yo1995/cht_Duke_courses | d889e85e677f419c67c12e78143f3e8143457944 | [
"MIT"
] | 8 | 2019-03-28T18:37:32.000Z | 2022-03-29T22:15:05.000Z | ECE650-system-programming/HW4_db/hw4_django_orm/app_homepage/apps.py | yo1995/cht_Duke_courses | d889e85e677f419c67c12e78143f3e8143457944 | [
"MIT"
] | null | null | null | ECE650-system-programming/HW4_db/hw4_django_orm/app_homepage/apps.py | yo1995/cht_Duke_courses | d889e85e677f419c67c12e78143f3e8143457944 | [
"MIT"
] | 13 | 2018-09-12T19:56:46.000Z | 2020-11-24T22:48:46.000Z | from django.apps import AppConfig
class AppHomepageConfig(AppConfig):
name = 'app_homepage'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 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 |
125806430cd62a1ccc8f7242bb2b421042186459 | 113 | py | Python | elif_bayindir/phase_1/python_basic_1/day_8/q3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | elif_bayindir/phase_1/python_basic_1/day_8/q3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | elif_bayindir/phase_1/python_basic_1/day_8/q3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | # Question 3
# Absolute file path.
import os
os.chdir("/home/elif/Desktop")
print(os.path.abspath("elma.py"))
| 12.555556 | 33 | 0.699115 | 18 | 113 | 4.388889 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.123894 | 113 | 8 | 34 | 14.125 | 0.787879 | 0.265487 | 0 | 0 | 0 | 0 | 0.320513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1272e0a752546f6cd1485becee5ff74978eac68b | 94 | py | Python | survey/forms.py | Udantu/portfolio-v1 | 1fc1b88c1a76db24647555535baaceb16b563b6b | [
"MIT"
] | null | null | null | survey/forms.py | Udantu/portfolio-v1 | 1fc1b88c1a76db24647555535baaceb16b563b6b | [
"MIT"
] | null | null | null | survey/forms.py | Udantu/portfolio-v1 | 1fc1b88c1a76db24647555535baaceb16b563b6b | [
"MIT"
] | null | null | null | from django import forms
class AnswerQuestion(forms.Form):
answer = forms.IntegerField()
| 18.8 | 33 | 0.765957 | 11 | 94 | 6.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 4 | 34 | 23.5 | 0.9 | 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 |
89c5fcfe49fcef1f40e0f037f7061b258d62efa9 | 86 | py | Python | securityheaders/checkers/xpoweredby/__init__.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 151 | 2018-07-29T22:34:43.000Z | 2022-03-22T05:08:27.000Z | securityheaders/checkers/xpoweredby/__init__.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 5 | 2019-04-24T07:31:36.000Z | 2021-04-15T14:31:23.000Z | securityheaders/checkers/xpoweredby/__init__.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 42 | 2018-07-31T08:18:59.000Z | 2022-03-28T08:18:32.000Z | from .present import XPoweredByPresentChecker
__all__ = ['XPoweredByPresentChecker']
| 21.5 | 45 | 0.837209 | 6 | 86 | 11.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 3 | 46 | 28.666667 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
89d6e16f2cd459efd5a3d83024f44a6ac6dd2cac | 141 | py | Python | CodeCrakers/drones.py | suhasksv/py-ground | 8c04a845c6b5c4efcb335c8ad59416874e8226d1 | [
"Apache-2.0"
] | 3 | 2020-06-01T09:40:41.000Z | 2020-08-26T12:09:27.000Z | CodeCrakers/drones.py | suhasksv/py-ground | 8c04a845c6b5c4efcb335c8ad59416874e8226d1 | [
"Apache-2.0"
] | null | null | null | CodeCrakers/drones.py | suhasksv/py-ground | 8c04a845c6b5c4efcb335c8ad59416874e8226d1 | [
"Apache-2.0"
] | 4 | 2020-07-20T10:38:23.000Z | 2020-10-16T08:41:05.000Z | x = 0
drone_chk = [112, 334, 4444, 4444, 445, 112, 27466, 445, 27466]
for i in drone_chk:
x ^= i
print("The missing drone order ID is:", x)
| 23.5 | 63 | 0.64539 | 28 | 141 | 3.178571 | 0.642857 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303571 | 0.205674 | 141 | 5 | 64 | 28.2 | 0.491071 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
89e3423d74f11adefe2e54c4bb5c464e6029b7f8 | 266 | py | Python | tests/__init__.py | theincognito-inc/manga-dl | 899905bafb6c6891815b58cce41eaff32a682570 | [
"MIT"
] | 1 | 2020-11-19T00:40:49.000Z | 2020-11-19T00:40:49.000Z | tests/__init__.py | eduhoribe/manga-py | fe7eb2e08532b3c75b4f7ac8cc4132f0e7a65eb4 | [
"MIT"
] | null | null | null | tests/__init__.py | eduhoribe/manga-py | fe7eb2e08532b3c75b4f7ac8cc4132f0e7a65eb4 | [
"MIT"
] | null | null | null | from .archive import TestArchive
from .base import TestBaseClass
from .http import TestHttpClasses
from .init_provider import TestInitProvider
from .matrix import TestMatrix
from .web_driver import TestWebDriver
from .crypt import TestCrypt
from .std import TestStd
| 29.555556 | 43 | 0.849624 | 34 | 266 | 6.588235 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 266 | 8 | 44 | 33.25 | 0.957265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
89fa3232bd4ecc9b48132b04b83a2a92a2c5aa8d | 125 | py | Python | __init__.py | austinmilt/video-game-view | df6a75236966e5e2bbaf2d2695569902cefee92b | [
"Apache-2.0"
] | 3 | 2018-03-02T00:30:22.000Z | 2018-12-25T16:19:57.000Z | __init__.py | austinmilt/video-game-view | df6a75236966e5e2bbaf2d2695569902cefee92b | [
"Apache-2.0"
] | null | null | null | __init__.py | austinmilt/video-game-view | df6a75236966e5e2bbaf2d2695569902cefee92b | [
"Apache-2.0"
] | null | null | null | """
Video Game HUD for Youtube videos.
.. moduleauthor:: Austin Milt <austin.w.milt@gmail.com>
"""
from detection import *
| 15.625 | 55 | 0.704 | 17 | 125 | 5.176471 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152 | 125 | 7 | 56 | 17.857143 | 0.830189 | 0.728 | 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 |
d602ce92d721c8eef548674aba6ba30568f2d158 | 230 | py | Python | activflow/quotient/forms.py | mcgauranc/mosaiq | 33c4b7db8f3dd1ef18dc0b63d06fb05ee8df4de0 | [
"Apache-2.0"
] | null | null | null | activflow/quotient/forms.py | mcgauranc/mosaiq | 33c4b7db8f3dd1ef18dc0b63d06fb05ee8df4de0 | [
"Apache-2.0"
] | null | null | null | activflow/quotient/forms.py | mcgauranc/mosaiq | 33c4b7db8f3dd1ef18dc0b63d06fb05ee8df4de0 | [
"Apache-2.0"
] | null | null | null | """Custom Forms"""
from django import forms
from django.db.models import (
CharField)
class CustomForm(forms.ModelForm):
"""Sample Custom form"""
sample_id = CharField("Sample Id:", max_length=200, editable=False)
| 19.166667 | 71 | 0.704348 | 29 | 230 | 5.517241 | 0.655172 | 0.1125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.165217 | 230 | 11 | 72 | 20.909091 | 0.817708 | 0.134783 | 0 | 0 | 0 | 0 | 0.053476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d6205eaf947f81705719709972eb30183e24b0e7 | 2,139 | py | Python | feature_eng.py | vikrantpailkar/Loan_Default_Prediction | 81805790a22c0378f81aa77d9806996bca9c4c9a | [
"MIT"
] | 2 | 2019-02-02T14:33:40.000Z | 2019-02-03T07:31:42.000Z | feature_eng.py | vikrantpailkar/Loan_Default_Prediction | 81805790a22c0378f81aa77d9806996bca9c4c9a | [
"MIT"
] | null | null | null | feature_eng.py | vikrantpailkar/Loan_Default_Prediction | 81805790a22c0378f81aa77d9806996bca9c4c9a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on 02/02/2019
Author: Vikrant
"""
from trim_data import ext_num_from_sub_grade
from trim_data import drop_emp_title
from trim_data import fill_na_annual_inc
from trim_data import drop_zip_code
from trim_data import fill_na_delinq_2yrs
from trim_data import drop_earliest_cr_line
fro... | 31 | 53 | 0.832632 | 383 | 2,139 | 4.138381 | 0.203655 | 0.146372 | 0.219558 | 0.329338 | 0.5653 | 0.323659 | 0.074448 | 0 | 0 | 0 | 0 | 0.00914 | 0.130435 | 2,139 | 68 | 54 | 31.455882 | 0.843011 | 0.02805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.491525 | 0 | 0.508475 | 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 |
d64be7cf7a35f0d88422253ab5bfe37965151b5c | 401 | py | Python | test/samplesheet/test_initialize.py | iosonofabio/singlet | 66d3b13581f571450c9551e99d86845cce992d32 | [
"MIT"
] | 11 | 2017-09-12T02:45:33.000Z | 2021-05-18T13:04:12.000Z | test/samplesheet/test_initialize.py | Takshan/singlet | 66d3b13581f571450c9551e99d86845cce992d32 | [
"MIT"
] | 6 | 2017-10-03T22:14:42.000Z | 2019-02-02T05:12:20.000Z | test/samplesheet/test_initialize.py | Takshan/singlet | 66d3b13581f571450c9551e99d86845cce992d32 | [
"MIT"
] | 4 | 2018-02-15T12:00:04.000Z | 2021-03-25T12:26:04.000Z | #!/usr/bin/env python
# vim: fdm=indent
'''
author: Fabio Zanini
date: 15/08/17
content: Test SampleSheet class.
'''
def test_initialize():
from singlet.samplesheet import SampleSheet
ss = SampleSheet.from_sheetname('example_sheet_tsv')
def test_initialize_fromdataset():
from singlet.samplesh... | 23.588235 | 56 | 0.735661 | 48 | 401 | 5.979167 | 0.666667 | 0.04878 | 0.118467 | 0.195122 | 0.271777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01791 | 0.164589 | 401 | 16 | 57 | 25.0625 | 0.838806 | 0.294264 | 0 | 0.333333 | 0 | 0 | 0.117216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 |
c3865f3311af05c5b3fbbfe2bb77b9cf670540d3 | 10,679 | py | Python | back-end/www/tests/vision_tests.py | TUD-KInD/COCTEAU | 8ea4f546397feaaf22b4e9958b509324b5b332aa | [
"MIT"
] | null | null | null | back-end/www/tests/vision_tests.py | TUD-KInD/COCTEAU | 8ea4f546397feaaf22b4e9958b509324b5b332aa | [
"MIT"
] | 1 | 2021-11-15T11:40:04.000Z | 2021-11-15T11:40:04.000Z | back-end/www/tests/vision_tests.py | TUD-KInD/COCTEAU | 8ea4f546397feaaf22b4e9958b509324b5b332aa | [
"MIT"
] | 2 | 2021-07-14T13:07:22.000Z | 2022-01-25T23:58:06.000Z | from basic_tests import BasicTest
from models.model_operations import scenario_operations
from models.model_operations import topic_operations
from models.model_operations import user_operations
from models.model_operations import vision_operations
from models.model import db
import unittest
class VisionTest(BasicTes... | 33.371875 | 138 | 0.541811 | 1,151 | 10,679 | 4.702867 | 0.073849 | 0.050988 | 0.059856 | 0.042121 | 0.801958 | 0.753926 | 0.709773 | 0.688712 | 0.688712 | 0.688712 | 0 | 0.013883 | 0.345725 | 10,679 | 319 | 139 | 33.476489 | 0.760842 | 0.00206 | 0 | 0.566038 | 0 | 0 | 0.169562 | 0.013802 | 0 | 0 | 0 | 0 | 0.071698 | 1 | 0.030189 | false | 0 | 0.026415 | 0 | 0.060377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c3c5c8ebc42745fc2692097c4c28ac0825ea0fc0 | 109 | py | Python | receives/helper.py | felixsch/receives | 0d149e3a24c0377ac60d502736299c9f4348244a | [
"MIT"
] | null | null | null | receives/helper.py | felixsch/receives | 0d149e3a24c0377ac60d502736299c9f4348244a | [
"MIT"
] | null | null | null | receives/helper.py | felixsch/receives | 0d149e3a24c0377ac60d502736299c9f4348244a | [
"MIT"
] | null | null | null | import inspect
def current_module():
frame = inspect.stack()[1]
return inspect.getmodule(frame[0])
| 15.571429 | 38 | 0.697248 | 14 | 109 | 5.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.174312 | 109 | 6 | 39 | 18.166667 | 0.811111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c3ec5559edc67a20ccce3c5d4701b073dd1c987c | 1,274 | py | Python | setup.py | iNouvellie/social-network-rusa | 675ac2678f2d09363b3d67e42de93cb5877fa84b | [
"Apache-2.0"
] | null | null | null | setup.py | iNouvellie/social-network-rusa | 675ac2678f2d09363b3d67e42de93cb5877fa84b | [
"Apache-2.0"
] | null | null | null | setup.py | iNouvellie/social-network-rusa | 675ac2678f2d09363b3d67e42de93cb5877fa84b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
"""
@author: Kirill Python
@contact: https://vk.com/python273
@license Apache License, Version 2.0, see LICENSE file
Copyright (C) 2017
"""
setup(
name='vk_api',
version='8.3.1',
author='python273',
author_email='whoami@p... | 31.073171 | 74 | 0.635008 | 143 | 1,274 | 5.608392 | 0.496504 | 0.213217 | 0.280549 | 0.129676 | 0.184539 | 0.184539 | 0.184539 | 0.107232 | 0.107232 | 0 | 0 | 0.038767 | 0.210361 | 1,274 | 40 | 75 | 31.85 | 0.758449 | 0.032967 | 0 | 0 | 0 | 0 | 0.638532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.038462 | 0 | 0.038462 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f0246bbd95fe9f96b480d36cc352d62346a06ac | 228 | py | Python | photos/admin.py | martinmandina/Photo-Gallery | a9c113a08d71f18b415e083cdeb8dc3f3fa60e80 | [
"MIT"
] | null | null | null | photos/admin.py | martinmandina/Photo-Gallery | a9c113a08d71f18b415e083cdeb8dc3f3fa60e80 | [
"MIT"
] | null | null | null | photos/admin.py | martinmandina/Photo-Gallery | a9c113a08d71f18b415e083cdeb8dc3f3fa60e80 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Category,Location,Image,Photo
# Register your models here.
admin.site.register(Location)
admin.site.register(Category)
admin.site.register(Image)
admin.site.register(Photo)
| 22.8 | 49 | 0.815789 | 32 | 228 | 5.8125 | 0.4375 | 0.193548 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 228 | 9 | 50 | 25.333333 | 0.889952 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
61681e4a9794f591da675dc07a24666de01182f4 | 6,609 | py | Python | src/tree.py | kinow/rosalind-exercises | 5984f10226e41a3fffbc7f947e397b0cd84ea5cf | [
"Unlicense"
] | null | null | null | src/tree.py | kinow/rosalind-exercises | 5984f10226e41a3fffbc7f947e397b0cd84ea5cf | [
"Unlicense"
] | null | null | null | src/tree.py | kinow/rosalind-exercises | 5984f10226e41a3fffbc7f947e397b0cd84ea5cf | [
"Unlicense"
] | null | null | null | import networkx as nx
if __name__ == '__main__':
n = 872
data = '''
633 397
336 423
583 800
457 20
707 797
61 1
494 672
382 140
282 62
782 188
463 478
571 456
531 8
119 294
863 190
49 205
224 70
88 118
80 139
854 273
66 74
234 155
789 120
225 353
446 767
346 163
796 779
66 450
130 38
228 793
262 263
41 204
21 ... | 7.793632 | 56 | 0.722954 | 1,720 | 6,609 | 2.767442 | 0.510465 | 0.006723 | 0.008193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.940083 | 0.267665 | 6,609 | 848 | 57 | 7.793632 | 0.043388 | 0 | 0 | 0 | 0 | 0 | 0.940545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.001183 | null | null | 0.001183 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
618fc11ab33d704e7a4dd7de39dc74a9fba7bbdc | 91 | py | Python | test_app/apps.py | fcfangcc/django-editor-md | 32f04b1fae30abc8fc5e8c32d43df1e3b79b0e31 | [
"BSD-3-Clause"
] | 1 | 2019-04-17T14:37:48.000Z | 2019-04-17T14:37:48.000Z | test_app/apps.py | fcfangcc/django-editor-md | 32f04b1fae30abc8fc5e8c32d43df1e3b79b0e31 | [
"BSD-3-Clause"
] | 1 | 2018-02-06T08:38:48.000Z | 2021-07-17T14:26:26.000Z | test_app/apps.py | fcfangcc/django-editor-md | 32f04b1fae30abc8fc5e8c32d43df1e3b79b0e31 | [
"BSD-3-Clause"
] | 1 | 2018-06-10T08:19:38.000Z | 2018-06-10T08:19:38.000Z | from django.apps import AppConfig
class EditormdConfig(AppConfig):
name = 'test_app'
| 15.166667 | 33 | 0.758242 | 11 | 91 | 6.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
619454f8f840e4a8afd5ac624a797501c1c3de83 | 86 | py | Python | tests/groups/family/__init__.py | aiidateam/aiida-pseudo | 87515a98fc86bd55756614968a1bc4f2b3f6feb6 | [
"MIT"
] | 3 | 2020-12-07T23:24:30.000Z | 2021-05-15T01:50:04.000Z | tests/groups/family/__init__.py | aiidateam/aiida-pseudo | 87515a98fc86bd55756614968a1bc4f2b3f6feb6 | [
"MIT"
] | 89 | 2020-10-15T11:46:18.000Z | 2022-03-07T17:26:46.000Z | tests/groups/family/__init__.py | aiidateam/aiida-pseudo | 87515a98fc86bd55756614968a1bc4f2b3f6feb6 | [
"MIT"
] | 6 | 2020-10-26T10:01:02.000Z | 2021-06-07T20:20:58.000Z | # -*- coding: utf-8 -*-
"""Tests for the :mod:`aiida_pseudo.groups.family` module."""
| 28.666667 | 61 | 0.627907 | 12 | 86 | 4.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.116279 | 86 | 2 | 62 | 43 | 0.684211 | 0.906977 | 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 |
619f1e3107d7259324d97acab1501d590da0f232 | 3,607 | py | Python | tests/tasks/sodaspark/test_sodaspark_tasks.py | suryatmodulus/prefect | e4ac9f6aa831140c7fba0397f3e5e0884b1b9e42 | [
"Apache-2.0"
] | 8,633 | 2019-03-23T17:51:03.000Z | 2022-03-31T22:17:42.000Z | tests/tasks/sodaspark/test_sodaspark_tasks.py | suryatmodulus/prefect | e4ac9f6aa831140c7fba0397f3e5e0884b1b9e42 | [
"Apache-2.0"
] | 3,903 | 2019-03-23T19:11:21.000Z | 2022-03-31T23:21:23.000Z | tests/tasks/sodaspark/test_sodaspark_tasks.py | suryatmodulus/prefect | e4ac9f6aa831140c7fba0397f3e5e0884b1b9e42 | [
"Apache-2.0"
] | 937 | 2019-03-23T18:49:44.000Z | 2022-03-31T21:45:13.000Z | from unittest.mock import MagicMock
import pytest
from pyspark.sql import SparkSession
from prefect.tasks.sodaspark import SodaSparkScan
class TestSodaSparkScan:
def test_construction_provide_scan_and_df(self):
expected_scan_def = "/foo/bar.yaml"
expected_df = SparkSession.builder.getOrCreate()... | 34.028302 | 88 | 0.626282 | 444 | 3,607 | 4.79955 | 0.18018 | 0.065697 | 0.109808 | 0.143595 | 0.801032 | 0.772407 | 0.730174 | 0.664946 | 0.664946 | 0.664946 | 0 | 0.01242 | 0.263377 | 3,607 | 105 | 89 | 34.352381 | 0.789612 | 0.07735 | 0 | 0.583333 | 0 | 0 | 0.201324 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.154762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
61bc0236a9a4c6ae617a008de26b731b43b79894 | 384 | py | Python | gym/envs/debugging/__init__.py | enterstudio/gym | 3355287f4c778d21e246a08a2af90696d68aee9f | [
"MIT"
] | 49 | 2017-12-11T11:00:02.000Z | 2022-03-30T05:19:31.000Z | gym/envs/debugging/__init__.py | enterstudio/gym | 3355287f4c778d21e246a08a2af90696d68aee9f | [
"MIT"
] | 2 | 2018-01-01T17:39:56.000Z | 2019-07-24T04:49:08.000Z | gym/envs/debugging/__init__.py | enterstudio/gym | 3355287f4c778d21e246a08a2af90696d68aee9f | [
"MIT"
] | 12 | 2017-12-13T11:52:17.000Z | 2020-12-03T00:53:29.000Z | from gym.envs.debugging.one_round_deterministic_reward import OneRoundDeterministicRewardEnv
from gym.envs.debugging.two_round_deterministic_reward import TwoRoundDeterministicRewardEnv
from gym.envs.debugging.one_round_nondeterministic_reward import OneRoundNondeterministicRewardEnv
from gym.envs.debugging.two_round_n... | 76.8 | 98 | 0.927083 | 40 | 384 | 8.6 | 0.375 | 0.081395 | 0.127907 | 0.232558 | 0.325581 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 384 | 4 | 99 | 96 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f6345c46211daf7ebe52eedee94a56b42fde5119 | 109 | py | Python | yandex/yandex2016_a_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | yandex/yandex2016_a_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | yandex/yandex2016_a_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | P, A, B = map(int, input().split())
if P >= A+B:
print(P)
elif B > P:
print(-1)
else:
print(A+B)
| 13.625 | 35 | 0.486239 | 22 | 109 | 2.409091 | 0.545455 | 0.113208 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.275229 | 109 | 7 | 36 | 15.571429 | 0.658228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f638e967e871d2139e218f939b819398878885a0 | 755 | py | Python | ffws/test/parser/test_LightCycler480.py | mojaie/flashflood-workspace-sample | 647a638ddc8fc5cf179f46f4f5d88bd3ba98faa0 | [
"MIT"
] | null | null | null | ffws/test/parser/test_LightCycler480.py | mojaie/flashflood-workspace-sample | 647a638ddc8fc5cf179f46f4f5d88bd3ba98faa0 | [
"MIT"
] | null | null | null | ffws/test/parser/test_LightCycler480.py | mojaie/flashflood-workspace-sample | 647a638ddc8fc5cf179f46f4f5d88bd3ba98faa0 | [
"MIT"
] | null | null | null | #
# (C) 2014-2017 Seiji Matsuoka
# Licensed under the MIT License (MIT)
# http://opensource.org/licenses/MIT
#
import unittest
from ffws.parser import LightCycler480 as lc
class TestLightCycler480(unittest.TestCase):
def test_file_loader(self):
data = lc.file_loader("./raw/instruments/LightCycler480.txt... | 32.826087 | 69 | 0.672848 | 89 | 755 | 5.674157 | 0.561798 | 0.207921 | 0.291089 | 0.306931 | 0.134653 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073365 | 0.169536 | 755 | 22 | 70 | 34.318182 | 0.732057 | 0.13245 | 0 | 0 | 0 | 0 | 0.191063 | 0.05547 | 0 | 0 | 0 | 0 | 0.538462 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.307692 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f66ccc57add6c4af6c1270d0629452966c272400 | 2,036 | py | Python | skbandit/bandits/base.py | dourouc05/scikit-bandit | aa0a0a58304844f593682ff1fe7f0960977bd0d2 | [
"BSD-3-Clause"
] | null | null | null | skbandit/bandits/base.py | dourouc05/scikit-bandit | aa0a0a58304844f593682ff1fe7f0960977bd0d2 | [
"BSD-3-Clause"
] | null | null | null | skbandit/bandits/base.py | dourouc05/scikit-bandit | aa0a0a58304844f593682ff1fe7f0960977bd0d2 | [
"BSD-3-Clause"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Union, List, Dict
import numpy as np
class Bandit(ABC):
"""A stochastic, multi-armed bandit player.
A bandit player can be implemented using three methods:
* a constructor: to create the player (required parameters, number of arms, etc.)
* `pull... | 33.933333 | 129 | 0.678291 | 281 | 2,036 | 4.800712 | 0.455516 | 0.029652 | 0.026686 | 0.04003 | 0.188288 | 0.188288 | 0.16679 | 0.09192 | 0.09192 | 0.09192 | 0 | 0.003104 | 0.208743 | 2,036 | 59 | 130 | 34.508475 | 0.834264 | 0.43222 | 0 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0 | 1 | 0.310345 | false | 0.034483 | 0.103448 | 0.103448 | 0.586207 | 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 |
f673b67a565a16bdfc4923ead218d32403099883 | 282 | py | Python | src/jNlp/eProcessing.py | Reynolddoss/jProcessing | a3ecfde40311fd5b7b4e41b405310655f124d780 | [
"BSD-2-Clause"
] | 133 | 2015-01-24T07:33:17.000Z | 2022-03-14T12:17:51.000Z | src/jNlp/eProcessing.py | Reynolddoss/jProcessing | a3ecfde40311fd5b7b4e41b405310655f124d780 | [
"BSD-2-Clause"
] | 14 | 2015-03-06T07:46:13.000Z | 2020-07-20T01:57:17.000Z | src/jNlp/eProcessing.py | kevincobain2000/jProcessing | 5ea303cc4bf6e8aaa4a3c5f9d023368191919f75 | [
"BSD-2-Clause"
] | 39 | 2015-01-29T18:58:19.000Z | 2020-12-04T03:50:30.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from pkg_resources import resource_stream
import sys, os, subprocess
from subprocess import call
import xml.etree.cElementTree as etree
import nltk
from nltk.stem.wordnet import WordNetLemmatizer
if __name__ == '__main__':
pass
| 18.8 | 47 | 0.762411 | 39 | 282 | 5.25641 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004167 | 0.148936 | 282 | 14 | 48 | 20.142857 | 0.85 | 0.148936 | 0 | 0 | 0 | 0 | 0.033613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
9caf7fa4ff6fb6dbc629c2c9be4bdbaae0f6b52c | 87 | py | Python | tests/contract/test_misc.py | samuelhwilliams/github-trello-powerup | c37539eafb3749b1e029bdeec997e715e9c3f3a4 | [
"MIT"
] | null | null | null | tests/contract/test_misc.py | samuelhwilliams/github-trello-powerup | c37539eafb3749b1e029bdeec997e715e9c3f3a4 | [
"MIT"
] | null | null | null | tests/contract/test_misc.py | samuelhwilliams/github-trello-powerup | c37539eafb3749b1e029bdeec997e715e9c3f3a4 | [
"MIT"
] | null | null | null | """
TESTS TO WRITE:
* API contract tests for notify/email provider, github, trello
"""
| 17.4 | 62 | 0.712644 | 12 | 87 | 5.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 4 | 63 | 21.75 | 0.849315 | 0.896552 | 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 |
9cf6a61c8dd9521dd1b7a891efa4af5f8eb8209f | 480 | py | Python | ports/devel/ninja/dragonfly/patch-configure.py | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2015-02-06T17:06:37.000Z | 2022-03-08T19:53:28.000Z | ports/devel/ninja/dragonfly/patch-configure.py | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 236 | 2015-06-29T19:51:17.000Z | 2021-12-16T22:46:38.000Z | ports/devel/ninja/dragonfly/patch-configure.py | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 52 | 2015-02-06T17:05:36.000Z | 2021-10-21T12:13:06.000Z | --- configure.py.intermediate 2014-12-12 13:05:20 UTC
+++ configure.py
@@ -41,6 +41,8 @@ class Platform(object):
self._platform = sys.platform
if self._platform.startswith('linux'):
self._platform = 'linux'
+ elif self._platform.startswith('dragonfly'):
+ self._platform ... | 40 | 55 | 0.616667 | 52 | 480 | 5.538462 | 0.461538 | 0.333333 | 0.305556 | 0.270833 | 0.3125 | 0.3125 | 0.3125 | 0 | 0 | 0 | 0 | 0.054795 | 0.239583 | 480 | 11 | 56 | 43.636364 | 0.734247 | 0 | 0 | 0 | 0 | 0 | 0.10625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9cfe7461cb989bebb283cc079011dc65884a988d | 109 | py | Python | api/test/conftest.py | avikalpg/IndianVotingAssistant | 53582b4718c28e7e29771b485dbe91044ce8fbbc | [
"Apache-2.0"
] | 8 | 2021-05-15T20:23:13.000Z | 2022-02-20T11:48:20.000Z | api/test/conftest.py | avikalpg/IndianVotingAssistant | 53582b4718c28e7e29771b485dbe91044ce8fbbc | [
"Apache-2.0"
] | 9 | 2021-05-11T08:18:53.000Z | 2021-06-27T12:43:05.000Z | api/test/conftest.py | avikalpg/IndianVotingAssistant | 53582b4718c28e7e29771b485dbe91044ce8fbbc | [
"Apache-2.0"
] | 2 | 2021-05-13T11:10:46.000Z | 2021-06-13T12:43:36.000Z | import pytest
@pytest.fixture
def get_base_url():
base_url = "http://localhost:5000/"
return base_url | 18.166667 | 37 | 0.724771 | 16 | 109 | 4.6875 | 0.6875 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.155963 | 109 | 6 | 38 | 18.166667 | 0.771739 | 0 | 0 | 0 | 0 | 0 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 |
141d6d522578acd74ff77db2c30f1498c65060f2 | 883 | py | Python | pymultimatic/model/__init__.py | oliverpell/pymultiMATIC | f4029bdd7d043b9d9f6411da13596535c89c077b | [
"MIT"
] | 30 | 2019-12-01T16:04:11.000Z | 2022-02-28T09:23:52.000Z | pymultimatic/model/__init__.py | oliverpell/pymultiMATIC | f4029bdd7d043b9d9f6411da13596535c89c077b | [
"MIT"
] | 43 | 2019-11-09T18:55:10.000Z | 2022-02-25T20:05:55.000Z | pymultimatic/model/__init__.py | oliverpell/pymultiMATIC | f4029bdd7d043b9d9f6411da13596535c89c077b | [
"MIT"
] | 7 | 2020-08-03T08:44:18.000Z | 2022-02-27T10:15:46.000Z | """Mapped model from the API."""
from .mode import ( # noqa: F401
Mode,
OperatingMode,
OperatingModes,
QuickVeto,
ActiveMode,
SettingMode,
SettingModes,
)
from .timeprogram import TimeProgram, TimeProgramDay, TimePeriodSetting # noqa: F401
from .common import Component, Function # noqa: F... | 38.391304 | 85 | 0.741789 | 104 | 883 | 6.288462 | 0.432692 | 0.159021 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053867 | 0.180068 | 883 | 22 | 86 | 40.136364 | 0.849448 | 0.192525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.619048 | 0 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
142c41200a9f127dbdb2a1a972de029d7c2c4800 | 69 | py | Python | Day 3/setup.py | SSSCodingClub/Jumper | 283f52c200f6697eb4f331d280bda632497754cb | [
"Unlicense"
] | null | null | null | Day 3/setup.py | SSSCodingClub/Jumper | 283f52c200f6697eb4f331d280bda632497754cb | [
"Unlicense"
] | null | null | null | Day 3/setup.py | SSSCodingClub/Jumper | 283f52c200f6697eb4f331d280bda632497754cb | [
"Unlicense"
] | null | null | null | import pygame
pygame.init()
SCREEN_WIDTH, SCREEN_HEIGHT = 640, 640
| 11.5 | 38 | 0.768116 | 10 | 69 | 5.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0.144928 | 69 | 5 | 39 | 13.8 | 0.762712 | 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 |
142d42d65ee883242cfa7e5048f08982c5d79580 | 201 | py | Python | app/support/admin.py | gab98fra/curriculo.page-project | 15d2cde96ae726c12e12b574992b8ce74671ad40 | [
"Apache-2.0"
] | 1 | 2021-09-18T03:11:02.000Z | 2021-09-18T03:11:02.000Z | app/support/admin.py | gab98fra/curriculo.page-project | 15d2cde96ae726c12e12b574992b8ce74671ad40 | [
"Apache-2.0"
] | null | null | null | app/support/admin.py | gab98fra/curriculo.page-project | 15d2cde96ae726c12e12b574992b8ce74671ad40 | [
"Apache-2.0"
] | 1 | 2021-09-18T22:11:51.000Z | 2021-09-18T22:11:51.000Z | from django.contrib import admin
from .models import FAQModel, AssistanceModel, FeedbackModel
admin.site.register(FAQModel)
admin.site.register(AssistanceModel)
admin.site.register(FeedbackModel)
| 18.272727 | 60 | 0.830846 | 23 | 201 | 7.26087 | 0.478261 | 0.161677 | 0.305389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 201 | 10 | 61 | 20.1 | 0.912568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
144fef1b8db5d12d3ffc47e97965f7287bfdfc69 | 206 | py | Python | adjutant-plugin/mfa_actions/serializers.py | catalyst-cloud/adjutant-mfa | d9e99dd006a895ca33b840e7d92bc5107ec4ba8d | [
"Apache-2.0"
] | 2 | 2018-02-15T12:56:05.000Z | 2018-03-10T09:45:08.000Z | adjutant-plugin/mfa_actions/serializers.py | catalyst-cloud/adjutant-mfa | d9e99dd006a895ca33b840e7d92bc5107ec4ba8d | [
"Apache-2.0"
] | 1 | 2018-05-24T23:08:17.000Z | 2018-05-24T23:08:17.000Z | adjutant-plugin/mfa_actions/serializers.py | catalyst-cloud/adjutant-mfa | d9e99dd006a895ca33b840e7d92bc5107ec4ba8d | [
"Apache-2.0"
] | 3 | 2018-02-09T03:27:43.000Z | 2018-07-02T10:45:35.000Z | from adjutant.actions.v1.serializers import BaseUserIdSerializer
from rest_framework import serializers
class EditMFASerializer(BaseUserIdSerializer):
delete = serializers.BooleanField(default=False)
| 29.428571 | 64 | 0.854369 | 20 | 206 | 8.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005348 | 0.092233 | 206 | 6 | 65 | 34.333333 | 0.930481 | 0 | 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 |
147fd1b2cb3b1008b975617b06453965fc8341c6 | 153 | py | Python | oxe-api/exception/cannot_assign_value_from_parent_category.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/exception/cannot_assign_value_from_parent_category.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/exception/cannot_assign_value_from_parent_category.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null |
class CannotAssignValueFromParentCategory(Exception):
def __init__(self):
super().__init__("422 Cannot assign value from parent category")
| 25.5 | 72 | 0.751634 | 15 | 153 | 7.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.163399 | 153 | 5 | 73 | 30.6 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
149383602551b8044e7b50145326b7cbf411aefd | 1,743 | py | Python | pymetabolism/tests/test_parsers.py | Midnighter/pymetabolism | 20773e6b3e722a7c353171211ceedb019b012951 | [
"BSD-3-Clause"
] | 1 | 2019-07-08T04:59:09.000Z | 2019-07-08T04:59:09.000Z | pymetabolism/tests/test_parsers.py | Midnighter/pymetabolism | 20773e6b3e722a7c353171211ceedb019b012951 | [
"BSD-3-Clause"
] | 2 | 2018-08-19T18:59:15.000Z | 2018-08-19T18:59:15.000Z | pymetabolism/tests/test_parsers.py | Midnighter/pymetabolism | 20773e6b3e722a7c353171211ceedb019b012951 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
=============
Parsers Tests
=============
:Authors:
Moritz Emanuel Beber
Nikolaus Sonnenschein
:Date:
2011-04-10
:Copyright:
Copyright(c) 2011 Jacobs University of Bremen. All rights reserved.
:File:
test_parsers.py
"""
import os
import nose.too... | 26.815385 | 80 | 0.640849 | 211 | 1,743 | 5.14218 | 0.42654 | 0.095853 | 0.110599 | 0.047005 | 0.129032 | 0.082949 | 0.082949 | 0 | 0 | 0 | 0 | 0.015475 | 0.221457 | 1,743 | 64 | 81 | 27.234375 | 0.784083 | 0.853127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.714286 | 0 | 0.857143 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
2139efd086b3304c8aa359ac6e6335afa7ad1e84 | 314 | py | Python | website/products/index.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | 1 | 2021-12-14T22:24:20.000Z | 2021-12-14T22:24:20.000Z | website/products/index.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | 11 | 2021-03-30T13:59:29.000Z | 2022-03-12T00:48:40.000Z | website/products/index.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | null | null | null | from algoliasearch_django import AlgoliaIndex
from algoliasearch_django.decorators import register
from .models import Product
@register(Product)
class ProductIndex(AlgoliaIndex):
fields = ('product_name', 'model_no', 'product_category',
'product_details', 'slug', 'main_product_image')
| 31.4 | 62 | 0.751592 | 33 | 314 | 6.909091 | 0.606061 | 0.149123 | 0.201754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 314 | 9 | 63 | 34.888889 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.239344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
21519a31dc278428ac39c9db0a7cb49e8da64b30 | 201 | py | Python | rekcurd_dashboard/logger/__init__.py | rekcurd/dashboard | c246a7c4c18c8aa6332482661cd55fc67cacf869 | [
"Apache-2.0"
] | 19 | 2019-03-07T12:03:50.000Z | 2021-01-28T16:30:17.000Z | rekcurd_dashboard/logger/__init__.py | rekcurd/dashboard | c246a7c4c18c8aa6332482661cd55fc67cacf869 | [
"Apache-2.0"
] | 69 | 2019-02-01T05:53:28.000Z | 2022-03-15T19:14:20.000Z | rekcurd_dashboard/logger/__init__.py | rekcurd/drucker-dashboard | c246a7c4c18c8aa6332482661cd55fc67cacf869 | [
"Apache-2.0"
] | 8 | 2020-03-05T12:39:52.000Z | 2022-01-26T10:34:21.000Z | # -*- coding: utf-8 -*-
from .logger_interface import SystemLoggerInterface
from .logger_jsonlogger import JsonSystemLogger
from .logger_fluent import FluentSystemLogger
logger = JsonSystemLogger()
| 22.333333 | 51 | 0.810945 | 20 | 201 | 8 | 0.6 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.114428 | 201 | 8 | 52 | 25.125 | 0.893258 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
215512e306153a6fce3531437be98ccf3716c608 | 136 | py | Python | naszrzecznik2/signatures/apps.py | watchdogpolska/naszrzecznik2 | d0cce54b799520918116adf2a2de5df2d3b9a397 | [
"MIT"
] | null | null | null | naszrzecznik2/signatures/apps.py | watchdogpolska/naszrzecznik2 | d0cce54b799520918116adf2a2de5df2d3b9a397 | [
"MIT"
] | 1 | 2016-09-21T21:10:37.000Z | 2016-09-25T15:40:38.000Z | naszrzecznik2/signatures/apps.py | watchdogpolska/naszrzecznik2 | d0cce54b799520918116adf2a2de5df2d3b9a397 | [
"MIT"
] | 2 | 2016-09-25T15:33:07.000Z | 2018-08-13T20:11:20.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class SignaturesConfig(AppConfig):
name = 'signatures'
| 17 | 39 | 0.801471 | 15 | 136 | 6.933333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 7 | 40 | 19.428571 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 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 |
dcc22a22321bf1d314b74fda6b04042c65f1d105 | 431 | py | Python | scripts/build.py | 1byte2bytes/SydChain | ac1fffd9f87c2afa6e2f6a0540d69dad0815ef4f | [
"MIT"
] | null | null | null | scripts/build.py | 1byte2bytes/SydChain | ac1fffd9f87c2afa6e2f6a0540d69dad0815ef4f | [
"MIT"
] | null | null | null | scripts/build.py | 1byte2bytes/SydChain | ac1fffd9f87c2afa6e2f6a0540d69dad0815ef4f | [
"MIT"
] | null | null | null | import build_autoconf
import build_automake
import build_bison
import build_libtool
import build_m4
import build_make
import build_cmake
import build_git
import build_mercurial
import build_ccache
import build_gawk
import build_yasm
import build_nasm
import build_mono
import build_rustc
import build_ninja
import build_... | 17.958333 | 27 | 0.883991 | 67 | 431 | 5.343284 | 0.373134 | 0.645251 | 0.083799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.106729 | 431 | 23 | 28 | 18.73913 | 0.903896 | 0.185615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dcd5c3fb4d4740a8e4b8ed7831d8b385fdbd8d2c | 195 | py | Python | medical_prescription/exam/models/newexam.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 11 | 2017-09-19T00:29:40.000Z | 2018-04-05T23:52:39.000Z | medical_prescription/exam/models/newexam.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 271 | 2017-09-09T00:07:28.000Z | 2017-12-07T05:00:45.000Z | medical_prescription/exam/models/newexam.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 26 | 2017-08-31T20:48:49.000Z | 2018-03-21T15:11:27.000Z | # Django
from django.db import models
# Local Django
from exam import constants
class NewExam(models.Model):
exam_description = models.CharField(max_length=constants.DESC_TUSS_MAX_LENGTH)
| 19.5 | 82 | 0.805128 | 27 | 195 | 5.62963 | 0.62963 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 195 | 9 | 83 | 21.666667 | 0.894118 | 0.097436 | 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 |
dcdc82ac6a581b593d27431080c74055a2e06598 | 252 | py | Python | authlib/__init__.py | jmrafael/Streamlit-Authentication | 208e9d8f116d25d420f41b6d01c13f063052805b | [
"MIT"
] | null | null | null | authlib/__init__.py | jmrafael/Streamlit-Authentication | 208e9d8f116d25d420f41b6d01c13f063052805b | [
"MIT"
] | null | null | null | authlib/__init__.py | jmrafael/Streamlit-Authentication | 208e9d8f116d25d420f41b6d01c13f063052805b | [
"MIT"
] | null | null | null | from .common import const, trace_activity, AppError, DatabaseError
from .common.dt_helpers import tnow_iso , tnow_iso_str, dt_from_str, dt_from_ts, dt_to_str
from .common.crypto import aes256cbcExtended
from .common.cookie_manager import CookieManager
| 50.4 | 90 | 0.849206 | 38 | 252 | 5.315789 | 0.526316 | 0.19802 | 0.089109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.095238 | 252 | 4 | 91 | 63 | 0.872807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dceafd476e558e7e93c6896b1fb4587fd1195f64 | 4,102 | py | Python | hr_html/invite_test.py | aungbobo04/emailer | 2b60917300d528e12263d0d15a15b944088eb193 | [
"MIT"
] | null | null | null | hr_html/invite_test.py | aungbobo04/emailer | 2b60917300d528e12263d0d15a15b944088eb193 | [
"MIT"
] | null | null | null | hr_html/invite_test.py | aungbobo04/emailer | 2b60917300d528e12263d0d15a15b944088eb193 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# This is the test file for developers !!! Do NOT use this file.
import yagmail
content = ["""<!DOCTYPE html><html lang="en" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" style="box-sizing:border-box; padding:0px; margin:0px"><head><meta charset="UTF-8... | 132.322581 | 1,201 | 0.720624 | 629 | 4,102 | 4.685215 | 0.322735 | 0.027486 | 0.038005 | 0.054293 | 0.457414 | 0.364438 | 0.309128 | 0.226671 | 0.175093 | 0.14659 | 0 | 0.042941 | 0.091663 | 4,102 | 30 | 1,202 | 136.733333 | 0.747719 | 0.019503 | 0 | 0 | 0 | 0.428571 | 0.950236 | 0.194825 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.047619 | 0 | 0.095238 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dcecb127add5dc5e155ce8526bf93209e2001330 | 109 | py | Python | 0_ACMSGURU/100 A+B.py | zielman/Codeforces-solutions | 636f11a9eb10939d09d2e50ddc5ec53327d0b7ab | [
"MIT"
] | null | null | null | 0_ACMSGURU/100 A+B.py | zielman/Codeforces-solutions | 636f11a9eb10939d09d2e50ddc5ec53327d0b7ab | [
"MIT"
] | 1 | 2021-05-05T17:05:03.000Z | 2021-05-05T17:05:03.000Z | 0_ACMSGURU/100 A+B.py | zielman/Codeforces-solutions | 636f11a9eb10939d09d2e50ddc5ec53327d0b7ab | [
"MIT"
] | null | null | null | # https://codeforces.com/problemsets/acmsguru/problem/99999/100
A, B = map(int, input().split())
print(A+B)
| 21.8 | 63 | 0.706422 | 17 | 109 | 4.529412 | 0.882353 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.082569 | 109 | 4 | 64 | 27.25 | 0.69 | 0.559633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0d4250f7a987e53e9577e6c7f20da5a97bdbd9b8 | 179 | py | Python | Vault7/Lost-in-Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/lp/gui/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 46 | 2017-05-15T11:15:08.000Z | 2018-07-02T03:32:52.000Z | Vault7/Lost-in-Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/lp/gui/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | null | null | null | Vault7/Lost-in-Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/lp/gui/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 24 | 2017-05-17T03:26:17.000Z | 2018-07-09T07:00:50.000Z |
# package dsz.lp.gui
import dsz
import dsz.lp.alias
import dsz.lp.cmdline
import dsz.path
import dsz.version
import os
import re
import sys
import xml.dom.minidom
| 12.785714 | 23 | 0.731844 | 30 | 179 | 4.366667 | 0.5 | 0.343511 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206704 | 179 | 13 | 24 | 13.769231 | 0.922535 | 0.100559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b4a3990b1a1cd7b2cfd6d17f2785722e825e8f32 | 129 | py | Python | demo/demo.py | nielsonf/hello_world | 90af4baa85900b3b5126b6dfc3031d3f2e149341 | [
"MIT"
] | null | null | null | demo/demo.py | nielsonf/hello_world | 90af4baa85900b3b5126b6dfc3031d3f2e149341 | [
"MIT"
] | null | null | null | demo/demo.py | nielsonf/hello_world | 90af4baa85900b3b5126b6dfc3031d3f2e149341 | [
"MIT"
] | null | null | null | def cube(a):
"""Cube the number a.
Args:
a (float): The number to be squared.
"""
return a**3
| 12.9 | 44 | 0.465116 | 18 | 129 | 3.333333 | 0.666667 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.403101 | 129 | 9 | 45 | 14.333333 | 0.766234 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b4b140e448380c58342a0ebe8fe920a461d0f033 | 821 | py | Python | Task/Balanced-brackets/Python/balanced-brackets-2.py | LaudateCorpus1/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2021-05-05T13:42:20.000Z | 2021-05-05T13:42:20.000Z | Task/Balanced-brackets/Python/balanced-brackets-2.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | Task/Balanced-brackets/Python/balanced-brackets-2.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | >>> from itertools import accumulate
>>> from random import shuffle
>>> def gen(n):
... txt = list('[]' * n)
... shuffle(txt)
... return ''.join(txt)
...
>>> def balanced(txt):
... brackets = ({'[': 1, ']': -1}.get(ch, 0) for ch in txt)
... return all(x>=0 for x in accumulate(brackets))
...
>>> for ... | 32.84 | 78 | 0.433618 | 90 | 821 | 3.955556 | 0.355556 | 0.252809 | 0.292135 | 0.47191 | 0.348315 | 0.348315 | 0.348315 | 0.348315 | 0.348315 | 0.348315 | 0 | 0.013841 | 0.295981 | 821 | 24 | 79 | 34.208333 | 0.602076 | 0 | 0 | 0.125 | 0 | 0 | 0.142509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.041667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.