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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d372ec4fe639e2ba424e3b573080c21af24fea5 | 104 | py | Python | modulo-08-django-no-python-basico/aula-03/blog/views.py | leandropinheiroalves/python-bas-to-adv | c1ad02f4f53e12cc1a1d2805fa0b1a3aa13c609f | [
"MIT"
] | null | null | null | modulo-08-django-no-python-basico/aula-03/blog/views.py | leandropinheiroalves/python-bas-to-adv | c1ad02f4f53e12cc1a1d2805fa0b1a3aa13c609f | [
"MIT"
] | null | null | null | modulo-08-django-no-python-basico/aula-03/blog/views.py | leandropinheiroalves/python-bas-to-adv | c1ad02f4f53e12cc1a1d2805fa0b1a3aa13c609f | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'blog/index.html')
| 17.333333 | 45 | 0.75 | 14 | 104 | 5.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 46 | 20.8 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 5 |
5d3c577211b5557a301b8c78825bf971329caa4d | 50 | py | Python | src/podspy/graph/drawing/__init__.py | jwllee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | 1 | 2019-02-06T09:26:17.000Z | 2019-02-06T09:26:17.000Z | src/podspy/graph/drawing/__init__.py | wailamjonathanlee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | 12 | 2019-01-02T14:31:17.000Z | 2019-01-22T18:24:03.000Z | src/podspy/graph/drawing/__init__.py | wailamjonathanlee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from . import ps_agraph
| 8.333333 | 23 | 0.7 | 8 | 50 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.18 | 50 | 5 | 24 | 10 | 0.804878 | 0.42 | 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 |
5d4b8d3a88de0fb0534ef8cd30ba22041fb1abe8 | 29 | py | Python | login.py | Jamielee0602/test_github | 35c2f2e9a2b3f4354c3d8ddadec4a4dd4dfdd318 | [
"MIT"
] | null | null | null | login.py | Jamielee0602/test_github | 35c2f2e9a2b3f4354c3d8ddadec4a4dd4dfdd318 | [
"MIT"
] | null | null | null | login.py | Jamielee0602/test_github | 35c2f2e9a2b3f4354c3d8ddadec4a4dd4dfdd318 | [
"MIT"
] | null | null | null | num1 = 1
num2 = 22
num3 = 333 | 9.666667 | 10 | 0.62069 | 6 | 29 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0.275862 | 29 | 3 | 10 | 9.666667 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
5d546f83819bf55f498b137a3e529c09ec9392df | 56 | py | Python | mantisshrimp/parsers/mixins/__init__.py | ramaneswaran/mantisshrimp | d30c056f1f9f26a2ce42da73cfb32d591321f426 | [
"Apache-2.0"
] | null | null | null | mantisshrimp/parsers/mixins/__init__.py | ramaneswaran/mantisshrimp | d30c056f1f9f26a2ce42da73cfb32d591321f426 | [
"Apache-2.0"
] | 8 | 2020-06-16T18:06:42.000Z | 2020-09-15T22:35:56.000Z | mantisshrimp/parsers/mixins/__init__.py | ramaneswaran/mantisshrimp | d30c056f1f9f26a2ce42da73cfb32d591321f426 | [
"Apache-2.0"
] | null | null | null | from mantisshrimp.parsers.mixins.parser_mixins import *
| 28 | 55 | 0.857143 | 7 | 56 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.903846 | 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 |
5372bf29a55c72ec308a23fa0967202295835e9e | 94 | py | Python | openchat/openchat/__init__.py | inspur-hsslab/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 23 | 2021-06-26T08:45:19.000Z | 2022-03-02T02:13:33.000Z | openchat/openchat/__init__.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | null | null | null | openchat/openchat/__init__.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 9 | 2021-06-10T02:36:20.000Z | 2021-11-09T02:18:16.000Z | # from openchat.openchat import OpenChat
from .openchat import OpenChat
__all__ = [OpenChat]
| 18.8 | 40 | 0.797872 | 11 | 94 | 6.454545 | 0.363636 | 0.338028 | 0.619718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 4 | 41 | 23.5 | 0.876543 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
539b8f93c3fe7952a1a20333ff63bdd00ca6506f | 188 | py | Python | config.py | Don-1/info3180-project1 | 8ac5871a3b9ff1682232d15ba5ea125fce5519da | [
"MIT"
] | null | null | null | config.py | Don-1/info3180-project1 | 8ac5871a3b9ff1682232d15ba5ea125fce5519da | [
"MIT"
] | null | null | null | config.py | Don-1/info3180-project1 | 8ac5871a3b9ff1682232d15ba5ea125fce5519da | [
"MIT"
] | null | null | null | WTF_CSRF_ENABLED = True
SECRET_KEY = 'tyke'
SQLALCHEMY_DATABASE_URI = "postgresql://uwpsqxbjlaxvpc:z-lFkC_0QaPfx_12efrqa9ahiQ@ec2-23-21-231-14.compute-1.amazonaws.com:5432/d3h24ba0ni3gjs"
| 47 | 143 | 0.829787 | 27 | 188 | 5.518519 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134078 | 0.047872 | 188 | 3 | 144 | 62.666667 | 0.698324 | 0 | 0 | 0 | 0 | 0.333333 | 0.632979 | 0.611702 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53b4f63b7481538a55580d553151525b25c3854f | 76 | py | Python | uts/uts_17_aut_py/1/E.py | viad00/code_olymp | 90f20f9fd075e8967d02baf7554fcf24f4ae089c | [
"MIT"
] | null | null | null | uts/uts_17_aut_py/1/E.py | viad00/code_olymp | 90f20f9fd075e8967d02baf7554fcf24f4ae089c | [
"MIT"
] | null | null | null | uts/uts_17_aut_py/1/E.py | viad00/code_olymp | 90f20f9fd075e8967d02baf7554fcf24f4ae089c | [
"MIT"
] | null | null | null | from collections import Counter
print(Counter(input()).most_common()[0][0])
| 25.333333 | 43 | 0.763158 | 11 | 76 | 5.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.065789 | 76 | 2 | 44 | 38 | 0.774648 | 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 |
53c626d2fb0a8a02b3d765489181284f116e7f9b | 99 | py | Python | core/manifolds/__init__.py | GuodongQi/FSL-OM | 926d486325f8d59dc98dcf829c28dc77e6be6d7e | [
"MIT"
] | 1 | 2021-11-24T02:20:01.000Z | 2021-11-24T02:20:01.000Z | core/manifolds/__init__.py | GuodongQi/FSL-OM | 926d486325f8d59dc98dcf829c28dc77e6be6d7e | [
"MIT"
] | 1 | 2021-11-24T02:22:31.000Z | 2021-11-27T03:07:35.000Z | core/manifolds/__init__.py | GuodongQi/FSL-OM | 926d486325f8d59dc98dcf829c28dc77e6be6d7e | [
"MIT"
] | 1 | 2022-01-15T03:35:09.000Z | 2022-01-15T03:35:09.000Z | from .base import ManifoldParameter
from .euclidean import Euclidean
from .oblique import Oblique | 33 | 36 | 0.838384 | 12 | 99 | 6.916667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 3 | 37 | 33 | 0.965116 | 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 |
53d5ccf59945139e1cbe99e0c63d48b031e6f1db | 224 | py | Python | users/models.py | gptakhil/Django-Custom-User-Authentication | a549e52deae759e99bb431da44880a23cb8e6dab | [
"MIT"
] | null | null | null | users/models.py | gptakhil/Django-Custom-User-Authentication | a549e52deae759e99bb431da44880a23cb8e6dab | [
"MIT"
] | null | null | null | users/models.py | gptakhil/Django-Custom-User-Authentication | a549e52deae759e99bb431da44880a23cb8e6dab | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AbstractUser
from django.db import models
class CustomUser(AbstractUser):
name = models.CharField(blank=True, max_length=255)
def __str__(self):
return self.email
| 24.888889 | 55 | 0.741071 | 29 | 224 | 5.551724 | 0.758621 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016304 | 0.178571 | 224 | 8 | 56 | 28 | 0.858696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
53f7f279a35855f2be7fbe74de1a492f5b03abaa | 63 | py | Python | src/rxn_network/fireworks/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 29 | 2020-08-04T07:07:04.000Z | 2022-02-22T22:09:20.000Z | src/rxn_network/fireworks/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 70 | 2021-02-22T07:01:40.000Z | 2022-03-31T20:11:56.000Z | src/rxn_network/fireworks/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 3 | 2021-04-20T09:29:39.000Z | 2022-02-02T17:43:52.000Z | from rxn_network.fireworks.core import EnumeratorFW, NetworkFW
| 31.5 | 62 | 0.873016 | 8 | 63 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 63 | 1 | 63 | 63 | 0.931034 | 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 |
54d219e80dd4bf9c60e5886e01a1a048177d04dd | 49 | py | Python | tutorial/feature_detection_description/ORB.py | scotthuang1989/opencv_study | 9b6354907609c9841915f6300ee5915a9d80906f | [
"MIT"
] | null | null | null | tutorial/feature_detection_description/ORB.py | scotthuang1989/opencv_study | 9b6354907609c9841915f6300ee5915a9d80906f | [
"MIT"
] | null | null | null | tutorial/feature_detection_description/ORB.py | scotthuang1989/opencv_study | 9b6354907609c9841915f6300ee5915a9d80906f | [
"MIT"
] | 1 | 2018-04-16T13:57:14.000Z | 2018-04-16T13:57:14.000Z | """
An efficient alternative to SIFT or SURF
"""
| 12.25 | 40 | 0.693878 | 7 | 49 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 3 | 41 | 16.333333 | 0.85 | 0.816327 | 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 |
54d663725f1fe5a7e33b6e35738d768cd0b21945 | 55 | py | Python | award/__init__.py | kgullikson88/AWARD_algorithm | ab2849dcd9cee0d0009d88c844919de955a42ce2 | [
"MIT"
] | 1 | 2022-03-27T06:09:16.000Z | 2022-03-27T06:09:16.000Z | award/__init__.py | kgullikson88/AWARD_algorithm | ab2849dcd9cee0d0009d88c844919de955a42ce2 | [
"MIT"
] | 2 | 2017-07-12T08:03:04.000Z | 2020-08-24T09:37:24.000Z | award/__init__.py | kgullikson88/AWARD_algorithm | ab2849dcd9cee0d0009d88c844919de955a42ce2 | [
"MIT"
] | null | null | null | from .algorithms import DTW_Metric, NaiveRankReduction
| 27.5 | 54 | 0.872727 | 6 | 55 | 7.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 1 | 55 | 55 | 0.94 | 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 |
54effb215f8caba59665c6a70742112aef9514d2 | 92 | py | Python | test_app.py | dev-11/aws-sandbox | bd7ae76d67e912380537e5c290edad777f6e847d | [
"MIT"
] | null | null | null | test_app.py | dev-11/aws-sandbox | bd7ae76d67e912380537e5c290edad777f6e847d | [
"MIT"
] | null | null | null | test_app.py | dev-11/aws-sandbox | bd7ae76d67e912380537e5c290edad777f6e847d | [
"MIT"
] | 1 | 2020-04-09T13:55:20.000Z | 2020-04-09T13:55:20.000Z | import unittest
class ClassTests(unittest.TestCase):
def test_01(self):
pass
| 11.5 | 36 | 0.684783 | 11 | 92 | 5.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.23913 | 92 | 7 | 37 | 13.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
54f037ed062fa99c2da108b9b29a5d4dc07ea0c1 | 88 | py | Python | ontology/logistic_regression/sherlock/listify_circuits_k33_reverse.py | ehbeam/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 15 | 2020-07-17T07:10:26.000Z | 2022-02-18T05:51:45.000Z | ontology/neural_network/sherlock/listify_circuits_k33_reverse.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 2 | 2022-01-14T09:10:12.000Z | 2022-01-28T17:32:42.000Z | ontology/neural_network/sherlock/listify_circuits_k33_reverse.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 4 | 2021-12-22T13:27:32.000Z | 2022-02-18T05:51:47.000Z | #!/bin/python
import listify_circuits
listify_circuits.optimize_circuits(33, 'reverse') | 22 | 49 | 0.829545 | 11 | 88 | 6.363636 | 0.727273 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.056818 | 88 | 4 | 49 | 22 | 0.819277 | 0.136364 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0733c06001709fb05457e06e5e2a8f62a039f120 | 80 | py | Python | library/downloader/metadata/models/__init__.py | averagecryptopunk/averagecryptopunk | 1934387675965c5a9061af91e7bea42d2f98306f | [
"MIT"
] | 1 | 2021-12-06T10:49:03.000Z | 2021-12-06T10:49:03.000Z | library/downloader/metadata/models/__init__.py | averagecryptopunk/averagecryptopunk | 1934387675965c5a9061af91e7bea42d2f98306f | [
"MIT"
] | null | null | null | library/downloader/metadata/models/__init__.py | averagecryptopunk/averagecryptopunk | 1934387675965c5a9061af91e7bea42d2f98306f | [
"MIT"
] | null | null | null | from .enums import PunkType, Acccessory
from .punk_metadata import PunkMetadata | 26.666667 | 39 | 0.85 | 10 | 80 | 6.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 3 | 40 | 26.666667 | 0.943662 | 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 |
07558e1b9cdc2b2ef987f9b75807595187b52856 | 21 | py | Python | helloworld.py | EkBalam/evolutionatyComputation | 171274bfd5b19b3ec75ffcbbded5b309c628c597 | [
"MIT"
] | null | null | null | helloworld.py | EkBalam/evolutionatyComputation | 171274bfd5b19b3ec75ffcbbded5b309c628c597 | [
"MIT"
] | null | null | null | helloworld.py | EkBalam/evolutionatyComputation | 171274bfd5b19b3ec75ffcbbded5b309c628c597 | [
"MIT"
] | null | null | null | print('Hello Wordl')
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 21 | 1 | 21 | 21 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4afda406e9c58b09e33969b8c16331cb73a0ad86 | 56 | py | Python | Lib/test/badsyntax_async4.py | pierriko/cpython | e388c43f849b88b3927572f0d5e4125fb909033b | [
"PSF-2.0"
] | 70 | 2015-06-20T17:59:24.000Z | 2021-05-03T02:01:49.000Z | Lib/test/badsyntax_async4.py | pierriko/cpython | e388c43f849b88b3927572f0d5e4125fb909033b | [
"PSF-2.0"
] | 16 | 2015-06-11T14:57:43.000Z | 2016-12-03T00:22:13.000Z | Lib/test/badsyntax_async4.py | pierriko/cpython | e388c43f849b88b3927572f0d5e4125fb909033b | [
"PSF-2.0"
] | 36 | 2015-05-15T20:30:44.000Z | 2020-11-14T19:31:40.000Z | async def foo():
async def foo(): await something()
| 18.666667 | 38 | 0.642857 | 8 | 56 | 4.5 | 0.625 | 0.444444 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 2 | 39 | 28 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab19c71b174d350183e2cb2bbf357cc7c52eed46 | 159 | py | Python | api/fixtures/user.py | lsmiley/esstools-api-server-django | dec88de7fcc2d07feed3c37831788be1550e5787 | [
"MIT"
] | 11 | 2021-07-20T03:09:55.000Z | 2022-02-16T21:39:43.000Z | api/fixtures/user.py | lsmiley/esstools-api-server-django | dec88de7fcc2d07feed3c37831788be1550e5787 | [
"MIT"
] | 8 | 2021-07-20T02:03:38.000Z | 2021-07-20T11:37:36.000Z | api/fixtures/user.py | lsmiley/esstools-api-server-django | dec88de7fcc2d07feed3c37831788be1550e5787 | [
"MIT"
] | 8 | 2021-07-20T16:57:08.000Z | 2022-03-03T06:40:12.000Z | from api.user.models import User
user_data = {"username": "admin", "password": "12345678", "email": "teast@admin.com"}
User.objects.create_user(**user_data)
| 26.5 | 85 | 0.716981 | 22 | 159 | 5.045455 | 0.681818 | 0.144144 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.09434 | 159 | 5 | 86 | 31.8 | 0.715278 | 0 | 0 | 0 | 0 | 0 | 0.308176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
ab3eb05ace63beeaae3f58645633fef34a438499 | 95 | py | Python | python/testData/quickFixes/PyAddImportQuickFixTest/addParenthesesAndTrailingCommaToUpdatedFromImport/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyAddImportQuickFixTest/addParenthesesAndTrailingCommaToUpdatedFromImport/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyAddImportQuickFixTest/addParenthesesAndTrailingCommaToUpdatedFromImport/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from module import foo
print(foo, <error descr="Unresolved reference 'bar'">b<caret>ar</error>) | 47.5 | 72 | 0.757895 | 15 | 95 | 4.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 2 | 72 | 47.5 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
ab51a2954232116a4cb386b3bfd57f9c4be4859a | 135 | py | Python | include/tclap-1.4.0-rc1/tests/test24.py | SpaceKatt/cpp-cli-poc | 02ffefea2fc6e999fa2b27d08a8b3be6830b1b97 | [
"BSL-1.0"
] | 62 | 2021-09-21T18:58:02.000Z | 2022-03-07T02:17:43.000Z | third_party/tclap-1.4.0-rc1/tests/test24.py | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | third_party/tclap-1.4.0-rc1/tests/test24.py | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import simple_test
simple_test.test("test5", ["--aaa", "dilbert", "-b", "asdf", "-c", "fdas", ], expect_fail=True)
| 22.5 | 95 | 0.622222 | 19 | 135 | 4.263158 | 0.842105 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.103704 | 135 | 5 | 96 | 27 | 0.661157 | 0.118519 | 0 | 0 | 0 | 0 | 0.245763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
db8c43553c3b6cad938e1c37146649631d012ed4 | 204 | py | Python | resources/usr/local/lib/python2.7/dist-packages/bx/intervals/__init__.py | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | 2 | 2019-07-29T04:12:46.000Z | 2020-06-01T00:35:51.000Z | resources/usr/local/lib/python2.7/dist-packages/bx/intervals/__init__.py | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | 1 | 2021-09-11T14:30:32.000Z | 2021-09-11T14:30:32.000Z | resources/usr/local/lib/python2.7/dist-packages/bx/intervals/__init__.py | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | 2 | 2016-12-19T02:27:46.000Z | 2019-07-29T02:53:54.000Z | """
Tools and data structures for working with genomic intervals (or sets of
regions on a line in general) efficiently.
"""
# For compatiblity with existing stuff
from bx.intervals.intersection import * | 29.142857 | 73 | 0.779412 | 29 | 204 | 5.482759 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 204 | 7 | 74 | 29.142857 | 0.924419 | 0.754902 | 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 |
db91b7158c4ee9aa653462fe38e79ed1b553db87 | 747 | py | Python | venv/Lib/site-packages/cffi/lock.py | gilbertekalea/booking.com_crawler | 71e52c87cd72a77f80a3e5fc0af0e1a68a5712ae | [
"MIT"
] | 9,953 | 2019-04-03T23:41:04.000Z | 2022-03-31T11:54:44.000Z | venv/Lib/site-packages/cffi/lock.py | gilbertekalea/booking.com_crawler | 71e52c87cd72a77f80a3e5fc0af0e1a68a5712ae | [
"MIT"
] | 713 | 2015-11-06T10:48:58.000Z | 2018-11-27T16:32:18.000Z | lib/python2.7/site-packages/cffi/lock.py | anish03/weather-dash | d517fa9da9028d1fc5d8fd71d77cee829ddee87b | [
"MIT"
] | 2,803 | 2019-04-06T13:15:33.000Z | 2022-03-31T07:42:01.000Z | import sys
if sys.version_info < (3,):
try:
from thread import allocate_lock
except ImportError:
from dummy_thread import allocate_lock
else:
try:
from _thread import allocate_lock
except ImportError:
from _dummy_thread import allocate_lock
##import sys
##l1 = allocate... | 24.096774 | 47 | 0.610442 | 94 | 747 | 4.457447 | 0.43617 | 0.171838 | 0.190931 | 0.229117 | 0.386635 | 0.386635 | 0.386635 | 0.386635 | 0.386635 | 0.386635 | 0 | 0.01105 | 0.273092 | 747 | 30 | 48 | 24.9 | 0.760589 | 0.547523 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.636364 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dbdde38c2ecc0c32ad746344ac1795534d17b749 | 75 | py | Python | sortingview/workspace/__init__.py | garrettmflynn/sortingview | 0bb3df40d5d031ec651c4821f928787bbee71fbb | [
"Apache-2.0"
] | 2 | 2021-11-19T04:51:42.000Z | 2022-03-12T23:36:19.000Z | sortingview/workspace/__init__.py | magland/sortingview | 0b1be9d55048cd4b8a0b6b6733bd7d35cb440aa7 | [
"Apache-2.0"
] | 172 | 2021-05-10T17:39:15.000Z | 2022-03-18T21:46:15.000Z | sortingview/workspace/__init__.py | garrettmflynn/sortingview | 0bb3df40d5d031ec651c4821f928787bbee71fbb | [
"Apache-2.0"
] | 2 | 2021-08-29T20:13:57.000Z | 2022-03-12T23:36:34.000Z | from .workspace import Workspace
from .load_workspace import load_workspace | 37.5 | 42 | 0.88 | 10 | 75 | 6.4 | 0.4 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 2 | 42 | 37.5 | 0.941176 | 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 |
9159074dfff6c299102d168d953ff070d75258d7 | 1,309 | py | Python | braidgenerator/decorators/braidword.py | MicheleVidulis/Knots | 983fa8e1aa53d24446f1c8b2c848dc176be14ba7 | [
"MIT"
] | 7 | 2019-07-06T15:23:25.000Z | 2022-01-24T00:57:30.000Z | braidgenerator/decorators/braidword.py | MicheleVidulis/Knots | 983fa8e1aa53d24446f1c8b2c848dc176be14ba7 | [
"MIT"
] | 2 | 2021-07-23T14:11:04.000Z | 2021-07-23T14:34:28.000Z | braidgenerator/decorators/braidword.py | MicheleVidulis/Knots | 983fa8e1aa53d24446f1c8b2c848dc176be14ba7 | [
"MIT"
] | 2 | 2021-07-23T14:17:24.000Z | 2021-11-29T13:04:08.000Z | # Decorator to check params of BraidWord
def checkparams_braidword(func: 'func') -> 'func':
def wrapper(*args, **kwargs):
if len(args) > 1: # args will have self since for class
initword = args[1]
# Check if type is not list
if not isinstance(initword, list):
... | 39.666667 | 71 | 0.52712 | 144 | 1,309 | 4.784722 | 0.361111 | 0.040639 | 0.03193 | 0.037736 | 0.716981 | 0.716981 | 0.716981 | 0.716981 | 0.716981 | 0.716981 | 0 | 0.006337 | 0.39725 | 1,309 | 32 | 72 | 40.90625 | 0.86692 | 0.146677 | 0 | 0.68 | 0 | 0 | 0.218018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0 | 0 | 0.2 | 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 |
91597271e2dd8016324f9d6aee14e7c8709f154f | 84 | py | Python | pypoly/__init__.py | tchaumeny/PyPoly | 8e3f244bc5079eede02fc6f26a5d8006acfc7a4e | [
"MIT"
] | 5 | 2015-01-30T13:07:57.000Z | 2020-05-26T22:26:32.000Z | pypoly/__init__.py | tchaumeny/PyPoly | 8e3f244bc5079eede02fc6f26a5d8006acfc7a4e | [
"MIT"
] | 1 | 2017-08-14T07:41:27.000Z | 2017-10-28T03:40:39.000Z | pypoly/__init__.py | tchaumeny/PyPoly | 8e3f244bc5079eede02fc6f26a5d8006acfc7a4e | [
"MIT"
] | 3 | 2015-05-19T04:19:50.000Z | 2017-10-24T07:28:51.000Z | from _pypoly import *
from pypoly.version import __version__
X = Polynomial(0, 1)
| 14 | 38 | 0.761905 | 12 | 84 | 4.916667 | 0.666667 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.166667 | 84 | 5 | 39 | 16.8 | 0.814286 | 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 |
9163959e941189848d893f02482107fac9570f8e | 26 | py | Python | src/vitalert/__init__.py | Vitalert/vitalert-python | 6ee91063412320cb561634de73ad8522a1453c50 | [
"MIT"
] | null | null | null | src/vitalert/__init__.py | Vitalert/vitalert-python | 6ee91063412320cb561634de73ad8522a1453c50 | [
"MIT"
] | null | null | null | src/vitalert/__init__.py | Vitalert/vitalert-python | 6ee91063412320cb561634de73ad8522a1453c50 | [
"MIT"
] | null | null | null | from .vita import Vitalert | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
9182fa1a87989cd085572fe0820be63fbc78b6c5 | 2,913 | py | Python | mesonbuild/linkers/__init__.py | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | 2 | 2020-01-17T19:23:16.000Z | 2022-02-03T18:28:03.000Z | mesonbuild/linkers/__init__.py | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | 1 | 2021-07-27T22:30:20.000Z | 2021-07-27T22:30:20.000Z | mesonbuild/linkers/__init__.py | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | null | null | null | # Copyright 2012-2021 The Meson development team
# 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 agree... | 22.937008 | 74 | 0.710264 | 216 | 2,913 | 9.476852 | 0.560185 | 0.029311 | 0.012702 | 0.015633 | 0.751343 | 0.751343 | 0.751343 | 0.71617 | 0.71617 | 0.71617 | 0 | 0.015618 | 0.20872 | 2,913 | 126 | 75 | 23.119048 | 0.872451 | 0.202197 | 0 | 0 | 0 | 0 | 0.336651 | 0.100389 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.02 | 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 |
9184f6744a6e832a09209773e59d669bb5dd8771 | 1,773 | py | Python | tests/3rdparty/object_detection_trainer.py | opencollective/CVTron | fd111d734fed4008ba9d04d18c359dbd441a1897 | [
"Apache-2.0"
] | 94 | 2018-03-31T06:32:50.000Z | 2020-09-25T10:19:23.000Z | tests/3rdparty/object_detection_trainer.py | opencollective/CVTron | fd111d734fed4008ba9d04d18c359dbd441a1897 | [
"Apache-2.0"
] | 98 | 2018-04-02T15:55:25.000Z | 2020-04-06T09:35:36.000Z | tests/3rdparty/object_detection_trainer.py | opencollective/CVTron | fd111d734fed4008ba9d04d18c359dbd441a1897 | [
"Apache-2.0"
] | 18 | 2018-07-10T22:54:19.000Z | 2021-03-23T05:17:39.000Z | # trainer test
from cvtron.trainers.detector.object_detection_trainer import ObjectDetectionTrainer
# train_config = {'pipeline_config_file':'/media/sfermi/Programming/temp/test/ssd_inception_v2.config',
# 'train_dir':'/media/sfermi/Programming/temp/cvtron-objdet/2017',
# 'weblog_dir':'/media/sferm... | 41.232558 | 168 | 0.736041 | 212 | 1,773 | 5.929245 | 0.259434 | 0.148767 | 0.297534 | 0.330947 | 0.752586 | 0.694511 | 0.527446 | 0.371519 | 0.147176 | 0.100239 | 0 | 0.012755 | 0.115623 | 1,773 | 43 | 169 | 41.232558 | 0.788903 | 0.230118 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
91a4e4ef8d3e1b1d7589e66bf310fb13372b6170 | 179 | py | Python | mnulfi/__init__.py | EiffL/MnuLFI | b3f3c7194ebe2682cda15c30186b84ab0cc77b35 | [
"MIT"
] | 2 | 2019-05-03T16:26:38.000Z | 2020-10-19T22:32:23.000Z | mnulfi/__init__.py | EiffL/MnuLFI | b3f3c7194ebe2682cda15c30186b84ab0cc77b35 | [
"MIT"
] | 10 | 2019-04-22T20:33:07.000Z | 2019-10-15T00:18:26.000Z | mnulfi/__init__.py | EiffL/MnuLFI | b3f3c7194ebe2682cda15c30186b84ab0cc77b35 | [
"MIT"
] | 4 | 2019-04-02T11:46:12.000Z | 2020-02-25T23:32:32.000Z | import os
# Path to data files required for cosmos
_MNULFI_DATA_DIR=os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data')
def dat_dir():
return _MNULFI_DATA_DIR
| 22.375 | 82 | 0.765363 | 30 | 179 | 4.2 | 0.6 | 0.190476 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122905 | 179 | 7 | 83 | 25.571429 | 0.802548 | 0.212291 | 0 | 0 | 0 | 0 | 0.028777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
91c4e995398334b68528ee3bab449ec8b9f39c99 | 1,406 | py | Python | test/controllers/user/test_preferences.py | kaeawc/django-auth-example | 1a3023fe1b536cd91323156fe0f1a109b2fe7c8c | [
"MIT"
] | null | null | null | test/controllers/user/test_preferences.py | kaeawc/django-auth-example | 1a3023fe1b536cd91323156fe0f1a109b2fe7c8c | [
"MIT"
] | null | null | null | test/controllers/user/test_preferences.py | kaeawc/django-auth-example | 1a3023fe1b536cd91323156fe0f1a109b2fe7c8c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*
from test.account import Account
from test.account import AccountTestCase
class GetUserPreferencesSpec(AccountTestCase):
def test_success(self):
"""
A user should be able to get preferences with valid credentials
"""
email = Account.create_email()
p... | 31.244444 | 83 | 0.679943 | 163 | 1,406 | 5.791411 | 0.306748 | 0.082627 | 0.076271 | 0.110169 | 0.771186 | 0.771186 | 0.771186 | 0.722458 | 0.633475 | 0.633475 | 0 | 0.000942 | 0.244666 | 1,406 | 45 | 84 | 31.244444 | 0.887947 | 0.216216 | 0 | 0.6 | 0 | 0 | 0.022814 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0.3 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
91c8443600a4310c5bc23fdbfe8b047a814525f7 | 213 | py | Python | Darlington/phase-3/python challenge/day 90 solution/qtn1.py | darlcruz/python-challenge-solutions | 3e03a420d01177b71750d4d1b84cb3cbbf8c6900 | [
"MIT"
] | null | null | null | Darlington/phase-3/python challenge/day 90 solution/qtn1.py | darlcruz/python-challenge-solutions | 3e03a420d01177b71750d4d1b84cb3cbbf8c6900 | [
"MIT"
] | null | null | null | Darlington/phase-3/python challenge/day 90 solution/qtn1.py | darlcruz/python-challenge-solutions | 3e03a420d01177b71750d4d1b84cb3cbbf8c6900 | [
"MIT"
] | null | null | null | #program to add the digits of a positive integer repeatedly until the result has a single digit.
def add_digits(num):
return (num - 1) % 9 + 1 if num > 0 else 0
print(add_digits(48))
print(add_digits(59)) | 35.5 | 96 | 0.70892 | 39 | 213 | 3.794872 | 0.666667 | 0.182432 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052941 | 0.201878 | 213 | 6 | 97 | 35.5 | 0.817647 | 0.446009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 5 |
37cfc922dc6d9353b0f7d8bf398603ecb00f85a8 | 33 | py | Python | dynastes/models/__init__.py | dynastes-team/dynastes | 931b6d9ac83862eb39c2f5144c95b952e9efcd8e | [
"MIT"
] | 7 | 2020-01-18T14:28:04.000Z | 2021-11-10T16:46:34.000Z | dynastes/models/__init__.py | veqtor/dynastes | 931b6d9ac83862eb39c2f5144c95b952e9efcd8e | [
"MIT"
] | null | null | null | dynastes/models/__init__.py | veqtor/dynastes | 931b6d9ac83862eb39c2f5144c95b952e9efcd8e | [
"MIT"
] | null | null | null | from . import growing_gan_models
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 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 |
37df7f06e5ae01e623da324b2ae5b4cd1f0394bd | 9,432 | py | Python | Segmentation_UGSCNN/UG-SCNN/meshcnn/ops.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 2 | 2021-12-04T07:04:56.000Z | 2021-12-13T16:28:50.000Z | Segmentation_UGSCNN/UG-SCNN/meshcnn/ops.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 1 | 2021-12-21T09:36:11.000Z | 2022-01-25T10:26:43.000Z | Segmentation_UGSCNN/UG-SCNN/meshcnn/ops.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 1 | 2022-02-27T17:38:19.000Z | 2022-02-27T17:38:19.000Z | import math
import pickle, gzip
import os
import torch
from torch import nn
from torch.nn.parameter import Parameter
from meshcnn.utils import sparse2tensor, spmatmul
class _MeshConv(nn.Module):
def __init__(self, in_channels, out_channels, mesh_file, stride=1, bias=True):
assert stride in [1, 2]
... | 43.465438 | 115 | 0.584606 | 1,287 | 9,432 | 4.101787 | 0.114996 | 0.031824 | 0.034097 | 0.01989 | 0.77079 | 0.730441 | 0.716045 | 0.710551 | 0.704679 | 0.673612 | 0 | 0.029074 | 0.28891 | 9,432 | 216 | 116 | 43.666667 | 0.758014 | 0.066158 | 0 | 0.626374 | 0 | 0 | 0.009567 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 1 | 0.065934 | false | 0 | 0.038462 | 0.005495 | 0.164835 | 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 |
37edbdc88380b96b41f6a7a9b650f9c348e34c69 | 68 | py | Python | src/hub/dataload/sources/clingen/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 78 | 2017-05-26T08:38:25.000Z | 2022-02-25T08:55:31.000Z | src/hub/dataload/sources/clingen/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 105 | 2017-06-28T17:26:06.000Z | 2022-03-17T17:49:53.000Z | src/hub/dataload/sources/clingen/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 19 | 2017-06-12T18:31:54.000Z | 2021-11-10T00:04:43.000Z | from .dump import ClingenDumper
from .upload import ClingenUploader
| 22.666667 | 35 | 0.852941 | 8 | 68 | 7.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 36 | 34 | 0.966667 | 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 |
37eddb4d84d57e2fa2280707335210527f0713ce | 319 | py | Python | trie/exceptions.py | Bhargavasomu/py-trie | e407ff8243ce434a8ed2340c82959c023eff8db2 | [
"MIT"
] | 4 | 2019-06-19T05:37:48.000Z | 2021-07-09T16:05:57.000Z | trie/exceptions.py | Bhargavasomu/py-trie | e407ff8243ce434a8ed2340c82959c023eff8db2 | [
"MIT"
] | null | null | null | trie/exceptions.py | Bhargavasomu/py-trie | e407ff8243ce434a8ed2340c82959c023eff8db2 | [
"MIT"
] | 1 | 2019-02-27T21:29:16.000Z | 2019-02-27T21:29:16.000Z | class InvalidNibbles(Exception):
pass
class InvalidNode(Exception):
pass
class ValidationError(Exception):
pass
class BadTrieProof(Exception):
pass
class NodeOverrideError(Exception):
pass
class InvalidKeyError(Exception):
pass
class SyncRequestAlreadyProcessed(Exception):
pass
| 11.814815 | 45 | 0.742947 | 28 | 319 | 8.464286 | 0.357143 | 0.383966 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191223 | 319 | 26 | 46 | 12.269231 | 0.918605 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
532a75403037c20f7e24d740d819abf54b5af143 | 226 | py | Python | accessibility/serializers/__init__.py | codepointtku/respa | bb9cd8459d5562569f976dbc609ec41ceecc8023 | [
"MIT"
] | 1 | 2019-12-17T10:02:17.000Z | 2019-12-17T10:02:17.000Z | accessibility/serializers/__init__.py | codepointtku/respa | bb9cd8459d5562569f976dbc609ec41ceecc8023 | [
"MIT"
] | 38 | 2020-01-24T11:30:53.000Z | 2022-01-28T12:42:47.000Z | accessibility/serializers/__init__.py | digipointtku/respa | a529e0df4d3f072df7801adb5bf97a5f4abd1243 | [
"MIT"
] | 14 | 2020-02-26T08:17:34.000Z | 2021-09-14T07:57:21.000Z | from .accessibility import ServicePointSerializer, ServiceRequirementSerializer, ServicePointUpdateSerializer
__all__ = (
'ServicePointSerializer',
'ServiceRequirementSerializer',
'ServicePointUpdateSerializer'
) | 28.25 | 109 | 0.823009 | 10 | 226 | 18.2 | 0.7 | 0.549451 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 226 | 8 | 110 | 28.25 | 0.91 | 0 | 0 | 0 | 0 | 0 | 0.343612 | 0.343612 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
72594976f085a6f6f9a6659a2647562a50438216 | 192 | py | Python | qwebirc/engines/__init__.py | bqv/qwebirc | 00518f65c76669d68d229bf0fdd622809a27ac3c | [
"BSD-3-Clause"
] | null | null | null | qwebirc/engines/__init__.py | bqv/qwebirc | 00518f65c76669d68d229bf0fdd622809a27ac3c | [
"BSD-3-Clause"
] | 1 | 2016-10-31T14:58:22.000Z | 2016-11-09T08:06:37.000Z | qwebirc/engines/__init__.py | bqv/qwebirc | 00518f65c76669d68d229bf0fdd622809a27ac3c | [
"BSD-3-Clause"
] | null | null | null | from ajaxengine import AJAXEngine
from adminengine import AdminEngine
from staticengine import StaticEngine
from feedbackengine import FeedbackEngine
from authgateengine import AuthgateEngine
| 32 | 41 | 0.895833 | 20 | 192 | 8.6 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 192 | 5 | 42 | 38.4 | 1 | 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 |
725965fa433ed31b1b00fe3c66ae3163ac549116 | 52 | py | Python | pyxb/bundles/opengis/iso19139/gss.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | pyxb/bundles/opengis/iso19139/gss.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | pyxb/bundles/opengis/iso19139/gss.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | from pyxb.bundles.opengis.iso19139.raw.gss import *
| 26 | 51 | 0.807692 | 8 | 52 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0.076923 | 52 | 1 | 52 | 52 | 0.770833 | 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 |
725ca734efcdb6996b60035647cca0cafc0d74fd | 162 | py | Python | src/schemas/physical.py | canyoupleasecreateanaccount/pytestLessonsCode | 240eac1260fd9e589865f22307c769cc06361111 | [
"Apache-2.0"
] | null | null | null | src/schemas/physical.py | canyoupleasecreateanaccount/pytestLessonsCode | 240eac1260fd9e589865f22307c769cc06361111 | [
"Apache-2.0"
] | null | null | null | src/schemas/physical.py | canyoupleasecreateanaccount/pytestLessonsCode | 240eac1260fd9e589865f22307c769cc06361111 | [
"Apache-2.0"
] | 1 | 2022-02-06T14:55:49.000Z | 2022-02-06T14:55:49.000Z | from pydantic import BaseModel, HttpUrl, UUID4
from pydantic.color import Color
class Physical(BaseModel):
color: Color
photo: HttpUrl
uuid: UUID4
| 16.2 | 46 | 0.740741 | 20 | 162 | 6 | 0.55 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.203704 | 162 | 9 | 47 | 18 | 0.914729 | 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 |
725ff97d364a27a24eb02fcf66e6ab419a446104 | 54 | py | Python | pyacc/lexer/__init__.py | hdyuik/pyacc | 85f6206388ce29a95e39b659257d45be9df250e5 | [
"MIT"
] | 2 | 2019-06-21T23:45:09.000Z | 2019-06-23T23:37:50.000Z | pyacc/lexer/__init__.py | hdyuik/compiler | 85f6206388ce29a95e39b659257d45be9df250e5 | [
"MIT"
] | null | null | null | pyacc/lexer/__init__.py | hdyuik/compiler | 85f6206388ce29a95e39b659257d45be9df250e5 | [
"MIT"
] | null | null | null | from .token import TokenType
from .lexer import Lexer | 27 | 29 | 0.814815 | 8 | 54 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 30 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
726055421d841c1cb660f0602e00e6b32b6f05a2 | 253 | py | Python | 2019/python/aoccpu/decoder.py | orhtej2/adventofcode | d273d28e394f58face0ae9873bfe43a667e427c4 | [
"Unlicense"
] | null | null | null | 2019/python/aoccpu/decoder.py | orhtej2/adventofcode | d273d28e394f58face0ae9873bfe43a667e427c4 | [
"Unlicense"
] | null | null | null | 2019/python/aoccpu/decoder.py | orhtej2/adventofcode | d273d28e394f58face0ae9873bfe43a667e427c4 | [
"Unlicense"
] | null | null | null | import math
def getParameterMode(opcode, position):
return math.floor((opcode / math.pow(10, position + 1)) % 10)
def decode(opcode):
return (opcode % 100, getParameterMode(opcode, 1), getParameterMode(opcode, 2), getParameterMode(opcode, 3)) | 36.142857 | 112 | 0.72332 | 31 | 253 | 5.903226 | 0.483871 | 0.480874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050691 | 0.142292 | 253 | 7 | 112 | 36.142857 | 0.792627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
72826e50e8e4b7c015bd8638fa5216ab5e2dd147 | 142 | py | Python | src/pyobo/xrefdb/__main__.py | bgyori/pyobo | f199f62f65fc7faff307b56f979a369202c8ad33 | [
"MIT"
] | null | null | null | src/pyobo/xrefdb/__main__.py | bgyori/pyobo | f199f62f65fc7faff307b56f979a369202c8ad33 | [
"MIT"
] | null | null | null | src/pyobo/xrefdb/__main__.py | bgyori/pyobo | f199f62f65fc7faff307b56f979a369202c8ad33 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Entry point for extraction script."""
from .cli import cache_xrefs
if __name__ == '__main__':
cache_xrefs()
| 15.777778 | 40 | 0.647887 | 18 | 142 | 4.555556 | 0.888889 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.183099 | 142 | 8 | 41 | 17.75 | 0.698276 | 0.401408 | 0 | 0 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
72aabdc5d2fbc8d5988aaffa9df68a417661d72f | 4,169 | py | Python | onnx/backend/test/case/node/split.py | How-Wang/onnx | c940fa3fea84948e46603cab2f86467291443beb | [
"Apache-2.0"
] | 1 | 2022-02-04T07:45:14.000Z | 2022-02-04T07:45:14.000Z | onnx/backend/test/case/node/split.py | How-Wang/onnx | c940fa3fea84948e46603cab2f86467291443beb | [
"Apache-2.0"
] | null | null | null | onnx/backend/test/case/node/split.py | How-Wang/onnx | c940fa3fea84948e46603cab2f86467291443beb | [
"Apache-2.0"
] | null | null | null | # SPDX-License-Identifier: Apache-2.0
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import numpy as np # type: ignore
import onnx
from ..base import Base
from . import expect
class Split(Base):
@staticmetho... | 37.9 | 144 | 0.565843 | 548 | 4,169 | 4.133212 | 0.144161 | 0.077263 | 0.139073 | 0.075055 | 0.778366 | 0.758499 | 0.758499 | 0.754967 | 0.754967 | 0.743488 | 0 | 0.054786 | 0.255697 | 4,169 | 109 | 145 | 38.247706 | 0.675153 | 0.03646 | 0 | 0.481481 | 0 | 0 | 0.107677 | 0.051346 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0 | 0.098765 | 0 | 0.160494 | 0.012346 | 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 |
72e1ba374984c2a3db2af7d5b68d0e69c20fcc75 | 179 | py | Python | aqa_assembly_simulator/helpers/Exceptions.py | johnyob/aqa-assembly-simulator | c885b842ed873c8d1a1a807439d281fc27762ad4 | [
"MIT"
] | 1 | 2022-01-10T03:46:34.000Z | 2022-01-10T03:46:34.000Z | aqa_assembly_simulator/helpers/Exceptions.py | johnyob/aqa-assembly-simulator | c885b842ed873c8d1a1a807439d281fc27762ad4 | [
"MIT"
] | null | null | null | aqa_assembly_simulator/helpers/Exceptions.py | johnyob/aqa-assembly-simulator | c885b842ed873c8d1a1a807439d281fc27762ad4 | [
"MIT"
] | null | null | null | class AssemblySimulatorVMConfigException(Exception):
def __str__(self):
return "[ERROR] Error: AssemblySimulatorConfigError, Response: {0}".format(super().__str__())
| 35.8 | 101 | 0.743017 | 15 | 179 | 8.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.128492 | 179 | 4 | 102 | 44.75 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.324022 | 0.162011 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 |
f42d3b6c2e72870f9686e5e73de8ef7bb4fa72b5 | 25,344 | py | Python | Code/binarytree.py | nickKearns/cs1.3 | da262ce411d67ae93e312e3211b3aade9e253b2d | [
"MIT"
] | null | null | null | Code/binarytree.py | nickKearns/cs1.3 | da262ce411d67ae93e312e3211b3aade9e253b2d | [
"MIT"
] | 5 | 2020-02-17T23:59:26.000Z | 2020-03-10T20:45:22.000Z | Code/binarytree.py | nickKearns/cs1.3 | da262ce411d67ae93e312e3211b3aade9e253b2d | [
"MIT"
] | null | null | null | #!python
class BinaryTreeNode(object):
def __init__(self, data):
"""Initialize this binary tree node with the given data."""
self.data = data
self.left = None
self.right = None
def __repr__(self):
"""Return a string representation of this binary tree node."""
... | 46.248175 | 128 | 0.636482 | 3,750 | 25,344 | 4.2496 | 0.081333 | 0.024096 | 0.035768 | 0.014935 | 0.78376 | 0.760417 | 0.734187 | 0.706325 | 0.680723 | 0.655371 | 0 | 0.004136 | 0.303504 | 25,344 | 547 | 129 | 46.332724 | 0.898652 | 0.616832 | 0 | 0.434066 | 0 | 0 | 0.03441 | 0 | 0 | 0 | 0 | 0.078611 | 0 | 1 | 0.164835 | false | 0 | 0 | 0 | 0.346154 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f468ee9aaf1d321510b5d0960d2381ff4bc33e0c | 63 | py | Python | src/jobs_done10/__main__.py | prusse-martin/jobs_done10 | 2433bfda862278c699a0532a3b32c9d7d0acf9e3 | [
"MIT"
] | 21 | 2015-11-26T13:27:01.000Z | 2022-01-11T03:17:54.000Z | src/jobs_done10/__main__.py | prusse-martin/jobs_done10 | 2433bfda862278c699a0532a3b32c9d7d0acf9e3 | [
"MIT"
] | 7 | 2018-08-31T16:00:52.000Z | 2021-11-10T17:57:04.000Z | src/jobs_done10/__main__.py | prusse-martin/jobs_done10 | 2433bfda862278c699a0532a3b32c9d7d0acf9e3 | [
"MIT"
] | 7 | 2016-02-12T18:13:21.000Z | 2020-06-09T15:15:24.000Z |
from .cli import jobs_done
jobs_done(prog_name='jobs_done')
| 10.5 | 32 | 0.777778 | 11 | 63 | 4.090909 | 0.636364 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 5 | 33 | 12.6 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
be587ba5ba5761a195d13335e9b69ad679879acc | 49 | py | Python | VacationPy/api_keys.py | tylerlvaughn/python-api-challenge | cb24e278c5a8c6ccc69a80881e63ad23172b8152 | [
"ADSL"
] | null | null | null | VacationPy/api_keys.py | tylerlvaughn/python-api-challenge | cb24e278c5a8c6ccc69a80881e63ad23172b8152 | [
"ADSL"
] | null | null | null | VacationPy/api_keys.py | tylerlvaughn/python-api-challenge | cb24e278c5a8c6ccc69a80881e63ad23172b8152 | [
"ADSL"
] | null | null | null | g_key = "AIzaSyBapD8sVxvH-3Xpc_bxcWG0Z4Mb6ueSjuY" | 49 | 49 | 0.877551 | 5 | 49 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.040816 | 49 | 1 | 49 | 49 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.78 | 0.78 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be7068c0883ca70b6630e889563d42f24684a880 | 197 | py | Python | tmt/__init__.py | navtom/tmt | e133930a85aaa133b32f1e02eee245e7b27b62f3 | [
"MIT"
] | null | null | null | tmt/__init__.py | navtom/tmt | e133930a85aaa133b32f1e02eee245e7b27b62f3 | [
"MIT"
] | null | null | null | tmt/__init__.py | navtom/tmt | e133930a85aaa133b32f1e02eee245e7b27b62f3 | [
"MIT"
] | null | null | null | """ Test Management Tool """
from tmt.base import Tree, Test, Plan, Story, Run, Result
from tmt.steps.provision import Guest
__all__ = ['Tree', 'Test', 'Plan', 'Story', 'Run', 'Guest', 'Result']
| 28.142857 | 69 | 0.664975 | 27 | 197 | 4.703704 | 0.592593 | 0.110236 | 0.188976 | 0.267717 | 0.314961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147208 | 197 | 6 | 70 | 32.833333 | 0.755952 | 0.101523 | 0 | 0 | 0 | 0 | 0.183432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
be7927973cdcfe2a5d2db6cc6bcd1a509bf0abc2 | 287 | py | Python | swine/input/__init__.py | DeflatedPickle/swine | 28b40fff605f7ed9c006e032c11a5ff9c552ebac | [
"MIT"
] | 4 | 2019-07-14T13:39:43.000Z | 2021-11-08T15:57:17.000Z | swine/input/__init__.py | SwineEngine/swine | 28b40fff605f7ed9c006e032c11a5ff9c552ebac | [
"MIT"
] | 1 | 2018-08-24T13:38:02.000Z | 2018-08-28T19:19:55.000Z | swine/input/__init__.py | SwineProject/swine | 28b40fff605f7ed9c006e032c11a5ff9c552ebac | [
"MIT"
] | 1 | 2018-07-22T20:53:10.000Z | 2018-07-22T20:53:10.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .empty_controller import EmptyController
from .xbox_controller import XBoxController
from .playstation_controller import PlayStationController
from .gamecube_controller import GameCubeController
from .input_manager import InputManager
| 31.888889 | 57 | 0.836237 | 32 | 287 | 7.34375 | 0.65625 | 0.27234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003861 | 0.097561 | 287 | 8 | 58 | 35.875 | 0.903475 | 0.146341 | 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 |
fe20f9a28012b6a5cfbbfbb95c9fab52911638bd | 296 | py | Python | pacos2/discr_impulse.py | jadnohra/PaCoS | 0b97cf566d89d99f85c55581beb9ad701395d4fe | [
"MIT"
] | null | null | null | pacos2/discr_impulse.py | jadnohra/PaCoS | 0b97cf566d89d99f85c55581beb9ad701395d4fe | [
"MIT"
] | null | null | null | pacos2/discr_impulse.py | jadnohra/PaCoS | 0b97cf566d89d99f85c55581beb9ad701395d4fe | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from .interfaces import TimeInterval, IClock
from .discr_evt_engine import DiscreteEventEngine
class IDiscreteImpulse(ABC):
@abstractmethod
def generate(self, engine: DiscreteEventEngine, clock: IClock
) -> TimeInterval:
pass | 29.6 | 65 | 0.736486 | 29 | 296 | 7.448276 | 0.62069 | 0.157407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206081 | 296 | 10 | 66 | 29.6 | 0.919149 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
fe31cd82d51627aff2f9008f4e1e27a4b1279b8a | 93 | py | Python | pbesa/engine/rational/__init__.py | scottwedge/pbesa | 21b161538aa0c508088dc47a3a88413b6fd6504d | [
"MIT"
] | 2 | 2020-10-22T22:23:40.000Z | 2021-09-14T01:18:01.000Z | pbesa/engine/rational/__init__.py | scottwedge/pbesa | 21b161538aa0c508088dc47a3a88413b6fd6504d | [
"MIT"
] | 2 | 2020-05-27T13:59:42.000Z | 2022-03-02T14:58:12.000Z | pbesa/engine/rational/__init__.py | scottwedge/pbesa | 21b161538aa0c508088dc47a3a88413b6fd6504d | [
"MIT"
] | 1 | 2020-05-27T13:50:40.000Z | 2020-05-27T13:50:40.000Z | from .ActionExe import ActionExe
from .Brain import Brain
from .RationalAg import RationalAg
| 23.25 | 34 | 0.83871 | 12 | 93 | 6.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 3 | 35 | 31 | 0.962963 | 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 |
fe5f22ed5aae68d57c53a88aff1e0ea109422d13 | 235 | py | Python | keras_bert/layers/__init__.py | DanielWeidinger/DocNet | 77be87e8f944dc38e415ce15069ebd6cb5212490 | [
"MIT"
] | 421 | 2019-05-19T04:09:15.000Z | 2022-03-31T07:48:20.000Z | keras_bert/layers/__init__.py | DanielWeidinger/DocNet | 77be87e8f944dc38e415ce15069ebd6cb5212490 | [
"MIT"
] | 32 | 2019-06-24T15:56:31.000Z | 2022-02-10T00:12:43.000Z | keras_bert/layers/__init__.py | DanielWeidinger/DocNet | 77be87e8f944dc38e415ce15069ebd6cb5212490 | [
"MIT"
] | 126 | 2019-05-19T10:59:55.000Z | 2022-03-11T09:22:42.000Z | from .inputs import get_inputs
from .embedding import get_embedding, TokenEmbedding, EmbeddingSimilarity
from .masked import Masked
from .extract import Extract
from .pooling import MaskedGlobalMaxPool1D
from .conv import MaskedConv1D
| 33.571429 | 73 | 0.855319 | 28 | 235 | 7.107143 | 0.464286 | 0.090452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009569 | 0.110638 | 235 | 6 | 74 | 39.166667 | 0.942584 | 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 |
fe5fda0182f08ea07f31e65034755d5820f2e8e7 | 210 | py | Python | BaseStat.py | e-ivanov/monitoring_agent | f0a554dad6c2e8b1eabdc8ae54a9fd6a24f4e1f2 | [
"Apache-2.0"
] | null | null | null | BaseStat.py | e-ivanov/monitoring_agent | f0a554dad6c2e8b1eabdc8ae54a9fd6a24f4e1f2 | [
"Apache-2.0"
] | null | null | null | BaseStat.py | e-ivanov/monitoring_agent | f0a554dad6c2e8b1eabdc8ae54a9fd6a24f4e1f2 | [
"Apache-2.0"
] | null | null | null | import os
from abc import abstractmethod
import sqlite3
class BaseStat:
def __init__(self):
pass
@abstractmethod
def get_threshhold_value(self):
"""not implemented error"""
| 11.052632 | 35 | 0.666667 | 23 | 210 | 5.826087 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.266667 | 210 | 18 | 36 | 11.666667 | 0.863636 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
fe61811680f7a6cf06534745cb77a436277efdc1 | 101 | py | Python | flask_tuktuk/helpers/__init__.py | aromanovich/flask-tuktuk | 5b65302654c8c09c512ef48b78609088de1309af | [
"BSD-3-Clause"
] | null | null | null | flask_tuktuk/helpers/__init__.py | aromanovich/flask-tuktuk | 5b65302654c8c09c512ef48b78609088de1309af | [
"BSD-3-Clause"
] | null | null | null | flask_tuktuk/helpers/__init__.py | aromanovich/flask-tuktuk | 5b65302654c8c09c512ef48b78609088de1309af | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals
from .util import DotExpandedDict, Attribute | 25.25 | 44 | 0.831683 | 13 | 101 | 6.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.118812 | 101 | 4 | 44 | 25.25 | 0.876404 | 0.128713 | 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 |
fe6fe7dbec6f29644f6a46fd73f249a3a9299c58 | 63 | py | Python | katas/kyu_7/triangular_treasure.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/triangular_treasure.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/triangular_treasure.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def triangular(n):
return n * (n + 1) / 2 if n >= 0 else 0
| 21 | 43 | 0.52381 | 13 | 63 | 2.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.31746 | 63 | 2 | 44 | 31.5 | 0.674419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fe7412dc6948ac7bfbd7f8f76f5439e900f12f81 | 69,635 | py | Python | bob/euler.py | JashanPruthi/saviour-1 | 4a276b6970df496c539d81a9c8a946b747d00fdf | [
"MIT"
] | null | null | null | bob/euler.py | JashanPruthi/saviour-1 | 4a276b6970df496c539d81a9c8a946b747d00fdf | [
"MIT"
] | null | null | null | bob/euler.py | JashanPruthi/saviour-1 | 4a276b6970df496c539d81a9c8a946b747d00fdf | [
"MIT"
] | 2 | 2020-07-26T19:38:14.000Z | 2020-07-27T17:13:32.000Z | # -*- coding: utf-8 -*-
"""
Created on Sun Jul 26 03:19:29 2020
@author: Legedith
"""
def euler_problem():
problems = {1: 'Problem 1: Multiples of 3 and 5:\nIf we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.\n\nFind the sum of ... | 633.045455 | 5,328 | 0.757622 | 13,192 | 69,635 | 4.018117 | 0.150697 | 0.006754 | 0.00815 | 0.004565 | 0.199502 | 0.154998 | 0.121663 | 0.101119 | 0.091158 | 0.077197 | 0 | 0.207039 | 0.154549 | 69,635 | 110 | 5,329 | 633.045455 | 0.689009 | 0.001106 | 0 | 0 | 0 | 0.883495 | 0.977924 | 0.147173 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009709 | false | 0.019417 | 0.009709 | 0 | 0.019417 | 0.009709 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fe8f634629d255e2d86bb2ab2cfbae31cc0738ec | 2,466 | py | Python | Lectures/tex/codes/lecture12.py | josh-gree/NumericalMethods | 03cb91114b3f5eb1b56916920ad180d371fe5283 | [
"CC-BY-3.0"
] | 76 | 2015-02-12T19:51:52.000Z | 2022-03-26T15:34:11.000Z | Lectures/tex/codes/lecture12.py | josh-gree/NumericalMethods | 03cb91114b3f5eb1b56916920ad180d371fe5283 | [
"CC-BY-3.0"
] | 2 | 2017-05-24T19:49:52.000Z | 2018-01-23T21:40:42.000Z | Lectures/tex/codes/lecture12.py | josh-gree/NumericalMethods | 03cb91114b3f5eb1b56916920ad180d371fe5283 | [
"CC-BY-3.0"
] | 41 | 2015-01-05T13:30:47.000Z | 2022-02-15T09:59:39.000Z | import numpy
from matplotlib import pyplot
def trapezoidal(f, a, b, N):
x, dx = numpy.linspace(a, b, N+1, retstep=True)
fx = f(x)
return dx * ( (fx[0] + fx[-1])/2 + numpy.sum(fx[1:-1]) )
def simpsons(f, a, b, N):
x, dx = numpy.linspace(a, b, N+1, retstep=True)
fx = f(x)
return dx/3 * ( (fx... | 34.732394 | 64 | 0.576642 | 409 | 2,466 | 3.396088 | 0.163814 | 0.064795 | 0.069114 | 0.090713 | 0.865371 | 0.827934 | 0.786897 | 0.765299 | 0.62707 | 0.62707 | 0 | 0.042261 | 0.23236 | 2,466 | 71 | 65 | 34.732394 | 0.691495 | 0 | 0 | 0.515625 | 0 | 0 | 0.084718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.03125 | 0 | 0.125 | 0.140625 | 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 |
fea04ac99d77239581f80a92983b23f68eca255c | 1,112 | py | Python | dpm/transforms/softplus.py | nextBillyonair/DPM | 840ffaafe15c208b200b74094ffa8fe493b4c975 | [
"MIT"
] | 1 | 2021-07-20T14:02:55.000Z | 2021-07-20T14:02:55.000Z | dpm/transforms/softplus.py | nextBillyonair/DPM | 840ffaafe15c208b200b74094ffa8fe493b4c975 | [
"MIT"
] | null | null | null | dpm/transforms/softplus.py | nextBillyonair/DPM | 840ffaafe15c208b200b74094ffa8fe493b4c975 | [
"MIT"
] | null | null | null | from .transform import Transform
from torch.nn import Parameter
from torch.nn.functional import softplus
import torch
import dpm.utils as utils
class Softplus(Transform):
def __init__(self, hinge_softness=1.0, learnable=True):
super().__init__()
if hinge_softness == 0.0: raise ValueError("Hinge So... | 35.870968 | 84 | 0.678957 | 145 | 1,112 | 5.006897 | 0.344828 | 0.304408 | 0.23416 | 0.082645 | 0.155647 | 0.084022 | 0 | 0 | 0 | 0 | 0 | 0.013652 | 0.209532 | 1,112 | 30 | 85 | 37.066667 | 0.812287 | 0.03777 | 0 | 0 | 0 | 0 | 0.048689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.217391 | 0.173913 | 0.652174 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
feb0999e689101b2820f6e5d8e7ff84407512710 | 113 | py | Python | src/aws_iot/handler/_iot_client.py | janluak/aws-iot | 8f3a4d83c40bb950b4f49e8b7afcc3383a30661e | [
"Apache-2.0"
] | null | null | null | src/aws_iot/handler/_iot_client.py | janluak/aws-iot | 8f3a4d83c40bb950b4f49e8b7afcc3383a30661e | [
"Apache-2.0"
] | null | null | null | src/aws_iot/handler/_iot_client.py | janluak/aws-iot | 8f3a4d83c40bb950b4f49e8b7afcc3383a30661e | [
"Apache-2.0"
] | null | null | null | from os import environ
from boto3 import client
_iot_client = client("iot", region_name=environ["AWS_REGION"])
| 18.833333 | 62 | 0.778761 | 17 | 113 | 4.941176 | 0.588235 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.123894 | 113 | 5 | 63 | 22.6 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 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 |
2284e6fcf7500c0aa28f9bd0f0598ce99f25ac72 | 194 | py | Python | src/attrbench/suite/dashboard/components/__init__.py | zoeparman/benchmark | 96331b7fa0db84f5f422b52cae2211b41bbd15ce | [
"MIT"
] | null | null | null | src/attrbench/suite/dashboard/components/__init__.py | zoeparman/benchmark | 96331b7fa0db84f5f422b52cae2211b41bbd15ce | [
"MIT"
] | 7 | 2020-03-02T13:03:50.000Z | 2022-03-12T00:16:20.000Z | src/attrbench/suite/dashboard/components/__init__.py | zoeparman/benchmark | 96331b7fa0db84f5f422b52cae2211b41bbd15ce | [
"MIT"
] | null | null | null | from .component import Component
from .sample_attributions_component import SampleAttributionsComponent
from .sidebar_component import SidebarComponent
from .pages import *
from .plots import *
| 32.333333 | 70 | 0.860825 | 21 | 194 | 7.809524 | 0.47619 | 0.27439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 194 | 5 | 71 | 38.8 | 0.942529 | 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 |
229749fd342eb0a7673128facf5112c4152acd77 | 316 | py | Python | tensorflow_riemopt/optimizers/__init__.py | vishalbelsare/tensorflow-riemopt | 4814b0c4a8bc74bf98f34ba99440f24ea21ab93b | [
"MIT"
] | 33 | 2021-07-12T14:03:55.000Z | 2022-03-30T11:44:11.000Z | tensorflow_riemopt/optimizers/__init__.py | vishalbelsare/tensorflow-riemopt | 4814b0c4a8bc74bf98f34ba99440f24ea21ab93b | [
"MIT"
] | 2 | 2021-08-02T18:39:06.000Z | 2022-02-14T21:01:22.000Z | tensorflow_riemopt/optimizers/__init__.py | vishalbelsare/tensorflow-riemopt | 4814b0c4a8bc74bf98f34ba99440f24ea21ab93b | [
"MIT"
] | 5 | 2020-11-06T05:22:07.000Z | 2021-06-15T03:21:58.000Z | from tensorflow_riemopt.optimizers.constrained_rmsprop import ConstrainedRMSprop
from tensorflow_riemopt.optimizers.riemannian_adam import RiemannianAdam
from tensorflow_riemopt.optimizers.riemannian_gradient_descent import (
RiemannianSGD,
)
__all__ = ["ConstrainedRMSprop", "RiemannianAdam", "RiemannianSGD"]
| 39.5 | 80 | 0.860759 | 29 | 316 | 9 | 0.517241 | 0.16092 | 0.241379 | 0.356322 | 0.314176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 316 | 7 | 81 | 45.142857 | 0.893836 | 0 | 0 | 0 | 0 | 0 | 0.142405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
229f2ab370aff1ec0e107e74070272623f7bab15 | 54 | py | Python | llamalogs/__init__.py | llamalogs/llamalogs-py | d2ab260a0f279f6d7ebb16a68a6f1a936b1e880d | [
"MIT"
] | null | null | null | llamalogs/__init__.py | llamalogs/llamalogs-py | d2ab260a0f279f6d7ebb16a68a6f1a936b1e880d | [
"MIT"
] | null | null | null | llamalogs/__init__.py | llamalogs/llamalogs-py | d2ab260a0f279f6d7ebb16a68a6f1a936b1e880d | [
"MIT"
] | null | null | null | from llamalogs.llamaLogs import LlamaLogs as llamalogs | 54 | 54 | 0.888889 | 7 | 54 | 6.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.979592 | 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 |
22a2c2ac1d2cb2cf26589f26fec7f9746f203d01 | 47 | py | Python | test/pytch/py/project/create_Project.py | Liampobob/pytch-vm | bb2cf19c0736d467daf195635a9de9903aaa1237 | [
"MIT"
] | 2 | 2021-11-29T09:47:23.000Z | 2022-02-11T15:48:20.000Z | test/pytch/py/project/create_Project.py | Liampobob/pytch-vm | bb2cf19c0736d467daf195635a9de9903aaa1237 | [
"MIT"
] | 1 | 2022-02-28T13:50:48.000Z | 2022-02-28T13:50:48.000Z | test/pytch/py/project/create_Project.py | Liampobob/pytch-vm | bb2cf19c0736d467daf195635a9de9903aaa1237 | [
"MIT"
] | 4 | 2021-02-12T15:27:33.000Z | 2022-03-16T10:26:55.000Z | from pytch import Project
project = Project()
| 11.75 | 25 | 0.765957 | 6 | 47 | 6 | 0.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 26 | 15.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
22dc9d6b37515d5b0186a97b69acf26a2de5c5c7 | 24,583 | py | Python | contrib/runners/orquesta_runner/tests/unit/test_basic.py | tirkarthi/st2 | 506125ae8feead052d62303b529f399dba206335 | [
"Apache-2.0"
] | null | null | null | contrib/runners/orquesta_runner/tests/unit/test_basic.py | tirkarthi/st2 | 506125ae8feead052d62303b529f399dba206335 | [
"Apache-2.0"
] | null | null | null | contrib/runners/orquesta_runner/tests/unit/test_basic.py | tirkarthi/st2 | 506125ae8feead052d62303b529f399dba206335 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019 Extreme Networks, Inc.
#
# 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 appl... | 50.271984 | 99 | 0.735183 | 3,667 | 24,583 | 4.515408 | 0.076357 | 0.054354 | 0.029714 | 0.036719 | 0.807042 | 0.759331 | 0.740428 | 0.720981 | 0.697669 | 0.676229 | 0 | 0.013748 | 0.171501 | 24,583 | 488 | 100 | 50.375 | 0.799234 | 0.098971 | 0 | 0.529412 | 0 | 0 | 0.050036 | 0.004121 | 0 | 0 | 0 | 0 | 0.282353 | 1 | 0.020588 | false | 0 | 0.076471 | 0.002941 | 0.102941 | 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 |
22e0b2059d0115125ee88f485bde4473b1630338 | 269 | py | Python | amnesia/modules/content_type/validation/__init__.py | silenius/amnesia | ba5e3ac79a89da599c22206ad1fd17541855f74c | [
"BSD-2-Clause"
] | 4 | 2015-05-08T10:57:56.000Z | 2021-05-17T04:32:11.000Z | amnesia/modules/content_type/validation/__init__.py | silenius/amnesia | ba5e3ac79a89da599c22206ad1fd17541855f74c | [
"BSD-2-Clause"
] | 6 | 2019-12-26T16:43:41.000Z | 2022-02-28T11:07:54.000Z | amnesia/modules/content_type/validation/__init__.py | silenius/amnesia | ba5e3ac79a89da599c22206ad1fd17541855f74c | [
"BSD-2-Clause"
] | 1 | 2019-09-23T14:08:11.000Z | 2019-09-23T14:08:11.000Z | # -*- coding: utf-8 -*-
from marshmallow import Schema
from marshmallow.fields import Integer
from marshmallow.fields import String
class ContentTypeSchema(Schema):
id = Integer(dump_only=True)
name = String()
icon = String()
description = String()
| 19.214286 | 38 | 0.710037 | 31 | 269 | 6.129032 | 0.612903 | 0.236842 | 0.221053 | 0.284211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.189591 | 269 | 13 | 39 | 20.692308 | 0.866972 | 0.078067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
22eeb868a5a54684c242d66a584d4a24ffcce575 | 48 | py | Python | Lib/test/test_compiler/testcorpus/75_classderef.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/75_classderef.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/75_classderef.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | def foo(bar):
class Foo:
call(bar)
| 9.6 | 17 | 0.5 | 7 | 48 | 3.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 48 | 4 | 18 | 12 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a3c5844f14684a43226416e2bebfbaa36c1dd117 | 80 | py | Python | konfuzio_sdk/__init__.py | atraining/document-ai-python-sdk | ea2df68af0254053da7e6f4c6e2c2df6d7911233 | [
"MIT"
] | 9 | 2021-05-07T16:08:53.000Z | 2022-02-17T16:46:40.000Z | konfuzio_sdk/__init__.py | atraining/document-ai-python-sdk | ea2df68af0254053da7e6f4c6e2c2df6d7911233 | [
"MIT"
] | 17 | 2021-05-03T11:34:05.000Z | 2022-03-06T09:53:58.000Z | konfuzio_sdk/__init__.py | atraining/document-ai-python-sdk | ea2df68af0254053da7e6f4c6e2c2df6d7911233 | [
"MIT"
] | 5 | 2021-05-28T14:42:10.000Z | 2022-02-28T09:35:04.000Z | """Relative import of all settings."""
from .settings_importer import * # NOQA
| 26.666667 | 40 | 0.725 | 10 | 80 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 2 | 41 | 40 | 0.838235 | 0.475 | 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 |
a3c783c3203734fa4a381ce7cf5a0b0ade63f05e | 8,008 | py | Python | examples/server/tests/test_views.py | malaman/django-angular | d73cb90a3d3212bc29839f33a516c5e2892872a2 | [
"MIT"
] | null | null | null | examples/server/tests/test_views.py | malaman/django-angular | d73cb90a3d3212bc29839f33a516c5e2892872a2 | [
"MIT"
] | null | null | null | examples/server/tests/test_views.py | malaman/django-angular | d73cb90a3d3212bc29839f33a516c5e2892872a2 | [
"MIT"
] | 3 | 2017-08-29T09:59:36.000Z | 2021-02-05T05:01:04.000Z | # -*- coding: utf-8 -*-
import json
import warnings
from django.test import TestCase
from django.test.client import RequestFactory
from django.core.serializers.json import DjangoJSONEncoder
from django.http import HttpResponse
from django.views.generic import View
from djangular.views.mixins import JSONResponseMixin, a... | 46.289017 | 164 | 0.687937 | 906 | 8,008 | 5.900662 | 0.131347 | 0.049383 | 0.090348 | 0.07052 | 0.788814 | 0.768238 | 0.749532 | 0.719791 | 0.711747 | 0.703517 | 0 | 0.009339 | 0.197677 | 8,008 | 172 | 165 | 46.55814 | 0.822724 | 0.008492 | 0 | 0.601399 | 0 | 0.006993 | 0.160308 | 0.015412 | 0 | 0 | 0 | 0 | 0.286713 | 1 | 0.13986 | false | 0.020979 | 0.055944 | 0.034965 | 0.265734 | 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 |
432246e5357171a08683f27746d90904334e91ca | 148 | py | Python | selenible/drivers/edge.py | wtnb75/selenible | 9a73c1c6b31f281992904cb63a4f7516e49d9e42 | [
"MIT"
] | 2 | 2020-04-24T16:38:09.000Z | 2021-01-28T12:21:37.000Z | selenible/drivers/edge.py | wtnb75/selenible | 9a73c1c6b31f281992904cb63a4f7516e49d9e42 | [
"MIT"
] | 21 | 2018-05-14T14:31:45.000Z | 2019-07-18T03:44:16.000Z | selenible/drivers/edge.py | wtnb75/selenible | 9a73c1c6b31f281992904cb63a4f7516e49d9e42 | [
"MIT"
] | 3 | 2018-11-29T07:01:02.000Z | 2019-04-21T17:13:57.000Z | from selenium import webdriver
from . import Base
class Edge(Base):
def boot_driver(self):
return webdriver.Edge(**self.browser_args)
| 18.5 | 50 | 0.722973 | 20 | 148 | 5.25 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 148 | 7 | 51 | 21.142857 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
4a59fe6e9a23a1d1af7b48badc3873937c0aa6c0 | 922 | py | Python | torchdistill/core/forward_proc.py | AhmedHussKhalifa/torchdistill | 071089765f95aa09da9573039ac2bd54f47cea1e | [
"MIT"
] | 576 | 2020-11-26T03:20:50.000Z | 2022-03-31T16:42:49.000Z | torchdistill/core/forward_proc.py | AhmedHussKhalifa/torchdistill | 071089765f95aa09da9573039ac2bd54f47cea1e | [
"MIT"
] | 24 | 2020-12-02T12:16:44.000Z | 2022-02-17T16:14:49.000Z | torchdistill/core/forward_proc.py | AhmedHussKhalifa/torchdistill | 071089765f95aa09da9573039ac2bd54f47cea1e | [
"MIT"
] | 60 | 2020-11-26T03:27:04.000Z | 2022-03-30T09:49:00.000Z | PROC_FUNC_DICT = dict()
def register_forward_proc_func(func):
PROC_FUNC_DICT[func.__name__] = func
return func
@register_forward_proc_func
def forward_batch_only(model, sample_batch, targets=None, supp_dict=None):
return model(sample_batch)
@register_forward_proc_func
def forward_batch_target(model, s... | 26.342857 | 74 | 0.778742 | 140 | 922 | 4.707143 | 0.2 | 0.183612 | 0.194234 | 0.174507 | 0.608498 | 0.5478 | 0.497724 | 0.291351 | 0.172989 | 0.172989 | 0 | 0.003769 | 0.136659 | 922 | 34 | 75 | 27.117647 | 0.824121 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.136364 | 0.590909 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4a6cf1f4b64129f3c7b92b1532484fdef2837e21 | 40,624 | py | Python | plivo.py | ankitpopli1891/plivo-python | 5ec49443b08ec05d002025d3383e44ea8a3d2fd5 | [
"MIT"
] | 3 | 2015-06-24T16:46:46.000Z | 2015-06-30T01:16:28.000Z | plivo.py | ankitpopli1891/plivo-python | 5ec49443b08ec05d002025d3383e44ea8a3d2fd5 | [
"MIT"
] | null | null | null | plivo.py | ankitpopli1891/plivo-python | 5ec49443b08ec05d002025d3383e44ea8a3d2fd5 | [
"MIT"
] | null | null | null | import base64
import hmac
from hashlib import sha1
import requests
import plivoxml as XML
try:
import json
except ImportError:
import simplejson as json
PLIVO_VERSION = "v1"
class PlivoError(Exception):
pass
def validate_signature(uri, post_params, signature, auth_token):
for k, v in sorted(po... | 37.510619 | 116 | 0.622538 | 4,734 | 40,624 | 5.095057 | 0.043937 | 0.052529 | 0.052902 | 0.059204 | 0.837148 | 0.783168 | 0.743657 | 0.704768 | 0.664594 | 0.611692 | 0 | 0.000468 | 0.262899 | 40,624 | 1,082 | 117 | 37.545287 | 0.805036 | 0.013243 | 0 | 0.510441 | 0 | 0 | 0.086601 | 0.013921 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174014 | false | 0.00348 | 0.009281 | 0.011601 | 0.37239 | 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 |
4ac730e573e079cdd7f373106f1e7cbf69432bcb | 185 | py | Python | application/domain/transactions/__init__.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | application/domain/transactions/__init__.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | application/domain/transactions/__init__.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | from .entities import Transaction
from .servicies import TransactionService
from .repositories import TransactionRepository, MotorTransactionRepository
from .types import TransactionID
| 37 | 75 | 0.881081 | 17 | 185 | 9.588235 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091892 | 185 | 4 | 76 | 46.25 | 0.970238 | 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 |
435e4cfd9bbbdc29a3449f725545603fec7f1be0 | 9,275 | py | Python | ckan/tests/lib/test_datapreview.py | robin-NEC/ckan | 71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a | [
"BSD-3-Clause"
] | 1 | 2021-10-01T12:47:19.000Z | 2021-10-01T12:47:19.000Z | ckan/tests/lib/test_datapreview.py | robin-NEC/ckan | 71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:09:04.000Z | 2022-03-12T01:09:04.000Z | ckan/tests/lib/test_datapreview.py | robin-NEC/ckan | 71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a | [
"BSD-3-Clause"
] | 2 | 2018-01-21T17:03:08.000Z | 2019-07-23T08:49:52.000Z | # encoding: utf-8
import pytest
from ckan.common import config
import ckan.plugins as p
import ckan.lib.datapreview as datapreview
from ckan.tests import helpers, factories
def test_compare_domains():
""" see https://en.wikipedia.org/wiki/Same_origin_policy
"""
compare = datapreview.compare_domains... | 32.43007 | 79 | 0.595472 | 1,057 | 9,275 | 4.939451 | 0.117313 | 0.073549 | 0.034476 | 0.040222 | 0.768244 | 0.767861 | 0.767861 | 0.745451 | 0.728596 | 0.683777 | 0 | 0.004428 | 0.269542 | 9,275 | 285 | 80 | 32.54386 | 0.766199 | 0.02221 | 0 | 0.469194 | 0 | 0 | 0.235593 | 0.042504 | 0 | 0 | 0 | 0 | 0.180095 | 1 | 0.075829 | false | 0 | 0.023697 | 0.004739 | 0.118483 | 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 |
4364b29fa219872000b437b34ccf9ecb3c31a416 | 28 | py | Python | src/models/__init__.py | websurfer01/wildfire-augury | d0685002960ebf2380a23825349747374c3babef | [
"BSD-3-Clause"
] | 1 | 2021-08-30T23:38:14.000Z | 2021-08-30T23:38:14.000Z | src/models/__init__.py | websurfer01/wildfire-augury | d0685002960ebf2380a23825349747374c3babef | [
"BSD-3-Clause"
] | null | null | null | src/models/__init__.py | websurfer01/wildfire-augury | d0685002960ebf2380a23825349747374c3babef | [
"BSD-3-Clause"
] | null | null | null | from .station import Station | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 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 |
43694adde3274a9b7cee17dd6159ef598161622a | 141 | py | Python | iris_validation/interface/__init__.py | FilomenoSanchez/iris-validation | a7bbb28dfe239527c32914229e69e007a519e0dd | [
"MIT"
] | null | null | null | iris_validation/interface/__init__.py | FilomenoSanchez/iris-validation | a7bbb28dfe239527c32914229e69e007a519e0dd | [
"MIT"
] | 1 | 2021-11-18T11:58:59.000Z | 2021-11-18T12:00:08.000Z | iris_validation/interface/__init__.py | FilomenoSanchez/iris-validation | a7bbb28dfe239527c32914229e69e007a519e0dd | [
"MIT"
] | null | null | null | """
Copyright 2020 William Rochira at York Structural Biology Laboratory
"""
from iris_validation.interface.report import build_report
| 23.5 | 69 | 0.794326 | 17 | 141 | 6.470588 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.148936 | 141 | 5 | 70 | 28.2 | 0.883333 | 0.48227 | 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 |
437c05bfe41b57aca9d108beb58bf86a1ac8f996 | 166 | py | Python | mrmap/MrMap/management/commands/__init__.py | SvenTUM/mrmap | 307e120d0d846645b56fb8f4a7a979857c860c15 | [
"MIT"
] | null | null | null | mrmap/MrMap/management/commands/__init__.py | SvenTUM/mrmap | 307e120d0d846645b56fb8f4a7a979857c860c15 | [
"MIT"
] | null | null | null | mrmap/MrMap/management/commands/__init__.py | SvenTUM/mrmap | 307e120d0d846645b56fb8f4a7a979857c860c15 | [
"MIT"
] | null | null | null | """
Author: Michel Peltriaux
Organization: Spatial data infrastructure Rhineland-Palatinate, Germany
Contact: michel.peltriaux@vermkv.rlp.de
Created on: 28.05.19
""" | 23.714286 | 71 | 0.795181 | 21 | 166 | 6.285714 | 0.904762 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.096386 | 166 | 7 | 72 | 23.714286 | 0.84 | 0.945783 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 |
4393ee21d774b84e0baca491bd7885ac7e1e4f53 | 202 | py | Python | {{ cookiecutter.repo_name }}/tests/test_model_testing.py | simplybusiness/cookiecutter-data-science | 523048a0f1aa0dea5d851e52a495bff55a816c71 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/tests/test_model_testing.py | simplybusiness/cookiecutter-data-science | 523048a0f1aa0dea5d851e52a495bff55a816c71 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/tests/test_model_testing.py | simplybusiness/cookiecutter-data-science | 523048a0f1aa0dea5d851e52a495bff55a816c71 | [
"MIT"
] | null | null | null | import os
os['PIPELINE_ENGINE'] = 'local'
from {{cookiecutter.project_name_normalized}}_pipeline import model_testing
def test_model_testing(self):
data = model_testing()
assert not data.empty | 25.25 | 75 | 0.777228 | 27 | 202 | 5.518519 | 0.703704 | 0.241611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 202 | 8 | 76 | 25.25 | 0.846591 | 0 | 0 | 0 | 0 | 0 | 0.098522 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
43a0f9938e4c03b19ab0085175d2d49504cd02c4 | 92 | py | Python | crossincode.com/Python_Getting_Started/input.py | zeroonegit/python | 919f8bb14ae91e37e42ff08192df24b60135596f | [
"MIT"
] | 1 | 2017-03-30T00:43:40.000Z | 2017-03-30T00:43:40.000Z | crossincode.com/Python_Getting_Started/input.py | QuinceySun/Python | 919f8bb14ae91e37e42ff08192df24b60135596f | [
"MIT"
] | null | null | null | crossincode.com/Python_Getting_Started/input.py | QuinceySun/Python | 919f8bb14ae91e37e42ff08192df24b60135596f | [
"MIT"
] | null | null | null | print('Who do you think I am?')
input()
print('How old are you?')
input()
print('Oh, yes!')
| 15.333333 | 31 | 0.630435 | 17 | 92 | 3.411765 | 0.764706 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 5 | 32 | 18.4 | 0.74359 | 0 | 0 | 0.4 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
43bb85112961a8e5b9ea6077338ba42a98d0f5b2 | 265 | py | Python | onmt/__init__.py | rikkarikka/old-opennmt | e490a8056f89461070402f79948f69fb7b3ea796 | [
"MIT"
] | null | null | null | onmt/__init__.py | rikkarikka/old-opennmt | e490a8056f89461070402f79948f69fb7b3ea796 | [
"MIT"
] | null | null | null | onmt/__init__.py | rikkarikka/old-opennmt | e490a8056f89461070402f79948f69fb7b3ea796 | [
"MIT"
] | null | null | null | import onmt.Constants
import onmt.Models
from onmt.cnn_class import CNN_Text
from onmt.Translator import Translator
from onmt.Dataset import Dataset
from onmt.Optim import Optim
from onmt.Dict import Dict
from onmt.Beam import Beam
from onmt.Sampler import Sampler
| 26.5 | 38 | 0.845283 | 43 | 265 | 5.162791 | 0.325581 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120755 | 265 | 9 | 39 | 29.444444 | 0.95279 | 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 |
43bbb6da5069f090628f0f9becea243099e9e742 | 199 | py | Python | format/jpg/parameterizer.py | peitaosu/Cardiff | 4c9c836ab3f2b73c9d020443fb505828b307bccc | [
"MIT"
] | 5 | 2017-08-31T03:17:51.000Z | 2020-10-25T05:50:23.000Z | format/jpg/parameterizer.py | peitaosu/Cardiff | 4c9c836ab3f2b73c9d020443fb505828b307bccc | [
"MIT"
] | 4 | 2021-03-18T20:21:59.000Z | 2022-03-11T23:15:48.000Z | format/jpg/parameterizer.py | peitaosu/Cardiff | 4c9c836ab3f2b73c9d020443fb505828b307bccc | [
"MIT"
] | null | null | null | from format.util import parameterize_image_diff
def parameterize(file_diff):
"""print formatted diff data
args:
file_diff (JPG_DIFF)
"""
parameterize_image_diff(file_diff)
| 18.090909 | 47 | 0.713568 | 25 | 199 | 5.36 | 0.56 | 0.179104 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211055 | 199 | 10 | 48 | 19.9 | 0.853503 | 0.286432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
43c9f3583b8b09f5c796c96832baeb364365cdec | 105 | py | Python | core/srcluslib/__init__.py | booktay/srclus | 61e4cb745e3120ff0392a1064ca8239a0d457911 | [
"MIT"
] | null | null | null | core/srcluslib/__init__.py | booktay/srclus | 61e4cb745e3120ff0392a1064ca8239a0d457911 | [
"MIT"
] | null | null | null | core/srcluslib/__init__.py | booktay/srclus | 61e4cb745e3120ff0392a1064ca8239a0d457911 | [
"MIT"
] | null | null | null | from . import corpus
from . import model
from . import utility
__all__ = ["corpus", "model", "utility"]
| 17.5 | 40 | 0.695238 | 13 | 105 | 5.307692 | 0.461538 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 5 | 41 | 21 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 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 |
78dd4e38e9decd9070cbb5bcf63913f86f9718c8 | 68 | py | Python | mindefuse/strategy/knuth/score_count/parallel/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | null | null | null | mindefuse/strategy/knuth/score_count/parallel/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | 1 | 2019-08-22T19:51:12.000Z | 2019-08-22T19:51:12.000Z | mindefuse/strategy/knuth/score_count/parallel/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.7
from .parallel_score import ParallelScore
| 17 | 41 | 0.794118 | 10 | 68 | 5.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.102941 | 68 | 3 | 42 | 22.666667 | 0.836066 | 0.338235 | 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 |
60248bde6c853f84d7eeec9da382ae67ed73a321 | 572 | py | Python | src/simmate/calculators/vasp/inputs/all.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | null | null | null | src/simmate/calculators/vasp/inputs/all.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | null | null | null | src/simmate/calculators/vasp/inputs/all.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# This file sets up a shortcut for importing so that you can do...
# from simmate.calculators.vasp.inputs.all import Incar, Poscar, Kpoints, Potcar
# instead of what's written below. You should only use this shortcut if you are
# using ALL of the classes below or if you are running some quick... | 47.666667 | 83 | 0.79021 | 89 | 572 | 5.078652 | 0.52809 | 0.121681 | 0.243363 | 0.287611 | 0.353982 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002024 | 0.136364 | 572 | 11 | 84 | 52 | 0.912955 | 0.571678 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
603ee2b06784eb42360f087adcdd4cfc92c147fe | 101 | py | Python | concon/usb_driver/linux/__init__.py | calcite/concon | 0bcc627c2859bbf788ae988406004cc16678b06a | [
"MIT"
] | null | null | null | concon/usb_driver/linux/__init__.py | calcite/concon | 0bcc627c2859bbf788ae988406004cc16678b06a | [
"MIT"
] | 2 | 2017-09-15T10:06:21.000Z | 2018-05-11T12:03:44.000Z | concon/usb_driver/linux/__init__.py | calcite/concon | 0bcc627c2859bbf788ae988406004cc16678b06a | [
"MIT"
] | 1 | 2017-09-13T12:27:39.000Z | 2017-09-13T12:27:39.000Z | """
Support for USB HID access on Linux. Uses ``pyusb`` library.
"""
from .usb_driver_linux import *
| 20.2 | 60 | 0.70297 | 15 | 101 | 4.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 4 | 61 | 25.25 | 0.811765 | 0.594059 | 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 |
6053c5191a78c6edb81f3aacfd2ad58e8e4c8629 | 339 | py | Python | test/src/lib/idol/py_data/codegen/all/target/optional_service.py | lyric-com/idol | 285005e9ddaa92b2284b7e9c28cd12f1e34746ec | [
"MIT"
] | null | null | null | test/src/lib/idol/py_data/codegen/all/target/optional_service.py | lyric-com/idol | 285005e9ddaa92b2284b7e9c28cd12f1e34746ec | [
"MIT"
] | 2 | 2020-03-24T18:03:10.000Z | 2020-03-31T10:41:56.000Z | test/src/lib/idol/py_data/codegen/all/target/optional_service.py | lyric-com/idol | 285005e9ddaa92b2284b7e9c28cd12f1e34746ec | [
"MIT"
] | null | null | null | # DO NOT EDIT
# This file was generated by idol_data, any changes will be lost when idol_data is rerun again
from ....all.target.optional_method import OptionalMethod
from dataclasses import field, dataclass
@dataclass
class AllTargetOptionalServiceDataclass(object):
optional: OptionalMethod = field(default_facto... | 33.9 | 94 | 0.817109 | 43 | 339 | 6.348837 | 0.790698 | 0.058608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126844 | 339 | 9 | 95 | 37.666667 | 0.922297 | 0.306785 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
607af27f337056c963871e78ff816a4411ced745 | 86 | py | Python | backend/apps/projects/api/utils/__init__.py | wuchaofan1654/tester | ff38d42e06cbdfa04882e8e95ada2dd93e6609f2 | [
"MIT"
] | null | null | null | backend/apps/projects/api/utils/__init__.py | wuchaofan1654/tester | ff38d42e06cbdfa04882e8e95ada2dd93e6609f2 | [
"MIT"
] | null | null | null | backend/apps/projects/api/utils/__init__.py | wuchaofan1654/tester | ff38d42e06cbdfa04882e8e95ada2dd93e6609f2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Create by sandy at 16:57 23/12/2021
Description: ToDo
"""
| 14.333333 | 35 | 0.604651 | 14 | 86 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 0.174419 | 86 | 5 | 36 | 17.2 | 0.549296 | 0.883721 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.2 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
608827b66130f705a911566041d81ede738c77cd | 544 | py | Python | source/python/_tests/test_instance_types.py | sandeep-gh/pyboost_ipc | 8e26106f1ea93085acc9fa2f68bb048da53cc8e7 | [
"MIT"
] | 8 | 2016-02-03T11:21:05.000Z | 2021-08-05T13:17:21.000Z | source/python/_tests/test_instance_types.py | sandeep-gh/pyboost_ipc | 8e26106f1ea93085acc9fa2f68bb048da53cc8e7 | [
"MIT"
] | 10 | 2015-07-20T21:46:55.000Z | 2015-08-03T12:45:31.000Z | source/python/_tests/test_instance_types.py | sandeep-gh/pyboost_ipc | 8e26106f1ea93085acc9fa2f68bb048da53cc8e7 | [
"MIT"
] | 4 | 2016-02-04T12:30:15.000Z | 2020-04-21T12:00:31.000Z | from pyboost_ipc import anonymous_instance, unique_instance
from pyboost_ipc_tests import receive_object_name_or_instance_type
import pytest
def test_anonymous_instance():
assert receive_object_name_or_instance_type(anonymous_instance) == 'anonymous'
def test_unique_instance():
assert receive_object_name_or_... | 34 | 82 | 0.818015 | 75 | 544 | 5.44 | 0.32 | 0.159314 | 0.208333 | 0.232843 | 0.477941 | 0.477941 | 0.401961 | 0.220588 | 0 | 0 | 0 | 0 | 0.115809 | 544 | 15 | 83 | 36.266667 | 0.848233 | 0 | 0 | 0 | 0 | 0 | 0.042279 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.272727 | true | 0 | 0.272727 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6099a5ccfd7d13c251448018f852bdd0cb90b6ef | 72 | py | Python | gpu_utils/__init__.py | SliMM/gpu-utils | b0a6d608620ec580bcd3b618e0591714998da8fb | [
"MIT"
] | 10 | 2019-03-07T17:26:35.000Z | 2022-02-19T10:49:34.000Z | gpu_utils/__init__.py | SliMM/gpu-utils | b0a6d608620ec580bcd3b618e0591714998da8fb | [
"MIT"
] | 2 | 2019-03-07T15:42:08.000Z | 2021-07-05T18:49:18.000Z | gpu_utils/__init__.py | SliMM/gpu-utils | b0a6d608620ec580bcd3b618e0591714998da8fb | [
"MIT"
] | 1 | 2021-02-22T01:33:19.000Z | 2021-02-22T01:33:19.000Z | from ._version import __version__
from .utils import gpu_init, get_gpus
| 24 | 37 | 0.833333 | 11 | 72 | 4.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 2 | 38 | 36 | 0.84127 | 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 |
60c8629bf300083f947b17eb6905fd0d3fe37e3f | 25,485 | py | Python | tests/test_gpt_exact_match.py | krunt/lean_transformer | 90abdb87bb08566eaba0a45bc29ec6a3220333ac | [
"MIT"
] | 11 | 2022-03-15T07:32:59.000Z | 2022-03-31T13:10:09.000Z | tests/test_gpt_exact_match.py | krunt/lean_transformer | 90abdb87bb08566eaba0a45bc29ec6a3220333ac | [
"MIT"
] | 10 | 2022-03-15T06:27:53.000Z | 2022-03-25T18:53:19.000Z | tests/test_gpt_exact_match.py | krunt/lean_transformer | 90abdb87bb08566eaba0a45bc29ec6a3220333ac | [
"MIT"
] | 1 | 2022-03-18T20:27:42.000Z | 2022-03-18T20:27:42.000Z | import json
import os.path
import pytest
import torch
from lean_transformer.models.gpt import LeanGPTConfig, LeanGPTModel
from tqdm import trange
HERE = os.path.abspath(os.path.dirname(__file__)) + "/"
@pytest.mark.forked
def test_gpt_forward_backward(filename: str = HERE + "gpt_test_data.pth"):
"""
tests t... | 26.354705 | 119 | 0.230449 | 1,605 | 25,485 | 3.558879 | 0.238006 | 0.086134 | 0.128151 | 0.169468 | 0.494398 | 0.478992 | 0.478992 | 0.451681 | 0.440476 | 0.435924 | 0 | 0.260437 | 0.703944 | 25,485 | 966 | 120 | 26.381988 | 0.49662 | 0.016049 | 0 | 0.862217 | 0 | 0 | 0.065551 | 0.011864 | 0 | 0 | 0 | 0 | 0.010764 | 1 | 0.004306 | false | 0 | 0.006459 | 0 | 0.012917 | 0.002153 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
60d8f81b25a9563bfb9f9787a9039c8d2ecfea31 | 62,624 | py | Python | appengine/monorail/api/v3/api_proto/hotlists_prpc_pb2.py | xswz8015/infra | f956b78ce4c39cc76acdda47601b86794ae0c1ba | [
"BSD-3-Clause"
] | null | null | null | appengine/monorail/api/v3/api_proto/hotlists_prpc_pb2.py | xswz8015/infra | f956b78ce4c39cc76acdda47601b86794ae0c1ba | [
"BSD-3-Clause"
] | 7 | 2022-02-15T01:11:37.000Z | 2022-03-02T12:46:13.000Z | appengine/monorail/api/v3/api_proto/hotlists_prpc_pb2.py | NDevTK/chromium-infra | d38e088e158d81f7f2065a38aa1ea1894f735ec4 | [
"BSD-3-Clause"
] | null | null | null | # Generated by the pRPC protocol buffer compiler plugin. DO NOT EDIT!
# source: api/v3/api_proto/hotlists.proto
import base64
import zlib
from google.protobuf import descriptor_pb2
# Includes description of the api/v3/api_proto/hotlists.proto and all of its transitive
# dependencies. Includes source code info.
FILE... | 79.270886 | 92 | 0.884517 | 2,473 | 62,624 | 22.390214 | 0.94905 | 0.001517 | 0.001535 | 0.000939 | 0.003142 | 0.002456 | 0.001517 | 0.001517 | 0.001517 | 0 | 0 | 0.152831 | 0.062676 | 62,624 | 789 | 93 | 79.371356 | 0.790473 | 0.003753 | 0 | 0 | 1 | 0.002564 | 0.907252 | 0.905713 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003846 | 0 | 0.003846 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
88065f98bbae7e170c3501e1b7cfc6e064114fc9 | 120 | py | Python | odoo-13.0/addons/l10n_do/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | odoo-13.0/addons/l10n_do/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/l10n_do/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | # coding: utf-8
# Copyright 2016 iterativo (https://www.iterativo.do) <info@iterativo.do>
from . import chart_template
| 24 | 73 | 0.75 | 17 | 120 | 5.235294 | 0.823529 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 0.116667 | 120 | 4 | 74 | 30 | 0.792453 | 0.708333 | 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 |
8807f6e1a5cfa20cce7b0df1364a8eb50a99db89 | 62 | py | Python | gaesecure/models.py | adamalton/django-gae-secure | 78b6d9a3671b266c90aeb24dffa461d3f14db30b | [
"MIT"
] | 1 | 2016-03-13T05:12:32.000Z | 2016-03-13T05:12:32.000Z | gaesecure/models.py | adamalton/django-gae-secure | 78b6d9a3671b266c90aeb24dffa461d3f14db30b | [
"MIT"
] | null | null | null | gaesecure/models.py | adamalton/django-gae-secure | 78b6d9a3671b266c90aeb24dffa461d3f14db30b | [
"MIT"
] | null | null | null | from gaesecure.patches import apply_patches
apply_patches()
| 12.4 | 43 | 0.83871 | 8 | 62 | 6.25 | 0.625 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 4 | 44 | 15.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
718a211ecc402e92a02ce53cf3dc6f3cf34fc4b6 | 39 | py | Python | python/testData/copyPaste/SingleLine.src.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/copyPaste/SingleLine.src.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/copyPaste/SingleLine.src.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | <selection> print "foo"
</selection> | 19.5 | 26 | 0.666667 | 4 | 39 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 2 | 27 | 19.5 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7199a575c7b60be943be4d17336543c7236715a9 | 290 | py | Python | swig/python/gdal-utils/scripts/gdalcompare.py | FeU-aKlos/gdal | bba6781133815248c9329842d365f8812b74c33f | [
"Apache-2.0"
] | 3,100 | 2015-01-02T10:33:40.000Z | 2022-03-31T02:06:51.000Z | swig/python/gdal-utils/scripts/gdalcompare.py | FeU-aKlos/gdal | bba6781133815248c9329842d365f8812b74c33f | [
"Apache-2.0"
] | 3,496 | 2015-01-06T16:53:30.000Z | 2022-03-31T20:18:51.000Z | swig/python/gdal-utils/scripts/gdalcompare.py | FeU-aKlos/gdal | bba6781133815248c9329842d365f8812b74c33f | [
"Apache-2.0"
] | 2,036 | 2015-01-08T20:22:12.000Z | 2022-03-31T10:24:08.000Z | #!/usr/bin/env python3
import sys
# import osgeo_utils.gdalcompare as a convenience to use as a script
from osgeo_utils.gdalcompare import * # noqa
from osgeo_utils.gdalcompare import main
from osgeo.gdal import deprecation_warn
deprecation_warn('gdalcompare')
sys.exit(main(sys.argv))
| 24.166667 | 68 | 0.803448 | 44 | 290 | 5.181818 | 0.522727 | 0.131579 | 0.276316 | 0.219298 | 0.27193 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003922 | 0.12069 | 290 | 11 | 69 | 26.363636 | 0.890196 | 0.32069 | 0 | 0 | 0 | 0 | 0.056701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71d0ce58e6223fb101d0db33858d927d366437ba | 342 | py | Python | exercicios-Python/ex008.py | pedrosimoes-programmer/exercicios-python | 150de037496d63d76086678d87425a8ccfc74573 | [
"MIT"
] | null | null | null | exercicios-Python/ex008.py | pedrosimoes-programmer/exercicios-python | 150de037496d63d76086678d87425a8ccfc74573 | [
"MIT"
] | null | null | null | exercicios-Python/ex008.py | pedrosimoes-programmer/exercicios-python | 150de037496d63d76086678d87425a8ccfc74573 | [
"MIT"
] | null | null | null | valorM = float(input('\33[1;31mDigite o valor desejado, em metros: \33[m'))
#print('O valor desejado em centímetros ficaria: {} e em milímetros: {}'.format(valorM*100, valorM*1000))
print('\33[4;33m{}Km \n {}Hm \n {}dam \n {:.0f}dm \n {:.0f}cm \n {:.0f}mm\33[m'.format(valorM/1000, valorM/100, valorM/10, valorM*10, valo... | 85.5 | 159 | 0.666667 | 61 | 342 | 3.737705 | 0.508197 | 0.118421 | 0.197368 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137705 | 0.108187 | 342 | 3 | 160 | 114 | 0.609836 | 0.304094 | 0 | 0 | 0 | 0.5 | 0.510549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
71d65af9250c0bee4dbc7461cd3ee683a355c6e6 | 256 | py | Python | inferno/extensions/criteria/__init__.py | vzinche/inferno | 91b22dfcd1b6a9ec415f0bbb6ae66caea42f4034 | [
"Apache-2.0"
] | null | null | null | inferno/extensions/criteria/__init__.py | vzinche/inferno | 91b22dfcd1b6a9ec415f0bbb6ae66caea42f4034 | [
"Apache-2.0"
] | null | null | null | inferno/extensions/criteria/__init__.py | vzinche/inferno | 91b22dfcd1b6a9ec415f0bbb6ae66caea42f4034 | [
"Apache-2.0"
] | null | null | null | from .set_similarity_measures import *
from .elementwise_measures import *
from .core import *
from .regularized import *
from .metric_learning import *
__all__ = ['set_similarity_measures', 'elementwise_measures','core','regularized', 'metric_learning']
| 32 | 101 | 0.792969 | 29 | 256 | 6.586207 | 0.37931 | 0.209424 | 0.219895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 256 | 7 | 102 | 36.571429 | 0.830435 | 0 | 0 | 0 | 0 | 0 | 0.285156 | 0.089844 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 |
e0a88196b9a2d66ba76dce0142f803ce24190b6d | 104 | py | Python | alcpack/__init__.py | amitkpal/alcpack | 21b0497f412eabe22ac9b500b5cc557df427c24c | [
"Apache-2.0"
] | 2 | 2019-07-30T17:29:09.000Z | 2021-01-31T04:58:05.000Z | alcpack/__init__.py | amitkpal/alcpack | 21b0497f412eabe22ac9b500b5cc557df427c24c | [
"Apache-2.0"
] | null | null | null | alcpack/__init__.py | amitkpal/alcpack | 21b0497f412eabe22ac9b500b5cc557df427c24c | [
"Apache-2.0"
] | null | null | null | #!/usr/in/env python3
##
from .alcscript import local_complementation, path_category, alc_function
| 11.555556 | 73 | 0.769231 | 13 | 104 | 5.923077 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.134615 | 104 | 8 | 74 | 13 | 0.844444 | 0.192308 | 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 |
e0b763abdc95e92239ee8e42cb2b59c519b88286 | 170 | py | Python | Cashier/admin.py | carag-matthew/YCCM_Cafe | 2261fd0f6ded18163ae74004c3673a77603b5cda | [
"MIT"
] | null | null | null | Cashier/admin.py | carag-matthew/YCCM_Cafe | 2261fd0f6ded18163ae74004c3673a77603b5cda | [
"MIT"
] | 5 | 2017-10-15T17:14:42.000Z | 2017-10-17T06:16:51.000Z | Cashier/admin.py | carag-matthew/Half-POS | 2261fd0f6ded18163ae74004c3673a77603b5cda | [
"MIT"
] | null | null | null | from django.contrib import admin
from Cashier.models import Product, ProductMod
# Register your models here.
admin.site.register(Product)
admin.site.register(ProductMod) | 28.333333 | 46 | 0.829412 | 23 | 170 | 6.130435 | 0.565217 | 0.12766 | 0.241135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 170 | 6 | 47 | 28.333333 | 0.915584 | 0.152941 | 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 |
e0c6f26cd16128f8052720ce4d6cdbefd9793838 | 208 | py | Python | busy_beaver/models/kv_store.py | ZaxR/busy-beaver | ffe1250d0156f71d1053f37c8070ca0dd888348f | [
"MIT"
] | null | null | null | busy_beaver/models/kv_store.py | ZaxR/busy-beaver | ffe1250d0156f71d1053f37c8070ca0dd888348f | [
"MIT"
] | null | null | null | busy_beaver/models/kv_store.py | ZaxR/busy-beaver | ffe1250d0156f71d1053f37c8070ca0dd888348f | [
"MIT"
] | null | null | null | from simplekv.db.sql import SQLAlchemyStore
from .. import db
from ..adapters.key_value_store import KeyValueStore
store = SQLAlchemyStore(db.engine, db.metadata, 'kv_store')
kv_store = KeyValueStore(store)
| 29.714286 | 59 | 0.807692 | 28 | 208 | 5.857143 | 0.5 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100962 | 208 | 6 | 60 | 34.666667 | 0.877005 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 |
e0e6b88d0bd746e7c46f96f06f7688e2b8be8f29 | 319 | py | Python | moto/opsworks/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 3 | 2020-08-04T20:29:41.000Z | 2020-11-09T09:28:19.000Z | moto/opsworks/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 17 | 2020-08-28T12:53:56.000Z | 2020-11-10T01:04:46.000Z | moto/opsworks/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 2 | 2017-03-02T05:59:52.000Z | 2020-09-03T13:25:44.000Z | from __future__ import unicode_literals
from .models import opsworks_backends
from ..core.models import base_decorator, deprecated_base_decorator
opsworks_backend = opsworks_backends["us-east-1"]
mock_opsworks = base_decorator(opsworks_backends)
mock_opsworks_deprecated = deprecated_base_decorator(opsworks_backends)
| 39.875 | 71 | 0.871473 | 40 | 319 | 6.475 | 0.425 | 0.247104 | 0.243243 | 0.239382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003378 | 0.0721 | 319 | 7 | 72 | 45.571429 | 0.871622 | 0 | 0 | 0 | 0 | 0 | 0.028213 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.