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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a8b148c32e02ed52154cfd52c0605d99687fd17 | 76 | py | Python | atcoder/abc/a035.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | atcoder/abc/a035.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | atcoder/abc/a035.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | W, H = map(int, input().split())
print("4:3" if 4 * H == 3 * W else "16:9")
| 25.333333 | 42 | 0.5 | 17 | 76 | 2.235294 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 0.210526 | 76 | 2 | 43 | 38 | 0.516667 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
aa53b31e51246da4e5cbdd1eaa930f83edb36fc7 | 533 | py | Python | Maior_e_Menor.py | PedroFelipe-G-Arruda/Grupo-python | a43e6575cf3b7c0de22aa3b19995a86ccab37ad2 | [
"MIT"
] | null | null | null | Maior_e_Menor.py | PedroFelipe-G-Arruda/Grupo-python | a43e6575cf3b7c0de22aa3b19995a86ccab37ad2 | [
"MIT"
] | null | null | null | Maior_e_Menor.py | PedroFelipe-G-Arruda/Grupo-python | a43e6575cf3b7c0de22aa3b19995a86ccab37ad2 | [
"MIT"
] | null | null | null | a = float(input('digite um numero:'))
b = float(input('digite um numero:'))
c = float(input('digite um numero:'))
if a > b:
if a > c:
ma = a
if b > c:
mi = c
if c > b:
mi = b
if b > a:
if b > c:
ma = b
if a > c:
mi = c
if c > ... | 18.37931 | 60 | 0.348968 | 84 | 533 | 2.214286 | 0.202381 | 0.064516 | 0.258065 | 0.290323 | 0.462366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5197 | 533 | 29 | 60 | 18.37931 | 0.726563 | 0 | 0 | 0.72 | 0 | 0 | 0.162921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa5cac558a4f7f7ce93e05bc22da8c8c1d651763 | 88 | py | Python | Ara_Ara/apps.py | ksdfg/ARA-ARA | 408c5d55f670279c6d92826fdf78d5f26f8b6bcc | [
"MIT"
] | null | null | null | Ara_Ara/apps.py | ksdfg/ARA-ARA | 408c5d55f670279c6d92826fdf78d5f26f8b6bcc | [
"MIT"
] | null | null | null | Ara_Ara/apps.py | ksdfg/ARA-ARA | 408c5d55f670279c6d92826fdf78d5f26f8b6bcc | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AraAraConfig(AppConfig):
name = "Ara_Ara"
| 14.666667 | 33 | 0.75 | 11 | 88 | 5.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 5 | 34 | 17.6 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
aa7b7c8babb6becd9e4e564c3c915d139ea9f52e | 50 | py | Python | tests/regressiontests/auth_decorators/__init__.py | mdornseif/huDjango | ce6f256b2e3e9fec4af749aebcae81a973e8874b | [
"BSD-2-Clause"
] | null | null | null | tests/regressiontests/auth_decorators/__init__.py | mdornseif/huDjango | ce6f256b2e3e9fec4af749aebcae81a973e8874b | [
"BSD-2-Clause"
] | 1 | 2017-02-16T16:07:03.000Z | 2017-02-17T09:49:20.000Z | tests/regressiontests/auth_decorators/__init__.py | hudora/huDjango | c99ce38517d706973df8e97df48274ab9392f52e | [
"BSD-2-Clause"
] | null | null | null | """Test hudjango.auth.decorator functionality."""
| 25 | 49 | 0.76 | 5 | 50 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.808511 | 0.86 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa95d6856b327f32c668b348733f9e3447d221f2 | 104 | py | Python | node_modules/python-shell/test/python/echo_json.py | brenocg29/TP1RedesInteligentes | 3b73b3567089f9eb2e475ec8402113bf8803bb59 | [
"Apache-2.0"
] | 22 | 2016-08-23T11:27:37.000Z | 2022-03-01T04:15:20.000Z | node_modules/python-shell/test/python/echo_json.py | brenocg29/TP1RedesInteligentes | 3b73b3567089f9eb2e475ec8402113bf8803bb59 | [
"Apache-2.0"
] | 68 | 2015-06-25T17:13:22.000Z | 2017-05-08T16:01:47.000Z | node_modules/python-shell/test/python/echo_json.py | brenocg29/TP1RedesInteligentes | 3b73b3567089f9eb2e475ec8402113bf8803bb59 | [
"Apache-2.0"
] | 10 | 2017-05-06T19:09:41.000Z | 2021-10-16T17:55:02.000Z | import sys, json
# simple JSON echo script
for line in sys.stdin:
print json.dumps(json.loads(line))
| 17.333333 | 36 | 0.740385 | 18 | 104 | 4.277778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 104 | 5 | 37 | 20.8 | 0.885057 | 0.221154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 | 0 | 0 | 4 |
aac10d4f658b5c83786e200cf1103c6f1cea1eed | 785 | py | Python | donor/models.py | noRubidium/VampirePty | 69d9d42c0c5eddc3b363270287e468064d8b3d6c | [
"MIT"
] | null | null | null | donor/models.py | noRubidium/VampirePty | 69d9d42c0c5eddc3b363270287e468064d8b3d6c | [
"MIT"
] | null | null | null | donor/models.py | noRubidium/VampirePty | 69d9d42c0c5eddc3b363270287e468064d8b3d6c | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
from hospital.models import Hospital
# Create your models here.
class Donor(models.Model):
name = models.CharField(max_length = 200)
username = models.CharField(max_length = 200)
password = models.CharField(max_length = 200)
gender =... | 39.25 | 75 | 0.742675 | 100 | 785 | 5.63 | 0.47 | 0.186501 | 0.223801 | 0.298401 | 0.388988 | 0.149201 | 0.149201 | 0.149201 | 0 | 0 | 0 | 0.032061 | 0.165605 | 785 | 19 | 76 | 41.315789 | 0.827481 | 0.030573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.0625 | 0.1875 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
2a9f13a70d3783da3197770a209618a00e0a33a0 | 585 | py | Python | src/deviceinterface.py | nlitz88/metrics | a53cb0aa9bfbeea0dc9788f5461ff10905bc0352 | [
"MIT"
] | null | null | null | src/deviceinterface.py | nlitz88/metrics | a53cb0aa9bfbeea0dc9788f5461ff10905bc0352 | [
"MIT"
] | null | null | null | src/deviceinterface.py | nlitz88/metrics | a53cb0aa9bfbeea0dc9788f5461ff10905bc0352 | [
"MIT"
] | null | null | null | class DeviceInterface:
# This operation is used to initialize the device instance. Accepts a dictionary that is read in from the device's yaml definition.
# This device_config_yaml may contain any number of parameters/fields necessary to initialize/setup the instance for data collection.
def initialize(self... | 65 | 137 | 0.760684 | 85 | 585 | 5.164706 | 0.658824 | 0.05467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 585 | 9 | 138 | 65 | 0.938034 | 0.74359 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
2abcd921b69ac065ccb1607e10b4019c98f27da0 | 226 | py | Python | catalog/bindings/gmd/circle_by_center_point_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | catalog/bindings/gmd/circle_by_center_point_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | catalog/bindings/gmd/circle_by_center_point_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
from bindings.gmd.arc_by_center_point_type import ArcByCenterPointType
__NAMESPACE__ = "http://www.opengis.net/gml"
@dataclass
class CircleByCenterPointType(ArcByCenterPointType):
pass
| 22.6 | 70 | 0.836283 | 25 | 226 | 7.24 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 226 | 9 | 71 | 25.111111 | 0.887255 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
2ad5e8acfb1924c4fca0cbad2cf3c61e5ea92167 | 203 | py | Python | tests/common/scripts/cleaning/test_strip.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 42 | 2020-03-25T16:47:30.000Z | 2022-01-31T21:26:38.000Z | tests/common/scripts/cleaning/test_strip.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 367 | 2020-04-08T12:46:34.000Z | 2022-02-16T01:15:32.000Z | tests/common/scripts/cleaning/test_strip.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 3 | 2020-05-14T08:24:46.000Z | 2021-08-04T05:00:16.000Z | from common.scripts.cleaning import strip
def test_clean_identity():
assert strip(None) == ""
assert strip("NaN") == ""
row_input = "Holà chicanos"
assert strip(row_input) == row_input
| 22.555556 | 41 | 0.674877 | 26 | 203 | 5.076923 | 0.653846 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197044 | 203 | 8 | 42 | 25.375 | 0.809816 | 0 | 0 | 0 | 0 | 0 | 0.078818 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | false | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2ae152f052fcede641510f72585c3855762a8eb7 | 119 | py | Python | workflow/scripts/data/__init__.py | percyfal/wg-genealogy-smk | f9ed6e5876ca20c6693625237e57b22acd3f4cee | [
"MIT"
] | 1 | 2022-03-21T17:43:08.000Z | 2022-03-21T17:43:08.000Z | workflow/scripts/data/__init__.py | percyfal/wg-genealogy-smk | f9ed6e5876ca20c6693625237e57b22acd3f4cee | [
"MIT"
] | null | null | null | workflow/scripts/data/__init__.py | percyfal/wg-genealogy-smk | f9ed6e5876ca20c6693625237e57b22acd3f4cee | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__all__ = ("natural_earth",)
from .natural_earth import natural_earth
| 17 | 40 | 0.689076 | 16 | 119 | 4.6875 | 0.75 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.134454 | 119 | 6 | 41 | 19.833333 | 0.708738 | 0.361345 | 0 | 0 | 0 | 0 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
630383ff02afa466d04f39beea1550433314bef9 | 234 | py | Python | project_opensource/nanodet-2020_11_27/nanodet-main/nanodet/data/dataset/__init__.py | yunshangyue71/mycodes | 54b876004c32d38d9c0363fd292d745fee8dff3c | [
"Apache-2.0"
] | null | null | null | project_opensource/nanodet-2020_11_27/nanodet-main/nanodet/data/dataset/__init__.py | yunshangyue71/mycodes | 54b876004c32d38d9c0363fd292d745fee8dff3c | [
"Apache-2.0"
] | null | null | null | project_opensource/nanodet-2020_11_27/nanodet-main/nanodet/data/dataset/__init__.py | yunshangyue71/mycodes | 54b876004c32d38d9c0363fd292d745fee8dff3c | [
"Apache-2.0"
] | null | null | null | import copy
from .coco import CocoDataset
def build_dataset(cfg, mode):
dataset_cfg = copy.deepcopy(cfg)
if dataset_cfg['name'] == 'coco':
dataset_cfg.pop('name')
return CocoDataset(mode=mode, **dataset_cfg)
| 23.4 | 52 | 0.679487 | 31 | 234 | 4.967742 | 0.483871 | 0.324675 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196581 | 234 | 9 | 53 | 26 | 0.819149 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6327d98e619405f59bb76b328007d961e5267f30 | 655 | py | Python | wofry/beamline/optical_elements/ideal_elements/screen.py | PaNOSC-ViNYL/wofry | 779b5a738ee7738e959a58aafe01e7e49b03894a | [
"MIT"
] | null | null | null | wofry/beamline/optical_elements/ideal_elements/screen.py | PaNOSC-ViNYL/wofry | 779b5a738ee7738e959a58aafe01e7e49b03894a | [
"MIT"
] | null | null | null | wofry/beamline/optical_elements/ideal_elements/screen.py | PaNOSC-ViNYL/wofry | 779b5a738ee7738e959a58aafe01e7e49b03894a | [
"MIT"
] | null | null | null | """
Represents an ideal lens.
"""
from syned.beamline.optical_elements.ideal_elements.screen import Screen
from wofry.beamline.decorators import OpticalElementDecorator
class WOScreen(Screen, OpticalElementDecorator):
def __init__(self, name="Undefined"):
Screen.__init__(self, name=name)
def applyOpti... | 32.75 | 82 | 0.760305 | 70 | 655 | 6.828571 | 0.414286 | 0.066946 | 0.100418 | 0.150628 | 0.648536 | 0.648536 | 0.648536 | 0.648536 | 0.648536 | 0.648536 | 0 | 0.001789 | 0.146565 | 655 | 19 | 83 | 34.473684 | 0.853309 | 0.038168 | 0 | 0.666667 | 0 | 0 | 0.028939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
2d49e0003cf21961e6f6dc0b7737191d0a1bdba9 | 772 | py | Python | src/sima/riflex/fileformatcode.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/riflex/fileformatcode.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/riflex/fileformatcode.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | # Generated with FileFormatCode
#
from enum import Enum
from enum import auto
class FileFormatCode(Enum):
""""""
BINARY_OUTPUT_ONLY = auto()
ASCII_OUTPUT_ONLY = auto()
NO_ADDITIONAL_OUTPUT = auto()
ASCII_OUTPUT = auto()
BINARY_OUTPUT = auto()
def label(self):
if self == FileFormat... | 32.166667 | 55 | 0.650259 | 85 | 772 | 5.717647 | 0.270588 | 0.061728 | 0.205761 | 0.213992 | 0.45679 | 0.152263 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265544 | 772 | 24 | 56 | 32.166667 | 0.857143 | 0.037565 | 0 | 0 | 1 | 0 | 0.152589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2d5b33059a390f5db8e8df5de2be104977259c36 | 10,442 | py | Python | lib/mpmath/tests/test_hp.py | np0212/Capstone-Project | 424c4fd59b4d2d1b4ddbea3b78e93d7fa8575ca7 | [
"Apache-2.0"
] | 4 | 2018-07-04T17:20:12.000Z | 2019-07-14T18:07:25.000Z | lib/mpmath/tests/test_hp.py | np0212/Capstone-Project | 424c4fd59b4d2d1b4ddbea3b78e93d7fa8575ca7 | [
"Apache-2.0"
] | 7 | 2017-05-01T14:15:32.000Z | 2017-09-06T20:44:24.000Z | lib/mpmath/tests/test_hp.py | np0212/Capstone-Project | 424c4fd59b4d2d1b4ddbea3b78e93d7fa8575ca7 | [
"Apache-2.0"
] | 1 | 2018-09-03T03:02:06.000Z | 2018-09-03T03:02:06.000Z | """
Check that the output from irrational functions is accurate for
high-precision input, from 5 to 200 digits. The reference values were
verified with Mathematica.
"""
import time
from mpmath import *
precs = [5, 15, 28, 35, 57, 80, 100, 150, 200]
# sqrt(3) + pi/2
a = \
"3.302847134363773912758768033145623809041389... | 35.638225 | 76 | 0.77648 | 898 | 10,442 | 8.91314 | 0.276169 | 0.003998 | 0.004873 | 0.012244 | 0.033108 | 0.024238 | 0.022739 | 0.016742 | 0.016492 | 0.008496 | 0 | 0.644712 | 0.126125 | 10,442 | 292 | 77 | 35.760274 | 0.232438 | 0.151887 | 0 | 0.068421 | 0 | 0 | 0.60657 | 0.587359 | 0 | 0 | 0 | 0 | 0.152632 | 1 | 0.021053 | false | 0 | 0.010526 | 0 | 0.036842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2d5e1da162df4150bdc1aed06c46f5054aabf1f7 | 52 | py | Python | test3a.py | naveen912014/pyneta | 637bf25d39a8e773845dc57eac276382642d92d0 | [
"Apache-2.0"
] | null | null | null | test3a.py | naveen912014/pyneta | 637bf25d39a8e773845dc57eac276382642d92d0 | [
"Apache-2.0"
] | null | null | null | test3a.py | naveen912014/pyneta | 637bf25d39a8e773845dc57eac276382642d92d0 | [
"Apache-2.0"
] | null | null | null |
print
print('This is Naveen')
:q
| 2.26087 | 23 | 0.442308 | 6 | 52 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 52 | 22 | 24 | 2.363636 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
2d9e596053cbf26c358f0b0d5fec8cd4ccabf164 | 114 | py | Python | app/models.py | emmapraise/tweekners | c4c1af7bbf606d1e1b031482ebe9bed8fb62292a | [
"MIT"
] | 1 | 2021-04-30T15:55:00.000Z | 2021-04-30T15:55:00.000Z | app/models.py | emmapraise/tweekners | c4c1af7bbf606d1e1b031482ebe9bed8fb62292a | [
"MIT"
] | null | null | null | app/models.py | emmapraise/tweekners | c4c1af7bbf606d1e1b031482ebe9bed8fb62292a | [
"MIT"
] | null | null | null | from . import db
class User(db.Model):
""" Data Model for User Account"""
__tablename__ = 'Users'
| 22.8 | 38 | 0.605263 | 14 | 114 | 4.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27193 | 114 | 5 | 39 | 22.8 | 0.783133 | 0.236842 | 0 | 0 | 0 | 0 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2da05b7bb91fd333642597816cb7392931c551a1 | 276 | py | Python | tests/_support/docstrings.py | techtonik/invoke | f776d27b3cac96f98dd5ad9d1bb3b41a3e54346a | [
"BSD-2-Clause"
] | null | null | null | tests/_support/docstrings.py | techtonik/invoke | f776d27b3cac96f98dd5ad9d1bb3b41a3e54346a | [
"BSD-2-Clause"
] | null | null | null | tests/_support/docstrings.py | techtonik/invoke | f776d27b3cac96f98dd5ad9d1bb3b41a3e54346a | [
"BSD-2-Clause"
] | null | null | null | from invoke import task
@task
def no_docstring():
pass
@task
def one_line():
"""foo
"""
@task
def two_lines():
"""foo
bar
"""
@task
def leading_whitespace():
"""
foo
"""
@task(aliases=('a', 'b'))
def with_aliases():
"""foo
"""
| 9.857143 | 25 | 0.514493 | 33 | 276 | 4.151515 | 0.606061 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289855 | 276 | 27 | 26 | 10.222222 | 0.69898 | 0.086957 | 0 | 0.333333 | 0 | 0 | 0.009662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | true | 0.083333 | 0.083333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2da6673de1f45443b481635cfc357d6aa84b8b6e | 10,180 | py | Python | jax/_src/numpy/ndarray.py | tianjuchen/jax | 4755dc3fee8a33030c0571ecf4217c5656e3170d | [
"Apache-2.0"
] | null | null | null | jax/_src/numpy/ndarray.py | tianjuchen/jax | 4755dc3fee8a33030c0571ecf4217c5656e3170d | [
"Apache-2.0"
] | null | null | null | jax/_src/numpy/ndarray.py | tianjuchen/jax | 4755dc3fee8a33030c0571ecf4217c5656e3170d | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 34.391892 | 87 | 0.654224 | 1,269 | 10,180 | 5.066982 | 0.234043 | 0.256454 | 0.301711 | 0.307621 | 0.566563 | 0.456299 | 0.234681 | 0.224106 | 0.206687 | 0.197667 | 0 | 0.003255 | 0.185265 | 10,180 | 295 | 88 | 34.508475 | 0.772004 | 0.123576 | 0 | 0.465021 | 0 | 0 | 0.017098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411523 | false | 0 | 0.024691 | 0 | 0.465021 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2da83aad3727d404e8eb161796f19ec8b932423c | 471 | py | Python | tests/conftest.py | bcsummers/falcon-provider-redis | fb2644530196448aff6c1924d8bd533f0ce4ee8c | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | bcsummers/falcon-provider-redis | fb2644530196448aff6c1924d8bd533f0ce4ee8c | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | bcsummers/falcon-provider-redis | fb2644530196448aff6c1924d8bd533f0ce4ee8c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Testing conf module."""
# third-party
import pytest
from falcon import testing
from .app import app_hook, app_middleware
@pytest.fixture
def client_hook() -> testing.TestClient:
"""Create testing client fixture for hook app"""
return testing.TestClient(app_hook)
@pytest.fixture
d... | 23.55 | 58 | 0.73673 | 59 | 471 | 5.779661 | 0.372881 | 0.199413 | 0.093842 | 0.129032 | 0.439883 | 0.269795 | 0.269795 | 0 | 0 | 0 | 0 | 0.002494 | 0.14862 | 471 | 19 | 59 | 24.789474 | 0.84788 | 0.312102 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2df53ea42aed1c3338e8b5cf86c170ffdfe06678 | 131 | py | Python | magicdice/__init__.py | emre/magicdice | 326512696b766248cfb8998aec5b0bd8bff393ba | [
"MIT"
] | 5 | 2019-02-26T21:59:21.000Z | 2019-05-28T06:32:06.000Z | magicdice/__init__.py | emre/magicdice | 326512696b766248cfb8998aec5b0bd8bff393ba | [
"MIT"
] | null | null | null | magicdice/__init__.py | emre/magicdice | 326512696b766248cfb8998aec5b0bd8bff393ba | [
"MIT"
] | null | null | null | class MagicDice:
def __init__(self, account, active_key):
self.account = account
self.active_key = active_key
| 21.833333 | 44 | 0.671756 | 16 | 131 | 5.0625 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251908 | 131 | 5 | 45 | 26.2 | 0.826531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2df6288c891a7e36cd3f5221f22fe8e36ca68a70 | 6,056 | py | Python | regress/PORT_ME_TESTS/tests-glen.py | fp7-ofelia/VeRTIGO | 11f39f819196c8352611852435dea17bc6a2292f | [
"BSD-3-Clause"
] | 2 | 2016-10-12T08:20:00.000Z | 2017-05-09T13:13:18.000Z | regress/PORT_ME_TESTS/tests-glen.py | fp7-ofelia/VeRTIGO | 11f39f819196c8352611852435dea17bc6a2292f | [
"BSD-3-Clause"
] | null | null | null | regress/PORT_ME_TESTS/tests-glen.py | fp7-ofelia/VeRTIGO | 11f39f819196c8352611852435dea17bc6a2292f | [
"BSD-3-Clause"
] | 1 | 2020-10-01T07:57:34.000Z | 2020-10-01T07:57:34.000Z | #!/usr/bin/python
from fvregress import *
import string # really? you have to do this?
if len(sys.argv) > 1 :
wantPause = True
timeout=9999999
valgrindArgs= []
else:
wantPause = False
timeout=5
valgrindArgs= None
# start up a flowvisor with 1 switch (default) and two guests
#h= HyperTest(guests=[('localhost'... | 67.288889 | 192 | 0.803831 | 424 | 6,056 | 11.212264 | 0.278302 | 0.055953 | 0.04207 | 0.054691 | 0.192049 | 0.166807 | 0.098233 | 0.088347 | 0.022718 | 0 | 0 | 0.440064 | 0.06605 | 6,056 | 89 | 193 | 68.044944 | 0.40046 | 0.078435 | 0 | 0.078125 | 0 | 0 | 0.566154 | 0.482946 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
93208a4a4fa8500fdf154d105073add88c48b822 | 151 | py | Python | napari_bb_annotations/__init__.py | czbiohub/napari-bb-annotation | c316931de363e41c702e69316933b486d5f38cb2 | [
"BSD-3-Clause"
] | 3 | 2021-03-12T18:13:40.000Z | 2021-04-27T00:22:03.000Z | napari_bb_annotations/__init__.py | czbiohub/napari-bb-annotation | c316931de363e41c702e69316933b486d5f38cb2 | [
"BSD-3-Clause"
] | 13 | 2021-04-05T20:32:08.000Z | 2021-06-23T05:35:37.000Z | napari_bb_annotations/__init__.py | czbiohub/napari-bb-annotations | c316931de363e41c702e69316933b486d5f38cb2 | [
"BSD-3-Clause"
] | null | null | null | try:
from ._version import version as __version__
except ImportError:
__version__ = "unknown"
from . import _key_bindings
del _key_bindings
| 15.1 | 48 | 0.761589 | 18 | 151 | 5.666667 | 0.611111 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192053 | 151 | 9 | 49 | 16.777778 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.046358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
93220f73e54d4401d09974fa1a394a20787d5fd3 | 137 | py | Python | src/news_lk/upload_data.py | nuuuwan/news_lk | a2e60fd2dfb49f7c5e8d432cdd5fad0511575197 | [
"MIT"
] | null | null | null | src/news_lk/upload_data.py | nuuuwan/news_lk | a2e60fd2dfb49f7c5e8d432cdd5fad0511575197 | [
"MIT"
] | null | null | null | src/news_lk/upload_data.py | nuuuwan/news_lk | a2e60fd2dfb49f7c5e8d432cdd5fad0511575197 | [
"MIT"
] | null | null | null | """Uploaded data to nuuuwan/news_lk:data branch."""
from news_lk import scrape
if __name__ == '__main__':
scrape.scrape_and_dump()
| 19.571429 | 51 | 0.729927 | 20 | 137 | 4.4 | 0.75 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 6 | 52 | 22.833333 | 0.752137 | 0.328467 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fa8070ca6c33d7c997430f09e7d9b6f93e1c5af7 | 5,553 | py | Python | ggtools/gg/__init__.py | richannan/GGTOOLS | 7909da988d90de50c82532d97121a3fbcfc0263a | [
"MIT"
] | 22 | 2019-12-16T01:30:29.000Z | 2022-03-01T08:57:07.000Z | ggtools/gg/__init__.py | richannan/GGTOOLS | 7909da988d90de50c82532d97121a3fbcfc0263a | [
"MIT"
] | 3 | 2019-12-23T14:09:30.000Z | 2022-03-29T01:52:53.000Z | ggtools/gg/__init__.py | richannan/GGTOOLS | 7909da988d90de50c82532d97121a3fbcfc0263a | [
"MIT"
] | 13 | 2019-12-19T07:01:19.000Z | 2022-03-14T11:26:36.000Z | '''
ggtools gg subpackage
This subpackage defines the following functions:
# ====================== fitting function ==================== #
func - Define a linear function f(x) = a0 + a1/T*x to be fitted, where a0 and a1 are parameters for inter
# ====================== estinate lovebums =================== #
love... | 43.724409 | 193 | 0.715469 | 789 | 5,553 | 4.941698 | 0.334601 | 0.012311 | 0.00513 | 0.007694 | 0.288792 | 0.280072 | 0.271095 | 0.252629 | 0.234676 | 0.215183 | 0 | 0.00953 | 0.149649 | 5,553 | 127 | 194 | 43.724409 | 0.81618 | 0.901855 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fa9589b85e6ec9a294f76d78c7dade6ff939d964 | 119 | py | Python | CodingBat/Python/Warmup-1 > not_string.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/Warmup-1 > not_string.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/Warmup-1 > not_string.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | #Warmup-1 > not_string
def not_string(str):
if str.startswith('not'):
return str
else:
return "not " + str | 19.833333 | 27 | 0.638655 | 18 | 119 | 4.111111 | 0.555556 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.226891 | 119 | 6 | 28 | 19.833333 | 0.793478 | 0.176471 | 0 | 0 | 0 | 0 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
facf32ca0ec852661f76a8129eb47cff600e9536 | 104 | py | Python | boltstream/responses.py | geekpii/boltstream | 3a107372ac7d67c18fd257c75769f125c855c5b6 | [
"Apache-2.0"
] | 1,735 | 2020-12-07T02:06:43.000Z | 2022-03-18T01:47:06.000Z | boltstream/responses.py | sonrebmax/boltstream | 10a4398b165cc4440c38ab4cd657a74e00cba38b | [
"Apache-2.0"
] | 10 | 2020-12-07T02:41:23.000Z | 2021-12-22T06:47:56.000Z | boltstream/responses.py | sonrebmax/boltstream | 10a4398b165cc4440c38ab4cd657a74e00cba38b | [
"Apache-2.0"
] | 126 | 2020-12-07T03:17:44.000Z | 2022-03-12T18:06:27.000Z | from django.http import HttpResponse
class HttpResponseNoContent(HttpResponse):
status_code = 204
| 17.333333 | 42 | 0.807692 | 11 | 104 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.144231 | 104 | 5 | 43 | 20.8 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fadaa73e2ce983f8ee457b6bf67edceb51e25ddc | 197 | py | Python | res/TensorFlowPythonExamples/examples/while/__init__.py | bogus-sudo/ONE-1 | 7052a817eff661ec2854ed2e7ee0de5e8ba82b55 | [
"Apache-2.0"
] | 255 | 2020-05-22T07:45:29.000Z | 2022-03-29T23:58:22.000Z | res/TensorFlowPythonExamples/examples/while/__init__.py | bogus-sudo/ONE-1 | 7052a817eff661ec2854ed2e7ee0de5e8ba82b55 | [
"Apache-2.0"
] | 5,102 | 2020-05-22T07:48:33.000Z | 2022-03-31T23:43:39.000Z | res/TensorFlowPythonExamples/examples/while/__init__.py | bogus-sudo/ONE-1 | 7052a817eff661ec2854ed2e7ee0de5e8ba82b55 | [
"Apache-2.0"
] | 120 | 2020-05-22T07:51:08.000Z | 2022-02-16T19:08:05.000Z | import tensorflow as tf
i = tf.compat.v1.constant(0, name="Hole")
c = lambda i: tf.compat.v1.less(i, 10)
b = lambda i: tf.compat.v1.add(i, 1)
r = tf.compat.v1.while_loop(c, b, [i], name="While")
| 24.625 | 52 | 0.654822 | 41 | 197 | 3.121951 | 0.512195 | 0.25 | 0.3125 | 0.257813 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047337 | 0.142132 | 197 | 7 | 53 | 28.142857 | 0.710059 | 0 | 0 | 0 | 0 | 0 | 0.045685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f0910b1680523eb838126b34d6516b834cc9d25 | 217 | py | Python | test/test_mssql.py | samirsilwal/pyodbc | 53f6bd17fe52a180729b4f0db2201a569f697582 | [
"MIT"
] | 20 | 2019-11-22T02:47:37.000Z | 2022-03-18T19:25:28.000Z | test/test_mssql.py | samirsilwal/pyodbc | 53f6bd17fe52a180729b4f0db2201a569f697582 | [
"MIT"
] | 29 | 2019-09-09T07:17:19.000Z | 2020-08-06T04:18:13.000Z | test/test_mssql.py | samirsilwal/pyodbc | 53f6bd17fe52a180729b4f0db2201a569f697582 | [
"MIT"
] | 19 | 2019-09-30T18:36:24.000Z | 2022-01-04T16:53:42.000Z | ''' Tests for MSSQL. '''
from util import exec_query, MSSQL
def test_connection():
''' Test connection to MSSQL Server. '''
result = exec_query(MSSQL, "SELECT 'It works!'")
assert result == 'It works!'
| 21.7 | 52 | 0.645161 | 28 | 217 | 4.892857 | 0.642857 | 0.131387 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207373 | 217 | 9 | 53 | 24.111111 | 0.796512 | 0.230415 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f0a4e418f04b1eac7667ced923ca16a38945606 | 234 | py | Python | onos_ric_sdk_py/__init__.py | MatthewWEdwards/onos-ric-sdk-py | 2c38542616b8c0d087315b05f12de6eefb2bb3f3 | [
"Apache-2.0"
] | null | null | null | onos_ric_sdk_py/__init__.py | MatthewWEdwards/onos-ric-sdk-py | 2c38542616b8c0d087315b05f12de6eefb2bb3f3 | [
"Apache-2.0"
] | null | null | null | onos_ric_sdk_py/__init__.py | MatthewWEdwards/onos-ric-sdk-py | 2c38542616b8c0d087315b05f12de6eefb2bb3f3 | [
"Apache-2.0"
] | null | null | null | # SPDX-FileCopyrightText: © 2021 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
from __future__ import absolute_import
from .e2 import E2Client, Subscription
from .sdl import SDLClient
| 29.25 | 88 | 0.816239 | 30 | 234 | 6.233333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.111111 | 234 | 7 | 89 | 33.428571 | 0.855769 | 0.521368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
87823ea34fec0208210e9f22e5e30fc8a7e93695 | 52 | py | Python | vpos/exceptions.py | txiocoder/django-vpos | 7ee39c7b90675689b0b1b9c83767d48149da539a | [
"MIT"
] | 3 | 2021-11-18T16:31:05.000Z | 2022-01-21T13:41:58.000Z | vpos/exceptions.py | txiocoder/django-vpos | 7ee39c7b90675689b0b1b9c83767d48149da539a | [
"MIT"
] | 1 | 2021-11-22T19:11:38.000Z | 2021-11-22T20:21:29.000Z | vpos/exceptions.py | txiocoder/django-vpos | 7ee39c7b90675689b0b1b9c83767d48149da539a | [
"MIT"
] | null | null | null |
class VposConfigurationError(Exception):
pass
| 10.4 | 40 | 0.769231 | 4 | 52 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 52 | 4 | 41 | 13 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
355886956231c917bdbdf9d2101a62ff5e3cd95d | 293 | py | Python | arcsecond/api/endpoints/satellites.py | onekiloparsec/arcsecond.python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | 7 | 2018-08-29T15:31:25.000Z | 2022-01-08T14:08:39.000Z | arcsecond/api/endpoints/satellites.py | onekiloparsec/arcsecond-python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | 2 | 2018-10-21T07:42:26.000Z | 2020-02-24T10:11:22.000Z | arcsecond/api/endpoints/satellites.py | onekiloparsec/arcsecond-python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | null | null | null | from ._base import APIEndPoint
class SatellitesAPIEndPoint(APIEndPoint):
name = 'satellites'
def _list_url(self, **filters):
return self._build_url('satellites', **filters)
def _detail_url(self, norad_number):
return self._build_url('satellites', norad_number)
| 24.416667 | 58 | 0.713311 | 33 | 293 | 6 | 0.545455 | 0.070707 | 0.151515 | 0.181818 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180887 | 293 | 11 | 59 | 26.636364 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.102389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
357beddbd194c981ff7bfbba130b3a5fe87ac6d4 | 157 | py | Python | aldryn_search/apps.py | lab360-ch/aldryn-search | 15a319edac126aa1e44f22d34a7bcb5aec3e3dde | [
"BSD-3-Clause"
] | 11 | 2019-03-29T10:32:13.000Z | 2021-02-26T11:44:44.000Z | aldryn_search/apps.py | lab360-ch/aldryn-search | 15a319edac126aa1e44f22d34a7bcb5aec3e3dde | [
"BSD-3-Clause"
] | 23 | 2019-01-31T16:20:57.000Z | 2021-11-10T19:57:58.000Z | aldryn_search/apps.py | lab360-ch/aldryn-search | 15a319edac126aa1e44f22d34a7bcb5aec3e3dde | [
"BSD-3-Clause"
] | 23 | 2019-02-14T09:59:40.000Z | 2022-03-10T12:38:48.000Z | from django.apps import AppConfig
class AldrynSearchConfig(AppConfig):
name = 'aldryn_search'
def ready(self):
from . import conf # noqa
| 17.444444 | 36 | 0.687898 | 18 | 157 | 5.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235669 | 157 | 8 | 37 | 19.625 | 0.891667 | 0.025478 | 0 | 0 | 0 | 0 | 0.086093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3583587e857ba2e03f4dbec666f2d6bee6d2dba7 | 168 | py | Python | loggo2/__init__.py | bitpanda-labs/loggo2 | 0e0d157b12a34a737ddfc0c9083241a6db03b78a | [
"MIT"
] | 6 | 2018-05-15T13:30:02.000Z | 2022-03-08T16:08:05.000Z | loggo2/__init__.py | bitpanda-labs/loggo2 | 0e0d157b12a34a737ddfc0c9083241a6db03b78a | [
"MIT"
] | 102 | 2018-06-15T11:08:11.000Z | 2022-01-21T11:12:11.000Z | loggo2/__init__.py | bitpanda-labs/loggo | 0e0d157b12a34a737ddfc0c9083241a6db03b78a | [
"MIT"
] | 10 | 2018-05-15T11:01:14.000Z | 2022-02-06T20:58:56.000Z | from ._loggo2 import JsonLogFormatter, LocalLogFormatter, Loggo # noqa: F401
__version__ = "10.1.2" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
| 42 | 88 | 0.767857 | 23 | 168 | 5.391304 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.160714 | 168 | 3 | 89 | 56 | 0.815603 | 0.434524 | 0 | 0 | 1 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
35884559fa63fe01a4c1157a7757aab150c568df | 3,979 | py | Python | mlbgame/data/people.py | trevor-viljoen/mlbgame3 | 73e79aebad751b36773f01c93f09a422f69ef9cc | [
"MIT"
] | 6 | 2018-03-23T02:51:10.000Z | 2021-06-15T21:26:51.000Z | mlbgame/data/people.py | trevor-viljoen/mlbgame3 | 73e79aebad751b36773f01c93f09a422f69ef9cc | [
"MIT"
] | null | null | null | mlbgame/data/people.py | trevor-viljoen/mlbgame3 | 73e79aebad751b36773f01c93f09a422f69ef9cc | [
"MIT"
] | 1 | 2019-02-23T07:11:51.000Z | 2019-02-23T07:11:51.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""mlbgame functions for the people API endpoints.
This module's functions gets the JSON payloads for the mlb.com games API
endpoints.
.. _Google Python Style Guide:
http://google.github.io/styleguide/pyguide.html
"""
from mlbgame.data import request
def get_person... | 32.349593 | 79 | 0.642372 | 488 | 3,979 | 5.17418 | 0.254098 | 0.041188 | 0.05703 | 0.069703 | 0.751287 | 0.728713 | 0.690297 | 0.675644 | 0.647129 | 0.631287 | 0 | 0.013144 | 0.292536 | 3,979 | 122 | 80 | 32.614754 | 0.883837 | 0.783865 | 0 | 0 | 0 | 0 | 0.058577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
358a40fd5689697a1d8d1a2da43fe16bdb4a6fd3 | 87 | py | Python | mypage/apps.py | shotastage/neco-sys | 60816ceee3eaf36d8d278db72e741d45c3f4af41 | [
"MIT"
] | 2 | 2021-08-15T02:17:43.000Z | 2022-01-31T14:46:20.000Z | rainy_project/mypage/apps.py | habijung/WEB_HeavyReading_Rainy | 58b7429e88931175ddceab2c280161a267149a15 | [
"MIT"
] | 10 | 2020-02-12T00:37:45.000Z | 2022-03-03T21:58:40.000Z | rainy_project/mypage/apps.py | habijung/WEB_HeavyReading_Rainy | 58b7429e88931175ddceab2c280161a267149a15 | [
"MIT"
] | 2 | 2020-11-17T09:37:24.000Z | 2021-10-04T05:59:02.000Z | from django.apps import AppConfig
class MypageConfig(AppConfig):
name = 'mypage'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
35cba22e1908f51ae40f6b613a82f59b7cb71986 | 89 | py | Python | apps/players/apps.py | xeroz/admin-django | e10c5eb87f9aea7a714e5be2307969a3b998706c | [
"MIT"
] | 12 | 2018-03-20T21:38:53.000Z | 2021-10-31T10:00:12.000Z | apps/players/apps.py | xeroz/admin-django | e10c5eb87f9aea7a714e5be2307969a3b998706c | [
"MIT"
] | 79 | 2018-03-18T14:26:47.000Z | 2022-03-01T15:51:40.000Z | apps/players/apps.py | xeroz/admin-django | e10c5eb87f9aea7a714e5be2307969a3b998706c | [
"MIT"
] | 4 | 2018-05-18T15:39:56.000Z | 2020-10-29T09:28:41.000Z | from django.apps import AppConfig
class PlayersConfig(AppConfig):
name = 'players'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
35db3c607e8460d5391f5e65c6e7e40b3c6921ac | 7,147 | py | Python | app/tests/functional/test_user.py | sun-fengcai/flask_template | fc6c5963ac9ac632c83d81c7b62ab74d7e99d02d | [
"MIT"
] | 3 | 2019-11-16T06:51:17.000Z | 2019-11-21T01:18:31.000Z | app/tests/functional/test_user.py | sun-fengcai/flask_template | fc6c5963ac9ac632c83d81c7b62ab74d7e99d02d | [
"MIT"
] | 27 | 2019-11-17T13:56:49.000Z | 2021-06-28T12:04:18.000Z | app/tests/functional/test_user.py | sun-fengcai/flask_template | fc6c5963ac9ac632c83d81c7b62ab74d7e99d02d | [
"MIT"
] | 1 | 2021-04-23T23:57:28.000Z | 2021-04-23T23:57:28.000Z | import json
from app import utils
def test_add_user(test_app, test_database):
client = test_app.test_client()
response = client.post(
"/users",
data=json.dumps(
{"username": "onlinejudge95", "email": "onlinejudge95@gmail.com",}
),
content_type="application/json",
... | 31.484581 | 78 | 0.646705 | 922 | 7,147 | 4.83731 | 0.091106 | 0.04574 | 0.064126 | 0.055381 | 0.826457 | 0.806278 | 0.758744 | 0.697982 | 0.656951 | 0.619058 | 0 | 0.01821 | 0.200923 | 7,147 | 226 | 79 | 31.623894 | 0.762739 | 0 | 0 | 0.562842 | 0 | 0 | 0.234924 | 0.038198 | 0 | 0 | 0 | 0 | 0.289617 | 1 | 0.071038 | false | 0 | 0.010929 | 0 | 0.081967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ea1c8dc482231f31a61b11ef7f70060a085b4cca | 227 | py | Python | chanjet_openapi_python_sdk/exception/serialize_response_exception.py | Chanjet/chanjet-openapi-python-sdk- | a076ce11d6d1789e657b96d72bbbcff594dbb4e9 | [
"MIT"
] | 2 | 2021-08-12T05:22:56.000Z | 2021-09-08T09:03:38.000Z | chanjet_openapi_python_sdk/exception/serialize_response_exception.py | Chanjet/chanjet-openapi-python-sdk | a076ce11d6d1789e657b96d72bbbcff594dbb4e9 | [
"MIT"
] | null | null | null | chanjet_openapi_python_sdk/exception/serialize_response_exception.py | Chanjet/chanjet-openapi-python-sdk | a076ce11d6d1789e657b96d72bbbcff594dbb4e9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2021/8/6 15:01
# @Author : zc
# @Desc : json格式的response序列化成实例对象异常
class SerializeResponseException(Exception):
def __init__(self, err_msg):
super().__init__(self, err_msg)
| 22.7 | 44 | 0.647577 | 26 | 227 | 5.269231 | 0.807692 | 0.116788 | 0.160584 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060773 | 0.202643 | 227 | 9 | 45 | 25.222222 | 0.696133 | 0.431718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ea22bbec328c45633bc90472df085445b7749a42 | 342 | py | Python | dataentry/models.py | abrehman90/Integrate-SummerNote-in-Django | a588578f007e153b85e1b18e71fa37d05bdef7ef | [
"MIT"
] | 1 | 2021-12-15T03:47:19.000Z | 2021-12-15T03:47:19.000Z | dataentry/models.py | abrehman90/Integrate-SummerNote-in-Django | a588578f007e153b85e1b18e71fa37d05bdef7ef | [
"MIT"
] | null | null | null | dataentry/models.py | abrehman90/Integrate-SummerNote-in-Django | a588578f007e153b85e1b18e71fa37d05bdef7ef | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class user(models.Model):
name = models.CharField(max_length=25)
phone = models.CharField(max_length=25,default='+92')
email = models.EmailField()
city = models.CharField(max_length=20)
content = models.TextField()
def __str__(self):
... | 24.428571 | 57 | 0.695906 | 45 | 342 | 5.133333 | 0.644444 | 0.194805 | 0.233766 | 0.311688 | 0.225108 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028881 | 0.190058 | 342 | 13 | 58 | 26.307692 | 0.805054 | 0.070175 | 0 | 0 | 0 | 0 | 0.009494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ea3a1bdee6e7843b3236745c73bb61d6e0e2dd05 | 354 | py | Python | py/priq.py | frasertweedale/drill | 4e71b5348b633fd9beecb243c046f19ddfe131fe | [
"MIT"
] | 1 | 2020-09-02T17:25:26.000Z | 2020-09-02T17:25:26.000Z | py/priq.py | frasertweedale/drill | 4e71b5348b633fd9beecb243c046f19ddfe131fe | [
"MIT"
] | null | null | null | py/priq.py | frasertweedale/drill | 4e71b5348b633fd9beecb243c046f19ddfe131fe | [
"MIT"
] | null | null | null | import heap
class _PriQ(object):
def insert(self, x):
self.heap.insert(x)
def delete(self):
return self.heap.delete()
def __nonzero__(self):
return bool(self.heap)
class Max(_PriQ):
def __init__(self):
self.heap = heap.Max()
class Min(_PriQ):
def __init__(self... | 15.391304 | 33 | 0.59322 | 47 | 354 | 4.148936 | 0.340426 | 0.205128 | 0.112821 | 0.153846 | 0.276923 | 0.276923 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0.276836 | 354 | 22 | 34 | 16.090909 | 0.761719 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.071429 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ea3cf21c67467cbaac5cfdc96125b0af5671f94a | 326 | py | Python | src/praxxis/model/update_model.py | blimongi/praxxis | 4c2496c89d1d26d01b91896496342ca60f3d15ae | [
"MIT"
] | 9 | 2019-07-31T23:50:16.000Z | 2021-08-21T00:43:44.000Z | src/praxxis/model/update_model.py | blimongi/praxxis | 4c2496c89d1d26d01b91896496342ca60f3d15ae | [
"MIT"
] | 22 | 2019-08-01T00:37:53.000Z | 2020-03-31T05:01:57.000Z | src/praxxis/model/update_model.py | blimongi/praxxis | 4c2496c89d1d26d01b91896496342ca60f3d15ae | [
"MIT"
] | 7 | 2020-01-03T02:28:36.000Z | 2021-05-13T20:59:19.000Z | """
This file requests a new model from the storage pool.
"""
import os
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
import requests
from requests.auth import HTTPBasicAuth
from src.praxxis.sqlite import sqlite_telemetry
def update_model():
"""TODO: implement this"""
... | 16.3 | 67 | 0.776074 | 41 | 326 | 6.097561 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010791 | 0.147239 | 326 | 19 | 68 | 17.157895 | 0.888489 | 0.226994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.125 | true | 0.125 | 0.625 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
ea4b5a3f51b0afdbeab25267ee595b2878076d5e | 132 | py | Python | salesforce_api/models/__init__.py | octopyth/python-salesforce-api | 3f51995f7dc4ae965cb7a594f6f0fb8fcf35ec5d | [
"MIT"
] | 25 | 2019-05-20T06:38:45.000Z | 2022-02-22T02:10:37.000Z | salesforce_api/models/__init__.py | octopyth/python-salesforce-api | 3f51995f7dc4ae965cb7a594f6f0fb8fcf35ec5d | [
"MIT"
] | 19 | 2019-07-02T10:12:09.000Z | 2022-01-09T23:33:21.000Z | salesforce_api/models/__init__.py | octopyth/python-salesforce-api | 3f51995f7dc4ae965cb7a594f6f0fb8fcf35ec5d | [
"MIT"
] | 16 | 2019-12-04T20:45:16.000Z | 2021-12-17T23:29:29.000Z | from . import bulk, deploy, retrieve, tooling
__all__ = [
'bulk',
'deploy',
'retrieve',
'tooling',
'shared'
]
| 12 | 45 | 0.55303 | 12 | 132 | 5.75 | 0.666667 | 0.289855 | 0.521739 | 0.724638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287879 | 132 | 10 | 46 | 13.2 | 0.734043 | 0 | 0 | 0 | 0 | 0 | 0.234848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ea7b1fb5e109895783f00bbbc89f3c2e5c72c142 | 96 | py | Python | docs/p3/setup.py | khchine5/atelier | 25a287595d35b14f7eaa8379636b7538e1c4314f | [
"BSD-2-Clause"
] | 1 | 2018-09-20T12:49:51.000Z | 2018-09-20T12:49:51.000Z | docs/p3/setup.py | khchine5/atelier | 25a287595d35b14f7eaa8379636b7538e1c4314f | [
"BSD-2-Clause"
] | 2 | 2016-01-12T20:07:51.000Z | 2016-01-13T22:55:19.000Z | docs/p3/setup.py | khchine5/atelier | 25a287595d35b14f7eaa8379636b7538e1c4314f | [
"BSD-2-Clause"
] | 2 | 2016-10-12T16:13:16.000Z | 2021-02-28T07:15:59.000Z | from setuptools import setup
if __name__ == '__main__':
setup(name='foo', version='1.0.0')
| 19.2 | 38 | 0.677083 | 14 | 96 | 4.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.15625 | 96 | 4 | 39 | 24 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ea9492335887a907444003adbfacda8abe09f88a | 18,763 | py | Python | solver.py | itrosen/hall-solver | 70ca5364b6c16bf62b7faa69ac30d14f972d7320 | [
"MIT"
] | null | null | null | solver.py | itrosen/hall-solver | 70ca5364b6c16bf62b7faa69ac30d14f972d7320 | [
"MIT"
] | null | null | null | solver.py | itrosen/hall-solver | 70ca5364b6c16bf62b7faa69ac30d14f972d7320 | [
"MIT"
] | null | null | null | """
Created on Dec 16 2021
@author: Ilan Rosen
Poisson equation solver for the Hall effect.
Includes classes for Hall bars, Hall bars in a nonlocal geometry, and Corbino disks.
The Hall bar class has build in methods for longitudinal and Hall 4-probe resistance measurements.
Plotting functions assume coordinates are in... | 33.807207 | 196 | 0.666525 | 3,110 | 18,763 | 3.928617 | 0.107074 | 0.032657 | 0.056147 | 0.019643 | 0.739155 | 0.722868 | 0.701588 | 0.677443 | 0.677443 | 0.657063 | 0 | 0.024402 | 0.191867 | 18,763 | 555 | 197 | 33.807207 | 0.781376 | 0.319192 | 0 | 0.702422 | 0 | 0 | 0.083005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065744 | false | 0 | 0.024221 | 0 | 0.131488 | 0.031142 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
57944f7748440824b510084999250896fd1e4190 | 32 | py | Python | robotframework-ls/tests/robotframework_ls_tests/_resources/case_vars_file/robotvars.py | mardukbp/robotframework-lsp | 57b4b2b14b712c9bf90577924a920fb9b9e831c7 | [
"ECL-2.0",
"Apache-2.0"
] | 92 | 2020-01-22T22:15:29.000Z | 2022-03-31T05:19:16.000Z | robotframework-ls/tests/robotframework_ls_tests/_resources/case_vars_file/robotvars.py | mardukbp/robotframework-lsp | 57b4b2b14b712c9bf90577924a920fb9b9e831c7 | [
"ECL-2.0",
"Apache-2.0"
] | 604 | 2020-01-25T17:13:27.000Z | 2022-03-31T18:58:24.000Z | robotframework-ls/tests/robotframework_ls_tests/_resources/case_vars_file/robotvars.py | mardukbp/robotframework-lsp | 57b4b2b14b712c9bf90577924a920fb9b9e831c7 | [
"ECL-2.0",
"Apache-2.0"
] | 39 | 2020-02-06T00:38:06.000Z | 2022-03-15T06:14:19.000Z | VARIABLE_1 = 10
VARIABLE_2 = 20
| 10.666667 | 15 | 0.75 | 6 | 32 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.1875 | 32 | 2 | 16 | 16 | 0.615385 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
57cd044d651756a4e1a9d230a6483c3f90d186bf | 172,689 | py | Python | facts.py | Dev-solutions100/google-search-webhook | b50132f4effc82148ebfe543e15a5a2b42b92b3b | [
"Apache-2.0"
] | null | null | null | facts.py | Dev-solutions100/google-search-webhook | b50132f4effc82148ebfe543e15a5a2b42b92b3b | [
"Apache-2.0"
] | null | null | null | facts.py | Dev-solutions100/google-search-webhook | b50132f4effc82148ebfe543e15a5a2b42b92b3b | [
"Apache-2.0"
] | null | null | null | useless_facts = ["Most American car horns honk in the key of F.",
"The name Wendy was made up for the book 'Peter Pan.'",
"Barbie's full name is Barbara Millicent Roberts.",
"Every time you lick a stamp, you consume 1/10 of a calorie.",
"The average person falls asleep in seven minutes.",
"Studies s... | 307.823529 | 104,781 | 0.736665 | 28,336 | 172,689 | 4.489695 | 0.222932 | 0.008018 | 0.004834 | 0.004245 | 0.097705 | 0.079602 | 0.069014 | 0.064432 | 0.059165 | 0.05382 | 0 | 0.018181 | 0.16997 | 172,689 | 560 | 104,782 | 308.373214 | 0.869322 | 0 | 0 | 0.053763 | 0 | 0.795699 | 0.820573 | 0.001749 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.008961 | 0.003584 | 0 | 0.003584 | 0.010753 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
17b4c6a525923c76105b1e66c532efc33cd33653 | 23 | py | Python | __init__.py | mendhak/aws-elb-logster | 4122f03fd3977225269190fff60fd5d7935ddeaf | [
"MIT"
] | 2 | 2015-09-14T22:16:52.000Z | 2016-04-11T17:08:32.000Z | __init__.py | mendhak/aws-elb-logster | 4122f03fd3977225269190fff60fd5d7935ddeaf | [
"MIT"
] | null | null | null | __init__.py | mendhak/aws-elb-logster | 4122f03fd3977225269190fff60fd5d7935ddeaf | [
"MIT"
] | null | null | null | #
# Python init file
#
| 5.75 | 18 | 0.608696 | 3 | 23 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 23 | 3 | 19 | 7.666667 | 0.823529 | 0.695652 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
17e1d0ca3e2d0f35d168ba0274703631eff3ed3a | 417 | py | Python | exceptions.py | italovalcy/mef_eline | 230d2bb44b1506adc9900157ca09e920fb37b002 | [
"MIT"
] | 1 | 2021-12-09T17:09:33.000Z | 2021-12-09T17:09:33.000Z | exceptions.py | italovalcy/mef_eline | 230d2bb44b1506adc9900157ca09e920fb37b002 | [
"MIT"
] | 171 | 2021-06-02T20:29:22.000Z | 2022-03-18T17:47:57.000Z | exceptions.py | italovalcy/mef_eline | 230d2bb44b1506adc9900157ca09e920fb37b002 | [
"MIT"
] | 3 | 2021-06-15T18:55:52.000Z | 2021-10-01T14:47:10.000Z | """MEF Eline Exceptions."""
class MEFELineException(Exception):
"""MEF Eline Base Exception."""
class EVCException(MEFELineException):
"""EVC Exception."""
class ValidationException(EVCException):
"""Exception for validation errors."""
class FlowModException(MEFELineException):
"""Exception for ... | 18.954545 | 42 | 0.717026 | 36 | 417 | 8.305556 | 0.5 | 0.26087 | 0.19398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146283 | 417 | 21 | 43 | 19.857143 | 0.839888 | 0.366906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
aa1b3aaba80e142eb448dc289c39eaf7a010960f | 60 | py | Python | workflow/scripts/helpers/__init__.py | IMS-Bio2Core-Facility/single_snake_sequencing | dddf8fc8960da8938484f98a4ea94f74a4fd5b18 | [
"MIT"
] | null | null | null | workflow/scripts/helpers/__init__.py | IMS-Bio2Core-Facility/single_snake_sequencing | dddf8fc8960da8938484f98a4ea94f74a4fd5b18 | [
"MIT"
] | null | null | null | workflow/scripts/helpers/__init__.py | IMS-Bio2Core-Facility/single_snake_sequencing | dddf8fc8960da8938484f98a4ea94f74a4fd5b18 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""BIC083-Eunyoung-Lee analysis."""
| 20 | 35 | 0.583333 | 7 | 60 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0.116667 | 60 | 2 | 36 | 30 | 0.584906 | 0.866667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa38f5ac2a7fc58b2bcf11437fbfffc67543b98c | 1,525 | py | Python | output/models/ibm_data/valid/d3_4_6/d3_4_6v06_xsd/d3_4_6v06.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ibm_data/valid/d3_4_6/d3_4_6v06_xsd/d3_4_6v06.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ibm_data/valid/d3_4_6/d3_4_6v06_xsd/d3_4_6v06.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from typing import List
__NAMESPACE__ = "a"
@dataclass
class Nametest:
choice: List[object] = field(
default_factory=list,
metadata={
"type": "Elements",
"choices": (
{
"name": "_ele",
... | 23.828125 | 40 | 0.260984 | 82 | 1,525 | 4.695122 | 0.304878 | 0.25974 | 0.332468 | 0.353247 | 0.462338 | 0.462338 | 0.392208 | 0.392208 | 0.392208 | 0.392208 | 0 | 0.001686 | 0.611148 | 1,525 | 63 | 41 | 24.206349 | 0.647555 | 0 | 0 | 0.310345 | 0 | 0 | 0.125246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4b259e11338f6d5c17641cccb402a501cd51358 | 25,351 | py | Python | gameevents/tests/test_gameevents.py | danilovbarbosa/sg-gameevents | 839de019fb6026c5a9d3178d3109cb2948f19f09 | [
"Apache-2.0"
] | null | null | null | gameevents/tests/test_gameevents.py | danilovbarbosa/sg-gameevents | 839de019fb6026c5a9d3178d3109cb2948f19f09 | [
"Apache-2.0"
] | null | null | null | gameevents/tests/test_gameevents.py | danilovbarbosa/sg-gameevents | 839de019fb6026c5a9d3178d3109cb2948f19f09 | [
"Apache-2.0"
] | 1 | 2018-09-28T00:03:29.000Z | 2018-09-28T00:03:29.000Z |
import unittest
import time
import datetime
import json
import sys
#import base64
#from werkzeug.wrappers import Response
sys.path.append("..")
#from flask import current_app
#from werkzeug.datastructures import Headers
from gameevents_app import create_app
#Extensions
from gameevents_app.extensions import db, LO... | 42.535235 | 122 | 0.549051 | 2,360 | 25,351 | 5.795763 | 0.102119 | 0.032753 | 0.052639 | 0.033923 | 0.768095 | 0.753327 | 0.727446 | 0.703612 | 0.67678 | 0.662597 | 0 | 0.019168 | 0.34969 | 25,351 | 596 | 123 | 42.535235 | 0.810506 | 0.114039 | 0 | 0.69403 | 0 | 0 | 0.17185 | 0.069227 | 0 | 0 | 0 | 0 | 0.074627 | 1 | 0.077114 | false | 0 | 0.029851 | 0 | 0.109453 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4c21f79ab6644142bcaa20009e1b5182faf4d57 | 287 | py | Python | test.py | lexibank/asjp | 309d372b89c92d7013284d281023b23ca5d68524 | [
"CC-BY-4.0"
] | null | null | null | test.py | lexibank/asjp | 309d372b89c92d7013284d281023b23ca5d68524 | [
"CC-BY-4.0"
] | 15 | 2018-04-25T10:11:30.000Z | 2021-04-26T11:19:24.000Z | test.py | lexibank/asjp | 309d372b89c92d7013284d281023b23ca5d68524 | [
"CC-BY-4.0"
] | 1 | 2019-06-18T11:57:38.000Z | 2019-06-18T11:57:38.000Z |
def test_valid(cldf_dataset, cldf_logger):
assert cldf_dataset.validate(log=cldf_logger)
def test_parameters(cldf_dataset):
assert len(list(cldf_dataset["ParameterTable"])) == 100
def test_languages(cldf_dataset):
assert len(list(cldf_dataset["LanguageTable"])) > 4000
| 23.916667 | 59 | 0.763066 | 38 | 287 | 5.473684 | 0.447368 | 0.317308 | 0.163462 | 0.192308 | 0.336538 | 0.336538 | 0.336538 | 0 | 0 | 0 | 0 | 0.027778 | 0.121951 | 287 | 11 | 60 | 26.090909 | 0.797619 | 0 | 0 | 0 | 0 | 0 | 0.094406 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4c65724407b507d3c3575879bb612a5d9d25dea | 20,619 | py | Python | jsk_recognition/jsk_perception/node_scripts/openpose/pose_net.py | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | jsk_recognition/jsk_perception/node_scripts/openpose/pose_net.py | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | jsk_recognition/jsk_perception/node_scripts/openpose/pose_net.py | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import os
import itertools, pkg_resources, sys
from distutils.version import LooseVersion
if LooseVersion(pkg_resources.get_distribution("chainer").version) >= LooseVersion('7.0.0') and \
sys.version_info.major == 2:
print('''Please install chainer <= 7.0.0:
sudo pip in... | 49.564904 | 132 | 0.611135 | 2,979 | 20,619 | 4.009063 | 0.068479 | 0.128025 | 0.123252 | 0.184878 | 0.815875 | 0.7684 | 0.743281 | 0.618689 | 0.570627 | 0.565185 | 0 | 0.111834 | 0.269266 | 20,619 | 415 | 133 | 49.684337 | 0.680826 | 0.012319 | 0 | 0.284946 | 0 | 0 | 0.04057 | 0.014802 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008065 | false | 0.002688 | 0.021505 | 0 | 0.037634 | 0.016129 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4d7f579f4f81770778c2fff64640120abcdce53 | 262 | py | Python | test/run/t242.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t242.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t242.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | class O(object): pass
class A(O): pass
class B(O): pass
class C(O): pass
class D(O): pass
class E(O): pass
class K1(A,B,C): pass
class K2(D,B,E): pass
class K3(D,A): pass
class Z(K1,K2,K3): pass
print K1.__mro__
print K2.__mro__
print K3.__mro__
print Z.__mro__
| 17.466667 | 23 | 0.698473 | 59 | 262 | 2.830508 | 0.254237 | 0.48503 | 0.299401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040179 | 0.145038 | 262 | 14 | 24 | 18.714286 | 0.705357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.714286 | 0 | null | null | 0.285714 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a4e8d966c41d61cf7973a0faa9d826fdc0196a65 | 8,716 | py | Python | edu_visitor/visitor_logs/routes.py | covrebo/edu_visitor | 2759519eef97057ca01ed26f556ab335167fe084 | [
"MIT"
] | null | null | null | edu_visitor/visitor_logs/routes.py | covrebo/edu_visitor | 2759519eef97057ca01ed26f556ab335167fe084 | [
"MIT"
] | null | null | null | edu_visitor/visitor_logs/routes.py | covrebo/edu_visitor | 2759519eef97057ca01ed26f556ab335167fe084 | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template, url_for, session, flash, redirect, request
from edu_visitor import db
from edu_visitor.visitor_logs.forms import StudentSignInForm, StudentSignOutForm, VisitorSignInForm, VisitorSignOutForm, StudentUpdateForm, VisitorUpdateForm
from edu_visitor.models import StudentLog, Vi... | 48.692737 | 226 | 0.723726 | 1,222 | 8,716 | 4.984452 | 0.100655 | 0.041537 | 0.028895 | 0.026268 | 0.842883 | 0.755705 | 0.727631 | 0.690527 | 0.662781 | 0.656214 | 0 | 0.003536 | 0.156494 | 8,716 | 179 | 227 | 48.692737 | 0.824946 | 0.121386 | 0 | 0.559701 | 0 | 0 | 0.168937 | 0.044002 | 0 | 0 | 0 | 0.005587 | 0 | 1 | 0.08209 | false | 0 | 0.037313 | 0 | 0.246269 | 0.014925 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3505b0795f024d936847202220a08964b18c6216 | 573 | py | Python | tests/argparse/special/modules/defaults/__init__.py | da-h/miniflask | d5e594153cca4ce4d30db01b1d06d05afa9e7aaa | [
"MIT"
] | 5 | 2020-02-17T12:14:36.000Z | 2020-02-27T12:09:05.000Z | tests/argparse/special/modules/defaults2/__init__.py | da-h/miniflask | d5e594153cca4ce4d30db01b1d06d05afa9e7aaa | [
"MIT"
] | 69 | 2020-04-03T08:16:35.000Z | 2021-12-21T15:46:29.000Z | tests/argparse/special/modules/defaults2/__init__.py | da-h/miniflask | d5e594153cca4ce4d30db01b1d06d05afa9e7aaa | [
"MIT"
] | 1 | 2020-04-02T15:46:39.000Z | 2020-04-02T15:46:39.000Z |
def printVal(state, name):
val = state[name]
print("%s:" % state.fuzzy_names[name], val)
def print_all(state):
printVal(state, "var_default")
printVal(state, "var_default_override")
printVal(state, "var_default_override_twice")
printVal(state, "var_default_override_twice_and_cli")
def regis... | 26.045455 | 59 | 0.685864 | 75 | 573 | 4.866667 | 0.346667 | 0.219178 | 0.29589 | 0.252055 | 0.378082 | 0.293151 | 0 | 0 | 0 | 0 | 0 | 0.008602 | 0.188482 | 573 | 21 | 60 | 27.285714 | 0.776344 | 0 | 0 | 0 | 0 | 0 | 0.339161 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0 | 0 | 0.1875 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
350ee2dd3bf8139a0a27fa5260ff00d59d16fd74 | 90 | py | Python | deliravision/torch/models/gans/deep_convolutional/__init__.py | delira-dev/vision_torch | d944aa67d319bd63a2add5cb89e8308413943de6 | [
"BSD-2-Clause"
] | 4 | 2019-08-03T09:56:50.000Z | 2019-09-05T09:32:06.000Z | deliravision/torch/models/gans/deep_convolutional/__init__.py | delira-dev/vision_torch | d944aa67d319bd63a2add5cb89e8308413943de6 | [
"BSD-2-Clause"
] | 23 | 2019-08-03T14:16:47.000Z | 2019-10-22T10:15:10.000Z | deliravision/torch/models/gans/deep_convolutional/__init__.py | delira-dev/vision_torch | d944aa67d319bd63a2add5cb89e8308413943de6 | [
"BSD-2-Clause"
] | null | null | null | from deliravision.models.gans.deep_convolutional.dc_gan import \
DeepConvolutionalGAN
| 30 | 64 | 0.844444 | 10 | 90 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 2 | 65 | 45 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1025728984eda2735c08a9884289c0228f56f366 | 34 | py | Python | env/lib/python3.6/base64.py | xianjunzhengbackup/Cloud-Native-Python | 0b74303b444a74210bc2e95f13d17771f6f71583 | [
"MIT"
] | 2 | 2020-09-22T14:38:24.000Z | 2020-10-30T03:11:36.000Z | SDK/Example/Linkage_demo/work_with_AlwaysAI/pedestrian_tracking_demo/venv/lib/python3.6/base64.py | EyecloudAi/OpenNCC-SDK | efeebfe385a900280de6f46d80bd6fff0416aba3 | [
"Apache-2.0"
] | null | null | null | SDK/Example/Linkage_demo/work_with_AlwaysAI/pedestrian_tracking_demo/venv/lib/python3.6/base64.py | EyecloudAi/OpenNCC-SDK | efeebfe385a900280de6f46d80bd6fff0416aba3 | [
"Apache-2.0"
] | 1 | 2019-11-21T12:23:41.000Z | 2019-11-21T12:23:41.000Z | /usr/local/lib/python3.6/base64.py | 34 | 34 | 0.794118 | 7 | 34 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 34 | 1 | 34 | 34 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1033ffe67b91f750cd6a18292a63c21167fe56d7 | 228 | py | Python | src/zebra_refresh.py | r0x73/alfred-zebra | fe802044fdc34172811c77433967bce46f084ed1 | [
"MIT"
] | 3 | 2017-08-10T12:54:03.000Z | 2018-01-17T08:42:47.000Z | src/zebra_refresh.py | r0x73/alfred-zebra | fe802044fdc34172811c77433967bce46f084ed1 | [
"MIT"
] | 4 | 2016-08-03T09:41:06.000Z | 2016-09-01T06:34:12.000Z | src/zebra_refresh.py | r0x73/alfred-zebra | fe802044fdc34172811c77433967bce46f084ed1 | [
"MIT"
] | null | null | null | import zebra
from workflow import Workflow
if __name === '__main__':
wf = Workflow()
wf.cache_data('zebra_all_projects', zebra.get_all_projects())
wf.cache_data('zebra_aliased_activities', zebra.get_aliased_activities()) | 28.5 | 75 | 0.776316 | 31 | 228 | 5.193548 | 0.483871 | 0.086957 | 0.136646 | 0.198758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 228 | 8 | 75 | 28.5 | 0.789216 | 0 | 0 | 0 | 0 | 0 | 0.218341 | 0.104803 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
10360d23deea826893e597ec11b95b8d2db92420 | 129 | py | Python | codeforces/anirudhak47/1335/A.py | anirudhakulkarni/codes | d7a907951033b57314dfc0b837123aaa5c25a39a | [
"MIT"
] | 3 | 2020-07-09T16:15:42.000Z | 2020-07-17T13:19:42.000Z | codeforces/anirudhak47/1335/A.py | anirudhakulkarni/codes | d7a907951033b57314dfc0b837123aaa5c25a39a | [
"MIT"
] | null | null | null | codeforces/anirudhak47/1335/A.py | anirudhakulkarni/codes | d7a907951033b57314dfc0b837123aaa5c25a39a | [
"MIT"
] | 1 | 2020-07-17T13:19:48.000Z | 2020-07-17T13:19:48.000Z | for t in range(int(input())):
n=int(input())
if n%2==0:
print(int(n/2-1))
else:
print(int(n//2)) | 21.5 | 30 | 0.449612 | 23 | 129 | 2.521739 | 0.565217 | 0.103448 | 0.310345 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0.325581 | 129 | 6 | 31 | 21.5 | 0.609195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10876b8adb313d894238da00cbc965a6ae323a52 | 114 | py | Python | labs/tony-monday-15-jg103/hello_hello.py | TonyJenkins/lbu-python-code | d02d843290e887d016cdb05ddc1a8639874f2e06 | [
"Unlicense"
] | 2 | 2021-08-20T13:02:45.000Z | 2021-10-03T20:34:45.000Z | labs/tony-monday-15-jg103/hello_hello.py | TonyJenkins/lbu-python-code | d02d843290e887d016cdb05ddc1a8639874f2e06 | [
"Unlicense"
] | null | null | null | labs/tony-monday-15-jg103/hello_hello.py | TonyJenkins/lbu-python-code | d02d843290e887d016cdb05ddc1a8639874f2e06 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
def hello(**kwargs):
print(f'Hello')
if __name__ == '__main__':
hello(hello())
| 11.4 | 26 | 0.605263 | 15 | 114 | 4.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.192982 | 114 | 9 | 27 | 12.666667 | 0.652174 | 0.184211 | 0 | 0 | 0 | 0 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1097973ec1380219467a3cca784a3a5967f37e86 | 120 | py | Python | results/results_eval.py | eym55/power_grid_sim | 35822a2d2f09c00a38841e0bf3395bc5ea0ddbaa | [
"MIT"
] | 1 | 2022-01-26T15:19:15.000Z | 2022-01-26T15:19:15.000Z | results/results_eval.py | eym55/power_grid_sim | 35822a2d2f09c00a38841e0bf3395bc5ea0ddbaa | [
"MIT"
] | null | null | null | results/results_eval.py | eym55/power_grid_sim | 35822a2d2f09c00a38841e0bf3395bc5ea0ddbaa | [
"MIT"
] | null | null | null | import pandas as pd
import matplotlib.pyplot as plt
import pickle
df = pd.read_json('result.json',lines=True)
print(df) | 20 | 43 | 0.783333 | 21 | 120 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 6 | 44 | 20 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
109969c2ebef94313329e4c92a1901ae1f014cd6 | 77 | py | Python | fabfile/validation.py | b-cube/Response-Identification-Info | d2fa24c9f0d7db7d8bbf5cda937e1a9dd29a8f6e | [
"MIT"
] | null | null | null | fabfile/validation.py | b-cube/Response-Identification-Info | d2fa24c9f0d7db7d8bbf5cda937e1a9dd29a8f6e | [
"MIT"
] | 1 | 2015-09-23T16:30:34.000Z | 2015-09-23T16:30:34.000Z | fabfile/validation.py | b-cube/Response-Identification-Info | d2fa24c9f0d7db7d8bbf5cda937e1a9dd29a8f6e | [
"MIT"
] | 1 | 2020-03-25T09:41:03.000Z | 2020-03-25T09:41:03.000Z | # to run the metadata validation process via some ec2 and an rds connection
| 25.666667 | 75 | 0.792208 | 13 | 77 | 4.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.194805 | 77 | 2 | 76 | 38.5 | 0.967742 | 0.948052 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
52e5f2e5b814ac4ae07480be88792003d295e02d | 452 | py | Python | tpRigToolkit/libs/ziva/core/utils.py | tpRigToolkit/tpRigToolkit-libs-ziva | dd317b7ec62ee4ef01f2d64e9dbca54061c24072 | [
"MIT"
] | null | null | null | tpRigToolkit/libs/ziva/core/utils.py | tpRigToolkit/tpRigToolkit-libs-ziva | dd317b7ec62ee4ef01f2d64e9dbca54061c24072 | [
"MIT"
] | null | null | null | tpRigToolkit/libs/ziva/core/utils.py | tpRigToolkit/tpRigToolkit-libs-ziva | dd317b7ec62ee4ef01f2d64e9dbca54061c24072 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
Module that contains utils functions related with Ziva plugin
"""
from __future__ import print_function, division, absolute_import
from tpDcc import dcc
PLUGIN_NAME = 'ziva'
def load_ziva_plugin():
if not is_ziva_plugin_loaded():
dcc.load_plugin(PLUGI... | 18.833333 | 64 | 0.738938 | 65 | 452 | 4.784615 | 0.538462 | 0.160772 | 0.115756 | 0.173633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002646 | 0.163717 | 452 | 23 | 65 | 19.652174 | 0.820106 | 0.232301 | 0 | 0 | 0 | 0 | 0.011834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
52f7087deb618b8761200bf76550f8eceae6e954 | 80 | py | Python | scripts/ai.py | MaxReimann/Troen | aeabab35da15fe69f89b163f3762dccb9947e93c | [
"MIT"
] | null | null | null | scripts/ai.py | MaxReimann/Troen | aeabab35da15fe69f89b163f3762dccb9947e93c | [
"MIT"
] | 6 | 2016-08-15T01:56:11.000Z | 2016-08-15T01:56:40.000Z | scripts/ai.py | MaxReimann/Troen | aeabab35da15fe69f89b163f3762dccb9947e93c | [
"MIT"
] | null | null | null | #AI is imported by default
#this is only a test for now
print "hello from aipy"
| 20 | 28 | 0.75 | 16 | 80 | 3.75 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 3 | 29 | 26.666667 | 0.9375 | 0.65 | 0 | 0 | 0 | 0 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5e36244123ee5c6940be37309dff373ccc4d49dc | 40 | py | Python | src/maggma/api/__init__.py | materialsproject/maggflow | 9f8d7a0865ec13212a3fd00d5edebd3cb7b40e7d | [
"BSD-3-Clause-LBNL"
] | 15 | 2017-06-15T16:35:23.000Z | 2022-03-05T09:57:02.000Z | src/maggma/api/__init__.py | materialsproject/maggflow | 9f8d7a0865ec13212a3fd00d5edebd3cb7b40e7d | [
"BSD-3-Clause-LBNL"
] | 573 | 2017-06-14T15:54:27.000Z | 2022-03-31T23:20:55.000Z | src/maggma/api/__init__.py | rkingsbury/maggma | 53def068df1cb410bfe91e7045903997813e173a | [
"BSD-3-Clause-LBNL"
] | 28 | 2017-06-14T20:50:26.000Z | 2022-03-04T16:56:40.000Z | """ Simple API Interface for Maggma """
| 20 | 39 | 0.675 | 5 | 40 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.818182 | 0.775 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eaa454aeb2637a676c1e50bb9a3b6f2eb3e45e6f | 87 | py | Python | main.py | spdir/sakf | 9a07c5f90765201a42d524dc6d4554f4ccd3c750 | [
"Apache-2.0"
] | null | null | null | main.py | spdir/sakf | 9a07c5f90765201a42d524dc6d4554f4ccd3c750 | [
"Apache-2.0"
] | null | null | null | main.py | spdir/sakf | 9a07c5f90765201a42d524dc6d4554f4ccd3c750 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from sakf.sakf import main
if __name__ == '__main__':
main() | 17.4 | 26 | 0.62069 | 12 | 87 | 3.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.183908 | 87 | 5 | 27 | 17.4 | 0.633803 | 0.241379 | 0 | 0 | 0 | 0 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eaba0c23a6f87059f715260269d709b8ed977523 | 166 | py | Python | teste_app/search.py | rafaelang/teste_app | b4e95c9fd373f21ffb39131face077b0499a723d | [
"Apache-2.0"
] | null | null | null | teste_app/search.py | rafaelang/teste_app | b4e95c9fd373f21ffb39131face077b0499a723d | [
"Apache-2.0"
] | null | null | null | teste_app/search.py | rafaelang/teste_app | b4e95c9fd373f21ffb39131face077b0499a723d | [
"Apache-2.0"
] | null | null | null | import requests
from teste_app import settigns
def google(q: str):
"""Faz uma pesquisa no google"""
return requests.get(settigns.GOOGLE, params={"q": q})
| 16.6 | 57 | 0.692771 | 24 | 166 | 4.75 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 166 | 9 | 58 | 18.444444 | 0.838235 | 0.156627 | 0 | 0 | 0 | 0 | 0.007463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eae3be40aa24ad4b9655afb4fbddb913e8d4cb32 | 361 | py | Python | autoflow/workflow/components/classification/lda.py | auto-flow/autoflow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | 49 | 2020-04-16T11:17:28.000Z | 2020-05-06T01:32:44.000Z | autoflow/workflow/components/classification/lda.py | auto-flow/auto-flow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | null | null | null | autoflow/workflow/components/classification/lda.py | auto-flow/auto-flow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | 3 | 2021-04-10T13:58:39.000Z | 2022-03-25T08:27:53.000Z | from copy import deepcopy
from typing import Dict
from autoflow.workflow.components.classification_base import AutoFlowClassificationAlgorithm
__all__=["LinearDiscriminantAnalysis"]
class LinearDiscriminantAnalysis(AutoFlowClassificationAlgorithm):
class__ = "LinearDiscriminantAnalysis"
module__ = "sklearn.d... | 25.785714 | 92 | 0.833795 | 29 | 361 | 9.965517 | 0.724138 | 0.214533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113573 | 361 | 13 | 93 | 27.769231 | 0.903125 | 0 | 0 | 0 | 0 | 0 | 0.225627 | 0.225627 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d8215c6350572765b0f96735318eeda8369f7f6b | 459 | py | Python | git_lint_branch/single/__init__.py | juped/git-lint-branch | 7b4a89d2f707025671ec642919f83b38094f9300 | [
"0BSD"
] | 2 | 2020-11-12T03:34:38.000Z | 2021-02-20T01:34:00.000Z | git_lint_branch/single/__init__.py | juped/git-lint-branch | 7b4a89d2f707025671ec642919f83b38094f9300 | [
"0BSD"
] | 11 | 2020-07-13T18:38:05.000Z | 2020-07-17T14:44:52.000Z | git_lint_branch/single/__init__.py | MLH-Fellowship/git-lint-branch | 7b4a89d2f707025671ec642919f83b38094f9300 | [
"0BSD"
] | 1 | 2020-07-30T11:10:04.000Z | 2020-07-30T11:10:04.000Z | from pygit2 import Commit
from git_lint_branch.linter_output import *
from git_lint_branch.single.example_linter import *
from git_lint_branch.single.regex_linter import *
from git_lint_branch.single.diff_size_linter import diff_size_linter
from git_lint_branch.single.tense_linter import *
from git_lint_branch.single.b... | 30.6 | 68 | 0.834423 | 68 | 459 | 5.205882 | 0.264706 | 0.118644 | 0.186441 | 0.288136 | 0.443503 | 0.378531 | 0.29661 | 0 | 0 | 0 | 0 | 0.002463 | 0.115468 | 459 | 14 | 69 | 32.785714 | 0.869458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.538462 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dc2545649072034e58b37faa1c657f442101a9f5 | 46 | py | Python | pythonExercicios/desafio027.py | GuilhermeKAC/cursoemvideo-python | 7a76f07aa8d8ae462eab7624a0b3cbc7df1fb02e | [
"MIT"
] | 1 | 2021-07-18T17:53:32.000Z | 2021-07-18T17:53:32.000Z | pythonExercicios/desafio027.py | GuilhermeKAC/cursoemvideo-python | 7a76f07aa8d8ae462eab7624a0b3cbc7df1fb02e | [
"MIT"
] | null | null | null | pythonExercicios/desafio027.py | GuilhermeKAC/cursoemvideo-python | 7a76f07aa8d8ae462eab7624a0b3cbc7df1fb02e | [
"MIT"
] | null | null | null | nome = input('Dgigite seu nome completo: ')
| 11.5 | 43 | 0.673913 | 6 | 46 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 3 | 44 | 15.333333 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dc58494bc47cffa782c19449890df1e125bbd5c6 | 174 | py | Python | app/forms.py | makkenno/django_blog | 787854ad1bb3b68b885c02b85b38ef4369e89e22 | [
"MIT"
] | null | null | null | app/forms.py | makkenno/django_blog | 787854ad1bb3b68b885c02b85b38ef4369e89e22 | [
"MIT"
] | null | null | null | app/forms.py | makkenno/django_blog | 787854ad1bb3b68b885c02b85b38ef4369e89e22 | [
"MIT"
] | null | null | null | from django import forms
class PostForm(forms.Form):
title = forms.CharField(max_length=30, label='タイトル')
content = forms.CharField(label='内容', widget=forms.Textarea()) | 29 | 64 | 0.747126 | 24 | 174 | 5.375 | 0.75 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0.109195 | 174 | 6 | 64 | 29 | 0.819355 | 0 | 0 | 0 | 0 | 0 | 0.034286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dc618ebead1a642930e82af83102e0b4aac293a7 | 69 | py | Python | dnfal/persons/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | null | null | null | dnfal/persons/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | 1 | 2020-03-31T17:04:09.000Z | 2020-03-31T17:04:09.000Z | dnfal/persons/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | null | null | null | from .detection import BodyDetector
from .encoding import BodyEncoder | 34.5 | 35 | 0.869565 | 8 | 69 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 2 | 36 | 34.5 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
dc6a5a8186b1238e84ceb0aa65bbef6db414344e | 59 | py | Python | problems/bfs/Solution909.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/bfs/Solution909.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/bfs/Solution909.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | """
BFS
"""
class Solution909:
pass
| 5.9 | 18 | 0.389831 | 4 | 59 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.491525 | 59 | 9 | 19 | 6.555556 | 0.666667 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
dc8a59b30c82608dcdd7060ae1382d398f258c24 | 493 | py | Python | donkeycar/parts/angle_adjust.py | hironorinaka99/donkeycar | e76b5242c45b2e20cf72efd44ca28af09cf285c1 | [
"MIT"
] | null | null | null | donkeycar/parts/angle_adjust.py | hironorinaka99/donkeycar | e76b5242c45b2e20cf72efd44ca28af09cf285c1 | [
"MIT"
] | null | null | null | donkeycar/parts/angle_adjust.py | hironorinaka99/donkeycar | e76b5242c45b2e20cf72efd44ca28af09cf285c1 | [
"MIT"
] | null | null | null | class angle_adjustclass(): #ステアリングの切れ角を調整する
def __init__(self):
self.angle_adjust = 1.0
return
def angleincrease(self):
self.angle_adjust = round(min(2.0, self.angle_adjust + 0.05), 2)
print("In angle_adjust increase",self.angle_adjust)
def angledecrease(self):
self... | 32.866667 | 72 | 0.661258 | 68 | 493 | 4.573529 | 0.338235 | 0.353698 | 0.385852 | 0.18328 | 0.559486 | 0.405145 | 0.405145 | 0.405145 | 0.405145 | 0.405145 | 0 | 0.036649 | 0.225152 | 493 | 15 | 73 | 32.866667 | 0.777487 | 0.030426 | 0 | 0.166667 | 0 | 0 | 0.100418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.083333 | 0.583333 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dc94642e6f6a93fa65fb69c2f410be31e9ee122c | 86 | py | Python | prowl/__main__.py | SoorajModi/PrOwl | b58845d9763d5db80c021adf42fb7e9e55432375 | [
"MIT"
] | null | null | null | prowl/__main__.py | SoorajModi/PrOwl | b58845d9763d5db80c021adf42fb7e9e55432375 | [
"MIT"
] | 11 | 2021-05-19T05:03:15.000Z | 2021-09-08T00:53:01.000Z | prowl/__main__.py | SoorajModi/PyOwl | b58845d9763d5db80c021adf42fb7e9e55432375 | [
"MIT"
] | null | null | null | """Begin PrOwl
"""
from .prowl import watch
if __name__ == '__main__':
watch()
| 9.555556 | 26 | 0.616279 | 10 | 86 | 4.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22093 | 86 | 8 | 27 | 10.75 | 0.671642 | 0.127907 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f4c9927b909dfb773cd0b0bd92024436cca40bcc | 324 | py | Python | web/templatetags/tags.py | codeschule/koodikoulu-site | dde9932564f36dce6f4dbfd31e7923f1bae83293 | [
"MIT"
] | 5 | 2015-09-16T10:50:53.000Z | 2016-01-16T09:10:37.000Z | web/templatetags/tags.py | codeschule/koodikoulu-site | dde9932564f36dce6f4dbfd31e7923f1bae83293 | [
"MIT"
] | 10 | 2015-09-07T05:58:03.000Z | 2019-02-15T10:36:48.000Z | web/templatetags/tags.py | codeschule/koodikoulu-site | dde9932564f36dce6f4dbfd31e7923f1bae83293 | [
"MIT"
] | 6 | 2015-09-06T19:42:46.000Z | 2019-12-29T21:31:07.000Z | from django import template
register = template.Library()
@register.inclusion_tag('templatetags/form_field.html')
def show_form_field(field, icon=False):
return {'field': field, 'icon': icon}
@register.inclusion_tag('templatetags/learning_resource.html')
def show_resource(resource):
return {'resource': resou... | 29.454545 | 62 | 0.771605 | 40 | 324 | 6.075 | 0.475 | 0.139918 | 0.164609 | 0.263374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 324 | 11 | 63 | 29.454545 | 0.832192 | 0 | 0 | 0 | 0 | 0 | 0.246154 | 0.193846 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
f4dfdc2828ad759886241cbe8ceb66c9cfe90377 | 87 | py | Python | apps/sentry/apps.py | ShAlireza/Sentry-Telegram | adf5384a4bb2be1fd91fa948f636d00622ea9c04 | [
"MIT"
] | null | null | null | apps/sentry/apps.py | ShAlireza/Sentry-Telegram | adf5384a4bb2be1fd91fa948f636d00622ea9c04 | [
"MIT"
] | null | null | null | apps/sentry/apps.py | ShAlireza/Sentry-Telegram | adf5384a4bb2be1fd91fa948f636d00622ea9c04 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SentryConfig(AppConfig):
name = 'sentry'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f4fadeeded9f37b94879f47ef805c3a9011fce5c | 29,988 | py | Python | post_optimization_studies/mad_analyses/new_pre_select/Output/Histos/MadAnalysis5job_0/selection_10.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/new_pre_select/Output/Histos/MadAnalysis5job_0/selection_10.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/new_pre_select/Output/Histos/MadAnalysis5job_0/selection_10.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_10():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.li... | 154.57732 | 1,310 | 0.800053 | 4,668 | 29,988 | 4.983076 | 0.352614 | 0.02631 | 0.035725 | 0.043506 | 0.265638 | 0.26164 | 0.245991 | 0.242552 | 0.240918 | 0.240918 | 0 | 0.593902 | 0.055022 | 29,988 | 193 | 1,311 | 155.378238 | 0.226939 | 0.043918 | 0 | 0.185841 | 0 | 0.00885 | 0.03604 | 0.007089 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
760133bec2625c1f79501f59184ee12e8243bf4b | 315 | py | Python | python_scripts/wikiracer/__init__.py | gulyas/network_games_analysis | 2e6bdd2a2275702495af1c18043758193d94377b | [
"MIT"
] | null | null | null | python_scripts/wikiracer/__init__.py | gulyas/network_games_analysis | 2e6bdd2a2275702495af1c18043758193d94377b | [
"MIT"
] | null | null | null | python_scripts/wikiracer/__init__.py | gulyas/network_games_analysis | 2e6bdd2a2275702495af1c18043758193d94377b | [
"MIT"
] | 1 | 2021-03-30T18:39:08.000Z | 2021-03-30T18:39:08.000Z | """
WikiRacer is a project of stong1108.
https://github.com/stong1108/WikiRacer
Rewritten for Python 3.8 by Tamás Csertán (csertant)
"""
from .wikiracer import check_pages, find_shortest_path, get_result, redirected
from .wikiracer_threaded import check_page_threaded, find_shortest_path_threaded, result_threaded
| 35 | 97 | 0.828571 | 44 | 315 | 5.681818 | 0.681818 | 0.104 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035211 | 0.098413 | 315 | 8 | 98 | 39.375 | 0.84507 | 0.409524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
523460bd80c3461cd9638039533ab16a8632b269 | 269 | py | Python | urls.py | audacious-software/Passive-Data-Kit-Codebook | 84533014f6f3aaa6b7cdb1bcf095633c65c94d01 | [
"Apache-2.0"
] | null | null | null | urls.py | audacious-software/Passive-Data-Kit-Codebook | 84533014f6f3aaa6b7cdb1bcf095633c65c94d01 | [
"Apache-2.0"
] | null | null | null | urls.py | audacious-software/Passive-Data-Kit-Codebook | 84533014f6f3aaa6b7cdb1bcf095633c65c94d01 | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import url
from .views import pdk_codebook_page, pdk_codebook_sitemap
urlpatterns = [
url(r'^(?P<generator>.+)/$', pdk_codebook_page, name='pdk_codebook_page'),
url(r'^sitemap.json$', pdk_codebook_sitemap, name='pdk_codebook_sitemap')
]
| 29.888889 | 78 | 0.747212 | 38 | 269 | 4.973684 | 0.447368 | 0.349206 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107807 | 269 | 8 | 79 | 33.625 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0.263941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
52366585374893c5a5d4f9892985aa180f39b4ce | 198 | py | Python | cars/admin.py | rngallen/signals | a27c2b1e307a3a25eb83afe38df137cf836ed8c9 | [
"MIT"
] | null | null | null | cars/admin.py | rngallen/signals | a27c2b1e307a3a25eb83afe38df137cf836ed8c9 | [
"MIT"
] | null | null | null | cars/admin.py | rngallen/signals | a27c2b1e307a3a25eb83afe38df137cf836ed8c9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Car
# Register your models here.
@admin.register(Car)
class CarAdmin(admin.ModelAdmin):
list_display = ("name", "price", "buyer", "code")
| 19.8 | 53 | 0.722222 | 26 | 198 | 5.461538 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 198 | 9 | 54 | 22 | 0.840237 | 0.131313 | 0 | 0 | 0 | 0 | 0.105882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
523e0d5b10bb021e5fa2c2938ba1171583eee803 | 94 | py | Python | estimators/apps.py | bearroast/django-estimators | 5dd72694dab6725335214543a59104c4de504037 | [
"MIT"
] | 46 | 2016-09-13T06:33:30.000Z | 2022-01-08T00:55:37.000Z | estimators/apps.py | bearroast/django-estimators | 5dd72694dab6725335214543a59104c4de504037 | [
"MIT"
] | 14 | 2016-09-10T04:56:30.000Z | 2017-11-28T04:12:43.000Z | estimators/apps.py | bearroast/django-estimators | 5dd72694dab6725335214543a59104c4de504037 | [
"MIT"
] | 19 | 2016-09-20T23:53:26.000Z | 2022-01-08T00:55:39.000Z | from django.apps import AppConfig
class EstimatorConfig(AppConfig):
name = 'estimators'
| 15.666667 | 33 | 0.765957 | 10 | 94 | 7.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
524438036b4836d23308da7e1f4538ef603e1930 | 47 | py | Python | Data Science Bootcamp for Beginners/4.py | yuto-moriizumi/Python | 2de2903179f187c3c7105e8cf2f9600dded21f25 | [
"MIT"
] | null | null | null | Data Science Bootcamp for Beginners/4.py | yuto-moriizumi/Python | 2de2903179f187c3c7105e8cf2f9600dded21f25 | [
"MIT"
] | null | null | null | Data Science Bootcamp for Beginners/4.py | yuto-moriizumi/Python | 2de2903179f187c3c7105e8cf2f9600dded21f25 | [
"MIT"
] | null | null | null | s = "Rats live on no evil star"
print(s[::-1])
| 15.666667 | 31 | 0.595745 | 10 | 47 | 2.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.191489 | 47 | 2 | 32 | 23.5 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
527099d9e70699816c427356c1e9f6bf0065bca5 | 160 | py | Python | QARealtimeCollector/clients/test.py | dizzy21c/QUANTAXIS_RealtimeCollector | bb55a3852fe437b51ce92a9cbbc4e89c5e317f6c | [
"MIT"
] | 1 | 2020-02-03T14:10:38.000Z | 2020-02-03T14:10:38.000Z | QARealtimeCollector/clients/test.py | daqing526533/QUANTAXIS_RealtimeCollector | e234669ac680fa59775598df2ee84a61085b79ed | [
"MIT"
] | null | null | null | QARealtimeCollector/clients/test.py | daqing526533/QUANTAXIS_RealtimeCollector | e234669ac680fa59775598df2ee84a61085b79ed | [
"MIT"
] | null | null | null |
from QAPUBSUB.consumer import subscriber
sub = subscriber(host='192.168.2.116',user='admin', password='admin' ,exchange= 'realtime_60min_rb1910')
sub.start() | 32 | 104 | 0.7625 | 22 | 160 | 5.454545 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 0.08125 | 160 | 5 | 105 | 32 | 0.707483 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0.13125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
5286e720b93035006a31236bf9586f44cd981b61 | 5,591 | py | Python | tests/test_mat2.py | TovarnovM/easyvec | 25a67a37907140c07feace02dd85d68fc59824a6 | [
"MIT"
] | 1 | 2021-06-24T18:12:51.000Z | 2021-06-24T18:12:51.000Z | tests/test_mat2.py | TovarnovM/easyvec | 25a67a37907140c07feace02dd85d68fc59824a6 | [
"MIT"
] | null | null | null | tests/test_mat2.py | TovarnovM/easyvec | 25a67a37907140c07feace02dd85d68fc59824a6 | [
"MIT"
] | null | null | null | from easyvec import Mat2, Vec2
import numpy as np
from pytest import approx
def test_constructor1():
m = Mat2(1,2,3,4)
assert m is not None
assert m.m11 == approx(1)
assert m.m12 == approx(2)
assert m.m21 == approx(3)
assert m.m22 == approx(4)
def test_constructor2():
m = Mat2([1,2,3,4])
... | 27.273171 | 62 | 0.514398 | 946 | 5,591 | 2.994715 | 0.095137 | 0.143311 | 0.052947 | 0.090011 | 0.781504 | 0.728203 | 0.728203 | 0.696788 | 0.678433 | 0.642429 | 0 | 0.142605 | 0.291361 | 5,591 | 205 | 63 | 27.273171 | 0.572438 | 0 | 0 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.440678 | 1 | 0.146893 | false | 0 | 0.022599 | 0 | 0.169492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bfeeaef350523448c6cf158714c62a0d2c908669 | 714 | py | Python | ass_tag_parser/draw_struct.py | bubblesub/ass_tag_parser | 89bd9ac47aa51a954604c41c6e633c938b2a1d62 | [
"MIT"
] | 10 | 2020-04-14T15:58:25.000Z | 2022-03-26T05:38:09.000Z | ass_tag_parser/draw_struct.py | rr-/ass_tag_parser | a758a3871b8904879a2588162335aa61863b370e | [
"MIT"
] | 4 | 2019-11-07T15:03:39.000Z | 2021-08-04T21:11:20.000Z | ass_tag_parser/draw_struct.py | rr-/ass_tag_parser | a758a3871b8904879a2588162335aa61863b370e | [
"MIT"
] | 1 | 2019-11-07T14:30:56.000Z | 2019-11-07T14:30:56.000Z | from dataclasses import dataclass
from typing import Optional
from ass_tag_parser.common import Meta
@dataclass
class AssDrawPoint:
x: float
y: float
class AssDrawCmd:
meta: Optional[Meta] = None
@dataclass
class AssDrawCmdMove(AssDrawCmd):
pos: AssDrawPoint
close: bool
@dataclass
class Ass... | 15.521739 | 59 | 0.768908 | 71 | 714 | 7.704225 | 0.43662 | 0.179159 | 0.190128 | 0.175503 | 0.252285 | 0.252285 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161064 | 714 | 45 | 60 | 15.866667 | 0.913189 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.035714 | 0.107143 | 0 | 0.714286 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
870cea4c86e4cc9024721aa610576f983d0f1449 | 215 | py | Python | rurouni/exceptions.py | PinkDiamond1/Kenshin | bb5dfa05f5d10b4bdd1e0403c9e7d3c7e4399fcb | [
"Apache-2.0"
] | 219 | 2016-04-24T10:09:25.000Z | 2022-02-02T22:12:17.000Z | rurouni/exceptions.py | PinkDiamond1/Kenshin | bb5dfa05f5d10b4bdd1e0403c9e7d3c7e4399fcb | [
"Apache-2.0"
] | 16 | 2016-04-22T07:45:26.000Z | 2018-01-11T03:16:30.000Z | rurouni/exceptions.py | PinkDiamond1/Kenshin | bb5dfa05f5d10b4bdd1e0403c9e7d3c7e4399fcb | [
"Apache-2.0"
] | 29 | 2016-05-12T05:47:34.000Z | 2021-11-05T19:19:12.000Z | # coding: utf-8
class RurouniException(Exception):
pass
class ConfigException(RurouniException):
pass
class TokenBucketFull(RurouniException):
pass
class UnexpectedMetric(RurouniException):
pass | 15.357143 | 41 | 0.767442 | 19 | 215 | 8.684211 | 0.526316 | 0.163636 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.162791 | 215 | 14 | 42 | 15.357143 | 0.911111 | 0.060465 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 4 |
8723d146de1810223e1e03f81066a7c04d4f199d | 144 | py | Python | tests/unit/test_u_wsgi.py | p15r/HYOK-Wrapper | 257f29150f2f035e12aa2247d95aac4263e1694b | [
"MIT"
] | 2 | 2020-10-02T13:10:26.000Z | 2020-10-12T07:21:55.000Z | tests/unit/test_u_wsgi.py | p15r/HYOK-Wrapper | 257f29150f2f035e12aa2247d95aac4263e1694b | [
"MIT"
] | 12 | 2020-10-03T13:59:50.000Z | 2020-10-26T20:10:32.000Z | tests/unit/test_u_wsgi.py | p15r/HYOK-Wrapper | 257f29150f2f035e12aa2247d95aac4263e1694b | [
"MIT"
] | null | null | null | import wsgi # noqa: F401
def test_connect_to_app(http_client):
response = http_client.get('/')
assert response.status_code == 404
| 20.571429 | 38 | 0.701389 | 20 | 144 | 4.75 | 0.85 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.194444 | 144 | 6 | 39 | 24 | 0.767241 | 0.069444 | 0 | 0 | 0 | 0 | 0.007576 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
87444113cdb71868cffb7577fdd08b827329e23a | 333 | py | Python | File_Counts.py | juliaviolet/Google_IT_Python_Crash_Course | e48f37f41000bb7fa6cfca197a964b792125067f | [
"MIT"
] | null | null | null | File_Counts.py | juliaviolet/Google_IT_Python_Crash_Course | e48f37f41000bb7fa6cfca197a964b792125067f | [
"MIT"
] | null | null | null | File_Counts.py | juliaviolet/Google_IT_Python_Crash_Course | e48f37f41000bb7fa6cfca197a964b792125067f | [
"MIT"
] | null | null | null | file_counts = {"jpg":10, "txt":14, "csv":2, "py":23}
print(file_counts)
file_counts["txt"]
14
"jpg" in file_counts
True
"html" in file_counts
False
file_counts["cfg"] = 8
print file_counts
{"jpg":10, "txt":14, "csv":2, "py":23, "cfg" = 8 }
file_counts["csv"]= 17
print file_counts
{"jpg":10, "txt":14, "csv":17, "py":23,... | 22.2 | 52 | 0.633634 | 61 | 333 | 3.311475 | 0.295082 | 0.445545 | 0.193069 | 0.222772 | 0.440594 | 0.440594 | 0.440594 | 0.440594 | 0.277228 | 0.277228 | 0 | 0.099656 | 0.126126 | 333 | 14 | 53 | 23.785714 | 0.594502 | 0 | 0 | 0.142857 | 0 | 0 | 0.165165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.214286 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
874e9462e77f3d3d5e37bd23d18ef1dc06f8cc9d | 2,704 | py | Python | libs/logo.py | Ethical-Hacking-Tools/InstaReport | 051bde7b4b24283096c3a050ec7f70019c36994e | [
"MIT"
] | null | null | null | libs/logo.py | Ethical-Hacking-Tools/InstaReport | 051bde7b4b24283096c3a050ec7f70019c36994e | [
"MIT"
] | null | null | null | libs/logo.py | Ethical-Hacking-Tools/InstaReport | 051bde7b4b24283096c3a050ec7f70019c36994e | [
"MIT"
] | null | null | null | # coding=utf-8
#!/usr/bin/env python3
from libs.animation import colorText
logo = '''
[[black-bright-background]][[red]] ██▓ [[green]]███▄ █ [[blue]] ██████ [[magenta]]▄▄▄█████▓ [[cyan]]▄▄▄ [[red]] ██▀███ [[green]]▓█████ [[blue]] ██▓███ [[magenta]]▒█████ [[cyan]]██▀███ [[yellow]]▄▄▄█████▓[[r... | 100.148148 | 231 | 0.339867 | 367 | 2,704 | 3.790191 | 0.269755 | 0.017254 | 0.150971 | 0.155284 | 0.199856 | 0.117182 | 0.051761 | 0 | 0 | 0 | 0 | 0.002556 | 0.276627 | 2,704 | 27 | 232 | 100.148148 | 0.466769 | 0.012204 | 0 | 0 | 0 | 0.5 | 0.961786 | 0.208854 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e5ff7d9f69e16d5c8e955d1ac93518ac90e2cc4 | 26 | py | Python | code/pyto/analysis/test/all_catalogs/catalog_3.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 12 | 2020-01-08T01:33:02.000Z | 2022-03-16T00:25:34.000Z | code/pyto/analysis/test/all_catalogs/catalog_3.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 8 | 2019-12-19T19:34:56.000Z | 2022-03-10T10:11:28.000Z | code/pyto/analysis/test/all_catalogs/catalog_3.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 2 | 2022-03-30T13:12:22.000Z | 2022-03-30T18:12:10.000Z | ../catalogs_a/catalog_3.py | 26 | 26 | 0.807692 | 5 | 26 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 26 | 1 | 26 | 26 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e62135edf27d602b721a65c5cc50ec1d021b600 | 285 | py | Python | didcomm/common/utils.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 8 | 2021-09-04T19:28:18.000Z | 2021-12-22T16:00:18.000Z | didcomm/common/utils.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 4 | 2021-07-27T23:44:33.000Z | 2021-10-13T13:29:39.000Z | didcomm/common/utils.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 7 | 2021-07-22T08:19:13.000Z | 2022-01-04T14:46:38.000Z | from typing import Iterable, Callable, Optional, Any
# TODO check the same helper in standard lib
# TODO test
def search_first_in_iterable(
it: Iterable, cond: Callable, not_found_default=None
) -> Optional[Any]:
return next((el for el in it if cond(el)), not_found_default)
| 28.5 | 65 | 0.747368 | 45 | 285 | 4.577778 | 0.666667 | 0.106796 | 0.145631 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 285 | 9 | 66 | 31.666667 | 0.869198 | 0.182456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5e7a2ea7e1dce82bc6f6c129b495743ed0e175dd | 224 | py | Python | package/Y.py | onnoeberhard/scipro-primer-notebooks | e9cf1069d62f8c50549d9912403c640f08a99392 | [
"MIT"
] | 16 | 2019-04-18T13:35:42.000Z | 2021-09-05T21:01:06.000Z | package/Y.py | onnoeberhard/scipro-primer-notebooks | e9cf1069d62f8c50549d9912403c640f08a99392 | [
"MIT"
] | 1 | 2021-02-15T16:26:00.000Z | 2021-02-15T16:26:00.000Z | package/Y.py | onnoeberhard/scipro-primer-notebooks | e9cf1069d62f8c50549d9912403c640f08a99392 | [
"MIT"
] | 17 | 2018-09-30T07:35:00.000Z | 2021-08-28T19:15:09.000Z | class Y:
def __init__(self, v0):
self.v0 = v0
self.g = 9.81
def value(self, t):
return self.v0*t - 0.5*self.g*t**2
def formula(self):
return "v0*t - 0.5*g*t**2; v0=%g" % self.v0
| 20.363636 | 51 | 0.495536 | 42 | 224 | 2.547619 | 0.380952 | 0.224299 | 0.074766 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 0.325893 | 224 | 10 | 52 | 22.4 | 0.602649 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5e7f0c2f4ced84031cd811e035656325a60735b2 | 884 | py | Python | kinesis/serializers.py | graphyteai/async-kinesis | b4ad760e1b084f54b7e78148dbbe6abf00c44b19 | [
"Apache-2.0"
] | 17 | 2019-06-20T14:33:51.000Z | 2021-12-20T14:28:39.000Z | kinesis/serializers.py | graphyteai/async-kinesis | b4ad760e1b084f54b7e78148dbbe6abf00c44b19 | [
"Apache-2.0"
] | 15 | 2020-05-27T03:50:55.000Z | 2022-02-14T20:50:39.000Z | kinesis/serializers.py | graphyteai/async-kinesis | b4ad760e1b084f54b7e78148dbbe6abf00c44b19 | [
"Apache-2.0"
] | 12 | 2019-09-04T11:16:26.000Z | 2022-02-14T17:06:43.000Z | try:
import ujson as json
except ModuleNotFoundError:
# https://github.com/python/mypy/issues/1153 (mypy bug with try/except conditional imports)
import json # type: ignore
try:
import msgpack
except ModuleNotFoundError:
pass
class Serializer:
pass
class StringSerializer(Serializer):
d... | 22.1 | 95 | 0.680995 | 108 | 884 | 5.555556 | 0.453704 | 0.026667 | 0.11 | 0.13 | 0.42 | 0.26 | 0.14 | 0.14 | 0.14 | 0 | 0 | 0.011478 | 0.211538 | 884 | 39 | 96 | 22.666667 | 0.849354 | 0.115385 | 0 | 0.461538 | 0 | 0 | 0.025674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.115385 | 0.192308 | 0.730769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
5eb103b20a3f39de88460c4a6decebedc719548b | 51 | py | Python | src/pipeline/__init__.py | euranova/DAEMA | 29fec157c34afcc9abe95bc602a3012615b3c36b | [
"MIT"
] | 6 | 2021-09-17T02:09:29.000Z | 2022-03-20T04:15:15.000Z | src/pipeline/__init__.py | Jason-Xu-Ncepu/DAEMA | 29fec157c34afcc9abe95bc602a3012615b3c36b | [
"MIT"
] | null | null | null | src/pipeline/__init__.py | Jason-Xu-Ncepu/DAEMA | 29fec157c34afcc9abe95bc602a3012615b3c36b | [
"MIT"
] | 4 | 2021-06-29T22:57:18.000Z | 2022-03-09T09:19:17.000Z | """ Contains the pipeline used to test models. """
| 25.5 | 50 | 0.686275 | 7 | 51 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 51 | 1 | 51 | 51 | 0.833333 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5ebf381a379c6a121f8f5413969634f97d6a2668 | 263 | py | Python | validadores/regras/valor.py | mayronceccon/olist-python-labs-project | 217188212158ba2401866e06173d762e346ebeee | [
"MIT"
] | null | null | null | validadores/regras/valor.py | mayronceccon/olist-python-labs-project | 217188212158ba2401866e06173d762e346ebeee | [
"MIT"
] | null | null | null | validadores/regras/valor.py | mayronceccon/olist-python-labs-project | 217188212158ba2401866e06173d762e346ebeee | [
"MIT"
] | null | null | null | from .regra import Regra
class Valor(Regra):
def __init__(self, valor):
self.__valor = float(valor)
def is_valid(self):
if type(self.__valor) is not float and type(self.__valor) is not int:
raise Exception('Valor inválido')
| 23.909091 | 77 | 0.65019 | 37 | 263 | 4.324324 | 0.513514 | 0.225 | 0.1625 | 0.1875 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250951 | 263 | 10 | 78 | 26.3 | 0.812183 | 0 | 0 | 0 | 0 | 0 | 0.053232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5ec62c30a034128c3c15a108e434ab6f4d99a322 | 216 | py | Python | plugins/espcms_cms.py | cflq3/getcms | 6cf07da0ea3ec644866df715cff1f311a46ee378 | [
"MIT"
] | 22 | 2016-09-01T08:27:07.000Z | 2021-01-11T13:32:59.000Z | plugins/espcms_cms.py | cflq3/getcms | 6cf07da0ea3ec644866df715cff1f311a46ee378 | [
"MIT"
] | null | null | null | plugins/espcms_cms.py | cflq3/getcms | 6cf07da0ea3ec644866df715cff1f311a46ee378 | [
"MIT"
] | 20 | 2015-11-07T19:09:48.000Z | 2018-05-02T03:10:41.000Z | #!/usr/bin/env python
# encoding: utf-8
def run(whatweb, pluginname):
whatweb.recog_from_content(pluginname, "espcms")
whatweb.recog_from_file(pluginname, "templates/wap/cn/public/footer.html", "espcms")
| 21.6 | 88 | 0.736111 | 29 | 216 | 5.344828 | 0.758621 | 0.154839 | 0.206452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.115741 | 216 | 9 | 89 | 24 | 0.806283 | 0.166667 | 0 | 0 | 0 | 0 | 0.267045 | 0.198864 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5ec64e7203ff5e47285eff2de68b2cba358d3dc6 | 116 | py | Python | examples/02_current_price.py | sharebook-kr/coinonepy | 9d946a20d2228f90f3fe8dfb557e16a4ce214151 | [
"MIT"
] | 2 | 2021-08-31T09:06:05.000Z | 2021-12-03T12:26:49.000Z | examples/02_current_price.py | sharebook-kr/coinonepy | 9d946a20d2228f90f3fe8dfb557e16a4ce214151 | [
"MIT"
] | null | null | null | examples/02_current_price.py | sharebook-kr/coinonepy | 9d946a20d2228f90f3fe8dfb557e16a4ce214151 | [
"MIT"
] | 1 | 2021-12-03T12:26:50.000Z | 2021-12-03T12:26:50.000Z | import coinonepy
btc = coinonepy.get_current_price("btc")
btc_last_price = float(btc['last'])
print(btc_last_price) | 23.2 | 40 | 0.793103 | 18 | 116 | 4.777778 | 0.5 | 0.244186 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 116 | 5 | 41 | 23.2 | 0.803738 | 0 | 0 | 0 | 0 | 0 | 0.059829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0d5ad59ba224418983bf8048ad6cf393b546dc31 | 738 | py | Python | tests/core/sdo/tests.py | aceofwings/Cantactular | a6eb8d7128fd1388d3e75c1a8415123d1d5930e1 | [
"MIT"
] | 3 | 2017-01-26T01:37:42.000Z | 2018-07-22T02:42:52.000Z | tests/core/sdo/tests.py | aceofwings/Cantactular | a6eb8d7128fd1388d3e75c1a8415123d1d5930e1 | [
"MIT"
] | 1 | 2017-07-07T18:02:20.000Z | 2017-07-07T18:02:20.000Z | tests/core/sdo/tests.py | aceofwings/Evt-Gateway | a6eb8d7128fd1388d3e75c1a8415123d1d5930e1 | [
"MIT"
] | null | null | null | # import unittest
# import os
# from gateway.can.sdo.message import SdoMessage
# from gateway.can.sdo.message import CommandByte
# class TestSdoMessage(unittest.TestCase):
# def setUp(self):
# self.sdoMessage = SdoMessage.getMessege(0x1018,0x01,0x00)
# self.anotherMessage = SdoMessage.getMessege(0x2... | 35.142857 | 77 | 0.650407 | 94 | 738 | 5.085106 | 0.489362 | 0.16318 | 0.207113 | 0.225941 | 0.219665 | 0.219665 | 0.094142 | 0 | 0 | 0 | 0 | 0.113793 | 0.214092 | 738 | 20 | 78 | 36.9 | 0.710345 | 0.944444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.