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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
59040716d8c25f4fb41df2d02b1e2fadda0f085f | 242 | py | Python | openscraper/scraper/downloaders.py | thibault/OpenScraper | 218aad63a71c8e653d5f23e598ce02654a820b4c | [
"MIT"
] | 79 | 2018-03-07T11:15:37.000Z | 2022-03-26T13:12:39.000Z | openscraper/scraper/downloaders.py | entrepreneur-interet-general/SocialConnect_openscrapper | 7baa8a290f2ba35486ebd6517de87a8aca39bf43 | [
"MIT"
] | 62 | 2018-10-03T10:06:14.000Z | 2022-03-02T14:54:30.000Z | openscraper/scraper/downloaders.py | entrepreneur-interet-general/SocialConnect_openscrapper | 7baa8a290f2ba35486ebd6517de87a8aca39bf43 | [
"MIT"
] | 22 | 2018-03-08T10:20:13.000Z | 2022-02-18T13:15:52.000Z |
from scrapy.core.downloader.handlers.http import HttpDownloadHandler
class HttpsDownloaderIgnoreCNError (HttpDownloadHandler) :
def __init__(self, *args, **kwargs):
super(HttpsDownloaderIgnoreCNError, self).__init__(*args, **kwargs) | 30.25 | 69 | 0.797521 | 22 | 242 | 8.409091 | 0.727273 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 242 | 8 | 70 | 30.25 | 0.848624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
591556d03972185690aa1399cebc2fb32dd367c7 | 75 | py | Python | answer/a8_kurikaesi_for.py | breeze-shared-inc/python_training_01 | 7e918b37adbce062ae279f060bc25cfacda2fb85 | [
"MIT"
] | null | null | null | answer/a8_kurikaesi_for.py | breeze-shared-inc/python_training_01 | 7e918b37adbce062ae279f060bc25cfacda2fb85 | [
"MIT"
] | 1 | 2020-05-11T04:59:04.000Z | 2020-05-11T05:29:08.000Z | answer/a8_kurikaesi_for.py | bzgwhite/python_training_01 | 7e918b37adbce062ae279f060bc25cfacda2fb85 | [
"MIT"
] | null | null | null | for i in range(11):
print(i)
for i in "pythonの世界へようこそ":
print(i)
| 10.714286 | 26 | 0.6 | 13 | 75 | 3.461538 | 0.538462 | 0.177778 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.266667 | 75 | 6 | 27 | 12.5 | 0.781818 | 0 | 0 | 0.5 | 0 | 0 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
591c9613b607e7397a24e6372e95027ee8072879 | 80 | py | Python | ceph/datadog_checks/ceph/__init__.py | dvanderveer/integrations-core | 41dd9950296455457c9b7342584153678503d5aa | [
"BSD-3-Clause"
] | 2 | 2019-04-03T17:21:38.000Z | 2020-02-04T16:28:05.000Z | ceph/datadog_checks/ceph/__init__.py | dvanderveer/integrations-core | 41dd9950296455457c9b7342584153678503d5aa | [
"BSD-3-Clause"
] | 10 | 2018-02-27T19:06:07.000Z | 2021-08-30T03:23:26.000Z | ceph/datadog_checks/ceph/__init__.py | dvanderveer/integrations-core | 41dd9950296455457c9b7342584153678503d5aa | [
"BSD-3-Clause"
] | 6 | 2018-01-09T21:37:20.000Z | 2020-05-26T09:28:09.000Z | from . import ceph
Ceph = ceph.Ceph
__version__ = "1.3.0"
__all__ = ['ceph']
| 10 | 21 | 0.6375 | 12 | 80 | 3.583333 | 0.666667 | 0.55814 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.2 | 80 | 7 | 22 | 11.428571 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
591fd21b4e2335c1343f1e1be8ae27dc2497ad34 | 196 | py | Python | djangocms_comments/urls.py | gruy/djangocms-comments | d66b2a13c2cd5e7a68ab241e319bee0929ad8f33 | [
"MIT"
] | null | null | null | djangocms_comments/urls.py | gruy/djangocms-comments | d66b2a13c2cd5e7a68ab241e319bee0929ad8f33 | [
"MIT"
] | null | null | null | djangocms_comments/urls.py | gruy/djangocms-comments | d66b2a13c2cd5e7a68ab241e319bee0929ad8f33 | [
"MIT"
] | 2 | 2020-07-10T13:15:43.000Z | 2021-07-09T10:10:30.000Z | from django.conf.urls import *
from djangocms_comments.views import SaveComment
urlpatterns = [
url(r'^ajax/save_comment$', SaveComment.as_view(), name='djangocms_comments_save_comment'),
]
| 24.5 | 95 | 0.77551 | 25 | 196 | 5.84 | 0.72 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 196 | 7 | 96 | 28 | 0.834286 | 0 | 0 | 0 | 0 | 0 | 0.255102 | 0.158163 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
593dd80c86eaa599d16db81a2dca7135e77026e6 | 88 | py | Python | codes_auto/174.dungeon-game.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/174.dungeon-game.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/174.dungeon-game.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=174 lang=python3
#
# [174] dungeon-game
#
None
# @lc code=end | 12.571429 | 41 | 0.659091 | 15 | 88 | 3.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 0.159091 | 88 | 7 | 42 | 12.571429 | 0.689189 | 0.806818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3ca0d2452ab88fb954542eb7b01d7095ed8f90ec | 155 | py | Python | prognum.py | xyzpda/algorithm | b8a3e66214a836b1a6f6d2e3a086ed09d7f2ebc8 | [
"MIT"
] | null | null | null | prognum.py | xyzpda/algorithm | b8a3e66214a836b1a6f6d2e3a086ed09d7f2ebc8 | [
"MIT"
] | null | null | null | prognum.py | xyzpda/algorithm | b8a3e66214a836b1a6f6d2e3a086ed09d7f2ebc8 | [
"MIT"
] | null | null | null | def fibonum(num):
if num == 1:
return 1
elif num == 2:
return 1
else:
return fibonum(num - 1) + fibonum(num - 2)
| 15.5 | 50 | 0.470968 | 21 | 155 | 3.47619 | 0.428571 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.419355 | 155 | 9 | 51 | 17.222222 | 0.744444 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 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 |
3cb726a27452f2f8057fbf7c3d9201ac8fa0d7d3 | 297 | py | Python | Parte1/Cap5/exercicios/fase_life.py | fabianoflorentino/python-CursoIntensivoDePython | 822288cc4b382936dde1bc647e3f8c2b925ced70 | [
"Apache-2.0"
] | null | null | null | Parte1/Cap5/exercicios/fase_life.py | fabianoflorentino/python-CursoIntensivoDePython | 822288cc4b382936dde1bc647e3f8c2b925ced70 | [
"Apache-2.0"
] | null | null | null | Parte1/Cap5/exercicios/fase_life.py | fabianoflorentino/python-CursoIntensivoDePython | 822288cc4b382936dde1bc647e3f8c2b925ced70 | [
"Apache-2.0"
] | 1 | 2020-02-05T13:07:08.000Z | 2020-02-05T13:07:08.000Z | age = int(input('What your age?: '))
if age <= 2:
print('Is a baby!')
elif age <= 4:
print('You are a children!')
elif age <= 13:
print('You are a kid!')
elif age <= 20:
print('You are a teenager!')
elif age <= 65:
print('You are a adult!')
else:
print('You are a old!')
| 18.5625 | 36 | 0.558923 | 51 | 297 | 3.254902 | 0.470588 | 0.240964 | 0.331325 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036199 | 0.255892 | 297 | 15 | 37 | 19.8 | 0.714932 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.461538 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3cd5b78ec244387097f1945d44936c89938e88dd | 675 | py | Python | bxemu/strategy.py | phonegapX/bxemu | c78ba0db959f8f47e3db0ed94c210360b5c5f001 | [
"MIT"
] | 5 | 2020-04-08T23:21:22.000Z | 2021-09-07T18:30:39.000Z | bxemu/strategy.py | phonegapX/bxemu | c78ba0db959f8f47e3db0ed94c210360b5c5f001 | [
"MIT"
] | null | null | null | bxemu/strategy.py | phonegapX/bxemu | c78ba0db959f8f47e3db0ed94c210360b5c5f001 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from abc import ABCMeta, abstractmethod
from six import with_metaclass
class StrategyTemplate(with_metaclass(ABCMeta)):
"""
策略模板
"""
def __init__(self, pm):
"""Constructor"""
self.pm = pm
@abstractmethod
def onInit(self):
... | 19.852941 | 49 | 0.53037 | 58 | 675 | 6.068966 | 0.551724 | 0.193182 | 0.230114 | 0.255682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002262 | 0.345185 | 675 | 34 | 50 | 19.852941 | 0.794118 | 0.171852 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.235294 | 0.117647 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3cd9a846e303e63e3e9ff71aba07aff8ceda01f6 | 98 | py | Python | cliente/admin.py | Moisestuli/karrata | 962ce0c573214bfc83720727c9cacae823a8c372 | [
"MIT"
] | null | null | null | cliente/admin.py | Moisestuli/karrata | 962ce0c573214bfc83720727c9cacae823a8c372 | [
"MIT"
] | null | null | null | cliente/admin.py | Moisestuli/karrata | 962ce0c573214bfc83720727c9cacae823a8c372 | [
"MIT"
] | null | null | null | from django.contrib import admin
from cliente.models import Cliente
admin.site.register(Cliente)
| 19.6 | 34 | 0.836735 | 14 | 98 | 5.857143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 98 | 4 | 35 | 24.5 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3cdc0ff56529bc2bb2d0bba55aa4eece615d34a5 | 371 | py | Python | paymentwall/onetimetoken.py | bilabon/paymentwall-python | 9ff7b71ab2cc2165664fb267a2a07657269e0c27 | [
"MIT"
] | null | null | null | paymentwall/onetimetoken.py | bilabon/paymentwall-python | 9ff7b71ab2cc2165664fb267a2a07657269e0c27 | [
"MIT"
] | null | null | null | paymentwall/onetimetoken.py | bilabon/paymentwall-python | 9ff7b71ab2cc2165664fb267a2a07657269e0c27 | [
"MIT"
] | null | null | null | from paymentwall.apiobject import ApiObject
class OneTimeToken(ApiObject):
def __init__(self):
super().__init__(self, obj='token')
def get_token(self):
return self.get_response()['token']
def is_active(self):
return self.get_response()['active']
def get_expiration_time(self)... | 23.1875 | 48 | 0.673854 | 45 | 371 | 5.2 | 0.466667 | 0.128205 | 0.179487 | 0.217949 | 0.320513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202156 | 371 | 15 | 49 | 24.733333 | 0.790541 | 0 | 0 | 0 | 0 | 0 | 0.070081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.3 | 0.9 | 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 |
3ce6fcdedff075a1d440e7fa229170c58d2fc248 | 203 | py | Python | SORTING/BubbleSort.py | uditmaherwal/Algorithms | b23ec432af28d54f149349c6e5beae7a6716ae17 | [
"MIT"
] | 1 | 2020-04-25T05:01:44.000Z | 2020-04-25T05:01:44.000Z | SORTING/BubbleSort.py | uditmaherwal/Algorithms | b23ec432af28d54f149349c6e5beae7a6716ae17 | [
"MIT"
] | null | null | null | SORTING/BubbleSort.py | uditmaherwal/Algorithms | b23ec432af28d54f149349c6e5beae7a6716ae17 | [
"MIT"
] | 2 | 2020-03-05T16:35:08.000Z | 2020-05-06T12:54:42.000Z | def bubblesort(array):
length = len(array)-1
for i in range(length,0,-1):
for j in range(i):
if array[j] > array[j+1]:
array[j],array[j+1]=array[j+1],array[j]
| 29 | 55 | 0.517241 | 35 | 203 | 3 | 0.371429 | 0.342857 | 0.2 | 0.342857 | 0.371429 | 0.304762 | 0.304762 | 0 | 0 | 0 | 0 | 0.042553 | 0.305419 | 203 | 6 | 56 | 33.833333 | 0.702128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3cee5520618ff83a7e8c16bcfe3d4a9b98372365 | 475 | py | Python | pricemoovtestapp/users/models.py | cterence/pricemoov-django-testapp | 3e483ca5fae4e7766556bb9864ce29756b0fe004 | [
"MIT"
] | null | null | null | pricemoovtestapp/users/models.py | cterence/pricemoov-django-testapp | 3e483ca5fae4e7766556bb9864ce29756b0fe004 | [
"MIT"
] | null | null | null | pricemoovtestapp/users/models.py | cterence/pricemoov-django-testapp | 3e483ca5fae4e7766556bb9864ce29756b0fe004 | [
"MIT"
] | null | null | null | from django.db import models
class User(models.Model):
id = models.AutoField(primary_key=True, blank=True)
first_name = models.CharField(max_length=200)
last_name = models.CharField(max_length=200)
login = models.CharField(max_length=200, unique=True)
password = models.CharField(max_length=200)
... | 39.583333 | 58 | 0.753684 | 66 | 475 | 5.257576 | 0.5 | 0.15562 | 0.207493 | 0.345821 | 0.504323 | 0.178674 | 0 | 0 | 0 | 0 | 0 | 0.04401 | 0.138947 | 475 | 12 | 59 | 39.583333 | 0.804401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
3cf0ab3db0d16e2cb1a24482520ea26cb8565754 | 308 | py | Python | shop/serializer.py | threecoolcat/ThreeCoolCat | 805f37b4cc68dce768356c0042663d0659abd6cb | [
"MIT"
] | 6 | 2021-08-07T10:51:25.000Z | 2022-02-25T04:59:02.000Z | shop/serializer.py | threecoolcat/ThreeCoolCat | 805f37b4cc68dce768356c0042663d0659abd6cb | [
"MIT"
] | null | null | null | shop/serializer.py | threecoolcat/ThreeCoolCat | 805f37b4cc68dce768356c0042663d0659abd6cb | [
"MIT"
] | 2 | 2021-09-15T10:22:05.000Z | 2022-01-19T07:12:04.000Z | from rest_framework import serializers
from .models import Book, Video
class BookSerializer(serializers.ModelSerializer):
class Meta:
model = Book
fields = "__all__"
class VideoSerializer(serializers.ModelSerializer):
class Meta:
model = Video
fields = "__all__"
| 19.25 | 51 | 0.694805 | 30 | 308 | 6.833333 | 0.533333 | 0.253659 | 0.302439 | 0.341463 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24026 | 308 | 15 | 52 | 20.533333 | 0.876068 | 0 | 0 | 0.4 | 0 | 0 | 0.045603 | 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 |
3cf7bc4fa40d6542ac19a453420de15a63fb65d8 | 85 | py | Python | test.py | Tesla2fox/rescuePathPlanning | 1ea86d0ff8a8eab90fd73d2adef13fdd316b8e03 | [
"MIT"
] | null | null | null | test.py | Tesla2fox/rescuePathPlanning | 1ea86d0ff8a8eab90fd73d2adef13fdd316b8e03 | [
"MIT"
] | null | null | null | test.py | Tesla2fox/rescuePathPlanning | 1ea86d0ff8a8eab90fd73d2adef13fdd316b8e03 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat Sep 8 16:04:50 2018
@author: robot
"""
| 10.625 | 35 | 0.552941 | 14 | 85 | 3.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.223529 | 85 | 7 | 36 | 12.142857 | 0.530303 | 0.870588 | 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 |
5959140f39a4fa6cf927de65804190fc8b59ee10 | 146 | py | Python | pokemon/pagination.py | pessman/pokemon_utils | cbe06ebe323cb38a35846274d812bdbe8d0ae8ca | [
"MIT"
] | 1 | 2019-03-11T04:12:50.000Z | 2019-03-11T04:12:50.000Z | pokemon/pagination.py | pessman/pokemon_utils | cbe06ebe323cb38a35846274d812bdbe8d0ae8ca | [
"MIT"
] | null | null | null | pokemon/pagination.py | pessman/pokemon_utils | cbe06ebe323cb38a35846274d812bdbe8d0ae8ca | [
"MIT"
] | 2 | 2019-03-13T03:17:29.000Z | 2019-04-04T20:06:50.000Z | from rest_framework.pagination import PageNumberPagination
class PokemonPagination(PageNumberPagination):
page_size_query_param = 'page_size' | 36.5 | 58 | 0.863014 | 15 | 146 | 8.066667 | 0.8 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089041 | 146 | 4 | 59 | 36.5 | 0.909774 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 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 |
59961a2a31d8cde9a4713988ae7cb5eade3cf20b | 301 | py | Python | nesi/devices/huawei/huawei_resources/__init__.py | inexio/NESi | 920b23ccaf293733b4b571e4df27929c036257f7 | [
"BSD-2-Clause"
] | 30 | 2020-09-03T06:02:38.000Z | 2022-03-11T16:34:18.000Z | nesi/huawei/huawei_resources/__init__.py | Tubbz-alt/NESi | 0db169dd6378fbd097380280cc41440e652de19e | [
"BSD-2-Clause"
] | 2 | 2021-01-15T10:33:23.000Z | 2021-02-21T21:04:37.000Z | nesi/huawei/huawei_resources/__init__.py | Tubbz-alt/NESi | 0db169dd6378fbd097380280cc41440e652de19e | [
"BSD-2-Clause"
] | 3 | 2020-12-19T09:11:19.000Z | 2022-02-07T22:15:34.000Z | __all__ = ["huawei_card", "huawei_vlan", "huawei_port_profile", "huawei_cpe_port", "huawei_cpe", "huawei_emu",
"huawei_ont_port", "huawei_ont", "huawei_port", "huawei_subrack", "huawei_service_port",
"huawei_service_vlan", "huawei_vlan_interface", "huawei_route", "huawei_user"]
| 75.25 | 110 | 0.714286 | 37 | 301 | 5.135135 | 0.378378 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129568 | 301 | 3 | 111 | 100.333333 | 0.725191 | 0 | 0 | 0 | 0 | 0 | 0.69103 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
59aadaf765be449335580857d78e1f9f59deb1a1 | 124 | py | Python | setup.py | jd-jones/seqtools | 280e2fe1d8a925e03f436d73ff81ab638a4ce7b8 | [
"MIT"
] | 1 | 2020-11-19T17:00:18.000Z | 2020-11-19T17:00:18.000Z | setup.py | jd-jones/seqtools | 280e2fe1d8a925e03f436d73ff81ab638a4ce7b8 | [
"MIT"
] | null | null | null | setup.py | jd-jones/seqtools | 280e2fe1d8a925e03f436d73ff81ab638a4ce7b8 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name="seqtools",
version='0.0',
packages=find_packages(),
)
| 15.5 | 43 | 0.685484 | 15 | 124 | 5.533333 | 0.666667 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.185484 | 124 | 7 | 44 | 17.714286 | 0.80198 | 0 | 0 | 0 | 0 | 0 | 0.08871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 |
59e1662f961088ce685f224cdff5e65e9bb339d9 | 127 | py | Python | resources/util/get_to_work.py | marrcio/relate-kanji | 1f21892e546194c65f87b42ee45bee706b21ec92 | [
"MIT"
] | null | null | null | resources/util/get_to_work.py | marrcio/relate-kanji | 1f21892e546194c65f87b42ee45bee706b21ec92 | [
"MIT"
] | null | null | null | resources/util/get_to_work.py | marrcio/relate-kanji | 1f21892e546194c65f87b42ee45bee706b21ec92 | [
"MIT"
] | null | null | null | import toolbox as tb
from structures import IP, IS
from statistics import Statistics
from kanji import Kanji
S = Statistics()
| 18.142857 | 33 | 0.80315 | 19 | 127 | 5.368421 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 127 | 6 | 34 | 21.166667 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 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 |
aba6e5cfad9ea56b41475c553a7a5ac38e9f05b1 | 33 | py | Python | test_apps/python_app/targets/tester/v93k_smt8.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | null | null | null | test_apps/python_app/targets/tester/v93k_smt8.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | 127 | 2019-11-23T17:09:35.000Z | 2021-09-02T11:06:20.000Z | test_apps/python_app/targets/tester/v93k_smt8.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | null | null | null | origen.tester.target("V93KSMT8")
| 16.5 | 32 | 0.787879 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.030303 | 33 | 1 | 33 | 33 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
abb08b09252d0b7310697270abb089296b690ebd | 547 | py | Python | sampler/sampler_factory.py | zihaomu/HID_2020_baseline | c2c3705707695a969d24aa52c225aa3f85c7a4f3 | [
"Apache-2.0"
] | 34 | 2020-08-26T14:53:13.000Z | 2021-09-26T12:41:55.000Z | sampler/sampler_factory.py | zihaomu/HID_2020_baseline | c2c3705707695a969d24aa52c225aa3f85c7a4f3 | [
"Apache-2.0"
] | 1 | 2020-10-10T14:29:25.000Z | 2020-10-10T19:28:03.000Z | sampler/sampler_factory.py | zihaomu/HID_2020_baseline | c2c3705707695a969d24aa52c225aa3f85c7a4f3 | [
"Apache-2.0"
] | 7 | 2020-09-06T06:49:45.000Z | 2022-03-11T11:13:39.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from torch.utils.data.sampler import BatchSampler
from .weight import WeightSampler
def get_batch(dataset, config):
# (sampler, batch_size, drop_last):
return None
def get_weight(dataset,... | 28.789474 | 100 | 0.758684 | 71 | 547 | 5.535211 | 0.408451 | 0.165394 | 0.122137 | 0.101781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00432 | 0.153565 | 547 | 19 | 101 | 28.789474 | 0.844492 | 0.060329 | 0 | 0 | 0 | 0 | 0.008081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.416667 | 0.166667 | 0.916667 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
abea3f2372e934f5ecbf25204f7d5291436cac6f | 39 | py | Python | grammar/builtin/open.py | focusunsink/study_python | 322326642db54df8725793d70a95d21ac40b6507 | [
"MIT"
] | null | null | null | grammar/builtin/open.py | focusunsink/study_python | 322326642db54df8725793d70a95d21ac40b6507 | [
"MIT"
] | null | null | null | grammar/builtin/open.py | focusunsink/study_python | 322326642db54df8725793d70a95d21ac40b6507 | [
"MIT"
] | null | null | null | f = open("test.txt")
print(f.read())
| 7.8 | 20 | 0.564103 | 7 | 39 | 3.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 4 | 21 | 9.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 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 |
2803910e18a5611f12adfccb15e5d0f3de3e8cea | 65 | py | Python | gstat_classroom/__main__.py | mmaelicke/gstat-classroom | f122e577e71c6dc0934b1cdee8b4353a351a8f39 | [
"MIT"
] | null | null | null | gstat_classroom/__main__.py | mmaelicke/gstat-classroom | f122e577e71c6dc0934b1cdee8b4353a351a8f39 | [
"MIT"
] | null | null | null | gstat_classroom/__main__.py | mmaelicke/gstat-classroom | f122e577e71c6dc0934b1cdee8b4353a351a8f39 | [
"MIT"
] | null | null | null | from gstat_classroom.index import app
app.run_server(debug=True) | 21.666667 | 37 | 0.846154 | 11 | 65 | 4.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 3 | 38 | 21.666667 | 0.883333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f9edcb681b730d6300437883521cfd5fb2dae46c | 65 | py | Python | vale/__init__.py | pyccel/vale | e8a85416668599730723ea49c41743f4e4b9a1bc | [
"MIT"
] | 3 | 2017-06-06T11:13:09.000Z | 2018-12-16T23:16:16.000Z | vale/__init__.py | pyccel/vale | e8a85416668599730723ea49c41743f4e4b9a1bc | [
"MIT"
] | null | null | null | vale/__init__.py | pyccel/vale | e8a85416668599730723ea49c41743f4e4b9a1bc | [
"MIT"
] | null | null | null | __version__ = 0.9
from .parser import *
from .syntax import *
| 13 | 22 | 0.692308 | 9 | 65 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.215385 | 65 | 4 | 23 | 16.25 | 0.764706 | 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 |
e646f59c9ee08ad2d45076dae8271b85a67a73d2 | 133 | py | Python | ista/apps.py | barackmaund1/Istagram | ea88de3525aff4bf3df47c78794fb5a12d4298d5 | [
"MIT"
] | null | null | null | ista/apps.py | barackmaund1/Istagram | ea88de3525aff4bf3df47c78794fb5a12d4298d5 | [
"MIT"
] | 5 | 2021-06-08T21:42:12.000Z | 2022-03-12T00:33:00.000Z | ista/apps.py | barackmaund1/Instagram-clone | ea88de3525aff4bf3df47c78794fb5a12d4298d5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class IstaConfig(AppConfig):
name = 'ista'
def ready(self):
import users.signals
| 16.625 | 33 | 0.684211 | 16 | 133 | 5.6875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233083 | 133 | 7 | 34 | 19 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0528e70223429c5ce396a55dbcb3e0654e5ba489 | 989 | py | Python | libraries/website/tests/envs/test_envs_overview.py | justindujardin/mathy | 776ac528d4586d6ea558a7212adb3559ea487a3c | [
"MIT"
] | 95 | 2020-01-02T23:02:34.000Z | 2022-03-08T18:57:24.000Z | libraries/website/tests/envs/test_envs_overview.py | justindujardin/mathy | 776ac528d4586d6ea558a7212adb3559ea487a3c | [
"MIT"
] | 44 | 2020-01-05T03:07:45.000Z | 2021-08-11T20:45:53.000Z | libraries/website/tests/envs/test_envs_overview.py | justindujardin/mathy | 776ac528d4586d6ea558a7212adb3559ea487a3c | [
"MIT"
] | 5 | 2020-04-04T16:46:36.000Z | 2022-03-30T08:10:02.000Z | def test_envs_overview_custom_problem_text():
from ...docs.snippets.envs import custom_problem_text # noqa
def test_envs_overview_custom_win_conditions():
from ...docs.snippets.envs import custom_win_conditions # noqa
def test_envs_overview_custom_timestep_rewards():
from ...docs.snippets.envs import ... | 28.257143 | 69 | 0.78362 | 140 | 989 | 5.114286 | 0.178571 | 0.087989 | 0.138268 | 0.238827 | 0.73324 | 0.424581 | 0.209497 | 0 | 0 | 0 | 0 | 0 | 0.134479 | 989 | 34 | 70 | 29.088235 | 0.836449 | 0.044489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0533638c06d1ca19e1db0606d3222e4e6b769419 | 140 | py | Python | mars_insight/__init__.py | AlbertWigmore/mars-insight | cce0f503c951931f2512195fd66b716e17f918eb | [
"MIT"
] | null | null | null | mars_insight/__init__.py | AlbertWigmore/mars-insight | cce0f503c951931f2512195fd66b716e17f918eb | [
"MIT"
] | 3 | 2020-12-05T19:45:37.000Z | 2021-01-04T17:54:08.000Z | mars_insight/__init__.py | AlbertWigmore/mars-insight | cce0f503c951931f2512195fd66b716e17f918eb | [
"MIT"
] | null | null | null | """ Mars InSight Weather API Client """
from . import api
from . import models
__all__ = ['api', 'models', 'plot']
__version__ = '0.1.0'
| 15.555556 | 39 | 0.642857 | 19 | 140 | 4.315789 | 0.684211 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.185714 | 140 | 8 | 40 | 17.5 | 0.692982 | 0.221429 | 0 | 0 | 0 | 0 | 0.178218 | 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 |
053e15a294e1cee1a3b7a9c356c355203a4de876 | 142 | py | Python | joalheria/tests/test_app.py | misakive/jewelry | e2501b1a4de2ff0096f798c484519d02ab727ebc | [
"MIT"
] | null | null | null | joalheria/tests/test_app.py | misakive/jewelry | e2501b1a4de2ff0096f798c484519d02ab727ebc | [
"MIT"
] | null | null | null | joalheria/tests/test_app.py | misakive/jewelry | e2501b1a4de2ff0096f798c484519d02ab727ebc | [
"MIT"
] | 1 | 2021-05-14T13:25:04.000Z | 2021-05-14T13:25:04.000Z | def test_app_is_created(app):
assert app.name == 'joalheria.app'
def test_config_is_loaded(config):
assert config["DEBUG"] is False
| 20.285714 | 38 | 0.732394 | 22 | 142 | 4.454545 | 0.545455 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 142 | 6 | 39 | 23.666667 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0555f63316faa4d645f9d3db21e1b46b979c063c | 3,990 | py | Python | src/old/lexermod/cft_token.py | TeaCondemns/cofty | 0228c8f0e85c8b977586cc88123e198c64953dcb | [
"Apache-2.0",
"MIT"
] | 1 | 2022-02-17T18:14:58.000Z | 2022-02-17T18:14:58.000Z | src/old/lexermod/cft_token.py | TeaCondemns/cofty | 0228c8f0e85c8b977586cc88123e198c64953dcb | [
"Apache-2.0",
"MIT"
] | 2 | 2022-03-12T19:33:44.000Z | 2022-03-13T11:14:12.000Z | src/old/lexermod/cft_token.py | TeaCondemns/cofty | 0228c8f0e85c8b977586cc88123e198c64953dcb | [
"Apache-2.0",
"MIT"
] | null | null | null | from copy import deepcopy
from enum import Enum
class TokenTypes(Enum):
MAIN = -2 # temp token
QUOTATION_MARK = -1 # temp token
SKIP = 0
COMMENT = 1
OP = 2
NEWLINE = 3
ENDMARKER = 4
MISMATCH = 5
STRING = 6
... | 25.576923 | 152 | 0.550125 | 457 | 3,990 | 4.630197 | 0.161926 | 0.086957 | 0.079395 | 0.10775 | 0.779773 | 0.744329 | 0.72259 | 0.689036 | 0.655009 | 0.632325 | 0 | 0.006813 | 0.337845 | 3,990 | 155 | 153 | 25.741935 | 0.794095 | 0.023308 | 0 | 0.553571 | 0 | 0.017857 | 0.087147 | 0.042674 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.017857 | 0.044643 | 0.651786 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
058bc82a17f551cd93a889a1e1ee2b7e93a76946 | 181 | py | Python | apps/common/tests/test_models/test_address.py | yudame/prakti-api | 9d00c1dd155f80839248e611e0d63b1c70041758 | [
"Unlicense"
] | null | null | null | apps/common/tests/test_models/test_address.py | yudame/prakti-api | 9d00c1dd155f80839248e611e0d63b1c70041758 | [
"Unlicense"
] | null | null | null | apps/common/tests/test_models/test_address.py | yudame/prakti-api | 9d00c1dd155f80839248e611e0d63b1c70041758 | [
"Unlicense"
] | null | null | null | from django.test import TestCase
from ..test_behaviors import TimestampableTest
from ...models import Address
class AddressTest(TimestampableTest, TestCase):
model = Address
| 20.111111 | 47 | 0.801105 | 20 | 181 | 7.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138122 | 181 | 8 | 48 | 22.625 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 |
059312a8338980fbb29c06fa6cf2cab0e9b76a88 | 538,916 | py | Python | Q12__/18_Longest_Arithmetic_Subsequence_of_Given_Difference/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | Q12__/18_Longest_Arithmetic_Subsequence_of_Given_Difference/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | Q12__/18_Longest_Arithmetic_Subsequence_of_Given_Difference/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
from Solution import Solution
obj = Solution()
#A = [1,2,3,4]
#B = 1
A = [1806,-6771,-1534,-5016,6991,149,-615,1787,-1311,-7549,-6235,-9920,88,-1930,-8536,6607,-9918,-8286,-5579,7005,-5568,-3796,5991,5598,-190,637,2099,4868,-148,-3440,7998,-185,6333,2508,6851,4549,1891,994,-7197,4997,4292,-6851,801... | 41,455.076923 | 538,770 | 0.721934 | 100,026 | 538,916 | 3.889609 | 0.100104 | 0.000041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.72181 | 0.000052 | 538,916 | 12 | 538,771 | 44,909.666667 | 0.000161 | 0.000063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
557ad3e92c78fbc2e20873e50ce16991498aa8b5 | 1,617 | py | Python | VTiger_KPI_Dashboard/cases/migrations/0001_initial.py | roovyshapiro/VTiger_Sales_Dashboard | c20687ed8cd5aea8df6a6868b94389eb3b069d3a | [
"MIT"
] | 2 | 2020-12-15T20:24:14.000Z | 2022-01-26T23:56:41.000Z | VTiger_KPI_Dashboard/cases/migrations/0001_initial.py | roovyshapiro/VTiger_Sales_Dashboard | c20687ed8cd5aea8df6a6868b94389eb3b069d3a | [
"MIT"
] | 6 | 2021-04-08T19:35:25.000Z | 2021-10-05T00:45:27.000Z | VTiger_KPI_Dashboard/cases/migrations/0001_initial.py | roovyshapiro/VTiger_Sales_Dashboard | c20687ed8cd5aea8df6a6868b94389eb3b069d3a | [
"MIT"
] | 13 | 2021-06-09T20:58:10.000Z | 2022-03-21T16:02:42.000Z | # Generated by Django 3.0.3 on 2020-12-14 20:35
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Cases',
fields=[
('id', models.AutoField(au... | 41.461538 | 114 | 0.57885 | 163 | 1,617 | 5.527607 | 0.392638 | 0.216426 | 0.259711 | 0.346282 | 0.392897 | 0.248613 | 0.110988 | 0 | 0 | 0 | 0 | 0.036114 | 0.280767 | 1,617 | 38 | 115 | 42.552632 | 0.738607 | 0.027829 | 0 | 0 | 1 | 0 | 0.13758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.16129 | 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 |
558e858dbdd481a70d7b47650a189ff97d81b8f9 | 126 | py | Python | run.py | 9uest/shadowsocks-admin | c565518e13ebdeb7821cba62685ca80a380f3815 | [
"Apache-2.0"
] | 37 | 2016-05-31T07:00:27.000Z | 2022-02-25T16:09:30.000Z | run.py | 9uest/shadowsocks-admin | c565518e13ebdeb7821cba62685ca80a380f3815 | [
"Apache-2.0"
] | 5 | 2017-04-16T11:39:32.000Z | 2018-11-07T08:30:11.000Z | run.py | arrti/shadowsocks-admin | c565518e13ebdeb7821cba62685ca80a380f3815 | [
"Apache-2.0"
] | 21 | 2016-05-31T06:59:53.000Z | 2020-06-11T07:28:20.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# author arrti
from ss_admin import app
if __name__ == '__main__':
app.run()
| 12.6 | 26 | 0.619048 | 18 | 126 | 3.833333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.198413 | 126 | 9 | 27 | 14 | 0.673267 | 0.404762 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
5595dd4a8c62b0c0c8b55f74deafd4a86ac49baa | 236 | py | Python | maro/__init__.py | VinayaSathyanarayana/maro | 0ba55f36d89c235ef3af04efbac78b3885d8695d | [
"MIT"
] | 1 | 2020-09-30T09:31:05.000Z | 2020-09-30T09:31:05.000Z | maro/__init__.py | VinayaSathyanarayana/maro | 0ba55f36d89c235ef3af04efbac78b3885d8695d | [
"MIT"
] | null | null | null | maro/__init__.py | VinayaSathyanarayana/maro | 0ba55f36d89c235ef3af04efbac78b3885d8695d | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from .__misc__ import __version__, __data_version__
from maro.utils.utils import deploy, check_deployment_status
if not check_deployment_status():
deploy()
| 23.6 | 60 | 0.79661 | 30 | 236 | 5.7 | 0.733333 | 0.175439 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 236 | 9 | 61 | 26.222222 | 0.838235 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
55a9cd5dab08d3dffd81cb83bd1b5746ed46b544 | 631 | py | Python | filterelement.py | esromneb/sigmath | 9c76233021e4062e29d0339630a92ad9ea758bf9 | [
"MIT"
] | null | null | null | filterelement.py | esromneb/sigmath | 9c76233021e4062e29d0339630a92ad9ea758bf9 | [
"MIT"
] | null | null | null | filterelement.py | esromneb/sigmath | 9c76233021e4062e29d0339630a92ad9ea758bf9 | [
"MIT"
] | null | null | null |
## Single ended filter chain element
#
class FilterElement(object):
## Constructor
def __init__(self):
self.nextelement = None ##! points at next in chain
self.name = "noname" ##! nicename for printing
## Call to input data into the filter
def input(self, data, meta=None):
r... | 25.24 | 60 | 0.640254 | 82 | 631 | 4.865854 | 0.597561 | 0.080201 | 0.06015 | 0.080201 | 0.130326 | 0.130326 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264659 | 631 | 24 | 61 | 26.291667 | 0.859914 | 0.33439 | 0 | 0 | 0 | 0 | 0.014888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.083333 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
e951cdf06724a575ce01a64978b194403e643f8b | 14,138 | py | Python | tests/integration/resources_permissions/test_webhooks_resources.py | aavcc/taiga-openshift | 7c33284573ceed38f755b8159ad83f3f68d2f7cb | [
"MIT"
] | null | null | null | tests/integration/resources_permissions/test_webhooks_resources.py | aavcc/taiga-openshift | 7c33284573ceed38f755b8159ad83f3f68d2f7cb | [
"MIT"
] | 12 | 2019-11-25T14:08:32.000Z | 2021-06-24T10:35:51.000Z | tests/integration/resources_permissions/test_webhooks_resources.py | threefoldtech/Threefold-Circles | cbc433796b25cf7af9a295af65d665a4a279e2d6 | [
"Apache-2.0"
] | 1 | 2018-06-07T10:58:15.000Z | 2018-06-07T10:58:15.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2014-2017 Andrey Antukh <niwi@niwi.nz>
# Copyright (C) 2014-2017 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2014-2017 David Barragán <bameda@dbarragan.com>
# Copyright (C) 2014-2017 Alejandro Alonso <alejandro.alonso@kaleidos.net>
# Copyright (C) 2014-2017 Anler Hernández ... | 35.522613 | 118 | 0.665653 | 1,756 | 14,138 | 5.180524 | 0.120729 | 0.040673 | 0.056942 | 0.081346 | 0.788612 | 0.769155 | 0.748928 | 0.709575 | 0.695944 | 0.665824 | 0 | 0.042424 | 0.209718 | 14,138 | 397 | 119 | 35.612091 | 0.771771 | 0.067548 | 0 | 0.684211 | 0 | 0 | 0.07794 | 0.007748 | 0 | 0 | 0 | 0 | 0.178947 | 1 | 0.05614 | false | 0 | 0.031579 | 0 | 0.091228 | 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 |
e9584f4e6e85f92e8634b724ffb241b57b2e0027 | 26 | py | Python | main.py | marquez5g/git | 51f87b719c3da87ef881b354fe7478591b628e3f | [
"MIT"
] | null | null | null | main.py | marquez5g/git | 51f87b719c3da87ef881b354fe7478591b628e3f | [
"MIT"
] | null | null | null | main.py | marquez5g/git | 51f87b719c3da87ef881b354fe7478591b628e3f | [
"MIT"
] | null | null | null | a = "Hello world"
print(a) | 13 | 17 | 0.653846 | 5 | 26 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 2 | 18 | 13 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 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 |
e97e3735748d36b7e9e397c1c08319676add5b30 | 140 | py | Python | mytestreadImage/mygetImageW.py | ShuailingZhao/mccnn | 56040c120b45a3992866fe84c5e7b5b48c32b6bd | [
"BSD-2-Clause"
] | null | null | null | mytestreadImage/mygetImageW.py | ShuailingZhao/mccnn | 56040c120b45a3992866fe84c5e7b5b48c32b6bd | [
"BSD-2-Clause"
] | null | null | null | mytestreadImage/mygetImageW.py | ShuailingZhao/mccnn | 56040c120b45a3992866fe84c5e7b5b48c32b6bd | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/python
import sys
import cv2
img = cv2.imread(sys.argv[1])
h = img.shape[0]
w = img.shape[1]
print w
#myreadimage(sys.argv[1]);
| 14 | 29 | 0.678571 | 27 | 140 | 3.518519 | 0.592593 | 0.147368 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.128571 | 140 | 9 | 30 | 15.555556 | 0.729508 | 0.292857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 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 |
e987fd53e2e8adaff9e80a2e50eaab923bddbdf3 | 127 | py | Python | object_detection/__init__.py | IVRL/Dunit | 0f0d4086b4d8576c11dfac6092b9b60fa4ad7b72 | [
"CC0-1.0"
] | 25 | 2020-07-13T17:55:37.000Z | 2021-11-12T11:02:48.000Z | object_detection/__init__.py | IVRL/Dunit | 0f0d4086b4d8576c11dfac6092b9b60fa4ad7b72 | [
"CC0-1.0"
] | 5 | 2020-12-06T07:17:34.000Z | 2021-11-22T08:36:31.000Z | object_detection/__init__.py | IVRL/Dunit | 0f0d4086b4d8576c11dfac6092b9b60fa4ad7b72 | [
"CC0-1.0"
] | 1 | 2020-12-22T02:28:01.000Z | 2020-12-22T02:28:01.000Z | from .drit import DRITObjectDetection
from .unit import UNITObjectDetection
from .faster_rcnn import FasterRCNNObjectDetection
| 31.75 | 50 | 0.88189 | 13 | 127 | 8.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 3 | 51 | 42.333333 | 0.965217 | 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 |
e98dce138e4042a45d1235375ba36d732b0b76c9 | 177 | py | Python | microblog/apps.py | lukasvinclav/django-microblog | 38f34dccdaad066e986efe2ca1ca4dd115dbe626 | [
"MIT"
] | 2 | 2019-12-29T21:28:35.000Z | 2020-01-07T11:18:40.000Z | microblog/apps.py | lukasvinclav/django-microblog | 38f34dccdaad066e986efe2ca1ca4dd115dbe626 | [
"MIT"
] | null | null | null | microblog/apps.py | lukasvinclav/django-microblog | 38f34dccdaad066e986efe2ca1ca4dd115dbe626 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class MicroblogConfig(AppConfig):
name = 'microblog'
verbose_name = _('Blog')
| 22.125 | 54 | 0.762712 | 21 | 177 | 6.238095 | 0.761905 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158192 | 177 | 7 | 55 | 25.285714 | 0.879195 | 0 | 0 | 0 | 0 | 0 | 0.073446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e9adc2df7b27f9a5a176e02622860dadf8999bcd | 191 | py | Python | apps/libro/forms.py | ernestoaguaysol/mysite | 3a818e98464bd200acd2cbe6dc0bb03790eab7df | [
"Unlicense"
] | null | null | null | apps/libro/forms.py | ernestoaguaysol/mysite | 3a818e98464bd200acd2cbe6dc0bb03790eab7df | [
"Unlicense"
] | null | null | null | apps/libro/forms.py | ernestoaguaysol/mysite | 3a818e98464bd200acd2cbe6dc0bb03790eab7df | [
"Unlicense"
] | null | null | null | from django import forms
from .models import Autor
class AutorForm(forms.ModelForm):
class Meta:
model = Autor
fields = ['nombre','apellido','nacionalidad','descripcion'] | 27.285714 | 67 | 0.691099 | 21 | 191 | 6.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198953 | 191 | 7 | 67 | 27.285714 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.192708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 |
7564ddf48f25aa8cfcf6cd90e66ff39499ae7b3b | 91 | py | Python | whypy/plot/plot_real_and_reciprocal_space.py | alexmoratalla/yambopy | 8ec0e1e18868ccaadb3eab36c55e6a47021e257d | [
"BSD-3-Clause"
] | 1 | 2017-04-12T15:38:34.000Z | 2017-04-12T15:38:34.000Z | whypy/plot/plot_real_and_reciprocal_space.py | alexmoratalla/yambopy | 8ec0e1e18868ccaadb3eab36c55e6a47021e257d | [
"BSD-3-Clause"
] | null | null | null | whypy/plot/plot_real_and_reciprocal_space.py | alexmoratalla/yambopy | 8ec0e1e18868ccaadb3eab36c55e6a47021e257d | [
"BSD-3-Clause"
] | null | null | null | #
#
# Plot excitons in BZ
# Plot GKKP in BZ
# Eventually plot quantities in real space
#
#
| 11.375 | 42 | 0.692308 | 14 | 91 | 4.5 | 0.642857 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 91 | 7 | 43 | 13 | 0.9 | 0.835165 | 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 |
75667bc74c430d7527ad2d8d2976c7068a6dc0f3 | 8 | py | Python | __init__.py | d-nct/graph | 46926251def36445aa3f4c5cbef1189d42446072 | [
"MIT"
] | null | null | null | __init__.py | d-nct/graph | 46926251def36445aa3f4c5cbef1189d42446072 | [
"MIT"
] | null | null | null | __init__.py | d-nct/graph | 46926251def36445aa3f4c5cbef1189d42446072 | [
"MIT"
] | null | null | null | # utf-8
| 4 | 7 | 0.5 | 2 | 8 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.25 | 8 | 1 | 8 | 8 | 0.5 | 0.625 | 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 |
757916fe1994c7795c3e5df9f0849baa13a67ffa | 34 | py | Python | tifa/cli/base.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 71 | 2020-04-16T04:28:45.000Z | 2022-03-31T22:45:11.000Z | tifa/cli/base.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 6 | 2021-05-13T06:32:38.000Z | 2022-03-04T01:18:34.000Z | tifa/cli/base.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 12 | 2021-05-01T08:43:11.000Z | 2022-03-29T00:58:54.000Z | import typer
cli = typer.Typer()
| 8.5 | 19 | 0.705882 | 5 | 34 | 4.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 3 | 20 | 11.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
75879222401e3cc09fc7e453171d61c80d848f8a | 52 | py | Python | tests/unit/__init__.py | edinhodiluviano/traded | fbb6e0663d66dee48d644f7887743acc55fc3d8f | [
"MIT"
] | null | null | null | tests/unit/__init__.py | edinhodiluviano/traded | fbb6e0663d66dee48d644f7887743acc55fc3d8f | [
"MIT"
] | null | null | null | tests/unit/__init__.py | edinhodiluviano/traded | fbb6e0663d66dee48d644f7887743acc55fc3d8f | [
"MIT"
] | null | null | null | import os
os.environ["DATABASE_URL"] = "sqlite://"
| 13 | 40 | 0.673077 | 7 | 52 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 3 | 41 | 17.333333 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.403846 | 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 |
75e2d9979454a5819749a370d00ee5bfedf04efd | 140 | py | Python | script/python3/display/__init__.py | setminami/IrControl | bcdd44b7f6aeca75226cdcfc611dc63032c38949 | [
"MIT"
] | null | null | null | script/python3/display/__init__.py | setminami/IrControl | bcdd44b7f6aeca75226cdcfc611dc63032c38949 | [
"MIT"
] | 2 | 2018-09-21T11:53:28.000Z | 2018-12-30T03:37:23.000Z | script/python3/display/__init__.py | setminami/IrControl | bcdd44b7f6aeca75226cdcfc611dc63032c38949 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# this made for python3
# how to install luma -> https://www.bluetin.io/displays/oled-display-raspberry-pi-ssd1331/
| 35 | 91 | 0.7 | 21 | 140 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.121429 | 140 | 3 | 92 | 46.666667 | 0.747967 | 0.95 | 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 |
f98936c1ebef110201c2c5bf1b76687e4b948e47 | 50 | py | Python | try/test.py | lyltc1/detectron2 | 5cef58de4d37b746be5aedf6a57c3dfc29342564 | [
"Apache-2.0"
] | null | null | null | try/test.py | lyltc1/detectron2 | 5cef58de4d37b746be5aedf6a57c3dfc29342564 | [
"Apache-2.0"
] | null | null | null | try/test.py | lyltc1/detectron2 | 5cef58de4d37b746be5aedf6a57c3dfc29342564 | [
"Apache-2.0"
] | null | null | null | import torch
torch.randperm(159826, device='cpu')
| 16.666667 | 36 | 0.78 | 7 | 50 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.08 | 50 | 2 | 37 | 25 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0.06 | 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 |
f99093db8043167fe74a9d8a43e904e04f423eda | 381 | py | Python | deeppavlov/core/agent/agent.py | jalajthanaki/DeepPavlov | 8652915056f46d68040c7827151745e9e719227e | [
"Apache-2.0"
] | 1 | 2019-05-19T03:21:55.000Z | 2019-05-19T03:21:55.000Z | deeppavlov/core/agent/agent.py | jalajthanaki/DeepPavlov | 8652915056f46d68040c7827151745e9e719227e | [
"Apache-2.0"
] | null | null | null | deeppavlov/core/agent/agent.py | jalajthanaki/DeepPavlov | 8652915056f46d68040c7827151745e9e719227e | [
"Apache-2.0"
] | null | null | null | from typing import List, Dict
from deeppavlov.core.models.inferable import Inferable
# TODO Create this class dynamically?
class Agent(Inferable):
def __init__(self, skill_configs: List[Dict], commutator_config: Dict):
self.skill_configs = skill_configs
self.commutator_config = commutator_config
... | 25.4 | 75 | 0.716535 | 46 | 381 | 5.717391 | 0.543478 | 0.136882 | 0.121673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207349 | 381 | 14 | 76 | 27.214286 | 0.870861 | 0.091864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0 | 0.555556 | 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 |
f99332a93305bb9f79e46c4e315e7c194b3858b6 | 208 | py | Python | py_learning_6_30/learning_unittest.py | Mloser-z/Python_Learning | c0b663faec17349547c8089fc2a918153b675ae9 | [
"Apache-2.0"
] | null | null | null | py_learning_6_30/learning_unittest.py | Mloser-z/Python_Learning | c0b663faec17349547c8089fc2a918153b675ae9 | [
"Apache-2.0"
] | null | null | null | py_learning_6_30/learning_unittest.py | Mloser-z/Python_Learning | c0b663faec17349547c8089fc2a918153b675ae9 | [
"Apache-2.0"
] | null | null | null | import unittest
import CheckName
class Check(unittest.TestCase):
def test_check_name_function(self):
full_name = CheckName.get_name()
self.assertEqual(full_name, 'Janis Joplin')
| 23.111111 | 52 | 0.706731 | 25 | 208 | 5.64 | 0.64 | 0.113475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 208 | 8 | 53 | 26 | 0.859756 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
f9a850931428a3ca335f6525eabb8c7d03280ce6 | 112 | py | Python | cn_v2/util/config.py | Larryun/coursenotify_v2 | e82794ba83d42c2cca9b2dc7c6e6108dcecaba54 | [
"MIT"
] | 1 | 2021-03-25T22:16:07.000Z | 2021-03-25T22:16:07.000Z | cn_v2/util/config.py | Larryun/coursenotify_v2 | e82794ba83d42c2cca9b2dc7c6e6108dcecaba54 | [
"MIT"
] | null | null | null | cn_v2/util/config.py | Larryun/coursenotify_v2 | e82794ba83d42c2cca9b2dc7c6e6108dcecaba54 | [
"MIT"
] | null | null | null | import yaml
def read_config(filename):
with open(filename) as f:
return yaml.load(f, yaml.Loader)
| 16 | 40 | 0.678571 | 17 | 112 | 4.411765 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223214 | 112 | 6 | 41 | 18.666667 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dda787102a8080c082f8863bfd57b5dc29c626a1 | 162 | py | Python | deui/html/view/small_element.py | urushiyama/DeUI | 14530d2dae7d96a3dee30759f85e02239fb433c5 | [
"MIT"
] | 1 | 2021-10-17T01:54:18.000Z | 2021-10-17T01:54:18.000Z | deui/html/view/small_element.py | urushiyama/DeUI | 14530d2dae7d96a3dee30759f85e02239fb433c5 | [
"MIT"
] | null | null | null | deui/html/view/small_element.py | urushiyama/DeUI | 14530d2dae7d96a3dee30759f85e02239fb433c5 | [
"MIT"
] | null | null | null | from .element import Element
class Small(Element):
"""
Represents side-comments and small print.
"""
def __str__(self):
return "small"
| 14.727273 | 45 | 0.623457 | 18 | 162 | 5.388889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271605 | 162 | 10 | 46 | 16.2 | 0.822034 | 0.253086 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ddc34920de52e14d4620fb3a76a4b5400491869f | 189 | py | Python | src/airflow/fernet-key-gen.py | dwdii/emr-airflow | 2f54ca438ebf8205955eb06e37ef4f0e86e923e7 | [
"Apache-2.0"
] | 1 | 2019-08-30T09:37:17.000Z | 2019-08-30T09:37:17.000Z | src/airflow/fernet-key-gen.py | junqueira/emr-airflow | fb45422e025d9b37e54cab0be5451c7e17390c73 | [
"Apache-2.0"
] | null | null | null | src/airflow/fernet-key-gen.py | junqueira/emr-airflow | fb45422e025d9b37e54cab0be5451c7e17390c73 | [
"Apache-2.0"
] | 1 | 2019-12-31T16:32:47.000Z | 2019-12-31T16:32:47.000Z | # From: https://airflow.apache.org/configuration.html
from cryptography.fernet import Fernet
fernet_key = Fernet.generate_key()
print(fernet_key) # your fernet_key, keep it in secured place | 47.25 | 61 | 0.809524 | 28 | 189 | 5.321429 | 0.678571 | 0.181208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 189 | 4 | 61 | 47.25 | 0.871345 | 0.492063 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ddccb752edae18063aa40c18fdc5ebff71e72d9d | 150 | py | Python | ochestrator_test.py | ElectroMagneticInterference/frc2022-cv | 0c5fb99d5b04e2261cf81af066a0ab632ee719b4 | [
"MIT"
] | null | null | null | ochestrator_test.py | ElectroMagneticInterference/frc2022-cv | 0c5fb99d5b04e2261cf81af066a0ab632ee719b4 | [
"MIT"
] | null | null | null | ochestrator_test.py | ElectroMagneticInterference/frc2022-cv | 0c5fb99d5b04e2261cf81af066a0ab632ee719b4 | [
"MIT"
] | null | null | null | import src.daemon.orchestrator
buff_1 = []
buff_2 = []
def process_1():
pass
def process_2():
pass
src.daemon.orchestrator.orchestrator() | 11.538462 | 38 | 0.693333 | 20 | 150 | 5 | 0.5 | 0.18 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.18 | 150 | 13 | 38 | 11.538462 | 0.780488 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
fb0f08a08f8fdff7c3a4b005c139440b7d32fba3 | 89 | py | Python | labeler/apps.py | peppasd/LIT | 80e256e7678be3cf3ad72d152005cdb7778545d5 | [
"MIT"
] | 2 | 2020-06-05T14:49:11.000Z | 2021-07-19T17:50:05.000Z | labeler/apps.py | peppasd/LIT | 80e256e7678be3cf3ad72d152005cdb7778545d5 | [
"MIT"
] | 50 | 2020-05-29T11:15:33.000Z | 2020-07-29T15:30:53.000Z | labeler/apps.py | peppasd/LIT | 80e256e7678be3cf3ad72d152005cdb7778545d5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LabelerConfig(AppConfig):
name = 'labeler'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
34de50acbd413909bfd49a37f5c05956ddaf63ee | 22 | py | Python | isort/_version.py | scop/isort | b0007e703a67d0939a4fd123fe594ee04a7a03e5 | [
"MIT"
] | 4 | 2021-10-20T12:39:09.000Z | 2022-02-26T15:02:08.000Z | isort/_version.py | scop/isort | b0007e703a67d0939a4fd123fe594ee04a7a03e5 | [
"MIT"
] | null | null | null | isort/_version.py | scop/isort | b0007e703a67d0939a4fd123fe594ee04a7a03e5 | [
"MIT"
] | 1 | 2021-10-20T13:47:10.000Z | 2021-10-20T13:47:10.000Z | __version__ = "5.9.3"
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 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 |
34fa5b50c8bb6ab7676167f87d6c827492771af6 | 41 | py | Python | data/studio21_generated/interview/1713/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1713/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1713/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def count_calls(func, *args, **kwargs):
| 20.5 | 39 | 0.682927 | 6 | 41 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 40 | 20.5 | 0.75 | 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 |
5521e5da4a8df1b779bf17ba044f8f8e3f22dc91 | 213 | py | Python | ectoken/__init__.py | sebest/ectoken-py | abc67a83c5bfb8e5e1663b69f7c03f74411b1c94 | [
"BSD-3-Clause"
] | null | null | null | ectoken/__init__.py | sebest/ectoken-py | abc67a83c5bfb8e5e1663b69f7c03f74411b1c94 | [
"BSD-3-Clause"
] | null | null | null | ectoken/__init__.py | sebest/ectoken-py | abc67a83c5bfb8e5e1663b69f7c03f74411b1c94 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'Sebastien Estienne'
__email__ = 'sebastien.estienne@gmail.com'
__version__ = '0.2'
__all__ = ['ectoken_generate']
from ectoken import ectoken_generate
| 21.3 | 42 | 0.7277 | 26 | 213 | 5.269231 | 0.807692 | 0.248175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016043 | 0.122066 | 213 | 9 | 43 | 23.666667 | 0.716578 | 0.197183 | 0 | 0 | 1 | 0 | 0.384615 | 0.16568 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9b46d465d386df46a55fc252d75e3e52745c77e0 | 85 | py | Python | django_serializers/opene/otest/apps.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 1 | 2021-01-11T06:30:44.000Z | 2021-01-11T06:30:44.000Z | django_serializers/opene/otest/apps.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | django_serializers/opene/otest/apps.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 2 | 2020-04-08T15:39:46.000Z | 2020-10-10T10:13:09.000Z | from django.apps import AppConfig
class OtestConfig(AppConfig):
name = 'otest'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 |
9b530248db065cad9fb6bba64a741ad40e9d64a7 | 78 | py | Python | test_haystack/test_app_with_hierarchy/__init__.py | nakarinh14/django-haystack | b6dd72e6b5c97b782f5436b7bb4e8227ba6e3b06 | [
"BSD-3-Clause"
] | 2,021 | 2015-02-06T07:45:08.000Z | 2022-03-30T12:26:39.000Z | test_haystack/test_app_with_hierarchy/__init__.py | nakarinh14/django-haystack | b6dd72e6b5c97b782f5436b7bb4e8227ba6e3b06 | [
"BSD-3-Clause"
] | 787 | 2015-02-03T20:06:04.000Z | 2022-03-30T09:00:38.000Z | test_haystack/test_app_with_hierarchy/__init__.py | nakarinh14/django-haystack | b6dd72e6b5c97b782f5436b7bb4e8227ba6e3b06 | [
"BSD-3-Clause"
] | 878 | 2015-02-04T15:29:50.000Z | 2022-03-28T16:51:44.000Z | """Test app with multiple hierarchy levels above the actual models.py file"""
| 39 | 77 | 0.769231 | 12 | 78 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 1 | 78 | 78 | 0.895522 | 0.910256 | 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 |
9b6acd225e375ca66aa5bf2a9b6a3468e5e439c3 | 89 | py | Python | python/packages/cybernetics/__init__.py | mdk/mdk-code-snippets | 324ddd757e8abd3c7b2b6d007aad4e5dcfed7720 | [
"MIT"
] | 1 | 2016-05-08T07:58:11.000Z | 2016-05-08T07:58:11.000Z | python/packages/cybernetics/__init__.py | mdk/mdk-code-snippets | 324ddd757e8abd3c7b2b6d007aad4e5dcfed7720 | [
"MIT"
] | 1 | 2017-09-27T08:33:26.000Z | 2017-09-27T08:33:26.000Z | python/packages/cybernetics/__init__.py | mdk/mdk-code-snippets | 324ddd757e8abd3c7b2b6d007aad4e5dcfed7720 | [
"MIT"
] | 1 | 2020-01-02T23:57:11.000Z | 2020-01-02T23:57:11.000Z | from android import Android
from robot import Robot
print "Initializing electronics..."
| 17.8 | 35 | 0.808989 | 11 | 89 | 6.545455 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 4 | 36 | 22.25 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0.303371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9b7dafb9c6f21211a439e8e4989a294b2333741b | 101 | py | Python | old_django_malliva/reviewRatings/apps.py | olubiyiontheweb/malliva | b212e6b359eed54c92533f0a02afe3c0042150e2 | [
"MIT"
] | null | null | null | old_django_malliva/reviewRatings/apps.py | olubiyiontheweb/malliva | b212e6b359eed54c92533f0a02afe3c0042150e2 | [
"MIT"
] | null | null | null | old_django_malliva/reviewRatings/apps.py | olubiyiontheweb/malliva | b212e6b359eed54c92533f0a02afe3c0042150e2 | [
"MIT"
] | 1 | 2021-07-19T12:15:52.000Z | 2021-07-19T12:15:52.000Z | from django.apps import AppConfig
class ReviewratingsConfig(AppConfig):
name = 'reviewRatings'
| 16.833333 | 37 | 0.782178 | 10 | 101 | 7.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 5 | 38 | 20.2 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 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 |
9b8658a8b9b34f73d3e19afd8aee522160d72ac1 | 1,111 | py | Python | accounts/views.py | matacoder/django-docker | d9c690c9d0f9c632eb79349b0290476112d62a92 | [
"MIT"
] | 8 | 2021-05-28T19:18:34.000Z | 2021-11-29T13:36:54.000Z | accounts/views.py | matacoder/django-docker | d9c690c9d0f9c632eb79349b0290476112d62a92 | [
"MIT"
] | null | null | null | accounts/views.py | matacoder/django-docker | d9c690c9d0f9c632eb79349b0290476112d62a92 | [
"MIT"
] | 3 | 2021-05-24T12:31:46.000Z | 2021-05-25T11:08:13.000Z | from django.urls import reverse_lazy
from django.views.generic import CreateView, FormView, TemplateView
from .forms import CreationForm
class SignUp(CreateView):
form_class = CreationForm
success_url = reverse_lazy("login")
template_name = "registration/signup.html"
class LoginView(FormView):
succ... | 25.25 | 67 | 0.79838 | 116 | 1,111 | 7.405172 | 0.344828 | 0.125728 | 0.251455 | 0.223516 | 0.330617 | 0.218859 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121512 | 1,111 | 43 | 68 | 25.837209 | 0.880123 | 0 | 0 | 0 | 0 | 0 | 0.284428 | 0.275428 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9bbef212db2eee5617ff19ae50f1a6adce743c86 | 108 | py | Python | Chapter 9/imported_restaurant.py | WilliamJaber/Python-Crash-Course | d87621785011039fbe0b42f0d8b6cd2364246577 | [
"MIT"
] | null | null | null | Chapter 9/imported_restaurant.py | WilliamJaber/Python-Crash-Course | d87621785011039fbe0b42f0d8b6cd2364246577 | [
"MIT"
] | null | null | null | Chapter 9/imported_restaurant.py | WilliamJaber/Python-Crash-Course | d87621785011039fbe0b42f0d8b6cd2364246577 | [
"MIT"
] | 5 | 2021-09-22T16:53:47.000Z | 2022-03-24T00:56:49.000Z | from restaurant import Restaurant
brooklyn = Restaurant("brooklyn", "fast")
brooklyn.describe_restaurant()
| 21.6 | 41 | 0.805556 | 11 | 108 | 7.818182 | 0.545455 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 108 | 4 | 42 | 27 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
32eea2b1d6e98b7ea4beb9c371217a7e845fc57a | 3,034 | py | Python | easter_021.py | fpicot/adventofcode | a544c17bcd58600117c6503e43f63e9e1ce57759 | [
"MIT"
] | null | null | null | easter_021.py | fpicot/adventofcode | a544c17bcd58600117c6503e43f63e9e1ce57759 | [
"MIT"
] | null | null | null | easter_021.py | fpicot/adventofcode | a544c17bcd58600117c6503e43f63e9e1ce57759 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
inputs = [
"LLLRLLULLDDLDUDRDDURLDDRDLRDDRUULRULLLDLUURUUUDLUUDLRUDLDUDURRLDRRRUULUURLUDRURULRLRLRRUULRUUUDRRDDRLLLDDLLUDDDLLRLLULULRRURRRLDRLDLLRURDULLDULRUURLRUDRURLRRDLLDDURLDDLUDLRLUURDRDRDDUURDDLDDDRUDULDLRDRDDURDLUDDDRUDLUDLULULRUURLRUUUDDRLDULLLUDLULDUUDLDLRRLLLRLDUDRUU... | 94.8125 | 591 | 0.920237 | 79 | 3,034 | 35.316456 | 0.531646 | 0.002151 | 0.010753 | 0.007885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006892 | 0.043507 | 3,034 | 31 | 592 | 97.870968 | 0.954514 | 0.017798 | 0 | 0 | 0 | 0 | 0.869624 | 0.862903 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
32f0cb73736c57e2be793d95bc603e5e2ae57bdd | 124 | py | Python | desafios/Ex007.py | FelipeAlafy/Python | da2374e55e8aa84e4ca6d9c7bf8dafeb546a4742 | [
"MIT"
] | null | null | null | desafios/Ex007.py | FelipeAlafy/Python | da2374e55e8aa84e4ca6d9c7bf8dafeb546a4742 | [
"MIT"
] | null | null | null | desafios/Ex007.py | FelipeAlafy/Python | da2374e55e8aa84e4ca6d9c7bf8dafeb546a4742 | [
"MIT"
] | null | null | null | n1 = int(input('nota 1 > '))
n2 = int(input('nota 2 > '))
print("\033[33mA media do aluno foi de {} 🤡".format((n1 + n2)/2))
| 31 | 65 | 0.564516 | 23 | 124 | 3.086957 | 0.73913 | 0.225352 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.177419 | 124 | 3 | 66 | 41.333333 | 0.568627 | 0 | 0 | 0 | 0 | 0 | 0.435484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fd0a38de59768332d970ce0984bfaeb7b7f3dd1a | 1,528 | py | Python | unit-testing/test_algorithms_and_data_structures/test_check_palindrome.py | amgad01/algorithms | 53eecf06e907cde806d4b78dc78fcd70d0271e3e | [
"MIT"
] | null | null | null | unit-testing/test_algorithms_and_data_structures/test_check_palindrome.py | amgad01/algorithms | 53eecf06e907cde806d4b78dc78fcd70d0271e3e | [
"MIT"
] | null | null | null | unit-testing/test_algorithms_and_data_structures/test_check_palindrome.py | amgad01/algorithms | 53eecf06e907cde806d4b78dc78fcd70d0271e3e | [
"MIT"
] | null | null | null | import unittest
from algorithms_and_data_structures.check_palindrome import check_palindrome
class TestLongestPeak(unittest.TestCase):
def test_is_palindrome(self):
self.assertEqual(check_palindrome('a'), True)
self.assertEqual(check_palindrome(" "), True)
self.assertEqual(check_palindrom... | 44.941176 | 76 | 0.709424 | 167 | 1,528 | 6.293413 | 0.275449 | 0.342531 | 0.36156 | 0.542341 | 0.756422 | 0.08373 | 0 | 0 | 0 | 0 | 0 | 0.023659 | 0.170157 | 1,528 | 33 | 77 | 46.30303 | 0.805205 | 0 | 0 | 0 | 0 | 0 | 0.037958 | 0 | 0 | 0 | 0 | 0 | 0.785714 | 1 | 0.107143 | false | 0 | 0.071429 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fd14235a97115d0da605df7efd9315bb578a44f1 | 101 | py | Python | run_kbstopwatch.py | mwiens91/kb-stopwatch | 0eec6bd942ca1e9786f36d8e577ce304b58d77a3 | [
"MIT"
] | null | null | null | run_kbstopwatch.py | mwiens91/kb-stopwatch | 0eec6bd942ca1e9786f36d8e577ce304b58d77a3 | [
"MIT"
] | null | null | null | run_kbstopwatch.py | mwiens91/kb-stopwatch | 0eec6bd942ca1e9786f36d8e577ce304b58d77a3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Runs kb-stopwatch."""
from kbstopwatch.main import main
# Run it
main()
| 11.222222 | 33 | 0.683168 | 15 | 101 | 4.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.148515 | 101 | 8 | 34 | 12.625 | 0.790698 | 0.465347 | 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 |
fd36a1ed0a086f3df709ddecee7bc3e6d2224e79 | 284 | py | Python | wukong/master/tests/service_tests/HbaseStorageServiceImplTest.py | wukong-m2m/wukong-darjeeling | 429ffdd62384c0a6b7f6695bb780359fc58a804c | [
"BSD-2-Clause-FreeBSD"
] | 16 | 2015-01-07T10:32:47.000Z | 2019-01-16T16:13:51.000Z | wukong/master/tests/service_tests/HbaseStorageServiceImplTest.py | wukong-m2m/wukong-darjeeling | 429ffdd62384c0a6b7f6695bb780359fc58a804c | [
"BSD-2-Clause-FreeBSD"
] | 14 | 2015-05-01T04:45:45.000Z | 2016-05-11T01:29:23.000Z | wukong/master/tests/service_tests/HbaseStorageServiceImplTest.py | wukong-m2m/wukong-darjeeling | 429ffdd62384c0a6b7f6695bb780359fc58a804c | [
"BSD-2-Clause-FreeBSD"
] | 13 | 2015-06-17T06:42:17.000Z | 2020-11-27T18:23:08.000Z | import os, sys
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '../..'))
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))
from service.storage.mongo import MongoDBStorageServiceImpl
from service.storage.model import storage_pb2 | 47.333333 | 82 | 0.771127 | 42 | 284 | 5 | 0.380952 | 0.171429 | 0.12381 | 0.142857 | 0.504762 | 0.504762 | 0.504762 | 0.504762 | 0.504762 | 0.504762 | 0 | 0.003717 | 0.052817 | 284 | 6 | 83 | 47.333333 | 0.776952 | 0 | 0 | 0 | 0 | 0 | 0.024561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fd5c1f609f83ba8758b72b69cfac714e4a31f6ef | 157 | py | Python | ogh/tests/__init__.py | ChristinaB/Observatory-1 | 95f9e00686d64d48264b4b84596bb00f60964bda | [
"MIT"
] | 7 | 2018-03-13T18:02:23.000Z | 2020-02-29T08:18:26.000Z | ogh/tests/__init__.py | ChristinaB/Observatory-1 | 95f9e00686d64d48264b4b84596bb00f60964bda | [
"MIT"
] | 21 | 2018-02-20T22:33:08.000Z | 2019-04-23T20:30:20.000Z | ogh/tests/__init__.py | ChristinaB/Observatory-1 | 95f9e00686d64d48264b4b84596bb00f60964bda | [
"MIT"
] | 16 | 2018-01-09T20:12:07.000Z | 2019-08-02T15:30:45.000Z | from __future__ import (absolute_import,
division,
print_function,
unicode_literals)
| 31.4 | 41 | 0.464968 | 10 | 157 | 6.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.503185 | 157 | 4 | 42 | 39.25 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
b5c0730eb3ccaa49d303a75bae83f8ef1704c7cb | 96 | py | Python | exercises/mp3player/platform_test.py | introprogramming/exercises | 8e52f3fa87d29a14ddcf00e8d87598d0721a41f6 | [
"MIT"
] | 2 | 2018-08-20T22:44:40.000Z | 2018-09-14T17:03:35.000Z | exercises/mp3player/platform_test.py | introprogramming/exercises | 8e52f3fa87d29a14ddcf00e8d87598d0721a41f6 | [
"MIT"
] | 31 | 2015-08-06T16:25:57.000Z | 2019-06-11T12:22:35.000Z | exercises/mp3player/platform_test.py | introprogramming/exercises | 8e52f3fa87d29a14ddcf00e8d87598d0721a41f6 | [
"MIT"
] | 1 | 2016-08-15T15:06:40.000Z | 2016-08-15T15:06:40.000Z |
import sys
if sys.maxsize > 2**32:
print("using 64 bits")
else:
print("using 32 bits") | 13.714286 | 26 | 0.625 | 16 | 96 | 3.75 | 0.6875 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 0.229167 | 96 | 7 | 27 | 13.714286 | 0.716216 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 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 |
b5db99b4fc48771c2cec5696384f0b6b0f08c6ba | 82 | py | Python | movie/db_control.py | zhangzhibo123/flask---movie | 45da1993936a4fa863488818ae4e88d27165f66c | [
"Apache-2.0"
] | null | null | null | movie/db_control.py | zhangzhibo123/flask---movie | 45da1993936a4fa863488818ae4e88d27165f66c | [
"Apache-2.0"
] | null | null | null | movie/db_control.py | zhangzhibo123/flask---movie | 45da1993936a4fa863488818ae4e88d27165f66c | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
__author__ = 'zhangzhibo'
__date__ = '202018/5/18 16:56'
| 13.666667 | 30 | 0.621951 | 11 | 82 | 3.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 0.158537 | 82 | 5 | 31 | 16.4 | 0.42029 | 0.243902 | 0 | 0 | 0 | 0 | 0.465517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b5f7035e4a0658391b7a4e0ae8d6f37d3c584c69 | 36,041 | py | Python | data/mayaScript.py | heaversm/LeapToOsc | e4501eafa318cacc8d902074161367b04c2cb38f | [
"MIT"
] | 1 | 2015-10-13T18:34:49.000Z | 2015-10-13T18:34:49.000Z | data/mayaScript.py | heaversm/LeapToOsc | e4501eafa318cacc8d902074161367b04c2cb38f | [
"MIT"
] | null | null | null | data/mayaScript.py | heaversm/LeapToOsc | e4501eafa318cacc8d902074161367b04c2cb38f | [
"MIT"
] | null | null | null | from maya.cmds import *
from random import uniform as rnd
playbackOptions(minTime="0", maxTime="366")
spaceLocator(name="hand0")
currentTime(0)
move(3.761351, 1.0875831,-1.1359625)
setKeyframe()
currentTime(6)
move(3.7484415, 1.0593767,-1.1014904)
setKeyframe()
currentTime(12)
move(3.7429137, 1.0449018,-1.... | 23.680026 | 44 | 0.738409 | 5,079 | 36,041 | 5.239811 | 0.310691 | 0.405892 | 0.006613 | 0.01116 | 0.529441 | 0 | 0 | 0 | 0 | 0 | 0 | 0.407689 | 0.098582 | 36,041 | 1,521 | 45 | 23.695595 | 0.411475 | 0 | 0 | 0.660526 | 0 | 0 | 0.002868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.001316 | 0 | 0.001316 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bd20cb16954877c5e7b99126756487e4c2071f27 | 49 | py | Python | apps/lti_app/__init__.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 8 | 2019-01-30T13:51:59.000Z | 2022-01-08T03:26:53.000Z | apps/lti_app/__init__.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 286 | 2019-01-18T21:35:51.000Z | 2022-03-24T18:53:59.000Z | apps/lti_app/__init__.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 4 | 2019-02-11T13:38:30.000Z | 2021-03-02T20:59:00.000Z | default_app_config = 'lti_app.apps.LtiAppConfig'
| 24.5 | 48 | 0.836735 | 7 | 49 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.510204 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bd348d08e615a50c750fffd657f6b139dc9782e6 | 54 | py | Python | mincrawler/__init__.py | altescy/mincrawler | 36d28172b37c6825d74ec9887bfabe440838d50f | [
"MIT"
] | 1 | 2020-05-31T02:16:40.000Z | 2020-05-31T02:16:40.000Z | mincrawler/__init__.py | altescy/mincrawler | 36d28172b37c6825d74ec9887bfabe440838d50f | [
"MIT"
] | null | null | null | mincrawler/__init__.py | altescy/mincrawler | 36d28172b37c6825d74ec9887bfabe440838d50f | [
"MIT"
] | 1 | 2021-09-21T22:36:42.000Z | 2021-09-21T22:36:42.000Z | from mincrawler.version import VERSION as __version__
| 27 | 53 | 0.87037 | 7 | 54 | 6.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 54 | 1 | 54 | 54 | 0.895833 | 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 |
1fb00e9cdb9aaab42d0d15370ce93791dea38495 | 1,977 | py | Python | maya/app/renderSetup/views/propertyEditor/lightsCollection.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/app/renderSetup/views/propertyEditor/lightsCollection.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/app/renderSetup/views/propertyEditor/lightsCollection.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | from maya.app.renderSetup.views.propertyEditor.expressionLabels import *
from maya.app.renderSetup.views.propertyEditor.collectionStaticSelectionWidget import CollectionStaticSelectionWidget
from maya.app.renderSetup.views.propertyEditor.layout import Layout
from PySide2.QtWidgets import QShortcut
from PySide2.QtWidge... | 31.887097 | 117 | 0.818918 | 226 | 1,977 | 7.128319 | 0.349558 | 0.198014 | 0.198634 | 0.258225 | 0.147734 | 0.147734 | 0.096834 | 0.096834 | 0 | 0 | 0 | 0.021201 | 0.141123 | 1,977 | 61 | 118 | 32.409836 | 0.927562 | 0.035407 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0.047619 | 0.809524 | 0 | 0.952381 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1fc0c82329a01179c26ba32ed0384cbbc39f9862 | 567 | py | Python | script/my_test/my_word2vec.py | xjtushilei/Answer_Selection | 4a827f64e5361eab951713c2350632c5278404dd | [
"MIT"
] | 4 | 2017-06-19T01:15:55.000Z | 2020-02-29T03:45:26.000Z | script/my_test/my_word2vec.py | xjtushilei/Answer_Selection | 4a827f64e5361eab951713c2350632c5278404dd | [
"MIT"
] | null | null | null | script/my_test/my_word2vec.py | xjtushilei/Answer_Selection | 4a827f64e5361eab951713c2350632c5278404dd | [
"MIT"
] | null | null | null | from gensim.models import Word2Vec
from gensim.models.keyedvectors import KeyedVectors
import numpy as np
word_vectors = KeyedVectors.load_word2vec_format('../data/cn.skipgram.bin/cn.skipgram.bin', binary=True,
unicode_errors='ignore')
# 距离,越大表示越不相似
print(word_vectors.w... | 43.615385 | 104 | 0.626102 | 72 | 567 | 4.819444 | 0.430556 | 0.158501 | 0.184438 | 0.299712 | 0.37464 | 0.37464 | 0.276657 | 0 | 0 | 0 | 0 | 0.004202 | 0.160494 | 567 | 12 | 105 | 47.25 | 0.72479 | 0.0194 | 0 | 0 | 0 | 0 | 0.157324 | 0.070524 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.444444 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
1fe8730598a1c682a4b877398d2a35151dfb4c4e | 25,832 | py | Python | extra/unused/bedTopo.py | whyjz/CARST | 875c915e835b0e09a7eccb58833719bbfc85b635 | [
"MIT"
] | 10 | 2018-01-02T18:03:07.000Z | 2022-01-25T05:36:21.000Z | extra/unused/bedTopo.py | whyjz/CARST | 875c915e835b0e09a7eccb58833719bbfc85b635 | [
"MIT"
] | 1 | 2020-04-14T16:57:15.000Z | 2020-05-15T16:10:17.000Z | extra/unused/bedTopo.py | whyjz/CARST | 875c915e835b0e09a7eccb58833719bbfc85b635 | [
"MIT"
] | 4 | 2016-08-12T15:06:48.000Z | 2019-11-27T05:33:50.000Z | #!/usr/bin/python
def dirDeriv(val_mat, direction_mat, inc):
import scipy;
import scipy.linalg;
import math;
cell_angles = scipy.array([[3 * math.pi / 4, math.pi / 2, math.pi / 4], [math.pi, scipy.nan, 0], [-3 * math.pi / 4, -1 * math.pi / 2, -1 * math.pi / 4]]);
cell_incs = scipy.array([[(inc**2 + inc**2)*... | 38.383358 | 170 | 0.611025 | 5,114 | 25,832 | 2.871529 | 0.041846 | 0.035683 | 0.027375 | 0.024515 | 0.800068 | 0.761185 | 0.729997 | 0.658291 | 0.615867 | 0.571467 | 0 | 0.048768 | 0.176835 | 25,832 | 672 | 171 | 38.440476 | 0.641836 | 0.138046 | 0 | 0.178947 | 0 | 0.005263 | 0.181284 | 0.02802 | 0 | 0 | 0 | 0 | 0.018421 | 0 | null | null | 0 | 0.039474 | null | null | 0.002632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1fea39ffe7f186689dc6ffe49c991336dbcf19d1 | 189 | py | Python | covid_data/urls.py | gunnarsundberg/covid-tracker | 012f48f4fbeeff6123456196349a4122f927416a | [
"MIT"
] | null | null | null | covid_data/urls.py | gunnarsundberg/covid-tracker | 012f48f4fbeeff6123456196349a4122f927416a | [
"MIT"
] | 5 | 2021-03-30T14:37:56.000Z | 2021-10-11T17:33:20.000Z | covid_data/urls.py | gunnarsundberg/covid-tracker | 012f48f4fbeeff6123456196349a4122f927416a | [
"MIT"
] | null | null | null | from django.urls import path
from django.conf.urls import url
from covid_data.views import download_county_data
urlpatterns = [
url(r'downloads/countydata', download_county_data),
]
| 18.9 | 55 | 0.793651 | 27 | 189 | 5.37037 | 0.592593 | 0.137931 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132275 | 189 | 9 | 56 | 21 | 0.884146 | 0 | 0 | 0 | 0 | 0 | 0.10582 | 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 |
9526cac1a7b7b487980586e4edb6efd7b9721f04 | 157 | py | Python | coding/learn_pytest/bak/test_anothersmtp.py | yatao91/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | 3 | 2021-05-25T16:58:52.000Z | 2022-02-05T09:37:17.000Z | coding/learn_pytest/bak/test_anothersmtp.py | yataosu/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | null | null | null | coding/learn_pytest/bak/test_anothersmtp.py | yataosu/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
smtpserver = "smtp.qq.com" # will be read by smtp fixture
def test_showhelo(smtp_connection):
assert 0, smtp_connection.helo() | 26.166667 | 58 | 0.694268 | 23 | 157 | 4.608696 | 0.826087 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.165605 | 157 | 6 | 59 | 26.166667 | 0.793893 | 0.318471 | 0 | 0 | 0 | 0 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
20ffd516b29953d1751d7fd6f405ac820c8ea619 | 329 | py | Python | flaskr/auth.py | rollanda21/transcriber-tool | 6d56938b7e0554fdb377314082bf98c2e631945f | [
"MIT"
] | null | null | null | flaskr/auth.py | rollanda21/transcriber-tool | 6d56938b7e0554fdb377314082bf98c2e631945f | [
"MIT"
] | 8 | 2022-02-16T02:00:07.000Z | 2022-03-04T22:55:17.000Z | flaskr/auth.py | rollanda21/transcriber-tool | 6d56938b7e0554fdb377314082bf98c2e631945f | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template, url_for
auth = Blueprint('auth', __name__)
@auth.route('/login')
def login():
return render_template("login.html")
@auth.route('/logout')
def logout():
return render_template("logout.html")
@auth.route('/sign_up')
def sign_up():
return render_template("sign_... | 21.933333 | 53 | 0.717325 | 45 | 329 | 4.977778 | 0.4 | 0.25 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121581 | 329 | 15 | 54 | 21.933333 | 0.775087 | 0 | 0 | 0 | 0 | 0 | 0.175758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0.181818 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
1f12182e42e640086c99c3d3ed75235bd0dd8fa3 | 2,533 | py | Python | test_cmpa/conftest.py | jamesabel/cmpa | 64eddfb9601f4df23044faf95b99fcf960161ded | [
"MIT"
] | null | null | null | test_cmpa/conftest.py | jamesabel/cmpa | 64eddfb9601f4df23044faf95b99fcf960161ded | [
"MIT"
] | null | null | null | test_cmpa/conftest.py | jamesabel/cmpa | 64eddfb9601f4df23044faf95b99fcf960161ded | [
"MIT"
] | null | null | null |
import os
import logging
import pytest
from test_cmpa import get_test_data_root, rmdir, mkdirs
from test_cmpa import get_test_data_root_same_single_level, get_test_data_root_same_multiple_level
from test_cmpa import get_test_data_root_different_single_level, get_test_data_root_different_multiple_level
from test_cmpa... | 43.672414 | 108 | 0.767075 | 418 | 2,533 | 4.155502 | 0.124402 | 0.11399 | 0.134715 | 0.146805 | 0.803109 | 0.792746 | 0.778929 | 0.691422 | 0.617156 | 0.617156 | 0 | 0 | 0.118042 | 2,533 | 57 | 109 | 44.438596 | 0.777529 | 0 | 0 | 0.333333 | 0 | 0 | 0.033979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.166667 | 0 | 0.214286 | 0.02381 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1f58bc69442e05779f2e5c6ca2689bc03c3a8247 | 29 | py | Python | dajaxice/__init__.py | peiwei/django-dajaxice | bf41c7623804856326b09f0724b4cb7d14440d7e | [
"BSD-3-Clause"
] | 60 | 2015-01-09T23:02:52.000Z | 2021-03-27T13:46:55.000Z | dajaxice/__init__.py | peiwei/django-dajaxice | bf41c7623804856326b09f0724b4cb7d14440d7e | [
"BSD-3-Clause"
] | 15 | 2015-02-19T15:06:15.000Z | 2017-10-27T15:06:47.000Z | dajaxice/__init__.py | peiwei/django-dajaxice | bf41c7623804856326b09f0724b4cb7d14440d7e | [
"BSD-3-Clause"
] | 55 | 2015-01-02T22:27:13.000Z | 2021-04-27T19:34:15.000Z | __version__ = (0, 7, 'beta')
| 14.5 | 28 | 0.586207 | 4 | 29 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.172414 | 29 | 1 | 29 | 29 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 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 |
1f702337e4c25e2623be48b9692154c10599f9b8 | 46 | py | Python | conf.py | R13N/LatexBuilder | a42750d24bf83685b603f34f6b216e3b0990c4dd | [
"MIT"
] | 1 | 2019-02-15T13:45:08.000Z | 2019-02-15T13:45:08.000Z | conf.py | ftomassetti/github-latex-builder | 3a3fc53cc65826d4acd186b30c978911db128dc3 | [
"MIT"
] | null | null | null | conf.py | ftomassetti/github-latex-builder | 3a3fc53cc65826d4acd186b30c978911db128dc3 | [
"MIT"
] | null | null | null | BUILD_DIR_NAME = 'build'
PDF_DIR_NAME = 'pdf'
| 15.333333 | 24 | 0.73913 | 8 | 46 | 3.75 | 0.5 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 25 | 23 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 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 |
1f9022052bb035a960851e83fb32520292fb3c77 | 82 | py | Python | detention_data_dashboard/__init__.py | lucaskolson/ddd | f273c61856bca27a40b9691b2a9842d8705a3503 | [
"MIT"
] | null | null | null | detention_data_dashboard/__init__.py | lucaskolson/ddd | f273c61856bca27a40b9691b2a9842d8705a3503 | [
"MIT"
] | null | null | null | detention_data_dashboard/__init__.py | lucaskolson/ddd | f273c61856bca27a40b9691b2a9842d8705a3503 | [
"MIT"
] | null | null | null | ""
importing all the functions from the app python script
"""
from .app import *
| 13.666667 | 54 | 0.719512 | 12 | 82 | 4.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 82 | 5 | 55 | 16.4 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2f0d249529b7b0328dca1b58f546902b3b0543f2 | 211 | py | Python | LeetcodeAlgorithms/561. Array Partition I/array-partition-i.py | Fenghuapiao/PyLeetcode | d804a62643fe935eb61808196a2c093ea9583654 | [
"MIT"
] | 3 | 2019-08-20T06:54:38.000Z | 2022-01-07T12:56:46.000Z | LeetcodeAlgorithms/561. Array Partition I/array-partition-i.py | Fenghuapiao/PyLeetcode | d804a62643fe935eb61808196a2c093ea9583654 | [
"MIT"
] | null | null | null | LeetcodeAlgorithms/561. Array Partition I/array-partition-i.py | Fenghuapiao/PyLeetcode | d804a62643fe935eb61808196a2c093ea9583654 | [
"MIT"
] | 2 | 2018-06-07T02:56:39.000Z | 2018-08-01T15:27:55.000Z | class Solution(object):
def arrayPairSum(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
return sum([c for i, c in enumerate(sorted(nums)) if i % 2 == 0]) | 30.142857 | 73 | 0.50237 | 27 | 211 | 3.925926 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.350711 | 211 | 7 | 73 | 30.142857 | 0.759124 | 0.156398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2f1408ff6662651ed68070e7d0973f745e2f8e43 | 325 | py | Python | Validation/HcalRecHits/python/NoiseRatesClient_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/HcalRecHits/python/NoiseRatesClient_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/HcalRecHits/python/NoiseRatesClient_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
noiseratesClient = DQMEDHarvester("NoiseRatesClient",
# outputFile = cms.untracked.string('NoiseRatesHarvestingME.root'),
outputFile = cms.untracked.string(''),
DQMDirName = cms.string("/") # root directo... | 36.111111 | 71 | 0.763077 | 30 | 325 | 8.266667 | 0.6 | 0.241935 | 0.177419 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126154 | 325 | 8 | 72 | 40.625 | 0.873239 | 0.246154 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 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 |
2f3f1e08e8337b79cd56522b8853890c275bd890 | 139 | py | Python | Step 2/testFunction.py | laki999/hello-python | 9fb1bad981d832ec7df3cedd13e4dd9fb0b7e25c | [
"MIT"
] | null | null | null | Step 2/testFunction.py | laki999/hello-python | 9fb1bad981d832ec7df3cedd13e4dd9fb0b7e25c | [
"MIT"
] | null | null | null | Step 2/testFunction.py | laki999/hello-python | 9fb1bad981d832ec7df3cedd13e4dd9fb0b7e25c | [
"MIT"
] | null | null | null | def hypotenuse_triangle(side1, side2):
hypotenuse = side1 ** 2 + side2 ** 2
return hypotenuse
print(hypotenuse_triangle(2, 4))
| 15.444444 | 40 | 0.690647 | 17 | 139 | 5.529412 | 0.529412 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 0.201439 | 139 | 8 | 41 | 17.375 | 0.774775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2f690eed25da3541ce42bd81db13b841c2f5fefd | 198 | py | Python | api/battle_client.py | MUzzell/the_pokemon_api | dd056aa022a7d3b2f5a718ac05df1c4d46a640bd | [
"MIT"
] | null | null | null | api/battle_client.py | MUzzell/the_pokemon_api | dd056aa022a7d3b2f5a718ac05df1c4d46a640bd | [
"MIT"
] | null | null | null | api/battle_client.py | MUzzell/the_pokemon_api | dd056aa022a7d3b2f5a718ac05df1c4d46a640bd | [
"MIT"
] | null | null | null |
from base_client import BaseClient, format_query
class BattleClient(BaseClient):
retries = 3
def do_battle(self, ident):
return self._send_request(format_query("BATTLE", ident))
| 19.8 | 64 | 0.732323 | 25 | 198 | 5.56 | 0.76 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.181818 | 198 | 9 | 65 | 22 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.030457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
2f6e1eeb1a02ace4daaf14d5b261dad3555ce450 | 87 | py | Python | homeslice/tubers/apps.py | ChrisKeefe/homeslice | 6070e8a40d1a3b300eb5eb156216552663675975 | [
"MIT"
] | null | null | null | homeslice/tubers/apps.py | ChrisKeefe/homeslice | 6070e8a40d1a3b300eb5eb156216552663675975 | [
"MIT"
] | null | null | null | homeslice/tubers/apps.py | ChrisKeefe/homeslice | 6070e8a40d1a3b300eb5eb156216552663675975 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TubersConfig(AppConfig):
name = 'tubers'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2f879689b3c5c018bd14ff483dcd669879c46eb5 | 162 | py | Python | tests/test_problem33.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | 6 | 2020-02-01T23:29:51.000Z | 2022-02-20T20:46:56.000Z | tests/test_problem33.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | null | null | null | tests/test_problem33.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | null | null | null | import unittest
from problems.problem33 import solution
class Test(unittest.TestCase):
def test(self):
self.assertEqual(solution([100, 4, 200, 1, 3, 2]), 4)
| 20.25 | 55 | 0.734568 | 24 | 162 | 4.958333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 0.135802 | 162 | 7 | 56 | 23.142857 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 |
2f98576ca50e9fe5c2674f302000424650b67dd1 | 71 | py | Python | withings-sync.py | cristian5th/withings-sync | cba704ad5ecf5e89b12e90a50791257122756892 | [
"MIT"
] | 1 | 2022-02-01T20:04:37.000Z | 2022-02-01T20:04:37.000Z | withings-sync.py | cristian5th/withings-sync | cba704ad5ecf5e89b12e90a50791257122756892 | [
"MIT"
] | null | null | null | withings-sync.py | cristian5th/withings-sync | cba704ad5ecf5e89b12e90a50791257122756892 | [
"MIT"
] | null | null | null | from withings_sync import sync
if __name__ == '__main__':
sync.main() | 17.75 | 30 | 0.746479 | 10 | 71 | 4.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 71 | 4 | 31 | 17.75 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
2f9bd880f6a114562f3508a8bd7ec3e3dfe0b1ea | 141 | py | Python | main.py | norwoodj/jconfigure | 75b1388ca0d31c1e2516db268525efcc6aa681ca | [
"MIT"
] | 2 | 2018-07-08T05:12:20.000Z | 2019-03-28T00:57:43.000Z | main.py | norwoodj/jconfigure | 75b1388ca0d31c1e2516db268525efcc6aa681ca | [
"MIT"
] | 4 | 2019-01-22T16:33:14.000Z | 2021-06-02T00:59:17.000Z | main.py | norwoodj/jconfigure | 75b1388ca0d31c1e2516db268525efcc6aa681ca | [
"MIT"
] | 1 | 2019-01-22T16:30:29.000Z | 2019-01-22T16:30:29.000Z | #!/usr/bin/env python
import json
from jconfigure import configure
if __name__ == "__main__":
print(json.dumps(configure(), indent=2))
| 17.625 | 44 | 0.723404 | 19 | 141 | 4.947368 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.141844 | 141 | 7 | 45 | 20.142857 | 0.768595 | 0.141844 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
85ca50732b98f0af86ab4da46fd9b9bce6a9fd9c | 9,469 | py | Python | sqlilokmed.py | D45H7/LokoSQLi | 88881b9f61abf604e288b9323a3eeed960b076ea | [
"Apache-2.0"
] | null | null | null | sqlilokmed.py | D45H7/LokoSQLi | 88881b9f61abf604e288b9323a3eeed960b076ea | [
"Apache-2.0"
] | null | null | null | sqlilokmed.py | D45H7/LokoSQLi | 88881b9f61abf604e288b9323a3eeed960b076ea | [
"Apache-2.0"
] | 1 | 2021-01-28T12:06:25.000Z | 2021-01-28T12:06:25.000Z | #!/usr/bin/env/python3.9
#
# Made by EtcAug10
import requests as req, os, re
banner = """
----------------- -- --- |
------------ -----------|
--- SQLi CMS Lokomedia - |
------- by EtcAug10 -----|
--- -------------------|
"""
admin = [
'adm/',
'_adm_/',
'_admin_/',
'_administrator_/',
'operator/',
... | 31.458472 | 187 | 0.728588 | 740 | 9,469 | 9.305405 | 0.451351 | 0.037177 | 0.005809 | 0.007406 | 0.01002 | 0.01002 | 0 | 0 | 0 | 0 | 0 | 0.298084 | 0.085225 | 9,469 | 301 | 188 | 31.458472 | 0.496883 | 0.008237 | 0 | 0.155172 | 0 | 0.003448 | 0.711121 | 0.411376 | 0 | 0 | 0.0049 | 0 | 0 | 1 | 0.010345 | false | 0.048276 | 0.003448 | 0 | 0.013793 | 0.051724 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c81db2bc142ef0cfb13ac487574dc67cd75c94ff | 221 | py | Python | strategy/core.py | le0park/search_scraper | 539ae2def45377a5963a2ad06fd5898236a9c73b | [
"MIT"
] | null | null | null | strategy/core.py | le0park/search_scraper | 539ae2def45377a5963a2ad06fd5898236a9c73b | [
"MIT"
] | null | null | null | strategy/core.py | le0park/search_scraper | 539ae2def45377a5963a2ad06fd5898236a9c73b | [
"MIT"
] | null | null | null | from abc import *
class AbstractScrapStrategy(metaclass=ABCMeta):
platform = 'etc'
driver = None
def __init__(self, driver):
self.driver = driver
@abstractmethod
def scraps(self, query, page_count):
return []
| 17 | 47 | 0.728507 | 26 | 221 | 6 | 0.769231 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167421 | 221 | 12 | 48 | 18.416667 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.013575 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c821e2313a74b0fb45c9f520eb7c48f479788d81 | 288 | py | Python | web-gui/flaskr/quotes/model.py | kpk-pl/wallet | 68bcc2685d1932e4a5ec021c09854c1d6a7294a9 | [
"MIT"
] | null | null | null | web-gui/flaskr/quotes/model.py | kpk-pl/wallet | 68bcc2685d1932e4a5ec021c09854c1d6a7294a9 | [
"MIT"
] | null | null | null | web-gui/flaskr/quotes/model.py | kpk-pl/wallet | 68bcc2685d1932e4a5ec021c09854c1d6a7294a9 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
from datetime import datetime
from decimal import Decimal
from typing import Optional
class Quote(BaseModel):
name: Optional[str]
ticker: Optional[str]
quote: Decimal
timestamp: datetime
currency: Optional[str]
type: Optional[str]
| 20.571429 | 30 | 0.746528 | 35 | 288 | 6.142857 | 0.457143 | 0.204651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 288 | 13 | 31 | 22.153846 | 0.926724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.363636 | 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 |
c860b9af862a8ceab20669046a9f54024ae944b5 | 32 | py | Python | music_bg/__init__.py | music-bg/music_bg | 5b79eacb32506b6eda5861df4b5f71b611c5dfa3 | [
"MIT"
] | 3 | 2021-09-17T12:27:46.000Z | 2021-09-18T19:03:01.000Z | music_bg/__init__.py | music-bg/music_bg | 5b79eacb32506b6eda5861df4b5f71b611c5dfa3 | [
"MIT"
] | null | null | null | music_bg/__init__.py | music-bg/music_bg | 5b79eacb32506b6eda5861df4b5f71b611c5dfa3 | [
"MIT"
] | null | null | null | """The music_bg application."""
| 16 | 31 | 0.6875 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.724138 | 0.78125 | 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 |
c8680389c5c5599e78ce3c4de2a0e67008c375f3 | 19,716 | py | Python | mars/services/meta/store/base.py | HarshCasper/mars | 4c12c968414d666c7a10f497bc22de90376b1932 | [
"Apache-2.0"
] | null | null | null | mars/services/meta/store/base.py | HarshCasper/mars | 4c12c968414d666c7a10f497bc22de90376b1932 | [
"Apache-2.0"
] | null | null | null | mars/services/meta/store/base.py | HarshCasper/mars | 4c12c968414d666c7a10f497bc22de90376b1932 | [
"Apache-2.0"
] | null | null | null | # Copyright 1999-2020 Alibaba Group Holding Ltd.
#
# 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 a... | 28.246418 | 83 | 0.446642 | 1,825 | 19,716 | 4.693151 | 0.082192 | 0.089667 | 0.080911 | 0.056042 | 0.814594 | 0.790776 | 0.765674 | 0.690134 | 0.664799 | 0.640747 | 0 | 0.001152 | 0.471445 | 19,716 | 697 | 84 | 28.286944 | 0.820747 | 0.02886 | 0 | 0.676923 | 0 | 0 | 0.011727 | 0.003703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020513 | false | 0 | 0.030769 | 0.005128 | 0.092308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c08a079809474955aa9b2345ecbde21c1125f4c3 | 6,344 | py | Python | mudi/diffexp/de.py | getzlab/mudi | eda170119708e59920c23a03834af915ecca24ce | [
"MIT"
] | 1 | 2021-11-04T00:08:00.000Z | 2021-11-04T00:08:00.000Z | mudi/diffexp/de.py | getzlab/mudi | eda170119708e59920c23a03834af915ecca24ce | [
"MIT"
] | null | null | null | mudi/diffexp/de.py | getzlab/mudi | eda170119708e59920c23a03834af915ecca24ce | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import os
import sys
"""
Storey Q-Values - https://github.com/StoreyLab/qvalue
--------------------
Python Wrapper
Author: Francois Aguet
https://github.com/broadinstitute/tensorqtl/blob/master/tensorqtl/rfunc.py
"""
def qvalue(p, lambda_qvalue=None):
"""Wrapper for qvalue::q... | 33.389474 | 111 | 0.56715 | 858 | 6,344 | 3.991841 | 0.171329 | 0.02219 | 0.065401 | 0.045547 | 0.733431 | 0.733431 | 0.718248 | 0.701898 | 0.682628 | 0.682628 | 0 | 0.00934 | 0.274275 | 6,344 | 189 | 112 | 33.566138 | 0.734579 | 0.080549 | 0 | 0.698413 | 0 | 0 | 0.04516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0 | 0.111111 | 0 | 0.190476 | 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 |
c0bd9c14e14e0af82c05ae1470086ee12594427a | 121 | py | Python | clinja/__init__.py | loiccoyle/clinja | e48a15fbec005ac84711983aa70838faf40bc0bc | [
"MIT"
] | null | null | null | clinja/__init__.py | loiccoyle/clinja | e48a15fbec005ac84711983aa70838faf40bc0bc | [
"MIT"
] | null | null | null | clinja/__init__.py | loiccoyle/clinja | e48a15fbec005ac84711983aa70838faf40bc0bc | [
"MIT"
] | null | null | null | from .clinja import ClinjaDynamic, ClinjaStatic
__version__ = "1.1.0"
__author__ = "Loic Coyle <loic.coyle@hotmail.fr>"
| 24.2 | 49 | 0.760331 | 16 | 121 | 5.25 | 0.8125 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.115702 | 121 | 4 | 50 | 30.25 | 0.757009 | 0 | 0 | 0 | 0 | 0 | 0.322314 | 0.190083 | 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 |
c0bf51e8902c81e22f0300c191604437b4dc0516 | 558 | py | Python | sort_algorithms/test_selection_sort.py | prekolna/AlgorithmsGreatestHits | 7cdb60825b6e36abbffd5bdba480c3c70bc2c413 | [
"MIT"
] | 1 | 2017-04-07T03:57:04.000Z | 2017-04-07T03:57:04.000Z | sort_algorithms/test_selection_sort.py | doug-wade/AlgorithmsGreatestHits | 7cdb60825b6e36abbffd5bdba480c3c70bc2c413 | [
"MIT"
] | null | null | null | sort_algorithms/test_selection_sort.py | doug-wade/AlgorithmsGreatestHits | 7cdb60825b6e36abbffd5bdba480c3c70bc2c413 | [
"MIT"
] | null | null | null | import random
import unittest
from .selection_sort import selection_sort, find_min
class SelectionSortTests(unittest.TestCase):
def setUp(self):
self.list_of_ints = []
for i in range(5000):
next_int = random.randint(0,10000)
self.list_of_ints.append(next_int)
def test_f... | 32.823529 | 99 | 0.715054 | 82 | 558 | 4.560976 | 0.378049 | 0.149733 | 0.187166 | 0.262032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024229 | 0.18638 | 558 | 16 | 100 | 34.875 | 0.799559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.230769 | false | 0 | 0.230769 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c0c193c47782061d843acd1d293f2501208e9b78 | 182 | py | Python | hackerrank/Python/Strings/Capitalize.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | hackerrank/Python/Strings/Capitalize.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | hackerrank/Python/Strings/Capitalize.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | #Capitalize the first letter of each word from stdin. Strip whitespace and ignore strings starting with numbers.
print(" ".join((s.capitalize() for s in input().strip().split(" ")))) | 91 | 112 | 0.736264 | 27 | 182 | 4.962963 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126374 | 182 | 2 | 113 | 91 | 0.842767 | 0.60989 | 0 | 0 | 0 | 0 | 0.028169 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.