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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2cd644986651d15bbbf3c199b30b098fe1984eba | 77 | py | Python | tests/__init__.py | quentinf00/pytorch_memory_logging | fbe4db47d66fbae52b98d5f73838e8461bab29a3 | [
"MIT"
] | null | null | null | tests/__init__.py | quentinf00/pytorch_memory_logging | fbe4db47d66fbae52b98d5f73838e8461bab29a3 | [
"MIT"
] | null | null | null | tests/__init__.py | quentinf00/pytorch_memory_logging | fbe4db47d66fbae52b98d5f73838e8461bab29a3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit test package for pytorch_memory_logging."""
| 19.25 | 51 | 0.649351 | 10 | 77 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.142857 | 77 | 3 | 52 | 25.666667 | 0.712121 | 0.883117 | 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 |
2cd8d58fc520c8fcd95d780ac73e4734447db368 | 322 | py | Python | zopyx/smartprintng/plone/interfaces.py | zopyx/zopyx.smartprintng.plone | bacc8a2f44b6a2d2e8dba4a82364915d0954f1e5 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | zopyx/smartprintng/plone/interfaces.py | zopyx/zopyx.smartprintng.plone | bacc8a2f44b6a2d2e8dba4a82364915d0954f1e5 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2016-02-01T12:53:25.000Z | 2016-02-01T12:53:26.000Z | zopyx/smartprintng/plone/interfaces.py | zopyx/zopyx.smartprintng.plone | bacc8a2f44b6a2d2e8dba4a82364915d0954f1e5 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | from zope.interface import Interface
class IPPContent(Interface):
""" Marker interface for Plone content to be considered as
content for Produce & Publish.
"""
class IArchiveFolder(Interface):
""" Marker interface for folder with archived content that will
be ignored inside @@asHTML
""... | 26.833333 | 67 | 0.701863 | 37 | 322 | 6.108108 | 0.675676 | 0.132743 | 0.212389 | 0.238938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226708 | 322 | 11 | 68 | 29.272727 | 0.907631 | 0.534161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2cf55ffa8e75a0ddbf2213805a230733bf736a02 | 187 | py | Python | Src/Clova/vendor/future/moves/urllib/robotparser.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 2 | 2020-08-17T07:52:48.000Z | 2020-12-18T16:39:32.000Z | Src/Clova/vendor/future/moves/urllib/robotparser.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 5 | 2020-12-15T23:40:14.000Z | 2022-02-23T15:43:18.000Z | Src/Clova/vendor/future/moves/urllib/robotparser.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 4 | 2019-05-16T09:57:33.000Z | 2021-07-14T12:31:21.000Z | from __future__ import absolute_import
from future.utils import PY3
if PY3:
from urllib.robotparser import *
else:
__future_module__ = True
from robotparser import *
| 20.777778 | 39 | 0.73262 | 23 | 187 | 5.521739 | 0.521739 | 0.15748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.229947 | 187 | 8 | 40 | 23.375 | 0.868056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 |
fa04581904e132622813dbfef6ec040212d90c9b | 178 | py | Python | parcelhubPOS/wsgi.py | ngcw/parcelhubpos | 25404f9e944fd48fc8b19504d3e19e3beaa3e801 | [
"MIT"
] | null | null | null | parcelhubPOS/wsgi.py | ngcw/parcelhubpos | 25404f9e944fd48fc8b19504d3e19e3beaa3e801 | [
"MIT"
] | null | null | null | parcelhubPOS/wsgi.py | ngcw/parcelhubpos | 25404f9e944fd48fc8b19504d3e19e3beaa3e801 | [
"MIT"
] | null | null | null | from django.core.wsgi import get_wsgi_application
from whitenoise.django import DjangoWhiteNoise
application = get_wsgi_application()
application = DjangoWhiteNoise(application) | 35.6 | 49 | 0.870787 | 20 | 178 | 7.55 | 0.45 | 0.092715 | 0.238411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 178 | 5 | 50 | 35.6 | 0.920732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 4 |
fa615c46655e06417b1966bed033398bc9170b6e | 88 | py | Python | scripts/test/test_nuke.py | varshar16/teuthology | 321319b12ea4ff9b63c7655015a3156de2c3b279 | [
"MIT"
] | 117 | 2015-03-24T17:30:44.000Z | 2022-03-27T13:29:55.000Z | scripts/test/test_nuke.py | varshar16/teuthology | 321319b12ea4ff9b63c7655015a3156de2c3b279 | [
"MIT"
] | 1,014 | 2015-01-05T21:33:17.000Z | 2022-03-31T13:10:09.000Z | scripts/test/test_nuke.py | varshar16/teuthology | 321319b12ea4ff9b63c7655015a3156de2c3b279 | [
"MIT"
] | 237 | 2015-01-04T03:37:42.000Z | 2022-03-31T16:53:19.000Z | from script import Script
class TestNuke(Script):
script_name = 'teuthology-nuke'
| 14.666667 | 35 | 0.75 | 11 | 88 | 5.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 5 | 36 | 17.6 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 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 |
d718691181a6fbe522c85015da3f3dc8e4a813c1 | 200 | py | Python | memberaudit/apps.py | buahaha/aa-memberaudit | 3824fd5dec06631f7b54caa0248c2f6dcb08636a | [
"MIT"
] | null | null | null | memberaudit/apps.py | buahaha/aa-memberaudit | 3824fd5dec06631f7b54caa0248c2f6dcb08636a | [
"MIT"
] | null | null | null | memberaudit/apps.py | buahaha/aa-memberaudit | 3824fd5dec06631f7b54caa0248c2f6dcb08636a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from . import __version__
class MemberAuditConfig(AppConfig):
name = "memberaudit"
label = "memberaudit"
verbose_name = f"Member Audit v{__version__}"
| 20 | 49 | 0.74 | 22 | 200 | 6.318182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 200 | 9 | 50 | 22.222222 | 0.847561 | 0 | 0 | 0 | 0 | 0 | 0.245 | 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 |
d72d61769adf546fe9bfa9c8f2c11b1287b5c786 | 156 | py | Python | Pacotes/aula13.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | Pacotes/aula13.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | Pacotes/aula13.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | a= int(input('digite o numero inicial : '))
b= int(input('digite o numero final: '))
for c in range(a, b+1):
print('{} Natan'.format(c+1))
print('FIM')
| 26 | 43 | 0.615385 | 28 | 156 | 3.428571 | 0.642857 | 0.166667 | 0.291667 | 0.3125 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.160256 | 156 | 5 | 44 | 31.2 | 0.717557 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d732bb28e18a6c9061e6eef3d22187eeadc6cc7d | 2,134 | py | Python | formation.py | Alberdi/rogueforce | 0eccee6132d92173624e31a4d2520ea81b6327d6 | [
"ISC"
] | null | null | null | formation.py | Alberdi/rogueforce | 0eccee6132d92173624e31a4d2520ea81b6327d6 | [
"ISC"
] | null | null | null | formation.py | Alberdi/rogueforce | 0eccee6132d92173624e31a4d2520ea81b6327d6 | [
"ISC"
] | null | null | null | class Formation(object):
def __init__(self, general):
self.general = general
def place_minions(self): pass
def mirror(self, x, y):
return (self.general.bg.width - x - 1, self.general.bg.height - y - 1) if self.general.side else (x, y)
class FlyingWedge(Formation):
def __init__(self, general, incremen... | 32.830769 | 107 | 0.625586 | 323 | 2,134 | 3.950464 | 0.164087 | 0.172414 | 0.05094 | 0.056426 | 0.73511 | 0.71395 | 0.71395 | 0.71395 | 0.616771 | 0.616771 | 0 | 0.026549 | 0.258669 | 2,134 | 64 | 108 | 33.34375 | 0.780025 | 0 | 0 | 0.581818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163636 | false | 0.018182 | 0 | 0.018182 | 0.254545 | 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 |
ad1ac0ca29a253792d1b206f5750af0cbdf205f0 | 35 | py | Python | Company_Con/M-SOLUTIONS/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | Company_Con/M-SOLUTIONS/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | Company_Con/M-SOLUTIONS/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | n = int(input())
print(180*(n - 2)) | 17.5 | 18 | 0.542857 | 7 | 35 | 2.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.142857 | 35 | 2 | 18 | 17.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ad1c15817a5cc14a8ef3e194a156960e885c815b | 41 | py | Python | Shivani/Address.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | Shivani/Address.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | Shivani/Address.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | a=input("enter your address\n")
print(a)
| 13.666667 | 31 | 0.707317 | 8 | 41 | 3.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 32 | 20.5 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.487805 | 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 |
ad2aa94545858ef35235841a7ec80f1d9a7b5271 | 365 | py | Python | __init__.py | wf8yip/campus-event-finder-skill | 3c20809d8aadd6ac8dee6b8c6d34a43c16e31048 | [
"MIT"
] | null | null | null | __init__.py | wf8yip/campus-event-finder-skill | 3c20809d8aadd6ac8dee6b8c6d34a43c16e31048 | [
"MIT"
] | null | null | null | __init__.py | wf8yip/campus-event-finder-skill | 3c20809d8aadd6ac8dee6b8c6d34a43c16e31048 | [
"MIT"
] | null | null | null | from mycroft import MycroftSkill, intent_file_handler
class CampusEventFinder(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('finder.event.campus.intent')
def handle_finder_event_campus(self, message):
self.speak_dialog('finder.event.campus')
def cre... | 22.8125 | 54 | 0.750685 | 41 | 365 | 6.268293 | 0.536585 | 0.128405 | 0.198444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156164 | 365 | 15 | 55 | 24.333333 | 0.834416 | 0 | 0 | 0 | 0 | 0 | 0.123626 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 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 |
ad4c6a319d286c3ea612ef6083baf6d055013e2f | 240 | py | Python | pychess/ic/managers/ICCNewsManager.py | jacobchrismarsh/chess_senior_project | 7797b1f96fda5d4d268224a21e54a744d17e7b81 | [
"MIT"
] | null | null | null | pychess/ic/managers/ICCNewsManager.py | jacobchrismarsh/chess_senior_project | 7797b1f96fda5d4d268224a21e54a744d17e7b81 | [
"MIT"
] | 40 | 2019-05-04T04:46:31.000Z | 2022-02-26T10:37:51.000Z | pychess/ic/managers/ICCNewsManager.py | jacobchrismarsh/chess_senior_project | 7797b1f96fda5d4d268224a21e54a744d17e7b81 | [
"MIT"
] | null | null | null | from gi.repository import GObject
from pychess.ic.managers.NewsManager import NewsManager
class ICCNewsManager(NewsManager):
def __init__(self, connection):
GObject.GObject.__init__(self)
self.connection = connection
| 24 | 55 | 0.7625 | 26 | 240 | 6.730769 | 0.576923 | 0.091429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 240 | 9 | 56 | 26.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ad6237d1c89d7154db19caf7b18a02b9512de4c4 | 1,090 | py | Python | quite/gui/interfaces/ability_interfaces/container_ability_interface.py | KD-Group/quite | 49f62a182d5c49bc812290e189a8e05d630bd6ab | [
"MIT"
] | 4 | 2019-04-08T04:13:33.000Z | 2020-12-25T13:15:10.000Z | quite/gui/interfaces/ability_interfaces/container_ability_interface.py | KD-Group/quite | 49f62a182d5c49bc812290e189a8e05d630bd6ab | [
"MIT"
] | 2 | 2018-05-28T02:59:14.000Z | 2018-06-27T13:44:01.000Z | quite/gui/interfaces/ability_interfaces/container_ability_interface.py | SF-Zhou/quite | 49f62a182d5c49bc812290e189a8e05d630bd6ab | [
"MIT"
] | 3 | 2018-01-03T11:29:57.000Z | 2018-03-12T00:34:21.000Z | from .. import BaseInterface
from ... import run_deferred_function
from PySide.QtCore import QSize
class ContainerAbilityInterface(BaseInterface):
def set_central_widget(self, w, **kwargs):
return run_deferred_function('set_central_widget', self, w, **kwargs)
def set_square_widget(self, w, spacing=0)... | 40.37037 | 85 | 0.730275 | 144 | 1,090 | 5.215278 | 0.256944 | 0.074567 | 0.151798 | 0.166445 | 0.659121 | 0.458056 | 0.28229 | 0.178429 | 0.178429 | 0.178429 | 0 | 0.024309 | 0.169725 | 1,090 | 26 | 86 | 41.923077 | 0.805525 | 0 | 0 | 0 | 0 | 0 | 0.078899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.157895 | 0.263158 | 0.894737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a8def80a1f7dc89470e356529697734c7e2d0d74 | 11,103 | py | Python | 2021/day1/day1.py | Deph0/adventofcode | 79433579954d177d886cfb550b3e03d2e3ca21dc | [
"MIT"
] | null | null | null | 2021/day1/day1.py | Deph0/adventofcode | 79433579954d177d886cfb550b3e03d2e3ca21dc | [
"MIT"
] | 1 | 2021-05-26T20:36:27.000Z | 2021-05-26T21:42:06.000Z | 2021/day1/day1.py | Deph0/adventofcode | 79433579954d177d886cfb550b3e03d2e3ca21dc | [
"MIT"
] | null | null | null | def input():
#return [199,200,208,210,200,207,240,269,260,263] # example 1
return [170,176,179,180,195,197,203,211,212,200,225,227,235,250,263,262,265,266,267,261,269,270,284,289,295,265,269,271,273,274,297,302,301,279,304,329,330,347,352,370,377,382,388,391,393,386,387,390,399,387,395,400,418,428,429,443,444,4... | 182.016393 | 9,805 | 0.754661 | 2,182 | 11,103 | 3.840055 | 0.785518 | 0.004774 | 0.005013 | 0.008593 | 0.027927 | 0.024585 | 0.024585 | 0.024585 | 0.024585 | 0.024585 | 0 | 0.743563 | 0.048545 | 11,103 | 61 | 9,806 | 182.016393 | 0.049602 | 0.017653 | 0 | 0.458333 | 0 | 0 | 0.004129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104167 | false | 0.020833 | 0 | 0.020833 | 0.125 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d11be9e47369990377c852645037c670cbb04824 | 105 | py | Python | flowchem/components/devices/Hamilton/__init__.py | cambiegroup/flowchem | f835c79c09ebc3b84c8aacdabbecede4bb9603f2 | [
"MIT"
] | 6 | 2021-12-19T11:28:03.000Z | 2022-02-10T10:33:51.000Z | flowchem/components/devices/Hamilton/__init__.py | cambiegroup/flowchem | f835c79c09ebc3b84c8aacdabbecede4bb9603f2 | [
"MIT"
] | 18 | 2021-11-22T11:19:27.000Z | 2022-03-11T14:28:28.000Z | flowchem/components/devices/Hamilton/__init__.py | cambiegroup/flowchem | f835c79c09ebc3b84c8aacdabbecede4bb9603f2 | [
"MIT"
] | null | null | null | """ Hamilton devices """
from .ML600 import ML600, HamiltonPumpIO
__all__ = ["ML600", "HamiltonPumpIO"]
| 21 | 40 | 0.714286 | 10 | 105 | 7.1 | 0.7 | 0.535211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 0.133333 | 105 | 4 | 41 | 26.25 | 0.681319 | 0.152381 | 0 | 0 | 0 | 0 | 0.234568 | 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 |
d13f36807b4fdf4465476978d5bd8aa7b4f1ab75 | 140 | py | Python | display_time.py | VaheC/Python_assigments | 9a46c19128d43fabd112983477d0dfed3639984a | [
"MIT"
] | null | null | null | display_time.py | VaheC/Python_assigments | 9a46c19128d43fabd112983477d0dfed3639984a | [
"MIT"
] | null | null | null | display_time.py | VaheC/Python_assigments | 9a46c19128d43fabd112983477d0dfed3639984a | [
"MIT"
] | null | null | null | import time
from datetime import datetime as dt
def display_time(sleep_period):
time.sleep(sleep_period)
return dt.now().time()
| 23.333333 | 35 | 0.735714 | 21 | 140 | 4.761905 | 0.571429 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 140 | 6 | 36 | 23.333333 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | 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 |
d1416dabccf7a5598a8998dc26509e8a28142913 | 203 | py | Python | paccmann_generator/__init__.py | PaccMann/paccmann_generator | 135cce12f29fcb5d8665fe99a64a5176067d2ab2 | [
"MIT"
] | 5 | 2019-11-04T20:33:37.000Z | 2022-01-09T11:12:35.000Z | paccmann_generator/__init__.py | PaccMann/paccmann_generator | 135cce12f29fcb5d8665fe99a64a5176067d2ab2 | [
"MIT"
] | 5 | 2020-04-01T08:16:26.000Z | 2020-11-03T08:44:51.000Z | paccmann_generator/__init__.py | PaccMann/paccmann_generator | 135cce12f29fcb5d8665fe99a64a5176067d2ab2 | [
"MIT"
] | 3 | 2020-09-08T14:05:56.000Z | 2021-06-07T18:57:39.000Z | """Initialize paccmann_generator module."""
from .reinforce_omics import ReinforceOmic # noqa
from .reinforce_proteins import ReinforceProtein # noqa
name = 'paccmann_generator'
__version__ = '0.0.2'
| 29 | 56 | 0.788177 | 23 | 203 | 6.608696 | 0.695652 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.118227 | 203 | 6 | 57 | 33.833333 | 0.832402 | 0.236453 | 0 | 0 | 0 | 0 | 0.155405 | 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 |
d16323934eb8d34211ee5832a32b715705d45040 | 4,420 | py | Python | fixture/Python3/expected_xml/Block4.py | exKAZUu/ParserTests | 609cfc62b70c8d04d5a2ced25a213a8d601e7011 | [
"Apache-2.0"
] | null | null | null | fixture/Python3/expected_xml/Block4.py | exKAZUu/ParserTests | 609cfc62b70c8d04d5a2ced25a213a8d601e7011 | [
"Apache-2.0"
] | null | null | null | fixture/Python3/expected_xml/Block4.py | exKAZUu/ParserTests | 609cfc62b70c8d04d5a2ced25a213a8d601e7011 | [
"Apache-2.0"
] | null | null | null | <file_input>
<stmt>
<compound_stmt>
<if_stmt>
<NAME startline="1">if</NAME>
<test>
<or_test>
<and_test>
<not_test>
<comparison>
<expr>
<xor_expr>
<and_expr>
... | 37.457627 | 80 | 0.240271 | 220 | 4,420 | 4.545455 | 0.168182 | 0.08 | 0.06 | 0.039 | 0.688 | 0.632 | 0.632 | 0.632 | 0.632 | 0.632 | 0 | 0.009123 | 0.677602 | 4,420 | 118 | 81 | 37.457627 | 0.692632 | 0 | 0 | 0.79661 | 0 | 0 | 0.002714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
66fdec9037f62846b51c090c97b87563528800c3 | 171 | py | Python | Scripts/django-admin.py | akim69/blog-ar | be6ada32d0953fc8e08a772fd0a228e1a0f03346 | [
"bzip2-1.0.6"
] | null | null | null | Scripts/django-admin.py | akim69/blog-ar | be6ada32d0953fc8e08a772fd0a228e1a0f03346 | [
"bzip2-1.0.6"
] | null | null | null | Scripts/django-admin.py | akim69/blog-ar | be6ada32d0953fc8e08a772fd0a228e1a0f03346 | [
"bzip2-1.0.6"
] | null | null | null | #!d:\webapp\django_frameworks\2020\04\blogger\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 28.5 | 64 | 0.795322 | 23 | 171 | 5.391304 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.087719 | 171 | 5 | 65 | 34.2 | 0.75641 | 0.368421 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0f00ec3d881e0b58c455eda1ac165982ae00d23a | 85 | py | Python | RetrievalModels/utils/cache.py | hrwX/RetrievalModels | ed05ece5d1c66a721dcdccdf6207fb31ef675bbd | [
"MIT"
] | null | null | null | RetrievalModels/utils/cache.py | hrwX/RetrievalModels | ed05ece5d1c66a721dcdccdf6207fb31ef675bbd | [
"MIT"
] | null | null | null | RetrievalModels/utils/cache.py | hrwX/RetrievalModels | ed05ece5d1c66a721dcdccdf6207fb31ef675bbd | [
"MIT"
] | null | null | null | # Copyright (c) 2022, hrwX
# MIT License. See license.txt
class Cache(dict):
pass
| 12.142857 | 30 | 0.694118 | 13 | 85 | 4.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.188235 | 85 | 6 | 31 | 14.166667 | 0.797101 | 0.623529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0f014721d16ded9ac2fccd09367595b74d5e073b | 114 | py | Python | src/deep_learning/node_socket/__init__.py | nutti/DeepLearning-In-Blender | bdb870bd8ed383977f2f6c98f8a020f250affa5a | [
"MIT"
] | 10 | 2020-06-28T05:50:41.000Z | 2022-01-30T01:31:43.000Z | src/deep_learning/node_socket/socket/__init__.py | nutti/DeepLearning-In-Blender | bdb870bd8ed383977f2f6c98f8a020f250affa5a | [
"MIT"
] | null | null | null | src/deep_learning/node_socket/socket/__init__.py | nutti/DeepLearning-In-Blender | bdb870bd8ed383977f2f6c98f8a020f250affa5a | [
"MIT"
] | 1 | 2020-07-26T12:36:32.000Z | 2020-07-26T12:36:32.000Z | if "bpy" in locals():
import importlib
importlib.reload(tensor)
else:
from . import tensor
import bpy | 16.285714 | 28 | 0.684211 | 15 | 114 | 5.2 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 114 | 7 | 29 | 16.285714 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0f14b95096d247643500161c18ea514a9d4939ab | 50 | py | Python | helloworld.py | zhaomeng79/helloword | cc06ee3b74522eff51713c87f88165d4a19e1abc | [
"Apache-2.0"
] | null | null | null | helloworld.py | zhaomeng79/helloword | cc06ee3b74522eff51713c87f88165d4a19e1abc | [
"Apache-2.0"
] | null | null | null | helloworld.py | zhaomeng79/helloword | cc06ee3b74522eff51713c87f88165d4a19e1abc | [
"Apache-2.0"
] | null | null | null | '''The first python code'''
print 'hello,world!'
| 12.5 | 27 | 0.66 | 7 | 50 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 3 | 28 | 16.666667 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0f1a77087b565c617e297eebfcde9db6a1e6adfe | 546 | py | Python | users/migrations/0003_auto_20201023_1721.py | namanmalikk/UpCare | 43af1a3d291d4580cdf9348e9c38da4a7e41db73 | [
"Apache-2.0"
] | null | null | null | users/migrations/0003_auto_20201023_1721.py | namanmalikk/UpCare | 43af1a3d291d4580cdf9348e9c38da4a7e41db73 | [
"Apache-2.0"
] | null | null | null | users/migrations/0003_auto_20201023_1721.py | namanmalikk/UpCare | 43af1a3d291d4580cdf9348e9c38da4a7e41db73 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.10 on 2020-10-23 11:51
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0002_doctor_speciality'),
]
operations = [
migrations.RemoveField(
model_name='doctor',
name='phone',
),
... | 21 | 48 | 0.549451 | 48 | 546 | 6.145833 | 0.604167 | 0.213559 | 0.264407 | 0.305085 | 0.271186 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0.055402 | 0.338828 | 546 | 25 | 49 | 21.84 | 0.761773 | 0.084249 | 0 | 0.526316 | 1 | 0 | 0.154618 | 0.044177 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f220eb42c84f96ba3c092f80bba6cb808514ae0 | 162 | py | Python | timestamp.py | fbl4kd43m0n/Python | 324f6bb1255d5deab981c457864be6c9ac4a30a7 | [
"MIT"
] | 2 | 2019-01-31T14:43:58.000Z | 2019-05-14T09:30:12.000Z | timestamp.py | fbl4kd43m0n/Python | 324f6bb1255d5deab981c457864be6c9ac4a30a7 | [
"MIT"
] | null | null | null | timestamp.py | fbl4kd43m0n/Python | 324f6bb1255d5deab981c457864be6c9ac4a30a7 | [
"MIT"
] | null | null | null | import pefile
import time
pe = pefile.PE("veri.exe")
timestamp = pe.FILE_HEADER.TimeDateStamp
print time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(timestamp))
| 23.142857 | 66 | 0.734568 | 26 | 162 | 4.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 162 | 6 | 67 | 27 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0.154321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0f37aca0a8a8344544398a1afe4f75dd4c0af841 | 444 | py | Python | account/models.py | iamfoysal/employe_info | 6d6416f9c63758451483f9d26a073b8775893c7e | [
"Apache-2.0"
] | 1 | 2022-03-07T06:18:21.000Z | 2022-03-07T06:18:21.000Z | account/models.py | iamfoysal/employe_info | 6d6416f9c63758451483f9d26a073b8775893c7e | [
"Apache-2.0"
] | null | null | null | account/models.py | iamfoysal/employe_info | 6d6416f9c63758451483f9d26a073b8775893c7e | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.db import models
from django.contrib.auth.models import User
class CreateCustomer(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE, null = True, blank= True)
name = models.CharField(max_length=255, null = True, blank= True)
phone = models... | 24.666667 | 89 | 0.698198 | 60 | 444 | 5.05 | 0.483333 | 0.09901 | 0.128713 | 0.168317 | 0.191419 | 0.191419 | 0.191419 | 0 | 0 | 0 | 0 | 0.014124 | 0.202703 | 444 | 17 | 90 | 26.117647 | 0.841808 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
0f4aeaaa843460324ab55d956dab9cbd5a4cb13f | 64 | py | Python | authors/apps/profiles/__init__.py | andela/-ah-backend-thor | fe8d49531ccb1adebfea8b0f30ff0ebd172c31ba | [
"BSD-3-Clause"
] | 1 | 2018-11-08T16:47:03.000Z | 2018-11-08T16:47:03.000Z | authors/apps/profiles/__init__.py | andela/-ah-backend-thor | fe8d49531ccb1adebfea8b0f30ff0ebd172c31ba | [
"BSD-3-Clause"
] | 72 | 2018-10-23T12:34:14.000Z | 2021-06-01T22:50:57.000Z | authors/apps/profiles/__init__.py | andela/-ah-backend-thor | fe8d49531ccb1adebfea8b0f30ff0ebd172c31ba | [
"BSD-3-Clause"
] | 1 | 2018-10-23T16:18:01.000Z | 2018-10-23T16:18:01.000Z | default_app_config = 'authors.apps.profiles.apps.ProfilesConfig' | 64 | 64 | 0.859375 | 8 | 64 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 64 | 1 | 64 | 64 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.630769 | 0.630769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f90df39bf36680b12e4228a9291340bcb378201 | 686 | py | Python | raco/replace_with_repr.py | uwescience/raco | 1f2bedbef71bacf715340289f4973d85a3c1dc97 | [
"BSD-3-Clause"
] | 61 | 2015-02-09T17:27:40.000Z | 2022-03-28T14:37:53.000Z | raco/replace_with_repr.py | uwescience/raco | 1f2bedbef71bacf715340289f4973d85a3c1dc97 | [
"BSD-3-Clause"
] | 201 | 2015-01-03T02:46:19.000Z | 2017-09-19T02:16:36.000Z | raco/replace_with_repr.py | uwescience/raco | 1f2bedbef71bacf715340289f4973d85a3c1dc97 | [
"BSD-3-Clause"
] | 17 | 2015-06-03T12:01:30.000Z | 2021-11-27T15:49:21.000Z | # These imports are required here -- for eval inside replace_with_repr
from raco.expression import *
from raco.algebra import *
from raco.relation_key import *
from raco.scheme import *
from raco.backends.myria import *
from raco.backends.cpp import *
from raco.backends.radish import *
from raco.backends.sparql import ... | 29.826087 | 70 | 0.717201 | 101 | 686 | 4.821782 | 0.554455 | 0.131417 | 0.201232 | 0.180698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201166 | 686 | 22 | 71 | 31.181818 | 0.888686 | 0.303207 | 0 | 0 | 0 | 0 | 0.065539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.533333 | null | null | 0.066667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7e398c77fed204fd3577ac756197c6785a1b7cf8 | 201 | py | Python | venv/bin/django-admin.py | eustone/PatientManagement | 9b4895edb509e6609afe766d7cf5b8844757d047 | [
"Apache-2.0"
] | 2 | 2020-03-27T14:22:22.000Z | 2020-03-27T15:53:52.000Z | venv/bin/django-admin.py | eustone/PatientManagement | 9b4895edb509e6609afe766d7cf5b8844757d047 | [
"Apache-2.0"
] | 5 | 2021-03-19T01:13:01.000Z | 2021-09-22T18:47:41.000Z | venv/bin/django-admin.py | eustone/PatientManagement | 9b4895edb509e6609afe766d7cf5b8844757d047 | [
"Apache-2.0"
] | null | null | null | #!/home/kingzozo/DevProjects/Health/HospitalManagementSystem/PatientManagement/venv/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 33.5 | 94 | 0.825871 | 22 | 201 | 7.045455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 201 | 5 | 95 | 40.2 | 0.833333 | 0.462687 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7e61e79252cfaa4582badfe4e48f512975b45ac9 | 6,427 | py | Python | extractor/daily_viral_playlists.py | ron-debajyoti/visualify | ed9eded85dcc1c1132da9528d761051a56567809 | [
"MIT"
] | 1 | 2021-02-09T13:19:43.000Z | 2021-02-09T13:19:43.000Z | extractor/daily_viral_playlists.py | ron-debajyoti/visualify | ed9eded85dcc1c1132da9528d761051a56567809 | [
"MIT"
] | 11 | 2020-11-27T18:23:20.000Z | 2022-02-28T03:53:12.000Z | extractor/daily_viral_playlists.py | ron-debajyoti/easy-visualify | 420d2df525d5accbbebe17143bcaac09e8a2cc6e | [
"MIT"
] | null | null | null |
viralPlaylists = [
{'country_code':'AD','uri':'spotify:user:spotifycharts:playlist:37i9dQZEVXbMxjQJh4Um8T'},
{'country_code':'AE','uri':'spotify:user:spotifycharts:playlist:37i9dQZEVXbN6kflPvZZn0'},
{'country_code':'AR','uri':'spotify:user:spotifycharts:playlist:37i9dQZEVXbJajpaXyaKll'},
{'country_code... | 80.3375 | 95 | 0.753384 | 613 | 6,427 | 7.787928 | 0.231648 | 0.156682 | 0.199413 | 0.384583 | 0.517805 | 0.048597 | 0.048597 | 0.048597 | 0 | 0 | 0 | 0.051574 | 0.055703 | 6,427 | 80 | 96 | 80.3375 | 0.735047 | 0.013848 | 0 | 0 | 0 | 0 | 0.793087 | 0.613321 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7e63b8d64aa6726184cf3d78b4eda2b12f866db4 | 61 | py | Python | src/spaceone/config/model/__init__.py | choonho/config | 9da8ddc18263fca91f8b3969355bb48f6cada6ff | [
"Apache-2.0"
] | null | null | null | src/spaceone/config/model/__init__.py | choonho/config | 9da8ddc18263fca91f8b3969355bb48f6cada6ff | [
"Apache-2.0"
] | null | null | null | src/spaceone/config/model/__init__.py | choonho/config | 9da8ddc18263fca91f8b3969355bb48f6cada6ff | [
"Apache-2.0"
] | null | null | null | from spaceone.config.model.config_map_model import ConfigMap
| 30.5 | 60 | 0.885246 | 9 | 61 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 1 | 61 | 61 | 0.912281 | 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 |
7e72dca01561f09c22e30273bbda3d0aeb73a5f0 | 154 | py | Python | motion_arbiter/script/download_nltk_data.py | ehwa009/social_mind | 0507f47b29371ef167b30b60bdd446fde118b626 | [
"Apache-2.0"
] | 7 | 2018-08-09T02:40:58.000Z | 2022-02-07T03:32:23.000Z | motion_arbiter/script/download_nltk_data.py | ehwa009/social_mind | 0507f47b29371ef167b30b60bdd446fde118b626 | [
"Apache-2.0"
] | null | null | null | motion_arbiter/script/download_nltk_data.py | ehwa009/social_mind | 0507f47b29371ef167b30b60bdd446fde118b626 | [
"Apache-2.0"
] | 2 | 2018-08-09T02:41:06.000Z | 2018-08-27T03:54:10.000Z | #!/usr/bin/env python
#-*- encoding: utf8 -*-
import nltk
nltk.download('stopwords')
nltk.download('punkt')
nltk.download('averaged_perceptron_tagger')
| 17.111111 | 43 | 0.733766 | 19 | 154 | 5.842105 | 0.736842 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.084416 | 154 | 8 | 44 | 19.25 | 0.780142 | 0.272727 | 0 | 0 | 0 | 0 | 0.363636 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7e7cfadeadc2192c402a3307dd87925e5bc97e50 | 207 | py | Python | homeassistant/helpers/supervisor.py | robaston9/core | c76d2c4283234f6b434bea8348d1cc8cd17ab4b3 | [
"Apache-2.0"
] | null | null | null | homeassistant/helpers/supervisor.py | robaston9/core | c76d2c4283234f6b434bea8348d1cc8cd17ab4b3 | [
"Apache-2.0"
] | null | null | null | homeassistant/helpers/supervisor.py | robaston9/core | c76d2c4283234f6b434bea8348d1cc8cd17ab4b3 | [
"Apache-2.0"
] | null | null | null | """Supervisor helper."""
import os
from homeassistant.core import callback
@callback
def has_supervisor() -> bool:
"""Return true if supervisor is available."""
return "SUPERVISOR" in os.environ
| 17.25 | 49 | 0.714976 | 25 | 207 | 5.88 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169082 | 207 | 11 | 50 | 18.818182 | 0.854651 | 0.280193 | 0 | 0 | 0 | 0 | 0.072464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7e8ed03759151b641bde1908c0fa69b874204019 | 614 | py | Python | ejemplos/python/Project/core.py | Angelgf22/curso-tdd | cd49b787ce65f58cced1b6ba63ea9f390aee9dea | [
"MIT"
] | 66 | 2019-10-25T07:41:22.000Z | 2022-03-15T11:43:48.000Z | ejemplos/python/Project/core.py | Angelgf22/curso-tdd | cd49b787ce65f58cced1b6ba63ea9f390aee9dea | [
"MIT"
] | 267 | 2019-10-23T07:53:20.000Z | 2022-03-09T16:57:18.000Z | ejemplos/python/Project/core.py | Angelgf22/curso-tdd | cd49b787ce65f58cced1b6ba63ea9f390aee9dea | [
"MIT"
] | 188 | 2019-10-21T17:47:35.000Z | 2022-03-17T19:30:52.000Z | """
Project tendrá todo lo relacionado con los proyectos de estudiantes en una asignatura.
"""
class Project:
"""
Clase contenedor de todo lo relacionado con un proyecto en GitHub
"""
def __init__(self, name: str ):
self._name = name
@property
def name(self):
"""
Simpl... | 18.058824 | 86 | 0.599349 | 70 | 614 | 5.128571 | 0.557143 | 0.077994 | 0.091922 | 0.111421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322476 | 614 | 33 | 87 | 18.606061 | 0.862981 | 0.30456 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 1 | 0.4375 | false | 0.3125 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7ea73d6f4bb41f27d0a9e00afbab2c02122c3c6c | 274 | py | Python | malib/replay_buffers/__init__.py | wwxFromTju/malib | 7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2 | [
"MIT"
] | 6 | 2021-05-19T10:25:36.000Z | 2021-12-27T03:30:33.000Z | malib/replay_buffers/__init__.py | wwxFromTju/malib | 7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2 | [
"MIT"
] | 1 | 2021-05-29T04:51:37.000Z | 2021-05-30T06:18:10.000Z | malib/replay_buffers/__init__.py | ying-wen/malib_deprecated | 875338b81c4d87064ad31201f461ef742db05f25 | [
"MIT"
] | 1 | 2021-05-31T16:16:12.000Z | 2021-05-31T16:16:12.000Z | # Created by yingwen at 2019-03-10
from malib.replay_buffers.indexed_replay_buffer import IndexedReplayBuffer
from malib.replay_buffers.indexed_rollout_replay_buffer import (
IndexedRolloutReplayBuffer,
)
__all__ = ["IndexedReplayBuffer", "IndexedRolloutReplayBuffer"]
| 34.25 | 74 | 0.843066 | 29 | 274 | 7.586207 | 0.62069 | 0.081818 | 0.136364 | 0.2 | 0.263636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032129 | 0.091241 | 274 | 7 | 75 | 39.142857 | 0.851406 | 0.116788 | 0 | 0 | 0 | 0 | 0.1875 | 0.108333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7eb04250f99d3c80a55dbbd1c7268821917a4c60 | 69 | py | Python | videoCrawler/videoCrawler/__init__.py | lovishchopra/ITRI-Car-Accident | 96a1ffa25eacfb2885ea1fa0852a91c8bb5ec95d | [
"MIT"
] | null | null | null | videoCrawler/videoCrawler/__init__.py | lovishchopra/ITRI-Car-Accident | 96a1ffa25eacfb2885ea1fa0852a91c8bb5ec95d | [
"MIT"
] | null | null | null | videoCrawler/videoCrawler/__init__.py | lovishchopra/ITRI-Car-Accident | 96a1ffa25eacfb2885ea1fa0852a91c8bb5ec95d | [
"MIT"
] | null | null | null | import videoCrawler
name = 'videoCrawler'
crawl = videoCrawler.crawl | 17.25 | 26 | 0.811594 | 7 | 69 | 8 | 0.571429 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 4 | 26 | 17.25 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 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 |
0e20aa437e7fbb2516471bdfe4824ae26752aa3f | 2,852 | py | Python | smart-camera/app/test/test_camera_recording.py | EmixMaxime/mx-home-security | ec6d329a09bb2e0afbbd7e481937893311f02634 | [
"MIT"
] | 2 | 2021-04-29T19:28:59.000Z | 2021-04-29T21:20:32.000Z | smart-camera/app/test/test_camera_recording.py | EmixMaxime/mx-home-security | ec6d329a09bb2e0afbbd7e481937893311f02634 | [
"MIT"
] | 101 | 2020-06-26T19:51:24.000Z | 2021-03-28T09:35:55.000Z | smart-camera/app/test/test_camera_recording.py | mxmaxime/mx-tech-house | f6b66b8390b348e48d4c6ea0da51e409f3845fd6 | [
"MIT"
] | null | null | null | import json
from io import BytesIO
from unittest import TestCase, skip
from unittest.mock import Mock, patch, call
from camera.camera_object_detection import CameraObjectDetection
from camera.camera_recording import CameraRecording
from datetime import datetime, timedelta
class TestCameraRecording(TestCase):
def... | 45.269841 | 132 | 0.748948 | 373 | 2,852 | 5.38874 | 0.155496 | 0.109453 | 0.119403 | 0.125373 | 0.777114 | 0.762189 | 0.738308 | 0.728358 | 0.685075 | 0.652736 | 0 | 0.002926 | 0.16129 | 2,852 | 62 | 133 | 46 | 0.837375 | 0 | 0 | 0.511111 | 0 | 0 | 0.07223 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.088889 | false | 0 | 0.155556 | 0 | 0.266667 | 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 |
0e7513ba8f91533d964e481300aca57e4c5834eb | 33 | py | Python | openedx_webhooks/lib/jira/__init__.py | stvstnfrd/openedx-webhooks | c12aede9eb87ae67bc3d3c9fb9ebe4879f668ba5 | [
"Apache-2.0"
] | 9 | 2016-12-20T04:18:46.000Z | 2021-09-09T10:50:03.000Z | openedx_webhooks/lib/jira/__init__.py | stvstnfrd/openedx-webhooks | c12aede9eb87ae67bc3d3c9fb9ebe4879f668ba5 | [
"Apache-2.0"
] | 119 | 2015-01-20T12:01:28.000Z | 2021-12-17T18:50:46.000Z | openedx_webhooks/lib/jira/__init__.py | stvstnfrd/openedx-webhooks | c12aede9eb87ae67bc3d3c9fb9ebe4879f668ba5 | [
"Apache-2.0"
] | 19 | 2015-01-20T11:58:43.000Z | 2021-11-01T09:38:32.000Z | """
Tools to work with JIRA.
"""
| 8.25 | 24 | 0.575758 | 5 | 33 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 3 | 25 | 11 | 0.730769 | 0.727273 | 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 |
0e917fd7b0b60d63647bf7916a86cf16d06279ff | 868 | py | Python | kalliope/core/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | 1 | 2020-03-30T15:03:19.000Z | 2020-03-30T15:03:19.000Z | kalliope/core/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | null | null | null | kalliope/core/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | null | null | null | from kalliope.core.OrderAnalyser import OrderAnalyser
from kalliope.core.OrderListener import OrderListener
from kalliope.core.ShellGui import ShellGui
from kalliope.core.Utils.Utils import Utils
from kalliope.core.Utils import FileManager
from kalliope.core.ResourcesManager import ResourcesManager
from kalliope.core.N... | 54.25 | 69 | 0.883641 | 101 | 868 | 7.594059 | 0.207921 | 0.250326 | 0.333768 | 0.078227 | 0.161669 | 0.161669 | 0.161669 | 0.161669 | 0.161669 | 0.161669 | 0 | 0 | 0.073733 | 868 | 16 | 70 | 54.25 | 0.95398 | 0 | 0 | 0.125 | 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 |
0e9cd3edf907f2e22cf1be8aa6311a532de8482e | 899 | py | Python | tests/utilities/test_utilities.py | andrewtarzia/PoreMapper | fc98324275e0e4fb3735b9a9cc4a79a34567eca2 | [
"MIT"
] | 7 | 2021-12-16T13:01:04.000Z | 2021-12-29T10:09:37.000Z | tests/utilities/test_utilities.py | Chemwzd/PoreMapper | fc98324275e0e4fb3735b9a9cc4a79a34567eca2 | [
"MIT"
] | null | null | null | tests/utilities/test_utilities.py | Chemwzd/PoreMapper | fc98324275e0e4fb3735b9a9cc4a79a34567eca2 | [
"MIT"
] | 1 | 2021-12-16T13:01:03.000Z | 2021-12-16T13:01:03.000Z | import pytest
from pore_mapper import get_tensor_eigenvalues
import numpy as np
@pytest.fixture
def tensor():
return np.array([
[-0.09852765, 0.633203, -0.05770473],
[ 0.76346367, -0.09852765, 0.00571956],
[ 0.00571956, -0.05770473, 0.60333333],
])
@pytest.fixture
def sorted_():... | 23.051282 | 67 | 0.669633 | 110 | 899 | 5.290909 | 0.345455 | 0.092784 | 0.206186 | 0.223368 | 0.32646 | 0.32646 | 0.175258 | 0.175258 | 0.175258 | 0.175258 | 0 | 0.220196 | 0.206897 | 899 | 38 | 68 | 23.657895 | 0.596073 | 0 | 0 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 1 | 0.137931 | false | 0 | 0.103448 | 0.103448 | 0.344828 | 0.068966 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
7ec515ed41c438cbeef77cd764ccf5c4e7ebccbe | 91 | py | Python | spamalot/apps.py | BrianLoveGa/python_practice_spam | e15a385409754e5e2d101b7c03efaa3f724efa03 | [
"Unlicense"
] | 1 | 2019-11-30T21:22:44.000Z | 2019-11-30T21:22:44.000Z | spamalot/apps.py | BrianLoveGa/python_practice_spam | e15a385409754e5e2d101b7c03efaa3f724efa03 | [
"Unlicense"
] | 7 | 2020-06-06T00:41:01.000Z | 2022-02-10T11:09:39.000Z | spamalot/apps.py | BrianLoveGa/python_practice_spam | e15a385409754e5e2d101b7c03efaa3f724efa03 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class SpamalotConfig(AppConfig):
name = 'spamalot'
| 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 |
7ef65f4c6eca292c12287ccc9f1d0d842f0c083f | 222 | py | Python | bookmarks/admin.py | RossBrunton/BMAT | 5e102935cc6166f4d8ea13051769787c47303153 | [
"MIT"
] | null | null | null | bookmarks/admin.py | RossBrunton/BMAT | 5e102935cc6166f4d8ea13051769787c47303153 | [
"MIT"
] | 47 | 2015-09-02T10:22:41.000Z | 2021-06-10T19:15:00.000Z | bookmarks/admin.py | RossBrunton/BMAT | 5e102935cc6166f4d8ea13051769787c47303153 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Bookmark
class BookmarkAdmin(admin.ModelAdmin):
list_display = ("pk", "owner",)
search_fields = ["title", "url"]
admin.site.register(Bookmark, BookmarkAdmin)
| 22.2 | 44 | 0.734234 | 26 | 222 | 6.192308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13964 | 222 | 9 | 45 | 24.666667 | 0.842932 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 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 |
7d1d02727b2e3678f14b5e410e5bb7f1937e8643 | 95 | py | Python | config/__init__.py | gzisopoulos/python-iot-data-integrity | d13d386a2297edbe71fa7b8afca574bb090d6fe8 | [
"MIT"
] | 2 | 2020-12-08T08:43:18.000Z | 2020-12-08T08:43:46.000Z | config/__init__.py | gzisopoulos/python-iot-data-integrity | d13d386a2297edbe71fa7b8afca574bb090d6fe8 | [
"MIT"
] | null | null | null | config/__init__.py | gzisopoulos/python-iot-data-integrity | d13d386a2297edbe71fa7b8afca574bb090d6fe8 | [
"MIT"
] | null | null | null | import os
config_dir = os.path.abspath(os.path.dirname(__file__))
from .config import Config
| 15.833333 | 55 | 0.778947 | 15 | 95 | 4.6 | 0.6 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 5 | 56 | 19 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
7d3de404a4d688e8d4cc5cfc78c56a3cd8602be1 | 20 | py | Python | nexttransit/bart/__init__.py | ahartoto/nexttransit | f91fc0d5625edbba73a80304031f0e70064af741 | [
"MIT"
] | null | null | null | nexttransit/bart/__init__.py | ahartoto/nexttransit | f91fc0d5625edbba73a80304031f0e70064af741 | [
"MIT"
] | null | null | null | nexttransit/bart/__init__.py | ahartoto/nexttransit | f91fc0d5625edbba73a80304031f0e70064af741 | [
"MIT"
] | null | null | null | """
BART Module
"""
| 5 | 11 | 0.5 | 2 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 3 | 12 | 6.666667 | 0.625 | 0.55 | 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 |
add5314a793e03c77974539a111174623a4a7300 | 355 | py | Python | api/serializers/user.py | Endzel/mini-payments | 189544e853c3dc4679be875190ab40e12a052822 | [
"MIT"
] | null | null | null | api/serializers/user.py | Endzel/mini-payments | 189544e853c3dc4679be875190ab40e12a052822 | [
"MIT"
] | 4 | 2021-04-08T19:01:31.000Z | 2021-06-10T17:58:27.000Z | api/serializers/user.py | Endzel/mini-payments | 189544e853c3dc4679be875190ab40e12a052822 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from api.models import UserProfile, Account
class UserProfileSerializer(serializers.ModelSerializer):
class Meta:
model = UserProfile
fields = '__all__'
class UserAccountSerializer(serializers.ModelSerializer):
class Meta:
model = Account
... | 19.722222 | 57 | 0.709859 | 32 | 355 | 7.71875 | 0.59375 | 0.210526 | 0.251012 | 0.283401 | 0.323887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216901 | 355 | 17 | 58 | 20.882353 | 0.888489 | 0 | 0 | 0.2 | 0 | 0 | 0.050704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 |
adfc3874d193f9cc99df886632ce9cd58433737c | 716 | py | Python | Algorithms_easy/1085. Sum of Digits in the Minimum Number.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | 4 | 2020-08-11T20:45:15.000Z | 2021-03-12T00:33:34.000Z | Algorithms_easy/1085. Sum of Digits in the Minimum Number.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | null | null | null | Algorithms_easy/1085. Sum of Digits in the Minimum Number.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | null | null | null | """
1085. Sum of Digits in the Minimum Number
Easy
Given an array A of positive integers, let S be the sum of the digits of the minimal element of A.
Return 0 if S is odd, otherwise return 1.
Example 1:
Input: [34,23,1,24,75,33,54,8]
Output: 0
Explanation:
The minimal element is 1, and the sum of those digits is S... | 22.375 | 106 | 0.659218 | 140 | 716 | 3.371429 | 0.471429 | 0.042373 | 0.050847 | 0.118644 | 0.233051 | 0.105932 | 0.105932 | 0.105932 | 0 | 0 | 0 | 0.096364 | 0.231844 | 716 | 32 | 107 | 22.375 | 0.761818 | 0.803073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bc03b02d82ea2972db07e8944ead57dc3f095b9a | 8,411 | bzl | Python | example/third_party/org_eclipse_jetty.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | example/third_party/org_eclipse_jetty.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | example/third_party/org_eclipse_jetty.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | load("@rules_maven_third_party//:import_external.bzl", import_external = "import_external")
def dependencies():
import_external(
name = "org_eclipse_jetty_jetty_alpn_client",
artifact = "org.eclipse.jetty:jetty-alpn-client:9.4.44.v20210927",
artifact_sha256 = "5f1a72fbb81f0e4d2e5797c2ba28a3... | 38.760369 | 93 | 0.703484 | 660 | 8,411 | 8.554545 | 0.119697 | 0.116897 | 0.175345 | 0.233794 | 0.507085 | 0.415338 | 0.326603 | 0.215019 | 0.199433 | 0.195182 | 0 | 0.28634 | 0.212341 | 8,411 | 216 | 94 | 38.939815 | 0.565887 | 0 | 0 | 0.418994 | 0 | 0.022346 | 0.590893 | 0.58911 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005587 | true | 0 | 0.111732 | 0 | 0.117318 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc080cd681b032b7f62b7874bff694aab18225da | 496 | py | Python | bastion_ssh/errors.py | wcc526/bastion-ssh | 15211937c706ff970588ccdc99dec6bc660a4077 | [
"Apache-2.0"
] | 13 | 2016-06-17T18:29:53.000Z | 2021-08-02T04:46:04.000Z | bastion_ssh/errors.py | wcc526/bastion-ssh | 15211937c706ff970588ccdc99dec6bc660a4077 | [
"Apache-2.0"
] | 1 | 2019-02-21T08:32:01.000Z | 2019-02-28T08:11:11.000Z | bastion_ssh/errors.py | wcc526/bastion-ssh | 15211937c706ff970588ccdc99dec6bc660a4077 | [
"Apache-2.0"
] | 8 | 2016-03-15T09:12:13.000Z | 2020-09-29T09:00:25.000Z | #!/usr/bin/env python
# coding: utf-8
class ClientError(Exception):
pass
class ServerError(Exception):
pass
class BadParameter(RuntimeError):
pass
class DockerNotFound(RuntimeError):
pass
class PublicImageNotFound(RuntimeError):
pass
class StreamOutputError(Exception):
pass
class In... | 11.809524 | 40 | 0.733871 | 47 | 496 | 7.744681 | 0.446809 | 0.222527 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002488 | 0.189516 | 496 | 41 | 41 | 12.097561 | 0.902985 | 0.068548 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
bc3502d497861ee76c62a677228e09899a8992fa | 190 | py | Python | kYPython/Scrapy/myspider/myspider/start.py | kyaing/KDYSample | 6a09ef3f7dab18a71187cd81f7da2dd13cf7a4a5 | [
"MIT"
] | 10 | 2017-02-23T07:42:20.000Z | 2017-02-23T07:42:25.000Z | kYPython/Scrapy/myspider/myspider/start.py | kaideyi/KDYSample | 6a09ef3f7dab18a71187cd81f7da2dd13cf7a4a5 | [
"MIT"
] | null | null | null | kYPython/Scrapy/myspider/myspider/start.py | kaideyi/KDYSample | 6a09ef3f7dab18a71187cd81f7da2dd13cf7a4a5 | [
"MIT"
] | null | null | null | # /usr/bin/ python3
# -*- coding: utf-8 -*-
# @Time : 2019-02-10 16:09
# @Author : kyaing
# @File : start.py
from scrapy import cmdline
cmdline.execute("scrapy crawl itcast".split()) | 23.75 | 46 | 0.636842 | 27 | 190 | 4.481481 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090323 | 0.184211 | 190 | 8 | 46 | 23.75 | 0.690323 | 0.552632 | 0 | 0 | 0 | 0 | 0.2375 | 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 |
70ae5e9d83b0f48a86ffade0878c50075d4a5923 | 53 | py | Python | kgtools/features.py | wclaus22/kaggletools | 64a8762f63055a5283137f81bfb5ecef7eaa36f8 | [
"MIT"
] | null | null | null | kgtools/features.py | wclaus22/kaggletools | 64a8762f63055a5283137f81bfb5ecef7eaa36f8 | [
"MIT"
] | null | null | null | kgtools/features.py | wclaus22/kaggletools | 64a8762f63055a5283137f81bfb5ecef7eaa36f8 | [
"MIT"
] | null | null | null | """A collection of feature engineering approaches"""
| 26.5 | 52 | 0.773585 | 6 | 53 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 1 | 53 | 53 | 0.87234 | 0.867925 | 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 |
70b3eac6c1f3fce3a06b21ac0b9d72d270b4b14d | 156 | py | Python | HackerRank/Algorithm/warmup/AVeryBigSum.py | dusadpiyush96/Competetive | 370e2058f330eefdf2caa404ee2a43daa62669ee | [
"MIT"
] | null | null | null | HackerRank/Algorithm/warmup/AVeryBigSum.py | dusadpiyush96/Competetive | 370e2058f330eefdf2caa404ee2a43daa62669ee | [
"MIT"
] | null | null | null | HackerRank/Algorithm/warmup/AVeryBigSum.py | dusadpiyush96/Competetive | 370e2058f330eefdf2caa404ee2a43daa62669ee | [
"MIT"
] | null | null | null | n = int(raw_input())
arr = (raw_input().split())
integers=[int(x) for x in arr]
#for x in arr:
#x=int(x)
sum=0
for x in integers:
sum+=x
print sum
| 15.6 | 30 | 0.608974 | 32 | 156 | 2.90625 | 0.40625 | 0.129032 | 0.193548 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.211538 | 156 | 9 | 31 | 17.333333 | 0.747967 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
70c733e20a73da0268cb5cb41312270dd82a3184 | 46 | py | Python | src/8sem/words_count.py | freepvps/hsesamples | adbf35c1c94521d78fb75f72287512a37e49bdc8 | [
"MIT"
] | 2 | 2019-10-19T22:29:50.000Z | 2019-10-19T22:29:52.000Z | src/8sem/words_count.py | freepvps/hsesamples | adbf35c1c94521d78fb75f72287512a37e49bdc8 | [
"MIT"
] | null | null | null | src/8sem/words_count.py | freepvps/hsesamples | adbf35c1c94521d78fb75f72287512a37e49bdc8 | [
"MIT"
] | null | null | null | n = input().lower().split()
print(len(set(n))) | 23 | 27 | 0.608696 | 8 | 46 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 2 | 28 | 23 | 0.651163 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
70cb4800bec94b99fb230c7bb53242b0e1d0d1ad | 57 | py | Python | abc/120/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | 2 | 2022-01-22T07:56:58.000Z | 2022-01-24T00:29:37.000Z | abc/120/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | abc/120/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | A, B, C = map(int, input().split())
print(min(B // A, C)) | 28.5 | 35 | 0.526316 | 12 | 57 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 2 | 36 | 28.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
70f99eb4df896759b9e4ba23c91ab1fb777a3c7a | 111 | py | Python | t.py | Tristan-Anderson/Slifer_Lab | 5a463f2ebd7f495bce70b12252dbfffac35445f1 | [
"MIT"
] | null | null | null | t.py | Tristan-Anderson/Slifer_Lab | 5a463f2ebd7f495bce70b12252dbfffac35445f1 | [
"MIT"
] | null | null | null | t.py | Tristan-Anderson/Slifer_Lab | 5a463f2ebd7f495bce70b12252dbfffac35445f1 | [
"MIT"
] | null | null | null | from slifercal import slifercal as sc
k=sc()
k.import_datafile(datafile_location="data_record_12-20-2019.csv") | 27.75 | 65 | 0.81982 | 19 | 111 | 4.578947 | 0.736842 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 0.072072 | 111 | 4 | 65 | 27.75 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 0.232143 | 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 |
cb2618062c7abd5c975a07fa76b4f8fffbc51c68 | 163 | py | Python | pytimize/parsers/_symbol.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | 10 | 2020-02-24T01:52:20.000Z | 2022-03-12T02:50:58.000Z | pytimize/parsers/_symbol.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | null | null | null | pytimize/parsers/_symbol.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | 2 | 2021-10-03T22:18:47.000Z | 2021-10-03T22:19:27.000Z | SUBSCRIPT = str.maketrans("0123456789", "₀₁₂₃₄₅₆₇₈₉")
class SymbolParser:
@staticmethod
def subscript(string):
return string.translate(SUBSCRIPT)
| 23.285714 | 53 | 0.723926 | 15 | 163 | 7.866667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.171779 | 163 | 6 | 54 | 27.166667 | 0.725926 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
cb47e9bf1bae90ed30ff7999073387383eaec0fb | 765 | py | Python | api/constants/routes.py | josesalasdev/apisrun | 720ee8af9ddb356a9b60bf983251bb1a081d4c80 | [
"MIT"
] | 4 | 2021-07-26T23:01:11.000Z | 2022-03-09T14:41:48.000Z | api/constants/routes.py | josesalasdev/apisrun | 720ee8af9ddb356a9b60bf983251bb1a081d4c80 | [
"MIT"
] | 16 | 2022-02-28T23:12:48.000Z | 2022-03-27T19:56:21.000Z | api/constants/routes.py | josesalasdev/apisrun | 720ee8af9ddb356a9b60bf983251bb1a081d4c80 | [
"MIT"
] | null | null | null | class RouterPath:
"""Router paths constant"""
NODES = "/admin/nodes"
LEVEL_ONE = "/{level_one}"
LEVEL_TWO = "/{level_one}/{level_two}"
LEVEL_THREE = "/{level_one}/{level_two}/{level_three}"
LEVEL_FOUR = "/{level_one}/{level_two}/{level_three}/{level_four}"
LEVEL_FIVE = "/{level_one}/{level_... | 27.321429 | 86 | 0.597386 | 92 | 765 | 4.586957 | 0.25 | 0.151659 | 0.246446 | 0.265403 | 0.703791 | 0.665877 | 0.665877 | 0.604265 | 0.604265 | 0.521327 | 0 | 0 | 0.207843 | 765 | 27 | 87 | 28.333333 | 0.69637 | 0.044444 | 0 | 0.095238 | 0 | 0 | 0.538889 | 0.459722 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cb5fbbb7b87858816e1f0ea6811f42f56c711912 | 293 | py | Python | test_cast/2019-11-13/Exchange/solution.py | qinggniq/Algorithm-Practice | 24339bd059cd3cf7fe8e93a74d54b59cf4686a1b | [
"MIT"
] | null | null | null | test_cast/2019-11-13/Exchange/solution.py | qinggniq/Algorithm-Practice | 24339bd059cd3cf7fe8e93a74d54b59cf4686a1b | [
"MIT"
] | null | null | null | test_cast/2019-11-13/Exchange/solution.py | qinggniq/Algorithm-Practice | 24339bd059cd3cf7fe8e93a74d54b59cf4686a1b | [
"MIT"
] | null | null | null | class Solution:
def exchangeBits(self, num: int) -> int:
return (((0xaaaaaaaa & num) >> 1) ^ ((0x55555555 & num) << 1)) & (pow(2, 31) - 1)
if __name__ == "__main__":
print(bin(Solution().exchangeBits(0b1101)))
print(bin(Solution().exchangeBits(0b100000000000000000001)))
| 32.555556 | 89 | 0.631399 | 32 | 293 | 5.53125 | 0.65625 | 0.045198 | 0.180791 | 0.316384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179167 | 0.180887 | 293 | 8 | 90 | 36.625 | 0.558333 | 0 | 0 | 0 | 0 | 0 | 0.027304 | 0 | 0 | 0 | 0.068259 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.5 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
cb81f4c445bb3d3cea7c7fa35b8d444e9adfc3fa | 38 | py | Python | kite-python/kite_pkgexploration/kite/pkgexploration/examples/runtime_helper.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 17 | 2022-01-10T11:01:50.000Z | 2022-03-25T03:21:08.000Z | kite-python/kite_pkgexploration/kite/pkgexploration/examples/runtime_helper.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 1 | 2022-01-13T14:28:47.000Z | 2022-01-13T14:28:47.000Z | kite-python/kite_pkgexploration/kite/pkgexploration/examples/runtime_helper.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 7 | 2022-01-07T03:58:10.000Z | 2022-03-24T07:38:20.000Z | PI = 3
LARGE = 12345
empty = object()
| 9.5 | 16 | 0.631579 | 6 | 38 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.236842 | 38 | 3 | 17 | 12.666667 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cba79dd422201dae6b022884fed5a405065bac26 | 234 | py | Python | RLBench/spaces/__init__.py | ZXspectrumZ80/The-RL-works | 73b27b528bb382536ba1d233b4b3c04f7ac993d0 | [
"MIT"
] | 19 | 2017-04-05T09:42:20.000Z | 2021-03-26T00:56:43.000Z | SafeRLBench/spaces/__init__.py | befelix/Safe-RL-Benchmark | 6a126f215c3d72e2d56d5b516087f820554ad9c8 | [
"MIT"
] | null | null | null | SafeRLBench/spaces/__init__.py | befelix/Safe-RL-Benchmark | 6a126f215c3d72e2d56d5b516087f820554ad9c8 | [
"MIT"
] | 5 | 2017-10-16T10:58:33.000Z | 2018-11-14T14:13:42.000Z | from __future__ import division, print_function, absolute_import
from .rd_space import RdSpace
from .bounded_space import BoundedSpace
from .discrete_space import DiscreteSpace
__all__ = ['RdSpace', 'BoundedSpace', 'DiscreteSpace']
| 29.25 | 64 | 0.824786 | 27 | 234 | 6.666667 | 0.555556 | 0.183333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106838 | 234 | 7 | 65 | 33.428571 | 0.861244 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cbba5a05461c074623ab4011150b53835ac703a3 | 71 | py | Python | rings/__main__.py | jpohlmeyer/TheLordOfTheHoleyRings | bb47cd7917865cfb29f3ef18f059a56bf75f99ac | [
"MIT"
] | null | null | null | rings/__main__.py | jpohlmeyer/TheLordOfTheHoleyRings | bb47cd7917865cfb29f3ef18f059a56bf75f99ac | [
"MIT"
] | null | null | null | rings/__main__.py | jpohlmeyer/TheLordOfTheHoleyRings | bb47cd7917865cfb29f3ef18f059a56bf75f99ac | [
"MIT"
] | null | null | null | from rings.app import App
if __name__ == "__main__":
App().main()
| 14.2 | 26 | 0.647887 | 10 | 71 | 3.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 4 | 27 | 17.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cbcb73680581637fe71cff6237866dd7c95d707f | 128 | py | Python | Backend/splitpay/user/views.py | sauravsharma1/SplitPay-HCI | 31ca7801d2849f830a75e317fb731a0d5e36464c | [
"MIT"
] | 3 | 2021-08-19T14:50:39.000Z | 2021-08-19T18:32:10.000Z | Backend/splitpay/user/views.py | tanmayb104/SplitPay-HCI | b7a22639670706fb7b173c25a7ebbb84e929cecb | [
"MIT"
] | null | null | null | Backend/splitpay/user/views.py | tanmayb104/SplitPay-HCI | b7a22639670706fb7b173c25a7ebbb84e929cecb | [
"MIT"
] | 2 | 2021-05-27T20:40:24.000Z | 2021-06-04T20:10:38.000Z | from rest_auth.registration.views import RegisterView
class CustomRegisterView(RegisterView):
queryset = User.objects.all() | 32 | 53 | 0.820313 | 14 | 128 | 7.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 4 | 54 | 32 | 0.904348 | 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 |
cbe072e599c2dea7eac3454d339db9f06a9d4ed3 | 73 | py | Python | run.py | cyprieng/twitter-contest | 5ceecce6fb3476e547a3428fc1e2e91086dc3aba | [
"MIT"
] | null | null | null | run.py | cyprieng/twitter-contest | 5ceecce6fb3476e547a3428fc1e2e91086dc3aba | [
"MIT"
] | null | null | null | run.py | cyprieng/twitter-contest | 5ceecce6fb3476e547a3428fc1e2e91086dc3aba | [
"MIT"
] | null | null | null | from twitter_contest import TwitterContest
t = TwitterContest()
t.run()
| 14.6 | 42 | 0.794521 | 9 | 73 | 6.333333 | 0.777778 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 4 | 43 | 18.25 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1db0c4497f2a6e02df6cfe85a07a0fe0139800b8 | 184 | py | Python | lesson4/lesson4.6.py | madskoefoed/Machine-Learning-for-Trading.py | e79884e668470500b9b55e8f86aa2a1f734e60c3 | [
"MIT"
] | null | null | null | lesson4/lesson4.6.py | madskoefoed/Machine-Learning-for-Trading.py | e79884e668470500b9b55e8f86aa2a1f734e60c3 | [
"MIT"
] | null | null | null | lesson4/lesson4.6.py | madskoefoed/Machine-Learning-for-Trading.py | e79884e668470500b9b55e8f86aa2a1f734e60c3 | [
"MIT"
] | null | null | null | # Lesson 4.6 - Creating NumPy arrays
import numpy as np
def test_run():
print(np.array([2,3,4]))
print(np.array([(2,3,4), (5,6,7)]))
if __name__ == "__main__":
test_run() | 20.444444 | 39 | 0.608696 | 33 | 184 | 3.090909 | 0.636364 | 0.137255 | 0.235294 | 0.254902 | 0.294118 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0.073333 | 0.184783 | 184 | 9 | 40 | 20.444444 | 0.606667 | 0.184783 | 0 | 0 | 0 | 0 | 0.053691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1de2c13dbd5538249161f89f0c82bb1c49ece330 | 16,247 | py | Python | hearthbreaker/tags/selector.py | yoazmenda/Hearthstone_deck_builder | b8fd89295b70d45f22a9e1834de789dc57c2ab54 | [
"MIT"
] | null | null | null | hearthbreaker/tags/selector.py | yoazmenda/Hearthstone_deck_builder | b8fd89295b70d45f22a9e1834de789dc57c2ab54 | [
"MIT"
] | null | null | null | hearthbreaker/tags/selector.py | yoazmenda/Hearthstone_deck_builder | b8fd89295b70d45f22a9e1834de789dc57c2ab54 | [
"MIT"
] | null | null | null | import abc
from hearthbreaker.tags.base import Selector, Player, Picker, Function, Amount, Condition
import hearthbreaker.tags.condition
class FriendlyPlayer(Player):
def match(self, source, obj):
return obj.player is source.player
def get_players(self, target):
return [target]
def __to_... | 28.304878 | 119 | 0.593279 | 1,808 | 16,247 | 5.128872 | 0.075774 | 0.067616 | 0.039254 | 0.03645 | 0.761889 | 0.717567 | 0.654696 | 0.602502 | 0.537259 | 0.466408 | 0 | 0.00106 | 0.303133 | 16,247 | 573 | 120 | 28.354276 | 0.817965 | 0.002585 | 0 | 0.585034 | 0 | 0 | 0.036783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.229025 | false | 0.002268 | 0.006803 | 0.115646 | 0.514739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1de4e3f27e701c127070d7617656562cbc856840 | 243 | py | Python | smdc/__init__.py | thinkdolabs/semantic-markdown-converter | 50c38243e8f11fac06fa36d2d5140c2a413e9c26 | [
"MIT"
] | 1 | 2020-12-17T02:49:08.000Z | 2020-12-17T02:49:08.000Z | smdc/__init__.py | thinkdolabs/semantic-markdown-converter | 50c38243e8f11fac06fa36d2d5140c2a413e9c26 | [
"MIT"
] | null | null | null | smdc/__init__.py | thinkdolabs/semantic-markdown-converter | 50c38243e8f11fac06fa36d2d5140c2a413e9c26 | [
"MIT"
] | null | null | null | from .note import Note, Relationship
from .args import convert_args, server_args
from smdc.format import FORMAT_TYPES
from .convert import convert
from .parse import parse_folder, parse_note, note_name, obsidian_url
from .server import server
| 34.714286 | 68 | 0.835391 | 37 | 243 | 5.297297 | 0.405405 | 0.132653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119342 | 243 | 6 | 69 | 40.5 | 0.915888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3804e733c033152dc0e49218cebb6af48113f852 | 1,375 | py | Python | test.py | Abhinav-ranish/covid-script | 143a26c2682394aa37366f5ea90ff59c3af92478 | [
"MIT"
] | 2 | 2021-09-11T19:31:17.000Z | 2021-09-18T09:10:03.000Z | test.py | Abhinav-ranish/covid-script | 143a26c2682394aa37366f5ea90ff59c3af92478 | [
"MIT"
] | null | null | null | test.py | Abhinav-ranish/covid-script | 143a26c2682394aa37366f5ea90ff59c3af92478 | [
"MIT"
] | null | null | null |
stats = [
{"ID":"900ee27f-fa31-4656-bce1-1f7fc2cfbf1a","Country":"Qatar","CountryCode":"QA","Province":"","City":"","CityCode":"","Lat":"25.35","Lon":"51.18","Confirmed":233567,"Deaths":602,"Recovered":0,"Active":232965,"Date":"2021-09-06T00:00:00Z"},
{"ID":"13a35a5c-e9d7-4d61-8ddc-0fbdf3f0a54b","Country":"Qatar","... | 105.769231 | 242 | 0.647273 | 185 | 1,375 | 4.810811 | 0.437838 | 0.067416 | 0.129213 | 0.140449 | 0.466292 | 0.382022 | 0.382022 | 0.382022 | 0.382022 | 0.382022 | 0 | 0.215046 | 0.042909 | 1,375 | 12 | 243 | 114.583333 | 0.461246 | 0.029091 | 0 | 0 | 0 | 0 | 0.584406 | 0.13626 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
381e1b9ed449d0e9940d12095c8b21c794da9866 | 125 | py | Python | bot/src/yellowbot/config.py | rainbowbreeze/yellowbutler | 1dac7d312fce78127cac45f17da526c6a66be36a | [
"Apache-2.0"
] | null | null | null | bot/src/yellowbot/config.py | rainbowbreeze/yellowbutler | 1dac7d312fce78127cac45f17da526c6a66be36a | [
"Apache-2.0"
] | null | null | null | bot/src/yellowbot/config.py | rainbowbreeze/yellowbutler | 1dac7d312fce78127cac45f17da526c6a66be36a | [
"Apache-2.0"
] | null | null | null | """Configuration file for the project
See example at
- https://github.com/airbnb/superset/blob/master/superset/config.py
""" | 25 | 67 | 0.768 | 18 | 125 | 5.333333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 125 | 5 | 68 | 25 | 0.842105 | 0.944 | 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 |
382af1efa8f5130678a884fa28bff1831e69ffc8 | 2,302 | py | Python | tests/test_parser.py | tomasfarias/Pygists | 11fcddc3b8be660c9d0afa4a612cf55b22d02393 | [
"MIT"
] | 1 | 2020-07-09T05:23:29.000Z | 2020-07-09T05:23:29.000Z | tests/test_parser.py | tomasfarias/Pygists | 11fcddc3b8be660c9d0afa4a612cf55b22d02393 | [
"MIT"
] | null | null | null | tests/test_parser.py | tomasfarias/Pygists | 11fcddc3b8be660c9d0afa4a612cf55b22d02393 | [
"MIT"
] | 1 | 2021-07-01T03:43:56.000Z | 2021-07-01T03:43:56.000Z | import datetime as dt
from pygists.cli import create_parser
def test_parse_ls_command():
parser = create_parser()
args = parser.parse_args([
'ls', '-s', '2019-01-01T12:00:01', '-u', 'test_user', '-t', 'test_token'
])
assert args.subcommand == 'ls'
assert args.username == 'test_user'
... | 31.108108 | 88 | 0.627281 | 306 | 2,302 | 4.526144 | 0.186275 | 0.187726 | 0.108303 | 0.137184 | 0.757401 | 0.757401 | 0.757401 | 0.712635 | 0.553791 | 0.347292 | 0 | 0.033696 | 0.200695 | 2,302 | 73 | 89 | 31.534247 | 0.719022 | 0 | 0 | 0.491228 | 0 | 0 | 0.288445 | 0.066898 | 0 | 0 | 0 | 0 | 0.45614 | 1 | 0.087719 | false | 0 | 0.035088 | 0 | 0.122807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
383f21317f15b45b57a9549a2ba729898455ea2f | 261 | py | Python | Python/leetcode/PascalsTriangle.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | 2 | 2015-12-02T06:44:01.000Z | 2016-05-04T21:40:54.000Z | Python/leetcode/PascalsTriangle.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | null | null | null | Python/leetcode/PascalsTriangle.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | null | null | null | '''
Created on 1.12.2016
@author: Darren
''''''
Given numRows, generate the first numRows of Pascal s triangle.
For example, given numRows = 5,
Return
[
[1],
[1,1],
[1,2,1],
[1,3,3,1],
[1,4,6,4,1]
]
"
'''
| 11.863636 | 65 | 0.475096 | 38 | 261 | 3.263158 | 0.631579 | 0.080645 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133721 | 0.340996 | 261 | 21 | 66 | 12.428571 | 0.587209 | 0.858238 | 0 | 0.153846 | 1 | 0 | 0.964103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
69736ae04c7ddb7685097e11cf97206ba1557f36 | 66 | py | Python | op2d/hal/backend/pihelpers/__init__.py | op2-project/op2-daemon | fb7878b3e7da44c2f639fdd9e09f30ca3fddf6cc | [
"FTL"
] | 10 | 2015-04-07T19:13:25.000Z | 2020-10-04T20:17:39.000Z | op2d/hal/backend/pihelpers/__init__.py | op2-project/op2-daemon | fb7878b3e7da44c2f639fdd9e09f30ca3fddf6cc | [
"FTL"
] | null | null | null | op2d/hal/backend/pihelpers/__init__.py | op2-project/op2-daemon | fb7878b3e7da44c2f639fdd9e09f30ca3fddf6cc | [
"FTL"
] | null | null | null |
"""Some utility modules for interfacing with the Raspberry Pi"""
| 22 | 64 | 0.757576 | 9 | 66 | 5.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 66 | 2 | 65 | 33 | 0.892857 | 0.878788 | 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 |
6983e5c055f125284eb7902921df700b24a919e1 | 137 | py | Python | lens/parsers/__init__.py | port-zero/lens | 06b52dd8ac3dde2f7f162a567f8e5e961e7209b1 | [
"MIT"
] | 11 | 2016-11-25T20:07:15.000Z | 2021-04-03T07:39:38.000Z | lens/parsers/__init__.py | port-zero/lens | 06b52dd8ac3dde2f7f162a567f8e5e961e7209b1 | [
"MIT"
] | null | null | null | lens/parsers/__init__.py | port-zero/lens | 06b52dd8ac3dde2f7f162a567f8e5e961e7209b1 | [
"MIT"
] | 2 | 2016-11-30T11:49:42.000Z | 2017-09-18T04:57:03.000Z | from lens.parsers.json import Parser as Json
from lens.parsers.xml import Parser as Xml
parsers = {
"json": Json,
"xml": Xml
}
| 17.125 | 44 | 0.678832 | 21 | 137 | 4.428571 | 0.380952 | 0.172043 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218978 | 137 | 7 | 45 | 19.571429 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0.051095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
698cc20668d76a7cfd9104c3bbb4219339272338 | 375 | py | Python | korbinian/__init__.py | teese/korbinian | 3715b40830957f04c4f44b01025449bc6b6a936e | [
"MIT"
] | 3 | 2018-03-08T12:03:50.000Z | 2018-04-09T12:44:39.000Z | korbinian/__init__.py | teese/korbinian | 3715b40830957f04c4f44b01025449bc6b6a936e | [
"MIT"
] | 2 | 2018-06-06T09:51:11.000Z | 2018-08-06T15:56:41.000Z | korbinian/__init__.py | teese/korbinian | 3715b40830957f04c4f44b01025449bc6b6a936e | [
"MIT"
] | null | null | null | import korbinian.common
import korbinian.cons_ratio
import korbinian.fasta
import korbinian.fastagap
import korbinian.gap
import korbinian.gap_figs
import korbinian.prot_list
import korbinian.simap_download
import korbinian.simap_parse
import korbinian.blast
import korbinian.filtering
import korbinian.utils
import korb... | 25 | 34 | 0.888 | 49 | 375 | 6.653061 | 0.408163 | 0.644172 | 0.110429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074667 | 375 | 14 | 35 | 26.785714 | 0.939481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
69965a0c4f266c305763bc6f1613b45c4c7c33b5 | 146 | py | Python | problemsets/Codeforces/Python/A1177.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Codeforces/Python/A1177.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Codeforces/Python/A1177.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | """
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
"""
k=int(input())
print(''.join(map(str,range(1,k+1)))[k-1]) | 18.25 | 42 | 0.609589 | 22 | 146 | 4.045455 | 0.727273 | 0.292135 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.123288 | 146 | 8 | 42 | 18.25 | 0.671875 | 0.513699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
69b70323e38f867f7815f861fd97033e54ee935e | 23 | py | Python | example_data/subdir/yes01.py | Cogmob/epr | 7217c978afd2af87cce06db0ad1e0ab7e395ee9d | [
"MIT"
] | null | null | null | example_data/subdir/yes01.py | Cogmob/epr | 7217c978afd2af87cce06db0ad1e0ab7e395ee9d | [
"MIT"
] | null | null | null | example_data/subdir/yes01.py | Cogmob/epr | 7217c978afd2af87cce06db0ad1e0ab7e395ee9d | [
"MIT"
] | null | null | null | afdskadfj
epr(((((
| 7.666667 | 12 | 0.521739 | 2 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 23 | 2 | 13 | 11.5 | 0.705882 | 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 |
69f33425d5865f53d275178d58bf066fa90bc701 | 121 | py | Python | scripts/hello_world_brunosxs.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | null | null | null | scripts/hello_world_brunosxs.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | null | null | null | scripts/hello_world_brunosxs.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | 1 | 2019-10-24T06:45:21.000Z | 2019-10-24T06:45:21.000Z | # LANGUAGE: Python
# AUTHOR: BrunoSXS
# GITHUB: https://github.com/brunosxs
#!/usr/bin/python3
print ("Hello, World!")
| 15.125 | 37 | 0.694215 | 15 | 121 | 5.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.123967 | 121 | 7 | 38 | 17.285714 | 0.783019 | 0.710744 | 0 | 0 | 0 | 0 | 0.433333 | 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 |
69fcffab7857dcb039cfa9fb3eba8cde0c027e4c | 46 | py | Python | Chapter 07/Chap07_Example7.58.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.58.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.58.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | t1 = ()
print(t1) # ET1
print(type(t1)) # ET2
| 11.5 | 21 | 0.565217 | 8 | 46 | 3.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.195652 | 46 | 3 | 22 | 15.333333 | 0.567568 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
3851c9af285e29a910e4c21de7825012b9fee7c4 | 34 | py | Python | tests/__init__.py | mmgalushka/object-detection-vae | f96d59cf3d63a4a8b84e7371b709bba7228607a8 | [
"MIT"
] | null | null | null | tests/__init__.py | mmgalushka/object-detection-vae | f96d59cf3d63a4a8b84e7371b709bba7228607a8 | [
"MIT"
] | null | null | null | tests/__init__.py | mmgalushka/object-detection-vae | f96d59cf3d63a4a8b84e7371b709bba7228607a8 | [
"MIT"
] | null | null | null | """
The Deeptrace test module.
""" | 11.333333 | 26 | 0.647059 | 4 | 34 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 3 | 27 | 11.333333 | 0.758621 | 0.764706 | 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 |
3856d6027fdd71b7d6e1504c1b289b22634dcebd | 630 | py | Python | terminaltables/__init__.py | liiight/terminaltables | 0ed2d3e7d658d14292899532a881d16477b74310 | [
"MIT"
] | 1 | 2017-03-16T12:02:11.000Z | 2017-03-16T12:02:11.000Z | terminaltables/__init__.py | liiight/terminaltables | 0ed2d3e7d658d14292899532a881d16477b74310 | [
"MIT"
] | null | null | null | terminaltables/__init__.py | liiight/terminaltables | 0ed2d3e7d658d14292899532a881d16477b74310 | [
"MIT"
] | 1 | 2021-04-20T11:13:21.000Z | 2021-04-20T11:13:21.000Z | """Generate simple tables in terminals from a nested list of strings.
Use SingleTable or DoubleTable instead of AsciiTable for box-drawing characters.
https://github.com/Robpol86/terminaltables
https://pypi.python.org/pypi/terminaltables
"""
from terminaltables.ascii_table import AsciiTable # noqa
from terminaltabl... | 35 | 80 | 0.815873 | 76 | 630 | 6.539474 | 0.552632 | 0.181087 | 0.177062 | 0.162978 | 0.235412 | 0.235412 | 0 | 0 | 0 | 0 | 0 | 0.012545 | 0.114286 | 630 | 17 | 81 | 37.058824 | 0.878136 | 0.415873 | 0 | 0 | 1 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
388bed36d460757341b816da4a713fa4231e376f | 31 | py | Python | chempy/_release.py | Narsil/chempy | ac7217f45a8cfe3b11ca771f78f0a04c07708818 | [
"BSD-2-Clause"
] | 30 | 2015-11-12T09:18:36.000Z | 2022-03-16T23:25:03.000Z | chempy/_release.py | Narsil/chempy | ac7217f45a8cfe3b11ca771f78f0a04c07708818 | [
"BSD-2-Clause"
] | 9 | 2016-01-01T22:37:28.000Z | 2018-08-15T11:17:48.000Z | pyneqsys/_release.py | bjodah/pyneqsys | 1e8b63ee6e820d33a87b95c057655df03e1e4fc6 | [
"BSD-2-Clause"
] | 4 | 2018-01-17T02:53:21.000Z | 2021-02-02T22:52:56.000Z | __version__ = "0.6.0.dev0+git"
| 15.5 | 30 | 0.677419 | 6 | 31 | 2.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.096774 | 31 | 1 | 31 | 31 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
38a607fdd14e14cfc9b3f2afc00fb7e6f1d91838 | 745 | py | Python | screen/vector.py | ablarry/pygraphforce | 6cb3481c97eaf029764fb3037cab0dc7425477a5 | [
"MIT"
] | null | null | null | screen/vector.py | ablarry/pygraphforce | 6cb3481c97eaf029764fb3037cab0dc7425477a5 | [
"MIT"
] | null | null | null | screen/vector.py | ablarry/pygraphforce | 6cb3481c97eaf029764fb3037cab0dc7425477a5 | [
"MIT"
] | null | null | null | import math
class Vector:
def __init__(self, x, y):
self.x = x
self.y = y
def point(self):
point = (math.floor(self.x), math.floor(self.y))
return point
def __mul__(self, other):
if isinstance(other, self.__class__):
return Vector(self.x * other.x, sel... | 25.689655 | 61 | 0.547651 | 107 | 745 | 3.588785 | 0.214953 | 0.117188 | 0.0625 | 0.177083 | 0.385417 | 0.328125 | 0.328125 | 0.328125 | 0.328125 | 0.328125 | 0 | 0.003846 | 0.302013 | 745 | 29 | 62 | 25.689655 | 0.734615 | 0 | 0 | 0 | 0 | 0 | 0.005362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.047619 | 0.190476 | 0.761905 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
38bad96cf1e58d5faa9b1ac62edae13c6093cd4d | 768 | py | Python | trace-viewer/PRESUBMIT.py | RSB4760/apq8016_external_chromium-trace | 45b575bb05b3714142a9d67b9bd153740ef99226 | [
"BSD-3-Clause"
] | null | null | null | trace-viewer/PRESUBMIT.py | RSB4760/apq8016_external_chromium-trace | 45b575bb05b3714142a9d67b9bd153740ef99226 | [
"BSD-3-Clause"
] | null | null | null | trace-viewer/PRESUBMIT.py | RSB4760/apq8016_external_chromium-trace | 45b575bb05b3714142a9d67b9bd153740ef99226 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import sys
def RunChecks(input_api, output_api):
results = []
from build import presubmit_checks
results += presubmit_checks.RunChecks(input_api)
r... | 28.444444 | 72 | 0.777344 | 107 | 768 | 5.364486 | 0.457944 | 0.125436 | 0.170732 | 0.207317 | 0.317073 | 0.1777 | 0.1777 | 0.1777 | 0.1777 | 0.1777 | 0 | 0.006107 | 0.147135 | 768 | 26 | 73 | 29.538462 | 0.870229 | 0.201823 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.117647 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c7ff35ee1e1148e038af0fa213f5d0c07a8aa7d3 | 13,510 | py | Python | tests/test_cli.py | tklebanoff/kapitan | 1e55f356ef0212f98fdf76bddc25f183dd42e694 | [
"Apache-2.0"
] | null | null | null | tests/test_cli.py | tklebanoff/kapitan | 1e55f356ef0212f98fdf76bddc25f183dd42e694 | [
"Apache-2.0"
] | null | null | null | tests/test_cli.py | tklebanoff/kapitan | 1e55f356ef0212f98fdf76bddc25f183dd42e694 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 The Kapitan Authors
#
# 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 ... | 35.459318 | 109 | 0.571577 | 1,473 | 13,510 | 5.023761 | 0.133062 | 0.095946 | 0.047568 | 0.016081 | 0.74027 | 0.726622 | 0.700541 | 0.698919 | 0.689189 | 0.678784 | 0 | 0.009947 | 0.30792 | 13,510 | 380 | 110 | 35.552632 | 0.781497 | 0.140415 | 0 | 0.731225 | 0 | 0 | 0.211655 | 0.044751 | 0 | 0 | 0 | 0 | 0.047431 | 1 | 0.051383 | false | 0 | 0.047431 | 0 | 0.102767 | 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 |
2a0455e2ac7b23b2fe1c4c73d67281ccd74544eb | 5,296 | py | Python | fec/version/v6_3/__init__.py | h4ck3rm1k3/FEC-Field-Documentation | c2f1f36e14c67ac3656c09f801b9f595d3e9f92e | [
"Unlicense"
] | 1 | 2016-06-13T23:54:31.000Z | 2016-06-13T23:54:31.000Z | fec/version/v6_3/__init__.py | h4ck3rm1k3/FEC-Field-Documentation | c2f1f36e14c67ac3656c09f801b9f595d3e9f92e | [
"Unlicense"
] | null | null | null | fec/version/v6_3/__init__.py | h4ck3rm1k3/FEC-Field-Documentation | c2f1f36e14c67ac3656c09f801b9f595d3e9f92e | [
"Unlicense"
] | 1 | 2019-07-03T10:35:19.000Z | 2019-07-03T10:35:19.000Z | import fec.version.v6_3.F1
import fec.version.v6_3.F10
import fec.version.v6_3.F105
import fec.version.v6_3.F13
import fec.version.v6_3.F132
import fec.version.v6_3.F133
import fec.version.v6_3.F1M
import fec.version.v6_3.F1S
import fec.version.v6_3.F2
import fec.version.v6_3.F24
import fec.version.v6_3.F2S
import fec.... | 31.52381 | 53 | 0.54494 | 760 | 5,296 | 3.646053 | 0.088158 | 0.382533 | 0.45904 | 0.497293 | 0.719596 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129421 | 0.311367 | 5,296 | 167 | 54 | 31.712575 | 0.630381 | 0 | 0 | 0 | 0 | 0 | 0.056269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005988 | false | 0 | 0.323353 | 0 | 0.335329 | 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 |
2a0dddeb579c74f293a07f211ac585ddcdd00619 | 109 | py | Python | recipes/Python/577000_Altering_immutable_string_object/recipe-577000.py | tdiprima/code | 61a74f5f93da087d27c70b2efe779ac6bd2a3b4f | [
"MIT"
] | 2,023 | 2017-07-29T09:34:46.000Z | 2022-03-24T08:00:45.000Z | recipes/Python/577000_Altering_immutable_string_object/recipe-577000.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 32 | 2017-09-02T17:20:08.000Z | 2022-02-11T17:49:37.000Z | recipes/Python/577000_Altering_immutable_string_object/recipe-577000.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 780 | 2017-07-28T19:23:28.000Z | 2022-03-25T20:39:41.000Z | from ctypes import *
s = "I'm immutable"
p = cast(c_char_p(s),POINTER(c_char))
p[4] = " "
p[5] = " "
print s
| 15.571429 | 37 | 0.59633 | 22 | 109 | 2.818182 | 0.681818 | 0.16129 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.192661 | 109 | 6 | 38 | 18.166667 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2a30b4e32518dba093093ce11ffeb1f9b3edc691 | 4,212 | py | Python | src/com/inductiveautomation/ignition/common/script/abc/__init__.py | thecesrom/8.1 | 0a0fa304137d9eca3e9fd8517b2c9569243121e4 | [
"MIT"
] | 1 | 2022-03-16T05:51:43.000Z | 2022-03-16T05:51:43.000Z | src/com/inductiveautomation/ignition/common/script/abc/__init__.py | thecesrom/8.1 | 0a0fa304137d9eca3e9fd8517b2c9569243121e4 | [
"MIT"
] | 3 | 2022-03-15T21:33:48.000Z | 2022-03-22T21:24:46.000Z | src/com/inductiveautomation/ignition/common/script/abc/__init__.py | thecesrom/8.1 | 0a0fa304137d9eca3e9fd8517b2c9569243121e4 | [
"MIT"
] | 1 | 2022-03-16T18:26:53.000Z | 2022-03-16T18:26:53.000Z | __all__ = [
"AbstractJythonMap",
"AbstractJythonSequence",
"AbstractMutableJythonMap",
"AbstractMutableJythonSequence",
"JythonMap",
"JythonSequence",
"MutableJythonMap",
"MutableJythonSequence",
]
class JythonMap(object):
def __contains__(self, item):
raise NotImplementedE... | 17.772152 | 59 | 0.618946 | 399 | 4,212 | 6.238095 | 0.140351 | 0.095621 | 0.303736 | 0.124548 | 0.527119 | 0.325432 | 0.2728 | 0.226999 | 0.196063 | 0.143833 | 0 | 0 | 0.301994 | 4,212 | 236 | 60 | 17.847458 | 0.846599 | 0 | 0 | 0.886076 | 0 | 0 | 0.036087 | 0.022792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.443038 | false | 0.240506 | 0 | 0 | 0.493671 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2a61bc7466f75783110034c2e3f249ed709351a6 | 2,162 | py | Python | DrawDataPlot.py | 1029153958/TrumpTwitterAnalysis-1 | c77702e1389a18467b46bad98bffc721c9a8bd18 | [
"MIT"
] | 1 | 2020-04-18T17:24:31.000Z | 2020-04-18T17:24:31.000Z | DrawDataPlot.py | 1029153958/TrumpTwitterAnalysis-1 | c77702e1389a18467b46bad98bffc721c9a8bd18 | [
"MIT"
] | null | null | null | DrawDataPlot.py | 1029153958/TrumpTwitterAnalysis-1 | c77702e1389a18467b46bad98bffc721c9a8bd18 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
# a=[1,3]
# b=["Indifferent","Positive"]
# plt.pie(a,labels=b,autopct='%1.2f%%',
# explode=[0.1 for i in range(len(a))],shadow=True,pctdistance=0.8)
# plt.title("Twitter's Content Analysis - England")
# plt.axis('equal')
# plt.show()
# datas=[('@BarackObama', 702),('@FoxNews', ... | 37.275862 | 124 | 0.586031 | 337 | 2,162 | 3.759644 | 0.448071 | 0.022099 | 0.033149 | 0.060773 | 0.446725 | 0.408051 | 0.408051 | 0.408051 | 0.382794 | 0.382794 | 0 | 0.090281 | 0.129047 | 2,162 | 57 | 125 | 37.929825 | 0.582581 | 0.935245 | 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 |
2a6452f16ca79427e44b0e24020100cd0f3eb3cc | 90 | py | Python | Handlers/callbacks/__init__.py | amrhwanis22/CarRecognition | 48285f1f56ca3543697ba3cdb726a88aecaf19a5 | [
"CNRI-Python"
] | null | null | null | Handlers/callbacks/__init__.py | amrhwanis22/CarRecognition | 48285f1f56ca3543697ba3cdb726a88aecaf19a5 | [
"CNRI-Python"
] | null | null | null | Handlers/callbacks/__init__.py | amrhwanis22/CarRecognition | 48285f1f56ca3543697ba3cdb726a88aecaf19a5 | [
"CNRI-Python"
] | null | null | null | from .TrainingMonitor import TrainingMonitor
from .epochcheckpoint import EpochCheckpoint
| 30 | 44 | 0.888889 | 8 | 90 | 10 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 45 | 45 | 0.97561 | 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 |
2a885ee9883a9a354f45f1e3f95a65bbe6ade045 | 463 | py | Python | rx/disposables/singleassignmentdisposable.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | rx/disposables/singleassignmentdisposable.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | rx/disposables/singleassignmentdisposable.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-11-04T11:13:49.000Z | 2021-11-04T11:13:49.000Z | from .booleandisposable import BooleanDisposable
class SingleAssignmentDisposable(BooleanDisposable):
"""Represents a disposable resource which only allows a single assignment
of its underlying disposable resource. If an underlying disposable resource
has already been set, future attempts to set the unde... | 38.583333 | 79 | 0.784017 | 51 | 463 | 6.960784 | 0.686275 | 0.202817 | 0.23662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168467 | 463 | 11 | 80 | 42.090909 | 0.922078 | 0.535637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2a8a4932ba12fb9bf3d912425e56f760d7c548b1 | 315 | py | Python | scripts/__main__.py | tompsh/tompsh.github.io | 3283ee2de46730adf14ef4f6bd2963b345500562 | [
"BSD-2-Clause"
] | null | null | null | scripts/__main__.py | tompsh/tompsh.github.io | 3283ee2de46730adf14ef4f6bd2963b345500562 | [
"BSD-2-Clause"
] | null | null | null | scripts/__main__.py | tompsh/tompsh.github.io | 3283ee2de46730adf14ef4f6bd2963b345500562 | [
"BSD-2-Clause"
] | null | null | null | from congress_crawler import CongressCrawler
from markdown_builders import CongressMarkdownBuilder, SenateMarkdownBuilder
from senate_crawler import SenateCrawler
if __name__ == "__main__":
SenateCrawler().run()
SenateMarkdownBuilder().run()
CongressCrawler().run()
CongressMarkdownBuilder().run()
| 31.5 | 76 | 0.796825 | 27 | 315 | 8.888889 | 0.555556 | 0.108333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120635 | 315 | 9 | 77 | 35 | 0.866426 | 0 | 0 | 0 | 0 | 0 | 0.025397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 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 |
aa5a1fb7851d71f1c4e6c89e67c519d0306ef585 | 13,450 | py | Python | portal/lib/dart/portal/blueprints/api/views.py | plockaby/dart | 43f8e471759fb05d9fdfce522ec9976e1e77ee08 | [
"Artistic-2.0"
] | 2 | 2021-06-10T19:18:12.000Z | 2021-11-03T00:35:44.000Z | portal/lib/dart/portal/blueprints/api/views.py | plockaby/dart | 43f8e471759fb05d9fdfce522ec9976e1e77ee08 | [
"Artistic-2.0"
] | null | null | null | portal/lib/dart/portal/blueprints/api/views.py | plockaby/dart | 43f8e471759fb05d9fdfce522ec9976e1e77ee08 | [
"Artistic-2.0"
] | 1 | 2021-10-05T09:52:34.000Z | 2021-10-05T09:52:34.000Z | from ...app import logger
from ...app import cache
from ... import requests as r
from . import api
from flask import make_response, jsonify, request
from dart.common.html import sanitize
from dart.common import PROCESSES_TO_IGNORE
import requests
import traceback
import yaml
@api.route("/hosts", methods=["GET"])
def ... | 38.101983 | 153 | 0.61658 | 1,596 | 13,450 | 5.096491 | 0.107143 | 0.087042 | 0.137817 | 0.178264 | 0.747971 | 0.719572 | 0.701131 | 0.657487 | 0.639415 | 0.603885 | 0 | 0.025421 | 0.236654 | 13,450 | 352 | 154 | 38.210227 | 0.766826 | 0.04171 | 0 | 0.630037 | 0 | 0 | 0.149472 | 0.027812 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.03663 | 0.040293 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa87883a2223fe52c866e4b31c0eec4ffc6fa44d | 59 | py | Python | AT/test6/__init__.py | cheneytest/testgit | 570a3317a1b04b19c24a66e129df252cf8777e03 | [
"BSD-Source-Code"
] | null | null | null | AT/test6/__init__.py | cheneytest/testgit | 570a3317a1b04b19c24a66e129df252cf8777e03 | [
"BSD-Source-Code"
] | null | null | null | AT/test6/__init__.py | cheneytest/testgit | 570a3317a1b04b19c24a66e129df252cf8777e03 | [
"BSD-Source-Code"
] | null | null | null | # make Python treat the directories as containing packages
| 29.5 | 58 | 0.830508 | 8 | 59 | 6.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 1 | 59 | 59 | 0.98 | 0.949153 | 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 |
aa879df12e2f25e61066ee7ce142f999fad4ba03 | 162 | py | Python | babi/_types.py | ClasherKasten/babi | e11d61da9387b3740fcf7c9ec631e51cfd4b194b | [
"MIT"
] | 223 | 2019-07-14T04:21:24.000Z | 2022-03-23T21:34:11.000Z | babi/_types.py | ClasherKasten/babi | e11d61da9387b3740fcf7c9ec631e51cfd4b194b | [
"MIT"
] | 101 | 2019-09-02T02:25:22.000Z | 2022-03-23T20:18:34.000Z | babi/_types.py | ClasherKasten/babi | e11d61da9387b3740fcf7c9ec631e51cfd4b194b | [
"MIT"
] | 57 | 2019-10-19T23:30:13.000Z | 2022-03-21T21:43:05.000Z | from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from typing import Protocol # python3.8+
else:
Protocol = object
| 18 | 45 | 0.771605 | 21 | 162 | 5.666667 | 0.619048 | 0.168067 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.191358 | 162 | 8 | 46 | 20.25 | 0.89313 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 4 |
aab90367f995aeaad791be0e5e976142a0baaa64 | 151 | py | Python | venv/lib/python2.7/site-packages/newrelic-2.62.0.47/newrelic/api/pre_function.py | CharleyFarley/ovvio | 81489ee64f91e4aab908731ce6ddf59edb9314bf | [
"MIT"
] | 1 | 2016-04-22T15:44:08.000Z | 2016-04-22T15:44:08.000Z | lib/python2.7/site-packages/newrelic-2.12.0.10/newrelic/api/pre_function.py | Arable/evepod | 85638e76cb8529e8ed38fa9849596374719bcb91 | [
"Apache-2.0"
] | null | null | null | lib/python2.7/site-packages/newrelic-2.12.0.10/newrelic/api/pre_function.py | Arable/evepod | 85638e76cb8529e8ed38fa9849596374719bcb91 | [
"Apache-2.0"
] | null | null | null | # Use of these from this module will be deprecated.
from ..common.object_wrapper import (pre_function, PreFunctionWrapper,
wrap_pre_function)
| 30.2 | 70 | 0.774834 | 20 | 151 | 5.65 | 0.85 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165563 | 151 | 4 | 71 | 37.75 | 0.896825 | 0.324503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2ae397a5b5259afe4b8a9e1c48ae102e969780b0 | 106 | py | Python | snake/test.py | saikiran1096/snake_q_learning | d7fb135886c6df26f87fbae3e97e0902f4fa3765 | [
"MIT"
] | null | null | null | snake/test.py | saikiran1096/snake_q_learning | d7fb135886c6df26f87fbae3e97e0902f4fa3765 | [
"MIT"
] | null | null | null | snake/test.py | saikiran1096/snake_q_learning | d7fb135886c6df26f87fbae3e97e0902f4fa3765 | [
"MIT"
] | null | null | null | import snake
import tensorflow as tf
x = tf.ones((4, snake.model.model.NUM_CLASSES), dtype=tf.float32)
| 15.142857 | 65 | 0.745283 | 18 | 106 | 4.333333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.132075 | 106 | 6 | 66 | 17.666667 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
6332c7e08b364e7b99d22445f7f071bb4f0dbf08 | 78 | py | Python | tory.py | tsteining/cs3240-labdemo | 5ea6d91724920afd934e524b5a8f508e441b534e | [
"MIT"
] | null | null | null | tory.py | tsteining/cs3240-labdemo | 5ea6d91724920afd934e524b5a8f508e441b534e | [
"MIT"
] | null | null | null | tory.py | tsteining/cs3240-labdemo | 5ea6d91724920afd934e524b5a8f508e441b534e | [
"MIT"
] | null | null | null | import helper
if __name__ == "__main__":
helper.greeting("my name is tory")
| 15.6 | 35 | 0.717949 | 11 | 78 | 4.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 4 | 36 | 19.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.294872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6333e4611acbdec7e1a798a6ec129ec1af74903f | 24 | py | Python | rotkehlchen/chain/ethereum/modules/aave/constants.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 137 | 2018-03-05T11:53:29.000Z | 2019-11-03T16:38:42.000Z | rotkehlchen/chain/ethereum/modules/aave/constants.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 385 | 2018-03-08T12:43:41.000Z | 2019-11-10T09:15:36.000Z | rotkehlchen/chain/ethereum/modules/aave/constants.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 59 | 2018-03-08T10:08:27.000Z | 2019-10-26T11:30:44.000Z | CPT_AAVE_V1 = 'aave-v1'
| 12 | 23 | 0.708333 | 5 | 24 | 3 | 0.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.125 | 24 | 1 | 24 | 24 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2d50c965c21584335275e37eb7b7d41e1ce92e29 | 70 | py | Python | gweld/chart.py | ieuan-jones/gweld | b4afba685f7f75379cd17c1fc0ab83e2e9009e80 | [
"MIT"
] | null | null | null | gweld/chart.py | ieuan-jones/gweld | b4afba685f7f75379cd17c1fc0ab83e2e9009e80 | [
"MIT"
] | null | null | null | gweld/chart.py | ieuan-jones/gweld | b4afba685f7f75379cd17c1fc0ab83e2e9009e80 | [
"MIT"
] | null | null | null | from lxml import etree
class Chart:
def plot(self):
pass
| 11.666667 | 22 | 0.628571 | 10 | 70 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314286 | 70 | 5 | 23 | 14 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2d6f6c4f94d45b7cf4de86084c80fe658f4edf25 | 138 | py | Python | locale/pot/api/utilities/_autosummary/pyvista-ParametricFigure8Klein-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/utilities/_autosummary/pyvista-ParametricFigure8Klein-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/utilities/_autosummary/pyvista-ParametricFigure8Klein-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | # Create a ParametricFigure8Klein mesh
#
import pyvista
mesh = pyvista.ParametricFigure8Klein()
mesh.plot(color='w', smooth_shading=True)
| 23 | 41 | 0.804348 | 16 | 138 | 6.875 | 0.75 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.094203 | 138 | 5 | 42 | 27.6 | 0.864 | 0.26087 | 0 | 0 | 0 | 0 | 0.010101 | 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 |
2d78320df0a9ebe132209e6dfc157ef14b3998e4 | 1,145 | py | Python | models.py | penzance/student_locations | 44618a237a9061dbc9d705810ad88d255781f44d | [
"MIT"
] | 1 | 2015-06-12T13:48:42.000Z | 2015-06-12T13:48:42.000Z | models.py | penzance/student_locations | 44618a237a9061dbc9d705810ad88d255781f44d | [
"MIT"
] | null | null | null | models.py | penzance/student_locations | 44618a237a9061dbc9d705810ad88d255781f44d | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Locations(models.Model):
resource_link_id = models.CharField(max_length=50)
user_id = models.CharField(max_length=50)
first_name = models.CharField(max_length=50)
last_name = models.CharField(max_length=50)
email = models.CharField(ma... | 36.935484 | 60 | 0.747598 | 143 | 1,145 | 5.755245 | 0.286713 | 0.291616 | 0.349939 | 0.466586 | 0.500608 | 0.308627 | 0 | 0 | 0 | 0 | 0 | 0.036045 | 0.151965 | 1,145 | 30 | 61 | 38.166667 | 0.811535 | 0.020961 | 0 | 0 | 0 | 0 | 0.020554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.958333 | 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 |
2dd7811e2fc306be1c5767d480f72ee92ff20c8c | 147 | py | Python | SCS/apps.py | hellen6654/DataBase_CGHP | d4e393d3994c3a7b576c651ad2ac7ef919a3f386 | [
"MIT"
] | null | null | null | SCS/apps.py | hellen6654/DataBase_CGHP | d4e393d3994c3a7b576c651ad2ac7ef919a3f386 | [
"MIT"
] | null | null | null | SCS/apps.py | hellen6654/DataBase_CGHP | d4e393d3994c3a7b576c651ad2ac7ef919a3f386 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ScsConfig(AppConfig):
name = 'SCS'
verbose_name = '購物車管理子系統'
verbose_name_plural = '購物車管理子系統' | 21 | 36 | 0.721088 | 17 | 147 | 6.058824 | 0.705882 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 147 | 7 | 36 | 21 | 0.865546 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 |
2df3d93f9424a474942dce41d7be0db2c141526b | 115 | py | Python | memories/app.py | marchelbling/memories-api | e82d6c6ae2b7873fc35ebb301fc073e3ef968a1e | [
"MIT"
] | null | null | null | memories/app.py | marchelbling/memories-api | e82d6c6ae2b7873fc35ebb301fc073e3ef968a1e | [
"MIT"
] | null | null | null | memories/app.py | marchelbling/memories-api | e82d6c6ae2b7873fc35ebb301fc073e3ef968a1e | [
"MIT"
] | null | null | null | import falcon
from api.search import SearchApi
app = falcon.API()
# search
app.add_route('/search', SearchApi())
| 14.375 | 37 | 0.73913 | 16 | 115 | 5.25 | 0.5625 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 7 | 38 | 16.428571 | 0.84 | 0.052174 | 0 | 0 | 0 | 0 | 0.065421 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.