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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c2eaae72eed717131734f7785522a0d1feadcb2a | 45 | py | Python | api/web/__init__.py | matheus-mileski/schoolMonitor | d22bcbac1785d77f6c1de5a6919648c6f8469f82 | [
"MIT"
] | 2 | 2018-11-01T19:36:55.000Z | 2019-08-19T05:45:48.000Z | api/web/__init__.py | matheus-mileski/schoolMonitor | d22bcbac1785d77f6c1de5a6919648c6f8469f82 | [
"MIT"
] | 13 | 2020-12-07T13:32:29.000Z | 2022-02-10T09:35:46.000Z | api/web/__init__.py | matheus-mileski/schoolMonitor | d22bcbac1785d77f6c1de5a6919648c6f8469f82 | [
"MIT"
] | 1 | 2019-03-01T12:02:08.000Z | 2019-03-01T12:02:08.000Z | from . import mqtt
mqtt.client.loop_start()
| 11.25 | 24 | 0.755556 | 7 | 45 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 25 | 15 | 0.846154 | 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 |
6c0fdb01d2cc85a8da879946113775db2e918584 | 3,365 | py | Python | tests/test_run_sp.py | srianbury/pyodbc-helpers | 83e000f927e9e9bc3723a9aeead5bf7916118f20 | [
"MIT"
] | null | null | null | tests/test_run_sp.py | srianbury/pyodbc-helpers | 83e000f927e9e9bc3723a9aeead5bf7916118f20 | [
"MIT"
] | null | null | null | tests/test_run_sp.py | srianbury/pyodbc-helpers | 83e000f927e9e9bc3723a9aeead5bf7916118f20 | [
"MIT"
] | null | null | null | from unittest import TestCase, skipIf
import os
from dotenv import load_dotenv
import pyodbc
from pyodbch import run_sp
from pyodbch.run_sp import get_query, StoredProcedureError
class RunSp(TestCase):
def setUp(self):
load_dotenv()
self.sp_name = 'USP_MY_STORED_PROCEDURE'
self.list_params ... | 41.54321 | 94 | 0.598811 | 409 | 3,365 | 4.691932 | 0.222494 | 0.02345 | 0.026055 | 0.021886 | 0.732152 | 0.724857 | 0.71235 | 0.71235 | 0.71235 | 0.71235 | 0 | 0.005575 | 0.306984 | 3,365 | 80 | 95 | 42.0625 | 0.817324 | 0.041902 | 0 | 0.507692 | 0 | 0.015385 | 0.134514 | 0.021435 | 0 | 0 | 0 | 0 | 0.138462 | 1 | 0.092308 | false | 0.046154 | 0.092308 | 0 | 0.2 | 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 |
6c23969851183b76fdabba3d79af1386b4a8cec2 | 294 | py | Python | core/core/exceptions.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | 2 | 2021-01-12T07:22:14.000Z | 2021-01-12T15:47:00.000Z | core/core/exceptions.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | null | null | null | core/core/exceptions.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | null | null | null | from rest_framework.response import Response
from core.helpers import Error
class DoesNotVerify(Exception):
pass
class DoesNotMatch(Exception):
pass
class ModelExist(Exception):
pass
class InputDoesNotValid(Exception):
pass
class TimeDoesNotValid(Exception):
pass
| 12.782609 | 44 | 0.761905 | 31 | 294 | 7.193548 | 0.516129 | 0.29148 | 0.32287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180272 | 294 | 22 | 45 | 13.363636 | 0.925311 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.416667 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
6c317b07a8f7be047b3a3addf6a8513cc6b5eb68 | 77 | py | Python | src/UQpy/sampling/stratified_sampling/strata/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/sampling/stratified_sampling/strata/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/sampling/stratified_sampling/strata/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | from UQpy.sampling.stratified_sampling.strata.baseclass.Strata import Strata
| 38.5 | 76 | 0.883117 | 10 | 77 | 6.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 77 | 1 | 77 | 77 | 0.917808 | 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 |
6c3c221a6c545e7477b7508efcb814cecb115325 | 1,145 | py | Python | OpenGLCffi/GL/EXT/ARB/window_pos.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/window_pos.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/window_pos.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['x', 'y'])
def glWindowPos2dARB(x, y):
pass
@params(api='gl', prms=['v'])
def glWindowPos2dvARB(v):
pass
@params(api='gl', prms=['x', 'y'])
def glWindowPos2fARB(x, y):
pass
@params(api='gl', prms=['v'])
def glWindowPos2fvARB(v):
pass
@params(api='gl',... | 13.963415 | 39 | 0.611354 | 173 | 1,145 | 4.046243 | 0.16763 | 0.205714 | 0.251429 | 0.342857 | 0.575714 | 0.575714 | 0.575714 | 0.547143 | 0.547143 | 0.297143 | 0 | 0.016178 | 0.136245 | 1,145 | 81 | 40 | 14.135802 | 0.691608 | 0 | 0 | 0.653061 | 0 | 0 | 0.052493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.326531 | false | 0.326531 | 0.020408 | 0 | 0.346939 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6c4de6a3b8092873538031e65bf5f1d703edec73 | 12 | py | Python | test/parse/t01.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/parse/t01.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/parse/t01.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print x+2*3
| 6 | 11 | 0.666667 | 4 | 12 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 12 | 1 | 12 | 12 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
6c4e17b4fe88ca5115a624a8ad9712eb6f03876d | 69 | py | Python | model/__init__.py | ASTC-Kekeyuan/Lilm | 1aac271b91d2d701d088006b800991001f96921b | [
"MIT"
] | null | null | null | model/__init__.py | ASTC-Kekeyuan/Lilm | 1aac271b91d2d701d088006b800991001f96921b | [
"MIT"
] | null | null | null | model/__init__.py | ASTC-Kekeyuan/Lilm | 1aac271b91d2d701d088006b800991001f96921b | [
"MIT"
] | null | null | null | from .booklist import *
from .details import *
from .rating import *
| 17.25 | 23 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 24 | 23 | 0.894737 | 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 |
666146de4372af213aac415d71d76291c45fcf3f | 120 | py | Python | lotto/admin.py | b14cknc0d3/lotto_api | 6bb6a9c23076428816aa8544b0212304ebcaedf0 | [
"MIT"
] | null | null | null | lotto/admin.py | b14cknc0d3/lotto_api | 6bb6a9c23076428816aa8544b0212304ebcaedf0 | [
"MIT"
] | null | null | null | lotto/admin.py | b14cknc0d3/lotto_api | 6bb6a9c23076428816aa8544b0212304ebcaedf0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Saledata
# Register your models here.
admin.site.register(Saledata) | 30 | 32 | 0.825 | 17 | 120 | 5.823529 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 4 | 33 | 30 | 0.925234 | 0.216667 | 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 |
66b6750f01578307d5497924360c1c20332b7e32 | 2,374 | py | Python | Firefly/automation/event_automation/metadata.py | Firefly-Automation/Firefly | fccf40b8f6e015ef34c292264184090eb8d860b7 | [
"Apache-2.0"
] | 20 | 2017-03-24T08:25:50.000Z | 2020-07-07T16:09:34.000Z | Firefly/automation/event_automation/metadata.py | Firefly-Automation/Firefly | fccf40b8f6e015ef34c292264184090eb8d860b7 | [
"Apache-2.0"
] | 1 | 2017-11-02T17:46:48.000Z | 2017-11-02T17:46:48.000Z | Firefly/automation/event_automation/metadata.py | Firefly-Automation/Firefly | fccf40b8f6e015ef34c292264184090eb8d860b7 | [
"Apache-2.0"
] | 5 | 2017-04-11T02:27:38.000Z | 2020-12-11T07:44:00.000Z | AUTHOR = 'Zachary Priddy. (me@zpriddy.com)'
TITLE = 'Event Automation'
METADATA = {
'title': TITLE,
'author': AUTHOR,
'commands': ['execute'],
'interface': {
'trigger_types': {
'index_1': {
'context': 'and / or'
},
'index_3': {
'context': 'and / or'
},
... | 22.609524 | 87 | 0.425864 | 197 | 2,374 | 4.939086 | 0.253807 | 0.043165 | 0.093525 | 0.102775 | 0.736896 | 0.736896 | 0.736896 | 0.705036 | 0.705036 | 0.705036 | 0 | 0.018828 | 0.395956 | 2,374 | 104 | 88 | 22.826923 | 0.659693 | 0 | 0 | 0.567308 | 0 | 0 | 0.444398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
dd195b76685014605b481bb9b57f6dc063ec9c11 | 10,462 | py | Python | modules/dbnd/src/dbnd/cli/cmd_airflow_sync.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | modules/dbnd/src/dbnd/cli/cmd_airflow_sync.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | modules/dbnd/src/dbnd/cli/cmd_airflow_sync.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | import json
import logging
from dbnd._core.constants import AirflowEnvironment
from dbnd._core.errors.base import DatabandApiError
from dbnd._core.utils.basics.text_banner import TextBanner, safe_tabulate
from dbnd._vendor import click
from dbnd.api.airflow_sync import (
archive_airflow_instance,
create_airflo... | 25.331719 | 104 | 0.636972 | 1,334 | 10,462 | 4.786357 | 0.143928 | 0.060298 | 0.039937 | 0.051684 | 0.760689 | 0.744714 | 0.735317 | 0.720595 | 0.720595 | 0.707439 | 0 | 0.00365 | 0.240585 | 10,462 | 412 | 105 | 25.393204 | 0.8 | 0.002963 | 0 | 0.673629 | 0 | 0.002611 | 0.245947 | 0.017554 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020888 | false | 0.005222 | 0.018277 | 0 | 0.041775 | 0.005222 | 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 |
dd42a089dadab539b94d6cc325db0c0b2655c22a | 89 | py | Python | results/__init__.py | bmorris3/stsp_osg_results | 655ccf972193941ef148b62f861cbe5e58650f6b | [
"MIT"
] | null | null | null | results/__init__.py | bmorris3/stsp_osg_results | 655ccf972193941ef148b62f861cbe5e58650f6b | [
"MIT"
] | null | null | null | results/__init__.py | bmorris3/stsp_osg_results | 655ccf972193941ef148b62f861cbe5e58650f6b | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .results import *
from .lightcurve import *
| 17.8 | 38 | 0.808989 | 11 | 89 | 6.090909 | 0.545455 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 4 | 39 | 22.25 | 0.881579 | 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 |
dd7c248d67d6cb3c3c59b85a57d4039fdce79ae1 | 45 | py | Python | Mr.Statapython/statapython/stataspoon/__init__.py | Lydwen/Mr.Statamutation | 2e8da0c84e65c58960dbb02286c67fd79895e4fa | [
"MIT"
] | 1 | 2016-02-05T07:35:51.000Z | 2016-02-05T07:35:51.000Z | Mr.Statapython/statapython/stataspoon/__init__.py | Lydwen/Mr.Statamutation | 2e8da0c84e65c58960dbb02286c67fd79895e4fa | [
"MIT"
] | null | null | null | Mr.Statapython/statapython/stataspoon/__init__.py | Lydwen/Mr.Statamutation | 2e8da0c84e65c58960dbb02286c67fd79895e4fa | [
"MIT"
] | null | null | null | from .mutationstester import MutationsTester
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
dd931826ebc34fd4b714250a5db0a4f95695868d | 89 | py | Python | backend/medicos/admin.py | diego-feitosa/desafio | c4aecb9b612a2d9e8b346b8aaecd92208252378a | [
"MIT"
] | null | null | null | backend/medicos/admin.py | diego-feitosa/desafio | c4aecb9b612a2d9e8b346b8aaecd92208252378a | [
"MIT"
] | null | null | null | backend/medicos/admin.py | diego-feitosa/desafio | c4aecb9b612a2d9e8b346b8aaecd92208252378a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Medico
admin.site.register(Medico)
| 17.8 | 32 | 0.820225 | 13 | 89 | 5.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 4 | 33 | 22.25 | 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 |
dd953416191668d3e8bc418decf6385e6dd51be3 | 81 | py | Python | addition_module/DMUE/utils/__init__.py | subin4420/doitagain | 264a1f8a548aa7d5e2034bfe1432b8816445a445 | [
"Apache-2.0"
] | null | null | null | addition_module/DMUE/utils/__init__.py | subin4420/doitagain | 264a1f8a548aa7d5e2034bfe1432b8816445a445 | [
"Apache-2.0"
] | null | null | null | addition_module/DMUE/utils/__init__.py | subin4420/doitagain | 264a1f8a548aa7d5e2034bfe1432b8816445a445 | [
"Apache-2.0"
] | null | null | null | from .easylog import write_config_into_log
from .ramp import ramp_up, ramp_down
| 20.25 | 42 | 0.839506 | 14 | 81 | 4.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 3 | 43 | 27 | 0.887324 | 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 |
06fc8dd0da89732e2d63916d2bc7ed2bfbb61241 | 92 | py | Python | pyhybro/OptimizationResult/__init__.py | pyHYBRO-dev/pyHYBRO | 1d33bb1d07d0ab78b096faedddca5fd3989d9bb4 | [
"BSD-3-Clause"
] | 1 | 2020-12-13T18:51:22.000Z | 2020-12-13T18:51:22.000Z | pyhybro/OptimizationResult/__init__.py | HYBRO-dev/HYBRO | 1d33bb1d07d0ab78b096faedddca5fd3989d9bb4 | [
"BSD-3-Clause"
] | 4 | 2020-12-14T20:52:12.000Z | 2021-01-21T16:40:09.000Z | pyhybro/OptimizationResult/__init__.py | pyHYBRO-dev/pyHYBRO | 1d33bb1d07d0ab78b096faedddca5fd3989d9bb4 | [
"BSD-3-Clause"
] | null | null | null | from .reference_set import ReferenceSet
from .optimization_result import OptimizationResult
| 30.666667 | 51 | 0.891304 | 10 | 92 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 52 | 46 | 0.952381 | 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 |
06ffa3aef7ef0e35182d0c0731fe764a95e1eaf7 | 136 | py | Python | animatplot/__init__.py | eric-erki/animatplot | 38a24c3301fbb82a237758fc42f6f4d59275721f | [
"MIT"
] | null | null | null | animatplot/__init__.py | eric-erki/animatplot | 38a24c3301fbb82a237758fc42f6f4d59275721f | [
"MIT"
] | null | null | null | animatplot/__init__.py | eric-erki/animatplot | 38a24c3301fbb82a237758fc42f6f4d59275721f | [
"MIT"
] | null | null | null | from ._version import __version__
from .timeline import Timeline
from .animations.animation import Animation
from . import blocks, util
| 27.2 | 43 | 0.830882 | 17 | 136 | 6.352941 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 136 | 4 | 44 | 34 | 0.907563 | 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 |
6600527dc786cdfa43a128907c06ad487fa014af | 174 | py | Python | tweet_analyse/tweet_analyse/env_settings.py | rahulz/tweet-analyse-api | 1c3031691e91093cabac8066619bf2ccd5c0e8c9 | [
"Apache-2.0"
] | null | null | null | tweet_analyse/tweet_analyse/env_settings.py | rahulz/tweet-analyse-api | 1c3031691e91093cabac8066619bf2ccd5c0e8c9 | [
"Apache-2.0"
] | null | null | null | tweet_analyse/tweet_analyse/env_settings.py | rahulz/tweet-analyse-api | 1c3031691e91093cabac8066619bf2ccd5c0e8c9 | [
"Apache-2.0"
] | null | null | null | SOCIAL_AUTH_TWITTER_KEY = 'LXgJdyaJRF0PeGlKakqg1HRF9'
SOCIAL_AUTH_TWITTER_SECRET = 'rjGbkkELyUhGt3GiEUUIW2A2S2yFtyB2GXmf23nDrgcqoQPZ5R'
SOCIAL_AUTH_LOGIN_REDIRECT_URL = '/'
| 34.8 | 81 | 0.885057 | 15 | 174 | 9.6 | 0.666667 | 0.208333 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067073 | 0.057471 | 174 | 4 | 82 | 43.5 | 0.810976 | 0 | 0 | 0 | 0 | 0 | 0.439306 | 0.433526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6629bbef038b947ad9adf13e4dd1d8e3d2bd203b | 76 | py | Python | Chapter 02/ch2_32.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_32.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_32.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | import math
print(math.log10(1300))
# using print() to print the result | 19 | 36 | 0.710526 | 12 | 76 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.184211 | 76 | 4 | 36 | 19 | 0.774194 | 0.434211 | 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 |
663847fc931c00eda13876dc03d71e573f9b64fe | 87 | py | Python | src/parish_scraper/__init__.py | hgdyeo/parish_scraper | ab59867a102392bc7dfd7b36bd5d4da6f238ee8d | [
"MIT"
] | null | null | null | src/parish_scraper/__init__.py | hgdyeo/parish_scraper | ab59867a102392bc7dfd7b36bd5d4da6f238ee8d | [
"MIT"
] | null | null | null | src/parish_scraper/__init__.py | hgdyeo/parish_scraper | ab59867a102392bc7dfd7b36bd5d4da6f238ee8d | [
"MIT"
] | null | null | null | from .ancestry import AncestryScraper
from .family_search import FamilySearchScraper
| 29 | 47 | 0.862069 | 9 | 87 | 8.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 2 | 48 | 43.5 | 0.961039 | 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 |
b0f0f001b77fff351c956d1e2d89c4c5e5644557 | 2,364 | py | Python | Algo and DSA/LeetCode-Solutions-master/Python/distribute-candies-to-people.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | Algo and DSA/LeetCode-Solutions-master/Python/distribute-candies-to-people.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | Algo and DSA/LeetCode-Solutions-master/Python/distribute-candies-to-people.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | # Time: O(n + logc), c is the number of candies
# Space: O(1)
class Solution(object):
def distributeCandies(self, candies, num_people):
"""
:type candies: int
:type num_people: int
:rtype: List[int]
"""
# find max integer p s.t. sum(1 + 2 + ... + p) <= C
# =... | 31.945946 | 89 | 0.480118 | 338 | 2,364 | 3.304734 | 0.183432 | 0.145031 | 0.080573 | 0.03581 | 0.734109 | 0.734109 | 0.734109 | 0.714414 | 0.714414 | 0.714414 | 0 | 0.055811 | 0.355753 | 2,364 | 73 | 90 | 32.383562 | 0.67761 | 0.269459 | 0 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0 | 0 | 0.236842 | 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 |
9fddb2fea9ab674bfa9b9f4c0e75ca16bf82cc6a | 279 | py | Python | tests/test_converters.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | 1 | 2022-01-16T12:06:13.000Z | 2022-01-16T12:06:13.000Z | tests/test_converters.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | null | null | null | tests/test_converters.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | null | null | null | import pytest
from pagnn.utils.converters import str_to_seconds
@pytest.mark.parametrize("time_str, time_seconds", [("1d,2h,21m,1s", 94861), ("1-02:21:01", 94861)])
def test_str_to_seconds(time_str: str, time_seconds: int):
assert str_to_seconds(time_str) == time_seconds
| 31 | 100 | 0.756272 | 46 | 279 | 4.304348 | 0.543478 | 0.075758 | 0.181818 | 0.181818 | 0.191919 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087649 | 0.100358 | 279 | 8 | 101 | 34.875 | 0.701195 | 0 | 0 | 0 | 0 | 0 | 0.157706 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9ff57895d3282f8fe9d1edc77f6a9c59ac9edf29 | 87 | py | Python | halfling/builders/__init__.py | aloebs29/halfling | b8b21b8167a9e77dcad4c1f46ab89fbb758587e4 | [
"MIT"
] | null | null | null | halfling/builders/__init__.py | aloebs29/halfling | b8b21b8167a9e77dcad4c1f46ab89fbb758587e4 | [
"MIT"
] | null | null | null | halfling/builders/__init__.py | aloebs29/halfling | b8b21b8167a9e77dcad4c1f46ab89fbb758587e4 | [
"MIT"
] | null | null | null | from .common import Builder, BuildOptions
from .cxx import CxxBuilder, CxxBuildOptions
| 29 | 44 | 0.83908 | 10 | 87 | 7.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 2 | 45 | 43.5 | 0.948052 | 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 |
b00e11e2c186cf2a0f578aa5e2b7f7ee58a214f7 | 239 | py | Python | FAI02_old/utils/torch_utils.py | WNoxchi/Kawkasos | 42c5070a8fa4a5e2d6386dc19d385e82a1d73fb2 | [
"MIT"
] | 7 | 2017-07-28T06:17:29.000Z | 2021-03-19T08:43:07.000Z | FAI02_old/utils/torch_utils.py | WNoxchi/Kawkasos | 42c5070a8fa4a5e2d6386dc19d385e82a1d73fb2 | [
"MIT"
] | null | null | null | FAI02_old/utils/torch_utils.py | WNoxchi/Kawkasos | 42c5070a8fa4a5e2d6386dc19d385e82a1d73fb2 | [
"MIT"
] | 1 | 2018-06-17T12:08:25.000Z | 2018-06-17T12:08:25.000Z | import torch
import torch.nn as nn
import torch.nn.parallel
import torch.utils.data
from torch import optim
from torch.backends import cudnn
from torchvision import datasets, transforms, utils as vutils
from torch.autograd import Variable
| 26.555556 | 61 | 0.83682 | 37 | 239 | 5.405405 | 0.459459 | 0.22 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125523 | 239 | 8 | 62 | 29.875 | 0.956938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b01bd6629cc62dfac1611028f4903e107ce54e10 | 1,500 | py | Python | tests/test_xor.py | kgwinnup/neural-network-py | 7d72624a9e2cab3444aac9ae016441a93058e169 | [
"BSD-2-Clause"
] | null | null | null | tests/test_xor.py | kgwinnup/neural-network-py | 7d72624a9e2cab3444aac9ae016441a93058e169 | [
"BSD-2-Clause"
] | null | null | null | tests/test_xor.py | kgwinnup/neural-network-py | 7d72624a9e2cab3444aac9ae016441a93058e169 | [
"BSD-2-Clause"
] | null | null | null |
from kneuralnet.nn import NeuralNet
import pytest
import numpy as np
data = np.array([[0,0,0],
[0,1,1],
[1,0,1],
[1,1,0]])
X = np.array(data[:,0:-1])
Y = np.array([data[:,-1]]).T
nand = np.array([[0,0,1],
[0,1,1],
[1,0,1],
... | 24.590164 | 48 | 0.516 | 261 | 1,500 | 2.908046 | 0.141762 | 0.036891 | 0.073781 | 0.101449 | 0.782609 | 0.782609 | 0.778656 | 0.752306 | 0.752306 | 0.72859 | 0 | 0.085013 | 0.239333 | 1,500 | 60 | 49 | 25 | 0.580193 | 0 | 0 | 0.62 | 0 | 0 | 0.018679 | 0 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0.14 | false | 0 | 0.06 | 0 | 0.2 | 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 |
b0357ca350bae7a08babbeb229e8feaa23e2cc72 | 38 | py | Python | crowdstrike_cre/__init__.py | sahil2303/ta_cloud_exchange_plugins | 931299ed317ea12968ce53edd7bf4318d23c1e3e | [
"BSD-3-Clause"
] | 1 | 2022-02-22T13:52:27.000Z | 2022-02-22T13:52:27.000Z | crowdstrike_cre/__init__.py | sahil2303/ta_cloud_exchange_plugins | 931299ed317ea12968ce53edd7bf4318d23c1e3e | [
"BSD-3-Clause"
] | 1 | 2022-03-31T10:25:57.000Z | 2022-03-31T10:25:57.000Z | crowdstrike_cre/__init__.py | sahil2303/ta_cloud_exchange_plugins | 931299ed317ea12968ce53edd7bf4318d23c1e3e | [
"BSD-3-Clause"
] | 4 | 2022-01-31T05:32:14.000Z | 2022-02-07T10:07:42.000Z | """CrowdStrike cre Plugin Package."""
| 19 | 37 | 0.710526 | 4 | 38 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.794118 | 0.815789 | 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 |
c66efd9e6b782b8c3c2a788eb1f4961aa8e4005f | 359 | py | Python | tweet/twitterspidertest/cookielogin.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2019-05-19T11:54:26.000Z | 2019-05-19T12:03:49.000Z | tweet/twitterspidertest/cookielogin.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 1 | 2020-11-27T07:55:15.000Z | 2020-11-27T07:55:15.000Z | tweet/twitterspidertest/cookielogin.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2019-01-17T15:01:28.000Z | 2019-09-20T09:32:17.000Z | """
验证twitter的登陆是否有效
"""
import requests
url = '''https://api.twitter.com/1.1/followers/list.json?include_profile_interstitial_type=1&include_blocking=1&include_blocked_by=1&include_followed_by=1&include_want_retweets=1&include_mute_edge=1&include_can_dm=1&include_can_media_tag=1&skip_status=1&cursor=-1&user_id=9884582... | 51.285714 | 293 | 0.824513 | 60 | 359 | 4.616667 | 0.633333 | 0.202166 | 0.072202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066092 | 0.030641 | 359 | 6 | 294 | 59.833333 | 0.729885 | 0.044568 | 0 | 0 | 0 | 0.333333 | 0.838806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c67f05842a57e3864c7314912f2c03851b8c69ee | 117 | py | Python | backend/home/admin.py | crowdbotics-apps/learning-trial-28958 | 3150f157efb955ff6ee34bf2129673008422b12e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/home/admin.py | crowdbotics-apps/learning-trial-28958 | 3150f157efb955ff6ee34bf2129673008422b12e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/home/admin.py | crowdbotics-apps/learning-trial-28958 | 3150f157efb955ff6ee34bf2129673008422b12e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import Input
admin.site.register(Input)
# Register your models here.
| 16.714286 | 32 | 0.794872 | 17 | 117 | 5.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 6 | 33 | 19.5 | 0.920792 | 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 |
c68cba9eb0c9d9506df1e7bdc7fe653d19067ff5 | 479 | py | Python | src/helpers/navigation.py | feiphoon/ner-pipeline | 1c343eea458e9c546bb8b53adcd22118d171aa63 | [
"MIT"
] | null | null | null | src/helpers/navigation.py | feiphoon/ner-pipeline | 1c343eea458e9c546bb8b53adcd22118d171aa63 | [
"MIT"
] | null | null | null | src/helpers/navigation.py | feiphoon/ner-pipeline | 1c343eea458e9c546bb8b53adcd22118d171aa63 | [
"MIT"
] | null | null | null | import os
from pathlib import Path
from typing import List
def get_directories(directory: str = ".") -> List:
return [
Path(os.path.join(directory, obj))
for obj in os.listdir(directory)
if os.path.isdir(os.path.join(directory, obj))
]
def get_files(directory: str = ".") -> List:
... | 23.95 | 58 | 0.626305 | 67 | 479 | 4.447761 | 0.328358 | 0.120805 | 0.134228 | 0.255034 | 0.731544 | 0.731544 | 0.731544 | 0.731544 | 0.510067 | 0.510067 | 0 | 0 | 0.244259 | 479 | 19 | 59 | 25.210526 | 0.823204 | 0 | 0 | 0.4 | 0 | 0 | 0.004175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.2 | 0.133333 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
c6a7ae3a44709505a5690ea4ae7c95e7575a306b | 190 | py | Python | festoon/__init__.py | notmatthancock/festoon | 7c60ec3fa0fe0b193d4d2d8876a647f34e7110c2 | [
"MIT"
] | null | null | null | festoon/__init__.py | notmatthancock/festoon | 7c60ec3fa0fe0b193d4d2d8876a647f34e7110c2 | [
"MIT"
] | null | null | null | festoon/__init__.py | notmatthancock/festoon | 7c60ec3fa0fe0b193d4d2d8876a647f34e7110c2 | [
"MIT"
] | null | null | null | # flake8: noqa
__version__ = "0.0.1"
from .docstring_tools import docfill
from .exception_tools import retry
from .logging_tools import logit, timeit
from .environment_tools import fromenv
| 23.75 | 40 | 0.810526 | 27 | 190 | 5.407407 | 0.62963 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.126316 | 190 | 7 | 41 | 27.142857 | 0.855422 | 0.063158 | 0 | 0 | 0 | 0 | 0.028409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
c6e7c30060c5ecbba0ada3dfcd21d19d5b52c2c4 | 217 | py | Python | test.py | simvalue/PythonCanalyzer | 7f5920e5d61197d94f3498a3b86da1ca89a03867 | [
"MIT"
] | 5 | 2020-01-10T13:29:15.000Z | 2021-06-17T00:58:48.000Z | test.py | simvalue/PythonCanalyzer | 7f5920e5d61197d94f3498a3b86da1ca89a03867 | [
"MIT"
] | 1 | 2021-09-09T00:42:33.000Z | 2021-09-09T00:42:33.000Z | test.py | simvalue/PythonCanalyzer | 7f5920e5d61197d94f3498a3b86da1ca89a03867 | [
"MIT"
] | 3 | 2020-01-30T10:43:24.000Z | 2021-09-30T12:29:54.000Z | from python_canalyzer import PythonCanalyzer
canalyzer = PythonCanalyzer(r"E:\proj3115_vector_auto_test\Config\Canalyzer\j1939.cfg", capl_path = r"E:\proj3115_vector_auto_test\Config\Canalyzer\J1939sendmsg.can")
pass | 54.25 | 166 | 0.852535 | 30 | 217 | 5.9 | 0.633333 | 0.022599 | 0.112994 | 0.180791 | 0.440678 | 0.440678 | 0.440678 | 0.440678 | 0 | 0 | 0 | 0.07767 | 0.050691 | 217 | 4 | 167 | 54.25 | 0.781553 | 0 | 0 | 0 | 0 | 0 | 0.536697 | 0.536697 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
c6e894bd73996d6a676a9e718bb20b7b0c0761bb | 54 | py | Python | arknights_mower/utils/device/__init__.py | YuiTH/arknights-mower | 01e65569ee13a470dde09911d2237331a8ed5b3d | [
"MIT"
] | null | null | null | arknights_mower/utils/device/__init__.py | YuiTH/arknights-mower | 01e65569ee13a470dde09911d2237331a8ed5b3d | [
"MIT"
] | null | null | null | arknights_mower/utils/device/__init__.py | YuiTH/arknights-mower | 01e65569ee13a470dde09911d2237331a8ed5b3d | [
"MIT"
] | null | null | null | from .device import Device
from .utils import KeyCode
| 18 | 26 | 0.814815 | 8 | 54 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 27 | 27 | 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 |
05a6d1580c350930bdc1bfeb7ae8e039cf1c9d68 | 38 | py | Python | moff/parser/end_line.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | moff/parser/end_line.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | moff/parser/end_line.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null |
class EndLine (Exception):
pass
| 7.6 | 26 | 0.657895 | 4 | 38 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 38 | 4 | 27 | 9.5 | 0.892857 | 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 |
05ac1066ff4a73ab9ec0ce82256565e4d6bf9bd7 | 259,885 | py | Python | dist/aeon3odt-L-0.6.2/aeon3odt/cnvaeon.py | peter88213/aeon3odt | f20572177e1e10e2dcc6a130cf3b2b05ed11eed9 | [
"MIT"
] | null | null | null | dist/aeon3odt-L-0.6.2/aeon3odt/cnvaeon.py | peter88213/aeon3odt | f20572177e1e10e2dcc6a130cf3b2b05ed11eed9 | [
"MIT"
] | 1 | 2021-10-14T16:00:11.000Z | 2021-12-22T11:51:05.000Z | dist/aeon3odt-L-0.6.2/aeon3odt/cnvaeon.py | peter88213/aeon3odt | f20572177e1e10e2dcc6a130cf3b2b05ed11eed9 | [
"MIT"
] | null | null | null | """Convert Aeon Timeline project data to odt.
Version 0.6.2
Requires Python 3.6+
Copyright (c) 2022 Peter Triesberger
For further information see https://github.com/peter88213/aeon3odt
Published under the MIT License (https://opensource.org/licenses/mit-license.php)
"""
import uno
from com.sun.star.awt.Messa... | 55.259409 | 1,787 | 0.652827 | 32,263 | 259,885 | 5.202802 | 0.051142 | 0.04343 | 0.045217 | 0.037889 | 0.717624 | 0.679044 | 0.652164 | 0.623771 | 0.60435 | 0.582516 | 0 | 0.022676 | 0.208727 | 259,885 | 4,702 | 1,788 | 55.271161 | 0.793435 | 0.149451 | 0 | 0.454282 | 0 | 0.204443 | 0.634943 | 0.444956 | 0 | 1 | 0 | 0.001063 | 0 | 1 | 0.028976 | false | 0.002576 | 0.013844 | 0.000644 | 0.121056 | 0.002576 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
05c13706e1fb8a4712122a216a048f70c703da0c | 87 | py | Python | sample/data/models/__init__.py | bluemner/sample-api-with-sqlalchemy | 2601dedb6a5fd1b4825913e9165d86180b118ca6 | [
"Unlicense"
] | 1 | 2020-07-10T12:18:27.000Z | 2020-07-10T12:18:27.000Z | sample/data/models/__init__.py | bluemner/sample-api-with-sqlalchemy | 2601dedb6a5fd1b4825913e9165d86180b118ca6 | [
"Unlicense"
] | null | null | null | sample/data/models/__init__.py | bluemner/sample-api-with-sqlalchemy | 2601dedb6a5fd1b4825913e9165d86180b118ca6 | [
"Unlicense"
] | 1 | 2020-08-09T03:55:45.000Z | 2020-08-09T03:55:45.000Z | """ Modles of data
"""
from .model import Model, AuditModel
from .person import Person
| 17.4 | 36 | 0.735632 | 12 | 87 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 4 | 37 | 21.75 | 0.876712 | 0.16092 | 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 |
05daea90ea1d16d5b11c66db45219a39a4fb7e13 | 57 | py | Python | je_auto_control/windows/screen/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | 9 | 2020-10-12T06:33:36.000Z | 2021-09-13T07:07:36.000Z | je_auto_control/windows/screen/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | je_auto_control/windows/screen/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | from je_auto_control.windows.screen.win32_screen import * | 57 | 57 | 0.877193 | 9 | 57 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.052632 | 57 | 1 | 57 | 57 | 0.833333 | 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 |
05dbe4fce380e3dbba81aeef016c96b669d1e041 | 19,740 | py | Python | mmtbx/suitename/unit-test/UnitTest.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | mmtbx/suitename/unit-test/UnitTest.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | mmtbx/suitename/unit-test/UnitTest.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import nested_scopes, generators, division, absolute_import
from __future__ import with_statement, print_function
import os, sys, inspect
from io import StringIO
currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parentdir = os.path.dirname(currentdir)
sys.path.inser... | 59.279279 | 98 | 0.5423 | 3,648 | 19,740 | 2.862664 | 0.221217 | 0.184334 | 0.159916 | 0.221201 | 0.394427 | 0.346739 | 0.251173 | 0.226276 | 0.100929 | 0.098152 | 0 | 0.485299 | 0.233283 | 19,740 | 332 | 99 | 59.457831 | 0.204691 | 0.041489 | 0 | 0.049834 | 0 | 0.594684 | 0.916526 | 0.101883 | 0 | 0 | 0 | 0 | 0.003322 | 1 | 0.009967 | false | 0 | 0.016611 | 0 | 0.0299 | 0.003322 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
05ede0a9a22fa15754e9389ce8c3b7fd2fcffc54 | 55 | py | Python | data_check/checks/pipeline_check/__init__.py | andrjas/data_check | 12ba740fcf54261bed15f909290649e8350474da | [
"MIT"
] | 1 | 2020-12-26T23:59:42.000Z | 2020-12-26T23:59:42.000Z | data_check/checks/pipeline_check/__init__.py | andrjas/data_check | 12ba740fcf54261bed15f909290649e8350474da | [
"MIT"
] | null | null | null | data_check/checks/pipeline_check/__init__.py | andrjas/data_check | 12ba740fcf54261bed15f909290649e8350474da | [
"MIT"
] | null | null | null | from .pipeline_check import PipelineCheck # noqa E402
| 27.5 | 54 | 0.818182 | 7 | 55 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.145455 | 55 | 1 | 55 | 55 | 0.87234 | 0.163636 | 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 |
af096791941fefe152ca1cb2379e4cf814fbe7c5 | 154 | py | Python | helpline_telegraph/telegram_bot/__init__.py | kolayne/helpline_telegraph | d791607d857c3a4267b62625108c72a5094e4cbf | [
"MIT"
] | 2 | 2021-05-27T20:22:27.000Z | 2021-05-31T19:15:51.000Z | helpline_telegraph/telegram_bot/__init__.py | kolayne/anonymous_helpline_chatbot | d791607d857c3a4267b62625108c72a5094e4cbf | [
"MIT"
] | 31 | 2020-11-03T20:20:36.000Z | 2021-06-17T17:51:22.000Z | helpline_telegraph/telegram_bot/__init__.py | kolayne/helpline_telegraph | d791607d857c3a4267b62625108c72a5094e4cbf | [
"MIT"
] | 2 | 2020-11-03T20:25:39.000Z | 2020-11-03T20:28:42.000Z | from ._init_objects import bot
# Create `bot` handlers
from . import tg_message_handlers as _
from . import tg_callback_handlers as _
__all__ = ["bot"]
| 19.25 | 39 | 0.766234 | 22 | 154 | 4.818182 | 0.545455 | 0.188679 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162338 | 154 | 7 | 40 | 22 | 0.821705 | 0.136364 | 0 | 0 | 0 | 0 | 0.022901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
af3bbc0d1b4e441857059c459e20357f4b22d268 | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/inference/cache.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/inference/cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/inference/cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b0/77/d8/d970e0ccaca87abfb837c0e459be11f03586fec84f4dc4a94eb3b76f0a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 0 | 96 | 1 | 96 | 96 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
afa13ece4b3fa48f6d9bd07f52a9cfe3789c0b31 | 120 | py | Python | shebang/account/admin.py | KNU-shebang/Shebang | 117d6d55344442d76def5c7682ab826ea2521d15 | [
"MIT"
] | 2 | 2017-03-18T07:43:58.000Z | 2017-05-02T16:21:42.000Z | shebang/account/admin.py | KNU-shebang/Shebang | 117d6d55344442d76def5c7682ab826ea2521d15 | [
"MIT"
] | 2 | 2017-03-24T09:24:35.000Z | 2017-05-02T14:48:21.000Z | shebang/account/admin.py | KNU-shebang/Shebang | 117d6d55344442d76def5c7682ab826ea2521d15 | [
"MIT"
] | 1 | 2020-10-18T18:38:14.000Z | 2020-10-18T18:38:14.000Z | from django.contrib import admin
from account.models import User
# Register your models here.
admin.site.register(User) | 24 | 32 | 0.816667 | 18 | 120 | 5.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 5 | 33 | 24 | 0.924528 | 0.216667 | 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 |
afb5001f5e516147887b296d1e2ba6e6795740fb | 1,633 | py | Python | tests/river/unit/transformer/conftest.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 42 | 2020-03-25T16:47:30.000Z | 2022-01-31T21:26:38.000Z | tests/river/unit/transformer/conftest.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 367 | 2020-04-08T12:46:34.000Z | 2022-02-16T01:15:32.000Z | tests/river/unit/transformer/conftest.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 3 | 2020-05-14T08:24:46.000Z | 2021-08-04T05:00:16.000Z | import pytest
@pytest.fixture
def identifier():
return {
"system": "http://terminology.arkhn.org/mimic_id/3fd9abb2-c4dc-4dc7-a2f8-888d5714aac4",
"value": "123",
}
@pytest.fixture
def patient():
return {
"id": "pat1",
"resourceType": "Patient",
"identifier": [
... | 30.240741 | 111 | 0.441519 | 116 | 1,633 | 6.163793 | 0.37069 | 0.083916 | 0.176224 | 0.218182 | 0.714685 | 0.714685 | 0.714685 | 0.664336 | 0.664336 | 0.664336 | 0 | 0.137824 | 0.409063 | 1,633 | 53 | 112 | 30.811321 | 0.603109 | 0 | 0 | 0.428571 | 0 | 0 | 0.437232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | true | 0 | 0.020408 | 0.040816 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bb8a19b98f1f173d213e889cbae76ea16ba2cc3a | 158 | py | Python | hata/discord/embed/__init__.py | ToxicKidz/hata | f834c3cee3920d3095254815582325c5232022d7 | [
"0BSD"
] | 173 | 2019-06-14T20:25:00.000Z | 2022-03-21T19:36:10.000Z | hata/discord/embed/__init__.py | Tari-dev/hata | a5c3199c845858f997af3b0b2c18770fdc691897 | [
"0BSD"
] | 52 | 2020-01-03T17:05:14.000Z | 2022-03-31T11:39:50.000Z | hata/discord/embed/__init__.py | Tari-dev/hata | a5c3199c845858f997af3b0b2c18770fdc691897 | [
"0BSD"
] | 47 | 2019-11-09T08:46:45.000Z | 2022-03-31T14:33:34.000Z | from .embed import *
from .embed_base import *
from .embed_core import *
__all__ = (
*embed.__all__,
*embed_base.__all__,
*embed_core.__all__,
)
| 15.8 | 25 | 0.683544 | 20 | 158 | 4.4 | 0.3 | 0.306818 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 158 | 9 | 26 | 17.555556 | 0.698413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
bba8cf124a21fd84cb69566aadec880ce063de3d | 122 | py | Python | noise/noise_quick_action.py | codecat555/codecat555-fidgetingbits_knausj_talon | 62f9be0459e6631c99d58eee97054ddd970cc5f3 | [
"MIT"
] | 1 | 2020-12-30T00:18:18.000Z | 2020-12-30T00:18:18.000Z | noise/noise_quick_action.py | codecat555/codecat555-fidgetingbits_knausj_talon | 62f9be0459e6631c99d58eee97054ddd970cc5f3 | [
"MIT"
] | null | null | null | noise/noise_quick_action.py | codecat555/codecat555-fidgetingbits_knausj_talon | 62f9be0459e6631c99d58eee97054ddd970cc5f3 | [
"MIT"
] | null | null | null | from talon import Module
mod = Module()
mod.tag("noise_quick_actions", desc="A tag for enabling noise quick actions")
| 17.428571 | 77 | 0.745902 | 19 | 122 | 4.684211 | 0.684211 | 0.202247 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 122 | 6 | 78 | 20.333333 | 0.864078 | 0 | 0 | 0 | 0 | 0 | 0.471074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
bbf719397bfb8e436a7338a7b459f6a362747d79 | 388 | py | Python | src/main.py | dpayba/Handwritten-Plagiarism-Scanner | 34ca047342eacc07683630af2c0959ed268656fb | [
"MIT"
] | null | null | null | src/main.py | dpayba/Handwritten-Plagiarism-Scanner | 34ca047342eacc07683630af2c0959ed268656fb | [
"MIT"
] | null | null | null | src/main.py | dpayba/Handwritten-Plagiarism-Scanner | 34ca047342eacc07683630af2c0959ed268656fb | [
"MIT"
] | null | null | null | import os
def main():
os.system('python controller.py --img_file ../data/image4.png --output_dir ../text_output/file1.txt')
os.system('python controller.py --img_file ../data/line.png --output_dir ../text_output/file2.txt')
os.system('python scan_similarity.py --file1_dir ../text_output/file1.txt --file2_d... | 43.111111 | 116 | 0.706186 | 58 | 388 | 4.396552 | 0.413793 | 0.109804 | 0.203922 | 0.188235 | 0.690196 | 0.290196 | 0.290196 | 0.290196 | 0 | 0 | 0 | 0.020349 | 0.113402 | 388 | 9 | 117 | 43.111111 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 0.722365 | 0.246787 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a530553e3337dfd6eab927d9c14b03ccddbef68a | 3,132 | py | Python | docs/CS161/StudentShowcase/ChineseFlag.py | DavidJLu/CCUT | 755cdeaa36f4eac817d09efe29550843fa5a4fdc | [
"MIT"
] | 5 | 2018-06-04T16:11:56.000Z | 2021-02-25T21:59:58.000Z | docs/CS161/StudentShowcase/ChineseFlag.py | DavidJLu/CCUT | 755cdeaa36f4eac817d09efe29550843fa5a4fdc | [
"MIT"
] | null | null | null | docs/CS161/StudentShowcase/ChineseFlag.py | DavidJLu/CCUT | 755cdeaa36f4eac817d09efe29550843fa5a4fdc | [
"MIT"
] | 1 | 2019-02-21T21:22:55.000Z | 2019-02-21T21:22:55.000Z | #ChineseNationalFlag.py
import turtle
t = turtle.Turtle()
turtle.bgcolor('black')
t.color('red')
width = -350
height =300
t.penup()
t.goto(width,height)
t.pendown()
t.begin_fill()
t.fillcolor('red')
t.forward(700)
t.right(90)
t.forward(400)
t.right(90)
t.forward(700)
t.right(90)
t.forward(400)
t.... | 14.635514 | 25 | 0.625479 | 543 | 3,132 | 3.581952 | 0.139963 | 0.106941 | 0.06838 | 0.107455 | 0.790231 | 0.767609 | 0.767609 | 0.712596 | 0.697172 | 0.665296 | 0 | 0.105924 | 0.186143 | 3,132 | 213 | 26 | 14.704225 | 0.65712 | 0.007024 | 0 | 0.8 | 0 | 0 | 0.030732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005128 | false | 0 | 0.005128 | 0 | 0.010256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a549b7ea786be46058c24da87c85b79a86e2c956 | 1,497 | py | Python | J_Mathematical_Modeling/Section 3/solutionExercise3.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | null | null | null | J_Mathematical_Modeling/Section 3/solutionExercise3.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | null | null | null | J_Mathematical_Modeling/Section 3/solutionExercise3.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | null | null | null | from IPython.display import display, Latex
print("The promoter activity is still a random variable, more than even since it is now stochastically influenced both by its intrinsic rate of inactivation k_off, and by the protein-associated inactivation. Since in the state for which we write the CME there are n proteins, a... | 106.928571 | 628 | 0.679359 | 316 | 1,497 | 3.088608 | 0.294304 | 0.040984 | 0.052254 | 0.045082 | 0.372951 | 0.343238 | 0.267418 | 0.255123 | 0.237705 | 0.190574 | 0 | 0.028941 | 0.122912 | 1,497 | 13 | 629 | 115.153846 | 0.714395 | 0 | 0 | 0 | 0 | 0.428571 | 0.915775 | 0.217914 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3c189e19f0c287cb7e2fdeaf2461c62b77a42440 | 337 | py | Python | app/models/blockchain.py | mohamedmhiri/blockchain-flask-server-side | a8cfc78e220edfae5a26536103ba45d9c6d400d5 | [
"MIT"
] | null | null | null | app/models/blockchain.py | mohamedmhiri/blockchain-flask-server-side | a8cfc78e220edfae5a26536103ba45d9c6d400d5 | [
"MIT"
] | null | null | null | app/models/blockchain.py | mohamedmhiri/blockchain-flask-server-side | a8cfc78e220edfae5a26536103ba45d9c6d400d5 | [
"MIT"
] | null | null | null | """
This is the Blockchain
Model class implementation
"""
class Blockchain:
def __init__(self):
self.current_transactions = []
self.chain = []
self.nodes = set()
def __repr__(self):
return '<Blockchain(chain={self.chain!r}, current_transactions={self.current_transactions!r})>'.... | 25.923077 | 121 | 0.661721 | 38 | 337 | 5.578947 | 0.5 | 0.268868 | 0.216981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20178 | 337 | 13 | 121 | 25.923077 | 0.788104 | 0.145401 | 0 | 0 | 0 | 0 | 0.30605 | 0.302491 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3c27996b91fda58696ab000a34f79ab35b9abfbe | 27 | py | Python | my_script.py | 2ndBrigadeWebProgrammer/Backend-Ga-MoNya | d1d0817c7b8206a885d5f99aad20c8cf4d3c76a2 | [
"MIT"
] | null | null | null | my_script.py | 2ndBrigadeWebProgrammer/Backend-Ga-MoNya | d1d0817c7b8206a885d5f99aad20c8cf4d3c76a2 | [
"MIT"
] | null | null | null | my_script.py | 2ndBrigadeWebProgrammer/Backend-Ga-MoNya | d1d0817c7b8206a885d5f99aad20c8cf4d3c76a2 | [
"MIT"
] | null | null | null | echo 'Hello Python Pages!'
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b1bf5416d5add7c782960ab5bc46723d7382bee5 | 451 | py | Python | day_04/passphrase.py | ianepreston/advent_2017 | 28a05752e9adabadc0cc8e5b624ea77edc7e782c | [
"MIT"
] | null | null | null | day_04/passphrase.py | ianepreston/advent_2017 | 28a05752e9adabadc0cc8e5b624ea77edc7e782c | [
"MIT"
] | null | null | null | day_04/passphrase.py | ianepreston/advent_2017 | 28a05752e9adabadc0cc8e5b624ea77edc7e782c | [
"MIT"
] | null | null | null | def read_passphrases():
with open("day_04/input.txt", "r") as f:
return [line.split() for line in f.readlines()]
def part1():
return sum(len(phrase) == len(set(phrase)) for phrase in read_passphrases())
print(part1())
def anagram(passphrase):
return len(passphrase) == len(set("".join(sorted(ph... | 20.5 | 88 | 0.67184 | 64 | 451 | 4.671875 | 0.453125 | 0.150502 | 0.150502 | 0.170569 | 0.247492 | 0.247492 | 0.247492 | 0 | 0 | 0 | 0 | 0.016043 | 0.170732 | 451 | 21 | 89 | 21.47619 | 0.783422 | 0 | 0 | 0 | 0 | 0 | 0.037694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.454545 | 0 | 0.272727 | 0.727273 | 0.181818 | 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 |
59161f5f2e749ec3097a6be8320e8f8f4d8cd95d | 125 | py | Python | tools/run_hooks.py | robbym/deno | 6b49944da1e7b06aeba04b1c0ded8e3fdb3c436b | [
"MIT"
] | null | null | null | tools/run_hooks.py | robbym/deno | 6b49944da1e7b06aeba04b1c0ded8e3fdb3c436b | [
"MIT"
] | null | null | null | tools/run_hooks.py | robbym/deno | 6b49944da1e7b06aeba04b1c0ded8e3fdb3c436b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import third_party
third_party.fix_symlinks()
third_party.download_gn()
third_party.download_clang()
| 15.625 | 28 | 0.816 | 19 | 125 | 5 | 0.631579 | 0.421053 | 0.378947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072 | 125 | 7 | 29 | 17.857143 | 0.818966 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
59329e1650b79c60ef7de9c64307441b31f0d4ee | 66 | py | Python | main.py | cramosk/fscal | e419c5507608c15aa9fbaaf10c8af919fe0d2afa | [
"MIT"
] | null | null | null | main.py | cramosk/fscal | e419c5507608c15aa9fbaaf10c8af919fe0d2afa | [
"MIT"
] | null | null | null | main.py | cramosk/fscal | e419c5507608c15aa9fbaaf10c8af919fe0d2afa | [
"MIT"
] | null | null | null | # coding: utf8
#!/usr/bin/python2
def directorymaker():
pass
| 11 | 21 | 0.666667 | 8 | 66 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.181818 | 66 | 5 | 22 | 13.2 | 0.777778 | 0.439394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
594940f79ea0728b77c01c301e56d65e27b2ad3c | 18,862 | py | Python | test/test_jobrunner.py | kbase/JobRunner | 06bf57b9eff7acb66f63fbc3ff94a5784d856450 | [
"MIT"
] | null | null | null | test/test_jobrunner.py | kbase/JobRunner | 06bf57b9eff7acb66f63fbc3ff94a5784d856450 | [
"MIT"
] | 29 | 2019-06-24T23:01:50.000Z | 2022-03-25T19:47:26.000Z | test/test_jobrunner.py | kbase/JobRunner | 06bf57b9eff7acb66f63fbc3ff94a5784d856450 | [
"MIT"
] | 6 | 2019-06-13T20:17:35.000Z | 2019-10-07T17:33:32.000Z | # -*- coding: utf-8 -*-
import os
import unittest
from copy import deepcopy
from time import time as _time
from unittest.mock import patch, MagicMock
from nose.plugins.attrib import attr
from requests import ConnectionError
from JobRunner.JobRunner import JobRunner
from .mock_data import (
CATALOG_GET_MODULE_VERS... | 42.102679 | 88 | 0.648341 | 2,395 | 18,862 | 4.881002 | 0.099791 | 0.083747 | 0.087254 | 0.035415 | 0.785543 | 0.758939 | 0.74337 | 0.737468 | 0.728315 | 0.71497 | 0 | 0.012611 | 0.226434 | 18,862 | 447 | 89 | 42.196868 | 0.788568 | 0.014368 | 0 | 0.621212 | 0 | 0 | 0.144468 | 0.055942 | 0 | 0 | 0 | 0 | 0.058081 | 1 | 0.055556 | false | 0.002525 | 0.030303 | 0.002525 | 0.09596 | 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 |
3ca0b649873abe31fa4354019b0d8735ae552e57 | 79 | py | Python | src/sage/modular/overconvergent/__init__.py | fchapoton/sage | 765c5cb3e24dd134708eca97e4c52e0221cd94ba | [
"BSL-1.0"
] | 4 | 2020-07-17T04:49:44.000Z | 2020-07-29T06:33:51.000Z | src/sage/modular/overconvergent/__init__.py | Ivo-Maffei/sage | 467fbc70a08b552b3de33d9065204ee9cbfb02c7 | [
"BSL-1.0"
] | 1 | 2020-04-18T16:30:43.000Z | 2020-04-18T16:30:43.000Z | src/sage/modular/overconvergent/__init__.py | dimpase/sage | 468f23815ade42a2192b0a9cd378de8fdc594dcd | [
"BSL-1.0"
] | 3 | 2020-03-29T17:13:36.000Z | 2021-05-03T18:11:28.000Z | from __future__ import absolute_import
from . import all
del absolute_import
| 13.166667 | 38 | 0.835443 | 11 | 79 | 5.454545 | 0.545455 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 5 | 39 | 15.8 | 0.895522 | 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 |
3cac55b706d77faba0d326abb94836b49a7bc7d0 | 1,158 | py | Python | grad_conv.py | Jstar-s/Unsupervised-Single-Image-Dehaze-via-Disentangled-Representations- | 50a9231deb381e78d136953b4478b7e13f9ef9e1 | [
"Apache-2.0"
] | null | null | null | grad_conv.py | Jstar-s/Unsupervised-Single-Image-Dehaze-via-Disentangled-Representations- | 50a9231deb381e78d136953b4478b7e13f9ef9e1 | [
"Apache-2.0"
] | null | null | null | grad_conv.py | Jstar-s/Unsupervised-Single-Image-Dehaze-via-Disentangled-Representations- | 50a9231deb381e78d136953b4478b7e13f9ef9e1 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
from torch.nn import Conv2d
import numpy as np
# horizontal gradient, the input_channel is default to 3
def grad_conv_hor():
grad = Conv2d(3, 3, (1, 3), stride=1, padding=(0, 1))
weight = np.zeros((3, 3, 1, 3))
for i in range(3):
weight[i, i, :, :] = np.array([[... | 28.243902 | 57 | 0.624352 | 181 | 1,158 | 3.939227 | 0.232044 | 0.01683 | 0.01683 | 0.064516 | 0.782609 | 0.740533 | 0.740533 | 0.740533 | 0.740533 | 0.740533 | 0 | 0.045455 | 0.221071 | 1,158 | 40 | 58 | 28.95 | 0.745011 | 0.092401 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.266667 | 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 |
a7074f43f8710dc87f73595ff9c2da974f64990f | 223 | py | Python | invana_bot/transformers/executors.py | subhead/invana-bot | c60883986acd1baf279ccbe74dfe06435680fba9 | [
"MIT"
] | 23 | 2019-01-31T08:04:39.000Z | 2021-12-20T15:55:27.000Z | invana_bot/transformers/executors.py | subhead/invana-bot | c60883986acd1baf279ccbe74dfe06435680fba9 | [
"MIT"
] | 12 | 2019-02-13T04:59:38.000Z | 2021-12-13T20:43:07.000Z | invana_bot/transformers/executors.py | subhead/invana-bot | c60883986acd1baf279ccbe74dfe06435680fba9 | [
"MIT"
] | 5 | 2019-12-21T16:23:34.000Z | 2022-02-22T06:08:03.000Z | from pymongo import MongoClient
class Executor:
def connect(self):
raise NotImplementedError
def read(self):
raise NotImplementedError
def disconnect(self):
raise NotImplementedError
| 17.153846 | 33 | 0.695067 | 21 | 223 | 7.380952 | 0.619048 | 0.174194 | 0.541935 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26009 | 223 | 12 | 34 | 18.583333 | 0.939394 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a71d34b5c6a59f93285c60b5df12821ada764b70 | 217 | py | Python | observations/translation.py | mindruion/test | d27ef1caf8f76aead934bc83be7729f79a4be503 | [
"MIT"
] | 2 | 2017-04-22T11:07:13.000Z | 2018-03-02T12:23:24.000Z | observations/translation.py | mindruion/test | d27ef1caf8f76aead934bc83be7729f79a4be503 | [
"MIT"
] | 124 | 2020-04-30T07:06:58.000Z | 2022-03-28T12:50:16.000Z | observations/translation.py | mindruion/test | d27ef1caf8f76aead934bc83be7729f79a4be503 | [
"MIT"
] | 1 | 2021-08-04T11:44:21.000Z | 2021-08-04T11:44:21.000Z | from modeltranslation.translator import register, TranslationOptions
from .models import Registration
@register(Registration)
class RegistrationTranslationOptions(TranslationOptions):
fields = ('description',)
| 24.111111 | 68 | 0.829493 | 17 | 217 | 10.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101382 | 217 | 8 | 69 | 27.125 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0.050691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 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 |
59532007da4a80a9dd3aa805db29555af7c1c93d | 41 | py | Python | tests/__init__.py | thatboytads/initial_api | 69f9fec73a0f2d63ea2f26cf37442965ca5e4961 | [
"MIT"
] | null | null | null | tests/__init__.py | thatboytads/initial_api | 69f9fec73a0f2d63ea2f26cf37442965ca5e4961 | [
"MIT"
] | null | null | null | tests/__init__.py | thatboytads/initial_api | 69f9fec73a0f2d63ea2f26cf37442965ca5e4961 | [
"MIT"
] | null | null | null | """Unit test package for initial_api."""
| 20.5 | 40 | 0.707317 | 6 | 41 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.777778 | 0.829268 | 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 |
595e906213c9da8ac679f054f5c35a56d6251505 | 34 | py | Python | visitation/organisation.py | patrickmmartin/pytterns | 9850b46fe9806f71ee3f8d3e63f7608c9c9bdd0c | [
"Unlicense"
] | null | null | null | visitation/organisation.py | patrickmmartin/pytterns | 9850b46fe9806f71ee3f8d3e63f7608c9c9bdd0c | [
"Unlicense"
] | null | null | null | visitation/organisation.py | patrickmmartin/pytterns | 9850b46fe9806f71ee3f8d3e63f7608c9c9bdd0c | [
"Unlicense"
] | null | null | null |
class Organisation(object): pass
| 11.333333 | 32 | 0.794118 | 4 | 34 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 2 | 33 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5977eb690b48a8a0f50ee6b737e55df942640d31 | 76 | py | Python | rhea/models/uart/__init__.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | 1 | 2022-03-16T23:56:09.000Z | 2022-03-16T23:56:09.000Z | rhea/models/uart/__init__.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | null | null | null | rhea/models/uart/__init__.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | null | null | null |
from __future__ import absolute_import
from ._uart_model import UARTModel
| 15.2 | 38 | 0.855263 | 10 | 76 | 5.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 76 | 4 | 39 | 19 | 0.878788 | 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 |
597f83b9a87103657d61b459c766ea01502b87af | 131 | py | Python | BlenderIKernel/__main__.py | fovtran/BlenderIKernel | 5c77c6b9205ecc6e5a2e906600510a82170ab7ca | [
"BSD-3-Clause"
] | null | null | null | BlenderIKernel/__main__.py | fovtran/BlenderIKernel | 5c77c6b9205ecc6e5a2e906600510a82170ab7ca | [
"BSD-3-Clause"
] | null | null | null | BlenderIKernel/__main__.py | fovtran/BlenderIKernel | 5c77c6b9205ecc6e5a2e906600510a82170ab7ca | [
"BSD-3-Clause"
] | null | null | null | from ipykernel.kernelapp import IPKernelApp
from . import BlenderIKernel
IPKernelApp.launch_instance(kernel_class=BlenderIKernel)
| 26.2 | 56 | 0.877863 | 14 | 131 | 8.071429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 131 | 4 | 57 | 32.75 | 0.933884 | 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 |
598927eace11925eb8263ad2f3f688dc1ad561cd | 944 | py | Python | src/django-nonrel/tests/regressiontests/comment_tests/custom_comments/__init__.py | adamjmcgrath/glancydesign | 826ede7c639879d5b79ee730eb5e91422768cb02 | [
"BSD-3-Clause"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | tests/regressiontests/comment_tests/custom_comments/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | tests/regressiontests/comment_tests/custom_comments/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | from django.core import urlresolvers
from regressiontests.comment_tests.custom_comments.models import CustomComment
from regressiontests.comment_tests.custom_comments.forms import CustomCommentForm
def get_model():
return CustomComment
def get_form():
return CustomCommentForm
def get_form_target():
ret... | 28.606061 | 86 | 0.753178 | 109 | 944 | 6.247706 | 0.275229 | 0.193833 | 0.237885 | 0.290749 | 0.660793 | 0.660793 | 0.469897 | 0.469897 | 0.469897 | 0.469897 | 0 | 0 | 0.163136 | 944 | 32 | 87 | 29.5 | 0.862025 | 0 | 0 | 0.269231 | 0 | 0 | 0.308263 | 0.308263 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.115385 | 0.230769 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
599053d961d4ebd27f0b697c2af3e0109ef89372 | 124 | py | Python | timetable/admin.py | kangsanChang/mjutt | e8c668d1fc23e1932d6c88d01f4263aac85c7fcb | [
"Apache-2.0"
] | null | null | null | timetable/admin.py | kangsanChang/mjutt | e8c668d1fc23e1932d6c88d01f4263aac85c7fcb | [
"Apache-2.0"
] | null | null | null | timetable/admin.py | kangsanChang/mjutt | e8c668d1fc23e1932d6c88d01f4263aac85c7fcb | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Classitem
# Register your models here.
admin.site.register(Classitem)
| 20.666667 | 32 | 0.814516 | 17 | 124 | 5.941176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 33 | 24.8 | 0.926606 | 0.209677 | 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 |
599e4e319a18ddc78ccd816a0225a63ad04fa410 | 42 | py | Python | hello.py | smj2mm/cs3240-labdemo | 06cdd289d3304f07953bc8157d3e9e8e0ce31a7a | [
"MIT"
] | null | null | null | hello.py | smj2mm/cs3240-labdemo | 06cdd289d3304f07953bc8157d3e9e8e0ce31a7a | [
"MIT"
] | null | null | null | hello.py | smj2mm/cs3240-labdemo | 06cdd289d3304f07953bc8157d3e9e8e0ce31a7a | [
"MIT"
] | null | null | null | from helper import *
greeting("hello")
| 10.5 | 20 | 0.690476 | 5 | 42 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 3 | 21 | 14 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 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 |
59b631e08ead68b6f3213d9d85404845171daa00 | 14,633 | py | Python | rvusite/rvu/views.py | craighagan/rvumanager | b313833bd49cdb36806a4ca4a33039f3d4bcf82e | [
"Apache-2.0"
] | null | null | null | rvusite/rvu/views.py | craighagan/rvumanager | b313833bd49cdb36806a4ca4a33039f3d4bcf82e | [
"Apache-2.0"
] | null | null | null | rvusite/rvu/views.py | craighagan/rvumanager | b313833bd49cdb36806a4ca4a33039f3d4bcf82e | [
"Apache-2.0"
] | null | null | null | import logging
from django.shortcuts import get_object_or_404, render, redirect
from django.http import HttpResponse
from django_tables2 import RequestConfig
from django.contrib.auth.models import User
from django.contrib.auth.decorators import login_required
from django.contrib import messages
from django.core.excepti... | 45.024615 | 113 | 0.696508 | 1,813 | 14,633 | 5.332046 | 0.109211 | 0.056791 | 0.032585 | 0.044688 | 0.760112 | 0.737768 | 0.72132 | 0.714079 | 0.713458 | 0.697838 | 0 | 0.00819 | 0.207271 | 14,633 | 324 | 114 | 45.16358 | 0.825172 | 0.00615 | 0 | 0.689286 | 0 | 0.010714 | 0.358302 | 0.112189 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067857 | false | 0 | 0.075 | 0.007143 | 0.385714 | 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 |
59bd641834d942b1b6e07ca9060ab51e31b1f8bb | 31 | py | Python | crash.py | theubermanishere/PythonProjects | 89f44ca47478afdaeb671eb2d5f609dbca33c130 | [
"MIT"
] | null | null | null | crash.py | theubermanishere/PythonProjects | 89f44ca47478afdaeb671eb2d5f609dbca33c130 | [
"MIT"
] | null | null | null | crash.py | theubermanishere/PythonProjects | 89f44ca47478afdaeb671eb2d5f609dbca33c130 | [
"MIT"
] | null | null | null | import requests
requests.getS
| 7.75 | 15 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 3 | 16 | 10.333333 | 0.962963 | 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 |
59dc6be9d4e81fbf037b519bbf1e3c0c75f3bcea | 226 | py | Python | lmt_india_covid19_risk_assessment/__init__.py | istresearch/lmt-india-covid19-risk-assessment | f1d45461975060a63500f5162dcce806ba602c59 | [
"MIT"
] | null | null | null | lmt_india_covid19_risk_assessment/__init__.py | istresearch/lmt-india-covid19-risk-assessment | f1d45461975060a63500f5162dcce806ba602c59 | [
"MIT"
] | null | null | null | lmt_india_covid19_risk_assessment/__init__.py | istresearch/lmt-india-covid19-risk-assessment | f1d45461975060a63500f5162dcce806ba602c59 | [
"MIT"
] | null | null | null | __version__ = "1.0.0"
try:
from lmt_india_covid19_risk_assessment.response import LmtIndiaCovid19Response
from lmt_india_covid19_risk_assessment.survey import LmtIndiaCovid19RiskAssessment
except ImportError:
pass | 32.285714 | 86 | 0.840708 | 26 | 226 | 6.846154 | 0.692308 | 0.078652 | 0.134831 | 0.213483 | 0.370787 | 0.370787 | 0 | 0 | 0 | 0 | 0 | 0.055276 | 0.119469 | 226 | 7 | 87 | 32.285714 | 0.839196 | 0 | 0 | 0 | 0 | 0 | 0.022026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
59e3cfd478f3c71fee384eecab1402f38c2ad6c7 | 216 | py | Python | mushroom_rl/environments/pybullet_envs/air_hockey/__init__.py | jdsalmonson/mushroom-rl | 27557269be5415879e035ff862815d2d5d9fb795 | [
"MIT"
] | 344 | 2020-01-10T09:45:02.000Z | 2022-03-30T09:48:28.000Z | mushroom_rl/environments/pybullet_envs/air_hockey/__init__.py | jdsalmonson/mushroom-rl | 27557269be5415879e035ff862815d2d5d9fb795 | [
"MIT"
] | 44 | 2020-01-23T03:00:56.000Z | 2022-03-25T17:14:22.000Z | mushroom_rl/environments/pybullet_envs/air_hockey/__init__.py | jdsalmonson/mushroom-rl | 27557269be5415879e035ff862815d2d5d9fb795 | [
"MIT"
] | 93 | 2020-01-10T21:17:58.000Z | 2022-03-31T17:58:52.000Z | from mushroom_rl.environments.pybullet_envs.air_hockey.hit import AirHockeyHit
from mushroom_rl.environments.pybullet_envs.air_hockey.defend import AirHockeyDefend
AirHockeyHit.register()
AirHockeyDefend.register()
| 36 | 84 | 0.884259 | 26 | 216 | 7.115385 | 0.538462 | 0.12973 | 0.151351 | 0.281081 | 0.508108 | 0.508108 | 0.508108 | 0.508108 | 0 | 0 | 0 | 0 | 0.050926 | 216 | 5 | 85 | 43.2 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aba0239285e5dd084bc0346e11d3234a0f1dab9c | 24 | py | Python | Reset/__init__.py | howiemac/evoke4 | 5d7af36c9fb23d94766d54c9c63436343959d3a8 | [
"BSD-3-Clause"
] | null | null | null | Reset/__init__.py | howiemac/evoke4 | 5d7af36c9fb23d94766d54c9c63436343959d3a8 | [
"BSD-3-Clause"
] | null | null | null | Reset/__init__.py | howiemac/evoke4 | 5d7af36c9fb23d94766d54c9c63436343959d3a8 | [
"BSD-3-Clause"
] | null | null | null | from Reset import Reset
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 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 |
abad4b72127f8fdafc1746d2ca650ca3ac195aae | 1,798 | py | Python | python_modules/dagstermill/dagstermill/context.py | atsuhiro/dagster | 24116a003a12c5a582afba3d4db74b3fa8c8159c | [
"Apache-2.0"
] | null | null | null | python_modules/dagstermill/dagstermill/context.py | atsuhiro/dagster | 24116a003a12c5a582afba3d4db74b3fa8c8159c | [
"Apache-2.0"
] | null | null | null | python_modules/dagstermill/dagstermill/context.py | atsuhiro/dagster | 24116a003a12c5a582afba3d4db74b3fa8c8159c | [
"Apache-2.0"
] | null | null | null | from dagster import check
from dagster.core.execution.context.system import SystemPipelineExecutionContext
from dagster.core.execution.context.transform import AbstractComputeExecutionContext
class DagstermillInNotebookExecutionContext(AbstractComputeExecutionContext):
def __init__(self, pipeline_context, out_of_... | 29.966667 | 94 | 0.731368 | 205 | 1,798 | 6.102439 | 0.243902 | 0.179856 | 0.182254 | 0.19984 | 0.404476 | 0.26219 | 0.13749 | 0.081535 | 0.081535 | 0.081535 | 0 | 0 | 0.201335 | 1,798 | 59 | 95 | 30.474576 | 0.87117 | 0 | 0 | 0.266667 | 0 | 0 | 0.07119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.288889 | false | 0 | 0.066667 | 0.222222 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
abed63c7443c66e7186d67cc57e5664ca92ee2fd | 237 | py | Python | Curso de Python 3 - Mundo 1 - Curso em Video/ex012.py | HebertFB/Curso-de-Python-Mundo-1-Curso-em-Video | 885e3efe4227dd610a70f13b2260612249b48865 | [
"MIT"
] | null | null | null | Curso de Python 3 - Mundo 1 - Curso em Video/ex012.py | HebertFB/Curso-de-Python-Mundo-1-Curso-em-Video | 885e3efe4227dd610a70f13b2260612249b48865 | [
"MIT"
] | null | null | null | Curso de Python 3 - Mundo 1 - Curso em Video/ex012.py | HebertFB/Curso-de-Python-Mundo-1-Curso-em-Video | 885e3efe4227dd610a70f13b2260612249b48865 | [
"MIT"
] | null | null | null | """Faça um algoritmo que leia o preço de um produto e mostre seu novo preço, com 5% de desconto"""
preco = float(input('Informe o preço do produto: '))
print(f'O preço do produto com 5% de desconto será de R${preco-(preco*0.05):.2f}')
| 39.5 | 98 | 0.700422 | 45 | 237 | 3.688889 | 0.622222 | 0.108434 | 0.072289 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030457 | 0.168776 | 237 | 5 | 99 | 47.4 | 0.812183 | 0.388186 | 0 | 0 | 0 | 0.5 | 0.719424 | 0.18705 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f9ebf80d05b9d68cf71c88013e7dcd708c2b14d2 | 52 | py | Python | CodeWars/8 Kyu/MakeUpperCase.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/MakeUpperCase.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/MakeUpperCase.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def make_upper_case(strng):
return strng.upper() | 26 | 27 | 0.75 | 8 | 52 | 4.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 28 | 26 | 0.822222 | 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 |
f9f18d47ee13b05b3f40c36f9ffd42f723a50511 | 101 | py | Python | lib/metric/__init__.py | khanhptnk/bandit-nmt | f2ef517be2df9cffec6927b1d6a61baead548f8f | [
"MIT"
] | 149 | 2017-07-25T21:14:36.000Z | 2022-01-04T02:56:16.000Z | lib/metric/__init__.py | khanhptnk/bandit-nmt | f2ef517be2df9cffec6927b1d6a61baead548f8f | [
"MIT"
] | 5 | 2017-11-13T08:42:21.000Z | 2018-04-02T01:50:05.000Z | lib/metric/__init__.py | khanhptnk/bandit-nmt | f2ef517be2df9cffec6927b1d6a61baead548f8f | [
"MIT"
] | 32 | 2017-07-25T23:55:15.000Z | 2021-11-04T17:08:55.000Z | from .PertFunction import PertFunction
from .Loss import *
from .Reward import *
from .Bleu import *
| 20.2 | 38 | 0.772277 | 13 | 101 | 6 | 0.461538 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 4 | 39 | 25.25 | 0.917647 | 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 |
e61258b5487132c99466b3721b1af6606c6ccc90 | 1,181 | py | Python | apis/client/transmissions.py | jgodara/pymycloud | 606a2f26424e14572ea05d3b74620871f0b275d3 | [
"MIT"
] | 1 | 2019-04-24T14:53:43.000Z | 2019-04-24T14:53:43.000Z | apis/client/transmissions.py | jgodara/owncloud | 606a2f26424e14572ea05d3b74620871f0b275d3 | [
"MIT"
] | 1 | 2019-04-24T14:32:22.000Z | 2019-04-25T02:05:07.000Z | apis/client/transmissions.py | jgodara/owncloud | 606a2f26424e14572ea05d3b74620871f0b275d3 | [
"MIT"
] | 1 | 2019-04-24T06:27:51.000Z | 2019-04-24T06:27:51.000Z | import owncloud_utils.strings as stru
from apis.resource_base import ResourceBase
from database.models import Transmissions
from database.repositories import TransmissionRepository
class ClientTransmissionApi(ResourceBase):
def get(self):
user = self.get_principal()
repo = TransmissionRepository.... | 28.119048 | 73 | 0.660457 | 129 | 1,181 | 5.875969 | 0.317829 | 0.126649 | 0.100264 | 0.039578 | 0.701847 | 0.701847 | 0.701847 | 0.701847 | 0.701847 | 0.701847 | 0 | 0.006749 | 0.247248 | 1,181 | 41 | 74 | 28.804878 | 0.845894 | 0 | 0 | 0.62069 | 0 | 0 | 0.049958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.137931 | 0 | 0.37931 | 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 |
e618b4b61c43887269267c328ead461a0f8eb4f2 | 69 | py | Python | gitcd/bin/kivy.py | pchr-srf/gitcd | 8b4f08a8221c6fd09ba83e055c1dddabcde80b01 | [
"Apache-2.0"
] | null | null | null | gitcd/bin/kivy.py | pchr-srf/gitcd | 8b4f08a8221c6fd09ba83e055c1dddabcde80b01 | [
"Apache-2.0"
] | 1 | 2019-03-11T19:44:33.000Z | 2019-03-11T19:44:33.000Z | gitcd/bin/kivy.py | pchr-srf/gitcd | 8b4f08a8221c6fd09ba83e055c1dddabcde80b01 | [
"Apache-2.0"
] | null | null | null | from gitcd.interface.kivy import Kivy
def main():
Kivy().run()
| 11.5 | 37 | 0.666667 | 10 | 69 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 69 | 5 | 38 | 13.8 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e618e22bae957afdb5dbbfbc65b36afe5a6ba80d | 152 | py | Python | vit/formatter/modified_julian.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 179 | 2020-07-28T08:21:51.000Z | 2022-03-30T21:39:37.000Z | vit/formatter/modified_julian.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 255 | 2017-02-01T11:49:12.000Z | 2020-07-26T22:31:25.000Z | vit/formatter/modified_julian.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 26 | 2017-01-17T20:31:13.000Z | 2020-06-17T13:09:01.000Z | from vit.formatter.modified import Modified
class ModifiedJulian(Modified):
def format(self, modified, task):
return self.julian(modified)
| 25.333333 | 43 | 0.75 | 18 | 152 | 6.333333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 152 | 5 | 44 | 30.4 | 0.897638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e6286e215336ff586a13c4151efb06e1fbd0bd78 | 151 | py | Python | tellurium/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | tellurium/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | tellurium/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | from tellurium import *
import ParameterScan
import Export
import analysis
import notebooktools
import optimization
import visualization
import widgets | 18.875 | 23 | 0.880795 | 17 | 151 | 7.823529 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112583 | 151 | 8 | 24 | 18.875 | 0.992537 | 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 |
e645e3a27091d140e0fea725b3ec7eb665765eb9 | 182 | py | Python | Storylines/storyline_runs/run_nyr_suite.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | Storylines/storyline_runs/run_nyr_suite.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | Storylines/storyline_runs/run_nyr_suite.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | """
Author: Matt Hanson
Created: 14/04/2021 2:44 PM
"""
from Storylines.storyline_runs.run_random_suite import create_nyr_suite
if __name__ == '__main__':
create_nyr_suite(3) | 22.75 | 71 | 0.752747 | 28 | 182 | 4.357143 | 0.857143 | 0.147541 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 0.137363 | 182 | 8 | 72 | 22.75 | 0.700637 | 0.258242 | 0 | 0 | 0 | 0 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0515d8cb8ab9fbf6dee679d22a04e24a780b677b | 29,106 | py | Python | src/ui/GuideTabUI.py | BeTeK/EliteDB | a6ff655f6f78b227bebaaf48d7aa7c8742871011 | [
"BSD-3-Clause"
] | 7 | 2015-06-04T19:46:50.000Z | 2015-07-13T14:15:27.000Z | src/ui/GuideTabUI.py | BeTeK/EliteDB | a6ff655f6f78b227bebaaf48d7aa7c8742871011 | [
"BSD-3-Clause"
] | 3 | 2015-06-05T13:08:59.000Z | 2015-07-16T21:39:00.000Z | src/ui/GuideTabUI.py | BeTeK/EliteDB | a6ff655f6f78b227bebaaf48d7aa7c8742871011 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'src\ui\GuideTab.ui'
#
# Created by: PyQt5 UI code generator 5.4.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.se... | 250.913793 | 2,788 | 0.7405 | 4,551 | 29,106 | 4.732367 | 0.1637 | 0.071876 | 0.049496 | 0.072341 | 0.483261 | 0.467475 | 0.460371 | 0.458978 | 0.457352 | 0.455542 | 0 | 0.044318 | 0.094517 | 29,106 | 115 | 2,789 | 253.095652 | 0.77287 | 0.006459 | 0 | 0.145631 | 1 | 0.407767 | 0.473193 | 0.004739 | 0 | 1 | 0 | 0 | 0 | 1 | 0.019417 | false | 0.009709 | 0.048544 | 0 | 0.07767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0570d78433fdc5dd298b1db46a065e575acc84d4 | 127 | py | Python | pythonLearning/use_module.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | 1 | 2019-11-12T13:38:54.000Z | 2019-11-12T13:38:54.000Z | pythonLearning/use_module.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | null | null | null | pythonLearning/use_module.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | null | null | null | import sys
sys.stdout.write('hello world\n')
sys.stdout.write(sys.version)
#引用模块并使用aliase
import random as r
print(r.random)
| 14.111111 | 33 | 0.771654 | 21 | 127 | 4.666667 | 0.619048 | 0.183673 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 127 | 8 | 34 | 15.875 | 0.859649 | 0.102362 | 0 | 0 | 0 | 0 | 0.115044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
0575df3d22869a52f78bf13b36708ba9facce79a | 255 | py | Python | fastapi_skeleton/ml/__init__.py | pphszx/fastapi-ml-skeleton | f92ce62a64227e71955eeb5caa836bd39f6c5ee3 | [
"Apache-2.0"
] | null | null | null | fastapi_skeleton/ml/__init__.py | pphszx/fastapi-ml-skeleton | f92ce62a64227e71955eeb5caa836bd39f6c5ee3 | [
"Apache-2.0"
] | null | null | null | fastapi_skeleton/ml/__init__.py | pphszx/fastapi-ml-skeleton | f92ce62a64227e71955eeb5caa836bd39f6c5ee3 | [
"Apache-2.0"
] | null | null | null | from fastapi_skeleton.ml.houseprice import HousePriceModel
from fastapi_skeleton.ml.iris import IrisModel
from fastapi_skeleton.ml.haier import HaierModel
dct_model = {
"houseprice": HousePriceModel,
"iris": IrisModel,
"haier": HaierModel,
}
| 25.5 | 58 | 0.780392 | 29 | 255 | 6.724138 | 0.448276 | 0.169231 | 0.292308 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 255 | 9 | 59 | 28.333333 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.07451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
059477097765439281877fcadc8e2f84f9f0ec7e | 141 | py | Python | testing/slides/examples/test_marks.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 252 | 2021-05-18T11:58:17.000Z | 2022-03-12T06:48:52.000Z | testing/slides/examples/test_marks.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 44 | 2021-05-21T14:28:34.000Z | 2021-07-12T22:36:06.000Z | testing/slides/examples/test_marks.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 128 | 2021-05-24T18:32:54.000Z | 2022-03-26T11:24:16.000Z | import pytest
import time
@pytest.mark.slow
def test_slow():
time.sleep(2)
assert 1 + 1 == 2
def test_fast():
assert 1 + 1== 2
| 12.818182 | 21 | 0.624113 | 24 | 141 | 3.583333 | 0.5 | 0.162791 | 0.186047 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 0.248227 | 141 | 10 | 22 | 14.1 | 0.745283 | 0 | 0 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
059721ac1e608fbd318e3aed42bf850983479054 | 44 | py | Python | inferno/extensions/initializers/__init__.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 204 | 2017-10-10T20:58:52.000Z | 2021-12-07T03:01:19.000Z | inferno/extensions/initializers/__init__.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 86 | 2017-10-11T11:32:36.000Z | 2021-11-15T17:47:25.000Z | inferno/extensions/initializers/__init__.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 30 | 2017-11-16T23:21:30.000Z | 2021-11-15T15:11:00.000Z | from .base import *
from .presets import *
| 11 | 22 | 0.704545 | 6 | 44 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 3 | 23 | 14.666667 | 0.885714 | 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 |
55392c45ccf5161678aa27b028830ef529130bc3 | 44 | py | Python | services/__init__.py | iomegak12/pythonpractices-1 | eff9b9f926c2ddd0e9d71331bdcba42b3b5367bc | [
"bzip2-1.0.6"
] | 1 | 2019-09-25T08:10:52.000Z | 2019-09-25T08:10:52.000Z | services/__init__.py | iomegak12/pythonpractices-1 | eff9b9f926c2ddd0e9d71331bdcba42b3b5367bc | [
"bzip2-1.0.6"
] | null | null | null | services/__init__.py | iomegak12/pythonpractices-1 | eff9b9f926c2ddd0e9d71331bdcba42b3b5367bc | [
"bzip2-1.0.6"
] | null | null | null | from .customerservice import CustomerService | 44 | 44 | 0.909091 | 4 | 44 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 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 |
556849fec22cb0e797264cdca1fa3abe1d0ed518 | 86 | py | Python | enthought/enable/text_field.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/enable/text_field.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/enable/text_field.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from enable.text_field import *
| 21.5 | 38 | 0.837209 | 12 | 86 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 3 | 39 | 28.666667 | 0.88 | 0.139535 | 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 |
55923860d0903c3ab22b789795eac9e89e6775f5 | 154 | py | Python | tests/conftest.py | volodymyrss/oda-experiments | 6cbbb5fd2b95b456cc3dea0d90df1b0de0b08ecd | [
"CC0-1.0"
] | null | null | null | tests/conftest.py | volodymyrss/oda-experiments | 6cbbb5fd2b95b456cc3dea0d90df1b0de0b08ecd | [
"CC0-1.0"
] | 1 | 2021-08-16T15:53:07.000Z | 2021-08-16T15:53:07.000Z | tests/conftest.py | volodymyrss/oda-experiments | 6cbbb5fd2b95b456cc3dea0d90df1b0de0b08ecd | [
"CC0-1.0"
] | null | null | null | import pytest
import odatestsapp
@pytest.fixture
def app():
app = odatestsapp.app #create_app()
#app = odatestsapp.create_app()
return app
| 15.4 | 39 | 0.701299 | 19 | 154 | 5.578947 | 0.421053 | 0.113208 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201299 | 154 | 9 | 40 | 17.111111 | 0.861789 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
55b3d28c5d938933351cedf9f3fc80975807fe45 | 9,895 | py | Python | tests/api/crud/test_trigger_instance.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/api/crud/test_trigger_instance.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | 43 | 2019-06-01T23:08:32.000Z | 2022-02-07T22:24:53.000Z | tests/api/crud/test_trigger_instance.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | null | null | null | from fastapi.encoders import jsonable_encoder
from freezegun import freeze_time
import pytest
from sqlalchemy.orm import Session
from ultron8.api import crud
from ultron8.api.db_models.trigger import TriggerInstanceDB
from ultron8.api.models.packs import PacksCreate
from ultron8.api.models.trigger import (
Trigger... | 34.597902 | 86 | 0.740576 | 1,178 | 9,895 | 5.894737 | 0.089983 | 0.304579 | 0.079205 | 0.044355 | 0.788594 | 0.758209 | 0.736463 | 0.711118 | 0.690668 | 0.677707 | 0 | 0.029085 | 0.173017 | 9,895 | 285 | 87 | 34.719298 | 0.819504 | 0.102981 | 0 | 0.46 | 0 | 0 | 0.063228 | 0.020586 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.03 | false | 0 | 0.065 | 0 | 0.095 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e96926f2025b6f5b8a2c33a3b199dc5e742cc95b | 232 | py | Python | users/models.py | splinterific/Usercontrollist | 3cf7e7d3cf27373afa2f896a10113364f0b88e02 | [
"MIT"
] | 29 | 2019-10-01T12:09:06.000Z | 2022-03-02T22:09:48.000Z | users/models.py | splinterific/Usercontrollist | 3cf7e7d3cf27373afa2f896a10113364f0b88e02 | [
"MIT"
] | 4 | 2021-03-19T00:40:40.000Z | 2021-09-22T18:41:49.000Z | users/models.py | splinterific/Usercontrollist | 3cf7e7d3cf27373afa2f896a10113364f0b88e02 | [
"MIT"
] | 115 | 2019-07-23T19:32:08.000Z | 2022-03-26T08:22:25.000Z | from django.contrib.auth.models import AbstractUser
from django.db import models
class Person(AbstractUser):
description = models.TextField(blank=True)
def __str__(self):
return "User(<{}>)".format(self.username)
| 23.2 | 51 | 0.728448 | 28 | 232 | 5.892857 | 0.75 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 232 | 9 | 52 | 25.777778 | 0.841837 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
e996cc273dac2301b55276750bb3bc239f808eee | 38 | py | Python | pg_raxarchive/__main__.py | duilio/pg_raxarchive | d57a4fd4400b3bc97fe7935e6388a2a962776abb | [
"BSD-2-Clause"
] | 2 | 2015-01-29T00:00:38.000Z | 2018-05-24T19:06:47.000Z | pg_raxarchive/__main__.py | duilio/pg_raxarchive | d57a4fd4400b3bc97fe7935e6388a2a962776abb | [
"BSD-2-Clause"
] | null | null | null | pg_raxarchive/__main__.py | duilio/pg_raxarchive | d57a4fd4400b3bc97fe7935e6388a2a962776abb | [
"BSD-2-Clause"
] | 1 | 2016-08-18T03:16:10.000Z | 2016-08-18T03:16:10.000Z | from pg_raxarchive import main
main()
| 12.666667 | 30 | 0.815789 | 6 | 38 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 2 | 31 | 19 | 0.909091 | 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 |
e9b5b8b31f41eddbf83dd7b99fdc2c0d5cd8ee62 | 241 | py | Python | django_roles_access/admin.py | django-roles-access/master | 066d0d6b99b986eacc736e6973b415cbb9172d46 | [
"MIT"
] | 5 | 2019-03-22T08:08:25.000Z | 2019-04-11T11:46:52.000Z | django_roles_access/admin.py | django-roles-access/master | 066d0d6b99b986eacc736e6973b415cbb9172d46 | [
"MIT"
] | 5 | 2019-04-03T21:53:52.000Z | 2019-05-22T22:41:34.000Z | django_roles_access/admin.py | django-roles-access/master | 066d0d6b99b986eacc736e6973b415cbb9172d46 | [
"MIT"
] | null | null | null | # encoding='utf-8'
from django.contrib import admin
from django_roles_access.models import ViewAccess, TemplateAccess
# admin.site.register(ViewAccess, ViewAccessAdmin)
admin.site.register(ViewAccess)
admin.site.register(TemplateAccess)
| 21.909091 | 65 | 0.825726 | 29 | 241 | 6.793103 | 0.551724 | 0.137056 | 0.258883 | 0.274112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004525 | 0.082988 | 241 | 10 | 66 | 24.1 | 0.886878 | 0.26971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e9d0d9a5966a2fecd139a7340aa304cf1fd7d271 | 170 | py | Python | blog/permissions.py | florimondmanca/personal-api | 6300f965d3f51d1bf5f10cf1eb15d673bd627631 | [
"MIT"
] | 4 | 2018-08-17T08:06:06.000Z | 2020-02-20T15:15:56.000Z | blog/permissions.py | florimondmanca/personal-api | 6300f965d3f51d1bf5f10cf1eb15d673bd627631 | [
"MIT"
] | 2 | 2018-10-08T15:59:58.000Z | 2018-10-20T16:50:13.000Z | blog/permissions.py | florimondmanca/personal-api | 6300f965d3f51d1bf5f10cf1eb15d673bd627631 | [
"MIT"
] | 1 | 2019-09-14T23:15:10.000Z | 2019-09-14T23:15:10.000Z | from rest_framework.permissions import IsAuthenticated
from rest_framework_api_key.permissions import HasAPIKey
HasAPIKeyOrIsAuthenticated = HasAPIKey | IsAuthenticated
| 34 | 56 | 0.894118 | 17 | 170 | 8.705882 | 0.588235 | 0.108108 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 170 | 4 | 57 | 42.5 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
756a280d766daa7e34b8619f0cff454a29a952e2 | 46 | py | Python | exceptions.py | korhanyuzbas/python-articlecrawler | 32d8a83d04581eed3494e158ed4764cb08fdb3cc | [
"MIT"
] | 1 | 2019-05-12T12:59:34.000Z | 2019-05-12T12:59:34.000Z | exceptions.py | korhanyuzbas/python-articlecrawler | 32d8a83d04581eed3494e158ed4764cb08fdb3cc | [
"MIT"
] | 4 | 2021-06-08T19:15:50.000Z | 2022-03-11T23:27:51.000Z | exceptions.py | korhanyuzbas/python-articlecrawler | 32d8a83d04581eed3494e158ed4764cb08fdb3cc | [
"MIT"
] | null | null | null | class UnknownContentType(Exception):
pass
| 15.333333 | 36 | 0.782609 | 4 | 46 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 37 | 23 | 0.923077 | 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 |
75bd668d3e0f5c0cc875362159364f03166470bf | 172 | py | Python | profiles_api/urls.py | dirias/DjangoRestFramework | b335c9637ea91de70d089d4b0484e0fb67438dcf | [
"MIT"
] | null | null | null | profiles_api/urls.py | dirias/DjangoRestFramework | b335c9637ea91de70d089d4b0484e0fb67438dcf | [
"MIT"
] | null | null | null | profiles_api/urls.py | dirias/DjangoRestFramework | b335c9637ea91de70d089d4b0484e0fb67438dcf | [
"MIT"
] | null | null | null | from django.urls import path, include
from django.urls import path
from profiles_api import views
urlpatterns = [
path('hello/', views.HelloApiView.as_view()),
] | 24.571429 | 50 | 0.732558 | 23 | 172 | 5.391304 | 0.608696 | 0.16129 | 0.225806 | 0.322581 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168605 | 172 | 7 | 51 | 24.571429 | 0.867133 | 0 | 0 | 0 | 0 | 0 | 0.035928 | 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 |
75c2d7ae9ab6aa529505752e3bcefd10a83e632c | 97 | py | Python | events/admin.py | vinaykakkad/DIM | 9096e3703b0edda85914e4b25092670dd44e6d99 | [
"MIT"
] | 2 | 2021-06-02T03:54:23.000Z | 2021-12-17T04:49:08.000Z | events/admin.py | vinaykakkad/DIM | 9096e3703b0edda85914e4b25092670dd44e6d99 | [
"MIT"
] | 2 | 2021-06-02T03:49:39.000Z | 2021-09-22T18:43:45.000Z | events/admin.py | vinaykakkad/DIM | 9096e3703b0edda85914e4b25092670dd44e6d99 | [
"MIT"
] | 1 | 2021-07-21T16:07:07.000Z | 2021-07-21T16:07:07.000Z | from django.contrib import admin
from .models import EventPost
admin.site.register(EventPost)
| 13.857143 | 32 | 0.814433 | 13 | 97 | 6.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 6 | 33 | 16.166667 | 0.929412 | 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 |
75cced96899df3edfb95fb634cae87a84f5b7ddc | 202 | py | Python | accounts/models.py | LeeJoeBarak/IMS-Backend | 836f6a34f37595bd923e3c25dce622152d6b3185 | [
"MIT"
] | null | null | null | accounts/models.py | LeeJoeBarak/IMS-Backend | 836f6a34f37595bd923e3c25dce622152d6b3185 | [
"MIT"
] | null | null | null | accounts/models.py | LeeJoeBarak/IMS-Backend | 836f6a34f37595bd923e3c25dce622152d6b3185 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
# this is where we build our database and class based objects
# and it'll represent the file structure that we're going to have on our database
| 28.857143 | 81 | 0.777228 | 36 | 202 | 4.361111 | 0.861111 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 202 | 6 | 82 | 33.666667 | 0.957317 | 0.811881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f9403a21f8a25bbcd6513d795008752060c5be02 | 4,323 | py | Python | Python/largeFizzBuzz_AsOutput.py | RDxR10/Hacktoberfest-2020-FizzBuzz | c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342 | [
"Unlicense"
] | 80 | 2020-10-01T00:32:34.000Z | 2021-01-08T21:56:09.000Z | Python/largeFizzBuzz_AsOutput.py | RDxR10/Hacktoberfest-2020-FizzBuzz | c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342 | [
"Unlicense"
] | 672 | 2020-09-30T22:53:47.000Z | 2020-11-01T12:39:59.000Z | Python/largeFizzBuzz_AsOutput.py | RDxR10/Hacktoberfest-2020-FizzBuzz | c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342 | [
"Unlicense"
] | 618 | 2020-09-30T22:21:12.000Z | 2020-10-31T21:28:06.000Z | '''A large FizzBuzz as an output using small FizzBuzz numbers.(FizzBuzz=FizBuz for better alignment
and make sure your output terminal covers the entire length of the screen to avoid automatic newlines)'''
# Author: @AmanMatrix
def iCheck(i):
if i%15==0:
i='FizBuz'
elif i%3==0:
i='Fizz'
eli... | 29.013423 | 105 | 0.405505 | 553 | 4,323 | 3.169982 | 0.207957 | 0.275528 | 0.376497 | 0.51911 | 0.74729 | 0.74729 | 0.087849 | 0.087849 | 0 | 0 | 0 | 0.050683 | 0.356465 | 4,323 | 149 | 106 | 29.013423 | 0.579439 | 0.051122 | 0 | 0.445205 | 0 | 0 | 0.146693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006849 | false | 0 | 0 | 0 | 0.013699 | 0.465753 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f9786b035f373047dca9e8a3601bae329fddf8a0 | 96 | py | Python | pvtools/__init__.py | sipv/pvtools | d550a37586df0d08abb737a6d4eae24ee1b4199b | [
"MIT"
] | null | null | null | pvtools/__init__.py | sipv/pvtools | d550a37586df0d08abb737a6d4eae24ee1b4199b | [
"MIT"
] | null | null | null | pvtools/__init__.py | sipv/pvtools | d550a37586df0d08abb737a6d4eae24ee1b4199b | [
"MIT"
] | null | null | null |
from interface import PVTOOLS_DIR, dsopen, to_dict, to_json
from datasource import DataSource
| 19.2 | 59 | 0.833333 | 14 | 96 | 5.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 4 | 60 | 24 | 0.927711 | 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 |
f978c3103cff27dd20ac86277e8f6b8118572dc0 | 66 | py | Python | app/db/migrations/test.py | zyxyuanxiao/fastapi-1 | ddc5273c82468e111bce1fd2c127da3642741a21 | [
"MIT"
] | 2 | 2020-03-24T14:14:18.000Z | 2021-12-08T02:29:59.000Z | app/db/migrations/test.py | chr1043086360/fastapi-2 | ddc5273c82468e111bce1fd2c127da3642741a21 | [
"MIT"
] | null | null | null | app/db/migrations/test.py | chr1043086360/fastapi-2 | ddc5273c82468e111bce1fd2c127da3642741a21 | [
"MIT"
] | 1 | 2020-03-11T03:22:00.000Z | 2020-03-11T03:22:00.000Z | import pathlib
print(pathlib.Path(__file__).resolve().parents[3]) | 22 | 50 | 0.787879 | 9 | 66 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.045455 | 66 | 3 | 50 | 22 | 0.746032 | 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 |
f982fec3b738b601996638ed00c0f1b4c8ee2fd3 | 191 | py | Python | myweight/errors.py | ted9527/myweight2 | 51812b7d1031b8bdbda5a92c50dadd079bd467e0 | [
"MIT"
] | null | null | null | myweight/errors.py | ted9527/myweight2 | 51812b7d1031b8bdbda5a92c50dadd079bd467e0 | [
"MIT"
] | null | null | null | myweight/errors.py | ted9527/myweight2 | 51812b7d1031b8bdbda5a92c50dadd079bd467e0 | [
"MIT"
] | null | null | null | from flask import render_template
from myweight import app
@app.errorhandler(404) # 传入要处理的错误代码
def page_not_found(e): # 接受异常对象作为参数
return render_template('404.html'), 404 # 返回模板和状态码\ | 27.285714 | 56 | 0.764398 | 26 | 191 | 5.461538 | 0.730769 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055215 | 0.146597 | 191 | 7 | 56 | 27.285714 | 0.815951 | 0.162304 | 0 | 0 | 0 | 0 | 0.050955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
f999e20596015cb31971e2c446ffb10687c41a9e | 313 | py | Python | __init__.py | Adam5Wu/VersionLint | f5dc6683a00fd1c62e834d12968f4dbe2cb57140 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | Adam5Wu/VersionLint | f5dc6683a00fd1c62e834d12968f4dbe2cb57140 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | Adam5Wu/VersionLint | f5dc6683a00fd1c62e834d12968f4dbe2cb57140 | [
"BSD-3-Clause"
] | null | null | null | #=============================================================================
## Automatic Repository Version Generation Utility
## Author: Zhenyu Wu
## Revision 1: Apr 28. 2016 - Initial Implementation
#=============================================================================
__all__ = [ 'VersionLint' ]
| 34.777778 | 78 | 0.364217 | 17 | 313 | 6.470588 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024561 | 0.089457 | 313 | 8 | 79 | 39.125 | 0.361404 | 0.86262 | 0 | 0 | 0 | 0 | 0.323529 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f9ad162ef47aa1f731a154e2e6088b2823fc06be | 213 | py | Python | codility/lessons/2-arrays/test_odd_occurrences.py | phacic/dsa-py | 77e07361d502aeec004c7e44b714a53fe7f9cae0 | [
"MIT"
] | null | null | null | codility/lessons/2-arrays/test_odd_occurrences.py | phacic/dsa-py | 77e07361d502aeec004c7e44b714a53fe7f9cae0 | [
"MIT"
] | null | null | null | codility/lessons/2-arrays/test_odd_occurrences.py | phacic/dsa-py | 77e07361d502aeec004c7e44b714a53fe7f9cae0 | [
"MIT"
] | null | null | null | import pytest
from .odd_occurrences import solution
@pytest.mark.parametrize("values, expected", [([9, 3, 9, 3, 7, 9], 7), ([9], 9)])
def test_solution(values, expected):
assert solution(values) == expected
| 26.625 | 81 | 0.690141 | 30 | 213 | 4.833333 | 0.533333 | 0.289655 | 0.303448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.140845 | 213 | 7 | 82 | 30.428571 | 0.743169 | 0 | 0 | 0 | 0 | 0 | 0.075117 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.