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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c967472bb8b76200c1985316990f833cfbbb7d46 | 144 | py | Python | TimeWrapper_JE/venv/Lib/site-packages/setuptools/_distutils/debug.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 207 | 2018-10-01T08:53:01.000Z | 2022-03-14T12:15:54.000Z | TimeWrapper_JE/venv/Lib/site-packages/setuptools/_distutils/debug.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 30 | 2019-01-04T10:14:56.000Z | 2020-10-12T14:00:31.000Z | TimeWrapper_JE/venv/Lib/site-packages/setuptools/_distutils/debug.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | import os
# If DISTUTILS_DEBUG is anything other than the empty string, we run in
# debug mode.
DEBUG = os.environ.get('DISTUTILS_DEBUG')
| 24 | 72 | 0.736111 | 23 | 144 | 4.521739 | 0.782609 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 144 | 5 | 73 | 28.8 | 0.888889 | 0.5625 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c96eb5f2d0707323358b565c6145a0b296974e27 | 14,554 | py | Python | tests/core_tests_fab_collection.py | gf712/AbPyTools | 9ff0d4346ad80487d43875bc77d99fbe76170db4 | [
"MIT"
] | 13 | 2017-06-13T12:31:47.000Z | 2022-03-23T02:14:01.000Z | tests/core_tests_fab_collection.py | gf712/AbPyTools | 9ff0d4346ad80487d43875bc77d99fbe76170db4 | [
"MIT"
] | 8 | 2018-02-21T22:15:35.000Z | 2022-02-01T12:27:58.000Z | tests/core_tests_fab_collection.py | gf712/AbPyTools | 9ff0d4346ad80487d43875bc77d99fbe76170db4 | [
"MIT"
] | 3 | 2018-04-10T08:01:39.000Z | 2021-10-10T14:37:43.000Z | import unittest
from abpytools import FabCollection, ChainCollection, Fab
import os
from glob import glob
from . import ABNUM_URL, check_connection
class FabCollectionCore(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.light_chain_collection = ChainCollection.load_from_file(
pa... | 56.19305 | 109 | 0.661055 | 1,579 | 14,554 | 5.737809 | 0.09373 | 0.142384 | 0.083885 | 0.071523 | 0.796578 | 0.754084 | 0.737528 | 0.720199 | 0.688852 | 0.653091 | 0 | 0.024084 | 0.249691 | 14,554 | 259 | 110 | 56.19305 | 0.805586 | 0.025629 | 0 | 0.514423 | 0 | 0 | 0.081417 | 0.044024 | 0 | 0 | 0 | 0 | 0.201923 | 1 | 0.192308 | false | 0 | 0.024038 | 0 | 0.221154 | 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 |
c97083420761e3c940f7481a7a0b8aee1214a7ab | 195 | py | Python | Curso em Video/ex primeiro e ultimo nome.py | roldanbiel/ExerciciosPython | ec9cc774d85120837bd9373bb261ba6ec7d4ece2 | [
"MIT"
] | null | null | null | Curso em Video/ex primeiro e ultimo nome.py | roldanbiel/ExerciciosPython | ec9cc774d85120837bd9373bb261ba6ec7d4ece2 | [
"MIT"
] | null | null | null | Curso em Video/ex primeiro e ultimo nome.py | roldanbiel/ExerciciosPython | ec9cc774d85120837bd9373bb261ba6ec7d4ece2 | [
"MIT"
] | null | null | null |
nome = str(input('Informe seu nome: ')).strip()
dividido = nome.split()
print('Seu primeiro nome é: {}'.format(dividido[0]))
print('Seu último nome é: {}'.format(dividido[len(dividido) - 1]))
| 24.375 | 66 | 0.661538 | 28 | 195 | 4.607143 | 0.571429 | 0.124031 | 0.170543 | 0.294574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.123077 | 195 | 7 | 67 | 27.857143 | 0.74269 | 0 | 0 | 0 | 0 | 0 | 0.319588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c97bb12299e8084a48bf425d84c399fe1dc5ef81 | 165 | py | Python | genomelink/__init__.py | genomelink/genomelink-python | 8a92abdb7bf22ff901cd0547b79a734440d0fa29 | [
"MIT"
] | 25 | 2018-06-24T17:55:14.000Z | 2021-02-19T10:19:54.000Z | genomelink/__init__.py | AWAKENS-dev/genomelink-python | 8a92abdb7bf22ff901cd0547b79a734440d0fa29 | [
"MIT"
] | 1 | 2019-01-07T23:57:29.000Z | 2019-01-07T23:57:29.000Z | genomelink/__init__.py | genomelink/genomelink-python | 8a92abdb7bf22ff901cd0547b79a734440d0fa29 | [
"MIT"
] | 7 | 2018-10-21T17:06:29.000Z | 2022-02-04T21:18:52.000Z | import os
api_base = os.environ.get('GENOMELINK_API_BASE', 'https://genomelink.io')
from genomelink.oauth import OAuth
from genomelink.resource.report import Report
| 33 | 73 | 0.812121 | 24 | 165 | 5.458333 | 0.541667 | 0.10687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084848 | 165 | 4 | 74 | 41.25 | 0.86755 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 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 |
c97c36410f92dda59ca0a8e36fdd803e1ea94cda | 124 | py | Python | bareasgi/websockets/websocket_errors.py | rob-blackbourn/bareasgi | c83e3020edcb5e1650b6137c21d7f3659467e687 | [
"Apache-2.0"
] | 15 | 2019-02-23T11:09:06.000Z | 2020-01-01T09:25:33.000Z | bareasgi/websockets/websocket_errors.py | rob-blackbourn/bareASGI | 5966ab6b54bc99420b06fb90cff05d15447e98b7 | [
"Apache-2.0"
] | 1 | 2021-09-20T10:55:49.000Z | 2021-09-20T10:55:49.000Z | bareasgi/websockets/websocket_errors.py | rob-blackbourn/bareasgi | c83e3020edcb5e1650b6137c21d7f3659467e687 | [
"Apache-2.0"
] | 1 | 2021-01-11T09:09:29.000Z | 2021-01-11T09:09:29.000Z | """Websocket errors"""
class WebSocketInternalError(Exception):
"""Exception raised for a WebSocket internal error"""
| 20.666667 | 57 | 0.741935 | 12 | 124 | 7.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 124 | 5 | 58 | 24.8 | 0.859813 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a32715a30e481ac6a4f22fb6eb3175fd5b049ff7 | 4,189 | py | Python | plugin/avtodor-tr.py | pasha00000/mbplugin | e919c7c899495ae7f4b04fc2568991bb717bed9a | [
"MIT"
] | null | null | null | plugin/avtodor-tr.py | pasha00000/mbplugin | e919c7c899495ae7f4b04fc2568991bb717bed9a | [
"MIT"
] | null | null | null | plugin/avtodor-tr.py | pasha00000/mbplugin | e919c7c899495ae7f4b04fc2568991bb717bed9a | [
"MIT"
] | null | null | null | # -*- coding: utf8 -*-
''' Автор ArtyLa '''
import os, sys, re, logging
import requests
import store
login_url = 'https://avtodor-tr.ru/account/login'
login_checkers = ['<input[^>]*id="username"[^>]*', '<input[^>]*id="password"[^>]*', '<input[^>]*type="submit"[^>]*']
# Строка для поиска баланса ФИО и лицевог... | 53.705128 | 1,182 | 0.719981 | 374 | 4,189 | 7.941176 | 0.34492 | 0.03367 | 0.020202 | 0.026263 | 0.142088 | 0.131987 | 0.092929 | 0.057576 | 0.057576 | 0.032997 | 0 | 0.223889 | 0.156601 | 4,189 | 77 | 1,183 | 54.402597 | 0.616756 | 0.040344 | 0 | 0.169492 | 0 | 0 | 0.547813 | 0.37767 | 0 | 1 | 0 | 0 | 0 | 1 | 0.016949 | false | 0.050847 | 0.050847 | 0 | 0.084746 | 0.016949 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a35e14168158e4dd88d57586640c86691f7145e1 | 255 | py | Python | Aula 04/questao05.py | eujonas/Python | 6488221a40c2738753dc2b52d3daeeb1764321b8 | [
"MIT"
] | 2 | 2021-03-04T21:05:35.000Z | 2021-03-06T12:28:13.000Z | Aula 04/questao05.py | eujonas/Python | 6488221a40c2738753dc2b52d3daeeb1764321b8 | [
"MIT"
] | null | null | null | Aula 04/questao05.py | eujonas/Python | 6488221a40c2738753dc2b52d3daeeb1764321b8 | [
"MIT"
] | 2 | 2021-03-05T17:10:28.000Z | 2021-03-07T21:38:10.000Z | """5- Escreva uma função para validar uma string. Ela deve receber como argumento, uma string, o número minimo e máximo de caracteres e retornar VERDADEIRO se o número de caracteres da string estiver dentro do min e max passado, e FALSO caso contrário.""" | 255 | 255 | 0.788235 | 43 | 255 | 4.674419 | 0.744186 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004695 | 0.164706 | 255 | 1 | 255 | 255 | 0.938967 | 0.976471 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a35f736d82e63e914aa141d93546e631da21a91c | 231 | py | Python | orgbook-issuer-agent/issuer_pipeline/von_pipeline/generate-creds.py | BrendanBeachBC/jag-lcrb-carla-public | cd270e463ea5995073a609a86be7ca5a1e9b8ca3 | [
"Apache-2.0"
] | 7 | 2019-03-06T20:11:00.000Z | 2021-09-04T13:58:10.000Z | orgbook-issuer-agent/issuer_pipeline/von_pipeline/generate-creds.py | BrendanBeachBC/jag-lcrb-carla-public | cd270e463ea5995073a609a86be7ca5a1e9b8ca3 | [
"Apache-2.0"
] | 47 | 2018-07-21T22:39:11.000Z | 2022-03-02T13:08:36.000Z | orgbook-issuer-agent/issuer_pipeline/von_pipeline/generate-creds.py | BrendanBeachBC/jag-lcrb-carla-public | cd270e463ea5995073a609a86be7ca5a1e9b8ca3 | [
"Apache-2.0"
] | 20 | 2018-12-12T14:15:09.000Z | 2022-03-23T00:01:34.000Z | #!/usr/bin/python
import psycopg2
import datetime
from von_pipeline.config import config
from von_pipeline.eventprocessor import EventProcessor
with EventProcessor() as event_processor:
event_processor.process_event_queue()
| 21 | 54 | 0.835498 | 29 | 231 | 6.448276 | 0.586207 | 0.074866 | 0.160428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.108225 | 231 | 10 | 55 | 23.1 | 0.902913 | 0.069264 | 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 | 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 |
a3759cf45043177d9e281176bb6d614e0574e826 | 36 | py | Python | maml/apps/symbolic/tests/__init__.py | anooptp/maml | fdd95f3d60c9281d871d89b25b073e87b6ba4e52 | [
"BSD-3-Clause"
] | 161 | 2020-01-26T08:24:41.000Z | 2022-03-29T06:42:42.000Z | maml/apps/symbolic/tests/__init__.py | anooptp/maml | fdd95f3d60c9281d871d89b25b073e87b6ba4e52 | [
"BSD-3-Clause"
] | 195 | 2020-01-25T19:35:20.000Z | 2022-03-28T13:14:30.000Z | maml/apps/symbolic/tests/__init__.py | anooptp/maml | fdd95f3d60c9281d871d89b25b073e87b6ba4e52 | [
"BSD-3-Clause"
] | 46 | 2020-03-30T12:56:39.000Z | 2022-03-27T12:53:23.000Z | """
Tests for symbolic package.
"""
| 9 | 27 | 0.638889 | 4 | 36 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 3 | 28 | 12 | 0.766667 | 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 |
6ec0693b664557f03812dc06841f165c911b4c7e | 119 | py | Python | env/lib/python3.7/site-packages/django_class/apps.py | mejeng/kasir | cc6f9158b61c0cb45078ddf798af9588c8771311 | [
"MIT"
] | 2 | 2019-12-04T16:24:44.000Z | 2020-04-06T21:49:34.000Z | env/lib/python3.7/site-packages/django_class/apps.py | mejeng/kasir | cc6f9158b61c0cb45078ddf798af9588c8771311 | [
"MIT"
] | null | null | null | env/lib/python3.7/site-packages/django_class/apps.py | mejeng/kasir | cc6f9158b61c0cb45078ddf798af9588c8771311 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from django.apps import AppConfig
class DjangoPathConfig(AppConfig):
name = 'django_class'
| 17 | 34 | 0.756303 | 15 | 119 | 5.933333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 119 | 6 | 35 | 19.833333 | 0.872549 | 0.168067 | 0 | 0 | 0 | 0 | 0.122449 | 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 |
6ecbd6c60237fce92efa0268c0b191bae2fd85bf | 18,069 | py | Python | swagger_server/test/test_user_data_controller.py | hedleyroos/core-user-data-store | b73ba3e89809e35e6c76ee44f837df1fc5ad6193 | [
"BSD-3-Clause"
] | null | null | null | swagger_server/test/test_user_data_controller.py | hedleyroos/core-user-data-store | b73ba3e89809e35e6c76ee44f837df1fc5ad6193 | [
"BSD-3-Clause"
] | 43 | 2018-01-03T12:19:15.000Z | 2018-10-18T11:52:21.000Z | swagger_server/test/test_user_data_controller.py | hedleyroos/core-user-data-store | b73ba3e89809e35e6c76ee44f837df1fc5ad6193 | [
"BSD-3-Clause"
] | 1 | 2021-08-17T12:05:23.000Z | 2021-08-17T12:05:23.000Z | # coding: utf-8
from __future__ import absolute_import
import random
import uuid
from flask import json
from ge_core_shared import db_actions, decorators
import werkzeug
from swagger_server.models import AdminNoteCreate
from swagger_server.models import SiteDataSchemaCreate
from swagger_server.models import UserSit... | 31.099828 | 91 | 0.540152 | 1,776 | 18,069 | 5.293356 | 0.086149 | 0.037656 | 0.051378 | 0.057441 | 0.81268 | 0.744602 | 0.725136 | 0.667269 | 0.644931 | 0.622381 | 0 | 0.011011 | 0.34158 | 18,069 | 580 | 92 | 31.153448 | 0.779188 | 0.034977 | 0 | 0.666667 | 0 | 0 | 0.130134 | 0.023203 | 0 | 0 | 0 | 0 | 0.086093 | 1 | 0.03532 | false | 0 | 0.039735 | 0 | 0.077263 | 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 |
6edb29f3e1c5c942f6d0b0c6f7f3592217cff1f7 | 128 | py | Python | cwProject/cwApp/admin.py | cs-fullstack-2019-spring/django-validation-cw-autumn-ragland | 0cd1dead7d660d88aa0af5abfd34a48e49ec653c | [
"Apache-2.0"
] | null | null | null | cwProject/cwApp/admin.py | cs-fullstack-2019-spring/django-validation-cw-autumn-ragland | 0cd1dead7d660d88aa0af5abfd34a48e49ec653c | [
"Apache-2.0"
] | null | null | null | cwProject/cwApp/admin.py | cs-fullstack-2019-spring/django-validation-cw-autumn-ragland | 0cd1dead7d660d88aa0af5abfd34a48e49ec653c | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import NewCarModel
# Register your models here.
admin.site.register(NewCarModel)
| 21.333333 | 32 | 0.820313 | 17 | 128 | 6.176471 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 5 | 33 | 25.6 | 0.929204 | 0.203125 | 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 |
42bb42db6e9db1dafc8ee21044360e272d0c7a28 | 4,493 | py | Python | test_translator.py | mrguima/python-server-app | 31c1a71258c4fd5854d82c316c2788ffd783cf78 | [
"MIT"
] | null | null | null | test_translator.py | mrguima/python-server-app | 31c1a71258c4fd5854d82c316c2788ffd783cf78 | [
"MIT"
] | null | null | null | test_translator.py | mrguima/python-server-app | 31c1a71258c4fd5854d82c316c2788ffd783cf78 | [
"MIT"
] | null | null | null | import unittest
import translator
class TestTranslate(unittest.TestCase):
def test_translateReturnZero(self):
self.assertEqual(translator.translate(0), "zero")
self.assertEqual(translator.translate(00000), "zero")
self.assertEqual(translator.translate(-0), "zero")
self.assertEqual(... | 56.873418 | 107 | 0.70888 | 501 | 4,493 | 6.329341 | 0.225549 | 0.269631 | 0.449385 | 0.611164 | 0.667613 | 0.315358 | 0.178808 | 0.160202 | 0.143173 | 0.143173 | 0 | 0.052927 | 0.167371 | 4,493 | 78 | 108 | 57.602564 | 0.794707 | 0 | 0 | 0.044118 | 0 | 0 | 0.17547 | 0 | 0 | 0 | 0 | 0 | 0.838235 | 1 | 0.088235 | false | 0 | 0.029412 | 0 | 0.132353 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
42e56508917eb095c9633a105e021b68b0a3dd6c | 3,609 | py | Python | tasks-deploy/calc-1/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | 3 | 2021-03-30T06:27:58.000Z | 2021-04-03T17:56:35.000Z | tasks-deploy/calc-1/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | tasks-deploy/calc-1/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | TASK_URL = "calc-1.ctf.sicamp.ru 50002"
TITLE = "Простой калькулятор"
STATEMENT_TEMPLATE = f'''
Весьма ленивый компьютер не хочет считать. Поговорите с ним
`nc {TASK_URL}`
Ваш токен: `{{0}}`
'''
def generate(context):
participant = context['participant']
token = tokens[participant.id % len(tok... | 257.785714 | 3,209 | 0.742311 | 249 | 3,609 | 10.742972 | 0.955823 | 0.005234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116782 | 0.07703 | 3,609 | 14 | 3,209 | 257.785714 | 0.68628 | 0 | 0 | 0 | 0 | 0 | 0.711148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
42e7c06c6774f9155bc9d42de9c97a70b8f43eee | 120 | py | Python | python/432.A.py | arechesk/cf | 8d2209398f0fc4a73c139f4101634a8ed8c62ff6 | [
"BSD-3-Clause"
] | null | null | null | python/432.A.py | arechesk/cf | 8d2209398f0fc4a73c139f4101634a8ed8c62ff6 | [
"BSD-3-Clause"
] | null | null | null | python/432.A.py | arechesk/cf | 8d2209398f0fc4a73c139f4101634a8ed8c62ff6 | [
"BSD-3-Clause"
] | null | null | null | n,k=list(map(int,input().split()))
s=list(map(int,input().split()))
ans=int(len([i for i in s if 5-i>=k])/3)
print(ans)
| 24 | 40 | 0.616667 | 28 | 120 | 2.642857 | 0.607143 | 0.189189 | 0.27027 | 0.405405 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.083333 | 120 | 4 | 41 | 30 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6e0cbeb815e5d9ae9a814ca04610abaa473d6eed | 214 | py | Python | ocdsapi/events.py | openprocurement/ocdsapi | 137d979c1f674b251436b3f68da8164921218bd6 | [
"Apache-2.0"
] | null | null | null | ocdsapi/events.py | openprocurement/ocdsapi | 137d979c1f674b251436b3f68da8164921218bd6 | [
"Apache-2.0"
] | 4 | 2019-12-26T17:18:39.000Z | 2022-03-21T22:16:51.000Z | ocdsapi/events.py | openprocurement/ocdsapi | 137d979c1f674b251436b3f68da8164921218bd6 | [
"Apache-2.0"
] | 2 | 2018-05-11T12:07:28.000Z | 2018-07-27T16:19:30.000Z | class RecordBatchUpdate:
""" Event generated each time when record is created/update with new release """
def __init__(self, request, records):
self.request = request
self.records = records
| 35.666667 | 84 | 0.691589 | 25 | 214 | 5.76 | 0.76 | 0.152778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228972 | 214 | 5 | 85 | 42.8 | 0.872727 | 0.336449 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6e1a3e43d20718b9da1812455dfffc68527292ce | 961 | py | Python | api/resources_portal/test/serializers/test_user.py | arielsvn/resources-portal | f5a25935e45ceb05e2f4738f567eec9ca8793441 | [
"BSD-3-Clause"
] | null | null | null | api/resources_portal/test/serializers/test_user.py | arielsvn/resources-portal | f5a25935e45ceb05e2f4738f567eec9ca8793441 | [
"BSD-3-Clause"
] | null | null | null | api/resources_portal/test/serializers/test_user.py | arielsvn/resources-portal | f5a25935e45ceb05e2f4738f567eec9ca8793441 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.auth.hashers import check_password
from django.forms.models import model_to_dict
from django.test import TestCase
from resources_portal.test.factories import UserFactory
from resources_portal.views.user import CreateUserSerializer
class TestCreateUserSerializer(TestCase):
def setUp(self):
... | 35.592593 | 86 | 0.762747 | 113 | 961 | 6.256637 | 0.345133 | 0.079208 | 0.067893 | 0.161245 | 0.371994 | 0.371994 | 0.229137 | 0.229137 | 0.229137 | 0.229137 | 0 | 0 | 0.150885 | 961 | 26 | 87 | 36.961538 | 0.866422 | 0 | 0 | 0.210526 | 0 | 0 | 0.008325 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.210526 | false | 0.157895 | 0.263158 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6e2345cd2907c42fde0c45715538c0ae6c12b428 | 83 | py | Python | RhymeSearch/RhymeSearch/__init__.py | Jezemy/ChineseRhymePhraseSearch | 6e5edde6170e0a7995d3f4f2d2f569fd36d906ee | [
"MIT"
] | 19 | 2020-04-13T10:27:40.000Z | 2021-09-17T11:22:49.000Z | RhymeSearch/RhymeSearch/__init__.py | Jezemy/ChineseRhymePhraseSearch | 6e5edde6170e0a7995d3f4f2d2f569fd36d906ee | [
"MIT"
] | 1 | 2020-04-14T02:27:49.000Z | 2020-04-14T02:27:49.000Z | RhymeSearch/RhymeSearch/__init__.py | Jezemy/ChineseRhymePhraseSearch | 6e5edde6170e0a7995d3f4f2d2f569fd36d906ee | [
"MIT"
] | 1 | 2021-09-17T06:52:00.000Z | 2021-09-17T06:52:00.000Z | # 如果使用pymysql+django2.1版本的将下列代码取消注释
# import pymysql
# pymysql.install_as_MySQLdb() | 27.666667 | 35 | 0.831325 | 9 | 83 | 7.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.072289 | 83 | 3 | 36 | 27.666667 | 0.844156 | 0.927711 | 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 |
6e3f8c915476e0c1ef8051a813364999730f261e | 133 | py | Python | python/testData/formatter/wrapBeforeElse.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/wrapBeforeElse.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/wrapBeforeElse.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | id = 1 if looooooooooooooooooooooooong_vaaaaaaaaaaaaaaaar == 'loooooooooooooooong_vaaaaaaaaaaaaaaaaaaaaaaaaaalue' else list('foo')[0] | 133 | 133 | 0.857143 | 11 | 133 | 10.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.06015 | 133 | 1 | 133 | 133 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.395522 | 0.373134 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 |
2856a1708c1eda0da41b6d2a0e773ed30bf1c04b | 142 | py | Python | examples/test.py | jkpubsrc/python-module-jk-flexdata | 34b5a00798428bd628c0a2210d3a0ca17b4e5f3c | [
"Apache-1.1"
] | null | null | null | examples/test.py | jkpubsrc/python-module-jk-flexdata | 34b5a00798428bd628c0a2210d3a0ca17b4e5f3c | [
"Apache-1.1"
] | null | null | null | examples/test.py | jkpubsrc/python-module-jk-flexdata | 34b5a00798428bd628c0a2210d3a0ca17b4e5f3c | [
"Apache-1.1"
] | null | null | null | #!/usr/bin/python3
import jk_flexdata
x = jk_flexdata.FlexObject({
"a": [
{
"b": "c"
}
]
})
print(x.a[0])
print(x.a[0].b)
| 6.173913 | 28 | 0.507042 | 22 | 142 | 3.181818 | 0.590909 | 0.285714 | 0.2 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.253521 | 142 | 22 | 29 | 6.454545 | 0.632075 | 0.119718 | 0 | 0 | 0 | 0 | 0.025424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9538cf4891d1fa56f85c8db8ce0b65668addcfc0 | 152 | py | Python | curio/__init__.py | ABaldwinHunter/curio-clone-classic | 43aebdb36d71296af63863b7a176acc831d4f8cf | [
"BSD-3-Clause"
] | null | null | null | curio/__init__.py | ABaldwinHunter/curio-clone-classic | 43aebdb36d71296af63863b7a176acc831d4f8cf | [
"BSD-3-Clause"
] | null | null | null | curio/__init__.py | ABaldwinHunter/curio-clone-classic | 43aebdb36d71296af63863b7a176acc831d4f8cf | [
"BSD-3-Clause"
] | null | null | null | # curio/__init__.py
__version__ = '0.1'
from .kernel import *
from .sync import *
from .queue import *
from .workers import *
from .network import *
| 13.818182 | 22 | 0.703947 | 21 | 152 | 4.714286 | 0.619048 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.184211 | 152 | 10 | 23 | 15.2 | 0.782258 | 0.111842 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9554c995c28d592ac4bb4941122622547c538057 | 145 | py | Python | core/io.py | ponyatov/datalang | e0a154111fb620873e4134db6aab1b43588c83bc | [
"MIT"
] | 2 | 2021-01-12T09:57:58.000Z | 2021-01-12T14:14:26.000Z | core/io.py | ponyatov/datalang | e0a154111fb620873e4134db6aab1b43588c83bc | [
"MIT"
] | null | null | null | core/io.py | ponyatov/datalang | e0a154111fb620873e4134db6aab1b43588c83bc | [
"MIT"
] | null | null | null | from .object import *
## input/output object
class IO(Object):
pass
## directory
class Dir(IO):
pass
## file
class File(IO):
pass
| 10.357143 | 22 | 0.634483 | 20 | 145 | 4.6 | 0.55 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 145 | 13 | 23 | 11.153846 | 0.836364 | 0.234483 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
956436b008436d983c517613525aa842ebe0363f | 50 | py | Python | ch15/train-project/train_schedule/models/__init__.py | kxen42/Learn-Python-Programming-Third-Edition | 851ddc5e6094fadd44f31a9ad1d3876456b04372 | [
"MIT"
] | 19 | 2021-11-05T22:54:09.000Z | 2022-03-29T15:03:47.000Z | ch15/train-project/train_schedule/models/__init__.py | kxen42/Learn-Python-Programming-Third-Edition | 851ddc5e6094fadd44f31a9ad1d3876456b04372 | [
"MIT"
] | null | null | null | ch15/train-project/train_schedule/models/__init__.py | kxen42/Learn-Python-Programming-Third-Edition | 851ddc5e6094fadd44f31a9ad1d3876456b04372 | [
"MIT"
] | 26 | 2021-11-12T17:04:50.000Z | 2022-03-29T01:10:35.000Z | # train-project/train_schedule/models/__init__.py
| 25 | 49 | 0.84 | 7 | 50 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 50 | 1 | 50 | 50 | 0.770833 | 0.94 | 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 |
958b6556ee7467fa4e11a0ae79d1bc6e1f0e2fa5 | 133 | py | Python | build/lib/core/adaload.py | dyphen12/ada | cbe4f10755df7c58f803c3d21ab5406c40302622 | [
"MIT"
] | 2 | 2021-07-18T08:44:10.000Z | 2022-01-19T18:40:55.000Z | build/lib/core/adaload.py | dyphen12/ada | cbe4f10755df7c58f803c3d21ab5406c40302622 | [
"MIT"
] | null | null | null | build/lib/core/adaload.py | dyphen12/ada | cbe4f10755df7c58f803c3d21ab5406c40302622 | [
"MIT"
] | 1 | 2021-07-18T08:45:24.000Z | 2021-07-18T08:45:24.000Z | import tensorflow as tf
def load_model():
model = tf.keras.models.load_model("core/ADA1.h5", compile = False)
return model
| 19 | 71 | 0.706767 | 20 | 133 | 4.6 | 0.75 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.180451 | 133 | 6 | 72 | 22.166667 | 0.825688 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
95a2cf5443c8d0e604d8da186924f9604d346b88 | 125 | py | Python | src/onboard/components/honeycomb/service_worker.py | proballstar/atlas | 6e4eb36b7e43e750dbb281c2051439198c82f296 | [
"MIT"
] | null | null | null | src/onboard/components/honeycomb/service_worker.py | proballstar/atlas | 6e4eb36b7e43e750dbb281c2051439198c82f296 | [
"MIT"
] | null | null | null | src/onboard/components/honeycomb/service_worker.py | proballstar/atlas | 6e4eb36b7e43e750dbb281c2051439198c82f296 | [
"MIT"
] | null | null | null | import pandas as pd
service_worker = pd.read_json('./service_worker.json') # load the json file
print(serviceworker.head(4))
| 31.25 | 75 | 0.776 | 20 | 125 | 4.7 | 0.75 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.104 | 125 | 3 | 76 | 41.666667 | 0.830357 | 0.144 | 0 | 0 | 0 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
95b5e45c18971623453e6394ef203ee573ae01e7 | 337 | py | Python | tests/test_python/test_normalizer.py | cyberpunk317/inverted_index | f49ae3ca4f0255928986c1610c5ff8ee38c5f1ff | [
"MIT"
] | 9 | 2021-09-03T10:02:16.000Z | 2021-12-22T14:19:33.000Z | tests/test_python/test_normalizer.py | cyberpunk317/inverted_index | f49ae3ca4f0255928986c1610c5ff8ee38c5f1ff | [
"MIT"
] | 3 | 2021-04-19T17:13:57.000Z | 2022-03-18T15:11:53.000Z | tests/test_python/test_normalizer.py | cyberpunk317/inverted_index | f49ae3ca4f0255928986c1610c5ff8ee38c5f1ff | [
"MIT"
] | 1 | 2021-12-11T09:47:46.000Z | 2021-12-11T09:47:46.000Z | from unittest import TestCase
class TestNormalizer(TestCase):
def test_normalize(self):
raise NotImplementedError
def test_removing_stop_words(self):
raise NotImplementedError
def test_lemmatization(self):
raise NotImplementedError
def test_denoising(self):
raise Not... | 21.0625 | 39 | 0.732938 | 33 | 337 | 7.30303 | 0.515152 | 0.116183 | 0.46473 | 0.385892 | 0.435685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222552 | 337 | 15 | 40 | 22.466667 | 0.919847 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
95c36a5dce5fec095d545f02be7d6a5ea50e0bdd | 318 | py | Python | master/tests.py | g12mcgov/grantmcgovern.com-V2 | 1fd920c6441dee914585577c5af6f2bc20309586 | [
"Unlicense",
"MIT"
] | 1 | 2015-07-27T22:07:30.000Z | 2015-07-27T22:07:30.000Z | master/tests.py | g12mcgov/grantmcgovern.com-V2 | 1fd920c6441dee914585577c5af6f2bc20309586 | [
"Unlicense",
"MIT"
] | 10 | 2020-02-11T22:43:05.000Z | 2022-03-11T23:13:08.000Z | master/tests.py | g12mcgov/grantmcgovern.com-V2 | 1fd920c6441dee914585577c5af6f2bc20309586 | [
"Unlicense",
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: grantmcgovern
# @Date: 2015-06-24 17:55:56
# @Email: me@grantmcgovern.com
# @Web: http://grantmcgovern.com
#
# @Last Modified by: grantmcgovern
# @Last Modified time: 2015-07-12 19:56:21
from django.test import TestCase
# Create your tests here.
| 18.705882 | 42 | 0.666667 | 46 | 318 | 4.608696 | 0.826087 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110266 | 0.172956 | 318 | 16 | 43 | 19.875 | 0.695817 | 0.814465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
95e3887a32463ed5e473427087228724869a3a4d | 204 | py | Python | app/api/__init__.py | rivendale/ethsigns | 8ffecc264a54b00d5615c6fa36c9f661dce468b5 | [
"MIT"
] | 1 | 2021-01-24T04:27:57.000Z | 2021-01-24T04:27:57.000Z | app/api/__init__.py | rivendale/ethsigns | 8ffecc264a54b00d5615c6fa36c9f661dce468b5 | [
"MIT"
] | 19 | 2021-02-07T18:24:31.000Z | 2021-07-02T08:03:56.000Z | app/api/__init__.py | rivendale/ethsigns | 8ffecc264a54b00d5615c6fa36c9f661dce468b5 | [
"MIT"
] | null | null | null | from flask import Blueprint
from flask_restplus import Namespace
api_blueprint = Blueprint('api_blueprint', __name__, url_prefix='/api/v1')
signs_ns = Namespace("signs", description="signs operations")
| 29.142857 | 74 | 0.79902 | 26 | 204 | 5.923077 | 0.576923 | 0.116883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.098039 | 204 | 6 | 75 | 34 | 0.831522 | 0 | 0 | 0 | 0 | 0 | 0.20098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
95e3c297a4edff3d6f48fe8315f7e2ce08bdb97b | 26 | py | Python | data/studio21_generated/introductory/3360/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3360/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3360/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def get_chance(n, x, a):
| 13 | 24 | 0.615385 | 6 | 26 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 0.714286 | 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 |
95fec137b4a27b2d43fa36c7838ffdb91ed8493e | 22 | py | Python | pylama/libs/__init__.py | rzuckerm/pylama | 227ddc94eb73638d423833075b1af2ac6bb308f7 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | pylama/libs/__init__.py | rzuckerm/pylama | 227ddc94eb73638d423833075b1af2ac6bb308f7 | [
"MIT"
] | 93 | 2015-01-02T12:35:32.000Z | 2021-12-12T22:42:33.000Z | pylama/libs/__init__.py | rzuckerm/pylama | 227ddc94eb73638d423833075b1af2ac6bb308f7 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | """ Support libs. """
| 11 | 21 | 0.5 | 2 | 22 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.611111 | 0.590909 | 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 |
25258ca3e89040e2ba2beb5b799122fe803265e2 | 96 | py | Python | aws_lambda_builders/workflows/__init__.py | garnaat/aws-lambda-builders | 0ce436cacb7e5e756c65cb4fa4d78877ada307e5 | [
"Apache-2.0"
] | 2 | 2020-11-12T22:58:17.000Z | 2021-03-22T16:13:34.000Z | aws_lambda_builders/workflows/__init__.py | awood45/aws-lambda-builders | 3744cea731403fc5d5aad36c4f60d9512231fd78 | [
"Apache-2.0"
] | null | null | null | aws_lambda_builders/workflows/__init__.py | awood45/aws-lambda-builders | 3744cea731403fc5d5aad36c4f60d9512231fd78 | [
"Apache-2.0"
] | null | null | null | """
Officially supported builder workflows
"""
import aws_lambda_builders.workflows.python_pip
| 16 | 47 | 0.822917 | 11 | 96 | 6.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 5 | 48 | 19.2 | 0.873563 | 0.395833 | 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 |
c26f099532f33294a8e589b422d8c4192e21e557 | 187 | py | Python | python/pylfq/setup.py | stormycatcat/FastestLocklessQueue | 26ad35f1cadd0ff30f51732761fc03a31802588f | [
"MIT"
] | 2 | 2021-03-09T05:45:13.000Z | 2021-06-13T17:05:15.000Z | python/pylfq/setup.py | stormycatcat/FastestLocklessQueue | 26ad35f1cadd0ff30f51732761fc03a31802588f | [
"MIT"
] | null | null | null | python/pylfq/setup.py | stormycatcat/FastestLocklessQueue | 26ad35f1cadd0ff30f51732761fc03a31802588f | [
"MIT"
] | 2 | 2021-04-22T10:28:02.000Z | 2021-12-09T06:44:43.000Z | from distutils.core import setup, Extension
setup(name='pylfq', version='0.1.0', include_dirs = '../../src',
ext_modules=[Extension('pylfq', ['src/pylfq.c', '../../src/queue.c'])]) | 46.75 | 77 | 0.636364 | 26 | 187 | 4.5 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.101604 | 187 | 4 | 77 | 46.75 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c28e5cf1bdc51ca9873f8a2e5792e27cda708d43 | 2,418 | py | Python | vulture_whitelist.py | howbazaar/dynamoquery | d666565af8cf4253c7601afe90866628b4394991 | [
"MIT"
] | 14 | 2020-09-30T19:14:31.000Z | 2021-08-08T18:34:19.000Z | vulture_whitelist.py | howbazaar/dynamoquery | d666565af8cf4253c7601afe90866628b4394991 | [
"MIT"
] | 12 | 2020-10-27T02:12:57.000Z | 2022-03-23T10:57:52.000Z | vulture_whitelist.py | howbazaar/dynamoquery | d666565af8cf4253c7601afe90866628b4394991 | [
"MIT"
] | 3 | 2020-09-29T19:25:19.000Z | 2022-02-22T22:58:29.000Z | DynamoTable # unused import (dynamo_query/__init__.py:8)
DynamoRecord # unused variable (dynamo_query/__init__.py:12)
create # unused function (dynamo_query/data_table.py:119)
memo # unused variable (dynamo_query/data_table.py:137)
filter_keys # unused function (dynamo_query/data_table.py:299)
get_column # unused... | 65.351351 | 84 | 0.819686 | 355 | 2,418 | 5.28169 | 0.278873 | 0.2288 | 0.277333 | 0.346667 | 0.7072 | 0.636267 | 0.550933 | 0.347733 | 0.1056 | 0 | 0 | 0.042688 | 0.08933 | 2,418 | 36 | 85 | 67.166667 | 0.80881 | 0.751447 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 |
c29a372404b65c5f0fab3e4095aecec40e69e41a | 87 | py | Python | pypressure/__init__.py | Harry-Lees/PyPressure | 97dc4894c50304c1d9e61521646c6b61a4982c61 | [
"MIT"
] | 1 | 2021-06-02T09:29:19.000Z | 2021-06-02T09:29:19.000Z | pypressure/__init__.py | Harry-Lees/PyPressure | 97dc4894c50304c1d9e61521646c6b61a4982c61 | [
"MIT"
] | null | null | null | pypressure/__init__.py | Harry-Lees/PyPressure | 97dc4894c50304c1d9e61521646c6b61a4982c61 | [
"MIT"
] | null | null | null | from .pressure import Pressure
__author__ = 'Harry Lees'
__maintainer__ = 'Harry Lees' | 21.75 | 30 | 0.781609 | 10 | 87 | 6 | 0.7 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 4 | 31 | 21.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 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 |
6c296d5d92e4518f5ffbdf6ce6de2e3df12b0cb9 | 1,261 | py | Python | nezzle/graphics/__init__.py | dwgoon/nezzle | c69d111ae5e57ee2a7db85e14299c23d3b98a6d5 | [
"MIT"
] | 2 | 2021-10-06T08:54:02.000Z | 2021-10-06T16:17:18.000Z | nezzle/graphics/__init__.py | dwgoon/nezzle | c69d111ae5e57ee2a7db85e14299c23d3b98a6d5 | [
"MIT"
] | null | null | null | nezzle/graphics/__init__.py | dwgoon/nezzle | c69d111ae5e57ee2a7db85e14299c23d3b98a6d5 | [
"MIT"
] | null | null | null | from nezzle.graphics.baseitem import MappableGraphicsItem
from nezzle.graphics.baseitem import PainterOptionItem
from nezzle.graphics.nodes.nodefactory import NodeClassFactory
from nezzle.graphics.nodes.basenode import BaseNode
from nezzle.graphics.nodes.ellipsenode import EllipseNode
from nezzle.graphics.nodes.ellipse... | 54.826087 | 70 | 0.88184 | 149 | 1,261 | 7.463087 | 0.248322 | 0.197842 | 0.356115 | 0.144784 | 0.321942 | 0.210432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069786 | 1,261 | 22 | 71 | 57.318182 | 0.947997 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
6c44d083debe42f0f1abdba752c164ca551384d1 | 623 | py | Python | server/app/admin/models/models.py | GringePP/Reask | 613d90d09529fa44aaf556233d07106172bbd93a | [
"MIT"
] | 4 | 2018-01-06T15:06:06.000Z | 2019-02-11T07:32:11.000Z | server/app/admin/models/models.py | GringePP/Reask | 613d90d09529fa44aaf556233d07106172bbd93a | [
"MIT"
] | null | null | null | server/app/admin/models/models.py | GringePP/Reask | 613d90d09529fa44aaf556233d07106172bbd93a | [
"MIT"
] | 1 | 2019-02-11T07:33:50.000Z | 2019-02-11T07:33:50.000Z | from ...base_app import db
class UserModel(db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(20), nullable=False)
email = db.Column(db.String(50), nullable=False)
password = db.Column(db.String(20), nullable=False)
class SongModel(db.M... | 32.789474 | 57 | 0.688604 | 89 | 623 | 4.696629 | 0.337079 | 0.172249 | 0.215311 | 0.267943 | 0.677033 | 0.677033 | 0.677033 | 0.157895 | 0 | 0 | 0 | 0.026718 | 0.158909 | 623 | 18 | 58 | 34.611111 | 0.770992 | 0.081862 | 0 | 0.153846 | 0 | 0 | 0.017544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.076923 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6c74d6381ce1732dc21ab221829300c223e18aa0 | 466 | py | Python | scuole/states/admin.py | texastribune/scuole | 8ab316ee50ef0d8e71b94b50dc889d10c6e83412 | [
"MIT"
] | 1 | 2019-03-12T04:30:02.000Z | 2019-03-12T04:30:02.000Z | scuole/states/admin.py | texastribune/scuole | 8ab316ee50ef0d8e71b94b50dc889d10c6e83412 | [
"MIT"
] | 616 | 2017-08-18T21:15:39.000Z | 2022-03-25T11:17:10.000Z | scuole/states/admin.py | texastribune/scuole | 8ab316ee50ef0d8e71b94b50dc889d10c6e83412 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.contrib import admin
from scuole.core.admin import ReadOnlyAdmin
from .models import State, StateCohorts, StateStats
@admin.register(State)
class StateAdmin(ReadOnlyAdmin):
pass
@admin.register(StateStats)
class Stat... | 19.416667 | 56 | 0.781116 | 51 | 466 | 6.960784 | 0.54902 | 0.109859 | 0.123944 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002457 | 0.126609 | 466 | 23 | 57 | 20.26087 | 0.869779 | 0.045064 | 0 | 0.153846 | 0 | 0 | 0.024831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
66630e040c35eb0053315cbad1b210ddbc818fb4 | 53,083 | py | Python | medium/1011-capacity-to-ship-packages-within-d-days.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | 2 | 2021-03-14T11:38:26.000Z | 2021-03-14T11:38:30.000Z | medium/1011-capacity-to-ship-packages-within-d-days.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | null | null | null | medium/1011-capacity-to-ship-packages-within-d-days.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | 1 | 2022-01-17T19:33:23.000Z | 2022-01-17T19:33:23.000Z | '''
在 D 天内送达包裹的能力
传送带上的包裹必须在 D 天内从一个港口运送到另一个港口。
传送带上的第 i 个包裹的重量为 weights[i]。每一天,我们都会按给出重量的顺序往传送带上装载包裹。我们装载的重量不会超过船的最大运载重量。
返回能在 D 天内将传送带上的所有包裹送达的船的最低运载能力。
提示:
1 <= D <= weights.length <= 50000
1 <= weights[i] <= 500
'''
from typing import List
'''
思路1,暴力回溯
暴力回溯,首先把0..n-D个包裹全部分给第0个船,剩下的每个船分配一个包裹,计算出最大重量
然后逐步减少第0个船的... | 286.935135 | 44,182 | 0.703408 | 12,986 | 53,083 | 2.875173 | 0.048899 | 0.002143 | 0.00375 | 0.001446 | 0.027158 | 0.024265 | 0.022176 | 0.01998 | 0.01998 | 0.01998 | 0 | 0.690167 | 0.051674 | 53,083 | 184 | 44,183 | 288.494565 | 0.05153 | 0.011039 | 0 | 0.45098 | 0 | 0 | 0.000734 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.009804 | 0 | 0.196078 | 0.04902 | 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 |
6675134a832b6108e7afd2f301104a5a50770c2d | 158 | py | Python | jet_bridge/filters/integer_filter.py | BradyBromley/jet-bridge | 06be16d3bbfdf56a943057dfa48340693c6ed5bb | [
"MIT"
] | 2 | 2020-07-27T22:18:42.000Z | 2021-11-15T10:03:14.000Z | jet_bridge/filters/integer_filter.py | BradyBromley/jet-bridge | 06be16d3bbfdf56a943057dfa48340693c6ed5bb | [
"MIT"
] | null | null | null | jet_bridge/filters/integer_filter.py | BradyBromley/jet-bridge | 06be16d3bbfdf56a943057dfa48340693c6ed5bb | [
"MIT"
] | null | null | null | from jet_bridge.fields.integer import IntegerField
from jet_bridge.filters.filter import Filter
class IntegerFilter(Filter):
field_class = IntegerField
| 22.571429 | 50 | 0.829114 | 20 | 158 | 6.4 | 0.6 | 0.109375 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120253 | 158 | 6 | 51 | 26.333333 | 0.920863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
66c05e49b6be1364016d2c2a7cd2ca66151cd105 | 86 | py | Python | reclip/__init__.py | laddge/reclip | c0d6ae4bb757e452692176f96863266f58af8957 | [
"MIT"
] | 3 | 2021-11-27T22:23:17.000Z | 2021-12-12T12:15:23.000Z | reclip/__init__.py | laddge/reclip | c0d6ae4bb757e452692176f96863266f58af8957 | [
"MIT"
] | null | null | null | reclip/__init__.py | laddge/reclip | c0d6ae4bb757e452692176f96863266f58af8957 | [
"MIT"
] | null | null | null | from .server import serve
from .client import set, get, delete
__version__ = '1.0.2'
| 17.2 | 36 | 0.732558 | 14 | 86 | 4.214286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.162791 | 86 | 4 | 37 | 21.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
66dd42cab5ac14e594eceb994efb1a3bc5e3a2a4 | 85 | py | Python | main.py | jakebailey/pyright-action-test | 778dd612e8e6b6dec50749747f593f3edc37aed6 | [
"MIT"
] | null | null | null | main.py | jakebailey/pyright-action-test | 778dd612e8e6b6dec50749747f593f3edc37aed6 | [
"MIT"
] | null | null | null | main.py | jakebailey/pyright-action-test | 778dd612e8e6b6dec50749747f593f3edc37aed6 | [
"MIT"
] | null | null | null | from typing import List
x: List[int] = []
x.append(1234)
x.append("not a number")
| 10.625 | 24 | 0.658824 | 15 | 85 | 3.733333 | 0.733333 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.176471 | 85 | 7 | 25 | 12.142857 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
66f05ceff35d5389ea529942eeaf9f1598098a08 | 1,398 | py | Python | my/lastfm/__init__.py | jhermann/HPI | a60c30868b285f233caf65a59d3496082fb9d5c2 | [
"MIT"
] | null | null | null | my/lastfm/__init__.py | jhermann/HPI | a60c30868b285f233caf65a59d3496082fb9d5c2 | [
"MIT"
] | null | null | null | my/lastfm/__init__.py | jhermann/HPI | a60c30868b285f233caf65a59d3496082fb9d5c2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from functools import lru_cache
from typing import NamedTuple, Dict, Any
from datetime import datetime
from pathlib import Path
import json
import pytz
from mycfg import paths
# TODO Json type?
# TODO memoised properties?
# TODO lazy mode and eager mode?
# lazy is a bit nicer in terms of more ... | 22.918033 | 80 | 0.67382 | 206 | 1,398 | 4.490291 | 0.558252 | 0.047568 | 0.042162 | 0.036757 | 0.043243 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00551 | 0.22103 | 1,398 | 60 | 81 | 23.3 | 0.842975 | 0.304721 | 0 | 0.125 | 0 | 0 | 0.048907 | 0 | 0 | 0 | 0 | 0.016667 | 0.03125 | 1 | 0.21875 | false | 0 | 0.21875 | 0.125 | 0.65625 | 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 |
dd031ad51a1dc7f27d650561cd853b4caea1516d | 128 | py | Python | health/apps.py | h3nnn4n/git-o-matic-9k | d8241cc768591e0f41c02b2057d7b56697a4cc86 | [
"MIT"
] | null | null | null | health/apps.py | h3nnn4n/git-o-matic-9k | d8241cc768591e0f41c02b2057d7b56697a4cc86 | [
"MIT"
] | null | null | null | health/apps.py | h3nnn4n/git-o-matic-9k | d8241cc768591e0f41c02b2057d7b56697a4cc86 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
# pylint: disable=missing-class-docstring
class HealthConfig(AppConfig):
name = 'health'
| 21.333333 | 41 | 0.773438 | 15 | 128 | 6.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 128 | 5 | 42 | 25.6 | 0.891892 | 0.304688 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dd0ff94e2d1328f59440ccd4792deff5b380263a | 109 | py | Python | apps/ping/commands/ping.py | hiraq/typhoon | 243a9c89fba806a6537bbd7a9b94bf5e74649896 | [
"BSD-3-Clause"
] | null | null | null | apps/ping/commands/ping.py | hiraq/typhoon | 243a9c89fba806a6537bbd7a9b94bf5e74649896 | [
"BSD-3-Clause"
] | 5 | 2016-09-27T12:10:41.000Z | 2016-10-07T20:55:13.000Z | apps/ping/commands/ping.py | labs127/typhoon | 243a9c89fba806a6537bbd7a9b94bf5e74649896 | [
"BSD-3-Clause"
] | null | null | null | import click
@click.command('ping:ping')
def cli():
"""
Just ping it
"""
click.echo('pong')
| 12.111111 | 27 | 0.550459 | 14 | 109 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256881 | 109 | 8 | 28 | 13.625 | 0.740741 | 0.110092 | 0 | 0 | 0 | 0 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dd224e52a28daf596e2f485a535a2c180f6e2c8e | 217 | py | Python | projects/views.py | FARBEX97/django-portfolio-public | 11dab3b033254114ef255d614a739e47337a9ccd | [
"MIT"
] | null | null | null | projects/views.py | FARBEX97/django-portfolio-public | 11dab3b033254114ef255d614a739e47337a9ccd | [
"MIT"
] | null | null | null | projects/views.py | FARBEX97/django-portfolio-public | 11dab3b033254114ef255d614a739e47337a9ccd | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views.generic import ListView
from .models import CodeProject
class ProjectListView(ListView):
model = CodeProject
template_name = 'projects/html/projects.html' | 31 | 49 | 0.806452 | 26 | 217 | 6.692308 | 0.653846 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 217 | 7 | 49 | 31 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0.123853 | 0.123853 | 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 |
dd388f1bd8d3e6fd0d8cf2e5abe83983db4c78e6 | 2,615 | py | Python | ops.py | HAHA-DL/MLDG | 19134860db3b02b511ea682d1cd353350322602f | [
"MIT"
] | 109 | 2018-06-21T16:41:40.000Z | 2022-03-01T04:53:50.000Z | ops.py | qtrungphung/MLDG | 19134860db3b02b511ea682d1cd353350322602f | [
"MIT"
] | 7 | 2019-10-10T04:13:24.000Z | 2021-06-15T08:49:22.000Z | ops.py | qtrungphung/MLDG | 19134860db3b02b511ea682d1cd353350322602f | [
"MIT"
] | 30 | 2018-07-29T10:59:48.000Z | 2021-12-02T13:28:23.000Z | import torch.autograd as autograd
import torch.nn.functional as F
from torch.autograd import Variable
def linear(inputs, weight, bias, meta_step_size=0.001, meta_loss=None, stop_gradient=False):
if meta_loss is not None:
if not stop_gradient:
grad_weight = autograd.grad(meta_loss, weight, cre... | 36.830986 | 116 | 0.596558 | 330 | 2,615 | 4.512121 | 0.148485 | 0.064473 | 0.064473 | 0.107455 | 0.765615 | 0.723976 | 0.723976 | 0.723976 | 0.680994 | 0.623237 | 0 | 0.015194 | 0.320459 | 2,615 | 70 | 117 | 37.357143 | 0.822735 | 0 | 0 | 0.603774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.056604 | 0.037736 | 0.245283 | 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 |
dd464d79b346c2d7562ca6510ec0222273f9d398 | 29 | py | Python | bin/clear.py | briarfox/stash | 7b368d59804026968a16e888ac8bdede840f75db | [
"MIT"
] | 2 | 2019-05-26T04:33:38.000Z | 2020-07-26T05:02:36.000Z | bin/clear.py | briarfox/stash | 7b368d59804026968a16e888ac8bdede840f75db | [
"MIT"
] | null | null | null | bin/clear.py | briarfox/stash | 7b368d59804026968a16e888ac8bdede840f75db | [
"MIT"
] | null | null | null | _stash.term.truncate(size=0)
| 14.5 | 28 | 0.793103 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.034483 | 29 | 1 | 29 | 29 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dd5097c2d7a89c140856b1e2080f644635461d97 | 59 | py | Python | pyslackdesc/__main__.py | Carrion-Crow/py-slack-desc | 48bf2eb3b92b4b8206fe9bd7faf42a35ba3de8d1 | [
"MIT"
] | null | null | null | pyslackdesc/__main__.py | Carrion-Crow/py-slack-desc | 48bf2eb3b92b4b8206fe9bd7faf42a35ba3de8d1 | [
"MIT"
] | null | null | null | pyslackdesc/__main__.py | Carrion-Crow/py-slack-desc | 48bf2eb3b92b4b8206fe9bd7faf42a35ba3de8d1 | [
"MIT"
] | null | null | null | """Starting point."""
from .pyslackdesc import main
main()
| 14.75 | 29 | 0.711864 | 7 | 59 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 3 | 30 | 19.666667 | 0.807692 | 0.254237 | 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 |
dd60d15d590f30c17eec28baa6b0cefc0eac6e52 | 91 | py | Python | Part_3_advanced/m06_re/grouping/example_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m06_re/grouping/example_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m06_re/grouping/example_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | import re
text = "N1: +48 123 456 789"
pattern = re.compile(r"\+(\d{2})((?: \d{3}){3})")
| 15.166667 | 49 | 0.516484 | 17 | 91 | 2.764706 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 0.164835 | 91 | 5 | 50 | 18.2 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0.477778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
dd7919f1d2a294a72ef82cebb0d69eacac4df8d5 | 6,110 | py | Python | app/config.py | BrightID/brightid-nft-mint-relay | 7c7b467e6a908aba319fc0f648ba7977e372ec11 | [
"0BSD"
] | null | null | null | app/config.py | BrightID/brightid-nft-mint-relay | 7c7b467e6a908aba319fc0f648ba7977e372ec11 | [
"0BSD"
] | null | null | null | app/config.py | BrightID/brightid-nft-mint-relay | 7c7b467e6a908aba319fc0f648ba7977e372ec11 | [
"0BSD"
] | null | null | null | import os
CONTRACT_ABI = '[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"verifier","internalType":"address"},{"type":"bytes32","name":"context","internalType":"bytes32"},{"type":"string","name":"name_","internalType":"string"},{"type":"string","name":"symbol_","internalType":... | 190.9375 | 5,375 | 0.671358 | 628 | 6,110 | 6.471338 | 0.165605 | 0.059055 | 0.119587 | 0.051673 | 0.739173 | 0.685285 | 0.612451 | 0.504183 | 0.433563 | 0.405512 | 0 | 0.025862 | 0.012766 | 6,110 | 31 | 5,376 | 197.096774 | 0.647878 | 0.009656 | 0 | 0 | 0 | 0.05 | 0.913856 | 0.891204 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dd7af5e7e47719edd6a26c54b850fe1247c7dad1 | 99 | py | Python | references/aoapc-book/BeginningAlgorithmContests/python/ch1/p1-2.py | voleking/ICPC | fc2cf408fa2607ad29b01eb00a1a212e6d0860a5 | [
"MIT"
] | 68 | 2017-10-08T04:44:23.000Z | 2019-08-06T20:15:02.000Z | BAC/python/ch1/p1-2.py | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | BAC/python/ch1/p1-2.py | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 18 | 2017-05-31T02:52:23.000Z | 2019-07-05T09:18:34.000Z | from sys import stdin
n = stdin.readline().strip().split()[0]
print '%c%c%c' % (n[2], n[1], n[0])
| 19.8 | 39 | 0.575758 | 20 | 99 | 2.85 | 0.65 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.141414 | 99 | 4 | 40 | 24.75 | 0.623529 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
06fe135075554962876a0666f2af8e84cba34dea | 59 | py | Python | SimPEG/utils/curv_utils.py | prisae/simpeg | 5cdd1b496bddcf3d9acd714b901a57bad6fb1ef9 | [
"MIT"
] | 358 | 2015-03-11T05:48:41.000Z | 2022-03-26T02:04:12.000Z | SimPEG/utils/curv_utils.py | thast/simpeg | 8021082b8b53f3c08fa87fc085547bdd56437c6b | [
"MIT"
] | 885 | 2015-01-19T09:23:48.000Z | 2022-03-29T12:08:34.000Z | SimPEG/utils/curv_utils.py | thast/simpeg | 8021082b8b53f3c08fa87fc085547bdd56437c6b | [
"MIT"
] | 214 | 2015-03-11T05:48:43.000Z | 2022-03-02T01:05:11.000Z | from discretize.utils import volTetra, indexCube, faceInfo
| 29.5 | 58 | 0.847458 | 7 | 59 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 59 | 1 | 59 | 59 | 0.943396 | 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 |
66076bdcbe8a495d965a689bf35895676d7b8d43 | 56 | py | Python | auditing/analyzers/printer/LafPrinter.py | fumamatar/laf | e81b89aa6697234c7a905230bbfd8eb5f02d5d45 | [
"BSD-3-Clause"
] | null | null | null | auditing/analyzers/printer/LafPrinter.py | fumamatar/laf | e81b89aa6697234c7a905230bbfd8eb5f02d5d45 | [
"BSD-3-Clause"
] | null | null | null | auditing/analyzers/printer/LafPrinter.py | fumamatar/laf | e81b89aa6697234c7a905230bbfd8eb5f02d5d45 | [
"BSD-3-Clause"
] | null | null | null |
def printPacket(packet):
print(packet.to_json())
| 11.2 | 28 | 0.678571 | 7 | 56 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 56 | 4 | 29 | 14 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
660d2917f98f565fedf642517b34e90ee187199a | 87 | py | Python | pastes/apps.py | trdwll/tmpfile | 09c8a97cc5b73db0ed8034a7fb8ffef777e14728 | [
"MIT"
] | 4 | 2017-09-26T00:46:19.000Z | 2022-03-01T06:27:24.000Z | pastes/apps.py | bramz/gridpaste | 0c41bd26c24cdda98e365acb690de418be59c13b | [
"MIT"
] | 54 | 2015-01-09T15:48:15.000Z | 2019-12-21T22:13:14.000Z | pastes/apps.py | bramz/gridpaste | 0c41bd26c24cdda98e365acb690de418be59c13b | [
"MIT"
] | 3 | 2017-09-26T00:46:20.000Z | 2019-03-19T22:42:49.000Z | from django.apps import AppConfig
class PastesConfig(AppConfig):
name = 'pastes'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6632cd63d7667f7a0a70b799db68ad248868a6de | 73 | py | Python | configs/swin_transformer/swin_tiny_224_b64x4_300e_imagenet.py | LiuXiaoxuanPKU/actnn-mmcls | c97d1116d54ddb3f9b1e51baebe25ffb2b3f7b75 | [
"Apache-2.0"
] | null | null | null | configs/swin_transformer/swin_tiny_224_b64x4_300e_imagenet.py | LiuXiaoxuanPKU/actnn-mmcls | c97d1116d54ddb3f9b1e51baebe25ffb2b3f7b75 | [
"Apache-2.0"
] | null | null | null | configs/swin_transformer/swin_tiny_224_b64x4_300e_imagenet.py | LiuXiaoxuanPKU/actnn-mmcls | c97d1116d54ddb3f9b1e51baebe25ffb2b3f7b75 | [
"Apache-2.0"
] | null | null | null | _base_ = ['../actnn/swin_tiny_224_b64x4_300e_imagenet.py']
actnn = False
| 24.333333 | 58 | 0.767123 | 11 | 73 | 4.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 0.082192 | 73 | 2 | 59 | 36.5 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0.616438 | 0.616438 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b08db8cae7f8caee0af0071d9bcc59d078c629f3 | 396 | py | Python | web/vicopo/Vicopo/Vicopo.py | monoulou/lrm | 170b84ae4c68d2731fd8533f4918fd219746ba44 | [
"MIT"
] | 25 | 2016-12-21T11:53:04.000Z | 2021-04-02T09:12:40.000Z | web/vicopo/Vicopo/Vicopo.py | monoulou/lrm | 170b84ae4c68d2731fd8533f4918fd219746ba44 | [
"MIT"
] | 34 | 2016-08-09T09:02:49.000Z | 2021-10-13T10:50:50.000Z | web/vicopo/Vicopo/Vicopo.py | monoulou/lrm | 170b84ae4c68d2731fd8533f4918fd219746ba44 | [
"MIT"
] | 6 | 2016-08-31T16:47:40.000Z | 2021-11-08T10:28:41.000Z | import urllib, json
class Vicopo:
@staticmethod
def get(search, protocol = 'https'):
response = urllib.urlopen(protocol + '://vicopo.selfbuild.fr/search/' + str(search))
return json.loads(response.read())
@staticmethod
def http(search):
return Vicopo.get(search, 'http')
@sta... | 28.285714 | 92 | 0.641414 | 44 | 396 | 5.772727 | 0.454545 | 0.177165 | 0.141732 | 0.165354 | 0.212598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224747 | 396 | 13 | 93 | 30.461538 | 0.827362 | 0 | 0 | 0.25 | 0 | 0 | 0.111111 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.666667 | 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 |
b0a02be72e6e13ca804f3114045a17451079aec5 | 37 | py | Python | venv/lib/python3.6/encodings/cp500.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-04-17T13:35:50.000Z | 2021-12-21T00:11:36.000Z | venv/lib/python3.6/encodings/cp500.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2021-03-31T19:51:24.000Z | 2021-06-10T23:05:09.000Z | venv/lib/python3.6/encodings/cp500.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-10-01T08:47:35.000Z | 2020-07-11T06:32:16.000Z | /usr/lib/python3.6/encodings/cp500.py | 37 | 37 | 0.810811 | 7 | 37 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 37 | 1 | 37 | 37 | 0.675676 | 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 |
b0a783f24fc6871b68f9488861b7254dfe290367 | 385 | py | Python | photologue/templatetags/photologue_tags.py | ashishg656/django-photologue | 602d38d572c44d0312f66d4074eb75fed3941bed | [
"BSD-3-Clause"
] | 5 | 2015-11-05T10:41:07.000Z | 2021-01-05T17:07:17.000Z | photologue/templatetags/photologue_tags.py | ashishg656/django-photologue | 602d38d572c44d0312f66d4074eb75fed3941bed | [
"BSD-3-Clause"
] | 1 | 2015-03-28T12:10:54.000Z | 2015-03-28T12:10:54.000Z | photologue/templatetags/photologue_tags.py | ashishg656/django-photologue | 602d38d572c44d0312f66d4074eb75fed3941bed | [
"BSD-3-Clause"
] | 1 | 2019-11-08T07:19:39.000Z | 2019-11-08T07:19:39.000Z | from django import template
register = template.Library()
@register.inclusion_tag('photologue/tags/next_in_gallery.html')
def next_in_gallery(photo, gallery):
return {'photo': photo.get_next_in_gallery(gallery)}
@register.inclusion_tag('photologue/tags/prev_in_gallery.html')
def previous_in_gallery(photo, galler... | 32.083333 | 63 | 0.797403 | 53 | 385 | 5.490566 | 0.377358 | 0.185567 | 0.134021 | 0.206186 | 0.508591 | 0.274914 | 0.274914 | 0.274914 | 0 | 0 | 0 | 0 | 0.083117 | 385 | 11 | 64 | 35 | 0.824363 | 0 | 0 | 0 | 0 | 0 | 0.212987 | 0.187013 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b0b3a1f0e3eafe53c54ec2c9f2861e99693266ac | 287 | py | Python | scripts/train.py | m-bain/pytorch-image-models | b85951c237e42ed50c3193b77edf4c58e686e3bb | [
"Apache-2.0"
] | 1 | 2021-06-24T14:45:48.000Z | 2021-06-24T14:45:48.000Z | scripts/train.py | m-bain/pytorch-image-models | b85951c237e42ed50c3193b77edf4c58e686e3bb | [
"Apache-2.0"
] | null | null | null | scripts/train.py | m-bain/pytorch-image-models | b85951c237e42ed50c3193b77edf4c58e686e3bb | [
"Apache-2.0"
] | null | null | null | from torchvision import datasets
ds = datasets.UCF101(root='/datasets/UCF101-24',
annotation_path='/datasets/UCF101-24/UCF101_24Action_Detection_Annotations/UCF101_24Action_Detection_Annotations',
frames_per_clip=4)
import pdb; pdb.set_trace() | 41 | 135 | 0.721254 | 33 | 287 | 5.969697 | 0.606061 | 0.213198 | 0.162437 | 0.345178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.191638 | 287 | 7 | 136 | 41 | 0.74569 | 0 | 0 | 0 | 0 | 0 | 0.395833 | 0.329861 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b0caeb9cf854f389ed4af55d465e07a28bd9de2c | 50 | py | Python | quickSelect.py | ThomasB123/python | c02eb51a03bf1dfe1cc1d8ad01ef9c9a76f40e9d | [
"MIT"
] | 2 | 2019-12-11T01:52:36.000Z | 2020-03-05T20:19:39.000Z | quickSelect.py | ThomasB123/Python | c02eb51a03bf1dfe1cc1d8ad01ef9c9a76f40e9d | [
"MIT"
] | null | null | null | quickSelect.py | ThomasB123/Python | c02eb51a03bf1dfe1cc1d8ad01ef9c9a76f40e9d | [
"MIT"
] | null | null | null | ## QuickSelect algorithm
# From Andrei's ADS notes | 25 | 25 | 0.78 | 7 | 50 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 25 | 25 | 0.906977 | 0.9 | 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 |
b0d23c10d797845b46afb67ab9063da507b7b963 | 122 | py | Python | test/test_canary.py | dglmoore/Neet | 3486ce890ff296c6dc20f1fa04a8512786faff5e | [
"MIT"
] | 4 | 2020-04-07T14:20:02.000Z | 2021-01-17T01:56:28.000Z | test/test_canary.py | akiaei/Neet | a7988575e011927cf61bf2eec7e390ae21c56cb1 | [
"MIT"
] | 165 | 2017-02-24T21:09:19.000Z | 2021-12-14T04:17:01.000Z | test/test_canary.py | akiaei/Neet | a7988575e011927cf61bf2eec7e390ae21c56cb1 | [
"MIT"
] | 19 | 2017-02-15T22:01:14.000Z | 2020-01-28T17:10:54.000Z | import unittest
class TestCanary(unittest.TestCase):
def test_add_one_two(self):
self.assertEqual(3, 1 + 2)
| 17.428571 | 36 | 0.704918 | 17 | 122 | 4.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.196721 | 122 | 6 | 37 | 20.333333 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b0f89b4eab01a5a2464fb2704e66ff6caeb8bb9d | 197 | py | Python | gan/__init__.py | vab10266/wolfGANg_Vaud | 254634cd2eb9043d282236d3af86ba7938d92319 | [
"MIT"
] | 1 | 2022-01-28T00:03:19.000Z | 2022-01-28T00:03:19.000Z | gan/__init__.py | vab10266/wolfGANg_Vaud | 254634cd2eb9043d282236d3af86ba7938d92319 | [
"MIT"
] | null | null | null | gan/__init__.py | vab10266/wolfGANg_Vaud | 254634cd2eb9043d282236d3af86ba7938d92319 | [
"MIT"
] | 1 | 2021-11-23T00:49:26.000Z | 2021-11-23T00:49:26.000Z | from .temp_network import TemporalNetwork
from .bar_generator import BarGenerator
from .generator import MuseGenerator
from .critic import MuseCritic
from .utils import Reshape, initialize_weights
| 32.833333 | 46 | 0.862944 | 24 | 197 | 6.958333 | 0.625 | 0.179641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106599 | 197 | 5 | 47 | 39.4 | 0.948864 | 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 |
7c029c671b386249f3334f843dcac9f2d1572b63 | 97 | py | Python | Udemy/REST-Django-VueJS/C3-practice/03-demo/job_board/jobs/admin.py | runzezhang/MOOCs | 8df8c7adc5af3d7b085be01ae9b6963fe33acd68 | [
"Apache-2.0"
] | 3 | 2019-04-05T18:59:53.000Z | 2020-09-24T09:05:46.000Z | Udemy/REST-Django-VueJS/C3-practice/03-demo/job_board/jobs/admin.py | runzezhang/MOOCs | 8df8c7adc5af3d7b085be01ae9b6963fe33acd68 | [
"Apache-2.0"
] | null | null | null | Udemy/REST-Django-VueJS/C3-practice/03-demo/job_board/jobs/admin.py | runzezhang/MOOCs | 8df8c7adc5af3d7b085be01ae9b6963fe33acd68 | [
"Apache-2.0"
] | 1 | 2019-02-10T13:35:36.000Z | 2019-02-10T13:35:36.000Z | from django.contrib import admin
from jobs.models import JobOffer
admin.site.register(JobOffer)
| 19.4 | 32 | 0.835052 | 14 | 97 | 5.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 4 | 33 | 24.25 | 0.931034 | 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 |
7c05f8f9de5a0ec11f092bf88c0dce04ee96638a | 94 | py | Python | OutputStreams/IOutputStream.py | shaharluftig/DoorKeeper | 768382ac5bca2cc4330b06c1ac561a2675c791e2 | [
"MIT"
] | 1 | 2020-10-04T16:48:33.000Z | 2020-10-04T16:48:33.000Z | OutputStreams/IOutputStream.py | shaharluftig/DoorKeeper | 768382ac5bca2cc4330b06c1ac561a2675c791e2 | [
"MIT"
] | null | null | null | OutputStreams/IOutputStream.py | shaharluftig/DoorKeeper | 768382ac5bca2cc4330b06c1ac561a2675c791e2 | [
"MIT"
] | null | null | null | class IOutputStream:
def notify(self, *args, **kwargs):
raise NotImplementedError
| 23.5 | 38 | 0.691489 | 9 | 94 | 7.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 3 | 39 | 31.333333 | 0.878378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9fe1da013bb2b88472677cf0ee9776535de90ff5 | 248 | py | Python | utils/pickle_handler.py | soujiro0725/finance-stats | 3bb86ec7cb91e264f8da532f3a92ceb4c76d1a77 | [
"MIT"
] | null | null | null | utils/pickle_handler.py | soujiro0725/finance-stats | 3bb86ec7cb91e264f8da532f3a92ceb4c76d1a77 | [
"MIT"
] | null | null | null | utils/pickle_handler.py | soujiro0725/finance-stats | 3bb86ec7cb91e264f8da532f3a92ceb4c76d1a77 | [
"MIT"
] | null | null | null | import pickle
def save_dict(obj, name ):
with open('data/'+ name + '.pkl', 'wb') as f:
pickle.dump(obj, f, pickle.HIGHEST_PROTOCOL)
def load_dict(name ):
with open('data/' + name + '.pkl', 'rb') as f:
return pickle.load(f) | 27.555556 | 52 | 0.596774 | 38 | 248 | 3.815789 | 0.526316 | 0.110345 | 0.165517 | 0.22069 | 0.317241 | 0.317241 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 248 | 9 | 53 | 27.555556 | 0.755208 | 0 | 0 | 0 | 0 | 0 | 0.088353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9fe3f2bbe21d3c400cabfa1e178a36e30e249a5b | 45 | py | Python | apps/oauth/__init__.py | sbybfai/izone | 7e5f868737a1ffdde11812bf094f241e97f62793 | [
"MIT"
] | 1,009 | 2018-03-18T09:50:15.000Z | 2022-03-28T13:35:31.000Z | apps/oauth/__init__.py | weibobo/izone | 66eb03f1e263ab441919d144cfae2a6d043b8d45 | [
"MIT"
] | 67 | 2018-05-01T02:49:26.000Z | 2022-03-18T09:45:17.000Z | apps/oauth/__init__.py | weibobo/izone | 66eb03f1e263ab441919d144cfae2a6d043b8d45 | [
"MIT"
] | 413 | 2018-03-31T15:30:53.000Z | 2022-03-31T12:26:36.000Z | default_app_config = 'oauth.apps.OauthConfig' | 45 | 45 | 0.844444 | 6 | 45 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 45 | 1 | 45 | 45 | 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 |
9fffbf1f1781c5231dd4f8dec9b5d14e75a434f3 | 163 | py | Python | gui/setup.py | stvnrhodes/CNCAirbrush | 9ad9721573130d601276ca9f0447132fd8cdde90 | [
"MIT"
] | 1 | 2018-06-20T07:30:12.000Z | 2018-06-20T07:30:12.000Z | gui/setup.py | stvnrhodes/CNCAirbrush | 9ad9721573130d601276ca9f0447132fd8cdde90 | [
"MIT"
] | null | null | null | gui/setup.py | stvnrhodes/CNCAirbrush | 9ad9721573130d601276ca9f0447132fd8cdde90 | [
"MIT"
] | null | null | null | from distutils.core import setup
import py2exe
"""console=['gui.py'], """
setup(windows=[{"script": "gui.py",
"icon_resources":[(0, "cal.ico")]}]) | 32.6 | 52 | 0.588957 | 20 | 163 | 4.75 | 0.8 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.171779 | 163 | 5 | 52 | 32.6 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 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 |
b022cc655dddf266d6f028333579f731d510cbd8 | 2,856 | py | Python | subdom.py | KmB-new/Subdom | a9d1313dd441a5a66bbc377737ef6f98529feb68 | [
"Apache-2.0"
] | null | null | null | subdom.py | KmB-new/Subdom | a9d1313dd441a5a66bbc377737ef6f98529feb68 | [
"Apache-2.0"
] | null | null | null | subdom.py | KmB-new/Subdom | a9d1313dd441a5a66bbc377737ef6f98529feb68 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#coding : utf-8 -*-
#python3
import requests, os, sys, time, datetime
os.system("clear")
print ("""\x1b[00m\x1b[96m ╔══════════════════════════════╦════════════════╗
║ \x1b[1;91m╦ ╦ ╦ ╔═╗ ╔═╗ ╔═╗ ╔═╗ ╔═╗ \x1b[1;96m║\x1b[41;92m KMB • ID \x1b[0m\x1b[1;96m║
║ \x1b[1;91m║ ╚-╣ • ╠... | 40.8 | 145 | 0.52381 | 546 | 2,856 | 3.349817 | 0.269231 | 0.088573 | 0.08748 | 0.06561 | 0.338436 | 0.288682 | 0.251504 | 0.223073 | 0.194095 | 0.169492 | 0 | 0.248322 | 0.165266 | 2,856 | 70 | 146 | 40.8 | 0.375 | 0.015756 | 0 | 0.283333 | 0 | 0.216667 | 0.710584 | 0.280292 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.016667 | 0 | 0.05 | 0.216667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b05010b01197afbde9080c32bab7e8c37cce2eff | 1,101 | py | Python | challenges/2021-07-20-balanced-brackets/solutions/python/laurelin/laurelin_test.py | JenniferToops/CodingDojo | 25f594a7ce0600d885e2e5665d8a70e9529720d3 | [
"MIT"
] | 34 | 2021-03-26T15:07:05.000Z | 2022-02-28T12:56:38.000Z | challenges/2021-07-20-balanced-brackets/solutions/python/laurelin/laurelin_test.py | JenniferToops/CodingDojo | 25f594a7ce0600d885e2e5665d8a70e9529720d3 | [
"MIT"
] | 129 | 2021-03-26T15:45:40.000Z | 2022-03-29T01:39:11.000Z | challenges/2021-07-20-balanced-brackets/solutions/python/laurelin/laurelin_test.py | JenniferToops/CodingDojo | 25f594a7ce0600d885e2e5665d8a70e9529720d3 | [
"MIT"
] | 51 | 2021-03-26T15:24:10.000Z | 2022-03-28T22:56:43.000Z | import laurelin
def test_1_brackets():
output = laurelin.balanced_brackets("[[]]({}[])")
assert output == True
def test_2_brackets():
output = laurelin.balanced_brackets("[[({}[])")
assert output == False
def test_3_brackets():
output = laurelin.balanced_brackets("")
assert output == True
... | 21.173077 | 72 | 0.63851 | 123 | 1,101 | 5.471545 | 0.203252 | 0.104012 | 0.326895 | 0.445765 | 0.913819 | 0.676077 | 0.630015 | 0.630015 | 0.548291 | 0.548291 | 0 | 0.017877 | 0.187103 | 1,101 | 51 | 73 | 21.588235 | 0.734078 | 0 | 0 | 0.322581 | 0 | 0 | 0.118074 | 0.02089 | 0 | 0 | 0 | 0 | 0.322581 | 1 | 0.322581 | false | 0 | 0.032258 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b0717591ead5e2692ba777928a69f7adc5749eab | 76 | py | Python | docs/test.py | jelitox/proxylist | be4d3d595b8eb7ec48ca132d49a65dca20b6eee7 | [
"Apache-2.0"
] | null | null | null | docs/test.py | jelitox/proxylist | be4d3d595b8eb7ec48ca132d49a65dca20b6eee7 | [
"Apache-2.0"
] | null | null | null | docs/test.py | jelitox/proxylist | be4d3d595b8eb7ec48ca132d49a65dca20b6eee7 | [
"Apache-2.0"
] | 1 | 2022-02-26T08:46:35.000Z | 2022-02-26T08:46:35.000Z | from proxylists import get_proxies
proxies = get_proxies()
print(proxies)
| 12.666667 | 34 | 0.802632 | 10 | 76 | 5.9 | 0.6 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 76 | 5 | 35 | 15.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c65d644321425f1d20c46f00fdc168596786eebd | 109 | py | Python | bugswarm/common/credentials.py | BugSwarm/common | 40fac88c29f4adc1f8ba0973c1a120d1ba1fad2a | [
"BSD-3-Clause"
] | 1 | 2020-02-27T00:50:05.000Z | 2020-02-27T00:50:05.000Z | bugswarm/common/credentials.py | BugSwarm/common | 40fac88c29f4adc1f8ba0973c1a120d1ba1fad2a | [
"BSD-3-Clause"
] | 9 | 2019-03-20T19:04:30.000Z | 2020-02-06T19:57:20.000Z | bugswarm/common/credentials.py | BugSwarm/common | 40fac88c29f4adc1f8ba0973c1a120d1ba1fad2a | [
"BSD-3-Clause"
] | 2 | 2019-12-13T22:13:45.000Z | 2021-11-10T10:48:38.000Z | # DockerHub
DOCKER_HUB_USERNAME = 'bugswarm'
DOCKER_HUB_REPO = '{}/{}'.format(DOCKER_HUB_USERNAME, 'images')
| 27.25 | 63 | 0.752294 | 13 | 109 | 5.846154 | 0.615385 | 0.355263 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 109 | 3 | 64 | 36.333333 | 0.76 | 0.082569 | 0 | 0 | 0 | 0 | 0.193878 | 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 |
c68621d69ffcf5e91ac7a7870ce1a531f9955490 | 179 | py | Python | test/cocotb/signed_adder/adder_model.py | zinka/DSP-BB | 2bd393cebd81162f185417468fb9667395c59953 | [
"MIT"
] | 2 | 2020-06-12T12:16:53.000Z | 2022-03-29T22:27:01.000Z | test/cocotb/signed_adder/adder_model.py | zinka/DSP-BB | 2bd393cebd81162f185417468fb9667395c59953 | [
"MIT"
] | null | null | null | test/cocotb/signed_adder/adder_model.py | zinka/DSP-BB | 2bd393cebd81162f185417468fb9667395c59953 | [
"MIT"
] | 1 | 2020-09-01T16:06:10.000Z | 2020-09-01T16:06:10.000Z | def adder_model(a, b):
"""
My golden reference model
"""
return my_adder(a, b)
def my_adder(a, b):
"""
My golden reference model
"""
return a + b | 16.272727 | 29 | 0.541899 | 26 | 179 | 3.615385 | 0.346154 | 0.085106 | 0.085106 | 0.212766 | 0.638298 | 0.638298 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0.324022 | 179 | 11 | 30 | 16.272727 | 0.77686 | 0.284916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 4 |
c68c2b908cdbac077cd4da0e7a7996e9837eb679 | 260 | py | Python | hashlookup/managers.py | LD250/django-models-hashlookup | bf7aff236d0bbabc951a7eec4ba18ff925d411b3 | [
"MIT"
] | null | null | null | hashlookup/managers.py | LD250/django-models-hashlookup | bf7aff236d0bbabc951a7eec4ba18ff925d411b3 | [
"MIT"
] | null | null | null | hashlookup/managers.py | LD250/django-models-hashlookup | bf7aff236d0bbabc951a7eec4ba18ff925d411b3 | [
"MIT"
] | null | null | null | from querysets import HashFilterQuerySet
from django.db import models
class ManagerHashMixin(object):
def get_queryset(self):
return HashFilterQuerySet(self.model, using=self._db)
class ManagerHash(ManagerHashMixin, models.Manager):
pass
| 18.571429 | 61 | 0.773077 | 29 | 260 | 6.862069 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157692 | 260 | 13 | 62 | 20 | 0.908676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.285714 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
c6907130a9cbd367e85c8a66121aaebce3e2a81c | 959 | py | Python | _solutions/design-patterns/behavioral/designpatterns_state.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _solutions/design-patterns/behavioral/designpatterns_state.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _solutions/design-patterns/behavioral/designpatterns_state.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
class Language(ABC):
@abstractmethod
def hello(self) -> str: ...
@abstractmethod
def goodbye(self) -> str: ...
class Polish(Language):
def goodbye(self) -> str:
return 'Do widzenia'
def hello(self) -> str:
return 'Cześć'
class English(... | 17.125 | 43 | 0.601668 | 106 | 959 | 5.330189 | 0.245283 | 0.123894 | 0.184071 | 0.132743 | 0.368142 | 0.219469 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280501 | 959 | 55 | 44 | 17.436364 | 0.818841 | 0 | 0 | 0.294118 | 0 | 0 | 0.055324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.382353 | false | 0 | 0.029412 | 0.294118 | 0.911765 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c6a705247fd77d44224bfda7c1c1b29378ed71a8 | 218 | py | Python | packages/pyright-internal/src/tests/samples/self3.py | martindemello/pyright | 4fe3f1f7c08f139715701fdf746183062b5165ff | [
"MIT"
] | 4,391 | 2019-05-07T01:18:57.000Z | 2022-03-31T20:45:44.000Z | packages/pyright-internal/src/tests/samples/self3.py | martindemello/pyright | 4fe3f1f7c08f139715701fdf746183062b5165ff | [
"MIT"
] | 2,740 | 2019-05-07T03:29:30.000Z | 2022-03-31T12:57:46.000Z | packages/pyright-internal/src/tests/samples/self3.py | martindemello/pyright | 4fe3f1f7c08f139715701fdf746183062b5165ff | [
"MIT"
] | 455 | 2019-05-07T12:55:14.000Z | 2022-03-31T17:09:15.000Z | # This sample tests the special-case handling of Self when comparing
# two functions whose signatures differ only in the Self scope.
class SomeClass:
def __str__(self) -> str:
...
__repr__ = __str__
| 21.8 | 68 | 0.701835 | 29 | 218 | 4.862069 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233945 | 218 | 9 | 69 | 24.222222 | 0.844311 | 0.587156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c6ca8c502e123e8003027c465b19e620ea1a47fd | 179 | py | Python | Darlington/phase1/python Basic 1/day 15 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 1/day 15 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 1/day 15 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to find files and skip directories of a given directory.
import os
print([f for f in os.listdir('/home/students') if os.path.isfile(os.path.join('/home/students', f))])
| 35.8 | 101 | 0.731844 | 32 | 179 | 4.09375 | 0.75 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122905 | 179 | 4 | 102 | 44.75 | 0.834395 | 0.357542 | 0 | 0 | 0 | 0 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
c6da459bbb6896c19b9cab9aa7e871c75460268d | 75 | py | Python | python/taichi/dynamics/__init__.py | gonnavis/taichi | ba1898643e4548a23ecae340e963614b28b8a103 | [
"MIT"
] | 2 | 2019-06-25T02:12:37.000Z | 2019-06-25T02:12:48.000Z | python/taichi/dynamics/__init__.py | gonnavis/taichi | ba1898643e4548a23ecae340e963614b28b8a103 | [
"MIT"
] | null | null | null | python/taichi/dynamics/__init__.py | gonnavis/taichi | ba1898643e4548a23ecae340e963614b28b8a103 | [
"MIT"
] | 1 | 2021-11-29T22:47:24.000Z | 2021-11-29T22:47:24.000Z | from .mpm import MPM
from .simulation import Simulation
__all__ = ['MPM']
| 15 | 34 | 0.746667 | 10 | 75 | 5.2 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 4 | 35 | 18.75 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c6da75f3a54bbe81adc9673271bbac0aebe6f1ff | 1,576 | py | Python | test/test_rendered_element_cache.py | Garmelon/bowl | 4a2eac58fea5111bfc1ab5760c27d6b592e10c2e | [
"MIT"
] | 1 | 2020-05-04T01:23:25.000Z | 2020-05-04T01:23:25.000Z | test/test_rendered_element_cache.py | Garmelon/bowl | 4a2eac58fea5111bfc1ab5760c27d6b592e10c2e | [
"MIT"
] | 1 | 2019-10-23T17:17:12.000Z | 2019-10-23T17:17:12.000Z | test/test_rendered_element_cache.py | Garmelon/bowl | 4a2eac58fea5111bfc1ab5760c27d6b592e10c2e | [
"MIT"
] | null | null | null | import unittest
from bowl import Element, RenderedElementCache
__all__ = ["TestRenderedElementCache"]
class TestRenderedElementCache(unittest.TestCase):
def setUp(self):
self.cache = RenderedElementCache()
self.e1 = Element("e1", None)
self.e2 = Element("e2", "e1")
self.e3 = Elem... | 30.901961 | 57 | 0.623731 | 207 | 1,576 | 4.690821 | 0.144928 | 0.23172 | 0.293512 | 0.370752 | 0.676622 | 0.656025 | 0.624099 | 0.61277 | 0.546859 | 0.512873 | 0 | 0.033816 | 0.211929 | 1,576 | 50 | 58 | 31.52 | 0.747987 | 0 | 0 | 0.472222 | 0 | 0 | 0.045685 | 0.015228 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.083333 | false | 0 | 0.055556 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
05d6363952d86c2a7662d657dcd9d3180b1ab6c1 | 193 | py | Python | Testing/Base/NodeTest.py | Biomechanical-ToolKit/BTKPython | 62c226367ba69b29576ea8fed45afdb9d0f8f946 | [
"Barr",
"Unlicense"
] | 8 | 2016-07-21T20:29:27.000Z | 2022-01-21T12:30:08.000Z | Testing/Base/NodeTest.py | Biomechanical-ToolKit/BTKPython | 62c226367ba69b29576ea8fed45afdb9d0f8f946 | [
"Barr",
"Unlicense"
] | 2 | 2016-07-19T09:32:12.000Z | 2020-01-22T12:24:59.000Z | Testing/Base/NodeTest.py | Biomechanical-ToolKit/BTKPython | 62c226367ba69b29576ea8fed45afdb9d0f8f946 | [
"Barr",
"Unlicense"
] | 7 | 2016-12-05T09:28:35.000Z | 2021-04-10T14:42:47.000Z | from _btk import btkBase
import unittest
class NodeTest(unittest.TestCase):
def test_Constructor(self):
test = btkBase.btkNode('test')
self.assertEqual(test.name(), 'test') | 27.571429 | 45 | 0.704663 | 23 | 193 | 5.826087 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181347 | 193 | 7 | 45 | 27.571429 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
05eb7bbdae290053108c3746f56bf06da58107aa | 134 | py | Python | reddit2telegram/channels/~inactive/reddit_wtf/app.py | CaringCat/reddit2telegram | aa3195d9964dfe0f5d822b37a41d567d1af423b7 | [
"MIT"
] | 187 | 2016-09-20T09:15:54.000Z | 2022-03-29T12:22:33.000Z | reddit2telegram/channels/~inactive/reddit_wtf/app.py | CaringCat/reddit2telegram | aa3195d9964dfe0f5d822b37a41d567d1af423b7 | [
"MIT"
] | 84 | 2016-09-22T14:25:07.000Z | 2022-03-19T01:26:17.000Z | reddit2telegram/channels/~inactive/reddit_wtf/app.py | CaringCat/reddit2telegram | aa3195d9964dfe0f5d822b37a41d567d1af423b7 | [
"MIT"
] | 172 | 2016-09-21T15:39:39.000Z | 2022-03-16T15:15:58.000Z | #encoding:utf-8
subreddit = 'wtf'
t_channel = '@reddit_wtf'
def send_post(submission, r2t):
return r2t.send_simple(submission)
| 14.888889 | 38 | 0.731343 | 19 | 134 | 4.947368 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0.141791 | 134 | 8 | 39 | 16.75 | 0.791304 | 0.104478 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
af0857d5daa0da7a2c28501ea0cc93371df41511 | 143 | py | Python | main.py | asmyczek/indawo | 34e79255c6681f78123b82cfab63ee0c1cfbb946 | [
"MIT"
] | null | null | null | main.py | asmyczek/indawo | 34e79255c6681f78123b82cfab63ee0c1cfbb946 | [
"MIT"
] | null | null | null | main.py | asmyczek/indawo | 34e79255c6681f78123b82cfab63ee0c1cfbb946 | [
"MIT"
] | null | null | null | from indawo.main import start_service
import time
import gc
import ntptime
time.sleep_ms(100)
gc.collect()
ntptime.settime()
start_service() | 13 | 37 | 0.804196 | 22 | 143 | 5.090909 | 0.636364 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.111888 | 143 | 11 | 38 | 13 | 0.858268 | 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 | 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 | 0 | 0 | 0 | 4 |
af1753ee81d6a202da416cb6aa9e83b82b0f7670 | 37 | py | Python | django/tests/auth_tests/templates/registration/password_reset_email.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | django/tests/auth_tests/templates/registration/password_reset_email.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | django/tests/auth_tests/templates/registration/password_reset_email.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | XXXXXXXXXXXX
XXXXX XXXXX XXXXXXXX XX
| 12.333333 | 23 | 0.864865 | 5 | 37 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 24 | 18.5 | 1 | 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 |
af2324e1468e183826bf24dbc1ed1062269b4a72 | 178 | py | Python | form_auto_fill_in/__init__.py | hurukou0308/Form-Auto-Fill-In | d516774b380530b6bab739676507d6aa805924d4 | [
"MIT"
] | null | null | null | form_auto_fill_in/__init__.py | hurukou0308/Form-Auto-Fill-In | d516774b380530b6bab739676507d6aa805924d4 | [
"MIT"
] | null | null | null | form_auto_fill_in/__init__.py | hurukou0308/Form-Auto-Fill-In | d516774b380530b6bab739676507d6aa805924d4 | [
"MIT"
] | null | null | null | # coding: utf-8
import os
MODULE_DIR = os.path.abspath(os.path.dirname(__file__))
DATA_DIR = os.path.join(MODULE_DIR, "data")
from . import form, utils
from .__meta__ import *
| 19.777778 | 55 | 0.735955 | 29 | 178 | 4.137931 | 0.586207 | 0.15 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.129213 | 178 | 8 | 56 | 22.25 | 0.767742 | 0.073034 | 0 | 0 | 0 | 0 | 0.02454 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
af255d84a39fc053ecccbf22b96cb090097c4fae | 15 | py | Python | login.py | Black-Red-Hao/Git- | 2023c5d2a4a163e7da53841f5f711de9e949a870 | [
"MIT"
] | null | null | null | login.py | Black-Red-Hao/Git- | 2023c5d2a4a163e7da53841f5f711de9e949a870 | [
"MIT"
] | null | null | null | login.py | Black-Red-Hao/Git- | 2023c5d2a4a163e7da53841f5f711de9e949a870 | [
"MIT"
] | null | null | null | QQ登录开发
微信登录开发
| 3.75 | 6 | 0.8 | 2 | 15 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 3 | 7 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
af3f04906ce387709f98d9ff00f6b9573cbd9fa4 | 122 | py | Python | tests/test_extract_nominations.py | jwilk-forks/and-the-award-goes-to | 94d05babf85bd06ad2aea42054e949940875cc22 | [
"MIT"
] | 1 | 2017-12-26T15:43:31.000Z | 2017-12-26T15:43:31.000Z | tests/test_extract_nominations.py | jwilk-forks/and-the-award-goes-to | 94d05babf85bd06ad2aea42054e949940875cc22 | [
"MIT"
] | null | null | null | tests/test_extract_nominations.py | jwilk-forks/and-the-award-goes-to | 94d05babf85bd06ad2aea42054e949940875cc22 | [
"MIT"
] | 1 | 2018-08-14T06:49:51.000Z | 2018-08-14T06:49:51.000Z | import unittest
class TestExtractAwards(unittest.TestCase):
def test_xyz(self):
self.assertEqual(True, True) | 20.333333 | 43 | 0.737705 | 14 | 122 | 6.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172131 | 122 | 6 | 44 | 20.333333 | 0.881188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
af4d16d2defb14a16325a81caa80eef64feb7fae | 1,267 | py | Python | padqc/steps/base_steps.py | qis-unipr/padqc | 94599db20711dc755b53425951fa3cb15b749f64 | [
"Apache-2.0"
] | null | null | null | padqc/steps/base_steps.py | qis-unipr/padqc | 94599db20711dc755b53425951fa3cb15b749f64 | [
"Apache-2.0"
] | null | null | null | padqc/steps/base_steps.py | qis-unipr/padqc | 94599db20711dc755b53425951fa3cb15b749f64 | [
"Apache-2.0"
] | 1 | 2021-02-18T22:11:18.000Z | 2021-02-18T22:11:18.000Z | from abc import abstractmethod
class Step:
"""
Base step class.
"""
def __init__(self):
self._properties = dict()
pass
@property
def properties(self):
return self._properties
@properties.setter
def properties(self, properties):
self._properties = prope... | 15.8375 | 37 | 0.575375 | 117 | 1,267 | 5.871795 | 0.25641 | 0.058224 | 0.080058 | 0.232897 | 0.608443 | 0.57933 | 0.57933 | 0.494905 | 0.494905 | 0.494905 | 0 | 0 | 0.324388 | 1,267 | 79 | 38 | 16.037975 | 0.80257 | 0.099448 | 0 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.255319 | false | 0.212766 | 0.021277 | 0.021277 | 0.404255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
af873620f2e0464a704d2cf26efb89cbe6bc0821 | 489 | py | Python | ISTp/2014/korsakov_a_a/task_2_34.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | ISTp/2014/korsakov_a_a/task_2_34.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | ISTp/2014/korsakov_a_a/task_2_34.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | # Задача 2. Вариант 34
# Напишите программу, которая будет выводить на экран наиболее понравившееся
# вам высказывание, автором которого является Платон. Не забудьте о том,
# что автор должен быть упомянут на отдельной строке.
# Korsakov A.A.
# 31.03.2016
print ('\nНикто не знает, что такое смерть и не есть ли она... | 44.454545 | 164 | 0.748466 | 79 | 489 | 4.64557 | 0.810127 | 0.070845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.167689 | 489 | 11 | 165 | 44.454545 | 0.872236 | 0.501022 | 0 | 0 | 0 | 0.333333 | 0.827004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
afc044ae76db55e66b76e4ecdcd9c6b1c0128f38 | 129 | py | Python | tests/test_4.py | Abdulrehmanvirus10/Automate_the_boring_stuff_with_Python | ecbe694e2a2f33ab75e87e815bca9fa63bc7efa5 | [
"MIT"
] | null | null | null | tests/test_4.py | Abdulrehmanvirus10/Automate_the_boring_stuff_with_Python | ecbe694e2a2f33ab75e87e815bca9fa63bc7efa5 | [
"MIT"
] | null | null | null | tests/test_4.py | Abdulrehmanvirus10/Automate_the_boring_stuff_with_Python | ecbe694e2a2f33ab75e87e815bca9fa63bc7efa5 | [
"MIT"
] | 1 | 2020-09-30T18:39:17.000Z | 2020-09-30T18:39:17.000Z | def printMyName(myName):
print('My name is' + myName)
print('Who are you ?')
myName = input()
printMyName(myName)
| 14.333333 | 33 | 0.627907 | 16 | 129 | 5.0625 | 0.6875 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 129 | 8 | 34 | 16.125 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.190083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.8 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
afc9bfa6cd1ed5caa1c9220eb5108846e4c58541 | 255 | py | Python | apps/oob/mixins/user_is_object_user.py | dbjennings/order-of-business | 8f424bd36b323e4c102b3d8704bb576c150d585a | [
"MIT"
] | null | null | null | apps/oob/mixins/user_is_object_user.py | dbjennings/order-of-business | 8f424bd36b323e4c102b3d8704bb576c150d585a | [
"MIT"
] | null | null | null | apps/oob/mixins/user_is_object_user.py | dbjennings/order-of-business | 8f424bd36b323e4c102b3d8704bb576c150d585a | [
"MIT"
] | null | null | null | from django.contrib.auth.mixins import UserPassesTestMixin
from django.urls import reverse_lazy
class UserIsObjectUserMixIn(UserPassesTestMixin):
def test_func(self):
object = self.get_object()
return object.user == self.request.user | 31.875 | 58 | 0.768627 | 30 | 255 | 6.433333 | 0.7 | 0.103627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 255 | 8 | 59 | 31.875 | 0.897674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
afd222f7946d9fa03b5b69a273ac689c5a3eb2af | 205 | py | Python | Body_Mass_Index.py | merttalug/BodyMassIndex | 96b8a39931ff2a9748dbca0e4b13796ccc33e051 | [
"MIT"
] | null | null | null | Body_Mass_Index.py | merttalug/BodyMassIndex | 96b8a39931ff2a9748dbca0e4b13796ccc33e051 | [
"MIT"
] | null | null | null | Body_Mass_Index.py | merttalug/BodyMassIndex | 96b8a39931ff2a9748dbca0e4b13796ccc33e051 | [
"MIT"
] | null | null | null | weight = float(input("Please input your weight in kilograms: "))
height = float(input("Please input your height in meters: "))
bmi = weight/(height*height)
print("Your BMI percentage is: {} " .format(bmi)) | 51.25 | 64 | 0.717073 | 29 | 205 | 5.068966 | 0.482759 | 0.136054 | 0.217687 | 0.285714 | 0.340136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131707 | 205 | 4 | 65 | 51.25 | 0.825843 | 0 | 0 | 0 | 0 | 0 | 0.495146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb656a9ce0e421c515f08b27e62d843f40889d0e | 355 | py | Python | home/admin.py | Kshitij-Kumar-Singh-Chauhan/docon | bff0547e7bbd030e027217a2ca7800a8da529b56 | [
"MIT"
] | null | null | null | home/admin.py | Kshitij-Kumar-Singh-Chauhan/docon | bff0547e7bbd030e027217a2ca7800a8da529b56 | [
"MIT"
] | null | null | null | home/admin.py | Kshitij-Kumar-Singh-Chauhan/docon | bff0547e7bbd030e027217a2ca7800a8da529b56 | [
"MIT"
] | 2 | 2021-06-17T05:35:07.000Z | 2021-06-17T06:01:23.000Z | from django.contrib import admin
from .models import UserDetails
from .models import Contact
from .models import Book
from .models import Diagnostic
from .models import Report
# Register your models here.
admin.site.register(UserDetails)
admin.site.register(Contact)
admin.site.register(Book)
admin.site.register(Diag... | 23.666667 | 32 | 0.819718 | 49 | 355 | 5.938776 | 0.306122 | 0.171821 | 0.274914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101408 | 355 | 15 | 33 | 23.666667 | 0.912226 | 0.073239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 0.545455 | 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 |
bbacabf5836999e5cc9d6da57fc7b6bcb69c486a | 18 | py | Python | test/doctree_err/index.py | cortesi/countershape | 8cc20921e603f0787f0477b3d0854c7aaf942cf4 | [
"MIT"
] | 10 | 2015-02-18T03:12:36.000Z | 2020-07-12T04:09:05.000Z | test/doctree_err/index.py | samtaufa/countershape | c10370d972a473f5fb0faae8de934aee2177b49f | [
"MIT"
] | 4 | 2015-01-05T22:21:37.000Z | 2015-07-21T22:55:29.000Z | test/doctree_err/index.py | samtaufa/countershape | c10370d972a473f5fb0faae8de934aee2177b49f | [
"MIT"
] | 2 | 2015-07-21T11:19:04.000Z | 2020-07-12T03:28:24.000Z |
this is an error
| 6 | 16 | 0.722222 | 4 | 18 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 18 | 2 | 17 | 9 | 1 | 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 |
bbc16a10427fa0a83f7051ce32dd4fe19532b225 | 466 | py | Python | problem_29/test_distinct_powers.py | plilja/project-euler | 646d1989cf15e903ef7e3c6e487284847d522ec9 | [
"Apache-2.0"
] | null | null | null | problem_29/test_distinct_powers.py | plilja/project-euler | 646d1989cf15e903ef7e3c6e487284847d522ec9 | [
"Apache-2.0"
] | null | null | null | problem_29/test_distinct_powers.py | plilja/project-euler | 646d1989cf15e903ef7e3c6e487284847d522ec9 | [
"Apache-2.0"
] | null | null | null | import unittest
from distinct_powers import *
class TestDistinctPowers(unittest.TestCase):
def test_distinct_powers(self):
self.assertEqual(distinct_powers(2), 1)
self.assertEqual(distinct_powers(3), 4)
self.assertEqual(distinct_powers(4), 8)
self.assertEqual(distinct_powers(5), 1... | 24.526316 | 52 | 0.712446 | 56 | 466 | 5.589286 | 0.482143 | 0.313099 | 0.367412 | 0.463259 | 0.210863 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041995 | 0.182403 | 466 | 18 | 53 | 25.888889 | 0.779528 | 0 | 0 | 0 | 0 | 0 | 0.017167 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bbe49442064fae80e356129f57365409a4f8809a | 156 | py | Python | integration/app_test.py | adele2020/object-detection-assistance | b64ba9aa183e82948fdca9e9fbd065511d34d37f | [
"MIT"
] | null | null | null | integration/app_test.py | adele2020/object-detection-assistance | b64ba9aa183e82948fdca9e9fbd065511d34d37f | [
"MIT"
] | 1 | 2021-05-19T03:45:39.000Z | 2021-05-19T03:45:39.000Z | integration/app_test.py | adele2020/object-detection-assistance | b64ba9aa183e82948fdca9e9fbd065511d34d37f | [
"MIT"
] | null | null | null | import pytest
import requests
def test_code():
response = requests.get(url="http://localhost:5000" + "/healthz")
assert response.status_code == 200 | 26 | 69 | 0.717949 | 20 | 156 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.147436 | 156 | 6 | 70 | 26 | 0.774436 | 0 | 0 | 0 | 0 | 0 | 0.184713 | 0 | 0.2 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bbee6b920d50286ea586d931d0754aef84dc3bb5 | 181 | py | Python | lab_1/orthograph/make_orth_I.py | etzinis/speech_nlp_labs | 128ea5a79a0502aa80fb2f4eee4af051049a9e0e | [
"MIT"
] | null | null | null | lab_1/orthograph/make_orth_I.py | etzinis/speech_nlp_labs | 128ea5a79a0502aa80fb2f4eee4af051049a9e0e | [
"MIT"
] | null | null | null | lab_1/orthograph/make_orth_I.py | etzinis/speech_nlp_labs | 128ea5a79a0502aa80fb2f4eee4af051049a9e0e | [
"MIT"
] | null | null | null | fout=open('orth_I.txt','w')
alphabet='ΕΡΤΥΘΙΟΠΑΣΔΦΓΗΞΚΛΖΧΨΩΒΝΜ'
#alphabet='ΧΥ'
#fout.write('0 0 eps eps 0\n')
for i in alphabet:
fout.write('0 0 '+i+' '+i+' 0\n')
fout.write('0')
| 20.111111 | 35 | 0.651934 | 33 | 181 | 3.545455 | 0.454545 | 0.230769 | 0.25641 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.110497 | 181 | 8 | 36 | 22.625 | 0.68323 | 0.232044 | 0 | 0 | 0 | 0 | 0.328467 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a52245adf49ecefea6240e8039ec6ab313ebca77 | 14,227 | py | Python | CellModeller/Biophysics/SPP.py | knight-who-says-ni/CellModeller | df3e5901b604c55ec84cb675dadfda7c1d9aaddb | [
"BSD-3-Clause"
] | null | null | null | CellModeller/Biophysics/SPP.py | knight-who-says-ni/CellModeller | df3e5901b604c55ec84cb675dadfda7c1d9aaddb | [
"BSD-3-Clause"
] | null | null | null | CellModeller/Biophysics/SPP.py | knight-who-says-ni/CellModeller | df3e5901b604c55ec84cb675dadfda7c1d9aaddb | [
"BSD-3-Clause"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_im... | 29.639583 | 136 | 0.679834 | 1,853 | 14,227 | 4.658931 | 0.121964 | 0.095911 | 0.064752 | 0.041353 | 0.559481 | 0.470057 | 0.405305 | 0.335804 | 0.24638 | 0.159273 | 0 | 0.004795 | 0.223027 | 14,227 | 479 | 137 | 29.701461 | 0.77619 | 0.020735 | 0 | 0.375 | 1 | 0 | 0.020543 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.288889 | false | 0.005556 | 0.055556 | 0.263889 | 0.727778 | 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 |
a54b60dc33901ff7dc2d8a9dea4924b76539259f | 97 | py | Python | ViewResults/apps.py | ph4r05/RTTWebInterface | bed02dde6d8f478c307e5a4343038a5fc4168a55 | [
"MIT"
] | 2 | 2019-02-09T23:47:05.000Z | 2019-09-23T10:26:06.000Z | ViewResults/apps.py | ph4r05/RTTWebInterface | bed02dde6d8f478c307e5a4343038a5fc4168a55 | [
"MIT"
] | 2 | 2017-03-19T21:57:12.000Z | 2017-03-27T14:50:53.000Z | ViewResults/apps.py | ph4r05/RTTWebInterface | bed02dde6d8f478c307e5a4343038a5fc4168a55 | [
"MIT"
] | 2 | 2019-02-09T23:46:55.000Z | 2019-09-23T03:58:53.000Z | from django.apps import AppConfig
class ViewresultsConfig(AppConfig):
name = 'ViewResults'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
a55071e9fb37964480c664b04a196ae66d906924 | 677 | py | Python | python/tests/test_fizzbuzz_tree.py | everydaytimmy/data-structures-and-algorithms | eb8166c79c5cccfd20ad591c496c81dab82e297d | [
"MIT"
] | null | null | null | python/tests/test_fizzbuzz_tree.py | everydaytimmy/data-structures-and-algorithms | eb8166c79c5cccfd20ad591c496c81dab82e297d | [
"MIT"
] | 10 | 2021-04-14T20:08:53.000Z | 2021-05-25T23:59:45.000Z | python/tests/test_fizzbuzz_tree.py | everydaytimmy/data-structures-and-algorithms | eb8166c79c5cccfd20ad591c496c81dab82e297d | [
"MIT"
] | null | null | null | from code_challenges.fizzbuzz_tree.fizzbuzz_tree import Ktree, Node, fizz_buzz
# def test_node_has_value():
# node = Node("apple")
# assert node.value == "apple"
# def test_create_k_tree():
# tree = KTree()
# assert tree
# def test_fizz_buzz():
# one = Node(1)
# two = Node(2)
# three = N... | 21.15625 | 78 | 0.573117 | 90 | 677 | 4.166667 | 0.444444 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016293 | 0.274742 | 677 | 31 | 79 | 21.83871 | 0.747454 | 0.803545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a57f8efece0d7ddd40e81c6fcd0d189cb2335eab | 245 | py | Python | spiderpig/exceptions.py | papousek/spiderpig | b030809230f7945121c5523d081cb3d15d2d6473 | [
"MIT"
] | 1 | 2017-05-26T21:07:51.000Z | 2017-05-26T21:07:51.000Z | spiderpig/exceptions.py | papousek/spiderpig | b030809230f7945121c5523d081cb3d15d2d6473 | [
"MIT"
] | null | null | null | spiderpig/exceptions.py | papousek/spiderpig | b030809230f7945121c5523d081cb3d15d2d6473 | [
"MIT"
] | null | null | null | class SpiderpigError(Exception):
pass
class ValidationError(SpiderpigError):
pass
class NotInitialized(SpiderpigError):
pass
class CyclicExecution(SpiderpigError):
pass
class TooManyDependencies(SpiderpigError):
pass
| 12.894737 | 42 | 0.763265 | 20 | 245 | 9.35 | 0.4 | 0.192513 | 0.368984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17551 | 245 | 18 | 43 | 13.611111 | 0.925743 | 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 |
3c17c8727fd9a76d3b05301596fe59e41d1f43b0 | 144 | py | Python | CodeWars/8 Kyu/Grasshopper - Messi Goals.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Grasshopper - Messi Goals.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Grasshopper - Messi Goals.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | la_liga_goals = 43
champions_league_goals = 10
copa_del_rey_goals = 5
total_goals = la_liga_goals + champions_league_goals + copa_del_rey_goals | 28.8 | 73 | 0.847222 | 25 | 144 | 4.28 | 0.48 | 0.11215 | 0.205607 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0.111111 | 144 | 5 | 73 | 28.8 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.