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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0fd4fbe977556fe5a7104b8aee4af535e0b02caa | 8,269 | py | Python | workers/data_refinery_workers/processors/test_no_op.py | erflynn/refinebio | 4ead4082a6b98f7fc8cffdc62c4394338a577f3d | [
"BSD-3-Clause"
] | null | null | null | workers/data_refinery_workers/processors/test_no_op.py | erflynn/refinebio | 4ead4082a6b98f7fc8cffdc62c4394338a577f3d | [
"BSD-3-Clause"
] | null | null | null | workers/data_refinery_workers/processors/test_no_op.py | erflynn/refinebio | 4ead4082a6b98f7fc8cffdc62c4394338a577f3d | [
"BSD-3-Clause"
] | null | null | null | import os
import shutil
from pathlib import Path
from django.test import TestCase, tag
from data_refinery_common.models import (
Organism,
OriginalFile,
OriginalFileSampleAssociation,
ProcessorJob,
ProcessorJobOriginalFileAssociation,
Sample,
SurveyJob,
)
from data_refinery_workers.process... | 33.889344 | 100 | 0.639134 | 957 | 8,269 | 5.281087 | 0.214211 | 0.047487 | 0.021369 | 0.035615 | 0.77681 | 0.747922 | 0.719826 | 0.684606 | 0.684606 | 0.676692 | 0 | 0.085075 | 0.259403 | 8,269 | 243 | 101 | 34.028807 | 0.740202 | 0.083323 | 0 | 0.685393 | 0 | 0.022472 | 0.16403 | 0.065798 | 0 | 0 | 0 | 0 | 0.067416 | 1 | 0.02809 | false | 0 | 0.033708 | 0 | 0.067416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0fd82b198e01463f6e7344c951bc85564cfb980e | 44 | py | Python | game/state.py | Pannoniae/dynwar3 | 1fe6cfd265a1c1b70b2794e5712f0c4bba5c4841 | [
"MIT"
] | 2 | 2018-06-25T04:57:01.000Z | 2022-01-05T15:04:54.000Z | game/state.py | Pannoniae/dynwar3 | 1fe6cfd265a1c1b70b2794e5712f0c4bba5c4841 | [
"MIT"
] | 1 | 2018-06-19T18:29:08.000Z | 2018-06-21T15:36:27.000Z | game/state.py | Pannoniae/dynwar3 | 1fe6cfd265a1c1b70b2794e5712f0c4bba5c4841 | [
"MIT"
] | null | null | null | F_GER = 0
F_SOV = 1
# logic is not complete | 11 | 23 | 0.681818 | 10 | 44 | 2.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.25 | 44 | 4 | 23 | 11 | 0.787879 | 0.477273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0fec3c23474b26044e3cb26361dfecb6975cf773 | 209 | py | Python | hotel/hotel/doctype/add_purchase_item/test_add_purchase_item.py | reddymeghraj/hotel | 2041fb61fe6a1547b701b65688b43396f7421491 | [
"MIT"
] | null | null | null | hotel/hotel/doctype/add_purchase_item/test_add_purchase_item.py | reddymeghraj/hotel | 2041fb61fe6a1547b701b65688b43396f7421491 | [
"MIT"
] | null | null | null | hotel/hotel/doctype/add_purchase_item/test_add_purchase_item.py | reddymeghraj/hotel | 2041fb61fe6a1547b701b65688b43396f7421491 | [
"MIT"
] | null | null | null | # Copyright (c) 2013, Wayzon and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Add Purchase Item')
class TestAddPurchaseItem(unittest.TestCase):
pass
| 19 | 59 | 0.799043 | 27 | 209 | 6.074074 | 0.814815 | 0.134146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021858 | 0.124402 | 209 | 10 | 60 | 20.9 | 0.874317 | 0.282297 | 0 | 0 | 0 | 0 | 0.115646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
ba0c164d49005796e760db81ee2aa3afaded5b98 | 222 | py | Python | keyprotect/__init__.py | thu2thu2/keyprotect-python-client | cb44d474adbc95e539a7b406125d8ad32af592a5 | [
"Apache-2.0"
] | null | null | null | keyprotect/__init__.py | thu2thu2/keyprotect-python-client | cb44d474adbc95e539a7b406125d8ad32af592a5 | [
"Apache-2.0"
] | 5 | 2020-09-03T20:21:41.000Z | 2021-10-21T21:02:45.000Z | keyprotect/__init__.py | thu2thu2/keyprotect-python-client | cb44d474adbc95e539a7b406125d8ad32af592a5 | [
"Apache-2.0"
] | 2 | 2020-10-21T15:59:36.000Z | 2021-11-19T07:07:44.000Z | from __future__ import absolute_import
import redstone
from redstone import auth as bxauth # noqa: F401
def Client(*args, **kwargs): # noqa: N802
cl = redstone.service("KeyProtect", *args, **kwargs)
return cl
| 22.2 | 56 | 0.716216 | 29 | 222 | 5.310345 | 0.655172 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033149 | 0.184685 | 222 | 9 | 57 | 24.666667 | 0.81768 | 0.094595 | 0 | 0 | 0 | 0 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ba0e582d660e8069f2c2958555ab6fc1c7c98b07 | 2,079 | py | Python | server/test.py | tthurman/pinefs | df38e4db47688a38e66dc5e7b609e9b3941593cb | [
"MIT"
] | 2 | 2015-11-13T05:17:54.000Z | 2017-07-06T22:58:56.000Z | server/test.py | tthurman/pinefs | df38e4db47688a38e66dc5e7b609e9b3941593cb | [
"MIT"
] | null | null | null | server/test.py | tthurman/pinefs | df38e4db47688a38e66dc5e7b609e9b3941593cb | [
"MIT"
] | null | null | null | ### Auto-generated at Wed, 04 Jun 2003 16:15:47 +0000 from idl/test.x
import rpchelp
a = 3
b = 5
from_ = 4
n = 5
o = 6
p = 7
q = 5
r = 6
s = 7
t = 5
u = 6
v = 7
aa = 1
ab = 2
goof1 = 1
goof2 = 2
an_enum = rpchelp.r_int
foo = rpchelp.struct ('foo', [('a',rpchelp.r_int),('b',rpchelp.r_double)])
bar = rpchelp.struct ('bar... | 47.25 | 214 | 0.68735 | 358 | 2,079 | 3.72905 | 0.256983 | 0.209738 | 0.197753 | 0.053933 | 0.371536 | 0.268165 | 0.268165 | 0.147566 | 0.127341 | 0.127341 | 0 | 0.038793 | 0.107263 | 2,079 | 43 | 215 | 48.348837 | 0.680496 | 0.044733 | 0 | 0 | 1 | 0 | 0.094949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.15 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba21030b27c36a2fd30885491bffb3a5a10f597e | 231 | py | Python | data_collection/gazette/spiders/ba_tabocas_do_brejo_velho.py | kaiocp/querido-diario | 86004049c6eee305e13066cf3607d30849bb099a | [
"MIT"
] | 454 | 2018-04-07T03:32:57.000Z | 2020-08-17T19:56:22.000Z | data_collection/gazette/spiders/ba_tabocas_do_brejo_velho.py | kaiocp/querido-diario | 86004049c6eee305e13066cf3607d30849bb099a | [
"MIT"
] | 254 | 2020-08-18T14:09:43.000Z | 2022-03-28T11:30:51.000Z | data_collection/gazette/spiders/ba_tabocas_do_brejo_velho.py | kaiocp/querido-diario | 86004049c6eee305e13066cf3607d30849bb099a | [
"MIT"
] | 183 | 2018-04-11T15:09:37.000Z | 2020-08-15T18:55:11.000Z | from gazette.spiders.base.doem import DoemGazetteSpider
class BaTabocasDoBrejoVelhoSpider(DoemGazetteSpider):
TERRITORY_ID = "2930907"
name = "ba_tabocas_do_brejo_velho"
state_city_url_part = "ba/tabocasdobrejovelho"
| 28.875 | 55 | 0.805195 | 25 | 231 | 7.12 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034653 | 0.125541 | 231 | 7 | 56 | 33 | 0.846535 | 0 | 0 | 0 | 0 | 0 | 0.233766 | 0.203463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ba283ec62bbeba313b049d884ae3e0dd005a9bb4 | 668 | py | Python | Script Examples/showAlertDialog.py | chuongmep/CadPythonShell | c47d576596b1c2ffa054c8a17dafb2f4156f9a00 | [
"MIT"
] | 9 | 2022-03-15T17:19:34.000Z | 2022-03-19T17:13:33.000Z | Script Examples/showAlertDialog.py | chuongmep/CadPythonShell | c47d576596b1c2ffa054c8a17dafb2f4156f9a00 | [
"MIT"
] | 2 | 2022-03-29T02:34:20.000Z | 2022-03-31T03:34:44.000Z | Script Examples/showAlertDialog.py | chuongmep/CadPythonShell | c47d576596b1c2ffa054c8a17dafb2f4156f9a00 | [
"MIT"
] | 2 | 2022-03-16T14:10:09.000Z | 2022-03-19T17:13:10.000Z | #Copyright(c) 2021, Hồ Văn Chương
# @chuongmep, https://chuongmep.com/
import clr
import sys
sys.path.append('C:\Program Files (x86)\IronPython 2.7\Lib')
import os
import math
clr.AddReference('acmgd')
clr.AddReference('acdbmgd')
clr.AddReference('accoremgd')
# Import references from AutoCAD
from Autodesk.AutoCAD.Runti... | 31.809524 | 60 | 0.800898 | 85 | 668 | 6.294118 | 0.6 | 0.11215 | 0.17757 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013223 | 0.094311 | 668 | 21 | 61 | 31.809524 | 0.871074 | 0.172156 | 0 | 0 | 0 | 0 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.529412 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ba2eb5a4c089deca1092f2c0a276b4becb69d25c | 284 | py | Python | shared/auth/demo/mobile_user_store.py | kellyxiepei/django_bootstrap | 968ae05bd1b10bf6d78234fc7d8dfa5017adc547 | [
"Apache-2.0"
] | null | null | null | shared/auth/demo/mobile_user_store.py | kellyxiepei/django_bootstrap | 968ae05bd1b10bf6d78234fc7d8dfa5017adc547 | [
"Apache-2.0"
] | null | null | null | shared/auth/demo/mobile_user_store.py | kellyxiepei/django_bootstrap | 968ae05bd1b10bf6d78234fc7d8dfa5017adc547 | [
"Apache-2.0"
] | null | null | null | from shared.auth.mobile.support_mobile import MobileUserStoreBase
class DemoMobileUser():
def __init__(self, mobile):
self._mobile = mobile
class MobileUserStoreDemo(MobileUserStoreBase):
def get_user_by_mobile(self, mobile):
return DemoMobileUser(mobile)
| 23.666667 | 65 | 0.760563 | 30 | 284 | 6.9 | 0.566667 | 0.144928 | 0.154589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165493 | 284 | 11 | 66 | 25.818182 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e83d69bed2dd16709776856b76f9e549bf71a22c | 284 | py | Python | on_message/camera_device_get.py | JIIOryo/ams-client | 22dc9653cafd6fa5b8ebfcb4fbe761c8999c0389 | [
"MIT"
] | 1 | 2020-04-05T14:36:41.000Z | 2020-04-05T14:36:41.000Z | on_message/camera_device_get.py | JIIOryo/ams-client | 22dc9653cafd6fa5b8ebfcb4fbe761c8999c0389 | [
"MIT"
] | 63 | 2020-05-22T11:43:43.000Z | 2021-04-25T04:44:58.000Z | on_message/camera_device_get.py | JIIOryo/ams-client | 22dc9653cafd6fa5b8ebfcb4fbe761c8999c0389 | [
"MIT"
] | null | null | null | import sys
import pathlib
current_dir = pathlib.Path(__file__).resolve().parent
sys.path.append( str(current_dir) + '/../' )
from lib.config import get_camera_device_config
def get_camera_devices() -> list:
camera_devices = get_camera_device_config()
return camera_devices
| 23.666667 | 53 | 0.767606 | 39 | 284 | 5.179487 | 0.538462 | 0.133663 | 0.148515 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 284 | 11 | 54 | 25.818182 | 0.814516 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e83eaa15155598a25ba6e37bc096d027fd47efaa | 247 | py | Python | railguns/rest_framework/renderers.py | larryhq/railguns-1 | d76367a2d12f2330f8a370fba5e3c07013a763f6 | [
"MIT"
] | 18 | 2021-05-20T13:20:16.000Z | 2022-02-11T02:40:18.000Z | railguns/rest_framework/renderers.py | larryhq/railguns-1 | d76367a2d12f2330f8a370fba5e3c07013a763f6 | [
"MIT"
] | 109 | 2021-05-21T20:14:23.000Z | 2022-03-31T20:56:10.000Z | railguns/rest_framework/renderers.py | larryhq/railguns-1 | d76367a2d12f2330f8a370fba5e3c07013a763f6 | [
"MIT"
] | 4 | 2021-05-17T13:47:53.000Z | 2022-02-12T10:48:21.000Z | from rest_framework import renderers
class PlainTextRenderer(renderers.BaseRenderer):
media_type = 'text/plain'
format = 'txt'
def render(self, data, media_type=None, renderer_context=None):
return data.encode(self.charset)
| 24.7 | 67 | 0.736842 | 30 | 247 | 5.933333 | 0.8 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17004 | 247 | 9 | 68 | 27.444444 | 0.868293 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e845e86ad8e31982a48414d98b15891d2a83a54f | 771 | py | Python | pypy/module/oracle/app_oracle.py | kantai/passe-pypy-taint-tracking | b60a3663f8fe89892dc182c8497aab97e2e75d69 | [
"MIT"
] | 2 | 2016-07-06T23:30:20.000Z | 2017-05-30T15:59:31.000Z | pypy/module/oracle/app_oracle.py | benoitc/pypy | a3e1b12d1d01dc29056b7badc051ffc034297658 | [
"MIT"
] | null | null | null | pypy/module/oracle/app_oracle.py | benoitc/pypy | a3e1b12d1d01dc29056b7badc051ffc034297658 | [
"MIT"
] | 2 | 2020-07-09T08:14:22.000Z | 2021-01-15T18:01:25.000Z | version = '5.0.0'
paramstyle = 'named'
class Warning(StandardError):
pass
class Error(StandardError):
pass
class InterfaceError(Error):
pass
class DatabaseError(Error):
pass
class DataError(DatabaseError):
pass
class OperationalError(DatabaseError):
pass
class IntegrityError(DatabaseError... | 17.930233 | 59 | 0.695201 | 79 | 771 | 6.759494 | 0.468354 | 0.151685 | 0.205993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004777 | 0.185473 | 771 | 42 | 60 | 18.357143 | 0.845541 | 0 | 0 | 0.344828 | 0 | 0 | 0.13489 | 0.12192 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0.344828 | 0.034483 | 0.034483 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e8655234391087696fb885d925d33f39a1d5e922 | 293 | py | Python | src/tango_sdp_master/SDPMaster/__init__.py | rtobar/sdp-prototype | 9f1527b884bf80daa509a7fe3722160c77260f4f | [
"BSD-3-Clause"
] | 2 | 2019-07-15T09:49:34.000Z | 2019-10-14T16:04:17.000Z | src/tango_sdp_master/SDPMaster/__init__.py | rtobar/sdp-prototype | 9f1527b884bf80daa509a7fe3722160c77260f4f | [
"BSD-3-Clause"
] | 17 | 2019-07-15T14:51:50.000Z | 2021-06-02T00:29:43.000Z | src/tango_sdp_master/SDPMaster/__init__.py | ska-telescope/sdp-configuration-prototype | 8c6cbda04a83b0e16987019406ed6ec7e1058a31 | [
"BSD-3-Clause"
] | 1 | 2019-10-10T08:16:48.000Z | 2019-10-10T08:16:48.000Z | # -*- coding: utf-8 -*-
"""SDP Master device package."""
# pylint: disable=invalid-name
from . import release
from .SDPMaster import SDPMaster, HealthState, main
__all__ = ["SDPMaster", "HealthState", "main", "release"]
__version__ = release.VERSION
__version_info__ = release.VERSION_INFO
| 24.416667 | 57 | 0.730375 | 33 | 293 | 6.060606 | 0.606061 | 0.21 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003906 | 0.12628 | 293 | 11 | 58 | 26.636364 | 0.777344 | 0.266212 | 0 | 0 | 0 | 0 | 0.149038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e88637436e2b1692d277d3adb5040b41a6e234db | 616 | py | Python | shopyo/modules/login/forms.py | ouyangjunfei/shopyo | 96e2dc970fd5017c4f0d1a76691066a3500b134a | [
"MIT"
] | null | null | null | shopyo/modules/login/forms.py | ouyangjunfei/shopyo | 96e2dc970fd5017c4f0d1a76691066a3500b134a | [
"MIT"
] | null | null | null | shopyo/modules/login/forms.py | ouyangjunfei/shopyo | 96e2dc970fd5017c4f0d1a76691066a3500b134a | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired
class LoginForm(FlaskForm):
username = StringField(
'name', [DataRequired()], render_kw={
"class": "form-control", "autocomplete": "off"
})
pa... | 38.5 | 64 | 0.577922 | 51 | 616 | 6.901961 | 0.509804 | 0.153409 | 0.170455 | 0.213068 | 0.289773 | 0.289773 | 0.289773 | 0.289773 | 0 | 0 | 0 | 0 | 0.295455 | 616 | 15 | 65 | 41.066667 | 0.81106 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.230769 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e8afdcec8481a40b4891864cb9a568f44b777644 | 3,444 | py | Python | server/apps/summary/managers/transaction.py | Sergey-x/SibdevPractice | 12e3f7e704af93911a0c4a66aad60733d2121e15 | [
"MIT"
] | null | null | null | server/apps/summary/managers/transaction.py | Sergey-x/SibdevPractice | 12e3f7e704af93911a0c4a66aad60733d2121e15 | [
"MIT"
] | null | null | null | server/apps/summary/managers/transaction.py | Sergey-x/SibdevPractice | 12e3f7e704af93911a0c4a66aad60733d2121e15 | [
"MIT"
] | null | null | null | from datetime import datetime
from decimal import Decimal
from typing import Union
from django.conf import settings
from django.db import models
from ..models.category import Category
class TransactionQuerySet(models.QuerySet):
def personal(self, owner):
"""
Get all user's transactions.
... | 29.435897 | 80 | 0.639663 | 389 | 3,444 | 5.442159 | 0.161954 | 0.059518 | 0.057156 | 0.068021 | 0.549835 | 0.549835 | 0.490316 | 0.42324 | 0.42324 | 0.387341 | 0 | 0.000796 | 0.270035 | 3,444 | 116 | 81 | 29.689655 | 0.841289 | 0.115563 | 0 | 0.347222 | 0 | 0 | 0.01046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.083333 | 0.111111 | 0.527778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e8b327d8889b51924ce465be18ad80c9c23b082e | 81 | py | Python | maximum.py | IsratIJK/Toph-Problem-Solve | 95ca634eb778b15c9fa13662ec1604de9fc3225b | [
"Apache-2.0"
] | null | null | null | maximum.py | IsratIJK/Toph-Problem-Solve | 95ca634eb778b15c9fa13662ec1604de9fc3225b | [
"Apache-2.0"
] | null | null | null | maximum.py | IsratIJK/Toph-Problem-Solve | 95ca634eb778b15c9fa13662ec1604de9fc3225b | [
"Apache-2.0"
] | null | null | null | t=int(input())
l_input=list(map(int,input().split())) [:t]
print(max(l_input))
| 13.5 | 43 | 0.641975 | 15 | 81 | 3.333333 | 0.6 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 81 | 5 | 44 | 16.2 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e8cff5ffc5ec203f89e283f77f281839e3b01e35 | 1,234 | py | Python | test/test.py | zheng-zy/ot_root | 920236b48458aeed72968bc7ec8e01a084b15951 | [
"Artistic-2.0"
] | null | null | null | test/test.py | zheng-zy/ot_root | 920236b48458aeed72968bc7ec8e01a084b15951 | [
"Artistic-2.0"
] | null | null | null | test/test.py | zheng-zy/ot_root | 920236b48458aeed72968bc7ec8e01a084b15951 | [
"Artistic-2.0"
] | null | null | null | #!usr/bin/env python
# coding=utf-8
# Author: zhezhiyong@163.com
# Created: 2016-03-09 09:11:10
# Python version:2.7.10
"""
# TODO(purpose):
"""
import uuid
import time
# 操作 etf代码 成份股代码
print uuid.uuid1(01510300000001)
print uuid.uuid1(01510300000001)
print uuid.uuid1(01510300000001)
# 10 1000 5 1000 6 1000
# 9.5... | 22.035714 | 99 | 0.567261 | 194 | 1,234 | 3.474227 | 0.304124 | 0.106825 | 0.059347 | 0.089021 | 0.348665 | 0.348665 | 0.301187 | 0.301187 | 0.176558 | 0.126113 | 0 | 0.203851 | 0.284441 | 1,234 | 55 | 100 | 22.436364 | 0.559456 | 0.319287 | 0 | 0.2 | 0 | 0 | 0.043587 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 0 | null | null | 0.033333 | 0.066667 | null | null | 0.266667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e8d6368b9f2c5cb7708a1df843799b6f076a4f96 | 1,206 | py | Python | setup.py | AndreLouisCaron/pymongo-migrate | 3215daecd2cee83f19076ce04dc66365b5d46074 | [
"Apache-2.0"
] | null | null | null | setup.py | AndreLouisCaron/pymongo-migrate | 3215daecd2cee83f19076ce04dc66365b5d46074 | [
"Apache-2.0"
] | null | null | null | setup.py | AndreLouisCaron/pymongo-migrate | 3215daecd2cee83f19076ce04dc66365b5d46074 | [
"Apache-2.0"
] | null | null | null | from setuptools import find_packages, setup
setup(
name="pymongo-migrate",
version="0.11.0",
description="MongoDB data migration tool in Python",
url="https://github.com/stxnext/pymongo-migrate",
license="Apache",
packages=find_packages(where="src"),
package_dir={"": "src"},
platforms="... | 34.457143 | 82 | 0.611111 | 128 | 1,206 | 5.664063 | 0.539063 | 0.157241 | 0.206897 | 0.17931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024599 | 0.22471 | 1,206 | 34 | 83 | 35.470588 | 0.750802 | 0 | 0 | 0.060606 | 0 | 0 | 0.533168 | 0.032338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.030303 | 0 | 0.030303 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2cda660cf225727184a410757b3a8ee545cb2948 | 1,035 | py | Python | Source/Visualization.py | MarcoStucchi/modbus-client | 0ff61e18f61d5ea7ff42e74dc3e013f890c04dea | [
"MIT"
] | 1 | 2020-07-30T09:10:12.000Z | 2020-07-30T09:10:12.000Z | Source/Visualization.py | MarcoStucchi/modbus-client | 0ff61e18f61d5ea7ff42e74dc3e013f890c04dea | [
"MIT"
] | 2 | 2019-01-13T20:15:42.000Z | 2019-01-17T15:55:37.000Z | Source/Visualization.py | MarcoStucchi/modbus-client | 0ff61e18f61d5ea7ff42e74dc3e013f890c04dea | [
"MIT"
] | null | null | null | __author__ = "Marco Stucchi"
__email__ = "marco.stucchi@gmail.com"
def OnOff(registers):
if (registers[0] == 0):
return "Off"
else:
return "On"
def IpAddressAndMac(registers):
return("<" + str(registers[0]>>8) + "." + str(registers[0]&255) + "." + str(registers[1]>>8) + "." + str... | 41.4 | 137 | 0.51401 | 116 | 1,035 | 4.517241 | 0.232759 | 0.29771 | 0.148855 | 0.15458 | 0.28626 | 0.28626 | 0.28626 | 0.28626 | 0.28626 | 0.28626 | 0 | 0.083231 | 0.210628 | 1,035 | 24 | 138 | 43.125 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0.099901 | 0.02275 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0 | 0.210526 | 0.368421 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
2cdf2fe1ddea8cb2670ba0db84e049ece100bb21 | 1,199 | py | Python | eats/element/input.py | Etiqa/eats | 8c8e2da93d0014f6fbb208185712c5526dba1174 | [
"BSD-2-Clause"
] | null | null | null | eats/element/input.py | Etiqa/eats | 8c8e2da93d0014f6fbb208185712c5526dba1174 | [
"BSD-2-Clause"
] | 5 | 2021-03-18T21:34:44.000Z | 2022-03-11T23:35:23.000Z | eats/element/input.py | Etiqa/eats | 8c8e2da93d0014f6fbb208185712c5526dba1174 | [
"BSD-2-Clause"
] | null | null | null | from eats.element import Element
class Input(Element):
_element_type = "input_type"
def __init__(self, *args, **kwargs):
super(Input, self).__init__(*args, **kwargs)
self._set_validation_error_element()
def __eq__(self, other_input_text):
return self.get_value() == other_inp... | 25.510638 | 106 | 0.663053 | 144 | 1,199 | 5.194444 | 0.305556 | 0.096257 | 0.117647 | 0.068182 | 0.104278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2402 | 1,199 | 46 | 107 | 26.065217 | 0.821076 | 0.031693 | 0 | 0.066667 | 0 | 0 | 0.07069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.033333 | 0.2 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2ce0cbb23774a5527b63e18d21c750a3c93df77e | 1,213 | py | Python | megalist_dataflow/mappers/ads_ssd_hashing_mapper.py | Hatuna/megalista | b88529203e07659faf49a9dc1ee16f228b037815 | [
"Apache-2.0"
] | 31 | 2021-04-15T23:43:31.000Z | 2022-03-29T16:39:04.000Z | megalista_dataflow/mappers/ads_ssd_hashing_mapper.py | QPC-database/megalista | 0d74da9129886969ee1ddeb2c59ead15a98eb99a | [
"Apache-2.0"
] | 42 | 2021-04-29T14:16:21.000Z | 2022-03-01T08:03:15.000Z | megalista_dataflow/mappers/ads_ssd_hashing_mapper.py | QPC-database/megalista | 0d74da9129886969ee1ddeb2c59ead15a98eb99a | [
"Apache-2.0"
] | 2 | 2021-07-16T13:58:09.000Z | 2021-07-18T10:02:29.000Z | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 33.694444 | 75 | 0.738664 | 165 | 1,213 | 5.351515 | 0.569697 | 0.06795 | 0.029445 | 0.03624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011846 | 0.16488 | 1,213 | 35 | 76 | 34.657143 | 0.859822 | 0.451772 | 0 | 0 | 0 | 0 | 0.063077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.1875 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2cfc5a9b2d3213eff835e30e6eaca6e18f71087e | 865 | py | Python | lang/py/pylib/code/sys/sys_float_info.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | 13 | 2020-01-04T07:37:38.000Z | 2021-08-31T05:19:58.000Z | lang/py/pylib/code/sys/sys_float_info.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | 3 | 2020-06-05T22:42:53.000Z | 2020-08-24T07:18:54.000Z | lang/py/pylib/code/sys/sys_float_info.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | 9 | 2020-10-19T04:53:06.000Z | 2021-08-31T05:20:01.000Z | #!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2009 Doug Hellmann All rights reserved.
#
"""
"""
#end_pymotw_header
import sys
print 'Smallest difference (epsilon):', sys.float_info.epsilon
print
print 'Digits (dig) :', sys.float_info.dig
print 'Mantissa digits (mant_dig):', sys.float_info.man... | 27.903226 | 69 | 0.734104 | 137 | 865 | 4.437956 | 0.328467 | 0.144737 | 0.217105 | 0.098684 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.13526 | 865 | 30 | 70 | 28.833333 | 0.790107 | 0.123699 | 0 | 0.3 | 0 | 0 | 0.432215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.05 | null | null | 0.85 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
fa1727d2764cf8e8b5b0ac503eef41136427738f | 241 | py | Python | proj2/home/models.py | k-manish2001/1901CB23_2021 | f3d6c5ab15e553f96b906f5df0f2a4ccd72ff24b | [
"MIT"
] | 2 | 2021-08-01T17:20:31.000Z | 2021-08-01T17:28:26.000Z | proj2/home/models.py | k-manish2001/1901CB23_2021 | f3d6c5ab15e553f96b906f5df0f2a4ccd72ff24b | [
"MIT"
] | null | null | null | proj2/home/models.py | k-manish2001/1901CB23_2021 | f3d6c5ab15e553f96b906f5df0f2a4ccd72ff24b | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Index(models.Model):
corr=models.CharField(max_length=7)
neg=models.CharField(max_length=7)
form1=models.FileField(default='')
form2=models.FileField(default='')
| 26.777778 | 39 | 0.738589 | 33 | 241 | 5.333333 | 0.636364 | 0.170455 | 0.204545 | 0.272727 | 0.284091 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019139 | 0.13278 | 241 | 8 | 40 | 30.125 | 0.822967 | 0.099585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
fa3187f2723676df2250a2190cf112b715d7731a | 239 | py | Python | climatetalk/node_types/media_air_cleaner.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | 3 | 2021-04-30T20:12:16.000Z | 2022-03-09T11:53:12.000Z | climatetalk/node_types/media_air_cleaner.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | null | null | null | climatetalk/node_types/media_air_cleaner.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | 2 | 2021-04-08T18:29:39.000Z | 2021-04-30T20:13:55.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Kevin Schlosser
from . import NodeType, Node
NODE_TYPE_MEDIA_AIR_CLEANER = NodeType(0x14).set_desc('Media Air Cleaner')
class MediaAirCleaner(Node):
node_type = NODE_TYPE_MEDIA_AIR_CLEANER
| 19.916667 | 74 | 0.757322 | 33 | 239 | 5.181818 | 0.606061 | 0.140351 | 0.263158 | 0.187135 | 0.269006 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039024 | 0.142259 | 239 | 11 | 75 | 21.727273 | 0.795122 | 0.217573 | 0 | 0 | 0 | 0 | 0.092896 | 0 | 0 | 0 | 0.021858 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fa509307b89e2a448d2709e8501763e7509efc20 | 280 | py | Python | tests/configurations/conf_fuzz.py | The-Cracker-Technology/CANToolz | 1773cf8b7ef906da245461f0768007e43e4bc02d | [
"Apache-2.0"
] | 194 | 2017-08-17T06:51:30.000Z | 2022-03-23T09:01:29.000Z | tests/configurations/conf_fuzz.py | The-Cracker-Technology/CANToolz | 1773cf8b7ef906da245461f0768007e43e4bc02d | [
"Apache-2.0"
] | 32 | 2017-08-17T06:23:19.000Z | 2022-03-03T14:44:39.000Z | tests/configurations/conf_fuzz.py | The-Cracker-Technology/CANToolz | 1773cf8b7ef906da245461f0768007e43e4bc02d | [
"Apache-2.0"
] | 42 | 2017-08-19T10:22:41.000Z | 2022-02-23T04:34:16.000Z | # Test scenario/configuration
modules = {
'fuzz': {},
'pipe_switch': {},
'analyze': {}}
# The test scenario logic
actions = [
{'fuzz': {}},
{'pipe_switch': {'action': 'read'}},
{'pipe_switch': {'action': 'write', 'pipe': 3}},
{'analyze': {'pipe': 3}}]
| 23.333333 | 52 | 0.517857 | 27 | 280 | 5.259259 | 0.555556 | 0.211268 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009132 | 0.217857 | 280 | 11 | 53 | 25.454545 | 0.639269 | 0.182143 | 0 | 0 | 0 | 0 | 0.371681 | 0 | 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 | 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 | 3 |
fa5907bfa9d555b56760fb1c1e891142f86809e4 | 1,278 | py | Python | doughnuts/webshell_template/popsicle.py | MorouU/Doughnuts | ca4777551b27e6dbe9015827ecf091b1dafcd064 | [
"MIT"
] | 5 | 2020-10-09T05:01:34.000Z | 2020-11-15T08:38:06.000Z | doughnuts/webshell_template/popsicle.py | MorouU/Doughnuts | ca4777551b27e6dbe9015827ecf091b1dafcd064 | [
"MIT"
] | 1 | 2020-11-10T03:44:57.000Z | 2020-11-10T03:44:57.000Z | doughnuts/webshell_template/popsicle.py | MorouU/Doughnuts | ca4777551b27e6dbe9015827ecf091b1dafcd064 | [
"MIT"
] | null | null | null | def get_php(keyword: int = 4, passwd: str = "", salt: str = ""):
return """<?php
class replace {
private $hash = "\\xab\\xa8\\xa9\\x00\\xc2\\x78\\x77\\xd7\\x90\\x9a\\x00\\xff\\xe0\\x90\\x1a\\x67\\x7f\\x7f\\x6f\\x4f\\xd7\\x1a\\x95\\xbc\\xc4\\xdc\\x54\\x5b\\x95\\xf8\\x60\\xd7\\xa0\\x30\\xd7\\xa0\\x68\\x00\\x8b\\... | 47.333333 | 228 | 0.527387 | 171 | 1,278 | 3.894737 | 0.450292 | 0.072072 | 0.04955 | 0.069069 | 0.147147 | 0.084084 | 0.084084 | 0 | 0 | 0 | 0 | 0.078544 | 0.183099 | 1,278 | 26 | 229 | 49.153846 | 0.559387 | 0 | 0 | 0 | 0 | 0.2 | 0.902191 | 0.488263 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.08 | 0 | 0.04 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3afab926e93c7a39f07dbe5bd3ec4b95183f9e31 | 644 | py | Python | pyez/msg.py | tengelisconsulting/pyez | 83686aba4f3d1650d0696ca81f2aedfbecfd25ad | [
"MIT"
] | null | null | null | pyez/msg.py | tengelisconsulting/pyez | 83686aba4f3d1650d0696ca81f2aedfbecfd25ad | [
"MIT"
] | null | null | null | pyez/msg.py | tengelisconsulting/pyez | 83686aba4f3d1650d0696ca81f2aedfbecfd25ad | [
"MIT"
] | null | null | null | from .apptypes import Frames
WORKER = b"\x01"
CLIENT = b"\x02"
HEARTBEAT = b"\x01"
REPLY = b"\x02"
ACK = b"\x03"
def heartbeat(service_name: bytes) -> Frames:
return _worker_msg([HEARTBEAT, service_name])
def ack(req_id: bytes) -> Frames:
return _worker_msg([ACK, req_id])
def response(
req_id: ... | 17.405405 | 53 | 0.631988 | 87 | 644 | 4.471264 | 0.275862 | 0.077121 | 0.138817 | 0.161954 | 0.133676 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020243 | 0.232919 | 644 | 36 | 54 | 17.888889 | 0.767206 | 0 | 0 | 0.173913 | 0 | 0 | 0.031056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.043478 | 0.217391 | 0.478261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
d7158b30b87e0429b43fddb2f3b3e90dda9513fd | 54 | py | Python | cap-4/1-tkinter-mainloop().py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | cap-4/1-tkinter-mainloop().py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | cap-4/1-tkinter-mainloop().py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | import tkinter
janela = tkinter.Tk()
janela.mainloop() | 18 | 21 | 0.777778 | 7 | 54 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 3 | 22 | 18 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d71ee1f668a40af4c5fb63edb3280a936dd5358a | 1,111 | py | Python | m26-py/tests/test_constants.py | cjoakim/oss | 58372731435684d7723a0f199d5937cecea7bbc5 | [
"MIT"
] | null | null | null | m26-py/tests/test_constants.py | cjoakim/oss | 58372731435684d7723a0f199d5937cecea7bbc5 | [
"MIT"
] | null | null | null | m26-py/tests/test_constants.py | cjoakim/oss | 58372731435684d7723a0f199d5937cecea7bbc5 | [
"MIT"
] | null | null | null |
import pytest
import m26
def test_uom_miles():
assert(m26.Constants.uom_miles() == 'm')
def test_uom_kilometers():
assert(m26.Constants.uom_kilometers() == 'k')
def test_uom_yards():
assert(m26.Constants.uom_yards()== 'y')
def test_units_of_measure():
expected = ('m', 'k', 'y')
assert(m26.Con... | 25.25 | 69 | 0.730873 | 156 | 1,111 | 4.858974 | 0.262821 | 0.110818 | 0.261214 | 0.083113 | 0.248021 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114433 | 0.126913 | 1,111 | 43 | 70 | 25.837209 | 0.66701 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | false | 0 | 0.071429 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d762fd42702f2cbc0c897621cb85b1b0ced214bb | 4,128 | py | Python | pybricks/robotics.py | dlech/pybricks-api | 65deb297dd0656a7b902ef7d51caa90a639e088e | [
"MIT"
] | 1 | 2021-12-26T21:30:50.000Z | 2021-12-26T21:30:50.000Z | pybricks/robotics.py | dlech/pybricks-api | 65deb297dd0656a7b902ef7d51caa90a639e088e | [
"MIT"
] | null | null | null | pybricks/robotics.py | dlech/pybricks-api | 65deb297dd0656a7b902ef7d51caa90a639e088e | [
"MIT"
] | null | null | null | # SPDX-License-Identifier: MIT
# Copyright (c) 2018-2020 The Pybricks Authors
"""Robotics module for the Pybricks API."""
from .builtins import Control
class DriveBase:
"""A robotic vehicle with two powered wheels and an optional support
wheel or caster."""
distance_control = Control()
"""The trave... | 33.836066 | 83 | 0.600048 | 502 | 4,128 | 4.874502 | 0.282869 | 0.02452 | 0.032693 | 0.013077 | 0.286882 | 0.253371 | 0.253371 | 0.202697 | 0.169187 | 0.141398 | 0 | 0.003167 | 0.311531 | 4,128 | 121 | 84 | 34.115702 | 0.857847 | 0.61095 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.375 | 0.041667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d7644c89831602d89050d6ff01055af18830ceaf | 7,878 | py | Python | api/src/util/DateTimeUtil.py | SamuelJansen/idealizar-whats-app-web-api | 11d94fc5c3b570366fdb40c7a1ebab718ae400bc | [
"MIT"
] | null | null | null | api/src/util/DateTimeUtil.py | SamuelJansen/idealizar-whats-app-web-api | 11d94fc5c3b570366fdb40c7a1ebab718ae400bc | [
"MIT"
] | null | null | null | api/src/util/DateTimeUtil.py | SamuelJansen/idealizar-whats-app-web-api | 11d94fc5c3b570366fdb40c7a1ebab718ae400bc | [
"MIT"
] | null | null | null | import datetime
from python_helper import Constant as c
from python_helper import ObjectHelper, StringHelper, RandomHelper, log
DEFAULT_DATETIME_PATTERN = '%Y-%m-%d %H:%M:%S'
DEFAULT_DATE_PATTERN = '%Y-%m-%d'
DEFAULT_TIME_PATTERN = '%H:%M:%S'
DATETIME_FULL_PATTERN = '%Y-%m-%d %H:%M:%S.%f'
TIME_FULL_PATTERN = '%H:%M:%... | 42.583784 | 152 | 0.761361 | 831 | 7,878 | 7.109507 | 0.152828 | 0.027928 | 0.037238 | 0.03436 | 0.459885 | 0.398443 | 0.357481 | 0.336831 | 0.318551 | 0.318551 | 0 | 0.004408 | 0.136075 | 7,878 | 184 | 153 | 42.815217 | 0.86365 | 0.0033 | 0 | 0.25 | 0 | 0 | 0.039623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.229167 | false | 0 | 0.020833 | 0.125 | 0.513889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d775e13b64cd431c687495155b701c99db14d07c | 254 | py | Python | make.py | samjavner/samjavner.com | cd4e2e86b16f3ac9b1f5973bca27a589e17a2bae | [
"MIT"
] | null | null | null | make.py | samjavner/samjavner.com | cd4e2e86b16f3ac9b1f5973bca27a589e17a2bae | [
"MIT"
] | null | null | null | make.py | samjavner/samjavner.com | cd4e2e86b16f3ac9b1f5973bca27a589e17a2bae | [
"MIT"
] | null | null | null | from os import listdir
from os.path import isfile, join
from subprocess import call
for file in [f for f in listdir('src/Pages/') if f.endswith('.elm')]:
call(['elm', 'make', 'src/Pages/' + file, '--output=src/static/scripts/' + file[:-4] + '.js']) | 36.285714 | 98 | 0.653543 | 41 | 254 | 4.04878 | 0.585366 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.149606 | 254 | 7 | 98 | 36.285714 | 0.763889 | 0 | 0 | 0 | 0 | 0 | 0.243137 | 0.109804 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d7887aa22fbebced3b9a8591f04fa0b35d5bf32c | 147 | py | Python | code/setup.py | onnoeberhard/scipro-primer-notebooks | e9cf1069d62f8c50549d9912403c640f08a99392 | [
"MIT"
] | 16 | 2019-04-18T13:35:42.000Z | 2021-09-05T21:01:06.000Z | code/setup.py | onnoeberhard/scipro-primer-notebooks | e9cf1069d62f8c50549d9912403c640f08a99392 | [
"MIT"
] | 1 | 2021-02-15T16:26:00.000Z | 2021-02-15T16:26:00.000Z | code/setup.py | onnoeberhard/scipro-primer-notebooks | e9cf1069d62f8c50549d9912403c640f08a99392 | [
"MIT"
] | 17 | 2018-09-30T07:35:00.000Z | 2021-08-28T19:15:09.000Z | from distutils.core import setup
setup(name="interest",
version="1.0",
py_modules=["interest"],
scripts=["interest.py"],
)
| 21 | 32 | 0.605442 | 17 | 147 | 5.176471 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.22449 | 147 | 6 | 33 | 24.5 | 0.754386 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ad19abcb62e6ff57aa0d60381e9a6ef5c4f4e516 | 1,299 | py | Python | myDevices/test/systeminfo_test.py | wjl198435/Cayenne-Agent | e9f93a5d7a8d6a74b25712f489c3371aca1f480b | [
"MIT"
] | 20 | 2017-05-26T21:33:26.000Z | 2020-06-17T18:21:24.000Z | myDevices/test/systeminfo_test.py | wjl198435/Cayenne-Agent | e9f93a5d7a8d6a74b25712f489c3371aca1f480b | [
"MIT"
] | 6 | 2017-06-02T23:46:28.000Z | 2020-07-13T18:35:48.000Z | myDevices/test/systeminfo_test.py | wjl198435/Cayenne-Agent | e9f93a5d7a8d6a74b25712f489c3371aca1f480b | [
"MIT"
] | 11 | 2017-05-28T18:58:38.000Z | 2022-03-14T05:56:26.000Z | import unittest
from myDevices.system.systeminfo import SystemInfo
from myDevices.utils.logger import setInfo, info
class SystemInfoTest(unittest.TestCase):
def setUp(self):
setInfo()
system_info = SystemInfo()
self.info = {item['channel']:item for item in system_info.getSystemInformation(... | 41.903226 | 89 | 0.631255 | 162 | 1,299 | 5 | 0.271605 | 0.158025 | 0.187654 | 0.22716 | 0.466667 | 0.466667 | 0.417284 | 0.288889 | 0 | 0 | 0 | 0 | 0.183988 | 1,299 | 31 | 90 | 41.903226 | 0.764151 | 0.030793 | 0 | 0 | 0 | 0 | 0.200318 | 0 | 0 | 0 | 0 | 0 | 0.52 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.24 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ad409cd41791969e29324e8ff57b029814fd9dcc | 53 | py | Python | libpyfdtcam/__init__.py | fastcrash/libpyfdtcam | 1ccc96c317995baf859f021e4a40fb05c7f872ae | [
"MIT"
] | null | null | null | libpyfdtcam/__init__.py | fastcrash/libpyfdtcam | 1ccc96c317995baf859f021e4a40fb05c7f872ae | [
"MIT"
] | null | null | null | libpyfdtcam/__init__.py | fastcrash/libpyfdtcam | 1ccc96c317995baf859f021e4a40fb05c7f872ae | [
"MIT"
] | null | null | null | from .libpyfdtcam import FDTCam
name = "libpyfdtcam"
| 17.666667 | 31 | 0.792453 | 6 | 53 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 2 | 32 | 26.5 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ad59e9ad810c42f52433838e6431ca526e35c8f1 | 136,332 | py | Python | protos/gen/python/protos/public/modeldb/ProjectService_pb2.py | Atharex/modeldb | 3a286d5861c1dd14342084793dd7d7584ff8a29b | [
"Apache-2.0"
] | null | null | null | protos/gen/python/protos/public/modeldb/ProjectService_pb2.py | Atharex/modeldb | 3a286d5861c1dd14342084793dd7d7584ff8a29b | [
"Apache-2.0"
] | null | null | null | protos/gen/python/protos/public/modeldb/ProjectService_pb2.py | Atharex/modeldb | 3a286d5861c1dd14342084793dd7d7584ff8a29b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: modeldb/ProjectService.proto
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection a... | 40.027011 | 14,845 | 0.7568 | 15,984 | 136,332 | 6.181181 | 0.033408 | 0.03668 | 0.056113 | 0.034767 | 0.772014 | 0.707419 | 0.673553 | 0.630182 | 0.608553 | 0.567692 | 0 | 0.041804 | 0.114969 | 136,332 | 3,405 | 14,846 | 40.038767 | 0.777039 | 0.038172 | 0 | 0.672266 | 1 | 0.011727 | 0.257354 | 0.211595 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002536 | 0 | 0.002536 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ad65c50372729229c8bd9437c0703594cd85ad4d | 3,237 | py | Python | pisat/sensor/sensor_base.py | jjj999/pisat | be96cfcd4a68ece14cb5f8745ab138e3931eb761 | [
"MIT"
] | 1 | 2020-09-23T08:23:47.000Z | 2020-09-23T08:23:47.000Z | pisat/sensor/sensor_base.py | jjj999/pisat | be96cfcd4a68ece14cb5f8745ab138e3931eb761 | [
"MIT"
] | 4 | 2020-07-01T06:31:05.000Z | 2021-05-04T05:53:01.000Z | pisat/sensor/sensor_base.py | jjj999/pisat | be96cfcd4a68ece14cb5f8745ab138e3931eb761 | [
"MIT"
] | 2 | 2020-07-01T06:08:00.000Z | 2020-09-20T00:52:43.000Z | #! python3
"""
pisat.sensor.sensor.sensor_base
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The module which defines what a sensor is.
All classes in the module define sensor system.
SensorInterface represents the interface which a senser
should have. The sensor system consists of objects of SensorBase
and SensorGroup, and Sen... | 37.639535 | 77 | 0.739265 | 455 | 3,237 | 5.254945 | 0.296703 | 0.027185 | 0.031368 | 0.017566 | 0.458386 | 0.458386 | 0.458386 | 0.458386 | 0.458386 | 0.458386 | 0 | 0.000393 | 0.213469 | 3,237 | 86 | 78 | 37.639535 | 0.938727 | 0.828854 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.272727 | 0.363636 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
a8dc23d6d542741169bc4650bc6d9b51d92ddacc | 389 | py | Python | WebScrapingWithPython/SomeCode/OneLinePythonCode.py | broccolii/LearnPython | fd48062d065d5475f5197836942b87db976f1de8 | [
"MIT"
] | null | null | null | WebScrapingWithPython/SomeCode/OneLinePythonCode.py | broccolii/LearnPython | fd48062d065d5475f5197836942b87db976f1de8 | [
"MIT"
] | null | null | null | WebScrapingWithPython/SomeCode/OneLinePythonCode.py | broccolii/LearnPython | fd48062d065d5475f5197836942b87db976f1de8 | [
"MIT"
] | null | null | null | print('\n'.join([''.join([('ILoveYou'[(x-y)%8]if((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3<=0 else' ')for x in range(-30,30)])for y in range(15,-15,-1)]))
print('\n'.join(['_'.join(['%s*%s=%-2s' % (y,x,x*y) for y in range(1,x+1)]) for x in range(1,10)]))
import socket
sock=socket.create_connection(('ns1.dns... | 38.9 | 164 | 0.560411 | 83 | 389 | 2.60241 | 0.409639 | 0.12963 | 0.092593 | 0.12963 | 0.074074 | 0.074074 | 0.074074 | 0 | 0 | 0 | 0 | 0.110803 | 0.071979 | 389 | 9 | 165 | 43.222222 | 0.487535 | 0 | 0 | 0 | 0 | 0 | 0.120823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a8e45fa4f1b4d794c6b2f90921f004405096bd60 | 3,269 | py | Python | temboo/core/Library/Xively/Triggers/DeleteTrigger.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Xively/Triggers/DeleteTrigger.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Xively/Triggers/DeleteTrigger.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | # -*- coding: utf-8 -*-
###############################################################################
#
# DeleteTrigger
# Deletes the specified trigger.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file ex... | 37.147727 | 208 | 0.690425 | 385 | 3,269 | 5.784416 | 0.405195 | 0.026942 | 0.025146 | 0.0467 | 0.155366 | 0.022452 | 0.022452 | 0 | 0 | 0 | 0 | 0.006401 | 0.187519 | 3,269 | 87 | 209 | 37.574713 | 0.832078 | 0.474763 | 0 | 0 | 0 | 0 | 0.050751 | 0.027162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.185185 | 0.185185 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a8e4ac31777e08ad883eb114b1ba1353b9a20fce | 2,220 | py | Python | examples/example_ml_cli.py | JoeyDP/Components | f3ad21fbbc3854a321128e8f889410986b913281 | [
"MIT"
] | null | null | null | examples/example_ml_cli.py | JoeyDP/Components | f3ad21fbbc3854a321128e8f889410986b913281 | [
"MIT"
] | null | null | null | examples/example_ml_cli.py | JoeyDP/Components | f3ad21fbbc3854a321128e8f889410986b913281 | [
"MIT"
] | null | null | null | from components import Component
from components.cli import CLI
class DataSource(Component):
def __init__(self, path=None):
self.path = path
def load_data(self):
return [66, 63, 13, 70, 44, 45, 22, 35, 3, 75, 54, 4, 14, 72, 67, 6, 45, 97, 40, 78]
class Algorithm(Component):
def __init__... | 23.125 | 96 | 0.651351 | 290 | 2,220 | 4.806897 | 0.358621 | 0.034433 | 0.039455 | 0.068149 | 0.142755 | 0.112626 | 0.060258 | 0.060258 | 0.060258 | 0 | 0 | 0.037278 | 0.238739 | 2,220 | 95 | 97 | 23.368421 | 0.787574 | 0.094144 | 0 | 0.086957 | 0 | 0 | 0.022823 | 0 | 0 | 0 | 0 | 0.021053 | 0 | 1 | 0.23913 | false | 0.021739 | 0.043478 | 0.043478 | 0.586957 | 0.021739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a8f11790dbcf02a82144f694f9b75df8683d9bb7 | 217 | py | Python | generic_plus/compat.py | theatlantic/django-generic-plus | 1eafafd4517559ffdfd6cddc6022939d2b48c2d0 | [
"BSD-2-Clause"
] | 5 | 2015-12-03T22:31:29.000Z | 2021-12-22T16:42:05.000Z | generic_plus/compat.py | theatlantic/django-generic-plus | 1eafafd4517559ffdfd6cddc6022939d2b48c2d0 | [
"BSD-2-Clause"
] | 2 | 2015-01-22T22:01:26.000Z | 2021-03-19T18:31:55.000Z | generic_plus/compat.py | theatlantic/django-generic-plus | 1eafafd4517559ffdfd6cddc6022939d2b48c2d0 | [
"BSD-2-Clause"
] | 1 | 2015-07-14T17:50:53.000Z | 2015-07-14T17:50:53.000Z | import django
dj19 = bool(django.VERSION >= (1, 9))
def compat_rel(f):
return getattr(f, 'remote_field' if dj19 else 'rel')
def compat_rel_to(f):
return getattr(compat_rel(f), 'model' if dj19 else 'to')
| 16.692308 | 60 | 0.672811 | 36 | 217 | 3.916667 | 0.527778 | 0.191489 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045198 | 0.184332 | 217 | 12 | 61 | 18.083333 | 0.751412 | 0 | 0 | 0 | 0 | 0 | 0.101382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d100ca6e52f3d294148931a1e445dd1a72d258ef | 138 | py | Python | hublib/__init__.py | nanoMFG/hublib | 415b984fee86e43663699ffe57b4908159c3ff3a | [
"MIT"
] | null | null | null | hublib/__init__.py | nanoMFG/hublib | 415b984fee86e43663699ffe57b4908159c3ff3a | [
"MIT"
] | null | null | null | hublib/__init__.py | nanoMFG/hublib | 415b984fee86e43663699ffe57b4908159c3ff3a | [
"MIT"
] | null | null | null | from pint import UnitRegistry
ureg = UnitRegistry()
ureg.autoconvert_offset_to_baseunit = True
Q_ = ureg.Quantity
__version__ = "0.9.29"
| 19.714286 | 42 | 0.789855 | 19 | 138 | 5.315789 | 0.842105 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0.123188 | 138 | 6 | 43 | 23 | 0.801653 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d108ca344c4fd400e1b9105a9ace33d28315ed91 | 1,093 | py | Python | utils/metrics.py | nwarner-spark/Informer2020 | bb47dd1063ac41dc4ec3a3bbd6bb950d446aabd3 | [
"Apache-2.0"
] | 1 | 2021-08-09T20:20:58.000Z | 2021-08-09T20:20:58.000Z | utils/metrics.py | nwarner-spark/Informer2020 | bb47dd1063ac41dc4ec3a3bbd6bb950d446aabd3 | [
"Apache-2.0"
] | null | null | null | utils/metrics.py | nwarner-spark/Informer2020 | bb47dd1063ac41dc4ec3a3bbd6bb950d446aabd3 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def RSE(pred, true): ## equivalent to RRSE , not RSE
return np.sqrt(np.sum((true-pred)**2)) / np.sqrt(np.sum((true-true.mean())**2))
def CORR(pred, true):
u = ((true-true.mean(0))*(pred-pred.mean(0))).sum(0)
d = np.sqrt(((true-true.mean(0))**2*(pred-pred.mean(0))**2).sum(0))
return... | 26.02381 | 83 | 0.620311 | 191 | 1,093 | 3.549738 | 0.230366 | 0.235988 | 0.144543 | 0.141593 | 0.221239 | 0.106195 | 0.073746 | 0 | 0 | 0 | 0 | 0.013348 | 0.177493 | 1,093 | 42 | 84 | 26.02381 | 0.740823 | 0.123513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.037037 | 0.259259 | 0.703704 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
d117fa31a174b61028d7798f3cf0d581d599fc53 | 2,177 | py | Python | server/models.py | gan-qi/auto-report-server | 788896a0b902244c6f2ddb9766d77f0836d15a31 | [
"MIT"
] | null | null | null | server/models.py | gan-qi/auto-report-server | 788896a0b902244c6f2ddb9766d77f0836d15a31 | [
"MIT"
] | null | null | null | server/models.py | gan-qi/auto-report-server | 788896a0b902244c6f2ddb9766d77f0836d15a31 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from server import db
from datetime import datetime
class User(db.Model):
__tablename__ = 'user'
id = db.Column(db.Integer, primary_key = True, autoincrement = True)
username = db.Column(db.String(10), nullable = False)
password = db.Column(db.String(30), nullable = False)
... | 38.875 | 72 | 0.659164 | 288 | 2,177 | 4.888889 | 0.208333 | 0.136364 | 0.170455 | 0.144886 | 0.739347 | 0.739347 | 0.701705 | 0.534801 | 0.480824 | 0.480824 | 0 | 0.016356 | 0.185576 | 2,177 | 55 | 73 | 39.581818 | 0.777778 | 0.009646 | 0 | 0.292683 | 0 | 0 | 0.044104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.02439 | 0.04878 | 0 | 0.95122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d11c18df92b6f8e8a0271107a9c2ad354c72ff6d | 554 | py | Python | src/yellowdog_client/model/all_nodes_inactive_shutdown_condition.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/all_nodes_inactive_shutdown_condition.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/all_nodes_inactive_shutdown_condition.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass, field
from datetime import timedelta
from .worker_pool_shutdown_condition import WorkerPoolShutdownCondition
@dataclass
class AllNodesInactiveShutdownCondition(WorkerPoolShutdownCondition):
"""Specifies that a worker pool should be automatically shut down when all its nodes are... | 42.615385 | 106 | 0.808664 | 63 | 554 | 7.063492 | 0.761905 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129964 | 554 | 12 | 107 | 46.166667 | 0.923237 | 0.17148 | 0 | 0 | 0 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d12a4560cd46ae7eeeea66b682bd11b65e374d9c | 419 | py | Python | pyble/GattDescriptor.py | kuikka/pyble | 52a18176ef42d75ea4ac5e2f95357cc6684f52d4 | [
"BSD-2-Clause"
] | 3 | 2016-07-15T03:36:59.000Z | 2017-03-31T16:30:08.000Z | pyble/GattDescriptor.py | kuikka/pyble | 52a18176ef42d75ea4ac5e2f95357cc6684f52d4 | [
"BSD-2-Clause"
] | null | null | null | pyble/GattDescriptor.py | kuikka/pyble | 52a18176ef42d75ea4ac5e2f95357cc6684f52d4 | [
"BSD-2-Clause"
] | null | null | null | """
Copyright (c) 2016 Juha Kuikka
This file is part of pyble which is released under Modified BSD license
See LICENSE.txt for full license details
"""
from pyble.DbusObject import DbusObject
class GattDescriptor(DbusObject):
def __init__(self, path):
super().__init__(path, 'org.bluez.GattDescriptor1')
... | 26.1875 | 74 | 0.708831 | 55 | 419 | 5.145455 | 0.727273 | 0.056537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014451 | 0.174224 | 419 | 15 | 75 | 27.933333 | 0.803468 | 0.341289 | 0 | 0 | 0 | 0 | 0.149813 | 0.093633 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
d141f6df6dc3f46dede3bf20cd296541a50a5abf | 101 | py | Python | api/djangorestapp/apps.py | Urban-Green-Lab/application | 14016e1a6466c742f1946c0373291a6bfb1e8fef | [
"MIT"
] | 2 | 2020-10-26T01:38:32.000Z | 2020-10-27T21:42:30.000Z | api/djangorestapp/apps.py | hca-foundation/urbangreenlab | d918fb39b41f0b7022ea3979b456d2434d0ab0a7 | [
"MIT"
] | 79 | 2020-10-25T23:42:34.000Z | 2020-11-01T16:10:45.000Z | api/djangorestapp/apps.py | hca-foundation/urbangreenlab | d918fb39b41f0b7022ea3979b456d2434d0ab0a7 | [
"MIT"
] | 1 | 2020-10-30T01:14:24.000Z | 2020-10-30T01:14:24.000Z | from django.apps import AppConfig
class DjangorestappConfig(AppConfig):
name = 'djangorestapp'
| 16.833333 | 37 | 0.782178 | 10 | 101 | 7.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 5 | 38 | 20.2 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d14af403c30ff50a41d13f20bdb50f25f12c7e3f | 1,808 | py | Python | src/oddsandends/carriedaddtest/src/carried_addgen.py | REX-Computing/unumjl | 5441eecd983943dcc5f2ad737b3f2144b3ed12e6 | [
"MIT"
] | 39 | 2015-11-09T22:42:33.000Z | 2020-09-09T19:59:29.000Z | src/oddsandends/carriedaddtest/src/carried_addgen.py | REX-Computing/unumjl | 5441eecd983943dcc5f2ad737b3f2144b3ed12e6 | [
"MIT"
] | 10 | 2015-10-29T23:56:10.000Z | 2016-07-17T08:57:28.000Z | src/oddsandends/carriedaddtest/src/carried_addgen.py | REX-Computing/unumjl | 5441eecd983943dcc5f2ad737b3f2144b3ed12e6 | [
"MIT"
] | 9 | 2015-10-27T00:58:13.000Z | 2020-12-25T22:12:17.000Z | # Copyright (c) 2015 Rex Computing and Isaac Yonemoto"
# see LICENSE.txt
# this work was supported in part by DARPA Contract D15PC00135
innerasm = """ "mov %%rax, %%r8;" //use r8 as an accumulator register.
"xor %%rax, %%rax;" //clear the rax register
"adc (%%rcx), %%r8;" /... | 34.769231 | 128 | 0.548673 | 241 | 1,808 | 4.107884 | 0.448133 | 0.040404 | 0.028283 | 0.034343 | 0.294949 | 0.294949 | 0.214141 | 0.214141 | 0.214141 | 0.214141 | 0 | 0.046549 | 0.310841 | 1,808 | 51 | 129 | 35.45098 | 0.747994 | 0.07135 | 0 | 0.105263 | 0 | 0.052632 | 0.780299 | 0 | 0 | 0 | 0.010746 | 0 | 0 | 0 | null | null | 0.052632 | 0 | null | null | 0.342105 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
d15ce40c42b16e4681b20c5645dbbe8c777d6947 | 682 | py | Python | session/api/v1/views.py | anuragregmi/session-analytics | 896dd4f1ca0f8b6bcd580af8dca76575cf38b53e | [
"MIT"
] | null | null | null | session/api/v1/views.py | anuragregmi/session-analytics | 896dd4f1ca0f8b6bcd580af8dca76575cf38b53e | [
"MIT"
] | null | null | null | session/api/v1/views.py | anuragregmi/session-analytics | 896dd4f1ca0f8b6bcd580af8dca76575cf38b53e | [
"MIT"
] | null | null | null | from django.db import transaction
from rest_framework import viewsets
from session.models import Session
from session.pagination import SessionPagination
from session.api.v1.serializers import SessionSerializer
class SessionViewSet(viewsets.ModelViewSet):
serializer_class = SessionSerializer
queryset = Sess... | 29.652174 | 70 | 0.780059 | 77 | 682 | 6.818182 | 0.532468 | 0.062857 | 0.07619 | 0.102857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001748 | 0.16129 | 682 | 22 | 71 | 31 | 0.916084 | 0.093842 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.333333 | 0.133333 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
66f731bc6650e5fecc3853c227c2973fab5650e2 | 438 | py | Python | tests/test_api/test_authentication/test_oauth/test_google/test_signin.py | maxzhenzhera/my_vocab_backend | 2e9f968374e0bc2fcc0ae40830ca40f3cf5754d1 | [
"MIT"
] | null | null | null | tests/test_api/test_authentication/test_oauth/test_google/test_signin.py | maxzhenzhera/my_vocab_backend | 2e9f968374e0bc2fcc0ae40830ca40f3cf5754d1 | [
"MIT"
] | null | null | null | tests/test_api/test_authentication/test_oauth/test_google/test_signin.py | maxzhenzhera/my_vocab_backend | 2e9f968374e0bc2fcc0ae40830ca40f3cf5754d1 | [
"MIT"
] | null | null | null | from typing import ClassVar
import pytest
from .mixins import RedirectToGoogleOAuthFixturesMixin
from ..base import BaseTestRedirectToOAuthRouteCase
pytestmark = pytest.mark.asyncio
class GoogleSigninRouteNameMixin:
route_name: ClassVar[str] = 'oauth:google:signin'
class TestGoogleSigninRouteSingleCase(
... | 19.909091 | 54 | 0.821918 | 33 | 438 | 10.878788 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13242 | 438 | 21 | 55 | 20.857143 | 0.944737 | 0 | 0 | 0 | 0 | 0 | 0.043379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
66fbcb49e011f9baa7dc6e5e8c64bae82f77f019 | 204 | py | Python | °C Celsius.py | G1705j1/Codigos-em-Python | 1e8925f5acb0798cdc917a16882b06f59f1c8d0e | [
"MIT"
] | 1 | 2021-01-18T02:26:00.000Z | 2021-01-18T02:26:00.000Z | °C Celsius.py | G1705j1/Codigos-em-Python | 1e8925f5acb0798cdc917a16882b06f59f1c8d0e | [
"MIT"
] | null | null | null | °C Celsius.py | G1705j1/Codigos-em-Python | 1e8925f5acb0798cdc917a16882b06f59f1c8d0e | [
"MIT"
] | null | null | null | print('%'*32)
print('========== TEMPERATURA =========')
i = float(input('Digitte a temperatura °C: '))
f = ((9*i)/5)+32
print('temperatura de {} °C \ncoreespondente a {} °F! '.format(i, f))
print('='*32) | 29.142857 | 69 | 0.544118 | 31 | 204 | 3.677419 | 0.516129 | 0.122807 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044693 | 0.122549 | 204 | 7 | 70 | 29.142857 | 0.575419 | 0 | 0 | 0 | 0 | 0 | 0.521951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0f04296b633ff219e725a9bc92b720e81ed234f1 | 268 | py | Python | avilla/core/specialist.py | RF-Tar-Railt/Avilla | 0b6eff0e253d4c04a5c82f4f252b6a11b7d81e04 | [
"MIT"
] | null | null | null | avilla/core/specialist.py | RF-Tar-Railt/Avilla | 0b6eff0e253d4c04a5c82f4f252b6a11b7d81e04 | [
"MIT"
] | 1 | 2021-12-19T07:43:30.000Z | 2021-12-19T07:43:30.000Z | avilla/core/specialist.py | RF-Tar-Railt/Avilla | 0b6eff0e253d4c04a5c82f4f252b6a11b7d81e04 | [
"MIT"
] | null | null | null | from .platform import Base
from .selectors import entity, mainline
special_platform = Base("GraiaProject@github", "avilla-protocol", "Avilla")
special_mainline = mainline.platform[special_platform].special[True]
guest = entity.mainline[special_mainline].guest[True]
| 33.5 | 75 | 0.80597 | 32 | 268 | 6.625 | 0.4375 | 0.132075 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 268 | 7 | 76 | 38.285714 | 0.861789 | 0 | 0 | 0 | 0 | 0 | 0.149813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0f06cc8811efbe3def84873e1ffb6e3176bc9937 | 167 | py | Python | strings.py | EnescanAkyuz/Python_Beginner | 84c32d39ec0727f39655bd88c57ccdeba1929532 | [
"MIT"
] | 4 | 2022-03-16T20:49:07.000Z | 2022-03-17T14:55:39.000Z | strings.py | EnescanAkyuz/Python_Beginner | 84c32d39ec0727f39655bd88c57ccdeba1929532 | [
"MIT"
] | null | null | null | strings.py | EnescanAkyuz/Python_Beginner | 84c32d39ec0727f39655bd88c57ccdeba1929532 | [
"MIT"
] | null | null | null | name = 'Melek'
surname = 'duran'
age = '21'
greeting = 'My name is '+ name + ' '+ surname + ' and \nI am '+ age + ' years old.'
# print(greeting[5])
print(greeting)
| 18.555556 | 83 | 0.586826 | 23 | 167 | 4.26087 | 0.695652 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.215569 | 167 | 8 | 84 | 20.875 | 0.725191 | 0.107784 | 0 | 0 | 0 | 0 | 0.319728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0f324199616c3d0c8fcef5bf586a7cd64b23d427 | 7,548 | py | Python | BingLR/assign_parameters2checkpoint.py | romittel/DeepSpeedExamples | b68ddb8df995975c9752558683f87c8a52652b4e | [
"MIT"
] | null | null | null | BingLR/assign_parameters2checkpoint.py | romittel/DeepSpeedExamples | b68ddb8df995975c9752558683f87c8a52652b4e | [
"MIT"
] | null | null | null | BingLR/assign_parameters2checkpoint.py | romittel/DeepSpeedExamples | b68ddb8df995975c9752558683f87c8a52652b4e | [
"MIT"
] | null | null | null | import torch
import os
indir = '/relevance2-nfs/romittel/DeepSpeedExamples-amawa-moe/Megatron-LM-base-iterator/checkpoints/50/'
outdir = '/relevance2-nfs/romittel/DeepSpeedExamples-amawa-moe/Megatron-LM-base-iterator/checkpoints/50_binglr/'
num_of_layers = 24
num_of_gpus = 8
num_of_attention_heads = 16
hp = 1024 // num... | 77.814433 | 254 | 0.698993 | 1,063 | 7,548 | 4.74412 | 0.081844 | 0.026968 | 0.0698 | 0.064247 | 0.881816 | 0.844934 | 0.738648 | 0.618878 | 0.54531 | 0.510609 | 0 | 0.009782 | 0.106121 | 7,548 | 96 | 255 | 78.625 | 0.737661 | 0.207207 | 0 | 0.066667 | 0 | 0.033333 | 0.468823 | 0.328696 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0f5fa5863b9da7bf5410ef6848a55ec98ad7f00e | 149 | py | Python | python/beginner/turbosort.py | RCoon/CodeChef | 2aed3cbb7e37084fc6fc16fae7976954689f3b63 | [
"MIT"
] | 1 | 2015-11-06T02:26:59.000Z | 2015-11-06T02:26:59.000Z | python/beginner/turbosort.py | RCoon/CodeChef | 2aed3cbb7e37084fc6fc16fae7976954689f3b63 | [
"MIT"
] | null | null | null | python/beginner/turbosort.py | RCoon/CodeChef | 2aed3cbb7e37084fc6fc16fae7976954689f3b63 | [
"MIT"
] | 1 | 2021-06-27T15:03:34.000Z | 2021-06-27T15:03:34.000Z | t = int(input())
nums = []
for i in range(0, t):
n = int(input())
nums.append(n)
nums.sort()
for num in nums:
print(num) | 13.545455 | 22 | 0.496644 | 24 | 149 | 3.083333 | 0.583333 | 0.216216 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.328859 | 149 | 11 | 23 | 13.545455 | 0.73 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0f6010af6245cbc007ab5b37c95d4eb3ca54ac18 | 2,046 | py | Python | utilities/skydir.py | tburnett/wtlike | 0a0f0c807fd32a625f653c94be83b093b9abec5d | [
"Apache-2.0"
] | 3 | 2020-12-27T02:49:00.000Z | 2022-03-20T07:20:53.000Z | utilities/skydir.py | tburnett/wtlike | 0a0f0c807fd32a625f653c94be83b093b9abec5d | [
"Apache-2.0"
] | 3 | 2021-05-20T23:14:35.000Z | 2022-02-26T10:25:25.000Z | utilities/skydir.py | tburnett/wtlike | 0a0f0c807fd32a625f653c94be83b093b9abec5d | [
"Apache-2.0"
] | 1 | 2021-11-15T10:23:22.000Z | 2021-11-15T10:23:22.000Z | """
"""
import numpy as np
from astropy.coordinates import SkyCoord
import healpy
class SkyDir(object):
""" Provide convenient interface to astropy's SkyCoord:
* specific to fk5 and galacic use
* added HEALPix capability
"""
nside = None
nest = False
def __init__(self, ra, dec, fra... | 28.027397 | 73 | 0.61437 | 282 | 2,046 | 4.35461 | 0.336879 | 0.051303 | 0.016287 | 0.027687 | 0.200326 | 0.161238 | 0.161238 | 0.161238 | 0.161238 | 0.161238 | 0 | 0.007968 | 0.26393 | 2,046 | 72 | 74 | 28.416667 | 0.807437 | 0.054741 | 0 | 0.215686 | 0 | 0 | 0.11956 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.254902 | false | 0 | 0.058824 | 0.117647 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0f6cb0b00823d6b46205dbbba20394027cab4417 | 1,179 | py | Python | processing/migrations/0001_initial.py | Nivocse/notam | 2bfd1088caf00ec6cabce3d2b183ef466930a8bb | [
"MIT"
] | null | null | null | processing/migrations/0001_initial.py | Nivocse/notam | 2bfd1088caf00ec6cabce3d2b183ef466930a8bb | [
"MIT"
] | null | null | null | processing/migrations/0001_initial.py | Nivocse/notam | 2bfd1088caf00ec6cabce3d2b183ef466930a8bb | [
"MIT"
] | null | null | null | # Generated by Django 3.1.5 on 2021-02-05 12:43
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Notam',
fields=[
('id', models.AutoField(au... | 32.75 | 114 | 0.544529 | 113 | 1,179 | 5.557522 | 0.451327 | 0.167197 | 0.200637 | 0.267516 | 0.393312 | 0.353503 | 0.251592 | 0.251592 | 0.251592 | 0.251592 | 0 | 0.030902 | 0.313825 | 1,179 | 35 | 115 | 33.685714 | 0.745365 | 0.038168 | 0 | 0.428571 | 1 | 0 | 0.076855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0f94055d6931cc92e74283dd7277bd696c8f1af8 | 1,454 | py | Python | Coding-Quizzes/4.Python Structures/lecture+16+Tuples.py | kuwarkapur/Hacktoberfest-2022 | efaafeba5ce51d8d2e2d94c6326cc20bff946f17 | [
"MIT"
] | 1 | 2021-12-03T09:23:41.000Z | 2021-12-03T09:23:41.000Z | Coding-Quizzes/4.Python Structures/lecture+16+Tuples.py | kuwarkapur/Hacktoberfest-2022 | efaafeba5ce51d8d2e2d94c6326cc20bff946f17 | [
"MIT"
] | null | null | null | Coding-Quizzes/4.Python Structures/lecture+16+Tuples.py | kuwarkapur/Hacktoberfest-2022 | efaafeba5ce51d8d2e2d94c6326cc20bff946f17 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[1]:
year_monthes = ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October",
"November", "December")
# In[2]:
#In order to access specific values of a tuple use their indexes like what we do with a list.
year_m... | 16.712644 | 114 | 0.559147 | 175 | 1,454 | 4.56 | 0.308571 | 0.206767 | 0.135338 | 0.195489 | 0.690476 | 0.690476 | 0.690476 | 0.690476 | 0.690476 | 0.690476 | 0 | 0.027361 | 0.22077 | 1,454 | 86 | 115 | 16.906977 | 0.676964 | 0.146492 | 0 | 0.571429 | 0 | 0 | 0.369885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0f948a6380ba1971b6cca01747839ba41d103882 | 161 | py | Python | middleware.py | 1stvamp/settings-wrapper | 4b2b012e2f47e985c1b49cc1a90df42837d3b66e | [
"BSD-3-Clause"
] | 3 | 2015-05-18T13:51:39.000Z | 2015-05-18T14:39:15.000Z | middleware.py | 1stvamp/settings-wrapper | 4b2b012e2f47e985c1b49cc1a90df42837d3b66e | [
"BSD-3-Clause"
] | null | null | null | middleware.py | 1stvamp/settings-wrapper | 4b2b012e2f47e985c1b49cc1a90df42837d3b66e | [
"BSD-3-Clause"
] | null | null | null | from threading import local
class TrackRequest(object):
def process_request(self, request):
d = local()
d.django_current_request = request
| 20.125 | 42 | 0.695652 | 19 | 161 | 5.736842 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229814 | 161 | 7 | 43 | 23 | 0.879032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7e50475fb365bad0d0aa56475966e53ae1da02c8 | 312 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.pypackage}}/__init__.py | AntoineAugusti/cookiecutter-udata-plugin | 75161e249e86ffb2ed76c486b3c2399e0eed9927 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.pypackage}}/__init__.py | AntoineAugusti/cookiecutter-udata-plugin | 75161e249e86ffb2ed76c486b3c2399e0eed9927 | [
"MIT"
] | 2 | 2020-03-25T14:24:15.000Z | 2020-07-20T13:45:05.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.pypackage}}/__init__.py | AntoineAugusti/cookiecutter-udata-plugin | 75161e249e86ffb2ed76c486b3c2399e0eed9927 | [
"MIT"
] | 2 | 2020-03-25T14:17:25.000Z | 2020-07-20T19:06:12.000Z | '''
{{ cookiecutter.project_name }}
{{ cookiecutter.description }}
'''
__version__ = '{{ cookiecutter.version }}'
__description__ = '{{ cookiecutter.description }}'
{% if cookiecutter.has_generic_plugin == 'yes' %}
def init_app(app):
# Do whatever you want to initialize your plugin
pass
{% endif %}
| 19.5 | 52 | 0.679487 | 31 | 312 | 6.451613 | 0.709677 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 312 | 15 | 53 | 20.8 | 0.766284 | 0.147436 | 0 | 0 | 0 | 0 | 0.305699 | 0.124352 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.166667 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7e7a8a64ef88a31f606f91b6c10aa3fd705a36d3 | 10,293 | py | Python | tests/components/vaillant/test_water_heater.py | dmaisonn/home-assistant | e40e5bf4ab5093dd30fc95ab7a68ce41d3742d9f | [
"Apache-2.0"
] | null | null | null | tests/components/vaillant/test_water_heater.py | dmaisonn/home-assistant | e40e5bf4ab5093dd30fc95ab7a68ce41d3742d9f | [
"Apache-2.0"
] | null | null | null | tests/components/vaillant/test_water_heater.py | dmaisonn/home-assistant | e40e5bf4ab5093dd30fc95ab7a68ce41d3742d9f | [
"Apache-2.0"
] | null | null | null | """Tests for the vaillant sensor."""
import datetime
import pytest
from mock import ANY
from pymultimatic.model import (
System,
OperatingModes,
QuickModes,
HolidayMode,
HotWater,
constants,
)
import homeassistant.components.vaillant as vaillant
from homeassistant.components.vaillant import AT... | 32.572785 | 93 | 0.729719 | 1,252 | 10,293 | 5.650958 | 0.095048 | 0.064452 | 0.028834 | 0.048057 | 0.775265 | 0.716042 | 0.706714 | 0.690742 | 0.681272 | 0.66318 | 0 | 0.005759 | 0.173419 | 10,293 | 315 | 94 | 32.67619 | 0.825811 | 0.006509 | 0 | 0.482301 | 0 | 0 | 0.104115 | 0.035082 | 0 | 0 | 0 | 0 | 0.256637 | 1 | 0.00885 | false | 0 | 0.030973 | 0 | 0.039823 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7e8b16d5cfefc372c332ce568e479ab7352fbaec | 143 | py | Python | common/testing.py | 919bot/Tessa | 9b48ff9020e8fb6992fc78271f2720fd19e01093 | [
"MIT"
] | 114 | 2020-02-24T14:18:01.000Z | 2022-03-19T03:42:00.000Z | common/testing.py | 919bot/Tessa | 9b48ff9020e8fb6992fc78271f2720fd19e01093 | [
"MIT"
] | 15 | 2020-02-25T03:37:44.000Z | 2021-09-08T01:51:15.000Z | common/testing.py | 919bot/Tessa | 9b48ff9020e8fb6992fc78271f2720fd19e01093 | [
"MIT"
] | 73 | 2018-12-03T19:34:42.000Z | 2020-07-27T05:10:23.000Z | import os
from nose.tools import nottest
def phone_only(x):
if os.path.isfile("/init.qcom.rc"):
return x
else:
return nottest(x)
| 14.3 | 37 | 0.678322 | 24 | 143 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202797 | 143 | 9 | 38 | 15.888889 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7ea430b27594bf924598bcbb05eee56b848ef6e0 | 670 | py | Python | MusierWeb/app/Capriccia/settings.py | yippp/Musier | b943cb9d464c2518ed5515643e6b177adb10bf54 | [
"MIT"
] | null | null | null | MusierWeb/app/Capriccia/settings.py | yippp/Musier | b943cb9d464c2518ed5515643e6b177adb10bf54 | [
"MIT"
] | null | null | null | MusierWeb/app/Capriccia/settings.py | yippp/Musier | b943cb9d464c2518ed5515643e6b177adb10bf54 | [
"MIT"
] | null | null | null | NULL_SCORE = -1
CHORD = [{}, {0, 4, 7}, {2, 5, 9}, {4, 7, 11}, {5, 9, 0}, {7, 11, 2}, {9, 0, 4}, {11, 2, 5}]
CHORD_NOTE = {4: [[None, None, None, None], [0, 7, 4, 7], [-3, 5, 2, 5], [-1, 7, 4, 7], [0, 9, 5, 9], [-1, 7, 2, 7], [-3, 4, 0, 4], [-1, 5, 2, 5]],
3: [[None, None, None], [0, 4, 7], [-3, 2, 5], [-... | 41.875 | 147 | 0.441791 | 149 | 670 | 1.926175 | 0.255034 | 0.04878 | 0.125436 | 0.090592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258383 | 0.243284 | 670 | 16 | 148 | 41.875 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0e305ddf72aff0cc92cef96b1daf222f9d23001d | 382 | py | Python | daspi/daspi/apps/api/urls.py | lucian2k/goog-dev-connect | 5ae161a863685a769964e1438f8df3bcc767a804 | [
"MIT"
] | null | null | null | daspi/daspi/apps/api/urls.py | lucian2k/goog-dev-connect | 5ae161a863685a769964e1438f8df3bcc767a804 | [
"MIT"
] | null | null | null | daspi/daspi/apps/api/urls.py | lucian2k/goog-dev-connect | 5ae161a863685a769964e1438f8df3bcc767a804 | [
"MIT"
] | null | null | null | from django.conf.urls import patterns, include, url
urlpatterns = patterns('',
url(r'^login/$', 'daspi.apps.api.views.dologin', name='apilogin'),
url(r'^location/$', 'daspi.apps.api.views.location', name='locationdetails'),
url(r'^checkin/$', 'daspi.apps.api.views.checkin', name='checkin'),
url(r'^chec... | 42.444444 | 81 | 0.672775 | 50 | 382 | 5.14 | 0.44 | 0.062257 | 0.18677 | 0.264591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102094 | 382 | 8 | 82 | 47.75 | 0.749271 | 0 | 0 | 0 | 0 | 0 | 0.502618 | 0.298429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
0e388cf462b9d57d9851c107e116495401994ccb | 155 | py | Python | Python/Daily Challenges/Matrix/Product_Matrix.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | 2 | 2021-05-12T11:20:39.000Z | 2021-06-17T04:35:16.000Z | Python/Daily Challenges/Matrix/Product_Matrix.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | null | null | null | Python/Daily Challenges/Matrix/Product_Matrix.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | null | null | null | list = [[1, 4, 5],[7, 3],[4],[46, 7, 3]]
mul=1
for i in range(len(list)):
for j in range(len(list[i])):
mul*=list[i][j]
print(mul)
| 19.375 | 41 | 0.464516 | 31 | 155 | 2.322581 | 0.483871 | 0.055556 | 0.277778 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 0.277419 | 155 | 7 | 42 | 22.142857 | 0.544643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0e52f4a9c593d8e6b169f98c521489b0bf1d954e | 858 | py | Python | service/widget/models.py | gitter-badger/share-analytics | 2a1a6d2d2ba412627750517a6b02088456c04c23 | [
"Apache-2.0"
] | null | null | null | service/widget/models.py | gitter-badger/share-analytics | 2a1a6d2d2ba412627750517a6b02088456c04c23 | [
"Apache-2.0"
] | null | null | null | service/widget/models.py | gitter-badger/share-analytics | 2a1a6d2d2ba412627750517a6b02088456c04c23 | [
"Apache-2.0"
] | null | null | null | from django.db.models import Model
from django.db.models import IntegerField
from django.db.models import ForeignKey
from django.db.models import CharField
from django.db.models import TextField
from django.contrib.postgres.fields import ArrayField
from django.contrib.postgres.fields import JSONField
from django.db.mod... | 27.677419 | 53 | 0.721445 | 112 | 858 | 5.508929 | 0.383929 | 0.162075 | 0.136143 | 0.204214 | 0.476499 | 0.119935 | 0 | 0 | 0 | 0 | 0 | 0.008608 | 0.187646 | 858 | 30 | 54 | 28.6 | 0.876614 | 0 | 0 | 0 | 0 | 0 | 0.016317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.4 | 0 | 0.72 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0e8aabe321abef260b2296fd677dcc40c4626446 | 187 | py | Python | scripts/AtlasStyle.py | xju2/monojet | 7475a62f176425ae910f2f104f175b1ddc457fdf | [
"MIT"
] | null | null | null | scripts/AtlasStyle.py | xju2/monojet | 7475a62f176425ae910f2f104f175b1ddc457fdf | [
"MIT"
] | null | null | null | scripts/AtlasStyle.py | xju2/monojet | 7475a62f176425ae910f2f104f175b1ddc457fdf | [
"MIT"
] | null | null | null | import ROOT
import os
file_dir = os.getenv("MonoJetCodeDir")+"MonoJet/scripts/AtlasStyle.C"
if not hasattr(ROOT, "SetAtlasStyle"):
ROOT.gROOT.LoadMacro(file_dir)
ROOT.SetAtlasStyle()
| 26.714286 | 69 | 0.775401 | 25 | 187 | 5.72 | 0.68 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 187 | 6 | 70 | 31.166667 | 0.841176 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.149733 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0eb207ed04a972efcd94980354672581f7a5ccf9 | 2,263 | py | Python | dev_tools/github_repository.py | LLcat1217/Cirq | b88069f7b01457e592ad69d6b413642ef11a56b8 | [
"Apache-2.0"
] | 3,326 | 2018-07-18T23:17:21.000Z | 2022-03-29T22:28:24.000Z | dev_tools/github_repository.py | bradyb/Cirq | 610b0d4ea3a7862169610797266734c844ddcc1f | [
"Apache-2.0"
] | 3,443 | 2018-07-18T21:07:28.000Z | 2022-03-31T20:23:21.000Z | dev_tools/github_repository.py | bradyb/Cirq | 610b0d4ea3a7862169610797266734c844ddcc1f | [
"Apache-2.0"
] | 865 | 2018-07-18T23:30:24.000Z | 2022-03-30T11:43:23.000Z | # Copyright 2018 The Cirq Developers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 35.920635 | 90 | 0.667698 | 294 | 2,263 | 5.07483 | 0.428571 | 0.040214 | 0.043566 | 0.063673 | 0.157507 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004614 | 0.23376 | 2,263 | 62 | 91 | 36.5 | 0.855825 | 0.463544 | 0 | 0 | 0 | 0 | 0.084746 | 0.044603 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0.08 | 0.2 | 0.72 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7ed50f80b1838d4271d6bb47bc0e0958f9395dec | 316 | py | Python | filters/fix_image_path.py | jpconsuegra/compilers-uh | 794a080a1b0c7fc4fb16ae21c4cc58940cf8ba92 | [
"MIT"
] | null | null | null | filters/fix_image_path.py | jpconsuegra/compilers-uh | 794a080a1b0c7fc4fb16ae21c4cc58940cf8ba92 | [
"MIT"
] | null | null | null | filters/fix_image_path.py | jpconsuegra/compilers-uh | 794a080a1b0c7fc4fb16ae21c4cc58940cf8ba92 | [
"MIT"
] | 1 | 2022-02-17T00:05:53.000Z | 2022-02-17T00:05:53.000Z | #! /usr/bin/env python3
# coding: utf8
import panflute as pf
def action(elem, doc):
if isinstance(elem, pf.Image):
elem.url = elem.url.replace("..", "build").replace("svg", "pdf")
return elem
def main(doc=None):
return pf.run_filter(action, doc=doc)
if __name__ == '__main__':
main()
| 19.75 | 72 | 0.626582 | 45 | 316 | 4.2 | 0.622222 | 0.05291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007968 | 0.205696 | 316 | 15 | 73 | 21.066667 | 0.74502 | 0.110759 | 0 | 0 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7ee479458f5a4aa0f1f26c7798f678a3ec86724b | 278 | py | Python | tests/__init__.py | zerodine/krypton | 3876b37739f0b9110f460bf1d0aec668d216a7b7 | [
"Apache-2.0"
] | 1 | 2020-11-17T16:29:52.000Z | 2020-11-17T16:29:52.000Z | tests/__init__.py | zerodine/krypton | 3876b37739f0b9110f460bf1d0aec668d216a7b7 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | zerodine/krypton | 3876b37739f0b9110f460bf1d0aec668d216a7b7 | [
"Apache-2.0"
] | null | null | null | __author__ = 'thospy'
from jsonparsertest import JsonParserTest
from gpgmongotest import GpgModelTest
from gpgtest import GpgTest
from masstest import MassTest
from mrparsertest import MrParserTest
from recontest import ReconTest
from publickeyhashtest import PublickeyHashTest | 30.888889 | 47 | 0.877698 | 30 | 278 | 8 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111511 | 278 | 9 | 47 | 30.888889 | 0.97166 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7ee650292ad9d50d1bbefec3cf0a316b1e40f6c2 | 351 | py | Python | benders-decomposition/src/utils/__init__.py | grzegorz-siekaniec/benders-decomposition-gurobi | 5435e82c7ef4fe14fc53ff07b8eaa1516208b57c | [
"MIT"
] | 6 | 2021-05-31T10:23:18.000Z | 2022-02-15T08:45:30.000Z | benders-decomposition/src/utils/__init__.py | grzegorz-siekaniec/benders-decomposition-gurobi | 5435e82c7ef4fe14fc53ff07b8eaa1516208b57c | [
"MIT"
] | null | null | null | benders-decomposition/src/utils/__init__.py | grzegorz-siekaniec/benders-decomposition-gurobi | 5435e82c7ef4fe14fc53ff07b8eaa1516208b57c | [
"MIT"
] | null | null | null | import numpy as np
from . import model_build_utils
import gurobi as grb
def is_non_zero(var):
return np.abs(var) > 0.0001
sc = grb.StatusConstClass
status_code_to_string = {
sc.__dict__[k]: k
for k in sc.__dict__.keys()
if k[0] >= 'A' and k[0] <= 'Z'
}
def get_status(status: int) -> str:
retur... | 18.473684 | 40 | 0.678063 | 61 | 351 | 3.590164 | 0.606557 | 0.091324 | 0.109589 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.202279 | 351 | 19 | 40 | 18.473684 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.230769 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7d4ea34bd4d70b56d6e01c9f1ce75f34b8341088 | 1,760 | py | Python | gym_radio_scheduler/envs/radio_scheduler_env.py | vidits-kth/gym-radio-scheduler | be072423dd584ce927c59068398c5d5446a40b50 | [
"MIT"
] | 2 | 2018-12-05T08:32:21.000Z | 2021-04-12T14:24:42.000Z | gym_radio_scheduler/envs/radio_scheduler_env.py | vidits-kth/gym-radio-scheduler | be072423dd584ce927c59068398c5d5446a40b50 | [
"MIT"
] | null | null | null | gym_radio_scheduler/envs/radio_scheduler_env.py | vidits-kth/gym-radio-scheduler | be072423dd584ce927c59068398c5d5446a40b50 | [
"MIT"
] | 2 | 2018-12-05T08:32:29.000Z | 2019-02-05T19:44:50.000Z | import gym
from gym import error, spaces, utils
from gym.utils import seeding
from .radio_multilink_scheduler import RadioMultilinkScheduler
class RadioSchedulerEnv(gym.Env):
# metadata = {'render.modes': ['random']}
def __init__(self):
# nrof_ues: Integer value
# scheduler_type: ['Rand... | 32.592593 | 82 | 0.590909 | 195 | 1,760 | 5.230769 | 0.45641 | 0.019608 | 0.041176 | 0.031373 | 0.05098 | 0.05098 | 0 | 0 | 0 | 0 | 0 | 0.011026 | 0.330114 | 1,760 | 53 | 83 | 33.207547 | 0.854114 | 0.519886 | 0 | 0 | 0 | 0 | 0.020654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0.266667 | 0 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
adc58e4a13b51c444fd703eaf07fa926529678cd | 13,172 | py | Python | plaso/winnt/shell_folder_ids.py | Defense-Cyber-Crime-Center/plaso | 4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47 | [
"Apache-2.0"
] | 2 | 2016-02-18T12:46:29.000Z | 2022-03-13T03:04:59.000Z | plaso/winnt/shell_folder_ids.py | CNR-ITTIG/plasodfaxp | 923797fc00664fa9e3277781b0334d6eed5664fd | [
"Apache-2.0"
] | null | null | null | plaso/winnt/shell_folder_ids.py | CNR-ITTIG/plasodfaxp | 923797fc00664fa9e3277781b0334d6eed5664fd | [
"Apache-2.0"
] | 6 | 2016-12-18T08:05:36.000Z | 2021-04-06T14:19:11.000Z | # -*- coding: utf-8 -*-
"""This file contains the Windows NT shell folder identifier definitions."""
# For now ignore the line too long errors.
# pylint: disable=line-too-long
# For now copied from:
# https://code.google.com/p/libfwsi/wiki/ShellFolderIdentifiers
# TODO: store these in a database or equiv.
DESCRIPTI... | 69.693122 | 127 | 0.748406 | 1,828 | 13,172 | 5.390044 | 0.578228 | 0.029128 | 0.008525 | 0.017051 | 0.078961 | 0.037451 | 0.034507 | 0.028215 | 0.028215 | 0 | 0 | 0.317288 | 0.112056 | 13,172 | 188 | 128 | 70.06383 | 0.525137 | 0.02194 | 0 | 0 | 0 | 0 | 0.807334 | 0.502564 | 0 | 0 | 0 | 0.005319 | 0 | 1 | 0 | false | 0.011299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
addd331b1d506a572fb6e209c0cd19216811115e | 188 | py | Python | imbi/endpoints/ui/groups.py | nvllsvm/imbi-api | 1a5bd8894ac14c1026f33297994aa10782b0eea0 | [
"BSD-3-Clause"
] | 1 | 2021-06-23T18:34:47.000Z | 2021-06-23T18:34:47.000Z | imbi/endpoints/ui/groups.py | nvllsvm/imbi-api | 1a5bd8894ac14c1026f33297994aa10782b0eea0 | [
"BSD-3-Clause"
] | null | null | null | imbi/endpoints/ui/groups.py | nvllsvm/imbi-api | 1a5bd8894ac14c1026f33297994aa10782b0eea0 | [
"BSD-3-Clause"
] | 2 | 2022-02-11T22:06:18.000Z | 2022-02-21T19:35:06.000Z | from imbi.endpoints import base
class GroupsRequestHandler(base.CRUDRequestHandler):
NAME = 'ui-groups'
GET_SQL = 'SELECT name FROM v1.groups ORDER BY name ASC;'
TTL = 300
| 18.8 | 61 | 0.718085 | 25 | 188 | 5.36 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.202128 | 188 | 9 | 62 | 20.888889 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ade3942eda00376848c104117cac8d4329812f76 | 446 | py | Python | build/lib/vltk/processing/sched.py | eltoto1219/vltk | e84c0efe9062eb864604d96345f71483816340aa | [
"Apache-2.0"
] | null | null | null | build/lib/vltk/processing/sched.py | eltoto1219/vltk | e84c0efe9062eb864604d96345f71483816340aa | [
"Apache-2.0"
] | null | null | null | build/lib/vltk/processing/sched.py | eltoto1219/vltk | e84c0efe9062eb864604d96345f71483816340aa | [
"Apache-2.0"
] | null | null | null | from vltk import SCHEDPATH
from vltk.inspection import import_funcs_from_file
class Sched:
def __init__(self):
if "SCHEDDICT" not in globals():
global SCHEDDICT
SCHEDDICT = import_funcs_from_file(SCHEDPATH, pkg="vltk.processing")
def avail(self):
return list(SCHEDDICT.... | 23.473684 | 80 | 0.650224 | 55 | 446 | 5.090909 | 0.509091 | 0.057143 | 0.107143 | 0.135714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26009 | 446 | 18 | 81 | 24.777778 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.053812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.230769 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
70b24d59b76962675c37e37212f2063c2118ae43 | 248 | py | Python | app/controllers/instituicoes.py | pedroferronato/curriculos | f76bb8a2abf2c833903af1ef251a1b57126e9d4a | [
"MIT"
] | null | null | null | app/controllers/instituicoes.py | pedroferronato/curriculos | f76bb8a2abf2c833903af1ef251a1b57126e9d4a | [
"MIT"
] | null | null | null | app/controllers/instituicoes.py | pedroferronato/curriculos | f76bb8a2abf2c833903af1ef251a1b57126e9d4a | [
"MIT"
] | null | null | null | from flask import render_template
from app import app
from app.models.tables import Instituicao
@app.route('/instituicoes')
def instituicao():
lista = Instituicao.query.all()
return render_template("listar_instituicoes.html", lista=lista)
| 27.555556 | 67 | 0.782258 | 32 | 248 | 5.96875 | 0.5625 | 0.146597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 248 | 8 | 68 | 31 | 0.876147 | 0 | 0 | 0 | 0 | 0 | 0.149194 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
70dac11e9d80b42115b80d3c2b65db4f652017c6 | 237 | py | Python | jabba/analysis/__init__.py | puppetlabs/jabba | 71c1d008ab497020fba6ffa12a600721eb3f5ef7 | [
"MIT"
] | 1 | 2017-02-23T10:46:27.000Z | 2017-02-23T10:46:27.000Z | jabba/analysis/__init__.py | OSLL/jenkins_job_builder_visualization | 71c1d008ab497020fba6ffa12a600721eb3f5ef7 | [
"MIT"
] | 39 | 2017-02-23T10:29:13.000Z | 2017-04-18T16:19:38.000Z | jabba/analysis/__init__.py | OSLL/jabba | 71c1d008ab497020fba6ffa12a600721eb3f5ef7 | [
"MIT"
] | 1 | 2019-05-07T16:54:03.000Z | 2019-05-07T16:54:03.000Z | from .parse import parse_analyzer_arguments
from .parameters_present import parameters_present
from .unused_configs import unused_configs
from .cyclic_deps import cyclic_deps
from .result import Result
from .depends_on import depends_on
| 33.857143 | 50 | 0.873418 | 34 | 237 | 5.794118 | 0.411765 | 0.172589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 237 | 6 | 51 | 39.5 | 0.924883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cb21c8875a7e395ed49962eb7137ae0ffc006e50 | 121 | py | Python | setup.py | annaduricy/classic-tetris-ai | 8e2584d084eb209e043f0913f8fd02a08120c073 | [
"MIT"
] | null | null | null | setup.py | annaduricy/classic-tetris-ai | 8e2584d084eb209e043f0913f8fd02a08120c073 | [
"MIT"
] | null | null | null | setup.py | annaduricy/classic-tetris-ai | 8e2584d084eb209e043f0913f8fd02a08120c073 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='gym_classic_tatris',
version='0.0.1',
install_requires=['nes-py']
) | 20.166667 | 33 | 0.68595 | 17 | 121 | 4.705882 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.165289 | 121 | 6 | 34 | 20.166667 | 0.762376 | 0 | 0 | 0 | 0 | 0 | 0.237705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cb2de330cfabcbc33eb088456701c71da34cbd9b | 550 | py | Python | py/camel_case/test_camel_case.py | kkamara/playground | 78c8f8b87091af28ed31ccf0429019e3cfd5af04 | [
"BSD-3-Clause"
] | null | null | null | py/camel_case/test_camel_case.py | kkamara/playground | 78c8f8b87091af28ed31ccf0429019e3cfd5af04 | [
"BSD-3-Clause"
] | null | null | null | py/camel_case/test_camel_case.py | kkamara/playground | 78c8f8b87091af28ed31ccf0429019e3cfd5af04 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
import unittest
import main as camel_case
class test_camel_case(unittest.TestCase):
def test_return_value(self):
self.assertEqual("TestCase", camel_case.execute("test case"))
self.assertEqual("CamelCaseMethod", camel_case.execute("camel case method"))
self.assertEqual... | 36.666667 | 84 | 0.709091 | 66 | 550 | 5.636364 | 0.424242 | 0.217742 | 0.215054 | 0.112903 | 0.134409 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002151 | 0.154545 | 550 | 14 | 85 | 39.285714 | 0.797849 | 0.038182 | 0 | 0 | 0 | 0 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.363636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cb31b99d461f02af6144c6214592111f943f10d0 | 236 | py | Python | Darlington/phase2/TUPLE/day 53 solution/qtn8.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase2/TUPLE/day 53 solution/qtn8.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase2/TUPLE/day 53 solution/qtn8.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #Python program to reverse a tuple.
#create a tuple
x = ("w3resource")
print(x)
# Reversed the tuple
y = reversed(x)
print(tuple(y))
#create another tuple
x = (5, 10, 15, 20)
print(x)
# Reversed the tuple
y = reversed(x)
print(tuple(y)) | 18.153846 | 35 | 0.690678 | 41 | 236 | 3.97561 | 0.439024 | 0.147239 | 0.171779 | 0.208589 | 0.527607 | 0.527607 | 0.527607 | 0.527607 | 0.527607 | 0.527607 | 0 | 0.040404 | 0.161017 | 236 | 13 | 36 | 18.153846 | 0.782828 | 0.449153 | 0 | 0.75 | 0 | 0 | 0.079365 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
cb3c8936731c0bf60b8f5e2dd8e295d2fee2e292 | 61 | py | Python | scripts/components.py | iotile/foss_finder | 0c31530cf2158d4565a8168aecda18ffbcc68f04 | [
"MIT"
] | 6 | 2019-03-11T22:36:55.000Z | 2019-04-05T17:49:40.000Z | scripts/components.py | iotile/foss_finder | 0c31530cf2158d4565a8168aecda18ffbcc68f04 | [
"MIT"
] | 11 | 2018-09-06T23:10:52.000Z | 2020-01-14T20:49:35.000Z | scripts/components.py | iotile/foss_finder | 0c31530cf2158d4565a8168aecda18ffbcc68f04 | [
"MIT"
] | 1 | 2020-07-16T12:21:29.000Z | 2020-07-16T12:21:29.000Z | comp_names = {
'foss_finder_api': ['foss_finder', '.']
}
| 15.25 | 43 | 0.590164 | 7 | 61 | 4.571429 | 0.714286 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 3 | 44 | 20.333333 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0.442623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cb4d8e7a44e1c4d74814568b40fb046c137a31f5 | 4,074 | py | Python | test/test_sq.py | max-wittig/smartsquash | 3f68f2f3f3909316017126941ae2d5373593025c | [
"MIT"
] | 2 | 2020-03-09T13:17:29.000Z | 2020-03-10T14:09:25.000Z | test/test_sq.py | max-wittig/smartsquash | 3f68f2f3f3909316017126941ae2d5373593025c | [
"MIT"
] | 1 | 2020-03-11T08:59:03.000Z | 2020-03-11T22:00:16.000Z | test/test_sq.py | max-wittig/smartsquash | 3f68f2f3f3909316017126941ae2d5373593025c | [
"MIT"
] | null | null | null | import git
import re
import unittest.mock
from smartsquash import sq, helpers
from typing import Callable, List
from pathlib import Path
def test_squash(repository: git.Repo, commit_files: Callable):
target_branch = "master"
commit_files(repository, ["test.txt"], "whatever")
commit_files(repository, ["tes... | 39.553398 | 88 | 0.704713 | 506 | 4,074 | 5.490119 | 0.160079 | 0.095032 | 0.098272 | 0.102952 | 0.806335 | 0.735781 | 0.723542 | 0.685745 | 0.685745 | 0.561195 | 0 | 0.003224 | 0.162494 | 4,074 | 102 | 89 | 39.941176 | 0.810961 | 0 | 0 | 0.477273 | 0 | 0 | 0.131566 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 1 | 0.079545 | false | 0 | 0.068182 | 0 | 0.147727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cb696ee3aa7c35a55f66170f2869bc8a18065ae8 | 79 | py | Python | waterbutler/__init__.py | Johnetordoff/waterbutler | b505cdbcffadaba12984dcb19c9139068e6c314d | [
"Apache-2.0"
] | null | null | null | waterbutler/__init__.py | Johnetordoff/waterbutler | b505cdbcffadaba12984dcb19c9139068e6c314d | [
"Apache-2.0"
] | 1 | 2017-11-29T20:28:35.000Z | 2017-11-29T20:28:35.000Z | waterbutler/__init__.py | Johnetordoff/waterbutler | b505cdbcffadaba12984dcb19c9139068e6c314d | [
"Apache-2.0"
] | null | null | null | __version__ = '0.31.0'
__import__('pkg_resources').declare_namespace(__name__)
| 26.333333 | 55 | 0.797468 | 10 | 79 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.050633 | 79 | 2 | 56 | 39.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.240506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cb6d03e6a945f074b263a3d857efde1a20ed7429 | 20 | py | Python | ff/handlers/suffix.py | proteneer/timemachine | feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701 | [
"Apache-2.0"
] | 91 | 2019-01-05T17:03:04.000Z | 2022-03-11T09:08:46.000Z | ff/handlers/suffix.py | proteneer/timemachine | feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701 | [
"Apache-2.0"
] | 474 | 2019-01-07T14:33:15.000Z | 2022-03-31T19:15:12.000Z | ff/handlers/suffix.py | proteneer/timemachine | feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701 | [
"Apache-2.0"
] | 12 | 2019-01-13T00:40:36.000Z | 2022-01-14T10:23:54.000Z | _SUFFIX = "Handler"
| 10 | 19 | 0.7 | 2 | 20 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cb9c65ccd0a8ae82f1af48f19cb195e05573028f | 6,520 | py | Python | tests/core/aggregate_window_test.py | ddrightnow/blurr | a8745101d4a8a85ccf1efc608dba8486d3cebb49 | [
"Apache-2.0"
] | null | null | null | tests/core/aggregate_window_test.py | ddrightnow/blurr | a8745101d4a8a85ccf1efc608dba8486d3cebb49 | [
"Apache-2.0"
] | 7 | 2019-12-16T20:58:29.000Z | 2022-02-09T23:57:32.000Z | tests/core/aggregate_window_test.py | ddrightnow/blurr | a8745101d4a8a85ccf1efc608dba8486d3cebb49 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime, timezone
import pytest
from pytest import fixture
from blurr.core.aggregate_window import WindowAggregateSchema, WindowAggregate
from blurr.core.errors import PrepareWindowMissingBlocksError
from blurr.core.evaluation import EvaluationContext, Context
from blurr.core.schema_loader impor... | 41.006289 | 100 | 0.689417 | 752 | 6,520 | 5.644947 | 0.128989 | 0.208481 | 0.123675 | 0.139929 | 0.760188 | 0.703416 | 0.696584 | 0.696584 | 0.696584 | 0.670671 | 0 | 0.035057 | 0.208129 | 6,520 | 158 | 101 | 41.265823 | 0.787139 | 0 | 0 | 0.484615 | 0 | 0 | 0.088497 | 0.003834 | 0 | 0 | 0 | 0 | 0.084615 | 1 | 0.092308 | false | 0 | 0.061538 | 0.007692 | 0.169231 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cbc85a53c05aa7d3aea361963ef11cca77110ef6 | 1,010 | py | Python | django_bdd_engine/runners/runner.py | PhoenixWright/django-bdd-engine | a5659a9b9eef4a58b551f9311c66b3119f836d79 | [
"Apache-2.0"
] | null | null | null | django_bdd_engine/runners/runner.py | PhoenixWright/django-bdd-engine | a5659a9b9eef4a58b551f9311c66b3119f836d79 | [
"Apache-2.0"
] | null | null | null | django_bdd_engine/runners/runner.py | PhoenixWright/django-bdd-engine | a5659a9b9eef4a58b551f9311c66b3119f836d79 | [
"Apache-2.0"
] | null | null | null |
class TestRunner(object):
def __init__(self, engine, **kwargs):
# the engine has a list of miscellaneous tasks to run, and add_task(task) can be used to add one
self.engine = engine
@staticmethod
def is_compatible(test_runtime_requirements):
"""
Every test runner must imp... | 28.857143 | 118 | 0.627723 | 128 | 1,010 | 4.8125 | 0.59375 | 0.123377 | 0.112013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315842 | 1,010 | 34 | 119 | 29.705882 | 0.891462 | 0.608911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
cbcced41dec8215f3d302a1ffdf865568271cfde | 2,416 | py | Python | stashy/stashy/client.py | robinson96/GRAPE | f6404ae6ee2933647e515a9480077ab01fb2c430 | [
"BSD-3-Clause"
] | 4 | 2017-04-30T17:08:42.000Z | 2019-11-15T04:44:09.000Z | stashy/stashy/client.py | robinson96/GRAPE | f6404ae6ee2933647e515a9480077ab01fb2c430 | [
"BSD-3-Clause"
] | 1 | 2016-02-12T07:51:30.000Z | 2016-02-12T07:51:30.000Z | stashy/stashy/client.py | robinson96/GRAPE | f6404ae6ee2933647e515a9480077ab01fb2c430 | [
"BSD-3-Clause"
] | null | null | null | import json
import requests.requests as requests
from .helpers import Nested, add_json_headers
from .admin import Admin
from .projects import Projects
from .compat import basestring
class Stash(object):
_url = "/"
def __init__(self, base_url, username, password, verify=True):
self._client = StashCli... | 32.213333 | 120 | 0.644868 | 299 | 2,416 | 5.013378 | 0.19398 | 0.046698 | 0.080053 | 0.066711 | 0.512342 | 0.403602 | 0.368913 | 0.319546 | 0.319546 | 0.319546 | 0 | 0.001616 | 0.231788 | 2,416 | 74 | 121 | 32.648649 | 0.806034 | 0.034768 | 0 | 0.122449 | 0 | 0 | 0.00744 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 1 | 0.204082 | false | 0.183673 | 0.122449 | 0.061224 | 0.612245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
cbdc8ac82329c8eaf79c335f6a5419db1a8094a8 | 65 | py | Python | api_sequrity/__init__.py | gerasim13/api-sequrity | 90d5705755316c034a295d7fb496992cf412b4b9 | [
"MIT"
] | null | null | null | api_sequrity/__init__.py | gerasim13/api-sequrity | 90d5705755316c034a295d7fb496992cf412b4b9 | [
"MIT"
] | null | null | null | api_sequrity/__init__.py | gerasim13/api-sequrity | 90d5705755316c034a295d7fb496992cf412b4b9 | [
"MIT"
] | null | null | null | from api_sequrity.apiseq import ApiSequrity
__all__ = ('apiseq')
| 21.666667 | 43 | 0.8 | 8 | 65 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 44 | 32.5 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cbe0971d9e6f9d0a73c3746ce3d97c64405c9800 | 666 | py | Python | lib/util.py | mx-bernhard/keypirinha-youtrack | d61ac9cc6ecc6f6665aeb062d717e9b7b2968cc1 | [
"MIT"
] | 3 | 2019-07-28T18:38:12.000Z | 2019-12-18T04:43:20.000Z | lib/util.py | mx-bernhard/keypirinha-youtrack | d61ac9cc6ecc6f6665aeb062d717e9b7b2968cc1 | [
"MIT"
] | 1 | 2019-12-18T06:27:40.000Z | 2019-12-18T07:00:17.000Z | lib/util.py | mx-bernhard/keypirinha-youtrack | d61ac9cc6ecc6f6665aeb062d717e9b7b2968cc1 | [
"MIT"
] | null | null | null | from xml.dom import minidom
def get_as_xml(response: bytes):
response = response.decode(encoding="utf-8", errors="strict")
dom = minidom.parseString(response)
return dom
def get_value(node, node_name):
return next((child.childNodes[0].nodeValue for child in node.childNodes if child.nodeName ... | 35.052632 | 115 | 0.702703 | 92 | 666 | 4.826087 | 0.445652 | 0.072072 | 0.058559 | 0.076577 | 0.22973 | 0.22973 | 0.22973 | 0.22973 | 0.22973 | 0.22973 | 0 | 0.003663 | 0.18018 | 666 | 18 | 116 | 37 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.016975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
cbe69a9a641760a0f8714ea3faa2040074a39e8b | 201 | py | Python | three-numbers.py | webkadiz/olympiad-problems | 620912815904c0f95b91ccd193ca3db0ea20e507 | [
"MIT"
] | null | null | null | three-numbers.py | webkadiz/olympiad-problems | 620912815904c0f95b91ccd193ca3db0ea20e507 | [
"MIT"
] | null | null | null | three-numbers.py | webkadiz/olympiad-problems | 620912815904c0f95b91ccd193ca3db0ea20e507 | [
"MIT"
] | null | null | null | a, b, c = map(int, input().split(' '))
if a * b == c:
print('Yes')
print(a, b, c)
elif b * c == a:
print('Yes')
print(b, c, a)
elif a * c == b:
print('Yes')
print(a, c, b)
else:
print('No')
| 11.823529 | 38 | 0.482587 | 40 | 201 | 2.425 | 0.325 | 0.103093 | 0.092784 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248756 | 201 | 16 | 39 | 12.5625 | 0.642384 | 0 | 0 | 0.25 | 0 | 0 | 0.060302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.583333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1dc5e54f805564be6de884897b40907021010462 | 770 | py | Python | webs/douban/parsers/douban_api.py | billvsme/videoSpider | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 216 | 2016-02-20T12:46:43.000Z | 2022-02-23T07:07:00.000Z | webs/douban/parsers/douban_api.py | billvsme/tvCrawlers | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 3 | 2016-05-06T05:04:17.000Z | 2021-12-13T19:41:39.000Z | webs/douban/parsers/douban_api.py | billvsme/tvCrawlers | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 99 | 2016-02-20T08:34:00.000Z | 2022-02-10T20:52:01.000Z | # -*- coding: utf-8 -*-
import json
def start_parser(text):
datas = []
movie_base_datas = json.loads(text).get('subjects', [])
for movie_base_data in movie_base_datas:
data = {}
data['douban_id'] = movie_base_data.get('id')
data['title'] = movie_base_data.get('title')
data... | 33.478261 | 76 | 0.62987 | 106 | 770 | 4.235849 | 0.301887 | 0.240535 | 0.289532 | 0.320713 | 0.140312 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001642 | 0.209091 | 770 | 22 | 77 | 35 | 0.735632 | 0.027273 | 0 | 0 | 0 | 0 | 0.19411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1dd0e93b9cf34befaa8f279fefcc650b430b7475 | 86 | py | Python | packaging/eschool21_demo/eschool21_demo/__init__.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 252 | 2021-05-18T11:58:17.000Z | 2022-03-12T06:48:52.000Z | packaging/eschool21_demo/eschool21_demo/__init__.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 44 | 2021-05-21T14:28:34.000Z | 2021-07-12T22:36:06.000Z | packaging/eschool21_demo/eschool21_demo/__init__.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 128 | 2021-05-24T18:32:54.000Z | 2022-03-26T11:24:16.000Z | from .fibonacci import fibonacci
__version__ = '0.1.0.post1'
__all__ = ['fibonacci']
| 17.2 | 32 | 0.732558 | 11 | 86 | 5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.127907 | 86 | 4 | 33 | 21.5 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1dd3b58a41e64955d246e4b8a13c1c0bc53eb8e5 | 231 | py | Python | x_2_3.py | ofl/kuku | 76eefc0d3d859051473ee0d5f48b5d42d17d05a6 | [
"MIT"
] | null | null | null | x_2_3.py | ofl/kuku | 76eefc0d3d859051473ee0d5f48b5d42d17d05a6 | [
"MIT"
] | 4 | 2021-09-23T03:19:52.000Z | 2021-11-13T10:38:21.000Z | x_2_3.py | ofl/kuku | 76eefc0d3d859051473ee0d5f48b5d42d17d05a6 | [
"MIT"
] | null | null | null | # x_2_3
#
# ヒントを参考に「a」「b」「c」「d」がそれぞれどんな値となるかを予想してください
# ヒント
print(4 / 3)
print(4 // 3)
print(4 % 3)
print(5 / 3)
print(5 // 3)
print(5 % 3)
a = 7 // 5
b = 7 % 5
c = 13 // 4
d = 13 % 4
# print(a)
# print(b)
# print(c)
# print(d)
| 10.5 | 43 | 0.52381 | 48 | 231 | 2.479167 | 0.3125 | 0.252101 | 0.176471 | 0.302521 | 0.352941 | 0.352941 | 0.352941 | 0 | 0 | 0 | 0 | 0.137143 | 0.242424 | 231 | 21 | 44 | 11 | 0.542857 | 0.376623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1dd5027a86d3854bc33beaba80ba11545340ea85 | 1,170 | py | Python | var/spack/repos/builtin/packages/r-boot/package.py | jeanbez/spack | f4e51ce8f366c85bf5aa0eafe078677b42dae1ba | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | var/spack/repos/builtin/packages/r-boot/package.py | jeanbez/spack | f4e51ce8f366c85bf5aa0eafe078677b42dae1ba | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 8 | 2021-11-09T20:28:40.000Z | 2022-03-15T03:26:33.000Z | var/spack/repos/builtin/packages/r-boot/package.py | jeanbez/spack | f4e51ce8f366c85bf5aa0eafe078677b42dae1ba | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2019-02-08T20:37:20.000Z | 2019-03-31T15:19:26.000Z | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class RBoot(RPackage):
"""Bootstrap Functions (Originally by Angelo Canty for S).
F... | 45 | 96 | 0.773504 | 121 | 1,170 | 7.471074 | 0.661157 | 0.053097 | 0.059735 | 0.035398 | 0.037611 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0.123077 | 1,170 | 25 | 97 | 46.8 | 0.591618 | 0.370085 | 0 | 0 | 0 | 0 | 0.614525 | 0.536313 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1df76c03c2ca2a6349927df9fd94a6e3a847f0ee | 632 | py | Python | src/backend/app/db/models/name.py | douglasdaly/dougliz-wedding | da673baf3a7387c3818960c0ffa12ab7c830a89b | [
"MIT"
] | 5 | 2020-02-02T02:39:23.000Z | 2021-08-17T15:50:57.000Z | src/backend/app/db/models/name.py | douglasdaly/dougliz-wedding | da673baf3a7387c3818960c0ffa12ab7c830a89b | [
"MIT"
] | 4 | 2021-03-31T19:39:57.000Z | 2022-01-22T09:29:10.000Z | src/backend/app/db/models/name.py | douglasdaly/dougliz-wedding | da673baf3a7387c3818960c0ffa12ab7c830a89b | [
"MIT"
] | 1 | 2020-04-12T17:11:43.000Z | 2020-04-12T17:11:43.000Z | # -*- coding: utf-8 -*-
"""
Database storage model for Name objects.
"""
import uuid
import sqlalchemy as sa
from app.db.base_class import Base
from app.db.types import GUID
class Name(Base):
"""
Database storage model for Name objects.
"""
id = sa.Column(sa.Integer, primary_key=True)
uid = sa.C... | 25.28 | 70 | 0.678797 | 94 | 632 | 4.542553 | 0.43617 | 0.149883 | 0.163934 | 0.224824 | 0.337237 | 0.337237 | 0.177986 | 0.177986 | 0 | 0 | 0 | 0.003884 | 0.185127 | 632 | 24 | 71 | 26.333333 | 0.825243 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
380ac8764f011aa87dc73b155dd0070b00079221 | 223 | py | Python | samples/python/KafkaOutput/main.py | Microsoft/azure-functions-kafka-extension | 585e97cfb3f27cf868135d5f22c1f550330ac7ea | [
"MIT"
] | 7 | 2019-03-19T06:55:52.000Z | 2019-04-05T09:57:26.000Z | samples/python/KafkaOutput/main.py | Microsoft/azure-functions-kafka-extension | 585e97cfb3f27cf868135d5f22c1f550330ac7ea | [
"MIT"
] | 54 | 2019-03-12T00:58:54.000Z | 2019-04-10T17:07:22.000Z | samples/python/KafkaOutput/main.py | Microsoft/azure-functions-kafka-extension | 585e97cfb3f27cf868135d5f22c1f550330ac7ea | [
"MIT"
] | 6 | 2019-03-09T06:20:17.000Z | 2019-04-04T10:29:29.000Z | import logging
import azure.functions as func
def main(req: func.HttpRequest, outputMessage: func.Out[str]) -> func.HttpResponse:
input_msg = req.params.get('message')
outputMessage.set(input_msg)
return 'OK' | 24.777778 | 83 | 0.735426 | 30 | 223 | 5.4 | 0.733333 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147982 | 223 | 9 | 84 | 24.777778 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.040179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3823e55ade4a1057c81ddc7ea98e12e446e2ee31 | 121 | py | Python | logo.py | snehangsude/Tic_Tac_Toe | 6ea6678ea651d0d0974f7464fd2894e613ae5607 | [
"MIT"
] | null | null | null | logo.py | snehangsude/Tic_Tac_Toe | 6ea6678ea651d0d0974f7464fd2894e613ae5607 | [
"MIT"
] | null | null | null | logo.py | snehangsude/Tic_Tac_Toe | 6ea6678ea651d0d0974f7464fd2894e613ae5607 | [
"MIT"
] | null | null | null | logo = ("""
Placement numbers
~~~~~~~~~~~~~~~~~
00 | 01 | 02
---|----|----
10 | 11 | 12
---|----|----
20 | 21 | 22
""")
| 11 | 17 | 0.31405 | 12 | 121 | 3.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.206612 | 121 | 10 | 18 | 12.1 | 0.208333 | 0 | 0 | 0.222222 | 0 | 0 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3840163fad1f94925167f05c2e645dc26293e4ad | 512 | py | Python | blockchain/serializers.py | pincoin/blockchain-example | afd5ddf84851b6c8b40da89ff90fbe7577923b26 | [
"MIT"
] | null | null | null | blockchain/serializers.py | pincoin/blockchain-example | afd5ddf84851b6c8b40da89ff90fbe7577923b26 | [
"MIT"
] | 7 | 2019-12-04T23:36:31.000Z | 2021-06-09T18:01:13.000Z | blockchain/serializers.py | pincoin/pincoin-bak | afd5ddf84851b6c8b40da89ff90fbe7577923b26 | [
"MIT"
] | null | null | null | from rest_framework import serializers
class BlockSerializer(serializers.Serializer):
index = serializers.IntegerField(required=False)
data = serializers.CharField()
difficulty = serializers.IntegerField()
nonce = serializers.IntegerField()
timestamp = serializers.IntegerField(required=False)
... | 32 | 63 | 0.78125 | 47 | 512 | 8.446809 | 0.468085 | 0.231738 | 0.156171 | 0.18136 | 0.186398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 512 | 15 | 64 | 34.133333 | 0.894144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6975f5eef93e57043f585b28ce5005a404a77783 | 23 | py | Python | Lib/idlelib/idlever.py | Scrat7/my-first-blog | d779efdc22f84049bf4155bf867802a9f7118156 | [
"bzip2-1.0.6"
] | 1 | 2019-05-13T09:52:57.000Z | 2019-05-13T09:52:57.000Z | Lib/idlelib/idlever.py | Scrat7/my-first-blog | d779efdc22f84049bf4155bf867802a9f7118156 | [
"bzip2-1.0.6"
] | null | null | null | Lib/idlelib/idlever.py | Scrat7/my-first-blog | d779efdc22f84049bf4155bf867802a9f7118156 | [
"bzip2-1.0.6"
] | 1 | 2018-07-17T12:46:22.000Z | 2018-07-17T12:46:22.000Z | IDLE_VERSION = "3.4.3"
| 11.5 | 22 | 0.652174 | 5 | 23 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6988c12acaeefee6e7b697fe7568c4f215e872dc | 434 | py | Python | spider/__init__.py | humingk/douban_movie_spider | ffba2eba15dbe32bc326dfd8da0e65196abf23e0 | [
"MIT"
] | null | null | null | spider/__init__.py | humingk/douban_movie_spider | ffba2eba15dbe32bc326dfd8da0e65196abf23e0 | [
"MIT"
] | null | null | null | spider/__init__.py | humingk/douban_movie_spider | ffba2eba15dbe32bc326dfd8da0e65196abf23e0 | [
"MIT"
] | null | null | null | #..................................................
# File Name : __init__.py
# Author : HuMingJun
# Mail : humingk@qq.com
# QQ : 764824480
# Created Time : Wed 10 Otc 2018 11:59:31 AM DST
# Last Modified : Fri 21 Dec 2018 10:24:51 AM DST
#............................................ | 39.454545 | 54 | 0.497696 | 46 | 434 | 4.608696 | 0.847826 | 0.04717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09621 | 0.209677 | 434 | 11 | 55 | 39.454545 | 0.521866 | 0.707373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
69952385af093798ab06b00ff26a2f9dc4f0490c | 57 | py | Python | mmdet/models/anchor_heads/__init__.py | JwDong2019/CVWC-2019-FCOS | 9c343dc820aea7bc79ee0b8206527fa48ebf106f | [
"Apache-2.0"
] | null | null | null | mmdet/models/anchor_heads/__init__.py | JwDong2019/CVWC-2019-FCOS | 9c343dc820aea7bc79ee0b8206527fa48ebf106f | [
"Apache-2.0"
] | null | null | null | mmdet/models/anchor_heads/__init__.py | JwDong2019/CVWC-2019-FCOS | 9c343dc820aea7bc79ee0b8206527fa48ebf106f | [
"Apache-2.0"
] | null | null | null | from .fcos_head import FCOSHead
__all__ = ['FCOSHead',]
| 14.25 | 31 | 0.736842 | 7 | 57 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 3 | 32 | 19 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.