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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2dfe0b429335644a54d1ebf633cee6f7f40b0692 | 210 | py | Python | dagu/dagu_convert.py | patrickdehoon/dagu | 71b6e5168afcdb1a9cdf0b5d6dd446a728c784e1 | [
"MIT"
] | null | null | null | dagu/dagu_convert.py | patrickdehoon/dagu | 71b6e5168afcdb1a9cdf0b5d6dd446a728c784e1 | [
"MIT"
] | null | null | null | dagu/dagu_convert.py | patrickdehoon/dagu | 71b6e5168afcdb1a9cdf0b5d6dd446a728c784e1 | [
"MIT"
] | null | null | null | from datetime import datetime
class DaguConvert:
@staticmethod
def execute(record, target_format):
converted_record = datetime.strftime(record, target_format)
return converted_record
| 21 | 67 | 0.742857 | 22 | 210 | 6.909091 | 0.636364 | 0.157895 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204762 | 210 | 9 | 68 | 23.333333 | 0.91018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
931277177cad13503ce28cb76c53e48e3e8e8f44 | 204 | py | Python | rqw-settings.py | amywieliczka/harvester | ed21e0167ac5e6e6002fa7c89aa78cc1e93e29d8 | [
"BSD-3-Clause"
] | 5 | 2015-01-14T20:48:28.000Z | 2015-05-13T15:31:12.000Z | rqw-settings.py | amywieliczka/harvester | ed21e0167ac5e6e6002fa7c89aa78cc1e93e29d8 | [
"BSD-3-Clause"
] | 87 | 2015-01-09T00:17:44.000Z | 2021-12-13T19:37:44.000Z | rqw-settings.py | amywieliczka/harvester | ed21e0167ac5e6e6002fa7c89aa78cc1e93e29d8 | [
"BSD-3-Clause"
] | 4 | 2015-02-26T23:27:44.000Z | 2019-06-11T21:43:17.000Z | REDIS_HOST="{{ redis_host }}"
REDIS_PORT={{ redis_port }}
REDIS_CONNECT_TIMEOUT={{ redis_connect_timeout }}
QUEUES= [ 'high{{ name_suffix }}', 'normal{{ name_suffix }}',
'low{{ name_suffix }}']
| 34 | 61 | 0.656863 | 24 | 204 | 5.125 | 0.458333 | 0.243902 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 204 | 5 | 62 | 40.8 | 0.706897 | 0 | 0 | 0 | 0 | 0 | 0.392157 | 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 |
9327c7d9861e811692ede887d45d0fed725f2f36 | 92 | py | Python | app/auth/signals.py | sololuz/cibb-web | 665de9832e8a262f9051f4075572f5aed0553f6e | [
"BSD-3-Clause"
] | null | null | null | app/auth/signals.py | sololuz/cibb-web | 665de9832e8a262f9051f4075572f5aed0553f6e | [
"BSD-3-Clause"
] | null | null | null | app/auth/signals.py | sololuz/cibb-web | 665de9832e8a262f9051f4075572f5aed0553f6e | [
"BSD-3-Clause"
] | null | null | null |
import django.dispatch
user_registered = django.dispatch.Signal(providing_args=["user"])
| 15.333333 | 65 | 0.793478 | 11 | 92 | 6.454545 | 0.727273 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 5 | 66 | 18.4 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 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 |
9345c793ea8467850284372100fd002bf671beaf | 331 | py | Python | scraper/__init__.py | puchchi/stock_scraper_latest | 09abfa12edbec0d6a65915db37ad3ad1b25fa092 | [
"MIT"
] | null | null | null | scraper/__init__.py | puchchi/stock_scraper_latest | 09abfa12edbec0d6a65915db37ad3ad1b25fa092 | [
"MIT"
] | null | null | null | scraper/__init__.py | puchchi/stock_scraper_latest | 09abfa12edbec0d6a65915db37ad3ad1b25fa092 | [
"MIT"
] | null | null | null | from utility import *
from items import *
import logging
#This will help in logging all spider
logging.basicConfig(filename='C:\\Users\\anursin\\Documents\\GitHub/stock_scraper/stock_scraper.log',filemode='a',format='%(asctime)-15s : %(module)s : %(levelname)s : %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p', level=log... | 47.285714 | 234 | 0.722054 | 50 | 331 | 4.74 | 0.76 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.087613 | 331 | 7 | 234 | 47.285714 | 0.778146 | 0.108761 | 0 | 0 | 0 | 0 | 0.498305 | 0.233898 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
93537377b2c8be53710b71f9aca4b154911cdfb0 | 34 | py | Python | everyvoter_common/tests/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 5 | 2019-07-01T17:50:44.000Z | 2022-02-20T02:44:42.000Z | everyvoter_common/tests/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 3 | 2020-06-05T21:44:33.000Z | 2021-06-10T21:39:26.000Z | everyvoter_common/tests/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 1 | 2021-12-09T06:32:40.000Z | 2021-12-09T06:32:40.000Z | """Tests for EveryVoter Common"""
| 17 | 33 | 0.705882 | 4 | 34 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.8 | 0.794118 | 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 |
936a753a2796896667aa782277be41b40af061d3 | 130 | py | Python | crabageprediction/venv/Lib/site-packages/numpy/f2py/__main__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 20,453 | 2015-01-02T09:00:47.000Z | 2022-03-31T23:35:56.000Z | crabageprediction/venv/Lib/site-packages/numpy/f2py/__main__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 14,862 | 2015-01-01T01:28:34.000Z | 2022-03-31T23:48:52.000Z | crabageprediction/venv/Lib/site-packages/numpy/f2py/__main__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 9,362 | 2015-01-01T15:49:43.000Z | 2022-03-31T21:26:51.000Z | # See:
# https://web.archive.org/web/20140822061353/http://cens.ioc.ee/projects/f2py2e
from numpy.f2py.f2py2e import main
main()
| 21.666667 | 79 | 0.753846 | 20 | 130 | 4.9 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 0.076923 | 130 | 5 | 80 | 26 | 0.658333 | 0.630769 | 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 |
9370550c637fb1198c44b75d3295338cdaee61a8 | 216 | py | Python | src/main/python/algorithms/wiggleSort.py | asifkamalturzo/visualizer_integration | 20f0f83bff3bba0f5cf52061f65aef33ada46a89 | [
"MIT"
] | null | null | null | src/main/python/algorithms/wiggleSort.py | asifkamalturzo/visualizer_integration | 20f0f83bff3bba0f5cf52061f65aef33ada46a89 | [
"MIT"
] | 18 | 2021-10-01T14:27:14.000Z | 2021-10-01T19:30:58.000Z | src/main/python/algorithms/wiggleSort.py | asifkamalturzo/visualizer_integration | 20f0f83bff3bba0f5cf52061f65aef33ada46a89 | [
"MIT"
] | 1 | 2021-11-06T19:47:14.000Z | 2021-11-06T19:47:14.000Z | def wiggleSort(array, *args):
for i in range(len(array)):
if (i % 2 == 1) == (array[i - 1] > array[i]):
array[i - 1], array[i] = array[i], array[i - 1]
yield array, i, -1 , i+1, -1 | 43.2 | 59 | 0.462963 | 36 | 216 | 2.777778 | 0.361111 | 0.42 | 0.28 | 0.36 | 0.39 | 0.32 | 0.32 | 0 | 0 | 0 | 0 | 0.054795 | 0.324074 | 216 | 5 | 60 | 43.2 | 0.630137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 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 |
fa7338386a506c154acf4ea0d70bcd3bddd69f5d | 126 | py | Python | backlogr/react/apps.py | frnkn/backlogr_py | fa72d4bf84431d2c120199c7d2a37643e8a8bd98 | [
"Unlicense"
] | null | null | null | backlogr/react/apps.py | frnkn/backlogr_py | fa72d4bf84431d2c120199c7d2a37643e8a8bd98 | [
"Unlicense"
] | null | null | null | backlogr/react/apps.py | frnkn/backlogr_py | fa72d4bf84431d2c120199c7d2a37643e8a8bd98 | [
"Unlicense"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class ReactConfig(AppConfig):
name = 'react'
| 15.75 | 39 | 0.785714 | 15 | 126 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 126 | 7 | 40 | 18 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fa841a8f30c242b0844d5c45a514ece03b3bab50 | 33 | py | Python | src/__init__.py | KILFaT/solversode | 47dfbd2930dfc3d2f38aebbc040ae03712febd72 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | KILFaT/solversode | 47dfbd2930dfc3d2f38aebbc040ae03712febd72 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | KILFaT/solversode | 47dfbd2930dfc3d2f38aebbc040ae03712febd72 | [
"Apache-2.0"
] | null | null | null | from src import module
CONST1=42 | 11 | 22 | 0.818182 | 6 | 33 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.151515 | 33 | 3 | 23 | 11 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
faaf0e65bb18129a9b7def4f2d8bc09b2f7667aa | 175 | py | Python | pyth_ans_ecourse/class9/exercise8/mytest/whatever.py | fallenfuzz/pynet | 9624d83cca160fd325a34e838e4474c9b80fe2ab | [
"Apache-2.0"
] | 528 | 2015-01-07T15:28:51.000Z | 2022-03-27T09:45:37.000Z | pyth_ans_ecourse/class9/exercise8/mytest/whatever.py | fallenfuzz/pynet | 9624d83cca160fd325a34e838e4474c9b80fe2ab | [
"Apache-2.0"
] | 19 | 2015-07-01T23:52:27.000Z | 2021-09-22T04:30:34.000Z | pyth_ans_ecourse/class9/exercise8/mytest/whatever.py | fallenfuzz/pynet | 9624d83cca160fd325a34e838e4474c9b80fe2ab | [
"Apache-2.0"
] | 555 | 2015-01-18T07:21:43.000Z | 2022-03-20T21:25:22.000Z | '''
Python class on writing reusable code
'''
def func3():
'''Simple test function'''
print "Whatever"
if __name__ == "__main__":
print "Main program - whatever"
| 17.5 | 37 | 0.645714 | 20 | 175 | 5.25 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.211429 | 175 | 9 | 38 | 19.444444 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
faaf2ca989a68635d615b52bbff8f5620eb7c3d3 | 331 | py | Python | api/routes.py | amjed-ali-k/polmo-fastapi-backend | 64e64da1e018773970ec9dccf34501079c072d99 | [
"Apache-2.0"
] | 3 | 2021-08-04T08:43:35.000Z | 2022-03-07T10:15:35.000Z | api/routes.py | amjed-ali-k/polmo-fastapi-backend | 64e64da1e018773970ec9dccf34501079c072d99 | [
"Apache-2.0"
] | null | null | null | api/routes.py | amjed-ali-k/polmo-fastapi-backend | 64e64da1e018773970ec9dccf34501079c072d99 | [
"Apache-2.0"
] | 1 | 2021-08-01T05:47:21.000Z | 2021-08-01T05:47:21.000Z | import fastapi
from fastapi import responses
router = fastapi.APIRouter()
@router.get('/', include_in_schema=False)
def index():
return responses.RedirectResponse(url='/redoc')
@router.get('/favicon.ico', include_in_schema=False)
def favicon():
return fastapi.responses.RedirectResponse(url='/static/icons/fa... | 25.461538 | 78 | 0.761329 | 41 | 331 | 6.04878 | 0.512195 | 0.072581 | 0.120968 | 0.16129 | 0.185484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096677 | 331 | 13 | 78 | 25.461538 | 0.829431 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 0.075301 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 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 |
fab8c457ff9cfd23c3110eccbdfa55a6011aa972 | 129 | py | Python | solutions/correlation_matrix.py | kant/LearnAI-ADPM | 7cbfb4fed04056f4c89b2d0beebb2bfa78cc0931 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | solutions/correlation_matrix.py | kant/LearnAI-ADPM | 7cbfb4fed04056f4c89b2d0beebb2bfa78cc0931 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | solutions/correlation_matrix.py | kant/LearnAI-ADPM | 7cbfb4fed04056f4c89b2d0beebb2bfa78cc0931 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | corr = df_all.corr()
sns.heatmap(corr,
xticklabels=corr.columns.values,
yticklabels=corr.columns.values)
| 25.8 | 44 | 0.651163 | 15 | 129 | 5.533333 | 0.6 | 0.26506 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 129 | 4 | 45 | 32.25 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fac1be9d2801440b4f592a5274d99cbe7a28eeab | 192 | py | Python | api/v1/serializers/provider_type_serializer.py | xuhang57/atmosphere | f53fea2a74ee89ccc8852906799b1d9a7e9178b7 | [
"BSD-3-Clause"
] | null | null | null | api/v1/serializers/provider_type_serializer.py | xuhang57/atmosphere | f53fea2a74ee89ccc8852906799b1d9a7e9178b7 | [
"BSD-3-Clause"
] | null | null | null | api/v1/serializers/provider_type_serializer.py | xuhang57/atmosphere | f53fea2a74ee89ccc8852906799b1d9a7e9178b7 | [
"BSD-3-Clause"
] | null | null | null | from core.models.provider import ProviderType
from rest_framework import serializers
class ProviderTypeSerializer(serializers.ModelSerializer):
class Meta:
model = ProviderType
| 21.333333 | 58 | 0.802083 | 19 | 192 | 8.052632 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 192 | 8 | 59 | 24 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fac43f8ea4d3186d899bd7f147e158087ff16bce | 134 | py | Python | lib/ga_net/layer_utils.py | markstrefford/GA_CNN | fe5d71c16a2a413a97c69cff94d3e0c0cc69e9cc | [
"MIT"
] | null | null | null | lib/ga_net/layer_utils.py | markstrefford/GA_CNN | fe5d71c16a2a413a97c69cff94d3e0c0cc69e9cc | [
"MIT"
] | null | null | null | lib/ga_net/layer_utils.py | markstrefford/GA_CNN | fe5d71c16a2a413a97c69cff94d3e0c0cc69e9cc | [
"MIT"
] | null | null | null | #
# layer_utils.py
#
# Utility functions for generating a NN using GA
#
# Written by Mark Strefford
# (c) 2021 Delirium Digital Ltd
#
| 14.888889 | 48 | 0.723881 | 20 | 134 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.19403 | 134 | 8 | 49 | 16.75 | 0.851852 | 0.873134 | 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 |
87b55aebbb906dfc5ba15c69828c537c14352bd4 | 17 | py | Python | T32-05/program.py | miguelgaoreiss/SSof-Project1920 | 0bf74c264e06966931d6a2e0b42134dfddc32eb4 | [
"MIT"
] | 2 | 2019-11-20T19:26:07.000Z | 2019-11-22T00:42:23.000Z | T32-05/program.py | miguelgaoreiss/SSof-Project1920 | 0bf74c264e06966931d6a2e0b42134dfddc32eb4 | [
"MIT"
] | 2 | 2019-11-28T05:21:24.000Z | 2019-11-28T05:21:58.000Z | T32-05/program.py | miguelgaoreiss/SSof-Project1920 | 0bf74c264e06966931d6a2e0b42134dfddc32eb4 | [
"MIT"
] | 25 | 2019-11-27T01:40:56.000Z | 2019-12-04T23:38:59.000Z | snk(san(src(x)))
| 8.5 | 16 | 0.588235 | 4 | 17 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 17 | 1 | 17 | 17 | 0.625 | 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 |
87f80ab122296a9108c7ac60b8066e6128c5d347 | 56 | py | Python | B_Python_and_friends/solutions/ex1_2.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 7 | 2019-07-03T07:41:55.000Z | 2022-02-06T20:25:37.000Z | beginners-guide/solutions/ex1_2.py | oercompbiomed/Seili-2020 | 1f7490d58759098de28494f4580af3c700f57bd4 | [
"MIT"
] | 9 | 2019-03-14T15:15:09.000Z | 2019-08-01T14:18:21.000Z | B_Python_and_friends/solutions/ex1_2.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 11 | 2019-03-12T10:43:11.000Z | 2021-10-05T12:15:00.000Z | ln = len(long_list)
index = int(ln/2)
long_list[:index] | 14 | 19 | 0.696429 | 11 | 56 | 3.363636 | 0.636364 | 0.432432 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.125 | 56 | 4 | 20 | 14 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
87ffa34692350acd5d1c315bc181b5810b0f5dc0 | 113 | py | Python | Python/Console/RawInput.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 148 | 2017-08-03T01:49:27.000Z | 2022-03-26T10:39:30.000Z | Python/Console/RawInput.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 3 | 2017-11-23T19:52:05.000Z | 2020-04-01T00:44:40.000Z | Python/Console/RawInput.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 59 | 2017-08-03T01:49:19.000Z | 2022-03-31T23:24:38.000Z | name = raw_input("tell me your name:")
print 'Hello', str(name), '!'
#https://pt.stackoverflow.com/q/204509/101
| 22.6 | 42 | 0.681416 | 18 | 113 | 4.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 0.106195 | 113 | 4 | 43 | 28.25 | 0.663366 | 0.362832 | 0 | 0 | 0 | 0 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
354c8e04625c33f3879a94969ee3444d0288555d | 33,748 | py | Python | tccli/services/cmq/cmq_client.py | bopopescu/tencentcloud-cli-intl-en | e6317252557095dd10018226244e636daa4a3c67 | [
"Apache-2.0"
] | null | null | null | tccli/services/cmq/cmq_client.py | bopopescu/tencentcloud-cli-intl-en | e6317252557095dd10018226244e636daa4a3c67 | [
"Apache-2.0"
] | null | null | null | tccli/services/cmq/cmq_client.py | bopopescu/tencentcloud-cli-intl-en | e6317252557095dd10018226244e636daa4a3c67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli.nice_command import NiceCommand
import tccli.error_msg as ErrorMsg
import tccli.help_template as HelpTemplate
from tccli import __version__
from tccli.utils import Utils
from ... | 40.857143 | 105 | 0.688633 | 3,704 | 33,748 | 6.075324 | 0.063175 | 0.054393 | 0.15789 | 0.058925 | 0.765631 | 0.740923 | 0.728614 | 0.70515 | 0.696529 | 0.660801 | 0 | 0.009627 | 0.187419 | 33,748 | 825 | 106 | 40.906667 | 0.810962 | 0.00566 | 0 | 0.639615 | 0 | 0 | 0.104896 | 0.012195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031637 | false | 0.001376 | 0.023384 | 0 | 0.083906 | 0.005502 | 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 |
356247add8f9ef31658f6dc9b757e5bd99f9e50d | 173 | py | Python | Sergeant-RANK/PRACTICE/1016A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | 2 | 2021-12-09T18:07:46.000Z | 2022-01-26T16:51:18.000Z | Sergeant-RANK/PRACTICE/1016A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | Sergeant-RANK/PRACTICE/1016A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | n, m = map(int, input().split(" "))
l = list(map(int, input().split(" ")))
total = 0
for i in l:
total += i
print(int(total // m), end = " ")
total = total % m
| 21.625 | 38 | 0.49711 | 28 | 173 | 3.071429 | 0.535714 | 0.139535 | 0.255814 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.265896 | 173 | 7 | 39 | 24.714286 | 0.669291 | 0 | 0 | 0 | 0 | 0 | 0.017341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 |
356b975c868ee9c2549353dd9b18c36064365907 | 57 | py | Python | vae/kpmtest.py | Drishttii/pyprobml | 30b120e7d4f81ade55c10250193d98398040574b | [
"MIT"
] | null | null | null | vae/kpmtest.py | Drishttii/pyprobml | 30b120e7d4f81ade55c10250193d98398040574b | [
"MIT"
] | null | null | null | vae/kpmtest.py | Drishttii/pyprobml | 30b120e7d4f81ade55c10250193d98398040574b | [
"MIT"
] | null | null | null | import scripts.pyprobml_utils as pml
pml.test()
print(42) | 19 | 36 | 0.807018 | 10 | 57 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.087719 | 57 | 3 | 37 | 19 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
35b1627066dadb7f93af2a5dc09b52c700759594 | 1,479 | py | Python | tests/v2/test_logs_response_metadata.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | tests/v2/test_logs_response_metadata.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | tests/v2/test_logs_response_metadata.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
from __future__ import absolute_import
import sys
import unittest
im... | 30.183673 | 108 | 0.762001 | 182 | 1,479 | 5.906593 | 0.43956 | 0.074419 | 0.11907 | 0.133953 | 0.273488 | 0.273488 | 0.269767 | 0.269767 | 0.111628 | 0 | 0 | 0.01461 | 0.167005 | 1,479 | 48 | 109 | 30.8125 | 0.857955 | 0.281947 | 0 | 0.310345 | 0 | 0 | 0.154067 | 0.146411 | 0 | 0 | 0 | 0.020833 | 0 | 1 | 0.103448 | false | 0.103448 | 0.37931 | 0 | 0.517241 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
35d384dcab4c010cd350e77e30e9279bbc2b1152 | 2,739 | py | Python | effort/src/datasets/effort/Mystery1.py | rahlk/Bellwether | 39e0e63504a6dfdeeb5d6e8d733e708d1485ecd9 | [
"Unlicense"
] | 9 | 2017-07-27T10:32:48.000Z | 2021-07-01T11:51:51.000Z | effort/src/datasets/effort/Mystery1.py | rahlk/Bellwether | 39e0e63504a6dfdeeb5d6e8d733e708d1485ecd9 | [
"Unlicense"
] | 11 | 2016-03-15T16:27:47.000Z | 2019-09-05T02:25:08.000Z | effort/src/datasets/effort/Mystery1.py | rahlk/Bellwether | 39e0e63504a6dfdeeb5d6e8d733e708d1485ecd9 | [
"Unlicense"
] | 5 | 2017-01-28T22:45:34.000Z | 2019-12-04T13:15:10.000Z | """
# The JPL Data Set
Mystery Dataset 1
Standard header:
"""
from __future__ import division,print_function
import sys
sys.dont_write_bytecode = True
from lib import *
"""
Data:
"""
def run(weighFeature = False,split="median"):
vl=1;l=2;n=3;h=4;vh=5;xh=6;_=0
return data(indep= [
# 0..8
'Prec','Flex'... | 42.138462 | 103 | 0.428258 | 634 | 2,739 | 1.807571 | 0.271293 | 0.132635 | 0.091623 | 0.066318 | 0.256545 | 0.212914 | 0.132635 | 0.09075 | 0.084642 | 0.076789 | 0 | 0.356037 | 0.292443 | 2,739 | 64 | 104 | 42.796875 | 0.235294 | 0.067178 | 0 | 0 | 0 | 0 | 0.051876 | 0 | 0 | 0 | 0 | 0.015625 | 0 | 1 | 0.04878 | false | 0 | 0.073171 | 0 | 0.146341 | 0.04878 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ea2efbfb212e626bf0c9c5af731219d728e0f1a6 | 4,728 | py | Python | test/domain/test_base.py | ip4-team/bedhandler | 6415327fe6de1e7b2167ab29598927a71638deb3 | [
"MIT"
] | 1 | 2018-12-06T13:07:45.000Z | 2018-12-06T13:07:45.000Z | test/domain/test_base.py | ip4-team/bedhandler | 6415327fe6de1e7b2167ab29598927a71638deb3 | [
"MIT"
] | 5 | 2018-10-22T14:37:52.000Z | 2020-09-24T21:01:05.000Z | test/domain/test_base.py | ip4-team/bedhandler | 6415327fe6de1e7b2167ab29598927a71638deb3 | [
"MIT"
] | null | null | null | import pytest
from bedhandler.domain import BaseList, BaseMultList
# a list
base_list = BaseList()
# a list of lists
base_mult_list = BaseMultList()
@pytest.fixture(autouse=True)
def setup():
base_list.clear()
base_mult_list.clear()
def test_base_list_str_single_number():
"""
test baseList.__str__... | 28.829268 | 90 | 0.732022 | 666 | 4,728 | 4.779279 | 0.070571 | 0.138234 | 0.139491 | 0.05655 | 0.845743 | 0.798303 | 0.772856 | 0.647188 | 0.579642 | 0.461828 | 0 | 0.016273 | 0.168147 | 4,728 | 163 | 91 | 29.006135 | 0.793033 | 0.241117 | 0 | 0.416667 | 0 | 0 | 0.004505 | 0 | 0 | 0 | 0 | 0 | 0.263889 | 1 | 0.25 | false | 0 | 0.027778 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ea7d74d765f8358b624c2debece8d250c386c9dc | 115 | py | Python | exp/views/support.py | manybabies/MBAH-LookIt-API | 18474ceac3dcc8365a5559cf84e9f460671993f5 | [
"MIT"
] | 9 | 2018-06-26T17:15:27.000Z | 2021-11-21T17:19:01.000Z | exp/views/support.py | manybabies/MBAH-LookIt-API | 18474ceac3dcc8365a5559cf84e9f460671993f5 | [
"MIT"
] | 496 | 2018-02-19T19:18:24.000Z | 2022-03-31T17:01:16.000Z | exp/views/support.py | manybabies/MBAH-LookIt-API | 18474ceac3dcc8365a5559cf84e9f460671993f5 | [
"MIT"
] | 16 | 2018-07-06T23:35:39.000Z | 2021-11-21T17:52:58.000Z | from django.views import generic
class SupportView(generic.TemplateView):
template_name = "exp/support.html"
| 19.166667 | 40 | 0.782609 | 14 | 115 | 6.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 5 | 41 | 23 | 0.89 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 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 |
ea80f4195f2b8c847b12250cbc3d3572d696515f | 1,201 | py | Python | week1 and extra/copypasta.py | harshonyou/SOFT1 | 1bd2b0cc26d39c549bec576389bebd0fd011387d | [
"Apache-2.0"
] | null | null | null | week1 and extra/copypasta.py | harshonyou/SOFT1 | 1bd2b0cc26d39c549bec576389bebd0fd011387d | [
"Apache-2.0"
] | null | null | null | week1 and extra/copypasta.py | harshonyou/SOFT1 | 1bd2b0cc26d39c549bec576389bebd0fd011387d | [
"Apache-2.0"
] | null | null | null | import turtle
wn=turtle.Screen()
wn.bgcolor("black")
wn.title("Maze")
wn.setup(500,500)
class Pen(turtle.Turtle):
def __init__(self):
turtle.Turtle.__init__(self)
self.shape("square")
self.color("white")
self.penup()
self.speed(0)
pass
pass
levels = [""]
level... | 19.688525 | 43 | 0.472939 | 182 | 1,201 | 3.032967 | 0.252747 | 0.202899 | 0.255435 | 0.275362 | 0.202899 | 0.190217 | 0.190217 | 0.150362 | 0.150362 | 0.150362 | 0 | 0.027435 | 0.393006 | 1,201 | 61 | 44 | 19.688525 | 0.729767 | 0 | 0 | 0.313725 | 0 | 0 | 0.257903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0.117647 | 0.019608 | 0 | 0.078431 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
57a9b5b9ee6431b8be1270f081d95bf45021e044 | 2,158 | py | Python | tests/bugs/core_5217_test.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2022-02-05T11:37:13.000Z | 2022-02-05T11:37:13.000Z | tests/bugs/core_5217_test.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2021-09-03T11:47:00.000Z | 2021-09-03T12:42:10.000Z | tests/bugs/core_5217_test.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2021-06-30T14:14:16.000Z | 2021-06-30T14:14:16.000Z | #coding:utf-8
#
# id: bugs.core_5217
# title: ISQL -x may crash while exporting an exception with message text length > 127 bytes
# decription:
#
# tracker_id: CORE-5217
# min_versions: ['2.5.6']
# versions: 2.5.6
# qmid: None
import pytest
from firebird.qa import db_f... | 33.71875 | 171 | 0.762743 | 190 | 2,158 | 8.389474 | 0.410526 | 0.026349 | 0.050188 | 0.045169 | 0.043287 | 0 | 0 | 0 | 0 | 0 | 0 | 0.477721 | 0.178406 | 2,158 | 63 | 172 | 34.253968 | 0.42132 | 0.133457 | 0 | 0.058824 | 0 | 0 | 0.74098 | 0.437803 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.029412 | false | 0 | 0.058824 | 0 | 0.088235 | 0 | 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 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
57c73355483d10c897bec8a58356b55e5c9abec9 | 277 | py | Python | src/note/serializers/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 18 | 2021-05-20T13:20:16.000Z | 2022-02-11T02:40:18.000Z | src/note/serializers/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 109 | 2021-05-21T20:14:23.000Z | 2022-03-31T20:56:10.000Z | src/note/serializers/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 4 | 2021-05-17T13:47:53.000Z | 2022-02-12T10:48:21.000Z | from note.serializers.note_serializer import (
NoteSerializer,
NoteContentSerializer,
DynamicNoteSerializer,
DynamicNoteContentSerializer,
)
from note.serializers.note_template_serializer import (
NoteTemplateSerializer,
DynamicNoteTemplateSerializer
)
| 25.181818 | 55 | 0.808664 | 19 | 277 | 11.631579 | 0.631579 | 0.072398 | 0.171946 | 0.208145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144404 | 277 | 10 | 56 | 27.7 | 0.932489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
57e50d184a2c8fb8315458ec64f2672d33bd8900 | 41 | py | Python | Autokey/CapsKeybinds/shift alt/end.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | 1 | 2021-11-05T19:39:36.000Z | 2021-11-05T19:39:36.000Z | Autokey/CapsKeybinds/shift alt/end.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | null | null | null | Autokey/CapsKeybinds/shift alt/end.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | null | null | null | keyboard.send_keys("<shift>+<alt>+<end>") | 41 | 41 | 0.682927 | 6 | 41 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 41 | 1 | 41 | 41 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 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 |
17fe2a1d94fb554d10231a5c9257fb4deef32d05 | 85 | py | Python | ipynb/oscovida/__init__.py | skirienko/oscovida.github.io | eda5412d02365a8a000239be5480512c53bee8c2 | [
"CC-BY-4.0"
] | 2 | 2020-06-19T09:16:14.000Z | 2021-01-24T17:47:56.000Z | ipynb/oscovida/__init__.py | skirienko/oscovida.github.io | eda5412d02365a8a000239be5480512c53bee8c2 | [
"CC-BY-4.0"
] | 8 | 2020-04-20T16:49:49.000Z | 2021-12-25T16:54:19.000Z | ipynb/oscovida/__init__.py | skirienko/oscovida.github.io | eda5412d02365a8a000239be5480512c53bee8c2 | [
"CC-BY-4.0"
] | 4 | 2020-04-20T13:24:45.000Z | 2021-01-29T11:12:12.000Z | from .oscovida import *
from .metadata import MetadataRegion
__version__ = "0.1.0"
| 14.166667 | 36 | 0.752941 | 11 | 85 | 5.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.152941 | 85 | 5 | 37 | 17 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 |
aa02010115495a8c1a2a419b23de12127ca0f5ff | 627 | py | Python | larlib/larlib/__init__.py | cvdlab/lar-cc | 7092965acf7c0c78a5fab4348cf2c2aa01c4b130 | [
"MIT",
"Unlicense"
] | 1 | 2016-09-20T04:48:12.000Z | 2016-09-20T04:48:12.000Z | larlib/larlib/__init__.py | Ahdhn/lar-cc | 7092965acf7c0c78a5fab4348cf2c2aa01c4b130 | [
"MIT",
"Unlicense"
] | 1 | 2018-02-20T21:57:07.000Z | 2018-02-21T07:18:11.000Z | larlib/larlib/__init__.py | Ahdhn/lar-cc | 7092965acf7c0c78a5fab4348cf2c2aa01c4b130 | [
"MIT",
"Unlicense"
] | 7 | 2016-11-04T10:47:42.000Z | 2018-04-10T17:32:50.000Z | import scipy
import pyplasm
from scipy import *
from pyplasm import *
#from triangle import *
#from support import *
from copy import copy
from p2t import *
from myfont import *
from larstruct import *
from lar2psm import *
from simplexn import *
from largrid import *
from boundary import *
from larcc import *
from i... | 20.225806 | 27 | 0.773525 | 86 | 627 | 5.639535 | 0.325581 | 0.515464 | 0.070103 | 0.094845 | 0.11134 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005837 | 0.180223 | 627 | 31 | 28 | 20.225806 | 0.937743 | 0.102073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
aa05c0531a15b764d4bcac552c0fcc7851c3cc52 | 263 | py | Python | RESTful_Face_Web/service/base_service.py | luzhoutao/face | ae5910f57ae86412e8a56adbefe4f260dde216f0 | [
"MIT"
] | null | null | null | RESTful_Face_Web/service/base_service.py | luzhoutao/face | ae5910f57ae86412e8a56adbefe4f260dde216f0 | [
"MIT"
] | null | null | null | RESTful_Face_Web/service/base_service.py | luzhoutao/face | ae5910f57ae86412e8a56adbefe4f260dde216f0 | [
"MIT"
] | null | null | null | class BaseService:
def is_valid_input_data(self, data=None, app=None):
raise NotImplementedError("is_valid_input_data() Not Implement yet!")
def execute(self, *args, **kwargs):
raise NotImplementedError("execute() Not Implemented yet !")
| 37.571429 | 77 | 0.711027 | 32 | 263 | 5.65625 | 0.59375 | 0.077348 | 0.132597 | 0.176796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174905 | 263 | 6 | 78 | 43.833333 | 0.834101 | 0 | 0 | 0 | 0 | 0 | 0.269962 | 0.079848 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
aa2dde39f14f8ded882816b141a9b931b7bca0b6 | 22 | py | Python | simplecv/_impl/preprocess/det.py | Bobholamovic/SimpleCV | f4edacf088d0155725a469e227de847820bdfa53 | [
"MIT"
] | 44 | 2019-05-12T10:02:23.000Z | 2022-01-26T07:30:45.000Z | simplecv/_impl/preprocess/det.py | Z-Zheng/simplecv | 4fa67581441ad150e82b3aa2c394a921f74e4ecd | [
"MIT"
] | 6 | 2019-11-05T02:23:18.000Z | 2021-06-15T07:06:41.000Z | simplecv/_impl/preprocess/det.py | Bobholamovic/SimpleCV | f4edacf088d0155725a469e227de847820bdfa53 | [
"MIT"
] | 8 | 2019-07-07T08:58:20.000Z | 2022-03-19T08:57:33.000Z | """
Closed source
"""
| 5.5 | 13 | 0.545455 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 3 | 14 | 7.333333 | 0.666667 | 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 |
a4b414f09ee057d4f770f86408c2d74131271c8b | 56 | py | Python | openpnm/models/collections/physics/__init__.py | xu-kai-xu/OpenPNM | 61d5fc4729a0a29291cf6c53c07c4246e7a13714 | [
"MIT"
] | 2 | 2019-08-24T09:17:40.000Z | 2020-07-05T07:21:21.000Z | openpnm/models/collections/physics/__init__.py | xu-kai-xu/OpenPNM | 61d5fc4729a0a29291cf6c53c07c4246e7a13714 | [
"MIT"
] | null | null | null | openpnm/models/collections/physics/__init__.py | xu-kai-xu/OpenPNM | 61d5fc4729a0a29291cf6c53c07c4246e7a13714 | [
"MIT"
] | null | null | null | from .basic import basic
from .standard import standard
| 18.666667 | 30 | 0.821429 | 8 | 56 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 31 | 28 | 0.958333 | 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 |
a4b65bcb42a6543a702401eb7207adc3d1c60005 | 207 | py | Python | home/admin.py | SmithJesko/volny-films | 7c50713eb1d2c2d5984700a5de20a12e4045e1b9 | [
"MIT"
] | 1 | 2021-02-23T00:12:43.000Z | 2021-02-23T00:12:43.000Z | home/admin.py | SmithJesko/volny-films | 7c50713eb1d2c2d5984700a5de20a12e4045e1b9 | [
"MIT"
] | null | null | null | home/admin.py | SmithJesko/volny-films | 7c50713eb1d2c2d5984700a5de20a12e4045e1b9 | [
"MIT"
] | 1 | 2021-02-23T06:04:13.000Z | 2021-02-23T06:04:13.000Z | from django.contrib import admin
from .models import Movie
class MovieAdmin(admin.ModelAdmin):
list_display = ('title', 'release_date', 'language', 'popularity')
admin.site.register(Movie, MovieAdmin) | 25.875 | 70 | 0.763285 | 25 | 207 | 6.24 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 207 | 8 | 71 | 25.875 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.168269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a4bc756b968d0545c4b31366e574c74c4bcf55d9 | 156 | py | Python | ABC/A/0212.py | taro-masuda/AtCoder | e8cb050260c1dff4ef61a27d1a3a2a8029fc939a | [
"MIT"
] | null | null | null | ABC/A/0212.py | taro-masuda/AtCoder | e8cb050260c1dff4ef61a27d1a3a2a8029fc939a | [
"MIT"
] | null | null | null | ABC/A/0212.py | taro-masuda/AtCoder | e8cb050260c1dff4ef61a27d1a3a2a8029fc939a | [
"MIT"
] | null | null | null | A, B = map(int, input().split())
if 0 < A and B == 0:
print('Gold')
elif A == 0 and 0 < B:
print('Silver')
elif 0 < A and 0 < B:
print('Alloy') | 19.5 | 32 | 0.50641 | 30 | 156 | 2.633333 | 0.466667 | 0.050633 | 0.126582 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.282051 | 156 | 8 | 33 | 19.5 | 0.651786 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a4de13c55c29aad0cee482a41d19ebb77a6e2429 | 68 | py | Python | scripts/report/__init__.py | mathias-sm/mne-bids-pipeline | 55a8d7c7ca5a254ff7b9af84b818b164692667d5 | [
"BSD-3-Clause"
] | null | null | null | scripts/report/__init__.py | mathias-sm/mne-bids-pipeline | 55a8d7c7ca5a254ff7b9af84b818b164692667d5 | [
"BSD-3-Clause"
] | null | null | null | scripts/report/__init__.py | mathias-sm/mne-bids-pipeline | 55a8d7c7ca5a254ff7b9af84b818b164692667d5 | [
"BSD-3-Clause"
] | null | null | null | from . import _01_make_reports
SCRIPTS = (
_01_make_reports,
)
| 11.333333 | 30 | 0.720588 | 9 | 68 | 4.777778 | 0.666667 | 0.27907 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.205882 | 68 | 5 | 31 | 13.6 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
350717d26b68705eaa4c0c40f77299753abc7b02 | 1,539 | py | Python | pwn/toplevel.py | kristoff3r/pwntools | 9d94de956501dcf5f60c5a382c9a52078df99533 | [
"MIT"
] | 1 | 2019-09-30T04:00:13.000Z | 2019-09-30T04:00:13.000Z | pwn/toplevel.py | kristoff3r/pwntools | 9d94de956501dcf5f60c5a382c9a52078df99533 | [
"MIT"
] | null | null | null | pwn/toplevel.py | kristoff3r/pwntools | 9d94de956501dcf5f60c5a382c9a52078df99533 | [
"MIT"
] | null | null | null | # Get all the modules from pwnlib
from pwnlib import *
# Promote functions from these modules to toplevel
from pwnlib.asm import asm, disasm, cpp
from pwnlib.context import context
from pwnlib.dynelf import DynELF
from pwnlib.elf import ELF, load
from pwnli... | 40.5 | 77 | 0.637427 | 185 | 1,539 | 5.302703 | 0.356757 | 0.285423 | 0.142712 | 0.163099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309292 | 1,539 | 37 | 78 | 41.594595 | 0.92286 | 0.101365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
35304046c7abb5735e3e1420fba412edcb13da3d | 27,687 | py | Python | opencivicdata/elections/migrations/0001_initial.py | tubaman/python-opencivicdata | 010cd72bdd806e76f342195a1f1e20acbed5a431 | [
"BSD-3-Clause"
] | null | null | null | opencivicdata/elections/migrations/0001_initial.py | tubaman/python-opencivicdata | 010cd72bdd806e76f342195a1f1e20acbed5a431 | [
"BSD-3-Clause"
] | null | null | null | opencivicdata/elections/migrations/0001_initial.py | tubaman/python-opencivicdata | 010cd72bdd806e76f342195a1f1e20acbed5a431 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-06-23 15:20
from __future__ import unicode_literals
import django.contrib.postgres.fields
import django.contrib.postgres.fields.jsonb
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import opencivicdata... | 76.272727 | 422 | 0.650197 | 3,106 | 27,687 | 5.684804 | 0.106568 | 0.028997 | 0.030923 | 0.048593 | 0.762644 | 0.754035 | 0.740726 | 0.668687 | 0.663929 | 0.621906 | 0 | 0.013341 | 0.217575 | 27,687 | 362 | 423 | 76.483425 | 0.801736 | 0.002456 | 0 | 0.59887 | 1 | 0.079096 | 0.367178 | 0.084408 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002825 | 0.022599 | 0 | 0.033898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
35429557af1d81d6c41c3e4be99bea463e9efaab | 261 | py | Python | fablwriter/masal/admin.py | sevilayerkan/fabl-writer | f9f4f93c3f929564b792023910547f377b2ed2d6 | [
"MIT"
] | 4 | 2018-07-29T07:21:01.000Z | 2018-08-03T15:40:48.000Z | fablwriter/masal/admin.py | sevilayerkan/fabl-writer | f9f4f93c3f929564b792023910547f377b2ed2d6 | [
"MIT"
] | 1 | 2018-08-03T08:01:46.000Z | 2018-08-03T08:01:46.000Z | fablwriter/masal/admin.py | sevilayerkan/fabl-writer | f9f4f93c3f929564b792023910547f377b2ed2d6 | [
"MIT"
] | 7 | 2018-07-29T07:32:12.000Z | 2018-08-01T14:09:42.000Z | from django.contrib import admin
from masal.models import Fabl, Baglam, Sahne, Published
# Modelleri admin sayfasında yönetebilmek için kayıt ettik
admin.site.register(Fabl)
admin.site.register(Baglam)
admin.site.register(Sahne)
admin.site.register(Published)
| 29 | 58 | 0.823755 | 36 | 261 | 5.972222 | 0.527778 | 0.167442 | 0.316279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 261 | 8 | 59 | 32.625 | 0.907173 | 0.214559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
354991f737e8c45c6ea9c3ad821976e1b5481d51 | 143 | py | Python | app/app/calc.py | hammott/Django-Doker-Restful-E_Commerce | 4df8b2c7f79690364978dfbbaba5457799c5bf15 | [
"MIT"
] | null | null | null | app/app/calc.py | hammott/Django-Doker-Restful-E_Commerce | 4df8b2c7f79690364978dfbbaba5457799c5bf15 | [
"MIT"
] | null | null | null | app/app/calc.py | hammott/Django-Doker-Restful-E_Commerce | 4df8b2c7f79690364978dfbbaba5457799c5bf15 | [
"MIT"
] | null | null | null |
def add(x,y):
"""ADD TOW NUMBER TOGETHER"""
return x+y
def subtract(x,y):
"""Subtract x from y and return value"""
return y-x | 17.875 | 44 | 0.594406 | 25 | 143 | 3.4 | 0.48 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251748 | 143 | 8 | 45 | 17.875 | 0.794393 | 0.405594 | 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 | 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 |
1040b08c5a880aa0e2554df21980b5db1737c0d0 | 204 | py | Python | 20_unit_testing/lectures/2_testing_errors/functions.py | gdia/The-Complete-Python-Course | ed375b65242249bc749c3e292a6149f8528b9dcf | [
"MIT"
] | 29 | 2019-09-02T21:15:59.000Z | 2022-01-14T02:20:05.000Z | 20_unit_testing/lectures/2_testing_errors/functions.py | gdia/The-Complete-Python-Course | ed375b65242249bc749c3e292a6149f8528b9dcf | [
"MIT"
] | 2 | 2020-08-20T05:48:36.000Z | 2021-06-02T03:16:31.000Z | 20_unit_testing/lectures/2_testing_errors/functions.py | gdia/The-Complete-Python-Course | ed375b65242249bc749c3e292a6149f8528b9dcf | [
"MIT"
] | 38 | 2019-10-20T14:29:12.000Z | 2022-03-27T19:50:05.000Z | from typing import Union
def divide(dividend: Union[int, float], divisor: Union[int, float]):
if divisor == 0:
raise ValueError("The divisor cannot be zero.")
return dividend / divisor
| 22.666667 | 68 | 0.681373 | 27 | 204 | 5.148148 | 0.703704 | 0.115108 | 0.18705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.215686 | 204 | 8 | 69 | 25.5 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
104b1ba2976bd679cca110939f3b091bd99b9c78 | 91 | py | Python | linkpage/apps.py | strassan/www.kaifeck.de | b54698e8e57eaedbc4cb4ea3335fc719df92108f | [
"MIT"
] | 2 | 2020-07-29T17:35:31.000Z | 2021-06-06T11:37:49.000Z | linkpage/apps.py | strassan/www.kaifeck.de | b54698e8e57eaedbc4cb4ea3335fc719df92108f | [
"MIT"
] | 4 | 2020-10-28T19:06:02.000Z | 2021-01-11T16:06:46.000Z | linkpage/apps.py | strassan/www.kaifeck.de | b54698e8e57eaedbc4cb4ea3335fc719df92108f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LinkpageConfig(AppConfig):
name = 'linkpage'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
1058ec1ace778fcf6e54547f34e91148d4e621f4 | 2,601 | py | Python | trioasm/whatshap/tests/testreadselect.py | shilpagarg/WHdenovo | 7a03798397ee0f131f100402d12ad53eab4334dc | [
"MIT"
] | 45 | 2019-03-18T06:57:23.000Z | 2021-06-24T12:24:48.000Z | trioasm/whatshap/tests/testreadselect.py | shilpagarg/WHdenovo | 7a03798397ee0f131f100402d12ad53eab4334dc | [
"MIT"
] | 2 | 2019-05-06T22:11:22.000Z | 2020-01-10T15:14:40.000Z | trioasm/whatshap/tests/testreadselect.py | shilpagarg/WHdenovo | 7a03798397ee0f131f100402d12ad53eab4334dc | [
"MIT"
] | 7 | 2019-05-06T22:07:47.000Z | 2020-12-11T08:48:26.000Z | from whatshap.core import readselection
from .phasingutils import string_to_readset
def test_selection():
reads = string_to_readset("""
1 1
00
0 1
10 1
1 1
11
0 1
1 1
""")
selected_reads = readselection(reads, max_cov = 1, bridging = False)
assert selected_reads == set([1,5])
... | 27.670213 | 116 | 0.67474 | 384 | 2,601 | 4.408854 | 0.260417 | 0.207324 | 0.149439 | 0.168931 | 0.585351 | 0.559362 | 0.523331 | 0.502067 | 0.473715 | 0.36267 | 0 | 0.079981 | 0.206844 | 2,601 | 93 | 117 | 27.967742 | 0.740669 | 0.31411 | 0 | 0.701754 | 0 | 0 | 0.135535 | 0 | 0 | 0 | 0 | 0.010753 | 0.157895 | 1 | 0.070175 | false | 0 | 0.035088 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1086f7cac056501e449d25cb720006421a6f2ccd | 50 | py | Python | litterbox/feeds/__init__.py | rwightman/tensorflow-litterbox | ddeeb3a6c7de64e5391050ffbb5948feca65ad3c | [
"Apache-2.0"
] | 49 | 2016-09-09T15:31:36.000Z | 2022-03-09T09:43:52.000Z | litterbox/feeds/__init__.py | TangxinKevin/tensorflow-litterbox | ddeeb3a6c7de64e5391050ffbb5948feca65ad3c | [
"Apache-2.0"
] | 1 | 2017-06-09T07:24:16.000Z | 2017-06-09T15:28:11.000Z | litterbox/feeds/__init__.py | TangxinKevin/tensorflow-litterbox | ddeeb3a6c7de64e5391050ffbb5948feca65ad3c | [
"Apache-2.0"
] | 29 | 2016-09-20T07:29:54.000Z | 2021-09-28T08:03:49.000Z | from .image.feed_image import FeedImagesWithLabels | 50 | 50 | 0.9 | 6 | 50 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.93617 | 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 |
109b0ec55f954afc1f30b1db4623cc95c33c4b1b | 1,262 | py | Python | prxgt/config.py | praxigento/teq_test_db_schema_attrs | 20ec030dc095c644d22631491e066697203d983d | [
"MIT"
] | null | null | null | prxgt/config.py | praxigento/teq_test_db_schema_attrs | 20ec030dc095c644d22631491e066697203d983d | [
"MIT"
] | null | null | null | prxgt/config.py | praxigento/teq_test_db_schema_attrs | 20ec030dc095c644d22631491e066697203d983d | [
"MIT"
] | null | null | null | __author__ = 'Alex Gusev <alex@flancer64.com>'
import json
import logging
class Config:
_filename = None
_data = None
def __init__(self, filename='config.json'):
self._filename = filename
def load(self):
cfg_file = open(self._filename)
self._data = json.load(cfg_file)
... | 30.047619 | 79 | 0.68859 | 171 | 1,262 | 4.637427 | 0.263158 | 0.090794 | 0.141236 | 0.181589 | 0.576293 | 0.47541 | 0.332913 | 0.281211 | 0.131148 | 0.131148 | 0 | 0.001947 | 0.186212 | 1,262 | 41 | 80 | 30.780488 | 0.770204 | 0 | 0 | 0 | 0 | 0 | 0.248811 | 0.034865 | 0 | 0 | 0 | 0 | 0 | 1 | 0.344828 | false | 0 | 0.068966 | 0.275862 | 0.793103 | 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 |
10a3bea385c89f3f8d9ed67463902ffb42d28244 | 7,482 | py | Python | home/migrations/0003_auto_20210707_0702.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | 20 | 2021-04-29T12:36:25.000Z | 2022-03-27T12:17:41.000Z | home/migrations/0003_auto_20210707_0702.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | 892 | 2021-02-02T13:56:06.000Z | 2022-03-31T11:25:44.000Z | home/migrations/0003_auto_20210707_0702.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | 28 | 2021-02-19T19:28:37.000Z | 2022-03-11T11:46:00.000Z | # Generated by Django 3.1.13 on 2021-07-07 07:02
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.contrib.taggit
import modelcluster.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
('taggit', '0003_taggeditem_add_unique_inde... | 48.270968 | 211 | 0.641406 | 779 | 7,482 | 6.001284 | 0.16303 | 0.044492 | 0.127914 | 0.15016 | 0.827807 | 0.826952 | 0.717219 | 0.660749 | 0.611551 | 0.580535 | 0 | 0.009715 | 0.229618 | 7,482 | 154 | 212 | 48.584416 | 0.801353 | 0.006148 | 0 | 0.673469 | 1 | 0 | 0.214017 | 0.042507 | 0.020408 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027211 | 0 | 0.054422 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
52afbae4ebd5a8692782dda360e198ca009fd285 | 221 | py | Python | users/urls.py | frankdevelopero/django-frikr | 1845ea0a571f0285afc042618aacb6d7d87d7353 | [
"MIT"
] | null | null | null | users/urls.py | frankdevelopero/django-frikr | 1845ea0a571f0285afc042618aacb6d7d87d7353 | [
"MIT"
] | null | null | null | users/urls.py | frankdevelopero/django-frikr | 1845ea0a571f0285afc042618aacb6d7d87d7353 | [
"MIT"
] | null | null | null | from django.urls import path
from users.views import LoginView, LogoutView
urlpatterns = [
path('login/', LoginView.as_view(), name='users_login'),
path('logout/', LogoutView.as_view(), name='users_logout'),
]
| 22.1 | 63 | 0.710407 | 28 | 221 | 5.464286 | 0.535714 | 0.078431 | 0.130719 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135747 | 221 | 9 | 64 | 24.555556 | 0.801047 | 0 | 0 | 0 | 0 | 0 | 0.162896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
52d7b91dcb15c25ba4e5cbb548e00f83cbcd0209 | 127 | py | Python | logical/converter/qiskit/extensions/simulator/__init__.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | null | null | null | logical/converter/qiskit/extensions/simulator/__init__.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | 1 | 2019-04-09T02:22:38.000Z | 2019-04-09T02:22:38.000Z | logical/converter/qiskit/extensions/simulator/__init__.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | null | null | null |
from .load import load
from .noise import noise
from .save import save
from .snapshot import snapshot
from .wait import wait
| 15.875 | 30 | 0.787402 | 20 | 127 | 5 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173228 | 127 | 7 | 31 | 18.142857 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
52f27a77dc8ab379af9200191eaf5b5df9c99cbe | 853 | py | Python | app/admin/forms.py | lemocla/business-analysis-project | 663de29deb242f028b6defe75d7174a8c37ff596 | [
"MIT"
] | 10 | 2022-03-02T19:52:46.000Z | 2022-03-29T16:58:12.000Z | app/admin/forms.py | Code-Institute-Community/dlr-project | 0073a03adbd94b335df84e8996187de09297644b | [
"MIT"
] | 48 | 2022-03-02T16:45:55.000Z | 2022-03-29T19:03:08.000Z | app/admin/forms.py | Code-Institute-Community/dlr-project | 0073a03adbd94b335df84e8996187de09297644b | [
"MIT"
] | 9 | 2022-03-02T20:41:27.000Z | 2022-03-27T16:37:20.000Z | from wtforms import form, fields
class UserForm(form.Form):
username = fields.StringField('Userame')
email = fields.StringField('Email')
password = fields.StringField('Password')
is_active = fields.BooleanField('Is active', default=True)
is_admin = fields.BooleanField('Is admin', default=False)
... | 37.086957 | 63 | 0.723329 | 103 | 853 | 5.864078 | 0.300971 | 0.365894 | 0.208609 | 0.129139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.15592 | 853 | 22 | 64 | 38.772727 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.159437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.055556 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
52f8da0487fd9240c62f6d9446427e4935fb5796 | 1,953 | py | Python | isi_sdk/apis/__init__.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | isi_sdk/apis/__init__.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | isi_sdk/apis/__init__.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# import apis into api package
from .antivirus_api import AntivirusApi
from .audit_api import AuditApi
from .auth_api import AuthApi
from .auth_groups_api import AuthGroupsApi
from .auth_providers_api import AuthProvidersApi
from .auth_roles_api import AuthRolesApi
from .auth_use... | 39.06 | 69 | 0.876088 | 260 | 1,953 | 6.307692 | 0.380769 | 0.252439 | 0.019512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099846 | 1,953 | 49 | 70 | 39.857143 | 0.932878 | 0.014337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
eac044d3dad030045129e65d187d339931bd2b66 | 307 | py | Python | sdb/tests/sdb_helpers_test.py | gongchengshi/aws | d04d42739e026d2e99936dd046be05293e063e08 | [
"MIT"
] | null | null | null | sdb/tests/sdb_helpers_test.py | gongchengshi/aws | d04d42739e026d2e99936dd046be05293e063e08 | [
"MIT"
] | null | null | null | sdb/tests/sdb_helpers_test.py | gongchengshi/aws | d04d42739e026d2e99936dd046be05293e063e08 | [
"MIT"
] | null | null | null | from aws import USWest2
import aws.sdb
sdb = USWest2.sdb()
domain = sdb.lookup('crawled-urls.siemens17042013')
# domain = sdb.lookup('logs.siemens17042013')
# domain = sdb.lookup('skipped-urls.siemens17042013')
# domain = sdb.lookup('failed-urls.siemens17042013')
count = aws.sdb.count(domain)
print count
| 27.909091 | 53 | 0.758958 | 40 | 307 | 5.825 | 0.375 | 0.154506 | 0.257511 | 0.386266 | 0.291845 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122744 | 0.09772 | 307 | 10 | 54 | 30.7 | 0.718412 | 0.47557 | 0 | 0 | 0 | 0 | 0.178344 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ead5ca5370b8295da1a86c6827d80fc14bdedda0 | 80 | py | Python | src/AlgoPlus/CTP/__init__.py | yutiansut/AlgoPlus | 64259a3946c5283d226aabd7c3084d44c837a2c6 | [
"MIT"
] | 1 | 2019-11-01T03:35:33.000Z | 2019-11-01T03:35:33.000Z | src/AlgoPlus/CTP/__init__.py | TouQi/AlgoPlus | c7f1b5f7692d357afae5a55e33c922fa55da5c78 | [
"MIT"
] | null | null | null | src/AlgoPlus/CTP/__init__.py | TouQi/AlgoPlus | c7f1b5f7692d357afae5a55e33c922fa55da5c78 | [
"MIT"
] | 1 | 2021-12-22T16:15:13.000Z | 2021-12-22T16:15:13.000Z | # encoding:utf-8
# AlgoPlus量化投资开源框架范例
# 微信公众号:AlgoPlus
# 项目官网:http://algo.plus
| 13.333333 | 23 | 0.7375 | 10 | 80 | 5.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.1125 | 80 | 5 | 24 | 16 | 0.816901 | 0.875 | 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 |
eae47abfa49e65c12475aa70a26227dcedfcaed6 | 42 | py | Python | keepercommander/plugins/mysql/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 151 | 2015-11-02T02:04:46.000Z | 2022-01-20T00:07:01.000Z | keepercommander/plugins/mysql/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 145 | 2015-12-31T00:11:35.000Z | 2022-03-31T19:13:54.000Z | keepercommander/plugins/mysql/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 73 | 2015-10-30T00:53:10.000Z | 2022-03-30T03:50:53.000Z | from .mysql import *
__all__ = ["rotate"] | 14 | 20 | 0.666667 | 5 | 42 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 3 | 21 | 14 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eaf89cec2ae477059dad21983ca039597501a6d7 | 1,180 | py | Python | Trakttv.bundle/Contents/Libraries/Shared/stash/archives/core/base.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Libraries/Shared/stash/archives/core/base.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Libraries/Shared/stash/archives/core/base.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | from stash.core.modules.base import MappingModule
import collections
class Archive(MappingModule):
__group__ = 'archive'
@property
def serializer(self):
return self.stash.serializer
def dumps(self, value):
return self.serializer.dumps(value)
def loads(self, value):
retu... | 21.071429 | 54 | 0.619492 | 131 | 1,180 | 5.381679 | 0.328244 | 0.204255 | 0.191489 | 0.131915 | 0.178723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.300847 | 1,180 | 55 | 55 | 21.454545 | 0.854545 | 0 | 0 | 0.162162 | 0 | 0 | 0.005932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324324 | false | 0 | 0.054054 | 0.081081 | 0.594595 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dc4a1a1b3a0387051b938aefae9a958e03daeb78 | 64,982 | py | Python | pysnmp_mibs/DISMAN-SCRIPT-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/DISMAN-SCRIPT-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/DISMAN-SCRIPT-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module DISMAN-SCRIPT-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/DISMAN-SCRIPT-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:08:15 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, Jan 5 2016, 17:11:5... | 326.542714 | 3,784 | 0.717399 | 8,818 | 64,982 | 5.286233 | 0.099342 | 0.024521 | 0.037971 | 0.008238 | 0.50974 | 0.460977 | 0.418394 | 0.375831 | 0.329064 | 0.296306 | 0 | 0.036493 | 0.183174 | 64,982 | 198 | 3,785 | 328.191919 | 0.841708 | 0.004771 | 0 | 0 | 0 | 0.282723 | 0.666239 | 0.005707 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005236 | 0.036649 | 0 | 0.036649 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dc65276a5f4f878d7b99c63b40dd8b99f59398d7 | 254 | py | Python | app/emend/__init__.py | tantalor/emend | c9fc890c737fd4a767f2212c45c33b61fc240c32 | [
"MIT"
] | 3 | 2015-01-01T10:11:43.000Z | 2016-05-08T18:35:48.000Z | app/emend/__init__.py | tantalor/emend | c9fc890c737fd4a767f2212c45c33b61fc240c32 | [
"MIT"
] | null | null | null | app/emend/__init__.py | tantalor/emend | c9fc890c737fd4a767f2212c45c33b61fc240c32 | [
"MIT"
] | null | null | null | from request_handler import RequestHandler
from suggest import suggest
from bookmarklet import bookmarklet
from site_name import site_name
from canonical_url import canonical_url
from model import Edit, Site, User
import bitly
import twitter
import html
| 25.4 | 42 | 0.866142 | 37 | 254 | 5.810811 | 0.459459 | 0.074419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 254 | 9 | 43 | 28.222222 | 0.968468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dc7e3fe327c93c32854c444d9f469511fa5747b7 | 169 | py | Python | BigPyD/Catalog.py | eicherjc/BigPyD | eca7bf9d315e0c2f2a9ef416b31de59d4f92a49c | [
"Apache-2.0"
] | null | null | null | BigPyD/Catalog.py | eicherjc/BigPyD | eca7bf9d315e0c2f2a9ef416b31de59d4f92a49c | [
"Apache-2.0"
] | null | null | null | BigPyD/Catalog.py | eicherjc/BigPyD | eca7bf9d315e0c2f2a9ef416b31de59d4f92a49c | [
"Apache-2.0"
] | null | null | null | def catalog(BidSess):
r = BidSess.request("GET", url="https://localhost/api/v1/data-catalog/?format=json", headers=BidSess.headers, verify=False)
return r.json() | 56.333333 | 127 | 0.715976 | 24 | 169 | 5.041667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.100592 | 169 | 3 | 128 | 56.333333 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.311765 | 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 |
dcaa4f98c16f0935f0ebe837deee5521ffa79c69 | 46 | py | Python | combo/blm/core/__init__.py | yanpei18345156216/COMBO_Python3 | 666a116dfece71e6236291e89ea2ab4d6db0ead9 | [
"MIT"
] | 21 | 2019-07-04T17:30:27.000Z | 2022-03-26T14:27:32.000Z | combo/blm/core/__init__.py | yanpei18345156216/COMBO_Python3 | 666a116dfece71e6236291e89ea2ab4d6db0ead9 | [
"MIT"
] | 2 | 2020-03-01T01:42:25.000Z | 2020-03-01T02:59:37.000Z | combo/blm/core/__init__.py | yanpei18345156216/COMBO_Python3 | 666a116dfece71e6236291e89ea2ab4d6db0ead9 | [
"MIT"
] | 13 | 2019-08-07T14:08:04.000Z | 2022-03-16T00:51:58.000Z | from .model import model
__all__ = ["model"]
| 11.5 | 24 | 0.695652 | 6 | 46 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 3 | 25 | 15.333333 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
dcb7b4df721e80627f3f290a147b14cde91ce1d8 | 79 | py | Python | crits/certificates/migrate.py | dicato/crits | 8d500f7175855f1aeefa94caa783f981062ba869 | [
"MIT"
] | null | null | null | crits/certificates/migrate.py | dicato/crits | 8d500f7175855f1aeefa94caa783f981062ba869 | [
"MIT"
] | null | null | null | crits/certificates/migrate.py | dicato/crits | 8d500f7175855f1aeefa94caa783f981062ba869 | [
"MIT"
] | null | null | null | def migrate_certificate(self):
"""
Latest migration.
"""
pass
| 11.285714 | 30 | 0.56962 | 7 | 79 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303797 | 79 | 6 | 31 | 13.166667 | 0.8 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f4b30b59edb9cc8da793c1e87036e3de4bdfe927 | 81 | py | Python | fly/apps.py | chunjie-sam-liu/LNCediting | 24c1bbe5f03117da06d3d2fda492d4d5ad45c473 | [
"MIT"
] | null | null | null | fly/apps.py | chunjie-sam-liu/LNCediting | 24c1bbe5f03117da06d3d2fda492d4d5ad45c473 | [
"MIT"
] | 1 | 2020-04-14T11:33:29.000Z | 2020-04-14T11:33:29.000Z | fly/apps.py | chunjie-sam-liu/LNCediting | 24c1bbe5f03117da06d3d2fda492d4d5ad45c473 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FlyConfig(AppConfig):
name = 'fly'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 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 |
f4d00e4ab369e6586905a43e5610efd3a4151644 | 446 | py | Python | modules/modules.py | oboforty/metaindex | 290d6b581fb1c074e28d42dc750ab878585e2eb2 | [
"MIT"
] | null | null | null | modules/modules.py | oboforty/metaindex | 290d6b581fb1c074e28d42dc750ab878585e2eb2 | [
"MIT"
] | null | null | null | modules/modules.py | oboforty/metaindex | 290d6b581fb1c074e28d42dc750ab878585e2eb2 | [
"MIT"
] | null | null | null | from .eme_utils import __module__ as utils
from .search import __module__ as search
from .db_builder import __module__ as db_builder
from .doors_oauth import __module__ as oauth
from .admin import __module__ as admin
from .comments import __module__ as comments
# favourites
modules = [
utils,
oauth... | 20.272727 | 49 | 0.695067 | 54 | 446 | 5.203704 | 0.314815 | 0.256228 | 0.298932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26009 | 446 | 21 | 50 | 21.238095 | 0.851515 | 0.123318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f4d03ace57dd2eacb60bf87a63998ec923d499a2 | 91 | py | Python | lewis_emulators/instron_stress_rig/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 2 | 2020-10-20T16:49:13.000Z | 2021-02-19T10:41:44.000Z | lewis_emulators/instron_stress_rig/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 9 | 2019-03-22T15:35:15.000Z | 2021-07-28T11:05:43.000Z | lewis_emulators/instron_stress_rig/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 1 | 2020-10-21T17:02:44.000Z | 2020-10-21T17:02:44.000Z | from .stream_interface import InstronStreamInterface
__all__ = ['InstronStreamInterface']
| 22.75 | 52 | 0.846154 | 7 | 91 | 10.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 3 | 53 | 30.333333 | 0.86747 | 0 | 0 | 0 | 0 | 0 | 0.241758 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7624b4c784f0bd50e72c5a9da56fb2bfa7034a44 | 161 | py | Python | bricks_toolkit/menu_controller.py | Wilgnne/bricks_graphics | 12cc2386d8e1dd0bbb4c49889a47630e8f3d1bd9 | [
"MIT"
] | null | null | null | bricks_toolkit/menu_controller.py | Wilgnne/bricks_graphics | 12cc2386d8e1dd0bbb4c49889a47630e8f3d1bd9 | [
"MIT"
] | null | null | null | bricks_toolkit/menu_controller.py | Wilgnne/bricks_graphics | 12cc2386d8e1dd0bbb4c49889a47630e8f3d1bd9 | [
"MIT"
] | null | null | null | from screen_controller import BricksWall
class Menu(object):
"""docstring for Menu"""
def __init__(self, arg):
super(Menu, self).__init__()
self.arg = arg | 23 | 40 | 0.726708 | 22 | 161 | 4.909091 | 0.681818 | 0.148148 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 161 | 7 | 41 | 23 | 0.782609 | 0.111801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
52637a3f12bfd607f5b7c5feebcef588e8984fce | 187 | py | Python | code/7/stack_example.py | TeamLab/introduction_to_pythoy_TEAMLAB_MOOC | ebf1ff02d6a341bfee8695eac478ff8297cb97e4 | [
"MIT"
] | 65 | 2017-11-01T01:57:21.000Z | 2022-02-08T13:36:25.000Z | code/7/stack_example.py | TeamLab/introduction_to_pythoy_TEAMLAB_MOOC | ebf1ff02d6a341bfee8695eac478ff8297cb97e4 | [
"MIT"
] | 9 | 2017-11-03T15:05:30.000Z | 2018-05-17T03:18:36.000Z | code/7/stack_example.py | TeamLab/introduction_to_pythoy_TEAMLAB_MOOC | ebf1ff02d6a341bfee8695eac478ff8297cb97e4 | [
"MIT"
] | 64 | 2017-11-01T01:57:23.000Z | 2022-01-19T03:52:12.000Z | word = input("Input a word: ")
world_list = list(word)
print(world_list)
result = []
for _ in range(len(world_list)):
result.append(world_list.pop())
print(result)
print(word[::-1])
| 18.7 | 35 | 0.684492 | 29 | 187 | 4.241379 | 0.482759 | 0.292683 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.13369 | 187 | 9 | 36 | 20.777778 | 0.753086 | 0 | 0 | 0 | 0 | 0 | 0.074866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 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 |
5266a9ceb1236bd28825acde939368713eb830d0 | 1,963 | py | Python | src/encoded/types/data_release_update.py | 4dn-dcic/fourfron | 29601961706d2371b982e57ae085e8ebec3b2714 | [
"MIT"
] | 11 | 2016-11-23T02:33:13.000Z | 2021-06-18T14:21:20.000Z | src/encoded/types/data_release_update.py | 4dn-dcic/fourfron | 29601961706d2371b982e57ae085e8ebec3b2714 | [
"MIT"
] | 1,159 | 2016-11-21T15:40:24.000Z | 2022-03-29T03:18:38.000Z | src/encoded/types/data_release_update.py | 4dn-dcic/fourfron | 29601961706d2371b982e57ae085e8ebec3b2714 | [
"MIT"
] | 5 | 2017-01-27T16:36:15.000Z | 2019-06-14T14:39:54.000Z | from snovault import (
collection,
load_schema,
)
from .base import (
Item
)
@collection(
name='data-release-updates',
properties={
'title': 'Data Release Updates',
'description': 'Metadata release updates for the Portal',
})
class DataReleaseUpdate(Item):
item_type = 'data... | 37.037736 | 83 | 0.72593 | 224 | 1,963 | 5.977679 | 0.223214 | 0.156087 | 0.255414 | 0.283794 | 0.681105 | 0.661688 | 0.586258 | 0.524272 | 0.324869 | 0.173264 | 0 | 0 | 0.181355 | 1,963 | 52 | 84 | 37.75 | 0.83323 | 0.096791 | 0 | 0.054054 | 0 | 0 | 0.673654 | 0.609065 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054054 | 0 | 0.162162 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
52792a06f5f90f14c15cddfdf0b19e0b18d79086 | 201 | py | Python | 1043.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 6 | 2021-04-13T00:33:43.000Z | 2022-02-10T10:23:59.000Z | 1043.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | null | null | null | 1043.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 3 | 2021-03-23T18:42:24.000Z | 2022-02-10T10:24:07.000Z | A, B, C = [float(x) for x in input().split()]
if (A + B > C) and (B + C > A) and (A + C > B):
print('Perimetro = {:.1f}'.format(A + B + C))
else: print('Area = {:.1f}'.format(((A + B) * C) / 2.0))
| 40.2 | 56 | 0.462687 | 39 | 201 | 2.384615 | 0.487179 | 0.107527 | 0.129032 | 0.215054 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.238806 | 201 | 4 | 57 | 50.25 | 0.581699 | 0 | 0 | 0 | 0 | 0 | 0.154229 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
bfeb9d61bac6e746a93d55fb5cdf3b897a57287f | 22 | py | Python | morphops/_version.py | vishalbelsare/morphops | 63f678c4762be957ca51bac0b92609d244ef18ce | [
"MIT"
] | 22 | 2019-02-25T13:30:33.000Z | 2022-03-14T00:15:57.000Z | deepblocks/version.py | blurry-mood/Deep-Learning-Blocks | e81cf9270c21189a90799671d9446af449e826be | [
"MIT"
] | 12 | 2018-12-16T11:02:14.000Z | 2021-10-12T11:25:15.000Z | deepblocks/version.py | blurry-mood/Deep-Learning-Blocks | e81cf9270c21189a90799671d9446af449e826be | [
"MIT"
] | 3 | 2021-07-27T20:50:13.000Z | 2021-09-30T17:16:32.000Z | __version__ = '0.1.13' | 22 | 22 | 0.681818 | 4 | 22 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bff43add0ea11b225fa7cfabcd889fadc8362c0b | 5,046 | py | Python | deepcvr/utils/config.py | john-james-ai/DeepCVR | d8c2f98ee4febf7b0a7131d1cf198cee02fcdb2e | [
"BSD-3-Clause"
] | null | null | null | deepcvr/utils/config.py | john-james-ai/DeepCVR | d8c2f98ee4febf7b0a7131d1cf198cee02fcdb2e | [
"BSD-3-Clause"
] | null | null | null | deepcvr/utils/config.py | john-james-ai/DeepCVR | d8c2f98ee4febf7b0a7131d1cf198cee02fcdb2e | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
# ================================================================================================ #
# Project : DeepCVR: Deep Learning for Conversion Rate Prediction #
# Version : 0.1.0 ... | 36.042857 | 101 | 0.413397 | 399 | 5,046 | 5.062657 | 0.333333 | 0.084158 | 0.083663 | 0.109406 | 0.44505 | 0.410891 | 0.371782 | 0.304455 | 0.283663 | 0.19505 | 0 | 0.011487 | 0.32719 | 5,046 | 139 | 102 | 36.302158 | 0.583505 | 0.457392 | 0 | 0.573333 | 0 | 0 | 0.07425 | 0.035545 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253333 | false | 0.066667 | 0.053333 | 0.173333 | 0.626667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
872336db0985a3880dd70eba194cbb9e11bef245 | 265 | py | Python | dept.py | ebbieaden/pymodules | 44ee374562f0bb685199b6534b3ca259a2cebe06 | [
"MIT"
] | null | null | null | dept.py | ebbieaden/pymodules | 44ee374562f0bb685199b6534b3ca259a2cebe06 | [
"MIT"
] | null | null | null | dept.py | ebbieaden/pymodules | 44ee374562f0bb685199b6534b3ca259a2cebe06 | [
"MIT"
] | null | null | null | dept = {
"Computer Science": 10,
"Computer Engineering": 12
}
depts = input("Department: ")
if depts == "Computer_sci":
print(dept["Computer_sci"])
elif depts == "Computer Engineering":
print(dept["Computer Engineering"])
else:
pass | 22.083333 | 39 | 0.626415 | 28 | 265 | 5.857143 | 0.535714 | 0.219512 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019512 | 0.226415 | 265 | 12 | 40 | 22.083333 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0 | 0 | 0 | 0.181818 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8738b8134122aafd306b5e882c415f5036ce4d47 | 14,089 | py | Python | scripts/data_preparation/create_lmdb.py | NimrodShabtay/KAIR | d744959d75c22b016543dc65c04922ea4b59894f | [
"MIT"
] | 1 | 2022-02-27T03:05:50.000Z | 2022-02-27T03:05:50.000Z | scripts/data_preparation/create_lmdb.py | NimrodShabtay/KAIR | d744959d75c22b016543dc65c04922ea4b59894f | [
"MIT"
] | null | null | null | scripts/data_preparation/create_lmdb.py | NimrodShabtay/KAIR | d744959d75c22b016543dc65c04922ea4b59894f | [
"MIT"
] | null | null | null | import argparse
from os import path as osp
from utils.utils_video import scandir
from utils.utils_lmdb import make_lmdb_from_imgs
def create_lmdb_for_div2k():
"""Create lmdb files for DIV2K dataset.
Usage:
Before run this script, please run `extract_subimages.py`.
Typically, there are four f... | 35.134663 | 96 | 0.703173 | 1,980 | 14,089 | 4.681313 | 0.088384 | 0.098177 | 0.078326 | 0.079297 | 0.835581 | 0.806775 | 0.727263 | 0.680764 | 0.656381 | 0.615385 | 0 | 0.016813 | 0.202144 | 14,089 | 400 | 97 | 35.2225 | 0.807757 | 0.267585 | 0 | 0.386364 | 0 | 0 | 0.236328 | 0.176122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096591 | false | 0 | 0.022727 | 0 | 0.164773 | 0.051136 | 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 |
8742f24a7416d0d1d474f49a46d6889d12b02a66 | 29 | py | Python | pypf/tests/__init__.py | ROSOLCH/pypf | e90333b929e5e037e1dabba349e5069f1c141768 | [
"MIT"
] | 18 | 2018-02-15T06:54:10.000Z | 2022-03-25T10:15:52.000Z | pypf/tests/__init__.py | ROSOLCH/pypf | e90333b929e5e037e1dabba349e5069f1c141768 | [
"MIT"
] | 24 | 2017-08-13T18:01:13.000Z | 2022-03-31T02:11:03.000Z | pypf/tests/__init__.py | ROSOLCH/pypf | e90333b929e5e037e1dabba349e5069f1c141768 | [
"MIT"
] | 13 | 2018-04-18T00:27:01.000Z | 2021-08-18T21:18:39.000Z | """Module initialization."""
| 14.5 | 28 | 0.689655 | 2 | 29 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.740741 | 0.758621 | 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 |
874bec817001894bf56db865b0d3d1d5fa769517 | 341 | py | Python | tests/test_imports.py | samirelanduk/quickplots | 59f5e6ff367b2c1c24ba7cf1805d03552034c6d8 | [
"MIT"
] | 1 | 2016-02-28T00:17:29.000Z | 2016-02-28T00:17:29.000Z | tests/test_imports.py | samirelanduk/quickplots | 59f5e6ff367b2c1c24ba7cf1805d03552034c6d8 | [
"MIT"
] | null | null | null | tests/test_imports.py | samirelanduk/quickplots | 59f5e6ff367b2c1c24ba7cf1805d03552034c6d8 | [
"MIT"
] | null | null | null | from unittest import TestCase
import quickplots
class QuickObjectsTests(TestCase):
def test_line_imported(self):
from quickplots.quick import line
self.assertIs(line, quickplots.line)
def test_scatter_imported(self):
from quickplots.quick import scatter
self.assertIs(scatter,... | 24.357143 | 50 | 0.739003 | 39 | 341 | 6.358974 | 0.384615 | 0.056452 | 0.129032 | 0.209677 | 0.298387 | 0.298387 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199413 | 341 | 13 | 51 | 26.230769 | 0.908425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.666667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
874f99748faad9dc7a6989c3ea5b79645d5b42ba | 717 | py | Python | Python-Fundamentals-June-2019/02_functions_and_debugging/01_blank_receipt.py | marinakolova/Python-Courses | eb95c782307be561b5026c5adafaa001b04caf4f | [
"MIT"
] | null | null | null | Python-Fundamentals-June-2019/02_functions_and_debugging/01_blank_receipt.py | marinakolova/Python-Courses | eb95c782307be561b5026c5adafaa001b04caf4f | [
"MIT"
] | null | null | null | Python-Fundamentals-June-2019/02_functions_and_debugging/01_blank_receipt.py | marinakolova/Python-Courses | eb95c782307be561b5026c5adafaa001b04caf4f | [
"MIT"
] | null | null | null | def print_receipt_header():
"""
Prints the receipt header
:return: None
"""
print('CASH RECEIPT')
print('------------------------------')
def print_receipt_body():
"""
Prints the receipt body
:return: None
"""
print('Charged to____________________')
print('Received by__... | 18.384615 | 43 | 0.566248 | 67 | 717 | 5.149254 | 0.328358 | 0.278261 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005474 | 0.235704 | 717 | 39 | 44 | 18.384615 | 0.624088 | 0.214784 | 0 | 0.133333 | 0 | 0 | 0.316222 | 0.211499 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | true | 0 | 0 | 0 | 0.266667 | 0.933333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5e641d34408171e4764f9396d0a36d0b70239ba9 | 7,654 | py | Python | models/linear.py | notreallyme2/teas | 26e0482bccb73cd7236e5a69b5caf59660ecee7a | [
"MIT"
] | 1 | 2021-01-07T03:37:44.000Z | 2021-01-07T03:37:44.000Z | models/linear.py | notreallyme2/teas | 26e0482bccb73cd7236e5a69b5caf59660ecee7a | [
"MIT"
] | null | null | null | models/linear.py | notreallyme2/teas | 26e0482bccb73cd7236e5a69b5caf59660ecee7a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# coding: utf-8
"""This module contains classes (models) and methods for exploring linear autoencoders
"""
import numpy as np
import pandas as pd
from torch import nn, optim, tensor, FloatTensor
from torch.utils.data import Dataset, DataLoader, random_split
import torch.nn.functional as F
cla... | 33.718062 | 196 | 0.572642 | 982 | 7,654 | 4.330957 | 0.150713 | 0.029626 | 0.023278 | 0.028215 | 0.760875 | 0.738773 | 0.738773 | 0.709852 | 0.686104 | 0.669175 | 0 | 0.009649 | 0.336556 | 7,654 | 227 | 197 | 33.718062 | 0.827885 | 0.438986 | 0 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.058824 | 0.035294 | 0.411765 | 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 |
5e83d48f36939ff835026d2f940bebef354dd80a | 130 | py | Python | tests/helpers.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 15 | 2020-11-02T21:11:03.000Z | 2022-03-10T14:17:46.000Z | tests/helpers.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 4 | 2020-11-01T17:54:15.000Z | 2022-03-04T21:42:41.000Z | tests/helpers.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 2 | 2021-05-01T06:59:12.000Z | 2021-11-25T07:01:02.000Z | def assert_dicts(dict1, dict2):
assert len(dict1) == len(dict2)
for key in dict1:
assert dict1[key] == dict2[key]
| 26 | 39 | 0.630769 | 19 | 130 | 4.263158 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0.238462 | 130 | 4 | 40 | 32.5 | 0.747475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e96df112a9e557a61742a85397c09a1c67cde44 | 108 | py | Python | .vscode/desafios/desafio 003.py | FonsecaThay/Curso-de-python | 58095dcb1f59d9e61aeab5a9de332e463f330d12 | [
"MIT"
] | null | null | null | .vscode/desafios/desafio 003.py | FonsecaThay/Curso-de-python | 58095dcb1f59d9e61aeab5a9de332e463f330d12 | [
"MIT"
] | null | null | null | .vscode/desafios/desafio 003.py | FonsecaThay/Curso-de-python | 58095dcb1f59d9e61aeab5a9de332e463f330d12 | [
"MIT"
] | null | null | null | a = int(input('Digite um número:'))
b = int(input('Digite outro número:'))
s = a+b
print('A soma vale', s)
| 18 | 38 | 0.62037 | 20 | 108 | 3.35 | 0.6 | 0.238806 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 5 | 39 | 21.6 | 0.744444 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5eb3264d58e7f75f372a39aeb41d15a1d05ac379 | 1,100 | py | Python | abcdeep/queue.py | Conchylicultor/AbcDeep | 6fcfc03a1a516ccd760201bb004098e6f6fe0e7e | [
"Apache-2.0"
] | 1 | 2017-09-10T14:13:39.000Z | 2017-09-10T14:13:39.000Z | abcdeep/queue.py | Conchylicultor/AbcDeep | 6fcfc03a1a516ccd760201bb004098e6f6fe0e7e | [
"Apache-2.0"
] | null | null | null | abcdeep/queue.py | Conchylicultor/AbcDeep | 6fcfc03a1a516ccd760201bb004098e6f6fe0e7e | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Conchylicultor. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 30.555556 | 80 | 0.662727 | 152 | 1,100 | 4.763158 | 0.651316 | 0.082873 | 0.035912 | 0.044199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00905 | 0.196364 | 1,100 | 35 | 81 | 31.428571 | 0.809955 | 0.801818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.8 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0d7dbf7f45021bc9cf900caac9ab23c59377d6f4 | 1,296 | py | Python | odin/metrics/compute_sharpe_ratio.py | gsamarakoon/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 103 | 2017-01-14T19:38:14.000Z | 2022-03-10T12:52:09.000Z | odin/metrics/compute_sharpe_ratio.py | gsamarakoon/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 6 | 2017-01-19T01:38:53.000Z | 2020-03-09T19:03:18.000Z | odin/metrics/compute_sharpe_ratio.py | JamesBrofos/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 33 | 2017-02-05T21:51:17.000Z | 2021-12-22T20:38:30.000Z | """Sharpe Ratio Module
Create the Sharpe ratio for the strategy, based on a benchmark of zero (i.e. no
risk-free rate information); this is coincidentally the proper risk-free rate to
utilize for dollar-neutral strategies. The Sharpe ratio generally measures the
returns of a strategy relative to its historical risk; t... | 41.806452 | 80 | 0.740741 | 194 | 1,296 | 4.938144 | 0.520619 | 0.080376 | 0.073069 | 0.037578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009681 | 0.202932 | 1,296 | 30 | 81 | 43.2 | 0.917715 | 0.849537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0d84a31b2e2e97a4c0ad01198c8ceb65004a3cda | 157 | py | Python | main.py | Samathingamajig/center-of-mass-py | d5bced8293d93fbfbc6a05fdae8fe017061cd396 | [
"MIT"
] | null | null | null | main.py | Samathingamajig/center-of-mass-py | d5bced8293d93fbfbc6a05fdae8fe017061cd396 | [
"MIT"
] | null | null | null | main.py | Samathingamajig/center-of-mass-py | d5bced8293d93fbfbc6a05fdae8fe017061cd396 | [
"MIT"
] | null | null | null | from question_wrapper import run_all_questions
if __name__ == "__main__":
questions = __import__("questions")
run_all_questions(require_input=True)
| 26.166667 | 46 | 0.783439 | 19 | 157 | 5.526316 | 0.684211 | 0.114286 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133758 | 157 | 5 | 47 | 31.4 | 0.772059 | 0 | 0 | 0 | 0 | 0 | 0.10828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 |
0db5d3fc1c72e2b45ec3b2f3936ebad8e83cca5f | 18 | py | Python | python/testData/keywordCompletion/caseInsideMatchStatement.after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/keywordCompletion/caseInsideMatchStatement.after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/keywordCompletion/caseInsideMatchStatement.after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | match 42:
case | 9 | 9 | 0.611111 | 3 | 18 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.333333 | 18 | 2 | 10 | 9 | 0.75 | 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 |
0dcb0a442ab65be2a92cff733aba7b9f5b7bea33 | 138 | py | Python | sumUptoK.py | pokovenkat/python-programs | eba88c7f0815b6c202a3ad399151b6699ebb91fe | [
"Apache-2.0"
] | null | null | null | sumUptoK.py | pokovenkat/python-programs | eba88c7f0815b6c202a3ad399151b6699ebb91fe | [
"Apache-2.0"
] | null | null | null | sumUptoK.py | pokovenkat/python-programs | eba88c7f0815b6c202a3ad399151b6699ebb91fe | [
"Apache-2.0"
] | null | null | null | n=int(input())
k=int(input())
arr=[]
tot=0
for i in range(n):
arr.append(int(input()))
for i in range (k):
tot+=arr[i]
print(tot)
| 13.8 | 28 | 0.586957 | 28 | 138 | 2.892857 | 0.464286 | 0.296296 | 0.148148 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.173913 | 138 | 9 | 29 | 15.333333 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
2180f61b1e02a2cf0644e6babda7cc813a551d46 | 15 | py | Python | civil/apps/definitions/__init__.py | christopinka/django-civil | d134624da9d36c4ba0bea2df8a21698df196bdf6 | [
"Apache-2.0"
] | 3 | 2020-06-15T21:01:06.000Z | 2022-02-17T17:41:57.000Z | civil/apps/frontend/__init__.py | christopinka/django-civil | d134624da9d36c4ba0bea2df8a21698df196bdf6 | [
"Apache-2.0"
] | null | null | null | civil/apps/frontend/__init__.py | christopinka/django-civil | d134624da9d36c4ba0bea2df8a21698df196bdf6 | [
"Apache-2.0"
] | 1 | 2021-11-06T18:33:29.000Z | 2021-11-06T18:33:29.000Z |
__deps__ = []
| 5 | 13 | 0.533333 | 1 | 15 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 15 | 2 | 14 | 7.5 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
21a2eb4f95f1b1cf6c59d29dd5f0b98ea4119af3 | 161 | py | Python | pyrobolearn/utils/data_structures/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 2 | 2021-01-21T21:08:30.000Z | 2022-03-29T16:45:49.000Z | pyrobolearn/utils/data_structures/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | null | null | null | pyrobolearn/utils/data_structures/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 1 | 2020-09-29T21:25:39.000Z | 2020-09-29T21:25:39.000Z | # -*- coding: utf-8 -*-
# Define common data structures
# Ordered sets
from .orderedset import *
# Queues
from .queues import *
# Graph
from .graph import *
| 12.384615 | 31 | 0.677019 | 20 | 161 | 5.45 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.204969 | 161 | 12 | 32 | 13.416667 | 0.84375 | 0.478261 | 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 | 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 |
21bfb3fc0011d4eaf3a384e1e6de292f20c3f420 | 435 | py | Python | bauer_bsm/bsm/format.py | alkradhazar/test1 | addb391d9e8bac8a7d8ed8a5310fb695ce15eaf6 | [
"Apache-2.0"
] | 7 | 2020-07-07T07:43:41.000Z | 2022-01-21T22:31:33.000Z | bauer_bsm/bsm/format.py | alkradhazar/test1 | addb391d9e8bac8a7d8ed8a5310fb695ce15eaf6 | [
"Apache-2.0"
] | 2 | 2021-02-28T22:06:54.000Z | 2021-09-29T09:47:45.000Z | bauer_bsm/bsm/format.py | alkradhazar/test1 | addb391d9e8bac8a7d8ed8a5310fb695ce15eaf6 | [
"Apache-2.0"
] | 2 | 2021-09-24T03:49:19.000Z | 2022-03-02T12:53:00.000Z | # BSM Python library and command line tool
#
# Copyright (C) 2020 chargeIT mobility GmbH
#
# SPDX-License-Identifier: Apache-2.0
def format_point(point):
return '{}: {}'.format(point.point_type.id, format_point_value(point))
def format_point_value(point):
unit = ''
if point.value is not None and point.... | 22.894737 | 74 | 0.687356 | 61 | 435 | 4.770492 | 0.52459 | 0.226804 | 0.164948 | 0.137457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.172414 | 435 | 18 | 75 | 24.166667 | 0.791667 | 0.271264 | 0 | 0 | 0 | 0 | 0.041801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
21c58d377aee1421c8478b364e9aea3ab83d549a | 585 | py | Python | rstbx/viewer/controls.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | rstbx/viewer/controls.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | rstbx/viewer/controls.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import division
from rstbx.viewer import results_base
import wx
class ListBase(wx.ListCtrl):
def Reset(self):
self.dataSource = results_base.EmptyData()
self.RefreshAllItems()
def RefreshAllItems(self):
n_items = self.dataSource.GetItemCount()
self.SetItemCount(n_items)
if (n_... | 23.4 | 49 | 0.726496 | 73 | 585 | 5.684932 | 0.479452 | 0.13494 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.174359 | 585 | 24 | 50 | 24.375 | 0.853002 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.055556 | 0.166667 | 0.111111 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
21ee818f063682f8e9151c26f5697c3b3793529f | 1,195 | py | Python | examples/get_state_flight_controller.py | msanchezc/dji-asdk-to-python | cf3e56691524624314a28f5ebc6f3f59cbd4d8cb | [
"BSD-3-Clause"
] | null | null | null | examples/get_state_flight_controller.py | msanchezc/dji-asdk-to-python | cf3e56691524624314a28f5ebc6f3f59cbd4d8cb | [
"BSD-3-Clause"
] | null | null | null | examples/get_state_flight_controller.py | msanchezc/dji-asdk-to-python | cf3e56691524624314a28f5ebc6f3f59cbd4d8cb | [
"BSD-3-Clause"
] | 2 | 2021-01-05T13:25:25.000Z | 2022-01-29T06:02:35.000Z | from dji_asdk_to_python.products.aircraft import Aircraft
from dji_asdk_to_python.flight_controller.flight_controller_state import (
FlightControllerState,
)
APP_IP = "192.168.0.110"
drone = Aircraft(APP_IP)
fc = drone.getFlightController()
flight_controller_state = fc.getState()
print("areMotorsOn %s " % flig... | 36.212121 | 84 | 0.793305 | 136 | 1,195 | 6.683824 | 0.330882 | 0.211221 | 0.254125 | 0.169417 | 0.041804 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009166 | 0.087029 | 1,195 | 32 | 85 | 37.34375 | 0.824015 | 0 | 0 | 0 | 0 | 0 | 0.157322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.086957 | 0.565217 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
21f1cd0003392f05f3d28dc7abec8eaa0ec3733d | 61,768 | py | Python | tests/rpc/test_rpc_telegram.py | Fractate/freqbot | 47b35d2320dc97977411454c1466c762d339fdee | [
"MIT"
] | 1 | 2022-03-06T22:44:30.000Z | 2022-03-06T22:44:30.000Z | tests/rpc/test_rpc_telegram.py | Fractate/freqbot | 47b35d2320dc97977411454c1466c762d339fdee | [
"MIT"
] | null | null | null | tests/rpc/test_rpc_telegram.py | Fractate/freqbot | 47b35d2320dc97977411454c1466c762d339fdee | [
"MIT"
] | 1 | 2021-09-22T23:28:21.000Z | 2021-09-22T23:28:21.000Z | # pragma pylint: disable=missing-docstring, C0103
# pragma pylint: disable=protected-access, unused-argument, invalid-name
# pragma pylint: disable=too-many-lines, too-many-arguments
import logging
import re
from datetime import datetime
from functools import reduce
from random import choice, randint
from string impor... | 36.766667 | 99 | 0.664373 | 7,983 | 61,768 | 4.897407 | 0.07278 | 0.047805 | 0.050926 | 0.047959 | 0.795248 | 0.769158 | 0.741892 | 0.70754 | 0.68053 | 0.654645 | 0 | 0.033708 | 0.204167 | 61,768 | 1,679 | 100 | 36.788565 | 0.761519 | 0.038046 | 0 | 0.611505 | 0 | 0.005516 | 0.192478 | 0.04166 | 0 | 0 | 0.000169 | 0 | 0.197794 | 1 | 0.052009 | false | 0.000788 | 0.017336 | 0 | 0.07171 | 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 |
1d0c70f6ccc2504429b90abc62f72486e916ce95 | 44 | py | Python | __init__.py | halibot-extra/github | 7f70aaaad964178436c9c1016fe08b0b03489e92 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | halibot-extra/github | 7f70aaaad964178436c9c1016fe08b0b03489e92 | [
"BSD-3-Clause"
] | 4 | 2015-10-30T17:38:44.000Z | 2017-10-04T00:19:12.000Z | __init__.py | halibot-extra/gitlab | 120f9f897596f8fb784388bf0561be186ab38600 | [
"BSD-3-Clause"
] | null | null | null | from .github import Github
Default = Github
| 14.666667 | 26 | 0.795455 | 6 | 44 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 27 | 22 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
df19d3aef5ae29829f24b7ae4d89a0a73be14c8f | 265 | py | Python | tests/setup_env.py | g0e/fsglue | 736925ea8ae10a28698b41059427365a17967f83 | [
"MIT"
] | 1 | 2020-11-04T15:09:20.000Z | 2020-11-04T15:09:20.000Z | tests/setup_env.py | g0e/fsglue | 736925ea8ae10a28698b41059427365a17967f83 | [
"MIT"
] | null | null | null | tests/setup_env.py | g0e/fsglue | 736925ea8ae10a28698b41059427365a17967f83 | [
"MIT"
] | null | null | null | import fsglue
from unittest import mock
import google.auth.credentials
import os
os.environ["FIRESTORE_EMULATOR_HOST"] = "localhost:8001"
credentials = mock.Mock(spec=google.auth.credentials.Credentials)
fsglue.initialize(project="test", credentials=credentials)
| 26.5 | 65 | 0.822642 | 33 | 265 | 6.545455 | 0.575758 | 0.092593 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016327 | 0.075472 | 265 | 9 | 66 | 29.444444 | 0.865306 | 0 | 0 | 0 | 0 | 0 | 0.154717 | 0.086792 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
df4e7bb657223cfc10fb642455c425282a2195ca | 221 | py | Python | tx_tecreports/management/commands/retrieve_report.py | texas/tx_tecreports | 1e2311c8355117b45d7b23a4db41512c0cb6ce80 | [
"Apache-2.0"
] | 1 | 2021-02-19T20:16:19.000Z | 2021-02-19T20:16:19.000Z | tx_tecreports/management/commands/retrieve_report.py | texas/tx_tecreports | 1e2311c8355117b45d7b23a4db41512c0cb6ce80 | [
"Apache-2.0"
] | null | null | null | tx_tecreports/management/commands/retrieve_report.py | texas/tx_tecreports | 1e2311c8355117b45d7b23a4db41512c0cb6ce80 | [
"Apache-2.0"
] | null | null | null | from django.core.management.base import BaseCommand
from ...fetcher import get_report
class Command(BaseCommand):
def handle(self, report_id, **kwargs):
report = get_report(report_id)
report.save()
| 22.1 | 51 | 0.714932 | 28 | 221 | 5.5 | 0.642857 | 0.116883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18552 | 221 | 9 | 52 | 24.555556 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
df708d501c2fdce149fd81527b5d01185bcfa0e8 | 2,477 | py | Python | explorations/migrations/0002_auto_20210216_1626.py | aphp/Cohort360-Back-end | 03184db6c4cb639955e2f3726c7e1b5cc7809f01 | [
"Apache-2.0"
] | 9 | 2020-11-04T13:08:47.000Z | 2022-02-03T17:04:05.000Z | explorations/migrations/0002_auto_20210216_1626.py | aphp/Cohort360-Back-end | 03184db6c4cb639955e2f3726c7e1b5cc7809f01 | [
"Apache-2.0"
] | 7 | 2021-03-17T17:48:26.000Z | 2022-02-10T13:27:43.000Z | explorations/migrations/0002_auto_20210216_1626.py | aphp/Cohort360-Back-end | 03184db6c4cb639955e2f3726c7e1b5cc7809f01 | [
"Apache-2.0"
] | 2 | 2020-11-23T10:42:40.000Z | 2022-02-03T17:04:09.000Z | # Generated by Django 2.2.9 on 2021-02-16 16:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('explorations', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='cohortresult',
name='create_task_i... | 33.931507 | 203 | 0.5652 | 215 | 2,477 | 6.344186 | 0.293023 | 0.072581 | 0.134897 | 0.158358 | 0.777126 | 0.777126 | 0.692082 | 0.692082 | 0.692082 | 0.692082 | 0 | 0.013295 | 0.301574 | 2,477 | 72 | 204 | 34.402778 | 0.775145 | 0.018167 | 0 | 0.742424 | 1 | 0 | 0.208642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015152 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df880a4f9f4dc7e2486bb8f946f61a7832ff7e7c | 192 | py | Python | Chapter01/draft_1.py | MrandrewGR/The-Python-Workshop | 6d751c7bc19324a6bfe80309683421911bacf47f | [
"MIT"
] | null | null | null | Chapter01/draft_1.py | MrandrewGR/The-Python-Workshop | 6d751c7bc19324a6bfe80309683421911bacf47f | [
"MIT"
] | null | null | null | Chapter01/draft_1.py | MrandrewGR/The-Python-Workshop | 6d751c7bc19324a6bfe80309683421911bacf47f | [
"MIT"
] | null | null | null | for num in range(10,100):
if num % 2 == 0:
continue
if num % 3 == 0:
continue
if num % 5 == 0:
continue
if num % 7 == 0:
continue
print(num) | 19.2 | 25 | 0.447917 | 28 | 192 | 3.071429 | 0.5 | 0.232558 | 0.383721 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 0.4375 | 192 | 10 | 26 | 19.2 | 0.675926 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.1 | 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 |
10c63fbf9e6cc1b8f6d0de996a59f894ccaaacd9 | 99 | py | Python | nepp_django/recogination/apps.py | soeasy10/nepp | e5f29a6839353b71f9f04d5bad88cb610426f372 | [
"MIT"
] | 3 | 2019-06-27T02:52:40.000Z | 2019-06-28T17:55:46.000Z | nepp_django/recogination/apps.py | soeasy10/nepp | e5f29a6839353b71f9f04d5bad88cb610426f372 | [
"MIT"
] | null | null | null | nepp_django/recogination/apps.py | soeasy10/nepp | e5f29a6839353b71f9f04d5bad88cb610426f372 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RecoginationConfig(AppConfig):
name = 'recogination'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
10cf9c97a825330f5d5afaaded36015d2187ba04 | 127 | py | Python | tartiflette/resolver/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | tartiflette/resolver/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | 1 | 2020-08-11T15:41:41.000Z | 2020-08-11T15:41:41.000Z | tartiflette/resolver/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | from .factory import ResolverExecutorFactory
from .resolver import Resolver
__all__ = ["Resolver", "ResolverExecutorFactory"]
| 25.4 | 49 | 0.818898 | 11 | 127 | 9.090909 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 127 | 4 | 50 | 31.75 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0.244094 | 0.181102 | 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 |
10de3bda7d12637dcd3a98110fe9c872ef660757 | 1,693 | py | Python | tests/test_trace_frame.py | NotPeopling2day/evm-trace | f344d29af17bf565e0b740faf62933ba0d5bff66 | [
"Apache-2.0"
] | null | null | null | tests/test_trace_frame.py | NotPeopling2day/evm-trace | f344d29af17bf565e0b740faf62933ba0d5bff66 | [
"Apache-2.0"
] | null | null | null | tests/test_trace_frame.py | NotPeopling2day/evm-trace | f344d29af17bf565e0b740faf62933ba0d5bff66 | [
"Apache-2.0"
] | 1 | 2022-03-17T22:59:06.000Z | 2022-03-17T22:59:06.000Z | from copy import deepcopy
import pytest
from pydantic import ValidationError
from evm_trace.base import TraceFrame
TRACE_FRAME_STRUCTURE = {
"pc": 1564,
"op": "RETURN",
"gas": 0,
"gasCost": 0,
"depth": 1,
"stack": [
"0000000000000000000000000000000000000000000000000000000040c10f19",
... | 33.86 | 157 | 0.764324 | 111 | 1,693 | 11.387387 | 0.459459 | 0.079114 | 0.09019 | 0.068829 | 0.042722 | 0 | 0 | 0 | 0 | 0 | 0 | 0.432918 | 0.145895 | 1,693 | 49 | 158 | 34.55102 | 0.441217 | 0.018901 | 0 | 0.051282 | 0 | 0 | 0.481593 | 0.424864 | 0 | 0 | 0 | 0 | 0.025641 | 1 | 0.051282 | false | 0.025641 | 0.102564 | 0 | 0.153846 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8011c33ead3d763ffadd061bd6110bcce15fabdd | 484 | py | Python | src/metarl/np/algos/__init__.py | neurips2020submission11699/metarl | ae4825d21478fa1fd0aa6b116941ea40caa152a5 | [
"MIT"
] | 2 | 2021-02-07T12:14:52.000Z | 2021-07-29T08:07:22.000Z | src/metarl/np/algos/__init__.py | neurips2020submission11699/metarl | ae4825d21478fa1fd0aa6b116941ea40caa152a5 | [
"MIT"
] | null | null | null | src/metarl/np/algos/__init__.py | neurips2020submission11699/metarl | ae4825d21478fa1fd0aa6b116941ea40caa152a5 | [
"MIT"
] | null | null | null | """Reinforcement learning algorithms which use NumPy as a numerical backend."""
from metarl.np.algos.cem import CEM
from metarl.np.algos.cma_es import CMAES
from metarl.np.algos.meta_rl_algorithm import MetaRLAlgorithm
from metarl.np.algos.nop import NOP
from metarl.np.algos.off_policy_rl_algorithm import OffPolicyRLAl... | 37.230769 | 79 | 0.797521 | 66 | 484 | 5.681818 | 0.439394 | 0.16 | 0.192 | 0.272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109504 | 484 | 12 | 80 | 40.333333 | 0.87007 | 0.150826 | 0 | 0 | 0 | 0 | 0.140741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3379713ed7ba5ec45c080155ba6ceca8dc062164 | 102 | py | Python | raiden/tests/utils/transport.py | dannyk03/raiden | ebc1b598ef24d4e9c4d2cd26a79921338928e75e | [
"MIT"
] | 1 | 2018-10-27T11:30:06.000Z | 2018-10-27T11:30:06.000Z | raiden/tests/utils/transport.py | dannyk03/raiden | ebc1b598ef24d4e9c4d2cd26a79921338928e75e | [
"MIT"
] | null | null | null | raiden/tests/utils/transport.py | dannyk03/raiden | ebc1b598ef24d4e9c4d2cd26a79921338928e75e | [
"MIT"
] | null | null | null | class MockDiscovery(object):
def get(self, node_address: bytes):
return '127.0.0.1:5252'
| 20.4 | 39 | 0.656863 | 15 | 102 | 4.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 0.205882 | 102 | 4 | 40 | 25.5 | 0.691358 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
33a0575e276fdc8c7503b0b5bfce0dbd7256454d | 38 | py | Python | venv/lib/python3.6/encodings/gb2312.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-04-17T13:35:50.000Z | 2021-12-21T00:11:36.000Z | venv/lib/python3.6/encodings/gb2312.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2021-03-31T19:51:24.000Z | 2021-06-10T23:05:09.000Z | venv/lib/python3.6/encodings/gb2312.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-10-01T08:47:35.000Z | 2020-07-11T06:32:16.000Z | /usr/lib/python3.6/encodings/gb2312.py | 38 | 38 | 0.815789 | 7 | 38 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 38 | 1 | 38 | 38 | 0.657895 | 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 |
d512e8df2a7310190c6c2300cadb679d830ac591 | 57 | py | Python | multiplication/mul.py | PranauvS/PPP | 8f95fb93c25758a0cda18c642af24da15951165f | [
"MIT"
] | null | null | null | multiplication/mul.py | PranauvS/PPP | 8f95fb93c25758a0cda18c642af24da15951165f | [
"MIT"
] | null | null | null | multiplication/mul.py | PranauvS/PPP | 8f95fb93c25758a0cda18c642af24da15951165f | [
"MIT"
] | null | null | null | def do_mul:
a=2
b=4
print(a*b)
do_mul()
#aaa
| 8.142857 | 14 | 0.508772 | 13 | 57 | 2.076923 | 0.692308 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.333333 | 57 | 6 | 15 | 9.5 | 0.657895 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1d7904a25f8525f6ff94dc755535647c960d5477 | 239 | py | Python | hydra/tonemap/__init__.py | JimBoonie/hydra | 63665090812e4e209c67d5dc0b84b5bb35a57ead | [
"MIT"
] | 28 | 2015-12-30T22:38:16.000Z | 2021-03-21T07:52:39.000Z | hydra/tonemap/__init__.py | JimBoonie/hydra | 63665090812e4e209c67d5dc0b84b5bb35a57ead | [
"MIT"
] | 2 | 2017-02-23T09:54:09.000Z | 2018-12-14T12:20:28.000Z | hydra/tonemap/__init__.py | JimBoonie/hydra | 63665090812e4e209c67d5dc0b84b5bb35a57ead | [
"MIT"
] | 7 | 2017-02-23T09:43:24.000Z | 2022-01-10T12:17:36.000Z | from .normalize import *
from .logarithmic import *
from .exponential import *
from .gamma import *
from .tumblin import *
from .reinhard import *
from .durand import *
from .drago import *
from .fattal import *
from .lischinski import *
| 19.916667 | 26 | 0.74477 | 30 | 239 | 5.933333 | 0.4 | 0.505618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171548 | 239 | 11 | 27 | 21.727273 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.