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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
404b7dbee2461d1b57e4fc3525a23a690d0a3335 | 1,297 | py | Python | blocksim/models/permissoned_transaction_queue.py | Jiali-Xing/Talaria | a6777ade8db8a5c4897a881a97a1513ad625de66 | [
"MIT"
] | 5 | 2021-04-06T03:06:26.000Z | 2022-03-29T04:11:03.000Z | blocksim/models/permissoned_transaction_queue.py | Jiali-Xing/Talaria | a6777ade8db8a5c4897a881a97a1513ad625de66 | [
"MIT"
] | null | null | null | blocksim/models/permissoned_transaction_queue.py | Jiali-Xing/Talaria | a6777ade8db8a5c4897a881a97a1513ad625de66 | [
"MIT"
] | 2 | 2021-08-03T19:06:30.000Z | 2022-01-17T18:55:24.000Z | from collections import OrderedDict
# from collections import deque
# from blocksim.utils import time
class TransactionQueue():
def __init__(self, env, node, consensus):
self._env = env
self._node = node
self._consensus = consensus
self._transaction_queue = OrderedDict()
ke... | 31.634146 | 97 | 0.660756 | 176 | 1,297 | 4.670455 | 0.386364 | 0.127737 | 0.170316 | 0.046229 | 0.284672 | 0.284672 | 0.121655 | 0.121655 | 0.121655 | 0.121655 | 0 | 0.004107 | 0.249036 | 1,297 | 40 | 98 | 32.425 | 0.839836 | 0.203547 | 0 | 0 | 0 | 0 | 0.089581 | 0.089581 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.307692 | false | 0 | 0.038462 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
408660cef1d6a7c0f50b2bd48a78daa85aa03c30 | 320 | py | Python | tests/test_spam/test_envio_para_base_de_usuarios.py | guyrux/PyTools-API-GitHub | 39c638c130c44ce80e854b969694104c6688368e | [
"MIT"
] | null | null | null | tests/test_spam/test_envio_para_base_de_usuarios.py | guyrux/PyTools-API-GitHub | 39c638c130c44ce80e854b969694104c6688368e | [
"MIT"
] | 14 | 2021-02-20T21:26:41.000Z | 2021-03-30T03:43:39.000Z | tests/test_spam/test_envio_para_base_de_usuarios.py | guyrux/PyTools-API-GitHub | 39c638c130c44ce80e854b969694104c6688368e | [
"MIT"
] | null | null | null | from libpythonpro_github.spam.enviador_de_email import Enviador
from libpythonpro_github.spam.main import EnviadorDeSpam
def test_envio_de_spam(sessao):
enviador_de_spam = EnviadorDeSpam(sessao, Enviador())
enviador_de_spam.envia_emails('guyrux@gmail.com', 'Curso Python Pro', 'Testando essa parte do codigo')
| 40 | 106 | 0.815625 | 44 | 320 | 5.659091 | 0.613636 | 0.120482 | 0.176707 | 0.208835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103125 | 320 | 7 | 107 | 45.714286 | 0.867596 | 0 | 0 | 0 | 0 | 0 | 0.190625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
40ccad18ad316ca4fbe39a342d0091ef05f86ad7 | 90 | py | Python | quizmake/blank.py | jnguyen1098/quizmake | 760f59b06b3c574ac176305deeaa13d077080e64 | [
"0BSD"
] | 1 | 2021-06-21T21:51:44.000Z | 2021-06-21T21:51:44.000Z | quizmake/blank.py | jnguyen1098/quizmake | 760f59b06b3c574ac176305deeaa13d077080e64 | [
"0BSD"
] | 8 | 2020-06-19T13:30:57.000Z | 2021-04-15T20:07:33.000Z | quizmake/blank.py | jnguyen1098/quizmake | 760f59b06b3c574ac176305deeaa13d077080e64 | [
"0BSD"
] | null | null | null | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Name this module.
This is blank
"""
| 10 | 23 | 0.566667 | 13 | 90 | 3.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.2 | 90 | 8 | 24 | 11.25 | 0.680556 | 0.855556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dc0f258c3e142fc9e3b7a389b161a00a8564b8e3 | 120 | py | Python | desafio01.py | bruno-victor32/Curso-de-Python---Mundo-1-Fundamentos | 4ff929a5e0137ee9d1bcbc36636a4c9b143a77fa | [
"MIT"
] | null | null | null | desafio01.py | bruno-victor32/Curso-de-Python---Mundo-1-Fundamentos | 4ff929a5e0137ee9d1bcbc36636a4c9b143a77fa | [
"MIT"
] | null | null | null | desafio01.py | bruno-victor32/Curso-de-Python---Mundo-1-Fundamentos | 4ff929a5e0137ee9d1bcbc36636a4c9b143a77fa | [
"MIT"
] | null | null | null | nome = input ('Digite o seu nome, por favor!')
print('======== DESAFIO 01 ========')
print(nome , 'seja bem-vindo!!!')
| 30 | 46 | 0.55 | 16 | 120 | 4.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.15 | 120 | 3 | 47 | 40 | 0.627451 | 0 | 0 | 0 | 0 | 0 | 0.616667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
dc13d8a32d17f452c0ee9d3e128d3cd82b17e7e0 | 607 | py | Python | foundations/paths.py | chenw23/open_lth | 2ce732fe48abd5a80c10a153c45d397b048e980c | [
"MIT"
] | 509 | 2020-05-07T16:45:46.000Z | 2022-03-28T13:41:36.000Z | foundations/paths.py | chenw23/open_lth | 2ce732fe48abd5a80c10a153c45d397b048e980c | [
"MIT"
] | 12 | 2020-06-10T10:07:09.000Z | 2022-02-03T01:57:32.000Z | foundations/paths.py | chenw23/open_lth | 2ce732fe48abd5a80c10a153c45d397b048e980c | [
"MIT"
] | 103 | 2020-05-07T21:40:06.000Z | 2022-03-11T19:07:55.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import os
def checkpoint(root): return os.path.join(root, 'checkpoint.pth')
def logger(root): return os.path.join(root, 'logger')
def mas... | 24.28 | 96 | 0.728171 | 100 | 607 | 4.38 | 0.43 | 0.109589 | 0.164384 | 0.219178 | 0.319635 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131796 | 607 | 24 | 97 | 25.291667 | 0.83112 | 0.276771 | 0 | 0 | 0 | 0 | 0.17931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.857143 | false | 0 | 0.142857 | 0.857143 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
dc192a2f8597515973d310e3d1083d381081a3f4 | 37,480 | py | Python | TreesSegmentTests.py | LeoUfimtsev/PythonStudy | 80ab01686648085fd500cb96e54584b9d3dcdbba | [
"Apache-2.0"
] | null | null | null | TreesSegmentTests.py | LeoUfimtsev/PythonStudy | 80ab01686648085fd500cb96e54584b9d3dcdbba | [
"Apache-2.0"
] | null | null | null | TreesSegmentTests.py | LeoUfimtsev/PythonStudy | 80ab01686648085fd500cb96e54584b9d3dcdbba | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from unittest import skip, skipIf
from TreesSegment import *
from itertools import combinations
import random
class stTest(TestCase):
#######
# Tests cases for correctness of Solution
#######
T0 = [2, 5, 1, 4, 9, 3]
T1 = [26, 5, 20, 23, 44, 17, 17, 4, 50, 9] # i=0 j=... | 150.522088 | 6,907 | 0.59421 | 6,564 | 37,480 | 3.355271 | 0.369744 | 0.003996 | 0.010443 | 0.004768 | 0.170904 | 0.163049 | 0.156511 | 0.143071 | 0.133809 | 0.1334 | 0 | 0.570253 | 0.208911 | 37,480 | 248 | 6,908 | 151.129032 | 0.172546 | 0.193517 | 0 | 0.566434 | 0 | 0 | 0.018684 | 0.004721 | 0 | 0 | 0 | 0.004032 | 0.062937 | 1 | 0.13986 | false | 0.020979 | 0.034965 | 0 | 0.237762 | 0.062937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90a3a7046dba696b500543344f552d5e48c95b09 | 183 | py | Python | parsing/exceptions.py | davesque/parsing.py | ff8b20e53b94e79571971ef23f0e5091e2786566 | [
"MIT"
] | 1 | 2020-11-14T13:06:42.000Z | 2020-11-14T13:06:42.000Z | parsing/exceptions.py | davesque/parsing.py | ff8b20e53b94e79571971ef23f0e5091e2786566 | [
"MIT"
] | null | null | null | parsing/exceptions.py | davesque/parsing.py | ff8b20e53b94e79571971ef23f0e5091e2786566 | [
"MIT"
] | null | null | null | class ParseError(Exception):
pass
class NotEnoughInputError(ParseError):
pass
class ImproperInputError(ParseError):
pass
class PlaceholderError(Exception):
pass
| 12.2 | 38 | 0.748634 | 16 | 183 | 8.5625 | 0.4375 | 0.19708 | 0.277372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185792 | 183 | 14 | 39 | 13.071429 | 0.919463 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
90b4ef5432ba6667039b82c4d8cf114cdc1b742c | 625 | py | Python | Syclop_e-prop-rl/testop.py | eldadassa/eligibility_propagation | 6ca02ab509785e40c01161f8aa23ef60c49887bb | [
"BSD-3-Clause"
] | null | null | null | Syclop_e-prop-rl/testop.py | eldadassa/eligibility_propagation | 6ca02ab509785e40c01161f8aa23ef60c49887bb | [
"BSD-3-Clause"
] | null | null | null | Syclop_e-prop-rl/testop.py | eldadassa/eligibility_propagation | 6ca02ab509785e40c01161f8aa23ef60c49887bb | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import tensorflow as tf
dir_path = os.path.dirname(os.path.realpath(__file__))
_tst_module = tf.load_op_library(os.path.join(dir_path, 'tfoptest.so'))
def _game_dir():
return os.path.join(os.pat... | 31.25 | 100 | 0.776 | 97 | 625 | 4.525773 | 0.402062 | 0.095672 | 0.109339 | 0.072893 | 0.236902 | 0.150342 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1072 | 625 | 19 | 101 | 32.894737 | 0.786738 | 0 | 0 | 0 | 0 | 0 | 0.030449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.384615 | 0.230769 | 0.846154 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
90c75150f46f0c55fe5a2ff04097af88200c3d26 | 261 | py | Python | thomas/magic_coins1.py | thomas-siwoo/python-edu | cf6dc09b98383e2b4117f33239155d94426a6200 | [
"Apache-2.0"
] | null | null | null | thomas/magic_coins1.py | thomas-siwoo/python-edu | cf6dc09b98383e2b4117f33239155d94426a6200 | [
"Apache-2.0"
] | null | null | null | thomas/magic_coins1.py | thomas-siwoo/python-edu | cf6dc09b98383e2b4117f33239155d94426a6200 | [
"Apache-2.0"
] | null | null | null | found_coins = 20
magic_coins = 10
stolen_coins = 3
print(found_coins + magic_coins * 365 - stolen_coins * 52)
stolen_coins = 2
print(found_coins + magic_coins * 365 - stolen_coins * 52)
magic_coins = 13
print(found_coins + magic_coins * 365 - stolen_coins * 52) | 32.625 | 58 | 0.754789 | 42 | 261 | 4.357143 | 0.285714 | 0.273224 | 0.245902 | 0.327869 | 0.672131 | 0.672131 | 0.672131 | 0.672131 | 0.672131 | 0 | 0 | 0.104545 | 0.157088 | 261 | 8 | 59 | 32.625 | 0.727273 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90e20145840b40d80ad3c66c76626873c3b4e478 | 92 | py | Python | fechbase.py | h4ck3rm1k3/FEC-Field-Documentation | c2f1f36e14c67ac3656c09f801b9f595d3e9f92e | [
"Unlicense"
] | 1 | 2016-06-13T23:54:31.000Z | 2016-06-13T23:54:31.000Z | fechbase.py | h4ck3rm1k3/FEC-Field-Documentation | c2f1f36e14c67ac3656c09f801b9f595d3e9f92e | [
"Unlicense"
] | null | null | null | fechbase.py | h4ck3rm1k3/FEC-Field-Documentation | c2f1f36e14c67ac3656c09f801b9f595d3e9f92e | [
"Unlicense"
] | 1 | 2019-07-03T10:35:19.000Z | 2019-07-03T10:35:19.000Z | class RecordsBase:
pass
class VersionBase:
pass
class VersionsBase:
pass
| 8.363636 | 19 | 0.663043 | 9 | 92 | 6.777778 | 0.555556 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 92 | 10 | 20 | 9.2 | 0.953125 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
90e418c67603c1501d61c49b20542048b638bc32 | 22 | py | Python | amazon_dash/__init__.py | luke255/amazon-dash | c3642e6c0e6eba889772bab2e604bc245902532e | [
"MIT"
] | 765 | 2016-11-17T03:13:10.000Z | 2022-03-31T22:48:14.000Z | amazon_dash/__init__.py | luke255/amazon-dash | c3642e6c0e6eba889772bab2e604bc245902532e | [
"MIT"
] | 171 | 2016-12-02T23:56:44.000Z | 2022-03-09T23:46:09.000Z | amazon_dash/__init__.py | luke255/amazon-dash | c3642e6c0e6eba889772bab2e604bc245902532e | [
"MIT"
] | 77 | 2016-11-17T12:02:30.000Z | 2022-03-09T20:53:46.000Z |
__version__ = '1.4.0' | 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 2 | 21 | 11 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
29151dccc58d4305ab4c36324410e059bfa62664 | 5,172 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QMdiArea.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QMdiArea.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QMdiArea.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
from QAbstractScrollArea import QAbstractScrollArea
class QMdiArea(QAbstractScrollArea):
# no doc
def ac... | 30.97006 | 106 | 0.663766 | 551 | 5,172 | 6.185118 | 0.199637 | 0.171655 | 0.264085 | 0.232394 | 0.565434 | 0.559859 | 0.549883 | 0.538732 | 0 | 0 | 0 | 0.005532 | 0.231052 | 5,172 | 166 | 107 | 31.156627 | 0.851396 | 0.306071 | 0 | 0.424528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.424528 | false | 0.424528 | 0.028302 | 0 | 0.566038 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
29440568b89336f9205b59959743ed4c1fc0a1b9 | 479 | py | Python | setup.py | kbdancer/WIFIHTTPMonitor | a9bff2c0a19cc98d1187fe06ec3faffe74f6bb3b | [
"MIT"
] | 30 | 2016-06-30T17:02:40.000Z | 2021-09-01T13:56:36.000Z | setup.py | jiuge10235/WIFIHTTPMonitor-1 | a9bff2c0a19cc98d1187fe06ec3faffe74f6bb3b | [
"MIT"
] | 1 | 2018-05-05T01:05:27.000Z | 2018-05-05T01:05:27.000Z | setup.py | jiuge10235/WIFIHTTPMonitor-1 | a9bff2c0a19cc98d1187fe06ec3faffe74f6bb3b | [
"MIT"
] | 19 | 2016-10-15T14:55:19.000Z | 2021-03-20T08:47:53.000Z | #!/usr/bin/env python
# coding=utf-8
# code by 92ez.com
import os
os.system('apt-get update && apt-get dist-upgrade -y')
os.system('apt-get install python-dev -y')
os.system('apt-get install gcc -y')
os.system('apt-get install rfkill -y')
os.system('apt-get -y install isc-dhcp-server')
os.system('wget https://bootstr... | 28.176471 | 54 | 0.705637 | 89 | 479 | 3.797753 | 0.426966 | 0.236686 | 0.162722 | 0.207101 | 0.485207 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.104384 | 479 | 16 | 55 | 29.9375 | 0.780886 | 0.104384 | 0 | 0 | 0 | 0 | 0.63615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
297452a2dc3150e0499443ff44e5617750d7b329 | 35,234 | py | Python | openstackclient/tests/unit/common/test_quota.py | BeyondTheClouds/python-openstackclient | 45af14ca72b44c03f14189ac61a29253faf03bd7 | [
"Apache-2.0"
] | 5 | 2015-02-26T18:03:07.000Z | 2017-05-01T20:17:20.000Z | openstackclient/tests/unit/common/test_quota.py | BeyondTheClouds/python-openstackclient | 45af14ca72b44c03f14189ac61a29253faf03bd7 | [
"Apache-2.0"
] | null | null | null | openstackclient/tests/unit/common/test_quota.py | BeyondTheClouds/python-openstackclient | 45af14ca72b44c03f14189ac61a29253faf03bd7 | [
"Apache-2.0"
] | 1 | 2020-07-21T02:18:23.000Z | 2020-07-21T02:18:23.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distrib... | 36.286303 | 79 | 0.611199 | 3,796 | 35,234 | 5.363014 | 0.068757 | 0.054819 | 0.031437 | 0.024855 | 0.81005 | 0.757393 | 0.700216 | 0.668681 | 0.642745 | 0.628009 | 0 | 0.004142 | 0.280553 | 35,234 | 970 | 80 | 36.323711 | 0.798966 | 0.031021 | 0 | 0.524044 | 0 | 0 | 0.101258 | 0.011052 | 0 | 0 | 0 | 0 | 0.077682 | 1 | 0.036991 | false | 0 | 0.01233 | 0.001233 | 0.062885 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
464bf9c2bd90d28c4a59f439cb93b4cbbca0ea68 | 93 | py | Python | situs/jualtiket/apps.py | torikwer/django-penj-tiket | 846ef20d74700f798922f2364df7736b5e41bb82 | [
"MIT"
] | null | null | null | situs/jualtiket/apps.py | torikwer/django-penj-tiket | 846ef20d74700f798922f2364df7736b5e41bb82 | [
"MIT"
] | null | null | null | situs/jualtiket/apps.py | torikwer/django-penj-tiket | 846ef20d74700f798922f2364df7736b5e41bb82 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class JualtiketConfig(AppConfig):
name = 'jualtiket'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
46597193ce6ad827ece1d139f1b90548a7405219 | 200 | py | Python | bookmarks/common/utils.py | mp5maker/django | a2d38e2e9973e755afce1bd0ccb17e58f3db7e33 | [
"MIT"
] | null | null | null | bookmarks/common/utils.py | mp5maker/django | a2d38e2e9973e755afce1bd0ccb17e58f3db7e33 | [
"MIT"
] | 13 | 2020-02-12T00:14:20.000Z | 2022-02-10T08:46:42.000Z | bookmarks/common/utils.py | mp5maker/django | a2d38e2e9973e755afce1bd0ccb17e58f3db7e33 | [
"MIT"
] | null | null | null | from django.conf import settings
import redis
def redis_cache():
return redis.StrictRedis(
host=settings.REDIS_HOST,
port=settings.REDIS_PORT,
db=settings.REDIS_DB
)
| 18.181818 | 33 | 0.685 | 25 | 200 | 5.32 | 0.52 | 0.293233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 200 | 10 | 34 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.25 | 0.125 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
46686e05640bc79046c5454375212624714448e4 | 125 | bzl | Python | test/implementation_deps/aspect.bzl | Vertexwahn/depend_on_what_you_use | 480732677a74fb7033848004d4d5015af0ad36c5 | [
"MIT"
] | 8 | 2022-03-08T06:27:38.000Z | 2022-03-20T21:21:43.000Z | test/implementation_deps/aspect.bzl | Vertexwahn/depend_on_what_you_use | 480732677a74fb7033848004d4d5015af0ad36c5 | [
"MIT"
] | 11 | 2022-03-17T18:53:02.000Z | 2022-03-28T21:15:02.000Z | test/implementation_deps/aspect.bzl | Vertexwahn/depend_on_what_you_use | 480732677a74fb7033848004d4d5015af0ad36c5 | [
"MIT"
] | 1 | 2022-03-08T06:27:43.000Z | 2022-03-08T06:27:43.000Z | load("//:defs.bzl", "dwyu_aspect_factory")
implementation_deps_aspect = dwyu_aspect_factory(use_implementation_deps = True)
| 31.25 | 80 | 0.816 | 16 | 125 | 5.875 | 0.625 | 0.212766 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064 | 125 | 3 | 81 | 41.666667 | 0.803419 | 0 | 0 | 0 | 0 | 0 | 0.24 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46758b805ec12e12c3e6e78a3d6027161ecc2756 | 199 | py | Python | pixplot/__init__.py | invisiblearchitects/pix-plot | a3364810adf6a5c9cbd35bb35baca23707e61c70 | [
"MIT"
] | 405 | 2017-12-22T16:34:26.000Z | 2022-03-17T08:02:52.000Z | pixplot/__init__.py | invisiblearchitects/pix-plot | a3364810adf6a5c9cbd35bb35baca23707e61c70 | [
"MIT"
] | 125 | 2017-12-13T20:10:51.000Z | 2022-03-22T20:53:59.000Z | pixplot/__init__.py | invisiblearchitects/pix-plot | a3364810adf6a5c9cbd35bb35baca23707e61c70 | [
"MIT"
] | 120 | 2017-12-19T18:18:31.000Z | 2022-03-29T20:42:51.000Z | from __future__ import absolute_import
from pixplot.pixplot import process_images, parse
# specify version number
import pkg_resources
__version__ = pkg_resources.get_distribution('pixplot').version | 33.166667 | 63 | 0.859296 | 25 | 199 | 6.32 | 0.6 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090452 | 199 | 6 | 63 | 33.166667 | 0.872928 | 0.110553 | 0 | 0 | 0 | 0 | 0.039773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4696983ee9d02319104bc75a60f9280643b60f20 | 359 | py | Python | admin.py | SyntaxBlitz/bridie | e363bbf55038874f89fdea7f44b8ff790460ed85 | [
"MIT"
] | null | null | null | admin.py | SyntaxBlitz/bridie | e363bbf55038874f89fdea7f44b8ff790460ed85 | [
"MIT"
] | null | null | null | admin.py | SyntaxBlitz/bridie | e363bbf55038874f89fdea7f44b8ff790460ed85 | [
"MIT"
] | null | null | null | from django.contrib import admin
from mysite.bridie.models import User, Post, Comment
# Register your models here.
class UserAdmin(admin.ModelAdmin):
pass
class PostAdmin(admin.ModelAdmin):
pass
class CommentAdmin(admin.ModelAdmin):
pass
admin.site.register(User, UserAdmin)
admin.site.register(Post, PostAdmin)
admi... | 25.642857 | 52 | 0.810585 | 47 | 359 | 6.191489 | 0.446809 | 0.154639 | 0.195876 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094708 | 359 | 13 | 53 | 27.615385 | 0.895385 | 0.072423 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.272727 | 0.181818 | 0 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
469cf7055b3a2338d20b98e05b0bd3e9028c393b | 1,246 | py | Python | processing/dbconnfactory.py | paganellif/sctm-project-paganelli-2021 | 810d9a82c653db8ec9db117c57f35b64cc14aaaf | [
"MIT"
] | null | null | null | processing/dbconnfactory.py | paganellif/sctm-project-paganelli-2021 | 810d9a82c653db8ec9db117c57f35b64cc14aaaf | [
"MIT"
] | null | null | null | processing/dbconnfactory.py | paganellif/sctm-project-paganelli-2021 | 810d9a82c653db8ec9db117c57f35b64cc14aaaf | [
"MIT"
] | null | null | null | from processing.dbconnectorimpl import *
class DBConnAbstractFactory(ABC):
@abstractmethod
def create_manager_db_connector(self) -> DBManagerConnector:
"""
:return:
"""
pass
@abstractmethod
def create_trigger_db_connector(self) -> DBTriggerConnector:
"""
... | 24.431373 | 72 | 0.676565 | 104 | 1,246 | 7.817308 | 0.326923 | 0.088561 | 0.147601 | 0.099631 | 0.627306 | 0.560886 | 0.560886 | 0.560886 | 0.140221 | 0 | 0 | 0 | 0.233547 | 1,246 | 50 | 73 | 24.92 | 0.851309 | 0.02809 | 0 | 0.695652 | 0 | 0 | 0.044883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0.173913 | 0.043478 | 0.173913 | 0.652174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
46a6dc0ba69e186f68a42a6a2049d2dc327b2695 | 163 | py | Python | djangoProject/myapp/forms.py | logikonabstractions/django_tplt_dockerized | 8f35d78f3c5bff0af2d9b8c3bfaba7dc60413cd3 | [
"MIT"
] | null | null | null | djangoProject/myapp/forms.py | logikonabstractions/django_tplt_dockerized | 8f35d78f3c5bff0af2d9b8c3bfaba7dc60413cd3 | [
"MIT"
] | null | null | null | djangoProject/myapp/forms.py | logikonabstractions/django_tplt_dockerized | 8f35d78f3c5bff0af2d9b8c3bfaba7dc60413cd3 | [
"MIT"
] | null | null | null | from django import forms
from .models import ImageModel
class UploadForm(forms.ModelForm):
class Meta:
model = ImageModel
fields = ('file',)
| 18.111111 | 34 | 0.674847 | 18 | 163 | 6.111111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245399 | 163 | 8 | 35 | 20.375 | 0.894309 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d3bb1be867a978d871e1dc24d49e8afeb4de7708 | 599 | py | Python | src/secWrap.py | fausecteam/faustctf-2017-tempsense | 52ccf4654a8a430c976ded0ba9149b234e8f420a | [
"ISC"
] | null | null | null | src/secWrap.py | fausecteam/faustctf-2017-tempsense | 52ccf4654a8a430c976ded0ba9149b234e8f420a | [
"ISC"
] | null | null | null | src/secWrap.py | fausecteam/faustctf-2017-tempsense | 52ccf4654a8a430c976ded0ba9149b234e8f420a | [
"ISC"
] | 1 | 2018-09-23T19:15:25.000Z | 2018-09-23T19:15:25.000Z | from subprocess import check_output
ENCODING = 'utf-8'
def generate_key_pair():
output = check_output(['./secure', '-g']).decode(ENCODING)
public_key = output.split('-----END PUBLIC KEY-----')[0] + '-----END PUBLIC KEY-----'
private_key = output.split('-----END PUBLIC KEY-----')[1].lstrip('\n')
return... | 33.277778 | 100 | 0.627713 | 79 | 599 | 4.632911 | 0.417722 | 0.122951 | 0.139344 | 0.092896 | 0.508197 | 0.508197 | 0.36612 | 0 | 0 | 0 | 0 | 0.005803 | 0.136895 | 599 | 17 | 101 | 35.235294 | 0.702128 | 0 | 0 | 0 | 1 | 0 | 0.228715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d3ceecdba4e43dcf6b4429f7ae41b1e50e3813c2 | 79 | py | Python | custom_errors.py | LincT/PythonExamples | a0b61e8c60cd0754f2406b6b72fcd562667c9bb0 | [
"MIT"
] | null | null | null | custom_errors.py | LincT/PythonExamples | a0b61e8c60cd0754f2406b6b72fcd562667c9bb0 | [
"MIT"
] | null | null | null | custom_errors.py | LincT/PythonExamples | a0b61e8c60cd0754f2406b6b72fcd562667c9bb0 | [
"MIT"
] | null | null | null | class NameTooShortError(ValueError):
pass
raise NameTooShortError("foo")
| 13.166667 | 36 | 0.772152 | 7 | 79 | 8.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 5 | 37 | 15.8 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d3d3b2d097890f412754763758219e5ccb3d29f8 | 93 | py | Python | python/491.increasing-subsequences.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | python/491.increasing-subsequences.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | python/491.increasing-subsequences.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | class Solution:
def findSubsequences(self, nums: List[int]) -> List[List[int]]:
| 23.25 | 67 | 0.623656 | 11 | 93 | 5.272727 | 0.727273 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 93 | 3 | 68 | 31 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3101b3084e66d4c8bf1b6330b295cf7b01c898db | 19 | py | Python | src/kalam/parsers/base.py | AnkCorp/kalam | 6ba5b9dfcd20a8e57eaa1942f3d2650f3579dc0c | [
"MIT"
] | null | null | null | src/kalam/parsers/base.py | AnkCorp/kalam | 6ba5b9dfcd20a8e57eaa1942f3d2650f3579dc0c | [
"MIT"
] | null | null | null | src/kalam/parsers/base.py | AnkCorp/kalam | 6ba5b9dfcd20a8e57eaa1942f3d2650f3579dc0c | [
"MIT"
] | null | null | null | """Base parser."""
| 9.5 | 18 | 0.526316 | 2 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 1 | 19 | 19 | 0.588235 | 0.631579 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3132f82fd8df9657acd829150df2d60b246de33a | 228 | py | Python | sorting/insertionSort.py | saketvikram/algorithms-ds-in-python | 8b100182df8fcc4350b2458f2148481c7e0fb043 | [
"MIT"
] | null | null | null | sorting/insertionSort.py | saketvikram/algorithms-ds-in-python | 8b100182df8fcc4350b2458f2148481c7e0fb043 | [
"MIT"
] | null | null | null | sorting/insertionSort.py | saketvikram/algorithms-ds-in-python | 8b100182df8fcc4350b2458f2148481c7e0fb043 | [
"MIT"
] | null | null | null | def insertionSort(array):
for i in range(1, len(array)):
j = i
while j > 0 and array[j] < array[ j - 1]:
swap(j, j - 1, array)
j -= 1
return array
def swap(i, j, array):
array[i], array[j] = array[j], array[i] | 22.8 | 43 | 0.565789 | 43 | 228 | 3 | 0.348837 | 0.27907 | 0.255814 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.254386 | 228 | 10 | 44 | 22.8 | 0.729412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31865532c16a9dde112b48976332e0db2af46371 | 402 | py | Python | robot_stub/Bot.py | jernaumorat/IntelligentPantry | 33d1ee867a5b6e0169fb44918069fbec5bfde259 | [
"MIT"
] | null | null | null | robot_stub/Bot.py | jernaumorat/IntelligentPantry | 33d1ee867a5b6e0169fb44918069fbec5bfde259 | [
"MIT"
] | null | null | null | robot_stub/Bot.py | jernaumorat/IntelligentPantry | 33d1ee867a5b6e0169fb44918069fbec5bfde259 | [
"MIT"
] | 1 | 2021-11-11T09:25:34.000Z | 2021-11-11T09:25:34.000Z | from abc import ABC, abstractmethod
class Bot(ABC):
@abstractmethod
def moveTo(self , x , y):
pass
# get robot camera image of pantry
@abstractmethod
def getImage(self):
pass
# scan pantry
@abstractmethod
def scan(self):
pass
# system state scan /id... | 19.142857 | 43 | 0.597015 | 45 | 402 | 5.333333 | 0.6 | 0.283333 | 0.191667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338308 | 402 | 21 | 44 | 19.142857 | 0.902256 | 0.20398 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.071429 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
318f0188b22d3b4873dbabd32ffd6b1a50e8460e | 88 | py | Python | blog/admin.py | KaptanSingh2020/pyblog | 5b0af8dce4b1c324f0384f27f7331c156e9ad51e | [
"MIT"
] | 1 | 2016-04-04T11:49:26.000Z | 2016-04-04T11:49:26.000Z | blog/admin.py | KaptanSingh2020/pyblog | 5b0af8dce4b1c324f0384f27f7331c156e9ad51e | [
"MIT"
] | null | null | null | blog/admin.py | KaptanSingh2020/pyblog | 5b0af8dce4b1c324f0384f27f7331c156e9ad51e | [
"MIT"
] | 3 | 2021-08-10T19:00:18.000Z | 2021-08-11T00:53:09.000Z | from django.contrib import admin
from blog.models import Post
admin.site.register(Post) | 22 | 32 | 0.829545 | 14 | 88 | 5.214286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 88 | 4 | 33 | 22 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
31a8a69f73306fdf3fb0a3453760dcdb363b3a65 | 1,941 | py | Python | application/controller.py | THTatsuishi/finite-group-analyzer | fc8d4174849196ae81a3063eb67623857df01f58 | [
"MIT"
] | 2 | 2021-01-28T04:46:11.000Z | 2021-09-18T19:35:18.000Z | application/controller.py | THTatsuishi/finite-group-analyzer | fc8d4174849196ae81a3063eb67623857df01f58 | [
"MIT"
] | 1 | 2021-02-13T13:06:45.000Z | 2021-02-13T14:12:04.000Z | application/controller.py | THTatsuishi/finite-group-analyzer | fc8d4174849196ae81a3063eb67623857df01f58 | [
"MIT"
] | null | null | null | """
アプリ制御用のモジュール。
"""
from abc import ABCMeta
from abc import abstractmethod
class Controller(metaclass = ABCMeta):
"""
コントローラー。
画面部分や計算部分をつなぐための抽象クラス。
"""
@abstractmethod
def message(self, text: str):
"""
メッセージを表示。
Parameters
----------
text : st... | 16.310924 | 39 | 0.478104 | 150 | 1,941 | 6.12 | 0.28 | 0.122004 | 0.143791 | 0.087146 | 0.441176 | 0.40305 | 0.118736 | 0 | 0 | 0 | 0 | 0 | 0.396188 | 1,941 | 118 | 40 | 16.449153 | 0.783276 | 0.257599 | 0 | 0.764706 | 0 | 0 | 0.00391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.205882 | 0.058824 | 0 | 0.529412 | 0.147059 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
31ae318ab673e4a6f8c6ada9eed9e00dc2f89382 | 107 | py | Python | __init__.py | arjun-namdeo/logIO | 3bb06c0d7d0a45486bc2c82900fb116d8d75fb4c | [
"MIT"
] | null | null | null | __init__.py | arjun-namdeo/logIO | 3bb06c0d7d0a45486bc2c82900fb116d8d75fb4c | [
"MIT"
] | null | null | null | __init__.py | arjun-namdeo/logIO | 3bb06c0d7d0a45486bc2c82900fb116d8d75fb4c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Custom Logging IO
"""
from logIO.setupLogging import *
| 11.888889 | 32 | 0.626168 | 14 | 107 | 4.785714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.168224 | 107 | 8 | 33 | 13.375 | 0.741573 | 0.560748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
31cf7aca33008871bbf01f7814a2cf99f7be749f | 214 | py | Python | simple_discrete_game/simple_discrete_game/__init__.py | sen-pai/pygame2gym | 1c8bc1422c1f3fb80054e77c03362e7eca2ef461 | [
"MIT"
] | 1 | 2020-11-04T18:02:13.000Z | 2020-11-04T18:02:13.000Z | simple_discrete_game/simple_discrete_game/__init__.py | sen-pai/pygame2gym | 1c8bc1422c1f3fb80054e77c03362e7eca2ef461 | [
"MIT"
] | null | null | null | simple_discrete_game/simple_discrete_game/__init__.py | sen-pai/pygame2gym | 1c8bc1422c1f3fb80054e77c03362e7eca2ef461 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(id="GoalGrid-v0", entry_point="simple_discrete_game.envs:GoalGridEnv")
# register(id="BubbleShooter-v0", entry_point="gym_bubbleshooter.envs:BubbleShooterEnv")
| 35.666667 | 88 | 0.82243 | 27 | 214 | 6.333333 | 0.62963 | 0.116959 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009852 | 0.051402 | 214 | 5 | 89 | 42.8 | 0.832512 | 0.401869 | 0 | 0 | 0 | 0 | 0.380952 | 0.293651 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
31e4c30873b6505cec7ea8b9facb2088275994cd | 252 | py | Python | app/forms.py | natcowan/pairify | 3855f1c91aee19b294faed4fe3f479804dda3067 | [
"MIT"
] | null | null | null | app/forms.py | natcowan/pairify | 3855f1c91aee19b294faed4fe3f479804dda3067 | [
"MIT"
] | null | null | null | app/forms.py | natcowan/pairify | 3855f1c91aee19b294faed4fe3f479804dda3067 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms.fields import SelectMultipleField
from wtforms.validators import DataRequired
class SelectForm(FlaskForm):
response = SelectMultipleField('Response', choices = [], \
validators=[DataRequired()]) | 36 | 59 | 0.781746 | 24 | 252 | 8.166667 | 0.583333 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134921 | 252 | 7 | 60 | 36 | 0.899083 | 0 | 0 | 0 | 0 | 0 | 0.031621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 4 |
31e586fb2e21d9cdce2086bbfab4a044567e07a4 | 248 | py | Python | source/controllers/base_controller.py | iYasha/pyfinancebot | 4357131fdc414dc5682d5e1761d7483603dce4a6 | [
"MIT"
] | null | null | null | source/controllers/base_controller.py | iYasha/pyfinancebot | 4357131fdc414dc5682d5e1761d7483603dce4a6 | [
"MIT"
] | null | null | null | source/controllers/base_controller.py | iYasha/pyfinancebot | 4357131fdc414dc5682d5e1761d7483603dce4a6 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from telebot.types import InlineKeyboardButton
class BaseController(ABC):
@abstractmethod
def callback_name(self) -> str:
pass
def get_menu_btn(self) -> InlineKeyboardButton:
pass
| 19.076923 | 51 | 0.717742 | 27 | 248 | 6.481481 | 0.666667 | 0.194286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217742 | 248 | 12 | 52 | 20.666667 | 0.902062 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9eddcee957d466ae169093d7c7a3108ed327c8c2 | 449 | py | Python | kadot/utils.py | the-new-sky/Kadot | 00fab7dae4cf3945d1f2000a8a39ad1ef6a641b1 | [
"MIT"
] | 131 | 2017-02-05T10:19:45.000Z | 2022-03-04T07:19:15.000Z | kadot/utils.py | the-new-sky/Kadot | 00fab7dae4cf3945d1f2000a8a39ad1ef6a641b1 | [
"MIT"
] | 4 | 2017-02-25T07:50:28.000Z | 2017-10-15T15:20:52.000Z | kadot/utils.py | the-new-sky/Kadot | 00fab7dae4cf3945d1f2000a8a39ad1ef6a641b1 | [
"MIT"
] | 11 | 2017-02-24T19:12:55.000Z | 2020-06-02T04:11:43.000Z | import pickle
def unique_words(words):
# TODO: add list of list/ list of Tokens objects gestion
return sorted(set(words))
class SavedObject(object):
"""
A class that can be saved in a file.
"""
def save(self, filename):
with open(filename, 'wb') as save_file:
pickle.dump... | 20.409091 | 60 | 0.648107 | 64 | 449 | 4.453125 | 0.546875 | 0.112281 | 0.112281 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249443 | 449 | 21 | 61 | 21.380952 | 0.845697 | 0.2049 | 0 | 0 | 0 | 0 | 0.01173 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.1 | 0.7 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9eec2a4a6e8988452089c96d9fb1558f2b74fc65 | 109 | py | Python | JapanToBook/write_box/settings.py | michael-act/JapanToBook | 497cfb6c3148b560cdcaf6cce1a47c41c551defc | [
"MIT"
] | 4 | 2020-09-30T14:55:12.000Z | 2020-11-16T13:42:19.000Z | JapanToBook/write_box/settings.py | michael-act/JapanToBook | 497cfb6c3148b560cdcaf6cce1a47c41c551defc | [
"MIT"
] | null | null | null | JapanToBook/write_box/settings.py | michael-act/JapanToBook | 497cfb6c3148b560cdcaf6cce1a47c41c551defc | [
"MIT"
] | 1 | 2021-03-16T03:03:19.000Z | 2021-03-16T03:03:19.000Z | IMAGES_PATH = 'write_box/images/'
FONTS_PATH = 'write_box/fonts/'
LOGFILE_PATH = 'log.txt'
TOKEN = 'TOKEN' | 27.25 | 34 | 0.715596 | 16 | 109 | 4.5625 | 0.5625 | 0.246575 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 109 | 4 | 35 | 27.25 | 0.768421 | 0 | 0 | 0 | 0 | 0 | 0.420561 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7315259c38268a892ca8a87e8fc2aa34d90acd9b | 61 | py | Python | nautobot_device_onboarding/api/__init__.py | pszulczewski/nautobot-plugin-device-onboarding | 9ddec52d7bcc751c4616bd7c1180ed2a1d31ff2c | [
"Apache-2.0"
] | 13 | 2021-03-05T10:47:50.000Z | 2022-03-18T19:07:09.000Z | nautobot_device_onboarding/api/__init__.py | pszulczewski/nautobot-plugin-device-onboarding | 9ddec52d7bcc751c4616bd7c1180ed2a1d31ff2c | [
"Apache-2.0"
] | 18 | 2021-03-05T10:29:13.000Z | 2022-03-08T13:10:38.000Z | nautobot_device_onboarding/api/__init__.py | pszulczewski/nautobot-plugin-device-onboarding | 9ddec52d7bcc751c4616bd7c1180ed2a1d31ff2c | [
"Apache-2.0"
] | 14 | 2021-03-06T19:33:46.000Z | 2022-03-28T16:31:38.000Z | """REST API module for nautobot_device_onboarding plugin."""
| 30.5 | 60 | 0.786885 | 8 | 61 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 61 | 1 | 61 | 61 | 0.836364 | 0.885246 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7357915ede7ba8d06e997587bc5353a468133815 | 233 | py | Python | 13-protocol-abc/typing/randompickload.py | leorochael/example-code-2e | bbc664308a50e0c62d7e7b2f1715eb49d7061456 | [
"MIT"
] | 1 | 2021-03-03T13:28:37.000Z | 2021-03-03T13:28:37.000Z | 13-protocol-abc/typing/randompickload.py | Turall/example-code-2e | 1702717182cff9a48beb55b2a9f5618e9bd1da18 | [
"MIT"
] | null | null | null | 13-protocol-abc/typing/randompickload.py | Turall/example-code-2e | 1702717182cff9a48beb55b2a9f5618e9bd1da18 | [
"MIT"
] | null | null | null | from typing import Protocol, runtime_checkable, Any, Iterable
from randompick import RandomPicker
@runtime_checkable # <1>
class LoadableRandomPicker(RandomPicker, Protocol): # <2>
def load(self, Iterable) -> None: ... # <3>
| 33.285714 | 61 | 0.738197 | 26 | 233 | 6.538462 | 0.730769 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.150215 | 233 | 6 | 62 | 38.833333 | 0.843434 | 0.04721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
735cf704d973c24a36127b942d51b1402db36470 | 73 | py | Python | test_hello.py | troswell/pynet_terry | 019068022fa7b59848aa07a39d2df6c12979b23f | [
"Apache-2.0"
] | null | null | null | test_hello.py | troswell/pynet_terry | 019068022fa7b59848aa07a39d2df6c12979b23f | [
"Apache-2.0"
] | null | null | null | test_hello.py | troswell/pynet_terry | 019068022fa7b59848aa07a39d2df6c12979b23f | [
"Apache-2.0"
] | null | null | null | print "hello world"
print "something else"
for i in range(7):
print i
| 10.428571 | 22 | 0.69863 | 13 | 73 | 3.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.205479 | 73 | 6 | 23 | 12.166667 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.347222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b40e023db1eb5544d9786605001e6664097a504f | 482 | py | Python | django/currencies/serializers.py | AngelOnFira/megagame-controller | 033fec84babf80ffd0868a0f7d946ac4c18b061c | [
"MIT"
] | null | null | null | django/currencies/serializers.py | AngelOnFira/megagame-controller | 033fec84babf80ffd0868a0f7d946ac4c18b061c | [
"MIT"
] | 1 | 2022-03-03T21:56:12.000Z | 2022-03-03T21:56:12.000Z | django/currencies/serializers.py | AngelOnFira/megagame-controller | 033fec84babf80ffd0868a0f7d946ac4c18b061c | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Currency, Transaction, Wallet
class TransactionSerializer(serializers.ModelSerializer):
class Meta:
model = Transaction
fields = "__all__"
depth = 1
class WalletSerializer(serializers.ModelSerializer):
class Meta:
mo... | 20.956522 | 57 | 0.686722 | 43 | 482 | 7.488372 | 0.488372 | 0.242236 | 0.28882 | 0.326087 | 0.372671 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002747 | 0.244813 | 482 | 22 | 58 | 21.909091 | 0.881868 | 0 | 0 | 0.333333 | 0 | 0 | 0.033195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b41aebd6f7ee765f1a9f461189749e4314cf2d9d | 94 | py | Python | src/obfuscapk/obfuscators/advanced_reflection/__init__.py | AkshayJainG/Obfuscapk | 6f2e791dbc06afc17d69393b3e5064cc4821a582 | [
"MIT"
] | 12 | 2020-02-24T13:40:41.000Z | 2021-05-05T12:41:43.000Z | src/obfuscapk/obfuscators/advanced_reflection/__init__.py | z3r0Sec/Obfuscapk | 3adbf7bfa84adf117326409c683e375ceb5a5df4 | [
"MIT"
] | null | null | null | src/obfuscapk/obfuscators/advanced_reflection/__init__.py | z3r0Sec/Obfuscapk | 3adbf7bfa84adf117326409c683e375ceb5a5df4 | [
"MIT"
] | 3 | 2020-05-15T16:44:43.000Z | 2021-07-31T03:21:14.000Z | #!/usr/bin/env python3.7
# coding: utf-8
from .advanced_reflection import AdvancedReflection
| 18.8 | 51 | 0.787234 | 13 | 94 | 5.615385 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.106383 | 94 | 4 | 52 | 23.5 | 0.833333 | 0.393617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b425559ba5fe163a1e49b2cd21bd343f983c6a1e | 250 | py | Python | pages/models/emitters/__init__.py | kevin-klein/101wiki | 8647271c00e8e9d954df2e43ddbf12f5f3d062be | [
"MIT"
] | null | null | null | pages/models/emitters/__init__.py | kevin-klein/101wiki | 8647271c00e8e9d954df2e43ddbf12f5f3d062be | [
"MIT"
] | 1 | 2020-02-12T00:17:34.000Z | 2020-02-12T00:17:34.000Z | pages/models/emitters/__init__.py | kevin-klein/101wiki | 8647271c00e8e9d954df2e43ddbf12f5f3d062be | [
"MIT"
] | null | null | null | from .linkemitter import LinkEmitter
from .metadatacollector import MetadataCollector
from .wikiemitter import WikiEmitter
from .schemacollector import SchemaCollector
__all__ = ['LinkEmitter', 'MetadataCollector', 'SchemaCollector', 'WikiEmitter']
| 35.714286 | 80 | 0.836 | 21 | 250 | 9.761905 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092 | 250 | 6 | 81 | 41.666667 | 0.903084 | 0 | 0 | 0 | 0 | 0 | 0.216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b4263f1905dbf6a4f434e55aa6b293eea559dd82 | 16,136 | py | Python | python/topics/combinatorial-optimization/minimum-cut-solver.py | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 4 | 2021-06-26T17:18:47.000Z | 2022-02-02T15:02:27.000Z | python/topics/combinatorial-optimization/minimum-cut-solver.py | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 8 | 2021-06-29T07:00:32.000Z | 2021-12-01T11:26:22.000Z | python/topics/combinatorial-optimization/minimum-cut-solver.py | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 3 | 2021-07-14T14:42:08.000Z | 2021-12-07T19:36:53.000Z | class FlowNetwork:
"""This class is copied from wiki for benchmark."""
def __init__(self):
self.adj, self.flow, = (
{},
{},
)
self.src, self.sink = None, None
def add_vertex(self, vertex):
self.adj[vertex] = []
def add_vertices(self, vertices):
... | 9.803159 | 89 | 0.564948 | 5,099 | 16,136 | 1.770151 | 0.03687 | 0.017505 | 0.002327 | 0.002659 | 0.232772 | 0.225127 | 0.216929 | 0.209284 | 0.196986 | 0.191115 | 0 | 0.673057 | 0.395513 | 16,136 | 1,645 | 90 | 9.809119 | 0.252307 | 0.023488 | 0 | 0.268944 | 0 | 0 | 0.695359 | 0 | 0 | 0 | 0 | 0 | 0.000621 | 1 | 0.011801 | false | 0 | 0.001242 | 0.000621 | 0.019876 | 0.001863 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b4373ff6d17a3b97be42cb4c08f94d13559443ff | 829 | py | Python | tests/test_sequnpack.py | keisukefukuda/msgpack-python-pure | a67e6a143059ae1504bcc08572d55cfe377855e7 | [
"Apache-2.0"
] | 2 | 2015-04-21T03:00:03.000Z | 2021-05-10T16:41:39.000Z | tests/test_sequnpack.py | keisukefukuda/msgpack-python-pure | a67e6a143059ae1504bcc08572d55cfe377855e7 | [
"Apache-2.0"
] | null | null | null | tests/test_sequnpack.py | keisukefukuda/msgpack-python-pure | a67e6a143059ae1504bcc08572d55cfe377855e7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
from nose.tools import *
from msgpack import Unpacker
def test_foobar():
unpacker = Unpacker(read_size=3)
unpacker.feed('foobar')
assert_equal(unpacker.unpack(), ord('f'))
assert_equal(unpacker.unpack(), ord('o'))
assert_equal(unpacker.unpack(), ord('o'))
... | 23.027778 | 45 | 0.598311 | 108 | 829 | 4.435185 | 0.453704 | 0.204593 | 0.237996 | 0.313152 | 0.354906 | 0.179541 | 0.179541 | 0.179541 | 0.179541 | 0.179541 | 0 | 0.011182 | 0.244873 | 829 | 35 | 46 | 23.685714 | 0.753994 | 0.041013 | 0 | 0.142857 | 0 | 0 | 0.058081 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 0 | null | null | 0 | 0.071429 | null | null | 0.035714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b43ccd14028811d4d4444a0a8988c5696d19120f | 499 | py | Python | tests/emmet-core/test_mpid.py | wuxiaohua1011/emmet | 49ae8f67fe42a00e1c3157667a23b4ce2d86a729 | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/emmet-core/test_mpid.py | wuxiaohua1011/emmet | 49ae8f67fe42a00e1c3157667a23b4ce2d86a729 | [
"BSD-3-Clause-LBNL"
] | 29 | 2021-05-31T07:05:46.000Z | 2022-03-28T15:08:24.000Z | tests/emmet-core/test_mpid.py | wuxiaohua1011/emmet | 49ae8f67fe42a00e1c3157667a23b4ce2d86a729 | [
"BSD-3-Clause-LBNL"
] | null | null | null | from emmet.core.mpid import MPID
def test_mpid():
assert MPID("mp-3") == MPID("mp-3")
assert MPID("mp-3") < 3
assert MPID("mp-3") < MPID("np-3")
assert MPID("mp-3") > MPID("mp-2")
assert 3 > MPID("mp-3")
assert min([MPID("mp-44545"), MPID("mp-33"), MPID("mp-2134234")]) == MPID("mp-33")
... | 22.681818 | 86 | 0.533066 | 81 | 499 | 3.246914 | 0.259259 | 0.365019 | 0.159696 | 0.197719 | 0.596958 | 0.460076 | 0.243346 | 0.243346 | 0.243346 | 0 | 0 | 0.124682 | 0.212425 | 499 | 21 | 87 | 23.761905 | 0.544529 | 0 | 0 | 0 | 0 | 0 | 0.200401 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.142857 | true | 0 | 0.071429 | 0 | 0.214286 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b468c167ac77a3112e818d92b00408cc74cec6cc | 147 | py | Python | tests/test_zint_url.py | dionboles/cda-python | 2e00d29931801bb977d20028cb4795195d550aa4 | [
"Apache-2.0"
] | 7 | 2021-02-24T15:30:13.000Z | 2022-02-25T21:32:05.000Z | tests/test_zint_url.py | dionboles/cda-python | 2e00d29931801bb977d20028cb4795195d550aa4 | [
"Apache-2.0"
] | 82 | 2021-02-26T14:53:18.000Z | 2022-03-24T17:53:57.000Z | tests/test_zint_url.py | dionboles/cda-python | 2e00d29931801bb977d20028cb4795195d550aa4 | [
"Apache-2.0"
] | 5 | 2021-03-11T15:19:47.000Z | 2022-03-08T20:39:12.000Z | from cdapython import Q
def test_url_change():
Q.set_host_url("http://34.71.0.127:8080")
assert Q.get_host_url().split(":")[2] == "8080"
| 21 | 51 | 0.653061 | 26 | 147 | 3.461538 | 0.769231 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134921 | 0.142857 | 147 | 6 | 52 | 24.5 | 0.579365 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b47b8bf4add81cd76da099637c22bf34df61b483 | 825 | py | Python | python/simple_calculator.py | YashKrSaini/basic-algorithms | 114e24f1eb18548901b29f354184787d091eede5 | [
"MIT"
] | null | null | null | python/simple_calculator.py | YashKrSaini/basic-algorithms | 114e24f1eb18548901b29f354184787d091eede5 | [
"MIT"
] | null | null | null | python/simple_calculator.py | YashKrSaini/basic-algorithms | 114e24f1eb18548901b29f354184787d091eede5 | [
"MIT"
] | null | null | null | def calculator():
print " List of the fuctions : "
print " 1. Add "
print " 2. Sub "
print " 3. Mul "
print " 4. Div "
opt=input(" Enter your number => ")
if opt==01:
a=input(" Enter your first number : ")
b=input(" Enter your second number: ")
c=a+b
print c
... | 25.78125 | 46 | 0.505455 | 110 | 825 | 3.790909 | 0.309091 | 0.215827 | 0.302158 | 0.143885 | 0.645084 | 0.645084 | 0.645084 | 0.645084 | 0.645084 | 0.645084 | 0 | 0.023166 | 0.372121 | 825 | 31 | 47 | 26.612903 | 0.781853 | 0 | 0 | 0.451613 | 0 | 0 | 0.378182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.322581 | 0 | 0 | 0 | null | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81f1e6cfc0e95de87dcad65f1a18552346063078 | 14,582 | py | Python | pymatgen/analysis/tests/test_piezo_sensitivity.py | exenGT/pymatgen | a8ffb820ab8fc3f60251099e38c8888f45eae618 | [
"MIT"
] | 1 | 2021-11-02T21:10:11.000Z | 2021-11-02T21:10:11.000Z | pymatgen/analysis/tests/test_piezo_sensitivity.py | exenGT/pymatgen | a8ffb820ab8fc3f60251099e38c8888f45eae618 | [
"MIT"
] | 5 | 2018-08-07T23:00:23.000Z | 2021-01-05T22:46:23.000Z | pymatgen/analysis/tests/test_piezo_sensitivity.py | exenGT/pymatgen | a8ffb820ab8fc3f60251099e38c8888f45eae618 | [
"MIT"
] | 6 | 2019-04-26T18:50:41.000Z | 2020-03-29T17:58:34.000Z | # Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.
"""
Test for the piezo tensor class
"""
__author__ = "Handong Ling"
__version__ = "0.1"
__maintainer__ = "Handong Ling"
__email__ = "handongling@berkeley.edu"
__status__ = "Development"
__date__ = "4/23/19"
import os
import... | 42.023055 | 110 | 0.554382 | 1,852 | 14,582 | 4.208963 | 0.099892 | 0.054779 | 0.095959 | 0.08313 | 0.765491 | 0.741373 | 0.719564 | 0.704811 | 0.69211 | 0.69211 | 0 | 0.060639 | 0.313537 | 14,582 | 346 | 111 | 42.144509 | 0.718082 | 0.016664 | 0 | 0.589831 | 0 | 0 | 0.015843 | 0.001675 | 0 | 0 | 0 | 0 | 0.091525 | 1 | 0.050847 | false | 0 | 0.037288 | 0 | 0.091525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81fad5ae1abcbae616039774cab15ff0e81964d6 | 222 | py | Python | tests/context.py | bartbroere/lir | 041f1cea40366937d56c43bb15712873eb3e8a0a | [
"Apache-2.0"
] | 6 | 2020-12-24T08:20:04.000Z | 2022-02-03T15:31:20.000Z | tests/context.py | bartbroere/lir | 041f1cea40366937d56c43bb15712873eb3e8a0a | [
"Apache-2.0"
] | 23 | 2021-02-19T10:48:20.000Z | 2022-03-20T12:58:11.000Z | tests/context.py | bartbroere/lir | 041f1cea40366937d56c43bb15712873eb3e8a0a | [
"Apache-2.0"
] | 2 | 2021-03-04T15:26:30.000Z | 2021-03-08T13:39:45.000Z | from __future__ import absolute_import
import os
import sys
# this is a hack https://github.com/pytest-dev/pytest/issues/2421
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import lir | 24.666667 | 82 | 0.761261 | 37 | 222 | 4.324324 | 0.675676 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024876 | 0.094595 | 222 | 9 | 83 | 24.666667 | 0.771144 | 0.283784 | 0 | 0 | 0 | 0 | 0.012658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
81febafbd825396029588603c05ad070cc6866e9 | 2,339 | py | Python | recipe/run_test.py | regro-cf-autotick-bot/scipy-feedstock | 666864e2ecbe5665b82d09ceb0bfd6f8bd61c94a | [
"BSD-3-Clause"
] | null | null | null | recipe/run_test.py | regro-cf-autotick-bot/scipy-feedstock | 666864e2ecbe5665b82d09ceb0bfd6f8bd61c94a | [
"BSD-3-Clause"
] | null | null | null | recipe/run_test.py | regro-cf-autotick-bot/scipy-feedstock | 666864e2ecbe5665b82d09ceb0bfd6f8bd61c94a | [
"BSD-3-Clause"
] | null | null | null | import sys
import os
# Use OpenBLAS with 1 thread only as it seems to be using too many
# on the CIs apparently.
os.environ["OPENBLAS_NUM_THREADS"] = "1"
import scipy
import scipy.cluster._hierarchy
import scipy.cluster._vq
import scipy.fftpack._fftpack
import scipy.fftpack.convolve
import scipy.integrate._dop
import... | 29.987179 | 66 | 0.859769 | 334 | 2,339 | 5.811377 | 0.383234 | 0.374034 | 0.097888 | 0.061824 | 0.02473 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002761 | 0.070971 | 2,339 | 77 | 67 | 30.376623 | 0.890474 | 0.037195 | 0 | 0 | 0 | 0 | 0.009337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.971429 | 0 | 0.971429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c308bef88be33aa9dbdef14c29e2c276763b3565 | 95 | py | Python | transformer/utils/__init__.py | ViktorStagge/transformer | 39a331f41cafbfbe5fdf64ffdac5897b4d2aa319 | [
"MIT"
] | null | null | null | transformer/utils/__init__.py | ViktorStagge/transformer | 39a331f41cafbfbe5fdf64ffdac5897b4d2aa319 | [
"MIT"
] | null | null | null | transformer/utils/__init__.py | ViktorStagge/transformer | 39a331f41cafbfbe5fdf64ffdac5897b4d2aa319 | [
"MIT"
] | null | null | null | from transformer.utils.utils import get_tqdm, \
get_logger
| 31.666667 | 47 | 0.515789 | 9 | 95 | 5.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.442105 | 95 | 2 | 48 | 47.5 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c30dcec0382001121669c3e0c0090d186fa177a6 | 78 | py | Python | sdnify/platforms/__init__.py | ericrochow/sdnify | f84020ea846282a60b754583a574a9109bf73834 | [
"Apache-2.0"
] | 1 | 2019-08-18T11:21:40.000Z | 2019-08-18T11:21:40.000Z | sdnify/platforms/__init__.py | ericrochow/sdnify | f84020ea846282a60b754583a574a9109bf73834 | [
"Apache-2.0"
] | 93 | 2019-08-18T11:21:46.000Z | 2020-10-03T04:13:25.000Z | sdnify/platforms/__init__.py | ericrochow/sdnify | f84020ea846282a60b754583a574a9109bf73834 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
Contains modules for platform-specific methods.
"""
| 15.6 | 47 | 0.717949 | 10 | 78 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 78 | 4 | 48 | 19.5 | 0.811594 | 0.871795 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c31ff3f9cc9855909f0bba3cd706795681370136 | 593 | py | Python | parser_rabota/web/models.py | AndreyeuIvan/JobScrabber | fab960dde260fd2b94e846e95b46e97d313db235 | [
"MIT"
] | null | null | null | parser_rabota/web/models.py | AndreyeuIvan/JobScrabber | fab960dde260fd2b94e846e95b46e97d313db235 | [
"MIT"
] | null | null | null | parser_rabota/web/models.py | AndreyeuIvan/JobScrabber | fab960dde260fd2b94e846e95b46e97d313db235 | [
"MIT"
] | null | null | null | from main import db
class Keyword(db.Model):
id = db.Column(db.Integer, primary_key = True)
name = db.Column(db.String(100))
data = db.relationship('Data', backref='data')
def __repr__(self):
return f"Keyword is '{self.name}'"
class Data(db.Model):
id = db.Column(db.Integer, primary_key = True)
company = d... | 25.782609 | 61 | 0.688027 | 95 | 593 | 4.189474 | 0.378947 | 0.160804 | 0.201005 | 0.201005 | 0.434673 | 0.201005 | 0.201005 | 0.201005 | 0.201005 | 0.201005 | 0 | 0.02729 | 0.134907 | 593 | 22 | 62 | 26.954545 | 0.748538 | 0 | 0 | 0.25 | 0 | 0 | 0.145025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.0625 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c356da6307ea4e397b6f3f98f4044a41a9825154 | 138 | py | Python | lambdata_jbanks/banks.py | JenBanks8585/lambdata-JenBanks | 7b4d01e9a8e3ad6d1c5a39ff5aa5cf01e99849ef | [
"MIT"
] | null | null | null | lambdata_jbanks/banks.py | JenBanks8585/lambdata-JenBanks | 7b4d01e9a8e3ad6d1c5a39ff5aa5cf01e99849ef | [
"MIT"
] | null | null | null | lambdata_jbanks/banks.py | JenBanks8585/lambdata-JenBanks | 7b4d01e9a8e3ad6d1c5a39ff5aa5cf01e99849ef | [
"MIT"
] | null | null | null |
import pandas
from pandas import DataFrame
from lambdata_jbanks.mod import enlarge
x= int(input("enter an integer"))
print(enlarge(x)) | 15.333333 | 39 | 0.782609 | 21 | 138 | 5.095238 | 0.714286 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 138 | 9 | 40 | 15.333333 | 0.891667 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f2fd25a34eeb278f9fe3cd36b601c79f812532e | 33 | py | Python | pay.py | BCshell/42_02 | f8fdf76a6561524e15ba21a1aae158aec5e976df | [
"MIT"
] | null | null | null | pay.py | BCshell/42_02 | f8fdf76a6561524e15ba21a1aae158aec5e976df | [
"MIT"
] | null | null | null | pay.py | BCshell/42_02 | f8fdf76a6561524e15ba21a1aae158aec5e976df | [
"MIT"
] | null | null | null | pay = 1
pay = 2
pay = 3
over
| 3.666667 | 7 | 0.484848 | 7 | 33 | 2.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.424242 | 33 | 8 | 8 | 4.125 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f3e9cb43d9fa685466c4f1e9da3c56f0832e136 | 236 | py | Python | gym_trader/__init__.py | jajimer/gym-trader | 5ccb7bfbd280a1260ea56adbe1c6e2fdc66ac415 | [
"MIT"
] | null | null | null | gym_trader/__init__.py | jajimer/gym-trader | 5ccb7bfbd280a1260ea56adbe1c6e2fdc66ac415 | [
"MIT"
] | null | null | null | gym_trader/__init__.py | jajimer/gym-trader | 5ccb7bfbd280a1260ea56adbe1c6e2fdc66ac415 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id='single-discrete-v0',
entry_point='gym_trader.envs:SingleDiscreteEnv',
)
register(
id='single-continuous-v0',
entry_point='gym_trader.envs:SingleContinuousEnv',
)
| 21.454545 | 54 | 0.75 | 28 | 236 | 6.178571 | 0.571429 | 0.115607 | 0.184971 | 0.17341 | 0.289017 | 0.289017 | 0 | 0 | 0 | 0 | 0 | 0.009662 | 0.122881 | 236 | 10 | 55 | 23.6 | 0.826087 | 0 | 0 | 0.222222 | 0 | 0 | 0.449153 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f43e606edba65d7d506b3ed9533b89cc35ea7de | 192 | py | Python | snowfall/bin/modes/cli_base.py | aarora8/snowfall | 4484fb52a7a2d9a067f77dbbaee8dad7946db185 | [
"Apache-2.0"
] | 145 | 2020-11-12T07:12:31.000Z | 2022-03-11T14:56:15.000Z | snowfall/bin/modes/cli_base.py | aarora8/snowfall | 4484fb52a7a2d9a067f77dbbaee8dad7946db185 | [
"Apache-2.0"
] | 212 | 2020-11-12T07:47:39.000Z | 2022-02-02T08:11:33.000Z | snowfall/bin/modes/cli_base.py | aarora8/snowfall | 4484fb52a7a2d9a067f77dbbaee8dad7946db185 | [
"Apache-2.0"
] | 43 | 2020-11-12T07:30:37.000Z | 2022-03-15T08:07:19.000Z | # Copyright (c) 2021 Xiaomi Corp. (author: Fangjun Kuang)
import click
@click.group()
def cli():
'''
Entry point to the collection of utilities in snowall.
'''
pass
| 16 | 65 | 0.614583 | 24 | 192 | 4.916667 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0.276042 | 192 | 11 | 66 | 17.454545 | 0.820144 | 0.619792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6f4b6a528b00bc6d9cb6b9444b8656b7b230eb3d | 725 | py | Python | app01/migrations/0008_auto_20211102_1151.py | aitomato123/hptest | 842cf5f8c9f419c1a9395f43563d19213a1d531a | [
"Apache-2.0"
] | null | null | null | app01/migrations/0008_auto_20211102_1151.py | aitomato123/hptest | 842cf5f8c9f419c1a9395f43563d19213a1d531a | [
"Apache-2.0"
] | null | null | null | app01/migrations/0008_auto_20211102_1151.py | aitomato123/hptest | 842cf5f8c9f419c1a9395f43563d19213a1d531a | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.4 on 2021-11-02 03:51
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app01', '0007_auto_20211102_1130'),
]
operations = [
migrations.RenameField(
model_name='samplehandover',
old_name='sampleha... | 25 | 53 | 0.590345 | 72 | 725 | 5.625 | 0.569444 | 0.266667 | 0.192593 | 0.222222 | 0.496296 | 0.496296 | 0.496296 | 0.496296 | 0.496296 | 0 | 0 | 0.065868 | 0.308966 | 725 | 28 | 54 | 25.892857 | 0.742515 | 0.062069 | 0 | 0.409091 | 1 | 0 | 0.250737 | 0.154867 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f62df2d6250a39fcbbddc94e477b42a5bb88277 | 12,902 | py | Python | openbb_terminal/common/quantitative_analysis/rolling_view.py | 23errg/GamestonkTerminal | 826cd8a723d8e2b810c51bf8266c09e8e55059c4 | [
"MIT"
] | null | null | null | openbb_terminal/common/quantitative_analysis/rolling_view.py | 23errg/GamestonkTerminal | 826cd8a723d8e2b810c51bf8266c09e8e55059c4 | [
"MIT"
] | null | null | null | openbb_terminal/common/quantitative_analysis/rolling_view.py | 23errg/GamestonkTerminal | 826cd8a723d8e2b810c51bf8266c09e8e55059c4 | [
"MIT"
] | null | null | null | """Rolling Statistics View"""
__docformat__ = "numpy"
import logging
import os
from typing import Optional, List
import matplotlib.pyplot as plt
import pandas as pd
from openbb_terminal.config_terminal import theme
from openbb_terminal.common.quantitative_analysis import rolling_model
from openbb_terminal.config_plo... | 25.248532 | 84 | 0.586188 | 1,617 | 12,902 | 4.460111 | 0.097093 | 0.085413 | 0.055879 | 0.049501 | 0.781614 | 0.757626 | 0.743899 | 0.706323 | 0.680948 | 0.627981 | 0 | 0.010318 | 0.293908 | 12,902 | 510 | 85 | 25.298039 | 0.781339 | 0.141683 | 0 | 0.648649 | 0 | 0 | 0.104062 | 0.002143 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013514 | false | 0 | 0.02973 | 0 | 0.056757 | 0.018919 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
489a77b5a707184b360e0634e711b01b15a25abd | 136 | py | Python | Python/Codeforces/1A.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | Python/Codeforces/1A.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | Python/Codeforces/1A.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | from math import ceil
nma = input().split(' ')
result = ceil(int(nma[0]) / int(nma[2])) * ceil(int(nma[1]) / int(nma[2]))
print(result) | 27.2 | 74 | 0.617647 | 24 | 136 | 3.5 | 0.541667 | 0.285714 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.132353 | 136 | 5 | 75 | 27.2 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48ae8c6f3922d6e7ec644846f97660711d6cfca0 | 277 | py | Python | run_examples.py | bstellato/miosqp | ac672338b0593d865dd15b7a76434f25e24244a9 | [
"Apache-2.0"
] | 62 | 2017-11-23T09:57:47.000Z | 2021-05-21T06:49:40.000Z | run_examples.py | bstellato/miosqp | ac672338b0593d865dd15b7a76434f25e24244a9 | [
"Apache-2.0"
] | 12 | 2017-08-31T17:28:14.000Z | 2021-04-19T15:19:17.000Z | run_examples.py | bstellato/miosqp | ac672338b0593d865dd15b7a76434f25e24244a9 | [
"Apache-2.0"
] | 19 | 2019-01-23T14:10:37.000Z | 2021-04-17T17:08:28.000Z | """
Run MIQP examples
"""
from __future__ import print_function
import examples.power_converter.run_example as power_converter
import examples.random_miqp.run_example as random_miqp
if __name__ == "__main__":
random_miqp.run_example()
power_converter.run_example()
| 19.785714 | 62 | 0.797834 | 37 | 277 | 5.351351 | 0.432432 | 0.20202 | 0.171717 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126354 | 277 | 13 | 63 | 21.307692 | 0.818182 | 0.061372 | 0 | 0 | 0 | 0 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
48c7bf8eab29ebaf195b176af688e2d1694ca5d3 | 699 | py | Python | backend_server/tests/test_pybackend_urilib.py | ismir-net/open-eval | ebb4612ff5a6c6f7b6fbc908d837857f8377d95a | [
"MIT"
] | 6 | 2016-08-09T18:34:18.000Z | 2016-08-12T01:58:05.000Z | backend_server/tests/test_pybackend_urilib.py | cosmir/openmic-annotator | ebb4612ff5a6c6f7b6fbc908d837857f8377d95a | [
"MIT"
] | 4 | 2016-08-13T14:35:00.000Z | 2016-08-13T14:37:25.000Z | backend_server/tests/test_pybackend_urilib.py | ismir-net/open-eval | ebb4612ff5a6c6f7b6fbc908d837857f8377d95a | [
"MIT"
] | null | null | null | import pytest
import pybackend.urilib as U
def test_validate():
U.validate("x:y")
with pytest.raises(ValueError):
U.validate(":x")
with pytest.raises(ValueError):
U.validate("y:")
with pytest.raises(ValueError):
U.validate(":")
with pytest.raises(ValueError):
U.... | 18.394737 | 39 | 0.566524 | 94 | 699 | 4.180851 | 0.191489 | 0.040712 | 0.3257 | 0.529262 | 0.707379 | 0.707379 | 0.618321 | 0.3257 | 0.157761 | 0 | 0 | 0 | 0.244635 | 699 | 37 | 40 | 18.891892 | 0.744318 | 0 | 0 | 0.333333 | 0 | 0 | 0.04578 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.125 | true | 0 | 0.083333 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48cf42970538a19959fd912b200541cab893d500 | 1,661 | py | Python | app/models.py | Koech-code/bookings | e164ba118de32e82dac9d9c69961df1eeb4d384c | [
"MIT"
] | null | null | null | app/models.py | Koech-code/bookings | e164ba118de32e82dac9d9c69961df1eeb4d384c | [
"MIT"
] | null | null | null | app/models.py | Koech-code/bookings | e164ba118de32e82dac9d9c69961df1eeb4d384c | [
"MIT"
] | null | null | null | from datetime import datetime
from sqlalchemy.orm import backref
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
from . import login_manager
from . import db
@login_manager.user_loader
def load_user(user_id):
return User.query.get(user_id)
class User(U... | 28.152542 | 73 | 0.701987 | 232 | 1,661 | 4.840517 | 0.280172 | 0.128228 | 0.160285 | 0.170971 | 0.406055 | 0.372217 | 0.372217 | 0.372217 | 0.313446 | 0.313446 | 0 | 0.026297 | 0.175798 | 1,661 | 58 | 74 | 28.637931 | 0.79401 | 0 | 0 | 0.311111 | 1 | 0 | 0.049427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.2 | 0.133333 | 0.066667 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
48d2f1512a3d93d8436cd8f13cc0b3a207c90588 | 64 | py | Python | lib/galaxy/tool_util/linters/__init__.py | rikeshi/galaxy | c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a | [
"CC-BY-3.0"
] | 1,085 | 2015-02-18T16:14:38.000Z | 2022-03-30T23:52:07.000Z | lib/galaxy/tool_util/linters/__init__.py | rikeshi/galaxy | c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a | [
"CC-BY-3.0"
] | 11,253 | 2015-02-18T17:47:32.000Z | 2022-03-31T21:47:03.000Z | lib/galaxy/tool_util/linters/__init__.py | rikeshi/galaxy | c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a | [
"CC-BY-3.0"
] | 1,000 | 2015-02-18T16:18:10.000Z | 2022-03-29T08:22:56.000Z | """This package contains linting functions for Galaxy tools."""
| 32 | 63 | 0.765625 | 8 | 64 | 6.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 1 | 64 | 64 | 0.875 | 0.890625 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48eebc92ff0684d98295f1a379d39559fbd41024 | 178 | py | Python | diventi/brave/apps.py | flavoi/diven | 3173ca3ca3fbedc191b8eab3639a6bceb3c442c4 | [
"Apache-2.0"
] | 2 | 2019-06-27T16:00:17.000Z | 2020-08-14T07:46:05.000Z | diventi/brave/apps.py | flavoi/diven | 3173ca3ca3fbedc191b8eab3639a6bceb3c442c4 | [
"Apache-2.0"
] | 26 | 2020-02-15T22:39:35.000Z | 2022-02-19T21:09:01.000Z | diventi/brave/apps.py | flavoi/diven | 3173ca3ca3fbedc191b8eab3639a6bceb3c442c4 | [
"Apache-2.0"
] | 1 | 2021-11-12T22:30:15.000Z | 2021-11-12T22:30:15.000Z | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class BraveConfig(AppConfig):
name = 'diventi.brave'
verbose_name = _('Brave')
| 22.25 | 54 | 0.758427 | 22 | 178 | 5.954545 | 0.727273 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 178 | 7 | 55 | 25.428571 | 0.873333 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5b050e90ac3f072754ac05656df3e41d25a3dbb8 | 676 | py | Python | api/infrastructure/persistence/peewee/results_models.py | manisharmagarg/qymatix | 0dc240970359429ae5105db79f9aebf1a99ba6fd | [
"Apache-2.0"
] | null | null | null | api/infrastructure/persistence/peewee/results_models.py | manisharmagarg/qymatix | 0dc240970359429ae5105db79f9aebf1a99ba6fd | [
"Apache-2.0"
] | null | null | null | api/infrastructure/persistence/peewee/results_models.py | manisharmagarg/qymatix | 0dc240970359429ae5105db79f9aebf1a99ba6fd | [
"Apache-2.0"
] | null | null | null | from peewee import *
database = MySQLDatabase('results_qymatix_com', **{'charset': 'utf8', 'use_unicode': True, 'host': 'localhost', 'user': 'root', 'password': 'dev'})
class UnknownField(object):
def __init__(self, *_, **__): pass
class BaseModel(Model):
class Meta:
database = database
class Critte... | 26 | 147 | 0.655325 | 77 | 676 | 5.584416 | 0.584416 | 0.24186 | 0.316279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001862 | 0.205621 | 676 | 25 | 148 | 27.04 | 0.798883 | 0 | 0 | 0.105263 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.105263 | 0.052632 | 0 | 0.789474 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d2967bf07661e5d38488849f9f38933d29a1422f | 67 | py | Python | docker-gunicorn.conf.py | noampolak/ADL_LRS | 86455e0cee1cfe8525143eb07d9ec86f2bda05c1 | [
"Apache-2.0"
] | null | null | null | docker-gunicorn.conf.py | noampolak/ADL_LRS | 86455e0cee1cfe8525143eb07d9ec86f2bda05c1 | [
"Apache-2.0"
] | null | null | null | docker-gunicorn.conf.py | noampolak/ADL_LRS | 86455e0cee1cfe8525143eb07d9ec86f2bda05c1 | [
"Apache-2.0"
] | null | null | null | accesslog = "/var/log/lrs.log"
errorlog = "/var/log/lrs-error.log"
| 22.333333 | 35 | 0.686567 | 11 | 67 | 4.181818 | 0.545455 | 0.26087 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 67 | 2 | 36 | 33.5 | 0.754098 | 0 | 0 | 0 | 0 | 0 | 0.567164 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d299f24fb0efddf88b71f453b95ee23cfaf5a6ff | 704 | py | Python | third_party/blink/web_tests/http/tests/websocket/workers/resources/binary-frames_wsh.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/web_tests/http/tests/websocket/workers/resources/binary-frames_wsh.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/web_tests/http/tests/websocket/workers/resources/binary-frames_wsh.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | from six.moves import range
from mod_pywebsocket import common
from mod_pywebsocket import stream
from mod_pywebsocket import util
def web_socket_do_extra_handshake(request):
pass
def web_socket_transfer_data(request):
messages_to_send = [b'Hello, world!', b'', all_distinct_bytes()]
for message in mess... | 29.333333 | 79 | 0.691761 | 98 | 704 | 4.755102 | 0.561224 | 0.045064 | 0.11588 | 0.154506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014679 | 0.225852 | 704 | 23 | 80 | 30.608696 | 0.840367 | 0.116477 | 0 | 0 | 0 | 0 | 0.021002 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0.214286 | false | 0.071429 | 0.285714 | 0.071429 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d2baa34db83ba7f092bd6f1a54fecfa995304c91 | 50 | py | Python | smartlearner/optimizers/__init__.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | smartlearner/optimizers/__init__.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | smartlearner/optimizers/__init__.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | from .sgd import SGD
from .adagrad import AdaGrad
| 16.666667 | 28 | 0.8 | 8 | 50 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 29 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d2be9498bbeecc96596ecff52f12aba1308d2564 | 114 | py | Python | App/RoletaRussa.py | Caiozxx/RoletaRussa | 84eaef279eca96cf63aa7287f372e08d2beca278 | [
"MIT"
] | null | null | null | App/RoletaRussa.py | Caiozxx/RoletaRussa | 84eaef279eca96cf63aa7287f372e08d2beca278 | [
"MIT"
] | null | null | null | App/RoletaRussa.py | Caiozxx/RoletaRussa | 84eaef279eca96cf63aa7287f372e08d2beca278 | [
"MIT"
] | null | null | null | import random
import os
if random.randint(0,6) == 1:
os.remove("C:\Windows\System32")
else:
print("ufa")
| 14.25 | 36 | 0.649123 | 18 | 114 | 4.111111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0.175439 | 114 | 7 | 37 | 16.285714 | 0.734043 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d2beb7f9d7bb512407ba66b5a808daf06dfb88c6 | 232 | py | Python | tests/context.py | SportsDataDirect/sdd_python_api | bfd66a0398bb779abf7cfbc3c5e66ff67814f4a3 | [
"MIT"
] | 1 | 2021-01-09T04:37:39.000Z | 2021-01-09T04:37:39.000Z | tests/context.py | SportsDataDirect/sdd_python_api | bfd66a0398bb779abf7cfbc3c5e66ff67814f4a3 | [
"MIT"
] | 1 | 2017-12-01T20:59:06.000Z | 2017-12-29T04:27:40.000Z | tests/context.py | SportsDataDirect/sdd_python_api | bfd66a0398bb779abf7cfbc3c5e66ff67814f4a3 | [
"MIT"
] | 1 | 2018-07-13T17:02:52.000Z | 2018-07-13T17:02:52.000Z | #created quickly without thought by using http://docs.python-guide.org/en/latest/writing/structure/
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import sdd_api
import tests | 33.142857 | 99 | 0.775862 | 38 | 232 | 4.605263 | 0.736842 | 0.102857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004673 | 0.077586 | 232 | 7 | 100 | 33.142857 | 0.813084 | 0.422414 | 0 | 0 | 0 | 0 | 0.014925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d2eaa5e3e3fb9d9edf5c12f8d9addf6a85c05a6e | 93 | py | Python | world/quests/apps.py | dvoraen/arxcode | a89f2004fca10e0b1f1995c2420dd3ffbf08774b | [
"MIT"
] | 42 | 2018-08-12T00:55:24.000Z | 2021-12-24T15:16:08.000Z | world/quests/apps.py | dvoraen/arxcode | a89f2004fca10e0b1f1995c2420dd3ffbf08774b | [
"MIT"
] | 312 | 2018-10-22T23:03:27.000Z | 2022-02-06T13:02:58.000Z | world/quests/apps.py | dvoraen/arxcode | a89f2004fca10e0b1f1995c2420dd3ffbf08774b | [
"MIT"
] | 42 | 2018-08-12T00:41:48.000Z | 2022-01-27T14:03:16.000Z | from django.apps import AppConfig
class QuestsConfig(AppConfig):
name = "world.quests"
| 15.5 | 33 | 0.752688 | 11 | 93 | 6.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
96002ad66e465ee28d9c76475af05cb77c779f24 | 202 | py | Python | rcreator/repos/serializers.py | adrianmoo2/repo-simplifier | 156aab7d4d2ad96ef6d53f0528f3c52bf7073859 | [
"MIT"
] | null | null | null | rcreator/repos/serializers.py | adrianmoo2/repo-simplifier | 156aab7d4d2ad96ef6d53f0528f3c52bf7073859 | [
"MIT"
] | 11 | 2019-12-04T23:33:01.000Z | 2022-02-10T09:53:05.000Z | rcreator/repos/serializers.py | adrianmoo2/repo-simplifier | 156aab7d4d2ad96ef6d53f0528f3c52bf7073859 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from repos.models import Repo
# Repo Serializer
class RepoSerializer(serializers.ModelSerializer):
class Meta:
model = Repo
fields = '__all__' | 25.25 | 50 | 0.742574 | 22 | 202 | 6.590909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20297 | 202 | 8 | 51 | 25.25 | 0.900621 | 0.074257 | 0 | 0 | 0 | 0 | 0.037634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8255d73e54de9220be22fbba5cf5e1372f9ce870 | 158 | py | Python | docs/_ext/__init__.py | RichardScottOZ/geoapps | 5b3c1d4fd11add45992e8b2497312ac014272b69 | [
"MIT"
] | 34 | 2020-07-14T10:26:08.000Z | 2022-02-15T06:07:10.000Z | docs/_ext/__init__.py | sebhmg/geoapps | 1463ba4ec3c914abdc7403e54eca0ee2bbc3f4f4 | [
"MIT"
] | 224 | 2020-09-07T19:02:33.000Z | 2022-03-30T22:32:02.000Z | docs/_ext/__init__.py | sebhmg/geoapps | 1463ba4ec3c914abdc7403e54eca0ee2bbc3f4f4 | [
"MIT"
] | 6 | 2021-03-24T03:16:34.000Z | 2022-02-18T16:25:04.000Z | from Add2Build import copyImages
from autodoc import make_lectures_page
from edit_on_github import *
from environmentSetup import supress_nonlocal_image_warn
| 31.6 | 56 | 0.892405 | 22 | 158 | 6.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.101266 | 158 | 4 | 57 | 39.5 | 0.93662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
825bc84bdf7d2a07bf1517bcf14d4bd36b20e548 | 12 | py | Python | adv_ant/retroNet/tests.py | ayushxx7/retroNet | d9a20c1c03059c0694b807d184a082310df67e9f | [
"MIT"
] | 40 | 2020-08-02T07:38:22.000Z | 2021-07-26T01:46:50.000Z | adv_ant/retroNet/tests.py | ayushxx7/retroNet | d9a20c1c03059c0694b807d184a082310df67e9f | [
"MIT"
] | 134 | 2020-07-31T12:15:45.000Z | 2020-12-13T04:42:19.000Z | adv_ant/retroNet/tests.py | ayushxx7/retroNet | d9a20c1c03059c0694b807d184a082310df67e9f | [
"MIT"
] | 101 | 2020-07-31T12:00:47.000Z | 2021-11-01T09:06:58.000Z | # No Tests.
| 6 | 11 | 0.583333 | 2 | 12 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 12 | 1 | 12 | 12 | 0.777778 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
827e831a2fe5eff641b321653a86aa4cb3b5399e | 1,098 | py | Python | ITMO_FS/utils/information_theory.py | 18756/ITMO_FS | d0465c61b15264812b3455194e8b9eea93b3f550 | [
"BSD-3-Clause"
] | null | null | null | ITMO_FS/utils/information_theory.py | 18756/ITMO_FS | d0465c61b15264812b3455194e8b9eea93b3f550 | [
"BSD-3-Clause"
] | null | null | null | ITMO_FS/utils/information_theory.py | 18756/ITMO_FS | d0465c61b15264812b3455194e8b9eea93b3f550 | [
"BSD-3-Clause"
] | null | null | null | from collections import Counter
from itertools import groupby
from math import log, fsum
from operator import itemgetter
import numpy as np
def conditional_entropy(x_j, y):
# H(Y|X)
buf = [[e[1] for e in g] for _, g in groupby(sorted(zip(x_j, y)), itemgetter(0))]
return fsum(entropy(group) * len(group) f... | 26.780488 | 105 | 0.687614 | 186 | 1,098 | 3.930108 | 0.258065 | 0.232558 | 0.172367 | 0.129959 | 0.259918 | 0.191518 | 0.106703 | 0.106703 | 0.106703 | 0 | 0 | 0.006623 | 0.174863 | 1,098 | 40 | 106 | 27.45 | 0.800221 | 0.005464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.227273 | 0.318182 | 0.954545 | 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 | 1 | 0 | 0 | 4 |
828a62a02681af09aa630fc659bca96b93fc69f5 | 110 | py | Python | billy2pupa/dc.py | backwardn/billy | 07ac788d25a6c79d03dd0e3d55459bbb55e22439 | [
"BSD-3-Clause"
] | 33 | 2016-11-05T07:25:48.000Z | 2022-01-31T03:40:43.000Z | billy2pupa/dc.py | backwardn/billy | 07ac788d25a6c79d03dd0e3d55459bbb55e22439 | [
"BSD-3-Clause"
] | 16 | 2015-02-05T21:25:58.000Z | 2015-09-18T20:27:06.000Z | billy2pupa/dc.py | backwardn/billy | 07ac788d25a6c79d03dd0e3d55459bbb55e22439 | [
"BSD-3-Clause"
] | 22 | 2015-03-23T07:13:20.000Z | 2016-06-10T04:41:06.000Z | from openstatesapi.jurisdiction import make_jurisdiction
J = make_jurisdiction('dc')
J.url = 'http://dc.gov'
| 22 | 56 | 0.772727 | 15 | 110 | 5.533333 | 0.666667 | 0.385542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 110 | 4 | 57 | 27.5 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82adfacb42f3a8131656a0f3295822084334dd3a | 2,550 | py | Python | tests/test_transform_upscale.py | mrstephenneal/pdfwatermarker | 55934803efd91b6b456985be7df93c03d24747c7 | [
"Apache-2.0"
] | 9 | 2018-08-28T14:08:19.000Z | 2019-08-22T07:33:14.000Z | tests/test_transform_upscale.py | mrstephenneal/pdfwatermarker | 55934803efd91b6b456985be7df93c03d24747c7 | [
"Apache-2.0"
] | 15 | 2018-08-28T14:08:17.000Z | 2019-07-08T01:29:34.000Z | tests/test_transform_upscale.py | mrstephenneal/pdfwatermarker | 55934803efd91b6b456985be7df93c03d24747c7 | [
"Apache-2.0"
] | 1 | 2020-08-10T00:14:43.000Z | 2020-08-10T00:14:43.000Z | import os
import unittest
from tempfile import TemporaryDirectory
from looptools import Timer
from pdfconduit import Info, Upscale
from tests import *
class TestUpscale(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.pdf_path = pdf_path
cls.temp = TemporaryDirectory()
@classme... | 33.116883 | 119 | 0.656078 | 348 | 2,550 | 4.698276 | 0.198276 | 0.042813 | 0.04159 | 0.051376 | 0.797554 | 0.797554 | 0.738838 | 0.718043 | 0.670336 | 0.617737 | 0 | 0.01652 | 0.240392 | 2,550 | 76 | 120 | 33.552632 | 0.827568 | 0.196078 | 0 | 0.4 | 0 | 0 | 0.050445 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 1 | 0.133333 | false | 0 | 0.133333 | 0 | 0.377778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82c5fb16da64f47c09383cdc448df902c7b8bd2d | 22 | py | Python | gargantua/__init__.py | Laisky/laisky-blog | ebe7dadf8fce283ebab0539926ad1be1246e5156 | [
"Apache-2.0"
] | 18 | 2015-05-08T02:06:39.000Z | 2022-03-05T21:36:48.000Z | gargantua/__init__.py | Laisky/laisky-blog | ebe7dadf8fce283ebab0539926ad1be1246e5156 | [
"Apache-2.0"
] | 131 | 2015-01-22T14:54:59.000Z | 2022-02-16T15:14:10.000Z | gargantua/__init__.py | Laisky/laisky-blog | ebe7dadf8fce283ebab0539926ad1be1246e5156 | [
"Apache-2.0"
] | 3 | 2016-01-11T13:52:41.000Z | 2019-06-12T08:54:15.000Z | __version__ = '2.9.5'
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82c69683b7388110326bcc9239029c279a42b5da | 96 | py | Python | src/minterpy/schemes/barycentric/__init__.py | karanprime/minterpy | 75d8976b2ddcf79ebaa29b4cb80691ca02a6d180 | [
"MIT"
] | 13 | 2021-11-30T17:52:45.000Z | 2021-12-09T10:05:20.000Z | src/minterpy/schemes/barycentric/__init__.py | karanprime/minterpy | 75d8976b2ddcf79ebaa29b4cb80691ca02a6d180 | [
"MIT"
] | 2 | 2021-11-30T18:31:22.000Z | 2022-02-10T10:13:37.000Z | src/minterpy/schemes/barycentric/__init__.py | karanprime/minterpy | 75d8976b2ddcf79ebaa29b4cb80691ca02a6d180 | [
"MIT"
] | 6 | 2021-11-30T18:17:26.000Z | 2022-02-18T17:38:27.000Z | """
This 'barycentic' submodule is part of `minterpy` and the submodule `minterpy.schemes`.
"""
| 24 | 87 | 0.71875 | 12 | 96 | 5.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 3 | 88 | 32 | 0.831325 | 0.90625 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d62e7d277335211a28b1b195998e9c544eeff4d | 183 | py | Python | exhibit/project/views.py | ddonco/django_blog | de353bafaf1d8044f2160070f92970bad3137215 | [
"MIT"
] | null | null | null | exhibit/project/views.py | ddonco/django_blog | de353bafaf1d8044f2160070f92970bad3137215 | [
"MIT"
] | null | null | null | exhibit/project/views.py | ddonco/django_blog | de353bafaf1d8044f2160070f92970bad3137215 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views import generic
# Create your views here.
class ProjectListView(generic.TemplateView):
template_name = 'project/index.html'
| 22.875 | 44 | 0.797814 | 23 | 183 | 6.304348 | 0.782609 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 183 | 7 | 45 | 26.142857 | 0.91195 | 0.125683 | 0 | 0 | 0 | 0 | 0.113924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d638bc3999f69d2ecda00680c2ce1ac51704889 | 266 | py | Python | trunk/swen610/toolshare/admin.py | leon486/toolshare | 13f6ab1afb96a5f8294c121ff6916a1fcab5c2bc | [
"MIT"
] | null | null | null | trunk/swen610/toolshare/admin.py | leon486/toolshare | 13f6ab1afb96a5f8294c121ff6916a1fcab5c2bc | [
"MIT"
] | null | null | null | trunk/swen610/toolshare/admin.py | leon486/toolshare | 13f6ab1afb96a5f8294c121ff6916a1fcab5c2bc | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from toolshare.models import *
# Register your models here.
admin.site.register(User)
admin.site.register(Tool)
admin.site.register(Shed)
admin.site.register(ShareZone)
admin.site.register(Reservation)
| 22.166667 | 32 | 0.804511 | 37 | 266 | 5.783784 | 0.432432 | 0.21028 | 0.397196 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093985 | 266 | 11 | 33 | 24.181818 | 0.887967 | 0.199248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d640f2d850013bacf5016744c7adbf620dcaf19 | 89 | py | Python | docs/conftest.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 8,633 | 2019-03-23T17:51:03.000Z | 2022-03-31T22:17:42.000Z | docs/conftest.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 3,903 | 2019-03-23T19:11:21.000Z | 2022-03-31T23:21:23.000Z | docs/conftest.py | ngriffiths13/prefect | 7f5613abcb182494b7dc12159277c3bc5f3c9898 | [
"Apache-2.0"
] | 937 | 2019-03-23T18:49:44.000Z | 2022-03-31T21:45:13.000Z | import sys
if sys.version_info < (3, 6):
collect_ignore = ["test_generate_docs.py"]
| 17.8 | 46 | 0.696629 | 14 | 89 | 4.142857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.168539 | 89 | 4 | 47 | 22.25 | 0.756757 | 0 | 0 | 0 | 1 | 0 | 0.235955 | 0.235955 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7d849a1472c4febe43e684666ea18763528e0260 | 29 | py | Python | SpoTwillio/lib/python3.6/keyword.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 99 | 2019-10-09T16:14:46.000Z | 2022-03-17T02:23:47.000Z | SpoTwillio/lib/python3.6/keyword.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 43 | 2021-02-18T22:37:01.000Z | 2021-05-05T19:37:51.000Z | SpoTwillio/lib/python3.6/keyword.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 98 | 2019-10-17T14:48:28.000Z | 2022-01-21T03:33:38.000Z | /usr/lib/python3.6/keyword.py | 29 | 29 | 0.793103 | 6 | 29 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 29 | 1 | 29 | 29 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d86f11f77ab56049cb409cf748e384e6e0cf6fc | 2,589 | py | Python | Protheus_WebApp/Modules/SIGAGFE/GFEA013TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 17 | 2018-09-24T17:27:08.000Z | 2021-09-16T19:09:46.000Z | Protheus_WebApp/Modules/SIGAGFE/GFEA013TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 4 | 2018-09-24T17:30:32.000Z | 2022-01-03T11:39:30.000Z | Protheus_WebApp/Modules/SIGAGFE/GFEA013TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 18 | 2019-06-07T17:41:34.000Z | 2022-01-31T18:17:31.000Z | from tir import Webapp
import unittest
class GFEA013(unittest.TestCase):
@classmethod
def setUpClass(inst):
inst.oHelper = Webapp()
inst.oHelper.Setup('SIGAGFE','03/11/2020','T1','D MG 01 ','78')
inst.oHelper.Program('GFEA013')
def test_GFEA013_CT001(self):
self.oHelper.SetButton('Incluir')
self.oHelpe... | 35.465753 | 66 | 0.692159 | 341 | 2,589 | 5.196481 | 0.187683 | 0.291761 | 0.257336 | 0.155756 | 0.812641 | 0.780474 | 0.691309 | 0.691309 | 0.689616 | 0.534424 | 0 | 0.023746 | 0.137891 | 2,589 | 72 | 67 | 35.958333 | 0.770161 | 0 | 0 | 0.47541 | 0 | 0 | 0.222093 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 1 | 0.04918 | false | 0 | 0.032787 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d98666d50ca3cff6bb5890ba06ac1757c6e41d4 | 179 | py | Python | launcher.py | cjuliani/opencv-edge-detection-multisource-control | e265a49f81d27cbb7e3289750b5336b9b117507a | [
"MIT"
] | null | null | null | launcher.py | cjuliani/opencv-edge-detection-multisource-control | e265a49f81d27cbb7e3289750b5336b9b117507a | [
"MIT"
] | null | null | null | launcher.py | cjuliani/opencv-edge-detection-multisource-control | e265a49f81d27cbb7e3289750b5336b9b117507a | [
"MIT"
] | null | null | null | import os
os.chdir("C:/Users/cyrilj/Desktop/github-multi-edge-detector")
import edge_detector
model = edge_detector.detector()
# Initiate the main function
model.detect() | 22.375 | 63 | 0.759777 | 25 | 179 | 5.36 | 0.68 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122905 | 179 | 8 | 64 | 22.375 | 0.853503 | 0.145251 | 0 | 0 | 0 | 0 | 0.344828 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7dbea45feb7e04ff545e611a8dbec709a6a496a1 | 1,041 | py | Python | src/Classes/MSDS400/Module 2/simplex_matrix.py | bmoretz/Python-Playground | a367ec7659b85c24363c21b5c0ac25db08ffa1f6 | [
"MIT"
] | null | null | null | src/Classes/MSDS400/Module 2/simplex_matrix.py | bmoretz/Python-Playground | a367ec7659b85c24363c21b5c0ac25db08ffa1f6 | [
"MIT"
] | null | null | null | src/Classes/MSDS400/Module 2/simplex_matrix.py | bmoretz/Python-Playground | a367ec7659b85c24363c21b5c0ac25db08ffa1f6 | [
"MIT"
] | null | null | null | from sympy import Matrix, pprint
M = Matrix( [
[ 1, 0, 1, 0, 0, 0, 0, 0, 3 ],
[ 0, 1, 0, 1, 0, 0, 0, 0, 4 ],
[ 2, 1, 0, 0, 1, 0, 0, 0, 7 ],
[ 1, 1, 0, 0, 0, 1, 0, 0, 5 ],
[ -1, 0, 0, 0, 0, 0, 1, 0, 0 ],
[ 0, -1, 0, 0, 0, 0, 0, 1, 0 ],
[-3000, -2000, 0, 0, 0, 0, 0, 0, 0 ] ] )
pprint( M )
# Pivot 1
[ ... | 23.133333 | 43 | 0.487992 | 287 | 1,041 | 1.721254 | 0.097561 | 0.117409 | 0.115385 | 0.255061 | 0.755061 | 0.724696 | 0.665992 | 0.617409 | 0.568826 | 0.364372 | 0 | 0.168766 | 0.237272 | 1,041 | 45 | 44 | 23.133333 | 0.453401 | 0.022094 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 0.166667 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
7dd429f8eaf1f9c45a881cdffdd6620e546c6d5c | 118 | py | Python | tronpy/providers/__init__.py | drodel/tronpy | 9e869fb508c3f77b432948cc56cd66985375843d | [
"MIT"
] | 87 | 2020-08-24T08:46:37.000Z | 2022-03-28T02:50:56.000Z | tronpy/providers/__init__.py | drodel/tronpy | 9e869fb508c3f77b432948cc56cd66985375843d | [
"MIT"
] | 40 | 2020-07-17T11:15:46.000Z | 2022-03-30T01:02:16.000Z | tronpy/providers/__init__.py | drodel/tronpy | 9e869fb508c3f77b432948cc56cd66985375843d | [
"MIT"
] | 50 | 2020-08-04T15:10:37.000Z | 2022-03-29T02:03:38.000Z | from .http import HTTPProvider
from .async_http import AsyncHTTPProvider
__all__ = [HTTPProvider, AsyncHTTPProvider]
| 23.6 | 43 | 0.838983 | 12 | 118 | 7.833333 | 0.583333 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 118 | 4 | 44 | 29.5 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7ddd17c23d558b02e2531fc010ac8f46f5fc86c7 | 290 | py | Python | test/node.py | TysonHeart/dynomite | 6870eca86a1b1703e1b56edece57c9e564f071ab | [
"Apache-2.0"
] | 3,380 | 2015-01-01T15:58:41.000Z | 2022-03-31T10:29:23.000Z | test/node.py | TysonHeart/dynomite | 6870eca86a1b1703e1b56edece57c9e564f071ab | [
"Apache-2.0"
] | 468 | 2015-01-02T12:37:05.000Z | 2022-03-11T19:20:15.000Z | test/node.py | TysonHeart/dynomite | 6870eca86a1b1703e1b56edece57c9e564f071ab | [
"Apache-2.0"
] | 542 | 2015-01-04T09:54:21.000Z | 2022-03-03T04:53:38.000Z | #!/usr/bin/env python3
class Node(object):
def __init__(self, ip, port):
self.ip = ip
self.port=port
self.name="Node: %s:%d" % (ip, port)
def __name__(self):
return self.name
def start(self):
return
def stop(self):
return
| 17.058824 | 44 | 0.537931 | 39 | 290 | 3.794872 | 0.461538 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.327586 | 290 | 16 | 45 | 18.125 | 0.753846 | 0.072414 | 0 | 0.181818 | 0 | 0 | 0.041045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.727273 | 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 | 1 | 0 | 0 | 4 |
7df00ef943a4cd904dc0b9d3b7bba30aa3437c93 | 15,659 | py | Python | test/unit/test_storage.py | jasonstrimpel/py2neo | 051125cab0adfb769415898ecfadad02eb6a7965 | [
"Apache-2.0"
] | 1 | 2018-11-14T17:10:15.000Z | 2018-11-14T17:10:15.000Z | test/unit/test_storage.py | jasonstrimpel/py2neo | 051125cab0adfb769415898ecfadad02eb6a7965 | [
"Apache-2.0"
] | null | null | null | test/unit/test_storage.py | jasonstrimpel/py2neo | 051125cab0adfb769415898ecfadad02eb6a7965 | [
"Apache-2.0"
] | 1 | 2020-10-07T05:48:13.000Z | 2020-10-07T05:48:13.000Z | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Copyright 2011-2018, Nigel Small
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | 46.465875 | 115 | 0.631586 | 1,911 | 15,659 | 4.969649 | 0.088435 | 0.175319 | 0.17058 | 0.138149 | 0.827946 | 0.789618 | 0.733916 | 0.680847 | 0.609772 | 0.527219 | 0 | 0.008039 | 0.205633 | 15,659 | 336 | 116 | 46.604167 | 0.755447 | 0.038253 | 0 | 0.525362 | 0 | 0 | 0.049651 | 0 | 0 | 0 | 0 | 0 | 0.471014 | 1 | 0.115942 | false | 0 | 0.007246 | 0 | 0.148551 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81691ed795893e79519ab37f6da9bbdc13f7231a | 929 | py | Python | test/test_validation_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_validation_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_validation_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | """
MSX SDK
MSX SDK client. # noqa: E501
The version of the OpenAPI document: 1.0.9
Generated by: https://openapi-generator.tech
"""
import unittest
import python_msx_sdk
from python_msx_sdk.api.validation_api import ValidationApi # noqa: E501
class TestValidationApi(unittest.TestCase):
"""... | 21.604651 | 93 | 0.670614 | 111 | 929 | 5.369369 | 0.477477 | 0.067114 | 0.147651 | 0.083893 | 0.097315 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025714 | 0.246502 | 929 | 42 | 94 | 22.119048 | 0.825714 | 0.440258 | 0 | 0.214286 | 1 | 0 | 0.017937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.214286 | 0.214286 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
816c091cb7268b6fcb6927eb50aff517342e97fa | 46 | py | Python | clerk/__init__.py | mingaleg/yakubovich | 95398c78eaffbd6ff69f8fdbedfc847531219d8a | [
"MIT"
] | 5 | 2018-12-12T16:24:42.000Z | 2020-02-29T18:45:30.000Z | clerk/__init__.py | mingaleg/yakubovich | 95398c78eaffbd6ff69f8fdbedfc847531219d8a | [
"MIT"
] | 3 | 2020-06-05T17:47:13.000Z | 2022-02-11T03:39:54.000Z | clerk/__init__.py | mingaleg/yakubovich | 95398c78eaffbd6ff69f8fdbedfc847531219d8a | [
"MIT"
] | null | null | null | default_app_config = "clerk.apps.ClerkConfig"
| 23 | 45 | 0.826087 | 6 | 46 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.478261 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81772a4b3a6e01f84fb6bffa0654ddb84339bb37 | 4,529 | py | Python | vis_imagine_static_voxels/lib/modules/Combine.py | mihirp1998/EmbLang | 169b0468ccda554896973bcc226afb3e762a70e7 | [
"Apache-2.0"
] | 3 | 2020-07-12T02:15:27.000Z | 2021-07-18T06:00:49.000Z | vis_imagine_static_voxels/lib/modules/Combine.py | mihirp1998/EmbLang | 169b0468ccda554896973bcc226afb3e762a70e7 | [
"Apache-2.0"
] | 1 | 2021-07-18T06:00:10.000Z | 2021-07-24T11:51:17.000Z | vis_imagine_static_voxels/lib/modules/Combine.py | mihirp1998/EmbLang | 169b0468ccda554896973bcc226afb3e762a70e7 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
from collections import OrderedDict
from instance_norm import InstanceNormalization
import time
from tensorflow.python.platform import tf_logging
tf_logging.set_verbosity(tf_logging.DEBUG)
import ipdb
st = ipdb.set_trace
# tf.set_random_seed(1)
class Combine_Vis(tf.keras.Model):
def __init__(... | 35.661417 | 115 | 0.608302 | 716 | 4,529 | 3.646648 | 0.132682 | 0.088089 | 0.058981 | 0.027576 | 0.788587 | 0.780927 | 0.7545 | 0.700498 | 0.693987 | 0.671773 | 0 | 0.061663 | 0.208655 | 4,529 | 126 | 116 | 35.944444 | 0.666853 | 0.004637 | 0 | 0.514563 | 0 | 0 | 0.027075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067961 | false | 0 | 0.067961 | 0 | 0.223301 | 0.019417 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81924900cd5ad02c0fc2e7baa20bd83ae371c348 | 78 | py | Python | nautobot_netbox_importer/diffsync/__init__.py | Thetacz/nautobot-plugin-netbox-importer | cbf95e3c471fc4b29aeea338fbeeea7476f1fa19 | [
"Apache-2.0"
] | 11 | 2021-02-24T17:54:54.000Z | 2022-01-25T18:36:21.000Z | nautobot_netbox_importer/diffsync/__init__.py | Thetacz/nautobot-plugin-netbox-importer | cbf95e3c471fc4b29aeea338fbeeea7476f1fa19 | [
"Apache-2.0"
] | 44 | 2021-02-28T20:21:52.000Z | 2022-02-10T21:40:35.000Z | nautobot_netbox_importer/diffsync/__init__.py | Thetacz/nautobot-plugin-netbox-importer | cbf95e3c471fc4b29aeea338fbeeea7476f1fa19 | [
"Apache-2.0"
] | 9 | 2021-02-28T17:05:53.000Z | 2021-10-05T23:48:06.000Z | """DiffSync adapter and model implementation for nautobot-netbox-importer."""
| 39 | 77 | 0.794872 | 9 | 78 | 6.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 1 | 78 | 78 | 0.873239 | 0.910256 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81abd37a53f8dd72615ac2bd52785ea5b752ff75 | 255 | py | Python | tea_django/models/vanilla.py | alefnula/django-tea | 30c3fcb54828fe3d5f832cdd629ca53c78f8f930 | [
"Apache-2.0"
] | 1 | 2020-10-20T00:10:50.000Z | 2020-10-20T00:10:50.000Z | tea_django/models/vanilla.py | alefnula/tea-django | 30c3fcb54828fe3d5f832cdd629ca53c78f8f930 | [
"Apache-2.0"
] | null | null | null | tea_django/models/vanilla.py | alefnula/tea-django | 30c3fcb54828fe3d5f832cdd629ca53c78f8f930 | [
"Apache-2.0"
] | null | null | null | from tea_console.table import RichTableMixin
from django.utils.functional import classproperty
class VanillaModel(RichTableMixin):
@classproperty
def class_name(cls):
return cls.__name__
def to_dict(self) -> dict:
return {}
| 21.25 | 49 | 0.72549 | 29 | 255 | 6.137931 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203922 | 255 | 11 | 50 | 23.181818 | 0.876847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
81d8016c8b2a73e578d8cce88377bed293d2f70a | 374 | py | Python | package_making_practice/facades/brightness.py | manthanchauhan/package_making_practice | 22794423219486a80242883cf7299655ae0c39cc | [
"MIT"
] | 1 | 2019-01-23T18:11:18.000Z | 2019-01-23T18:11:18.000Z | package_making_practice/facades/brightness.py | manthanchauhan/package_making_practice | 22794423219486a80242883cf7299655ae0c39cc | [
"MIT"
] | null | null | null | package_making_practice/facades/brightness.py | manthanchauhan/package_making_practice | 22794423219486a80242883cf7299655ae0c39cc | [
"MIT"
] | null | null | null | """
Brightness
"""
class Brightness(object):
"""
Brightness facade
"""
def current_level(self):
return self._current_level()
def set_level(self, level):
return self._set_level(level)
# private
def _current_level(self):
raise NotImplementedError()
def _set_le... | 16.26087 | 37 | 0.628342 | 38 | 374 | 5.921053 | 0.342105 | 0.16 | 0.133333 | 0.168889 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 374 | 22 | 38 | 17 | 0.818182 | 0.09893 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
81df649f8c7613c60019b928c94c0cf65210ab10 | 1,047 | py | Python | volunteer/models.py | witty-technologies-empowerment/codeupblood | a0aa1725e5776d80e083b6d4e9e67476bb97e983 | [
"MIT"
] | null | null | null | volunteer/models.py | witty-technologies-empowerment/codeupblood | a0aa1725e5776d80e083b6d4e9e67476bb97e983 | [
"MIT"
] | null | null | null | volunteer/models.py | witty-technologies-empowerment/codeupblood | a0aa1725e5776d80e083b6d4e9e67476bb97e983 | [
"MIT"
] | 1 | 2022-01-19T11:09:13.000Z | 2022-01-19T11:09:13.000Z | from django.db import models
# Create your models here.
class Volunteer(models.Model):
telegram = models.CharField(max_length=100, blank=True)
first_name = models.CharField(max_length=100, blank=False)
last_name = models.CharField(max_length=100, blank=False)
email = models.CharField(max_length=250, blank=False)
... | 36.103448 | 87 | 0.756447 | 148 | 1,047 | 5.189189 | 0.378378 | 0.214844 | 0.257813 | 0.34375 | 0.561198 | 0.561198 | 0.519531 | 0.106771 | 0 | 0 | 0 | 0.031659 | 0.125119 | 1,047 | 28 | 88 | 37.392857 | 0.806769 | 0.022923 | 0 | 0 | 0 | 0 | 0.057843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.863636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
81e3b02ed34e17640e60f38b1f16c4743b8de174 | 408 | py | Python | astoria/consumers/astctl/usercode/__init__.py | sedders123/astoria | d1e9603b10d765aed4c1237e79b5ab48a9af1d83 | [
"MIT"
] | 1 | 2021-02-03T02:54:54.000Z | 2021-02-03T02:54:54.000Z | astoria/consumers/astctl/usercode/__init__.py | sedders123/astoria | d1e9603b10d765aed4c1237e79b5ab48a9af1d83 | [
"MIT"
] | 72 | 2020-12-15T18:29:18.000Z | 2022-03-08T09:42:53.000Z | astoria/astctl/usercode/__init__.py | trickeydan/astoria | ef08ed4be4d5997751846b0cadce9aa8261ae151 | [
"MIT"
] | 2 | 2022-02-05T23:00:51.000Z | 2022-03-09T21:40:49.000Z | """Commands to interact with usercode."""
import click
from .kill import kill
from .log import log
from .restart import restart
from .show import show
from .trigger import trigger
@click.group("usercode")
def usercode() -> None:
"""Interact with Usercode."""
usercode.add_command(kill)
usercode.add_command(log)... | 19.428571 | 41 | 0.769608 | 56 | 408 | 5.517857 | 0.321429 | 0.177994 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120098 | 408 | 20 | 42 | 20.4 | 0.860724 | 0.144608 | 0 | 0 | 0 | 0 | 0.023669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | true | 0 | 0.461538 | 0 | 0.538462 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
81e6012c210f1bff12325b5e62af9f61fa458356 | 364 | py | Python | molecule/default/tests/test_default.py | osism/ansible-operator | bf5ff3635d8f29acabeaf8736d41a0d319c1d53f | [
"Apache-2.0"
] | null | null | null | molecule/default/tests/test_default.py | osism/ansible-operator | bf5ff3635d8f29acabeaf8736d41a0d319c1d53f | [
"Apache-2.0"
] | 4 | 2019-11-20T21:10:53.000Z | 2020-10-30T00:42:38.000Z | molecule/default/tests/test_default.py | osism/ansible-operator | bf5ff3635d8f29acabeaf8736d41a0d319c1d53f | [
"Apache-2.0"
] | 1 | 2019-08-23T09:07:54.000Z | 2019-08-23T09:07:54.000Z | import pytest
@pytest.fixture()
def AnsibleDefaults(host):
return host.ansible("include_vars", "defaults.yml")["ansible_facts"]
def test_operator_user_and_group(host, AnsibleDefaults):
user = host.user(AnsibleDefaults["operator_user"])
assert user.name == AnsibleDefaults["operator_user"]
assert user... | 28 | 72 | 0.758242 | 42 | 364 | 6.357143 | 0.47619 | 0.134831 | 0.202247 | 0.247191 | 0.277154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 364 | 12 | 73 | 30.333333 | 0.829193 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
c4912930f60067aa4fae300fbbeb759c2bf798a6 | 479 | py | Python | lib/log_utils/__init__.py | rainwangphy/AutoDL-Projects | 1a40948255ac3c16ee529d94144a39bf26e89bfa | [
"MIT"
] | 923 | 2020-01-11T06:36:53.000Z | 2022-03-31T00:26:57.000Z | lib/log_utils/__init__.py | rainwangphy/AutoDL-Projects | 1a40948255ac3c16ee529d94144a39bf26e89bfa | [
"MIT"
] | 25 | 2020-02-27T08:35:46.000Z | 2022-01-25T08:54:19.000Z | lib/log_utils/__init__.py | rainwangphy/AutoDL-Projects | 1a40948255ac3c16ee529d94144a39bf26e89bfa | [
"MIT"
] | 262 | 2020-01-02T02:19:40.000Z | 2022-03-23T04:56:16.000Z | ##################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019 #
##################################################
# every package does not rely on pytorch or tensorflow
# I tried to list all dependency here: os, sys, time, numpy, (possibly) matplotlib
from .logger import Log... | 53.222222 | 102 | 0.597077 | 56 | 479 | 4.964286 | 0.803571 | 0.071942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012136 | 0.139875 | 479 | 8 | 103 | 59.875 | 0.662621 | 0.377871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c4cdb7e054ca946b3bfe8f0eb5b3fb9348e7c785 | 70 | py | Python | tarun.py | belonesox/casket_assembler | e6e4801cbb6942f465c3d0f38b3b068978e7806d | [
"MIT"
] | 6 | 2021-05-31T05:38:59.000Z | 2022-03-30T10:33:20.000Z | tarun.py | belonesox/casket_assembler | e6e4801cbb6942f465c3d0f38b3b068978e7806d | [
"MIT"
] | null | null | null | tarun.py | belonesox/casket_assembler | e6e4801cbb6942f465c3d0f38b3b068978e7806d | [
"MIT"
] | 1 | 2020-12-05T19:12:45.000Z | 2020-12-05T19:12:45.000Z | #!/usr/bin/env python
from terrarium_assembler.cli import main
main() | 17.5 | 40 | 0.785714 | 11 | 70 | 4.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 4 | 41 | 17.5 | 0.857143 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.