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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dfe904cf803d73315d9b2cbeca7b4aca01c92211 | 244 | py | Python | contents/messages/__init__.py | marinimau/wayne_django_rest | eeaef0b9e3544c0f678b7f66684ac56f5ef90759 | [
"MIT"
] | null | null | null | contents/messages/__init__.py | marinimau/wayne_django_rest | eeaef0b9e3544c0f678b7f66684ac56f5ef90759 | [
"MIT"
] | 5 | 2021-04-08T20:43:19.000Z | 2021-09-22T19:42:03.000Z | contents/messages/eng/__init__.py | marinimau/wayne_django_rest | eeaef0b9e3544c0f678b7f66684ac56f5ef90759 | [
"MIT"
] | null | null | null | #
# wayne_production copyright © 2021 - all rights reserved
# Created at: 03/01/21
# By: mauromarini
# License: MIT
# Repository: https://github.com/marinimau/wayne_django_rest
# Credits: @marinimau (https://github.com/marinimau)
#
| 27.111111 | 62 | 0.709016 | 31 | 244 | 5.516129 | 0.806452 | 0.128655 | 0.163743 | 0.269006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 0.163934 | 244 | 8 | 63 | 30.5 | 0.784314 | 0.922131 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5f0c76618ac3aa54e5fb5359510132da0eb33421 | 517 | py | Python | webapp/models.py | mchrh/hungry | 9ba450249d0ef1c7e0b3ba360d19ef604f0b7c92 | [
"MIT"
] | null | null | null | webapp/models.py | mchrh/hungry | 9ba450249d0ef1c7e0b3ba360d19ef604f0b7c92 | [
"MIT"
] | 3 | 2021-03-30T12:50:06.000Z | 2021-06-04T22:33:43.000Z | webapp/models.py | mchrh/hungry | 9ba450249d0ef1c7e0b3ba360d19ef604f0b7c92 | [
"MIT"
] | null | null | null | from django.db import models
class results(models.Model):
id=models.IntegerField(primary_key=True)
name=models.CharField(max_length=100)
ING1=models.CharField(max_length=100)
ING2 = models.CharField(max_length=100)
ING3 = models.CharField(max_length=100)
ING4 = models.CharField(max_length=100)
... | 24.619048 | 45 | 0.72147 | 69 | 517 | 5.202899 | 0.463768 | 0.292479 | 0.350975 | 0.467967 | 0.526462 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061033 | 0.176015 | 517 | 20 | 46 | 25.85 | 0.78169 | 0 | 0 | 0 | 0 | 0 | 0.013619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0.071429 | 0.928571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5f0d19d5d7a746f4e183c40b9929540453803bd7 | 147 | py | Python | fixedpoint/__init__.py | juhasch/fixedpoint | 39b6f8d25bfc7590dd3d9f5cd464cafb911adf11 | [
"MIT"
] | null | null | null | fixedpoint/__init__.py | juhasch/fixedpoint | 39b6f8d25bfc7590dd3d9f5cd464cafb911adf11 | [
"MIT"
] | null | null | null | fixedpoint/__init__.py | juhasch/fixedpoint | 39b6f8d25bfc7590dd3d9f5cd464cafb911adf11 | [
"MIT"
] | null | null | null | """Fixed Point calculation with Python
"""
__version__ = '0.01'
from .fixedpoint import FixedPoint
from .fixepointarray import FixedPointArray
| 14.7 | 43 | 0.77551 | 16 | 147 | 6.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.142857 | 147 | 9 | 44 | 16.333333 | 0.849206 | 0.238095 | 0 | 0 | 0 | 0 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a028090473e769cdd0e7a17c0c6a8ed930cec1f2 | 35 | py | Python | tests/components/ios/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/ios/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/ios/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the iOS component."""
| 17.5 | 34 | 0.657143 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.766667 | 0.8 | 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 |
a053d861ff7de23308697612fb2a7a962acb41f0 | 103 | py | Python | gestionpedidos/apps.py | ag94e/InmobiNova | 6609dd99e0100f0d66d19303511c98171518b83e | [
"MIT"
] | null | null | null | gestionpedidos/apps.py | ag94e/InmobiNova | 6609dd99e0100f0d66d19303511c98171518b83e | [
"MIT"
] | null | null | null | gestionpedidos/apps.py | ag94e/InmobiNova | 6609dd99e0100f0d66d19303511c98171518b83e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GestionpedidosConfig(AppConfig):
name = 'gestionpedidos'
| 17.166667 | 38 | 0.786408 | 10 | 103 | 8.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 39 | 20.6 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 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 |
a079c86e791fa091f97c4049f17473184547749a | 109 | py | Python | python/array/miss_num.py | Nobodylesszb/LeetCode | 0e902f6bff4834a93ce64cf9c57fd64297e63523 | [
"MIT"
] | null | null | null | python/array/miss_num.py | Nobodylesszb/LeetCode | 0e902f6bff4834a93ce64cf9c57fd64297e63523 | [
"MIT"
] | null | null | null | python/array/miss_num.py | Nobodylesszb/LeetCode | 0e902f6bff4834a93ce64cf9c57fd64297e63523 | [
"MIT"
] | null | null | null | class Solution(object):
def missingNumber(self, nums):
return sum(range(len(nums)+1)) - sum(nums) | 36.333333 | 50 | 0.66055 | 15 | 109 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.183486 | 109 | 3 | 50 | 36.333333 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
a083f33b8e1fff53c553b6a5e6233a22afb78c00 | 349 | py | Python | otk/__init__.py | draustin/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 7 | 2020-05-17T14:26:42.000Z | 2022-02-14T04:52:54.000Z | otk/__init__.py | uamhforever/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 17 | 2020-04-10T22:50:00.000Z | 2020-06-18T04:54:19.000Z | otk/__init__.py | uamhforever/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 1 | 2022-02-14T04:52:45.000Z | 2022-02-14T04:52:45.000Z | from ._utility import DESIGNS_DIR, PROPERTIES_DIR
# Constantly debating what to include in otk namespace.
# from .types import Sequence2V, Sequence2VH, Sequence3V, Sequence3VH
# from . import math
# from . import paraxial
# from . import lens
# from . import prism
# from . import bvar
# from . import rt
# from . import... | 26.846154 | 69 | 0.747851 | 46 | 349 | 5.608696 | 0.586957 | 0.310078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013986 | 0.180516 | 349 | 12 | 70 | 29.083333 | 0.888112 | 0.793696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a0ab97b23c54b43ffab75c378aeaaf03e13bf084 | 99 | py | Python | 2013-07-08-qual-round/C-BoardGame/bg.py | pbl64k/Yandex.Algorithm | 12004e9f218f1f2d412ce71e6e5c04b2c05c95a1 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2017-10-06T07:36:59.000Z | 2017-10-06T07:36:59.000Z | 2013-07-08-qual-round/C-BoardGame/bg.py | pbl64k/Yandex.Algorithm | 12004e9f218f1f2d412ce71e6e5c04b2c05c95a1 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | 2013-07-08-qual-round/C-BoardGame/bg.py | pbl64k/Yandex.Algorithm | 12004e9f218f1f2d412ce71e6e5c04b2c05c95a1 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null |
import sys
n = int(sys.stdin.readline())
print n * (n + 1) / 2, 1 if n == 1 else (1 - (n % 2))
| 12.375 | 53 | 0.505051 | 20 | 99 | 2.5 | 0.55 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0.282828 | 99 | 7 | 54 | 14.142857 | 0.619718 | 0 | 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 |
263377dea71038cba0de29eaf2d9449dc3d30cb3 | 130 | py | Python | project/index.py | Thunyakak/project | 4235046783f9f9cde6d59a6682cfa2b41c4e0acf | [
"Apache-2.0"
] | null | null | null | project/index.py | Thunyakak/project | 4235046783f9f9cde6d59a6682cfa2b41c4e0acf | [
"Apache-2.0"
] | null | null | null | project/index.py | Thunyakak/project | 4235046783f9f9cde6d59a6682cfa2b41c4e0acf | [
"Apache-2.0"
] | null | null | null | h=int(input("รับค่า ชั่วโมง = "))
m=int(input("รับค่า นาที= "))
s=int(input("รับค่า วินาที= "))
ans=((h*3600)+(m*60)+s)
print(ans) | 26 | 33 | 0.546154 | 41 | 130 | 2 | 0.512195 | 0.292683 | 0.329268 | 0.365854 | 0.512195 | 0.512195 | 0.512195 | 0 | 0 | 0 | 0 | 0.05042 | 0.084615 | 130 | 5 | 34 | 26 | 0.546218 | 0 | 0 | 0 | 0 | 0 | 0.343511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
265d6ba06fc4a1b57a595bcf8cab9683d2ab4ea6 | 327 | py | Python | src/util/MovingAverage.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | 1 | 2021-08-19T14:28:45.000Z | 2021-08-19T14:28:45.000Z | src/util/MovingAverage.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | null | null | null | src/util/MovingAverage.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | 1 | 2022-03-11T07:20:06.000Z | 2022-03-11T07:20:06.000Z | class MovingAverage:
def __init__(self, momentum):
self.m = momentum
self.avg = 0.0
def update(self, val):
self.avg = val
self.update = self._update
def _update(self, val):
self.avg = self.avg * self.m + val * (1 - self.m)
def peek(self):
return se... | 20.4375 | 57 | 0.547401 | 44 | 327 | 3.931818 | 0.318182 | 0.202312 | 0.150289 | 0.184971 | 0.265896 | 0.265896 | 0 | 0 | 0 | 0 | 0 | 0.013825 | 0.336391 | 327 | 15 | 58 | 21.8 | 0.78341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.090909 | 0.545455 | 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 |
267743b483edaa8410b3261da215680547a0a6c9 | 496 | py | Python | bot/platforms/telegram/utilities/keyboards.py | AiratK/kaishnik-bot | c42351611a40a04d78c8ae481b97339adbd321e5 | [
"MIT"
] | 15 | 2019-04-30T14:37:15.000Z | 2022-02-09T06:43:00.000Z | bot/platforms/telegram/utilities/keyboards.py | AiratK/kaishnik-bot | c42351611a40a04d78c8ae481b97339adbd321e5 | [
"MIT"
] | 4 | 2019-03-18T06:09:38.000Z | 2021-12-10T06:12:26.000Z | bot/platforms/telegram/utilities/keyboards.py | AiratK/kaishnik-bot | c42351611a40a04d78c8ae481b97339adbd321e5 | [
"MIT"
] | 2 | 2020-04-12T10:31:52.000Z | 2021-06-07T20:18:08.000Z | from aiogram.types import InlineKeyboardMarkup
from aiogram.types import InlineKeyboardButton
from bot.utilities.types import Command
def cancel_button() -> InlineKeyboardButton:
return InlineKeyboardButton(text="отменить", callback_data=Command.CANCEL.value)
def canceler(row_width: int = 1) -> InlineKeyboardMa... | 31 | 87 | 0.802419 | 52 | 496 | 7.480769 | 0.461538 | 0.084833 | 0.082262 | 0.113111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002309 | 0.127016 | 496 | 15 | 88 | 33.066667 | 0.896074 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
26934cd72c3ba8f879dca372979eb6325f49e307 | 335 | py | Python | Python/CSES Solutions/Introductory Problems/Two Knights.py | 7namansharma/Comp-Prog | b760ef9b4173e6d5851dc63cc92a8e935baf60ed | [
"MIT"
] | null | null | null | Python/CSES Solutions/Introductory Problems/Two Knights.py | 7namansharma/Comp-Prog | b760ef9b4173e6d5851dc63cc92a8e935baf60ed | [
"MIT"
] | null | null | null | Python/CSES Solutions/Introductory Problems/Two Knights.py | 7namansharma/Comp-Prog | b760ef9b4173e6d5851dc63cc92a8e935baf60ed | [
"MIT"
] | null | null | null | n = int(input())
c = 24
if n==1:
print("0")
elif n==2:
print("0")
print("6")
elif n==3:
print("0")
print("6")
print("28")
else:
print("0")
print("6")
print("28")
for i in range(4, n+1):
x = 4 * ((i*i) - (3*i) - 4)
ans = (((i*i) * ((i*i)-1))/2) - (x + c)
pr... | 15.952381 | 47 | 0.391045 | 59 | 335 | 2.220339 | 0.372881 | 0.183206 | 0.251908 | 0.274809 | 0.290076 | 0.290076 | 0 | 0 | 0 | 0 | 0 | 0.102679 | 0.331343 | 335 | 20 | 48 | 16.75 | 0.482143 | 0 | 0 | 0.473684 | 0 | 0 | 0.032934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.526316 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
cd179d1d0cc2e62d087d0dfce203f21bae182001 | 685 | py | Python | scp_epub/download/get_wiki.py | elfakyn/scp_epub | 5d0e95d8fa0e11d9ab388c5a4083212c1c857a2f | [
"MIT"
] | 5 | 2020-05-27T15:57:15.000Z | 2021-06-11T01:08:50.000Z | scp_epub/download/get_wiki.py | elfakyn/scp_epub | 5d0e95d8fa0e11d9ab388c5a4083212c1c857a2f | [
"MIT"
] | null | null | null | scp_epub/download/get_wiki.py | elfakyn/scp_epub | 5d0e95d8fa0e11d9ab388c5a4083212c1c857a2f | [
"MIT"
] | 2 | 2020-11-14T04:53:51.000Z | 2021-06-12T19:28:32.000Z | import json
import os
import download.wikidot_api
from constants import constants
def get_scp_wiki(book_definition, refresh=False):
raise NotImplementedError
def filter_pages(book_definition):
raise NotImplementedError
def get_all_page_metadata(page_name, refresh=False):
raise NotImplementedError
d... | 22.833333 | 103 | 0.786861 | 92 | 685 | 5.554348 | 0.445652 | 0.187867 | 0.21135 | 0.21135 | 0.228963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143066 | 685 | 29 | 104 | 23.62069 | 0.870528 | 0 | 0 | 0.235294 | 0 | 0 | 0.00292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.235294 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cd29c50a2caf372486b4714e392b45831d108935 | 7,171 | py | Python | switch/migrations/0002_auto__add_ipdb.py | ojarva/switch-management-django | 63900a5ffb6bfee4c96b9949bd7caa32d0cb217e | [
"MIT",
"Unlicense"
] | 1 | 2021-01-27T16:53:41.000Z | 2021-01-27T16:53:41.000Z | switch/migrations/0002_auto__add_ipdb.py | ojarva/switch-management-django | 63900a5ffb6bfee4c96b9949bd7caa32d0cb217e | [
"MIT",
"Unlicense"
] | null | null | null | switch/migrations/0002_auto__add_ipdb.py | ojarva/switch-management-django | 63900a5ffb6bfee4c96b9949bd7caa32d0cb217e | [
"MIT",
"Unlicense"
] | 3 | 2016-06-01T07:08:52.000Z | 2021-05-18T05:45:51.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'IPDB'
db.create_table('switch_ipdb', (
('id', self.gf('django.db.models.fields... | 64.026786 | 139 | 0.55069 | 734 | 7,171 | 5.273842 | 0.138965 | 0.121932 | 0.209765 | 0.299664 | 0.780677 | 0.731077 | 0.708344 | 0.656161 | 0.588737 | 0.473263 | 0 | 0.008418 | 0.204853 | 7,171 | 111 | 140 | 64.603604 | 0.670467 | 0.007949 | 0 | 0.262626 | 0 | 0 | 0.542335 | 0.295499 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020202 | false | 0.010101 | 0.040404 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cd35082ba30dc3f75d8ebde55e3e81823c9180b9 | 406,681 | py | Python | Integration/User_Interface/new_qrc_resource_rc.py | Vidur-CUBoulder/GroceryRecommendataion | 26de07156f4cd4ba5b008c8296c9c23be4032a54 | [
"MIT"
] | null | null | null | Integration/User_Interface/new_qrc_resource_rc.py | Vidur-CUBoulder/GroceryRecommendataion | 26de07156f4cd4ba5b008c8296c9c23be4032a54 | [
"MIT"
] | null | null | null | Integration/User_Interface/new_qrc_resource_rc.py | Vidur-CUBoulder/GroceryRecommendataion | 26de07156f4cd4ba5b008c8296c9c23be4032a54 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt4 (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x01\x4c\x41\
\xff\
\xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x01\x01\x01\x2c\x01\
\x2c\x00\x00\xff... | 65.572557 | 105 | 0.727228 | 98,520 | 406,681 | 3.001746 | 0.002974 | 0.005295 | 0.002435 | 0.001907 | 0.012478 | 0.012163 | 0.011676 | 0.011443 | 0.011017 | 0.01052 | 0 | 0.309498 | 0.015373 | 406,681 | 6,201 | 106 | 65.583132 | 0.42904 | 0.000371 | 0 | 0.005334 | 0 | 0.993858 | 0 | 0 | 0 | 1 | 0.00002 | 0 | 0 | 1 | 0.000323 | false | 0 | 0.000162 | 0 | 0.000485 | 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 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cd506a8cfd85d68e32e04265797e69d045d46797 | 27 | py | Python | PyCharm/Primer_2.py | tamaranesterenko/-Python.LR_10 | 57feefb1e33c64dbd9c46fe17cef9cf363c6d17b | [
"MIT"
] | null | null | null | PyCharm/Primer_2.py | tamaranesterenko/-Python.LR_10 | 57feefb1e33c64dbd9c46fe17cef9cf363c6d17b | [
"MIT"
] | null | null | null | PyCharm/Primer_2.py | tamaranesterenko/-Python.LR_10 | 57feefb1e33c64dbd9c46fe17cef9cf363c6d17b | [
"MIT"
] | null | null | null | a = set('data')
print(a)
| 9 | 16 | 0.518519 | 5 | 27 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 2 | 17 | 13.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.16 | 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 |
cd920efbd751b71b01ecd8140701af36f6035250 | 216 | py | Python | rl/env/__init__.py | alandegenhart/ReinforcementLearning | 5d485308ef4f0b783dca858c0ecd251fe077275f | [
"MIT"
] | null | null | null | rl/env/__init__.py | alandegenhart/ReinforcementLearning | 5d485308ef4f0b783dca858c0ecd251fe077275f | [
"MIT"
] | null | null | null | rl/env/__init__.py | alandegenhart/ReinforcementLearning | 5d485308ef4f0b783dca858c0ecd251fe077275f | [
"MIT"
] | null | null | null | # Environments will be defined in their own modules. To make imports cleaner,
# import these here so that they can be referenced from the 'env' module
# (e.g., env.GridWorld).
from rl.env.gridworld import GridWorld | 43.2 | 77 | 0.763889 | 35 | 216 | 4.714286 | 0.8 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162037 | 216 | 5 | 78 | 43.2 | 0.911602 | 0.787037 | 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 |
26950f42370b1272e07381fce8274c043e9376a3 | 168 | py | Python | week1/NumPy.py | akmcdac/PythonNumPy | 010017409f9b184a6593a5b8a203b5a947ec0ead | [
"Apache-2.0"
] | null | null | null | week1/NumPy.py | akmcdac/PythonNumPy | 010017409f9b184a6593a5b8a203b5a947ec0ead | [
"Apache-2.0"
] | null | null | null | week1/NumPy.py | akmcdac/PythonNumPy | 010017409f9b184a6593a5b8a203b5a947ec0ead | [
"Apache-2.0"
] | null | null | null | # This is a numpy sample project for the github assignment week1
# Press Shift+F10 to execute it or replace it with your code.
import numpy as np
print(np.arange(10)) | 28 | 64 | 0.767857 | 31 | 168 | 4.16129 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036232 | 0.178571 | 168 | 6 | 65 | 28 | 0.898551 | 0.72619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 4 |
f875cd7c6a2be68b0d4589553b0f8770c731c217 | 617 | py | Python | tests/tokenizer/test_mecab.py | moriaki3193/dzo | c0a221a8038879107a5fe07d2b9452abf51815b1 | [
"MIT"
] | 8 | 2019-07-27T11:48:55.000Z | 2019-09-19T07:27:15.000Z | tests/tokenizer/test_mecab.py | moriaki3193/dzo | c0a221a8038879107a5fe07d2b9452abf51815b1 | [
"MIT"
] | 7 | 2019-08-25T17:08:45.000Z | 2019-09-14T14:04:49.000Z | tests/tokenizer/test_mecab.py | moriaki3193/dzo | c0a221a8038879107a5fe07d2b9452abf51815b1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# TODO setup MeCab enabled environment in CircleCI.
"""Testing mecab module.
"""
# from dzo.tokenizer import MeCabTokenizer
from dzo.tokenizer.mecab import MeCabToken
def test_MeCabToken() -> None:
"""Test for MeCabToken.
"""
token = MeCabToken('a', 'b', 'c', 'd', 'e', 'f', 'g')
... | 26.826087 | 57 | 0.654781 | 75 | 617 | 5.333333 | 0.546667 | 0.2275 | 0.315 | 0.11 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001996 | 0.188006 | 617 | 22 | 58 | 28.045455 | 0.796407 | 0.26094 | 0 | 0 | 0 | 0 | 0.135747 | 0 | 0 | 0 | 0 | 0.045455 | 0.727273 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f8bdaf4949fe0d004ebaa859cb956289bd62f3b5 | 84 | py | Python | TetherDB/__init__.py | hmcguire1/TetherDB | 18284ca3c956da84de00188d9dd2ffefd6efd8db | [
"MIT"
] | 1 | 2021-11-18T14:58:07.000Z | 2021-11-18T14:58:07.000Z | TetherDB/__init__.py | hmcguire1/TetherDB | 18284ca3c956da84de00188d9dd2ffefd6efd8db | [
"MIT"
] | null | null | null | TetherDB/__init__.py | hmcguire1/TetherDB | 18284ca3c956da84de00188d9dd2ffefd6efd8db | [
"MIT"
] | null | null | null | from .db import Database
from .utils import tether
__all__ = ['Database', 'tether'] | 21 | 32 | 0.738095 | 11 | 84 | 5.272727 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 4 | 32 | 21 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f8ce5ca08b555ed9eddf7ae1837511d60ec91704 | 30 | py | Python | homeassistant/components/tautulli/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 22,481 | 2020-03-02T13:09:59.000Z | 2022-03-31T23:34:28.000Z | homeassistant/components/tautulli/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/tautulli/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,411 | 2020-03-02T14:19:20.000Z | 2022-03-31T22:46:07.000Z | """The tautulli component."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.740741 | 0.766667 | 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 |
3e05cb523207b1c98077afc2c3861c0852532544 | 256 | py | Python | conftest.py | zavorka/python-semver | a81d19e01aa89234bd2c28d502adbf4dfd67c7b3 | [
"BSD-3-Clause"
] | null | null | null | conftest.py | zavorka/python-semver | a81d19e01aa89234bd2c28d502adbf4dfd67c7b3 | [
"BSD-3-Clause"
] | null | null | null | conftest.py | zavorka/python-semver | a81d19e01aa89234bd2c28d502adbf4dfd67c7b3 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import semver
import sys
sys.path.insert(0, "docs")
from coerce import coerce # noqa:E402
@pytest.fixture(autouse=True)
def add_semver(doctest_namespace):
doctest_namespace["semver"] = semver
doctest_namespace["coerce"] = coerce
| 18.285714 | 40 | 0.753906 | 34 | 256 | 5.558824 | 0.558824 | 0.253968 | 0.232804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.140625 | 256 | 13 | 41 | 19.692308 | 0.840909 | 0.035156 | 0 | 0 | 0 | 0 | 0.065306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.555556 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3e1cbe184023a7d715337f03ce1ec635213d55a8 | 69 | py | Python | torchsolver/utils/__init__.py | killf/torchsolver | d9d651a646cff3a00ff36c455704cb009d45aa9a | [
"MIT"
] | null | null | null | torchsolver/utils/__init__.py | killf/torchsolver | d9d651a646cff3a00ff36c455704cb009d45aa9a | [
"MIT"
] | null | null | null | torchsolver/utils/__init__.py | killf/torchsolver | d9d651a646cff3a00ff36c455704cb009d45aa9a | [
"MIT"
] | null | null | null | from .counter import Counter
from .timer import Timer, calculate_eta
| 23 | 39 | 0.826087 | 10 | 69 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 2 | 40 | 34.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3e363d5fb9ab509da75da92c2d6ccaee1fa9d4d5 | 12,667 | py | Python | tests/tests_equipmenttype_integration.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | 3 | 2021-03-08T19:14:38.000Z | 2022-02-01T17:57:31.000Z | tests/tests_equipmenttype_integration.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | null | null | null | tests/tests_equipmenttype_integration.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | null | null | null | from maintenancemanagement.models import (
Equipment,
EquipmentType,
Field,
FieldGroup,
FieldValue,
)
from maintenancemanagement.serializers import (
EquipmentTypeDetailsSerializer,
EquipmentTypeSerializer,
)
from openCMMS import settings
from usersmanagement.models import UserProfile
from ... | 41.531148 | 119 | 0.626826 | 1,364 | 12,667 | 5.673754 | 0.11437 | 0.046518 | 0.015118 | 0.019899 | 0.78744 | 0.7594 | 0.719085 | 0.705259 | 0.686523 | 0.650989 | 0 | 0.013441 | 0.289334 | 12,667 | 304 | 120 | 41.667763 | 0.846256 | 0.29344 | 0 | 0.497041 | 0 | 0 | 0.122444 | 0.083739 | 0 | 0 | 0 | 0 | 0.12426 | 1 | 0.076923 | false | 0.011834 | 0.04142 | 0 | 0.136095 | 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 |
3e3a9119bbcf9f8bac2b28b39ed643886e2cd3a5 | 213 | py | Python | cmake/CMakeBuild/bin/cmakebuild_update.py | kevleyski/VVCSoftware_VTM | 693b6b263a6e643189a8977ff2f2ef2d2c0f5d25 | [
"BSD-3-Clause"
] | 3 | 2021-05-29T00:05:42.000Z | 2022-03-17T00:11:29.000Z | cmake/CMakeBuild/bin/cmakebuild_update.py | kevleyski/VVCSoftware_VTM | 693b6b263a6e643189a8977ff2f2ef2d2c0f5d25 | [
"BSD-3-Clause"
] | 7 | 2021-09-18T14:48:01.000Z | 2021-09-21T13:16:13.000Z | cmake/CMakeBuild/bin/cmakebuild_update.py | kevleyski/VVCSoftware_VTM | 693b6b263a6e643189a8977ff2f2ef2d2c0f5d25 | [
"BSD-3-Clause"
] | 5 | 2019-10-07T17:31:42.000Z | 2022-02-19T14:07:29.000Z | #!/usr/bin/python
#
# cmakebuild_update.py
#
import pyhhi.build.app.cmbldup
import pyhhi.build.common.util
app = pyhhi.build.app.cmbldup.CMakeBuildUpdateApp()
pyhhi.build.common.util.exec_main_default_try(app)
| 17.75 | 51 | 0.793427 | 31 | 213 | 5.322581 | 0.580645 | 0.242424 | 0.193939 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075117 | 213 | 11 | 52 | 19.363636 | 0.837563 | 0.173709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3e64ab8aa144017ce586c04b2dc7388ec09a782d | 35 | py | Python | lib/python3.6/tarfile.py | trikyas/django-project | d258d8e0d40def6c382aadde112de0f58b7fac6c | [
"MIT"
] | 1 | 2021-02-08T10:04:39.000Z | 2021-02-08T10:04:39.000Z | lib/python3.6/tarfile.py | trikyas/django-project | d258d8e0d40def6c382aadde112de0f58b7fac6c | [
"MIT"
] | 7 | 2020-02-11T23:52:31.000Z | 2022-02-10T09:10:58.000Z | lib/python3.6/tarfile.py | trikyas/django-project | d258d8e0d40def6c382aadde112de0f58b7fac6c | [
"MIT"
] | 1 | 2019-03-26T00:23:02.000Z | 2019-03-26T00:23:02.000Z | /anaconda3/lib/python3.6/tarfile.py | 35 | 35 | 0.828571 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 35 | 1 | 35 | 35 | 0.742857 | 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 |
e40f0727c316a3b70748944d21fc6359f628b800 | 7,976 | py | Python | exabel_data_sdk/stubs/exabel/api/data/v1/entity_messages_pb2.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | exabel_data_sdk/stubs/exabel/api/data/v1/entity_messages_pb2.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | exabel_data_sdk/stubs/exabel/api/data/v1/entity_messages_pb2.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | """Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
_sym_db = _symbol_database.Default()
from google.api import fi... | 284.857143 | 2,496 | 0.821966 | 1,179 | 7,976 | 5.246819 | 0.136556 | 0.041384 | 0.0645 | 0.041222 | 0.776754 | 0.753637 | 0.698513 | 0.630294 | 0.618978 | 0.592467 | 0 | 0.046031 | 0.041249 | 7,976 | 28 | 2,497 | 284.857143 | 0.762914 | 0.003887 | 0 | 0 | 1 | 0.111111 | 0.270781 | 0.22267 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.259259 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e40fc78f81c7f6d874d79deb817eb83e7fcbf207 | 100 | py | Python | python/y2019/d10/__main__.py | luke-dixon/aoc | 94851a5866a1ef29e3ba10098160cba883882683 | [
"MIT"
] | 1 | 2021-01-12T20:04:01.000Z | 2021-01-12T20:04:01.000Z | python/y2019/d10/__main__.py | luke-dixon/aoc | 94851a5866a1ef29e3ba10098160cba883882683 | [
"MIT"
] | null | null | null | python/y2019/d10/__main__.py | luke-dixon/aoc | 94851a5866a1ef29e3ba10098160cba883882683 | [
"MIT"
] | null | null | null | import sys
from .day10 import Day10
if __name__ == '__main__':
Day10(args=sys.argv[1:]).run()
| 14.285714 | 34 | 0.67 | 15 | 100 | 3.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 0.17 | 100 | 6 | 35 | 16.666667 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0.08 | 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 |
e42c7a3dc2f46b5552aad221574cfd67d2eab6f1 | 136 | py | Python | OpenGLCffi/EGL/EXT/ANDROID/create_native_client_buffer.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/EGL/EXT/ANDROID/create_native_client_buffer.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/EGL/EXT/ANDROID/create_native_client_buffer.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.EGL import params
@params(api='egl', prms=['attrib_list'])
def eglCreateNativeClientBufferANDROID(attrib_list):
pass
| 19.428571 | 52 | 0.794118 | 16 | 136 | 6.625 | 0.75 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 6 | 53 | 22.666667 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e44d4c43c399f464de378c3b3c16a50a30681a06 | 29 | py | Python | custom_components/airthings_cloud/__init__.py | klein1jo/home_assistant_airthings_cloud | 4fd0ca4161029baef36f4d22bef9d0e40452a37a | [
"Apache-2.0"
] | 33 | 2020-10-12T18:44:44.000Z | 2021-11-14T19:53:35.000Z | custom_components/airthings_cloud/__init__.py | klein1jo/home_assistant_airthings_cloud | 4fd0ca4161029baef36f4d22bef9d0e40452a37a | [
"Apache-2.0"
] | 25 | 2020-10-13T04:09:35.000Z | 2022-01-22T03:10:07.000Z | custom_components/airthings_cloud/__init__.py | klein1jo/home_assistant_airthings_cloud | 4fd0ca4161029baef36f4d22bef9d0e40452a37a | [
"Apache-2.0"
] | 10 | 2020-10-30T17:38:49.000Z | 2021-09-28T02:17:25.000Z | """Support for Airthings."""
| 14.5 | 28 | 0.655172 | 3 | 29 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.730769 | 0.758621 | 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 |
e451f012c57fe017608b4fae36587794172a64a9 | 976 | py | Python | ScullinHW1DAT129.py | dscul0b/dat129_ccac | bc4c0cf53f6aff710235f6dd2b82a66f681a7fc0 | [
"Apache-2.0"
] | null | null | null | ScullinHW1DAT129.py | dscul0b/dat129_ccac | bc4c0cf53f6aff710235f6dd2b82a66f681a7fc0 | [
"Apache-2.0"
] | null | null | null | ScullinHW1DAT129.py | dscul0b/dat129_ccac | bc4c0cf53f6aff710235f6dd2b82a66f681a7fc0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Dan Scullin
DAT-129
Icon Programming
Goal is to create an icon of my creation, and manipulate it using functions. Rad!
This is a temporary script file.
"""
lists = [['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'],
['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'],
['0', '0', ... | 28.705882 | 82 | 0.328893 | 156 | 976 | 2.057692 | 0.25641 | 0.404984 | 0.504673 | 0.535826 | 0.311526 | 0.311526 | 0.311526 | 0.311526 | 0.311526 | 0.311526 | 0 | 0.148045 | 0.266393 | 976 | 33 | 83 | 29.575758 | 0.300279 | 0.205943 | 0 | 0.470588 | 0 | 0 | 0.142466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e4529142722102f5c9c0516d2458b2a5af226e09 | 149 | py | Python | qzone/qzone/__init__.py | Lodour/QZone-Crawler | 17e68509f68c1acceefb50ec5e8ae20c524c1adb | [
"MIT"
] | 20 | 2017-03-21T21:28:39.000Z | 2022-01-07T16:14:02.000Z | qzone/qzone/__init__.py | Lodour/QZone-Crawler | 17e68509f68c1acceefb50ec5e8ae20c524c1adb | [
"MIT"
] | 1 | 2017-02-27T09:44:09.000Z | 2017-05-16T02:53:31.000Z | qzone/qzone/__init__.py | Lodour/QZone-Crawler | 17e68509f68c1acceefb50ec5e8ae20c524c1adb | [
"MIT"
] | 4 | 2017-06-14T03:14:42.000Z | 2019-05-09T02:48:40.000Z | import sys
reload(sys)
sys.setdefaultencoding("utf-8")
# ignore requests logs
import logging
logging.getLogger("requests").setLevel(logging.WARNING) | 21.285714 | 55 | 0.805369 | 19 | 149 | 6.315789 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.073826 | 149 | 7 | 55 | 21.285714 | 0.862319 | 0.134228 | 0 | 0 | 0 | 0 | 0.101563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
e4a237efe2911f72f1a7776c142adfa6355973d6 | 297 | py | Python | great_international/migrations/0064_merge_20190808_0928.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | great_international/migrations/0064_merge_20190808_0928.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | great_international/migrations/0064_merge_20190808_0928.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | # Generated by Django 2.2.3 on 2019-08-08 09:28
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('great_international', '0063_auto_20190807_1504'),
('great_international', '0063_auto_20190806_1416'),
]
operations = [
]
| 19.8 | 59 | 0.676768 | 35 | 297 | 5.514286 | 0.742857 | 0.186529 | 0.227979 | 0.26943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200855 | 0.212121 | 297 | 14 | 60 | 21.214286 | 0.623932 | 0.151515 | 0 | 0 | 1 | 0 | 0.336 | 0.184 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e4c1afaa225ca5487ac479de275ea7a5302f09a3 | 514 | py | Python | Python3.x/461-Hamming Distance.py | ranchlin/Leetcode | 02f23ff0dd7d1de1cc51161835310678ecb0c87e | [
"MIT"
] | null | null | null | Python3.x/461-Hamming Distance.py | ranchlin/Leetcode | 02f23ff0dd7d1de1cc51161835310678ecb0c87e | [
"MIT"
] | null | null | null | Python3.x/461-Hamming Distance.py | ranchlin/Leetcode | 02f23ff0dd7d1de1cc51161835310678ecb0c87e | [
"MIT"
] | null | null | null | '''
class Solution(object):
def hammingDistance(self, x, y):
"""
:type x: int
:type y: int
:rtype: int
"""
dis = 0
for i in bin(x ^ y):
if i == '1': dis += 1
return dis
'''
class Solution(object):
def hammingDistance(s... | 18.357143 | 49 | 0.40856 | 60 | 514 | 3.5 | 0.4 | 0.038095 | 0.180952 | 0.209524 | 0.638095 | 0.638095 | 0.638095 | 0.638095 | 0.638095 | 0.638095 | 0 | 0.017422 | 0.441634 | 514 | 28 | 50 | 18.357143 | 0.714286 | 0.548638 | 0 | 0 | 0 | 0 | 0.008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 4 |
e4cc0791c9e271b66fa9fa78a6ddd43ca775d17f | 503 | py | Python | jesse/strategies/TestLogMethodInStrategyClass/__init__.py | slipperlobster/flipper | 8482edd77604fcec2ea08913f1748c21be80dac7 | [
"MIT"
] | 3,999 | 2018-11-09T10:38:51.000Z | 2022-03-31T12:29:12.000Z | jesse/strategies/TestLogMethodInStrategyClass/__init__.py | slipperlobster/flipper | 8482edd77604fcec2ea08913f1748c21be80dac7 | [
"MIT"
] | 172 | 2020-04-16T16:19:08.000Z | 2022-03-28T13:28:55.000Z | jesse/strategies/TestLogMethodInStrategyClass/__init__.py | pmondal08/jesse | 527952a74bc76f76cf3a2d25755386f8db285885 | [
"MIT"
] | 495 | 2019-03-01T21:48:53.000Z | 2022-03-30T15:35:19.000Z | from jesse.strategies import Strategy
class TestLogMethodInStrategyClass(Strategy):
def before(self):
if self.index == 10:
self.log('test info log')
if self.index == 11:
self.log('test error log', log_type='error')
def should_long(self) -> bool:
return False
... | 19.346154 | 56 | 0.592445 | 62 | 503 | 4.709677 | 0.451613 | 0.092466 | 0.075342 | 0.130137 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011561 | 0.312127 | 503 | 25 | 57 | 20.12 | 0.83237 | 0 | 0 | 0.294118 | 0 | 0 | 0.063618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.117647 | 0.058824 | 0.176471 | 0.647059 | 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 |
e4fdb74d4a801e3bf4bc8a458a9d023817addf37 | 205 | py | Python | py/cidoc_crm_types/properties/p31i_was_modified_by.py | minorg/cidoc-crm-types | 9018bdbf0658e4d28a87bc94543e467be45d8aa5 | [
"Apache-2.0"
] | null | null | null | py/cidoc_crm_types/properties/p31i_was_modified_by.py | minorg/cidoc-crm-types | 9018bdbf0658e4d28a87bc94543e467be45d8aa5 | [
"Apache-2.0"
] | null | null | null | py/cidoc_crm_types/properties/p31i_was_modified_by.py | minorg/cidoc-crm-types | 9018bdbf0658e4d28a87bc94543e467be45d8aa5 | [
"Apache-2.0"
] | null | null | null | from .p12i_was_present_at import P12iWasPresentAt
from dataclasses import dataclass
@dataclass
class P31iWasModifiedBy(P12iWasPresentAt):
URI = "http://erlangen-crm.org/current/P31i_was_modified_by"
| 25.625 | 64 | 0.829268 | 25 | 205 | 6.56 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.097561 | 205 | 7 | 65 | 29.285714 | 0.832432 | 0 | 0 | 0 | 0 | 0 | 0.253659 | 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 |
90173778e8c901c9f433747861fabe4f9706098b | 69 | py | Python | src/app/decorators/__init__.py | SantaSpeen/web-merchandise-shop | 5febf4e88d0b7438b5d4d5b5529d2bf123d0ab28 | [
"MIT"
] | null | null | null | src/app/decorators/__init__.py | SantaSpeen/web-merchandise-shop | 5febf4e88d0b7438b5d4d5b5529d2bf123d0ab28 | [
"MIT"
] | null | null | null | src/app/decorators/__init__.py | SantaSpeen/web-merchandise-shop | 5febf4e88d0b7438b5d4d5b5529d2bf123d0ab28 | [
"MIT"
] | null | null | null | #!usr/bin/python
"""
Merchandise shop application decorators.
""" | 17.25 | 44 | 0.695652 | 7 | 69 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 69 | 4 | 45 | 17.25 | 0.813559 | 0.811594 | 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 |
902f260e51b6c72c06b904be60bfddfefa856b8c | 112 | py | Python | essmc2/models/backbones/__init__.py | jiangzeyinzi/EssentialMC2 | 190b22cbfff1c27286bcc3dd87b2df6318ed2511 | [
"MIT"
] | 69 | 2021-11-01T11:18:13.000Z | 2022-03-28T04:27:17.000Z | essmc2/models/backbones/__init__.py | hrb518/EssentialMC2 | cfb49fa51a13373e4afc74f8800ec8284c41b8d2 | [
"MIT"
] | 6 | 2021-11-01T09:28:13.000Z | 2022-02-11T09:49:58.000Z | essmc2/models/backbones/__init__.py | hrb518/EssentialMC2 | cfb49fa51a13373e4afc74f8800ec8284c41b8d2 | [
"MIT"
] | 16 | 2021-11-11T06:26:18.000Z | 2022-03-20T13:32:15.000Z | # Copyright 2021 Alibaba Group Holding Limited. All Rights Reserved.
from .image import *
from .video import *
| 22.4 | 68 | 0.767857 | 15 | 112 | 5.733333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.169643 | 112 | 4 | 69 | 28 | 0.88172 | 0.589286 | 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 |
90351a58643a9fad46f88f4e23a6d90894ca5ced | 1,783 | py | Python | gym/envs/robotics/__init__.py | mk37972/PASCAPE | 1fc7c0b17b7313dd13ceb93ed2c8e37b206ece87 | [
"MIT"
] | null | null | null | gym/envs/robotics/__init__.py | mk37972/PASCAPE | 1fc7c0b17b7313dd13ceb93ed2c8e37b206ece87 | [
"MIT"
] | null | null | null | gym/envs/robotics/__init__.py | mk37972/PASCAPE | 1fc7c0b17b7313dd13ceb93ed2c8e37b206ece87 | [
"MIT"
] | null | null | null | from gym.envs.robotics.fetch_env import FetchEnv
from gym.envs.robotics.fetch.slide import FetchSlideEnv
from gym.envs.robotics.fetch.pick_and_place import FetchPickAndPlaceEnv
from gym.envs.robotics.fetch.pick_and_place_fragile import FetchPickAndPlaceFragileEnv
from gym.envs.robotics.fetch.pick_and_place_fragile2 imp... | 63.678571 | 93 | 0.891195 | 228 | 1,783 | 6.807018 | 0.22807 | 0.108247 | 0.170103 | 0.293814 | 0.579253 | 0.502577 | 0.43299 | 0.307345 | 0.214562 | 0 | 0 | 0.004751 | 0.055524 | 1,783 | 27 | 94 | 66.037037 | 0.916865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5f5e808fee9ea6b80c0d4a9629e9b58ea3f94609 | 45 | py | Python | tools/Sikuli/TypeHome.sikuli/SaveChangesCtrls.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 296 | 2018-05-27T08:03:14.000Z | 2022-03-19T08:36:11.000Z | tools/Sikuli/TypeHome.sikuli/SaveChangesCtrls.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 1,562 | 2018-05-27T18:36:25.000Z | 2022-03-31T07:35:11.000Z | tools/Sikuli/TypeHome.sikuli/SaveChangesCtrls.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 299 | 2018-06-18T20:00:56.000Z | 2022-03-29T12:29:55.000Z | type('s', KeyModifier.CTRL)
sleep(1)
exit(0)
| 11.25 | 27 | 0.688889 | 8 | 45 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.088889 | 45 | 3 | 28 | 15 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5f859e4404abcd476e25a4fd677bad6bb0f7a0b6 | 218 | py | Python | mri_works/NodeEditor/modules/Scipy/Image_transformations.py | montigno/mri_works | 8ec6ff1500aa34d3540e44e4b0148023cf821f61 | [
"CECILL-B"
] | 2 | 2020-08-20T21:00:53.000Z | 2021-08-16T15:28:51.000Z | mri_works/NodeEditor/modules/Scipy/Image_transformations.py | montigno/mri_works | 8ec6ff1500aa34d3540e44e4b0148023cf821f61 | [
"CECILL-B"
] | 3 | 2020-09-24T06:50:43.000Z | 2020-12-15T11:02:04.000Z | mri_works/NodeEditor/modules/Scipy/Image_transformations.py | montigno/mri_works | 8ec6ff1500aa34d3540e44e4b0148023cf821f61 | [
"CECILL-B"
] | 1 | 2020-08-20T21:00:59.000Z | 2020-08-20T21:00:59.000Z | class rotate:
def __init__(self, image=[[0.0]], angle=0):
from scipy import ndimage
self.rot_img = ndimage.rotate(image, angle)
def rotate_img(self: 'array_float'):
return self.rot_img
| 27.25 | 51 | 0.642202 | 31 | 218 | 4.258065 | 0.548387 | 0.106061 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.238532 | 218 | 7 | 52 | 31.142857 | 0.777108 | 0 | 0 | 0 | 0 | 0 | 0.050459 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5f8678f56cfb8ce402b110e7987ece5d6ce7166e | 89 | py | Python | pylogic/kb/inference.py | lamcw/pylogic | 9a341a916398ba5f00e9f39d6ddb8e5e1e873294 | [
"MIT"
] | null | null | null | pylogic/kb/inference.py | lamcw/pylogic | 9a341a916398ba5f00e9f39d6ddb8e5e1e873294 | [
"MIT"
] | null | null | null | pylogic/kb/inference.py | lamcw/pylogic | 9a341a916398ba5f00e9f39d6ddb8e5e1e873294 | [
"MIT"
] | null | null | null | def tt_entails(kb, alpha):
pass
def tt_check_all(kb, alpha, symb, model):
pass
| 12.714286 | 41 | 0.662921 | 15 | 89 | 3.733333 | 0.666667 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224719 | 89 | 6 | 42 | 14.833333 | 0.811594 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5f889dfc4650d1d14c2ce28cd8869b329f1a000d | 31 | py | Python | edsr/test.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | 1 | 2022-01-27T14:19:04.000Z | 2022-01-27T14:19:04.000Z | edsr/test.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | null | null | null | edsr/test.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | null | null | null | import model
m = model.Model() | 10.333333 | 17 | 0.709677 | 5 | 31 | 4.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 3 | 17 | 10.333333 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
398583cddcd05c3e1745987fd0f593f7236b2e3d | 114 | py | Python | pullbug/__init__.py | Justintime50/pull-bug | a637f8c0e91659d38a3e3359b321cf0b29f54084 | [
"MIT"
] | null | null | null | pullbug/__init__.py | Justintime50/pull-bug | a637f8c0e91659d38a3e3359b321cf0b29f54084 | [
"MIT"
] | 13 | 2020-04-03T16:20:45.000Z | 2020-10-01T05:43:39.000Z | pullbug/__init__.py | Justintime50/pull-bug | a637f8c0e91659d38a3e3359b321cf0b29f54084 | [
"MIT"
] | 2 | 2020-04-14T02:19:33.000Z | 2020-09-25T05:56:55.000Z | from pullbug.bug import Pullbug
from pullbug.messages import Message
__all__ = [
'Pullbug',
'Message',
]
| 14.25 | 36 | 0.701754 | 13 | 114 | 5.846154 | 0.538462 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201754 | 114 | 7 | 37 | 16.285714 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
39d0e5ac1c025f7c3fce6aa360b2d29c1d6d6db2 | 211 | py | Python | csm/users/admin.py | tsaklidis/car-service-monitor | 2cdd495cc49bc0154bced221cfcf6fe12d4a739d | [
"MIT"
] | null | null | null | csm/users/admin.py | tsaklidis/car-service-monitor | 2cdd495cc49bc0154bced221cfcf6fe12d4a739d | [
"MIT"
] | null | null | null | csm/users/admin.py | tsaklidis/car-service-monitor | 2cdd495cc49bc0154bced221cfcf6fe12d4a739d | [
"MIT"
] | null | null | null | from django.contrib import admin
from csm.users.models import Owner
@admin.register(Owner)
class OwnerAdmin(admin.ModelAdmin):
model = Owner
list_display = ('last_name', 'email', 'serial', 'company')
| 21.1 | 62 | 0.729858 | 27 | 211 | 5.62963 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146919 | 211 | 9 | 63 | 23.444444 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.127962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
39e514509ce3d42b2b9a95fe6ab4768c2b5cde45 | 2,042 | py | Python | app/layout/data/data_constants.py | matsoftware/mobile-metrics-dashboard | a791ea3747c8e57d439365f1c54720019b06be08 | [
"MIT"
] | null | null | null | app/layout/data/data_constants.py | matsoftware/mobile-metrics-dashboard | a791ea3747c8e57d439365f1c54720019b06be08 | [
"MIT"
] | null | null | null | app/layout/data/data_constants.py | matsoftware/mobile-metrics-dashboard | a791ea3747c8e57d439365f1c54720019b06be08 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from collections import namedtuple
RepresentableKey = namedtuple('RepresentableKey', 'key description')
class DataConstants(object):
@staticmethod
def repo_placeholder() -> str:
return "__repo_placeholder__"
@staticmethod
def app_name() -> RepresentableKey:
re... | 32.412698 | 102 | 0.702253 | 201 | 2,042 | 6.910448 | 0.238806 | 0.151188 | 0.355652 | 0.147588 | 0.288697 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000607 | 0.193438 | 2,042 | 63 | 103 | 32.412698 | 0.842744 | 0.010284 | 0 | 0.311111 | 0 | 0 | 0.256309 | 0.05047 | 0 | 0 | 0 | 0 | 0 | 1 | 0.311111 | false | 0 | 0.022222 | 0.311111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
39e8a1cb7211e4496cb493c236b396210958bf94 | 104 | py | Python | tests/utils.py | zen-xu/spear | f68b806539fa171c34d8290533a8244c5a39a2fc | [
"MIT"
] | 1 | 2022-03-31T03:16:51.000Z | 2022-03-31T03:16:51.000Z | tests/utils.py | zen-xu/atomic-clock | f68b806539fa171c34d8290533a8244c5a39a2fc | [
"MIT"
] | null | null | null | tests/utils.py | zen-xu/atomic-clock | f68b806539fa171c34d8290533a8244c5a39a2fc | [
"MIT"
] | null | null | null | def assert_datetime_equality(dt1, dt2, within=10):
assert abs((dt1 - dt2).total_seconds()) < within
| 34.666667 | 52 | 0.721154 | 15 | 104 | 4.8 | 0.733333 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.134615 | 104 | 2 | 53 | 52 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
39efe3d2b7eb6c5690d42885dea6460ec6e24d50 | 135 | py | Python | psono/restapi/views/__init__.py | psono/psono-fileserver | 537fd392ea9b50807451dbb814266dfeed8c783b | [
"Apache-2.0"
] | 2 | 2020-02-12T15:10:02.000Z | 2021-07-02T18:35:34.000Z | psono/restapi/views/__init__.py | psono/psono-fileserver | 537fd392ea9b50807451dbb814266dfeed8c783b | [
"Apache-2.0"
] | 2 | 2019-10-29T18:59:26.000Z | 2019-12-28T15:43:19.000Z | psono/restapi/views/__init__.py | psono/psono-fileserver | 537fd392ea9b50807451dbb814266dfeed8c783b | [
"Apache-2.0"
] | 4 | 2019-10-04T00:41:27.000Z | 2021-04-28T13:25:37.000Z | from .health_check import HealthCheckView
from .upload import UploadView
from .download import DownloadView
from .info import InfoView
| 27 | 41 | 0.851852 | 17 | 135 | 6.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 135 | 4 | 42 | 33.75 | 0.957983 | 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 |
84428ab7376c4791fd6e08bba1f14bf347e588ba | 260 | py | Python | hw2/pymoo/rand/impl/secure_random_generator.py | yyb1995/software_technology_project | 4b5d9bf04a744b220e0b931917372f32d5bbfcfb | [
"Apache-2.0"
] | null | null | null | hw2/pymoo/rand/impl/secure_random_generator.py | yyb1995/software_technology_project | 4b5d9bf04a744b220e0b931917372f32d5bbfcfb | [
"Apache-2.0"
] | null | null | null | hw2/pymoo/rand/impl/secure_random_generator.py | yyb1995/software_technology_project | 4b5d9bf04a744b220e0b931917372f32d5bbfcfb | [
"Apache-2.0"
] | null | null | null | import random
from pymoo.rand.random_generator import RandomGenerator
class SecureRandomGenerator(RandomGenerator):
def _seed(self, n):
random.SystemRandom().seed(n)
def _rand_float(self):
return random.SystemRandom().random()
| 15.294118 | 55 | 0.719231 | 28 | 260 | 6.535714 | 0.571429 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188462 | 260 | 16 | 56 | 16.25 | 0.867299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
844cf1fb23fc823775f5ca3a32963050f429eebd | 91 | py | Python | messeges/apps.py | rayanf/Chat-Room | 5158e70e8756f3f512adac1b9059690a371cbd39 | [
"MIT"
] | 1 | 2021-11-21T18:10:01.000Z | 2021-11-21T18:10:01.000Z | messeges/apps.py | rayanf/chat-room | 5158e70e8756f3f512adac1b9059690a371cbd39 | [
"MIT"
] | null | null | null | messeges/apps.py | rayanf/chat-room | 5158e70e8756f3f512adac1b9059690a371cbd39 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MessegesConfig(AppConfig):
name = 'messeges'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
84573fb9971acf8bd75c0cf42764daee5f773389 | 1,781 | py | Python | repos/spikeextractors/spikeextractors/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | repos/spikeextractors/spikeextractors/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | repos/spikeextractors/spikeextractors/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | from .RecordingExtractor import RecordingExtractor
from .SortingExtractor import SortingExtractor
from .SubSortingExtractor import SubSortingExtractor
from .SubRecordingExtractor import SubRecordingExtractor
from .MultiRecordingExtractor import MultiRecordingExtractor
from .MultiSortingExtractor import MultiSortingExtr... | 68.5 | 118 | 0.910163 | 127 | 1,781 | 12.755906 | 0.338583 | 0.12963 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001193 | 0.058956 | 1,781 | 26 | 119 | 68.5 | 0.965394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ffbe959d88ecf5b56ca9b0b8eef3d274bbb2ab27 | 105 | py | Python | app/rutas.py | fefedelcid/flask_api | 0aecbe03056ce1f1a7f9b8a9a821bc430766c725 | [
"MIT"
] | 1 | 2022-02-04T16:52:32.000Z | 2022-02-04T16:52:32.000Z | app/rutas.py | fefedelcid/flask_api | 0aecbe03056ce1f1a7f9b8a9a821bc430766c725 | [
"MIT"
] | null | null | null | app/rutas.py | fefedelcid/flask_api | 0aecbe03056ce1f1a7f9b8a9a821bc430766c725 | [
"MIT"
] | null | null | null | from app import app
@app.route('/')
def Index():
print('index!')
return "<h1>Hola mundo!</h1>"
| 13.125 | 33 | 0.580952 | 15 | 105 | 4.066667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.2 | 105 | 7 | 34 | 15 | 0.702381 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ffc148f53d9ae7b7e3216027c382e1f837c05022 | 10 | py | Python | Examples/pycomBlink/boot.py | sophie-bernier/RemoteOceanAcidificationMonitor | 6a8b799826a2eb9b1d5064883193c61eea0ee310 | [
"Unlicense"
] | 1 | 2021-06-22T23:07:31.000Z | 2021-06-22T23:07:31.000Z | Examples/pycomBlink/boot.py | sophie-bernier/RemoteOceanAcidificationMonitor | 6a8b799826a2eb9b1d5064883193c61eea0ee310 | [
"Unlicense"
] | null | null | null | Examples/pycomBlink/boot.py | sophie-bernier/RemoteOceanAcidificationMonitor | 6a8b799826a2eb9b1d5064883193c61eea0ee310 | [
"Unlicense"
] | null | null | null | # boot.py
| 5 | 9 | 0.6 | 2 | 10 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 10 | 1 | 10 | 10 | 0.75 | 0.7 | 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 |
ffdd104298dbf44748e323c6f06edf2ee9c8e307 | 161 | py | Python | app/config.py | besson/saiyan | 8d135d05a33540b72f2a5d0a9325318e6b77bc4e | [
"MIT"
] | 1 | 2020-07-13T16:22:29.000Z | 2020-07-13T16:22:29.000Z | app/config.py | besson/saiyan | 8d135d05a33540b72f2a5d0a9325318e6b77bc4e | [
"MIT"
] | null | null | null | app/config.py | besson/saiyan | 8d135d05a33540b72f2a5d0a9325318e6b77bc4e | [
"MIT"
] | 1 | 2020-03-14T03:57:51.000Z | 2020-03-14T03:57:51.000Z | api_base_url = '/api'
es_base_url = {
'places': 'http://localhost:9200/saiyajin/place',
'categories': 'http://localhost:9200/place_category/category'
}
| 23 | 65 | 0.689441 | 20 | 161 | 5.3 | 0.6 | 0.132075 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056738 | 0.124224 | 161 | 6 | 66 | 26.833333 | 0.695035 | 0 | 0 | 0 | 0 | 0 | 0.627329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
080751102fc81d88a89e608bca884d65e27ade22 | 262 | py | Python | histmag_to_kindle/exceptions.py | krzysztofzuraw/histmag_to_kindle | 208c5d4121637ebd6673eb5849b39af917d6324b | [
"MIT"
] | 1 | 2019-05-20T07:18:54.000Z | 2019-05-20T07:18:54.000Z | histmag_to_kindle/exceptions.py | krzysztofzuraw/histmag_to_kindle | 208c5d4121637ebd6673eb5849b39af917d6324b | [
"MIT"
] | null | null | null | histmag_to_kindle/exceptions.py | krzysztofzuraw/histmag_to_kindle | 208c5d4121637ebd6673eb5849b39af917d6324b | [
"MIT"
] | null | null | null | """Histmag to kindle exception module."""
class GenerateMobiError(Exception):
"""Exception wrapper around kindlegen binary."""
pass
class ImproperlyConfigured(Exception):
"""Raised when there is some configuration variable missing."""
pass
| 18.714286 | 67 | 0.721374 | 26 | 262 | 7.269231 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 262 | 13 | 68 | 20.153846 | 0.875 | 0.519084 | 0 | 0.5 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
08240b8e86cfdb7e2101ed0174af491910e211cb | 63 | py | Python | test.py | tommmat/iotdemo | 84e86e74ee311379b370529f494b8a8a3ec4e380 | [
"CC0-1.0"
] | null | null | null | test.py | tommmat/iotdemo | 84e86e74ee311379b370529f494b8a8a3ec4e380 | [
"CC0-1.0"
] | null | null | null | test.py | tommmat/iotdemo | 84e86e74ee311379b370529f494b8a8a3ec4e380 | [
"CC0-1.0"
] | null | null | null | # -*- coding:utf-8 -*-
# for python 2.7
print("Serving on :")
| 12.6 | 22 | 0.555556 | 10 | 63 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 63 | 4 | 23 | 15.75 | 0.627451 | 0.555556 | 0 | 0 | 0 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0824e7373965d0bc8d22ffe9caf6d3e8b282c264 | 248 | py | Python | dispike/creating/__init__.py | mitsuaky/dispike | bd3ffb28fc03307077d647ee233f4f0e5c594434 | [
"MIT"
] | 41 | 2020-12-29T03:07:38.000Z | 2022-01-30T09:05:03.000Z | dispike/creating/__init__.py | mitsuaky/dispike | bd3ffb28fc03307077d647ee233f4f0e5c594434 | [
"MIT"
] | 66 | 2020-12-28T08:04:27.000Z | 2021-11-04T09:12:54.000Z | dispike/creating/__init__.py | mitsuaky/dispike | bd3ffb28fc03307077d647ee233f4f0e5c594434 | [
"MIT"
] | 11 | 2021-01-21T22:36:34.000Z | 2021-11-04T07:23:30.000Z | from .registrator import RegisterCommands
from .models import DiscordCommand, SubcommandOption, CommandChoice, CommandOption
from .components import Button, LinkButton, ButtonStyles
from .allowed_mentions import AllowedMentions, AllowedMentionTypes | 62 | 82 | 0.875 | 23 | 248 | 9.391304 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084677 | 248 | 4 | 83 | 62 | 0.951542 | 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 |
08270f2a304f0bba56d739b9faa5cfe58ad8c904 | 116 | py | Python | is_anagram.py | Sonny-skyez/TDD_-_anagram_kata | e188d7e22f88e458297b049b04f2d18a907cd740 | [
"MIT"
] | null | null | null | is_anagram.py | Sonny-skyez/TDD_-_anagram_kata | e188d7e22f88e458297b049b04f2d18a907cd740 | [
"MIT"
] | null | null | null | is_anagram.py | Sonny-skyez/TDD_-_anagram_kata | e188d7e22f88e458297b049b04f2d18a907cd740 | [
"MIT"
] | null | null | null | def is_anagram(message1, message2):
return sorted(message1.replace(' ', '')) == sorted(message2.replace(' ','')) | 58 | 80 | 0.663793 | 12 | 116 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0.112069 | 116 | 2 | 80 | 58 | 0.699029 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
084aa2bbd0bb46b30119d6554a88acd9d1015830 | 97 | py | Python | YaKanSocket/apps.py | osscat/YaKan | 0b1f6d957d0ba564e67821bd989cc5e188b1f422 | [
"MIT"
] | 3 | 2018-07-04T00:49:40.000Z | 2019-06-12T05:16:46.000Z | YaKanSocket/apps.py | osscat/YaKan | 0b1f6d957d0ba564e67821bd989cc5e188b1f422 | [
"MIT"
] | null | null | null | YaKanSocket/apps.py | osscat/YaKan | 0b1f6d957d0ba564e67821bd989cc5e188b1f422 | [
"MIT"
] | 1 | 2019-06-12T05:16:48.000Z | 2019-06-12T05:16:48.000Z | from django.apps import AppConfig
class YakansocketConfig(AppConfig):
name = 'YaKanSocket'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
0850db9abb50e119be83fdbb46c8a6fbe1b3c6ce | 205 | py | Python | multiagent/policy/policy.py | kiranprasad/multiagent-particle-envs | e28e3ff6606e80f11ee16bb2c42f21c442ad29a8 | [
"MIT"
] | null | null | null | multiagent/policy/policy.py | kiranprasad/multiagent-particle-envs | e28e3ff6606e80f11ee16bb2c42f21c442ad29a8 | [
"MIT"
] | null | null | null | multiagent/policy/policy.py | kiranprasad/multiagent-particle-envs | e28e3ff6606e80f11ee16bb2c42f21c442ad29a8 | [
"MIT"
] | null | null | null | import numpy as np
# from pyglet.window import key
# individual agent policy
class Policy(object):
def __init__(self):
pass
def action(self, obs):
raise NotImplementedError() | 17.083333 | 35 | 0.668293 | 25 | 205 | 5.32 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258537 | 205 | 12 | 35 | 17.083333 | 0.875 | 0.258537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0859a42055b9ec719d5327ad9b5c88790276a827 | 164 | py | Python | sparkipy/writers/awriter.py | Valuraise/sparkipy | 20448e0c13a3b9c2768a554c26883c27ba87c59e | [
"MIT"
] | 2 | 2019-09-19T10:17:15.000Z | 2019-09-19T21:19:58.000Z | sparkipy/writers/awriter.py | Valuraise/sparkipy | 20448e0c13a3b9c2768a554c26883c27ba87c59e | [
"MIT"
] | null | null | null | sparkipy/writers/awriter.py | Valuraise/sparkipy | 20448e0c13a3b9c2768a554c26883c27ba87c59e | [
"MIT"
] | null | null | null | """
this is the contract for all writers
"""
class Awriter:
def __init__(self, spark):
spark = spark
def write(self, params, data):
pass
| 13.666667 | 36 | 0.597561 | 21 | 164 | 4.47619 | 0.809524 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29878 | 164 | 11 | 37 | 14.909091 | 0.817391 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0859ee2a9e18f6d98b656bddde0a29dcd25cd3e6 | 426 | py | Python | src/djask/blueprints.py | greyli/Djask | b886610c792aaa40d6a3975fd26c44fc7825c8b6 | [
"MIT"
] | 19 | 2021-11-10T07:26:56.000Z | 2022-02-07T08:45:48.000Z | src/djask/blueprints.py | greyli/Djask | b886610c792aaa40d6a3975fd26c44fc7825c8b6 | [
"MIT"
] | 2 | 2021-11-10T07:25:19.000Z | 2021-11-30T14:23:53.000Z | src/djask/blueprints.py | greyli/Djask | b886610c792aaa40d6a3975fd26c44fc7825c8b6 | [
"MIT"
] | 1 | 2021-11-10T13:06:57.000Z | 2021-11-10T13:06:57.000Z | from flask import Blueprint as Bp
from apiflask import APIBlueprint as APIBp
from .mixins import ModelFunctionalityMixin
class Blueprint(Bp, ModelFunctionalityMixin):
"""
Flask's :class:`~flask.Blueprint` object with some SQL support.
"""
pass
class APIBlueprint(APIBp, ModelFunctionalityMixin): #... | 20.285714 | 71 | 0.711268 | 47 | 426 | 6.446809 | 0.468085 | 0.066007 | 0.092409 | 0.112211 | 0.184818 | 0.184818 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201878 | 426 | 20 | 72 | 21.3 | 0.891176 | 0.326291 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 0.428571 | 0 | 0.714286 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 4 |
f260f84718941edb4c6bd8ff44f061900fb20c51 | 84 | py | Python | fonts.py | michalovsky/flappy-bird | a28e86bbeb57635798b51fca58c2bd8c5cc9730b | [
"MIT"
] | 1 | 2021-06-14T09:36:09.000Z | 2021-06-14T09:36:09.000Z | fonts.py | michalovsky/flappy-bird | a28e86bbeb57635798b51fca58c2bd8c5cc9730b | [
"MIT"
] | null | null | null | fonts.py | michalovsky/flappy-bird | a28e86bbeb57635798b51fca58c2bd8c5cc9730b | [
"MIT"
] | null | null | null | import pygame
pygame.font.init()
STAT_FONT = pygame.font.SysFont("comicsans", 50)
| 14 | 48 | 0.75 | 12 | 84 | 5.166667 | 0.666667 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.107143 | 84 | 5 | 49 | 16.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f26235ec5f3d3bd394cc4ea7cabaf60bec4a5992 | 1,273 | py | Python | kreveik/network/boolfuncs/__init__.py | kreveik/Kreveik | 5144c555c526f68560d891e39c401053c5286359 | [
"Apache-2.0"
] | null | null | null | kreveik/network/boolfuncs/__init__.py | kreveik/Kreveik | 5144c555c526f68560d891e39c401053c5286359 | [
"Apache-2.0"
] | null | null | null | kreveik/network/boolfuncs/__init__.py | kreveik/Kreveik | 5144c555c526f68560d891e39c401053c5286359 | [
"Apache-2.0"
] | 1 | 2020-01-21T05:32:02.000Z | 2020-01-21T05:32:02.000Z |
# Copyright 2012 Mehmet Ali ANIL
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 35.361111 | 113 | 0.736842 | 201 | 1,273 | 4.597015 | 0.577114 | 0.064935 | 0.028139 | 0.034632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.214454 | 1,273 | 35 | 114 | 36.371429 | 0.914 | 0.87824 | 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 | 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 |
f272539f989c957b89322a99e883333ed1f6bf07 | 269 | py | Python | meteo_si/__init__.py | maahn/meteo_si | 821bf0e428f2d8793d30253cb41d71b7c621afef | [
"MIT"
] | null | null | null | meteo_si/__init__.py | maahn/meteo_si | 821bf0e428f2d8793d30253cb41d71b7c621afef | [
"MIT"
] | null | null | null | meteo_si/__init__.py | maahn/meteo_si | 821bf0e428f2d8793d30253cb41d71b7c621afef | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from .version import __version__
# from .meteo_si import *
from . import temperature
from . import humidity
from . import density
from . import wind
from . import constants
| 24.454545 | 64 | 0.750929 | 34 | 269 | 5.617647 | 0.529412 | 0.26178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004505 | 0.174721 | 269 | 10 | 65 | 26.9 | 0.855856 | 0.167286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f2832bafe4d067955ec6a1963243c66c3f523028 | 185 | py | Python | helloworld.py | almcecde03/Hello-world | eee519d6734ca8f95ead125ae6c4c73c0427dcc6 | [
"MIT"
] | null | null | null | helloworld.py | almcecde03/Hello-world | eee519d6734ca8f95ead125ae6c4c73c0427dcc6 | [
"MIT"
] | null | null | null | helloworld.py | almcecde03/Hello-world | eee519d6734ca8f95ead125ae6c4c73c0427dcc6 | [
"MIT"
] | null | null | null | """
helloworld.py
Author: almcecde03
Credit: Help from Mr. Dennison
Assignment:
Write and submit a Python program that prints the following:
Hello, world!
"""
print("Hello, world!")
| 14.230769 | 60 | 0.740541 | 25 | 185 | 5.48 | 0.92 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.151351 | 185 | 12 | 61 | 15.416667 | 0.859873 | 0.827027 | 0 | 0 | 0 | 0 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f29fc796b33da610bf6d078951755ad3dbe6e639 | 124 | py | Python | tests/python/pytest_getattr_mwe.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | 5 | 2021-04-29T21:07:18.000Z | 2021-09-29T08:46:08.000Z | tests/python/pytest_getattr_mwe.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | null | null | null | tests/python/pytest_getattr_mwe.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | 1 | 2018-04-07T12:26:21.000Z | 2018-04-07T12:26:21.000Z | #pytest_getattr_mwe.py
def __getattr__(key):
return None
# raise AttributeError(key)
def test_1():
return 1
| 11.272727 | 31 | 0.685484 | 17 | 124 | 4.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.225806 | 124 | 10 | 32 | 12.4 | 0.791667 | 0.379032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f2af56acfbb1628573d6a4dedb26debdca55b42a | 93 | py | Python | WebAPIClient/apiclient/apps.py | AlonsoIbarra/QATool | 369617a3346d1599d5dad077fd1c3c8d708f0d67 | [
"Apache-2.0"
] | null | null | null | WebAPIClient/apiclient/apps.py | AlonsoIbarra/QATool | 369617a3346d1599d5dad077fd1c3c8d708f0d67 | [
"Apache-2.0"
] | 6 | 2020-01-07T20:40:56.000Z | 2022-01-13T02:03:48.000Z | WebAPIClient/apiclient/apps.py | AlonsoIbarra/QATool | 369617a3346d1599d5dad077fd1c3c8d708f0d67 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ApiclientConfig(AppConfig):
name = 'apiclient'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 |
4b30b9426a91a1b9487bc5bbfe73f50ebdf3c001 | 270 | py | Python | tests/test_RI_EP.py | andyj10224/psi4numpy | cbef6ddcb32ccfbf773befea6dc4aaae2b428776 | [
"BSD-3-Clause"
] | 214 | 2017-03-01T08:04:48.000Z | 2022-03-23T08:52:04.000Z | tests/test_RI_EP.py | andyj10224/psi4numpy | cbef6ddcb32ccfbf773befea6dc4aaae2b428776 | [
"BSD-3-Clause"
] | 100 | 2017-03-03T13:20:20.000Z | 2022-03-05T18:20:27.000Z | tests/test_RI_EP.py | andyj10224/psi4numpy | cbef6ddcb32ccfbf773befea6dc4aaae2b428776 | [
"BSD-3-Clause"
] | 150 | 2017-02-17T19:44:47.000Z | 2022-03-22T05:52:43.000Z | from addons import *
from utils import *
tdir = 'Electron-Propagator'
def test_EP2(workspace):
exe_py(workspace, tdir, 'EP2')
def test_EP2_SO(workspace):
exe_py(workspace, tdir, 'EP2_SO')
def test_EP3_SO(workspace):
exe_py(workspace, tdir, 'EP3_SO')
| 15 | 37 | 0.707407 | 40 | 270 | 4.525 | 0.375 | 0.116022 | 0.232044 | 0.381215 | 0.502762 | 0.502762 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.17037 | 270 | 17 | 38 | 15.882353 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.125926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4b525ffe6e16e7300416fbe8b0ff61a796acf7d3 | 260 | py | Python | dinamit/feeds/lehigh.py | invictuseurope/dinam | 80776ab15d94dc1afc9fd1eb8f28354539f402c6 | [
"MIT"
] | 67 | 2020-01-09T12:42:50.000Z | 2021-02-08T14:28:38.000Z | dinamit/feeds/lehigh.py | invictuseurope/dinam | 80776ab15d94dc1afc9fd1eb8f28354539f402c6 | [
"MIT"
] | 1 | 2021-06-02T00:42:45.000Z | 2021-06-02T00:42:45.000Z | dinamit/feeds/lehigh.py | invictuseurope/dinam | 80776ab15d94dc1afc9fd1eb8f28354539f402c6 | [
"MIT"
] | 5 | 2020-01-09T15:40:37.000Z | 2020-01-21T10:05:38.000Z | from dinamit.feeds.base import TextFeed
from dinamit.core.constants import DomainCategory
class LehighEduMalware(TextFeed):
NAME = 'LehighEduMalware'
CATEGORY = DomainCategory.MALWARE
SOURCE = 'http://malwaredomains.lehigh.edu/files/justdomains'
| 28.888889 | 65 | 0.788462 | 27 | 260 | 7.592593 | 0.777778 | 0.107317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126923 | 260 | 8 | 66 | 32.5 | 0.903084 | 0 | 0 | 0 | 0 | 0 | 0.253846 | 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 |
4b5bcc7fbff923bd41aeba1216d4c8c23a78f4a8 | 119 | py | Python | src/__init__.py | dp7-PU/QCLAS_public | 2b50d10bf7799df6cb4043db39a02014dc2de585 | [
"MIT"
] | 1 | 2019-08-29T23:48:06.000Z | 2019-08-29T23:48:06.000Z | src/__init__.py | dp7-PU/QCLAS_public | 2b50d10bf7799df6cb4043db39a02014dc2de585 | [
"MIT"
] | null | null | null | src/__init__.py | dp7-PU/QCLAS_public | 2b50d10bf7799df6cb4043db39a02014dc2de585 | [
"MIT"
] | null | null | null | __all__=['dasRead', 'dasPropertyWidget', 'hapi', 'mplCanvasWidget', 'multiCalWms.py', 'qclasGUI', 'readTxt', 'specCal'] | 119 | 119 | 0.714286 | 10 | 119 | 8.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 119 | 1 | 119 | 119 | 0.723214 | 0 | 0 | 0 | 0 | 0 | 0.658333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b82246da87e61e904ca254136a44f6adb85e802 | 3,471 | py | Python | python/target_selection/cartons/ops_skies.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | 3 | 2020-07-07T01:38:59.000Z | 2020-11-24T21:46:58.000Z | python/target_selection/cartons/ops_skies.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | 26 | 2020-05-28T07:18:54.000Z | 2021-11-30T18:36:10.000Z | python/target_selection/cartons/ops_skies.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: José Sánchez-Gallego (gallegoj@uw.edu)
# @Date: 2020-07-26
# @Filename: ops_skies.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
import peewee
from sdssdb.peewee.sdss5db.catalogdb import CatalogToSkies_v1, Skies_v1
from . impor... | 32.745283 | 74 | 0.501296 | 356 | 3,471 | 4.620787 | 0.308989 | 0.119149 | 0.051064 | 0.059574 | 0.770213 | 0.770213 | 0.733739 | 0.69848 | 0.69848 | 0.69848 | 0 | 0.046062 | 0.418323 | 3,471 | 105 | 75 | 33.057143 | 0.768697 | 0.150389 | 0 | 0.734375 | 0 | 0 | 0.015884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.046875 | 0 | 0.359375 | 0 | 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 |
4bb8af7cfebda4f5b9abf228a7db10c33ad3ff2e | 52 | py | Python | salt/returners/__init__.py | skrobul/salt | ef7fb71082cce7a9783e00b9c65062fefae09263 | [
"Apache-2.0"
] | 111 | 2015-01-16T02:48:12.000Z | 2022-02-08T10:24:56.000Z | salt/returners/__init__.py | skrobul/salt | ef7fb71082cce7a9783e00b9c65062fefae09263 | [
"Apache-2.0"
] | 60 | 2015-01-06T12:28:44.000Z | 2020-12-01T21:30:38.000Z | salt/returners/__init__.py | skrobul/salt | ef7fb71082cce7a9783e00b9c65062fefae09263 | [
"Apache-2.0"
] | 163 | 2015-01-06T09:40:31.000Z | 2022-02-03T11:41:23.000Z | # -*- coding: utf-8 -*-
'''
Returners Directory
'''
| 10.4 | 23 | 0.538462 | 5 | 52 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.173077 | 52 | 4 | 24 | 13 | 0.627907 | 0.807692 | 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 |
4bbf62c447b76d0e060af3d4d76a78808e378900 | 403 | py | Python | tts_netflow_b/__main__.py | ticdat/tts_netflow_b | d0851963ba3742303620dab876bf33d647529ca9 | [
"BSD-2-Clause"
] | null | null | null | tts_netflow_b/__main__.py | ticdat/tts_netflow_b | d0851963ba3742303620dab876bf33d647529ca9 | [
"BSD-2-Clause"
] | null | null | null | tts_netflow_b/__main__.py | ticdat/tts_netflow_b | d0851963ba3742303620dab876bf33d647529ca9 | [
"BSD-2-Clause"
] | null | null | null | # When run from the command line, will read/write json/xls/csv/db/sql/mdb files
# For example
# python -m tts_netflow_b -i input.xlsx -o solution.xlsx
# will read from a model stored in input.xlsx and write solution.xlsx.
from ticdat import standard_main
from tts_netflow_b import input_schema, solution_schema, solve
... | 44.777778 | 79 | 0.784119 | 67 | 403 | 4.447761 | 0.61194 | 0.053691 | 0.073826 | 0.167785 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141439 | 403 | 8 | 80 | 50.375 | 0.861272 | 0.533499 | 0 | 0 | 0 | 0 | 0.043716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
29b0c315d3f92da468c3edb2c4fc3dfa948e6c07 | 358 | py | Python | to_affiliate_manager/models/__init__.py | lester-lees/extra_addons_sz | cddaf972cf4ea64c553bcff0006eb006a115d5ee | [
"Apache-2.0"
] | null | null | null | to_affiliate_manager/models/__init__.py | lester-lees/extra_addons_sz | cddaf972cf4ea64c553bcff0006eb006a115d5ee | [
"Apache-2.0"
] | null | null | null | to_affiliate_manager/models/__init__.py | lester-lees/extra_addons_sz | cddaf972cf4ea64c553bcff0006eb006a115d5ee | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import res_partner
from . import affiliate_code
from . import affiliate_commission
from . import affiliate_referrer_analysis
from . import affiliate_payment
from . import sale_order
from . import res_config
from . import account_invoice
from . import product
from . import res_company
from . imp... | 25.571429 | 41 | 0.801676 | 50 | 358 | 5.5 | 0.46 | 0.4 | 0.345455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003257 | 0.142458 | 358 | 14 | 42 | 25.571429 | 0.892508 | 0.058659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
29c3a942b6b7e2bd622cc530dd19533823e91ff7 | 316 | py | Python | venv/lib/python3.8/site-packages/crispy_forms/templates/bootstrap3/layout/help_text_and_errors.html.py | Solurix/Flashcards-Django | 03c863f6722936093927785a2b20b6b668bb743d | [
"MIT"
] | 1 | 2021-05-16T03:20:23.000Z | 2021-05-16T03:20:23.000Z | venv/lib/python3.8/site-packages/crispy_forms/templates/bootstrap4/layout/help_text_and_errors.html.py | Solurix/Flashcards-Django | 03c863f6722936093927785a2b20b6b668bb743d | [
"MIT"
] | 4 | 2021-03-30T14:06:09.000Z | 2021-09-22T19:26:31.000Z | venv/lib/python3.8/site-packages/crispy_forms/templates/bootstrap4/layout/help_text_and_errors.html.py | Solurix/Flashcards-Django | 03c863f6722936093927785a2b20b6b668bb743d | [
"MIT"
] | null | null | null | BB BBBBBBBBBBBBBBBB BBB BBB BBBBBBBBBBBBBBBBB
BBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBB
BB BBBBBBBBBBBBBBBBB
BBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBB
BBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBB
BB BBB BBBBBBBBBBBBBBBB
BBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBB
| 22.571429 | 55 | 0.873418 | 22 | 316 | 12.545455 | 0.454545 | 0.173913 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 316 | 13 | 56 | 24.307692 | 1 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
29ccf4999a6dae4769254cde58c7ba3dd6187ae1 | 287 | py | Python | chatbot/tests/helper.py | divae/telegram-bot-lottery | 70d7831bf9fdf456f4a1e91665a41edced2e054b | [
"MIT"
] | null | null | null | chatbot/tests/helper.py | divae/telegram-bot-lottery | 70d7831bf9fdf456f4a1e91665a41edced2e054b | [
"MIT"
] | null | null | null | chatbot/tests/helper.py | divae/telegram-bot-lottery | 70d7831bf9fdf456f4a1e91665a41edced2e054b | [
"MIT"
] | null | null | null | import json
class MockResponse:
def __init__(self, json_data, status_code):
self.json_data = json_data
self.status_code = status_code
def get_json(self):
return self.json_data
def get_data(self, as_text):
return json.dumps(self.json_data)
| 20.5 | 47 | 0.675958 | 41 | 287 | 4.365854 | 0.365854 | 0.223464 | 0.268156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247387 | 287 | 13 | 48 | 22.076923 | 0.828704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
29e1983c926c713812b2a4a8b9ba68cbcdc8900d | 90 | py | Python | ashyq/exceptions.py | arynyklas/ashyq | 845e48491b3ed45642809f9200b25144b9946754 | [
"MIT"
] | 4 | 2021-09-23T01:52:27.000Z | 2022-03-17T12:32:04.000Z | ashyq/exceptions.py | arynyklas/ashyq | 845e48491b3ed45642809f9200b25144b9946754 | [
"MIT"
] | null | null | null | ashyq/exceptions.py | arynyklas/ashyq | 845e48491b3ed45642809f9200b25144b9946754 | [
"MIT"
] | 1 | 2021-12-22T17:11:36.000Z | 2021-12-22T17:11:36.000Z | class AshyqException(Exception):
pass
class RetryException(AshyqException):
pass
| 15 | 37 | 0.766667 | 8 | 90 | 8.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 38 | 18 | 0.92 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
4b18c7e6fe8a91bf0e135a5756dd26d08733758b | 241 | py | Python | services/selection/usableabilities.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | 3 | 2017-10-28T11:28:38.000Z | 2018-09-12T09:47:00.000Z | services/selection/usableabilities.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | services/selection/usableabilities.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | from services.selection.base import Selection
class UsableAbilities(Selection):
"""
This selects all abilities a character can use.
"""
def resolve(self):
self.resolution = list(self.game.abilities.get_abilities())
| 24.1 | 67 | 0.705394 | 28 | 241 | 6.035714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195021 | 241 | 9 | 68 | 26.777778 | 0.871134 | 0.195021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4b18d65d0f3c6047b78eccc4700c9b4125dbcdb7 | 199 | py | Python | tests/test_registry.py | eviltnan/schwifty | 9b22c711b908b01afb0003bd41e58cacaa8006e3 | [
"MIT"
] | 92 | 2020-01-15T19:31:01.000Z | 2022-03-24T12:12:09.000Z | tests/test_registry.py | eviltnan/schwifty | 9b22c711b908b01afb0003bd41e58cacaa8006e3 | [
"MIT"
] | 44 | 2020-01-13T16:49:15.000Z | 2022-03-16T15:50:08.000Z | tests/test_registry.py | eviltnan/schwifty | 9b22c711b908b01afb0003bd41e58cacaa8006e3 | [
"MIT"
] | 36 | 2019-12-21T12:08:32.000Z | 2022-03-15T23:06:19.000Z | from schwifty import BIC
from schwifty import registry
def test_validate_bics():
for bic in (bank["bic"] for bank in registry.get("bank") if bank["bic"]):
BIC(bic, allow_invalid=False)
| 24.875 | 77 | 0.703518 | 31 | 199 | 4.419355 | 0.548387 | 0.175182 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180905 | 199 | 7 | 78 | 28.428571 | 0.840491 | 0 | 0 | 0 | 0 | 0 | 0.050251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4b19441776852a723ba039f77fd85b598f069c84 | 190 | py | Python | passgen/test.py | sharmas1ddharth/PASSGEN | 92dcf25383a6757aca3533607cbcf90b68d99c10 | [
"MIT"
] | null | null | null | passgen/test.py | sharmas1ddharth/PASSGEN | 92dcf25383a6757aca3533607cbcf90b68d99c10 | [
"MIT"
] | null | null | null | passgen/test.py | sharmas1ddharth/PASSGEN | 92dcf25383a6757aca3533607cbcf90b68d99c10 | [
"MIT"
] | null | null | null | import typer
app = typer.Typer()
@app.command()
def hello(name: str):
typer.echo(f"Hello {name}")
@app.command()
def bye(name: str):
typer.echo(f"bye {name}")
app() | 12.666667 | 31 | 0.584211 | 28 | 190 | 3.964286 | 0.392857 | 0.144144 | 0.234234 | 0.288288 | 0.306306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226316 | 190 | 15 | 32 | 12.666667 | 0.755102 | 0 | 0 | 0.222222 | 0 | 0 | 0.115183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b1ccd982cfac49e2bd944b16ac23f356ba8ae3a | 46 | py | Python | crawler/credentials_example.py | pgvr/geizhals-mega-deals | 73bddef6e3fb7151a9e4c27935abe76544b92d2a | [
"MIT"
] | 1 | 2022-01-10T15:51:24.000Z | 2022-01-10T15:51:24.000Z | crawler/credentials_example.py | pgvr/geizhals-mega-deals | 73bddef6e3fb7151a9e4c27935abe76544b92d2a | [
"MIT"
] | 8 | 2021-10-06T00:16:30.000Z | 2022-03-02T04:47:56.000Z | crawler/credentials_example.py | pgvr/geizhals-mega-deals | 73bddef6e3fb7151a9e4c27935abe76544b92d2a | [
"MIT"
] | null | null | null | db = {
'uri': 'mongodbconnectionstring'
}
| 11.5 | 36 | 0.608696 | 3 | 46 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 3 | 37 | 15.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0.5 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9a2239f83927fc2fc5f58ad5c5331da596fbc02 | 73 | py | Python | PARTE_3/EX031/index.py | 0Fernando0/CursoPython | 1dcfdb6556e41c6dedcba2857aa4382b2f81aa59 | [
"MIT"
] | null | null | null | PARTE_3/EX031/index.py | 0Fernando0/CursoPython | 1dcfdb6556e41c6dedcba2857aa4382b2f81aa59 | [
"MIT"
] | null | null | null | PARTE_3/EX031/index.py | 0Fernando0/CursoPython | 1dcfdb6556e41c6dedcba2857aa4382b2f81aa59 | [
"MIT"
] | null | null | null | from dado import leia_dado
inte = leia_dado('Digite um numero inteiro: ') | 36.5 | 46 | 0.780822 | 12 | 73 | 4.583333 | 0.75 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 2 | 46 | 36.5 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 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 |
d9a37a0cff0c64e47fa2963b878e91a26a3c1d95 | 112 | py | Python | piecewise/__init__.py | MJuddBooth/piecewise | 0e3c7f50d1e9fc8a251823edab13704e368aa1d4 | [
"BSD-3-Clause"
] | 91 | 2017-07-13T00:20:28.000Z | 2022-03-04T07:51:34.000Z | piecewise/__init__.py | MJuddBooth/piecewise | 0e3c7f50d1e9fc8a251823edab13704e368aa1d4 | [
"BSD-3-Clause"
] | 10 | 2017-09-03T20:24:51.000Z | 2021-02-23T14:27:36.000Z | piecewise/__init__.py | MJuddBooth/piecewise | 0e3c7f50d1e9fc8a251823edab13704e368aa1d4 | [
"BSD-3-Clause"
] | 39 | 2017-07-12T13:17:43.000Z | 2022-01-26T19:34:17.000Z | from .regressor import piecewise
from .plotter import piecewise_plot
__all__ = ['piecewise', 'piecewise_plot']
| 22.4 | 41 | 0.794643 | 13 | 112 | 6.384615 | 0.538462 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 112 | 4 | 42 | 28 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0.205357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d9ace410905e78b34a4ef1a8e5b528761e98aeca | 118 | py | Python | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr_hr_payroll/report/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr_hr_payroll/report/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr_hr_payroll/report/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import fiche_paye
| 23.6 | 74 | 0.720339 | 18 | 118 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.177966 | 118 | 4 | 75 | 29.5 | 0.85567 | 0.79661 | 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 |
d9af5111b94ba7c11b5351bb259de494ad79d0e8 | 68 | py | Python | mc/utils/job_modules/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | 3 | 2017-09-01T19:49:59.000Z | 2018-06-04T10:30:01.000Z | mc/utils/job_modules/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | null | null | null | mc/utils/job_modules/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | 1 | 2018-12-13T19:48:27.000Z | 2018-12-13T19:48:27.000Z | """This package contains utilities for working with job modules."""
| 34 | 67 | 0.764706 | 9 | 68 | 5.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 68 | 1 | 68 | 68 | 0.881356 | 0.897059 | 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 |
d9c62fbf772d4e5db248f206b7f906d03742d438 | 74 | py | Python | weldx/welding/__init__.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | null | null | null | weldx/welding/__init__.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | null | null | null | weldx/welding/__init__.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | null | null | null | """Temporary module for welding related classes."""
from . import groove
| 18.5 | 51 | 0.743243 | 9 | 74 | 6.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 3 | 52 | 24.666667 | 0.873016 | 0.608108 | 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 |
8a2df9838169ac477f181c9b47e3553fb4ff9994 | 612 | py | Python | court/models.py | ministryofjustice/courtfinder-govuk-publisher-test | 830d2ec805d3169dfa4639274832a4576e3b508f | [
"MIT"
] | null | null | null | court/models.py | ministryofjustice/courtfinder-govuk-publisher-test | 830d2ec805d3169dfa4639274832a4576e3b508f | [
"MIT"
] | null | null | null | court/models.py | ministryofjustice/courtfinder-govuk-publisher-test | 830d2ec805d3169dfa4639274832a4576e3b508f | [
"MIT"
] | 1 | 2021-04-11T07:03:15.000Z | 2021-04-11T07:03:15.000Z | from django.db import models
class Court(models.Model):
uuid = models.CharField(max_length=200)
name = models.CharField(max_length=200)
slug = models.CharField(max_length=200)
updated_at = models.CharField(max_length=200)
closed = models.BooleanField(default=False)
alert = models.CharField(max_... | 36 | 57 | 0.72549 | 83 | 612 | 5.204819 | 0.421687 | 0.243056 | 0.291667 | 0.388889 | 0.569444 | 0.319444 | 0.166667 | 0 | 0 | 0 | 0 | 0.042885 | 0.161765 | 612 | 16 | 58 | 38.25 | 0.79922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0.071429 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8a5a61e9f4ffcfc806e63bc60b3e613240b96f00 | 57,648 | py | Python | sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 67.90106 | 166 | 0.718273 | 6,575 | 57,648 | 6.090646 | 0.040608 | 0.083904 | 0.070719 | 0.080408 | 0.809769 | 0.790116 | 0.768941 | 0.525296 | 0.49523 | 0.46534 | 0 | 0.122831 | 0.184152 | 57,648 | 848 | 167 | 67.981132 | 0.728632 | 0.385963 | 0 | 0.463956 | 0 | 0 | 0.109148 | 0.0082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049908 | false | 0.001848 | 0.341959 | 0.001848 | 0.471349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
8a6df31ff88e37cc5dc37957a58371ba65f77e47 | 103 | py | Python | src/lib/config/font.py | billyeatcookies/Biscuit | 6faa20c7755ab6317d7b68b3dfdd57c8a972750b | [
"MIT"
] | 1 | 2021-11-09T07:31:22.000Z | 2021-11-09T07:31:22.000Z | src/lib/config/font.py | billyeatcookies/Biscuit | 6faa20c7755ab6317d7b68b3dfdd57c8a972750b | [
"MIT"
] | null | null | null | src/lib/config/font.py | billyeatcookies/Biscuit | 6faa20c7755ab6317d7b68b3dfdd57c8a972750b | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass
class Font:
family: str
size: int
style: str | 12.875 | 33 | 0.699029 | 13 | 103 | 5.538462 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252427 | 103 | 8 | 34 | 12.875 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8a6ecfa6239e2bf0eba427ea46b8993334353bf4 | 125 | py | Python | scripts/libraries/statics.py | ostra-project/ostra-vm | 15df8bfff4a39e80688c23b4faa2d2eeb3c13571 | [
"MIT"
] | 5 | 2021-12-12T09:47:06.000Z | 2021-12-20T14:05:54.000Z | scripts/libraries/statics.py | ostra-project/brownie-environment | 15df8bfff4a39e80688c23b4faa2d2eeb3c13571 | [
"MIT"
] | 4 | 2021-12-15T09:57:35.000Z | 2021-12-15T11:10:22.000Z | scripts/libraries/statics.py | ostra-project/brownie-environment | 15df8bfff4a39e80688c23b4faa2d2eeb3c13571 | [
"MIT"
] | 1 | 2021-12-07T19:04:48.000Z | 2021-12-07T19:04:48.000Z | import scripts.settings as settings
class Statics:
ACCOUNT_DEF_ID = settings.user_accounts[settings.def_account_index]
| 20.833333 | 71 | 0.824 | 17 | 125 | 5.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 125 | 5 | 72 | 25 | 0.890909 | 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 |
8aa4c3f4681214f6c2af3514dc17d73331967319 | 28,027 | gyp | Python | net/instaweb/test.gyp | Dreamsorcerer/incubator-pagespeed-mod | 314899ce8f613ef87f45327e522df882384e0131 | [
"Apache-2.0"
] | null | null | null | net/instaweb/test.gyp | Dreamsorcerer/incubator-pagespeed-mod | 314899ce8f613ef87f45327e522df882384e0131 | [
"Apache-2.0"
] | null | null | null | net/instaweb/test.gyp | Dreamsorcerer/incubator-pagespeed-mod | 314899ce8f613ef87f45327e522df882384e0131 | [
"Apache-2.0"
] | null | null | null | # Copyright 2010-2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 50.227599 | 95 | 0.677953 | 3,422 | 28,027 | 5.240503 | 0.162478 | 0.105392 | 0.164167 | 0.19294 | 0.639324 | 0.545252 | 0.411532 | 0.227514 | 0.149166 | 0.114482 | 0 | 0.001874 | 0.181504 | 28,027 | 557 | 96 | 50.317774 | 0.779861 | 0.086773 | 0 | 0.203187 | 0 | 0 | 0.756597 | 0.732049 | 0 | 0 | 0 | 0.001795 | 0.001992 | 1 | 0 | true | 0 | 0.003984 | 0 | 0.003984 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8aac91ff4dd8b373673b1782c8ef91fb88f6034c | 118 | py | Python | contextVars.py | jackdevey/Govee-CLI | e7fd5818032a5d0640141210a1ccdd9b06c07ea1 | [
"WTFPL"
] | 2 | 2021-12-04T03:00:17.000Z | 2022-01-16T03:14:55.000Z | contextVars.py | jackdevey/Govee-CLI | e7fd5818032a5d0640141210a1ccdd9b06c07ea1 | [
"WTFPL"
] | 1 | 2021-02-24T14:37:56.000Z | 2021-03-14T17:00:34.000Z | contextVars.py | jackdevey/Govee-CLI | e7fd5818032a5d0640141210a1ccdd9b06c07ea1 | [
"WTFPL"
] | null | null | null | class Context(object):
def __init__(self, devices, key):
self.devices = devices
self.apiKey = key
| 23.6 | 37 | 0.627119 | 14 | 118 | 5 | 0.642857 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271186 | 118 | 4 | 38 | 29.5 | 0.813953 | 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 |
8abb4a95f34e304cbdb2d2b9ee9a37b81a7cc35c | 432 | py | Python | src/pupil/pupil_src/shared_modules/math_helper/__init__.py | fsxfreak/esys-pbi | 0ba8f21f5b7618623cd8a0889c3656739a9ce0d6 | [
"MIT"
] | 13 | 2017-02-09T04:59:23.000Z | 2022-03-18T13:46:04.000Z | src/pupil/pupil_src/shared_modules/math_helper/__init__.py | fsxfreak/esys-pbi | 0ba8f21f5b7618623cd8a0889c3656739a9ce0d6 | [
"MIT"
] | 2 | 2017-02-26T03:02:39.000Z | 2017-09-19T06:07:28.000Z | src/pupil/pupil_src/shared_modules/math_helper/__init__.py | fsxfreak/esys-pbi | 0ba8f21f5b7618623cd8a0889c3656739a9ce0d6 | [
"MIT"
] | 5 | 2018-06-20T02:45:21.000Z | 2020-10-05T14:21:45.000Z | '''
(*)~---------------------------------------------------------------------------
Pupil - eye tracking platform
Copyright (C) 2012-2017 Pupil Labs
Distributed under the terms of the GNU
Lesser General Public License (LGPL v3.0).
See COPYING and COPYING.LESSER for license details.
-----------------------------------... | 30.857143 | 79 | 0.479167 | 38 | 432 | 5.447368 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.108796 | 432 | 13 | 80 | 33.230769 | 0.511688 | 0.833333 | 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 | 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 |
8ad270e7f2f93009953f972e0d379609c6252941 | 171 | py | Python | config.py | timrodz/es-gamedev-bot | 6a3c6cf4b8673d9335415ba99f8fedd3f59b8bca | [
"MIT"
] | 2 | 2020-02-05T02:24:49.000Z | 2020-09-03T19:40:50.000Z | config.py | timrodz/es-gamedev-bot | 6a3c6cf4b8673d9335415ba99f8fedd3f59b8bca | [
"MIT"
] | 13 | 2020-02-07T03:42:55.000Z | 2021-06-02T01:01:01.000Z | config.py | timrodz/es-gamedev-bot | 6a3c6cf4b8673d9335415ba99f8fedd3f59b8bca | [
"MIT"
] | null | null | null | class Config:
"""
Use this file if you wish to run local tests
"""
API_KEY = ''
API_SECRET_KEY = ''
ACCESS_TOKEN = ''
ACCESS_TOKEN_SECRET = ''
| 19 | 48 | 0.573099 | 22 | 171 | 4.181818 | 0.772727 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 171 | 8 | 49 | 21.375 | 0.786325 | 0.25731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 |
76da214e605c91bac5af80a625e9d89d4fbfff56 | 207 | py | Python | simple_history/tests/other_admin.py | mishrag/django-simple-history | dc939ac06b0f5eae732d063ab617c44916768a14 | [
"BSD-3-Clause"
] | 2 | 2020-12-27T18:38:57.000Z | 2021-09-10T20:55:33.000Z | simple_history/tests/other_admin.py | mishrag/django-simple-history | dc939ac06b0f5eae732d063ab617c44916768a14 | [
"BSD-3-Clause"
] | 55 | 2020-12-25T06:47:15.000Z | 2022-03-28T20:06:13.000Z | simple_history/tests/other_admin.py | mishrag/django-simple-history | dc939ac06b0f5eae732d063ab617c44916768a14 | [
"BSD-3-Clause"
] | 3 | 2018-03-09T11:33:15.000Z | 2021-11-17T19:58:06.000Z | from django.contrib.admin.sites import AdminSite
from simple_history.admin import SimpleHistoryAdmin
from .models import State
site = AdminSite(name="other_admin")
site.register(State, SimpleHistoryAdmin)
| 25.875 | 51 | 0.835749 | 26 | 207 | 6.576923 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091787 | 207 | 7 | 52 | 29.571429 | 0.909574 | 0 | 0 | 0 | 0 | 0 | 0.05314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
76dbdbaba04dc2af9636544a2c7afb154fd6be0c | 64 | py | Python | server/src/settings.py | ocskier/MyPythonProj | acc63bdfd9265297556c186fb92217c33b111f21 | [
"MIT"
] | null | null | null | server/src/settings.py | ocskier/MyPythonProj | acc63bdfd9265297556c186fb92217c33b111f21 | [
"MIT"
] | null | null | null | server/src/settings.py | ocskier/MyPythonProj | acc63bdfd9265297556c186fb92217c33b111f21 | [
"MIT"
] | null | null | null | from os import environ
API_KEY = environ.get('RAPID_API_KEY') | 21.333333 | 38 | 0.765625 | 11 | 64 | 4.181818 | 0.727273 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 3 | 38 | 21.333333 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 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 |
76ec150cb4fb61adb5f0040f0a40bc2a03dd28b8 | 62 | py | Python | runner/lib/__init__.py | alex-robinson/runner | 5e992ef7eaf82b4a69be8c6db9e572421323bc69 | [
"MIT"
] | 2 | 2019-06-01T11:21:37.000Z | 2019-11-18T22:55:39.000Z | runner/lib/__init__.py | alex-robinson/runner | 5e992ef7eaf82b4a69be8c6db9e572421323bc69 | [
"MIT"
] | 2 | 2020-02-24T15:04:43.000Z | 2021-03-07T13:44:21.000Z | runner/lib/__init__.py | alex-robinson/runner | 5e992ef7eaf82b4a69be8c6db9e572421323bc69 | [
"MIT"
] | 1 | 2021-03-03T19:27:33.000Z | 2021-03-03T19:27:33.000Z | """External libraries: are unaware of, and used by runner
"""
| 20.666667 | 57 | 0.709677 | 9 | 62 | 4.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 2 | 58 | 31 | 0.846154 | 0.870968 | 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 |
76ed09db2187278034cb721869662c47cdd58d4c | 181 | py | Python | src/exceptions.py | rodnover55/ha-flow-automation | 66ada606720030020ab51c73ed70cb8d94659644 | [
"MIT"
] | null | null | null | src/exceptions.py | rodnover55/ha-flow-automation | 66ada606720030020ab51c73ed70cb8d94659644 | [
"MIT"
] | null | null | null | src/exceptions.py | rodnover55/ha-flow-automation | 66ada606720030020ab51c73ed70cb8d94659644 | [
"MIT"
] | null | null | null | class FlowError(Exception):
pass
class InfoFlowError(Exception):
pass
class AlreadyExistsError(InfoFlowError):
pass
class UnknownFlowTypeError(FlowError):
pass | 12.928571 | 40 | 0.751381 | 16 | 181 | 8.5 | 0.4375 | 0.198529 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18232 | 181 | 14 | 41 | 12.928571 | 0.918919 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
76f2969a24ecaf271db1809d2ed1f0b29e118caa | 2,940 | py | Python | python/phonenumbers/data/region_BG.py | Eyepea/python-phonenumbers | 0336e191fda80a21ed5c19d5e029ad8c70f620ee | [
"Apache-2.0"
] | 2 | 2019-03-30T02:12:54.000Z | 2021-03-08T18:59:40.000Z | python/phonenumbers/data/region_BG.py | Eyepea/python-phonenumbers | 0336e191fda80a21ed5c19d5e029ad8c70f620ee | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/data/region_BG.py | Eyepea/python-phonenumbers | 0336e191fda80a21ed5c19d5e029ad8c70f620ee | [
"Apache-2.0"
] | 1 | 2018-11-10T03:47:34.000Z | 2018-11-10T03:47:34.000Z | """Auto-generated file, do not edit by hand. BG metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_BG = PhoneMetadata(id='BG', country_code=359, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[23567]\\d{5,7}|[489]\\d{6,8}', possible... | 108.888889 | 246 | 0.694218 | 452 | 2,940 | 4.276549 | 0.199115 | 0.161407 | 0.180031 | 0.223487 | 0.591826 | 0.591309 | 0.553026 | 0.466115 | 0.452664 | 0.20538 | 0 | 0.086654 | 0.069728 | 2,940 | 26 | 247 | 113.076923 | 0.62011 | 0.018027 | 0 | 0 | 1 | 0.125 | 0.233947 | 0.122527 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.