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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
168814e706f0f076004da9a77e1b4e86694c3054 | 100 | py | Python | beginner/1143.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | beginner/1143.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | beginner/1143.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
for I in range(int(input())):
print("%i %i %i"%(I+1,(I+1)**2,(I+1)**3)) | 25 | 45 | 0.45 | 21 | 100 | 2.142857 | 0.619048 | 0.133333 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.16 | 100 | 4 | 45 | 25 | 0.464286 | 0.21 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
169c742cc546554c008ccd3ebb7fbbd27eb2a786 | 207 | py | Python | tests/constants.py | m-mead/pip-tools | 37ce9e36d6033ede0667a1b293cd16843a85be4d | [
"BSD-3-Clause"
] | 4,085 | 2017-02-17T08:51:25.000Z | 2022-03-31T22:44:12.000Z | tests/constants.py | m-mead/pip-tools | 37ce9e36d6033ede0667a1b293cd16843a85be4d | [
"BSD-3-Clause"
] | 1,173 | 2017-02-17T16:50:44.000Z | 2022-03-31T20:14:19.000Z | tests/constants.py | astrojuanlu/pip-tools | 4776ac99fb8a396f6d2ed1a4370fd3b2e6875940 | [
"BSD-3-Clause"
] | 351 | 2017-02-17T17:33:08.000Z | 2022-03-30T13:33:38.000Z | import os
TEST_DATA_PATH = os.path.join(os.path.dirname(__file__), "test_data")
MINIMAL_WHEELS_PATH = os.path.join(TEST_DATA_PATH, "minimal_wheels")
PACKAGES_PATH = os.path.join(TEST_DATA_PATH, "packages")
| 34.5 | 69 | 0.792271 | 34 | 207 | 4.382353 | 0.323529 | 0.214765 | 0.241611 | 0.281879 | 0.348993 | 0.348993 | 0.348993 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 207 | 5 | 70 | 41.4 | 0.776042 | 0 | 0 | 0 | 0 | 0 | 0.149758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
16cb6fc3f61558cdc27dc4686a94b9e74a947c60 | 198 | py | Python | src/phd_qmclib/mrbp_qmc/dmc_exec/__init__.py | oarodriguez/PhD-QMCLib | c3d0197a92f5c6954839f7e2689b725f72448988 | [
"BSD-3-Clause"
] | null | null | null | src/phd_qmclib/mrbp_qmc/dmc_exec/__init__.py | oarodriguez/PhD-QMCLib | c3d0197a92f5c6954839f7e2689b725f72448988 | [
"BSD-3-Clause"
] | null | null | null | src/phd_qmclib/mrbp_qmc/dmc_exec/__init__.py | oarodriguez/PhD-QMCLib | c3d0197a92f5c6954839f7e2689b725f72448988 | [
"BSD-3-Clause"
] | null | null | null | """
"""
#
from . import config
#
from .cli_app import AppSpec, CLIApp
#
from .io import HDF5FileHandler
#
from .proc import (
DensityEstSpec, ModelSysConfSpec, Proc, ProcInput, SSFEstSpec
)
| 11.647059 | 65 | 0.707071 | 21 | 198 | 6.619048 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.186869 | 198 | 16 | 66 | 12.375 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
16d0a1986ded6e0637211aff05bcb8f980e6327c | 372 | py | Python | flanautils/__init__.py | AlberLC/flanautils | e7fe5ca5b941cb680ade9714c311de56bf81c2de | [
"MIT"
] | null | null | null | flanautils/__init__.py | AlberLC/flanautils | e7fe5ca5b941cb680ade9714c311de56bf81c2de | [
"MIT"
] | null | null | null | flanautils/__init__.py | AlberLC/flanautils | e7fe5ca5b941cb680ade9714c311de56bf81c2de | [
"MIT"
] | null | null | null | from flanautils.asyncs import *
from flanautils.constants import *
from flanautils.data_structures import *
from flanautils.decorators import *
from flanautils.exceptions import *
from flanautils.iterables import *
from flanautils.maths import *
from flanautils.medias import *
from flanautils.models import *
from flana... | 31 | 40 | 0.822581 | 45 | 372 | 6.777778 | 0.333333 | 0.504918 | 0.655738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 372 | 11 | 41 | 33.818182 | 0.929878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
16d5c30d18b4541b8a0a965b8205ad06a0674b2c | 291 | py | Python | virtual/lib/python3.6/site-packages/pylint/test/extensions/data/overlapping_exceptions_py33.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | virtual/lib/python3.6/site-packages/pylint/test/extensions/data/overlapping_exceptions_py33.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | virtual/lib/python3.6/site-packages/pylint/test/extensions/data/overlapping_exceptions_py33.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | # pylint: disable=missing-docstring
import socket
try:
pass
except (IOError, OSError): # [overlapping-except]
pass
try:
pass
except (socket.error, OSError): # [overlapping-except]
pass
try:
pass
except (ConnectionError, socket.error): # [overlapping-except]
pass
| 15.315789 | 62 | 0.690722 | 32 | 291 | 6.28125 | 0.4375 | 0.104478 | 0.19403 | 0.278607 | 0.40796 | 0.40796 | 0.40796 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 291 | 18 | 63 | 16.166667 | 0.858974 | 0.329897 | 0 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
16de1c8197cb102a9f41a5aa3d264c224d907912 | 276 | py | Python | slixmpp/plugins/xep_0437/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 86 | 2016-07-04T13:26:02.000Z | 2022-02-19T10:26:21.000Z | slixmpp/plugins/xep_0437/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 10 | 2016-09-30T18:55:41.000Z | 2020-05-01T14:22:47.000Z | slixmpp/plugins/xep_0437/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 45 | 2016-09-30T18:48:41.000Z | 2022-03-18T21:39:33.000Z | # Slixmpp: The Slick XMPP Library
# Copyright (C) 2020 Mathieu Pasquet
# This file is part of Slixmpp.
# See the file LICENSE for copying permission.
from slixmpp.plugins.base import register_plugin
from slixmpp.plugins.xep_0437.rai import XEP_0437
register_plugin(XEP_0437)
| 30.666667 | 49 | 0.807971 | 43 | 276 | 5.069767 | 0.674419 | 0.09633 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066946 | 0.134058 | 276 | 8 | 50 | 34.5 | 0.845188 | 0.51087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
16e8009042e7975d1d3f6dd8e52657df59b4c263 | 198 | py | Python | JOSS/make.py | usnistgov/chebby | 75dbccfd9a029e91cbfdfd263befc51b893822ea | [
"MIT"
] | 27 | 2017-03-23T19:09:10.000Z | 2022-01-09T09:00:40.000Z | JOSS/make.py | usnistgov/chebby | 75dbccfd9a029e91cbfdfd263befc51b893822ea | [
"MIT"
] | 11 | 2017-10-07T23:44:53.000Z | 2021-09-01T12:33:56.000Z | JOSS/make.py | usnistgov/chebby | 75dbccfd9a029e91cbfdfd263befc51b893822ea | [
"MIT"
] | 9 | 2016-12-11T04:24:36.000Z | 2020-08-09T04:35:59.000Z |
import subprocess, sys
subprocess.check_call('pandoc --filter pandoc-citeproc --bibliography paper.bib paper.md -o paper.pdf',
shell=True,stdout=sys.stdout,stderr=sys.stderr) | 49.5 | 104 | 0.707071 | 26 | 198 | 5.346154 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176768 | 198 | 4 | 105 | 49.5 | 0.852761 | 0 | 0 | 0 | 0 | 0 | 0.39899 | 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 |
bc579599d0d22fc28327a1b8e19b46d32e17711c | 56 | py | Python | flask_app/__init__.py | razzlestorm/quake-ds-pt9 | 82a92c7c34838ff5f9960a12db1c627ce44f9e7d | [
"MIT"
] | null | null | null | flask_app/__init__.py | razzlestorm/quake-ds-pt9 | 82a92c7c34838ff5f9960a12db1c627ce44f9e7d | [
"MIT"
] | null | null | null | flask_app/__init__.py | razzlestorm/quake-ds-pt9 | 82a92c7c34838ff5f9960a12db1c627ce44f9e7d | [
"MIT"
] | null | null | null | from application import create_app
APP = create_app()
| 11.2 | 34 | 0.785714 | 8 | 56 | 5.25 | 0.625 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 4 | 35 | 14 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bc8b03a4bba6660e117ca1372889bc05fc549198 | 156 | py | Python | python/src/base/class_test/__init__.py | weiwei02/Technical--Documentation | d53d702b17cbeb9e4940764c6e4a4277382ec0cf | [
"Apache-2.0"
] | 2 | 2017-06-25T13:30:40.000Z | 2017-09-18T16:50:40.000Z | python/src/base/class_test/__init__.py | weiwei02/Technical--Documentation | d53d702b17cbeb9e4940764c6e4a4277382ec0cf | [
"Apache-2.0"
] | null | null | null | python/src/base/class_test/__init__.py | weiwei02/Technical--Documentation | d53d702b17cbeb9e4940764c6e4a4277382ec0cf | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""
:author Wang Weiwei <email>weiwei02@vip.qq.com / weiwei.wang@100credit.com</email>
:sine 2017/8/11
:version 1.0
""" | 22.285714 | 87 | 0.641026 | 24 | 156 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 0.173077 | 156 | 7 | 88 | 22.285714 | 0.658915 | 0.858974 | 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 |
4c134d2a69700fcaf1ee4fca6fcc8ada465cb11c | 147 | py | Python | kii/results/startupload.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | 2 | 2018-02-04T21:16:02.000Z | 2021-12-01T16:51:43.000Z | kii/results/startupload.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | null | null | null | kii/results/startupload.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | null | null | null | from .base import BaseResult
class StartUploadResult(BaseResult):
@property
def upload_id(self):
return self._result['uploadID']
| 18.375 | 39 | 0.714286 | 16 | 147 | 6.4375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197279 | 147 | 7 | 40 | 21 | 0.872881 | 0 | 0 | 0 | 0 | 0 | 0.054422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
4c21b287417c95ba3e6214c7979678e5d558c8e9 | 89 | py | Python | ytcookiecutter/custom_types.py | chrishavlin/dxlcookiecuttertest | b297760506d65e42f546a2051c3b8d2f1e7167b7 | [
"BSD-3-Clause"
] | null | null | null | ytcookiecutter/custom_types.py | chrishavlin/dxlcookiecuttertest | b297760506d65e42f546a2051c3b8d2f1e7167b7 | [
"BSD-3-Clause"
] | 1 | 2022-03-23T23:22:54.000Z | 2022-03-23T23:22:54.000Z | ytcookiecutter/custom_types.py | chrishavlin/dxlcookiecuttertest | b297760506d65e42f546a2051c3b8d2f1e7167b7 | [
"BSD-3-Clause"
] | 1 | 2021-10-20T19:37:13.000Z | 2021-10-20T19:37:13.000Z | from typing import Union
from pathlib import PosixPath
filelike = Union[str, PosixPath]
| 17.8 | 32 | 0.808989 | 12 | 89 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 4 | 33 | 22.25 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
4c284292771b46c8d563c378a6d3819655fa54c4 | 90 | py | Python | tests/test_data/testpkgs/pkg1/sub/__main__.py | r3m0t/debugpy | 090e3c3ef5758e5b316514c9d6f44f9b9b488cf1 | [
"MIT"
] | 695 | 2020-01-30T14:34:51.000Z | 2022-03-31T09:31:57.000Z | tests/test_data/testpkgs/pkg1/sub/__main__.py | r3m0t/debugpy | 090e3c3ef5758e5b316514c9d6f44f9b9b488cf1 | [
"MIT"
] | 845 | 2020-01-29T23:53:36.000Z | 2022-03-31T19:45:04.000Z | tests/test_data/testpkgs/pkg1/sub/__main__.py | r3m0t/debugpy | 090e3c3ef5758e5b316514c9d6f44f9b9b488cf1 | [
"MIT"
] | 66 | 2020-01-30T13:10:38.000Z | 2022-03-29T07:11:17.000Z | import debuggee
from debuggee import backchannel
debuggee.setup()
backchannel.send("ok")
| 15 | 32 | 0.811111 | 11 | 90 | 6.636364 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 5 | 33 | 18 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 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 |
4c38a5af19b7d49eeb5d58358211032bc42160b7 | 72 | py | Python | app/backend/visualization/helpers/__init__.py | admariner/social-media-profiler | 2001167201fc9602fef3070ee9d31f005978bfe8 | [
"MIT"
] | 34 | 2020-12-14T15:48:26.000Z | 2022-02-27T14:24:29.000Z | app/backend/visualization/helpers/__init__.py | pandrey2003/social-media-profiler | 4160e318997d161d63b8233511a65669542da026 | [
"MIT"
] | 1 | 2021-12-15T02:37:32.000Z | 2021-12-15T02:37:32.000Z | app/backend/visualization/helpers/__init__.py | admariner/social-media-profiler | 2001167201fc9602fef3070ee9d31f005978bfe8 | [
"MIT"
] | 6 | 2021-02-11T16:29:04.000Z | 2022-03-23T11:42:32.000Z | # -*- coding: utf-8 -*-
"""The helpers for the visualization module."""
| 24 | 47 | 0.625 | 9 | 72 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.152778 | 72 | 2 | 48 | 36 | 0.721311 | 0.888889 | 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 |
4c4512c0405a6012a9abb4105a8005e49717c199 | 1,265 | py | Python | aiotdlib/api/functions/set_passport_element.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/set_passport_element.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/set_passport_element.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! #
# ... | 38.333333 | 224 | 0.537549 | 109 | 1,265 | 6.155963 | 0.605505 | 0.04769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279842 | 1,265 | 32 | 225 | 39.53125 | 0.736553 | 0.628459 | 0 | 0 | 1 | 0 | 0.055422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.636364 | 0.363636 | 0.090909 | 0.909091 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
4c474101306d4f8773056636600f2f6eed48ab89 | 188 | py | Python | WebMirror/management/rss_parser_funcs/feed_parse_extractTakeyourhearttranslation000WebhostappCom.py | fake-name/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 193 | 2016-08-02T22:04:35.000Z | 2022-03-09T20:45:41.000Z | WebMirror/management/rss_parser_funcs/feed_parse_extractTakeyourhearttranslation000WebhostappCom.py | fake-name/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 533 | 2016-08-23T20:48:23.000Z | 2022-03-28T15:55:13.000Z | WebMirror/management/rss_parser_funcs/feed_parse_extractTakeyourhearttranslation000WebhostappCom.py | rrosajp/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 19 | 2015-08-13T18:01:08.000Z | 2021-07-12T17:13:09.000Z | def extractTakeyourhearttranslation000WebhostappCom(item):
'''
Parser for 'takeyourhearttranslation.000webhostapp.com'
'''
# Is trying to force a garbage app shit thing.
return None | 26.857143 | 58 | 0.787234 | 19 | 188 | 7.789474 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03681 | 0.132979 | 188 | 7 | 59 | 26.857143 | 0.871166 | 0.537234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4c507fbce484f5091f34770d22e91b0577a8ca0e | 203 | py | Python | static_typing/_logging.py | mbdevpl/static-typing | db5e6416aa8169f0252c199793c304fd99b152ef | [
"Apache-2.0"
] | 3 | 2017-07-11T11:55:15.000Z | 2021-06-28T06:00:54.000Z | static_typing/_logging.py | mbdevpl/static-typing | db5e6416aa8169f0252c199793c304fd99b152ef | [
"Apache-2.0"
] | null | null | null | static_typing/_logging.py | mbdevpl/static-typing | db5e6416aa8169f0252c199793c304fd99b152ef | [
"Apache-2.0"
] | 3 | 2019-11-26T21:07:35.000Z | 2022-02-07T08:19:19.000Z | """Default logging mechanism for static_typing module."""
import logging
import os
logging.basicConfig(
level=getattr(logging, os.environ.get('LOGGING_LEVEL', 'warning').upper(), logging.WARNING))
| 25.375 | 96 | 0.758621 | 25 | 203 | 6.08 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 203 | 7 | 97 | 29 | 0.835165 | 0.251232 | 0 | 0 | 0 | 0 | 0.136986 | 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 |
4c65fabc3008fb5815705aba257b1edf3a187a83 | 238 | py | Python | (1)Text/re_groups.py | mass9/Python | 66499164e36a4fe9630029d34b292ab06f849b2f | [
"MIT"
] | null | null | null | (1)Text/re_groups.py | mass9/Python | 66499164e36a4fe9630029d34b292ab06f849b2f | [
"MIT"
] | null | null | null | (1)Text/re_groups.py | mass9/Python | 66499164e36a4fe9630029d34b292ab06f849b2f | [
"MIT"
] | null | null | null | from re_test_patterns import test_patterns
test_patterns(
'abbaaabbbbaaaaa',
[('a(ab)', 'a followed by literal ab'),
('a(a*b*)', 'a followed by 0-n a and 0-n b'),
('a(ab)*', 'a followed by 0-n ab'),
('a(ab)+', 'a followed by 1-n ab')],
)
| 26.444444 | 45 | 0.62605 | 46 | 238 | 3.152174 | 0.347826 | 0.103448 | 0.303448 | 0.248276 | 0.393103 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.142857 | 238 | 8 | 46 | 29.75 | 0.691176 | 0 | 0 | 0 | 0 | 0 | 0.554622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c66aa1ef16544fda8f77f9f0d2b98ec724ddba3 | 254 | py | Python | lightning/__init__.py | lightning-viz/lightning-python | 68563e1da82d162d204069d7586f7c695b8bd4a6 | [
"MIT"
] | 176 | 2015-01-21T00:05:53.000Z | 2022-01-14T07:59:37.000Z | lightning/__init__.py | alirezarezvani/lightning-python | 68563e1da82d162d204069d7586f7c695b8bd4a6 | [
"MIT"
] | 37 | 2015-01-21T06:08:50.000Z | 2020-03-17T06:30:47.000Z | lightning/__init__.py | alirezarezvani/lightning-python | 68563e1da82d162d204069d7586f7c695b8bd4a6 | [
"MIT"
] | 37 | 2015-01-24T16:57:11.000Z | 2021-09-04T16:47:02.000Z | from .main import Lightning
from .session import Session
from .visualization import Visualization, VisualizationLocal
from .types.plots import *
from .types.images import *
from .types.streaming import *
from .types.three import *
__version__ = "1.2.1"
| 25.4 | 60 | 0.787402 | 33 | 254 | 5.939394 | 0.454545 | 0.183673 | 0.229592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013575 | 0.129921 | 254 | 9 | 61 | 28.222222 | 0.873303 | 0 | 0 | 0 | 0 | 0 | 0.019685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4c6f020be43b7b24a7466f9741619411137fa8d9 | 58,918 | py | Python | mmtbx/regression/tst_pdbtools.py | TheApacheCats/cctbx_project | 94e3e85dd6385f0dc3f45077b743757d22b19391 | [
"BSD-3-Clause-LBNL"
] | 2 | 2021-03-18T12:31:57.000Z | 2022-03-14T06:27:06.000Z | mmtbx/regression/tst_pdbtools.py | indu-in/cctbx_project1 | e09447ddc2ba3aa9d91b21008b0162ab290b0c30 | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/regression/tst_pdbtools.py | indu-in/cctbx_project1 | e09447ddc2ba3aa9d91b21008b0162ab290b0c30 | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | from __future__ import absolute_import, division, print_function
#import libtbx.load_env
import sys, os, math
from cctbx.array_family import flex
from libtbx.utils import remove_files, search_for
from mmtbx import utils
from libtbx.test_utils import approx_equal, not_approx_equal, run_command, \
show_diff
import iotb... | 49.803888 | 105 | 0.56599 | 10,699 | 58,918 | 2.994579 | 0.087391 | 0.029683 | 0.021068 | 0.029495 | 0.746496 | 0.685633 | 0.659353 | 0.638035 | 0.620119 | 0.611754 | 0 | 0.236881 | 0.341814 | 58,918 | 1,182 | 106 | 49.846024 | 0.589314 | 0.001595 | 0 | 0.453499 | 0 | 0.313552 | 0.605356 | 0.040981 | 0 | 0 | 0 | 0 | 0.108946 | 1 | 0.028344 | false | 0 | 0.014172 | 0.000886 | 0.044287 | 0.030115 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c7b2bc66e596424f7eb9532ab872f61d109e9c5 | 182 | py | Python | zhaquirks/samjin/multi.py | WolfRevo/zha-device-handlers | 0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3 | [
"Apache-2.0"
] | 213 | 2020-04-16T10:48:31.000Z | 2022-03-30T20:48:07.000Z | zhaquirks/samjin/multi.py | WolfRevo/zha-device-handlers | 0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3 | [
"Apache-2.0"
] | 1,088 | 2020-04-03T13:23:29.000Z | 2022-03-31T23:55:03.000Z | zhaquirks/samjin/multi.py | WolfRevo/zha-device-handlers | 0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3 | [
"Apache-2.0"
] | 280 | 2020-04-24T08:44:27.000Z | 2022-03-31T12:58:04.000Z | """Samjin Multi Quirk."""
# <SimpleDescriptor endpoint=1 profile=260 device_type=1026
# device_version=0
# input_clusters=[0, 1, 3, 32, 1026, 1280, 64514]
# output_clusters=[3, 25]>
| 30.333333 | 59 | 0.71978 | 27 | 182 | 4.703704 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186335 | 0.115385 | 182 | 5 | 60 | 36.4 | 0.602484 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5c754789cfaa3241cc60e067e2adee1597c3214 | 340 | py | Python | runtests.py | frmdstryr/Willow | be53837224addc6056a754b4d3a3745e9cc03bd9 | [
"BSD-3-Clause"
] | 111 | 2017-02-05T18:08:49.000Z | 2022-03-11T19:27:34.000Z | runtests.py | frmdstryr/Willow | be53837224addc6056a754b4d3a3745e9cc03bd9 | [
"BSD-3-Clause"
] | 43 | 2017-01-27T00:10:02.000Z | 2022-02-21T14:44:20.000Z | runtests.py | frmdstryr/Willow | be53837224addc6056a754b4d3a3745e9cc03bd9 | [
"BSD-3-Clause"
] | 27 | 2017-01-27T15:55:57.000Z | 2021-08-06T10:21:40.000Z | import sys
import unittest
from tests.test_registry import *
from tests.test_pillow import *
from tests.test_wand import *
from tests.test_image import *
if __name__ == '__main__':
args = list(sys.argv)
if '--opencv' in args:
from tests.test_opencv import *
args.remove('--opencv')
unitt... | 18.888889 | 39 | 0.691176 | 47 | 340 | 4.723404 | 0.404255 | 0.202703 | 0.292793 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 340 | 17 | 40 | 20 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.583333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e6c2c9c2bff562168ae3ceae8b47799d6908aa07 | 256 | py | Python | src/openprocurement/tender/cfaua/adapters/tender/validators/minimalstep.py | pontostroy/api | 5afdd3a62a8e562cf77e2d963d88f1a26613d16a | [
"Apache-2.0"
] | 3 | 2020-03-13T06:44:23.000Z | 2020-11-05T18:25:29.000Z | src/openprocurement/tender/cfaua/adapters/tender/validators/minimalstep.py | pontostroy/api | 5afdd3a62a8e562cf77e2d963d88f1a26613d16a | [
"Apache-2.0"
] | 2 | 2021-03-25T23:27:04.000Z | 2022-03-21T22:18:15.000Z | src/openprocurement/tender/cfaua/adapters/tender/validators/minimalstep.py | scrubele/prozorro-testing | 42b93ea2f25d8cc40e66c596f582c7c05e2a9d76 | [
"Apache-2.0"
] | 3 | 2020-10-16T16:25:14.000Z | 2021-05-22T12:26:20.000Z | from openprocurement.tender.core.validation import validate_minimalstep
class MinimalStepValidate(object):
def __init__(self, tender):
self.context = tender
def __call__(self, cls, data, value):
validate_minimalstep(data, value)
| 25.6 | 71 | 0.738281 | 28 | 256 | 6.392857 | 0.678571 | 0.212291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 256 | 9 | 72 | 28.444444 | 0.852381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e6cf82452462627841dcc03f3d8f56f734bfc5f7 | 1,511 | py | Python | boltzmann/generative/transforms/noise.py | maccallumlab/BoltzmannGenerator | f6aba2e3602891c2acae92a894716ab9da7fb654 | [
"MIT"
] | 9 | 2019-10-02T03:37:49.000Z | 2021-04-23T09:18:36.000Z | boltzmann/generative/transforms/noise.py | maccallumlab/BoltzmannGenerator | f6aba2e3602891c2acae92a894716ab9da7fb654 | [
"MIT"
] | null | null | null | boltzmann/generative/transforms/noise.py | maccallumlab/BoltzmannGenerator | f6aba2e3602891c2acae92a894716ab9da7fb654 | [
"MIT"
] | 4 | 2019-10-23T16:30:54.000Z | 2020-07-24T20:03:10.000Z | from .base import Transform
import torch
class NoiseTransform(Transform):
def __init__(self, std):
super().__init__()
self.std = std
def forward(self, inputs, context=None):
noise = torch.normal(0, self.std, size=inputs.shape).to(inputs.device)
return inputs + noise, torch.zer... | 32.148936 | 81 | 0.663137 | 192 | 1,511 | 5.114583 | 0.166667 | 0.185336 | 0.138493 | 0.171079 | 0.705703 | 0.593686 | 0.556008 | 0.266802 | 0.266802 | 0.266802 | 0 | 0.021997 | 0.217737 | 1,511 | 46 | 82 | 32.847826 | 0.808799 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0 | 0.060606 | 0.121212 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e6e1eaaca4fb14117607777448e94c018981f068 | 18 | py | Python | testbase/version.py | fossabot/QTAF | 22fbe96bc2fcdf22fb7eafa2cc7ab86016561f49 | [
"BSD-3-Clause"
] | 452 | 2016-09-27T11:21:00.000Z | 2022-03-31T06:11:30.000Z | testbase/version.py | fossabot/QTAF | 22fbe96bc2fcdf22fb7eafa2cc7ab86016561f49 | [
"BSD-3-Clause"
] | 39 | 2016-09-29T06:14:04.000Z | 2022-03-22T04:24:36.000Z | testbase/version.py | fossabot/QTAF | 22fbe96bc2fcdf22fb7eafa2cc7ab86016561f49 | [
"BSD-3-Clause"
] | 129 | 2016-09-27T11:28:42.000Z | 2022-03-17T09:05:16.000Z | version = "5.2.4"
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e6e20fbc9cd553a3eb4195ebe8276fc03a14b186 | 10,415 | py | Python | tests/test_flowcontrol_streams.py | GeekLiB/aiohttp | 6de60d6655d5e0837b7cc3e9f1d29419f4771d37 | [
"Apache-2.0"
] | null | null | null | tests/test_flowcontrol_streams.py | GeekLiB/aiohttp | 6de60d6655d5e0837b7cc3e9f1d29419f4771d37 | [
"Apache-2.0"
] | null | null | null | tests/test_flowcontrol_streams.py | GeekLiB/aiohttp | 6de60d6655d5e0837b7cc3e9f1d29419f4771d37 | [
"Apache-2.0"
] | null | null | null | import asyncio
import unittest
from unittest import mock
from aiohttp import streams
class TestFlowControlStreamReader(unittest.TestCase):
def setUp(self):
self.stream = mock.Mock(paused=False)
self.transp = self.stream.transport
self.loop = asyncio.new_event_loop()
asyncio.set_e... | 31.656535 | 70 | 0.63975 | 1,344 | 10,415 | 4.738095 | 0.078869 | 0.103329 | 0.096106 | 0.075377 | 0.867462 | 0.81093 | 0.78973 | 0.730999 | 0.688756 | 0.598932 | 0 | 0.012783 | 0.241383 | 10,415 | 328 | 71 | 31.753049 | 0.793191 | 0.011042 | 0 | 0.689516 | 0 | 0 | 0.009131 | 0 | 0 | 0 | 0 | 0 | 0.274194 | 1 | 0.137097 | false | 0 | 0.016129 | 0 | 0.181452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e6f514050b3f35eb259b4d982e0316b36f1adfe1 | 345 | py | Python | live_de_python_miniserie_funcoes/example01.py | flaviogf/Exemplos | fc666429f6e90c388e201fb7b7d5801e3c25bd25 | [
"MIT"
] | null | null | null | live_de_python_miniserie_funcoes/example01.py | flaviogf/Exemplos | fc666429f6e90c388e201fb7b7d5801e3c25bd25 | [
"MIT"
] | 5 | 2019-12-29T04:58:10.000Z | 2021-03-11T04:35:15.000Z | live_de_python_miniserie_funcoes/example01.py | flaviogf/Exemplos | fc666429f6e90c388e201fb7b7d5801e3c25bd25 | [
"MIT"
] | null | null | null | def my_sum(x, y):
return x + y
def my_sub(x, y):
return x - y
def my_mul(x, y):
return x * y
def my_div(x, y):
return x / y
calc = {
'sum': my_sum,
'sub': my_sub,
'mul': my_mul,
'div': my_div
}
print(calc['sum'](10, 10))
print(calc['sub'](10, 10))
print(calc['mul'](10, 10))
pri... | 11.5 | 26 | 0.521739 | 65 | 345 | 2.646154 | 0.184615 | 0.093023 | 0.186047 | 0.209302 | 0.319767 | 0.261628 | 0.261628 | 0 | 0 | 0 | 0 | 0.062992 | 0.263768 | 345 | 29 | 27 | 11.896552 | 0.614173 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.222222 | 0.444444 | 0.222222 | 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 |
fc20f0180cb66067ded061df156f0e52d88eb88a | 12,761 | py | Python | data_io/basepy.py | zbhoscar/submax | 725c4de09e182f9cd1c4afe93ad175464f5c7cea | [
"Apache-2.0"
] | null | null | null | data_io/basepy.py | zbhoscar/submax | 725c4de09e182f9cd1c4afe93ad175464f5c7cea | [
"Apache-2.0"
] | null | null | null | data_io/basepy.py | zbhoscar/submax | 725c4de09e182f9cd1c4afe93ad175464f5c7cea | [
"Apache-2.0"
] | null | null | null | import random
import cv2
import os
import numpy as np
import multiprocessing as mp
import math
import matplotlib.pyplot as plt
import json
import copy
def get_remaining_to_multi(todo_file_list, done_file_list, list_txt_path=None, divide_num=1, if_print=False):
already_str = str(done_file_list)
###
# B... | 12,761 | 12,761 | 0.615939 | 1,816 | 12,761 | 4.137665 | 0.180066 | 0.01597 | 0.022358 | 0.029811 | 0.196566 | 0.142534 | 0.109396 | 0.089167 | 0.055629 | 0.055629 | 0 | 0.035185 | 0.265026 | 12,761 | 1 | 12,761 | 12,761 | 0.76586 | 0.357652 | 0 | 0.125749 | 0 | 0 | 0.0539 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0.149701 | false | 0 | 0.053892 | 0.017964 | 0.341317 | 0.047904 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc2710344f44c1677d073358e73a7eac595e189d | 32 | py | Python | 01-logica-de-programacao-e-algoritmos/Aula 04/4 Estrutura de repeticao for (para)/ex01.py | rafaelbarretomg/Uninter | 1f84b0103263177122663e991db3a8aeb106a959 | [
"MIT"
] | 2 | 2021-06-14T02:21:18.000Z | 2021-09-04T03:07:16.000Z | 01-logica-de-programacao-e-algoritmos/Aula 04/4 Estrutura de repeticao for (para)/ex01.py | rafaelbarretomg/Uninter | 1f84b0103263177122663e991db3a8aeb106a959 | [
"MIT"
] | null | null | null | 01-logica-de-programacao-e-algoritmos/Aula 04/4 Estrutura de repeticao for (para)/ex01.py | rafaelbarretomg/Uninter | 1f84b0103263177122663e991db3a8aeb106a959 | [
"MIT"
] | 2 | 2021-09-04T03:07:17.000Z | 2022-03-23T04:24:00.000Z | for i in range(6):
print(i)
| 10.666667 | 18 | 0.5625 | 7 | 32 | 2.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.28125 | 32 | 2 | 19 | 16 | 0.73913 | 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 |
fc2b5f0fcb86593ef8de2f1bba755b877e5955dd | 289 | py | Python | lib/python3.8/site-packages/ansible_collections/community/crypto/tests/integration/targets/x509_certificate_info/test_plugins/jinja_compatibility.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | lib/python3.8/site-packages/ansible_collections/community/crypto/tests/integration/targets/x509_certificate_info/test_plugins/jinja_compatibility.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | lib/python3.8/site-packages/ansible_collections/community/crypto/tests/integration/targets/x509_certificate_info/test_plugins/jinja_compatibility.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
def compatibility_in_test(a, b):
return a in b
class TestModule:
''' Ansible math jinja2 tests '''
def tests(self):
return {
'in': compatibility_in_test,
}
| 18.0625 | 66 | 0.650519 | 34 | 289 | 5.117647 | 0.676471 | 0.172414 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004695 | 0.262976 | 289 | 15 | 67 | 19.266667 | 0.812207 | 0.086505 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
fc41cff89e6ce4e9c9592f05d49bcb0e26f54a3f | 188 | py | Python | scikits/statsmodels/datasets/__init__.py | escheffel/statsmodels | bc70147c4c7ea00b6ac7256bbaf107902983c189 | [
"BSD-3-Clause"
] | 2 | 2017-01-05T22:44:37.000Z | 2018-04-26T08:34:00.000Z | scikits/statsmodels/datasets/__init__.py | changhiskhan/statsmodels | af26395e8b75b112ae7b3099532aefd8d002b8ca | [
"BSD-3-Clause"
] | null | null | null | scikits/statsmodels/datasets/__init__.py | changhiskhan/statsmodels | af26395e8b75b112ae7b3099532aefd8d002b8ca | [
"BSD-3-Clause"
] | null | null | null | import warnings
warnings.warn('scikits.statsmodels namespace is deprecated and will be '
'removed in 0.5, please use statsmodels instead')
from statsmodels.datasets import *
| 37.6 | 72 | 0.75 | 24 | 188 | 5.875 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.18617 | 188 | 4 | 73 | 47 | 0.908497 | 0 | 0 | 0 | 0 | 0 | 0.542553 | 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 |
fc67129bc2aa01b23afc86c4d4b4ffb8911d38a0 | 160 | py | Python | zcrmsdk/src/com/zoho/crm/api/record/mass_update_action_response.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/record/mass_update_action_response.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/record/mass_update_action_response.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | from abc import ABC, abstractmethod
class MassUpdateActionResponse(ABC):
def __init__(self):
"""Creates an instance of MassUpdateActionResponse"""
pass
| 17.777778 | 55 | 0.775 | 17 | 160 | 7.058824 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14375 | 160 | 8 | 56 | 20 | 0.875912 | 0.29375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
fc7984b4c8e64aa76c18f03d060f6fffbc9e7da5 | 273 | py | Python | mypyapp/errors.py | aminexplo/mypyadventure | 8a1a3d4b0fa2bc632da911f025f44bb78ba42e19 | [
"MIT"
] | null | null | null | mypyapp/errors.py | aminexplo/mypyadventure | 8a1a3d4b0fa2bc632da911f025f44bb78ba42e19 | [
"MIT"
] | 4 | 2021-06-08T20:02:39.000Z | 2022-03-11T23:51:26.000Z | mypyapp/errors.py | aminexplo/mypyadventure | 8a1a3d4b0fa2bc632da911f025f44bb78ba42e19 | [
"MIT"
] | null | null | null | from flask import render_template
from . import bp, db
@bp.errorhandler(404)
def not_found_error(error):
return render_template('404.html'), 404
@bp.errorhandler(500)
def internal_error(error):
db.session.rollback()
return render_template('500.html'), 500
| 18.2 | 43 | 0.739927 | 39 | 273 | 5.025641 | 0.487179 | 0.214286 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.142857 | 273 | 14 | 44 | 19.5 | 0.760684 | 0 | 0 | 0 | 0 | 0 | 0.058608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
fc850af7fb9fcc5795fe46441a5e052a67d31f94 | 328 | py | Python | login/models.py | PMO-SE/PMO-sys | de7a9ec84a00ec5fa2f9d22e04e4681f39e2b5b2 | [
"MIT"
] | null | null | null | login/models.py | PMO-SE/PMO-sys | de7a9ec84a00ec5fa2f9d22e04e4681f39e2b5b2 | [
"MIT"
] | null | null | null | login/models.py | PMO-SE/PMO-sys | de7a9ec84a00ec5fa2f9d22e04e4681f39e2b5b2 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class User(models.Model):
id = models.IntegerField(primary_key=True, auto_created=True)
username = models.CharField(max_length=255, null=False)
password = models.CharField(max_length=255, null=False)
identity = models.CharField(max_length=255, nul... | 41 | 65 | 0.762195 | 46 | 328 | 5.326087 | 0.586957 | 0.183673 | 0.220408 | 0.293878 | 0.440816 | 0.440816 | 0.440816 | 0 | 0 | 0 | 0 | 0.031579 | 0.131098 | 328 | 8 | 66 | 41 | 0.82807 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5da7dbc7961c6b47bd6a77c02a11be9f14886324 | 381 | py | Python | PyFlow/Packages/PyFlowOpenCv/Factories/UINodeFactory.py | wonderworks-software/PyFlowOpenCv | 299912a49041b5367522963680edf7c3ad96c222 | [
"Apache-2.0"
] | 92 | 2020-03-29T18:18:12.000Z | 2022-03-09T02:09:32.000Z | PyFlow/Packages/PyFlowOpenCv/Factories/UINodeFactory.py | bobosky/PyFlowOpenCv | 1c02fcbee6f3a1998f81e81d9673beab2fecae6c | [
"Apache-2.0"
] | 4 | 2020-06-27T09:34:19.000Z | 2021-01-07T14:31:33.000Z | PyFlow/Packages/PyFlowOpenCv/Factories/UINodeFactory.py | wonderworks-software/PyFlowOpenCv | 299912a49041b5367522963680edf7c3ad96c222 | [
"Apache-2.0"
] | 17 | 2020-04-05T18:25:37.000Z | 2022-01-16T15:20:41.000Z | from PyFlow.UI.Canvas.UINodeBase import UINodeBase
from PyFlow.Packages.PyFlowOpenCv.UI.UIOpenCvBaseNode import UIOpenCvBaseNode
from PyFlow.Packages.PyFlowOpenCv.UI.UICv_TransformNode import UICv_TransformNode
def createUINode(raw_instance):
if raw_instance.__class__.__name__ == "cv_Transform":
return UICv_Transf... | 38.1 | 81 | 0.860892 | 45 | 381 | 6.933333 | 0.466667 | 0.141026 | 0.115385 | 0.192308 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073491 | 381 | 9 | 82 | 42.333333 | 0.883853 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.857143 | 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 |
5da9de0670ce5f21947c5bd18e9f04e868b9ad9d | 184 | py | Python | com/tml/crawler/baidu.py | tianmlin19/FirstPython | e95e74787e333231d2993b8956098535225d09e1 | [
"Apache-2.0"
] | null | null | null | com/tml/crawler/baidu.py | tianmlin19/FirstPython | e95e74787e333231d2993b8956098535225d09e1 | [
"Apache-2.0"
] | null | null | null | com/tml/crawler/baidu.py | tianmlin19/FirstPython | e95e74787e333231d2993b8956098535225d09e1 | [
"Apache-2.0"
] | null | null | null | import urllib.request
request = urllib.request.Request('http://www.baidu.com')
response = urllib.request.urlopen(request)
buff = response.read()
html = buff.decode("utf8")
print(html) | 26.285714 | 56 | 0.755435 | 25 | 184 | 5.56 | 0.6 | 0.280576 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.081522 | 184 | 7 | 57 | 26.285714 | 0.816568 | 0 | 0 | 0 | 0 | 0 | 0.12973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5dba62127eafce48b21827564079a53d59f393e4 | 40,083 | py | Python | testcases/talib_test.py | keel1982/pyalgotrade | 5578596f2442aeb3f1a777a79f82e041c1609f5f | [
"Apache-2.0"
] | 2 | 2015-07-08T08:59:34.000Z | 2018-09-12T19:37:16.000Z | testcases/talib_test.py | leeong05/pyalgotrade | 5578596f2442aeb3f1a777a79f82e041c1609f5f | [
"Apache-2.0"
] | null | null | null | testcases/talib_test.py | leeong05/pyalgotrade | 5578596f2442aeb3f1a777a79f82e041c1609f5f | [
"Apache-2.0"
] | 1 | 2016-12-04T18:27:34.000Z | 2016-12-04T18:27:34.000Z | # PyAlgoTrade
#
# Copyright 2011-2014 Gabriel Martin Becedillas Ruiz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | 70.197898 | 245 | 0.6869 | 5,795 | 40,083 | 4.713719 | 0.136497 | 0.101479 | 0.152218 | 0.217455 | 0.5 | 0.495058 | 0.489896 | 0.478438 | 0.373444 | 0.248719 | 0 | 0.38939 | 0.147868 | 40,083 | 570 | 246 | 70.321053 | 0.410353 | 0.027917 | 0 | 0.136842 | 0 | 0 | 0.000103 | 0 | 0 | 0 | 0 | 0 | 0.416842 | 1 | 0.12 | false | 0 | 0.014737 | 0 | 0.147368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5dc5cfb15b34eefc7fdea3261357a802eeefd185 | 189 | py | Python | pytest_data/plugin.py | robinoburka/python-pytest-data | 568a1e6c4ba7900b63dc846a919037dac8b023aa | [
"MIT"
] | 3 | 2018-06-02T14:08:23.000Z | 2020-09-02T11:29:07.000Z | pytest_data/plugin.py | robinoburka/python-pytest-data | 568a1e6c4ba7900b63dc846a919037dac8b023aa | [
"MIT"
] | 2 | 2017-05-13T09:57:52.000Z | 2019-09-08T08:10:15.000Z | pytest_data/plugin.py | robinoburka/python-pytest-data | 568a1e6c4ba7900b63dc846a919037dac8b023aa | [
"MIT"
] | 2 | 2017-04-24T14:03:30.000Z | 2019-09-07T12:02:13.000Z | # -*- coding: utf-8 -*-
def pytest_generate_tests(metafunc):
for key, value in getattr(metafunc.function, 'data', {}).items():
metafunc.parametrize(key, value, indirect=True)
| 27 | 69 | 0.666667 | 23 | 189 | 5.391304 | 0.826087 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.164021 | 189 | 6 | 70 | 31.5 | 0.778481 | 0.111111 | 0 | 0 | 1 | 0 | 0.024096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5de80d317c94539737e5a4734f8dbe3cd84f4991 | 465 | py | Python | maedn/player.py | Daniel31415/maedn | 98821402328c235f1e46f92a960880745a8a299b | [
"MIT"
] | 2 | 2018-07-12T14:01:16.000Z | 2021-10-04T12:34:45.000Z | maedn/player.py | Daniel31415/maedn | 98821402328c235f1e46f92a960880745a8a299b | [
"MIT"
] | null | null | null | maedn/player.py | Daniel31415/maedn | 98821402328c235f1e46f92a960880745a8a299b | [
"MIT"
] | null | null | null | from maedn.strategy import MoveFirst
from maedn.strategy import BaseStrategy
from maedn.dice import StandardDice
import random
class Player(object):
strategy = None
def __init(self, strategy: BaseStrategy = MoveFirst, dice=StandardDice):
self.strategy = strategy
self.dice = dice
def get_... | 24.473684 | 76 | 0.711828 | 59 | 465 | 5.491525 | 0.389831 | 0.083333 | 0.104938 | 0.141975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208602 | 465 | 18 | 77 | 25.833333 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0.153846 | 0.846154 | 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 |
5df42efacd1a6db0ee5a638299c3c8533f470a61 | 179 | py | Python | Project/run.py | conorshortt123/facial-recognition-project | 7440c9c9920c91b0db2c0c41628fec89ceaea464 | [
"MIT"
] | 5 | 2020-02-03T16:09:56.000Z | 2020-04-19T16:31:50.000Z | Project/run.py | conorshortt123/facial-recognition-project | 7440c9c9920c91b0db2c0c41628fec89ceaea464 | [
"MIT"
] | 8 | 2020-02-03T12:01:43.000Z | 2022-03-12T00:16:48.000Z | Project/run.py | conorshortt123/facial-recognition-project | 7440c9c9920c91b0db2c0c41628fec89ceaea464 | [
"MIT"
] | 2 | 2020-06-26T13:32:55.000Z | 2021-04-21T13:24:25.000Z | from FrontEnd import app
# check to see if this is the main thread of execution
if __name__ == '__main__':
# start the flask app
app.run(debug=True, use_reloader=False)
| 22.375 | 54 | 0.72067 | 29 | 179 | 4.137931 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206704 | 179 | 7 | 55 | 25.571429 | 0.84507 | 0.402235 | 0 | 0 | 0 | 0 | 0.076923 | 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 |
5df92a87c5ba6fda9558c2a409b7f7b7104aabab | 1,585 | py | Python | Compiler/code/utils/directory.py | matcom-compilers-2019/cool-compiler-jessica-david-rayniel | 4d00eaa5ee7e1afa68e800cb7c2e4a8595336f94 | [
"MIT"
] | null | null | null | Compiler/code/utils/directory.py | matcom-compilers-2019/cool-compiler-jessica-david-rayniel | 4d00eaa5ee7e1afa68e800cb7c2e4a8595336f94 | [
"MIT"
] | null | null | null | Compiler/code/utils/directory.py | matcom-compilers-2019/cool-compiler-jessica-david-rayniel | 4d00eaa5ee7e1afa68e800cb7c2e4a8595336f94 | [
"MIT"
] | 1 | 2021-03-26T19:08:19.000Z | 2021-03-26T19:08:19.000Z | #Este modulo contiene los path de input y output, el de input es el path del archivo de cool que se va a compilar y el outut es el nombre del archivo de mips
#donde se va a guardar el resultado de compilar el input.
input_path = r'C:\Users\David\Documents\Version del compilador de Rayniel 9 de junio\Compiler\input\lif... | 31.078431 | 157 | 0.713565 | 243 | 1,585 | 4.514403 | 0.316872 | 0.082042 | 0.068368 | 0.030082 | 0.187785 | 0.175023 | 0.175023 | 0.175023 | 0.127621 | 0.127621 | 0 | 0.006691 | 0.15142 | 1,585 | 51 | 158 | 31.078431 | 0.808922 | 0.806309 | 0 | 0 | 0 | 1 | 0.685185 | 0.448148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b907cfae6a029c3e44c510ca7cec28444c03c4a0 | 30 | bzl | Python | test/com/facebook/buck/parser/testdata/recursive_load/b.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | test/com/facebook/buck/parser/testdata/recursive_load/b.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | test/com/facebook/buck/parser/testdata/recursive_load/b.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | # @unused
load(":a.bzl", "x")
| 10 | 19 | 0.5 | 5 | 30 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 2 | 20 | 15 | 0.576923 | 0.233333 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b90a68a788c41e1ff01196019e824f36bc994e9d | 676 | py | Python | backup/Num.py | YuunqiLiu/lyqtmp200130 | 5ae4578ad5600d9b15fc633451e504791dcaf0f6 | [
"MIT"
] | null | null | null | backup/Num.py | YuunqiLiu/lyqtmp200130 | 5ae4578ad5600d9b15fc633451e504791dcaf0f6 | [
"MIT"
] | null | null | null | backup/Num.py | YuunqiLiu/lyqtmp200130 | 5ae4578ad5600d9b15fc633451e504791dcaf0f6 | [
"MIT"
] | null | null | null |
class Bits():
def __init__(self,width,value=0):
self.__width = width
self.__value = value
@property
def width(self):
return self.__width
@property
def value(self):
return self.__value
@property
def template(self):
return self
@property
d... | 18.27027 | 93 | 0.579882 | 84 | 676 | 4.428571 | 0.345238 | 0.145161 | 0.112903 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.295858 | 676 | 37 | 94 | 18.27027 | 0.777311 | 0.073965 | 0 | 0.272727 | 0 | 0 | 0.075563 | 0.064309 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0 | 0.227273 | 0.636364 | 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 |
f8e2f3ba1481719d33e96615a38eddb6f35a830b | 106 | py | Python | Labs/1_hello.py | bgoldstone/Computer_Science_I | 03182e61c5110c2cf7ca60bb8363d04bb26c3fba | [
"MIT"
] | null | null | null | Labs/1_hello.py | bgoldstone/Computer_Science_I | 03182e61c5110c2cf7ca60bb8363d04bb26c3fba | [
"MIT"
] | null | null | null | Labs/1_hello.py | bgoldstone/Computer_Science_I | 03182e61c5110c2cf7ca60bb8363d04bb26c3fba | [
"MIT"
] | null | null | null | # 1_hello.py - My first program
# Author: Ben Goldstone
# Date: 08/25/2020
print("Hello, World!")
| 21.2 | 31 | 0.641509 | 16 | 106 | 4.1875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0.216981 | 106 | 4 | 32 | 26.5 | 0.698795 | 0.716981 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f8ecf1b26a5fc5876c19300cdb20e7b645b9f03d | 197 | py | Python | dcel/__init__.py | dadangeuy/dcel | 31369a49755f1a32098668cf834c6a89eed84ee4 | [
"BSD-3-Clause"
] | null | null | null | dcel/__init__.py | dadangeuy/dcel | 31369a49755f1a32098668cf834c6a89eed84ee4 | [
"BSD-3-Clause"
] | null | null | null | dcel/__init__.py | dadangeuy/dcel | 31369a49755f1a32098668cf834c6a89eed84ee4 | [
"BSD-3-Clause"
] | null | null | null | from dcel._cache_invalidate import CacheInvalidate
from dcel._cache_update import CacheUpdate
from dcel._cached import Cached
__all__ = [
'CacheInvalidate',
'CacheUpdate',
'Cached',
]
| 19.7 | 50 | 0.761421 | 21 | 197 | 6.714286 | 0.47619 | 0.170213 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162437 | 197 | 9 | 51 | 21.888889 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0.162437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
5d044dcf7375964c595392aa15358aad8dda0a41 | 1,840 | py | Python | tensornetwork/__init__.py | sr33dhar/TensorNetwork | 7a755ac004514561e4e018bf4c6f98e1f3b6d650 | [
"Apache-2.0"
] | null | null | null | tensornetwork/__init__.py | sr33dhar/TensorNetwork | 7a755ac004514561e4e018bf4c6f98e1f3b6d650 | [
"Apache-2.0"
] | null | null | null | tensornetwork/__init__.py | sr33dhar/TensorNetwork | 7a755ac004514561e4e018bf4c6f98e1f3b6d650 | [
"Apache-2.0"
] | null | null | null | #pylint: disable=line-too-long
from tensornetwork.network_components import Node, Edge, CopyNode, BaseNode, NodeCollection
#pylint: disable=line-too-long
from tensornetwork.network_operations import norm, conj, copy, replicate_nodes, transpose, split_node, split_node_qr, split_node_rq, split_node_full_svd, reachable, c... | 80 | 337 | 0.882065 | 229 | 1,840 | 6.786026 | 0.41048 | 0.207851 | 0.061776 | 0.03861 | 0.138996 | 0.113256 | 0.113256 | 0.113256 | 0.082368 | 0.082368 | 0 | 0.001169 | 0.070109 | 1,840 | 22 | 338 | 83.636364 | 0.907072 | 0.047283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d1228e2f0aec1011c1f98e05b532c23d0e260d7 | 253 | py | Python | scripts/get_footprint_from_pbcoverage.py | jturne19/legus-alma | e6d8c512c57cf2447dd9bc2977d27c8d31b9abed | [
"MIT"
] | null | null | null | scripts/get_footprint_from_pbcoverage.py | jturne19/legus-alma | e6d8c512c57cf2447dd9bc2977d27c8d31b9abed | [
"MIT"
] | null | null | null | scripts/get_footprint_from_pbcoverage.py | jturne19/legus-alma | e6d8c512c57cf2447dd9bc2977d27c8d31b9abed | [
"MIT"
] | null | null | null | """
"""
import numpy as np
import fitsio
def get_footprint(pbcoverage, name):
"""
use the pcoverage map to get the alma footprint
if at 80 percent or better, then it's in the footprint
pbcoverage: string; filename of the pbcoverage map
"""
| 15.8125 | 55 | 0.711462 | 39 | 253 | 4.589744 | 0.74359 | 0.212291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.209486 | 253 | 15 | 56 | 16.866667 | 0.885 | 0.660079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.666667 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d13f079ff7d7f3ae110ce7827177b940590f450 | 457 | py | Python | mahjong/rule/model/touch_play_pair.py | feiyaaaa/mahjong | 886028e03c991cfa3904b226d473b087ce819565 | [
"MIT"
] | null | null | null | mahjong/rule/model/touch_play_pair.py | feiyaaaa/mahjong | 886028e03c991cfa3904b226d473b087ce819565 | [
"MIT"
] | null | null | null | mahjong/rule/model/touch_play_pair.py | feiyaaaa/mahjong | 886028e03c991cfa3904b226d473b087ce819565 | [
"MIT"
] | null | null | null | from mahjong.rule.model.tile import Tile
class TouchPlayPair(object):
def __init__(self, touch_card, play_card):
self.touch_card = Tile(touch_card)
self.play_card = Tile(play_card)
def touch_tile(self):
return self.touch_card.tile
def play_tile(self):
return s... | 26.882353 | 90 | 0.649891 | 62 | 457 | 4.33871 | 0.322581 | 0.167286 | 0.193309 | 0.126394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234136 | 457 | 16 | 91 | 28.5625 | 0.768571 | 0 | 0 | 0 | 0 | 0 | 0.027211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.272727 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5d17342790385f61b667fc1261ec061ec3d29928 | 84 | py | Python | source/tools/helper.py | rprinz08/hBPF | eab8f617f9827faaeb10db2395b8af93a5225629 | [
"BSD-3-Clause"
] | 84 | 2021-06-07T17:44:17.000Z | 2022-03-26T19:51:03.000Z | source/tools/helper.py | rprinz08/hBPF | eab8f617f9827faaeb10db2395b8af93a5225629 | [
"BSD-3-Clause"
] | null | null | null | source/tools/helper.py | rprinz08/hBPF | eab8f617f9827faaeb10db2395b8af93a5225629 | [
"BSD-3-Clause"
] | 4 | 2021-06-25T21:08:55.000Z | 2022-01-06T11:26:28.000Z |
def print_hex_list(lst):
print("[{}]".format(", ".join(hex(x) for x in lst)))
| 16.8 | 56 | 0.571429 | 14 | 84 | 3.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 4 | 57 | 21 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5d2bb2e838ce0f7521cfa90cb8e42b60e5795c74 | 711 | py | Python | balanced_binary_tree.py | Jwy-jump/python_codesets | bb9a38d5dbf7be4d34b6b502ee684bb48dcfcd31 | [
"Apache-2.0"
] | null | null | null | balanced_binary_tree.py | Jwy-jump/python_codesets | bb9a38d5dbf7be4d34b6b502ee684bb48dcfcd31 | [
"Apache-2.0"
] | null | null | null | balanced_binary_tree.py | Jwy-jump/python_codesets | bb9a38d5dbf7be4d34b6b502ee684bb48dcfcd31 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
class Solution:
"""
@param root: The root of binary tree.
@return: True if this Binary tree is Balanced, or false.
"""
def isBalanced(self, root):
# write your code here
if not root:
return True
else:
if abs(self._isBalanced(root.left)... | 29.625 | 84 | 0.590717 | 90 | 711 | 4.611111 | 0.466667 | 0.20241 | 0.260241 | 0.159036 | 0.342169 | 0.216867 | 0.216867 | 0.216867 | 0 | 0 | 0 | 0.008048 | 0.300985 | 711 | 23 | 85 | 30.913043 | 0.826962 | 0.270042 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0.153846 | false | 0 | 0 | 0 | 0.615385 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5d316e44668a64dead0300ab5dde8c5074bf4ce0 | 115 | py | Python | gdal_boots/__init__.py | habibutsu/gdal-boots | bc8d045c025b68570d091d1cdadcc54b44335cc5 | [
"MIT"
] | null | null | null | gdal_boots/__init__.py | habibutsu/gdal-boots | bc8d045c025b68570d091d1cdadcc54b44335cc5 | [
"MIT"
] | null | null | null | gdal_boots/__init__.py | habibutsu/gdal-boots | bc8d045c025b68570d091d1cdadcc54b44335cc5 | [
"MIT"
] | 1 | 2021-09-25T08:24:11.000Z | 2021-09-25T08:24:11.000Z | __version__ = '0.1.33'
from .gdal import GeoInfo, RasterDataset, Resampling, VectorDataset
from .options import *
| 23 | 67 | 0.773913 | 14 | 115 | 6.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.130435 | 115 | 4 | 68 | 28.75 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0.052174 | 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 |
5d4826abb2a06d5e73e84547e74b902cf6cb1453 | 152 | py | Python | nerd_herder/code_of_conduct/apps.py | cache-rules/nerd_herder | 73048a7bc6f2a5d5cf31099e60f5712d1c005f22 | [
"Apache-2.0"
] | 7 | 2018-05-30T04:56:37.000Z | 2019-11-15T03:25:55.000Z | nerd_herder/code_of_conduct/apps.py | cache-rules/nerd_herder | 73048a7bc6f2a5d5cf31099e60f5712d1c005f22 | [
"Apache-2.0"
] | 17 | 2018-05-25T06:29:44.000Z | 2022-02-26T08:34:21.000Z | nerd_herder/code_of_conduct/apps.py | cache-rules/nerd_herder | 73048a7bc6f2a5d5cf31099e60f5712d1c005f22 | [
"Apache-2.0"
] | 4 | 2018-02-19T20:38:38.000Z | 2019-10-25T18:07:08.000Z | from django.apps import AppConfig
class CodeOfConductConfig(AppConfig):
name = "nerd_herder.code_of_conduct"
verbose_name = "Code of Conduct"
| 21.714286 | 40 | 0.769737 | 19 | 152 | 5.947368 | 0.736842 | 0.106195 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 152 | 6 | 41 | 25.333333 | 0.882813 | 0 | 0 | 0 | 0 | 0 | 0.276316 | 0.177632 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5d5c23351812742d81204f4251224e5ec632f4a9 | 55 | py | Python | ppma/imagenet/__init__.py | lmk123568/Paddle_Model_Analysis | d03a82591512fcad065fc69abfdbfb0835099c2d | [
"MIT"
] | 13 | 2021-07-03T05:26:56.000Z | 2022-03-19T01:34:11.000Z | ppma/imagenet/__init__.py | lmk123568/Paddle_Model_Analysis | d03a82591512fcad065fc69abfdbfb0835099c2d | [
"MIT"
] | 1 | 2021-11-18T07:07:03.000Z | 2021-11-23T01:50:01.000Z | ppma/imagenet/__init__.py | lmk123568/Paddle_Model_Analysis | d03a82591512fcad065fc69abfdbfb0835099c2d | [
"MIT"
] | 1 | 2022-03-19T01:34:15.000Z | 2022-03-19T01:34:15.000Z | from .test import test_img
from .validate import val
| 18.333333 | 27 | 0.781818 | 9 | 55 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 55 | 2 | 28 | 27.5 | 0.933333 | 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 |
5d70433fe1e70efc478a49b393234605d0ccb603 | 166 | py | Python | micropython/main.py | penguintutor/rpi-pico-temperature | 13b50ace250bca399b9b01d3d297b5b757318d51 | [
"MIT"
] | 3 | 2021-06-03T12:02:36.000Z | 2022-02-22T07:59:15.000Z | micropython/main.py | penguintutor/rpi-pico-temperature | 13b50ace250bca399b9b01d3d297b5b757318d51 | [
"MIT"
] | null | null | null | micropython/main.py | penguintutor/rpi-pico-temperature | 13b50ace250bca399b9b01d3d297b5b757318d51 | [
"MIT"
] | 1 | 2021-09-29T09:53:14.000Z | 2021-09-29T09:53:14.000Z | import tempdisplay
from machine import Pin
import utime
# Add short delay when starting from boot to allow
# I2C devices to settle
utime.sleep(1)
tempdisplay.main()
| 18.444444 | 50 | 0.795181 | 26 | 166 | 5.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.156627 | 166 | 8 | 51 | 20.75 | 0.928571 | 0.421687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d73747881ec90150604a1583ab3282d9a46f000 | 177 | py | Python | doc/test_combinations.py | Mystic-Mirage/pytest-kwparametrize | 7d6aacef3f91f7a01969a296046d370db4295ea9 | [
"MIT"
] | 2 | 2021-10-04T20:02:53.000Z | 2022-03-25T01:56:13.000Z | doc/test_combinations.py | Mystic-Mirage/pytest-kwparametrize | 7d6aacef3f91f7a01969a296046d370db4295ea9 | [
"MIT"
] | 1 | 2021-06-09T19:55:54.000Z | 2021-06-09T19:55:54.000Z | doc/test_combinations.py | Mystic-Mirage/pytest-kwparametrize | 7d6aacef3f91f7a01969a296046d370db4295ea9 | [
"MIT"
] | 1 | 2021-05-31T09:30:08.000Z | 2021-05-31T09:30:08.000Z | # content of test_combinations.py
import pytest
@pytest.mark.kwparametrize(dict(x=0), dict(x=1))
@pytest.mark.kwparametrize(dict(y=2), dict(y=3))
def test_foo(x, y):
pass
| 19.666667 | 48 | 0.717514 | 31 | 177 | 4.032258 | 0.612903 | 0.16 | 0.368 | 0.432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.112994 | 177 | 8 | 49 | 22.125 | 0.770701 | 0.175141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5381c83f1d3a93693f13511302ab588a7c11edcf | 247 | py | Python | icusim/__init__.py | Trauma-Team-International/ICUSIM | 077bf0989d013bec8f7b297391b6c32ae9c37ba5 | [
"MIT"
] | 3 | 2020-04-09T17:46:51.000Z | 2020-07-07T17:37:20.000Z | icusim/__init__.py | Trauma-Team-International/ICUSIM | 077bf0989d013bec8f7b297391b6c32ae9c37ba5 | [
"MIT"
] | 9 | 2020-04-09T17:39:29.000Z | 2020-04-12T17:00:15.000Z | icusim/__init__.py | autonomio/ICUSIM | 077bf0989d013bec8f7b297391b6c32ae9c37ba5 | [
"MIT"
] | 1 | 2022-03-27T21:32:30.000Z | 2022-03-27T21:32:30.000Z | from .icu_burden_simulator import simulate
from .stats_to_dataframe import stats_to_dataframe
from .params import params
from .utils import columns
from .commands.MonteCarlo import MonteCarlo
from .commands.SobolSensitivity import SobolSensitivity | 41.166667 | 55 | 0.874494 | 32 | 247 | 6.5625 | 0.46875 | 0.066667 | 0.152381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093117 | 247 | 6 | 55 | 41.166667 | 0.9375 | 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 |
53846b2a83c62073331d6f4a26d77af724a41344 | 128,742 | py | Python | sdk/python/pulumi_azure/storage/outputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/storage/outputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/storage/outputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 41.105364 | 235 | 0.660243 | 14,633 | 128,742 | 5.551083 | 0.040457 | 0.018183 | 0.029128 | 0.042571 | 0.791109 | 0.755838 | 0.73587 | 0.698211 | 0.679179 | 0.659789 | 0 | 0.004157 | 0.247006 | 128,742 | 3,131 | 236 | 41.118492 | 0.833756 | 0.280926 | 0 | 0.652844 | 1 | 0.015417 | 0.213443 | 0.120882 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171186 | false | 0.002658 | 0.00319 | 0.000532 | 0.330144 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
53ceda538523bab4b13030b1ea7169615e882c4a | 1,163 | py | Python | RaspberryPi/Test.py | sevenTiny/SevenTiny.SmartHome | 59d1704a3faef114664dfbbb1d74b0ed41eb7ddf | [
"Apache-2.0"
] | 2 | 2019-10-09T04:17:17.000Z | 2019-11-12T11:43:51.000Z | RaspberryPi/Test.py | sevenTiny/SevenTiny.SmartHome | 59d1704a3faef114664dfbbb1d74b0ed41eb7ddf | [
"Apache-2.0"
] | null | null | null | RaspberryPi/Test.py | sevenTiny/SevenTiny.SmartHome | 59d1704a3faef114664dfbbb1d74b0ed41eb7ddf | [
"Apache-2.0"
] | 1 | 2019-11-12T11:43:50.000Z | 2019-11-12T11:43:50.000Z | # coding=utf-8
import time
import datetime
import sys
import json
sys.path.append('..')
from Utility.MySqlHelper import MySqlHelper
# from GPIO.Relay import Relay4
# smartHomeDb = MySqlHelper("SmartHome")
# conn,cur = smartHomeDb.getConnAndCur()
# cur.execute("SELECT * FROM DailyMonitor WHERE Year=2019 AND Month=8 ... | 23.26 | 129 | 0.66896 | 158 | 1,163 | 4.924051 | 0.462025 | 0.03856 | 0.079692 | 0.089974 | 0.159383 | 0.159383 | 0.159383 | 0 | 0 | 0 | 0 | 0.031282 | 0.147893 | 1,163 | 49 | 130 | 23.734694 | 0.753784 | 0.827171 | 0 | 0 | 0 | 0 | 0.011628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
9900aa382e767ae4ea2edef99d96f6e12f448085 | 396 | py | Python | backend/api/product/admin.py | tuguldurio/fullstack-ecommerce | 06257e704c657b008587aabb4075750899149b1d | [
"MIT"
] | null | null | null | backend/api/product/admin.py | tuguldurio/fullstack-ecommerce | 06257e704c657b008587aabb4075750899149b1d | [
"MIT"
] | null | null | null | backend/api/product/admin.py | tuguldurio/fullstack-ecommerce | 06257e704c657b008587aabb4075750899149b1d | [
"MIT"
] | null | null | null | from django.contrib import admin
from api.product.models import Product, ProductImage
class ProductImageAdmin(admin.StackedInline):
model = ProductImage
@admin.register(Product)
class ProductAdmin(admin.ModelAdmin):
inlines = [ProductImageAdmin]
class Meta:
model = Product
@admin.... | 24.75 | 53 | 0.739899 | 39 | 396 | 7.512821 | 0.487179 | 0.116041 | 0.232082 | 0.266212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184343 | 396 | 16 | 54 | 24.75 | 0.907121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
073d2acadef17dd53dc54432c03cb46a67e99c9f | 70 | py | Python | setup.py | onaio/ona-oicd | 51ee1da36a2a29a9ef6706295cd1122a9a1281c1 | [
"Apache-2.0"
] | null | null | null | setup.py | onaio/ona-oicd | 51ee1da36a2a29a9ef6706295cd1122a9a1281c1 | [
"Apache-2.0"
] | 2 | 2020-06-12T10:39:34.000Z | 2020-06-15T11:20:43.000Z | setup.py | onaio/ona-oicd | 51ee1da36a2a29a9ef6706295cd1122a9a1281c1 | [
"Apache-2.0"
] | null | null | null | """
Setup file for ona-oidc
"""
import setuptools
setuptools.setup()
| 10 | 23 | 0.714286 | 9 | 70 | 5.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 70 | 6 | 24 | 11.666667 | 0.833333 | 0.328571 | 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 |
0740136120f5da45ce99f489852515fbb66de4c0 | 80 | py | Python | jira_devops/release_notes/__init__.py | clutcher/jira_devops | 61360f3fa9bd9b402d752dde84b3cf486245879e | [
"MIT"
] | null | null | null | jira_devops/release_notes/__init__.py | clutcher/jira_devops | 61360f3fa9bd9b402d752dde84b3cf486245879e | [
"MIT"
] | null | null | null | jira_devops/release_notes/__init__.py | clutcher/jira_devops | 61360f3fa9bd9b402d752dde84b3cf486245879e | [
"MIT"
] | null | null | null | default_app_config = 'jira_devops.release_notes.settings.ReleaseNotesAppConfig'
| 40 | 79 | 0.8875 | 9 | 80 | 7.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 80 | 1 | 80 | 80 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0.7 | 0.7 | 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 |
074ebed468457ef1cbc658948ca103328c0669a3 | 295 | py | Python | testsuite/tests/service_mesh/caching/backend/conftest.py | dlaso99/3scale-tests | b31a3b3596af6d632b393e383c0417ea56bd95ca | [
"Apache-2.0"
] | 5 | 2021-11-04T14:09:24.000Z | 2021-12-23T13:48:36.000Z | testsuite/tests/service_mesh/caching/backend/conftest.py | dlaso99/3scale-tests | b31a3b3596af6d632b393e383c0417ea56bd95ca | [
"Apache-2.0"
] | 41 | 2021-11-03T14:27:21.000Z | 2022-03-29T14:46:16.000Z | testsuite/tests/service_mesh/caching/backend/conftest.py | dlaso99/3scale-tests | b31a3b3596af6d632b393e383c0417ea56bd95ca | [
"Apache-2.0"
] | 12 | 2021-11-03T17:28:31.000Z | 2021-11-30T12:28:25.000Z | """Conftest for backend caching tests for service mesh"""
import pytest
@pytest.fixture(scope="module")
def gateway_environment():
"""Environment for backend caching tests"""
return {"USE_CACHED_BACKEND": True, "BACKEND_CACHE_FLUSH_INTERVAL_SECONDS": 1000, "CACHE_ENTRIES_MAX": 1000}
| 29.5 | 112 | 0.759322 | 37 | 295 | 5.810811 | 0.702703 | 0.093023 | 0.15814 | 0.204651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030888 | 0.122034 | 295 | 9 | 113 | 32.777778 | 0.799228 | 0.301695 | 0 | 0 | 0 | 0 | 0.394872 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4ad454826cd2c3dd7957fa56435c7908148bac78 | 35 | py | Python | addition/addition.py | sridevimarudhachalamoorthy/team-repo | 29cf3e7926bcbd9e7114ddbc72858d07c5c70e1e | [
"MIT"
] | null | null | null | addition/addition.py | sridevimarudhachalamoorthy/team-repo | 29cf3e7926bcbd9e7114ddbc72858d07c5c70e1e | [
"MIT"
] | null | null | null | addition/addition.py | sridevimarudhachalamoorthy/team-repo | 29cf3e7926bcbd9e7114ddbc72858d07c5c70e1e | [
"MIT"
] | null | null | null | a=10
b=5
print(a+b)
print(success)
| 7 | 14 | 0.685714 | 9 | 35 | 2.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.114286 | 35 | 4 | 15 | 8.75 | 0.677419 | 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 |
4af21795f293d9f783c0fae030d3c44d38b1aefa | 38 | py | Python | {{cookiecutter.project_slug}}/application/config/settings/aws_staging.py | carlos-avila/cookiecutter-django | 2eb2ccd74f94881f3d1071ffcfc6d29d501b70b0 | [
"MIT"
] | 1 | 2016-07-19T18:17:24.000Z | 2016-07-19T18:17:24.000Z | {{cookiecutter.project_slug}}/application/config/settings/aws_staging.py | carlos-avila/cookiecutter-django | 2eb2ccd74f94881f3d1071ffcfc6d29d501b70b0 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/application/config/settings/aws_staging.py | carlos-avila/cookiecutter-django | 2eb2ccd74f94881f3d1071ffcfc6d29d501b70b0 | [
"MIT"
] | null | null | null | from .aws_base import *
DEBUG = True
| 9.5 | 23 | 0.710526 | 6 | 38 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 3 | 24 | 12.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ab131fa273eaf333f685e3774c6b46ac154dfae1 | 260 | py | Python | Numberlists.py | gurmeetkhehra/python-practice | abeb5586f8c1e673fd8ff312a4ae0941f2a0194b | [
"Apache-2.0"
] | null | null | null | Numberlists.py | gurmeetkhehra/python-practice | abeb5586f8c1e673fd8ff312a4ae0941f2a0194b | [
"Apache-2.0"
] | null | null | null | Numberlists.py | gurmeetkhehra/python-practice | abeb5586f8c1e673fd8ff312a4ae0941f2a0194b | [
"Apache-2.0"
] | null | null | null | # Make a list of the multiples of 3 from 3 to 30. Use a for loop to print the numbers in your list.
multiples_of_three = [3,6,9,12,15,18,21,24,27,30]
for multiple in multiples_of_three:
print (multiple * multiple * multiple)
print (multiples_of_three)
| 26 | 99 | 0.734615 | 50 | 260 | 3.7 | 0.54 | 0.237838 | 0.259459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 0.180769 | 260 | 9 | 100 | 28.888889 | 0.769953 | 0.373077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ab2461a7f5fea17c5e79156c335c2fa3109662ca | 705 | py | Python | python/code_challenges/hash-table/test-hash-table.py | AhmadShalein/data-structures-and-algorithms | b4c12777075a9ee81f54ee26c3601c30c7b60660 | [
"MIT"
] | null | null | null | python/code_challenges/hash-table/test-hash-table.py | AhmadShalein/data-structures-and-algorithms | b4c12777075a9ee81f54ee26c3601c30c7b60660 | [
"MIT"
] | null | null | null | python/code_challenges/hash-table/test-hash-table.py | AhmadShalein/data-structures-and-algorithms | b4c12777075a9ee81f54ee26c3601c30c7b60660 | [
"MIT"
] | 2 | 2021-12-06T11:00:45.000Z | 2022-02-27T20:46:04.000Z | import bytest
from hash-table.hash-table import HashTable
def test-hash-function():
hash_table = HashTable()
assert hash_table.add('hello') == 523
def test_add_item():
hash_table = HashTable()
hash_table.add('hello',15)
assert len(hash_table.arr[hash_table.get_hash('hello')]) == 1
def test_get_item():
... | 25.178571 | 63 | 0.716312 | 106 | 705 | 4.518868 | 0.207547 | 0.338205 | 0.187891 | 0.177453 | 0.542797 | 0.542797 | 0.542797 | 0.542797 | 0.542797 | 0.457203 | 0 | 0.02451 | 0.131915 | 705 | 27 | 64 | 26.111111 | 0.75817 | 0 | 0 | 0.409091 | 0 | 0 | 0.070922 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | null | null | 0 | 0.090909 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ab48766eabcbf5dc3fac40b173261976a624f1dc | 276 | py | Python | openwisp_users/base.py | Vivekrajput20/openwisp-users | 6073c059d10c2eda1c2896f5559457395b05dd9d | [
"BSD-3-Clause"
] | 1 | 2018-12-07T14:24:23.000Z | 2018-12-07T14:24:23.000Z | openwisp_users/base.py | ppabcd/openwisp-users | cf5cd64f7d3c3515fcd0fc1f23077620b5a85964 | [
"BSD-3-Clause"
] | null | null | null | openwisp_users/base.py | ppabcd/openwisp-users | cf5cd64f7d3c3515fcd0fc1f23077620b5a85964 | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
if 'reversion' in settings.INSTALLED_APPS: # pragma: no cover
from reversion.admin import VersionAdmin as BaseModelAdmin
else:
from django.contrib.admin import ModelAdmin as BaseModelAdmin
class BaseAdmin(BaseModelAdmin):
pass
| 25.090909 | 65 | 0.789855 | 34 | 276 | 6.382353 | 0.676471 | 0.092166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 276 | 10 | 66 | 27.6 | 0.935345 | 0.057971 | 0 | 0 | 0 | 0 | 0.034884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
ab55f23683fa2c9f0809f1f7d7b9e2a033f4607e | 810 | py | Python | test.py | litex-hub/pythondata-cpu-cv32e40x | 31a94b162dcf937e963eb23bedae74e06241f3ef | [
"Apache-2.0"
] | null | null | null | test.py | litex-hub/pythondata-cpu-cv32e40x | 31a94b162dcf937e963eb23bedae74e06241f3ef | [
"Apache-2.0"
] | null | null | null | test.py | litex-hub/pythondata-cpu-cv32e40x | 31a94b162dcf937e963eb23bedae74e06241f3ef | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from __future__ import print_function
import os
import pythondata_cpu_cv32e40x
print("Found cv32e40x @ version", pythondata_cpu_cv32e40x.version_str, "(with data", pythondata_cpu_cv32e40x.data_version_str, ")")
print()
print("Data is in", pythondata_cpu_cv32e40x.data_location)
assert os.path.... | 33.75 | 131 | 0.777778 | 117 | 810 | 5.059829 | 0.34188 | 0.219595 | 0.35473 | 0.337838 | 0.452703 | 0.246622 | 0 | 0 | 0 | 0 | 0 | 0.067493 | 0.103704 | 810 | 23 | 132 | 35.217391 | 0.747934 | 0.025926 | 0 | 0.222222 | 0 | 0 | 0.096447 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.611111 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
db45556829366124d78521d908030a18cf29997e | 294 | py | Python | uwsgi_tasks/__init__.py | zanachka/uwsgi_tasks | cad3e72c8bd66979c6ac23a1cc68caff176435ab | [
"MIT"
] | 92 | 2015-01-21T06:25:18.000Z | 2022-02-23T22:29:05.000Z | uwsgi_tasks/__init__.py | zanachka/uwsgi_tasks | cad3e72c8bd66979c6ac23a1cc68caff176435ab | [
"MIT"
] | 17 | 2015-04-30T21:02:05.000Z | 2021-03-09T17:30:00.000Z | uwsgi_tasks/__init__.py | zanachka/uwsgi_tasks | cad3e72c8bd66979c6ac23a1cc68caff176435ab | [
"MIT"
] | 13 | 2015-04-30T20:54:36.000Z | 2022-02-12T17:06:15.000Z | # -*- coding: utf-8 -*-
from uwsgi_tasks.tasks import (
Task, SignalTask, TimerTask, CronTask, TaskExecutor, set_uwsgi_callbacks,
RetryTaskException, SPOOL_OK, SPOOL_RETRY, SPOOL_IGNORE, get_current_task
)
from uwsgi_tasks.utils import django_setup
from uwsgi_tasks.decorators import *
| 36.75 | 77 | 0.789116 | 38 | 294 | 5.815789 | 0.657895 | 0.122172 | 0.190045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003891 | 0.12585 | 294 | 7 | 78 | 42 | 0.856031 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
db4b077ffc1479a53be810ec20d90e718869e062 | 110 | py | Python | py_tdlib/constructors/check_phone_number_confirmation_code.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/check_phone_number_confirmation_code.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/check_phone_number_confirmation_code.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Method
class checkPhoneNumberConfirmationCode(Method):
code = None # type: "string"
| 18.333333 | 47 | 0.763636 | 11 | 110 | 7.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 5 | 48 | 22 | 0.893617 | 0.127273 | 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 |
db7f3a98693054991502c2970fcf7b64f51dd7e4 | 89 | py | Python | listing/apps.py | antoinewg/immo | 3d47c6187f8ad7cb6bad02a3709d71fa5996d4cf | [
"MIT"
] | 1 | 2020-03-21T15:47:35.000Z | 2020-03-21T15:47:35.000Z | listing/apps.py | antoinewg/immo | 3d47c6187f8ad7cb6bad02a3709d71fa5996d4cf | [
"MIT"
] | 10 | 2020-03-16T22:16:17.000Z | 2021-09-22T18:45:26.000Z | listing/apps.py | antoinewg/immo | 3d47c6187f8ad7cb6bad02a3709d71fa5996d4cf | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ListingConfig(AppConfig):
name = "listing"
| 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 |
db838c2f212c6f7c3a7c49a3c705e7ac2f1fa559 | 963 | py | Python | PriceTracker/PriceTracker.py | cyamonide/price-tracker | 4549fc0e86b6158d64dbe9f5bc44b8f3b72ef2ef | [
"MIT"
] | null | null | null | PriceTracker/PriceTracker.py | cyamonide/price-tracker | 4549fc0e86b6158d64dbe9f5bc44b8f3b72ef2ef | [
"MIT"
] | null | null | null | PriceTracker/PriceTracker.py | cyamonide/price-tracker | 4549fc0e86b6158d64dbe9f5bc44b8f3b72ef2ef | [
"MIT"
] | null | null | null | import TrackerNewegg
import TrackerBestBuy
import TrackerStaples
print(TrackerNewegg.getPrice('https://www.newegg.ca/Product/Product.aspx?Item=9SIAD3M6NY0446'))
print(TrackerNewegg.getPrice('https://www.newegg.ca/Product/Product.aspx?item=N82E16820168038'))
print(TrackerNewegg.getPrice('https://www.newegg.ca/Pro... | 68.785714 | 196 | 0.809969 | 128 | 963 | 6.0625 | 0.40625 | 0.072165 | 0.123711 | 0.082474 | 0.476804 | 0.476804 | 0.476804 | 0.476804 | 0.476804 | 0.389175 | 0 | 0.105996 | 0.030114 | 963 | 14 | 197 | 68.785714 | 0.724839 | 0 | 0 | 0 | 0 | 0.3 | 0.684543 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.3 | 0 | 0.3 | 0.6 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9162e5c2948d39a9cf504db71129d1a58dca09fe | 267 | py | Python | src/models/competitors.py | duxiaodan/topological-autoencoders | e3c71719942bb50f8c646f7df65bb0f4ba38cb44 | [
"BSD-3-Clause"
] | 69 | 2020-07-14T15:07:19.000Z | 2022-03-27T09:33:54.000Z | src/models/competitors.py | duxiaodan/topological-autoencoders | e3c71719942bb50f8c646f7df65bb0f4ba38cb44 | [
"BSD-3-Clause"
] | 6 | 2021-02-02T16:07:49.000Z | 2022-01-18T08:50:57.000Z | src/models/competitors.py | duxiaodan/topological-autoencoders | e3c71719942bb50f8c646f7df65bb0f4ba38cb44 | [
"BSD-3-Clause"
] | 17 | 2020-07-14T18:40:35.000Z | 2022-03-17T00:19:48.000Z | """Competitor dimensionality reduction algorithms."""
from sklearn.decomposition import PCA
from sklearn.manifold import Isomap
from umap import UMAP
try:
from MulticoreTSNE import MulticoreTSNE as TSNE
except ImportError:
from sklearn.manifold import TSNE
| 24.272727 | 53 | 0.808989 | 32 | 267 | 6.75 | 0.5625 | 0.152778 | 0.175926 | 0.231481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 267 | 10 | 54 | 26.7 | 0.947368 | 0.17603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 |
91727a84e13e77d682e8bd79674f5139ffed801b | 47 | py | Python | gini/__init__.py | azraq27/gini | 3c2b5265d096d606b303bfe25ac9adb74b8cee14 | [
"Apache-2.0"
] | null | null | null | gini/__init__.py | azraq27/gini | 3c2b5265d096d606b303bfe25ac9adb74b8cee14 | [
"Apache-2.0"
] | null | null | null | gini/__init__.py | azraq27/gini | 3c2b5265d096d606b303bfe25ac9adb74b8cee14 | [
"Apache-2.0"
] | null | null | null | version = '0.6.2'
import personality,semantics | 15.666667 | 28 | 0.765957 | 7 | 47 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.106383 | 47 | 3 | 28 | 15.666667 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
91a1432c9b243db0feb6f7e2a6dac8e505dbdd05 | 190 | py | Python | AlgoExpert/Arrays/Sorted-Squared-Array/test_first.py | grierson/Katas | dde4b26551330608a81e2af3dd94a36b90a59107 | [
"MIT"
] | 1 | 2020-12-05T02:08:21.000Z | 2020-12-05T02:08:21.000Z | AlgoExpert/Arrays/Sorted-Squared-Array/test_first.py | grierson/Katas | dde4b26551330608a81e2af3dd94a36b90a59107 | [
"MIT"
] | null | null | null | AlgoExpert/Arrays/Sorted-Squared-Array/test_first.py | grierson/Katas | dde4b26551330608a81e2af3dd94a36b90a59107 | [
"MIT"
] | null | null | null | def sortedSquaredArray(array):
return sorted(map(lambda x: x * x, array))
def test_sample():
assert sortedSquaredArray([1, 2, 3, 5, 6, 8, 9]) == [
1, 4, 9, 25, 36, 64, 81]
| 23.75 | 57 | 0.584211 | 30 | 190 | 3.666667 | 0.766667 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.242105 | 190 | 7 | 58 | 27.142857 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
91b3d0d38d6da9f410a5761f48be3c9bec26cdaa | 49 | py | Python | pyramid-creator/app/config.py | jinnn-dev/patholearn | b4e6a18cfbf963e71640ed6cac3fc3a618a7ae15 | [
"MIT"
] | 1 | 2022-02-20T12:45:04.000Z | 2022-02-20T12:45:04.000Z | pyramid-creator/app/config.py | JamesNeumann/learning-by-annotations | c2b5e4b653eeb1c973aa5a7dad35ac8be18cb1ad | [
"MIT"
] | 21 | 2021-11-01T10:13:56.000Z | 2021-12-02T10:02:13.000Z | pyramid-creator/app/config.py | jinnn-dev/patholearn | b4e6a18cfbf963e71640ed6cac3fc3a618a7ae15 | [
"MIT"
] | 1 | 2021-12-16T18:20:55.000Z | 2021-12-16T18:20:55.000Z | class Config:
TEMP_IMAGES_FOLDER = "/data"
| 16.333333 | 33 | 0.673469 | 6 | 49 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 49 | 2 | 34 | 24.5 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
91e650d8bf1948da5890caa3e80f22524aa7800f | 65 | py | Python | fastiqa/bunches/__init__.py | baidut/PatchVQ | 040486b6342dfd36695f1daea0b5c4d77d728a23 | [
"Unlicense"
] | 32 | 2020-12-05T09:11:20.000Z | 2022-03-28T07:49:13.000Z | fastiqa/bunches/__init__.py | utlive/PatchVQ | 040486b6342dfd36695f1daea0b5c4d77d728a23 | [
"Unlicense"
] | 5 | 2021-07-12T19:43:51.000Z | 2022-01-28T13:16:16.000Z | fastiqa/bunches/__init__.py | utlive/PatchVQ | 040486b6342dfd36695f1daea0b5c4d77d728a23 | [
"Unlicense"
] | 7 | 2020-12-29T21:52:07.000Z | 2022-03-18T15:12:50.000Z | from ..bunch import IqaDataBunch
from fastai.vision.all import *
| 21.666667 | 32 | 0.8 | 9 | 65 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 2 | 33 | 32.5 | 0.912281 | 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 |
37de4bf3a28b72150b3c916a49b3097448140872 | 1,660 | py | Python | credential.py | Hulian2000/Password-Locker | 3dfad8c216cf345f03d10db24973a38c4a6e4fbc | [
"MIT"
] | null | null | null | credential.py | Hulian2000/Password-Locker | 3dfad8c216cf345f03d10db24973a38c4a6e4fbc | [
"MIT"
] | null | null | null | credential.py | Hulian2000/Password-Locker | 3dfad8c216cf345f03d10db24973a38c4a6e4fbc | [
"MIT"
] | null | null | null | import random
import string
class Credentials:
'''
class that generates instances of new credentials
'''
app_details = []
def __init__(self,app,app_password):
self.app = app
self.app_password = app_password
def save_app(self):
'''
function that stores o... | 25.151515 | 72 | 0.557831 | 184 | 1,660 | 4.907609 | 0.375 | 0.066445 | 0.069767 | 0.042082 | 0.126246 | 0.126246 | 0.126246 | 0.126246 | 0.126246 | 0.126246 | 0 | 0.000954 | 0.368675 | 1,660 | 66 | 73 | 25.151515 | 0.860687 | 0.254217 | 0 | 0.266667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0.166667 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
37e273a377834f1395626eabc18d97af4557c130 | 209 | py | Python | src/appengine_config.py | ayip001/ayip.io | 8051e6c576c956bc81655326d28d575c6c0a52ee | [
"MIT"
] | null | null | null | src/appengine_config.py | ayip001/ayip.io | 8051e6c576c956bc81655326d28d575c6c0a52ee | [
"MIT"
] | 6 | 2017-12-22T01:15:20.000Z | 2018-02-26T02:29:42.000Z | src/appengine_config.py | ayip001/ayip.io | 8051e6c576c956bc81655326d28d575c6c0a52ee | [
"MIT"
] | null | null | null | # ./src/appengine_config.py
from google.appengine.ext import vendor
import tempfile
tempfile.SpooledTemporaryFile = tempfile.TemporaryFile
# Add any libraries installed in the "lib" folder.
vendor.add('lib')
| 26.125 | 54 | 0.803828 | 27 | 209 | 6.185185 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 209 | 7 | 55 | 29.857143 | 0.893048 | 0.354067 | 0 | 0 | 0 | 0 | 0.022727 | 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 |
533669383e46df5532f6dc4bf76d0d7c6cad72bb | 172 | py | Python | sf/config.py | Haupti/tudatalibAPI | f249853711fca3203b76bb26b4df7d6912cd0304 | [
"Apache-2.0"
] | null | null | null | sf/config.py | Haupti/tudatalibAPI | f249853711fca3203b76bb26b4df7d6912cd0304 | [
"Apache-2.0"
] | null | null | null | sf/config.py | Haupti/tudatalibAPI | f249853711fca3203b76bb26b4df7d6912cd0304 | [
"Apache-2.0"
] | null | null | null | '''
This is not meant to be edited by the user
'''
rest_test_url = "https://tudata-test.ulb.tu-darmstadt.de/rest"
rest_url = "https://tudatalib.ulb.tu-darmstadt.de/rest"
| 21.5 | 62 | 0.715116 | 30 | 172 | 4 | 0.666667 | 0.133333 | 0.233333 | 0.266667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 172 | 7 | 63 | 24.571429 | 0.789474 | 0.244186 | 0 | 0 | 0 | 0 | 0.710744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
534257907f01a894317f1107b0c0465e57d664b8 | 501 | py | Python | tests/realtime/test_realtime_Bus_set.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 191 | 2015-11-13T02:28:42.000Z | 2022-03-29T10:26:44.000Z | tests/realtime/test_realtime_Bus_set.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 130 | 2016-01-04T16:59:02.000Z | 2022-02-26T15:37:20.000Z | tests/realtime/test_realtime_Bus_set.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 22 | 2016-05-04T10:32:16.000Z | 2022-02-26T19:22:45.000Z | import supriya.realtime
def test_01(server):
control_bus = supriya.realtime.Bus.control()
control_bus.allocate()
assert control_bus.is_allocated
result = control_bus.get()
assert result == 0.0
assert control_bus.value == result
control_bus.set(0.5)
result = control_bus.get()
as... | 20.875 | 48 | 0.680639 | 70 | 501 | 4.685714 | 0.285714 | 0.335366 | 0.243902 | 0.17378 | 0.625 | 0.542683 | 0.542683 | 0.25 | 0.25 | 0 | 0 | 0.035623 | 0.215569 | 501 | 23 | 49 | 21.782609 | 0.798982 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7256fabad0c2d9bc1d7fb0e4c54c8d6b26df72c5 | 1,335 | py | Python | setup.py | eyalev/xerox | 4df98abf2b34034c3476fe26be8dfa9e7ad79b63 | [
"MIT"
] | 128 | 2015-02-01T13:09:26.000Z | 2019-04-17T19:38:20.000Z | setup.py | eyalev/xerox | 4df98abf2b34034c3476fe26be8dfa9e7ad79b63 | [
"MIT"
] | 19 | 2015-01-26T18:48:09.000Z | 2018-02-22T22:01:33.000Z | setup.py | eyalev/xerox | 4df98abf2b34034c3476fe26be8dfa9e7ad79b63 | [
"MIT"
] | 21 | 2015-02-01T13:09:30.000Z | 2019-06-11T08:28:49.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import xerox
from setuptools import setup
def publish():
"""Publish to PyPi"""
os.system("python setup.py sdist upload")
if sys.argv[-1] == "publish":
publish()
sys.exit()
setup(name='xerox',
version='0.4.1',
descriptio... | 27.8125 | 72 | 0.57603 | 139 | 1,335 | 5.503597 | 0.52518 | 0.248366 | 0.326797 | 0.203922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02045 | 0.267416 | 1,335 | 47 | 73 | 28.404255 | 0.761759 | 0.043446 | 0 | 0 | 0 | 0 | 0.529134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | true | 0 | 0.105263 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72607e10207e6328f57f8fa71421d70abfe05b90 | 104 | py | Python | fitness/apps.py | fitahol/fitahol | ce84dc909aa98f2dc7594ef26568e015cbfe0e94 | [
"MIT"
] | 2 | 2017-02-20T14:11:30.000Z | 2017-06-11T16:10:33.000Z | fitness/apps.py | fitahol/fitahol | ce84dc909aa98f2dc7594ef26568e015cbfe0e94 | [
"MIT"
] | null | null | null | fitness/apps.py | fitahol/fitahol | ce84dc909aa98f2dc7594ef26568e015cbfe0e94 | [
"MIT"
] | null | null | null | # coding=utf-8
from django.apps import AppConfig
class FitnessConfig(AppConfig):
name = 'fitness'
| 14.857143 | 33 | 0.740385 | 13 | 104 | 5.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.163462 | 104 | 6 | 34 | 17.333333 | 0.873563 | 0.115385 | 0 | 0 | 0 | 0 | 0.077778 | 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 |
7293525871ca8b52beecd7df36cf2fdf4efdf5ad | 6,949 | py | Python | crawler_localtrend_Seoul_gu_full_re.py | hyeongmokoo/localtrend_crawler | 05bfaf148d7775cc450bd7f10c7f65c06246ad48 | [
"MIT"
] | null | null | null | crawler_localtrend_Seoul_gu_full_re.py | hyeongmokoo/localtrend_crawler | 05bfaf148d7775cc450bd7f10c7f65c06246ad48 | [
"MIT"
] | null | null | null | crawler_localtrend_Seoul_gu_full_re.py | hyeongmokoo/localtrend_crawler | 05bfaf148d7775cc450bd7f10c7f65c06246ad48 | [
"MIT"
] | null | null | null | from selenium import webdriver
import csv
import time
link = 'https://datalab.naver.com/local/trend.naver'
search_btn_xpath = '//a[@class="com_btn_srch"]'
driver = webdriver.Chrome('C:/Gits/localtrend_crawler/chromedriver.exe')
driver.get(link)
time.sleep(5)
##서울 선택(area1)
area1_option_xpath = '((//div[@class="analy... | 51.095588 | 328 | 0.605555 | 924 | 6,949 | 4.33658 | 0.170996 | 0.087846 | 0.097579 | 0.109059 | 0.746444 | 0.729723 | 0.709758 | 0.709758 | 0.668081 | 0.650611 | 0 | 0.016766 | 0.227515 | 6,949 | 135 | 329 | 51.474074 | 0.729694 | 0.079868 | 0 | 0.447917 | 0 | 0.104167 | 0.349447 | 0.281201 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0.072917 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72d1d18f54f4430c7a78560f6b18607b01de98fb | 168 | py | Python | basetrainer/metric/eval_tools/__init__.py | PanJinquan/pytorch-base-trainer | 37799c948f72b2f9d3771ff469e06cdbff4a1d07 | [
"MIT"
] | 11 | 2022-01-18T10:07:52.000Z | 2022-03-16T02:40:31.000Z | basetrainer/metric/eval_tools/__init__.py | PanJinquan/pytorch-base-trainer | 37799c948f72b2f9d3771ff469e06cdbff4a1d07 | [
"MIT"
] | null | null | null | basetrainer/metric/eval_tools/__init__.py | PanJinquan/pytorch-base-trainer | 37799c948f72b2f9d3771ff469e06cdbff4a1d07 | [
"MIT"
] | 1 | 2022-01-26T06:31:29.000Z | 2022-01-26T06:31:29.000Z | # -*-coding: utf-8 -*-
"""
@Project: utils
@File : __init__.py.py
@Author : panjq
@E-mail : pan_jinquan@163.com
@Date : 2019-05-10 17:08:02
"""
| 18.666667 | 33 | 0.529762 | 24 | 168 | 3.5 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0.267857 | 168 | 8 | 34 | 21 | 0.536585 | 0.821429 | 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 |
72dd41dd291c81b4e701591d853bb09c52792d97 | 20,750 | py | Python | Pyto Mac/PyObjC/Quartz/ImageKit/_metadata.py | cclauss/Pyto | 1c4ccc47e3a91e996bf6ec38c527d244de2cf7ed | [
"MIT"
] | 4 | 2019-03-11T18:05:49.000Z | 2021-05-22T21:09:09.000Z | Pyto Mac/PyObjC/Quartz/ImageKit/_metadata.py | cclauss/Pyto | 1c4ccc47e3a91e996bf6ec38c527d244de2cf7ed | [
"MIT"
] | null | null | null | Pyto Mac/PyObjC/Quartz/ImageKit/_metadata.py | cclauss/Pyto | 1c4ccc47e3a91e996bf6ec38c527d244de2cf7ed | [
"MIT"
] | 1 | 2019-03-18T18:53:36.000Z | 2019-03-18T18:53:36.000Z | # This file is generated by objective.metadata
#
# Last update: Tue Jun 26 07:59:02 2018
import objc, sys
if sys.maxsize > 2 ** 32:
def sel32or64(a, b): return b
else:
def sel32or64(a, b): return a
if sys.byteorder == 'little':
def littleOrBig(a, b): return a
else:
def littleOrBig(a, b): return b
mis... | 138.333333 | 2,815 | 0.697108 | 2,112 | 20,750 | 6.836648 | 0.164773 | 0.056791 | 0.057899 | 0.032966 | 0.462013 | 0.439643 | 0.433825 | 0.401413 | 0.290325 | 0.206385 | 0 | 0.015771 | 0.080193 | 20,750 | 149 | 2,816 | 139.261745 | 0.740752 | 0.00453 | 0 | 0.014184 | 1 | 0.014184 | 0.612271 | 0.381289 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028369 | false | 0 | 0.007092 | 0.028369 | 0.035461 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72e2af0757ca4cc964854da8b5b0626e17ee8b70 | 491 | py | Python | matrix/matrix.py | ghaith96/exercism-python | 5b0c336e6442a987c9202a42e135a1d94dcea23f | [
"MIT"
] | null | null | null | matrix/matrix.py | ghaith96/exercism-python | 5b0c336e6442a987c9202a42e135a1d94dcea23f | [
"MIT"
] | null | null | null | matrix/matrix.py | ghaith96/exercism-python | 5b0c336e6442a987c9202a42e135a1d94dcea23f | [
"MIT"
] | null | null | null | class Matrix:
def __init__(self, matrix_string: str):
# another solution (functional)
# [list(map(int, elements.split())) for elements in matrix_string.splitlines()]
self.matrix = [
[int(element) for element in elements.split()]
for elements in matrix_string.splitline... | 32.733333 | 87 | 0.608961 | 60 | 491 | 4.866667 | 0.416667 | 0.136986 | 0.109589 | 0.164384 | 0.328767 | 0.328767 | 0.328767 | 0.328767 | 0 | 0 | 0 | 0.005602 | 0.272912 | 491 | 14 | 88 | 35.071429 | 0.812325 | 0.217923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
72eff8ab59a29cb4c91935e7d39e4cbb00c98a9e | 386 | py | Python | sparsechem/__init__.py | muellren/SparseChem | 3cf197aea626400fe64b1b5c49b8d40919c50c9c | [
"MIT"
] | null | null | null | sparsechem/__init__.py | muellren/SparseChem | 3cf197aea626400fe64b1b5c49b8d40919c50c9c | [
"MIT"
] | null | null | null | sparsechem/__init__.py | muellren/SparseChem | 3cf197aea626400fe64b1b5c49b8d40919c50c9c | [
"MIT"
] | null | null | null | # Copyright (c) 2020 KU Leuven
from .models import SparseLinear, SparseInputNet, SparseFFN, LastNet, MiddleNet, sparse_split2
from .data import SparseDataset, sparse_collate
from .utils import all_metrics, compute_metrics, evaluate_binary, train_binary, count_parameters, fold_inputs, predict, print_metrics
from .utils ... | 55.142857 | 133 | 0.839378 | 50 | 386 | 6.18 | 0.68 | 0.058252 | 0.097087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014451 | 0.103627 | 386 | 6 | 134 | 64.333333 | 0.878613 | 0.072539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 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 |
f43abc59033835946f528916137fbcaa78c5466d | 171 | py | Python | data_structure/exceptions/collection_exeption.py | dosart/Linear-data-structures | 0f13c254e02d25a47d4b7d0bf6fb5d510cc0c90b | [
"MIT"
] | 2 | 2021-03-29T07:55:53.000Z | 2022-03-25T05:53:11.000Z | data_structure/exceptions/collection_exeption.py | dosart/Linear-data-structures | 0f13c254e02d25a47d4b7d0bf6fb5d510cc0c90b | [
"MIT"
] | null | null | null | data_structure/exceptions/collection_exeption.py | dosart/Linear-data-structures | 0f13c254e02d25a47d4b7d0bf6fb5d510cc0c90b | [
"MIT"
] | null | null | null | """Exceptions for BaseCollection."""
class CollectionIsEmptyExeption(Exception):
"""Exception class if the collection is empty."""
pass # noqa: WPS420, WPS604
| 21.375 | 53 | 0.71345 | 17 | 171 | 7.176471 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.169591 | 171 | 7 | 54 | 24.428571 | 0.816901 | 0.561404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f44eca0bf5d126ad85fe0c3cd3efc04a65c1e3ff | 470 | py | Python | flightApp/serializers.py | rahulynot/flightservices | f0f87c1fe159c06558c70c25de6df212de0b6972 | [
"Apache-2.0"
] | null | null | null | flightApp/serializers.py | rahulynot/flightservices | f0f87c1fe159c06558c70c25de6df212de0b6972 | [
"Apache-2.0"
] | null | null | null | flightApp/serializers.py | rahulynot/flightservices | f0f87c1fe159c06558c70c25de6df212de0b6972 | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from .models import Flight, Passenger, Reservation
class FlightSerializer(serializers.ModelSerializer):
class Meta:
model = Flight
fields = "__all__"
class PassengerSerializer(serializers.ModelSerializer):
class Meta:
model = Passenger
... | 21.363636 | 57 | 0.708511 | 41 | 470 | 7.804878 | 0.439024 | 0.24375 | 0.290625 | 0.328125 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22766 | 470 | 21 | 58 | 22.380952 | 0.881543 | 0 | 0 | 0.428571 | 0 | 0 | 0.044681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.214286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f45f9cc046d98fe6be431c80398eb57a14aa1491 | 132 | py | Python | youpi/semi_singleton.py | Gabriel-Dropout/youpi | aef7a77b0dd8775eef4c54de9127605da143818a | [
"MIT"
] | null | null | null | youpi/semi_singleton.py | Gabriel-Dropout/youpi | aef7a77b0dd8775eef4c54de9127605da143818a | [
"MIT"
] | null | null | null | youpi/semi_singleton.py | Gabriel-Dropout/youpi | aef7a77b0dd8775eef4c54de9127605da143818a | [
"MIT"
] | null | null | null | # 한 YouTube객체에서 생성된 Stream 객체가 공유하는 유사 싱글톤 클래스
class SemiSingleton:
def __init__(self, title: str):
self.title = title | 33 | 48 | 0.689394 | 19 | 132 | 4.578947 | 0.842105 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 132 | 4 | 49 | 33 | 0.87 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f4734865ef4a7890eac1b3566015952a22f92310 | 1,077 | py | Python | grammpy/exceptions/__init__.py | PatrikValkovic/grammpy | 8308a1fd349bf9ea0d267360cc9a4ab20d1629e8 | [
"MIT"
] | 1 | 2021-02-04T12:41:08.000Z | 2021-02-04T12:41:08.000Z | grammpy/exceptions/__init__.py | PatrikValkovic/grammpy | 8308a1fd349bf9ea0d267360cc9a4ab20d1629e8 | [
"MIT"
] | 3 | 2017-07-08T16:28:52.000Z | 2020-04-23T18:06:24.000Z | grammpy/exceptions/__init__.py | PatrikValkovic/grammpy | 8308a1fd349bf9ea0d267360cc9a4ab20d1629e8 | [
"MIT"
] | 1 | 2021-02-04T12:41:10.000Z | 2021-02-04T12:41:10.000Z | #!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 08.07.2017 14:03
:Licence MIT
Part of grammpy
"""
from .CannotConvertException import CannotConvertException
from .CantCreateSingleRuleException import CantCreateSingleRuleException
from .GrammpyException import GrammpyException
from .MultipleDefinitionExcept... | 41.423077 | 80 | 0.89415 | 82 | 1,077 | 11.743902 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.075209 | 1,077 | 25 | 81 | 43.08 | 0.954819 | 0.091922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f481d51b6a488b1e6f86a201b719cbc29172173c | 125 | py | Python | codes_auto/1627.last-moment-before-all-ants-fall-out-of-a-plank.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/1627.last-moment-before-all-ants-fall-out-of-a-plank.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/1627.last-moment-before-all-ants-fall-out-of-a-plank.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=1627 lang=python3
#
# [1627] last-moment-before-all-ants-fall-out-of-a-plank
#
None
# @lc code=end | 17.857143 | 56 | 0.696 | 23 | 125 | 3.782609 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.112 | 125 | 7 | 57 | 17.857143 | 0.702703 | 0.864 | 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 |
f4900c43e5d6ab8c0eabc701ae92335c8e74d73c | 64 | py | Python | week06/lecture/examples/src6/1/hello0.py | uldash/CS50x | c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1 | [
"MIT"
] | null | null | null | week06/lecture/examples/src6/1/hello0.py | uldash/CS50x | c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1 | [
"MIT"
] | null | null | null | week06/lecture/examples/src6/1/hello0.py | uldash/CS50x | c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1 | [
"MIT"
] | 1 | 2020-11-24T23:25:26.000Z | 2020-11-24T23:25:26.000Z | # A program that says hello to the world
print("hello, world")
| 16 | 40 | 0.71875 | 11 | 64 | 4.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 41 | 21.333333 | 0.884615 | 0.59375 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
be3f9eff8e1d52dc3f8341861453c2ce3c84f944 | 87 | py | Python | oeis/__init__.py | EnriquePH/OEIS.py | 136acf9f14121d6d50eb5296a54b87d6c5f36622 | [
"MIT"
] | 1 | 2021-06-13T18:57:56.000Z | 2021-06-13T18:57:56.000Z | oeis/__init__.py | EnriquePH/OEIS.py | 136acf9f14121d6d50eb5296a54b87d6c5f36622 | [
"MIT"
] | null | null | null | oeis/__init__.py | EnriquePH/OEIS.py | 136acf9f14121d6d50eb5296a54b87d6c5f36622 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
oeis_py
Author: Enrique Pérez Herrero
Date: 13-Jun-2021
"""
| 10.875 | 29 | 0.689655 | 14 | 87 | 4.214286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 87 | 7 | 30 | 12.428571 | 0.706667 | 0.873563 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
be635ea9026ee2911bec1756db558956b484099d | 499 | py | Python | torchnlp/nn/__init__.py | JiaqiLiu/PyTorch-NLP | 71d2ce1e8b8da5ab4e7732d1ebf971150986e6c8 | [
"BSD-3-Clause"
] | 2,125 | 2018-03-17T23:31:03.000Z | 2022-03-31T12:20:14.000Z | torchnlp/nn/__init__.py | zhengmingzhang/PyTorch-NLP | 34a98b5fa5d2e13761546b94770aed12388528f2 | [
"BSD-3-Clause"
] | 109 | 2018-03-21T00:38:51.000Z | 2021-12-24T08:34:55.000Z | torchnlp/nn/__init__.py | zhengmingzhang/PyTorch-NLP | 34a98b5fa5d2e13761546b94770aed12388528f2 | [
"BSD-3-Clause"
] | 270 | 2018-03-18T16:47:01.000Z | 2022-03-17T08:01:58.000Z | from torchnlp.nn.attention import Attention
from torchnlp.nn.lock_dropout import LockedDropout
from torchnlp.nn.weight_drop import WeightDropGRU
from torchnlp.nn.weight_drop import WeightDropLSTM
from torchnlp.nn.weight_drop import WeightDropLinear
from torchnlp.nn.weight_drop import WeightDrop
from torchnlp.nn.cnn_enc... | 27.722222 | 52 | 0.787575 | 56 | 499 | 6.839286 | 0.321429 | 0.219321 | 0.255875 | 0.208877 | 0.313316 | 0.313316 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136273 | 499 | 17 | 53 | 29.352941 | 0.888631 | 0 | 0 | 0 | 0 | 0 | 0.170341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4375 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
be6370c98794d10e9edb2a961dfdaaf17da47401 | 282 | py | Python | gbvision/gui/recording_camera_window.py | computerboy0555/GBVision | 79fc9ba09865bfd9c7a39abaa3980c46ce090b07 | [
"Apache-2.0"
] | 16 | 2019-04-15T18:52:58.000Z | 2022-02-13T23:00:46.000Z | gbvision/gui/recording_camera_window.py | computerboy0555/GBVision | 79fc9ba09865bfd9c7a39abaa3980c46ce090b07 | [
"Apache-2.0"
] | 2 | 2019-04-15T19:00:05.000Z | 2019-04-19T15:47:21.000Z | gbvision/gui/recording_camera_window.py | computerboy0555/GBVision | 79fc9ba09865bfd9c7a39abaa3980c46ce090b07 | [
"Apache-2.0"
] | 3 | 2019-05-03T13:48:25.000Z | 2019-09-22T14:03:49.000Z | from .recording_readable_window import RecordingReadableWindow
from .camera_window import CameraWindow
class RecordingCameraWindow(RecordingReadableWindow, CameraWindow):
"""
a basic window that displays the video from a camera
and records the video to a file
"""
| 28.2 | 67 | 0.787234 | 32 | 282 | 6.84375 | 0.625 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 282 | 9 | 68 | 31.333333 | 0.935897 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 |
be93541b729e94fd72d5ed59dce2bbf0718db5f9 | 670 | py | Python | tensorflow/mantaGen/util/git.py | BrianKmdy/mantaflow | 273d6c148374316e4d04cae4f46fed56a630e183 | [
"Apache-2.0"
] | 95 | 2019-12-04T21:39:51.000Z | 2022-03-12T01:03:36.000Z | tensorflow/mantaGen/util/git.py | BrianKmdy/mantaflow | 273d6c148374316e4d04cae4f46fed56a630e183 | [
"Apache-2.0"
] | 4 | 2019-12-21T15:08:54.000Z | 2021-02-28T19:40:08.000Z | tensorflow/mantaGen/util/git.py | BrianKmdy/mantaflow | 273d6c148374316e4d04cae4f46fed56a630e183 | [
"Apache-2.0"
] | 26 | 2020-01-21T00:48:47.000Z | 2022-01-14T06:04:20.000Z | #******************************************************************************
#
# MantaGen
# Copyright 2018 Steffen Wiewel, Moritz Becher, Nils Thuerey
#
# This program is free software, distributed under the terms of the
# Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
#*****************... | 31.904762 | 98 | 0.543284 | 70 | 670 | 5.114286 | 0.714286 | 0.092179 | 0.094972 | 0.111732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013445 | 0.11194 | 670 | 21 | 99 | 31.904762 | 0.588235 | 0.540299 | 0 | 0 | 0 | 0 | 0.113712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
beb22525cf43ca12981ca14654382fc805f4d8f3 | 30,068 | py | Python | ai/IA VFinale.py | Division01/AIGameRunner | 1f59fbae6efc733874d7088d864d7260f2e1ea53 | [
"MIT"
] | null | null | null | ai/IA VFinale.py | Division01/AIGameRunner | 1f59fbae6efc733874d7088d864d7260f2e1ea53 | [
"MIT"
] | null | null | null | ai/IA VFinale.py | Division01/AIGameRunner | 1f59fbae6efc733874d7088d864d7260f2e1ea53 | [
"MIT"
] | null | null | null | import cherrypy
import sys
import random
class Server:
@cherrypy.expose
@cherrypy.tools.json_in()
@cherrypy.tools.json_out()
def move(self): # La fonction qui est appelée à chaque tour
# Deal with ... | 54.669091 | 177 | 0.425668 | 3,245 | 30,068 | 3.91433 | 0.07396 | 0.089435 | 0.094158 | 0.041332 | 0.792159 | 0.775075 | 0.743977 | 0.724453 | 0.682963 | 0.656117 | 0 | 0.036099 | 0.435247 | 30,068 | 550 | 178 | 54.669091 | 0.711913 | 0.036916 | 0 | 0.639922 | 0 | 0 | 0.09614 | 0.002868 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013699 | false | 0 | 0.005871 | 0 | 0.228963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bebc8290dd0104035c91631826fc087b902843d1 | 128 | py | Python | _states/hellostate.py | UtahDave/testgitfs | f1fbd319ead2c17ff134e0d53f9cad11933ca14f | [
"Apache-2.0"
] | null | null | null | _states/hellostate.py | UtahDave/testgitfs | f1fbd319ead2c17ff134e0d53f9cad11933ca14f | [
"Apache-2.0"
] | null | null | null | _states/hellostate.py | UtahDave/testgitfs | f1fbd319ead2c17ff134e0d53f9cad11933ca14f | [
"Apache-2.0"
] | null | null | null | def world(name):
ret = {"name": name, "changes": {}, "result": True, "comment": "Hello, World! This worked"}
return ret
| 32 | 95 | 0.59375 | 16 | 128 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195313 | 128 | 3 | 96 | 42.666667 | 0.737864 | 0 | 0 | 0 | 0 | 0 | 0.382813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fe225ad68266046f27a3f7f192bb182e886da430 | 44 | py | Python | aljabr/__init__.py | forieux/aljabr | 98b0965476b4459dae43343edb8c1013d02fccfb | [
"Unlicense"
] | null | null | null | aljabr/__init__.py | forieux/aljabr | 98b0965476b4459dae43343edb8c1013d02fccfb | [
"Unlicense"
] | null | null | null | aljabr/__init__.py | forieux/aljabr | 98b0965476b4459dae43343edb8c1013d02fccfb | [
"Unlicense"
] | null | null | null | __version__ = "0.2.0"
from .linop import *
| 11 | 21 | 0.659091 | 7 | 44 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.181818 | 44 | 3 | 22 | 14.666667 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.