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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
40fa71f183ff00e5708290bfd13ec85f4ce01150 | 231 | py | Python | agent/indy_catalyst_agent/transport/__init__.py | TelegramSam/indy-catalyst | 476f5a773d90d8b50960b49e63b823bd13325d4a | [
"Apache-2.0"
] | null | null | null | agent/indy_catalyst_agent/transport/__init__.py | TelegramSam/indy-catalyst | 476f5a773d90d8b50960b49e63b823bd13325d4a | [
"Apache-2.0"
] | null | null | null | agent/indy_catalyst_agent/transport/__init__.py | TelegramSam/indy-catalyst | 476f5a773d90d8b50960b49e63b823bd13325d4a | [
"Apache-2.0"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Callable
class InvalidTransportError(Exception):
pass
class BaseTransport(ABC):
@abstractmethod
def start(self, message_router: Callable) -> None:
pass
| 17.769231 | 54 | 0.735931 | 25 | 231 | 6.76 | 0.68 | 0.201183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199134 | 231 | 12 | 55 | 19.25 | 0.913514 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.25 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
dc09503577099505877062b04fbc0edbd20fd8fe | 55,267 | py | Python | lifeloopweb/db/migrations/alembic/versions/01e2a6b69547_editor_revisions.py | jaimecruz21/lifeloopweb | ba0ffe1ea94ba3323a4e9c66c9506a338cae3212 | [
"MIT"
] | null | null | null | lifeloopweb/db/migrations/alembic/versions/01e2a6b69547_editor_revisions.py | jaimecruz21/lifeloopweb | ba0ffe1ea94ba3323a4e9c66c9506a338cae3212 | [
"MIT"
] | null | null | null | lifeloopweb/db/migrations/alembic/versions/01e2a6b69547_editor_revisions.py | jaimecruz21/lifeloopweb | ba0ffe1ea94ba3323a4e9c66c9506a338cae3212 | [
"MIT"
] | null | null | null | """editor revisions
Revision ID: 01e2a6b69547
Revises: 431fad7763be
Create Date: 2018-04-23 12:34:38.435605
"""
from alembic import op
import sqlalchemy as sa
import lifeloopweb.db.models
from sqlalchemy.dialects import mysql
from sqlalchemy.sql import table, column
from sqlalchemy import String, Binary, Integer, Te... | 302.005464 | 1,438 | 0.734326 | 8,256 | 55,267 | 4.913275 | 0.133358 | 0.030175 | 0.052805 | 0.075436 | 0.506508 | 0.487131 | 0.477394 | 0.468149 | 0.458485 | 0.455108 | 0 | 0.030599 | 0.162683 | 55,267 | 182 | 1,439 | 303.664835 | 0.845968 | 0.002624 | 0 | 0.024096 | 0 | 0.722892 | 0.975814 | 0.031027 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012048 | false | 0.018072 | 0.246988 | 0 | 0.259036 | 0.006024 | 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 |
905379387df0e40a2dac102475150e06f5fc541c | 231 | py | Python | src/python/counter.py | dhermes/local-dd-agent | b5b577154c7bf2c80020a0d87aa3c111e7cead8c | [
"Apache-2.0"
] | 1 | 2021-05-20T20:59:49.000Z | 2021-05-20T20:59:49.000Z | src/python/counter.py | dhermes/local-dd-agent | b5b577154c7bf2c80020a0d87aa3c111e7cead8c | [
"Apache-2.0"
] | null | null | null | src/python/counter.py | dhermes/local-dd-agent | b5b577154c7bf2c80020a0d87aa3c111e7cead8c | [
"Apache-2.0"
] | null | null | null | import threading
class Counter:
def __init__(self):
self._count = 0
self._lock = threading.Lock()
def increment(self):
with self._lock:
self._count += 1
return self._count
| 17.769231 | 37 | 0.5671 | 26 | 231 | 4.692308 | 0.538462 | 0.221311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.34632 | 231 | 12 | 38 | 19.25 | 0.794702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
906bf65a463e189b18247f4edbfacb73a79a0fe1 | 23 | py | Python | examples/py24-0027-generator-expr2.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 8 | 2020-11-21T22:39:41.000Z | 2022-03-13T18:45:53.000Z | examples/py24-0027-generator-expr2.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 1 | 2021-12-10T10:45:38.000Z | 2021-12-10T10:45:38.000Z | examples/py24-0027-generator-expr2.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 1 | 2022-02-07T11:16:38.000Z | 2022-02-07T11:16:38.000Z | (1 for i in range(10))
| 11.5 | 22 | 0.608696 | 6 | 23 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.217391 | 23 | 1 | 23 | 23 | 0.611111 | 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 |
907a786fd43cb6e3a602d06cc9e4a7b8206249db | 144 | py | Python | src/dasher/__init__.py | mfaafm/dasher | 723e06b6da9b735eccf240e8f5405dffb84a478f | [
"MIT"
] | 12 | 2019-04-04T07:20:09.000Z | 2020-12-13T15:43:36.000Z | src/dasher/__init__.py | mfaafm/dasher | 723e06b6da9b735eccf240e8f5405dffb84a478f | [
"MIT"
] | 1 | 2019-07-15T11:53:11.000Z | 2019-07-16T20:58:34.000Z | src/dasher/__init__.py | mfaafm/dasher | 723e06b6da9b735eccf240e8f5405dffb84a478f | [
"MIT"
] | 1 | 2020-11-12T18:44:11.000Z | 2020-11-12T18:44:11.000Z | from .api import Api
from .app import Dasher
from .base import CustomWidget
__version__ = "0.3.1"
__all__ = ["Dasher", "Api", "CustomWidget"]
| 18 | 43 | 0.715278 | 20 | 144 | 4.75 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.152778 | 144 | 7 | 44 | 20.571429 | 0.754098 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
909cf8e17891b52339cde6815b38938b615dbb2e | 128 | py | Python | chapter5/py_hyllo.py | haru-256/ExpertPython3_Source | 5ef412ef217c6078248ff9546e23ed9b69aadcff | [
"MIT"
] | 112 | 2019-05-19T02:55:24.000Z | 2022-03-05T03:54:21.000Z | chapter5/py_hyllo.py | haru-256/ExpertPython3_Source | 5ef412ef217c6078248ff9546e23ed9b69aadcff | [
"MIT"
] | 1 | 2021-06-10T21:21:03.000Z | 2021-06-10T21:21:03.000Z | chapter5/py_hyllo.py | haru-256/ExpertPython3_Source | 5ef412ef217c6078248ff9546e23ed9b69aadcff | [
"MIT"
] | 72 | 2019-05-13T17:01:49.000Z | 2022-01-18T01:01:05.000Z | import hy # this import statement enables Hy language import hooks
import hyllo
if __name__ == "__main__":
hyllo.hello() | 18.285714 | 67 | 0.734375 | 17 | 128 | 5.058824 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195313 | 128 | 7 | 68 | 18.285714 | 0.834951 | 0.421875 | 0 | 0 | 0 | 0 | 0.109589 | 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 |
90e5b7e1b567ec01289706f1ba3bc792edbdb3af | 18,726 | py | Python | useroperations/migrations/0001_initial.py | SvenTUM/geoportal-sl | d6388256f28970d6f044d7a6701d427f74627be9 | [
"MIT"
] | 5 | 2021-05-31T06:21:03.000Z | 2022-02-27T05:39:15.000Z | useroperations/migrations/0001_initial.py | SvenTUM/geoportal-sl | d6388256f28970d6f044d7a6701d427f74627be9 | [
"MIT"
] | 16 | 2021-12-02T10:33:21.000Z | 2022-03-31T14:24:02.000Z | useroperations/migrations/0001_initial.py | SvenTUM/geoportal-sl | d6388256f28970d6f044d7a6701d427f74627be9 | [
"MIT"
] | 1 | 2021-06-01T07:15:54.000Z | 2021-06-01T07:15:54.000Z | # Generated by Django 2.1.3 on 2019-02-26 10:15
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Gui',
fields=[
... | 63.477966 | 163 | 0.594841 | 2,004 | 18,726 | 5.343812 | 0.116766 | 0.122701 | 0.089831 | 0.117471 | 0.816976 | 0.776543 | 0.700719 | 0.562984 | 0.472406 | 0.326454 | 0 | 0.022484 | 0.261348 | 18,726 | 294 | 164 | 63.693878 | 0.751735 | 0.002403 | 0 | 0.268293 | 1 | 0 | 0.169281 | 0.045559 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.017422 | 0.006969 | 0 | 0.020906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2906836cf1099ff2a82670d5d57336567b0cb381 | 19 | py | Python | test/integration/StaticFunction/protected no parameters.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 30 | 2019-10-29T12:47:50.000Z | 2022-02-12T06:41:39.000Z | test/integration/StaticFunction/protected no parameters.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 247 | 2017-09-21T17:11:18.000Z | 2019-10-08T12:59:07.000Z | test/integration/StaticFunction/protected no parameters.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 17 | 2017-10-01T16:53:20.000Z | 2018-11-28T07:20:35.000Z | #
Abc._def_ghi()
#
| 4.75 | 14 | 0.578947 | 3 | 19 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 3 | 15 | 6.333333 | 0.5625 | 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 |
292610261279998b65fb1f389e5d1ca2e4657b4d | 2,576 | py | Python | lale/lib/lale/__init__.py | ariffyasri/lale | 326012c3c3dd884fae0093fe0c45596e4f9c0d72 | [
"Apache-2.0"
] | 1 | 2020-04-28T11:27:48.000Z | 2020-04-28T11:27:48.000Z | lale/lib/lale/__init__.py | ariffyasri/lale | 326012c3c3dd884fae0093fe0c45596e4f9c0d72 | [
"Apache-2.0"
] | null | null | null | lale/lib/lale/__init__.py | ariffyasri/lale | 326012c3c3dd884fae0093fe0c45596e4f9c0d72 | [
"Apache-2.0"
] | 1 | 2020-07-30T10:06:23.000Z | 2020-07-30T10:06:23.000Z | # Copyright 2019 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 30.305882 | 74 | 0.770963 | 337 | 2,576 | 5.74184 | 0.32641 | 0.101292 | 0.159173 | 0.016537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003515 | 0.11646 | 2,576 | 84 | 75 | 30.666667 | 0.846661 | 0.729037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.052632 | 0.842105 | 0 | 0.842105 | 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 |
292d1f1802fba706f4ded8a67efe2b8fe3727fb6 | 1,124 | py | Python | lnbits/extensions/subdomains/migrations.py | taxmeifyoucan/lnbits | 19ae1ddf0d50b507135c418af9d5becc336d5ce3 | [
"MIT"
] | 258 | 2020-04-27T21:36:21.000Z | 2021-10-30T23:24:48.000Z | lnbits/extensions/subdomains/migrations.py | taxmeifyoucan/lnbits | 19ae1ddf0d50b507135c418af9d5becc336d5ce3 | [
"MIT"
] | 283 | 2020-04-27T17:23:12.000Z | 2021-11-01T10:07:20.000Z | lnbits/extensions/subdomains/migrations.py | taxmeifyoucan/lnbits | 19ae1ddf0d50b507135c418af9d5becc336d5ce3 | [
"MIT"
] | 109 | 2020-04-28T06:00:17.000Z | 2021-10-13T02:48:28.000Z | async def m001_initial(db):
await db.execute(
"""
CREATE TABLE subdomains.domain (
id TEXT PRIMARY KEY,
wallet TEXT NOT NULL,
domain TEXT NOT NULL,
webhook TEXT,
cf_token TEXT NOT NULL,
cf_zone_id TEXT NOT NULL,
des... | 26.761905 | 47 | 0.503559 | 119 | 1,124 | 4.680672 | 0.344538 | 0.238779 | 0.236984 | 0.071813 | 0.312388 | 0.312388 | 0.186715 | 0.186715 | 0.186715 | 0.186715 | 0 | 0.004739 | 0.436833 | 1,124 | 41 | 48 | 27.414634 | 0.875197 | 0 | 0 | 0.769231 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
293e584d633770e7fd3b32d9ace7fb62a4228da1 | 155 | py | Python | epsilon/compat.py | twisted/epsilon | 783910e1829688e95719a7d3151ec3e2cbb101fd | [
"MIT"
] | 4 | 2017-09-01T18:49:11.000Z | 2020-04-21T10:11:33.000Z | epsilon/compat.py | twisted/epsilon | 783910e1829688e95719a7d3151ec3e2cbb101fd | [
"MIT"
] | 35 | 2015-01-16T22:12:44.000Z | 2021-07-11T11:28:58.000Z | epsilon/compat.py | twisted/epsilon | 783910e1829688e95719a7d3151ec3e2cbb101fd | [
"MIT"
] | 8 | 2015-01-24T17:43:58.000Z | 2019-09-01T12:38:41.000Z | from six.moves import builtins
def _cmp(x, y):
return (x > y) - (x < y)
cmp = getattr(builtins, 'cmp', _cmp)
long = getattr(builtins, 'long', int)
| 15.5 | 37 | 0.619355 | 24 | 155 | 3.916667 | 0.541667 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212903 | 155 | 9 | 38 | 17.222222 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.045161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
296a7d3bba5f0a90a26c51d13d3ca05e8dc91a11 | 572 | py | Python | src/pymane/talents.py | Ostoic/pymane | 99d9efd17945058a8a46319605e231a0e185c98f | [
"MIT"
] | null | null | null | src/pymane/talents.py | Ostoic/pymane | 99d9efd17945058a8a46319605e231a0e185c98f | [
"MIT"
] | null | null | null | src/pymane/talents.py | Ostoic/pymane | 99d9efd17945058a8a46319605e231a0e185c98f | [
"MIT"
] | null | null | null | from typing import List
from pymane.log import get_logger
log = get_logger(__name__)
class TalentSpec:
def __init__(self, name: str, tree1_points: int = 0, tree2_points: int = 0, tree3_points: int = 0):
self.__name = name
self.__tree_points = [tree1_points, tree2_points, tree3_points]
def __str__(self):
retu... | 23.833333 | 100 | 0.715035 | 87 | 572 | 4.218391 | 0.310345 | 0.163488 | 0.190736 | 0.098093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.145105 | 572 | 23 | 101 | 24.869565 | 0.725971 | 0 | 0 | 0 | 0 | 0.066667 | 0.149123 | 0.124561 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.133333 | 0.266667 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
297ac05f014abb6a370872e66937336c50e4f32d | 90 | py | Python | djtest/management/apps.py | tmust/mini_python_blockchain | 3d0e6766de01a15843de4a56bb57e87ca716d2b8 | [
"Apache-2.0"
] | null | null | null | djtest/management/apps.py | tmust/mini_python_blockchain | 3d0e6766de01a15843de4a56bb57e87ca716d2b8 | [
"Apache-2.0"
] | null | null | null | djtest/management/apps.py | tmust/mini_python_blockchain | 3d0e6766de01a15843de4a56bb57e87ca716d2b8 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class LearnConfig(AppConfig):
name = 'management'
| 15 | 33 | 0.755556 | 10 | 90 | 6.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
462d16d03fb796835187913403a2bdcb02117a32 | 138 | py | Python | app/myblog/templatetags/extras.py | sridharjena97/blog | b0ba5ecb49598246177cfdfff07f76f7471e3a10 | [
"MIT"
] | null | null | null | app/myblog/templatetags/extras.py | sridharjena97/blog | b0ba5ecb49598246177cfdfff07f76f7471e3a10 | [
"MIT"
] | null | null | null | app/myblog/templatetags/extras.py | sridharjena97/blog | b0ba5ecb49598246177cfdfff07f76f7471e3a10 | [
"MIT"
] | null | null | null | from django import template
register= template.Library()
@register.filter(name='get_val')
def get_val(dict,key):
return dict.get(key) | 23 | 32 | 0.76087 | 21 | 138 | 4.904762 | 0.666667 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 138 | 6 | 33 | 23 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0.05036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
463516e1a99a9a5fbfe7c4eeb0de33545385525e | 21 | py | Python | vollseg/version.py | Kapoorlabs-paris/VollSeg | 636ab5c19a28f5bd25af81baeed397eaa0cc0332 | [
"BSD-3-Clause"
] | 2 | 2022-01-16T10:11:48.000Z | 2022-01-25T11:36:49.000Z | vollseg/version.py | Kapoorlabs-paris/VollSeg | 636ab5c19a28f5bd25af81baeed397eaa0cc0332 | [
"BSD-3-Clause"
] | 1 | 2022-01-13T23:35:44.000Z | 2022-01-15T05:04:10.000Z | vollseg/version.py | Kapoorlabs-paris/VollSeg | 636ab5c19a28f5bd25af81baeed397eaa0cc0332 | [
"BSD-3-Clause"
] | null | null | null | __version__ = '4.3.9' | 21 | 21 | 0.666667 | 4 | 21 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.095238 | 21 | 1 | 21 | 21 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4686545e4d025eacd55bf6ec9b7250e4a19314a0 | 910 | py | Python | exceptions.py | Darkened12/Trinity-Bot | 5107928605b9f3ba1a3f913a62c5855d838c321c | [
"MIT"
] | 2 | 2021-04-01T01:37:49.000Z | 2021-10-17T02:14:55.000Z | exceptions.py | Darkened12/Trinity-Bot | 5107928605b9f3ba1a3f913a62c5855d838c321c | [
"MIT"
] | null | null | null | exceptions.py | Darkened12/Trinity-Bot | 5107928605b9f3ba1a3f913a62c5855d838c321c | [
"MIT"
] | 1 | 2022-03-19T09:41:08.000Z | 2022-03-19T09:41:08.000Z | class MoveNotFound(Exception):
pass
class CharacterNotFound(Exception):
pass
class OptionError(Exception):
pass
class LimitError(Exception):
pass
class CharacterMainError(Exception):
pass
class CharacterSubError(Exception):
pass
class CommandNotFound(Exception):
pass
class Comm... | 11.518987 | 40 | 0.738462 | 80 | 910 | 8.4 | 0.2875 | 0.386905 | 0.508929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195604 | 910 | 78 | 41 | 11.666667 | 0.918033 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
468f897b2d461f9eaee03b8c24ecd3d2f11c1f7d | 187 | py | Python | spacetimeformer/lr_scheduler/__init__.py | Azerrroth/spacetimeformer | e822444a6d696a1edb9e446d6f3482a70681be3c | [
"MIT"
] | null | null | null | spacetimeformer/lr_scheduler/__init__.py | Azerrroth/spacetimeformer | e822444a6d696a1edb9e446d6f3482a70681be3c | [
"MIT"
] | null | null | null | spacetimeformer/lr_scheduler/__init__.py | Azerrroth/spacetimeformer | e822444a6d696a1edb9e446d6f3482a70681be3c | [
"MIT"
] | null | null | null | from .warmup_reduce_lr_on_plateau_scheduler import (
WarmupReduceLROnPlateauScheduler as WarmupReduceLROnPlateau,
)
from .transformer_lr_scheduler import TransformerLRScheduler
| 31.166667 | 65 | 0.855615 | 17 | 187 | 9 | 0.764706 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 187 | 5 | 66 | 37.4 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
46933170d98fd43ad97708c5ab0d4052c2269efe | 96 | py | Python | pyxb/bundles/opengis/examples/demo.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | pyxb/bundles/opengis/examples/demo.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | pyxb/bundles/opengis/examples/demo.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | import pyxb.bundles.opengis.gml as gml
dv = gml.DegreesType(32, direction='N')
print dv.toxml()
| 24 | 39 | 0.75 | 16 | 96 | 4.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.104167 | 96 | 3 | 40 | 32 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
46a534217d5d055c76d7393cfc2a65172153de7f | 29,188 | py | Python | sdk/python/v0.1-rc.4/setup.py | nmfta-repo/nmfta-opentelematics-prototype | 729e9391879e273545a4818558677b2e47261f08 | [
"Apache-2.0"
] | 2 | 2021-12-15T08:37:03.000Z | 2022-02-11T20:40:42.000Z | sdk/python/v0.1-rc.4/setup.py | nmfta-repo/nmfta-opentelematics-prototype | 729e9391879e273545a4818558677b2e47261f08 | [
"Apache-2.0"
] | 8 | 2019-12-04T22:56:46.000Z | 2022-02-10T08:23:29.000Z | sdk/python/v0.1-rc.4/setup.py | nmfta-repo/nmfta-opentelematics-prototype | 729e9391879e273545a4818558677b2e47261f08 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup, find_packages
# Try to convert markdown README to rst format for PyPI.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup(
name='opentelematicsapi',
version='0.1.... | 1,006.482759 | 28,396 | 0.791284 | 4,502 | 29,188 | 5.122612 | 0.244558 | 0.02064 | 0.021377 | 0.012141 | 0.136198 | 0.101639 | 0.092533 | 0.072934 | 0.057757 | 0.057757 | 0 | 0.005096 | 0.152837 | 29,188 | 29 | 28,397 | 1,006.482759 | 0.927569 | 0.00185 | 0 | 0.076923 | 0 | 0.423077 | 0.724024 | 0.014829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.038462 | 0.153846 | 0 | 0.153846 | 0.038462 | 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 |
d3e77abf7d3f137599d6ba8326c0990c9e4b0b90 | 174 | py | Python | analysis_notebooks/cache_dir/joblib/__main__-C%3A-Users-canto-Repositories-nrFano_Constraint/git-paper_notebooks-__ipython-input__/vsigmomEdw_NR/func_code.py | villano-lab/nrFano_paper2019 | f44565bfb3e45b2dfbe2a73cba9f620a7120abd7 | [
"MIT"
] | 2 | 2020-04-06T17:27:33.000Z | 2022-03-30T20:38:54.000Z | analysis_notebooks/cache_dir/joblib/__main__-C%3A-Users-canto-Repositories-nrFano_Constraint/git-paper_notebooks-__ipython-input__/vsigmomEdw_NR/func_code.py | villano-lab/nrFano_paper2019 | f44565bfb3e45b2dfbe2a73cba9f620a7120abd7 | [
"MIT"
] | null | null | null | analysis_notebooks/cache_dir/joblib/__main__-C%3A-Users-canto-Repositories-nrFano_Constraint/git-paper_notebooks-__ipython-input__/vsigmomEdw_NR/func_code.py | villano-lab/nrFano_paper2019 | f44565bfb3e45b2dfbe2a73cba9f620a7120abd7 | [
"MIT"
] | null | null | null | # first line: 1
@memory.cache
def vsigmomEdw_NR(Erecoil_keV, aH):
return [sigmomEdw(x,band='NR',label='GGA3',F=0.000001,V=4.0,aH=aH,alpha=(1/18.0)) for x in Erecoil_keV]
| 34.8 | 107 | 0.701149 | 35 | 174 | 3.4 | 0.742857 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0.103448 | 174 | 4 | 108 | 43.5 | 0.666667 | 0.074713 | 0 | 0 | 0 | 0 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3100e2de81865d750441cd6c6b20cb068448e59b | 1,735 | py | Python | rdmo/questions/migrations/0057_question_default_text.py | m6121/rdmo | db3990c7525138c6ce9634fc3e5b6b8ee9b915c8 | [
"Apache-2.0"
] | 77 | 2016-08-09T11:40:20.000Z | 2022-03-06T11:03:26.000Z | rdmo/questions/migrations/0057_question_default_text.py | m6121/rdmo | db3990c7525138c6ce9634fc3e5b6b8ee9b915c8 | [
"Apache-2.0"
] | 377 | 2016-07-01T13:59:36.000Z | 2022-03-30T13:53:19.000Z | rdmo/questions/migrations/0057_question_default_text.py | m6121/rdmo | db3990c7525138c6ce9634fc3e5b6b8ee9b915c8 | [
"Apache-2.0"
] | 47 | 2016-06-23T11:32:19.000Z | 2022-03-01T11:34:37.000Z | # Generated by Django 2.2.18 on 2021-03-29 13:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('questions', '0056_question_is_optional'),
]
operations = [
migrations.AddField(
model_name='question',
name='defaul... | 44.487179 | 188 | 0.654179 | 204 | 1,735 | 5.426471 | 0.259804 | 0.149051 | 0.135501 | 0.121951 | 0.763324 | 0.763324 | 0.763324 | 0.763324 | 0.34327 | 0.34327 | 0 | 0.018997 | 0.241499 | 1,735 | 38 | 189 | 45.657895 | 0.822188 | 0.026513 | 0 | 0.46875 | 1 | 0 | 0.379964 | 0.014819 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3166093f11bd4ca0e8ac296c55648d6c2b02faec | 51 | py | Python | crmsystem/routing/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | crmsystem/routing/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | crmsystem/routing/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | from .customer_routing import CustomerRouteHandler
| 25.5 | 50 | 0.901961 | 5 | 51 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
316c42b0f5928121c7d874c9777f097c3bf0d2e5 | 193 | py | Python | lesson 1/p5-concat.py | hamburgcodingschool/L2CX-January_new | dbabdbd09dc7b3eb918167e674f91ec6bffc45c8 | [
"MIT"
] | 1 | 2019-01-30T20:20:41.000Z | 2019-01-30T20:20:41.000Z | lesson 1/p5-concat.py | hamburgcodingschool/L2CX-January_new | dbabdbd09dc7b3eb918167e674f91ec6bffc45c8 | [
"MIT"
] | null | null | null | lesson 1/p5-concat.py | hamburgcodingschool/L2CX-January_new | dbabdbd09dc7b3eb918167e674f91ec6bffc45c8 | [
"MIT"
] | null | null | null | print("What is your first name?")
firstName = input()
print("What is your last name?")
lastName = input()
fullName = firstName + " " + lastName
greeting = "Hello " + fullName
print(greeting)
| 19.3 | 37 | 0.689119 | 24 | 193 | 5.541667 | 0.541667 | 0.135338 | 0.165414 | 0.225564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170984 | 193 | 9 | 38 | 21.444444 | 0.83125 | 0 | 0 | 0 | 0 | 0 | 0.279793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
316e2d146b1ad4223c394c2bf566c43f372a9244 | 1,946 | py | Python | Programa NeXT/Q05.py | pedronb/Exercicios-Python | 54db2ce48bbbba94a4ac25b32b3c1fd985347857 | [
"MIT"
] | null | null | null | Programa NeXT/Q05.py | pedronb/Exercicios-Python | 54db2ce48bbbba94a4ac25b32b3c1fd985347857 | [
"MIT"
] | null | null | null | Programa NeXT/Q05.py | pedronb/Exercicios-Python | 54db2ce48bbbba94a4ac25b32b3c1fd985347857 | [
"MIT"
] | null | null | null | # Faça um Programa que leia 2 números e em seguida pergunte ao usuário qual operação ele deseja realizar. O resultado da operação deve ser acompanhado de uma frase que diga se o número é:
#a. par ou ímpar;
#b. positivo ou negativo;
#c. inteiro ou decimal.
n1 = float(input('Digite um número: '))
n2 = float(input('Digit... | 24.325 | 187 | 0.601747 | 293 | 1,946 | 3.996587 | 0.228669 | 0.149445 | 0.170794 | 0.266439 | 0.665243 | 0.665243 | 0.665243 | 0.665243 | 0.665243 | 0.665243 | 0 | 0.018493 | 0.249743 | 1,946 | 80 | 188 | 24.325 | 0.783562 | 0.126927 | 0 | 0.825397 | 0 | 0 | 0.385841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
318fd9b5efbfab74cf487f3276478793d9251b1b | 144 | py | Python | mods/BlocksTower/main.py | gjacobrobertson/opennero-394n | cc549ca95e4b00e5dc375e702a3979a0f0930267 | [
"BSD-3-Clause"
] | null | null | null | mods/BlocksTower/main.py | gjacobrobertson/opennero-394n | cc549ca95e4b00e5dc375e702a3979a0f0930267 | [
"BSD-3-Clause"
] | null | null | null | mods/BlocksTower/main.py | gjacobrobertson/opennero-394n | cc549ca95e4b00e5dc375e702a3979a0f0930267 | [
"BSD-3-Clause"
] | null | null | null | # OpenNero will execute ModMain when this mod is loaded
from BlocksTower.client import ClientMain
def ModMain(mode = ""):
ClientMain(mode)
| 24 | 55 | 0.763889 | 19 | 144 | 5.789474 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 144 | 5 | 56 | 28.8 | 0.916667 | 0.368056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
319199da50e955f642e667db7b0ae6924e2a02b1 | 32 | py | Python | src/desktopautomator/data/__init__.py | vadimtitov/desktop-automator | c1538e53f8a8caee263e4e77b1847442a4c50465 | [
"Apache-2.0"
] | 1 | 2021-12-19T14:59:31.000Z | 2021-12-19T14:59:31.000Z | src/desktopautomator/data/__init__.py | vadimtitov/desktop-automator | c1538e53f8a8caee263e4e77b1847442a4c50465 | [
"Apache-2.0"
] | 3 | 2021-09-16T20:47:58.000Z | 2021-12-19T02:45:59.000Z | src/desktopautomator/data/__init__.py | vadimtitov/desktop-automator | c1538e53f8a8caee263e4e77b1847442a4c50465 | [
"Apache-2.0"
] | null | null | null | """Store project data files."""
| 16 | 31 | 0.65625 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.75 | 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 |
31a1c5af3e96e907f4d4c6bf980a7c51fa0685b9 | 303 | py | Python | amusement/parks/universal/UniversalStudiosFlorida.py | Fitblip/amusement | ff51cb94ec734d1186448c9e2cbfc01946763dbe | [
"MIT"
] | 22 | 2015-12-27T05:17:21.000Z | 2016-06-10T17:36:43.000Z | amusement/parks/universal/UniversalStudiosFlorida.py | Fitblip/amusement | ff51cb94ec734d1186448c9e2cbfc01946763dbe | [
"MIT"
] | 8 | 2017-02-22T01:41:39.000Z | 2018-07-03T17:53:15.000Z | amusement/parks/universal/UniversalStudiosFlorida.py | Fitblip/amusement | ff51cb94ec734d1186448c9e2cbfc01946763dbe | [
"MIT"
] | 5 | 2016-01-23T14:47:39.000Z | 2016-12-30T17:17:18.000Z | from amusement.parks.universal.UniversalPark import UniversalPark
class UniversalStudiosFlorida(UniversalPark):
def __init__(self):
super(UniversalStudiosFlorida, self).__init__()
def getId(self):
return 10010
def getName(self):
return 'Universal Studios Florida'
| 25.25 | 65 | 0.729373 | 29 | 303 | 7.344828 | 0.62069 | 0.093897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020492 | 0.194719 | 303 | 11 | 66 | 27.545455 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.082508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
31a1ccbb4f96474d5c947a1fc395ab9622c81fec | 692 | py | Python | minitorch/dtype.py | jstzwj/PyNeural | 5d05e983badb6a30f2cdf933aa680f87d3f54d0b | [
"MIT"
] | null | null | null | minitorch/dtype.py | jstzwj/PyNeural | 5d05e983badb6a30f2cdf933aa680f87d3f54d0b | [
"MIT"
] | null | null | null | minitorch/dtype.py | jstzwj/PyNeural | 5d05e983badb6a30f2cdf933aa680f87d3f54d0b | [
"MIT"
] | null | null | null |
class dtype(object):
def __init__(self):
super().__init__()
def is_floating_point(self) -> bool:
raise NotImplementedError('is_floating_point NotImplementedError')
def is_complex(self) -> bool:
raise NotImplementedError('is_complex NotImplementedError')
def is_signed(self) -... | 20.969697 | 74 | 0.666185 | 76 | 692 | 5.671053 | 0.263158 | 0.069606 | 0.104408 | 0.222738 | 0.575406 | 0.213457 | 0.213457 | 0.213457 | 0.213457 | 0.213457 | 0 | 0.015123 | 0.235549 | 692 | 32 | 75 | 21.625 | 0.799622 | 0 | 0 | 0.6 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.15 | 0.65 | 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 |
9ee118aa00ded389c8a78aabfe470e1d8e186ebd | 20 | py | Python | example_snippets/multimenus_snippets/NewSnippets/SymPy/Functions/Special functions/Elliptic integrals/Legendre incomplete elliptic integral of the third kind.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/SymPy/Functions/Special functions/Elliptic integrals/Legendre incomplete elliptic integral of the third kind.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/SymPy/Functions/Special functions/Elliptic integrals/Legendre incomplete elliptic integral of the third kind.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | elliptic_pi(n, z, m) | 20 | 20 | 0.7 | 5 | 20 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.722222 | 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 |
9ef2fe1b4a22b901ca6d5887b536de05d7dfe92c | 3,031 | py | Python | mathgenerator/funcs/__init__.py | adit098/mathgenerator | 22edff6736a2098346a02501b1add4f5418b94cb | [
"MIT"
] | null | null | null | mathgenerator/funcs/__init__.py | adit098/mathgenerator | 22edff6736a2098346a02501b1add4f5418b94cb | [
"MIT"
] | null | null | null | mathgenerator/funcs/__init__.py | adit098/mathgenerator | 22edff6736a2098346a02501b1add4f5418b94cb | [
"MIT"
] | null | null | null | import random
import math
import fractions
from ..__init__ import *
from .addition import *
from .subtraction import *
from .multiplication import *
from .division import *
from .binary_complement_1s import *
from .modulo_division import *
from .square_root import *
from .power_rule_differentiation import *
from .sq... | 30.009901 | 44 | 0.810624 | 412 | 3,031 | 5.652913 | 0.322816 | 0.399313 | 0.036496 | 0.045084 | 0.019751 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002268 | 0.127021 | 3,031 | 100 | 45 | 30.31 | 0.877929 | 0 | 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 |
9efe91d0c46d52b15d0cd7d379354d12d44ac0f9 | 285 | py | Python | Section09_Decorator/RegularDecorator/Circle.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | 1 | 2020-10-20T07:41:51.000Z | 2020-10-20T07:41:51.000Z | Section09_Decorator/RegularDecorator/Circle.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | Section09_Decorator/RegularDecorator/Circle.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | from Section09_Decorator.RegularDecorator.Shape import Shape
class Circle(Shape):
def __init__(self, radius=0.0):
self.radius = radius
def resize(self, factor):
self.radius *= factor
def __str__(self):
return f'A circle of radius {self.radius}'
| 21.923077 | 60 | 0.670175 | 37 | 285 | 4.918919 | 0.540541 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018265 | 0.231579 | 285 | 12 | 61 | 23.75 | 0.812785 | 0 | 0 | 0 | 0 | 0 | 0.112281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
730612051b6c63c03d2b61ad717db1ad7ef7917c | 214 | py | Python | enigma/base.py | satoshi03/enigma | 139c57e7c85b36e1378a61c987e46ad1aa87e92f | [
"MIT"
] | null | null | null | enigma/base.py | satoshi03/enigma | 139c57e7c85b36e1378a61c987e46ad1aa87e92f | [
"MIT"
] | null | null | null | enigma/base.py | satoshi03/enigma | 139c57e7c85b36e1378a61c987e46ad1aa87e92f | [
"MIT"
] | null | null | null | class Encoder():
def encode_char(self, char, order):
return char
def _to_index(self, char):
return ord(char) - ord('A')
def _to_char(self, index):
return chr(index + ord('A'))
| 21.4 | 39 | 0.579439 | 30 | 214 | 3.966667 | 0.433333 | 0.134454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280374 | 214 | 9 | 40 | 23.777778 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7306de8f7472e4c929a241e107b13e73b2377acb | 1,147 | py | Python | conan_ue4cli/data/boilerplate_templates/common/conanfile.py | JJC1138/conan-ue4cli | 76163a21cb63976cacfea46b024d80c12cf39313 | [
"MIT"
] | null | null | null | conan_ue4cli/data/boilerplate_templates/common/conanfile.py | JJC1138/conan-ue4cli | 76163a21cb63976cacfea46b024d80c12cf39313 | [
"MIT"
] | null | null | null | conan_ue4cli/data/boilerplate_templates/common/conanfile.py | JJC1138/conan-ue4cli | 76163a21cb63976cacfea46b024d80c12cf39313 | [
"MIT"
] | null | null | null | # EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
# THIS FILE WAS ORIGINALLY GENERATED BY CONAN-UE4CLI VERSION ${VERSION}.
from conans import ConanFile
import os
class ${MODULE}Conan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "json"
def _requireUnreal(self, dependen... | 38.233333 | 89 | 0.644289 | 145 | 1,147 | 5.048276 | 0.62069 | 0.069672 | 0.051913 | 0.04918 | 0.125683 | 0.125683 | 0.125683 | 0.125683 | 0.125683 | 0.125683 | 0 | 0.008187 | 0.254577 | 1,147 | 29 | 90 | 39.551724 | 0.847953 | 0.404534 | 0 | 0 | 1 | 0 | 0.118357 | 0.050725 | 0 | 0 | 0 | 0.034483 | 0 | 0 | null | null | 0.111111 | 0.222222 | null | null | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7340f3f90f710a155a0c69b60ddbf2f28846aff6 | 78 | py | Python | src/lib/dummy_threading.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 10 | 2015-11-13T17:02:40.000Z | 2021-02-09T23:21:05.000Z | src/lib/dummy_threading.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 43 | 2015-06-03T17:59:23.000Z | 2021-09-17T10:45:21.000Z | src/lib/dummy_threading.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 13 | 2017-07-02T03:16:46.000Z | 2021-07-05T14:53:56.000Z | raise NotImplementedError("dummy_threading is not yet implemented in Skulpt")
| 39 | 77 | 0.846154 | 10 | 78 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 1 | 78 | 78 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 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 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
73425a3d232fb68ac62bb20a064456a1db103365 | 224 | py | Python | hdfs3/__init__.py | HirniMeshram1/hdfs3 | 8ce1ae6d1045b7a4c90a5d4496e48a77a3e68567 | [
"BSD-3-Clause"
] | 143 | 2016-02-10T16:03:11.000Z | 2022-01-11T15:18:17.000Z | hdfs3/__init__.py | HirniMeshram1/hdfs3 | 8ce1ae6d1045b7a4c90a5d4496e48a77a3e68567 | [
"BSD-3-Clause"
] | 105 | 2016-02-10T15:35:52.000Z | 2021-02-10T02:00:42.000Z | hdfs3/__init__.py | HirniMeshram1/hdfs3 | 8ce1ae6d1045b7a4c90a5d4496e48a77a3e68567 | [
"BSD-3-Clause"
] | 38 | 2016-02-22T15:14:49.000Z | 2022-03-01T17:21:05.000Z | from __future__ import absolute_import
from .conf import conf
from .core import HDFileSystem, HDFile
from .mapping import HDFSMap
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 22.4 | 39 | 0.821429 | 30 | 224 | 5.7 | 0.466667 | 0.192982 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 224 | 9 | 40 | 24.888889 | 0.872449 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 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 |
7351db99ecd20ae4be9114fc15247ee059494f79 | 161 | py | Python | src/genui/projects/apps.py | Tontolda/genui | c5b7da7c5a99fc16d34878e2170145ac7c8e31c4 | [
"0BSD"
] | 15 | 2021-05-31T13:39:17.000Z | 2022-03-30T12:04:14.000Z | src/genui/projects/apps.py | martin-sicho/genui | ea7f1272030a13e8e253a7a9b6479ac6a78552d3 | [
"MIT"
] | 3 | 2021-04-08T22:02:22.000Z | 2022-03-16T09:10:20.000Z | src/genui/projects/apps.py | Tontolda/genui | c5b7da7c5a99fc16d34878e2170145ac7c8e31c4 | [
"0BSD"
] | 5 | 2021-03-04T11:00:54.000Z | 2021-12-18T22:59:22.000Z | from django.apps import AppConfig
class ProjectsConfig(AppConfig):
name = 'genui.projects'
def ready(self, force=False):
from . import signals
| 20.125 | 33 | 0.701863 | 19 | 161 | 5.947368 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21118 | 161 | 7 | 34 | 23 | 0.889764 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b41b183c680b3bf34fd0d96a36dd66a6772f7cd9 | 100 | py | Python | phoenix_api/apps.py | leonolan2020/phoenix | b5956a7003e548f01255cbd5d0d76cfd0ac77a81 | [
"MIT"
] | 1 | 2020-09-19T21:56:40.000Z | 2020-09-19T21:56:40.000Z | phoenix_api/apps.py | leonolan2020/phoenix | b5956a7003e548f01255cbd5d0d76cfd0ac77a81 | [
"MIT"
] | null | null | null | phoenix_api/apps.py | leonolan2020/phoenix | b5956a7003e548f01255cbd5d0d76cfd0ac77a81 | [
"MIT"
] | 5 | 2020-09-18T18:53:03.000Z | 2020-10-21T14:42:00.000Z | from django.apps import AppConfig
class PhoenixAndroidConfig(AppConfig):
name = 'phoenix_api'
| 16.666667 | 38 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 39 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.11 | 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 |
b41df7240bf9dd7a14d91d520b234cde3945ffae | 78 | py | Python | client.py | junpengxu/thunder | a7cf4ed4bac0ade4aac9f14dc66f74949f78a52f | [
"MIT"
] | null | null | null | client.py | junpengxu/thunder | a7cf4ed4bac0ade4aac9f14dc66f74949f78a52f | [
"MIT"
] | null | null | null | client.py | junpengxu/thunder | a7cf4ed4bac0ade4aac9f14dc66f74949f78a52f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2021/7/6 8:19 下午
# @Author : xu.junpeng
| 19.5 | 29 | 0.512821 | 13 | 78 | 3.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 0.24359 | 78 | 3 | 30 | 26 | 0.508475 | 0.910256 | 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 |
b45cd0cbddc8d708f12e4d74c07b457852f60b9e | 288 | py | Python | airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | null | null | null | airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | null | null | null | airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | null | null | null |
from .test_core import TestBasicRead, TestConnection, TestDiscovery, TestSpec
from .test_full_refresh import TestFullRefresh
from .test_incremental import TestIncremental
__all__ = ["TestSpec", "TestBasicRead", "TestConnection", "TestDiscovery", "TestFullRefresh", "TestIncremental"]
| 32 | 112 | 0.815972 | 26 | 288 | 8.730769 | 0.538462 | 0.105727 | 0.352423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 288 | 8 | 113 | 36 | 0.869732 | 0 | 0 | 0 | 0 | 0 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
b45d52863c7a1d2db23e5ed4a31a92ec458bf9d2 | 130 | py | Python | CybORG/CybORG/Shared/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 18 | 2021-08-20T15:07:55.000Z | 2022-03-11T12:05:15.000Z | CybORG/CybORG/Shared/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 7 | 2021-11-09T06:46:58.000Z | 2022-03-31T12:35:06.000Z | CybORG/CybORG/Shared/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 13 | 2021-08-17T00:26:31.000Z | 2022-03-29T20:06:45.000Z | from .Logger import CybORGLogger
from .Observation import Observation
from .Scenario import Scenario
from .Results import Results
| 26 | 36 | 0.846154 | 16 | 130 | 6.875 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 130 | 4 | 37 | 32.5 | 0.964912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b47e88e9dccc32fcc1574dfa2fa9c58c85e026da | 4,892 | py | Python | tests/expect_exception_test.py | danielrozenberg/expect-exception | f9193d88a7bdc1f74e6faa95b935387638e42cdd | [
"0BSD"
] | 1 | 2020-08-13T10:07:46.000Z | 2020-08-13T10:07:46.000Z | tests/expect_exception_test.py | danielrozenberg/expect-exception | f9193d88a7bdc1f74e6faa95b935387638e42cdd | [
"0BSD"
] | null | null | null | tests/expect_exception_test.py | danielrozenberg/expect-exception | f9193d88a7bdc1f74e6faa95b935387638e42cdd | [
"0BSD"
] | null | null | null | #!/usr/bin/env python3
"""Unit tests for expect_exception."""
import unittest
from expect_exception import *
class ExpectExceptionTest(unittest.TestCase):
"""Unit tests for expect_exception."""
def test_expected_exception(self):
with expect_exception(ZeroDivisionError) as ee:
self.assertEqual(Status.... | 33.054054 | 80 | 0.739575 | 551 | 4,892 | 6.328494 | 0.150635 | 0.081732 | 0.078291 | 0.071121 | 0.809865 | 0.765128 | 0.700029 | 0.633783 | 0.577287 | 0.574993 | 0 | 0.007219 | 0.178863 | 4,892 | 147 | 81 | 33.278912 | 0.860841 | 0.03148 | 0 | 0.605769 | 0 | 0 | 0.025196 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 1 | 0.192308 | false | 0.057692 | 0.019231 | 0.038462 | 0.298077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
81f0afbaa04c68f1a190a957730b3142308283f5 | 236 | py | Python | my_wallet/api/permissions.py | Bounty1993/my-wallet | c14f8efaa1c3b90f9d5b0a6c5b5aabb26ed541fa | [
"MIT"
] | null | null | null | my_wallet/api/permissions.py | Bounty1993/my-wallet | c14f8efaa1c3b90f9d5b0a6c5b5aabb26ed541fa | [
"MIT"
] | 8 | 2020-06-05T19:52:06.000Z | 2022-03-11T23:40:19.000Z | my_wallet/api/permissions.py | Bounty1993/my-wallet | c14f8efaa1c3b90f9d5b0a6c5b5aabb26ed541fa | [
"MIT"
] | null | null | null | from rest_framework.permissions import BasePermission
class IsOwnerOrReadOnly(BasePermission):
message = 'You must be the owner'
def has_object_permission(self, request, view, obj):
return obj.profile == request.user
| 26.222222 | 56 | 0.754237 | 28 | 236 | 6.25 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173729 | 236 | 8 | 57 | 29.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.088983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
c30e0b67c5bded5f1b7e91c071d84fff8344bcdd | 94 | py | Python | manage_app/apps.py | radekska/django-network-controller | 6bcb847cbe1efa7dee118974de5e49b4f411e5da | [
"MIT"
] | null | null | null | manage_app/apps.py | radekska/django-network-controller | 6bcb847cbe1efa7dee118974de5e49b4f411e5da | [
"MIT"
] | null | null | null | manage_app/apps.py | radekska/django-network-controller | 6bcb847cbe1efa7dee118974de5e49b4f411e5da | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ManageAppConfig(AppConfig):
name = 'manage_app'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 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 |
c31699bf8ab37fc452d8b3c2747bbc649901e5ca | 91 | py | Python | run.py | c4fcm/our-cup | c2f8cb53acd1855e994e8d762c576b6647be06f5 | [
"MIT"
] | 1 | 2019-03-07T10:40:02.000Z | 2019-03-07T10:40:02.000Z | run.py | mitmedialab/our-cup | c2f8cb53acd1855e994e8d762c576b6647be06f5 | [
"MIT"
] | 4 | 2018-06-15T13:20:35.000Z | 2019-06-11T01:00:42.000Z | run.py | mitmedialab/our-cup | c2f8cb53acd1855e994e8d762c576b6647be06f5 | [
"MIT"
] | null | null | null | import ourcup
if __name__ == "__main__":
ourcup.app.debug = True
ourcup.app.run()
| 15.166667 | 27 | 0.659341 | 12 | 91 | 4.333333 | 0.75 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208791 | 91 | 5 | 28 | 18.2 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c317b5d3a5782741595187c081a6b8fdaa0073f7 | 141 | py | Python | sutra-copyist/my-programing-training/url/dom_parser.py | pyohei/test | 3f12ad8519f5c5a13b1aab4509a0b44718ca8509 | [
"MIT"
] | null | null | null | sutra-copyist/my-programing-training/url/dom_parser.py | pyohei/test | 3f12ad8519f5c5a13b1aab4509a0b44718ca8509 | [
"MIT"
] | 4 | 2020-03-06T03:04:40.000Z | 2021-05-16T12:57:16.000Z | sutra-copyist/my-programing-training/url/dom_parser.py | pyohei/my-sandbox | 683af11781dae672a10eee5b5dd838d0f055fb04 | [
"MIT"
] | null | null | null | #!/usr/local/bin/python
#-*- coding: utf-8 -*-
from xml.dom.minidom import parse, parseString
domTest = parse("./test.xml")
print domTest
| 15.666667 | 46 | 0.687943 | 20 | 141 | 4.85 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.12766 | 141 | 8 | 47 | 17.625 | 0.780488 | 0.304965 | 0 | 0 | 0 | 0 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c325cc1dcdb3a0361228ebb4db08ffba4e3c8476 | 68 | py | Python | tests/example/nspkg/__init__.py | scbedd/sphinx-docfx-yaml | 1330a6621ccda57c016545e36968f07aef07e4db | [
"Apache-2.0"
] | 8 | 2018-07-28T14:18:04.000Z | 2021-10-15T08:21:25.000Z | tests/example/nspkg/__init__.py | scbedd/sphinx-docfx-yaml | 1330a6621ccda57c016545e36968f07aef07e4db | [
"Apache-2.0"
] | 12 | 2018-07-24T09:03:13.000Z | 2021-05-04T18:18:05.000Z | tests/example/nspkg/__init__.py | scbedd/sphinx-docfx-yaml | 1330a6621ccda57c016545e36968f07aef07e4db | [
"Apache-2.0"
] | 11 | 2017-10-30T09:31:32.000Z | 2021-03-11T23:20:12.000Z | # coding: utf-8
""" Package used for namespace package test.
""" | 17 | 45 | 0.647059 | 9 | 68 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.205882 | 68 | 4 | 46 | 17 | 0.796296 | 0.808824 | 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 |
c3298cb9dc36d55928cd1c7661274020a9ea6426 | 291 | py | Python | 8kyu/switch_case_bug_fixing_6.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | 1 | 2018-12-02T23:04:38.000Z | 2018-12-02T23:04:38.000Z | 8kyu/switch_case_bug_fixing_6.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | null | null | null | 8kyu/switch_case_bug_fixing_6.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | null | null | null | # http://www.codewars.com/kata/55c933c115a8c426ac000082/
def eval_object(v):
return {"+": v['a'] + v['b'],
"-": v['a'] - v['b'],
"/": v['a'] / v['b'],
"*": v['a'] * v['b'],
"%": v['a'] % v['b'],
"**": v['a'] ** v['b']}.get(v.get('operation', 1))
| 29.1 | 58 | 0.371134 | 40 | 291 | 2.675 | 0.4 | 0.11215 | 0.168224 | 0.224299 | 0.224299 | 0.224299 | 0.224299 | 0.224299 | 0.224299 | 0.224299 | 0 | 0.087963 | 0.257732 | 291 | 9 | 59 | 32.333333 | 0.407407 | 0.185567 | 0 | 0 | 0 | 0 | 0.119149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 4 |
c334fa562bae81a1236e20018e8e471791e39bb0 | 320 | py | Python | CircularLinkedList.py | VikramadityaJakkula/one-week-python | 201b30e97f9d653bbd75256f6ec34bcf07b77a5c | [
"MIT"
] | null | null | null | CircularLinkedList.py | VikramadityaJakkula/one-week-python | 201b30e97f9d653bbd75256f6ec34bcf07b77a5c | [
"MIT"
] | null | null | null | CircularLinkedList.py | VikramadityaJakkula/one-week-python | 201b30e97f9d653bbd75256f6ec34bcf07b77a5c | [
"MIT"
] | null | null | null | # Circular linked list is a linked list where all nodes
# are connected to form a circle.
# There is no NULL at the end.
# A circular linked list can be a
# singly circular linked list or doubly circular linked list.
from exceptions import Empty
class CircularLinkedList:
class Node:
| 21.333333 | 62 | 0.69375 | 47 | 320 | 4.723404 | 0.659574 | 0.225225 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275 | 320 | 14 | 63 | 22.857143 | 0.956897 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c33bdc0b03475e7a7077e187024522db3fb66fd3 | 1,016 | py | Python | src/haydi/__init__.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 5 | 2017-08-09T17:12:31.000Z | 2020-06-14T13:13:05.000Z | src/haydi/__init__.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 13 | 2017-01-31T15:42:13.000Z | 2017-12-04T11:24:26.000Z | src/haydi/__init__.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 2 | 2017-08-21T09:49:10.000Z | 2021-02-28T13:51:05.000Z | # Basic types
from .base.basictypes import Map, Set, Atom # noqa
# Domains
from .base.domain import Domain, StepSkip # noqa
from .base.product import Product, NamedProduct # noqa
from .base.sequence import Sequences # noqa
from .base.join import Join # noqa
from .base.mapping import Mappings # noqa
from .base.su... | 30.787879 | 76 | 0.764764 | 136 | 1,016 | 5.691176 | 0.352941 | 0.186047 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162402 | 1,016 | 32 | 77 | 31.75 | 0.909518 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
c340ddcddfe08263865700a2eb22cf348b0cd405 | 298 | py | Python | web/src/project/controllers/front_end.py | kmacdough/hack-harvard | c78a66c0ad7e35aa2bee6f730103c61480b8c447 | [
"MIT"
] | null | null | null | web/src/project/controllers/front_end.py | kmacdough/hack-harvard | c78a66c0ad7e35aa2bee6f730103c61480b8c447 | [
"MIT"
] | null | null | null | web/src/project/controllers/front_end.py | kmacdough/hack-harvard | c78a66c0ad7e35aa2bee6f730103c61480b8c447 | [
"MIT"
] | null | null | null | from flask import render_template, jsonify
from .. import app
@app.route('/startgame', methods=['GET'])
def hello():
# jinja2 templates
return render_template('hello.html', name="noname")
@app.route('/console', methods=['GET'])
def console():
return render_template('console.html') | 21.285714 | 55 | 0.694631 | 37 | 298 | 5.513514 | 0.540541 | 0.205882 | 0.127451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003891 | 0.137584 | 298 | 14 | 56 | 21.285714 | 0.789883 | 0.053691 | 0 | 0 | 0 | 0 | 0.185053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
c358f2a775eceea5cc3571bae9c53f6e7159ce4d | 328 | py | Python | cli/setup.py | gve-vse-tim/brahma-project-asic | c13b0638b966f9dd66bbdca5ba6cfa2b8a5f1dcf | [
"BSD-Source-Code"
] | 2 | 2020-07-23T20:29:25.000Z | 2020-09-02T13:13:44.000Z | cli/setup.py | gve-vse-tim/brahma-project-asic | c13b0638b966f9dd66bbdca5ba6cfa2b8a5f1dcf | [
"BSD-Source-Code"
] | 6 | 2021-03-10T04:18:15.000Z | 2022-02-26T22:19:00.000Z | cli/setup.py | gve-vse-tim/brahma-project-asic | c13b0638b966f9dd66bbdca5ba6cfa2b8a5f1dcf | [
"BSD-Source-Code"
] | 1 | 2020-08-18T15:59:37.000Z | 2020-08-18T15:59:37.000Z | from setuptools import setup, find_packages
setup(
name='brahma_cli',
version='0.1.0',
packages=find_packages(include=['brahma_cli', 'brahma_cli.*']),
install_requires=[
'requests',
'argparse',
'shortuuid',
'six',
],
entry_points={
'console_scripts': ['brahma-cli=brahma_cli.brahma:main'... | 19.294118 | 65 | 0.655488 | 38 | 328 | 5.421053 | 0.631579 | 0.218447 | 0.218447 | 0.174757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011029 | 0.170732 | 328 | 16 | 66 | 20.5 | 0.746324 | 0 | 0 | 0 | 0 | 0 | 0.344512 | 0.10061 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c359854d1e41a37fb398f8017544d9e788d786ef | 2,537 | py | Python | tests/test_phones.py | ELagunova/PyTraining_Task1 | bba9d1166a603b42ecb55e8a3fbadf955f70e87b | [
"Apache-2.0"
] | null | null | null | tests/test_phones.py | ELagunova/PyTraining_Task1 | bba9d1166a603b42ecb55e8a3fbadf955f70e87b | [
"Apache-2.0"
] | null | null | null | tests/test_phones.py | ELagunova/PyTraining_Task1 | bba9d1166a603b42ecb55e8a3fbadf955f70e87b | [
"Apache-2.0"
] | null | null | null | import allure
from model.contact import Contact
import re
def test_phones_on_home_page(app):
with allure.step('Check precondition'):
if app.contact.count() == 0:
app.contact.create(Contact(first_name="Adam", last_name="Collins",
address="781 Green Ave, H... | 55.152174 | 127 | 0.651557 | 321 | 2,537 | 4.915888 | 0.249221 | 0.076679 | 0.076046 | 0.072243 | 0.787706 | 0.755387 | 0.737643 | 0.717364 | 0.69455 | 0.641318 | 0 | 0.050104 | 0.244777 | 2,537 | 45 | 128 | 56.377778 | 0.773486 | 0 | 0 | 0.444444 | 0 | 0 | 0.246748 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.111111 | false | 0 | 0.083333 | 0.055556 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c375e752884d450c8606a47ddee9fd629bf4f3c3 | 342 | py | Python | lumen/showcase/serializers.py | kowabunga314/lumen | df2f87ca3c7fda19eafe99e8e59b3376c25cfd80 | [
"MIT"
] | null | null | null | lumen/showcase/serializers.py | kowabunga314/lumen | df2f87ca3c7fda19eafe99e8e59b3376c25cfd80 | [
"MIT"
] | null | null | null | lumen/showcase/serializers.py | kowabunga314/lumen | df2f87ca3c7fda19eafe99e8e59b3376c25cfd80 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from showcase.models import Photo, Series
class SeriesSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Series
fields = '__all__'
class PhotoSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Photo
... | 24.428571 | 63 | 0.730994 | 31 | 342 | 7.774194 | 0.548387 | 0.307054 | 0.348548 | 0.381743 | 0.423237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 342 | 14 | 64 | 24.428571 | 0.892593 | 0 | 0 | 0.4 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 |
c37a2cf9cc28363fe7db87e685e7992d367cf9bb | 508 | py | Python | powerline/renderers/bash_prompt.py | kruton/powerline | f6ddb95da5f41b8285cffd1d17c1ef46dc08a7d6 | [
"MIT"
] | 19 | 2015-09-01T20:49:16.000Z | 2022-01-08T22:13:23.000Z | powerline/renderers/bash_prompt.py | kruton/powerline | f6ddb95da5f41b8285cffd1d17c1ef46dc08a7d6 | [
"MIT"
] | null | null | null | powerline/renderers/bash_prompt.py | kruton/powerline | f6ddb95da5f41b8285cffd1d17c1ef46dc08a7d6 | [
"MIT"
] | 6 | 2019-04-25T03:42:35.000Z | 2020-06-05T15:25:23.000Z | # vim:fileencoding=utf-8:noet
from __future__ import absolute_import, unicode_literals
from powerline.renderers.shell import ShellRenderer
class BashPromptRenderer(ShellRenderer):
'''Powerline bash prompt segment renderer.'''
escape_hl_start = '\['
escape_hl_end = '\]'
character_translations = ShellRenderer.ch... | 25.4 | 69 | 0.748031 | 49 | 508 | 7.44898 | 0.591837 | 0.287671 | 0.19726 | 0.180822 | 0.19726 | 0.19726 | 0 | 0 | 0 | 0 | 0 | 0.002198 | 0.104331 | 508 | 19 | 70 | 26.736842 | 0.8 | 0.133858 | 0 | 0 | 0 | 0 | 0.041475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 |
c37d598e59e9dd9f85a24a6c02aa29dd9bd62ef5 | 1,222 | py | Python | QualityBreeze/Test.py | DweebsUnited/CodeMonkey | 3b27e9c189c897b06002498aea639bb44671848a | [
"BSD-3-Clause"
] | null | null | null | QualityBreeze/Test.py | DweebsUnited/CodeMonkey | 3b27e9c189c897b06002498aea639bb44671848a | [
"BSD-3-Clause"
] | 7 | 2016-06-03T05:41:27.000Z | 2018-08-07T07:09:40.000Z | QualityBreeze/Test.py | DweebsUnited/CodeMonkey | 3b27e9c189c897b06002498aea639bb44671848a | [
"BSD-3-Clause"
] | null | null | null | import Grid
g = Grid.Grid( )
# | 9 2 | 1
# 2 4 | 1 6 | 7 8
# | | 6 2 3
# ---------------------
# | 3 2 1 | 4
# | |
# 7 | 6 5 8 |
# ---------------------
# 4 3 6 | |
# 8 7 | 5 9 | 1 4
# 1 | 4 3 |
g.set( 0, 3, 9 )
g.set( 0, 5, 2 )
g.set( 0, 8, 1 )... | 16.078947 | 49 | 0.378069 | 256 | 1,222 | 1.804688 | 0.152344 | 0.277056 | 0.064935 | 0.025974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181579 | 0.378069 | 1,222 | 75 | 50 | 16.293333 | 0.426316 | 0.318331 | 0 | 0 | 0 | 0 | 0.018541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.023256 | null | null | 0.069767 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5ee7bf373dccd11c8e37aaea07573624a7c563f3 | 301 | py | Python | flow/core/kernel/lane_area_detectors/__init__.py | vallout/flow | 59871cab252e225fab2258dbfa53714a48d9e9ab | [
"MIT"
] | null | null | null | flow/core/kernel/lane_area_detectors/__init__.py | vallout/flow | 59871cab252e225fab2258dbfa53714a48d9e9ab | [
"MIT"
] | null | null | null | flow/core/kernel/lane_area_detectors/__init__.py | vallout/flow | 59871cab252e225fab2258dbfa53714a48d9e9ab | [
"MIT"
] | null | null | null | """Empty init file to ensure documentation for lane area detectors is created."""
from flow.core.kernel.lane_area_detectors.base import KernelLaneAreaDetector
from flow.core.kernel.lane_area_detectors.traci import TraCILaneAreaDetector
__all__ = ["KernelLaneAreaDetector", "TraCILaneAreaDetector"]
| 37.625 | 81 | 0.833887 | 35 | 301 | 6.942857 | 0.628571 | 0.098765 | 0.209877 | 0.148148 | 0.288066 | 0.288066 | 0.288066 | 0 | 0 | 0 | 0 | 0 | 0.089701 | 301 | 7 | 82 | 43 | 0.886861 | 0.249169 | 0 | 0 | 0 | 0 | 0.195455 | 0.195455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
5efe304cdcdfc73a36f804a42d533f082290fe9b | 89 | py | Python | glasses/apps.py | AlexixRugis/GLASS_SHOP | 9a2f8cc6b844875135733d5a5758bd61192f46ab | [
"MIT"
] | null | null | null | glasses/apps.py | AlexixRugis/GLASS_SHOP | 9a2f8cc6b844875135733d5a5758bd61192f46ab | [
"MIT"
] | null | null | null | glasses/apps.py | AlexixRugis/GLASS_SHOP | 9a2f8cc6b844875135733d5a5758bd61192f46ab | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GlassesConfig(AppConfig):
name = 'glasses'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
5eff865536fc35bf4668f6e2c6dd319fac5b961a | 66 | py | Python | abides-markets/abides_markets/agents/market_makers/__init__.py | jpmorganchase/ABIDES-jpmc-gym | 198736a1b1316190072356c980412569579f15a6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-09-23T13:17:26.000Z | 2021-09-23T13:17:26.000Z | abides-markets/abides_markets/agents/market_makers/__init__.py | jpmorganchase/ABIDES-gym | 198736a1b1316190072356c980412569579f15a6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | abides-markets/abides_markets/agents/market_makers/__init__.py | jpmorganchase/ABIDES-gym | 198736a1b1316190072356c980412569579f15a6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | from .adaptive_market_maker_agent import AdaptiveMarketMakerAgent
| 33 | 65 | 0.924242 | 7 | 66 | 8.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6f2b72155fe12e654d46cb31e8be8bb2bf784522 | 65 | py | Python | gdc_client/exceptions.py | hepoo6/gdc-client | 4453c6412aca55bcc458d710de148a4cabf95cd6 | [
"Apache-2.0"
] | null | null | null | gdc_client/exceptions.py | hepoo6/gdc-client | 4453c6412aca55bcc458d710de148a4cabf95cd6 | [
"Apache-2.0"
] | null | null | null | gdc_client/exceptions.py | hepoo6/gdc-client | 4453c6412aca55bcc458d710de148a4cabf95cd6 | [
"Apache-2.0"
] | null | null | null | class ClientError(Exception):
""" Base client error.
"""
| 16.25 | 29 | 0.615385 | 6 | 65 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 65 | 3 | 30 | 21.666667 | 0.8 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6f392dff219e6fd5af428a608cc3b238f985cc20 | 242 | py | Python | ingestion/src/airflow_provider_openmetadata/__init__.py | rongfengliang/OpenMetadata | f91bcc03f63cd193d40a21ce25a398cddb389fa4 | [
"Apache-2.0"
] | null | null | null | ingestion/src/airflow_provider_openmetadata/__init__.py | rongfengliang/OpenMetadata | f91bcc03f63cd193d40a21ce25a398cddb389fa4 | [
"Apache-2.0"
] | null | null | null | ingestion/src/airflow_provider_openmetadata/__init__.py | rongfengliang/OpenMetadata | f91bcc03f63cd193d40a21ce25a398cddb389fa4 | [
"Apache-2.0"
] | null | null | null | import metadata
def get_provider_config():
return {
"name": "OpenMetadata",
"description": "OpenMetadata <https://open-metadata.org/>",
"package-name": "openmetadata-ingestion",
"version": "0.0.1",
}
| 22 | 67 | 0.590909 | 23 | 242 | 6.130435 | 0.782609 | 0.22695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016304 | 0.239669 | 242 | 10 | 68 | 24.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.471074 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0.125 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
6f4ae35f421c1ce49f5ec991e9127406fb8821ad | 447 | py | Python | 0_Companies/IBM.py | allenalvin333/Hackerrank_Interview | b40981ef55d04fb14d81a6e1c9ade1878f59394d | [
"MIT"
] | 2 | 2021-11-21T07:59:17.000Z | 2021-11-25T13:41:50.000Z | 0_Companies/IBM.py | allenalvin333/Hackerrank_Interview | b40981ef55d04fb14d81a6e1c9ade1878f59394d | [
"MIT"
] | null | null | null | 0_Companies/IBM.py | allenalvin333/Hackerrank_Interview | b40981ef55d04fb14d81a6e1c9ade1878f59394d | [
"MIT"
] | 1 | 2021-09-20T16:20:07.000Z | 2021-09-20T16:20:07.000Z | # IBM Preliminary Test
direction,floor,floor_requests,z = input(),int(input()),sorted(list(map(int,input().split())),reverse=True),0
if(floor_requests[-1]>=0 and floor_requests[0]<=15 and (direction=="UP" or direction=="DN")):
while(floor_requests[z]>floor): z+=1
print(*(floor_requests[:z][::-1]+floor_request... | 63.857143 | 154 | 0.677852 | 70 | 447 | 4.214286 | 0.414286 | 0.352542 | 0.284746 | 0.128814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021635 | 0.069351 | 447 | 7 | 155 | 63.857143 | 0.6875 | 0.044743 | 0 | 0 | 0 | 0 | 0.039906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4891b62b57ab8471470edc6735a5ce560f5c3afe | 2,674 | py | Python | src/sdk/db/database_interface.py | jzlotek/drexel-tms-parser | 9d5582a441d490a8099252994f9e41dca36acf81 | [
"Apache-2.0"
] | null | null | null | src/sdk/db/database_interface.py | jzlotek/drexel-tms-parser | 9d5582a441d490a8099252994f9e41dca36acf81 | [
"Apache-2.0"
] | 6 | 2021-03-09T00:34:54.000Z | 2022-02-17T19:35:47.000Z | src/sdk/db/database_interface.py | jzlotek/drexel-tms-parser | 9d5582a441d490a8099252994f9e41dca36acf81 | [
"Apache-2.0"
] | null | null | null | import abc
class Database(abc.ABC):
@abc.abstractmethod
def __init__(self):
pass
# DB query building methods
@abc.abstractmethod
def year(self, year, query):
pass
@abc.abstractmethod
def section(self, section, query):
pass
@abc.abstractmethod
def crn(sel... | 23.051724 | 55 | 0.557218 | 324 | 2,674 | 4.549383 | 0.157407 | 0.075984 | 0.257802 | 0.264586 | 0.320896 | 0.104478 | 0.050204 | 0 | 0 | 0 | 0 | 0 | 0.308153 | 2,674 | 115 | 56 | 23.252174 | 0.796757 | 0.017577 | 0 | 0.422222 | 0 | 0 | 0.046494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0.211111 | 0.011111 | 0 | 0.255556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
48af3ec38a831e0a067a6b688e19c4c5bc77e7be | 844 | py | Python | actions/assets/json/clean.py | ejson03/Medical-Chatbot | 4810b2e98042884a7837a6a401e43be1a1f909b4 | [
"MIT"
] | 1 | 2021-01-10T07:31:30.000Z | 2021-01-10T07:31:30.000Z | actions/assets/json/clean.py | ejson03/Medical-Chatbot | 4810b2e98042884a7837a6a401e43be1a1f909b4 | [
"MIT"
] | null | null | null | actions/assets/json/clean.py | ejson03/Medical-Chatbot | 4810b2e98042884a7837a6a401e43be1a1f909b4 | [
"MIT"
] | 2 | 2021-01-10T07:31:39.000Z | 2021-01-10T08:12:26.000Z | import json
import random
with open('jokes.txt') as data_file:
data = json.load(data_file)
print(random.choice(data))
# new_jokes = []
# count = 0
# for joke in data:
# if joke.find("FUCK") != -1 or \
# joke.find("ass") != -1 or \
# joke.find("vagina") != -1 or \
... | 31.259259 | 44 | 0.469194 | 109 | 844 | 3.559633 | 0.357798 | 0.226804 | 0.180412 | 0.283505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.337678 | 844 | 26 | 45 | 32.461538 | 0.670841 | 0.765403 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
48b9508dac9db885fcb777649b2cd9e99049ac74 | 2,331 | py | Python | datariumdb_driver/pool.py | datariumdb/DatariumDB_Driver | e94d61787732a52006b8e9314fe7d9209f066dd8 | [
"Apache-2.0"
] | null | null | null | datariumdb_driver/pool.py | datariumdb/DatariumDB_Driver | e94d61787732a52006b8e9314fe7d9209f066dd8 | [
"Apache-2.0"
] | null | null | null | datariumdb_driver/pool.py | datariumdb/DatariumDB_Driver | e94d61787732a52006b8e9314fe7d9209f066dd8 | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta, abstractmethod
class AbstractPicker(metaclass=ABCMeta):
"""Abstract class for picker classes that pick connections from a pool."""
@abstractmethod
def pick(self, connections):
"""Picks a :class:`~datariumdb_driver.connection.Connection`
instance from the given lis... | 29.506329 | 78 | 0.632347 | 235 | 2,331 | 6.170213 | 0.234043 | 0.134483 | 0.188276 | 0.235172 | 0.557931 | 0.557931 | 0.471724 | 0.437241 | 0.4 | 0.36069 | 0 | 0.002909 | 0.262548 | 2,331 | 78 | 79 | 29.884615 | 0.840605 | 0.558988 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.05 | 0.05 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
48c68cda4ac7c1a7d6573aba67448667465f7303 | 15,095 | py | Python | python/reachy_sdk_api/camera_reachy_pb2_grpc.py | pollen-robotics/reachy-sdk-api | 3616b6014599eb79880c952ec803289d06a44268 | [
"Apache-2.0"
] | 1 | 2021-08-14T22:17:37.000Z | 2021-08-14T22:17:37.000Z | python/reachy_sdk_api/camera_reachy_pb2_grpc.py | pollen-robotics/reachy-sdk-api | 3616b6014599eb79880c952ec803289d06a44268 | [
"Apache-2.0"
] | 2 | 2021-03-24T13:57:45.000Z | 2021-06-22T13:27:46.000Z | python/reachy_sdk_api/camera_reachy_pb2_grpc.py | pollen-robotics/reachy-sdk-api | 3616b6014599eb79880c952ec803289d06a44268 | [
"Apache-2.0"
] | 2 | 2021-05-12T08:13:55.000Z | 2021-09-14T09:14:25.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import camera_reachy_pb2 as camera__reachy__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
class CameraServiceStub(object):
... | 45.466867 | 113 | 0.659755 | 1,337 | 15,095 | 7.124159 | 0.08377 | 0.066772 | 0.083465 | 0.055853 | 0.862572 | 0.788766 | 0.75832 | 0.685144 | 0.628661 | 0.584567 | 0 | 0.005227 | 0.264856 | 15,095 | 331 | 114 | 45.60423 | 0.853113 | 0.06055 | 0 | 0.614841 | 1 | 0 | 0.096989 | 0.059855 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070671 | false | 0 | 0.010601 | 0.031802 | 0.123675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48d602f0bf36200aa5b76883c3cae9fd93aaf9cc | 140 | py | Python | wagtail_events/views.py | thclark/wagtail_events | 1396239def8991dd25bfa48636f75ea586efb072 | [
"MIT"
] | 6 | 2019-06-11T16:27:48.000Z | 2021-07-27T09:45:02.000Z | wagtail_events/views.py | thclark/wagtail_events | 1396239def8991dd25bfa48636f75ea586efb072 | [
"MIT"
] | 11 | 2019-04-17T12:56:50.000Z | 2020-08-13T13:15:13.000Z | wagtail_events/views.py | thclark/wagtail_events | 1396239def8991dd25bfa48636f75ea586efb072 | [
"MIT"
] | 4 | 2019-09-10T16:15:23.000Z | 2022-03-09T09:43:50.000Z | from django.views.generic import DetailView
from wagtail_events.models import Event
class EventDetailView(DetailView):
model = Event
| 17.5 | 43 | 0.807143 | 17 | 140 | 6.588235 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 140 | 7 | 44 | 20 | 0.933333 | 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 |
48e297089f76fc9debcb66e37c1bdde12b8d7505 | 69 | py | Python | tributary/streaming/calculations/utils.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 357 | 2018-09-13T19:58:46.000Z | 2022-03-31T17:22:20.000Z | tributary/streaming/calculations/utils.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 109 | 2018-09-13T18:37:00.000Z | 2022-03-27T00:59:49.000Z | tributary/streaming/calculations/utils.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 36 | 2018-09-17T21:01:05.000Z | 2022-03-26T02:41:37.000Z | _CALCULATIONS_GRAPHVIZSHAPE = "ellipse"
def _raise(e):
raise e
| 11.5 | 39 | 0.724638 | 8 | 69 | 5.875 | 0.75 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 69 | 5 | 40 | 13.8 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48f0a1eb3dba7a05324a936c9d3e563d944e0492 | 105 | py | Python | magic_dot/exceptions.py | bonafideduck/magic_dot | b86ac2e8650b2e03e329aad3c501a2083283df21 | [
"BSD-3-Clause"
] | 2 | 2020-03-19T18:21:17.000Z | 2020-03-19T18:47:28.000Z | magic_dot/exceptions.py | bonafideduck/magic_dot | b86ac2e8650b2e03e329aad3c501a2083283df21 | [
"BSD-3-Clause"
] | 1 | 2020-03-27T23:27:42.000Z | 2020-05-01T01:37:06.000Z | magic_dot/exceptions.py | bonafideduck/magic_dot | b86ac2e8650b2e03e329aad3c501a2083283df21 | [
"BSD-3-Clause"
] | null | null | null | class NotFound(Exception):
"""The requested data was not found during a call to .get()."""
pass
| 21 | 67 | 0.657143 | 15 | 105 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219048 | 105 | 4 | 68 | 26.25 | 0.841463 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5b22c92c419b1498149b234a0c201f4a68f80920 | 823 | py | Python | desolvex/stopcriteria/iterationstopcriterion.py | cstatz/desolvex | 9dc9630360a17be667c4a881564f2c2090808c72 | [
"BSD-3-Clause"
] | null | null | null | desolvex/stopcriteria/iterationstopcriterion.py | cstatz/desolvex | 9dc9630360a17be667c4a881564f2c2090808c72 | [
"BSD-3-Clause"
] | null | null | null | desolvex/stopcriteria/iterationstopcriterion.py | cstatz/desolvex | 9dc9630360a17be667c4a881564f2c2090808c72 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
__author__ = 'christoph.statz <at> tu-dresden.de'
class IterationStopCriterion(object):
def __init__(self, variables_dict, maximum_iterations):
self.__maximum_iterations... | 22.861111 | 74 | 0.697448 | 91 | 823 | 5.736264 | 0.428571 | 0.17433 | 0.195402 | 0.199234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004658 | 0.217497 | 823 | 35 | 75 | 23.514286 | 0.805901 | 0.025516 | 0 | 0.095238 | 0 | 0 | 0.08761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.142857 | 0.095238 | 0.619048 | 0.047619 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d2bf0d76f819bea7a7a26bb334c5eaf16688b53d | 199 | py | Python | src/the_tale/the_tale/common/locks/exceptions.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/common/locks/exceptions.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/common/locks/exceptions.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
class LocksError(utils_exceptions.TheTaleError):
pass
class LockLostBeforeLockingError(LocksError):
MSG = 'lock "%(lock)s" lost before locking'
| 15.307692 | 48 | 0.763819 | 22 | 199 | 6.772727 | 0.772727 | 0.161074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145729 | 199 | 12 | 49 | 16.583333 | 0.876471 | 0 | 0 | 0 | 0 | 0 | 0.176768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 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 |
d2d5750ea3ae948fa23a130cbec2ab8433438d61 | 9,942 | py | Python | tests/node/test_search.py | Vernacular-ai/lute | b943c441d7fce6f7431eb413e13577260276b469 | [
"MIT"
] | 1 | 2021-06-27T01:54:36.000Z | 2021-06-27T01:54:36.000Z | tests/node/test_search.py | Vernacular-ai/lute | b943c441d7fce6f7431eb413e13577260276b469 | [
"MIT"
] | null | null | null | tests/node/test_search.py | Vernacular-ai/lute | b943c441d7fce6f7431eb413e13577260276b469 | [
"MIT"
] | 1 | 2021-06-27T02:12:34.000Z | 2021-06-27T02:12:34.000Z | import pytest
from lute.graph import Graph
from lute.node import Variable
from lute.node.fn import node_fn
from lute.node.search.constraint import ConstraintSearch
from lute.node.search.generic import Canonicalize, ExpansionSearch, ListSearch
def test_expansion():
exp = {
"hello": ["hola", "hello", "hey"]... | 34.884211 | 139 | 0.467109 | 1,174 | 9,942 | 3.96167 | 0.114991 | 0.049667 | 0.068802 | 0.081703 | 0.784562 | 0.756826 | 0.734681 | 0.70028 | 0.683079 | 0.680714 | 0 | 0.021182 | 0.278214 | 9,942 | 284 | 140 | 35.007042 | 0.617893 | 0 | 0 | 0.630252 | 0 | 0 | 0.31553 | 0 | 0 | 0 | 0 | 0 | 0.151261 | 1 | 0.042017 | false | 0 | 0.02521 | 0 | 0.067227 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d2f26c2421c6938bb442f72836bd8854dcdd8836 | 411 | py | Python | wtf.py | winfried/WTF | 862741787e932f503d48ccbfebede88ed4547944 | [
"MIT"
] | null | null | null | wtf.py | winfried/WTF | 862741787e932f503d48ccbfebede88ed4547944 | [
"MIT"
] | null | null | null | wtf.py | winfried/WTF | 862741787e932f503d48ccbfebede88ed4547944 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import time
import settings
import sites
import tests
if settings.tests_to_run == "ALL":
settings.tests_to_run = settings.tests.keys()
if __name__ == "__main__":
for tr in settings.tests_to_run:
print tr
tConfig = settings.tests[tr]
runner = tests.tests[tConfig[... | 19.571429 | 49 | 0.625304 | 52 | 411 | 4.673077 | 0.5 | 0.26749 | 0.185185 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274939 | 411 | 20 | 50 | 20.55 | 0.815436 | 0.048662 | 0 | 0 | 0 | 0 | 0.04359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.266667 | null | null | 0.066667 | 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 |
827c13fae1af6dfe8624ff8e52337063690814a0 | 79 | py | Python | WPTParser/Constants/__init__.py | Bharat23/wpt-parser | e5679c50c8658dfb139663ca3392a42d2c2ea327 | [
"MIT"
] | 1 | 2020-08-09T16:54:16.000Z | 2020-08-09T16:54:16.000Z | WPTParser/Constants/__init__.py | Bharat23/wpt-parser | e5679c50c8658dfb139663ca3392a42d2c2ea327 | [
"MIT"
] | null | null | null | WPTParser/Constants/__init__.py | Bharat23/wpt-parser | e5679c50c8658dfb139663ca3392a42d2c2ea327 | [
"MIT"
] | null | null | null | from WPTParser.Constants.RegexConstants import RegexConstants as RegexConstants | 79 | 79 | 0.911392 | 8 | 79 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 79 | 1 | 79 | 79 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82ba4417f4b34720321da30a0992a023f95b726a | 70 | py | Python | tests/perf/test_ozone_ar_speed_order_250.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/perf/test_ozone_ar_speed_order_250.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/perf/test_ozone_ar_speed_order_250.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.perf.test_ozone_ar_speed_many as gen
gen.run_test(250)
| 14 | 49 | 0.828571 | 14 | 70 | 3.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.1 | 70 | 4 | 50 | 17.5 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82d172824a8c5b57735f225cab0f7a72d13b7cb5 | 208 | py | Python | src/holocron/_core/__init__.py | ikalnytskyi/holocron | f0bda50f1aab7d1013fac5bd8fb01f7ebeb7bdc3 | [
"BSD-3-Clause"
] | 6 | 2016-11-27T11:53:18.000Z | 2021-02-08T00:37:59.000Z | src/holocron/_core/__init__.py | ikalnytskyi/holocron | f0bda50f1aab7d1013fac5bd8fb01f7ebeb7bdc3 | [
"BSD-3-Clause"
] | 25 | 2017-04-12T15:27:55.000Z | 2022-01-21T23:37:37.000Z | src/holocron/_core/__init__.py | ikalnytskyi/holocron | f0bda50f1aab7d1013fac5bd8fb01f7ebeb7bdc3 | [
"BSD-3-Clause"
] | 1 | 2020-11-15T17:49:36.000Z | 2020-11-15T17:49:36.000Z | """Holocron core resides there."""
from .application import Application
from .factories import create_app
from .items import Item, WebSiteItem
__all__ = ["Application", "create_app", "Item", "WebSiteItem"]
| 26 | 62 | 0.759615 | 24 | 208 | 6.333333 | 0.583333 | 0.118421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120192 | 208 | 7 | 63 | 29.714286 | 0.830601 | 0.134615 | 0 | 0 | 0 | 0 | 0.206897 | 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 |
82d242c3b9878ffe36c3b135292b0109ee5418ba | 47 | py | Python | smartmeter/__init__.py | mhvis/smartmeter | 6e965f65037acabf533a7b312a1be814c8fe0f4e | [
"MIT"
] | null | null | null | smartmeter/__init__.py | mhvis/smartmeter | 6e965f65037acabf533a7b312a1be814c8fe0f4e | [
"MIT"
] | null | null | null | smartmeter/__init__.py | mhvis/smartmeter | 6e965f65037acabf533a7b312a1be814c8fe0f4e | [
"MIT"
] | null | null | null | name = "smartmeter"
from .smartmeter import *
| 11.75 | 25 | 0.723404 | 5 | 47 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 26 | 15.666667 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82d5c19d09ce5741923f031b1c2822aec2f3668a | 30 | py | Python | AD-HOC/2413.py | jeconiassantos/uriissues | f6c32f8632b9940a4886240ea5d22300922dc79a | [
"MIT"
] | null | null | null | AD-HOC/2413.py | jeconiassantos/uriissues | f6c32f8632b9940a4886240ea5d22300922dc79a | [
"MIT"
] | null | null | null | AD-HOC/2413.py | jeconiassantos/uriissues | f6c32f8632b9940a4886240ea5d22300922dc79a | [
"MIT"
] | null | null | null | T = int(input())
print(T * 4)
| 10 | 16 | 0.533333 | 6 | 30 | 2.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.2 | 30 | 2 | 17 | 15 | 0.625 | 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 |
7d668f6f10595ffa87b1b7aad168883d12127150 | 258 | py | Python | test/XLSTest.py | godchaser/PlaySong | 1fbdcc1f3bf041730266ba3a632435d04ee0581d | [
"Apache-1.1"
] | 6 | 2016-04-29T13:24:22.000Z | 2021-08-01T18:35:32.000Z | test/XLSTest.py | godchaser/PlaySong | 1fbdcc1f3bf041730266ba3a632435d04ee0581d | [
"Apache-1.1"
] | 24 | 2015-02-17T20:31:50.000Z | 2016-05-05T19:55:40.000Z | test/XLSTest.py | godchaser/PlaySong | 1fbdcc1f3bf041730266ba3a632435d04ee0581d | [
"Apache-1.1"
] | null | null | null | import requests
url = 'http://localhost:9000/empty'
response = requests.get(url)
print response
url = 'http://localhost:9000/init'
response = requests.get(url)
print response
url = 'http://localhost:9000/update'
response = requests.get(url)
print response | 19.846154 | 36 | 0.751938 | 35 | 258 | 5.542857 | 0.342857 | 0.108247 | 0.247423 | 0.309278 | 0.747423 | 0.747423 | 0.56701 | 0.56701 | 0.56701 | 0.56701 | 0 | 0.052174 | 0.108527 | 258 | 13 | 37 | 19.846154 | 0.791304 | 0 | 0 | 0.6 | 0 | 0 | 0.312741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.3 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d73a82cb3e2d24adda024746e160a9e908ef465 | 113 | py | Python | data/models/__init__.py | njncalub/logistiko | 74b1d17bc76538de6f5f70c7eca927780d6b4113 | [
"MIT"
] | null | null | null | data/models/__init__.py | njncalub/logistiko | 74b1d17bc76538de6f5f70c7eca927780d6b4113 | [
"MIT"
] | null | null | null | data/models/__init__.py | njncalub/logistiko | 74b1d17bc76538de6f5f70c7eca927780d6b4113 | [
"MIT"
] | null | null | null | from .packages import Package
from .regions import Region
from .items import Item, ItemStatus, ItemStatusHistory
| 28.25 | 54 | 0.831858 | 14 | 113 | 6.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 3 | 55 | 37.666667 | 0.949495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7d7658fef61f01132bcf17576837cf6b41c14230 | 148 | py | Python | obat/forms.py | immanuelnadeak/temenin-isoman | 8a497f7defe402820045ab9b748a447fc2e8a5f9 | [
"MIT"
] | 1 | 2021-11-04T08:11:18.000Z | 2021-11-04T08:11:18.000Z | obat/forms.py | immanuelnadeak/temenin-isoman | 8a497f7defe402820045ab9b748a447fc2e8a5f9 | [
"MIT"
] | 1 | 2021-11-05T03:52:27.000Z | 2021-11-05T03:52:27.000Z | obat/forms.py | immanuelnadeak/temenin-isoman | 8a497f7defe402820045ab9b748a447fc2e8a5f9 | [
"MIT"
] | 4 | 2021-10-10T12:55:28.000Z | 2021-10-29T18:27:42.000Z | from django import forms
from .models import Obat
class ObatForm (forms.ModelForm):
class Meta:
model = Obat
fields = "__all__" | 21.142857 | 33 | 0.668919 | 18 | 148 | 5.277778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263514 | 148 | 7 | 34 | 21.142857 | 0.87156 | 0 | 0 | 0 | 0 | 0 | 0.04698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d977c0ade47bccf286ef68982818a4a8a052d48 | 762 | py | Python | paginas/migrations/0010_remove_publicacao_descricao_remove_publicacao_hora_and_more.py | DSheridanmt/Safety-Life | 522578858f8e063e14d0274de008c345ef2c0a75 | [
"MIT"
] | null | null | null | paginas/migrations/0010_remove_publicacao_descricao_remove_publicacao_hora_and_more.py | DSheridanmt/Safety-Life | 522578858f8e063e14d0274de008c345ef2c0a75 | [
"MIT"
] | null | null | null | paginas/migrations/0010_remove_publicacao_descricao_remove_publicacao_hora_and_more.py | DSheridanmt/Safety-Life | 522578858f8e063e14d0274de008c345ef2c0a75 | [
"MIT"
] | null | null | null | # Generated by Django 4.0 on 2022-03-13 19:19
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('paginas', '0009_remove_publicacao_imagem'),
]
operations = [
migrations.RemoveField(
model_name='publicacao',
name='descricao'... | 22.411765 | 53 | 0.531496 | 62 | 762 | 6.403226 | 0.5 | 0.264484 | 0.327456 | 0.377834 | 0.554156 | 0.554156 | 0 | 0 | 0 | 0 | 0 | 0.03681 | 0.358268 | 762 | 33 | 54 | 23.090909 | 0.775051 | 0.05643 | 0 | 0.555556 | 1 | 0 | 0.158996 | 0.040446 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7daa8b7f7670d51fc3c11e4061299848b32ff6f2 | 172 | py | Python | lesson16n3/code_gen/py_syntax/comment_gen_v16n3.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | lesson16n3/code_gen/py_syntax/comment_gen_v16n3.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | lesson16n3/code_gen/py_syntax/comment_gen_v16n3.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | class CommentGenV16n3:
@classmethod
def generate_comment(clazz, indent, line_list):
text = f"\n{indent}".join(line_list)
return f"{indent}{text}\n"
| 28.666667 | 51 | 0.656977 | 22 | 172 | 5 | 0.681818 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.209302 | 172 | 5 | 52 | 34.4 | 0.786765 | 0 | 0 | 0 | 1 | 0 | 0.151163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7dc17173ef31bf135b9b617c83998a6bbbcac5e4 | 1,319 | py | Python | DailyProgrammer/DP20160824B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20160824B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20160824B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2016-08-24] Challenge #280 [Intermediate] Anagram Maker
https://www.reddit.com/r/dailyprogrammer/comments/4zcly2/20160824_challenge_280_intermediate_anagram_maker/
# Description
Anagrams, where you take the letters from one or more words and rearrange them to spell something else, are a fun word
game.
In this c... | 32.975 | 119 | 0.750569 | 206 | 1,319 | 4.742718 | 0.650485 | 0.015353 | 0.021494 | 0.06346 | 0.073695 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025352 | 0.19257 | 1,319 | 39 | 120 | 33.820513 | 0.892019 | 0.944655 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
816c0bb32cbb9761f76322499bc40c3ada30d976 | 151 | py | Python | popelines/__init__.py | InfusionsoftAnalytics/popelines | 3a719eafb8acd025a1868c06ddf60bacb058c078 | [
"MIT"
] | 1 | 2019-01-12T00:54:14.000Z | 2019-01-12T00:54:14.000Z | build/lib/popelines/__init__.py | InfusionsoftAnalytics/popelines | 3a719eafb8acd025a1868c06ddf60bacb058c078 | [
"MIT"
] | 4 | 2019-01-12T00:37:43.000Z | 2019-02-22T06:20:54.000Z | popelines/__init__.py | InfusionsoftAnalytics/popelines | 3a719eafb8acd025a1868c06ddf60bacb058c078 | [
"MIT"
] | 1 | 2019-05-30T18:38:07.000Z | 2019-05-30T18:38:07.000Z | from popelines.main import popeline
from pkg_resources import get_distribution
name = 'popelines'
__version__ = get_distribution("popelines").version | 25.166667 | 51 | 0.834437 | 18 | 151 | 6.611111 | 0.611111 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099338 | 151 | 6 | 51 | 25.166667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 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 |
81aa6e2cba1723498fcd681566959fe5741c35ed | 98 | py | Python | example.py | lithiil/kanka-npc-creator | bfe4791ea74371ece4f14ec7a554bcc7377c73cd | [
"Apache-2.0"
] | 1 | 2020-07-26T22:06:53.000Z | 2020-07-26T22:06:53.000Z | example.py | lithiil/kanka-npc-creator | bfe4791ea74371ece4f14ec7a554bcc7377c73cd | [
"Apache-2.0"
] | null | null | null | example.py | lithiil/kanka-npc-creator | bfe4791ea74371ece4f14ec7a554bcc7377c73cd | [
"Apache-2.0"
] | null | null | null | from Generator import NpcGenerator
gen = NpcGenerator()
gen.create_npcs('Warhammer Fantasy', 5)
| 16.333333 | 39 | 0.785714 | 12 | 98 | 6.333333 | 0.833333 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.122449 | 98 | 5 | 40 | 19.6 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 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 |
81ad143506b01e5c5d27cc01e67ac97779696b5b | 185 | py | Python | game/serializers.py | infoshareacademy/jpydzr1-dkmap-django | 4fc34b2d721507b69a7fe945fd4ea3e5fd863828 | [
"MIT"
] | null | null | null | game/serializers.py | infoshareacademy/jpydzr1-dkmap-django | 4fc34b2d721507b69a7fe945fd4ea3e5fd863828 | [
"MIT"
] | 1 | 2021-03-20T18:56:37.000Z | 2021-03-20T18:56:37.000Z | game/serializers.py | infoshareacademy/jpydzr1-dkmap-django | 4fc34b2d721507b69a7fe945fd4ea3e5fd863828 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Board
class BoardSerializer(serializers.ModelSerializer):
class Meta:
model = Board
fields = '__all__'
| 18.5 | 51 | 0.724324 | 19 | 185 | 6.789474 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221622 | 185 | 9 | 52 | 20.555556 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0.037838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
81cd6a097c7b71793aa3020205729c34d0e71d61 | 367 | py | Python | preml/models/__init__.py | csaybar/preml | 5077a3ff83f3a99af5ce7a1a12eb7329289c8390 | [
"MIT"
] | null | null | null | preml/models/__init__.py | csaybar/preml | 5077a3ff83f3a99af5ce7a1a12eb7329289c8390 | [
"MIT"
] | null | null | null | preml/models/__init__.py | csaybar/preml | 5077a3ff83f3a99af5ce7a1a12eb7329289c8390 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for preML."""
__author__ = """Cesar Aybar Camacho"""
__email__ = 'csaybar@gmail.com'
__version__ = '0.1.0'
from .models import BayesianOptimization
from .models import show_parameter
from .models import lr_decayp
from .models import lightgbm_fitparams
from .models import ... | 24.466667 | 40 | 0.762943 | 50 | 367 | 5.24 | 0.66 | 0.229008 | 0.366412 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.128065 | 367 | 14 | 41 | 26.214286 | 0.803125 | 0.138965 | 0 | 0 | 0 | 0 | 0.132258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
c4a704e027277338f9865d4b94529b06dfeed43e | 230 | py | Python | mmpose/models/losses/__init__.py | woffett/mmpose | cf8cbf49759e745896b70ce69d412518568af33b | [
"Apache-2.0"
] | 1 | 2020-09-22T03:39:47.000Z | 2020-09-22T03:39:47.000Z | mmpose/models/losses/__init__.py | woffett/mmpose | cf8cbf49759e745896b70ce69d412518568af33b | [
"Apache-2.0"
] | null | null | null | mmpose/models/losses/__init__.py | woffett/mmpose | cf8cbf49759e745896b70ce69d412518568af33b | [
"Apache-2.0"
] | 1 | 2021-07-13T03:42:27.000Z | 2021-07-13T03:42:27.000Z | from .mse_loss import JointsMSELoss, JointsOHKMMSELoss
from .multi_loss_factory import AELoss, HeatmapLoss, MultiLossFactory
__all__ = [
'JointsMSELoss', 'JointsOHKMMSELoss', 'HeatmapLoss', 'AELoss',
'MultiLossFactory'
]
| 28.75 | 69 | 0.778261 | 20 | 230 | 8.6 | 0.6 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126087 | 230 | 7 | 70 | 32.857143 | 0.855721 | 0 | 0 | 0 | 0 | 0 | 0.273913 | 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 |
c4af3c37638fd92e5dad1c669799f11ff3b4608f | 27 | py | Python | src/pytorch_metric_learning/__init__.py | FadouaKhm/pytorch-metric-learning | 9eb792bcfc1616b599e6ee457514e3cb3a7235dd | [
"MIT"
] | 2 | 2020-08-06T16:33:51.000Z | 2021-06-09T03:24:19.000Z | src/pytorch_metric_learning/__init__.py | FadouaKhm/pytorch-metric-learning | 9eb792bcfc1616b599e6ee457514e3cb3a7235dd | [
"MIT"
] | null | null | null | src/pytorch_metric_learning/__init__.py | FadouaKhm/pytorch-metric-learning | 9eb792bcfc1616b599e6ee457514e3cb3a7235dd | [
"MIT"
] | null | null | null | __version__ = "0.9.89.dev2" | 27 | 27 | 0.703704 | 5 | 27 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.074074 | 27 | 1 | 27 | 27 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4dfc596c8c8ae907835dbcf9efecc20f25d924b | 53 | py | Python | AtCoder/ABC/A/page-2/069A.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | AtCoder/ABC/A/page-2/069A.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | AtCoder/ABC/A/page-2/069A.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | n, m = map(int, input().split())
print((n-1)*(m-1))
| 13.25 | 32 | 0.509434 | 11 | 53 | 2.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.132075 | 53 | 3 | 33 | 17.666667 | 0.543478 | 0 | 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 |
c4e76ed54e6562ddfc0d60b2e26e7f181cef193d | 264 | py | Python | src/baboon_tracking/mixins/baboons_mixin.py | radioactivebean0/baboon-tracking | 062351c514073aac8e1207b8b46ca89ece987928 | [
"MIT"
] | 6 | 2019-07-15T19:10:59.000Z | 2022-02-01T04:25:26.000Z | src/baboon_tracking/mixins/baboons_mixin.py | radioactivebean0/baboon-tracking | 062351c514073aac8e1207b8b46ca89ece987928 | [
"MIT"
] | 86 | 2019-07-02T17:59:46.000Z | 2022-02-01T23:23:08.000Z | src/baboon_tracking/mixins/baboons_mixin.py | radioactivebean0/baboon-tracking | 062351c514073aac8e1207b8b46ca89ece987928 | [
"MIT"
] | 7 | 2019-10-16T12:58:21.000Z | 2022-03-08T00:31:32.000Z | """
Mixin for returning baboon objects.
"""
from typing import List
from baboon_tracking.models.baboon import Baboon
class BaboonsMixin:
"""
Mixin for returning baboon objects.
"""
def __init__(self):
self.baboons: List[Baboon] = None
| 15.529412 | 48 | 0.681818 | 31 | 264 | 5.645161 | 0.580645 | 0.091429 | 0.194286 | 0.262857 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223485 | 264 | 16 | 49 | 16.5 | 0.853659 | 0.268939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 |
c4f1536eb878c51e0c654d3c969417778d8996d0 | 431 | py | Python | run.py | subhomoy-roy-choudhury/Pytorch-Chatbot | 918f4f5aac717dd56c9462aa413a028c1045eb62 | [
"MIT"
] | null | null | null | run.py | subhomoy-roy-choudhury/Pytorch-Chatbot | 918f4f5aac717dd56c9462aa413a028c1045eb62 | [
"MIT"
] | null | null | null | run.py | subhomoy-roy-choudhury/Pytorch-Chatbot | 918f4f5aac717dd56c9462aa413a028c1045eb62 | [
"MIT"
] | null | null | null | import os
print ("Starting script1")
os.system("pip install -r requirements.txt")
print ("script1 ended")
print ("Starting script2")
os.system("python yaml2json.py")
print ("script2 ended")
print ("Starting script3")
os.system("python convert.py")
print ("script3 ended")
print ("Starting script4")
os.system("python mer... | 26.9375 | 44 | 0.735499 | 59 | 431 | 5.372881 | 0.372881 | 0.205047 | 0.227129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028351 | 0.099768 | 431 | 16 | 45 | 26.9375 | 0.78866 | 0 | 0 | 0 | 0 | 0 | 0.560185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.0625 | 0 | 0.0625 | 0.625 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f2132474febe51bac34be2a89427ab7849f7f190 | 301 | py | Python | Postgres/Object/Course.py | EthanITA/isw-telegram | 2e77075cbf8ad3a4ef002e5952ca979815ece412 | [
"MIT"
] | null | null | null | Postgres/Object/Course.py | EthanITA/isw-telegram | 2e77075cbf8ad3a4ef002e5952ca979815ece412 | [
"MIT"
] | null | null | null | Postgres/Object/Course.py | EthanITA/isw-telegram | 2e77075cbf8ad3a4ef002e5952ca979815ece412 | [
"MIT"
] | null | null | null | class Course:
def __init__(self, records: dict = None):
self.id: int = records.get('Id')
self.name: str = records.get('CourseName')
self.about: str = records.get('About')
self.about_exam: str = records.get('About Exam')
self.site: str = records.get('Site')
| 37.625 | 56 | 0.601329 | 40 | 301 | 4.4 | 0.425 | 0.284091 | 0.295455 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242525 | 301 | 7 | 57 | 43 | 0.77193 | 0 | 0 | 0 | 0 | 0 | 0.10299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ef3c4c1cb7537040271287b761328bf50befd4c | 660 | py | Python | src/builder/TextBuilder.py | fuqinshen/Python-- | aaa5230354258e1bba761e483c8b9fb6be00402a | [
"MIT"
] | 31 | 2018-10-19T15:28:36.000Z | 2022-02-14T03:01:25.000Z | src/builder/TextBuilder.py | fuqinshen/Python-- | aaa5230354258e1bba761e483c8b9fb6be00402a | [
"MIT"
] | null | null | null | src/builder/TextBuilder.py | fuqinshen/Python-- | aaa5230354258e1bba761e483c8b9fb6be00402a | [
"MIT"
] | 10 | 2019-01-10T04:02:12.000Z | 2021-11-17T01:52:15.000Z | from Builder import Builder
class TextBuilder(Builder):
def __init__(self):
self.buffer = str()
def makeTitle(self, title):
self.buffer += "==============================\n"
self.buffer += " [ " + title + " ]\n"
self.buffer += "\n"
def makeString(self, str):
self.... | 24.444444 | 57 | 0.463636 | 69 | 660 | 4.376812 | 0.376812 | 0.331126 | 0.182119 | 0.18543 | 0.149007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298485 | 660 | 26 | 58 | 25.384615 | 0.647948 | 0 | 0 | 0.263158 | 0 | 0 | 0.131818 | 0.09697 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0.052632 | 0.473684 | 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 |
4808dffe29c6ade6dc68f27aa54ac3a681631252 | 357 | py | Python | hash_util.py | UzairJavaid/simulating-blockchain-data-for-nonce-prediction-with-AI | 14574bd7d6447fa81054eba13c4e40181a5a2231 | [
"MIT"
] | 1 | 2020-01-28T04:20:03.000Z | 2020-01-28T04:20:03.000Z | hash_util.py | UzairJavaid/simulating-blockchain-data-for-nonce-prediction-with-AI | 14574bd7d6447fa81054eba13c4e40181a5a2231 | [
"MIT"
] | null | null | null | hash_util.py | UzairJavaid/simulating-blockchain-data-for-nonce-prediction-with-AI | 14574bd7d6447fa81054eba13c4e40181a5a2231 | [
"MIT"
] | null | null | null | import hashlib as hl
import json
def hash_string_256(string):
return hl.sha256(string).hexdigest()
def hash_block(block):
""" Hashes a block and returns a string representation of it.
Arguments:
:block: The block that should be hashed.
"""
return hash_string_256(json.dum... | 23.8 | 72 | 0.669468 | 49 | 357 | 4.755102 | 0.632653 | 0.060086 | 0.111588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033088 | 0.238095 | 357 | 15 | 72 | 23.8 | 0.823529 | 0.319328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
48283a1c00c177555cb5877c8808e1326491a458 | 699 | py | Python | codility/test_perm_missing_elem.py | grzesk075/PythonSandbox | 9fa879b4a15a971258c458bbfe55c7a899c95ce5 | [
"MIT"
] | null | null | null | codility/test_perm_missing_elem.py | grzesk075/PythonSandbox | 9fa879b4a15a971258c458bbfe55c7a899c95ce5 | [
"MIT"
] | null | null | null | codility/test_perm_missing_elem.py | grzesk075/PythonSandbox | 9fa879b4a15a971258c458bbfe55c7a899c95ce5 | [
"MIT"
] | null | null | null | from unittest import TestCase, main
from codility.perm_missing_elem import solution
class TestOddOccurrencesInArray(TestCase):
def test_solution(self):
self.assertEqual(solution([1]), 2)
self.assertEqual(solution([2]), 1)
self.assertEqual(solution([1, 3]), 2)
self.assert... | 27.96 | 52 | 0.586552 | 84 | 699 | 4.75 | 0.357143 | 0.300752 | 0.461153 | 0.240602 | 0.260652 | 0.130326 | 0 | 0 | 0 | 0 | 0 | 0.068898 | 0.273248 | 699 | 24 | 53 | 29.125 | 0.716535 | 0 | 0 | 0 | 0 | 0 | 0.011852 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.055556 | false | 0 | 0.111111 | 0 | 0.222222 | 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 |
486487c8a793600bbcce673cfb32c15679c67b78 | 211 | py | Python | profiles/admin.py | gurleen-kaur1313/greivance-redressal_portal-1 | 07a01fce521d7b857d194e9e8908925569df25b2 | [
"MIT"
] | 1 | 2020-11-04T08:36:58.000Z | 2020-11-04T08:36:58.000Z | profiles/admin.py | gurleen-kaur1313/greivance-redressal_portal-1 | 07a01fce521d7b857d194e9e8908925569df25b2 | [
"MIT"
] | null | null | null | profiles/admin.py | gurleen-kaur1313/greivance-redressal_portal-1 | 07a01fce521d7b857d194e9e8908925569df25b2 | [
"MIT"
] | 2 | 2020-10-29T03:17:59.000Z | 2020-11-04T08:23:16.000Z | from django.contrib import admin
from .models import Profile
@admin.register(Profile)
class ProfileModelAdmin(admin.ModelAdmin):
list_display = ('user', 'location')
list_search_fields = ('user', 'location')
| 23.444444 | 42 | 0.767773 | 25 | 211 | 6.36 | 0.68 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109005 | 211 | 8 | 43 | 26.375 | 0.845745 | 0 | 0 | 0 | 0 | 0 | 0.113744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4870229d7706ce7d3683a6e89ef53c23e0c198f6 | 412 | py | Python | archfx_cloud/reports/exceptions.py | iotile/python_archfx_cloud | 0630f8dc5faa16ba47e592277191efc52f323919 | [
"MIT"
] | 1 | 2021-07-17T00:00:49.000Z | 2021-07-17T00:00:49.000Z | archfx_cloud/reports/exceptions.py | iotile/python_archfx_cloud | 0630f8dc5faa16ba47e592277191efc52f323919 | [
"MIT"
] | 4 | 2021-04-05T00:08:57.000Z | 2021-08-03T21:59:28.000Z | archfx_cloud/reports/exceptions.py | iotile/python_archfx_cloud | 0630f8dc5faa16ba47e592277191efc52f323919 | [
"MIT"
] | null | null | null | from typedargs.exceptions import KeyValueException as IOTileException
class DataError(IOTileException):
"""The method relied on data pass in by the user and the data was invalid.
This could be because a file was the wrong type or because a data provider
returned an unexpected result. The parameters passe... | 34.333333 | 78 | 0.759709 | 59 | 412 | 5.305085 | 0.762712 | 0.051118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208738 | 412 | 11 | 79 | 37.454545 | 0.960123 | 0.650485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
6f85584dac8ae1016491b98dbea35f77f76a0f4c | 238 | py | Python | hw_asr/model/__init__.py | iamilyasedunov/asr_project_template | fce2d6925ece333801a80593e451bdbdd2228a59 | [
"MIT"
] | null | null | null | hw_asr/model/__init__.py | iamilyasedunov/asr_project_template | fce2d6925ece333801a80593e451bdbdd2228a59 | [
"MIT"
] | null | null | null | hw_asr/model/__init__.py | iamilyasedunov/asr_project_template | fce2d6925ece333801a80593e451bdbdd2228a59 | [
"MIT"
] | null | null | null | from hw_asr.model.baseline_model import BaselineModel
from hw_asr.model.conv_model import QuartzNet
from hw_asr.model.baseline_rnn_model import BaselineRNNModel
__all__ = [
"BaselineModel",
"QuartzNet",
"BaselineRNNModel",
]
| 23.8 | 60 | 0.789916 | 29 | 238 | 6.103448 | 0.413793 | 0.101695 | 0.152542 | 0.237288 | 0.248588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 238 | 9 | 61 | 26.444444 | 0.859223 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6fd56a2f7effac8f90a84e07025aeee8e39ee736 | 53 | py | Python | music/helloworld.py | aphawkins/microbit | 8fa6a56504ef75082c3c4de7d962419eb8848b7a | [
"MIT"
] | null | null | null | music/helloworld.py | aphawkins/microbit | 8fa6a56504ef75082c3c4de7d962419eb8848b7a | [
"MIT"
] | null | null | null | music/helloworld.py | aphawkins/microbit | 8fa6a56504ef75082c3c4de7d962419eb8848b7a | [
"MIT"
] | null | null | null | from microbit import *
display.scroll("Hello World!") | 26.5 | 30 | 0.773585 | 7 | 53 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 2 | 30 | 26.5 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.