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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1606ce1896cca568d6c4d713ae23cede7d7ecefb | 26 | py | Python | mypy/version.py | jhance/mypy | 511f441506272cb35a1c430f188238e65f101310 | [
"PSF-2.0"
] | 1 | 2019-08-01T10:25:27.000Z | 2019-08-01T10:25:27.000Z | mypy/version.py | jhance/mypy | 511f441506272cb35a1c430f188238e65f101310 | [
"PSF-2.0"
] | null | null | null | mypy/version.py | jhance/mypy | 511f441506272cb35a1c430f188238e65f101310 | [
"PSF-2.0"
] | 1 | 2019-10-22T13:53:26.000Z | 2019-10-22T13:53:26.000Z | __version__ = '0.2.0-dev'
| 13 | 25 | 0.653846 | 5 | 26 | 2.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16222d1ed45fd3dab8293d973637aec3259a94e2 | 131 | py | Python | exporter/SynthesisFusionGltfExporter/gltf/utils/PyUtils.py | Autodesk/synthesis | 32e95ed5d5634c59d67aed18c0b87e1a2f9bc194 | [
"Apache-2.0"
] | 136 | 2016-07-11T23:31:33.000Z | 2022-03-29T21:14:23.000Z | exporter/SynthesisFusionGltfExporter/gltf/utils/PyUtils.py | hartisticexpressions/synthesis | 8267cf4c85b5d4236fefeab404afeb6090677f17 | [
"Apache-2.0"
] | 370 | 2016-08-16T22:33:02.000Z | 2022-03-23T23:57:18.000Z | exporter/SynthesisFusionGltfExporter/gltf/utils/PyUtils.py | hartisticexpressions/synthesis | 8267cf4c85b5d4236fefeab404afeb6090677f17 | [
"Apache-2.0"
] | 62 | 2016-07-28T17:54:17.000Z | 2021-07-15T13:15:59.000Z | from typing import *
def appendGetIndex(inList: List[any], value: any) -> int:
inList.append(value)
return len(inList) - 1 | 26.2 | 57 | 0.687023 | 18 | 131 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.183206 | 131 | 5 | 58 | 26.2 | 0.831776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
162a7a027ce54f997394d557e5df0eacd7a6eb12 | 304 | py | Python | whyis/blueprint/tableview/__init__.py | tolulomo/whyis | eb50ab3301eb7efd27a1a3f6fb2305dedd910397 | [
"Apache-2.0"
] | 31 | 2018-05-30T02:41:23.000Z | 2021-10-17T01:25:20.000Z | whyis/blueprint/tableview/__init__.py | tolulomo/whyis | eb50ab3301eb7efd27a1a3f6fb2305dedd910397 | [
"Apache-2.0"
] | 115 | 2018-04-07T00:59:11.000Z | 2022-03-02T03:06:45.000Z | whyis/blueprint/tableview/__init__.py | tolulomo/whyis | eb50ab3301eb7efd27a1a3f6fb2305dedd910397 | [
"Apache-2.0"
] | 25 | 2018-04-07T00:49:55.000Z | 2021-09-28T14:29:18.000Z | from .tableview_blueprint import tableview_blueprint
from .get_tableview import get_tableview as __get_tableview
from .post_tableview import post_tableview as __post_tableview
from .delete_tableview import delete_tableview as __delete_tableview
from .put_tableview import put_tableview as __put_tableview | 60.8 | 68 | 0.894737 | 42 | 304 | 5.952381 | 0.214286 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088816 | 304 | 5 | 69 | 60.8 | 0.902527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
168277c8b71a997967fbee2b16a2fcef9b664d9e | 73 | py | Python | run.py | micahaza/flask-gaming-demo | feb8a64943ef316bc87097414cb4c4fb1816232c | [
"MIT"
] | null | null | null | run.py | micahaza/flask-gaming-demo | feb8a64943ef316bc87097414cb4c4fb1816232c | [
"MIT"
] | null | null | null | run.py | micahaza/flask-gaming-demo | feb8a64943ef316bc87097414cb4c4fb1816232c | [
"MIT"
] | null | null | null | from flask_gaming import create_app
app = create_app('development.cfg')
| 18.25 | 35 | 0.808219 | 11 | 73 | 5.090909 | 0.727273 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 3 | 36 | 24.333333 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 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 |
16900bc1419ab272c9ebc6c382622e9b6ddb5b10 | 15 | py | Python | passwords/__init__.py | JaminCO/Passwordgen | f39b2b9e98b58529bde1803ae9242d87222e10be | [
"Apache-2.0"
] | null | null | null | passwords/__init__.py | JaminCO/Passwordgen | f39b2b9e98b58529bde1803ae9242d87222e10be | [
"Apache-2.0"
] | null | null | null | passwords/__init__.py | JaminCO/Passwordgen | f39b2b9e98b58529bde1803ae9242d87222e10be | [
"Apache-2.0"
] | null | null | null | #Testing init
| 7.5 | 14 | 0.733333 | 2 | 15 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 1 | 15 | 15 | 0.916667 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16c43153cbf59dae0073d95a1cac73af956409df | 95 | py | Python | JournalApp/apps.py | Aalena/journalProject | 50e251bb1ddfa05c8fdfbddf42f7751cee95136d | [
"MIT"
] | 1 | 2018-12-21T03:59:23.000Z | 2018-12-21T03:59:23.000Z | JournalApp/apps.py | Aalena/journalProject | 50e251bb1ddfa05c8fdfbddf42f7751cee95136d | [
"MIT"
] | null | null | null | JournalApp/apps.py | Aalena/journalProject | 50e251bb1ddfa05c8fdfbddf42f7751cee95136d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class JournalappConfig(AppConfig):
name = 'JournalApp'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
16c63e33d890d686885e921c1aadf5024a32ec54 | 20 | py | Python | version.py | Audiu/s3-backup | c0bce4e13814ceeb0af4995046d8cc5e12e8e03a | [
"MIT"
] | null | null | null | version.py | Audiu/s3-backup | c0bce4e13814ceeb0af4995046d8cc5e12e8e03a | [
"MIT"
] | null | null | null | version.py | Audiu/s3-backup | c0bce4e13814ceeb0af4995046d8cc5e12e8e03a | [
"MIT"
] | 1 | 2018-07-27T12:52:23.000Z | 2018-07-27T12:52:23.000Z | __version__= "v0.10" | 20 | 20 | 0.75 | 3 | 20 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.05 | 20 | 1 | 20 | 20 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
bc49b738674346aa5670e2a0fc7d8d968f02a4ed | 222 | py | Python | transactions/accounts/serializers.py | akash-dev-github/Transactions | 7f1b8897d914a1cf297aeff750c197d21ce98ca8 | [
"MIT"
] | null | null | null | transactions/accounts/serializers.py | akash-dev-github/Transactions | 7f1b8897d914a1cf297aeff750c197d21ce98ca8 | [
"MIT"
] | null | null | null | transactions/accounts/serializers.py | akash-dev-github/Transactions | 7f1b8897d914a1cf297aeff750c197d21ce98ca8 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from accounts.models import Account
class AccountSerializer(serializers.ModelSerializer):
class Meta:
model = Account
fields = ['owner', 'balance', 'currency']
| 22.2 | 53 | 0.725225 | 22 | 222 | 7.272727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193694 | 222 | 9 | 54 | 24.666667 | 0.893855 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 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 |
bc5a840b6c4f7cc7c25e687bee171a5aeed3201a | 38 | py | Python | hao_prj_hhl/common/keys.py | haohl-keepworking/hao_keep | cb0186a3378b437a1f9a4cfd066a10870180996b | [
"MIT"
] | 1 | 2019-10-09T03:22:17.000Z | 2019-10-09T03:22:17.000Z | hao_prj_hhl/common/keys.py | haohl-keepworking/hao_keep | cb0186a3378b437a1f9a4cfd066a10870180996b | [
"MIT"
] | 1 | 2019-10-08T08:25:48.000Z | 2019-10-08T08:25:48.000Z | hao_prj_hhl/common/keys.py | haohl-keepworking/hao_keep | cb0186a3378b437a1f9a4cfd066a10870180996b | [
"MIT"
] | null | null | null | '''缓存的 Key'''
VCODE_KEY = 'VCode-%s'
| 9.5 | 22 | 0.552632 | 6 | 38 | 3.333333 | 0.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 3 | 23 | 12.666667 | 0.625 | 0.184211 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc6af7d4c1073f09884027be4761de3e79ddc847 | 1,585 | py | Python | sdk/python/core/ydk/path/sessions/restconf_session.py | geordish/ydk-gen | eb95b2a86f61180a773b18d0c65b6b906ed542ee | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/core/ydk/path/sessions/restconf_session.py | geordish/ydk-gen | eb95b2a86f61180a773b18d0c65b6b906ed542ee | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/core/ydk/path/sessions/restconf_session.py | geordish/ydk-gen | eb95b2a86f61180a773b18d0c65b6b906ed542ee | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-07-22T04:04:44.000Z | 2020-07-22T04:04:44.000Z | # ----------------------------------------------------------------
# Copyright 2017 Cisco Systems
#
# 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/LICENS... | 38.658537 | 80 | 0.626498 | 177 | 1,585 | 5.468927 | 0.559322 | 0.061983 | 0.07438 | 0.033058 | 0.06405 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008078 | 0.218927 | 1,585 | 40 | 81 | 39.625 | 0.773829 | 0.48959 | 0 | 0 | 0 | 0 | 0.012788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.153846 | 0.153846 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
bcadbb09e59e1cdab7359a1e242c4a751a249149 | 82 | py | Python | docker/jupyter_config.py | xuebingwu/dragonn-x | 1ddbded87537de0b9bf1cb8df241827c31dc7ec8 | [
"MIT"
] | 1 | 2018-07-30T07:22:09.000Z | 2018-07-30T07:22:09.000Z | docker/jupyter_config.py | xuebingwu/dragonn-x | 1ddbded87537de0b9bf1cb8df241827c31dc7ec8 | [
"MIT"
] | null | null | null | docker/jupyter_config.py | xuebingwu/dragonn-x | 1ddbded87537de0b9bf1cb8df241827c31dc7ec8 | [
"MIT"
] | null | null | null | c.NotebookApp.allow_origin = '*'
c.NotebookApp.ip = '*'
c.NotebookApp.port = 8888
| 20.5 | 32 | 0.707317 | 11 | 82 | 5.181818 | 0.636364 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.109756 | 82 | 3 | 33 | 27.333333 | 0.726027 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bcbff0b58dbed66b4a9165235666285f66e7d4c7 | 89 | py | Python | djangosite/newbook/apps.py | neequole/nextbook-django | 8dc4ab8023eb2893e175bf2932e6dee4f03e8c0f | [
"MIT"
] | 1 | 2018-10-10T11:37:26.000Z | 2018-10-10T11:37:26.000Z | djangosite/newbook/apps.py | neequole/nextbook-django | 8dc4ab8023eb2893e175bf2932e6dee4f03e8c0f | [
"MIT"
] | 12 | 2018-10-10T00:39:50.000Z | 2019-10-23T18:31:53.000Z | djangosite/newbook/apps.py | neequole/nextbook-django | 8dc4ab8023eb2893e175bf2932e6dee4f03e8c0f | [
"MIT"
] | 7 | 2018-09-02T16:16:03.000Z | 2018-10-23T10:10:02.000Z | from django.apps import AppConfig
class NewbookConfig(AppConfig):
name = 'newbook'
| 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 |
bcc6f9e2704b61c1fb103bcf8ce2dd2f2d535d7d | 230 | py | Python | src/sage/version.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | null | null | null | src/sage/version.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | null | null | null | src/sage/version.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | null | null | null | # Sage version information for Python scripts
# This file is auto-generated by the sage-update-version script, do not edit!
version = '9.6.beta6'
date = '2022-03-27'
banner = 'SageMath version 9.6.beta6, Release Date: 2022-03-27'
| 38.333333 | 77 | 0.743478 | 39 | 230 | 4.384615 | 0.717949 | 0.093567 | 0.105263 | 0.163743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111675 | 0.143478 | 230 | 5 | 78 | 46 | 0.756345 | 0.517391 | 0 | 0 | 1 | 0 | 0.657407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bcf6d78d83917b8ae32e8ff7bc91a33b98f5bbed | 448 | py | Python | core/serializers.py | MikaelSantilio/2020-12-18-web-api-03 | a62548470b079d2064f8261b7289c8d7ebb5c121 | [
"MIT"
] | null | null | null | core/serializers.py | MikaelSantilio/2020-12-18-web-api-03 | a62548470b079d2064f8261b7289c8d7ebb5c121 | [
"MIT"
] | null | null | null | core/serializers.py | MikaelSantilio/2020-12-18-web-api-03 | a62548470b079d2064f8261b7289c8d7ebb5c121 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from core.models import Profile, Post, Comment
class ProfileSerializer(serializers.ModelSerializer):
class Meta:
model = Profile
fields = '__all__'
class PostSerializer(serializers.ModelSerializer):
class Meta:
model = Post
fields = '__a... | 22.4 | 53 | 0.698661 | 42 | 448 | 7.142857 | 0.452381 | 0.26 | 0.31 | 0.35 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234375 | 448 | 20 | 54 | 22.4 | 0.874636 | 0 | 0 | 0.428571 | 0 | 0 | 0.046771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 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 |
4c000675c189fe3335880a9353e61856ea2c2ae0 | 362 | py | Python | build/python/modules/assembly/__init__.py | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | build/python/modules/assembly/__init__.py | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 1 | 2022-03-01T01:12:04.000Z | 2022-03-01T01:17:26.000Z | build/python/modules/assembly/__init__.py | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | # Copyright 2021 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# The following modules use __all__ to control what gets imported here.
from .assembly_input_bundle import *
from .common import *
from .image_assembly_config... | 36.2 | 72 | 0.790055 | 56 | 362 | 4.946429 | 0.785714 | 0.108303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013201 | 0.162983 | 362 | 9 | 73 | 40.222222 | 0.90099 | 0.618785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4c230a56ff06b69c7d98400eec10b0da231106a0 | 133 | py | Python | python/jupyter-widget/sanddance_jupyter/tests/test_example.py | mariusgessler/SandDance | 53eb88f1b2c2b375552069f232bd34105421e02c | [
"MIT"
] | null | null | null | python/jupyter-widget/sanddance_jupyter/tests/test_example.py | mariusgessler/SandDance | 53eb88f1b2c2b375552069f232bd34105421e02c | [
"MIT"
] | null | null | null | python/jupyter-widget/sanddance_jupyter/tests/test_example.py | mariusgessler/SandDance | 53eb88f1b2c2b375552069f232bd34105421e02c | [
"MIT"
] | 1 | 2020-07-30T12:49:26.000Z | 2020-07-30T12:49:26.000Z | import pytest
from ..sanddance import SandDanceWidget
def test_default():
w = SandDanceWidget()
assert w.height == '60vh'
| 14.777778 | 39 | 0.706767 | 15 | 133 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.195489 | 133 | 8 | 40 | 16.625 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4c25071165611140c2da29622b2784d853bdeff2 | 108 | py | Python | transformer_pytorch/model/embedding/__init__.py | walkacross/transformer-pytorch | 6aa06889f6d10fceb5587b47aba15e65fa305074 | [
"Apache-2.0"
] | 1 | 2022-01-05T08:59:30.000Z | 2022-01-05T08:59:30.000Z | transformer_pytorch/model/embedding/__init__.py | walkacross/transformer-pytorch | 6aa06889f6d10fceb5587b47aba15e65fa305074 | [
"Apache-2.0"
] | null | null | null | transformer_pytorch/model/embedding/__init__.py | walkacross/transformer-pytorch | 6aa06889f6d10fceb5587b47aba15e65fa305074 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 16 10:32:58 2019
@author: allen
"""
| 12 | 35 | 0.592593 | 18 | 108 | 3.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 0.185185 | 108 | 8 | 36 | 13.5 | 0.568182 | 0.87963 | 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 |
4c39eab64dabcc52996c0fa7f02e463a4c463e5b | 280 | py | Python | cassiopeia/tools/__init__.py | YosefLab/Cassiopeia | 3002617a00e1281ef073a6f17b6dd55c3337bdad | [
"MIT"
] | 52 | 2019-05-14T02:06:24.000Z | 2022-03-27T05:22:56.000Z | cassiopeia/tools/__init__.py | YosefLab/Cassiopeia | 3002617a00e1281ef073a6f17b6dd55c3337bdad | [
"MIT"
] | 88 | 2019-06-07T15:07:45.000Z | 2022-03-22T14:40:03.000Z | cassiopeia/tools/__init__.py | YosefLab/Cassiopeia | 3002617a00e1281ef073a6f17b6dd55c3337bdad | [
"MIT"
] | 17 | 2019-05-17T00:46:16.000Z | 2022-03-25T00:39:18.000Z | """Top level for tools."""
from .autocorrelation import compute_morans_i
from .branch_length_estimator import IIDExponentialBayesian, IIDExponentialMLE
from .small_parsimony import fitch_count, fitch_hartigan, score_small_parsimony
from .topology import compute_expansion_pvalues | 46.666667 | 79 | 0.867857 | 34 | 280 | 6.823529 | 0.705882 | 0.112069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082143 | 280 | 6 | 80 | 46.666667 | 0.902724 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4c61a4974c971853262ffcb5fabc0c4b788fa72c | 261 | py | Python | information24/info/moduls/passport/__init__.py | LIJF13/information01 | 0bb7c09edb48170b327be11cb7648f32102ae853 | [
"MIT"
] | null | null | null | information24/info/moduls/passport/__init__.py | LIJF13/information01 | 0bb7c09edb48170b327be11cb7648f32102ae853 | [
"MIT"
] | 5 | 2021-03-18T23:11:03.000Z | 2022-03-11T23:44:04.000Z | information24/info/moduls/passport/__init__.py | LIJF13/information01 | 0bb7c09edb48170b327be11cb7648f32102ae853 | [
"MIT"
] | null | null | null | # 1.导入蓝图类
from flask import Blueprint
"""
1.导入蓝图类
2.创建蓝图对象
3.使用蓝图对象装饰视图函数
4.注册蓝图对象
"""
# 2.创建蓝图对象
# url_prefix: 登录注册模块的url访问前缀
passport_bp = Blueprint("passport", __name__, url_prefix="/passport")
from .views import *
# from info.moduls.index.views import *
| 15.352941 | 69 | 0.739464 | 36 | 261 | 5.166667 | 0.611111 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026432 | 0.130268 | 261 | 16 | 70 | 16.3125 | 0.792952 | 0.310345 | 0 | 0 | 0 | 0 | 0.134921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 4 |
4c713ca8946b19b6d5f9afb9a9cdf3ac00035306 | 674 | py | Python | sherlock/codelib/analyzer/function.py | Luavis/sherlock.py | 6974244c5ddb2f5e41aea2fbc7f913917fd15532 | [
"MIT"
] | 55 | 2017-02-12T08:22:44.000Z | 2022-01-08T12:34:53.000Z | sherlock/codelib/analyzer/function.py | Ronlin1/sherlock.py | 6974244c5ddb2f5e41aea2fbc7f913917fd15532 | [
"MIT"
] | 3 | 2017-02-24T16:23:40.000Z | 2022-02-05T19:54:26.000Z | sherlock/codelib/analyzer/function.py | Ronlin1/sherlock.py | 6974244c5ddb2f5e41aea2fbc7f913917fd15532 | [
"MIT"
] | 7 | 2017-01-17T17:34:59.000Z | 2022-02-15T15:23:17.000Z | from functools import reduce
from sherlock.codelib.analyzer.factory import ListManagerFactory
class Function(object):
def __init__(self, name, args_type, return_type, code_generator):
self.name = name
self.return_type = return_type
self.args_type = args_type
self.code_generator = c... | 33.7 | 120 | 0.704748 | 96 | 674 | 4.666667 | 0.364583 | 0.160714 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189911 | 674 | 19 | 121 | 35.473684 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.063798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.142857 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
d5cf4fcb7cf61449c471f98914213acd061202a0 | 96 | py | Python | .history/ClassFiles/ImagesInPython/Images_20210109170736.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/ImagesInPython/Images_20210109170736.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/ImagesInPython/Images_20210109170736.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | """ Working with Images in Python
What is Pul?
""" | 24 | 50 | 0.354167 | 8 | 96 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.572917 | 96 | 4 | 51 | 24 | 0.829268 | 0.4375 | 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 | 1 | 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 |
d5eaf5697e0f15e961d649c5a1357fa773e364d2 | 267 | py | Python | 6 kyu/matrix expanding.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 6 kyu/matrix expanding.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 6 kyu/matrix expanding.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def expand(maze, fill):
length=len(maze)
res=[[fill]*(length*2) for i in range(length*2)]
for i in range(length//2, length//2+length):
for j in range(length//2, length//2+length):
res[i][j]=maze[i-length//2][j-length//2]
return res | 38.142857 | 52 | 0.59176 | 47 | 267 | 3.361702 | 0.297872 | 0.35443 | 0.329114 | 0.265823 | 0.525316 | 0.525316 | 0.525316 | 0.272152 | 0 | 0 | 0 | 0.038095 | 0.213483 | 267 | 7 | 53 | 38.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9141790949f1ebd225380ea11ccd3883a87ce7d0 | 23 | py | Python | oi.py | lvgnsls/helloworld | 79fb82aa39f5df8ad9d213eb73de10ec52cac4ec | [
"MIT"
] | null | null | null | oi.py | lvgnsls/helloworld | 79fb82aa39f5df8ad9d213eb73de10ec52cac4ec | [
"MIT"
] | null | null | null | oi.py | lvgnsls/helloworld | 79fb82aa39f5df8ad9d213eb73de10ec52cac4ec | [
"MIT"
] | null | null | null | x = input('')
print(x)
| 7.666667 | 13 | 0.521739 | 4 | 23 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 2 | 14 | 11.5 | 0.631579 | 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 |
9153b0b625ba9aa9ff96ca04b8dde9991386f93c | 899 | py | Python | grr/client/client_plugins.py | ethicalhackeragnidhra/Grr | 9ff9178396d9d16575e42dded33627cb09ac3af1 | [
"Apache-2.0"
] | 1 | 2020-12-18T00:47:19.000Z | 2020-12-18T00:47:19.000Z | grr/client/client_plugins.py | ethicalhackeragnidhra/Grr | 9ff9178396d9d16575e42dded33627cb09ac3af1 | [
"Apache-2.0"
] | null | null | null | grr/client/client_plugins.py | ethicalhackeragnidhra/Grr | 9ff9178396d9d16575e42dded33627cb09ac3af1 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""Centralized import point for client plugins.
This acts as a centralized point for modules that need to be loaded for
the client components so that the client_startup.Init() function will find and
register them.
This also acts as a sensible single place to add deployment specific plugin
module... | 29.966667 | 78 | 0.78198 | 148 | 899 | 4.72973 | 0.5 | 0.08 | 0.13 | 0.19 | 0.12 | 0.12 | 0.12 | 0.12 | 0.12 | 0.12 | 0 | 0.002591 | 0.141268 | 899 | 29 | 79 | 31 | 0.904145 | 0.590656 | 0 | 0 | 0 | 0 | 0.044693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e699545c2c0e2cbfbb0e6c66a3c4755c10967039 | 237 | py | Python | src/TSC_Giveaway/__init__.py | TheSpatialCommunity/raffle_drawing | 09502e66046553dbd8a6cd467492556cc842583a | [
"MIT"
] | 1 | 2017-01-09T19:24:32.000Z | 2017-01-09T19:24:32.000Z | src/TSC_Giveaway/__init__.py | TheSpatialCommunity/raffle_drawing | 09502e66046553dbd8a6cd467492556cc842583a | [
"MIT"
] | null | null | null | src/TSC_Giveaway/__init__.py | TheSpatialCommunity/raffle_drawing | 09502e66046553dbd8a6cd467492556cc842583a | [
"MIT"
] | 1 | 2017-01-09T22:40:21.000Z | 2017-01-09T22:40:21.000Z | from choose_winners import choose_winners
from clean_giveaway_pool import clean_giveaway_pool
from get_active_users import get_active_users
from get_channel_member_ids import get_channel_member_ids
from get_json_data import get_json_data | 47.4 | 57 | 0.919831 | 40 | 237 | 4.95 | 0.375 | 0.106061 | 0.171717 | 0.191919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080169 | 237 | 5 | 58 | 47.4 | 0.908257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e69c13111497362aaceada70c4042c8af4ebe602 | 207 | py | Python | application.py | janbrohl/tometa | 8399257678d82c616926546996704a489caf30af | [
"BSD-3-Clause"
] | 1 | 2017-03-19T08:58:19.000Z | 2017-03-19T08:58:19.000Z | application.py | janbrohl/tometa | 8399257678d82c616926546996704a489caf30af | [
"BSD-3-Clause"
] | null | null | null | application.py | janbrohl/tometa | 8399257678d82c616926546996704a489caf30af | [
"BSD-3-Clause"
] | 2 | 2015-11-12T13:59:39.000Z | 2018-10-23T21:09:57.000Z | from tometa import App
application = App()
if __name__ == "__main__":
import wsgiref.simple_server
serv = wsgiref.simple_server.make_server("localhost", 8080, application)
serv.serve_forever()
| 23 | 76 | 0.73913 | 25 | 207 | 5.64 | 0.68 | 0.184397 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.15942 | 207 | 8 | 77 | 25.875 | 0.787356 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e69e6e2b81426070686db5942bb733bb5a27e669 | 131 | py | Python | api-gateway/tests/cli_client/__init__.py | Niweera/DNSTool-Middleware-API | 0e83d9f62fb65d9223b86a7876b3f30b2771befb | [
"Apache-2.0"
] | null | null | null | api-gateway/tests/cli_client/__init__.py | Niweera/DNSTool-Middleware-API | 0e83d9f62fb65d9223b86a7876b3f30b2771befb | [
"Apache-2.0"
] | 9 | 2021-06-12T05:39:59.000Z | 2021-08-14T09:20:00.000Z | api-gateway/tests/cli_client/__init__.py | Niweera/DNSTool-Middleware-API | 0e83d9f62fb65d9223b86a7876b3f30b2771befb | [
"Apache-2.0"
] | 2 | 2021-05-22T15:33:50.000Z | 2021-08-28T08:51:25.000Z | from tests.cli_client.CLI import CLI
def main():
cli: CLI = CLI()
cli.mock_run()
if __name__ == "__main__":
main()
| 11.909091 | 36 | 0.610687 | 19 | 131 | 3.684211 | 0.578947 | 0.257143 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244275 | 131 | 10 | 37 | 13.1 | 0.707071 | 0 | 0 | 0 | 0 | 0 | 0.061069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 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 | 0 | 0 | 4 |
e6ce9861495b2f1c9e62dc1d62b607c52fbed1da | 23 | py | Python | adminsortable2/__init__.py | rspeed/django-admin-sortable2-contrib | 3e145459dfaaa166a8a0a355a056f09ef1673b50 | [
"MIT"
] | 9 | 2020-04-29T14:43:35.000Z | 2021-07-09T02:07:24.000Z | adminsortable2/__init__.py | rspeed/django-admin-sortable2-contrib | 3e145459dfaaa166a8a0a355a056f09ef1673b50 | [
"MIT"
] | null | null | null | adminsortable2/__init__.py | rspeed/django-admin-sortable2-contrib | 3e145459dfaaa166a8a0a355a056f09ef1673b50 | [
"MIT"
] | null | null | null | __version__ = '0.6.16'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 |
e6d618296386f4e9ea7c4840a1dbf5106c916b4f | 122 | py | Python | esp32/frozen/_boot.py | peterson79/pycom-micropython-sigfox | 3f93fc2c02567c96f18cff4af9125db8fd7a6fb4 | [
"MIT"
] | 198 | 2017-03-24T23:23:54.000Z | 2022-01-07T07:14:00.000Z | esp32/frozen/_boot.py | peterson79/pycom-micropython-sigfox | 3f93fc2c02567c96f18cff4af9125db8fd7a6fb4 | [
"MIT"
] | 509 | 2017-03-28T19:37:18.000Z | 2022-03-31T20:31:43.000Z | esp32/frozen/_boot.py | peterson79/pycom-micropython-sigfox | 3f93fc2c02567c96f18cff4af9125db8fd7a6fb4 | [
"MIT"
] | 187 | 2017-03-24T23:23:58.000Z | 2022-02-25T01:48:45.000Z | # _boot.py -- always run on boot-up, even during safe boot
import os
from machine import UART
os.dupterm(UART(0, 115200))
| 24.4 | 58 | 0.745902 | 22 | 122 | 4.090909 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 0.155738 | 122 | 4 | 59 | 30.5 | 0.805825 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e6dcceee806532959ae22907bf6fb30c138edd7d | 9,667 | py | Python | plugins/module_utils/definitions/pnp_settings.py | robertcsapo/dnacenter-ansible | 33f776f8c0bc7113da73191c301dd1807e6b4a43 | [
"MIT"
] | null | null | null | plugins/module_utils/definitions/pnp_settings.py | robertcsapo/dnacenter-ansible | 33f776f8c0bc7113da73191c301dd1807e6b4a43 | [
"MIT"
] | null | null | null | plugins/module_utils/definitions/pnp_settings.py | robertcsapo/dnacenter-ansible | 33f776f8c0bc7113da73191c301dd1807e6b4a43 | [
"MIT"
] | null | null | null | from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import json
module_definition = json.loads(
"""{
"family": "device_onboarding_pnp",
"name": "pnp_settings",
"operations": {
"get": [
"get_pnp_global_settings"
],
"put": [
... | 33.682927 | 66 | 0.228302 | 351 | 9,667 | 6.173789 | 0.210826 | 0.209968 | 0.203969 | 0.148593 | 0.549146 | 0.273189 | 0.21689 | 0.151361 | 0.111675 | 0.111675 | 0 | 0.000312 | 0.668563 | 9,667 | 286 | 67 | 33.800699 | 0.67603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc02a046365855d5c54e7e881aeb7a48ccef77d7 | 180 | py | Python | virtual/bin/django-admin.py | markmumba/instagram | 76aa0d317dd82ddd5ea63edb9df173024039388f | [
"MIT"
] | null | null | null | virtual/bin/django-admin.py | markmumba/instagram | 76aa0d317dd82ddd5ea63edb9df173024039388f | [
"MIT"
] | 5 | 2020-06-05T22:45:49.000Z | 2021-09-08T01:16:17.000Z | virtual/bin/django-admin.py | markmumba/instagram | 76aa0d317dd82ddd5ea63edb9df173024039388f | [
"MIT"
] | null | null | null | #!/home/mark/Documents/Python-projects/django/IG-clone/virtual/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 30 | 73 | 0.794444 | 24 | 180 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 180 | 5 | 74 | 36 | 0.8 | 0.4 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc25b20262cb144cf66514ab5807c9b5d057f92e | 18 | py | Python | dtags/version.py | swsnider/dtags | 5ab8dae3d0fa11415d5d33f15f58c0f84e1f5445 | [
"MIT"
] | null | null | null | dtags/version.py | swsnider/dtags | 5ab8dae3d0fa11415d5d33f15f58c0f84e1f5445 | [
"MIT"
] | null | null | null | dtags/version.py | swsnider/dtags | 5ab8dae3d0fa11415d5d33f15f58c0f84e1f5445 | [
"MIT"
] | null | null | null | VERSION = '3.2.3'
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc35bae5bf5055e26189be4c1b39a6139c852198 | 175 | py | Python | config.py | homelearner69/TeachingandCitationDashboard | 9f1d894d912a4cd56029049a5e5a5df67e56b8a5 | [
"MIT"
] | 1 | 2022-01-21T04:00:47.000Z | 2022-01-21T04:00:47.000Z | config.py | homelearner69/TeachingandCitationDashboard | 9f1d894d912a4cd56029049a5e5a5df67e56b8a5 | [
"MIT"
] | 1 | 2021-06-02T02:28:27.000Z | 2021-06-02T02:28:27.000Z | config.py | homelearner69/TeachingandCitationDashboard | 9f1d894d912a4cd56029049a5e5a5df67e56b8a5 | [
"MIT"
] | null | null | null | import configparser
from sqlalchemy import create_engine
config = configparser.ConfigParser()
config.read('config.txt')
engine = create_engine(config.get('database', 'con')) | 25 | 53 | 0.794286 | 21 | 175 | 6.52381 | 0.571429 | 0.175182 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 175 | 7 | 53 | 25 | 0.85625 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
fc66693706ce858f00f5709e006dbabf1acc28e8 | 38 | py | Python | tests/demos/d11/pipeline_4/build_object_graph.py | iossifovlab/pipes | 52cb77afe5d8ce2fafe2479fd003a58515fce542 | [
"MIT"
] | null | null | null | tests/demos/d11/pipeline_4/build_object_graph.py | iossifovlab/pipes | 52cb77afe5d8ce2fafe2479fd003a58515fce542 | [
"MIT"
] | null | null | null | tests/demos/d11/pipeline_4/build_object_graph.py | iossifovlab/pipes | 52cb77afe5d8ce2fafe2479fd003a58515fce542 | [
"MIT"
] | null | null | null | def run(proj,OG):
OG.add('A','o')
| 12.666667 | 19 | 0.5 | 8 | 38 | 2.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 20 | 19 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d80f3634a06f71cf96e2ab834c1fff46ea8632a | 86 | py | Python | src/kotify/fabric/__init__.py | kotify/kotify.fabric | 5ce50a38210217f643c81438b53466b60fc16cb1 | [
"MIT"
] | null | null | null | src/kotify/fabric/__init__.py | kotify/kotify.fabric | 5ce50a38210217f643c81438b53466b60fc16cb1 | [
"MIT"
] | null | null | null | src/kotify/fabric/__init__.py | kotify/kotify.fabric | 5ce50a38210217f643c81438b53466b60fc16cb1 | [
"MIT"
] | null | null | null | from ._core import Collection, local, task
__all__ = ["task", "Collection", "local"]
| 21.5 | 42 | 0.697674 | 10 | 86 | 5.5 | 0.7 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 43 | 28.666667 | 0.743243 | 0 | 0 | 0 | 0 | 0 | 0.22093 | 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 |
5d957d47c7569dff094f98ec303de824565c7a05 | 100 | py | Python | python/ejemplo5.py | Tai-Son/Python-Chile | fd3aa28304caa806ee334686adbb029e81514912 | [
"MIT"
] | null | null | null | python/ejemplo5.py | Tai-Son/Python-Chile | fd3aa28304caa806ee334686adbb029e81514912 | [
"MIT"
] | null | null | null | python/ejemplo5.py | Tai-Son/Python-Chile | fd3aa28304caa806ee334686adbb029e81514912 | [
"MIT"
] | null | null | null | #/usr/bin/python
# -*-coding: iso-8859-15
a = "Cadena1"
b = "Cadena2"
c=a+b
print a
print b
print c
| 11.111111 | 24 | 0.64 | 20 | 100 | 3.2 | 0.65 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0.17 | 100 | 8 | 25 | 12.5 | 0.674699 | 0.38 | 0 | 0 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5daba790c5315aa93b053d1748063e34f7962ef0 | 927 | py | Python | aiotdlib/api/functions/test_square_int.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/test_square_int.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/test_square_int.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 33.107143 | 120 | 0.435814 | 72 | 927 | 5.541667 | 0.75 | 0.025063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330097 | 927 | 27 | 121 | 34.333333 | 0.642512 | 0.615965 | 0 | 0 | 1 | 0 | 0.057508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
5dbc78377864ea32ad7e2c761a1ecf7a609fefea | 119 | py | Python | custom_flask_graphql/__init__.py | PalmyreB/flask-graphql | 119b76eef620482ab29678d86dda4bbe0ed04a52 | [
"MIT"
] | null | null | null | custom_flask_graphql/__init__.py | PalmyreB/flask-graphql | 119b76eef620482ab29678d86dda4bbe0ed04a52 | [
"MIT"
] | null | null | null | custom_flask_graphql/__init__.py | PalmyreB/flask-graphql | 119b76eef620482ab29678d86dda4bbe0ed04a52 | [
"MIT"
] | null | null | null | from .graphiqlview import GraphiQLView
from .graphqlview import GraphQLView
__all__ = ['GraphQLView', 'GraphiQLView']
| 23.8 | 41 | 0.806723 | 11 | 119 | 8.363636 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 4 | 42 | 29.75 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.193277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5dd746937ab721ef4e09799e3942809678fe4858 | 96 | py | Python | graphql_api/apps.py | olubiyiontheweb/social_media_graphql_api | 917d837b85a1124071d6d6070821961d13547518 | [
"MIT"
] | 1 | 2019-11-12T18:21:08.000Z | 2019-11-12T18:21:08.000Z | graphql_api/apps.py | olubiyiontheweb/social_media_graphql_api | 917d837b85a1124071d6d6070821961d13547518 | [
"MIT"
] | 7 | 2020-09-06T09:50:59.000Z | 2022-02-26T14:59:54.000Z | graphql_api/apps.py | olubiyiontheweb/social_media_graphql_api | 917d837b85a1124071d6d6070821961d13547518 | [
"MIT"
] | 1 | 2019-07-13T00:17:37.000Z | 2019-07-13T00:17:37.000Z | from django.apps import AppConfig
class GraphqlApiConfig(AppConfig):
name = 'graphql_api'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 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 |
5dd7fcadc03a73b822fbc4f21f75b200a3a35258 | 17,211 | py | Python | testing.py | Healthedata1/CDEX-Signatures | 4da0185f019294d298368d2381b785dddb105593 | [
"CC0-1.0"
] | null | null | null | testing.py | Healthedata1/CDEX-Signatures | 4da0185f019294d298368d2381b785dddb105593 | [
"CC0-1.0"
] | null | null | null | testing.py | Healthedata1/CDEX-Signatures | 4da0185f019294d298368d2381b785dddb105593 | [
"CC0-1.0"
] | null | null | null | '''
(venv37) ERICS-AIR-2:Venv ehaas$ openssl rsa -in jwt-key -pubout > jwt-key.pub
writing RSA key
(venv37) ERICS-AIR-2:Venv ehaas$ cat jwt-key.pub
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEArHUXG64QmYaRhqWRe4Ny
Bvu9G0KPZHd0Lm70gnCJ8pdbgsHS8FzfxxS/qzcGGPNYPKOMNHMfvo2s/ctP472P
aTzUkfjWgJozETI... | 42.080685 | 1,034 | 0.779792 | 1,873 | 17,211 | 7.052856 | 0.342232 | 0.043301 | 0.032703 | 0.024981 | 0.330734 | 0.317033 | 0.300227 | 0.287661 | 0.287661 | 0.287661 | 0 | 0.185996 | 0.092208 | 17,211 | 408 | 1,035 | 42.183824 | 0.659498 | 0.506537 | 0 | 0.396739 | 0 | 0.01087 | 0.618633 | 0.400692 | 0 | 1 | 0 | 0 | 0.027174 | 1 | 0 | false | 0 | 0.032609 | 0 | 0.032609 | 0.206522 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9067f9a81cecaebc49f08807bbc33fa309588d8 | 150 | py | Python | p0sx/pos/exceptions.py | bluesnail95m/nuxis | 7539404c65972efb988e5fd2eca216f4fc59d9ab | [
"MIT"
] | 3 | 2016-04-28T10:38:43.000Z | 2020-10-05T17:46:09.000Z | p0sx/pos/exceptions.py | bluesnail95m/nuxis | 7539404c65972efb988e5fd2eca216f4fc59d9ab | [
"MIT"
] | 12 | 2016-04-20T11:11:17.000Z | 2021-08-22T09:28:02.000Z | p0sx/pos/exceptions.py | bluesnail95m/nuxis | 7539404c65972efb988e5fd2eca216f4fc59d9ab | [
"MIT"
] | 6 | 2016-04-28T09:47:30.000Z | 2021-02-19T15:47:36.000Z | class SumUpException(Exception):
pass
class SumUpNoAccessCode(SumUpException):
pass
class SumUpAccessCodeExpired(SumUpException):
pass
| 15 | 45 | 0.78 | 12 | 150 | 9.75 | 0.5 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 150 | 9 | 46 | 16.666667 | 0.928571 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f8db6fe3e351c917eb1d35878f6654fdcb75c70b | 252 | py | Python | settings.py | scripted-adventurer/Premier-League-DB | 794466b6fdb0122cc7fa711d578b74bf86412737 | [
"Unlicense"
] | null | null | null | settings.py | scripted-adventurer/Premier-League-DB | 794466b6fdb0122cc7fa711d578b74bf86412737 | [
"Unlicense"
] | null | null | null | settings.py | scripted-adventurer/Premier-League-DB | 794466b6fdb0122cc7fa711d578b74bf86412737 | [
"Unlicense"
] | null | null | null | import os
database = {
'host': os.environ['PLDB_HOST'], # default is 'localhost',
'port': int(os.environ['PLDB_PORT']), # default is 27017
'user': os.environ['PLDB_USER'],
'password': os.environ['PLDB_PASSWORD'],
'db': os.environ['PLDB_DB']
} | 28 | 61 | 0.654762 | 35 | 252 | 4.571429 | 0.428571 | 0.28125 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022831 | 0.130952 | 252 | 9 | 62 | 28 | 0.707763 | 0.15873 | 0 | 0 | 0 | 0 | 0.328571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f8dda41e1d46a9b39e0a12429534bdfe02f8d910 | 1,520 | py | Python | game_1.py | cwiktorski/giant_toddler | 3700854fde0e706e992f0cdb9129237a84be3e5d | [
"Apache-2.0"
] | null | null | null | game_1.py | cwiktorski/giant_toddler | 3700854fde0e706e992f0cdb9129237a84be3e5d | [
"Apache-2.0"
] | null | null | null | game_1.py | cwiktorski/giant_toddler | 3700854fde0e706e992f0cdb9129237a84be3e5d | [
"Apache-2.0"
] | null | null | null | def entrance():
'''This is the initial room the player will begin their adventure.'''
pass
def orange_rm_1():
'''Todo:
red key(hidden in desk drawer)
health(desk top)
desk
rat (24% damage)
red door
'''
pass
def red_rm_2():
'''locked entrance- requires red key
to do:
... | 16.170213 | 76 | 0.5875 | 213 | 1,520 | 4.103286 | 0.525822 | 0.072082 | 0.045767 | 0.05492 | 0.025172 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020192 | 0.315789 | 1,520 | 93 | 77 | 16.344086 | 0.820192 | 0.628289 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5d01230e3695d32cfe648218689878cc1184afa2 | 238 | py | Python | aiomatrix/dispatcher/storage/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 2 | 2021-10-29T18:07:08.000Z | 2021-11-19T00:25:43.000Z | aiomatrix/dispatcher/storage/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 1 | 2022-03-06T11:17:43.000Z | 2022-03-06T11:17:43.000Z | aiomatrix/dispatcher/storage/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | null | null | null | from .internal_data import BaseInternalDataStorage, SqliteInternalDataStorage
from .presence import BasePresenceStorage, SqlitePresenceStorage
from .room_events import BaseEventStorage, SqliteEventStorage
from .storage import StorageRepo
| 47.6 | 77 | 0.890756 | 21 | 238 | 10 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079832 | 238 | 4 | 78 | 59.5 | 0.958904 | 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 |
5d1750e1d83e9341c068ba99a7ed7f9d3e2b3847 | 2,418 | py | Python | pygame_menu/widgets/widget/__init__.py | arpruss/pygame-menu | 25cefb5cfc60383544d704b83a32d43dfc621c23 | [
"MIT"
] | null | null | null | pygame_menu/widgets/widget/__init__.py | arpruss/pygame-menu | 25cefb5cfc60383544d704b83a32d43dfc621c23 | [
"MIT"
] | null | null | null | pygame_menu/widgets/widget/__init__.py | arpruss/pygame-menu | 25cefb5cfc60383544d704b83a32d43dfc621c23 | [
"MIT"
] | null | null | null | """
pygame-menu
https://github.com/ppizarror/pygame-menu
WIDGET
This module contains the widgets of pygame-menu.
License:
-------------------------------------------------------------------------------
The MIT License (MIT)
Copyright 2017-2021 Pablo Pizarro R. @ppizarror
Permission is hereby granted, free of charge,... | 48.36 | 81 | 0.779983 | 337 | 2,418 | 5.540059 | 0.385757 | 0.11248 | 0.134976 | 0.202464 | 0.271023 | 0.039636 | 0 | 0 | 0 | 0 | 0 | 0.003716 | 0.109595 | 2,418 | 49 | 82 | 49.346939 | 0.863446 | 0.567825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5d1938573a920f5cbfc5c9eb82e046b5c4402881 | 199 | py | Python | Entrega Final/app/views.py | grupoprog3/proyecto_final | 56fa4d33852a347476e721bf02bb3bc53a7b7a70 | [
"Apache-2.0"
] | null | null | null | Entrega Final/app/views.py | grupoprog3/proyecto_final | 56fa4d33852a347476e721bf02bb3bc53a7b7a70 | [
"Apache-2.0"
] | null | null | null | Entrega Final/app/views.py | grupoprog3/proyecto_final | 56fa4d33852a347476e721bf02bb3bc53a7b7a70 | [
"Apache-2.0"
] | null | null | null | from app import app
from flask import render_template
@app.route('/')
@app.route('/index')
def index():
user = {'apodo': 'AzaelI'}
return render_template('index.html', titulo='Inicio', user=user)
| 22.111111 | 65 | 0.703518 | 28 | 199 | 4.928571 | 0.571429 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115578 | 199 | 8 | 66 | 24.875 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.170854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5d24e0726098eea75590518fa87cb3b4ba6f7fd6 | 232 | py | Python | basic_topic/activation/header.py | nemo-tj/ml_code | e772ffd186ad65f39d78a95d78716b9fe038262f | [
"MIT"
] | null | null | null | basic_topic/activation/header.py | nemo-tj/ml_code | e772ffd186ad65f39d78a95d78716b9fe038262f | [
"MIT"
] | null | null | null | basic_topic/activation/header.py | nemo-tj/ml_code | e772ffd186ad65f39d78a95d78716b9fe038262f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: nemo-tj
# @Date: 2021-06-06 14:51:18
# @Last Modified by: nemo-tj
# @Last Modified time: 2021-06-06 14:51:26
import numpy as np
import matplotlib.pyplot as plt
from activation import Activation | 29 | 42 | 0.698276 | 40 | 232 | 4.05 | 0.65 | 0.074074 | 0.098765 | 0.123457 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149485 | 0.163793 | 232 | 8 | 43 | 29 | 0.685567 | 0.590517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d2760660056842202d26a800eb5c562fb18e6f3 | 5,192 | py | Python | animalfacts.py | KittyHawkIrc/THE_KGB-apps | 7f82b882a8c392e5262ae8426e8bbe03f92a390f | [
"Apache-2.0"
] | null | null | null | animalfacts.py | KittyHawkIrc/THE_KGB-apps | 7f82b882a8c392e5262ae8426e8bbe03f92a390f | [
"Apache-2.0"
] | 4 | 2016-02-28T06:46:22.000Z | 2018-01-24T02:07:34.000Z | animalfacts.py | KittyHawkIrc/THE_KGB-apps | 7f82b882a8c392e5262ae8426e8bbe03f92a390f | [
"Apache-2.0"
] | 4 | 2016-02-24T23:32:03.000Z | 2022-01-18T02:00:46.000Z | import random
#Update schema
__url__ = "https://raw.githubusercontent.com/KittyHawkIrc/modules/production/" + __name__ + ".py"
__version__ = 1.0
factimg = [
"https://i.sli.mg/ohFHK6.png",
"https://i.sli.mg/ELRYvY.png",
"https://i.sli.mg/69q0D6.png",
"https://i.sli.mg/O6FoBq.png",
"https://i.sli.mg/4BwmmO.pn... | 31.658537 | 113 | 0.614214 | 895 | 5,192 | 3.540782 | 0.218994 | 0.236668 | 0.355002 | 0.433891 | 0.585043 | 0.049542 | 0.049542 | 0.016093 | 0.016093 | 0.016093 | 0 | 0.025857 | 0.106125 | 5,192 | 163 | 114 | 31.852761 | 0.65697 | 0.002504 | 0 | 0.012903 | 0 | 0 | 0.727501 | 0.004056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019355 | false | 0.006452 | 0.006452 | 0.012903 | 0.058065 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d2ec1cd6fb230e6adfcd59a8928736e3789bddd | 175 | py | Python | resources/lib/vimeo/__init__.py | selu/kodi-addon-vimeo | 43fa8da52d9190d8f625d882d7af9894d0a6edba | [
"MIT"
] | 1 | 2020-12-15T20:45:20.000Z | 2020-12-15T20:45:20.000Z | resources/lib/vimeo/__init__.py | selu/kodi-addon-vimeo | 43fa8da52d9190d8f625d882d7af9894d0a6edba | [
"MIT"
] | null | null | null | resources/lib/vimeo/__init__.py | selu/kodi-addon-vimeo | 43fa8da52d9190d8f625d882d7af9894d0a6edba | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# encoding: utf-8
from __future__ import absolute_import
version = (0, 3, 10) # noqa: E402
from .client import VimeoClient
from . import exceptions
| 17.5 | 38 | 0.731429 | 25 | 175 | 4.92 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 0.171429 | 175 | 9 | 39 | 19.444444 | 0.793103 | 0.274286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d6b4fac6b44cefbbccb6e138469951645300270 | 216 | py | Python | march_madness/src/features/possession.py | bryall/MarchMadness | 6e6a9cc40269edaeff5b34463c7aba0bc116afc7 | [
"MIT"
] | null | null | null | march_madness/src/features/possession.py | bryall/MarchMadness | 6e6a9cc40269edaeff5b34463c7aba0bc116afc7 | [
"MIT"
] | 8 | 2019-08-10T00:58:44.000Z | 2019-08-19T00:17:44.000Z | march_madness/src/features/possession.py | bryall/MarchMadness | 6e6a9cc40269edaeff5b34463c7aba0bc116afc7 | [
"MIT"
] | null | null | null | def calc_posession(df):
df['Wposs'] = df.apply(lambda row: row.WFGA + 0.475 * row.WFTA + row.WTO - row.WOR, axis=1)
df['Lposs'] = df.apply(lambda row: row.LFGA + 0.475 * row.LFTA + row.LTO - row.LOR, axis=1)
| 54 | 95 | 0.625 | 40 | 216 | 3.35 | 0.525 | 0.104478 | 0.19403 | 0.238806 | 0.283582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0.175926 | 216 | 3 | 96 | 72 | 0.696629 | 0 | 0 | 0 | 0 | 0 | 0.046296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
53828852e9a91a840875fc5b63b35be64bb974c0 | 199 | py | Python | {{cookiecutter.project_slug}}/src/{{cookiecutter.pkg_name}}/touch.py | royw/cookiecutter-pypackage | 03c51f0eceda66838c66ebbea147bc7119432d1b | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/src/{{cookiecutter.pkg_name}}/touch.py | royw/cookiecutter-pypackage | 03c51f0eceda66838c66ebbea147bc7119432d1b | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/src/{{cookiecutter.pkg_name}}/touch.py | royw/cookiecutter-pypackage | 03c51f0eceda66838c66ebbea147bc7119432d1b | [
"BSD-3-Clause"
] | null | null | null | """Simple touch utility."""
def touch(filename: str) -> None:
"""Mimics the "touch filename" utility.
:param filename: filename to touch
"""
with open(filename, "a"):
pass
| 18.090909 | 43 | 0.59799 | 23 | 199 | 5.173913 | 0.652174 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251256 | 199 | 10 | 44 | 19.9 | 0.798658 | 0.472362 | 0 | 0 | 0 | 0 | 0.011765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
53cc78b91ef65627a63577fdb7360bd7d29f2211 | 129 | py | Python | codes_auto/1689.detect-pattern-of-length-m-repeated-k-or-more-times.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/1689.detect-pattern-of-length-m-repeated-k-or-more-times.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/1689.detect-pattern-of-length-m-repeated-k-or-more-times.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=1689 lang=python3
#
# [1689] detect-pattern-of-length-m-repeated-k-or-more-times
#
None
# @lc code=end | 18.428571 | 60 | 0.705426 | 23 | 129 | 3.956522 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.108527 | 129 | 7 | 61 | 18.428571 | 0.713043 | 0.868217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
53dc3721f509a13a78c54db057be4809397eea1c | 206 | py | Python | mnistetude/trainer/itrainer.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | null | null | null | mnistetude/trainer/itrainer.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | 1 | 2022-03-18T03:14:13.000Z | 2022-03-18T03:14:13.000Z | mnistetude/trainer/itrainer.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from .. import network
class ITrainer:
def __init__(self):
pass
def train(self, network: network.INetwork, train_image: np.array, train_label: np.array):
raise
| 18.727273 | 93 | 0.674757 | 28 | 206 | 4.75 | 0.642857 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237864 | 206 | 10 | 94 | 20.6 | 0.847134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
54f0798aebbe7b05e1a2a776fac739e187925f42 | 184 | py | Python | hwt/serializer/__init__.py | mgielda/hwt | e6c699fb154f93ac03523bfe40a3d4fc1912d28b | [
"MIT"
] | null | null | null | hwt/serializer/__init__.py | mgielda/hwt | e6c699fb154f93ac03523bfe40a3d4fc1912d28b | [
"MIT"
] | null | null | null | hwt/serializer/__init__.py | mgielda/hwt | e6c699fb154f93ac03523bfe40a3d4fc1912d28b | [
"MIT"
] | null | null | null | """
This package contains serializers. Purpose of serializer class
is to convert hwt representations of designed architecture
to target language or form (VHDL/Verilog/SystemC...).
"""
| 30.666667 | 62 | 0.788043 | 24 | 184 | 6.041667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 184 | 5 | 63 | 36.8 | 0.90625 | 0.951087 | 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 |
54fcd6d2452ddf4231e50a0e89e9e5174d96e9f8 | 182 | py | Python | medcodes/diagnoses/_mappers/__init__.py | topspinj/medcodes | b4a6aae29b8cea5a6af75b60071d85189ed96fc2 | [
"BSD-3-Clause"
] | 5 | 2019-08-24T15:50:50.000Z | 2021-12-26T03:40:38.000Z | medcodes/diagnoses/_mappers/__init__.py | topspinj/medcodes | b4a6aae29b8cea5a6af75b60071d85189ed96fc2 | [
"BSD-3-Clause"
] | null | null | null | medcodes/diagnoses/_mappers/__init__.py | topspinj/medcodes | b4a6aae29b8cea5a6af75b60071d85189ed96fc2 | [
"BSD-3-Clause"
] | 3 | 2020-03-18T19:00:19.000Z | 2021-09-23T07:04:46.000Z | from .elixhauser_charlson import comorbidity_mappers
from .icd9_descriptions import icd9cm
from .icd10_descriptions import icd10
__all__ = ['icd9cm', 'comorbidity_mappers', 'icd10'] | 36.4 | 52 | 0.82967 | 21 | 182 | 6.761905 | 0.52381 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.093407 | 182 | 5 | 53 | 36.4 | 0.806061 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
070e8fc2a63bbf56e2fca355830c3315fff6d85b | 95 | py | Python | pyxorfilter/__init__.py | 0xflotus/pyxorfilter | a1fdc2abdb8da933b2487e20c0b5278d410cd288 | [
"Apache-2.0"
] | 34 | 2020-06-11T23:30:58.000Z | 2022-03-03T00:09:25.000Z | pyxorfilter/__init__.py | 0xflotus/pyxorfilter | a1fdc2abdb8da933b2487e20c0b5278d410cd288 | [
"Apache-2.0"
] | 4 | 2020-08-25T15:34:56.000Z | 2021-10-19T17:50:33.000Z | pyxorfilter/__init__.py | 0xflotus/pyxorfilter | a1fdc2abdb8da933b2487e20c0b5278d410cd288 | [
"Apache-2.0"
] | 3 | 2020-08-16T20:31:51.000Z | 2021-01-12T18:27:18.000Z | from pyxorfilter.pyxorfilter import Xor8, Xor16
VERSION = "0.1.0"
__all__ = ["Xor8", "Xor16"]
| 19 | 47 | 0.705263 | 13 | 95 | 4.846154 | 0.692308 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 0.136842 | 95 | 4 | 48 | 23.75 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 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 |
071b6b331048a2d31f7545caa34c307d33095ba2 | 159 | py | Python | greengraph_code/test/map_test.py | dgvisnadi/greengraph | a26ea5b3bcbbda20f6dd66c5e636e60b60658ec0 | [
"MIT"
] | null | null | null | greengraph_code/test/map_test.py | dgvisnadi/greengraph | a26ea5b3bcbbda20f6dd66c5e636e60b60658ec0 | [
"MIT"
] | null | null | null | greengraph_code/test/map_test.py | dgvisnadi/greengraph | a26ea5b3bcbbda20f6dd66c5e636e60b60658ec0 | [
"MIT"
] | null | null | null | from greengraph_code.map import Map
def Map_test():
def Map_init_test():
def green_test():
def count_green_test():
def show_green_test():
| 13.25 | 35 | 0.679245 | 24 | 159 | 4.125 | 0.458333 | 0.282828 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220126 | 159 | 11 | 36 | 14.454545 | 0.798387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
072795b4572c74ff2edee50df95d2e0dd5534819 | 233 | py | Python | test/test_misc.py | nodamu/dl_coursera | 1cca8a12d048a37888709685e5e6e3384d6f2b8f | [
"MIT"
] | 111 | 2019-01-06T11:39:33.000Z | 2020-08-07T09:31:04.000Z | test/test_misc.py | avineshwar/dl_coursera | 1cca8a12d048a37888709685e5e6e3384d6f2b8f | [
"MIT"
] | 20 | 2019-08-18T15:21:01.000Z | 2020-07-28T18:22:43.000Z | test/test_misc.py | avineshwar/dl_coursera | 1cca8a12d048a37888709685e5e6e3384d6f2b8f | [
"MIT"
] | 20 | 2019-01-12T08:48:33.000Z | 2020-06-13T04:39:19.000Z | import unittest
class TestMisc(unittest.TestCase):
def test_pypi_api(self):
from dl_coursera.lib.misc import get_latest_app_version
ver = get_latest_app_version()
self.assertRegex(ver, r'\d+\.\d+\.\d+')
| 25.888889 | 63 | 0.686695 | 33 | 233 | 4.575758 | 0.69697 | 0.119205 | 0.15894 | 0.251656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193133 | 233 | 8 | 64 | 29.125 | 0.803191 | 0 | 0 | 0 | 0 | 0 | 0.055794 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4ad2f6848fc0be6833a4f76919fea229a32ecf88 | 23 | py | Python | dace/version.py | jnice-81/dace | 5211794a2d17b7189037ac485ab0b292fb02aa0d | [
"BSD-3-Clause"
] | 144 | 2017-10-23T11:20:09.000Z | 2022-03-31T08:55:51.000Z | dace/version.py | jnice-81/dace | 5211794a2d17b7189037ac485ab0b292fb02aa0d | [
"BSD-3-Clause"
] | 494 | 2018-02-14T09:49:26.000Z | 2022-03-29T12:09:39.000Z | dace/version.py | jnice-81/dace | 5211794a2d17b7189037ac485ab0b292fb02aa0d | [
"BSD-3-Clause"
] | 45 | 2018-08-27T18:01:46.000Z | 2022-03-30T14:05:37.000Z | __version__ = '0.11.3'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 |
4aeaf108d4cb157fdc0e7f5a20df87e739189354 | 146 | py | Python | nerdle/nerdle_cfg.py | bacross/nerdle_wordle | 5f9b32a659bb60020d74da75ca9e0a4473ff8420 | [
"MIT"
] | null | null | null | nerdle/nerdle_cfg.py | bacross/nerdle_wordle | 5f9b32a659bb60020d74da75ca9e0a4473ff8420 | [
"MIT"
] | null | null | null | nerdle/nerdle_cfg.py | bacross/nerdle_wordle | 5f9b32a659bb60020d74da75ca9e0a4473ff8420 | [
"MIT"
] | null | null | null | nerdle_len = 8
nerd_num_list = [str(x) for x in range(nerdle_len+2)]
nerd_op_list = ['+','-','*','/','==']
nerd_list = nerd_num_list+nerd_op_list | 29.2 | 53 | 0.657534 | 26 | 146 | 3.269231 | 0.5 | 0.282353 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.109589 | 146 | 5 | 54 | 29.2 | 0.638462 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ab17b080fb3448654afbb6623fff5a9539f4d1c2 | 237 | py | Python | web_app/forms.py | BuilderTron/torres_yardworks | 75f9be62ea9a8a48295836ca5a35121cb1ee0472 | [
"MIT"
] | null | null | null | web_app/forms.py | BuilderTron/torres_yardworks | 75f9be62ea9a8a48295836ca5a35121cb1ee0472 | [
"MIT"
] | null | null | null | web_app/forms.py | BuilderTron/torres_yardworks | 75f9be62ea9a8a48295836ca5a35121cb1ee0472 | [
"MIT"
] | null | null | null | from django import forms
from .models import ClientLeads
class ReqForm(forms.ModelForm):
class Meta:
model = ClientLeads
fields = ("first_name", "last_name", "email", "phone", "address", "date", "service", "message") | 33.857143 | 103 | 0.670886 | 27 | 237 | 5.814815 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 237 | 7 | 103 | 33.857143 | 0.817708 | 0 | 0 | 0 | 0 | 0 | 0.226891 | 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 |
ab26c112d22d57399cec712bfafa16e4ad37238e | 111 | py | Python | app.py | AntonOni/my-flasktodo | 8e4ea7aca25e0b0ea11d4d2ea3fb322b55cfcd3a | [
"MIT"
] | null | null | null | app.py | AntonOni/my-flasktodo | 8e4ea7aca25e0b0ea11d4d2ea3fb322b55cfcd3a | [
"MIT"
] | 2 | 2021-03-25T23:44:31.000Z | 2022-03-29T22:01:18.000Z | app.py | AntonOni/my-flasktodo | 8e4ea7aca25e0b0ea11d4d2ea3fb322b55cfcd3a | [
"MIT"
] | null | null | null | #!flask/bin/python
from app import app, port
app.run(host='0.0.0.0', port=port, debug=True, use_reloader=True) | 27.75 | 65 | 0.72973 | 22 | 111 | 3.636364 | 0.636364 | 0.075 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.09009 | 111 | 4 | 65 | 27.75 | 0.752475 | 0.153153 | 0 | 0 | 0 | 0 | 0.074468 | 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 |
ab27aeb53d72dd865a920f32c4a5f62a5be0508f | 1,911 | py | Python | Python/phonenumbers/data/region_GA.py | skykisl/uberbruns2 | 26933efce04dba700d93cc75c7b74e069fb02d26 | [
"Unlicense"
] | 5 | 2015-04-27T20:10:56.000Z | 2018-06-14T18:19:09.000Z | python/phonenumbers/data/region_GA.py | vemel/python-phonenumbers | 595c322bf12106a3b95e3f202e948a7c6b6c15b8 | [
"Apache-2.0"
] | 2 | 2017-06-08T16:11:13.000Z | 2018-05-07T11:50:13.000Z | python/phonenumbers/data/region_GA.py | vemel/python-phonenumbers | 595c322bf12106a3b95e3f202e948a7c6b6c15b8 | [
"Apache-2.0"
] | 6 | 2015-02-19T11:11:04.000Z | 2022-03-15T19:38:31.000Z | """Auto-generated file, do not edit by hand. GA metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_GA = PhoneMetadata(id='GA', country_code=241, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[01]\\d{6,7}', possible_number_pattern='... | 86.863636 | 169 | 0.755102 | 252 | 1,911 | 5.412698 | 0.281746 | 0.247801 | 0.197947 | 0.343109 | 0.531525 | 0.531525 | 0.51393 | 0.51393 | 0.51393 | 0.111437 | 0 | 0.04115 | 0.07169 | 1,911 | 21 | 170 | 91 | 0.727734 | 0.027734 | 0 | 0 | 1 | 0 | 0.12581 | 0.030778 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 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 |
ab4fc1896e6e713ce2ad5be044079f216951a021 | 181 | py | Python | modularity/functionsExample.py | awesomeperson2008/PythonClass | e0230736d3171c1e01f4680d90ecc2708160b0a2 | [
"MIT"
] | null | null | null | modularity/functionsExample.py | awesomeperson2008/PythonClass | e0230736d3171c1e01f4680d90ecc2708160b0a2 | [
"MIT"
] | null | null | null | modularity/functionsExample.py | awesomeperson2008/PythonClass | e0230736d3171c1e01f4680d90ecc2708160b0a2 | [
"MIT"
] | 6 | 2019-02-22T03:50:58.000Z | 2019-04-05T02:47:45.000Z | def square(x):
return x * x
def launch_missiles():
print('missiles launched')
def even_or_odd(n):
if n % 2 == 0:
print('even')
return
print('odd')
| 15.083333 | 30 | 0.552486 | 26 | 181 | 3.730769 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.303867 | 181 | 11 | 31 | 16.454545 | 0.753968 | 0 | 0 | 0 | 0 | 0 | 0.132597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 0.333333 | 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 |
ab6142f91e78f1198ee747581469fc792afb093b | 1,839 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/IMG/read_format.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/IMG/read_format.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/IMG/read_format.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension IMG.read_format
This module customises the behaviour of the
OpenGL.raw.GLES2.IMG.read_format to provide a more
Python-friendly API
Overview (from the spec)
This extension is intended to supplement the GL_OES_read_format
extension by adding support for more format/type combinations t... | 40.866667 | 74 | 0.763458 | 247 | 1,839 | 5.502024 | 0.42915 | 0.066225 | 0.047829 | 0.037528 | 0.225901 | 0.133186 | 0.113319 | 0.054452 | 0 | 0 | 0 | 0.005373 | 0.190321 | 1,839 | 45 | 75 | 40.866667 | 0.90732 | 0.839043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
db472a55122303d1be9380f2fcee3bbadb791f64 | 56 | py | Python | examples/_tests_scripts/_alchemy.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 46 | 2020-03-27T20:12:32.000Z | 2021-11-21T19:08:51.000Z | examples/_tests_scripts/_alchemy.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 2 | 2020-04-06T10:43:04.000Z | 2020-07-01T18:26:10.000Z | examples/_tests_scripts/_alchemy.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 5 | 2020-04-17T14:09:53.000Z | 2021-05-10T08:58:29.000Z | # flake8: noqa
from catalyst_rl.dl import AlchemyRunner
| 18.666667 | 40 | 0.821429 | 8 | 56 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.125 | 56 | 2 | 41 | 28 | 0.897959 | 0.214286 | 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 |
db501fa1834737009aaa7eb65b73a7dded8dee22 | 29 | py | Python | version.py | asong91/OoT-Randomizer | 49130ec4676596ad8f0b3a15383d23f29eeb2b6b | [
"MIT"
] | null | null | null | version.py | asong91/OoT-Randomizer | 49130ec4676596ad8f0b3a15383d23f29eeb2b6b | [
"MIT"
] | null | null | null | version.py | asong91/OoT-Randomizer | 49130ec4676596ad8f0b3a15383d23f29eeb2b6b | [
"MIT"
] | null | null | null | __version__ = '4.13.0 f.LUM'
| 14.5 | 28 | 0.655172 | 6 | 29 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.137931 | 29 | 1 | 29 | 29 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 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 |
db52463bda6dc5c2c8a4cd462c333dce08f4cc2c | 26 | py | Python | sklearn_genetic/_version.py | Raul9595/Sklearn-genetic-opt | b2b729fe70989c14d7c6170bf9b46f390ee1d36b | [
"MIT"
] | 1 | 2021-06-24T08:36:28.000Z | 2021-06-24T08:36:28.000Z | sklearn_genetic/_version.py | kari-d/Sklearn-genetic-opt | e4a76a5a4c73d456c3a0b426f5703e77c3175e66 | [
"MIT"
] | null | null | null | sklearn_genetic/_version.py | kari-d/Sklearn-genetic-opt | e4a76a5a4c73d456c3a0b426f5703e77c3175e66 | [
"MIT"
] | null | null | null | __version__ = "0.6.0dev0"
| 13 | 25 | 0.692308 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db7c770a828a59cc4737b6458d407b56b5a5b079 | 173 | py | Python | data/atis_Intent_Detection_and_Slot_Filling/train/check_train_raw_data.py | SmallStom/slot_learning | 73753a1ecec61ee1cdb5bb6356f80f0ee552128a | [
"Apache-2.0"
] | 418 | 2019-03-18T07:57:44.000Z | 2022-03-30T13:42:16.000Z | data/atis_Intent_Detection_and_Slot_Filling/train/check_train_raw_data.py | SmallStom/slot_learning | 73753a1ecec61ee1cdb5bb6356f80f0ee552128a | [
"Apache-2.0"
] | 34 | 2019-03-18T08:20:36.000Z | 2022-03-02T14:59:28.000Z | data/atis_Intent_Detection_and_Slot_Filling/train/check_train_raw_data.py | SmallStom/slot_learning | 73753a1ecec61ee1cdb5bb6356f80f0ee552128a | [
"Apache-2.0"
] | 100 | 2019-04-09T04:28:10.000Z | 2022-03-10T08:05:05.000Z | label_data = open("label", encoding='utf-8').readlines()
label_data = [x.strip() for x in label_data]
print(len(label_data))
label_kinds = set(label_data)
print(label_kinds) | 34.6 | 56 | 0.751445 | 29 | 173 | 4.241379 | 0.517241 | 0.365854 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.086705 | 173 | 5 | 57 | 34.6 | 0.772152 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db97cd4091a2c151f449bb123acaf86f0b1b6af8 | 356 | py | Python | nautobot_plugin_chatops_grafana/api/views/generic.py | nautobot/nautobot-plugin-chatops-grafana | 0bd61d24f792a350de84a91a778fde49d93a29f1 | [
"Apache-2.0"
] | 5 | 2021-11-05T16:43:06.000Z | 2022-01-25T18:36:47.000Z | nautobot_plugin_chatops_grafana/api/views/generic.py | nautobot/nautobot-plugin-chatops-grafana | 0bd61d24f792a350de84a91a778fde49d93a29f1 | [
"Apache-2.0"
] | 3 | 2022-01-07T14:36:17.000Z | 2022-03-25T22:01:34.000Z | nautobot_plugin_chatops_grafana/api/views/generic.py | nautobot/nautobot-plugin-chatops-grafana | 0bd61d24f792a350de84a91a778fde49d93a29f1 | [
"Apache-2.0"
] | 2 | 2021-12-10T04:33:32.000Z | 2022-01-08T02:40:53.000Z | """API Views for Nautobot Plugin Chatops Grafana."""
from rest_framework.routers import APIRootView
class NautobotPluginChatopsGrafanaRootView(APIRootView):
"""Nautobot Chatops API root view."""
def get_view_name(self):
"""Return name for the Nautobot Plugin Chatops Grafana API Root."""
retur... | 32.363636 | 75 | 0.741573 | 41 | 356 | 6.365854 | 0.560976 | 0.16092 | 0.241379 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174157 | 356 | 10 | 76 | 35.6 | 0.887755 | 0.393258 | 0 | 0 | 0 | 0 | 0.155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dba1978d5331387e3283ccecc187a98734ddb778 | 174 | py | Python | src/the_tale/the_tale/accounts/third_party/urls.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/accounts/third_party/urls.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/accounts/third_party/urls.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()
urlpatterns = [django_urls.url(r'^tokens/', django_urls.include((old_views.resource_patterns(views.TokensResource), 'tokens')))]
| 21.75 | 128 | 0.781609 | 22 | 174 | 5.909091 | 0.727273 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 174 | 7 | 129 | 24.857143 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0.080925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dbbb9956553c26399fd76d3ea7bad6edc1c36c72 | 445 | py | Python | game_object_collection/player_collection.py | CPSuperstore/BattleshAPy | 9e6395952397f2d4c61350b2a67adc3e64f27868 | [
"MIT"
] | 1 | 2021-10-20T15:43:15.000Z | 2021-10-20T15:43:15.000Z | game_object_collection/player_collection.py | CPSuperstore/BattleshAPy | 9e6395952397f2d4c61350b2a67adc3e64f27868 | [
"MIT"
] | null | null | null | game_object_collection/player_collection.py | CPSuperstore/BattleshAPy | 9e6395952397f2d4c61350b2a67adc3e64f27868 | [
"MIT"
] | null | null | null | """
This module contains the player collection
"""
import BattleshAPy.game_object_collection.base_object_collection as base_object_collection
import BattleshAPy.game_object.player_game_object as player_game_object
class PlayerCollection(base_object_collection.BaseObjectCollection):
"""
This object represents ... | 31.785714 | 90 | 0.8 | 53 | 445 | 6.283019 | 0.433962 | 0.15015 | 0.18018 | 0.186186 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130337 | 445 | 13 | 91 | 34.230769 | 0.860465 | 0.197753 | 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 |
dbbdd8aca5974ecad38b1c6a9316c9f382b5a73d | 20 | py | Python | pyugt/_version.py | teristam/pyugt | 20f1da6ce7fde5595473061a49e3d38435eaeab1 | [
"MIT"
] | 12 | 2020-03-12T13:49:54.000Z | 2022-02-16T10:58:09.000Z | pyugt/_version.py | teristam/pyugt | 20f1da6ce7fde5595473061a49e3d38435eaeab1 | [
"MIT"
] | 2 | 2020-03-18T16:32:08.000Z | 2021-04-05T09:54:48.000Z | pyugt/_version.py | teristam/pyugt | 20f1da6ce7fde5595473061a49e3d38435eaeab1 | [
"MIT"
] | 2 | 2022-02-14T11:34:44.000Z | 2022-02-16T10:59:59.000Z | __version__="0.5.3"
| 10 | 19 | 0.7 | 4 | 20 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.05 | 20 | 1 | 20 | 20 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 |
dbccd7d1c6cb59b2b6f054ea20f1d1c97293490b | 1,100 | py | Python | core.py | el-ideal-ideas/MocaUsersAPI | 8acc17d14ad1e3c57142b24a812a1806c44180a5 | [
"MIT"
] | null | null | null | core.py | el-ideal-ideas/MocaUsersAPI | 8acc17d14ad1e3c57142b24a812a1806c44180a5 | [
"MIT"
] | null | null | null | core.py | el-ideal-ideas/MocaUsersAPI | 8acc17d14ad1e3c57142b24a812a1806c44180a5 | [
"MIT"
] | null | null | null | # Ω*
# ■ ■■■■■
# ■ ■■ ■■
# ■ ■■ ■
# ■ ■■
# ■■■■■ ■ ■■■
# ■■ ■■ ■ ■■■
# ■■ ■■ ■ ■■■■
# ■■ ■■ ■ ■■■■
# ■■■■■■■■■ ■ ■■■
... | 29.72973 | 87 | 0.198182 | 95 | 1,100 | 3.421053 | 0.442105 | 0.110769 | 0.107692 | 0.055385 | 0.116923 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010219 | 0.377273 | 1,100 | 36 | 88 | 30.555556 | 0.30219 | 0.887273 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
916793bd0d5428857d624c2ce92215eec9ebaf6d | 1,179 | py | Python | src/package_controller/cli/main.py | alexseitsinger/package_controller | 0ee896986cfa17a96bf9fb6afff35dd97f0b1211 | [
"BSD-2-Clause"
] | 2 | 2020-11-24T14:16:38.000Z | 2021-03-16T19:29:45.000Z | src/package_controller/cli/main.py | alexseitsinger/package_controller | 0ee896986cfa17a96bf9fb6afff35dd97f0b1211 | [
"BSD-2-Clause"
] | 2 | 2020-11-25T01:00:45.000Z | 2020-11-25T01:59:58.000Z | src/package_controller/cli/main.py | alexseitsinger/package_controller | 0ee896986cfa17a96bf9fb6afff35dd97f0b1211 | [
"BSD-2-Clause"
] | null | null | null | import click
from .commands.version import version_command
from .commands.bump import bump_command
from .commands.diff import diff_command
from .commands.save import save_command
from .commands.unsave import unsave_command
from .commands.undo import undo_command
from .commands.resave import resave_command
from .comman... | 29.475 | 47 | 0.854114 | 172 | 1,179 | 5.593023 | 0.145349 | 0.18711 | 0.218295 | 0.305613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 1,179 | 39 | 48 | 30.230769 | 0.883379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | true | 0.029412 | 0.470588 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
91c9f41bb89d7d68910be6ca1f634e7c080635ee | 185 | py | Python | Lab1_ALG/src/L1Q07.py | DanialAroff/WIA2005---Lab | d8eb035cab07c0d7962ca3ca0e70407c116c0caf | [
"Apache-2.0"
] | null | null | null | Lab1_ALG/src/L1Q07.py | DanialAroff/WIA2005---Lab | d8eb035cab07c0d7962ca3ca0e70407c116c0caf | [
"Apache-2.0"
] | null | null | null | Lab1_ALG/src/L1Q07.py | DanialAroff/WIA2005---Lab | d8eb035cab07c0d7962ca3ca0e70407c116c0caf | [
"Apache-2.0"
] | 1 | 2020-04-14T10:48:00.000Z | 2020-04-14T10:48:00.000Z | a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
# dumb way
# for i in range(0,len(a),1):
# if a[i]%2 == 0:
# print(str(a[i]),end=" ")
b = [i for i in a if i % 2 == 0]
print(b)
| 18.5 | 42 | 0.443243 | 43 | 185 | 1.906977 | 0.581395 | 0.04878 | 0.146341 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 0.302703 | 185 | 9 | 43 | 20.555556 | 0.449612 | 0.481081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 4 |
91d51c0af56a89dc522a31ebbeb9850de3ee3dc0 | 214 | py | Python | src/demand/snd_lib/directory_mapping.py | tfenz/TE_SR_WAN_simulation | cdf8f7d0568a4177f168122685218eddedfa0ff5 | [
"MIT"
] | 2 | 2022-03-12T11:19:24.000Z | 2022-03-26T16:00:19.000Z | src/demand/snd_lib/directory_mapping.py | maparham/TE_SR_WAN_simulation | 4ffef9400149fcafc40b6b00a14505d1ab43b0a4 | [
"MIT"
] | null | null | null | src/demand/snd_lib/directory_mapping.py | maparham/TE_SR_WAN_simulation | 4ffef9400149fcafc40b6b00a14505d1ab43b0a4 | [
"MIT"
] | 1 | 2021-09-29T11:22:16.000Z | 2021-09-29T11:22:16.000Z | directory_map = {
"abilene": "directed-abilene-zhang-5min-over-6months-ALL",
"geant": "directed-geant-uhlig-15min-over-4months-ALL",
"germany50": "directed-germany50-DFN-aggregated-1day-over-1month",
}
| 35.666667 | 70 | 0.714953 | 26 | 214 | 5.846154 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057292 | 0.102804 | 214 | 5 | 71 | 42.8 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0.738318 | 0.640187 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37e68c85c4ae9d9e3c26dc69d87854e8ae13cf16 | 454 | py | Python | infermedica_api/models/__init__.py | ericmc21/python-api | eacc3c7f2e14103ff4d2138b85905cefdb6946c6 | [
"Apache-2.0"
] | null | null | null | infermedica_api/models/__init__.py | ericmc21/python-api | eacc3c7f2e14103ff4d2138b85905cefdb6946c6 | [
"Apache-2.0"
] | null | null | null | infermedica_api/models/__init__.py | ericmc21/python-api | eacc3c7f2e14103ff4d2138b85905cefdb6946c6 | [
"Apache-2.0"
] | null | null | null | from .condition import Condition, ConditionList
from .diagnosis import Diagnosis, DiagnosisQuestion, ConditionResult, ConditionResultList
from .lab_test import LabTest, LabTestList
from .risk_factor import RiskFactor, RiskFactorList
from .symptom import Symptom, SymptomList
from .explain import ExplainResults, ExplainR... | 45.4 | 89 | 0.856828 | 49 | 454 | 7.877551 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101322 | 454 | 9 | 90 | 50.444444 | 0.946078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5303c597da7d122900209c54721d70c9b93bd08a | 328 | py | Python | shearlet_dl/TransUNet.py | AndiBraimllari/SDLX | f4a7280d261c00970fd8ab427174fba871f18a6d | [
"MIT"
] | 1 | 2021-11-18T02:28:10.000Z | 2021-11-18T02:28:10.000Z | shearlet_dl/TransUNet.py | AndiBraimllari/SDLX | f4a7280d261c00970fd8ab427174fba871f18a6d | [
"MIT"
] | 1 | 2021-11-22T06:09:07.000Z | 2022-03-26T13:57:26.000Z | shearlet_dl/TransUNet.py | AndiBraimllari/SDLX | f4a7280d261c00970fd8ab427174fba871f18a6d | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
# this file contains the TransUNet architecture
class TransUNet(nn.Module):
"""
Reference: https://arxiv.org/pdf/2102.04306.pdf
"""
def __init__(self, num_of_subbands):
super().__init__()
def forward(self, x):
r... | 17.263158 | 51 | 0.664634 | 45 | 328 | 4.622222 | 0.688889 | 0.158654 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035433 | 0.22561 | 328 | 18 | 52 | 18.222222 | 0.783465 | 0.286585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 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 |
532d2c4d993973ef46f901b93272cfdf90fd52a8 | 1,326 | py | Python | gamestonk_terminal/forex/oanda/oanda_api.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | 1 | 2022-03-15T13:05:40.000Z | 2022-03-15T13:05:40.000Z | gamestonk_terminal/forex/oanda/oanda_api.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | null | null | null | gamestonk_terminal/forex/oanda/oanda_api.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | null | null | null | """Oanda context API."""
import os
from gamestonk_terminal.helper_classes import ModelsNamespace as _models
# flake8: noqa
# pylint: disable=unused-import
# Context menus
from gamestonk_terminal.forex.oanda.oanda_view import get_fx_price as price
from gamestonk_terminal.forex.oanda.oanda_view import get_account_summ... | 47.357143 | 87 | 0.864253 | 199 | 1,326 | 5.487437 | 0.281407 | 0.166667 | 0.269231 | 0.309524 | 0.574176 | 0.574176 | 0.574176 | 0.574176 | 0.321429 | 0.09707 | 0 | 0.000824 | 0.085219 | 1,326 | 27 | 88 | 49.111111 | 0.899423 | 0.089744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9375 | 0 | 0.9375 | 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 |
5331cf08a8e4f6f972a79496e4408d87609da20f | 115 | py | Python | AnuOyeboade/phase1/BASIC/DAY6/Q45.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | AnuOyeboade/phase1/BASIC/DAY6/Q45.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | AnuOyeboade/phase1/BASIC/DAY6/Q45.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | """
Write a python program to call an external command in Python.
"""
import subprocess
subprocess.run(["Is","-1"]) | 23 | 61 | 0.713043 | 17 | 115 | 4.823529 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.130435 | 115 | 5 | 62 | 23 | 0.81 | 0.530435 | 0 | 0 | 0 | 0 | 0.085106 | 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 |
53660ef535dcec844e9c23f7eff9f360ad3b314e | 180 | py | Python | apps/common/middlewares/simple.py | leigeng2014/sango2 | aa0a3ed1a316d8afc9482f072f2aa57cffe9a10f | [
"Apache-2.0"
] | null | null | null | apps/common/middlewares/simple.py | leigeng2014/sango2 | aa0a3ed1a316d8afc9482f072f2aa57cffe9a10f | [
"Apache-2.0"
] | null | null | null | apps/common/middlewares/simple.py | leigeng2014/sango2 | aa0a3ed1a316d8afc9482f072f2aa57cffe9a10f | [
"Apache-2.0"
] | null | null | null | #-*- coding: utf8 -*-
class P3PMiddleware(object):
def process_response(self, request, response):
response['P3P'] = 'CP="CAO PSA OUR"'
return response
| 22.5 | 51 | 0.6 | 19 | 180 | 5.631579 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.255556 | 180 | 7 | 52 | 25.714286 | 0.776119 | 0.111111 | 0 | 0 | 0 | 0 | 0.125828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
536f155cb80cc12b8661b6349705eb069f2dec5a | 154 | py | Python | data/RealTimeEventsWS/reahl.config.py | hendrikdutoit/InstallIt | 3423d39e4ddee25a7243e9af177dc4df6145a038 | [
"MIT"
] | null | null | null | data/RealTimeEventsWS/reahl.config.py | hendrikdutoit/InstallIt | 3423d39e4ddee25a7243e9af177dc4df6145a038 | [
"MIT"
] | 4 | 2021-12-24T12:02:26.000Z | 2022-01-09T10:46:45.000Z | data/RealTimeEventsWS/reahl.config.py | hendrikdutoit/InstallIt | 3423d39e4ddee25a7243e9af177dc4df6145a038 | [
"MIT"
] | null | null | null | reahlsystem.root_egg = 'RealTimeEventsWS'
reahlsystem.connection_uri = 'mysql://Testing01:1re$UtseT@localhost/RealTimeEventsWS'
reahlsystem.debug = False
| 38.5 | 85 | 0.831169 | 16 | 154 | 7.875 | 0.8125 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.058442 | 154 | 3 | 86 | 51.333333 | 0.848276 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 0.350649 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72575fb145b5177961153f42c52f3f4ee574662d | 89 | py | Python | src/helheimr_heating/helheimr_heating/forecasting/__init__.py | snototter/ragnaroek | b81ef86a8fbbf0be74a039784aedc7bfb5321bc0 | [
"MIT"
] | null | null | null | src/helheimr_heating/helheimr_heating/forecasting/__init__.py | snototter/ragnaroek | b81ef86a8fbbf0be74a039784aedc7bfb5321bc0 | [
"MIT"
] | null | null | null | src/helheimr_heating/helheimr_heating/forecasting/__init__.py | snototter/ragnaroek | b81ef86a8fbbf0be74a039784aedc7bfb5321bc0 | [
"MIT"
] | null | null | null | from .weather import Weather, WeatherService,\
weather_code_emoji, temperature_emoji
| 29.666667 | 46 | 0.820225 | 10 | 89 | 7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 2 | 47 | 44.5 | 0.897436 | 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 |
72788063a991a93456a9aa8dfd203f19d35cfe74 | 97 | py | Python | project/grammars/ecfg_exceptions.py | kirill-ivanov-a/formal-lang-course | 53ce75dbb1ecdb1ed9a53bcb2b69f603e4ca59c6 | [
"Apache-2.0"
] | null | null | null | project/grammars/ecfg_exceptions.py | kirill-ivanov-a/formal-lang-course | 53ce75dbb1ecdb1ed9a53bcb2b69f603e4ca59c6 | [
"Apache-2.0"
] | 1 | 2021-09-05T08:12:10.000Z | 2021-09-08T12:57:43.000Z | project/grammars/ecfg_exceptions.py | kirill-ivanov-a/formal-lang-course | 53ce75dbb1ecdb1ed9a53bcb2b69f603e4ca59c6 | [
"Apache-2.0"
] | null | null | null | __all__ = ["InvalidECFGFormatException"]
class InvalidECFGFormatException(Exception):
pass
| 16.166667 | 44 | 0.793814 | 6 | 97 | 12.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 5 | 45 | 19.4 | 0.858824 | 0 | 0 | 0 | 0 | 0 | 0.268041 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
727bccaade12eb5eb4e5331116fa230be1fe8189 | 647 | py | Python | tests/test_utils.py | matrig/USD | 5f8895212a1c7a66c2e56bafcaf189253a01ee38 | [
"Apache-2.0"
] | 5 | 2020-10-03T15:44:39.000Z | 2020-12-15T16:41:21.000Z | tests/test_utils.py | matrig/USD | 5f8895212a1c7a66c2e56bafcaf189253a01ee38 | [
"Apache-2.0"
] | 1 | 2021-01-07T08:03:06.000Z | 2021-01-08T15:25:13.000Z | tests/test_utils.py | IBM/USD | 1cd5ca559a1652adede945bd6634df2cab0f0a8f | [
"Apache-2.0"
] | 2 | 2020-10-14T07:18:20.000Z | 2021-01-07T14:14:51.000Z | import unittest
import numpy as np
import torch
from scipy.spatial import distance
class test_utils(unittest.TestCase):
def test_import(self):
import utils
from utils import ddict
def test_ddict(self):
from utils import ddict
# Test basics
dd = ddict(a=1.0, b=[1,2])
... | 20.870968 | 40 | 0.565688 | 91 | 647 | 3.901099 | 0.32967 | 0.23662 | 0.270423 | 0.112676 | 0.112676 | 0.112676 | 0.112676 | 0 | 0 | 0 | 0 | 0.017429 | 0.290572 | 647 | 30 | 41 | 21.566667 | 0.755991 | 0.017002 | 0 | 0.095238 | 0 | 0 | 0.029968 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.095238 | false | 0 | 0.380952 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
728d446f35c1ee27e594b8c0bb90c6db6e72fcac | 758 | py | Python | myconf/engine/engine.py | iceworldvip/wings_config_client | ca527990133bebd55d31a7c84ea4aca5af27594d | [
"Apache-2.0"
] | null | null | null | myconf/engine/engine.py | iceworldvip/wings_config_client | ca527990133bebd55d31a7c84ea4aca5af27594d | [
"Apache-2.0"
] | null | null | null | myconf/engine/engine.py | iceworldvip/wings_config_client | ca527990133bebd55d31a7c84ea4aca5af27594d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2018/3/3 20:03
# @Author : ice
# @File : engine.py
# @Software : PyCharm
from abc import ABCMeta, abstractmethod
class AbstractEngine(object):
__metaclass__ = ABCMeta
@abstractmethod
def connect(self):
"""
实现连接方法
:return:
"""
... | 19.435897 | 84 | 0.572559 | 70 | 758 | 6 | 0.6 | 0.161905 | 0.185714 | 0.264286 | 0.314286 | 0.219048 | 0 | 0 | 0 | 0 | 0 | 0.021569 | 0.327177 | 758 | 38 | 85 | 19.947368 | 0.801961 | 0.201847 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.066667 | 0.733333 | 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 |
7299dd10ddb9b04dfe2327734aae8d84c7138c49 | 9,945 | py | Python | Tests/modules/misc/test_system_namespaces.py | aisk/ironpython3 | d492fd811a0cee4d0a07cd46f02a29a3c90d964b | [
"Apache-2.0"
] | 1,872 | 2015-01-02T18:56:47.000Z | 2022-03-31T07:34:39.000Z | Tests/modules/misc/test_system_namespaces.py | aisk/ironpython3 | d492fd811a0cee4d0a07cd46f02a29a3c90d964b | [
"Apache-2.0"
] | 675 | 2015-02-27T09:01:01.000Z | 2022-03-31T14:03:25.000Z | Tests/modules/misc/test_system_namespaces.py | aisk/ironpython3 | d492fd811a0cee4d0a07cd46f02a29a3c90d964b | [
"Apache-2.0"
] | 278 | 2015-01-02T03:48:20.000Z | 2022-03-29T20:40:44.000Z | # Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information.
'''
Ensures we can import from .NET 2.0 namespaces and types
'''
import unittest
from iptest import IronPython... | 41.610879 | 105 | 0.731926 | 1,167 | 9,945 | 6.194516 | 0.17395 | 0.218564 | 0.340849 | 0.084106 | 0.318578 | 0.135842 | 0.034445 | 0.0083 | 0 | 0 | 0 | 0.001729 | 0.185923 | 9,945 | 238 | 106 | 41.785714 | 0.891181 | 0.030065 | 0 | 0.03211 | 0 | 0 | 0.062584 | 0.030514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009174 | false | 0 | 0.752294 | 0 | 0.766055 | 0.009174 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
72b4e24c6806a685bef8147b840958b1a1c9e778 | 86 | py | Python | Algorithms/02. Implementation/014. Cats and a Mouse.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Algorithms/02. Implementation/014. Cats and a Mouse.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Algorithms/02. Implementation/014. Cats and a Mouse.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | # Problem: https://www.hackerrank.com/challenges/cats-and-a-mouse/problem
# Score: 15
| 28.666667 | 73 | 0.755814 | 13 | 86 | 5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.069767 | 86 | 2 | 74 | 43 | 0.7875 | 0.94186 | 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 |
72b6e79073147c84c225d86d644939aa9a4bf4e0 | 228 | py | Python | ambinit.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | ambinit.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | ambinit.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | class X:
def __init__(self,x):
print("Inside X ", x)
class Y:
def __init__(self):
print("Inside Y")
class Z(X,Y):
def __init__(self):
super().__init__(10)
print("Inside Z")
obj = Z()
| 17.538462 | 29 | 0.535088 | 33 | 228 | 3.212121 | 0.363636 | 0.198113 | 0.311321 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.302632 | 228 | 12 | 30 | 19 | 0.654088 | 0 | 0 | 0.181818 | 0 | 0 | 0.109649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0 | 0.545455 | 0.272727 | 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 |
72e83873d4fb95aaafbdd7c15b3f2e67f6ee2617 | 1,048 | py | Python | src/domain/Contest/usecase/contest_interactor.py | SoyBeansLab/daizu-online-judge-backend | 873f81fdad2f216e28b83341a6d88b0e21078d6e | [
"MIT"
] | 7 | 2019-05-14T08:40:35.000Z | 2019-08-20T08:15:21.000Z | src/domain/Contest/usecase/contest_interactor.py | SoyBeansLab/daizu-online-judge-backend | 873f81fdad2f216e28b83341a6d88b0e21078d6e | [
"MIT"
] | 76 | 2019-05-14T08:56:40.000Z | 2020-10-18T16:25:33.000Z | src/domain/Contest/usecase/contest_interactor.py | SoyBeansLab/daizu-online-judge-backend | 873f81fdad2f216e28b83341a6d88b0e21078d6e | [
"MIT"
] | 3 | 2019-12-12T01:44:31.000Z | 2020-11-22T03:24:40.000Z | from typing import List
from domain.Contest.usecase.contest_repository import ContestRepository
from domain.Contest.contest import Contest
class ContestInteractor:
def __init__(self, repository: ContestRepository):
self.repository = repository
def contest(self, contest_id: str) -> Contest:
r... | 30.823529 | 71 | 0.710878 | 124 | 1,048 | 5.862903 | 0.217742 | 0.192572 | 0.220083 | 0.185695 | 0.449794 | 0.363136 | 0.258597 | 0.258597 | 0 | 0 | 0 | 0 | 0.189886 | 1,048 | 33 | 72 | 31.757576 | 0.856302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | false | 0 | 0.136364 | 0.363636 | 0.954545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
72f9c4c52d60d816bcb4a9655af5762e6465739a | 195 | py | Python | Desafios/desafio-47.py | marielitonmb/Curso-Python3 | 26215c47c4d1eadf940b8024305b7e9ff600883b | [
"MIT"
] | null | null | null | Desafios/desafio-47.py | marielitonmb/Curso-Python3 | 26215c47c4d1eadf940b8024305b7e9ff600883b | [
"MIT"
] | null | null | null | Desafios/desafio-47.py | marielitonmb/Curso-Python3 | 26215c47c4d1eadf940b8024305b7e9ff600883b | [
"MIT"
] | null | null | null | # Aula 13 - Desafio 47: Contagem de numeros pares
# Mostrar na tela todos os numeros pares entre 1 e 50
print('Entre 1 e 50, sao numeros pares:')
for n in range(2, 51, 2):
print(n, end=' ')
| 27.857143 | 53 | 0.671795 | 37 | 195 | 3.540541 | 0.702703 | 0.274809 | 0.10687 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0.220513 | 195 | 6 | 54 | 32.5 | 0.769737 | 0.507692 | 0 | 0 | 0 | 0 | 0.354839 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f44a52aa6d72fb206f0d2c433a310d961a14c437 | 3,508 | py | Python | harvester/ext/storage/base.py | opendatatrentino/opendata-harvester | 7cdff57e02cad22e35c4b19d15df7bbec730cc47 | [
"BSD-2-Clause"
] | 1 | 2021-04-05T16:39:29.000Z | 2021-04-05T16:39:29.000Z | harvester/ext/storage/base.py | opendatatrentino/opendata-harvester | 7cdff57e02cad22e35c4b19d15df7bbec730cc47 | [
"BSD-2-Clause"
] | null | null | null | harvester/ext/storage/base.py | opendatatrentino/opendata-harvester | 7cdff57e02cad22e35c4b19d15df7bbec730cc47 | [
"BSD-2-Clause"
] | 1 | 2015-01-14T16:58:46.000Z | 2015-01-14T16:58:46.000Z | import collections
from ..base import PluginBase
class StorageError(Exception):
pass
class NotFound(StorageError):
pass
class BaseStorage(PluginBase):
"""
Storages expose a common API to store data in
different backends.
A storage should be able to manage three kinds of
objects:
... | 25.23741 | 71 | 0.680445 | 406 | 3,508 | 5.650246 | 0.334975 | 0.071927 | 0.019616 | 0.040541 | 0.066696 | 0.020924 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228335 | 3,508 | 138 | 72 | 25.42029 | 0.847433 | 0.305872 | 0 | 0.174603 | 0 | 0 | 0.082132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.079365 | 0.031746 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
f45e51607729c6b5e3214a5369697b41b09aa102 | 228 | py | Python | Exercise6.6/environment.py | yuishihara/ReinforcementLearningExcersices | e68b10e6cc11f30b25ceb14c9c5fd433f7ae9d5a | [
"MIT"
] | null | null | null | Exercise6.6/environment.py | yuishihara/ReinforcementLearningExcersices | e68b10e6cc11f30b25ceb14c9c5fd433f7ae9d5a | [
"MIT"
] | null | null | null | Exercise6.6/environment.py | yuishihara/ReinforcementLearningExcersices | e68b10e6cc11f30b25ceb14c9c5fd433f7ae9d5a | [
"MIT"
] | null | null | null | class Environment(object):
def __init__(self):
pass
def act(self, state, action):
pass
def end_state(self, state):
return True
def reset(self):
pass
def available_actions(self):
return None
| 11.4 | 31 | 0.644737 | 30 | 228 | 4.7 | 0.566667 | 0.148936 | 0.156028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 228 | 19 | 32 | 12 | 0.839286 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.272727 | 0 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
be2ef442fa1870a51caeae72c279f08701159f12 | 93 | py | Python | app/pets/forms.py | svinkapeppa/vk_hack_2018 | cdea8738ea140250a9693ab6b834e18ebb114984 | [
"Apache-2.0"
] | null | null | null | app/pets/forms.py | svinkapeppa/vk_hack_2018 | cdea8738ea140250a9693ab6b834e18ebb114984 | [
"Apache-2.0"
] | null | null | null | app/pets/forms.py | svinkapeppa/vk_hack_2018 | cdea8738ea140250a9693ab6b834e18ebb114984 | [
"Apache-2.0"
] | null | null | null | from django import forms
class PhotoUploadForm(forms.Form):
photo = forms.ImageField()
| 15.5 | 34 | 0.752688 | 11 | 93 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 35 | 18.6 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
be86bc0e20a5c1e220ad6483253e41eab9be4580 | 145 | py | Python | web/channels/apps.py | vtalks/vtalks.net | 80fb19ff9684e0854c6abe5f0eef73e80ec326a6 | [
"Apache-2.0"
] | 1 | 2017-11-28T03:17:23.000Z | 2017-11-28T03:17:23.000Z | web/channels/apps.py | vtalks/vtalks.net | 80fb19ff9684e0854c6abe5f0eef73e80ec326a6 | [
"Apache-2.0"
] | 56 | 2018-01-14T18:03:03.000Z | 2018-06-25T17:59:02.000Z | web/channels/apps.py | vtalks/vtalks.net | 80fb19ff9684e0854c6abe5f0eef73e80ec326a6 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ChannelsConfig(AppConfig):
name = 'channels'
def ready(self):
import channels.signals
| 16.111111 | 33 | 0.703448 | 16 | 145 | 6.375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22069 | 145 | 8 | 34 | 18.125 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 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 |
be8c40e78898e9a7f20e0b5150806c1687751f3e | 115 | py | Python | billy2pupa/mt.py | backwardn/billy | 07ac788d25a6c79d03dd0e3d55459bbb55e22439 | [
"BSD-3-Clause"
] | 33 | 2016-11-05T07:25:48.000Z | 2022-01-31T03:40:43.000Z | billy2pupa/mt.py | backwardn/billy | 07ac788d25a6c79d03dd0e3d55459bbb55e22439 | [
"BSD-3-Clause"
] | 16 | 2015-02-05T21:25:58.000Z | 2015-09-18T20:27:06.000Z | billy2pupa/mt.py | backwardn/billy | 07ac788d25a6c79d03dd0e3d55459bbb55e22439 | [
"BSD-3-Clause"
] | 22 | 2015-03-23T07:13:20.000Z | 2016-06-10T04:41:06.000Z | from openstatesapi.jurisdiction import make_jurisdiction
J = make_jurisdiction('mt')
J.url = 'http://montana.gov'
| 23 | 56 | 0.782609 | 15 | 115 | 5.866667 | 0.733333 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 115 | 4 | 57 | 28.75 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 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 |
be9d6bec6dcf51b538f241f1aa8df6194f201afa | 90 | py | Python | cgtasknet/__init__.py | Pugavkomm/-test-multy_cognitive_tasks | 858e1f28813f09340211c57268daf4f8581a3459 | [
"MIT"
] | null | null | null | cgtasknet/__init__.py | Pugavkomm/-test-multy_cognitive_tasks | 858e1f28813f09340211c57268daf4f8581a3459 | [
"MIT"
] | 31 | 2021-12-28T09:44:10.000Z | 2022-03-21T14:42:28.000Z | cgtasknet/__init__.py | Pugavkomm/cgtasknet | 858e1f28813f09340211c57268daf4f8581a3459 | [
"MIT"
] | 1 | 2021-12-03T07:03:14.000Z | 2021-12-03T07:03:14.000Z | r"""
cgtasknet is a library for training spiking neural
networks with cognitive tasks
"""
| 18 | 50 | 0.777778 | 13 | 90 | 5.384615 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 4 | 51 | 22.5 | 0.921053 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bebdcb37a43ef1266a7e2d299ee8f5c5b5d3ab1d | 114 | py | Python | tasks.py | uranusjr/snafu | ddcbf8dc8f26fbab6f352058d4b3e62fd01ea331 | [
"ISC"
] | 27 | 2017-10-09T02:41:23.000Z | 2020-12-18T22:42:55.000Z | tasks.py | imbi7py/snafu | ddcbf8dc8f26fbab6f352058d4b3e62fd01ea331 | [
"ISC"
] | 22 | 2018-02-22T17:08:50.000Z | 2021-11-07T09:20:18.000Z | tasks.py | imbi7py/snafu | ddcbf8dc8f26fbab6f352058d4b3e62fd01ea331 | [
"ISC"
] | 2 | 2018-01-18T21:03:30.000Z | 2021-01-18T05:14:18.000Z | import invoke
import docs
import installers
import shims
namespace = invoke.Collection(docs, installers, shims)
| 14.25 | 54 | 0.815789 | 14 | 114 | 6.642857 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 7 | 55 | 16.285714 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe50c28f19e1cc34d1b37c9b9dc4813ca094b63b | 63 | py | Python | main.py | zbork/exams-master | 95969100bb1bb3b696522b20312669bcfc56a30f | [
"MIT"
] | null | null | null | main.py | zbork/exams-master | 95969100bb1bb3b696522b20312669bcfc56a30f | [
"MIT"
] | 27 | 2018-10-03T15:59:00.000Z | 2018-12-12T16:19:01.000Z | main.py | zbork/exams-master | 95969100bb1bb3b696522b20312669bcfc56a30f | [
"MIT"
] | 1 | 2018-10-05T22:14:07.000Z | 2018-10-05T22:14:07.000Z | from project import create_app
app = create_app('flask.cfg')
| 12.6 | 30 | 0.761905 | 10 | 63 | 4.6 | 0.7 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 4 | 31 | 15.75 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.