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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
433f965c2b734dee5586decf66d1dfdbcf625889 | 2,848 | py | Python | sampi/sdes/catalog.py | Jonathan-Lindbloom/sampi | 2953e19d60df77b617779daaf90712f4f1099ff8 | [
"MIT"
] | null | null | null | sampi/sdes/catalog.py | Jonathan-Lindbloom/sampi | 2953e19d60df77b617779daaf90712f4f1099ff8 | [
"MIT"
] | null | null | null | sampi/sdes/catalog.py | Jonathan-Lindbloom/sampi | 2953e19d60df77b617779daaf90712f4f1099ff8 | [
"MIT"
] | null | null | null | # This contains a catalog of explicit solutions to some SDEs.
from sampi.sdes.base import StochDiffEq
import numpy as np
def basic_linear(a=1, b=1):
"""Returns a function implementing the explicit solution to the SDE
dX_t = a X_t dt + b X_t dW_t.
"""
drift = lambda x, t : a*x
diffusio... | 41.275362 | 145 | 0.602528 | 540 | 2,848 | 3.046296 | 0.144444 | 0.038906 | 0.058359 | 0.021885 | 0.820061 | 0.795137 | 0.727052 | 0.712462 | 0.694833 | 0.694833 | 0 | 0.055633 | 0.242626 | 2,848 | 69 | 146 | 41.275362 | 0.707 | 0.353581 | 0 | 0.0625 | 0 | 0.0625 | 0.13913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
43422f6523dcc22c3b6b4405cdef09387414c14e | 83 | py | Python | acestream/ACEStream/Core/DecentralizedTracking/pymdht/__init__.py | GrandPaRPi/p2ptv-pi | 6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3 | [
"MIT"
] | null | null | null | acestream/ACEStream/Core/DecentralizedTracking/pymdht/__init__.py | GrandPaRPi/p2ptv-pi | 6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3 | [
"MIT"
] | null | null | null | acestream/ACEStream/Core/DecentralizedTracking/pymdht/__init__.py | GrandPaRPi/p2ptv-pi | 6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3 | [
"MIT"
] | 2 | 2018-04-17T17:34:39.000Z | 2020-07-26T03:43:33.000Z | #Embedded file name: ACEStream\Core\DecentralizedTracking\pymdht\__init__.pyo
pass
| 27.666667 | 77 | 0.855422 | 10 | 83 | 6.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 83 | 2 | 78 | 41.5 | 0.858974 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
43488ae602105837e436fe58b21b0a1741d357b8 | 154 | py | Python | securityheaders/models/xframeoptions/__init__.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 151 | 2018-07-29T22:34:43.000Z | 2022-03-22T05:08:27.000Z | securityheaders/models/xframeoptions/__init__.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 5 | 2019-04-24T07:31:36.000Z | 2021-04-15T14:31:23.000Z | securityheaders/models/xframeoptions/__init__.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 42 | 2018-07-31T08:18:59.000Z | 2022-03-28T08:18:32.000Z | from .xframeoptionsdirective import XFrameOptionsDirective
from .xframeoptions import XFrameOptions
__all__ = ['XFrameOptionsDirective','XFrameOptions']
| 30.8 | 58 | 0.857143 | 11 | 154 | 11.636364 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 154 | 4 | 59 | 38.5 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4a98bad3d93dcb8eaec1e0c8af4d95b85ff80c8d | 66 | py | Python | mxdParser/__init__.py | milieuinfo/arcgis2qgs | d0d2e4da7cb9d6f08ef82b6c6f94d3340b96f9ba | [
"MIT"
] | 18 | 2015-11-24T20:08:35.000Z | 2021-11-12T15:10:22.000Z | mxdParser/__init__.py | canglangshushu/arcgis2qgs | d0d2e4da7cb9d6f08ef82b6c6f94d3340b96f9ba | [
"MIT"
] | 1 | 2021-04-08T14:21:01.000Z | 2021-04-08T14:21:01.000Z | mxdParser/__init__.py | canglangshushu/arcgis2qgs | d0d2e4da7cb9d6f08ef82b6c6f94d3340b96f9ba | [
"MIT"
] | 9 | 2017-06-09T04:31:52.000Z | 2021-11-22T11:32:14.000Z | from _mxdReader import mxdReader
from _srsLookUp import srsLookUp | 33 | 33 | 0.878788 | 8 | 66 | 7 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 33 | 33 | 0.965517 | 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 | 1 | 0 | 0 | 5 |
4a98cb043132a5757e8c917edc8893c2951f65ba | 77 | py | Python | OpenAttack/victim/classifiers/__init__.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 444 | 2020-07-14T12:13:26.000Z | 2022-03-28T02:46:30.000Z | OpenAttack/victim/classifiers/__init__.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 50 | 2020-07-15T01:34:42.000Z | 2022-01-24T12:19:19.000Z | OpenAttack/victim/classifiers/__init__.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 86 | 2020-08-02T13:16:45.000Z | 2022-03-27T06:22:04.000Z | from .base import Classifier
from .transformers import TransformersClassifier | 38.5 | 48 | 0.883117 | 8 | 77 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 77 | 2 | 48 | 38.5 | 0.971429 | 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 | 1 | 0 | 0 | 5 |
4aa44f0cd831834be47193dfb9b9c40eed0d1539 | 129 | py | Python | trains/utilities/pyhocon/__init__.py | iou2much/trains | 0ccdd5db4840936888ffa1ab2818657fe7f8b265 | [
"Apache-2.0"
] | null | null | null | trains/utilities/pyhocon/__init__.py | iou2much/trains | 0ccdd5db4840936888ffa1ab2818657fe7f8b265 | [
"Apache-2.0"
] | null | null | null | trains/utilities/pyhocon/__init__.py | iou2much/trains | 0ccdd5db4840936888ffa1ab2818657fe7f8b265 | [
"Apache-2.0"
] | null | null | null | from .config_parser import ConfigParser, ConfigFactory
from .config_tree import ConfigTree
from .converter import HOCONConverter
| 32.25 | 54 | 0.868217 | 15 | 129 | 7.333333 | 0.666667 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 3 | 55 | 43 | 0.948276 | 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 | 1 | 0 | 0 | 5 |
435875ff07b078a50ccb5a8073cf5208138f07af | 120 | py | Python | projects/admin.py | ChegeDaniella/awards | 9b2bd27b089a87bbd7595b51395fdc7cfedda349 | [
"MIT"
] | null | null | null | projects/admin.py | ChegeDaniella/awards | 9b2bd27b089a87bbd7595b51395fdc7cfedda349 | [
"MIT"
] | 4 | 2021-03-30T13:32:53.000Z | 2021-09-08T02:08:19.000Z | projects/admin.py | ChegeDaniella/awards | 9b2bd27b089a87bbd7595b51395fdc7cfedda349 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Posts,Rates
admin.site.register(Posts)
admin.site.register(Rates)
| 20 | 32 | 0.816667 | 18 | 120 | 5.444444 | 0.555556 | 0.183673 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 5 | 33 | 24 | 0.899083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
4375bb6181d8ab352ccd70f0e3197ad389123760 | 138 | py | Python | controllers/base_controller.py | simrit1/outlook-mail-archiver | 54b308938c36e57011df4ed3e738fc9917281c2a | [
"MIT"
] | 2 | 2021-12-25T20:34:39.000Z | 2021-12-26T22:07:09.000Z | controllers/base_controller.py | simrit1/outlook-mail-archiver | 54b308938c36e57011df4ed3e738fc9917281c2a | [
"MIT"
] | null | null | null | controllers/base_controller.py | simrit1/outlook-mail-archiver | 54b308938c36e57011df4ed3e738fc9917281c2a | [
"MIT"
] | 3 | 2021-12-26T22:07:22.000Z | 2022-01-08T17:23:58.000Z | from resources.robot_driver import RobotDriver
class BaseController:
def __init__(self):
self.robot_driver = RobotDriver()
| 17.25 | 46 | 0.746377 | 15 | 138 | 6.466667 | 0.733333 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 138 | 7 | 47 | 19.714286 | 0.866071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 5 |
4375c615796d1cee022ac88e9fd80260474ff6c9 | 238 | py | Python | adventofcode/tests/y2020/test_2020_08.py | andreasbjornstrom/adventofcode-python | 71db65568bf0f327dd56e5e1c7488e356a24f403 | [
"MIT"
] | null | null | null | adventofcode/tests/y2020/test_2020_08.py | andreasbjornstrom/adventofcode-python | 71db65568bf0f327dd56e5e1c7488e356a24f403 | [
"MIT"
] | null | null | null | adventofcode/tests/y2020/test_2020_08.py | andreasbjornstrom/adventofcode-python | 71db65568bf0f327dd56e5e1c7488e356a24f403 | [
"MIT"
] | null | null | null | '''
Test for year 2020, day 8 solution.
Run tests from project root with `PYTHONPATH=$(pwd) py.test`.
'''
from adventofcode.solutions.y2020.d08 import run
def test_run() -> None:
# not yet implemented!
assert run('') == (None, None)
| 23.8 | 61 | 0.689076 | 35 | 238 | 4.657143 | 0.771429 | 0.08589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055276 | 0.163866 | 238 | 9 | 62 | 26.444444 | 0.763819 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
438c68df8845157b4b426de5c82c4bb3b544e3fe | 223 | py | Python | neurosky/__init__.py | Bituhh/NeuroSky | cd61623d73f72983594c1949b41cbd7b7e9ebef8 | [
"MIT"
] | 2 | 2021-07-03T13:16:38.000Z | 2021-07-08T11:43:05.000Z | neurosky/__init__.py | Bituhh/NeuroSky | cd61623d73f72983594c1949b41cbd7b7e9ebef8 | [
"MIT"
] | 1 | 2021-09-08T19:37:46.000Z | 2022-01-08T19:24:27.000Z | neurosky/__init__.py | Bituhh/NeuroSky | cd61623d73f72983594c1949b41cbd7b7e9ebef8 | [
"MIT"
] | 1 | 2020-02-29T09:20:10.000Z | 2020-02-29T09:20:10.000Z | from neurosky._connector import Connector
from neurosky._processor import Processor
from neurosky._trainer import Trainer
from neurosky.utils import KeyHandler
__all__ = ['Connector', 'Processor', 'Trainer', 'KeyHandler']
| 31.857143 | 61 | 0.816143 | 25 | 223 | 7 | 0.36 | 0.274286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103139 | 223 | 6 | 62 | 37.166667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.156951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 1 | 0 | 0 | 5 |
4397f5f5ca479e01882b41ed970ccb80f2abaebb | 157 | py | Python | unagi/test/test_query.py | Christopher-Bradshaw/unagi | 29bb2df0c8674438f24c3932e0b1b65a83dec4ae | [
"MIT"
] | 20 | 2019-06-04T02:21:17.000Z | 2021-08-17T01:59:18.000Z | unagi/test/test_query.py | minaskar/unagi | 821858aa3912bd5bc7bc347a54e3b70afceeb101 | [
"MIT"
] | 19 | 2018-08-19T07:09:54.000Z | 2021-10-08T08:45:28.000Z | unagi/test/test_query.py | minaskar/unagi | 821858aa3912bd5bc7bc347a54e3b70afceeb101 | [
"MIT"
] | 9 | 2019-08-04T22:30:39.000Z | 2021-10-08T09:10:10.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division, print_function, absolute_import,
unicode_literals)
| 22.428571 | 66 | 0.624204 | 17 | 157 | 5.352941 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.254777 | 157 | 6 | 67 | 26.166667 | 0.769231 | 0.267516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
43b1636ce5f3db6c08501c686eb6b2a560553735 | 849 | py | Python | idfy_rest_client/models/status.py | dealflowteam/Idfy | fa3918a6c54ea0eedb9146578645b7eb1755b642 | [
"MIT"
] | null | null | null | idfy_rest_client/models/status.py | dealflowteam/Idfy | fa3918a6c54ea0eedb9146578645b7eb1755b642 | [
"MIT"
] | null | null | null | idfy_rest_client/models/status.py | dealflowteam/Idfy | fa3918a6c54ea0eedb9146578645b7eb1755b642 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
idfy_rest_client.models.status
This file was automatically generated for Idfy by APIMATIC v2.0 ( https://apimatic.io )
"""
class Status(object):
"""Implementation of the 'Status' enum.
TODO: type enum description here.
Attributes:
UNKNOWN: TOD... | 21.225 | 92 | 0.606596 | 85 | 849 | 6.035294 | 0.447059 | 0.124756 | 0.259259 | 0.31384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005034 | 0.297998 | 849 | 39 | 93 | 21.769231 | 0.855705 | 0.62073 | 0 | 0 | 1 | 0 | 0.251142 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
78e0d39adc961e6b8ec700f3ccfa92a120c116dd | 49 | py | Python | 10 WhileLoop/main.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | 3 | 2021-05-08T13:11:41.000Z | 2021-05-14T02:43:20.000Z | 10 WhileLoop/main.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | null | null | null | 10 WhileLoop/main.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | null | null | null | i = 0
while (i < 50):
print(i)
i = i + 1 | 9.8 | 15 | 0.387755 | 10 | 49 | 1.9 | 0.6 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.428571 | 49 | 5 | 16 | 9.8 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6005faaa0d7155c24897ef997bc3bbed0ca4a54c | 100 | py | Python | upfpy/__init__.py | rickhonda/upfpy | 3badc49e8eb0c0baa48bfbdac16e703f07165b9b | [
"MIT"
] | 5 | 2020-06-09T17:46:29.000Z | 2021-05-07T13:24:53.000Z | upfpy/__init__.py | rickhonda/upfpy | 3badc49e8eb0c0baa48bfbdac16e703f07165b9b | [
"MIT"
] | 1 | 2020-06-24T18:52:09.000Z | 2020-06-24T21:20:50.000Z | upfpy/__init__.py | rickhonda/upfpy | 3badc49e8eb0c0baa48bfbdac16e703f07165b9b | [
"MIT"
] | null | null | null | #upfpy
from .upf import *
if __name__ == "__main__":
import upfpy.__main__
__main__.main()
| 14.285714 | 26 | 0.67 | 12 | 100 | 4.25 | 0.583333 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21 | 100 | 6 | 27 | 16.666667 | 0.64557 | 0.05 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6040ceedb31c1887b5cf2c5d6ac53940a4695ae9 | 2,573 | py | Python | server.py | IT-Department-Projects/HCI-Project | e9875198d3580fa0ef5c2f41b4d9b03c48397306 | [
"MIT"
] | null | null | null | server.py | IT-Department-Projects/HCI-Project | e9875198d3580fa0ef5c2f41b4d9b03c48397306 | [
"MIT"
] | null | null | null | server.py | IT-Department-Projects/HCI-Project | e9875198d3580fa0ef5c2f41b4d9b03c48397306 | [
"MIT"
] | null | null | null | from imports import *
from utils import *
from auth import *
"""
REST API Call to detect image in a particular picture
Argument takes in image with POST Key as 'file'
Returns JSON of 'face_exists' and 'number_of_faces'
"""
@app.route('/image_detection', methods=['GET', 'POST'])
def image_detection():
# Check if a... | 30.630952 | 80 | 0.65138 | 364 | 2,573 | 4.527473 | 0.285714 | 0.043689 | 0.033981 | 0.041262 | 0.769417 | 0.742718 | 0.742718 | 0.742718 | 0.742718 | 0.742718 | 0 | 0.010096 | 0.230082 | 2,573 | 84 | 81 | 30.630952 | 0.821807 | 0.143801 | 0 | 0.638298 | 0 | 0 | 0.405879 | 0.033917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.06383 | 0.021277 | 0.319149 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
605b158de059394a3db4d15dc5b80f50fc54dc04 | 106 | py | Python | rotkehlchen/chain/ethereum/modules/gitcoin/__init__.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 137 | 2018-03-05T11:53:29.000Z | 2019-11-03T16:38:42.000Z | rotkehlchen/chain/ethereum/modules/gitcoin/__init__.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 385 | 2018-03-08T12:43:41.000Z | 2019-11-10T09:15:36.000Z | rotkehlchen/chain/ethereum/modules/gitcoin/__init__.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 59 | 2018-03-08T10:08:27.000Z | 2019-10-26T11:30:44.000Z | from .accountant import GitcoinAccountant # noqa: F401
from .decoder import GitcoinDecoder # noqa: F401
| 35.333333 | 55 | 0.792453 | 12 | 106 | 7 | 0.666667 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.150943 | 106 | 2 | 56 | 53 | 0.866667 | 0.198113 | 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 | 1 | 0 | 0 | 5 |
607491badc3e42dbdcf1c3f25cf344a3b17029b7 | 719 | py | Python | wandb/sdk/__init__.py | nbardy/client | dfd6345d6a39f20252ac2107652e0f530fc67c98 | [
"MIT"
] | 1 | 2021-09-07T09:55:27.000Z | 2021-09-07T09:55:27.000Z | wandb/sdk/__init__.py | jiaqianjing/client | 41fa2443b9fa28682cbf4ddde85e04df6f9cd9a8 | [
"MIT"
] | null | null | null | wandb/sdk/__init__.py | jiaqianjing/client | 41fa2443b9fa28682cbf4ddde85e04df6f9cd9a8 | [
"MIT"
] | null | null | null | #
# -*- coding: utf-8 -*-
"""
module sdk
"""
from . import wandb_helper as helper # noqa: F401
from .wandb_alerts import AlertLevel # noqa: F401
from .wandb_artifacts import Artifact # noqa: F401
from .wandb_config import Config # noqa: F401
from .wandb_history import History # noqa: F401
from .wandb_init import ... | 34.238095 | 53 | 0.742698 | 105 | 719 | 4.952381 | 0.27619 | 0.215385 | 0.3 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072513 | 0.175243 | 719 | 20 | 54 | 35.95 | 0.804384 | 0.260083 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6085515af8d0ea25c0a6fd8be7b62296d14e9f12 | 64 | py | Python | src/colorist/helper/__init__.py | jakob-bagterp/colorist-for-python | 6e9f9cc3a345cac7459cdc494f5fd635aecf19f7 | [
"MIT"
] | null | null | null | src/colorist/helper/__init__.py | jakob-bagterp/colorist-for-python | 6e9f9cc3a345cac7459cdc494f5fd635aecf19f7 | [
"MIT"
] | null | null | null | src/colorist/helper/__init__.py | jakob-bagterp/colorist-for-python | 6e9f9cc3a345cac7459cdc494f5fd635aecf19f7 | [
"MIT"
] | null | null | null | __all__ = ["color", "effect"]
from .print import color, effect
| 16 | 32 | 0.6875 | 8 | 64 | 5 | 0.75 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 64 | 3 | 33 | 21.333333 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 5 |
60aa4ce614ac8ad3379b0467e76ecc325109be44 | 173 | py | Python | lantz/lantz/drivers/keysight/__init__.py | zhong-lab/optics | 9de1942d9a128183ecb3d360b160b27126e7b8f0 | [
"BSD-2-Clause"
] | 1 | 2022-03-27T07:47:19.000Z | 2022-03-27T07:47:19.000Z | lantz/lantz/drivers/keysight/__init__.py | zhong-lab/optics | 9de1942d9a128183ecb3d360b160b27126e7b8f0 | [
"BSD-2-Clause"
] | null | null | null | lantz/lantz/drivers/keysight/__init__.py | zhong-lab/optics | 9de1942d9a128183ecb3d360b160b27126e7b8f0 | [
"BSD-2-Clause"
] | 4 | 2019-11-08T22:39:04.000Z | 2021-11-05T02:39:37.000Z | from .Keysight_33622A import Keysight_33622A
from .seqbuild import SeqBuild
from .arbseq_class import Arbseq_Class
__all__ = ['Keysight_33622A', 'SeqBuild', 'Arbseq_Class'] | 34.6 | 57 | 0.820809 | 22 | 173 | 6 | 0.363636 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0.098266 | 173 | 5 | 57 | 34.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.201149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
60ab54a26394e4fae6fcb28ae91ad32359cbd719 | 215 | py | Python | lib/dataset/__init__.py | Amberrferr/Faster_RCNN_for_DOTA | 6cd0407052f3d9cc095f8ac2e1cea9d4c3adafc5 | [
"Apache-2.0"
] | null | null | null | lib/dataset/__init__.py | Amberrferr/Faster_RCNN_for_DOTA | 6cd0407052f3d9cc095f8ac2e1cea9d4c3adafc5 | [
"Apache-2.0"
] | null | null | null | lib/dataset/__init__.py | Amberrferr/Faster_RCNN_for_DOTA | 6cd0407052f3d9cc095f8ac2e1cea9d4c3adafc5 | [
"Apache-2.0"
] | null | null | null | from dataset.imdb import IMDB
from dataset.pascal_voc import PascalVOC
from dataset.cityscape import CityScape
from dataset.coco import coco
from dataset.DOTA import DOTA_oriented,DOTA
from dataset.UCAS import UCAS
| 30.714286 | 43 | 0.855814 | 33 | 215 | 5.515152 | 0.363636 | 0.362637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111628 | 215 | 6 | 44 | 35.833333 | 0.95288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
60af629018020c154d46aec361f98dfc49a2a8e8 | 8,745 | py | Python | eclipse-mosquitto/test/broker/01-connect-zero-length-id.py | HenriqueBuzin/mosquitto-eclipse-mqtt | 00468923fcf70eefdf2c707b6ba9bdd4f859faf2 | [
"Unlicense"
] | 2 | 2021-04-20T14:28:59.000Z | 2021-05-06T07:46:53.000Z | eclipse-mosquitto/test/broker/01-connect-zero-length-id.py | HenriqueBuzin/mosquitto-eclipse-mqtt | 00468923fcf70eefdf2c707b6ba9bdd4f859faf2 | [
"Unlicense"
] | null | null | null | eclipse-mosquitto/test/broker/01-connect-zero-length-id.py | HenriqueBuzin/mosquitto-eclipse-mqtt | 00468923fcf70eefdf2c707b6ba9bdd4f859faf2 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
# Test whether a CONNECT with a zero length client id results in the correct behaviour.
# MQTT v3.1.1 - zero length is allowed, unless allow_zero_length_clientid is false, and unless clean_start is False.
# MQTT v5.0 - zero length is allowed, unless allow_zero_length_clientid is false
from mos... | 67.269231 | 159 | 0.737907 | 1,369 | 8,745 | 4.385683 | 0.096421 | 0.082612 | 0.073451 | 0.138741 | 0.794803 | 0.77948 | 0.769487 | 0.769487 | 0.769487 | 0.769487 | 0 | 0.018038 | 0.131504 | 8,745 | 129 | 160 | 67.790698 | 0.772482 | 0.053288 | 0 | 0.108911 | 0 | 0 | 0.080029 | 0.013781 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019802 | false | 0.009901 | 0.009901 | 0 | 0.029703 | 0.029703 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
60c151ec731bd78ea385b33fba2ddc63e01a5ef7 | 4,796 | py | Python | tester.py | joshuachen0/kanban | 867822c1f6df3e94a2a3e778a6b90cea986d55c5 | [
"MIT"
] | null | null | null | tester.py | joshuachen0/kanban | 867822c1f6df3e94a2a3e778a6b90cea986d55c5 | [
"MIT"
] | null | null | null | tester.py | joshuachen0/kanban | 867822c1f6df3e94a2a3e778a6b90cea986d55c5 | [
"MIT"
] | null | null | null | from kanban import *
import sys
import StringIO
# Testing suite for kanban class
#Need to test add, remove, and move functions, including behavior of errors.
#Need to try and catch errors and display the proper functions
# Generate test file
file_name = 'tester'
with open(file_name, 'w') as f:
f.write('to do|4||... | 88.814815 | 969 | 0.221643 | 334 | 4,796 | 3.149701 | 0.218563 | 0.142586 | 0.188213 | 0.228137 | 0.398289 | 0.364068 | 0.278517 | 0.278517 | 0.278517 | 0.278517 | 0 | 0.005234 | 0.16347 | 4,796 | 53 | 970 | 90.490566 | 0.256979 | 0.054837 | 0 | 0.230769 | 0 | 0.102564 | 0.805789 | 0.584622 | 0 | 0 | 0 | 0 | 0.358974 | 1 | 0 | false | 0.025641 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
60e8067e3a982ed69ebe605eade49c7ab3013f1d | 167 | py | Python | randfacts/__init__.py | notkar1m/randfacts | 84f45650f440f1118544e91f617f36637a2e71ec | [
"MIT"
] | null | null | null | randfacts/__init__.py | notkar1m/randfacts | 84f45650f440f1118544e91f617f36637a2e71ec | [
"MIT"
] | null | null | null | randfacts/__init__.py | notkar1m/randfacts | 84f45650f440f1118544e91f617f36637a2e71ec | [
"MIT"
] | null | null | null | from .__version__ import __title__, __description__, __url__, __version__, __author__, __author_email__, __license__, __copyright__
from randfacts.main import getFact
| 55.666667 | 131 | 0.856287 | 17 | 167 | 6.235294 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08982 | 167 | 2 | 132 | 83.5 | 0.697368 | 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 | 1 | 0 | 0 | 5 |
60ead695f8acbf1ce8dc58cdf515691ca6abf91e | 4,501 | py | Python | yandex/cloud/billing/v1/sku_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 36 | 2018-12-23T13:51:50.000Z | 2022-03-25T07:48:24.000Z | yandex/cloud/billing/v1/sku_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 15 | 2019-02-28T04:55:09.000Z | 2022-03-06T23:17:24.000Z | yandex/cloud/billing/v1/sku_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 18 | 2019-02-23T07:10:57.000Z | 2022-03-28T14:41:08.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from yandex.cloud.billing.v1 import sku_pb2 as yandex_dot_cloud_dot_billing_dot_v1_dot_sku__pb2
from yandex.cloud.billing.v1 import sku_service_pb2 as yandex_dot... | 42.462264 | 133 | 0.691846 | 505 | 4,501 | 5.726733 | 0.19802 | 0.043568 | 0.067773 | 0.082296 | 0.784578 | 0.774205 | 0.769364 | 0.720263 | 0.687759 | 0.673237 | 0 | 0.010762 | 0.23617 | 4,501 | 105 | 134 | 42.866667 | 0.830425 | 0.100644 | 0 | 0.438356 | 1 | 0 | 0.073006 | 0.048169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082192 | false | 0 | 0.041096 | 0.027397 | 0.191781 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71484f3ab13d309f51f3a9a9be79c8ce9eba87f8 | 694 | py | Python | Beriflapp/1 RLOTFS/RLOTFS.py | rootaniumcca/Beriflapp | 036126550942c2825281325f13e5f70642de3566 | [
"MIT"
] | null | null | null | Beriflapp/1 RLOTFS/RLOTFS.py | rootaniumcca/Beriflapp | 036126550942c2825281325f13e5f70642de3566 | [
"MIT"
] | null | null | null | Beriflapp/1 RLOTFS/RLOTFS.py | rootaniumcca/Beriflapp | 036126550942c2825281325f13e5f70642de3566 | [
"MIT"
] | null | null | null | # Read lines of text from STDIN.
def Beriflapp():
while True:
# Reading the input from the user
i = input("What is the value of 2+8 = ")
# Only exits when meets the condition
if i == '10':
break
print("The value", i, "is the wrong answer. Try again")
... | 33.047619 | 64 | 0.544669 | 99 | 694 | 3.818182 | 0.373737 | 0.079365 | 0.137566 | 0.148148 | 0.862434 | 0.862434 | 0.862434 | 0.862434 | 0.687831 | 0.687831 | 0 | 0.01559 | 0.353026 | 694 | 21 | 65 | 33.047619 | 0.826281 | 0.239193 | 0 | 0.571429 | 0 | 0 | 0.379722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
714ad787a20188d8e89a80347e6256d299a9539e | 9,979 | py | Python | tests/pitchpx/game/test_game.py | ktak199/pitchpx | d8d700b3ce2d31e45705d7a2b3d2cb59023b29ed | [
"MIT"
] | 14 | 2016-01-02T15:03:31.000Z | 2020-03-15T01:58:16.000Z | tests/pitchpx/game/test_game.py | ktak199/pitchpx | d8d700b3ce2d31e45705d7a2b3d2cb59023b29ed | [
"MIT"
] | 17 | 2015-12-31T13:12:49.000Z | 2021-03-31T18:26:11.000Z | tests/pitchpx/game/test_game.py | ktak199/pitchpx | d8d700b3ce2d31e45705d7a2b3d2cb59023b29ed | [
"MIT"
] | 2 | 2018-04-10T02:59:25.000Z | 2018-04-10T03:59:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from bs4 import BeautifulSoup
from datetime import datetime as dt
from unittest import TestCase, main
from pitchpx.game.game import Game
__author__ = 'Shinichi Nakagawa'
class TestGame(TestCase):
"""
MLBAM Game Data testing(game.xml)
"""
GAME_XML = """
... | 41.928571 | 201 | 0.63323 | 1,286 | 9,979 | 4.646967 | 0.117418 | 0.235944 | 0.241633 | 0.213521 | 0.773762 | 0.702142 | 0.56158 | 0.414157 | 0.330321 | 0.260877 | 0 | 0.025283 | 0.203327 | 9,979 | 237 | 202 | 42.105485 | 0.726415 | 0.050406 | 0 | 0.028369 | 0 | 0.049645 | 0.249034 | 0.013136 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.134752 | false | 0 | 0.028369 | 0 | 0.184397 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
714bf82c33e08332e2c73d56020a588503fa90f8 | 196 | py | Python | src/pandas_profiling/report/presentation/flavours/qt/dataset.py | damirazo/pandas-profiling | e436694befc25463073652b4abddc9b9537a555d | [
"MIT"
] | 2 | 2020-01-30T15:01:18.000Z | 2020-01-30T15:01:19.000Z | src/pandas_profiling/report/presentation/flavours/qt/dataset.py | damirazo/pandas-profiling | e436694befc25463073652b4abddc9b9537a555d | [
"MIT"
] | null | null | null | src/pandas_profiling/report/presentation/flavours/qt/dataset.py | damirazo/pandas-profiling | e436694befc25463073652b4abddc9b9537a555d | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import QPushButton
from pandas_profiling.report.presentation.core import Dataset
class QtDataset(Dataset):
def render(self):
return QPushButton("PyQt5 button")
| 21.777778 | 61 | 0.77551 | 23 | 196 | 6.565217 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.153061 | 196 | 8 | 62 | 24.5 | 0.89759 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
714dd67c627637f515695f7c53cbea3c635ffab5 | 792 | py | Python | photonai_graph/GraphConstruction/__init__.py | wwu-mmll/photonai_graph | b758c7efa878ef4533ed4f66d6579019167bfa9e | [
"MIT"
] | null | null | null | photonai_graph/GraphConstruction/__init__.py | wwu-mmll/photonai_graph | b758c7efa878ef4533ed4f66d6579019167bfa9e | [
"MIT"
] | 4 | 2022-03-30T20:09:02.000Z | 2022-03-31T13:55:59.000Z | photonai_graph/GraphConstruction/__init__.py | wwu-mmll/photonai_graph | b758c7efa878ef4533ed4f66d6579019167bfa9e | [
"MIT"
] | null | null | null | from photonai_graph.GraphConstruction.graph_constructor_percentage_window import GraphConstructorPercentageWindow
from photonai_graph.GraphConstruction.graph_constructor_random_walks import GraphConstructorRandomWalks
from photonai_graph.GraphConstruction.graph_constructor_percentage import GraphConstructorPercentage
f... | 88 | 113 | 0.939394 | 74 | 792 | 9.702703 | 0.283784 | 0.133705 | 0.189415 | 0.37883 | 0.610028 | 0.610028 | 0.331476 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 792 | 8 | 114 | 99 | 0.944737 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
715aa710b6233b2933c18fb5f8ff6c4183e26a9e | 157 | py | Python | Pilhas e Listas/04.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | Pilhas e Listas/04.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | Pilhas e Listas/04.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | # Implemente uma aplicação que utilize uma pilha para conversão de expressões da notação tradicional (infixa), para a notação polonesa reversa (pós-fixada).
| 78.5 | 156 | 0.808917 | 22 | 157 | 5.772727 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140127 | 157 | 1 | 157 | 157 | 0.940741 | 0.980892 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7195cf24c2ed1bb1d7a85df9a8a011883a1d25d6 | 137 | py | Python | my_test.py | ericdrosado-teacher/without-replit | b333ad6f9cb5d28b39d98c1b017811ec25bf3fc0 | [
"Apache-2.0"
] | null | null | null | my_test.py | ericdrosado-teacher/without-replit | b333ad6f9cb5d28b39d98c1b017811ec25bf3fc0 | [
"Apache-2.0"
] | 1 | 2020-04-16T00:23:49.000Z | 2020-04-16T00:35:09.000Z | my_test.py | ericdrosado-teacher/without-replit | b333ad6f9cb5d28b39d98c1b017811ec25bf3fc0 | [
"Apache-2.0"
] | null | null | null | from my_code import double_it
def test_inc():
assert 8 == double_it(4)
assert 0 == double_it(0)
assert -2 == double_it(-1)
| 17.125 | 30 | 0.642336 | 24 | 137 | 3.416667 | 0.625 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.233577 | 137 | 7 | 31 | 19.571429 | 0.72381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71a26c94cc1d43737773bac7c82acd0be402dd7d | 425 | py | Python | forge/core/core_utils/maya_utils/attr.py | AndresMWeber/Forge | 90b2958a2a40d37b52232091bea9c3ddbd88566b | [
"MIT"
] | 1 | 2021-08-17T02:36:06.000Z | 2021-08-17T02:36:06.000Z | forge/core/core_utils/maya_utils/attr.py | AndresMWeber/Forge | 90b2958a2a40d37b52232091bea9c3ddbd88566b | [
"MIT"
] | 1 | 2017-06-12T04:32:54.000Z | 2017-06-12T04:32:54.000Z | forge/core/core_utils/maya_utils/attr.py | AndresMWeber/Forge | 90b2958a2a40d37b52232091bea9c3ddbd88566b | [
"MIT"
] | 1 | 2017-06-12T05:47:21.000Z | 2017-06-12T05:47:21.000Z | import maya.cmds as mc
def connect_attr(attr_source, attr_destination, **kwargs):
return mc.connectAttr(attr_source, attr_destination, **kwargs)
def set_attr(node_attr_dag, *args, **kwargs):
return mc.setAttr(node_attr_dag, *args, **kwargs)
def get_attr(node_attr_dag, *args, **kwargs):
return mc.getAt... | 23.611111 | 66 | 0.724706 | 63 | 425 | 4.634921 | 0.349206 | 0.164384 | 0.191781 | 0.205479 | 0.60274 | 0.390411 | 0.226027 | 0.226027 | 0 | 0 | 0 | 0 | 0.136471 | 425 | 17 | 67 | 25 | 0.79564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
71de88fc9f8de4a010b8fe1fb680c27194693e7e | 301 | py | Python | bitmovin_api_sdk/encoding/manifests/dash/periods/adaptationsets/contentprotection/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/manifests/dash/periods/adaptationsets/contentprotection/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/manifests/dash/periods/adaptationsets/contentprotection/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.contentprotection.contentprotection_api import ContentprotectionApi
from bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.contentprotection.content_protection_list_query_params import ContentProtectionListQueryParams
| 100.333333 | 163 | 0.92691 | 31 | 301 | 8.709677 | 0.580645 | 0.088889 | 0.111111 | 0.133333 | 0.57037 | 0.57037 | 0.57037 | 0.57037 | 0.57037 | 0.57037 | 0 | 0 | 0.026578 | 301 | 2 | 164 | 150.5 | 0.921502 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e0b9e52e077079a1e07c348402036bad39e7c4dd | 73 | py | Python | notebooks/preprocessing.py | erccarls/berkely_snowfall | 9995d9833481cf61bda3cde9738cdfc4037edcb9 | [
"MIT"
] | 3 | 2017-02-28T13:37:55.000Z | 2020-04-20T12:23:57.000Z | notebooks/preprocessing.py | erccarls/berkely_snowfall | 9995d9833481cf61bda3cde9738cdfc4037edcb9 | [
"MIT"
] | null | null | null | notebooks/preprocessing.py | erccarls/berkely_snowfall | 9995d9833481cf61bda3cde9738cdfc4037edcb9 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
| 14.6 | 31 | 0.794521 | 13 | 73 | 4.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 73 | 4 | 32 | 18.25 | 0.983051 | 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 | 1 | 0 | 0 | 5 |
4605fbc170c458911f7c6fb5554e3890f0e5647d | 3,283 | py | Python | code/python/Formula/v1/fds/sdk/Formula/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/Formula/v1/fds/sdk/Formula/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/Formula/v1/fds/sdk/Formula/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
"""
FactSet Formula API
**FactSet Formula API** FactSet’s Formula API is a modern, flexible, formula-based API that enables users to access FactSet’s wide range of financial data and content. The API offers two endpoints, one optimized for time-series analysis and one designed for cross-secti... | 117.25 | 2,620 | 0.797137 | 504 | 3,283 | 5.18254 | 0.376984 | 0.072741 | 0.030628 | 0.052067 | 0.264165 | 0.243492 | 0.147779 | 0.121746 | 0.035222 | 0.035222 | 0 | 0.00465 | 0.14834 | 3,283 | 27 | 2,621 | 121.592593 | 0.929542 | 0.851051 | 0 | 0 | 0 | 0 | 0.013043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1cb15f4f8bd7f7e450efb8f29cf076d38db45264 | 115 | py | Python | UVTextureConverter/__init__.py | shiba6v/UVTextureConverter | 6a0db3829d8df21960ccfd8823ddd3b835102f5a | [
"MIT"
] | 115 | 2019-10-18T02:17:26.000Z | 2022-03-24T06:24:34.000Z | UVTextureConverter/__init__.py | shiba6v/UVTextureConverter | 6a0db3829d8df21960ccfd8823ddd3b835102f5a | [
"MIT"
] | 20 | 2020-01-17T07:06:00.000Z | 2021-12-20T11:24:08.000Z | UVTextureConverter/__init__.py | shiba6v/UVTextureConverter | 6a0db3829d8df21960ccfd8823ddd3b835102f5a | [
"MIT"
] | 17 | 2020-01-16T12:07:52.000Z | 2022-02-23T03:24:07.000Z | from .Atlas2Normal import Atlas2Normal
from .Normal2Atlas import Normal2Atlas
from .UVConverter import UVConverter
| 28.75 | 38 | 0.869565 | 12 | 115 | 8.333333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0.104348 | 115 | 3 | 39 | 38.333333 | 0.932039 | 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 | 1 | 0 | 0 | 5 |
1cb268da681613a07fc278be916e91c747a3a836 | 1,194 | py | Python | PuzzleGenerator/Puzzle6.py | Pelikens/SymmetryGroupPuzzle | 972309a70a29f4c2c244b68b4df8032e4dd7a99d | [
"MIT"
] | null | null | null | PuzzleGenerator/Puzzle6.py | Pelikens/SymmetryGroupPuzzle | 972309a70a29f4c2c244b68b4df8032e4dd7a99d | [
"MIT"
] | 11 | 2018-07-02T16:49:26.000Z | 2018-07-31T17:44:13.000Z | PuzzleGenerator/Puzzle6.py | Pelikens/SymmetryGroupPuzzle | 972309a70a29f4c2c244b68b4df8032e4dd7a99d | [
"MIT"
] | 1 | 2018-07-21T14:06:08.000Z | 2018-07-21T14:06:08.000Z | # Puzzle6.py
import math
from Puzzle import Puzzle, CutRegion
from math2d_affine_transform import AffineTransform
from math2d_vector import Vector
from math2d_polygon import Polygon
class Puzzle6(Puzzle):
def __init__(self):
super().__init__()
cut_region = CutRegion()
cut_region.Generate... | 34.114286 | 68 | 0.676717 | 156 | 1,194 | 4.974359 | 0.237179 | 0.139175 | 0.046392 | 0.051546 | 0.721649 | 0.721649 | 0.721649 | 0.721649 | 0.721649 | 0.721649 | 0 | 0.042508 | 0.211893 | 1,194 | 35 | 69 | 34.114286 | 0.782147 | 0.008375 | 0 | 0.571429 | 0 | 0 | 0.005917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.178571 | 0.035714 | 0.321429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
e82d6deaa69c4087ea8cdb50042659c57152bcb0 | 480 | py | Python | resource.py | zhanganyuan/ReCalendar | eb7583cd53606156006b641a18ad78a898f5316d | [
"MIT"
] | null | null | null | resource.py | zhanganyuan/ReCalendar | eb7583cd53606156006b641a18ad78a898f5316d | [
"MIT"
] | null | null | null | resource.py | zhanganyuan/ReCalendar | eb7583cd53606156006b641a18ad78a898f5316d | [
"MIT"
] | null | null | null | class Resource:
# 各种需要用到的页面
img_url = "http://210.42.121.241/servlet/GenImg" # 获取验证码的页面
login_url = "http://210.42.121.241/servlet/Login" # 登录页面
index_url = "http://210.42.121.241/stu/stu_index.jsp" # 登录之后的主页面,在这里获取令牌
gpa_url = "http://210.42.121.241/stu/stu_score_credit_statics.jsp" # 带日历的总分和成绩... | 53.333333 | 83 | 0.685417 | 72 | 480 | 4.402778 | 0.444444 | 0.132492 | 0.189274 | 0.227129 | 0.492114 | 0.492114 | 0.492114 | 0.334385 | 0 | 0 | 0 | 0.160194 | 0.141667 | 480 | 8 | 84 | 60 | 0.609223 | 0.129167 | 0 | 0 | 0 | 0 | 0.643902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1c267fa7c1b3bd880e9c6f7bb01018cf88df7c17 | 264 | py | Python | Leetcode/0705. Design HashSet/0705.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/0705. Design HashSet/0705.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/0705. Design HashSet/0705.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class MyHashSet:
def __init__(self):
self.set = [False] * 1000001
def add(self, key: int) -> None:
self.set[key] = True
def remove(self, key: int) -> None:
self.set[key] = False
def contains(self, key: int) -> bool:
return self.set[key]
| 20.307692 | 39 | 0.609848 | 39 | 264 | 4.025641 | 0.435897 | 0.178344 | 0.191083 | 0.178344 | 0.305732 | 0.305732 | 0.305732 | 0 | 0 | 0 | 0 | 0.034653 | 0.234848 | 264 | 12 | 40 | 22 | 0.742574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1c6aba9420cafa71fe4098a7e3538932fc8f6871 | 76 | py | Python | app/schemas/source_site.py | ParvezMullah/product_details | 0aabb12e1062fe9911f05915a50dd5a9b75f21e5 | [
"Apache-1.1"
] | null | null | null | app/schemas/source_site.py | ParvezMullah/product_details | 0aabb12e1062fe9911f05915a50dd5a9b75f21e5 | [
"Apache-1.1"
] | null | null | null | app/schemas/source_site.py | ParvezMullah/product_details | 0aabb12e1062fe9911f05915a50dd5a9b75f21e5 | [
"Apache-1.1"
] | null | null | null | from pydantic import BaseModel
class SourceSite(BaseModel):
url : str
| 12.666667 | 30 | 0.75 | 9 | 76 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 76 | 5 | 31 | 15.2 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1c71f7483d1e0d38ccf0b2717ff824f2136bf44e | 147 | py | Python | rubicon/intake_rubicon/__init__.py | jeklein/rubicon-ml | a4a3c4d3504cb251597890dbfa8302b0bde06f30 | [
"Apache-2.0"
] | 42 | 2021-02-23T23:30:49.000Z | 2021-05-01T02:54:03.000Z | rubicon/intake_rubicon/__init__.py | jeklein/rubicon-ml | a4a3c4d3504cb251597890dbfa8302b0bde06f30 | [
"Apache-2.0"
] | 56 | 2021-05-13T13:47:50.000Z | 2022-03-24T13:46:49.000Z | rubicon/intake_rubicon/__init__.py | jeklein/rubicon-ml | a4a3c4d3504cb251597890dbfa8302b0bde06f30 | [
"Apache-2.0"
] | 9 | 2021-02-23T23:30:51.000Z | 2021-04-24T16:42:28.000Z | import intake # noqa F401
from rubicon_ml.intake_rubicon import ExperimentSource, ProjectSource
__all__ = ["ExperimentSource", "ProjectSource"]
| 24.5 | 69 | 0.809524 | 15 | 147 | 7.533333 | 0.666667 | 0.513274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.115646 | 147 | 5 | 70 | 29.4 | 0.846154 | 0.061224 | 0 | 0 | 0 | 0 | 0.213235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
98c037ee699c4f42f6d79b150c56ec416cdfc457 | 350 | py | Python | katas/kyu_7/the_most_amicable_of_numbers.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/the_most_amicable_of_numbers.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/the_most_amicable_of_numbers.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def proper_divisors_sum(n):
return sum(a for a in xrange(1, n) if not n % a)
def amicable_numbers(a, b):
return proper_divisors_sum(a) == b and proper_divisors_sum(b) == a
# def amicable_numbers(a, b):
# # this works after multiple submissions to get lucky on random inputs
# return sum(c for c in xr... | 29.166667 | 75 | 0.674286 | 65 | 350 | 3.507692 | 0.446154 | 0.184211 | 0.223684 | 0.166667 | 0.184211 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0.007326 | 0.22 | 350 | 11 | 76 | 31.818182 | 0.827839 | 0.451429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
98d2027687a21922b1093a864b9cbe0234f95afe | 40,178 | py | Python | tests/providers/github/test_provider.py | birdbrained/waterbutler | 60a6eb7f2dfce88b7a00457034c01b20da0aef23 | [
"Apache-2.0"
] | null | null | null | tests/providers/github/test_provider.py | birdbrained/waterbutler | 60a6eb7f2dfce88b7a00457034c01b20da0aef23 | [
"Apache-2.0"
] | null | null | null | tests/providers/github/test_provider.py | birdbrained/waterbutler | 60a6eb7f2dfce88b7a00457034c01b20da0aef23 | [
"Apache-2.0"
] | null | null | null | import pytest
import io
import os
import json
import base64
import hashlib
from http import client
import aiohttpretty
from waterbutler.core import streams
from waterbutler.core import exceptions
from waterbutler.core.path import WaterButlerPath
from waterbutler.core.provider import build_url
from waterbutler.provi... | 45.39887 | 137 | 0.624322 | 4,365 | 40,178 | 5.590149 | 0.088202 | 0.049793 | 0.061391 | 0.074546 | 0.77673 | 0.763329 | 0.745338 | 0.72706 | 0.714725 | 0.630507 | 0 | 0.056834 | 0.231868 | 40,178 | 884 | 138 | 45.450226 | 0.733815 | 0.117129 | 0 | 0.50229 | 0 | 0.059542 | 0.403438 | 0.028983 | 0 | 0 | 0 | 0.001131 | 0.068702 | 1 | 0.022901 | false | 0.00458 | 0.030534 | 0.019847 | 0.082443 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
98d8e5d7a1768f3b5059cdcae83cc4da9b9ae6a8 | 214 | py | Python | Lib/site-packages/mysql_cymysql/schema.py | Desarrolloweb8/ultimo2 | cdf14a6ae9cb212b8c933b404766f1aa2a58ceb6 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/mysql_cymysql/schema.py | Desarrolloweb8/ultimo2 | cdf14a6ae9cb212b8c933b404766f1aa2a58ceb6 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/mysql_cymysql/schema.py | Desarrolloweb8/ultimo2 | cdf14a6ae9cb212b8c933b404766f1aa2a58ceb6 | [
"bzip2-1.0.6"
] | null | null | null | import cymysql
from django.db.backends.mysql import schema
class DatabaseSchemaEditor(schema.DatabaseSchemaEditor):
def quote_value(self, value):
return cymysql.converters.escape_item(value, 'utf-8')
| 26.75 | 61 | 0.780374 | 26 | 214 | 6.346154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.130841 | 214 | 7 | 62 | 30.571429 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.023364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
98ee86fbef27cd397e92d868377db413e09f6b47 | 70 | py | Python | checkov/kustomize/registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | 1 | 2022-02-20T21:20:39.000Z | 2022-02-20T21:20:39.000Z | checkov/kustomize/registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | 3 | 2022-03-07T20:37:31.000Z | 2022-03-21T20:20:14.000Z | checkov/kustomize/registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | null | null | null | from checkov.kubernetes.registry import Registry as KubernetesRegistry | 70 | 70 | 0.9 | 8 | 70 | 7.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 70 | 1 | 70 | 70 | 0.969231 | 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 | 1 | 0 | 0 | 5 |
c71230e34ee9b99668788714b0dd1bbc445c0f24 | 131 | py | Python | scripts/contech_wrapper++.py | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 50 | 2015-10-21T23:16:35.000Z | 2021-09-27T12:52:04.000Z | scripts/contech_wrapper++.py | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 187 | 2015-01-08T22:24:54.000Z | 2020-04-17T17:23:50.000Z | scripts/contech_wrapper++.py | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 25 | 2015-11-02T17:54:49.000Z | 2020-06-16T07:28:11.000Z | #!/usr/bin/env python
# C++ Wrapper compiler for contech front end
import contech_wrapper
contech_wrapper.main(isCpp = True)
| 13.1 | 44 | 0.748092 | 19 | 131 | 5.052632 | 0.789474 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160305 | 131 | 9 | 45 | 14.555556 | 0.872727 | 0.480916 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c7576b5cdb9d67e55a1934b87c8a0ca7278e0fc8 | 35 | py | Python | python/testData/codeInsight/mlcompletion/classNotBuiltins.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/codeInsight/mlcompletion/classNotBuiltins.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/codeInsight/mlcompletion/classNotBuiltins.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class MyClazz:
pass
a = M<caret> | 8.75 | 14 | 0.657143 | 6 | 35 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 4 | 15 | 8.75 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c75a7a2a3b2eea3eb0e8a08f8ad4d8d2b5c6c256 | 19 | py | Python | python/testData/quickFixes/PyAugmentAssignmentQuickFixTest/references_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyAugmentAssignmentQuickFixTest/references_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyAugmentAssignmentQuickFixTest/references_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | v = 0
f = 1
v += f
| 4.75 | 6 | 0.315789 | 6 | 19 | 1 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.473684 | 19 | 3 | 7 | 6.333333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c763ee49645bb4dc11d6157ec6d6162774d9eea7 | 4,214 | py | Python | last_records/last_records/doctype/smart_order_new.py | hrgadeha/Records | edd6155c2eaaa36859ff00df6eb137e12b9b55ee | [
"MIT"
] | null | null | null | last_records/last_records/doctype/smart_order_new.py | hrgadeha/Records | edd6155c2eaaa36859ff00df6eb137e12b9b55ee | [
"MIT"
] | null | null | null | last_records/last_records/doctype/smart_order_new.py | hrgadeha/Records | edd6155c2eaaa36859ff00df6eb137e12b9b55ee | [
"MIT"
] | 1 | 2020-11-30T07:11:46.000Z | 2020-11-30T07:11:46.000Z | from __future__ import unicode_literals
import frappe
from frappe import msgprint
from frappe.model.document import Document
from datetime import date
from datetime import datetime, timedelta
from frappe.utils import money_in_words
@frappe.whitelist(allow_guest=True)
def getStock1(item_code,warehouse):
stock = frappe... | 32.666667 | 153 | 0.669435 | 611 | 4,214 | 4.396072 | 0.165303 | 0.050633 | 0.023455 | 0.065525 | 0.768429 | 0.750558 | 0.72338 | 0.72338 | 0.72338 | 0.684289 | 0 | 0.010312 | 0.171571 | 4,214 | 128 | 154 | 32.921875 | 0.759095 | 0.015662 | 0 | 0.66087 | 0 | 0 | 0.264848 | 0.01014 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026087 | false | 0 | 0.06087 | 0 | 0.095652 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
c7bc48ebf114eb6254ddd6c332fa68df877c6bbf | 51 | py | Python | utils/logger.py | killf/FarSeg | a696576bfe76ad4b2c5fea842830ae2e60e0b867 | [
"MIT"
] | 7 | 2020-10-22T08:27:12.000Z | 2021-11-14T15:27:18.000Z | utils/logger.py | killf/FarSeg | a696576bfe76ad4b2c5fea842830ae2e60e0b867 | [
"MIT"
] | 1 | 2020-10-29T02:13:04.000Z | 2020-10-29T13:27:58.000Z | utils/logger.py | killf/FarSeg | a696576bfe76ad4b2c5fea842830ae2e60e0b867 | [
"MIT"
] | 1 | 2021-05-05T05:32:28.000Z | 2021-05-05T05:32:28.000Z | from torch.utils.tensorboard import SummaryWriter
| 17 | 49 | 0.862745 | 6 | 51 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 2 | 50 | 25.5 | 0.956522 | 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 | 1 | 0 | 0 | 5 |
c7de815013c050587027568096e7b73a8a2db2a0 | 120 | py | Python | tests/models/filters_test.py | aasiffaizal/cowin-alert-system | 4c15509e2794dea684ce0babd7fe30937a5aa527 | [
"Apache-2.0"
] | 1 | 2021-05-20T05:01:04.000Z | 2021-05-20T05:01:04.000Z | tests/models/filters_test.py | aasiffaizal/cowin-alert-system | 4c15509e2794dea684ce0babd7fe30937a5aa527 | [
"Apache-2.0"
] | null | null | null | tests/models/filters_test.py | aasiffaizal/cowin-alert-system | 4c15509e2794dea684ce0babd7fe30937a5aa527 | [
"Apache-2.0"
] | null | null | null | from models.filters import ConfiguredFilter
def test_filters_model(db):
db.query(ConfiguredFilter).limit(1).all()
| 20 | 45 | 0.783333 | 16 | 120 | 5.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.108333 | 120 | 5 | 46 | 24 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4036ceec260476e38a6dd863482ac8a3999e73a5 | 374 | py | Python | mialab/classifier/__init__.py | mrunibe/MIALab | 82d3f0f4344620fd22384108b022730cde9c7215 | [
"Apache-2.0"
] | 2 | 2018-12-05T09:03:28.000Z | 2019-01-02T15:31:35.000Z | mialab/classifier/__init__.py | riedj1/MIALab | 82d3f0f4344620fd22384108b022730cde9c7215 | [
"Apache-2.0"
] | null | null | null | mialab/classifier/__init__.py | riedj1/MIALab | 82d3f0f4344620fd22384108b022730cde9c7215 | [
"Apache-2.0"
] | 1 | 2018-10-20T21:27:55.000Z | 2018-10-20T21:27:55.000Z | """
======================================
Classifier (:mod:`classifier` package)
======================================
This package provides supervised machine learning classifiers.
The decision forest module (:mod:`classifier.decision_forest`)
--------------------------------------------------------------
.. auto... | 26.714286 | 62 | 0.475936 | 24 | 374 | 7.333333 | 0.625 | 0.238636 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082888 | 374 | 14 | 63 | 26.714286 | 0.51312 | 0.975936 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
403c084769fc23eaa5498d84d571e33a97fee128 | 397 | py | Python | tests/test_munin_client.py | jloehel/munin_client | eea975291757e0daea340f52a6a71f6fcad1dd8c | [
"MIT"
] | null | null | null | tests/test_munin_client.py | jloehel/munin_client | eea975291757e0daea340f52a6a71f6fcad1dd8c | [
"MIT"
] | null | null | null | tests/test_munin_client.py | jloehel/munin_client | eea975291757e0daea340f52a6a71f6fcad1dd8c | [
"MIT"
] | null | null | null | import pytest
class TestMuninClient(object):
def config_test(self):
# Mock server
# Create a cli MuninClient(mock_server)
# cli.config("test_plugin")
# assert with expected result
pass
def fetch_test(self):
pass
def list_test(self):
pass
... | 16.541667 | 47 | 0.581864 | 46 | 397 | 4.869565 | 0.543478 | 0.178571 | 0.214286 | 0.200893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345088 | 397 | 23 | 48 | 17.26087 | 0.861538 | 0.259446 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.416667 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
4046635eb7107151b111dcde00bb6254c6eb504b | 50 | py | Python | segnlp/layers/encoders/__init__.py | AxlAlm/SegNLP | 89b8d077952397dfcea089376b373b117bcf6a65 | [
"Apache-2.0"
] | 1 | 2021-01-21T17:16:55.000Z | 2021-01-21T17:16:55.000Z | segnlp/layers/encoders/__init__.py | AxlAlm/SegNLP | 89b8d077952397dfcea089376b373b117bcf6a65 | [
"Apache-2.0"
] | 2 | 2021-01-24T20:07:54.000Z | 2021-01-26T16:59:28.000Z | segnlp/layers/encoders/__init__.py | AxlAlm/SegNLP | 89b8d077952397dfcea089376b373b117bcf6a65 | [
"Apache-2.0"
] | 1 | 2021-01-21T17:16:57.000Z | 2021-01-21T17:16:57.000Z |
from .lstm import LSTM
from .linear import Linear | 16.666667 | 26 | 0.8 | 8 | 50 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 3 | 26 | 16.666667 | 0.952381 | 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 | 1 | 0 | 0 | 5 |
4088221213e52711c7e1185cc3fd1e8f8c5d2716 | 240 | py | Python | SimG4Core/Configuration/python/SimG4Core_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | SimG4Core/Configuration/python/SimG4Core_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | SimG4Core/Configuration/python/SimG4Core_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# Geometry and Magnetic field must be initialized separately
# Geant4-based CMS Detector simulation (OscarProducer)
# - returns label "g4SimHits"
#
from SimG4Core.Application.g4SimHits_cfi import *
| 30 | 60 | 0.8125 | 29 | 240 | 6.689655 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.125 | 240 | 7 | 61 | 34.285714 | 0.904762 | 0.579167 | 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 | 1 | 0 | 0 | 5 |
4092817366dd93b9bc3a4a91400fa7dbb27bb079 | 179 | py | Python | ee/clickhouse/migrations/0002_events_materialized.py | avoajaugochukwu/posthog | 7e7fd42b0542ebc4734aedb926df11d462e3dd4f | [
"MIT"
] | 1 | 2021-11-13T15:47:23.000Z | 2021-11-13T15:47:23.000Z | ee/clickhouse/migrations/0002_events_materialized.py | avoajaugochukwu/posthog | 7e7fd42b0542ebc4734aedb926df11d462e3dd4f | [
"MIT"
] | 1 | 2021-10-13T10:05:26.000Z | 2021-10-13T10:05:26.000Z | ee/clickhouse/migrations/0002_events_materialized.py | avoajaugochukwu/posthog | 7e7fd42b0542ebc4734aedb926df11d462e3dd4f | [
"MIT"
] | 4 | 2021-02-16T20:39:01.000Z | 2022-03-19T17:00:05.000Z | from infi.clickhouse_orm import migrations
from ee.clickhouse.sql.events import EVENTS_WITH_PROPS_TABLE_SQL
operations = [
migrations.RunSQL(EVENTS_WITH_PROPS_TABLE_SQL),
]
| 22.375 | 64 | 0.832402 | 25 | 179 | 5.6 | 0.56 | 0.142857 | 0.214286 | 0.285714 | 0.328571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106145 | 179 | 7 | 65 | 25.571429 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
40b4bf19fca0a00c615ba2c3e22a3936506e92e5 | 40,097 | py | Python | tests/system_tests_qdstat.py | pwright/qpid-dispatch | 94f523a12631d592503d8e4acbe075b879c8d3bd | [
"Apache-2.0"
] | 1 | 2019-07-16T10:24:40.000Z | 2019-07-16T10:24:40.000Z | tests/system_tests_qdstat.py | finp/qpid-dispatch | 94f523a12631d592503d8e4acbe075b879c8d3bd | [
"Apache-2.0"
] | 101 | 2020-10-15T06:49:34.000Z | 2022-03-31T04:04:25.000Z | tests/system_tests_qdstat.py | pwright/qpid-dispatch | 94f523a12631d592503d8e4acbe075b879c8d3bd | [
"Apache-2.0"
] | null | null | null | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 41.252058 | 137 | 0.57513 | 4,856 | 40,097 | 4.607908 | 0.098641 | 0.06069 | 0.033116 | 0.020737 | 0.831918 | 0.781596 | 0.730962 | 0.704237 | 0.671881 | 0.635413 | 0 | 0.01181 | 0.288326 | 40,097 | 971 | 138 | 41.294542 | 0.772323 | 0.103549 | 0 | 0.601148 | 0 | 0 | 0.195497 | 0.020504 | 0 | 0 | 0 | 0 | 0.205165 | 1 | 0.129125 | false | 0.015782 | 0.018651 | 0.007174 | 0.180775 | 0.001435 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
40c6faf5555fd82651e7933b0e0fca8f35e192fe | 270 | py | Python | tests/test_roleplay.py | kintaclausin01/GHG-reduction-project | afd5b0967756ce5b67e3a664a082f17f9b91063b | [
"BSD-3-Clause"
] | null | null | null | tests/test_roleplay.py | kintaclausin01/GHG-reduction-project | afd5b0967756ce5b67e3a664a082f17f9b91063b | [
"BSD-3-Clause"
] | null | null | null | tests/test_roleplay.py | kintaclausin01/GHG-reduction-project | afd5b0967756ce5b67e3a664a082f17f9b91063b | [
"BSD-3-Clause"
] | 6 | 2021-03-31T05:08:47.000Z | 2021-07-18T03:58:03.000Z | import sys
import os
parent_dir = os.path.join(os.path.dirname(__file__), '..')
sys.path.append(parent_dir)
from roleplay import *
#main.roleplayRun(sys.argv[1],sys.argv[2],sys.argv[3])
#main2.roleplayRun(sys.argv[1],sys.argv[2],sys.argv[3])
main2.roleplayRun() | 30 | 59 | 0.718519 | 45 | 270 | 4.177778 | 0.422222 | 0.223404 | 0.191489 | 0.202128 | 0.484043 | 0.484043 | 0.484043 | 0.484043 | 0.484043 | 0.484043 | 0 | 0.03252 | 0.088889 | 270 | 9 | 60 | 30 | 0.731707 | 0.396296 | 0 | 0 | 0 | 0 | 0.012987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
90707b6136be9a038e3c697d98d61c1e94cba850 | 40 | py | Python | tests/components/synology/__init__.py | alexguzun/home-assistant | 29403d28e2196d9424987c0b880210752a6c5846 | [
"Apache-2.0"
] | null | null | null | tests/components/synology/__init__.py | alexguzun/home-assistant | 29403d28e2196d9424987c0b880210752a6c5846 | [
"Apache-2.0"
] | null | null | null | tests/components/synology/__init__.py | alexguzun/home-assistant | 29403d28e2196d9424987c0b880210752a6c5846 | [
"Apache-2.0"
] | null | null | null | """Tests for the synology component."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9085b513d305630aa4e2ed94ceaa1559b18cdbaa | 63 | py | Python | lagmenot/__init__.py | David-Durst/lagmenot | 8f24a8659e3810c6febf51c3ff333f3a880c115d | [
"MIT"
] | null | null | null | lagmenot/__init__.py | David-Durst/lagmenot | 8f24a8659e3810c6febf51c3ff333f3a880c115d | [
"MIT"
] | null | null | null | lagmenot/__init__.py | David-Durst/lagmenot | 8f24a8659e3810c6febf51c3ff333f3a880c115d | [
"MIT"
] | null | null | null | from .player import *
from .server import *
from .main import * | 21 | 21 | 0.730159 | 9 | 63 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 22 | 21 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9088ea6ae791463dc47312b911b6a136bfbf767b | 75 | py | Python | rc_data_feed_plugin_odbcfeed/data_feeder_plugins/__init__.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 65 | 2017-12-04T13:58:32.000Z | 2022-03-24T18:33:17.000Z | rc_data_feed_plugin_odbcfeed/data_feeder_plugins/__init__.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 48 | 2018-03-02T19:17:14.000Z | 2022-03-09T22:00:38.000Z | rc_data_feed_plugin_odbcfeed/data_feeder_plugins/__init__.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 95 | 2018-01-11T16:23:39.000Z | 2022-03-21T11:34:29.000Z | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__) | 25 | 42 | 0.84 | 10 | 75 | 4.9 | 0.6 | 0.408163 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 3 | 42 | 25 | 0.731343 | 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 | 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 | 5 |
90987258fcc44fca1973de2b3f1051cafe232361 | 159 | py | Python | exercicios/PythonExercicios/ex007.py | Roberto-Sartore/Python | 98f91f13cf78d761893c4a1f3264ed999244d32b | [
"MIT"
] | null | null | null | exercicios/PythonExercicios/ex007.py | Roberto-Sartore/Python | 98f91f13cf78d761893c4a1f3264ed999244d32b | [
"MIT"
] | null | null | null | exercicios/PythonExercicios/ex007.py | Roberto-Sartore/Python | 98f91f13cf78d761893c4a1f3264ed999244d32b | [
"MIT"
] | null | null | null | n1 = float(input('Digite a primeira nota '))
n2 = float(input('Digite a segunda nota '))
print('A média entre {} e {} é {:.2f}'.format(n1, n2, ((n1 + n2)/2)))
| 39.75 | 69 | 0.603774 | 27 | 159 | 3.555556 | 0.62963 | 0.208333 | 0.333333 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 0.163522 | 159 | 3 | 70 | 53 | 0.661654 | 0 | 0 | 0 | 0 | 0 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 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 | 5 |
90996734385214587d9abbc089ff477462af4af0 | 1,330 | py | Python | fouruc/base/views.py | Alfareiza/4uc-manager-silver | 8a83d2a9e3630d18322c78e0fd632e73bf59a799 | [
"MIT"
] | null | null | null | fouruc/base/views.py | Alfareiza/4uc-manager-silver | 8a83d2a9e3630d18322c78e0fd632e73bf59a799 | [
"MIT"
] | 12 | 2021-05-11T11:18:16.000Z | 2021-09-30T14:13:30.000Z | fouruc/base/views.py | Alfareiza/4uc-manager-silver | 8a83d2a9e3630d18322c78e0fd632e73bf59a799 | [
"MIT"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.shortcuts import render
from decouple import config
from django.views.decorators.cache import cache_page
@cache_page(60 * 10)
@login_required
def dashboard(request):
return render(request, 'base/index.html')
@login_required
def charts(request... | 18.732394 | 59 | 0.75188 | 174 | 1,330 | 5.649425 | 0.229885 | 0.185148 | 0.211597 | 0.343845 | 0.256358 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003463 | 0.131579 | 1,330 | 70 | 60 | 19 | 0.847619 | 0 | 0 | 0.295455 | 0 | 0 | 0.155639 | 0.021805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.295455 | false | 0 | 0.090909 | 0.295455 | 0.681818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
90a82a8c54dc3843ab2db09b571647520dfeedbd | 34 | py | Python | mashiyat.py | gsdesign4innovation/MuharramCountdown | f99a24fae53a2587c52c1a728c22cdfbecfdf1b4 | [
"MIT"
] | null | null | null | mashiyat.py | gsdesign4innovation/MuharramCountdown | f99a24fae53a2587c52c1a728c22cdfbecfdf1b4 | [
"MIT"
] | null | null | null | mashiyat.py | gsdesign4innovation/MuharramCountdown | f99a24fae53a2587c52c1a728c22cdfbecfdf1b4 | [
"MIT"
] | null | null | null | print("Mashiyat")
print("Hussain") | 17 | 17 | 0.735294 | 4 | 34 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 34 | 2 | 18 | 17 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
90b58200f86d5778ce8c2e8d4413bd0a3e01b417 | 181 | py | Python | boa3_test/test_sc/interop_test/contract/CreateContractTooManyArguments.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/contract/CreateContractTooManyArguments.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/contract/CreateContractTooManyArguments.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | from typing import Any
from boa3.builtin.interop.contract import create_contract
def Main(script: bytes, manifest: bytes, arg0: Any):
create_contract(script, manifest, arg0)
| 22.625 | 57 | 0.779006 | 25 | 181 | 5.56 | 0.6 | 0.201439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.138122 | 181 | 7 | 58 | 25.857143 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2901b3d7050f83d00258547ca036ac9f7a05e362 | 551 | py | Python | openff/evaluator/tests/test_utils/test_tcp.py | jaketanderson/openff-evaluator | 68541612fb0dacacc909d02f273c66ae830051d5 | [
"MIT"
] | 14 | 2019-02-01T18:56:58.000Z | 2019-12-10T18:01:38.000Z | openff/evaluator/tests/test_utils/test_tcp.py | jaketanderson/openff-evaluator | 68541612fb0dacacc909d02f273c66ae830051d5 | [
"MIT"
] | 168 | 2019-01-31T19:54:11.000Z | 2020-02-05T21:47:00.000Z | openff/evaluator/tests/test_utils/test_tcp.py | jaketanderson/openff-evaluator | 68541612fb0dacacc909d02f273c66ae830051d5 | [
"MIT"
] | 4 | 2019-05-01T17:45:24.000Z | 2019-11-11T19:34:28.000Z | """
Units tests for openff.evaluator.utils.tcp
"""
from openff.evaluator.utils import tcp
def test_message_packing():
"""Test that packing / unpacking ints works as expected"""
assert tcp.unpack_int(tcp.pack_int(20))[0] == 20
def test_message_type_enum():
"""Test the message type enum creation."""
a... | 29 | 79 | 0.751361 | 67 | 551 | 6.074627 | 0.522388 | 0.353808 | 0.22113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.136116 | 551 | 18 | 80 | 30.611111 | 0.838235 | 0.239564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
294e21b460f84b34d33817fb1e929744bd154503 | 164 | py | Python | src/GUI/__init__.py | shulip/ShoppingMallSystem | 01e5a04a8353ca319ed2dc002fc358f6e44c33dd | [
"MIT"
] | null | null | null | src/GUI/__init__.py | shulip/ShoppingMallSystem | 01e5a04a8353ca319ed2dc002fc358f6e44c33dd | [
"MIT"
] | null | null | null | src/GUI/__init__.py | shulip/ShoppingMallSystem | 01e5a04a8353ca319ed2dc002fc358f6e44c33dd | [
"MIT"
] | 1 | 2021-04-22T15:14:21.000Z | 2021-04-22T15:14:21.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
from .LCEOWindow import *
from .LProprietorWindow import *
from .LLoginWindow import *
from .LManagerWindow import *
| 20.5 | 32 | 0.719512 | 19 | 164 | 6.210526 | 0.684211 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.146341 | 164 | 7 | 33 | 23.428571 | 0.835714 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
298323d8c34d70f476cec079cc8b891953d0e46f | 56 | py | Python | leetcode/0-250/122-toLowerCase.py | palash24/algorithms-and-data-structures | 164be7d1a501a21af808673888964bbab36243a1 | [
"MIT"
] | 23 | 2018-11-06T03:54:00.000Z | 2022-03-14T13:30:40.000Z | leetcode/0-250/122-toLowerCase.py | palash24/algorithms-and-data-structures | 164be7d1a501a21af808673888964bbab36243a1 | [
"MIT"
] | null | null | null | leetcode/0-250/122-toLowerCase.py | palash24/algorithms-and-data-structures | 164be7d1a501a21af808673888964bbab36243a1 | [
"MIT"
] | 5 | 2019-05-24T16:56:45.000Z | 2022-03-10T17:29:10.000Z | def toLowerCase(self, str):
return str.lower()
| 14 | 27 | 0.625 | 7 | 56 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 56 | 3 | 28 | 18.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 5 |
461ea241be85f81f1ec96bd074df6d4fe326ba42 | 341 | py | Python | interface/error.py | 404neko/Marisa | 29260845bd65df1a765d9cee847afe89c5a2f94f | [
"MIT"
] | null | null | null | interface/error.py | 404neko/Marisa | 29260845bd65df1a765d9cee847afe89c5a2f94f | [
"MIT"
] | null | null | null | interface/error.py | 404neko/Marisa | 29260845bd65df1a765d9cee847afe89c5a2f94f | [
"MIT"
] | null | null | null | class SystemCallFault(Exception):
def __init__(self):
pass
def __str__(self):
return 'System not give expect response.'
class NecessaryLibraryNotFound(Exception):
def __init__(self,value = '?'):
self.value = value
def __str__(self):
return 'Necessary library \'%s\' n... | 22.733333 | 63 | 0.648094 | 37 | 341 | 5.540541 | 0.540541 | 0.131707 | 0.156098 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240469 | 341 | 15 | 63 | 22.733333 | 0.791506 | 0 | 0 | 0.2 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
46a2e23b98d5fff052b48bf193e3ac35af8c2c72 | 198 | py | Python | tests/test_code_detection.py | serenpa/coast_core | b516b99201f22ab6dbf7e8dbb7c894fc5ec38668 | [
"MIT"
] | 2 | 2018-10-29T00:13:03.000Z | 2019-08-07T09:48:29.000Z | tests/test_code_detection.py | zedrem/coast_core | b516b99201f22ab6dbf7e8dbb7c894fc5ec38668 | [
"MIT"
] | null | null | null | tests/test_code_detection.py | zedrem/coast_core | b516b99201f22ab6dbf7e8dbb7c894fc5ec38668 | [
"MIT"
] | 1 | 2019-02-18T00:51:23.000Z | 2019-02-18T00:51:23.000Z | """
Title:
Author:
Description:
"""
import unittest
from coast_core import code_detection
@unittest.skip("Not implemented yet")
class TestCodeDetection(unittest.TestCase):
pass
| 12.375 | 43 | 0.712121 | 21 | 198 | 6.619048 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 198 | 15 | 44 | 13.2 | 0.86875 | 0.146465 | 0 | 0 | 0 | 0 | 0.127517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
46ae6594bcf08dc862f460c0d3e8be32c8aa381d | 58,919 | py | Python | backup/backup.py | quadcube/pyEchonetLite | b625d48ce073aaa727cfdf6dc674aebec6dd6eac | [
"MIT"
] | null | null | null | backup/backup.py | quadcube/pyEchonetLite | b625d48ce073aaa727cfdf6dc674aebec6dd6eac | [
"MIT"
] | null | null | null | backup/backup.py | quadcube/pyEchonetLite | b625d48ce073aaa727cfdf6dc674aebec6dd6eac | [
"MIT"
] | null | null | null | #
# Random snippet
#
{
'CGC_SENSOR_RELATED': 0x00,
'CGC_AIR_CONDITIONER_RELATED': 0x01,
'CGC_HOUSING_RELATED': 0x02,
'CGC_COOKING_RELATED': 0x03,
'CGC_HEALTH_RELATED': 0x04,
'CGC_MANAGEMENT_RELATED': 0x05,
'CGC_AV_RELATED': 0x06,
... | 38.839156 | 79 | 0.532443 | 5,490 | 58,919 | 5.183971 | 0.107286 | 0.027442 | 0.048489 | 0.056922 | 0.847786 | 0.799508 | 0.734329 | 0.695467 | 0.681167 | 0.659136 | 0 | 0.057599 | 0.400652 | 58,919 | 1,516 | 80 | 38.864776 | 0.748336 | 0 | 0 | 0.069384 | 0 | 0 | 0.267571 | 0.185051 | 0 | 0 | 0.057119 | 0 | 0 | 0 | null | null | 0.006071 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
310b2491566e14521a18a4c4ecc995447148e871 | 22 | py | Python | Audio/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | Audio/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | Audio/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | from ._audio import *
| 11 | 21 | 0.727273 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3115c82c1d9282c8328e484930f5cd3e68046323 | 238 | py | Python | 2-resources/BLOG/ciriculumn/week-18/W18D2_lectures/07-forms/app/forms/login.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | null | null | null | 2-resources/BLOG/ciriculumn/week-18/W18D2_lectures/07-forms/app/forms/login.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | null | null | null | 2-resources/BLOG/ciriculumn/week-18/W18D2_lectures/07-forms/app/forms/login.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | 1 | 2021-11-05T07:48:26.000Z | 2021-11-05T07:48:26.000Z | from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
class LoginForm(FlaskForm):
username = StringField("Username")
password = PasswordField("Password")
submit = SubmitField("Sign In")
| 26.444444 | 59 | 0.764706 | 24 | 238 | 7.541667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151261 | 238 | 8 | 60 | 29.75 | 0.89604 | 0 | 0 | 0 | 0 | 0 | 0.096639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
311f4eebaf5e5687dfce906e4e12e03d2be2e017 | 8,100 | py | Python | code/model/MT_model_reg.py | justinyeh1995/MTL_Research | ebc4e40869570ddcd2335a9b7f96c9b7d05e552a | [
"MIT"
] | null | null | null | code/model/MT_model_reg.py | justinyeh1995/MTL_Research | ebc4e40869570ddcd2335a9b7f96c9b7d05e552a | [
"MIT"
] | null | null | null | code/model/MT_model_reg.py | justinyeh1995/MTL_Research | ebc4e40869570ddcd2335a9b7f96c9b7d05e552a | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from transformer import MultiHeadAtt as attention
## Huggin face - Tranformers ##
from transformers import BertModel, BertConfig
import args
arg = args.process_command()
lang = arg.lang
gpu = arg.gpu
if lang == 'en':
weight = 'bert-base-cased'
else:
... | 24.620061 | 79 | 0.659753 | 1,300 | 8,100 | 3.963077 | 0.105385 | 0.033967 | 0.01941 | 0.027174 | 0.788432 | 0.752329 | 0.717585 | 0.717585 | 0.705745 | 0.678766 | 0 | 0.056541 | 0.185556 | 8,100 | 328 | 80 | 24.695122 | 0.72442 | 0.055679 | 0 | 0.649123 | 0 | 0 | 0.021494 | 0.00616 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087719 | false | 0 | 0.026316 | 0.02193 | 0.245614 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
3125fb8962617ee67c0b8f9f226c4c72b708e149 | 216 | py | Python | src/tests/MyApp/test_2.py | Py-Himanshu-Patel/Learn-PyTest | c7fea656c0473345a3d77c98bd41ec1db913ece0 | [
"MIT"
] | null | null | null | src/tests/MyApp/test_2.py | Py-Himanshu-Patel/Learn-PyTest | c7fea656c0473345a3d77c98bd41ec1db913ece0 | [
"MIT"
] | null | null | null | src/tests/MyApp/test_2.py | Py-Himanshu-Patel/Learn-PyTest | c7fea656c0473345a3d77c98bd41ec1db913ece0 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.skip
def test_example2():
print("Inside string test")
assert 'Hi' == 'Hi'
@pytest.mark.xfail
def test_example1():
assert 1 == 1
@pytest.mark.xfail
def test_example3():
assert 1 == 2
| 14.4 | 28 | 0.699074 | 33 | 216 | 4.484848 | 0.515152 | 0.202703 | 0.202703 | 0.243243 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038251 | 0.152778 | 216 | 14 | 29 | 15.428571 | 0.770492 | 0 | 0 | 0.181818 | 0 | 0 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | true | 0 | 0.090909 | 0 | 0.363636 | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
315cb2a3aa9c371e81ad402d8ed8c9fb8df5fb92 | 280 | py | Python | projectB/projectBapp/models.py | cs-fullstack-2019-fall/django-models3-cw-b-chrisawill | acffb9e1ce08c0dc1384c00458dcaa9ff674c305 | [
"Apache-2.0"
] | null | null | null | projectB/projectBapp/models.py | cs-fullstack-2019-fall/django-models3-cw-b-chrisawill | acffb9e1ce08c0dc1384c00458dcaa9ff674c305 | [
"Apache-2.0"
] | null | null | null | projectB/projectBapp/models.py | cs-fullstack-2019-fall/django-models3-cw-b-chrisawill | acffb9e1ce08c0dc1384c00458dcaa9ff674c305 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.utils import timezone
class Books(models.Model):
Name = models.CharField(max_length=100)
Page_Number = models.CharField(max_length=200)
Genre = models.CharField(max_length=50)
pub_date = models.Field(default=timezone.now)
| 31.111111 | 50 | 0.764286 | 40 | 280 | 5.225 | 0.625 | 0.215311 | 0.258373 | 0.344498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033195 | 0.139286 | 280 | 8 | 51 | 35 | 0.834025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
31601a1f67f36f22c811926a271f5ea85e76edde | 189 | py | Python | pylib/circuitpy_sim/socketpool.py | kstillson/ktools | 99690e5a40a0b94545e766efddfd2e39ff8cc78e | [
"MIT"
] | null | null | null | pylib/circuitpy_sim/socketpool.py | kstillson/ktools | 99690e5a40a0b94545e766efddfd2e39ff8cc78e | [
"MIT"
] | null | null | null | pylib/circuitpy_sim/socketpool.py | kstillson/ktools | 99690e5a40a0b94545e766efddfd2e39ff8cc78e | [
"MIT"
] | null | null | null |
import socket
class SocketPool:
def __init__(self, __unused_radio):
pass
@staticmethod
def socket():
return socket.socket(socket.AF_INET, socket.SOCK_STREAM)
| 17.181818 | 64 | 0.68254 | 22 | 189 | 5.454545 | 0.727273 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 189 | 10 | 65 | 18.9 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
31a892d5f2a42d38281556c7057f0deac806f5ed | 87 | py | Python | Chapter 02/ch2_46.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_46.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_46.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | import random
print(random.randrange(20,50,3))
# using print() to print the result | 21.75 | 36 | 0.724138 | 14 | 87 | 4.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.16092 | 87 | 4 | 36 | 21.75 | 0.794521 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
31b3e2cb3c01c04a6f6ce5888e39ba2c5fe087d7 | 129 | py | Python | baselines/VLG-Net/lib/modeling/__init__.py | Soldelli/MAD | 3c4e85cc792236fec2c94e5095f3bc793bf07529 | [
"MIT"
] | 51 | 2021-12-06T10:30:47.000Z | 2022-03-31T13:09:34.000Z | lib/modeling/__init__.py | Soldelli/VLG-Net | c14940a3f9c5ea7b642ff0608175e2484ae11c72 | [
"MIT"
] | 3 | 2021-11-30T01:54:20.000Z | 2022-01-23T07:57:19.000Z | baselines/VLG-Net/lib/modeling/__init__.py | Soldelli/MAD | 3c4e85cc792236fec2c94e5095f3bc793bf07529 | [
"MIT"
] | 1 | 2022-03-14T08:37:17.000Z | 2022-03-14T08:37:17.000Z | from .model import VLG
ARCHITECTURES = {"VLG": VLG}
def build_model(cfg):
return ARCHITECTURES[cfg.MODEL.ARCHITECTURE](cfg)
| 21.5 | 53 | 0.744186 | 17 | 129 | 5.588235 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 5 | 54 | 25.8 | 0.848214 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
31ccd530d6d0035264d7b194cc4feb90c198455e | 17,211 | py | Python | src/parsing/parsetab.py | RodroVMS/cool-compiler-2022 | 718f962a647dc62be8562c946cf76fad419c08c5 | [
"MIT"
] | null | null | null | src/parsing/parsetab.py | RodroVMS/cool-compiler-2022 | 718f962a647dc62be8562c946cf76fad419c08c5 | [
"MIT"
] | null | null | null | src/parsing/parsetab.py | RodroVMS/cool-compiler-2022 | 718f962a647dc62be8562c946cf76fad419c08c5 | [
"MIT"
] | null | null | null |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = "rightASSIGNrightNOTnonassocLESSEQ<=left+-left*/rightISVOIDleft~left@left.ASSIGN CASE CLASS COMMENT ELSE ESAC FALSE FI ID IF IN INHERITS INT ISVOID LESSEQ LET LOOP NEW N... | 202.482353 | 8,550 | 0.649585 | 3,596 | 17,211 | 3.018354 | 0.07703 | 0.059701 | 0.069652 | 0.019163 | 0.612769 | 0.513543 | 0.417634 | 0.369265 | 0.369265 | 0.369265 | 0 | 0.342822 | 0.056998 | 17,211 | 84 | 8,551 | 204.892857 | 0.32594 | 0.004881 | 0 | 0.027027 | 1 | 0.013514 | 0.369233 | 0.017638 | 0.013514 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
73027eb94bff185e49afbb88fdeb3e3913cb91fe | 299 | py | Python | scrapy_app/scrapy_app/runspiders.py | shiromdk/scrapyd-heroku | 4eb59cbdef8f032d32a79f9eab92351b4a167c71 | [
"MIT"
] | null | null | null | scrapy_app/scrapy_app/runspiders.py | shiromdk/scrapyd-heroku | 4eb59cbdef8f032d32a79f9eab92351b4a167c71 | [
"MIT"
] | null | null | null | scrapy_app/scrapy_app/runspiders.py | shiromdk/scrapyd-heroku | 4eb59cbdef8f032d32a79f9eab92351b4a167c71 | [
"MIT"
] | null | null | null | # import scrapy
# from scrapy.crawler import CrawlerProcess
# from scrapy.utils.project import get_project_settings
#
# def
# crawler_settings = get_project_settings()
# crawler = CrawlerProcess(get_project_settings())
# crawler.crawl(LoversSpider)
# crawler.start()
| 29.9 | 58 | 0.712375 | 31 | 299 | 6.645161 | 0.419355 | 0.145631 | 0.262136 | 0.242718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200669 | 299 | 9 | 59 | 33.222222 | 0.861925 | 0.936455 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 5 |
7315dd8692474447d3948c9fee54abb029869d30 | 55 | py | Python | subdir1/example_file4.py | kdeckerpyplus/PyPlus_Class1 | f6d058db7dd612c22f619a24e76c46dd618ea478 | [
"Apache-2.0"
] | null | null | null | subdir1/example_file4.py | kdeckerpyplus/PyPlus_Class1 | f6d058db7dd612c22f619a24e76c46dd618ea478 | [
"Apache-2.0"
] | null | null | null | subdir1/example_file4.py | kdeckerpyplus/PyPlus_Class1 | f6d058db7dd612c22f619a24e76c46dd618ea478 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
print("This is example file 4")
| 13.75 | 31 | 0.690909 | 10 | 55 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.145455 | 55 | 3 | 32 | 18.333333 | 0.787234 | 0.363636 | 0 | 0 | 0 | 0 | 0.647059 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b441955caa337479035fca30a857a1a50ed5f67d | 46 | py | Python | app.py | matbog/epwWindroseDash | 48c0ce14a11f39e30fe3089e792f0c0befa9c8bb | [
"MIT"
] | null | null | null | app.py | matbog/epwWindroseDash | 48c0ce14a11f39e30fe3089e792f0c0befa9c8bb | [
"MIT"
] | null | null | null | app.py | matbog/epwWindroseDash | 48c0ce14a11f39e30fe3089e792f0c0befa9c8bb | [
"MIT"
] | null | null | null | #initial file
#test fonctionnement github ok
| 11.5 | 30 | 0.804348 | 6 | 46 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 3 | 31 | 15.333333 | 0.948718 | 0.891304 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b471f609065e1142f107b12935f7a960108cf5cc | 77 | py | Python | helm/dagster/schema/schema/charts/dagster/subschema/migrate.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | helm/dagster/schema/schema/charts/dagster/subschema/migrate.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | helm/dagster/schema/schema/charts/dagster/subschema/migrate.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | from pydantic import BaseModel
class Migrate(BaseModel):
enabled: bool
| 12.833333 | 30 | 0.766234 | 9 | 77 | 6.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 5 | 31 | 15.4 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c317ad419d87bdba4e916bc0907765fc8989af30 | 51 | py | Python | opendatatools/nhindex/__init__.py | solider245/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 1,179 | 2018-05-28T07:14:41.000Z | 2022-03-27T16:03:51.000Z | opendatatools/nhindex/__init__.py | taoyeah/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 42 | 2018-07-05T02:44:56.000Z | 2022-03-29T12:12:30.000Z | opendatatools/nhindex/__init__.py | taoyeah/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 297 | 2018-05-28T07:39:38.000Z | 2022-03-28T02:35:59.000Z | # encoding: utf-8
from .nhindex_interface import * | 17 | 32 | 0.764706 | 7 | 51 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.137255 | 51 | 3 | 32 | 17 | 0.840909 | 0.294118 | 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 | 1 | 0 | 0 | 5 |
c33cac999800b5fc68065181400007fba7fc8f4a | 247 | py | Python | tests/utils/get_file_extension.py | opendatadiscovery/odd-collector-aws | b654f8c8441b9a3d5427b119d9d6549e611c301a | [
"Apache-2.0"
] | 1 | 2022-03-10T11:17:07.000Z | 2022-03-10T11:17:07.000Z | tests/utils/get_file_extension.py | opendatadiscovery/odd-collector-aws | b654f8c8441b9a3d5427b119d9d6549e611c301a | [
"Apache-2.0"
] | null | null | null | tests/utils/get_file_extension.py | opendatadiscovery/odd-collector-aws | b654f8c8441b9a3d5427b119d9d6549e611c301a | [
"Apache-2.0"
] | null | null | null | import odd_collector_aws.utils
def test_get_file_extension():
assert odd_collector_aws.utils.get_file_extension("file.csv") == ".csv"
assert (
odd_collector_aws.utils.get_file_extension("/path/to/file.csv.gz") == ".csv.gz"
)
| 27.444444 | 87 | 0.712551 | 36 | 247 | 4.527778 | 0.416667 | 0.220859 | 0.276074 | 0.368098 | 0.515337 | 0.515337 | 0.515337 | 0.515337 | 0 | 0 | 0 | 0 | 0.145749 | 247 | 8 | 88 | 30.875 | 0.772512 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c35dab5963b5b24099eb512fcf6b743aceaa1b33 | 502 | py | Python | run.py | yehonadav/aws_domain_transfer_between_accounts | f80dae05397e21b08bf8687e93636f7e19071180 | [
"MIT"
] | null | null | null | run.py | yehonadav/aws_domain_transfer_between_accounts | f80dae05397e21b08bf8687e93636f7e19071180 | [
"MIT"
] | null | null | null | run.py | yehonadav/aws_domain_transfer_between_accounts | f80dae05397e21b08bf8687e93636f7e19071180 | [
"MIT"
] | null | null | null | from aws_domain_transfer_between_accounts import transfer_domain_between_2_aws_accounts
from secret import (
domain,
from_aws_access_key_id,
from_aws_secret_access_key,
to_aws_access_key_id,
to_aws_secret_access_key,
to_account,
)
if __name__ == "__main__":
transfer_domain_between_2_aws_ac... | 23.904762 | 87 | 0.741036 | 71 | 502 | 4.450704 | 0.239437 | 0.227848 | 0.151899 | 0.177215 | 0.708861 | 0.702532 | 0.702532 | 0.481013 | 0.481013 | 0.481013 | 0 | 0.005089 | 0.217131 | 502 | 20 | 88 | 25.1 | 0.798982 | 0 | 0 | 0.666667 | 0 | 0 | 0.015936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c3661ac68daddbfd806a7a6e1289866c72611b70 | 66 | py | Python | PyFrac/__init__.py | BatsiBoy/PyFrac | a898f6111295fa9196c382613639fc84e73d6035 | [
"MIT"
] | null | null | null | PyFrac/__init__.py | BatsiBoy/PyFrac | a898f6111295fa9196c382613639fc84e73d6035 | [
"MIT"
] | null | null | null | PyFrac/__init__.py | BatsiBoy/PyFrac | a898f6111295fa9196c382613639fc84e73d6035 | [
"MIT"
] | null | null | null | from . import engine
from . import coeffs
from . import variations | 22 | 24 | 0.787879 | 9 | 66 | 5.777778 | 0.555556 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 3 | 24 | 22 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c37bb919d3dd19e88408db8f1eafa014a58500eb | 92 | py | Python | test_module.py | pankajr141/workflows | 1f4d2cb206017f5d04059367af48dd1b78886d87 | [
"Apache-2.0"
] | null | null | null | test_module.py | pankajr141/workflows | 1f4d2cb206017f5d04059367af48dd1b78886d87 | [
"Apache-2.0"
] | null | null | null | test_module.py | pankajr141/workflows | 1f4d2cb206017f5d04059367af48dd1b78886d87 | [
"Apache-2.0"
] | null | null | null | # content of test_module.py
import os
def testcase1():
pass
def testcase2():
pass
| 10.222222 | 27 | 0.673913 | 13 | 92 | 4.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.23913 | 92 | 8 | 28 | 11.5 | 0.842857 | 0.271739 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5ee6774297af877d9ec468c210b7f9ab16970866 | 141 | py | Python | bmemcached/__init__.py | alexmv/python-binary-memcached | 41ed6136a029eda65271055c88f1bbbb4e4f1aba | [
"MIT"
] | 103 | 2015-01-30T15:38:37.000Z | 2022-02-17T02:03:59.000Z | bmemcached/__init__.py | alexmv/python-binary-memcached | 41ed6136a029eda65271055c88f1bbbb4e4f1aba | [
"MIT"
] | 135 | 2015-01-26T11:16:27.000Z | 2021-12-28T14:58:07.000Z | bmemcached/__init__.py | alexmv/python-binary-memcached | 41ed6136a029eda65271055c88f1bbbb4e4f1aba | [
"MIT"
] | 45 | 2015-02-04T16:32:29.000Z | 2021-12-27T22:29:18.000Z | __all__ = ('Client', 'ReplicatingClient', 'DistributedClient', )
from bmemcached.client import Client, ReplicatingClient, DistributedClient
| 35.25 | 74 | 0.801418 | 11 | 141 | 9.909091 | 0.636364 | 0.422018 | 0.733945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092199 | 141 | 3 | 75 | 47 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0.283688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6f32546aaf0aae529e767f42e255515aadeaa337 | 49 | py | Python | tests/settings.py | yezz123/pyngo | d11646455b19e35f72fc4b2f558f43afcd026685 | [
"MIT"
] | 12 | 2021-12-14T12:41:52.000Z | 2021-12-23T19:44:52.000Z | tests/settings.py | yezz123/pyngo | d11646455b19e35f72fc4b2f558f43afcd026685 | [
"MIT"
] | 13 | 2022-01-03T11:26:57.000Z | 2022-03-28T12:56:00.000Z | tests/settings.py | yezz123/pyngo | d11646455b19e35f72fc4b2f558f43afcd026685 | [
"MIT"
] | 1 | 2022-02-26T12:08:25.000Z | 2022-02-26T12:08:25.000Z | # Empty settings file just so we can pass Django
| 24.5 | 48 | 0.77551 | 9 | 49 | 4.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 49 | 1 | 49 | 49 | 0.974359 | 0.938776 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f46549d1946462d6f7717342e983e87967aa87b | 265 | py | Python | bitsv/network/services/__init__.py | carpemer/bitsv | 487e21d94956ebd4af4559b0e4e6a459da967183 | [
"MIT"
] | 1 | 2019-08-31T14:14:23.000Z | 2019-08-31T14:14:23.000Z | bitsv/network/services/__init__.py | xloem/bitsv | fa9b40c77a126023d71999045e5636461f18fe22 | [
"MIT"
] | null | null | null | bitsv/network/services/__init__.py | xloem/bitsv | fa9b40c77a126023d71999045e5636461f18fe22 | [
"MIT"
] | null | null | null | from .bitindex import BitIndex
from .bitindex3 import (
BitIndex3, BitIndex3MainNet, BitIndex3TestNet, BitIndex3STN)
from .insight import InsightAPI
from .network import NetworkAPI, set_service_timeout, DEFAULT_TIMEOUT
from .whatsonchain import WhatsonchainAPI
| 37.857143 | 69 | 0.841509 | 28 | 265 | 7.857143 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.113208 | 265 | 6 | 70 | 44.166667 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f66432befe9eaa2fc4c152a0929f6b97601df34 | 246 | py | Python | app/error/handlers.py | GaryMcPolin/flask-login | 36830a6c9213b0479f322c861125230829531fcc | [
"MIT"
] | null | null | null | app/error/handlers.py | GaryMcPolin/flask-login | 36830a6c9213b0479f322c861125230829531fcc | [
"MIT"
] | null | null | null | app/error/handlers.py | GaryMcPolin/flask-login | 36830a6c9213b0479f322c861125230829531fcc | [
"MIT"
] | null | null | null | from app.error import bp
from flask import render_template
@bp.errorhandler(404)
def page_not_found(e):
return render_template('404.html'), 404
@bp.errorhandler(500)
def internal_server_error(error):
return render_template('500.html'), 500
| 18.923077 | 40 | 0.784553 | 38 | 246 | 4.894737 | 0.526316 | 0.225806 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 0.105691 | 246 | 12 | 41 | 20.5 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 5 |
6f798c2612b10f988ab15381394d4bc12d2c468b | 19 | py | Python | src/omfgp/scp02.py | stepansnigirev/omfgp | 1554714085018ff3706308f01d7ae549df0c92ee | [
"MIT"
] | null | null | null | src/omfgp/scp02.py | stepansnigirev/omfgp | 1554714085018ff3706308f01d7ae549df0c92ee | [
"MIT"
] | null | null | null | src/omfgp/scp02.py | stepansnigirev/omfgp | 1554714085018ff3706308f01d7ae549df0c92ee | [
"MIT"
] | 1 | 2020-12-03T09:18:15.000Z | 2020-12-03T09:18:15.000Z | class SCP02:
pass
| 6.333333 | 12 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.210526 | 19 | 2 | 13 | 9.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
489c77a6dbab9ab9b13aec401722e56e4042788d | 317 | py | Python | assistant/corpus/corpus.py | Serafim-End/bearAI | 32d9896ddcac8a7509f2e32a75923e17f29a9af8 | [
"Unlicense"
] | 1 | 2017-06-05T10:37:43.000Z | 2017-06-05T10:37:43.000Z | assistant/corpus/corpus.py | Serafim-End/bearAI | 32d9896ddcac8a7509f2e32a75923e17f29a9af8 | [
"Unlicense"
] | null | null | null | assistant/corpus/corpus.py | Serafim-End/bearAI | 32d9896ddcac8a7509f2e32a75923e17f29a9af8 | [
"Unlicense"
] | null | null | null | # coding: utf-8
class CorpusInterface(object):
def load_corpus(self, corpus):
pass
def read_corpus(self, filename):
pass
class Corpus(object):
def load_corpus(self, corpus):
raise NotImplementedError()
def read_corpus(self, filename):
raise NotImplementedError()
| 17.611111 | 36 | 0.659306 | 35 | 317 | 5.857143 | 0.428571 | 0.195122 | 0.126829 | 0.185366 | 0.526829 | 0.282927 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.249211 | 317 | 17 | 37 | 18.647059 | 0.857143 | 0.041009 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
48c903506e64079a284fb4e0390107e72d885036 | 438 | py | Python | tests/test_socfaker_timestamp.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 122 | 2020-02-21T16:06:54.000Z | 2022-03-21T13:53:03.000Z | tests/test_socfaker_timestamp.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 13 | 2020-01-29T16:37:05.000Z | 2022-01-27T21:30:10.000Z | tests/test_socfaker_timestamp.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 20 | 2020-04-10T11:59:29.000Z | 2022-02-10T09:20:26.000Z | def test_socfaker_timestamp_in_the_past(socfaker_fixture):
assert socfaker_fixture.timestamp.in_the_past()
def test_socfaker_timestamp_in_the_future(socfaker_fixture):
assert socfaker_fixture.timestamp.in_the_future()
def test_socfaker_timestamp_current(socfaker_fixture):
assert socfaker_fixture.timestamp... | 39.818182 | 60 | 0.86758 | 58 | 438 | 6.034483 | 0.224138 | 0.342857 | 0.171429 | 0.274286 | 0.708571 | 0.708571 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0.077626 | 438 | 11 | 61 | 39.818182 | 0.866337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b151948253bd04248a38aa116cd073cd12618f3 | 243 | py | Python | createsend/__init__.py | Smarsh/createsend-python | a1bf076d9f664df126aefe421f119c845c9b8cec | [
"MIT"
] | null | null | null | createsend/__init__.py | Smarsh/createsend-python | a1bf076d9f664df126aefe421f119c845c9b8cec | [
"MIT"
] | null | null | null | createsend/__init__.py | Smarsh/createsend-python | a1bf076d9f664df126aefe421f119c845c9b8cec | [
"MIT"
] | null | null | null | from createsend import __version__
from createsend import *
from client import Client
from template import Template
from list import List
from segment import Segment
from subscriber import Subscriber
from campaign import Campaign
import utils
| 24.3 | 34 | 0.855967 | 33 | 243 | 6.181818 | 0.333333 | 0.137255 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139918 | 243 | 9 | 35 | 27 | 0.976077 | 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 | 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 | 1 | 0 | 0 | 5 |
d2c8d5274b3be6c0ebf1e52398619d985d1b062c | 122 | py | Python | utilities/factory.py | aleksanderujek/tsp | 1b6b6930795c68b2faaf1f5329cb68175a6e2c24 | [
"MIT"
] | null | null | null | utilities/factory.py | aleksanderujek/tsp | 1b6b6930795c68b2faaf1f5329cb68175a6e2c24 | [
"MIT"
] | null | null | null | utilities/factory.py | aleksanderujek/tsp | 1b6b6930795c68b2faaf1f5329cb68175a6e2c24 | [
"MIT"
] | null | null | null | def factory(classToInstantiate):
def f(*arg):
def g():
return classToInstantiate(*arg)
return g
return f | 20.333333 | 37 | 0.655738 | 15 | 122 | 5.333333 | 0.466667 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237705 | 122 | 6 | 38 | 20.333333 | 0.860215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 5 |
d2d6fe863ea00d194e1e80c3c44ac35349067638 | 4,984 | py | Python | tests/example_tx_requests.py | geometry-labs/icon-sdk-python | e530df02eb16b394c3022d2d7d0383bd972e129a | [
"Apache-2.0"
] | 51 | 2018-08-29T04:15:36.000Z | 2022-03-14T10:02:08.000Z | tests/example_tx_requests.py | geometry-labs/icon-sdk-python | e530df02eb16b394c3022d2d7d0383bd972e129a | [
"Apache-2.0"
] | 24 | 2018-09-03T03:16:19.000Z | 2022-01-17T08:28:04.000Z | tests/example_tx_requests.py | geometry-labs/icon-sdk-python | e530df02eb16b394c3022d2d7d0383bd972e129a | [
"Apache-2.0"
] | 44 | 2018-09-06T22:36:16.000Z | 2022-03-15T06:46:05.000Z | # -*- coding: utf-8 -*-
# Copyright 2018 ICON Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 40.193548 | 912 | 0.678571 | 286 | 4,984 | 11.751748 | 0.41958 | 0.004165 | 0.013389 | 0.022315 | 0.479917 | 0.479917 | 0.479917 | 0.479917 | 0.479917 | 0.479917 | 0 | 0.369477 | 0.209872 | 4,984 | 123 | 913 | 40.520325 | 0.484002 | 0.114366 | 0 | 0.653846 | 0 | 0 | 0.636281 | 0.440555 | 0 | 0 | 0.277336 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d2d90d4d947f617f3e0a7d4ca99f29f920011544 | 247 | py | Python | reprlearn/layers/conv_layer.py | cocoaaa/ReprLearn | 58dc682aa62dbd59201ccc55b9b26480ff3d6773 | [
"MIT"
] | null | null | null | reprlearn/layers/conv_layer.py | cocoaaa/ReprLearn | 58dc682aa62dbd59201ccc55b9b26480ff3d6773 | [
"MIT"
] | null | null | null | reprlearn/layers/conv_layer.py | cocoaaa/ReprLearn | 58dc682aa62dbd59201ccc55b9b26480ff3d6773 | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
@author: sherlock
@contact: sherlockliao01@gmail.com
"""
from torch import nn
def conv3x3(in_planes, out_planes, stride=1):
return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride, padding=1, bias=False)
| 20.583333 | 96 | 0.736842 | 37 | 247 | 4.783784 | 0.756757 | 0.090395 | 0.124294 | 0.19209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04186 | 0.129555 | 247 | 11 | 97 | 22.454545 | 0.781395 | 0.283401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
d2e3f5d9a0e72315749905ee526bffcb4b979f26 | 88 | py | Python | watchdogs/web/views/__init__.py | watchdogoblivion/watchdogs-offsec | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | null | null | null | watchdogs/web/views/__init__.py | watchdogoblivion/watchdogs-offsec | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | 10 | 2021-08-19T17:48:20.000Z | 2021-09-15T03:40:40.000Z | watchdogs/web/views/__init__.py | watchdogoblivion/offsec-python | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | null | null | null | from .BlindSQLRRView import BlindSQLRRView
from .ErrorSQLIRRView import ErrorSQLIRRView
| 29.333333 | 44 | 0.886364 | 8 | 88 | 9.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 45 | 44 | 0.975 | 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 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.