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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c9fc8e4cb48225517936c3d7574c3c36bcd7773 | 117 | py | Python | Project3/task/admin.py | Nakui/PruebaEmpleo | b3cdc8dfeddd1cd24569a291178f2614e42a1eeb | [
"MIT"
] | null | null | null | Project3/task/admin.py | Nakui/PruebaEmpleo | b3cdc8dfeddd1cd24569a291178f2614e42a1eeb | [
"MIT"
] | null | null | null | Project3/task/admin.py | Nakui/PruebaEmpleo | b3cdc8dfeddd1cd24569a291178f2614e42a1eeb | [
"MIT"
] | null | null | null | from django.contrib import admin
from task.models import Task
# Register your models here.
admin.site.register(Task) | 23.4 | 32 | 0.811966 | 18 | 117 | 5.277778 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 5 | 33 | 23.4 | 0.92233 | 0.222222 | 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 | 1 | 0 | 0 | 5 |
0ca0273c4f5d96e99b0d13a0dd96a10ea5c42444 | 133 | py | Python | cron.py | christopherpryer/luigi_demo | f8aade5f5a4a8f60529c1623cb82b3856c3f6744 | [
"MIT"
] | null | null | null | cron.py | christopherpryer/luigi_demo | f8aade5f5a4a8f60529c1623cb82b3856c3f6744 | [
"MIT"
] | null | null | null | cron.py | christopherpryer/luigi_demo | f8aade5f5a4a8f60529c1623cb82b3856c3f6744 | [
"MIT"
] | 1 | 2020-01-28T15:59:05.000Z | 2020-01-28T15:59:05.000Z | import datetime
import luigi
from apscheduler.schedulers.blocking import BlockingScheduler
sched = BlockingScheduler()
# TODO: ... | 16.625 | 61 | 0.804511 | 13 | 133 | 8.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 8 | 62 | 16.625 | 0.91453 | 0.067669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b369425d34c3982a24eeed07724db5355e8fe36 | 527 | py | Python | fangfangfang/models/__init__.py | nryang/fangfangfang | 6afe43d8491a5b88bec785025e094bb1e242d052 | [
"MIT"
] | null | null | null | fangfangfang/models/__init__.py | nryang/fangfangfang | 6afe43d8491a5b88bec785025e094bb1e242d052 | [
"MIT"
] | 1 | 2019-08-11T18:13:39.000Z | 2019-08-11T18:13:39.000Z | fangfangfang/models/__init__.py | nryang/fangfangfang | 6afe43d8491a5b88bec785025e094bb1e242d052 | [
"MIT"
] | null | null | null | """NOTE: This file is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Do not edit the file manually.
"""
# coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from fangfangfang.models.defang_request import DefangRequest
from fangfangfang.models... | 32.9375 | 91 | 0.833017 | 68 | 527 | 6.323529 | 0.558824 | 0.186047 | 0.255814 | 0.130233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004246 | 0.106262 | 527 | 15 | 92 | 35.133333 | 0.908705 | 0.343454 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b3721cc15b0a4aae3da7e2b70b4118ebe724b40 | 27 | py | Python | validium/__init__.py | json2d/validium | cc67dede318c0f90e5d7f1813d6380f153b596e4 | [
"MIT"
] | null | null | null | validium/__init__.py | json2d/validium | cc67dede318c0f90e5d7f1813d6380f153b596e4 | [
"MIT"
] | null | null | null | validium/__init__.py | json2d/validium | cc67dede318c0f90e5d7f1813d6380f153b596e4 | [
"MIT"
] | null | null | null | from .core import Validator | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0b7dccac9922b48f4165d836adfb47940d4d3a83 | 16,681 | py | Python | experiments/draw_openness_curves.py | Cogito2012/DEAR | 97d0e8f191da0f20dcc9721280af48171dabef5e | [
"Apache-2.0"
] | 47 | 2021-09-02T10:42:29.000Z | 2022-03-31T01:37:49.000Z | experiments/draw_openness_curves.py | Cogito2012/DEAR | 97d0e8f191da0f20dcc9721280af48171dabef5e | [
"Apache-2.0"
] | 2 | 2021-12-05T02:28:42.000Z | 2022-01-05T06:46:10.000Z | experiments/draw_openness_curves.py | Cogito2012/DEAR | 97d0e8f191da0f20dcc9721280af48171dabef5e | [
"Apache-2.0"
] | 6 | 2021-09-19T16:31:32.000Z | 2022-03-03T06:57:34.000Z | import os, argparse
import numpy as np
import matplotlib.pyplot as plt
from sklearn.metrics import f1_score
def softmax_curvepoints(result_file, thresh, ood_ncls, num_rand):
assert os.path.exists(result_file), "File not found! Run baseline_i3d_softmax.py first!"
# load the testing results
results = np.loa... | 51.484568 | 151 | 0.69714 | 2,422 | 16,681 | 4.523121 | 0.107349 | 0.052031 | 0.028115 | 0.043816 | 0.786308 | 0.753811 | 0.731995 | 0.724601 | 0.719306 | 0.697125 | 0 | 0.031574 | 0.17409 | 16,681 | 323 | 152 | 51.643963 | 0.763591 | 0.055033 | 0 | 0.480519 | 0 | 0 | 0.211134 | 0.0853 | 0 | 0 | 0 | 0 | 0.012987 | 1 | 0.038961 | false | 0 | 0.017316 | 0 | 0.073593 | 0.103896 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0b820575bc341d84887ee689c9676c233d60cb5c | 2,449 | py | Python | cmd/daprd/direct_message.py | ls-2018/dapr_cn | 7dc0f85d07d349580a2413cfde5f842a502ae475 | [
"MIT"
] | 1 | 2021-11-23T09:44:44.000Z | 2021-11-23T09:44:44.000Z | cmd/daprd/direct_message.py | ls-2018/dapr_cn | 7dc0f85d07d349580a2413cfde5f842a502ae475 | [
"MIT"
] | null | null | null | cmd/daprd/direct_message.py | ls-2018/dapr_cn | 7dc0f85d07d349580a2413cfde5f842a502ae475 | [
"MIT"
] | null | null | null | url = 'http://127.0.0.1:3001/post'
dapr_url = "http://localhost:3500/v1.0/invoke/dp-61c2cb20562850d49d47d1c7-executorapp/method/health"
# dapr_url = "http://localhost:3500/v1.0/healthz"
# res = requests.post(dapr_url, json.dumps({'a': random.random() * 1000}))
# res = requests.get(dapr_url, )
#
#
#
# print(res.text)
... | 37.106061 | 100 | 0.661903 | 359 | 2,449 | 4.501393 | 0.158774 | 0.070545 | 0.07797 | 0.155941 | 0.851485 | 0.832921 | 0.745668 | 0.507426 | 0.405322 | 0.14604 | 0 | 0.115721 | 0.064924 | 2,449 | 65 | 101 | 37.676923 | 0.589956 | 0.899959 | 0 | 0 | 0 | 0.5 | 0.567839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0b84e005c73d6752a7067c40b12a8f51ae4e8ea0 | 130 | py | Python | milksets/tests/test_abalone.py | luispedro/milksets | 84fc8cba4d4a87acf573ce562cd065b0ee37fadd | [
"MIT"
] | 7 | 2015-05-15T19:49:25.000Z | 2021-02-04T10:18:15.000Z | milksets/tests/test_abalone.py | luispedro/milksets | 84fc8cba4d4a87acf573ce562cd065b0ee37fadd | [
"MIT"
] | null | null | null | milksets/tests/test_abalone.py | luispedro/milksets | 84fc8cba4d4a87acf573ce562cd065b0ee37fadd | [
"MIT"
] | 2 | 2021-02-04T10:18:17.000Z | 2021-04-20T02:26:38.000Z | import milksets.abalone
def test_abalone():
features,labels = milksets.abalone.load()
assert len(features) == len(labels)
| 26 | 45 | 0.730769 | 16 | 130 | 5.875 | 0.625 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 4 | 46 | 32.5 | 0.846847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e7e60b4231684356eed281998528a9c4460b65ce | 302 | py | Python | plugins/dos2unix/__init__.py | LukasPersonal/hg-fast-export | 77a770c2b856a49f0d58a035cd9e300c8c0203ac | [
"MIT"
] | null | null | null | plugins/dos2unix/__init__.py | LukasPersonal/hg-fast-export | 77a770c2b856a49f0d58a035cd9e300c8c0203ac | [
"MIT"
] | 1 | 2021-09-30T17:11:13.000Z | 2021-09-30T17:11:13.000Z | plugins/dos2unix/__init__.py | LukasPersonal/hg-fast-export | 77a770c2b856a49f0d58a035cd9e300c8c0203ac | [
"MIT"
] | null | null | null | def build_filter(args):
return Filter(args)
class Filter:
def __init__(self, args):
pass
def file_data_filter(self, file_data):
file_ctx = file_data["file_ctx"]
if not file_ctx.isbinary():
file_data["data"] = file_data["data"].replace(b"\r\n", b"\n")
| 23.230769 | 73 | 0.612583 | 44 | 302 | 3.886364 | 0.431818 | 0.233918 | 0.140351 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245033 | 302 | 12 | 74 | 25.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.072848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
e7e6ae5e438b7227ac07d104cafe2480c399b5be | 194 | py | Python | ool/oppositions/managers.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | ool/oppositions/managers.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | ool/oppositions/managers.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | from django.db.models import Manager
from ool.users.constants import USER_TYPES
from .mixins import OppositionManagerMixin
class OppositionManager(Manager, OppositionManagerMixin):
pass
| 19.4 | 57 | 0.829897 | 22 | 194 | 7.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 194 | 9 | 58 | 21.555556 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
f000666e36187ea5185bf372f5e897b7675d27b0 | 118,488 | py | Python | test/python/T0Component_t/Tier0Feeder_t/Tier0Feeder_t.py | mapellidario/T0 | 8c1fdadfa12f36629b2e3de60a683d47ea895f75 | [
"Apache-2.0"
] | null | null | null | test/python/T0Component_t/Tier0Feeder_t/Tier0Feeder_t.py | mapellidario/T0 | 8c1fdadfa12f36629b2e3de60a683d47ea895f75 | [
"Apache-2.0"
] | 10 | 2017-12-05T12:48:49.000Z | 2019-08-06T09:35:08.000Z | test/python/T0Component_t/Tier0Feeder_t/Tier0Feeder_t.py | mapellidario/T0 | 8c1fdadfa12f36629b2e3de60a683d47ea895f75 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
_Tier0Feeder_t_
Testing the Tier0Feeder code
"""
from __future__ import print_function
import unittest
import threading
import logging
import time
import os
from WMQuality.TestInit import TestInit
from WMCore.DAOFactory import DAOFactory
from WMCore.Database.DBFactory import DBFactory
from ... | 64.747541 | 156 | 0.671494 | 11,470 | 118,488 | 6.659459 | 0.068091 | 0.224654 | 0.112995 | 0.205279 | 0.879137 | 0.865888 | 0.809044 | 0.622277 | 0.4458 | 0.279718 | 0 | 0.050853 | 0.198737 | 118,488 | 1,829 | 157 | 64.782942 | 0.753697 | 0.014913 | 0 | 0.23755 | 0 | 0 | 0.383943 | 0.174672 | 0 | 0 | 0 | 0 | 0.05249 | 1 | 0.012786 | false | 0 | 0.010767 | 0 | 0.039031 | 0.008748 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f0342be59fc1ee954d778c9b5f25e9cc15102b33 | 249 | py | Python | chainer_mask_rcnn/models/__init__.py | m3at/chainer-mask-rcnn | fa491663675cdc97974008becc99454d5e6e1d09 | [
"MIT"
] | 16 | 2018-12-20T14:03:54.000Z | 2021-01-22T23:37:31.000Z | chainer_mask_rcnn/models/__init__.py | Swall0w/chainer-mask-rcnn | 83366fc77e52aa6a29cfac4caa697d8b45dcffc6 | [
"MIT"
] | 2 | 2018-12-28T04:58:19.000Z | 2019-01-07T03:39:38.000Z | chainer_mask_rcnn/models/__init__.py | Swall0w/chainer-mask-rcnn | 83366fc77e52aa6a29cfac4caa697d8b45dcffc6 | [
"MIT"
] | 3 | 2019-02-27T05:06:59.000Z | 2019-07-07T05:56:36.000Z | # flake8: noqa
from . import utils
from .mask_rcnn import MaskRCNN
from .mask_rcnn_resnet import MaskRCNNResNet
from .mask_rcnn_train_chain import MaskRCNNTrainChain
from .mask_rcnn_vgg import MaskRCNNVGG16
from .mask_rcnn_vgg import VGG16RoIHead
| 24.9 | 53 | 0.851406 | 35 | 249 | 5.771429 | 0.457143 | 0.19802 | 0.29703 | 0.148515 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.116466 | 249 | 9 | 54 | 27.666667 | 0.895455 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f0775b42f648ccb7825b270c0f225f1e60552fb3 | 88 | py | Python | nenupytv/read/__init__.py | AlanLoh/nenupy-tv | 9c33652521293eaba726f02fdb2331ae32dda6f6 | [
"MIT"
] | null | null | null | nenupytv/read/__init__.py | AlanLoh/nenupy-tv | 9c33652521293eaba726f02fdb2331ae32dda6f6 | [
"MIT"
] | 14 | 2019-11-12T09:48:00.000Z | 2020-02-28T17:02:54.000Z | nenupytv/read/__init__.py | AlanLoh/nenupy-tv | 9c33652521293eaba726f02fdb2331ae32dda6f6 | [
"MIT"
] | 1 | 2020-09-09T17:40:58.000Z | 2020-09-09T17:40:58.000Z | #! /usr/bin/python3
# -*- coding: utf-8 -*-
from .crosslets import *
from .xst import * | 17.6 | 24 | 0.625 | 12 | 88 | 4.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.170455 | 88 | 5 | 25 | 17.6 | 0.726027 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b2d73ac5e7efaf8a0793a7aab2743b04385cb540 | 288 | py | Python | wagtail-{{ cookiecutter.project_name_kebab }}/wagtail_{{ cookiecutter.project_name_snake }}/apps.py | lb-/cookiecutter-wagtail-package | 245f5be9ccdf5230f55a747755939ca049f5e607 | [
"MIT"
] | 3 | 2020-11-16T17:39:49.000Z | 2021-02-25T23:32:33.000Z | wagtail-{{ cookiecutter.project_name_kebab }}/wagtail_{{ cookiecutter.project_name_snake }}/apps.py | lb-/cookiecutter-wagtail-package | 245f5be9ccdf5230f55a747755939ca049f5e607 | [
"MIT"
] | 8 | 2021-11-02T12:43:58.000Z | 2022-03-27T21:48:41.000Z | wagtail-{{ cookiecutter.project_name_kebab }}/wagtail_{{ cookiecutter.project_name_snake }}/apps.py | kaedroho/cookiecutter-wagtail-plugin | dabe4cf807c00d7ea683d215c1a9b8e637b8bbd6 | [
"MIT"
] | 1 | 2022-02-21T22:56:44.000Z | 2022-02-21T22:56:44.000Z | from django.apps import AppConfig
class Wagtail{{ cookiecutter.project_name_camel }}AppConfig(AppConfig):
label = "wagtail_{{ cookiecutter.project_name_snake }}"
name = "wagtail_{{ cookiecutter.project_name_snake }}"
verbose_name = "Wagtail {{ cookiecutter.project_name }}"
| 36 | 71 | 0.753472 | 31 | 288 | 6.677419 | 0.451613 | 0.36715 | 0.502415 | 0.57971 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 288 | 7 | 72 | 41.142857 | 0.828 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0.302083 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b2e197e1a6ddebcc69a39d744174fc3999f89c45 | 55 | py | Python | rfvision/models/pose_estimators/articulation/datasets/__init__.py | tycoer/rfvision-1 | db6e28746d8251d1f394544c32b9e0af388d9964 | [
"Apache-2.0"
] | null | null | null | rfvision/models/pose_estimators/articulation/datasets/__init__.py | tycoer/rfvision-1 | db6e28746d8251d1f394544c32b9e0af388d9964 | [
"Apache-2.0"
] | null | null | null | rfvision/models/pose_estimators/articulation/datasets/__init__.py | tycoer/rfvision-1 | db6e28746d8251d1f394544c32b9e0af388d9964 | [
"Apache-2.0"
] | null | null | null | from .articulation_dataset import ArticulationDataset
| 18.333333 | 53 | 0.890909 | 5 | 55 | 9.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 2 | 54 | 27.5 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b2e3ebd060fed4c6cd4740f9647ee93584f3dc88 | 250 | py | Python | pyroll/core/roll_pass/base_plugins/strain_rate.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | pyroll/core/roll_pass/base_plugins/strain_rate.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | pyroll/core/roll_pass/base_plugins/strain_rate.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | import sys
from ..roll_pass import RollPass
@RollPass.hookimpl
def strain_rate(roll_pass: RollPass):
return roll_pass.velocity / roll_pass.roll.contact_length * roll_pass.strain_change
RollPass.plugin_manager.register(sys.modules[__name__])
| 20.833333 | 87 | 0.812 | 35 | 250 | 5.428571 | 0.571429 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 250 | 11 | 88 | 22.727273 | 0.848214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.833333 | 0.333333 | 0.166667 | 0.666667 | 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 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 5 |
b2f197adcb4655b8bc8f9cabd0ad4da99e3b49dc | 203 | py | Python | watchmate_v2/app/api/throttling.py | rroy11705/Rest_API_With_Django | 6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60 | [
"CNRI-Python"
] | 6 | 2021-08-04T06:10:03.000Z | 2022-03-18T03:00:39.000Z | watchmate_v2/app/api/throttling.py | rroy11705/Rest_API_With_Django | 6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60 | [
"CNRI-Python"
] | 1 | 2022-02-22T03:30:50.000Z | 2022-03-09T14:33:00.000Z | watchmate_v2/app/api/throttling.py | rroy11705/Rest_API_With_Django | 6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60 | [
"CNRI-Python"
] | 3 | 2021-06-14T15:23:19.000Z | 2021-12-20T18:50:21.000Z | from rest_framework.throttling import UserRateThrottle
class ReviewCreateThrottle(UserRateThrottle):
scope = 'review-create'
class ReviewListThrottle(UserRateThrottle):
scope = 'review-list'
| 20.3 | 54 | 0.79803 | 18 | 203 | 8.944444 | 0.722222 | 0.26087 | 0.335404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128079 | 203 | 9 | 55 | 22.555556 | 0.909605 | 0 | 0 | 0 | 0 | 0 | 0.118227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
65443f0e7c5843c1d5ba013eda677bc4cc5765ab | 351 | py | Python | novice/03-04/latihan/test2.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | novice/03-04/latihan/test2.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | novice/03-04/latihan/test2.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture(params=[0, 1], ids=["spam", "ham"])
def a(request):
return request.param
def test_a(a):
pass
def idfn(fixture_value):
if fixture_value == 0:
return "eggs"
else:
return None
@pytest.fixture(params=[0, 1], ids=idfn)
def b(request):
return request.p... | 13 | 51 | 0.618234 | 52 | 351 | 4.096154 | 0.442308 | 0.122066 | 0.178404 | 0.187793 | 0.525822 | 0.525822 | 0 | 0 | 0 | 0 | 0 | 0.018727 | 0.239316 | 351 | 26 | 52 | 13.5 | 0.779026 | 0 | 0 | 0.25 | 0 | 0 | 0.031339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.125 | 0.0625 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
331ca59b81f1f82a16e1451a1935c09faf0ce7e9 | 109 | py | Python | microclim/__init__.py | trenchproject/microclim-api | b184ff562bb0289ceab39d295c55a3a2915da5b2 | [
"MIT"
] | null | null | null | microclim/__init__.py | trenchproject/microclim-api | b184ff562bb0289ceab39d295c55a3a2915da5b2 | [
"MIT"
] | null | null | null | microclim/__init__.py | trenchproject/microclim-api | b184ff562bb0289ceab39d295c55a3a2915da5b2 | [
"MIT"
] | 1 | 2020-12-11T03:57:59.000Z | 2020-12-11T03:57:59.000Z | #!/usr/bin/env python
# Copyright 2017 Aji John
from .api import *
| 27.25 | 62 | 0.440367 | 11 | 109 | 4.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.486239 | 109 | 3 | 63 | 36.333333 | 0.785714 | 0.779817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
331ed09bc45e5fdeb4516e37c5c87ab8122590c0 | 69 | py | Python | Prac/p3.py | SaicharanKandukuri/snippets-python-from-scrach | b0823fde3cf1a88bf43d97bdc542de7e32c76dac | [
"MIT"
] | 1 | 2021-05-29T03:09:24.000Z | 2021-05-29T03:09:24.000Z | Prac/p3.py | SaicharanKandukuri/snippets-python-from-scrach | b0823fde3cf1a88bf43d97bdc542de7e32c76dac | [
"MIT"
] | null | null | null | Prac/p3.py | SaicharanKandukuri/snippets-python-from-scrach | b0823fde3cf1a88bf43d97bdc542de7e32c76dac | [
"MIT"
] | null | null | null |
aTuple = ("Orange", [10, 20, 30], (5, 15, 25))
print(aTuple[1][1])
| 13.8 | 46 | 0.521739 | 12 | 69 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 0.173913 | 69 | 4 | 47 | 17.25 | 0.403509 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 5 |
3336c60fd6a2a4b52c40719cd9457bce593cd563 | 42,769 | py | Python | rigid_body_motion/reference_frames.py | phausamann/rigid-body-motion | 2d4fbb1b949cc0b609a59877d7539af75dad6861 | [
"MIT"
] | 8 | 2021-05-20T02:24:07.000Z | 2022-03-05T17:15:11.000Z | rigid_body_motion/reference_frames.py | phausamann/rigid-body-motion | 2d4fbb1b949cc0b609a59877d7539af75dad6861 | [
"MIT"
] | 10 | 2019-06-13T09:36:15.000Z | 2022-01-17T16:55:05.000Z | rigid_body_motion/reference_frames.py | phausamann/rigid-body-motion | 2d4fbb1b949cc0b609a59877d7539af75dad6861 | [
"MIT"
] | 1 | 2021-08-13T10:24:31.000Z | 2021-08-13T10:24:31.000Z | """"""
import numpy as np
from anytree import NodeMixin, RenderTree, Walker
from quaternion import as_float_array, as_quat_array, from_rotation_matrix
from rigid_body_motion.core import (
TransformMatcher,
_estimate_angular_velocity,
_estimate_linear_velocity,
_resolve_rf,
)
from rigid_body_motion.util... | 32.30287 | 79 | 0.587856 | 4,746 | 42,769 | 5.181205 | 0.06279 | 0.0427 | 0.015372 | 0.017568 | 0.780114 | 0.747377 | 0.730663 | 0.719154 | 0.704961 | 0.701993 | 0 | 0.002117 | 0.3485 | 42,769 | 1,323 | 80 | 32.327286 | 0.880383 | 0.446188 | 0 | 0.593537 | 0 | 0 | 0.072613 | 0.002305 | 0 | 0 | 0 | 0.005291 | 0 | 1 | 0.056122 | false | 0 | 0.010204 | 0 | 0.127551 | 0.001701 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
68443780aa900373a47f7e048d88c6be3ae45cf4 | 69 | py | Python | tools/__init__.py | Archie2k16/venus-api | 96d1a660161670fbbbba7ab34137df9f122738b7 | [
"WTFPL"
] | null | null | null | tools/__init__.py | Archie2k16/venus-api | 96d1a660161670fbbbba7ab34137df9f122738b7 | [
"WTFPL"
] | null | null | null | tools/__init__.py | Archie2k16/venus-api | 96d1a660161670fbbbba7ab34137df9f122738b7 | [
"WTFPL"
] | null | null | null | # encoding:utf-8
# !/usr/bin/env python
# me@archie.cc
import dotdict | 17.25 | 22 | 0.724638 | 12 | 69 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.115942 | 69 | 4 | 23 | 17.25 | 0.803279 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6845cf3cf09b35711110c9740ffeeddd9aeca837 | 4,196 | py | Python | DailyProgrammer/DP20171110C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20171110C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20171110C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2017-11-10] Challenge #339 [Hard] Severing the Power Grid
https://www.reddit.com/r/dailyprogrammer/comments/7c4bju/20171110_challenge_339_hard_severing_the_power/
# Description
In energy production, the power grid is a a large directed graph of energy consumers and producers. At times you need
to cut at certain ... | 27.973333 | 119 | 0.643708 | 949 | 4,196 | 2.830348 | 0.420443 | 0.069248 | 0.013403 | 0.013403 | 0.03723 | 0.032018 | 0 | 0 | 0 | 0 | 0 | 0.290663 | 0.277645 | 4,196 | 149 | 120 | 28.161074 | 0.595513 | 0.982841 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6874e644be4f30574e6ebffa5035e0598a5d0f56 | 17 | py | Python | python/youarehere/api/__init__.py | whosonfirst/youarehere-www | e4ff8f0971586646c9c0586a28638da8234d8341 | [
"BSD-2-Clause"
] | 1 | 2021-01-18T04:33:54.000Z | 2021-01-18T04:33:54.000Z | python/youarehere/api/__init__.py | thisisaaronland/youarehere-www | e4ff8f0971586646c9c0586a28638da8234d8341 | [
"BSD-2-Clause"
] | null | null | null | python/youarehere/api/__init__.py | thisisaaronland/youarehere-www | e4ff8f0971586646c9c0586a28638da8234d8341 | [
"BSD-2-Clause"
] | 1 | 2015-06-15T20:31:10.000Z | 2015-06-15T20:31:10.000Z | # I blame, Guido
| 8.5 | 16 | 0.647059 | 3 | 17 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 17 | 1 | 17 | 17 | 0.846154 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d7c41b4a96d0f00142f1834c33753e5b6a5efa30 | 32 | py | Python | ptz_held_zoom_out.py | FarmVivi/kodihikvision | 96fe3dda2acce3363a9aa07ad979032cfec30501 | [
"MIT"
] | null | null | null | ptz_held_zoom_out.py | FarmVivi/kodihikvision | 96fe3dda2acce3363a9aa07ad979032cfec30501 | [
"MIT"
] | null | null | null | ptz_held_zoom_out.py | FarmVivi/kodihikvision | 96fe3dda2acce3363a9aa07ad979032cfec30501 | [
"MIT"
] | null | null | null | import api
api.held_zoom_out()
| 8 | 19 | 0.78125 | 6 | 32 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 3 | 20 | 10.666667 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d7d4452e1bf2e1ad0d640dabe364de17ae9359cd | 2,735 | py | Python | tests/test_all.py | maxblee/force_deps | 70af2d6943b5b4733ca5e4efee1dcaeab2de4e9c | [
"MIT"
] | null | null | null | tests/test_all.py | maxblee/force_deps | 70af2d6943b5b4733ca5e4efee1dcaeab2de4e9c | [
"MIT"
] | null | null | null | tests/test_all.py | maxblee/force_deps | 70af2d6943b5b4733ca5e4efee1dcaeab2de4e9c | [
"MIT"
] | null | null | null | import subprocess
import pytest
from force_deps import *
@pytest.mark.parametrize("pkg_name", ["re", "pytest"])
def test_available_function_returns(pkg_name):
"""If a package has been installed in the environment, returns the function"""
@requires(pkg_name)
def returns_none():
return None
asser... | 31.436782 | 94 | 0.668373 | 350 | 2,735 | 4.96 | 0.274286 | 0.101382 | 0.064516 | 0.092166 | 0.380184 | 0.312788 | 0.269009 | 0.25 | 0.25 | 0.241359 | 0 | 0.001856 | 0.212066 | 2,735 | 87 | 95 | 31.436782 | 0.803712 | 0.186472 | 0 | 0.471429 | 0 | 0 | 0.094977 | 0 | 0 | 0 | 0 | 0.011494 | 0.128571 | 1 | 0.3 | false | 0.057143 | 0.1 | 0.171429 | 0.571429 | 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 | 1 | 1 | 0 | 0 | 5 |
d7e38f686e961d245a0d9417f2012614d6a47116 | 4,909 | py | Python | tracking/dsets/mot_wrapper.py | bjuncek/detr | a1bd3788ca16fb8dc92f7e69b2d801259ecec8f9 | [
"Apache-2.0"
] | null | null | null | tracking/dsets/mot_wrapper.py | bjuncek/detr | a1bd3788ca16fb8dc92f7e69b2d801259ecec8f9 | [
"Apache-2.0"
] | null | null | null | tracking/dsets/mot_wrapper.py | bjuncek/detr | a1bd3788ca16fb8dc92f7e69b2d801259ecec8f9 | [
"Apache-2.0"
] | null | null | null | import os.path as osp
import torch
from torch.utils.data import Dataset
from .mot_sequence import MOTSequence
class MOT17Wrapper(Dataset):
"""A Wrapper for the MOT_Sequence class to return multiple sequences."""
def __init__(self, split, dets, dataloader):
"""Initliazes all subset of the dataset.
Keyword ar... | 31.267516 | 104 | 0.690365 | 650 | 4,909 | 5.063077 | 0.133846 | 0.068064 | 0.080219 | 0.051656 | 0.786083 | 0.778183 | 0.748405 | 0.744758 | 0.718019 | 0.679733 | 0 | 0.061997 | 0.16541 | 4,909 | 156 | 105 | 31.467949 | 0.741274 | 0.220819 | 0 | 0.549451 | 0 | 0 | 0.202253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.043956 | 0.021978 | 0.197802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d7ef37683d4ee1032c5aebdb10947330c7f6a7e7 | 96 | py | Python | keras_svi/__init__.py | krzysztofrusek/keras_svi | 131615e477f9fd2ddcbf52aa8b92736c46464869 | [
"BSD-3-Clause"
] | null | null | null | keras_svi/__init__.py | krzysztofrusek/keras_svi | 131615e477f9fd2ddcbf52aa8b92736c46464869 | [
"BSD-3-Clause"
] | null | null | null | keras_svi/__init__.py | krzysztofrusek/keras_svi | 131615e477f9fd2ddcbf52aa8b92736c46464869 | [
"BSD-3-Clause"
] | 1 | 2021-02-23T16:24:21.000Z | 2021-02-23T16:24:21.000Z | '''
Copyright (c) 2020, AGH University of Science and Technology.
'''
from keras_svi import *
| 13.714286 | 61 | 0.708333 | 13 | 96 | 5.153846 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0.177083 | 96 | 6 | 62 | 16 | 0.797468 | 0.635417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d7fc1111c04bab2b3e7f2f0e1914966c27b576f3 | 186 | py | Python | Exercism/pangram/pangram.py | adityaarakeri/Interview-solved | e924011d101621c7121f4f86d82bee089f4c1e25 | [
"MIT"
] | 46 | 2019-10-14T01:21:35.000Z | 2022-01-08T23:55:15.000Z | Exercism/pangram/pangram.py | Siddhant-K-code/Interview-solved | e924011d101621c7121f4f86d82bee089f4c1e25 | [
"MIT"
] | 53 | 2019-10-03T17:16:43.000Z | 2020-12-08T12:48:19.000Z | Exercism/pangram/pangram.py | Siddhant-K-code/Interview-solved | e924011d101621c7121f4f86d82bee089f4c1e25 | [
"MIT"
] | 96 | 2019-10-03T18:12:10.000Z | 2021-03-14T19:41:06.000Z | from string import ascii_lowercase
def is_pangram(sentence):
chars = set(ch for ch in sentence.lower() if ch in ascii_lowercase)
return len(chars) == len(set(ascii_lowercase))
| 26.571429 | 71 | 0.741935 | 29 | 186 | 4.62069 | 0.62069 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 186 | 6 | 72 | 31 | 0.864516 | 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 | 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 | 1 | 0 | 0 | 5 |
cc2b566a879059ac5d0f4228de3c5313014c6b5e | 5,999 | py | Python | test/simple_imputation/test_random_value_imputation.py | macarro/imputena | 3a94ae1419a2af0d9707b20546ee078929ce99e8 | [
"MIT"
] | 6 | 2020-04-27T21:21:47.000Z | 2022-03-30T03:02:54.000Z | test/simple_imputation/test_random_value_imputation.py | macarro/imputena | 3a94ae1419a2af0d9707b20546ee078929ce99e8 | [
"MIT"
] | 1 | 2021-07-01T18:49:27.000Z | 2021-07-01T18:49:27.000Z | test/simple_imputation/test_random_value_imputation.py | macarro/imputena | 3a94ae1419a2af0d9707b20546ee078929ce99e8 | [
"MIT"
] | null | null | null | import unittest
from imputena import random_value_imputation
from test.example_data import *
class TestRandomValueImputation(unittest.TestCase):
# Positive tests for data as a dataframe ----------------------------------
def test_RVI_df_returning(self):
"""
Positive test
data: Cor... | 29.995 | 79 | 0.590598 | 680 | 5,999 | 5.069118 | 0.136765 | 0.051059 | 0.040615 | 0.046417 | 0.815782 | 0.796055 | 0.738033 | 0.705541 | 0.636786 | 0.559037 | 0 | 0.019263 | 0.29905 | 5,999 | 199 | 80 | 30.145729 | 0.800476 | 0.421737 | 0 | 0.444444 | 0 | 0 | 0.009404 | 0 | 0 | 0 | 0 | 0 | 0.314815 | 1 | 0.203704 | false | 0 | 0.055556 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0bd9bdcc300427d0c7913174f4fced198837aa44 | 125 | py | Python | otter/plugins/builtin/__init__.py | drjbarker/otter-grader | 9e89e1675b09cf7889995b5f1bc8e1648bf6c309 | [
"BSD-3-Clause"
] | null | null | null | otter/plugins/builtin/__init__.py | drjbarker/otter-grader | 9e89e1675b09cf7889995b5f1bc8e1648bf6c309 | [
"BSD-3-Clause"
] | null | null | null | otter/plugins/builtin/__init__.py | drjbarker/otter-grader | 9e89e1675b09cf7889995b5f1bc8e1648bf6c309 | [
"BSD-3-Clause"
] | null | null | null | """
Builtin Otter plugins
"""
from .grade_override import GoogleSheetsGradeOverride
from .rate_limiting import RateLimiting
| 17.857143 | 53 | 0.824 | 13 | 125 | 7.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 6 | 54 | 20.833333 | 0.90991 | 0.168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0bec74a8a24eff8df4ddbce56c069f9abf75cd24 | 203 | py | Python | lycheepy/configuration/configuration/resources/repository.py | gabrielbazan/lycheepy | f314d3f591f4a449b37ead9baf26b9f5d58d9f0d | [
"MIT"
] | 17 | 2018-08-14T02:42:43.000Z | 2022-02-25T00:38:47.000Z | lycheepy/configuration/configuration/resources/repository.py | gabrielbazan/lycheepy | f314d3f591f4a449b37ead9baf26b9f5d58d9f0d | [
"MIT"
] | 1 | 2018-11-01T02:55:01.000Z | 2018-11-01T02:55:01.000Z | lycheepy/configuration/configuration/resources/repository.py | gabrielbazan/lycheepy | f314d3f591f4a449b37ead9baf26b9f5d58d9f0d | [
"MIT"
] | 4 | 2018-10-30T16:01:49.000Z | 2021-06-08T20:21:07.000Z | from simplyrestful.resources import Resource
from serializers import RepositorySerializer
class RepositoryResource(Resource):
endpoint = 'repositories'
serializer = RepositorySerializer
| 25.375 | 45 | 0.79803 | 16 | 203 | 10.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162562 | 203 | 7 | 46 | 29 | 0.952941 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 5 |
f0b357c79baf3ff477c7515cc300fe0a7f789f55 | 657 | py | Python | src/zvt/recorders/sina/money_flow/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 2,032 | 2019-04-16T14:10:32.000Z | 2022-03-31T12:40:13.000Z | src/zvt/recorders/sina/money_flow/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 162 | 2019-05-07T09:57:46.000Z | 2022-03-25T16:23:08.000Z | src/zvt/recorders/sina/money_flow/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 755 | 2019-04-30T10:25:16.000Z | 2022-03-29T17:50:49.000Z | # the __all__ is generated
__all__ = []
# __init__.py structure:
# common code of the package
# export interface in __all__ which contains __all__ of its sub modules
# import all from submodule sina_block_money_flow_recorder
from .sina_block_money_flow_recorder import *
from .sina_block_money_flow_recorder import __a... | 34.578947 | 90 | 0.858447 | 100 | 657 | 4.8 | 0.29 | 0.1875 | 0.354167 | 0.1875 | 0.775 | 0.575 | 0.3375 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 657 | 18 | 91 | 36.5 | 0.820513 | 0.392694 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f0c89b372e8ef0dee581bf48f647467565d55421 | 38 | py | Python | exercises/crypto-square/crypto_square.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/crypto-square/crypto_square.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/crypto-square/crypto_square.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | def cipher_text(plain_text):
pass
| 12.666667 | 28 | 0.736842 | 6 | 38 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 29 | 19 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0b045924836254c7ae0907838469173e7ad70c07 | 184 | py | Python | deeplab_resnet/__init__.py | ecustWallace/cataract | 76b28eb6c12cad04137a0ef90462c743b776db1b | [
"MIT"
] | null | null | null | deeplab_resnet/__init__.py | ecustWallace/cataract | 76b28eb6c12cad04137a0ef90462c743b776db1b | [
"MIT"
] | null | null | null | deeplab_resnet/__init__.py | ecustWallace/cataract | 76b28eb6c12cad04137a0ef90462c743b776db1b | [
"MIT"
] | null | null | null | from .model import DeepLabResNetModel
from .image_reader import ImageReader
from .image_reader_mp import ImageReader_MP
from .utils import decode_labels, inv_preprocess, prepare_label
| 36.8 | 63 | 0.869565 | 25 | 184 | 6.12 | 0.6 | 0.117647 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 184 | 4 | 64 | 46 | 0.921687 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9bc26273ac4cc80c0e240ca96c42243961608b9a | 105 | py | Python | roundingError.py | funge/udacity-dl | 65ff4279b9872e156a783e9eb4d24d863ef235c7 | [
"Apache-2.0"
] | null | null | null | roundingError.py | funge/udacity-dl | 65ff4279b9872e156a783e9eb4d24d863ef235c7 | [
"Apache-2.0"
] | null | null | null | roundingError.py | funge/udacity-dl | 65ff4279b9872e156a783e9eb4d24d863ef235c7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
a = 1000000000
for i in xrange(1000000):
a += 1e-6
a -= 1000000000
print(a)
| 10.5 | 25 | 0.628571 | 18 | 105 | 3.666667 | 0.777778 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.353659 | 0.219048 | 105 | 9 | 26 | 11.666667 | 0.45122 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50317e4e9f3c234862aabeed2721c5fa3b10253f | 243 | py | Python | example/drf_integrations_example/api/auth_backends.py | yoyowallet/drf-integrations-framework | 7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9 | [
"MIT"
] | 1 | 2020-07-09T11:39:19.000Z | 2020-07-09T11:39:19.000Z | example/drf_integrations_example/api/auth_backends.py | yoyowallet/drf-integrations-framework | 7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9 | [
"MIT"
] | 5 | 2020-07-08T11:00:26.000Z | 2021-01-13T09:33:09.000Z | example/drf_integrations_example/api/auth_backends.py | yoyowallet/drf-integrations-framework | 7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9 | [
"MIT"
] | 2 | 2021-08-12T12:23:54.000Z | 2021-09-20T06:45:38.000Z | from drf_integrations.auth_backends import IntegrationOAuth2Authentication
from .integrations import APIClientIntegration
class OAuth2Authentication(IntegrationOAuth2Authentication):
ensure_integration_classes = (APIClientIntegration,)
| 30.375 | 74 | 0.880658 | 18 | 243 | 11.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013453 | 0.082305 | 243 | 7 | 75 | 34.714286 | 0.928251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 5 |
504eb2866572ffc3d32836fd3bee6cf4b9b96b85 | 9,429 | py | Python | cache_dependencies/tests/test_helpers.py | Tusky/cache-dependencies | 6c19d0c2adfce19c3fdc53ad5704eddc6d84e106 | [
"BSD-3-Clause"
] | 3 | 2017-08-08T20:06:56.000Z | 2018-09-19T03:16:20.000Z | cache_dependencies/tests/test_helpers.py | Tusky/cache-dependencies | 6c19d0c2adfce19c3fdc53ad5704eddc6d84e106 | [
"BSD-3-Clause"
] | 1 | 2017-10-24T23:11:32.000Z | 2017-10-24T23:11:32.000Z | cache_dependencies/tests/test_helpers.py | Tusky/cache-dependencies | 6c19d0c2adfce19c3fdc53ad5704eddc6d84e106 | [
"BSD-3-Clause"
] | 8 | 2017-10-24T07:43:56.000Z | 2021-06-17T07:03:02.000Z | import time
from unittest import TestCase
from .helpers import CacheStub
def f():
return 1
class C:
def m(n):
return 2
class CacheStubTest(TestCase):
"""
Because library historically uses Django cache API, - some tests here are taken from Django.
"""
CACHE_NAME = 'default'
de... | 39.78481 | 112 | 0.617775 | 1,230 | 9,429 | 4.654472 | 0.091057 | 0.216943 | 0.138341 | 0.180262 | 0.823231 | 0.751092 | 0.652926 | 0.56524 | 0.50393 | 0.432838 | 0 | 0.044605 | 0.205854 | 9,429 | 236 | 113 | 39.95339 | 0.719952 | 0.013999 | 0 | 0.345745 | 0 | 0 | 0.12403 | 0 | 0 | 0 | 0 | 0 | 0.462766 | 1 | 0.138298 | false | 0 | 0.015957 | 0.010638 | 0.180851 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 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 | 5 |
aca5893105e5d5fa9a3a6bb0cbb5d3f09c8c4c78 | 273 | py | Python | 3day/Func07.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | 3day/Func07.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | 3day/Func07.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | # Func07.py
def pSum(mod, *n):
ans = 0
for i in n:
ans += i
return mod + " " + str(ans)
print(pSum('덧셈',20,10)) # 덧셈 30
print(pSum('덧셈',20,10,5)) # 덧셈 35
print(pSum('덧셈',20,10,5,2)) # 덧셈 37
a = [10,20,30,40,50]
print(pSum('덧셈', *a)) # 덧셈 150
| 12.409091 | 35 | 0.501832 | 55 | 273 | 2.509091 | 0.490909 | 0.26087 | 0.318841 | 0.282609 | 0.34058 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0.18408 | 0.263736 | 273 | 21 | 36 | 13 | 0.497512 | 0.124542 | 0 | 0 | 0 | 0 | 0.03913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
acaddc1fad1cf5ce8c26f02fa2bc3a3bdc6f6fd7 | 47 | py | Python | Comprehensions-Lab/ascii_values.py | dechevh/Python-Advanced | 9daf33771b9096db77bcbf05ae2a4591b876c723 | [
"MIT"
] | 2 | 2020-09-15T19:12:26.000Z | 2020-09-15T19:12:30.000Z | Comprehensions-Lab/ascii_values.py | dechevh/Python-Advanced | 9daf33771b9096db77bcbf05ae2a4591b876c723 | [
"MIT"
] | 1 | 2021-07-06T09:20:49.000Z | 2021-07-06T09:20:49.000Z | Comprehensions-Lab/ascii_values.py | dechevh/Python-Advanced | 9daf33771b9096db77bcbf05ae2a4591b876c723 | [
"MIT"
] | null | null | null | print({c: ord(c) for c in input().split(", ")}) | 47 | 47 | 0.553191 | 9 | 47 | 2.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
acccbb96f8380454f36e598b963cf2a71fe76c3f | 180 | py | Python | PythonExercicios/ex006.py | github-felipe/ExerciciosEmPython-cursoemvideo | 0045464a287f21b6245554a975588cf06c5b476d | [
"MIT"
] | null | null | null | PythonExercicios/ex006.py | github-felipe/ExerciciosEmPython-cursoemvideo | 0045464a287f21b6245554a975588cf06c5b476d | [
"MIT"
] | null | null | null | PythonExercicios/ex006.py | github-felipe/ExerciciosEmPython-cursoemvideo | 0045464a287f21b6245554a975588cf06c5b476d | [
"MIT"
] | null | null | null | n = float(input('Digite um número: '))
print(f'O \033[34mdobro\033[m de {n} é: {n * 2} \n O \033[36mtriplo\033[m é {n * 3} \n A \033[7;30mraíz quadrada\033[m é: {n ** (1/2):.2f}')
| 60 | 140 | 0.583333 | 40 | 180 | 2.625 | 0.575 | 0.114286 | 0.095238 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198676 | 0.161111 | 180 | 2 | 141 | 90 | 0.496689 | 0 | 0 | 0 | 0 | 0.5 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
accff594ee79e60aba387c5a832e53f5050c05e3 | 235 | py | Python | fastcord/utils/date.py | dskprt/botnolib | dd17aff956df0a54838980257249a7dfb725ab23 | [
"MIT"
] | 3 | 2020-03-17T13:08:42.000Z | 2021-07-07T10:58:04.000Z | fastcord/utils/date.py | dskprt/botnolib | dd17aff956df0a54838980257249a7dfb725ab23 | [
"MIT"
] | 1 | 2020-04-07T12:46:09.000Z | 2020-04-07T12:46:09.000Z | fastcord/utils/date.py | dskprt/botnolib | dd17aff956df0a54838980257249a7dfb725ab23 | [
"MIT"
] | 1 | 2020-04-12T17:37:32.000Z | 2020-04-12T17:37:32.000Z | from datetime import datetime
def from_iso8601(date):
return datetime.fromisoformat(date)
def to_iso8601(year, month, day, hour, minute, second):
return datetime(year, month, day, hour,
minute, second, 0).isoformat()
| 26.111111 | 55 | 0.719149 | 31 | 235 | 5.387097 | 0.548387 | 0.167665 | 0.143713 | 0.191617 | 0.335329 | 0.335329 | 0 | 0 | 0 | 0 | 0 | 0.046392 | 0.174468 | 235 | 8 | 56 | 29.375 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ace58028df63e3d22f74c4758c5f96cfe50d918b | 227 | py | Python | pypy/interpreter/pyparser/test/samples/snippet_with_2.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 12 | 2016-01-06T07:10:28.000Z | 2021-05-13T23:02:02.000Z | pypy/interpreter/pyparser/test/samples/snippet_with_2.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | pypy/interpreter/pyparser/test/samples/snippet_with_2.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | 2 | 2016-07-29T07:09:50.000Z | 2016-10-16T08:50:26.000Z | # EXPECT: Module(None, Stmt([From('__future__', [('with_statement', None)]), With(Name('acontext'), Stmt([Pass()]), AssName('avariable', OP_ASSIGN))]))
from __future__ import with_statement
with acontext as avariable:
pass
| 37.833333 | 151 | 0.713656 | 28 | 227 | 5.392857 | 0.607143 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101322 | 227 | 5 | 152 | 45.4 | 0.740196 | 0.656388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
acfb33730892c27922f22a442ef653a991ddabcd | 70 | py | Python | filters/encoding.py | adibalcan/crawlingbot | 9f2a8b13dccafcc07cf7760e1498cf51cf691277 | [
"MIT"
] | 1 | 2016-10-07T14:10:58.000Z | 2016-10-07T14:10:58.000Z | filters/encoding.py | adibalcan/crawlingbot | 9f2a8b13dccafcc07cf7760e1498cf51cf691277 | [
"MIT"
] | null | null | null | filters/encoding.py | adibalcan/crawlingbot | 9f2a8b13dccafcc07cf7760e1498cf51cf691277 | [
"MIT"
] | null | null | null | def filter(source, meta={}):
return meta["response"].textencoding
| 23.333333 | 40 | 0.7 | 8 | 70 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 2 | 41 | 35 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4a1a1ff4dc3cd7c2340004feb86a36272f831801 | 38 | py | Python | wp api/errors.py | aouwalitshikkha/wp-gutenberg | fc1f94ccaede1fd7520645d0c8922cdeaaa28279 | [
"MIT"
] | 1 | 2022-03-25T08:16:35.000Z | 2022-03-25T08:16:35.000Z | wp api/errors.py | aouwalitshikkha/wp-gutenberg | fc1f94ccaede1fd7520645d0c8922cdeaaa28279 | [
"MIT"
] | null | null | null | wp api/errors.py | aouwalitshikkha/wp-gutenberg | fc1f94ccaede1fd7520645d0c8922cdeaaa28279 | [
"MIT"
] | null | null | null | class WpApiError(Exception):
pass
| 12.666667 | 28 | 0.736842 | 4 | 38 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 29 | 19 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c5bf5611d679f5c03299d814145fde0f52e5f1f3 | 71 | py | Python | semparse/__init__.py | lukovnikov/semparse | 0fd5fcd9c982b6faac8f08b451f20273d2cc0da7 | [
"MIT"
] | null | null | null | semparse/__init__.py | lukovnikov/semparse | 0fd5fcd9c982b6faac8f08b451f20273d2cc0da7 | [
"MIT"
] | null | null | null | semparse/__init__.py | lukovnikov/semparse | 0fd5fcd9c982b6faac8f08b451f20273d2cc0da7 | [
"MIT"
] | 1 | 2021-04-06T13:15:01.000Z | 2021-04-06T13:15:01.000Z | import semparse.rnn
import semparse.attention
import semparse.stackcell | 23.666667 | 25 | 0.887324 | 9 | 71 | 7 | 0.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 71 | 3 | 26 | 23.666667 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c5da5f3553a69e8d46e18cc0b6a7ea0fdf3fd6df | 70 | py | Python | invenio_madmp/convert/__init__.py | FAIR-Data-Austria/invenio-madmp | 74372ee794f81666f5e9cf08ef448c21b2e428be | [
"MIT"
] | 1 | 2022-03-02T10:37:29.000Z | 2022-03-02T10:37:29.000Z | invenio_madmp/convert/__init__.py | FAIR-Data-Austria/invenio-madmp | 74372ee794f81666f5e9cf08ef448c21b2e428be | [
"MIT"
] | 9 | 2020-08-25T12:03:08.000Z | 2020-10-20T11:45:32.000Z | invenio_madmp/convert/__init__.py | FAIR-Data-Austria/invenio-madmp | 74372ee794f81666f5e9cf08ef448c21b2e428be | [
"MIT"
] | null | null | null | """TODO."""
from .util import convert_dmp
__all__ = ["convert_dmp"]
| 11.666667 | 29 | 0.671429 | 9 | 70 | 4.555556 | 0.777778 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 70 | 5 | 30 | 14 | 0.683333 | 0.071429 | 0 | 0 | 0 | 0 | 0.186441 | 0 | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c5ff905dd0e4fa7d98375da4780979f2b2fd847a | 53 | py | Python | freeldep/cloud/__init__.py | MatthieuBlais/freeldep | 092de3c603a28b9d12e9ad93d6c0cca773469c9f | [
"Apache-2.0"
] | null | null | null | freeldep/cloud/__init__.py | MatthieuBlais/freeldep | 092de3c603a28b9d12e9ad93d6c0cca773469c9f | [
"Apache-2.0"
] | null | null | null | freeldep/cloud/__init__.py | MatthieuBlais/freeldep | 092de3c603a28b9d12e9ad93d6c0cca773469c9f | [
"Apache-2.0"
] | null | null | null | from freeldep.cloud.compiler import Compiler # noqa
| 26.5 | 52 | 0.811321 | 7 | 53 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 1 | 53 | 53 | 0.934783 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a844fbd1b756056a248635a8de6aeef2cfd277c6 | 98 | py | Python | backend/accounts/admin.py | njokuifeanyigerald/djoser-react | 51b7c60ea5648263300957bad1c4754c3ea1b6f2 | [
"MIT"
] | null | null | null | backend/accounts/admin.py | njokuifeanyigerald/djoser-react | 51b7c60ea5648263300957bad1c4754c3ea1b6f2 | [
"MIT"
] | null | null | null | backend/accounts/admin.py | njokuifeanyigerald/djoser-react | 51b7c60ea5648263300957bad1c4754c3ea1b6f2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import UserAccount
admin.site.register(UserAccount) | 24.5 | 32 | 0.846939 | 13 | 98 | 6.384615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 4 | 33 | 24.5 | 0.932584 | 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 | 1 | 0 | 0 | 5 |
a845af35fd9c6dd666d3463aefb09c6ea04b09be | 47 | py | Python | 3d_printing/test1/test_cube.py | CoffeeAddict93/braille_translation | 30d5514fa0a6c010df5ad053d6e69298dba836ab | [
"MIT"
] | 1 | 2021-11-24T03:51:06.000Z | 2021-11-24T03:51:06.000Z | 3d_printing/test1/test_cube.py | CoffeeAddict93/braille_translation | 30d5514fa0a6c010df5ad053d6e69298dba836ab | [
"MIT"
] | null | null | null | 3d_printing/test1/test_cube.py | CoffeeAddict93/braille_translation | 30d5514fa0a6c010df5ad053d6e69298dba836ab | [
"MIT"
] | null | null | null | import bpy
bpy.ops.mesh.primitive_cube_add() | 15.666667 | 33 | 0.787234 | 8 | 47 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 3 | 33 | 15.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a873ae02fba5231f43019031f4889fc120b7b412 | 521 | py | Python | _database/models/__init__.py | marcoEDU/HackerspaceWebsiteTemplate | 29621a5f5daef7a8073f368b7d95a1df654c8ba9 | [
"MIT"
] | 9 | 2019-11-04T04:46:08.000Z | 2019-12-29T22:24:38.000Z | _database/models/__init__.py | marcoEDU/HackerspaceWebsiteTemplate | 29621a5f5daef7a8073f368b7d95a1df654c8ba9 | [
"MIT"
] | 27 | 2020-02-17T17:57:00.000Z | 2020-04-23T20:25:44.000Z | _database/models/__init__.py | marcoEDU/HackerspaceWebsiteTemplate | 29621a5f5daef7a8073f368b7d95a1df654c8ba9 | [
"MIT"
] | 4 | 2020-02-17T13:39:18.000Z | 2020-04-12T07:56:45.000Z | # link the models locations
from _database.models.events import Event
from _database.models.machines import Machine
from _database.models.projects import Project
from _database.models.consensus import Consensus
from _database.models.spaces import Space
from _database.models.persons import Person
from _database.models.g... | 40.076923 | 53 | 0.861804 | 70 | 521 | 6.257143 | 0.385714 | 0.30137 | 0.452055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09405 | 521 | 12 | 54 | 43.416667 | 0.927966 | 0.047985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a877594c249b0ff35ff44e66152d6363dbbb2bf2 | 28 | py | Python | tracking/eye_tracking/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | tracking/eye_tracking/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | tracking/eye_tracking/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | from .eye_tracking import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
763893d2ffffdf1a442319e031b0f9f3790c1b38 | 324 | py | Python | Appendix_C_Python/example03_float.py | itanaskovic/Data-Science-Algorithms-in-a-Week | 879cb4c96b35d57e593a85b54dcda41f91d27533 | [
"MIT"
] | 30 | 2017-09-02T16:00:02.000Z | 2022-03-28T02:00:07.000Z | AppendixC/example03_float.py | abhishek-choudharys/Data-Science-Algorithms-in-a-Week-Second-Edition | e4fc518803129e6b11e0bfa0587ff450c2577ff9 | [
"MIT"
] | null | null | null | AppendixC/example03_float.py | abhishek-choudharys/Data-Science-Algorithms-in-a-Week-Second-Edition | e4fc518803129e6b11e0bfa0587ff450c2577ff9 | [
"MIT"
] | 34 | 2017-08-15T11:03:01.000Z | 2020-12-24T09:35:58.000Z | pi = 3.14159
circle_radius = 10.2
circle_perimeter = 2 * pi * circle_radius
circle_area = pi * circle_radius * circle_radius
print "Let there be a circle with the radius", circle_radius, "cm."
print "Then the perimeter of the circle is", circle_perimeter, "cm."
print "The area of the circle is", circle_area, "cm square... | 40.5 | 68 | 0.746914 | 54 | 324 | 4.314815 | 0.388889 | 0.257511 | 0.120172 | 0.171674 | 0.16309 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03663 | 0.157407 | 324 | 7 | 69 | 46.285714 | 0.81685 | 0 | 0 | 0 | 0 | 0 | 0.351852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
764e4066acdde0621e1d9a2228dfec35d8821d7e | 104 | py | Python | GNN_PRP/prp_3_21/adgcl/transfer/learning/__init__.py | frankling2020/Self-learn-Repo | 294df18469d6d4ef6d479b1b533f42445cd01ac1 | [
"MIT"
] | 42 | 2021-06-30T21:05:28.000Z | 2022-03-28T09:23:57.000Z | GNN_PRP/prp_3_21/adgcl/transfer/learning/__init__.py | frankling2020/Self-learn-Repo | 294df18469d6d4ef6d479b1b533f42445cd01ac1 | [
"MIT"
] | 3 | 2021-11-04T02:49:41.000Z | 2021-12-29T08:41:15.000Z | GNN_PRP/prp_3_21/adgcl/transfer/learning/__init__.py | frankling2020/Self-learn-Repo | 294df18469d6d4ef6d479b1b533f42445cd01ac1 | [
"MIT"
] | 3 | 2022-01-25T16:24:17.000Z | 2022-03-24T13:45:57.000Z | from .ginfominmax import GInfoMinMax
from .gsimclr import GSimCLR
from .view_learner import ViewLearner
| 26 | 37 | 0.855769 | 13 | 104 | 6.769231 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 38 | 34.666667 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7656565a26e623ba2382ccc1c234925c74071472 | 636 | py | Python | binary_tree/bt_problems.py | iamroy/ds_done_right | e7d504a6b593dc3446c433ab3e15a762b84bb86a | [
"MIT"
] | null | null | null | binary_tree/bt_problems.py | iamroy/ds_done_right | e7d504a6b593dc3446c433ab3e15a762b84bb86a | [
"MIT"
] | null | null | null | binary_tree/bt_problems.py | iamroy/ds_done_right | e7d504a6b593dc3446c433ab3e15a762b84bb86a | [
"MIT"
] | null | null | null | # Print bottom view of a binary tree
# Print top view of a binary tree
# Find distance between given pairs of nodes in a binary tree
# Find the diagonal sum of a binary tree
# Find maximum sum root to leaf path in a binary tree
#543. Diameter of Binary Tree
#226. Invert Binary Tree
#257. Binary Tree Paths
#783. Minimum... | 24.461538 | 61 | 0.772013 | 110 | 636 | 4.409091 | 0.472727 | 0.28866 | 0.136082 | 0.107216 | 0.152577 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050193 | 0.185535 | 636 | 25 | 62 | 25.44 | 0.8861 | 0.740566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
7663f3a86022b24f5b949f8be6517907516a2ea5 | 22 | py | Python | bulkops/tasks/__init__.py | princenyeche/BOP | ac2a894deb88fe28cf418e5475289fb27b5fd186 | [
"MIT"
] | 2 | 2022-02-05T09:03:26.000Z | 2022-03-01T06:57:24.000Z | bulkops/tasks/__init__.py | princenyeche/BOP | ac2a894deb88fe28cf418e5475289fb27b5fd186 | [
"MIT"
] | 49 | 2020-08-09T06:04:14.000Z | 2022-03-16T20:01:00.000Z | bulkops/tasks/__init__.py | princenyeche/BOP | ac2a894deb88fe28cf418e5475289fb27b5fd186 | [
"MIT"
] | null | null | null | # initial file commit
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
769b2f3af1691757d18134724026bcc762ec963e | 91 | py | Python | python-pscheduler/pscheduler/pscheduler/batchprocessor/__init__.py | krihal/pscheduler | e69e0357797d88d290c78b92b1d99048e73a63e8 | [
"Apache-2.0"
] | 47 | 2016-09-28T14:19:10.000Z | 2022-03-21T13:26:47.000Z | python-pscheduler/pscheduler/pscheduler/batchprocessor/__init__.py | krihal/pscheduler | e69e0357797d88d290c78b92b1d99048e73a63e8 | [
"Apache-2.0"
] | 993 | 2016-07-07T19:30:32.000Z | 2022-03-21T10:25:52.000Z | python-pscheduler/pscheduler/pscheduler/batchprocessor/__init__.py | mfeit-internet2/pscheduler-dev | d2cd4065a6fce88628b0ca63edc7a69f2672dad2 | [
"Apache-2.0"
] | 36 | 2016-09-15T09:39:45.000Z | 2021-06-23T15:05:13.000Z | #
# Initialization for pScheduler Batch Processor Package
#
from .batchprocessor import *
| 15.166667 | 55 | 0.791209 | 9 | 91 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 5 | 56 | 18.2 | 0.935065 | 0.582418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
76b7bbc499aae796781c2bd017d50c45217c3691 | 33 | py | Python | Chapter 02 - Input, Processing, and Output/Book Exercises/quotation.py | EllisBarnes00/COP-1000 | 8509e59e8a566c77295c714ddcb0f557c470358b | [
"Unlicense"
] | null | null | null | Chapter 02 - Input, Processing, and Output/Book Exercises/quotation.py | EllisBarnes00/COP-1000 | 8509e59e8a566c77295c714ddcb0f557c470358b | [
"Unlicense"
] | 1 | 2021-06-07T03:55:29.000Z | 2021-06-07T03:56:47.000Z | Chapter 02 - Input, Processing, and Output/Book Exercises/quotation.py | EllisBarnes00/COP-1000 | 8509e59e8a566c77295c714ddcb0f557c470358b | [
"Unlicense"
] | null | null | null | print("""The cat said "meow" """) | 33 | 33 | 0.575758 | 5 | 33 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4f2d36698b917acd15e0f4b487f87ade7ff344d3 | 142 | py | Python | src/auth/apps.py | SerhatTeker/django-bank-allauth-rest | c0392a139521686b2cc882edd190b8137de5c36d | [
"BSD-3-Clause"
] | null | null | null | src/auth/apps.py | SerhatTeker/django-bank-allauth-rest | c0392a139521686b2cc882edd190b8137de5c36d | [
"BSD-3-Clause"
] | 5 | 2020-03-19T16:39:01.000Z | 2022-02-10T09:10:52.000Z | src/auth/apps.py | SerhatTeker/django-bank-allauth-rest | c0392a139521686b2cc882edd190b8137de5c36d | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class SrcAppConfig(AppConfig):
label = "src_auth"
name = "src.auth"
verbose_name = "Src Auth"
| 17.75 | 33 | 0.690141 | 18 | 142 | 5.333333 | 0.666667 | 0.21875 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 142 | 7 | 34 | 20.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
4f304ec7f7e962e130056f4c0b3bc21e4da59c96 | 1,846 | py | Python | tests/regressiontests/utils/timesince.py | hugs/django | 3690ab217e3a65d01bd2f9d25f05fb2e54815693 | [
"BSD-3-Clause"
] | 2 | 2015-12-04T12:05:26.000Z | 2016-05-08T11:26:55.000Z | tests/regressiontests/utils/timesince.py | hugs/django | 3690ab217e3a65d01bd2f9d25f05fb2e54815693 | [
"BSD-3-Clause"
] | null | null | null | tests/regressiontests/utils/timesince.py | hugs/django | 3690ab217e3a65d01bd2f9d25f05fb2e54815693 | [
"BSD-3-Clause"
] | 1 | 2015-11-19T14:45:16.000Z | 2015-11-19T14:45:16.000Z | """
>>> from datetime import datetime, timedelta
>>> from django.utils.timesince import timesince
>>> t = datetime(2007, 8, 14, 13, 46, 0)
>>> onemicrosecond = timedelta(microseconds=1)
>>> onesecond = timedelta(seconds=1)
>>> oneminute = timedelta(minutes=1)
>>> onehour = timedelta(hours=1)
>>> oneday = timedelta(da... | 23.666667 | 79 | 0.681473 | 298 | 1,846 | 4.221477 | 0.244966 | 0.206677 | 0.218601 | 0.18601 | 0.540541 | 0.424483 | 0.383943 | 0.305246 | 0.160572 | 0.160572 | 0 | 0.042884 | 0.128386 | 1,846 | 77 | 80 | 23.974026 | 0.738968 | 0.995125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4f41add4a29cfd368ed1e677552d2c6424d92334 | 182 | py | Python | sample_app/xyz/abc1.py | harobed/pazel | 7109fe565aa50d15ec6de1b6f0bae5ac06a28a3a | [
"MIT"
] | 41 | 2018-04-30T14:09:29.000Z | 2022-03-09T10:19:46.000Z | sample_app/xyz/abc1.py | harobed/pazel | 7109fe565aa50d15ec6de1b6f0bae5ac06a28a3a | [
"MIT"
] | 3 | 2018-08-09T07:47:21.000Z | 2019-07-25T01:06:56.000Z | sample_app/xyz/abc1.py | harobed/pazel | 7109fe565aa50d15ec6de1b6f0bae5ac06a28a3a | [
"MIT"
] | 9 | 2018-09-14T21:32:27.000Z | 2021-07-06T11:17:14.000Z | from foo import sample # Import from foo's public interface.
from foo import foo # Import a module with the same name as the package.
def main():
print(sample())
main()
| 18.2 | 76 | 0.692308 | 29 | 182 | 4.344828 | 0.62069 | 0.166667 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 182 | 9 | 77 | 20.222222 | 0.9 | 0.472527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f693949895326915a9912ac58d08bff7b7a3847 | 59 | py | Python | util.py | Spferical/Conway-s-Game-of-Tron | 12b94f8e7d8afc4c08c1711a61b97b0b1c8e241b | [
"MIT"
] | null | null | null | util.py | Spferical/Conway-s-Game-of-Tron | 12b94f8e7d8afc4c08c1711a61b97b0b1c8e241b | [
"MIT"
] | null | null | null | util.py | Spferical/Conway-s-Game-of-Tron | 12b94f8e7d8afc4c08c1711a61b97b0b1c8e241b | [
"MIT"
] | null | null | null |
def most_common(lst):
return max(lst, key=lst.count)
| 11.8 | 34 | 0.677966 | 10 | 59 | 3.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 4 | 35 | 14.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
96c4c9da446c10c47f89049f4bb683092307e515 | 241 | py | Python | pylab/devices/generic/time_device.py | LukeSkywalker92/pylab | 41df6546a167187e6f39bfdfbdf9fc2ec9ac0d88 | [
"MIT"
] | 1 | 2020-07-15T14:00:24.000Z | 2020-07-15T14:00:24.000Z | pylab/devices/generic/time_device.py | LukeSkywalker92/pylab | 41df6546a167187e6f39bfdfbdf9fc2ec9ac0d88 | [
"MIT"
] | 1 | 2020-02-06T17:43:46.000Z | 2020-02-12T15:06:37.000Z | pylab/devices/generic/time_device.py | LukeSkywalker92/pylab | 41df6546a167187e6f39bfdfbdf9fc2ec9ac0d88 | [
"MIT"
] | null | null | null | import time
class TimeDevice():
def __init__(self):
self.start_time = time.time()
def reset_start_time(self):
self.start_time = time.time()
def elapsed_time(self):
return time.time() - self.start_time
| 18.538462 | 44 | 0.639004 | 32 | 241 | 4.5 | 0.34375 | 0.277778 | 0.270833 | 0.236111 | 0.388889 | 0.388889 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0.248963 | 241 | 12 | 45 | 20.083333 | 0.79558 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
96d157b3ed82e2a573bdcca213623a38bcf98d83 | 20 | py | Python | Computational_essay/test.py | henrik-uio/FYS2130 | 533089e0f1a00c115c63a6d8485acdb451da5038 | [
"MIT"
] | null | null | null | Computational_essay/test.py | henrik-uio/FYS2130 | 533089e0f1a00c115c63a6d8485acdb451da5038 | [
"MIT"
] | null | null | null | Computational_essay/test.py | henrik-uio/FYS2130 | 533089e0f1a00c115c63a6d8485acdb451da5038 | [
"MIT"
] | null | null | null | import cock in dick
| 10 | 19 | 0.8 | 4 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
8c160039e941b5d103887bd71931ddd9b11da97a | 40,300 | py | Python | xenonpy/descriptor/fingerprint.py | mori0711/XenonPy | e36ca0ea112b45ee629cd980c88e80cd6c96c514 | [
"BSD-3-Clause"
] | 93 | 2018-02-11T23:43:47.000Z | 2022-03-11T02:40:11.000Z | xenonpy/descriptor/fingerprint.py | mori0711/XenonPy | e36ca0ea112b45ee629cd980c88e80cd6c96c514 | [
"BSD-3-Clause"
] | 192 | 2018-04-20T04:32:12.000Z | 2022-03-24T05:59:18.000Z | xenonpy/descriptor/fingerprint.py | mori0711/XenonPy | e36ca0ea112b45ee629cd980c88e80cd6c96c514 | [
"BSD-3-Clause"
] | 51 | 2018-01-18T08:08:55.000Z | 2022-03-01T05:52:22.000Z | # Copyright (c) 2021. yoshida-lab. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
import numpy as np
from rdkit import Chem
from rdkit.Chem import Descriptors as ChemDesc
from rdkit.Chem import MACCSkeys as MAC
from rdkit.Chem import rdMolD... | 49.08648 | 120 | 0.603226 | 5,237 | 40,300 | 4.488448 | 0.103685 | 0.032162 | 0.014549 | 0.015911 | 0.788522 | 0.786693 | 0.785374 | 0.780694 | 0.778184 | 0.773249 | 0 | 0.009723 | 0.300695 | 40,300 | 820 | 121 | 49.146341 | 0.824356 | 0.430893 | 0 | 0.662125 | 0 | 0 | 0.174675 | 0.01021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087193 | false | 0 | 0.027248 | 0.013624 | 0.231608 | 0.040872 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8c1988b62202bf3ca7b515e6670d1769ceb51c1e | 75 | py | Python | persian_re/models/__init__.py | nimaafshar/persian_relation_extraction | 6f6ce8678a7d1115977f5ad79bce1816c3d31e3e | [
"AFL-3.0"
] | null | null | null | persian_re/models/__init__.py | nimaafshar/persian_relation_extraction | 6f6ce8678a7d1115977f5ad79bce1816c3d31e3e | [
"AFL-3.0"
] | null | null | null | persian_re/models/__init__.py | nimaafshar/persian_relation_extraction | 6f6ce8678a7d1115977f5ad79bce1816c3d31e3e | [
"AFL-3.0"
] | null | null | null | from .cls_model import CLSModel
from .entity_start import EntityStartModel
| 25 | 42 | 0.866667 | 10 | 75 | 6.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 43 | 37.5 | 0.940299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8c32af06b8cec01bf19d37bd8f0884f9bff68a8d | 878 | py | Python | exp/nb_02.py | ftm624/fastai_nbs | e567edefbad666c06d929558cdb3a58d6e65f395 | [
"Apache-2.0"
] | null | null | null | exp/nb_02.py | ftm624/fastai_nbs | e567edefbad666c06d929558cdb3a58d6e65f395 | [
"Apache-2.0"
] | null | null | null | exp/nb_02.py | ftm624/fastai_nbs | e567edefbad666c06d929558cdb3a58d6e65f395 | [
"Apache-2.0"
] | null | null | null |
#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: dev_nb/02_fully_connected.ipynb
from exp.nb_01 import *
import gzip
import pickle
import torch
import math
from fastai import datasets
from torch imp... | 27.4375 | 92 | 0.621868 | 137 | 878 | 3.854015 | 0.518248 | 0.041667 | 0.026515 | 0.045455 | 0.090909 | 0.090909 | 0.090909 | 0.090909 | 0 | 0 | 0 | 0.01054 | 0.135535 | 878 | 32 | 93 | 27.4375 | 0.685112 | 0.100228 | 0 | 0 | 1 | 0 | 0.149123 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.222222 | false | 0 | 0.555556 | 0.111111 | 0.833333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
8c3522204142fdcdc60f437befeb64754fca881b | 126 | py | Python | Machine Learning/Projects/Magic/cards_magic.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | 1 | 2018-07-21T15:41:40.000Z | 2018-07-21T15:41:40.000Z | Machine Learning/Projects/Magic/cards_magic.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | null | null | null | Machine Learning/Projects/Magic/cards_magic.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | null | null | null | from card_detector import Model
def decode(code):
return number
def main():
pass
if __name__ == '__main__':
main() | 7.875 | 31 | 0.68254 | 17 | 126 | 4.529412 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 126 | 16 | 32 | 7.875 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
8c5081638b7b13f3ba5fe97660c0209303588da5 | 43 | py | Python | Helloworld.py | oakkarmin7/Python-Class | 4d1e3d90c49132579d7f2c3d4ee3e934e1f70dc3 | [
"MIT"
] | null | null | null | Helloworld.py | oakkarmin7/Python-Class | 4d1e3d90c49132579d7f2c3d4ee3e934e1f70dc3 | [
"MIT"
] | null | null | null | Helloworld.py | oakkarmin7/Python-Class | 4d1e3d90c49132579d7f2c3d4ee3e934e1f70dc3 | [
"MIT"
] | null | null | null | print ("Hello world")
print ("6 7 8 9 10")
| 14.333333 | 21 | 0.604651 | 9 | 43 | 2.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.209302 | 43 | 2 | 22 | 21.5 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8c64aa9bcdae1a01d85c3ed8d27076c6c8a525f8 | 102 | py | Python | Randomnumbers/seed.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | null | null | null | Randomnumbers/seed.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | null | null | null | Randomnumbers/seed.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | 2 | 2019-01-27T16:59:48.000Z | 2019-01-29T13:07:40.000Z | import random
(random.seed(700))
print("The maped random number with 700 is:")
print(random.random())
| 20.4 | 45 | 0.745098 | 16 | 102 | 4.75 | 0.625 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 0.107843 | 102 | 4 | 46 | 25.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4fcdc25bd6839fbd2a5289e74f87175da854f0f0 | 84 | py | Python | pygrn/__init__.py | nico1as/pyGRN | 115d9d42dfbd374fc64393cabefb2a8e245aa6b7 | [
"Apache-2.0"
] | 7 | 2018-07-18T16:08:51.000Z | 2020-12-09T07:18:35.000Z | pygrn/__init__.py | nico1as/pyGRN | 115d9d42dfbd374fc64393cabefb2a8e245aa6b7 | [
"Apache-2.0"
] | 3 | 2018-04-13T11:44:59.000Z | 2018-04-19T13:58:06.000Z | pygrn/__init__.py | nico1as/pyGRN | 115d9d42dfbd374fc64393cabefb2a8e245aa6b7 | [
"Apache-2.0"
] | 6 | 2018-07-22T01:54:14.000Z | 2021-08-04T16:01:38.000Z | from .layer import GRNInit, GRNLayer, RecurrentGRNLayer
from .recurrent import RGRN
| 28 | 55 | 0.833333 | 10 | 84 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 2 | 56 | 42 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8b089c03c7497973d44277a4205f2f7085dcf752 | 200 | py | Python | atlas/atlas/templatetags/include_anything.py | briansok/Atlas | 01320e6c1f2d41e41a93890de6ef6c92bfbbb7e6 | [
"MIT"
] | 5 | 2018-06-04T08:12:50.000Z | 2020-11-30T20:57:48.000Z | atlas/atlas/templatetags/include_anything.py | briansok/Atlas | 01320e6c1f2d41e41a93890de6ef6c92bfbbb7e6 | [
"MIT"
] | null | null | null | atlas/atlas/templatetags/include_anything.py | briansok/Atlas | 01320e6c1f2d41e41a93890de6ef6c92bfbbb7e6 | [
"MIT"
] | null | null | null | from django import template
from django.utils.html import mark_safe
register = template.Library()
@register.simple_tag()
def include_anything(file_name):
return mark_safe(open(file_name).read()) | 25 | 44 | 0.795 | 29 | 200 | 5.275862 | 0.689655 | 0.130719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105 | 200 | 8 | 44 | 25 | 0.854749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 5 |
8b0a656a8df5564b6556b76820e2f05b1466cc68 | 19 | py | Python | Prediction/LSTM/src/LSTM_model/train.py | CovidDashboardProject/Src | 405a454f4c3a1eb55e6f1fadecb9700732618e4d | [
"MIT"
] | null | null | null | Prediction/LSTM/src/LSTM_model/train.py | CovidDashboardProject/Src | 405a454f4c3a1eb55e6f1fadecb9700732618e4d | [
"MIT"
] | null | null | null | Prediction/LSTM/src/LSTM_model/train.py | CovidDashboardProject/Src | 405a454f4c3a1eb55e6f1fadecb9700732618e4d | [
"MIT"
] | null | null | null | # adding something
| 9.5 | 18 | 0.789474 | 2 | 19 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0.842105 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8b0bd95273fa6611f20726a4fa3e1294a740550c | 124 | py | Python | parsercode/daedcode/process_log.py | DeadlyK1tten/arena_log_parser | d672df63fefd55bd92ad31bd472464073ceb6019 | [
"Apache-2.0"
] | null | null | null | parsercode/daedcode/process_log.py | DeadlyK1tten/arena_log_parser | d672df63fefd55bd92ad31bd472464073ceb6019 | [
"Apache-2.0"
] | null | null | null | parsercode/daedcode/process_log.py | DeadlyK1tten/arena_log_parser | d672df63fefd55bd92ad31bd472464073ceb6019 | [
"Apache-2.0"
] | null | null | null | """
Script to process output_log.txt
"""
import utils
if __name__ == '__main__':
utils.ProcessFile('output_log.txt') | 12.4 | 39 | 0.693548 | 16 | 124 | 4.75 | 0.75 | 0.236842 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 124 | 10 | 39 | 12.4 | 0.730769 | 0.258065 | 0 | 0 | 0 | 0 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8b39cde7f7a81b2e494ec4f46f9d8ec50a2456b7 | 59 | py | Python | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/o/old_division_floats.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/o/old_division_floats.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/o/old_division_floats.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | from __future__ import print_function
print(float(1) / 2)
| 14.75 | 37 | 0.779661 | 9 | 59 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.135593 | 59 | 3 | 38 | 19.666667 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 5 |
8b473473b5bd6e4bdccb9508714b5e0a38dc1e00 | 240 | py | Python | extract/__init__.py | sergiopm97/sokkai | 151f509b96534c493c6bd304e504171a1c6fbee7 | [
"MIT"
] | null | null | null | extract/__init__.py | sergiopm97/sokkai | 151f509b96534c493c6bd304e504171a1c6fbee7 | [
"MIT"
] | 1 | 2022-03-26T10:44:44.000Z | 2022-03-26T10:44:44.000Z | extract/__init__.py | sergiopm97/sokkai | 151f509b96534c493c6bd304e504171a1c6fbee7 | [
"MIT"
] | null | null | null | from .extract_training_data import extract_training_data as extract_training_data
from .extract_played_games import extract_played_games as extract_played_games
from .extract_game_columns import extract_game_columns as extract_game_columns
| 60 | 81 | 0.9125 | 36 | 240 | 5.583333 | 0.277778 | 0.164179 | 0.283582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 240 | 3 | 82 | 80 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 5 |
8ce1275d1f939e2d193c325ccec05f1741b2f1ab | 156 | py | Python | tradingview_ta/__init__.py | fluxguardian/python-tradingview-ta | 499d9d68e3e8548d6c7caedf16d22946ad005660 | [
"MIT"
] | 294 | 2021-05-01T07:13:19.000Z | 2022-03-29T06:28:43.000Z | tradingview_ta/__init__.py | sina-rostami/python-tradingview-ta | 6d9e2656adba45149be3ac6ba71b823507ff186d | [
"MIT"
] | 48 | 2021-05-16T08:44:41.000Z | 2022-03-06T08:53:58.000Z | tradingview_ta/__init__.py | sina-rostami/python-tradingview-ta | 6d9e2656adba45149be3ac6ba71b823507ff186d | [
"MIT"
] | 76 | 2021-05-13T04:38:58.000Z | 2022-03-24T07:59:54.000Z | from .main import TA_Handler, TradingView, Analysis, Interval, Exchange, get_multiple_analysis, __version__
from .technicals import Recommendation, Compute
| 52 | 107 | 0.846154 | 18 | 156 | 6.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 156 | 2 | 108 | 78 | 0.886525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8cf5aee02b3cadff38c15ddbb3154d37496edb21 | 121 | py | Python | autokey/undo.py | jargv/dotfiles | 3090609afbe500242cdd0d30ae4b900535f61207 | [
"MIT"
] | 2 | 2016-09-25T23:18:36.000Z | 2017-04-25T19:51:26.000Z | autokey/undo.py | jargv/dotfiles | 3090609afbe500242cdd0d30ae4b900535f61207 | [
"MIT"
] | null | null | null | autokey/undo.py | jargv/dotfiles | 3090609afbe500242cdd0d30ae4b900535f61207 | [
"MIT"
] | null | null | null | if window.get_active_title() == "Terminal":
keyboard.send_keys("<super>+z")
else:
keyboard.send_keys("<ctrl>+z")
| 24.2 | 43 | 0.669421 | 17 | 121 | 4.529412 | 0.764706 | 0.311688 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 4 | 44 | 30.25 | 0.726415 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50682cad009b2a8066ab4aa3af08ff115727bd72 | 22 | py | Python | examples/compilex-Demo1/temp/4s07mun.py | IPPMCMP07/compiler | 1041c56dae9f7a13ba0657085532b4d074144e39 | [
"MIT"
] | null | null | null | examples/compilex-Demo1/temp/4s07mun.py | IPPMCMP07/compiler | 1041c56dae9f7a13ba0657085532b4d074144e39 | [
"MIT"
] | null | null | null | examples/compilex-Demo1/temp/4s07mun.py | IPPMCMP07/compiler | 1041c56dae9f7a13ba0657085532b4d074144e39 | [
"MIT"
] | null | null | null | print("dragon ball z") | 22 | 22 | 0.727273 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5090dbd3adf2cb4aea2b1fd1bc7b68318272e38d | 30 | py | Python | hello.py | Kavi16-02/PythonK | d365d7a24966e782e910347374dfd61d003da30f | [
"MIT"
] | null | null | null | hello.py | Kavi16-02/PythonK | d365d7a24966e782e910347374dfd61d003da30f | [
"MIT"
] | null | null | null | hello.py | Kavi16-02/PythonK | d365d7a24966e782e910347374dfd61d003da30f | [
"MIT"
] | null | null | null | print"Hello world"
#added ssh
| 10 | 18 | 0.766667 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 2 | 19 | 15 | 0.884615 | 0.3 | 0 | 0 | 0 | 0 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
50a1cedab6c4ccd456ce587492a4805e4f353bfe | 146 | py | Python | Fundamentals/Exer.007.py | thiagokanagushiku/Python-Exercises | e536ff3c64911d3f25d4b1441c4ef070faab1764 | [
"MIT"
] | null | null | null | Fundamentals/Exer.007.py | thiagokanagushiku/Python-Exercises | e536ff3c64911d3f25d4b1441c4ef070faab1764 | [
"MIT"
] | null | null | null | Fundamentals/Exer.007.py | thiagokanagushiku/Python-Exercises | e536ff3c64911d3f25d4b1441c4ef070faab1764 | [
"MIT"
] | null | null | null | n1 = float(input('Primeira nota do aluno:'))
n2 = float(input('Segunda nota do aluno:'))
print(f'A média entre {n1} e {n2} é {(n1 + n2)/2:.1f}')
| 29.2 | 55 | 0.623288 | 27 | 146 | 3.37037 | 0.666667 | 0.21978 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0.157534 | 146 | 4 | 56 | 36.5 | 0.674797 | 0 | 0 | 0 | 0 | 0 | 0.62069 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50b6a1dd3781f9ace69469027807627cc69c9831 | 165 | py | Python | server/src/tests/samples/private2.py | higoshi/pyright | 183c0ef56d2c010d28018149949cda1a40aa59b8 | [
"MIT"
] | 1 | 2019-09-18T03:19:50.000Z | 2019-09-18T03:19:50.000Z | server/src/tests/samples/private2.py | higoshi/pyright | 183c0ef56d2c010d28018149949cda1a40aa59b8 | [
"MIT"
] | null | null | null | server/src/tests/samples/private2.py | higoshi/pyright | 183c0ef56d2c010d28018149949cda1a40aa59b8 | [
"MIT"
] | null | null | null | # This sample tests the "reportPrivateUsage" feature.
class _TestClass(object):
pass
class TestClass(object):
def __init__(self):
self._priv1 = 1
| 16.5 | 53 | 0.690909 | 19 | 165 | 5.684211 | 0.789474 | 0.259259 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.218182 | 165 | 9 | 54 | 18.333333 | 0.821705 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
50c9a3709850efd062575309c8be3233cb44ef36 | 23,857 | py | Python | skimage/filter/rank/generic.py | tonysyu/scikit-image | d5776656a8217e58cb28d5760439a54e96d15316 | [
"BSD-3-Clause"
] | null | null | null | skimage/filter/rank/generic.py | tonysyu/scikit-image | d5776656a8217e58cb28d5760439a54e96d15316 | [
"BSD-3-Clause"
] | null | null | null | skimage/filter/rank/generic.py | tonysyu/scikit-image | d5776656a8217e58cb28d5760439a54e96d15316 | [
"BSD-3-Clause"
] | null | null | null | """The local histogram is computed using a sliding window similar to the method
described in [1]_.
Input image can be 8-bit or 16-bit, for 16-bit input images, the number of
histogram bins is determined from the maximum value present in the image.
Result image is 8-/16-bit or double with respect to the input image an... | 32.195682 | 79 | 0.621243 | 3,270 | 23,857 | 4.453517 | 0.081346 | 0.029664 | 0.040788 | 0.029664 | 0.797226 | 0.779716 | 0.770995 | 0.758704 | 0.746206 | 0.738378 | 0 | 0.017633 | 0.279708 | 23,857 | 740 | 80 | 32.239189 | 0.829842 | 0.682022 | 0 | 0.214286 | 0 | 0 | 0.045909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193878 | false | 0 | 0.040816 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50dbe9cfce2eee920d7a9fe19cf77bea85cf3ed4 | 3,257 | py | Python | tests/migrations/0001_initial.py | wechange-eg/django-osm-field | 81dd297034716b110441da38cb72ba26d3a51896 | [
"MIT"
] | null | null | null | tests/migrations/0001_initial.py | wechange-eg/django-osm-field | 81dd297034716b110441da38cb72ba26d3a51896 | [
"MIT"
] | null | null | null | tests/migrations/0001_initial.py | wechange-eg/django-osm-field | 81dd297034716b110441da38cb72ba26d3a51896 | [
"MIT"
] | 1 | 2018-11-19T13:50:37.000Z | 2018-11-19T13:50:37.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import osm_field.validators
import osm_field.fields
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='CustomNamingModel',
... | 48.61194 | 132 | 0.628492 | 305 | 3,257 | 6.436066 | 0.163934 | 0.110036 | 0.114111 | 0.142639 | 0.77891 | 0.77891 | 0.77891 | 0.740194 | 0.740194 | 0.740194 | 0 | 0.000406 | 0.243169 | 3,257 | 66 | 133 | 49.348485 | 0.795943 | 0.006448 | 0 | 0.533333 | 0 | 0 | 0.12585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50e37c3555f815169aaf779e6c86b1808a63972f | 253 | py | Python | expose/__init__.py | jtmendel/expose | 19e643ebd4a849cea42aaf38178a99f855f6997c | [
"MIT"
] | null | null | null | expose/__init__.py | jtmendel/expose | 19e643ebd4a849cea42aaf38178a99f855f6997c | [
"MIT"
] | null | null | null | expose/__init__.py | jtmendel/expose | 19e643ebd4a849cea42aaf38178a99f855f6997c | [
"MIT"
] | null | null | null | try:
from ._version import __version__
except(ImportError):
pass
from . import instruments
from . import sources
from . import sky
from . import utils
from . import telescopes
__all__ = ['instruments', 'sources', 'sky', 'utils', 'telescopes']
| 19.461538 | 66 | 0.719368 | 29 | 253 | 5.965517 | 0.448276 | 0.289017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 253 | 12 | 67 | 21.083333 | 0.827751 | 0 | 0 | 0 | 0 | 0 | 0.142292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.7 | 0 | 0.7 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
50f5ed5c178614bb187ae90240953104aac06d90 | 147 | py | Python | readhadoop.py | kradanfi/pdmwebdashboard | 42e0d101bb1d29a0026eaf5c54b93d11d437cc7a | [
"MIT"
] | null | null | null | readhadoop.py | kradanfi/pdmwebdashboard | 42e0d101bb1d29a0026eaf5c54b93d11d437cc7a | [
"MIT"
] | null | null | null | readhadoop.py | kradanfi/pdmwebdashboard | 42e0d101bb1d29a0026eaf5c54b93d11d437cc7a | [
"MIT"
] | null | null | null | import pydoop.hdfs as hdfs
import os
with open("/tmp/tmp.txt") as f:
print f.read()
hdfs.rmr("test/hello.txt")
os.remove("/tmp/tmp.txt")
| 16.333333 | 31 | 0.653061 | 27 | 147 | 3.555556 | 0.592593 | 0.125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 147 | 8 | 32 | 18.375 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.258503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0f9b4f95439953944ff5e51fc5bac9005d06686f | 2,817 | py | Python | PythonDAdata/3358OS_02_Code/3358OS_02_Code/code2/stacking.py | shijiale0609/Python_Data_Analysis | c18b5ed006c171bbb6fcb6be5f51b2686edc8f7e | [
"MIT"
] | 1 | 2020-02-22T18:55:54.000Z | 2020-02-22T18:55:54.000Z | PythonDAdata/3358OS_02_Code/3358OS_02_Code/code2/stacking.py | shijiale0609/Python_Data_Analysis | c18b5ed006c171bbb6fcb6be5f51b2686edc8f7e | [
"MIT"
] | null | null | null | PythonDAdata/3358OS_02_Code/3358OS_02_Code/code2/stacking.py | shijiale0609/Python_Data_Analysis | c18b5ed006c171bbb6fcb6be5f51b2686edc8f7e | [
"MIT"
] | 1 | 2020-02-22T18:55:57.000Z | 2020-02-22T18:55:57.000Z | import numpy as np
# Demonstrates array stacking.
#
# Run from the commandline with
#
# python stacking.py
print "In: a = arange(9).reshape(3,3)"
a = np.arange(9).reshape(3,3)
print "In: a"
print a
#Out:
#array([[0, 1, 2],
# [3, 4, 5],
# [6, 7, 8]])
print "In: b = 2 * a"
b = 2 * a
print "In: b"
print... | 20.562044 | 64 | 0.448349 | 453 | 2,817 | 2.743929 | 0.10596 | 0.218825 | 0.30893 | 0.386163 | 0.765084 | 0.656476 | 0.494771 | 0.451327 | 0.388576 | 0.361223 | 0 | 0.104082 | 0.304224 | 2,817 | 136 | 65 | 20.713235 | 0.530102 | 0.536741 | 0 | 0 | 0 | 0 | 0.350734 | 0.017945 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025641 | null | null | 0.871795 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0f9ce69370b8b00c0f063e3b39e7984f7d31be13 | 153 | py | Python | wopmars/data/example/model/DatedPiece.py | aitgon/WopMars | 9d500954a7501bdf51e74da85f56b5dad86ea9ee | [
"MIT"
] | null | null | null | wopmars/data/example/model/DatedPiece.py | aitgon/WopMars | 9d500954a7501bdf51e74da85f56b5dad86ea9ee | [
"MIT"
] | null | null | null | wopmars/data/example/model/DatedPiece.py | aitgon/WopMars | 9d500954a7501bdf51e74da85f56b5dad86ea9ee | [
"MIT"
] | 2 | 2017-09-28T14:36:14.000Z | 2021-08-19T23:06:49.000Z | from sqlalchemy.sql.sqltypes import Date
from sqlalchemy import Column
from model.Piece import Piece
class DatedPiece(Piece):
date = Column(Date)
| 17 | 40 | 0.784314 | 21 | 153 | 5.714286 | 0.52381 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 8 | 41 | 19.125 | 0.930233 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0fe48655a151832457f7ad98006f89f36989295c | 145 | py | Python | files/startup/generic_startup_hook.py | MissionCriticalCloud/systemvm-packer | c18f188032142f747a98a484235de5719ede4c89 | [
"Apache-2.0"
] | 8 | 2016-04-03T19:58:50.000Z | 2020-07-21T10:55:05.000Z | files/startup/generic_startup_hook.py | remibergsma/systemvm-packer | c18f188032142f747a98a484235de5719ede4c89 | [
"Apache-2.0"
] | 13 | 2016-04-10T19:11:01.000Z | 2018-03-16T08:37:42.000Z | files/startup/generic_startup_hook.py | remibergsma/systemvm-packer | c18f188032142f747a98a484235de5719ede4c89 | [
"Apache-2.0"
] | 4 | 2016-10-06T00:12:43.000Z | 2018-01-31T12:32:41.000Z | #!/usr/bin/python3.6
import sys
print("Patching the systemvm probably went wrong, please check journalctl -u cosmic-patch-scripts")
sys.exit(1)
| 24.166667 | 99 | 0.772414 | 23 | 145 | 4.869565 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.110345 | 145 | 5 | 100 | 29 | 0.844961 | 0.131034 | 0 | 0 | 0 | 0 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0fe5ed2dbefcef6e1efc2642963f9a7a34250bd3 | 99 | py | Python | run.py | miguelgrinberg/campy | c7275e2620bd54127ce04a7fa0a09d447638b7a6 | [
"MIT"
] | 3 | 2015-02-06T13:41:40.000Z | 2019-09-25T12:21:32.000Z | run.py | miguelgrinberg/campy | c7275e2620bd54127ce04a7fa0a09d447638b7a6 | [
"MIT"
] | 2 | 2019-01-13T19:47:05.000Z | 2019-02-14T08:59:40.000Z | run.py | miguelgrinberg/campy | c7275e2620bd54127ce04a7fa0a09d447638b7a6 | [
"MIT"
] | 2 | 2017-03-18T23:39:22.000Z | 2018-07-08T20:42:31.000Z | #!/usr/bin/env python
import sys
from app import run_app
if __name__ == '__main__':
run_app()
| 14.142857 | 26 | 0.69697 | 16 | 99 | 3.6875 | 0.75 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 99 | 6 | 27 | 16.5 | 0.728395 | 0.20202 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e8451f673d1a8600971cbec16f4854a1aee30108 | 71 | py | Python | test/cmd/case_standard_fail.py | mkniewallner/flake8-alphabetize | 11b1f0ae3da7fdd442b87cd0ebb831ef21ffaad8 | [
"Unlicense"
] | 8 | 2021-04-10T11:53:52.000Z | 2022-03-13T18:54:57.000Z | test/cmd/case_standard_fail.py | mkniewallner/flake8-alphabetize | 11b1f0ae3da7fdd442b87cd0ebb831ef21ffaad8 | [
"Unlicense"
] | 5 | 2021-04-20T18:49:39.000Z | 2022-01-06T18:24:01.000Z | test/cmd/case_standard_fail.py | mkniewallner/flake8-alphabetize | 11b1f0ae3da7fdd442b87cd0ebb831ef21ffaad8 | [
"Unlicense"
] | 3 | 2021-06-17T13:02:50.000Z | 2022-01-01T08:59:45.000Z | from datetime import time, date
print(time(9, 39), date(2021, 4, 11))
| 17.75 | 37 | 0.690141 | 13 | 71 | 3.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.15493 | 71 | 3 | 38 | 23.666667 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
e85c0b952a4c96eec6e3ff97f8ddd478c75458c6 | 11,157 | py | Python | model/UNet.py | THU-CVlab/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | 26 | 2021-08-19T05:22:44.000Z | 2022-03-08T05:44:43.000Z | model/UNet.py | Jittor/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | null | null | null | model/UNet.py | Jittor/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | 3 | 2021-08-19T06:12:49.000Z | 2021-08-19T11:41:16.000Z | # import jittor as jt
# from jittor import init
# from jittor import nn
# def double_conv(in_channels, out_channels):
# return nn.Sequential(
# nn.Conv(in_channels, out_channels, 3, padding=1),
# nn.ReLU(),
# nn.Conv(out_channels, out_channels, 3, padding=1),
# nn.ReLU()
# )
... | 31.968481 | 101 | 0.567805 | 1,437 | 11,157 | 4.206681 | 0.115518 | 0.054591 | 0.08172 | 0.069479 | 0.819851 | 0.779487 | 0.728701 | 0.712821 | 0.658395 | 0.628288 | 0 | 0.052085 | 0.292731 | 11,157 | 349 | 102 | 31.968481 | 0.713978 | 0.616474 | 0 | 0.113402 | 0 | 0 | 0.026046 | 0.006511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134021 | false | 0 | 0.041237 | 0.030928 | 0.28866 | 0.030928 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e86016c339b9b8d038fa6d2cc33bc66a30ae569d | 72 | py | Python | src/__init__.py | ps185367/test-pypi | 0fa2a1f37889f4cc6700836ba0566d084bb1ef9a | [
"Apache-2.0"
] | null | null | null | src/__init__.py | ps185367/test-pypi | 0fa2a1f37889f4cc6700836ba0566d084bb1ef9a | [
"Apache-2.0"
] | 11 | 2021-09-14T13:20:04.000Z | 2021-11-09T14:32:06.000Z | src/__init__.py | ps185367/test-pypi | 0fa2a1f37889f4cc6700836ba0566d084bb1ef9a | [
"Apache-2.0"
] | 1 | 2021-09-13T22:22:42.000Z | 2021-09-13T22:22:42.000Z | #!/usr/bin/env python3
from .key import HmacKey
from .sign import sign
| 14.4 | 24 | 0.75 | 12 | 72 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.152778 | 72 | 4 | 25 | 18 | 0.868852 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2cd21d398e099cd68ac7ad2398a52dc87ab386c5 | 60 | py | Python | Dataset/__init__.py | MCC-WH/Token | eadc301f2df9e1851633be1b63c273659af0da49 | [
"MIT"
] | 30 | 2021-12-12T03:34:01.000Z | 2022-03-05T23:42:00.000Z | Dataset/__init__.py | MCC-WH/Token | eadc301f2df9e1851633be1b63c273659af0da49 | [
"MIT"
] | 2 | 2021-12-29T14:55:05.000Z | 2022-01-23T06:31:07.000Z | Dataset/__init__.py | MCC-WH/Token | eadc301f2df9e1851633be1b63c273659af0da49 | [
"MIT"
] | 2 | 2021-12-15T06:51:59.000Z | 2022-01-08T06:06:55.000Z | from .configdataset import *
from .ImageFromList import *
| 20 | 29 | 0.766667 | 6 | 60 | 7.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 2 | 30 | 30 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2cfdf272232af604734e5d1b8dff367cfbb6e12a | 211 | py | Python | hyperformer/data/__init__.py | acsets/hyperformer_for_mmt | 883a825f77b76a4bff292660392e8e37755c5ed6 | [
"Apache-2.0"
] | 65 | 2021-06-09T08:55:29.000Z | 2022-03-31T10:46:43.000Z | hyperformer/data/__init__.py | acsets/hyperformer_for_mmt | 883a825f77b76a4bff292660392e8e37755c5ed6 | [
"Apache-2.0"
] | 1 | 2021-08-02T11:28:13.000Z | 2021-08-24T11:54:26.000Z | hyperformer/data/__init__.py | acsets/hyperformer_for_mmt | 883a825f77b76a4bff292660392e8e37755c5ed6 | [
"Apache-2.0"
] | 7 | 2021-08-02T09:40:46.000Z | 2022-03-31T11:27:03.000Z | from .multitask_sampler import MultiTaskBatchSampler
from .postprocessors import string_to_float, get_post_processor
from .tasks import TASK_MAPPING, AutoTask
from .utils import compute_task_max_decoding_length
| 42.2 | 63 | 0.886256 | 28 | 211 | 6.321429 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085308 | 211 | 4 | 64 | 52.75 | 0.917098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa072dae0c613e7922dee3d1cd7f18d5c27bbd82 | 225 | py | Python | docs/source/examples/FB2.0/post_array_connections_connection_key.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 14 | 2018-12-07T18:30:27.000Z | 2022-02-22T09:12:33.000Z | docs/source/examples/FB2.0/post_array_connections_connection_key.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 28 | 2019-09-17T21:03:52.000Z | 2022-03-29T22:07:35.000Z | docs/source/examples/FB2.0/post_array_connections_connection_key.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 15 | 2020-06-11T15:50:08.000Z | 2022-03-21T09:27:25.000Z | # post to the array-connections/connection-key endpoint to get a connection key
res = client.post_array_connections_connection_key()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
| 37.5 | 79 | 0.795556 | 32 | 225 | 5.46875 | 0.625 | 0.222857 | 0.297143 | 0.331429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 225 | 5 | 80 | 45 | 0.870647 | 0.342222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 5 |
d71de44ab55b7adb622714120d198bc449b6f72c | 90 | py | Python | park/admin.py | Davepar/streetends | 0e73b98ef6a7d9ae2be30f9c8f84d8829e277677 | [
"MIT"
] | null | null | null | park/admin.py | Davepar/streetends | 0e73b98ef6a7d9ae2be30f9c8f84d8829e277677 | [
"MIT"
] | null | null | null | park/admin.py | Davepar/streetends | 0e73b98ef6a7d9ae2be30f9c8f84d8829e277677 | [
"MIT"
] | null | null | null | from django.contrib import admin
from park.models import Park
admin.site.register(Park)
| 15 | 32 | 0.811111 | 14 | 90 | 5.214286 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 90 | 5 | 33 | 18 | 0.924051 | 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 | 1 | 0 | 0 | 5 |
d75dd7394bf56ddb52d4fcad52108e4fd16eb58b | 58 | py | Python | hello.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | null | null | null | hello.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | null | null | null | hello.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | 2 | 2019-01-27T16:59:48.000Z | 2019-01-29T13:07:40.000Z | #print("Hello world")
print("This line will be printed.")
| 19.333333 | 35 | 0.706897 | 9 | 58 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 36 | 29 | 0.803922 | 0.344828 | 0 | 0 | 0 | 0 | 0.702703 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ad2d00503fdf423c5577c029a7427696d58ec247 | 23 | py | Python | bfdpie/__init__.py | malisal/bfdpie | 7527a0e8bb8889dbbc85f758c5f2d48c4952dcdf | [
"MIT"
] | 2 | 2016-04-18T17:20:15.000Z | 2018-05-12T18:14:51.000Z | bfdpie/__init__.py | malisal/bfdpie | 7527a0e8bb8889dbbc85f758c5f2d48c4952dcdf | [
"MIT"
] | 4 | 2018-07-27T18:06:41.000Z | 2019-06-18T20:02:02.000Z | bfdpie/__init__.py | malisal/bfdpie | 7527a0e8bb8889dbbc85f758c5f2d48c4952dcdf | [
"MIT"
] | 2 | 2018-03-07T08:48:59.000Z | 2018-07-27T18:58:36.000Z | from .bfdpie import *
| 7.666667 | 21 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ad4a2f42e4540605a6c57444b30726dff8e239aa | 15,547 | py | Python | gwrappy/compute/compute.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 5 | 2016-09-21T10:27:05.000Z | 2017-03-13T11:37:16.000Z | gwrappy/compute/compute.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 1 | 2021-11-15T17:46:52.000Z | 2021-11-15T17:46:52.000Z | gwrappy/compute/compute.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 2 | 2016-09-21T10:34:59.000Z | 2017-04-05T10:38:10.000Z | from gwrappy.service import get_service
from gwrappy.utils import iterate_list
from itertools import chain
from time import sleep
class ComputeEngineUtility:
def __init__(self, project_id, **kwargs):
"""
Initializes object for interacting with Compute Engine API.
| By default, Applicati... | 36.754137 | 205 | 0.594841 | 1,622 | 15,547 | 5.5 | 0.109125 | 0.025221 | 0.032059 | 0.044838 | 0.786459 | 0.758996 | 0.749355 | 0.717072 | 0.707544 | 0.640287 | 0 | 0.000284 | 0.320962 | 15,547 | 422 | 206 | 36.841232 | 0.844748 | 0.378337 | 0 | 0.691304 | 0 | 0 | 0.022436 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 1 | 0.069565 | false | 0 | 0.017391 | 0 | 0.178261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad54e911436dd459c1b3b4ca73675aac1d117e17 | 150 | py | Python | Zadaniy/task2/moduls/__init__.py | Dmitry-15/15_laba | 5b27023e5bddf8e8cfd6455912f72e07adfcdf80 | [
"MIT"
] | null | null | null | Zadaniy/task2/moduls/__init__.py | Dmitry-15/15_laba | 5b27023e5bddf8e8cfd6455912f72e07adfcdf80 | [
"MIT"
] | null | null | null | Zadaniy/task2/moduls/__init__.py | Dmitry-15/15_laba | 5b27023e5bddf8e8cfd6455912f72e07adfcdf80 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .fun import get_human, display_people, whois
__all__ = ['get_human', 'display_people', 'whois'] | 21.428571 | 50 | 0.68 | 21 | 150 | 4.47619 | 0.761905 | 0.170213 | 0.319149 | 0.446809 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.133333 | 150 | 7 | 50 | 21.428571 | 0.707692 | 0.286667 | 0 | 0 | 0 | 0 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.