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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
87f14b098265544dbf022e3f54455436deb0ad4b | 24 | py | Python | structures/tree/__init__.py | spencerpomme/pyalgolib | d055287caa4a779ea833c7efc305cd4f966bd841 | [
"MIT"
] | null | null | null | structures/tree/__init__.py | spencerpomme/pyalgolib | d055287caa4a779ea833c7efc305cd4f966bd841 | [
"MIT"
] | null | null | null | structures/tree/__init__.py | spencerpomme/pyalgolib | d055287caa4a779ea833c7efc305cd4f966bd841 | [
"MIT"
] | null | null | null | # data structure module
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0.875 | 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 |
e20433bc889dc0f32de713dc2c45f59d8175f0f2 | 481 | py | Python | cachetclient/v1/__init__.py | amdemas/cachet-client | 6a34ada87f99f8a3af593eefadc37a83f59827dd | [
"MIT"
] | null | null | null | cachetclient/v1/__init__.py | amdemas/cachet-client | 6a34ada87f99f8a3af593eefadc37a83f59827dd | [
"MIT"
] | null | null | null | cachetclient/v1/__init__.py | amdemas/cachet-client | 6a34ada87f99f8a3af593eefadc37a83f59827dd | [
"MIT"
] | null | null | null | from cachetclient.v1.client import Client # noqa
from cachetclient.v1.subscribers import Subscriber # noqa
from cachetclient.v1.components import Component # noqa
from cachetclient.v1.component_groups import ComponentGroup # noqa
from cachetclient.v1.incident_updates import IndicentUpdate # noqa
from cachetclient... | 40.083333 | 67 | 0.814969 | 62 | 481 | 6.209677 | 0.370968 | 0.332468 | 0.374026 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02619 | 0.126819 | 481 | 11 | 68 | 43.727273 | 0.890476 | 0.081081 | 0 | 0 | 0 | 0 | 0.011547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e20447ecbe22286bf4163b908e5eba34ac71394f | 141 | py | Python | documentation/admin.py | establishment/django-establishment | ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6 | [
"CC0-1.0"
] | 1 | 2017-04-27T19:35:42.000Z | 2017-04-27T19:35:42.000Z | documentation/admin.py | establishment/django-establishment | ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6 | [
"CC0-1.0"
] | null | null | null | documentation/admin.py | establishment/django-establishment | ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6 | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
from establishment.documentation.models import DocumentationEntry
admin.site.register(DocumentationEntry)
| 23.5 | 65 | 0.87234 | 15 | 141 | 8.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 141 | 5 | 66 | 28.2 | 0.946154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e204c971bbb2c9c7ca0b1436805590f663181057 | 96 | py | Python | libs/parsers/__init__.py | pullself/Compilers | 590226d02e5291857cb3875bd1ed6315c37fc74e | [
"MIT"
] | null | null | null | libs/parsers/__init__.py | pullself/Compilers | 590226d02e5291857cb3875bd1ed6315c37fc74e | [
"MIT"
] | null | null | null | libs/parsers/__init__.py | pullself/Compilers | 590226d02e5291857cb3875bd1ed6315c37fc74e | [
"MIT"
] | null | null | null | import libs.parsers.parser
import libs.parsers.constructor
__all__ = ['parser', 'constructor']
| 19.2 | 35 | 0.78125 | 11 | 96 | 6.454545 | 0.545455 | 0.28169 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 4 | 36 | 24 | 0.816092 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
354d0a0e8ce535bc378cbced25f44f2527b5fa3a | 373 | py | Python | bindings/python/capstone/__init__.py | zouguangxian/capstone | a1818520dfb37596cc5a3f19f3e04412c4c66dca | [
"BSD-3-Clause"
] | 1 | 2021-07-06T23:36:41.000Z | 2021-07-06T23:36:41.000Z | bindings/python/capstone/__init__.py | zouguangxian/capstone | a1818520dfb37596cc5a3f19f3e04412c4c66dca | [
"BSD-3-Clause"
] | null | null | null | bindings/python/capstone/__init__.py | zouguangxian/capstone | a1818520dfb37596cc5a3f19f3e04412c4c66dca | [
"BSD-3-Clause"
] | null | null | null | from capstone import Cs, CsError, cs_disasm_quick, cs_version, CS_API_MAJOR, CS_API_MINOR, CS_ARCH_ARM, CS_ARCH_ARM64, CS_ARCH_MIPS, CS_ARCH_X86, CS_MODE_LITTLE_ENDIAN, CS_MODE_ARM, CS_MODE_THUMB, CS_OPT_SYNTAX, CS_OPT_SYNTAX_INTEL, CS_OPT_SYNTAX_ATT, CS_OPT_DETAIL, CS_OPT_ON, CS_OPT_OFF, CS_MODE_16, CS_MODE_32, CS_MOD... | 186.5 | 372 | 0.86059 | 77 | 373 | 3.532468 | 0.428571 | 0.198529 | 0.121324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.075067 | 373 | 1 | 373 | 373 | 0.753623 | 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 |
359377901334427aec4295ca0684ad7dffa3d7ff | 182 | py | Python | server/app/api/weather/resources.py | WagnerJM/home_pod | f6a51e4956d5956a85084f637e267406f21df6df | [
"MIT"
] | null | null | null | server/app/api/weather/resources.py | WagnerJM/home_pod | f6a51e4956d5956a85084f637e267406f21df6df | [
"MIT"
] | null | null | null | server/app/api/weather/resources.py | WagnerJM/home_pod | f6a51e4956d5956a85084f637e267406f21df6df | [
"MIT"
] | null | null | null | from flask import request
from flask_restful import Resource
from flask_jwt_extended import get_jwt_claims, get_jwt_identity, jwt_required
from app.cache import redis_client
| 26 | 78 | 0.840659 | 28 | 182 | 5.142857 | 0.571429 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 182 | 6 | 79 | 30.333333 | 0.923077 | 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 |
ea20af329182c07294d2c1bbed18aee79997d85a | 32 | py | Python | uresnet/iotools/__init__.py | NuTufts/uresnet_pytorch | 3a05f2349ae1e9601d05a80384920d8a22b4bc34 | [
"MIT"
] | null | null | null | uresnet/iotools/__init__.py | NuTufts/uresnet_pytorch | 3a05f2349ae1e9601d05a80384920d8a22b4bc34 | [
"MIT"
] | null | null | null | uresnet/iotools/__init__.py | NuTufts/uresnet_pytorch | 3a05f2349ae1e9601d05a80384920d8a22b4bc34 | [
"MIT"
] | null | null | null | from .iotools import io_factory
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
ea436f37e311aec310471106ec69e43fc23e41c4 | 1,152 | py | Python | cannlytics/lims/qc.py | mindthegrow/cannlytics | c266bc1169bef75214985901cd3165f415ad9ba7 | [
"MIT"
] | 7 | 2021-05-31T15:30:22.000Z | 2022-02-05T14:12:31.000Z | cannlytics/lims/qc.py | mindthegrow/cannlytics | c266bc1169bef75214985901cd3165f415ad9ba7 | [
"MIT"
] | 17 | 2021-06-09T01:04:27.000Z | 2022-03-18T14:48:12.000Z | cannlytics/lims/qc.py | mindthegrow/cannlytics | c266bc1169bef75214985901cd3165f415ad9ba7 | [
"MIT"
] | 5 | 2021-06-07T13:52:33.000Z | 2021-08-04T00:09:39.000Z | """
Quality Control Tools | Cannlytics
Author: Keegan Skeate <keegan@cannlytics.com>
Created: 2/6/2021
Updated: 6/23/2021
License: MIT License <https://opensource.org/licenses/MIT>
Perform various quality control checks and analyses to ensure
that your laboratory is operating as desired.
TODO:
- Trend an... | 24.510638 | 69 | 0.737847 | 137 | 1,152 | 6.138686 | 0.576642 | 0.178359 | 0.166468 | 0.166468 | 0.260404 | 0.209275 | 0.209275 | 0.209275 | 0.154578 | 0.154578 | 0 | 0.013757 | 0.179688 | 1,152 | 46 | 70 | 25.043478 | 0.87619 | 0.630208 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ea43b6473a80169e05c17d102859f981a7b958d9 | 76 | py | Python | containershare/validator/__init__.py | vsoch/containershare-python | 9db2a4d7c7fcb0c21edd5d2e2b5396d7108fe392 | [
"BSD-3-Clause"
] | null | null | null | containershare/validator/__init__.py | vsoch/containershare-python | 9db2a4d7c7fcb0c21edd5d2e2b5396d7108fe392 | [
"BSD-3-Clause"
] | 1 | 2018-07-30T22:11:56.000Z | 2018-07-30T22:11:56.000Z | containershare/validator/__init__.py | vsoch/containershare-python | 9db2a4d7c7fcb0c21edd5d2e2b5396d7108fe392 | [
"BSD-3-Clause"
] | null | null | null | from .library import LibraryValidator
from .runtime import RuntimeValidator
| 25.333333 | 37 | 0.868421 | 8 | 76 | 8.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 38 | 38 | 0.970588 | 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 |
ea5034df827000a7c021ce8d10922be02ea67910 | 70 | py | Python | chatrender/celery.py | The-Politico/django-politico-slackchat-renderer | adb3ed2ba5039a97ee7b021d39aa40cab11e5661 | [
"MIT"
] | 2 | 2018-07-02T16:49:35.000Z | 2018-07-09T03:52:28.000Z | chatrender/celery.py | The-Politico/django-politico-slackchat-renderer | adb3ed2ba5039a97ee7b021d39aa40cab11e5661 | [
"MIT"
] | 42 | 2018-02-14T21:28:54.000Z | 2022-02-10T18:30:58.000Z | chatrender/celery.py | The-Politico/django-politico-slackchat-renderer | adb3ed2ba5039a97ee7b021d39aa40cab11e5661 | [
"MIT"
] | null | null | null | # flake8: noqa
from chatrender.tasks.publish import publish_slackchat
| 23.333333 | 54 | 0.842857 | 9 | 70 | 6.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.1 | 70 | 2 | 55 | 35 | 0.904762 | 0.171429 | 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 |
ea61b0a3ba0b11abd7ed94000c53187e3c4b4ffc | 109 | py | Python | viper_dev.py | safinsingh/viper | f7fa9182713c4f0fbb33c2e881f668b807fd3956 | [
"MIT"
] | null | null | null | viper_dev.py | safinsingh/viper | f7fa9182713c4f0fbb33c2e881f668b807fd3956 | [
"MIT"
] | null | null | null | viper_dev.py | safinsingh/viper | f7fa9182713c4f0fbb33c2e881f668b807fd3956 | [
"MIT"
] | null | null | null | from viper import *
import inspect
def GetSource(func):
lines = inspect.getsource(func)
print(lines) | 18.166667 | 35 | 0.724771 | 14 | 109 | 5.642857 | 0.642857 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 109 | 6 | 36 | 18.166667 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0.2 | 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 |
575b35db9c979401cf63c36c72e33a04e3269d4a | 69 | py | Python | win/devkit/other/pymel/extras/completion/py/maya/app/sceneAssembly/__init__.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 21 | 2015-04-27T05:01:36.000Z | 2021-11-22T13:45:14.000Z | python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/app/sceneAssembly/__init__.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | null | null | null | python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/app/sceneAssembly/__init__.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | 9 | 2018-06-02T09:18:49.000Z | 2021-12-20T09:24:35.000Z | from . import adskPrepareRender
import maya.cmds as cmd
import maya
| 13.8 | 31 | 0.811594 | 10 | 69 | 5.6 | 0.7 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 4 | 32 | 17.25 | 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 | 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 |
576cb2eea467a88f13b66f007bd906188c23f5fc | 4,239 | py | Python | lib/systems/chlorophyll_c2.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/chlorophyll_c2.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/chlorophyll_c2.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns chlorophyll_c2 as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
C -2.51105 2.48309 -0.00367
C -1.01315 4.06218 0.09798... | 52.333333 | 70 | 0.362114 | 541 | 4,239 | 2.829945 | 0.475046 | 0.01437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.694298 | 0.553197 | 4,239 | 80 | 71 | 52.9875 | 0.114044 | 0.026185 | 0 | 0 | 0 | 0 | 0.979552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012987 | true | 0 | 0.012987 | 0 | 0.038961 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
17c5134f523338eb38c2be750ed00943cad1dc8d | 34 | py | Python | matfactor/__init__.py | Joshua-Chin/matfactor | 6730ca7ddb7844d9d50f7e5725f5ccdaae31721b | [
"Apache-2.0"
] | 1 | 2018-02-13T02:55:16.000Z | 2018-02-13T02:55:16.000Z | matfactor/__init__.py | Joshua-Chin/matfactor | 6730ca7ddb7844d9d50f7e5725f5ccdaae31721b | [
"Apache-2.0"
] | null | null | null | matfactor/__init__.py | Joshua-Chin/matfactor | 6730ca7ddb7844d9d50f7e5725f5ccdaae31721b | [
"Apache-2.0"
] | null | null | null | from ._factorize import factorize
| 17 | 33 | 0.852941 | 4 | 34 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
17f3d9a2300741cd7506a6c4460578d98121f0a5 | 154 | py | Python | gather/handlers/__init__.py | openghg/gather | 0096cfe66b0093cdd294fa2a67c060d7fc28d2fa | [
"Apache-2.0"
] | null | null | null | gather/handlers/__init__.py | openghg/gather | 0096cfe66b0093cdd294fa2a67c060d7fc28d2fa | [
"Apache-2.0"
] | null | null | null | gather/handlers/__init__.py | openghg/gather | 0096cfe66b0093cdd294fa2a67c060d7fc28d2fa | [
"Apache-2.0"
] | null | null | null | from ._scrape import scrape_handler
from ._binary_data import data_handler
from ._crds import crds_handler
__all__ = ["scrape_handler", "data_handler"]
| 22 | 44 | 0.811688 | 21 | 154 | 5.333333 | 0.380952 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 154 | 6 | 45 | 25.666667 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 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 |
aa25080d95db6003a47cb7e9144e0411c4a11460 | 88 | py | Python | onnxmltools/convert/common/utils.py | xjarvik/onnxmltools | e4fbdc09814ceedc7655d85b6c4203ca21d8433a | [
"Apache-2.0"
] | 1 | 2022-01-28T04:59:37.000Z | 2022-01-28T04:59:37.000Z | onnxmltools/convert/common/utils.py | xjarvik/onnxmltools | e4fbdc09814ceedc7655d85b6c4203ca21d8433a | [
"Apache-2.0"
] | null | null | null | onnxmltools/convert/common/utils.py | xjarvik/onnxmltools | e4fbdc09814ceedc7655d85b6c4203ca21d8433a | [
"Apache-2.0"
] | 1 | 2021-07-05T23:51:56.000Z | 2021-07-05T23:51:56.000Z | # SPDX-License-Identifier: Apache-2.0
from onnxconverter_common.utils import * # noqa
| 22 | 48 | 0.772727 | 12 | 88 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.125 | 88 | 3 | 49 | 29.333333 | 0.844156 | 0.454545 | 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 |
aa35c651bcb63b7652b7a85574cf82938974798d | 206 | py | Python | src/page/page_parser.py | baallezx/collect | 7156f239d133660e03bba334d716025b96d6b230 | [
"MIT"
] | 1 | 2016-02-08T10:53:48.000Z | 2016-02-08T10:53:48.000Z | src/page/page_parser.py | baallezx/collect | 7156f239d133660e03bba334d716025b96d6b230 | [
"MIT"
] | null | null | null | src/page/page_parser.py | baallezx/collect | 7156f239d133660e03bba334d716025b96d6b230 | [
"MIT"
] | null | null | null | # TODO: implement a page_parser that uses nlp and stats to get a good read of a file.
class page_parser(object):
"""
a multi purpose parser that can read these file types
"""
def __init__(self):
pass
| 25.75 | 85 | 0.728155 | 36 | 206 | 4 | 0.75 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199029 | 206 | 7 | 86 | 29.428571 | 0.872727 | 0.669903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
aa35ead0147cdaa5e16792a1159c28c73e8158c5 | 110 | py | Python | crawl_and_scrap/__main__.py | byung-u/GranXiSearch | 80a4a2cd19e39424013b7838aafbbbffd2a3574b | [
"MIT"
] | 1 | 2017-06-21T10:44:27.000Z | 2017-06-21T10:44:27.000Z | crawl_and_scrap/__main__.py | byung-u/GranXiSearch | 80a4a2cd19e39424013b7838aafbbbffd2a3574b | [
"MIT"
] | 5 | 2017-02-05T15:20:32.000Z | 2017-03-11T14:09:49.000Z | crawl_and_scrap/__main__.py | byung-u/FindTheTreasure | 80a4a2cd19e39424013b7838aafbbbffd2a3574b | [
"MIT"
] | null | null | null | """crwal_and_scrap trying to gathering news with web scrawl"""
from crwal_and_scrap.main import main
main()
| 18.333333 | 62 | 0.781818 | 18 | 110 | 4.555556 | 0.722222 | 0.195122 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 63 | 22 | 0.863158 | 0.509091 | 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 |
a4c5246b1bb457ccf2adc163a51a115f0a845803 | 56 | py | Python | utils/test_fm.py | dilum1995/DAugmentor | 6cc86dccf826415a88b8226265e16ae96b5cc05b | [
"MIT"
] | 1 | 2020-08-02T13:06:03.000Z | 2020-08-02T13:06:03.000Z | utils/test_fm.py | dilum1995/DAugmentor | 6cc86dccf826415a88b8226265e16ae96b5cc05b | [
"MIT"
] | null | null | null | utils/test_fm.py | dilum1995/DAugmentor | 6cc86dccf826415a88b8226265e16ae96b5cc05b | [
"MIT"
] | null | null | null | from utils import constants as const
print(const.PATH)
| 14 | 36 | 0.803571 | 9 | 56 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 37 | 18.666667 | 0.9375 | 0 | 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 |
a4e00d2cb49985d38fa9a42e89c6babd42a14602 | 190 | py | Python | ldaptor/apps/webui/i18n.py | tv42/ldaptor | 3f227602c8c021b9e943136a2dc8d7db44a11e50 | [
"MIT"
] | 1 | 2015-11-25T04:01:26.000Z | 2015-11-25T04:01:26.000Z | ldaptor/apps/webui/i18n.py | tv42/ldaptor | 3f227602c8c021b9e943136a2dc8d7db44a11e50 | [
"MIT"
] | null | null | null | ldaptor/apps/webui/i18n.py | tv42/ldaptor | 3f227602c8c021b9e943136a2dc8d7db44a11e50 | [
"MIT"
] | 2 | 2019-11-06T02:14:10.000Z | 2022-01-10T08:34:11.000Z | from nevow.inevow import ILanguages
from nevow.i18n import I18NConfig
from nevow import i18n
_ = i18n.Translator(domain='ldaptor-webui')
def render():
return i18n.render(translator=_)
| 21.111111 | 43 | 0.778947 | 25 | 190 | 5.84 | 0.56 | 0.184932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.131579 | 190 | 8 | 44 | 23.75 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0.068421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
a4e76062bd271f3f1cc37a95b088bfcb694c00bc | 217 | py | Python | hs_modflow_modelinstance/admin.py | ResearchSoftwareInstitute/MyHPOM | 2d48fe5ac8d21173b1685eb33059bb391fe24414 | [
"BSD-3-Clause"
] | 1 | 2018-09-17T13:07:29.000Z | 2018-09-17T13:07:29.000Z | hs_modflow_modelinstance/admin.py | ResearchSoftwareInstitute/MyHPOM | 2d48fe5ac8d21173b1685eb33059bb391fe24414 | [
"BSD-3-Clause"
] | 100 | 2017-08-01T23:48:04.000Z | 2018-04-03T13:17:27.000Z | hs_modflow_modelinstance/admin.py | ResearchSoftwareInstitute/MyHPOM | 2d48fe5ac8d21173b1685eb33059bb391fe24414 | [
"BSD-3-Clause"
] | 2 | 2017-07-27T20:41:33.000Z | 2017-07-27T22:40:57.000Z | from mezzanine.pages.admin import PageAdmin
from django.contrib import admin
from hs_modflow_modelinstance.models import MODFLOWModelInstanceResource
admin.site.register(MODFLOWModelInstanceResource, PageAdmin)
| 36.166667 | 73 | 0.866359 | 23 | 217 | 8.086957 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092166 | 217 | 5 | 74 | 43.4 | 0.944162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
104fe95906a89882b90ee817c831630744acea53 | 355 | py | Python | tests/test_deploy.py | NCAR/marbl-solutions | 0840e2a594d49218b1510cd8cb95d9d058495a8a | [
"MIT"
] | null | null | null | tests/test_deploy.py | NCAR/marbl-solutions | 0840e2a594d49218b1510cd8cb95d9d058495a8a | [
"MIT"
] | 1 | 2022-02-11T22:53:37.000Z | 2022-02-11T22:53:37.000Z | tests/test_deploy.py | NCAR/marbl-solutions | 0840e2a594d49218b1510cd8cb95d9d058495a8a | [
"MIT"
] | null | null | null | import solutions
def test_deploy_config():
deploy_config = solutions.config.deploy_config
assert deploy_config['reference_case'] == 'ref_case'
assert type(deploy_config['reference_case_path']) == list
assert deploy_config['reference_case_file_format'] == 'history'
assert deploy_config['case_to_com... | 35.5 | 71 | 0.766197 | 44 | 355 | 5.75 | 0.431818 | 0.332016 | 0.213439 | 0.296443 | 0.245059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 355 | 9 | 72 | 39.444444 | 0.816129 | 0 | 0 | 0 | 0 | 0 | 0.312676 | 0.149296 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10521ee81224fcf01be655be4e17446c05559c19 | 148 | py | Python | backend/home/models.py | crowdbotics-apps/test-29106 | 34df3fa66e798f61d9189fa248f21cabb9bca0e1 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/home/models.py | crowdbotics-apps/test-29106 | 34df3fa66e798f61d9189fa248f21cabb9bca0e1 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/home/models.py | crowdbotics-apps/test-29106 | 34df3fa66e798f61d9189fa248f21cabb9bca0e1 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.conf import settings
from django.db import models
class Tasks(models.Model):
"Generated Model"
task_name = models.TextField()
| 18.5 | 34 | 0.75 | 20 | 148 | 5.5 | 0.7 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168919 | 148 | 7 | 35 | 21.142857 | 0.894309 | 0.101351 | 0 | 0 | 1 | 0 | 0.101351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
106e4b0ccf7d2a2518a1959d9ed235098c74fcea | 97 | py | Python | getKey.py | cychiang/spotify-lyrics | 78219ea2e9c8eacda7a8cb1cecbb7ecdd39d208e | [
"Apache-2.0"
] | null | null | null | getKey.py | cychiang/spotify-lyrics | 78219ea2e9c8eacda7a8cb1cecbb7ecdd39d208e | [
"Apache-2.0"
] | null | null | null | getKey.py | cychiang/spotify-lyrics | 78219ea2e9c8eacda7a8cb1cecbb7ecdd39d208e | [
"Apache-2.0"
] | null | null | null | def musixmatch():
with open('musixmatch.txt', 'r') as key:
return key.readline()
| 24.25 | 44 | 0.587629 | 12 | 97 | 4.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257732 | 97 | 4 | 45 | 24.25 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1071d5d3c31d440ee16ee62b40826c1d771809f7 | 216 | py | Python | regularize_charsets.py | sys-bio/temp-biomodels | 596eebb590d72e74419773f4e9b829a62d7fff9a | [
"CC0-1.0"
] | null | null | null | regularize_charsets.py | sys-bio/temp-biomodels | 596eebb590d72e74419773f4e9b829a62d7fff9a | [
"CC0-1.0"
] | 5 | 2022-03-30T21:33:45.000Z | 2022-03-31T20:08:15.000Z | regularize_charsets.py | sys-bio/temp-biomodels | 596eebb590d72e74419773f4e9b829a62d7fff9a | [
"CC0-1.0"
] | null | null | null | from charset_normalizer import from_path, normalize
results = from_path('original\BIOMD0000000424\BIOMD0000000424_url.xml')
best = str(results.best())
normalize('original\BIOMD0000000424\BIOMD0000000424_url.xml')
| 27 | 71 | 0.828704 | 25 | 216 | 6.96 | 0.52 | 0.091954 | 0.436782 | 0.471264 | 0.505747 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199005 | 0.069444 | 216 | 7 | 72 | 30.857143 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10b7df52a7109b3cd059e5aa3d9c1aee9eb2218c | 2,171 | py | Python | tests/models/boundary/test_is_boundary_concave_to_y.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-12T17:43:08.000Z | 2022-01-03T02:47:34.000Z | tests/models/boundary/test_is_boundary_concave_to_y.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-19T20:12:31.000Z | 2021-11-19T20:14:39.000Z | tests/models/boundary/test_is_boundary_concave_to_y.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | null | null | null | """Test is_boundary_not_x_monotone method in WeightedPointBoundary."""
# Standard
from typing import List, Any
from random import randint
# Models
from voronoi_diagrams.models import (
WeightedSite,
WeightedPointBisector,
WeightedPointBoundary,
)
# Math
from decimal import Decimal
class TestWeightedPoin... | 41.75 | 77 | 0.706587 | 265 | 2,171 | 5.592453 | 0.218868 | 0.047233 | 0.061404 | 0.066127 | 0.787449 | 0.772605 | 0.772605 | 0.772605 | 0.748988 | 0.748988 | 0 | 0.015499 | 0.197605 | 2,171 | 51 | 78 | 42.568627 | 0.835247 | 0.143713 | 0 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.090909 | false | 0 | 0.121212 | 0 | 0.242424 | 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 |
10bd99ec8ccedb03c569281fb82814ef2e18a1af | 44 | py | Python | europython-2018/code/simple_bind/run.py | svenstaro/talks | 0462268a8c684dde65aceb2fb98644cb655c5013 | [
"MIT"
] | 5 | 2018-07-26T10:45:41.000Z | 2020-08-16T17:45:51.000Z | europython-2018/code/simple_bind/run.py | svenstaro/talks | 0462268a8c684dde65aceb2fb98644cb655c5013 | [
"MIT"
] | null | null | null | europython-2018/code/simple_bind/run.py | svenstaro/talks | 0462268a8c684dde65aceb2fb98644cb655c5013 | [
"MIT"
] | 1 | 2020-10-02T22:09:15.000Z | 2020-10-02T22:09:15.000Z | from europython import hello
hello("Alisa")
| 14.666667 | 28 | 0.795455 | 6 | 44 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 29 | 22 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
52c38d1cc6e6ce5d847e7873d6a974fa56d65e99 | 163 | py | Python | tests/__init__.py | RonenTRA/faster-than-requests | 237a57cf2607e0694c87fea8e313461bf9a462e7 | [
"MIT"
] | 857 | 2018-11-18T17:55:01.000Z | 2022-03-31T23:39:10.000Z | tests/__init__.py | RonenTRA/faster-than-requests | 237a57cf2607e0694c87fea8e313461bf9a462e7 | [
"MIT"
] | 181 | 2018-12-08T18:31:05.000Z | 2022-03-29T01:40:02.000Z | tests/__init__.py | RonenTRA/faster-than-requests | 237a57cf2607e0694c87fea8e313461bf9a462e7 | [
"MIT"
] | 92 | 2018-11-22T03:53:31.000Z | 2022-03-21T10:54:24.000Z | # Allow tests/ directory to see faster_than_requests/ package on PYTHONPATH
import sys
from pathlib import Path
sys.path.append(str(Path(__file__).parent.parent))
| 32.6 | 75 | 0.815951 | 25 | 163 | 5.08 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104294 | 163 | 4 | 76 | 40.75 | 0.869863 | 0.447853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
52d3d72868c077690bde8ce4b9a24f77c6b48f81 | 134 | py | Python | app/blueprints/printing/__init__.py | OrigamiCranes/PrintingPortal | e25f9f683dca3a0dcf4c90ae50515d7693447cb8 | [
"MIT",
"Unlicense"
] | null | null | null | app/blueprints/printing/__init__.py | OrigamiCranes/PrintingPortal | e25f9f683dca3a0dcf4c90ae50515d7693447cb8 | [
"MIT",
"Unlicense"
] | null | null | null | app/blueprints/printing/__init__.py | OrigamiCranes/PrintingPortal | e25f9f683dca3a0dcf4c90ae50515d7693447cb8 | [
"MIT",
"Unlicense"
] | null | null | null | from flask import Blueprint, url_for
bp = Blueprint('printing', __name__,template_folder='templates')
from . import routes, forms
| 16.75 | 64 | 0.768657 | 17 | 134 | 5.705882 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 134 | 7 | 65 | 19.142857 | 0.836207 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
5e05f2cccefdec04a8fd2cca1ee7503f900daacf | 292 | py | Python | app/main/views.py | chushijituan/job_analysis | a99d8f12b9dafa93de448a27d2f76ee6ddbde469 | [
"MIT"
] | 45 | 2016-07-07T08:53:04.000Z | 2022-01-10T11:00:40.000Z | app/main/views.py | chushijituan/job_analysis | a99d8f12b9dafa93de448a27d2f76ee6ddbde469 | [
"MIT"
] | 1 | 2016-07-09T03:40:13.000Z | 2017-02-02T06:58:27.000Z | app/main/views.py | chushijituan/job_analysis | a99d8f12b9dafa93de448a27d2f76ee6ddbde469 | [
"MIT"
] | 20 | 2016-07-08T02:18:49.000Z | 2019-06-09T14:21:26.000Z | # coding: utf-8
from . import main
from flask import render_template, jsonify, flash, request, current_app, url_for, Response, g, abort
@main.route('/')
def index():
return render_template('index.html')
@main.route('/about')
def about_page():
return render_template('about.html')
| 20.857143 | 100 | 0.715753 | 41 | 292 | 4.95122 | 0.634146 | 0.206897 | 0.197044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003984 | 0.140411 | 292 | 13 | 101 | 22.461538 | 0.804781 | 0.044521 | 0 | 0 | 0 | 0 | 0.097473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
eacf62541cfea44c5aa6f4ef694688addf50cbbc | 232 | py | Python | catsndogs/training.py | simonpf/catsndogs | 36732a7c2c767b2bb6efa87a849598170c8026e8 | [
"MIT"
] | 1 | 2020-12-18T17:19:37.000Z | 2020-12-18T17:19:37.000Z | catsndogs/training.py | simonpf/catsndogs | 36732a7c2c767b2bb6efa87a849598170c8026e8 | [
"MIT"
] | null | null | null | catsndogs/training.py | simonpf/catsndogs | 36732a7c2c767b2bb6efa87a849598170c8026e8 | [
"MIT"
] | null | null | null | import os
import glob
from catsndogs.data import get_training_data
folder = get_training_data()
cats = glob.glob(os.path.join(get_training_data(), "cat", "*.jpg"))
dogs = glob.glob(os.path.join(get_training_data(), "dog", "*.jpg"))
| 33.142857 | 67 | 0.737069 | 37 | 232 | 4.405405 | 0.432432 | 0.269939 | 0.368098 | 0.171779 | 0.404908 | 0.404908 | 0.404908 | 0.404908 | 0 | 0 | 0 | 0 | 0.090517 | 232 | 6 | 68 | 38.666667 | 0.772512 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
d820b4f0770506dfe9510b1820590790869fb745 | 247 | py | Python | apollo/embeds/__init__.py | rpetti/apollo | 1304d8623e6dfe8c9b269b7e90611b3688c0c61e | [
"MIT"
] | null | null | null | apollo/embeds/__init__.py | rpetti/apollo | 1304d8623e6dfe8c9b269b7e90611b3688c0c61e | [
"MIT"
] | null | null | null | apollo/embeds/__init__.py | rpetti/apollo | 1304d8623e6dfe8c9b269b7e90611b3688c0c61e | [
"MIT"
] | null | null | null | from .about_embed import AboutEmbed
from .event_embed import EventEmbed
from .help_embed import HelpEmbed
from .select_channel_embed import SelectChannelEmbed
from .start_time_embed import StartTimeEmbed
from .time_zone_embed import TimeZoneEmbed
| 35.285714 | 52 | 0.878543 | 33 | 247 | 6.30303 | 0.515152 | 0.317308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097166 | 247 | 6 | 53 | 41.166667 | 0.932735 | 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 |
dc3a778a081bc0e908fbf22ada6b3c5f69d5f4aa | 16,560 | py | Python | sdk/python/pulumi_kong/_inputs.py | pulumi/pulumi-kong | 775c17e4eac38934252410ed3dcdc6fc3bd40c5c | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2020-02-23T10:05:20.000Z | 2020-05-15T14:22:10.000Z | sdk/python/pulumi_kong/_inputs.py | pulumi/pulumi-kong | 775c17e4eac38934252410ed3dcdc6fc3bd40c5c | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2020-04-21T22:04:23.000Z | 2022-03-31T15:29:53.000Z | sdk/python/pulumi_kong/_inputs.py | pulumi/pulumi-kong | 775c17e4eac38934252410ed3dcdc6fc3bd40c5c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 34.936709 | 103 | 0.650906 | 1,830 | 16,560 | 5.707104 | 0.054645 | 0.131655 | 0.169188 | 0.088472 | 0.754021 | 0.703562 | 0.67388 | 0.65473 | 0.648506 | 0.597472 | 0 | 0.000078 | 0.222766 | 16,560 | 473 | 104 | 35.010571 | 0.811359 | 0.015278 | 0 | 0.701333 | 1 | 0 | 0.118541 | 0.060162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.202667 | false | 0.053333 | 0.013333 | 0.085333 | 0.330667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f4c5360b157971c47ab67890d1de372c50e60d6a | 282 | py | Python | MTS/__init__.py | ohhorob/pyMTS | e7553b96e72ac6d4f91657bdb7c632aeeaba3c9b | [
"Apache-2.0"
] | 1 | 2021-04-28T12:23:42.000Z | 2021-04-28T12:23:42.000Z | MTS/__init__.py | ohhorob/pyMTS | e7553b96e72ac6d4f91657bdb7c632aeeaba3c9b | [
"Apache-2.0"
] | null | null | null | MTS/__init__.py | ohhorob/pyMTS | e7553b96e72ac6d4f91657bdb7c632aeeaba3c9b | [
"Apache-2.0"
] | null | null | null | # MTS Log protocol -- http://www.innovatemotorsports.com/support/downloads/Seriallog-2.pdf
# Serial: 8-N-1-19.2 kbit/sec
# Packet periodicity: 81.92 milliseconds (12.2 hertz) (8 MHz / 655360)
# Sample resolution: 10 bits (0..5V at 0.1% resolution)
import Header
from word import *
| 35.25 | 90 | 0.734043 | 46 | 282 | 4.5 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106122 | 0.131206 | 282 | 7 | 91 | 40.285714 | 0.738776 | 0.847518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4e2c1950f15699ea2256ebd32a508dcb6887549 | 105 | py | Python | test_initial.py | BickySamourai/djreact | cea500cb3dc841100cc058110d7e2c6d813ca8b8 | [
"MIT"
] | 1 | 2018-12-05T11:21:50.000Z | 2018-12-05T11:21:50.000Z | test_initial.py | floriansollami/djreact | cea500cb3dc841100cc058110d7e2c6d813ca8b8 | [
"MIT"
] | 2 | 2020-02-11T23:28:33.000Z | 2020-06-05T19:36:41.000Z | test_initial.py | BickySamourai/djreact | cea500cb3dc841100cc058110d7e2c6d813ca8b8 | [
"MIT"
] | 1 | 2018-12-10T10:32:23.000Z | 2018-12-10T10:32:23.000Z | def hello(name):
return 'Hello ' + 'name'
def test_hello():
assert hello('name') == 'Hello name' | 21 | 40 | 0.609524 | 14 | 105 | 4.5 | 0.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209524 | 105 | 5 | 40 | 21 | 0.759036 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.5 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 5 |
f4fbc7791249dd3dc8759c139bed36e338524bfa | 4,198 | py | Python | games_logger/games/migrations/0001_initial.py | HaeckelK/games_logger_django | 0a8a51e73f56e68d2dea6252a263c408ca86071e | [
"MIT"
] | null | null | null | games_logger/games/migrations/0001_initial.py | HaeckelK/games_logger_django | 0a8a51e73f56e68d2dea6252a263c408ca86071e | [
"MIT"
] | 3 | 2021-01-10T10:45:32.000Z | 2021-01-10T13:31:05.000Z | games_logger/games/migrations/0001_initial.py | HaeckelK/games_logger_django | 0a8a51e73f56e68d2dea6252a263c408ca86071e | [
"MIT"
] | null | null | null | # Generated by Django 3.1.5 on 2021-01-07 21:50
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Category... | 45.139785 | 193 | 0.595045 | 414 | 4,198 | 5.891304 | 0.202899 | 0.0328 | 0.051661 | 0.081181 | 0.752768 | 0.752768 | 0.709717 | 0.709717 | 0.647396 | 0.647396 | 0 | 0.010065 | 0.266317 | 4,198 | 92 | 194 | 45.630435 | 0.781818 | 0.010719 | 0 | 0.635294 | 1 | 0 | 0.11708 | 0.0053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035294 | 0 | 0.082353 | 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 |
762189364ae8346baa62adb5a86bb79745cc8954 | 83 | py | Python | contrib/frontends/py/nntpchan/__init__.py | majestrate/nntpchan | f92f68c3cdce4b7ce6d4121ca4356b36ebcd933f | [
"MIT"
] | 233 | 2015-08-06T02:51:52.000Z | 2022-02-14T11:29:13.000Z | contrib/frontends/py/nntpchan/__init__.py | Revivify/nntpchan | 0d555bb88a2298dae9aacf11348e34c52befa3d8 | [
"MIT"
] | 98 | 2015-09-19T22:29:00.000Z | 2021-06-12T09:43:13.000Z | contrib/frontends/py/nntpchan/__init__.py | Revivify/nntpchan | 0d555bb88a2298dae9aacf11348e34c52befa3d8 | [
"MIT"
] | 49 | 2015-08-06T02:51:55.000Z | 2020-03-11T04:23:56.000Z | #
# entry for gunicorn
#
from nntpchan.app import app
from nntpchan import viewsp
| 11.857143 | 28 | 0.771084 | 12 | 83 | 5.333333 | 0.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 6 | 29 | 13.833333 | 0.941176 | 0.216867 | 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 |
52192abd9407b91e90fb61d5319cec65580111e5 | 34 | py | Python | exercises/spiral-matrix/spiral_matrix.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/spiral-matrix/spiral_matrix.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/spiral-matrix/spiral_matrix.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | def spiral_matrix(size):
pass
| 11.333333 | 24 | 0.705882 | 5 | 34 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 2 | 25 | 17 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5231e6bd87f94e0063595e79c3086076e75fc714 | 31 | py | Python | src/awss3/__init__.py | ZhiruiFeng/CarsMemory | 658afb98b1b8a667ae45e599ceb56f51759fdfce | [
"MIT"
] | 9 | 2019-01-26T21:57:38.000Z | 2021-08-13T11:55:56.000Z | src/awss3/__init__.py | ZhiruiFeng/CarsMemory | 658afb98b1b8a667ae45e599ceb56f51759fdfce | [
"MIT"
] | 6 | 2019-02-03T05:42:50.000Z | 2021-06-01T23:24:35.000Z | src/awss3/__init__.py | ZhiruiFeng/CarsMemory | 658afb98b1b8a667ae45e599ceb56f51759fdfce | [
"MIT"
] | 5 | 2019-03-06T04:33:57.000Z | 2021-05-31T17:43:57.000Z | #!/usr/bin/env python
# aws s3
| 10.333333 | 21 | 0.645161 | 6 | 31 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.16129 | 31 | 2 | 22 | 15.5 | 0.730769 | 0.870968 | 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 |
52813eb5a92147299029b6f56c0318355c220c8b | 131 | py | Python | backend/app/admin/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | backend/app/admin/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | backend/app/admin/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | from .text_component import TextComponentAdmin # noqa
from .text_description_component import TextDescriptionComponentAdmin # noqa
| 43.666667 | 76 | 0.877863 | 13 | 131 | 8.615385 | 0.615385 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 2 | 77 | 65.5 | 0.941176 | 0.068702 | 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 |
5282a5299abff7b8701b16a10c2c45a9be1078cc | 27 | py | Python | portal/pulsar/__init__.py | bbhunter/pulsar | 1f6384482eebc71137716e27ba7a010f3aea7241 | [
"Apache-2.0",
"BSD-3-Clause"
] | 12 | 2021-12-28T14:15:27.000Z | 2022-03-29T00:45:00.000Z | portal/pulsar/__init__.py | bbhunter/pulsar | 1f6384482eebc71137716e27ba7a010f3aea7241 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2022-02-09T12:47:14.000Z | 2022-02-09T12:47:14.000Z | portal/pulsar/__init__.py | bbhunter/pulsar | 1f6384482eebc71137716e27ba7a010f3aea7241 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2022-01-18T03:59:11.000Z | 2022-01-18T03:59:11.000Z |
from .celeryapp import *
| 6.75 | 24 | 0.703704 | 3 | 27 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 3 | 25 | 9 | 0.904762 | 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 |
528a9e7052216cb329d6d29d4440112a9d78b9fe | 146 | py | Python | starter_code/api_keys.py | bjouellette/python-api-challenge | 855c31769893596211ef072df8412cd47a557e19 | [
"ADSL"
] | 1 | 2022-01-27T00:04:14.000Z | 2022-01-27T00:04:14.000Z | starter_code/api_keys.py | bjouellette/python-api-challenge | 855c31769893596211ef072df8412cd47a557e19 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | bjouellette/python-api-challenge | 855c31769893596211ef072df8412cd47a557e19 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
weather_api_key = "e1067d92d6b631a16363bf4db3023b19"
# Google API Key
g_key = "AIzaSyA4RYdQ1nxoMTIW854C7wvVJMf0Qz5qjNk"
| 24.333333 | 52 | 0.842466 | 13 | 146 | 9.230769 | 0.615385 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229008 | 0.10274 | 146 | 5 | 53 | 29.2 | 0.687023 | 0.253425 | 0 | 0 | 0 | 0 | 0.669811 | 0.669811 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bfdb50593c6e1e9d0effbbd8845a4184d945a3b0 | 547 | py | Python | plugins/minfraud/komand_minfraud/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/minfraud/komand_minfraud/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/minfraud/komand_minfraud/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .account_lookup.action import AccountLookup
from .all_lookup.action import AllLookup
from .billing_lookup.action import BillingLookup
from .card_lookup.action import CardLookup
from .cart_lookup.action import CartLookup
from .device_lookup.action import DeviceLookup
from .em... | 42.076923 | 50 | 0.859232 | 73 | 547 | 6.287671 | 0.452055 | 0.287582 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096892 | 547 | 12 | 51 | 45.583333 | 0.92915 | 0.067642 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bfe27fe9229cd07b93680b62a614ccd6ac91ab8a | 208 | py | Python | wmt-etl/config.py | ministryofjustice/hmpps-wmt | 66a85b029e2fc2b525b299f9e2ac1803b9cf8516 | [
"MIT"
] | 3 | 2017-02-27T17:09:20.000Z | 2017-03-27T08:23:50.000Z | wmt-etl/config.py | ministryofjustice/hmpps-wmt | 66a85b029e2fc2b525b299f9e2ac1803b9cf8516 | [
"MIT"
] | 3 | 2017-03-03T16:08:20.000Z | 2017-03-16T17:19:34.000Z | wmt-etl/config.py | ministryofjustice/noms-wmt-alpha | 66a85b029e2fc2b525b299f9e2ac1803b9cf8516 | [
"MIT"
] | 1 | 2021-04-11T06:54:44.000Z | 2021-04-11T06:54:44.000Z | import os
DB_SERVER = os.getenv('WMT_DB_SERVER', 'localhost')
DB_NAME = os.getenv('WMT_DB_NAME', 'wmt_db')
DB_USERNAME = os.getenv('WMT_DB_USERNAME', 'wmt')
DB_PASSWORD = os.getenv('WMT_DB_PASSWORD', 'wmt')
| 29.714286 | 51 | 0.735577 | 35 | 208 | 4 | 0.285714 | 0.214286 | 0.314286 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091346 | 208 | 6 | 52 | 34.666667 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.360577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
870a1fd5ff0795c011afc5632b304b463b0623e3 | 131 | py | Python | testapp2/admin.py | gabrielbiasi/django-improved-permissions | 9cf6d0ddb8a4dcfa2e58d3adbf1357e56a64ce71 | [
"MIT"
] | 12 | 2018-03-22T00:30:32.000Z | 2021-04-24T16:26:08.000Z | testapp2/admin.py | s-sys/django-improved-permissions | 9cf6d0ddb8a4dcfa2e58d3adbf1357e56a64ce71 | [
"MIT"
] | 27 | 2018-03-18T00:43:37.000Z | 2020-06-05T18:09:18.000Z | testapp2/admin.py | gabrielbiasi/django-improved-permissions | 9cf6d0ddb8a4dcfa2e58d3adbf1357e56a64ce71 | [
"MIT"
] | 2 | 2018-03-28T17:54:43.000Z | 2021-01-11T21:17:08.000Z | """ testapp2 admin configs """
from django.contrib import admin
from testapp2.models import Library
admin.site.register(Library)
| 18.714286 | 35 | 0.78626 | 17 | 131 | 6.058824 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.122137 | 131 | 6 | 36 | 21.833333 | 0.878261 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
87234ddbc75c00fe76141a6b66832d15ac92c6f3 | 2,495 | py | Python | slides/figs/draw.py | hiyouga/AMP-Poster-Slides-LaTeX | c1fd40aa5ef3216f17b4d27dc6e6092e3cc52e40 | [
"MIT"
] | 8 | 2021-05-25T11:56:48.000Z | 2021-12-20T07:12:01.000Z | slides/figs/draw.py | hiyouga/AMP-Poster-Slides-LaTeX | c1fd40aa5ef3216f17b4d27dc6e6092e3cc52e40 | [
"MIT"
] | 1 | 2021-05-28T15:25:37.000Z | 2021-05-30T05:01:24.000Z | slides/figs/draw.py | hiyouga/AMP-Poster-Slides-LaTeX | c1fd40aa5ef3216f17b4d27dc6e6092e3cc52e40 | [
"MIT"
] | 2 | 2021-05-26T01:39:53.000Z | 2021-12-20T06:36:04.000Z | import matplotlib
import numpy as np
import matplotlib.pyplot as plt
default_params = {
'text.usetex': False,
'font.family': 'Times New Roman',
'font.serif': 'Times New Roman'
}
if __name__ == '__main__':
plt.rcParams.update(default_params)
myfont1 = matplotlib.font_manager.FontProperties(fname='C... | 43.77193 | 122 | 0.600802 | 406 | 2,495 | 3.647783 | 0.258621 | 0.037812 | 0.008103 | 0.045915 | 0.784605 | 0.784605 | 0.784605 | 0.784605 | 0.740041 | 0.668467 | 0 | 0.103922 | 0.182365 | 2,495 | 56 | 123 | 44.553571 | 0.622059 | 0 | 0 | 0.528302 | 0 | 0 | 0.136273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056604 | 0 | 0.056604 | 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 |
872a7c2cdb92c261fe174b94da5759ed7dfbd97f | 40 | py | Python | expressive_regex/exceptions.py | fsadannn/expressive_regex | 3bf113e8288a0f7d756f24cf882be8709630d4d3 | [
"MIT"
] | 2 | 2020-07-31T13:49:17.000Z | 2020-09-16T14:47:23.000Z | expressive_regex/exceptions.py | fsadannn/expressive_regex | 3bf113e8288a0f7d756f24cf882be8709630d4d3 | [
"MIT"
] | null | null | null | expressive_regex/exceptions.py | fsadannn/expressive_regex | 3bf113e8288a0f7d756f24cf882be8709630d4d3 | [
"MIT"
] | null | null | null | class BadStatement(Exception):
pass
| 13.333333 | 30 | 0.75 | 4 | 40 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 31 | 20 | 0.909091 | 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 |
874c9017ad17aa813ad7a4b4bd54385bf7e3cba6 | 91 | py | Python | build/lib/acousondePy/__init__.py | SvenGastauer/acousondePy | 94a99dc9de35d644a35cbfa3078110a67a35212e | [
"MIT"
] | null | null | null | build/lib/acousondePy/__init__.py | SvenGastauer/acousondePy | 94a99dc9de35d644a35cbfa3078110a67a35212e | [
"MIT"
] | null | null | null | build/lib/acousondePy/__init__.py | SvenGastauer/acousondePy | 94a99dc9de35d644a35cbfa3078110a67a35212e | [
"MIT"
] | null | null | null | from .MTRead import MTread,spec_plot,read_multiple_MT
from .main import MTreadgui,acousonde | 45.5 | 53 | 0.868132 | 14 | 91 | 5.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 91 | 2 | 54 | 45.5 | 0.904762 | 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 |
87567263e4472013f3e9c6f40f7e91f2cff4f5d5 | 40 | py | Python | tipos de datos/integer1.py | gabys12/portafolio-fundamento-de-programacion | c9b47f32e885ed6ae80b14133a609798ea034e19 | [
"CNRI-Python"
] | null | null | null | tipos de datos/integer1.py | gabys12/portafolio-fundamento-de-programacion | c9b47f32e885ed6ae80b14133a609798ea034e19 | [
"CNRI-Python"
] | null | null | null | tipos de datos/integer1.py | gabys12/portafolio-fundamento-de-programacion | c9b47f32e885ed6ae80b14133a609798ea034e19 | [
"CNRI-Python"
] | null | null | null | x = 100
y = 50
print('x=', x, 'y=', y)
| 8 | 23 | 0.4 | 9 | 40 | 1.777778 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.275 | 40 | 4 | 24 | 10 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
5e8a67301e87d6b49ee5b0aa718dbabf712a571d | 245 | py | Python | main.py | glhrmfrts/instr | ba08fae5149c193ada0003c0f4ca042dca84e457 | [
"MIT"
] | null | null | null | main.py | glhrmfrts/instr | ba08fae5149c193ada0003c0f4ca042dca84e457 | [
"MIT"
] | null | null | null | main.py | glhrmfrts/instr | ba08fae5149c193ada0003c0f4ca042dca84e457 | [
"MIT"
] | null | null | null | from instr.instruments import *
from instr.effects import *
s = Sqr().bind(tremolo(), echo(0.4, 0.8)).loop(2, [(244, 1), (289, 1), (365, 2)]).loop(4, [(244, 0.1), (289, 0.1), (365, 0.1), (1, 0.1), (237, 0.1), (1, 0.1)]).save('tests/instr.wav')
| 49 | 183 | 0.555102 | 49 | 245 | 2.77551 | 0.469388 | 0.088235 | 0.044118 | 0.058824 | 0.073529 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206573 | 0.130612 | 245 | 4 | 184 | 61.25 | 0.431925 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5e8def353cd8038d157012651972bf4783cd5467 | 77 | py | Python | planar_ising/lipton_tarjan/__init__.py | ValeryTyumen/planar_ising | 5a1803487e1dd59c5d5e790cc949b7234bf52ac8 | [
"MIT"
] | 8 | 2019-05-02T20:27:21.000Z | 2020-11-01T20:41:38.000Z | planar_ising/lipton_tarjan/__init__.py | ValeryTyumen/planar_ising | 5a1803487e1dd59c5d5e790cc949b7234bf52ac8 | [
"MIT"
] | 1 | 2019-09-03T18:15:53.000Z | 2019-09-06T16:41:12.000Z | planar_ising/lipton_tarjan/__init__.py | ValeryTyumen/planar_ising | 5a1803487e1dd59c5d5e790cc949b7234bf52ac8 | [
"MIT"
] | 3 | 2019-08-11T23:08:58.000Z | 2022-03-19T09:09:50.000Z | from .planar_separator import PlanarSeparator
from . import separation_class
| 25.666667 | 45 | 0.87013 | 9 | 77 | 7.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 46 | 38.5 | 0.942029 | 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 |
5e9c05834cf6ad1608c5d29f26bb72785dc3ceb3 | 45 | py | Python | pyIOS/exceptions.py | jtdub/pyIOS | 1842b92068e3b0a980d53e0719efd41dbbdaf082 | [
"Apache-2.0"
] | 12 | 2016-01-09T17:47:05.000Z | 2022-02-09T18:09:41.000Z | pyIOS/exceptions.py | jtdub/pyIOS | 1842b92068e3b0a980d53e0719efd41dbbdaf082 | [
"Apache-2.0"
] | 16 | 2016-01-05T15:49:31.000Z | 2016-08-04T20:59:15.000Z | pyIOS/exceptions.py | jtdub/pyIOS | 1842b92068e3b0a980d53e0719efd41dbbdaf082 | [
"Apache-2.0"
] | 1 | 2016-04-06T16:00:32.000Z | 2016-04-06T16:00:32.000Z | class InvalidInputError(Exception):
pass
| 15 | 35 | 0.777778 | 4 | 45 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 36 | 22.5 | 0.921053 | 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 |
5e9cfe480f48cebb3ee33cedf5c2da8409e69016 | 71 | py | Python | purestorage/__init__.py | sile16/rest-client | 01604e00e8a64157e056fca614d320c3afd0f2d1 | [
"BSD-2-Clause"
] | 20 | 2018-10-26T01:33:15.000Z | 2022-03-31T19:56:08.000Z | purestorage/__init__.py | sile16/rest-client | 01604e00e8a64157e056fca614d320c3afd0f2d1 | [
"BSD-2-Clause"
] | 15 | 2018-08-09T20:42:21.000Z | 2022-01-14T15:59:58.000Z | purestorage/__init__.py | sile16/rest-client | 01604e00e8a64157e056fca614d320c3afd0f2d1 | [
"BSD-2-Clause"
] | 16 | 2018-10-22T18:31:42.000Z | 2021-08-09T15:33:35.000Z | from .purestorage import FlashArray, PureError, PureHTTPError, VERSION
| 35.5 | 70 | 0.84507 | 7 | 71 | 8.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 1 | 71 | 71 | 0.9375 | 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 |
5eb6ed393de918f8c3120b183de9a52d1c9d90da | 216 | py | Python | master/scripts/paths.py | OPU-Surveillance-System/monitoring | 2c2c657c74fce9a5938d986372f9077708617d9c | [
"MIT"
] | 4 | 2020-12-24T11:51:28.000Z | 2022-02-08T09:02:38.000Z | master/scripts/paths.py | OPU-Surveillance-System/monitoring | 2c2c657c74fce9a5938d986372f9077708617d9c | [
"MIT"
] | 1 | 2021-11-16T02:54:35.000Z | 2021-11-16T02:54:35.000Z | master/scripts/paths.py | OPU-Surveillance-System/monitoring | 2c2c657c74fce9a5938d986372f9077708617d9c | [
"MIT"
] | null | null | null | """
Define the environment paths
"""
#Path variables
TEMPLATE_PATH = "/home/scom/documents/opu_surveillance_system/monitoring/master/"
STATIC_PATH = "/home/scom/documents/opu_surveillance_system/monitoring/static/"
| 27 | 81 | 0.805556 | 26 | 216 | 6.461538 | 0.615385 | 0.095238 | 0.142857 | 0.25 | 0.619048 | 0.619048 | 0.619048 | 0.619048 | 0 | 0 | 0 | 0 | 0.069444 | 216 | 7 | 82 | 30.857143 | 0.835821 | 0.199074 | 0 | 0 | 0 | 0 | 0.763636 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5eb703c2f5ca89811146d4e9b20de24a3405a5d5 | 3,181 | py | Python | tests/strategies/test_local_strategy.py | gijswobben/customs | 72c0d071fe35ed84eb6d6371eb651edcd13a1044 | [
"MIT"
] | null | null | null | tests/strategies/test_local_strategy.py | gijswobben/customs | 72c0d071fe35ed84eb6d6371eb651edcd13a1044 | [
"MIT"
] | null | null | null | tests/strategies/test_local_strategy.py | gijswobben/customs | 72c0d071fe35ed84eb6d6371eb651edcd13a1044 | [
"MIT"
] | null | null | null | from flask.globals import request
import pytest
from flask import Flask
from typing import Dict
from customs import Customs
from customs.exceptions import UnauthorizedException
from customs.strategies import LocalStrategy
def test_local_strategy_initialization_without_customs():
class Local(LocalStrategy):
... | 30.586538 | 77 | 0.688463 | 368 | 3,181 | 5.774457 | 0.17663 | 0.018824 | 0.041412 | 0.056471 | 0.787294 | 0.755294 | 0.680471 | 0.680471 | 0.680471 | 0.634353 | 0 | 0.034731 | 0.212512 | 3,181 | 103 | 78 | 30.883495 | 0.813573 | 0.07702 | 0 | 0.703125 | 0 | 0 | 0.081681 | 0.056733 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.1875 | false | 0.15625 | 0.109375 | 0.125 | 0.484375 | 0.015625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
5ed705bdaa66e16d951b96579ba77a4976ae6a2d | 66 | py | Python | pygame_ui/__init__.py | oof6969696969/pygame_ui | ca59652f30718dd8c578d994239d3a2d7aadae9c | [
"MIT"
] | null | null | null | pygame_ui/__init__.py | oof6969696969/pygame_ui | ca59652f30718dd8c578d994239d3a2d7aadae9c | [
"MIT"
] | null | null | null | pygame_ui/__init__.py | oof6969696969/pygame_ui | ca59652f30718dd8c578d994239d3a2d7aadae9c | [
"MIT"
] | null | null | null | from lib.pygame_ui import UIManager, Widgets, Shapes, load_theme
| 33 | 65 | 0.818182 | 10 | 66 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 1 | 66 | 66 | 0.896552 | 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 |
0d6cfdc31d74171c37475fd7569d74d50b976420 | 24 | py | Python | test.py | JohnnyBruh/Repository | f8bfb14737eee78fa8da400c7f6ddb21efda4baf | [
"CC0-1.0"
] | null | null | null | test.py | JohnnyBruh/Repository | f8bfb14737eee78fa8da400c7f6ddb21efda4baf | [
"CC0-1.0"
] | null | null | null | test.py | JohnnyBruh/Repository | f8bfb14737eee78fa8da400c7f6ddb21efda4baf | [
"CC0-1.0"
] | null | null | null | print("yaaaay")
input() | 12 | 16 | 0.666667 | 3 | 24 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 2 | 17 | 12 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0d736e7e49cff33ae106086347e250953188ade6 | 249 | py | Python | Multiples of 3 and 5.py | ahmedharbi197/Project-Euler | 596fa7622233868a08200f2d7fe3b7e83d0af41f | [
"MIT"
] | 1 | 2019-06-10T23:10:38.000Z | 2019-06-10T23:10:38.000Z | Multiples of 3 and 5.py | ahmedharbi197/Project-Euler | 596fa7622233868a08200f2d7fe3b7e83d0af41f | [
"MIT"
] | null | null | null | Multiples of 3 and 5.py | ahmedharbi197/Project-Euler | 596fa7622233868a08200f2d7fe3b7e83d0af41f | [
"MIT"
] | null | null | null | import sys
t = int(input().strip())
for a0 in range(t):
n = int(input().strip())
def preSum(q):
return (q*(1+q) //2 )
result = 3*preSum(int((n-1)//3)) + 5*preSum(int((n-1)//5)) - 15*preSum(int((n-1)//15))
print(int(result))
| 24.9 | 90 | 0.526104 | 45 | 249 | 2.911111 | 0.488889 | 0.206107 | 0.229008 | 0.251908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0.204819 | 249 | 9 | 91 | 27.666667 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.375 | 0.125 | 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 | 1 | 0 | 0 | 0 | 5 |
0d92dd46b5c6cda3a158d46142ec944eda28a213 | 7,986 | py | Python | fairmlhealth/__fairness_metrics.py | masino-lab/fairMLHealth | 943ffed5f57997401823bd2afc257f34f76ea157 | [
"MIT"
] | 19 | 2020-10-29T10:14:59.000Z | 2022-03-20T06:27:35.000Z | fairmlhealth/__fairness_metrics.py | masino-lab/fairMLHealth | 943ffed5f57997401823bd2afc257f34f76ea157 | [
"MIT"
] | 52 | 2020-10-14T19:21:27.000Z | 2021-09-15T19:01:52.000Z | fairmlhealth/__fairness_metrics.py | masino-lab/fairMLHealth | 943ffed5f57997401823bd2afc257f34f76ea157 | [
"MIT"
] | 9 | 2020-12-02T21:40:27.000Z | 2021-11-01T18:09:10.000Z | """ Custom Fairness Metrics
Note that ratio and difference computation is handled by AIF360's
sklearn.metrics module. As of the V 0.4.0 release, these are calculated as
[unprivileged/privileged] and [unprivileged - privileged], respectively
"""
from typing import Callable
from aif360.sklearn.metrics import... | 29.577778 | 88 | 0.660155 | 1,153 | 7,986 | 4.35386 | 0.117086 | 0.076494 | 0.033466 | 0.062151 | 0.780478 | 0.772112 | 0.772112 | 0.766335 | 0.766335 | 0.766335 | 0 | 0.007182 | 0.250313 | 7,986 | 269 | 89 | 29.687732 | 0.831301 | 0.464688 | 0 | 0.302326 | 0 | 0 | 0.034261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162791 | false | 0 | 0.069767 | 0 | 0.44186 | 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 |
0dc892c0ef85acbf71fdb47d9850dae8da0e6d7a | 10,355 | py | Python | code/services/synergy_services.py | EdsonECM17/DS_Proyecto_02_Synergy_Logistics | a6c347f99e69b926d337db82653dd16850668f4b | [
"MIT"
] | null | null | null | code/services/synergy_services.py | EdsonECM17/DS_Proyecto_02_Synergy_Logistics | a6c347f99e69b926d337db82653dd16850668f4b | [
"MIT"
] | null | null | null | code/services/synergy_services.py | EdsonECM17/DS_Proyecto_02_Synergy_Logistics | a6c347f99e69b926d337db82653dd16850668f4b | [
"MIT"
] | null | null | null | from typing import List
from processing.sl_filters import SynergyLogisticsFilters
class Service(SynergyLogisticsFilters):
"""
Clase que contine servicios para el analisis de la tabla de Synergy Logistics.
"""
def get_routes_list(self, direction:str or None = None) -> List:
"""Genera una lista... | 45.416667 | 156 | 0.630324 | 1,282 | 10,355 | 4.982839 | 0.123245 | 0.044145 | 0.043676 | 0.05072 | 0.757514 | 0.738259 | 0.724796 | 0.713212 | 0.703037 | 0.703037 | 0 | 0.00138 | 0.300241 | 10,355 | 227 | 157 | 45.61674 | 0.88021 | 0.471077 | 0 | 0.328358 | 0 | 0 | 0.013856 | 0 | 0 | 0 | 0 | 0.004405 | 0 | 1 | 0.164179 | false | 0 | 0.029851 | 0 | 0.373134 | 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 |
218cc1a2784c43a8ecfb6c736b8023171e1890c1 | 149 | py | Python | vb2py/PythonCard/__init__.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | vb2py/PythonCard/__init__.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | vb2py/PythonCard/__init__.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | """
Created: 2001/08/05
Purpose: Turn PythonCard into a package
__version__ = "$Revision: 1.1.1.1 $"
__date__ = "$Date: 2001/08/06 19:53:11 $"
"""
| 16.555556 | 41 | 0.651007 | 24 | 149 | 3.708333 | 0.75 | 0.067416 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 0.154362 | 149 | 8 | 42 | 18.625 | 0.5 | 0.932886 | 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 | 1 | 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 |
21af95c3e6f5614235525e918b9f73b1e391d922 | 42 | py | Python | fzzzMaskBackend/users/serializers.py | FZZZMask/backend | 4f987e96a5ff42d89cf536c099b944f5f7254764 | [
"BSD-3-Clause"
] | null | null | null | fzzzMaskBackend/users/serializers.py | FZZZMask/backend | 4f987e96a5ff42d89cf536c099b944f5f7254764 | [
"BSD-3-Clause"
] | 3 | 2020-02-11T23:24:39.000Z | 2021-06-04T21:45:25.000Z | fzzzMaskBackend/users/serializers.py | FZZZMask/backend | 4f987e96a5ff42d89cf536c099b944f5f7254764 | [
"BSD-3-Clause"
] | null | null | null | from rest_framework import serializers
| 8.4 | 38 | 0.833333 | 5 | 42 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 4 | 39 | 10.5 | 0.971429 | 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 |
21b4b857672198b3794c4cd67434ee8e238bf40c | 164 | py | Python | util/prelude.py | sinsay/ds_define | 0ee89edfc3ad1ed37c5b88e13936229baf50a966 | [
"Apache-2.0"
] | null | null | null | util/prelude.py | sinsay/ds_define | 0ee89edfc3ad1ed37c5b88e13936229baf50a966 | [
"Apache-2.0"
] | null | null | null | util/prelude.py | sinsay/ds_define | 0ee89edfc3ad1ed37c5b88e13936229baf50a966 | [
"Apache-2.0"
] | null | null | null | from .enum import EnumBase
def is_builtin_type(obj) -> bool:
"""
检查 obj 是否基础类型
"""
return isinstance(obj, (int, str, float, bool)) or obj is None
| 18.222222 | 66 | 0.628049 | 24 | 164 | 4.208333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 164 | 8 | 67 | 20.5 | 0.821138 | 0.079268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
21b737190d56432c7d4ca921f5d6f60d7150164a | 289 | py | Python | batch/batch/public_gcr_images.py | MariusDanner/hail | 5ca0305f8243b5888931b1afaa1fbfb617dee097 | [
"MIT"
] | null | null | null | batch/batch/public_gcr_images.py | MariusDanner/hail | 5ca0305f8243b5888931b1afaa1fbfb617dee097 | [
"MIT"
] | null | null | null | batch/batch/public_gcr_images.py | MariusDanner/hail | 5ca0305f8243b5888931b1afaa1fbfb617dee097 | [
"MIT"
] | null | null | null | from typing import List
def public_gcr_images(project: str) -> List[str]:
# the worker cannot import batch_configuration because it does not have all the environment
# variables
return [f'gcr.io/{project}/{name}' for name in ('query', 'hail', 'python-dill', 'batch-worker')]
| 36.125 | 100 | 0.709343 | 42 | 289 | 4.809524 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16609 | 289 | 7 | 101 | 41.285714 | 0.838174 | 0.342561 | 0 | 0 | 0 | 0 | 0.294118 | 0.122995 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
21beae082b613ebc189de03f874795adfa3f6a13 | 68 | py | Python | Other_AIMA_Scripts/planning.py | erensezener/aima-based-irl | fbbe28986cec0b5e58fef0f00338a180ed03759a | [
"MIT"
] | 12 | 2015-06-17T05:15:40.000Z | 2021-05-18T15:39:33.000Z | Other_AIMA_Scripts/planning.py | erensezener/aima-based-irl | fbbe28986cec0b5e58fef0f00338a180ed03759a | [
"MIT"
] | 1 | 2020-03-14T08:45:49.000Z | 2020-03-14T08:45:49.000Z | Other_AIMA_Scripts/planning.py | erensezener/aima-based-irl | fbbe28986cec0b5e58fef0f00338a180ed03759a | [
"MIT"
] | 5 | 2016-09-10T19:16:56.000Z | 2018-10-10T05:09:03.000Z | """Planning (Chapters 11-12)
"""
from __future__ import generators
| 13.6 | 33 | 0.735294 | 8 | 68 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.132353 | 68 | 4 | 34 | 17 | 0.711864 | 0.367647 | 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 |
21ee59da3e9f824ace6a440137a55162daab5528 | 200 | py | Python | Timers.py | elegenstein-tgm/astrosim | 1b09a32f543f5cc810621f8beaff20d57d0add22 | [
"MIT"
] | null | null | null | Timers.py | elegenstein-tgm/astrosim | 1b09a32f543f5cc810621f8beaff20d57d0add22 | [
"MIT"
] | null | null | null | Timers.py | elegenstein-tgm/astrosim | 1b09a32f543f5cc810621f8beaff20d57d0add22 | [
"MIT"
] | null | null | null | class Timer:
def __init__(self, duration, ticks):
self.duration = duration
self.ticks = ticks
self.thread = None
def start(self):
pass
# start Thread here
| 20 | 40 | 0.585 | 23 | 200 | 4.913043 | 0.521739 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.335 | 200 | 9 | 41 | 22.222222 | 0.849624 | 0.085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1d09f4af7ac6dd139ab8ee8934a37f14f97144a4 | 17,847 | py | Python | scripts/trajectories.py | Miedema/MCNetwork | daab1fe5880c47695c6e21124f99aa6b2589aba1 | [
"Apache-2.0"
] | null | null | null | scripts/trajectories.py | Miedema/MCNetwork | daab1fe5880c47695c6e21124f99aa6b2589aba1 | [
"Apache-2.0"
] | null | null | null | scripts/trajectories.py | Miedema/MCNetwork | daab1fe5880c47695c6e21124f99aa6b2589aba1 | [
"Apache-2.0"
] | 1 | 2021-10-05T14:34:30.000Z | 2021-10-05T14:34:30.000Z | #!/usr/bin/python3
from tools import *
from sys import argv
from os.path import join
import h5py
import matplotlib.pylab as plt
from matplotlib.patches import Wedge
import numpy as np
if len(argv) > 1:
pathToSimFolder = argv[1]
else:
pathToSimFolder = "../data/"
parameters, electrodes = readParameters(pathT... | 36.646817 | 197 | 0.428083 | 1,441 | 17,847 | 5.278973 | 0.126301 | 0.043381 | 0.028395 | 0.034705 | 0.772709 | 0.750624 | 0.742737 | 0.722492 | 0.708689 | 0.693046 | 0 | 0.043305 | 0.451392 | 17,847 | 486 | 198 | 36.722222 | 0.733633 | 0.046955 | 0 | 0.690821 | 0 | 0 | 0.071988 | 0.006887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002415 | false | 0 | 0.021739 | 0 | 0.02657 | 0.002415 | 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 |
df102fd4bc161dbff752d14a5d6d5415a2686808 | 78 | py | Python | test/test.py | hcamacho4200/dev_opts_training | 6ce91cbeb30af7eae29c084f6180d53f64f5e9b0 | [
"Apache-2.0"
] | 1 | 2021-10-03T22:23:06.000Z | 2021-10-03T22:23:06.000Z | test/test.py | hcamacho4200/dev_opts_training | 6ce91cbeb30af7eae29c084f6180d53f64f5e9b0 | [
"Apache-2.0"
] | null | null | null | test/test.py | hcamacho4200/dev_opts_training | 6ce91cbeb30af7eae29c084f6180d53f64f5e9b0 | [
"Apache-2.0"
] | 1 | 2021-12-11T19:24:59.000Z | 2021-12-11T19:24:59.000Z | def test_test():
"""A generic test
:return:
"""
assert True
| 9.75 | 21 | 0.512821 | 9 | 78 | 4.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 78 | 7 | 22 | 11.142857 | 0.764706 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10d394809031c831a797106d7da931ca1931a5d8 | 89 | py | Python | Contest/ABC017/b/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/ABC017/b/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/ABC017/b/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
import re
print(re.sub("ch|o|k|u", "", input()) and "NO" or "YES") | 29.666667 | 56 | 0.606742 | 18 | 89 | 3 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.11236 | 89 | 3 | 56 | 29.666667 | 0.670886 | 0.235955 | 0 | 0 | 0 | 0 | 0.191176 | 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 |
10dcd63f6971079940c1323786fecd18f6fad2b3 | 162 | py | Python | pythonperlin/__init__.py | timpyrkov/pyperlin | c79080657aa79df1abc83e481d2b09cac5edbff7 | [
"MIT"
] | null | null | null | pythonperlin/__init__.py | timpyrkov/pyperlin | c79080657aa79df1abc83e481d2b09cac5edbff7 | [
"MIT"
] | null | null | null | pythonperlin/__init__.py | timpyrkov/pyperlin | c79080657aa79df1abc83e481d2b09cac5edbff7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from pythonperlin.perlin import perlin
from pkg_resources import get_distribution
__version__ = get_distribution('pythonperlin').version | 27 | 54 | 0.796296 | 19 | 162 | 6.421053 | 0.631579 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.104938 | 162 | 6 | 54 | 27 | 0.834483 | 0.12963 | 0 | 0 | 0 | 0 | 0.085714 | 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 |
10e230dff4f183cac0ecd093228e7522ab70f334 | 26 | py | Python | 25_Assigment_Operator/main.py | jmmedel/Python-Tutorials- | 243ae9a6b51a4fce03dd90c02da13b859cbfbe5f | [
"MIT"
] | null | null | null | 25_Assigment_Operator/main.py | jmmedel/Python-Tutorials- | 243ae9a6b51a4fce03dd90c02da13b859cbfbe5f | [
"MIT"
] | null | null | null | 25_Assigment_Operator/main.py | jmmedel/Python-Tutorials- | 243ae9a6b51a4fce03dd90c02da13b859cbfbe5f | [
"MIT"
] | null | null | null |
x = 5
x |= 3
print(x)
| 3.25 | 8 | 0.384615 | 6 | 26 | 1.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.423077 | 26 | 7 | 9 | 3.714286 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10eff1d39f6acd5ae6fc306444aa467930b6a9d1 | 1,624 | py | Python | ozpcenter/models/import_task_result.py | emosher/ozp-backend | d31d00bb8a28a8d0c999813f616b398f41516244 | [
"Apache-2.0"
] | 1 | 2018-10-05T17:03:01.000Z | 2018-10-05T17:03:01.000Z | ozpcenter/models/import_task_result.py | emosher/ozp-backend | d31d00bb8a28a8d0c999813f616b398f41516244 | [
"Apache-2.0"
] | 1 | 2017-01-06T19:20:32.000Z | 2017-01-06T19:20:32.000Z | ozpcenter/models/import_task_result.py | emosher/ozp-backend | d31d00bb8a28a8d0c999813f616b398f41516244 | [
"Apache-2.0"
] | 7 | 2016-12-16T15:42:05.000Z | 2020-09-05T01:11:27.000Z | from django.db import models
from ozpcenter.utils import get_now_utc
from .import_task import ImportTask
class ImportTaskResultManager(models.Manager):
def get_queryset(self):
return super().get_queryset()
def find_all(self):
return self.all()
def find_by_id(self, id):
return s... | 28.491228 | 105 | 0.690887 | 219 | 1,624 | 4.86758 | 0.315068 | 0.140713 | 0.052533 | 0.033771 | 0.178236 | 0.178236 | 0.125704 | 0.125704 | 0.125704 | 0.125704 | 0 | 0.008455 | 0.198892 | 1,624 | 56 | 106 | 29 | 0.810915 | 0.054803 | 0 | 0.058824 | 0 | 0.058824 | 0.073267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0.058824 | 0.441176 | 0.176471 | 1.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 5 |
80178d726d35bfda33f77aca84b7fdccd2b6d2ea | 253 | py | Python | src/fl_simulation/server/aggregation/__init__.py | microsoft/fl-simulation | d177d329c82559c7efe82deae8dea8f9baa49495 | [
"MIT"
] | 5 | 2021-12-14T02:21:53.000Z | 2021-12-26T07:45:13.000Z | src/fl_simulation/server/aggregation/__init__.py | microsoft/fl-simulation | d177d329c82559c7efe82deae8dea8f9baa49495 | [
"MIT"
] | 1 | 2022-01-04T04:51:20.000Z | 2022-01-04T04:51:20.000Z | src/fl_simulation/server/aggregation/__init__.py | microsoft/fl-simulation | d177d329c82559c7efe82deae8dea8f9baa49495 | [
"MIT"
] | null | null | null | """Utilities and implementation for model aggregation on the central server."""
from .aggregator import *
from .fedavg import *
from .fedprox import *
from .scaffold import *
from .aggregator_with_dropouts import *
from .multi_model_aggregator import * | 31.625 | 79 | 0.790514 | 32 | 253 | 6.125 | 0.59375 | 0.255102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134387 | 253 | 8 | 80 | 31.625 | 0.894977 | 0.288538 | 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 |
339ebff6a47b6fc0d76354525972cdafcdf197e6 | 216 | py | Python | osvolbackup/verbose.py | CCSGroupInternational/osvolbackup | d0d93812a729acdb6c961c6bdd1cc2cb5c9c87f5 | [
"Apache-2.0"
] | 1 | 2019-02-27T12:59:49.000Z | 2019-02-27T12:59:49.000Z | osvolbackup/verbose.py | CCSGroupInternational/osvolbackup | d0d93812a729acdb6c961c6bdd1cc2cb5c9c87f5 | [
"Apache-2.0"
] | 4 | 2019-03-07T09:31:51.000Z | 2019-03-12T15:19:40.000Z | osvolbackup/verbose.py | CCSGroupInternational/osvolbackup | d0d93812a729acdb6c961c6bdd1cc2cb5c9c87f5 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
from os import getenv
from datetime import datetime
def vprint(*a, **k):
if not getenv('VERBOSE'):
return
print(datetime.now(), ' ', end='')
print(*a, **k)
| 19.636364 | 38 | 0.643519 | 29 | 216 | 4.62069 | 0.62069 | 0.029851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217593 | 216 | 10 | 39 | 21.6 | 0.792899 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.375 | 0 | 0.625 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
33e70135430c756b9a90a2e67be6abde70c17fb4 | 100 | py | Python | paraVerComoFuncionaAlgumasCoisas/sqlite3/fazendoTeste/teste.py | jonasht/pythonEstudos | 5e7d28e7bd82b9d1b08e795867fdbaa743f4b747 | [
"MIT"
] | null | null | null | paraVerComoFuncionaAlgumasCoisas/sqlite3/fazendoTeste/teste.py | jonasht/pythonEstudos | 5e7d28e7bd82b9d1b08e795867fdbaa743f4b747 | [
"MIT"
] | null | null | null | paraVerComoFuncionaAlgumasCoisas/sqlite3/fazendoTeste/teste.py | jonasht/pythonEstudos | 5e7d28e7bd82b9d1b08e795867fdbaa743f4b747 | [
"MIT"
] | null | null | null | import PegandoVariavel as v
print(v.get_Pessoas())
print()
for d in v.get_Pessoas():
print(d) | 12.5 | 27 | 0.7 | 17 | 100 | 4 | 0.588235 | 0.117647 | 0.323529 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 8 | 28 | 12.5 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
33ed53521c15ad28a778f2b1528538b64f181026 | 32 | py | Python | week01/test_f.py | wasit7/cn350 | a84a6ed04ada532e0a12c69d705cf3c15d7e0240 | [
"MIT"
] | null | null | null | week01/test_f.py | wasit7/cn350 | a84a6ed04ada532e0a12c69d705cf3c15d7e0240 | [
"MIT"
] | null | null | null | week01/test_f.py | wasit7/cn350 | a84a6ed04ada532e0a12c69d705cf3c15d7e0240 | [
"MIT"
] | null | null | null | n=1
def f(x):
print(n)
f(0) | 6.4 | 12 | 0.46875 | 9 | 32 | 1.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.28125 | 32 | 5 | 13 | 6.4 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1d0fdb41642d7e059e2af9967d0a5707e8be001c | 1,829 | py | Python | StationeryBG.py | CharlesW1970/Handright | cda9400232e1815f7137ab3bd86ded8e307f35c7 | [
"BSD-3-Clause"
] | 1 | 2020-10-14T06:05:35.000Z | 2020-10-14T06:05:35.000Z | StationeryBG.py | CharlesW1970/Handright | cda9400232e1815f7137ab3bd86ded8e307f35c7 | [
"BSD-3-Clause"
] | null | null | null | StationeryBG.py | CharlesW1970/Handright | cda9400232e1815f7137ab3bd86ded8e307f35c7 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
from PIL import Image, ImageFont
from handright import Template, handwrite
text = """
这是一段自动生成的笔迹,这是一段自动生成的笔迹。这是一段自动生成的笔迹,这是一段自动生成的笔迹。这是一段自动生成的笔迹,这是一段自动生成的笔迹。这是一段自动生成的笔迹,这是一段自动生成的笔迹。这是一段自动生成的笔迹,这是一段自动生成的笔迹。这是一段自动生成的笔迹,这是一段自动生成的笔迹。这是一段自动生成的笔迹,这是一段自动生成的笔迹。
这是一段自动生成的笔迹,这是一段自动生成的笔迹。这是一段自动生成的笔迹,这是... | 43.547619 | 172 | 0.783488 | 198 | 1,829 | 7.136364 | 0.414141 | 1.07431 | 1.58811 | 2.086341 | 0.54494 | 0.54494 | 0.54494 | 0.54494 | 0.54494 | 0.54494 | 0 | 0.020233 | 0.108256 | 1,829 | 42 | 173 | 43.547619 | 0.845494 | 0.055221 | 0 | 0.142857 | 0 | 0.142857 | 0.543655 | 0.506403 | 0 | 0 | 0 | 0 | 0.028571 | 0 | null | null | 0 | 0.057143 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1d5874fe18b2e75012e32310519149b4c42547fe | 81 | py | Python | app_folder/schemas/api.py | Nuznhy/day-f-hack | 9f3dbcd73e73ea4e7807e5197bf0b0ded76bc9f3 | [
"MIT"
] | 2 | 2021-10-02T12:12:57.000Z | 2021-11-16T11:36:15.000Z | app_folder/schemas/api.py | Nuznhy/day-f-hack | 9f3dbcd73e73ea4e7807e5197bf0b0ded76bc9f3 | [
"MIT"
] | null | null | null | app_folder/schemas/api.py | Nuznhy/day-f-hack | 9f3dbcd73e73ea4e7807e5197bf0b0ded76bc9f3 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class ReadyResponse(BaseModel):
status: str
| 13.5 | 31 | 0.777778 | 9 | 81 | 7 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 5 | 32 | 16.2 | 0.940299 | 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 |
1d72d39d1134cd19db279903a576512ac8b9b659 | 139 | py | Python | vedasal/criteria/losses/builder.py | Kuro96/vedasal | 3c5588bf12059af5bd7bc779fd5f9dc0b2901cb2 | [
"Apache-2.0"
] | 2 | 2020-11-06T06:39:04.000Z | 2020-11-11T03:39:22.000Z | vedasal/criteria/losses/builder.py | Kuro96/vedasal | 3c5588bf12059af5bd7bc779fd5f9dc0b2901cb2 | [
"Apache-2.0"
] | null | null | null | vedasal/criteria/losses/builder.py | Kuro96/vedasal | 3c5588bf12059af5bd7bc779fd5f9dc0b2901cb2 | [
"Apache-2.0"
] | null | null | null | from vedacore.misc import registry, build_from_cfg
def build_loss(cfg):
loss = build_from_cfg(cfg, registry, 'loss')
return loss
| 19.857143 | 50 | 0.741007 | 21 | 139 | 4.666667 | 0.47619 | 0.183673 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172662 | 139 | 6 | 51 | 23.166667 | 0.852174 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d535465b4cadf1f4ee90d4f52f137ea35dc5bc11 | 56 | py | Python | dominion/cards/__init__.py | billletson/dominion | ad430e20aa1615758091df1ca39a5fc7313e921e | [
"MIT"
] | null | null | null | dominion/cards/__init__.py | billletson/dominion | ad430e20aa1615758091df1ca39a5fc7313e921e | [
"MIT"
] | null | null | null | dominion/cards/__init__.py | billletson/dominion | ad430e20aa1615758091df1ca39a5fc7313e921e | [
"MIT"
] | null | null | null | from .constants import *
from .actions import ACTIONS
| 18.666667 | 29 | 0.767857 | 7 | 56 | 6.142857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 56 | 2 | 30 | 28 | 0.934783 | 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 |
d53f7a92ad96592864829c170139b3f620bcb9e7 | 109 | py | Python | aiohttp_devtools/start/__init__.py | antonmyronyuk/aiohttp-devtools | be06d295a8911a43f7ad582a88a3d64d6482b6e8 | [
"MIT"
] | 2 | 2018-11-13T06:34:17.000Z | 2019-01-08T14:33:09.000Z | aiohttp_devtools/start/__init__.py | theruziev/aiohttp-devtools | 8ab8a621964c8af0021c62e7971eea8c04f534e8 | [
"MIT"
] | 1 | 2021-02-27T14:13:58.000Z | 2021-02-27T14:13:58.000Z | aiohttp_devtools/start/__init__.py | theruziev/aiohttp-devtools | 8ab8a621964c8af0021c62e7971eea8c04f534e8 | [
"MIT"
] | null | null | null | # flake8: noqa
from .main import DatabaseChoice, ExampleChoice, SessionChoices, StartProject, TemplateChoice
| 36.333333 | 93 | 0.834862 | 10 | 109 | 9.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.100917 | 109 | 2 | 94 | 54.5 | 0.918367 | 0.110092 | 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 |
d54e3560503b5dd94b9ef2b1f63b8e1ccc96eeee | 164 | py | Python | allauth/socialaccount/providers/stripe/urls.py | mina-gaid/scp | 38e1cd303d4728a987df117f666ce194e241ed1a | [
"MIT"
] | 1 | 2018-04-06T21:36:59.000Z | 2018-04-06T21:36:59.000Z | allauth/socialaccount/providers/stripe/urls.py | mina-gaid/scp | 38e1cd303d4728a987df117f666ce194e241ed1a | [
"MIT"
] | 6 | 2020-06-05T18:44:19.000Z | 2022-01-13T00:48:56.000Z | allauth/socialaccount/providers/stripe/urls.py | mina-gaid/scp | 38e1cd303d4728a987df117f666ce194e241ed1a | [
"MIT"
] | 1 | 2022-02-01T17:19:28.000Z | 2022-02-01T17:19:28.000Z | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import StripeProvider
urlpatterns = default_urlpatterns(StripeProvider)
| 32.8 | 75 | 0.878049 | 17 | 164 | 8.352941 | 0.647059 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.073171 | 164 | 4 | 76 | 41 | 0.927632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d56af4bb09c9819923a740a48a9336b6c5056a35 | 42 | py | Python | python_module/sirius/utils/exceptions.py | mtaillefumier/SIRIUS | 50ec1c202c019113c5660f1966b170dec9dfd4d4 | [
"BSD-2-Clause"
] | 77 | 2016-03-18T08:38:30.000Z | 2022-03-11T14:06:25.000Z | python_module/sirius/utils/exceptions.py | simonpintarelli/SIRIUS | f4b5c4810af2a3ea1e67992d65750535227da84b | [
"BSD-2-Clause"
] | 240 | 2016-04-12T16:39:11.000Z | 2022-03-31T08:46:12.000Z | python_module/sirius/utils/exceptions.py | simonpintarelli/SIRIUS | f4b5c4810af2a3ea1e67992d65750535227da84b | [
"BSD-2-Clause"
] | 43 | 2016-03-18T17:45:07.000Z | 2022-02-28T05:27:59.000Z | class NotEnoughBands(Exception):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 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 |
63740319cbdd9993b7493ee891f9371a9c6e02c1 | 256 | py | Python | components/collector/src/source_collectors/sonarqube/duplicated_lines.py | kargaranamir/quality-time | 1c427c61bee9d31c3526f0a01be2218a7e167c23 | [
"Apache-2.0"
] | 33 | 2016-01-20T07:35:48.000Z | 2022-03-14T09:20:51.000Z | components/collector/src/source_collectors/sonarqube/duplicated_lines.py | kargaranamir/quality-time | 1c427c61bee9d31c3526f0a01be2218a7e167c23 | [
"Apache-2.0"
] | 2,410 | 2016-01-22T18:13:01.000Z | 2022-03-31T16:57:34.000Z | components/collector/src/source_collectors/sonarqube/duplicated_lines.py | kargaranamir/quality-time | 1c427c61bee9d31c3526f0a01be2218a7e167c23 | [
"Apache-2.0"
] | 21 | 2016-01-16T11:49:23.000Z | 2022-01-14T21:53:22.000Z | """SonarQube duplicated lines collector."""
from .base import SonarQubeMetricsBaseClass
class SonarQubeDuplicatedLines(SonarQubeMetricsBaseClass):
"""SonarQube duplicated lines collector."""
valueKey = "duplicated_lines"
totalKey = "lines"
| 23.272727 | 58 | 0.765625 | 20 | 256 | 9.75 | 0.6 | 0.230769 | 0.246154 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 256 | 10 | 59 | 25.6 | 0.886364 | 0.292969 | 0 | 0 | 0 | 0 | 0.123529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6386ae51574c0702fa4ae47e2c3e29449d380984 | 71 | py | Python | utils_demo/percentage_format.py | IBM/nesa-demo | 4e87217f44ff66414f78df6962ee8633d89f0cf5 | [
"MIT"
] | 2 | 2021-12-16T13:16:56.000Z | 2022-01-19T14:23:18.000Z | utils_demo/percentage_format.py | SocioProphet/nesa-demo | 4e87217f44ff66414f78df6962ee8633d89f0cf5 | [
"MIT"
] | null | null | null | utils_demo/percentage_format.py | SocioProphet/nesa-demo | 4e87217f44ff66414f78df6962ee8633d89f0cf5 | [
"MIT"
] | 1 | 2022-03-07T19:57:59.000Z | 2022-03-07T19:57:59.000Z | def percentage_format(x: float) -> str:
return f"{(x * 100):.1f}%"
| 23.666667 | 39 | 0.591549 | 11 | 71 | 3.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.183099 | 71 | 2 | 40 | 35.5 | 0.637931 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 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 |
639892302eb62bb4521dec46165a447fd1bb4884 | 370 | py | Python | bitmovin_api_sdk/account/organizations/groups/__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/account/organizations/groups/__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/account/organizations/groups/__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.account.organizations.groups.groups_api import GroupsApi
from bitmovin_api_sdk.account.organizations.groups.tenants.tenants_api import TenantsApi
from bitmovin_api_sdk.account.organizations.groups.invitations.invitations_api import InvitationsApi
from bitmovin_api_sdk.account.organizations.groups.... | 74 | 100 | 0.905405 | 47 | 370 | 6.87234 | 0.319149 | 0.148607 | 0.185759 | 0.22291 | 0.544892 | 0.544892 | 0.544892 | 0 | 0 | 0 | 0 | 0 | 0.043243 | 370 | 4 | 101 | 92.5 | 0.912429 | 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 |
63c88a948245c1382a743f6e1329878390cf91ac | 51,310 | py | Python | gazoo_device/tests/unit_tests/utility_tests/adb_utils_test.py | dedsec-9/gazoo-device | 5ed2867c258da80e53b6aae07ec7a65efe473a28 | [
"Apache-2.0"
] | null | null | null | gazoo_device/tests/unit_tests/utility_tests/adb_utils_test.py | dedsec-9/gazoo-device | 5ed2867c258da80e53b6aae07ec7a65efe473a28 | [
"Apache-2.0"
] | null | null | null | gazoo_device/tests/unit_tests/utility_tests/adb_utils_test.py | dedsec-9/gazoo-device | 5ed2867c258da80e53b6aae07ec7a65efe473a28 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 47.159926 | 80 | 0.717657 | 6,765 | 51,310 | 5.004139 | 0.061641 | 0.056479 | 0.059817 | 0.038283 | 0.853277 | 0.806516 | 0.754113 | 0.716953 | 0.677015 | 0.640475 | 0 | 0.01348 | 0.184564 | 51,310 | 1,087 | 81 | 47.203312 | 0.795626 | 0.100838 | 0 | 0.670857 | 0 | 0 | 0.090209 | 0.01193 | 0 | 0 | 0 | 0 | 0.212571 | 1 | 0.096 | false | 0 | 0.011429 | 0 | 0.108571 | 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 |
63cb3e72171de82701ab61371e19e92285bb291d | 8,866 | py | Python | gbdtmo/gbdtmo.py | samanemami/GBDTMO | 33ee163d5db4dd71dae620c8e1f8295ed33c0a24 | [
"MIT"
] | 2 | 2021-09-15T16:18:15.000Z | 2022-01-12T10:35:18.000Z | gbdtmo/gbdtmo.py | samanemami/GBDTMO | 33ee163d5db4dd71dae620c8e1f8295ed33c0a24 | [
"MIT"
] | null | null | null | gbdtmo/gbdtmo.py | samanemami/GBDTMO | 33ee163d5db4dd71dae620c8e1f8295ed33c0a24 | [
"MIT"
] | null | null | null | import numpy as np
import numpy.ctypeslib as npct
import ctypes
from .histogram import get_bins_maps
from .lib_utils import *
class BoostUtils:
def __init__(self, lib):
self.lib = lib
self._boostnode = None
def _set_gh(self, g, h):
self.lib.SetGH(self._boostnode, g, h)
def _set_b... | 46.663158 | 108 | 0.518498 | 1,037 | 8,866 | 4.197686 | 0.131148 | 0.082702 | 0.034459 | 0.034918 | 0.77349 | 0.744774 | 0.735814 | 0.734436 | 0.732598 | 0.682058 | 0 | 0.012631 | 0.374915 | 8,866 | 189 | 109 | 46.910053 | 0.772826 | 0.003835 | 0 | 0.592593 | 0 | 0 | 0.045073 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 1 | 0.111111 | false | 0 | 0.030864 | 0 | 0.179012 | 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 |
63d0e3d64e13f20d2c0c373757cdad7580a1300b | 4,300 | py | Python | src/utils/plots.py | Light4Code/tensorflow-research | 392c2d7bc376f491fec68d479b130f883d6d028d | [
"MIT"
] | 5 | 2020-02-29T16:28:55.000Z | 2021-11-24T07:47:36.000Z | src/utils/plots.py | Light4Code/tensorflow-research | 392c2d7bc376f491fec68d479b130f883d6d028d | [
"MIT"
] | 3 | 2020-11-13T18:41:57.000Z | 2022-02-10T01:37:51.000Z | src/utils/plots.py | Light4Code/tensorflow-research | 392c2d7bc376f491fec68d479b130f883d6d028d | [
"MIT"
] | 4 | 2020-03-24T10:50:17.000Z | 2020-06-02T13:07:28.000Z | import matplotlib.pyplot as plt
import numpy as np
import numpy.ma as ma
import utils.image_util as iu
from utils.custom_types import Vector
def plot_history(loss, acc, val_loss, val_acc):
plt.figure(figsize=(20, 10))
plt.subplot(2, 1, 1)
plt.title("Loss")
plt.grid()
plt.plot(loss)
plt.plot(v... | 31.851852 | 108 | 0.608837 | 576 | 4,300 | 4.359375 | 0.152778 | 0.033453 | 0.050179 | 0.060534 | 0.75906 | 0.720032 | 0.705297 | 0.700119 | 0.657905 | 0.622461 | 0 | 0.026341 | 0.258372 | 4,300 | 134 | 109 | 32.089552 | 0.761054 | 0 | 0 | 0.701613 | 0 | 0 | 0.05093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.040323 | 0 | 0.072581 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
63d33b671fe35061f0300b274a32b66e28d0a7ac | 80 | py | Python | pypi_starter/__init__.py | wuhaifengdhu/pypi-starter | 3ccb80dd9490f9d65b986350d82f9a20743af17f | [
"Apache-2.0"
] | null | null | null | pypi_starter/__init__.py | wuhaifengdhu/pypi-starter | 3ccb80dd9490f9d65b986350d82f9a20743af17f | [
"Apache-2.0"
] | null | null | null | pypi_starter/__init__.py | wuhaifengdhu/pypi-starter | 3ccb80dd9490f9d65b986350d82f9a20743af17f | [
"Apache-2.0"
] | null | null | null | """
Your application
"""
from submodule.main import *
from main import *
| 11.428571 | 29 | 0.65 | 9 | 80 | 5.777778 | 0.666667 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2375 | 80 | 6 | 30 | 13.333333 | 0.852459 | 0.2 | 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 |
8921c8342da583a53fe7e6baf0b2a3160c459d31 | 52 | py | Python | examples/fore.py | LyQuid12/colorgb | 78addcf85f0e750ca45a7955e5008f7a8a946281 | [
"MIT"
] | 1 | 2022-01-26T10:26:24.000Z | 2022-01-26T10:26:24.000Z | examples/fore.py | LyQuid12/colorgb | 78addcf85f0e750ca45a7955e5008f7a8a946281 | [
"MIT"
] | null | null | null | examples/fore.py | LyQuid12/colorgb | 78addcf85f0e750ca45a7955e5008f7a8a946281 | [
"MIT"
] | null | null | null | import colorgb
print(colorgb.fore("Hi!", "green"))
| 13 | 35 | 0.692308 | 7 | 52 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 3 | 36 | 17.333333 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 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 |
892b0a91946a1df7a1b4680a474c70df84c8c932 | 857 | py | Python | tests/v2/test_team_response_attributes.py | anbnyc/datadog-api-client-python | 162bd0c6f2523a809aec08a3197e85dc74b78c21 | [
"Apache-2.0"
] | null | null | null | tests/v2/test_team_response_attributes.py | anbnyc/datadog-api-client-python | 162bd0c6f2523a809aec08a3197e85dc74b78c21 | [
"Apache-2.0"
] | null | null | null | tests/v2/test_team_response_attributes.py | anbnyc/datadog-api-client-python | 162bd0c6f2523a809aec08a3197e85dc74b78c21 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
import sys
import unittest
import datadog_api_client.v2
from datadog... | 25.969697 | 108 | 0.733956 | 96 | 857 | 6.40625 | 0.71875 | 0.03252 | 0.052033 | 0.058537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017266 | 0.189032 | 857 | 32 | 109 | 26.78125 | 0.867626 | 0.493582 | 0 | 0.230769 | 0 | 0 | 0.019185 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 1 | 0.230769 | false | 0.230769 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
895c1ad530c40f1c5d1fb2b8ed674dd74150a4b7 | 49 | py | Python | urduhack/utils/tests/test_text.py | fahdrazavi/urduhack | a2370b0d8c1ee3f260ff90ca5056f45ed9b73ee8 | [
"MIT"
] | null | null | null | urduhack/utils/tests/test_text.py | fahdrazavi/urduhack | a2370b0d8c1ee3f260ff90ca5056f45ed9b73ee8 | [
"MIT"
] | null | null | null | urduhack/utils/tests/test_text.py | fahdrazavi/urduhack | a2370b0d8c1ee3f260ff90ca5056f45ed9b73ee8 | [
"MIT"
] | null | null | null | # coding: utf8
"""Test cases for text.py file"""
| 16.333333 | 33 | 0.653061 | 8 | 49 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.163265 | 49 | 2 | 34 | 24.5 | 0.756098 | 0.836735 | 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 |
895ceb1226f1223073e975c0eb48dfda8072b8fb | 2,136 | py | Python | performance_test/testcase.py | DeqingQu/CacheControlHelper | d9425ff08253f10ef1028b724418c705f8d58bf5 | [
"MIT"
] | null | null | null | performance_test/testcase.py | DeqingQu/CacheControlHelper | d9425ff08253f10ef1028b724418c705f8d58bf5 | [
"MIT"
] | null | null | null | performance_test/testcase.py | DeqingQu/CacheControlHelper | d9425ff08253f10ef1028b724418c705f8d58bf5 | [
"MIT"
] | null | null | null | from cache_control_helper import CacheControlHelper
import time
import sys
import requests
import requests_cache
requests_cache.install_cache('performance_test')
def get_request(url):
requests = CacheControlHelper()
try:
res = requests.get(url, timeout=120)
except requests.exceptions.Timeout:
... | 28.48 | 86 | 0.598315 | 279 | 2,136 | 4.46595 | 0.207885 | 0.067416 | 0.096308 | 0.154093 | 0.772071 | 0.772071 | 0.772071 | 0.772071 | 0.772071 | 0.772071 | 0 | 0.027886 | 0.27809 | 2,136 | 74 | 87 | 28.864865 | 0.780156 | 0.13015 | 0 | 0.679245 | 0 | 0 | 0.094954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.09434 | 0 | 0.283019 | 0.264151 | 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 |
89b8b74f1ee518f5d1b44c2b1c318c3869dd4dbd | 192 | py | Python | tracedump/pwn_wrapper.py | Mic92/tracedumpd | a84eac58106f1f1d7a82f5dee2a327861e763e4e | [
"MIT"
] | 1 | 2021-03-22T18:04:53.000Z | 2021-03-22T18:04:53.000Z | tracedump/pwn_wrapper.py | Mic92/tracedump | a84eac58106f1f1d7a82f5dee2a327861e763e4e | [
"MIT"
] | null | null | null | tracedump/pwn_wrapper.py | Mic92/tracedump | a84eac58106f1f1d7a82f5dee2a327861e763e4e | [
"MIT"
] | null | null | null | import os
# stop pwnlib from doing fancy things
os.environ["PWNLIB_NOTERM"] = "1"
from pwnlib.elf.corefile import Coredump, Mapping # noqa: E402
from pwnlib.elf.elf import ELF # noqa: E402
| 27.428571 | 63 | 0.75 | 30 | 192 | 4.766667 | 0.566667 | 0.13986 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04321 | 0.15625 | 192 | 6 | 64 | 32 | 0.839506 | 0.296875 | 0 | 0 | 0 | 0 | 0.10687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
982a5a6c85f4198d136ac06c6691b36716f7b587 | 940 | py | Python | sdks/python/test/test_ReleaseUpdateError.py | Brantone/appcenter-sdks | eeb063ecf79908b6e341fb00196d2cd9dc8f3262 | [
"MIT"
] | null | null | null | sdks/python/test/test_ReleaseUpdateError.py | Brantone/appcenter-sdks | eeb063ecf79908b6e341fb00196d2cd9dc8f3262 | [
"MIT"
] | 6 | 2019-10-23T06:38:53.000Z | 2022-01-22T07:57:58.000Z | sdks/python/test/test_ReleaseUpdateError.py | Brantone/appcenter-sdks | eeb063ecf79908b6e341fb00196d2cd9dc8f3262 | [
"MIT"
] | 2 | 2019-10-23T06:31:05.000Z | 2021-08-21T17:32:47.000Z | # coding: utf-8
"""
App Center Client
Microsoft Visual Studio App Center API # noqa: E501
OpenAPI spec version: preview
Contact: benedetto.abbenanti@gmail.com
Project Repository: https://github.com/b3nab/appcenter-sdks
"""
from __future__ import absolute_import
import unittest
import appcente... | 23.5 | 95 | 0.723404 | 98 | 940 | 6.77551 | 0.632653 | 0.036145 | 0.078313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014628 | 0.2 | 940 | 39 | 96 | 24.102564 | 0.868351 | 0.469149 | 0 | 0.214286 | 0 | 0 | 0.017505 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
983a2aeb9ad32099cd6f39c374a89a7d58015b41 | 1,535 | py | Python | campbellsoup/utilities_test.py | NBOCampbellToets/CampbellSoup | 45478c3e5e0362d01af8898078c6621f7b11c191 | [
"PostgreSQL"
] | null | null | null | campbellsoup/utilities_test.py | NBOCampbellToets/CampbellSoup | 45478c3e5e0362d01af8898078c6621f7b11c191 | [
"PostgreSQL"
] | 45 | 2016-11-21T16:01:44.000Z | 2018-05-25T13:35:01.000Z | campbellsoup/utilities_test.py | NBOCampbellToets/CampbellSoup | 45478c3e5e0362d01af8898078c6621f7b11c191 | [
"PostgreSQL"
] | 1 | 2019-02-27T08:04:55.000Z | 2019-02-27T08:04:55.000Z | # (c) 2016 Julian Gonggrijp
from .utilities import *
def test_un_camelcase():
assert un_camelcase('CampbellSoupX') == 'campbell_soup_x'
assert un_camelcase('NBOCampbellToets') == 'n_b_o_campbell_toets'
def test_append_to():
__all__ = []
class Example(object):
pass
@append_to(__all__)
... | 28.425926 | 80 | 0.558306 | 179 | 1,535 | 4.586592 | 0.273743 | 0.227771 | 0.310597 | 0.280146 | 0.511571 | 0.261876 | 0.146163 | 0 | 0 | 0 | 0 | 0.030466 | 0.272964 | 1,535 | 53 | 81 | 28.962264 | 0.705197 | 0.016287 | 0 | 0.133333 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0.422222 | 1 | 0.111111 | false | 0.088889 | 0.022222 | 0 | 0.177778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
986a40624bae1a159be9cd68b43440b563e81ee0 | 208 | py | Python | test.py | Timokasse/rediscache | e5bef0da973bdf53efaaea99b0ed9b41bb331ade | [
"Apache-2.0"
] | null | null | null | test.py | Timokasse/rediscache | e5bef0da973bdf53efaaea99b0ed9b41bb331ade | [
"Apache-2.0"
] | null | null | null | test.py | Timokasse/rediscache | e5bef0da973bdf53efaaea99b0ed9b41bb331ade | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from time import sleep
from rediscache import rediscache
import time, redis
@rediscache(1, 2)
def getTestValue():
return (5, 'toto')
if __name__ == '__main__':
myfunction()
| 13.866667 | 33 | 0.697115 | 27 | 208 | 5.074074 | 0.777778 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0.182692 | 208 | 14 | 34 | 14.857143 | 0.788235 | 0.096154 | 0 | 0 | 0 | 0 | 0.064171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.375 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
98b33ea8451d3967d4ce2088f2eba80859167c6d | 44,549 | py | Python | tests/test_dataset_tensor_backend.py | evendrow/deepsnap | 8d5762bf4a2ef6910ad602895685cac892207ba8 | [
"MIT"
] | null | null | null | tests/test_dataset_tensor_backend.py | evendrow/deepsnap | 8d5762bf4a2ef6910ad602895685cac892207ba8 | [
"MIT"
] | null | null | null | tests/test_dataset_tensor_backend.py | evendrow/deepsnap | 8d5762bf4a2ef6910ad602895685cac892207ba8 | [
"MIT"
] | null | null | null | import copy
import random
import torch
import unittest
from torch_geometric.datasets import TUDataset, Planetoid
from copy import deepcopy
from deepsnap.graph import Graph
from deepsnap.hetero_graph import HeteroGraph
from deepsnap.dataset import GraphDataset, Generator, EnsembleGenerator
from tests.utils import (
... | 35.667734 | 79 | 0.548946 | 5,428 | 44,549 | 4.175387 | 0.033161 | 0.061331 | 0.059919 | 0.040372 | 0.83979 | 0.791828 | 0.732616 | 0.704774 | 0.658269 | 0.637796 | 0 | 0.028584 | 0.352915 | 44,549 | 1,248 | 80 | 35.696314 | 0.757623 | 0.030169 | 0 | 0.571036 | 0 | 0 | 0.017167 | 0 | 0 | 0 | 0 | 0 | 0.108158 | 1 | 0.009166 | false | 0 | 0.009166 | 0 | 0.019248 | 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 |
7f49d895aed1ee10667f68cdf1cd1adf069c4fea | 142 | py | Python | code/textProcessing.py | corollari/BaaCL | 3ebe9ba7c3859243351fe1b12d4eb114bb51b441 | [
"Unlicense"
] | 1 | 2019-03-06T19:43:46.000Z | 2019-03-06T19:43:46.000Z | code/textProcessing.py | corollari/BaaL | 3ebe9ba7c3859243351fe1b12d4eb114bb51b441 | [
"Unlicense"
] | null | null | null | code/textProcessing.py | corollari/BaaL | 3ebe9ba7c3859243351fe1b12d4eb114bb51b441 | [
"Unlicense"
] | null | null | null | def preprocess(text):
text=text.replace('\n', '\n\r')
return text
def getLetter():
return open("./input/letter.txt", "r").read()
| 20.285714 | 49 | 0.605634 | 20 | 142 | 4.3 | 0.65 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 142 | 6 | 50 | 23.666667 | 0.728814 | 0 | 0 | 0 | 0 | 0 | 0.176056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.