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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d5b50305dfb42f7679bb7818ab4cbe372e498363 | 215 | py | Python | src/ControlTasks/point_tracker.py | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | 3 | 2021-09-29T21:15:25.000Z | 2021-11-11T20:57:07.000Z | src/ControlTasks/point_tracker.py | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | 44 | 2021-09-28T05:38:43.000Z | 2022-03-31T21:29:48.000Z | src/ControlTasks/point_tracker.py | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | null | null | null | from .control_task_base import ControlTaskBase
class PointTracker(ControlTaskBase):
def setup(self):
pass
def default(self):
pass
def execute(self):
print("Tracking points.")
| 16.538462 | 46 | 0.655814 | 23 | 215 | 6.043478 | 0.73913 | 0.115108 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260465 | 215 | 12 | 47 | 17.916667 | 0.874214 | 0 | 0 | 0.25 | 0 | 0 | 0.074419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.25 | 0.125 | 0 | 0.625 | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d5b93a7962afd3f45af3a78ca5a6fc4a5b11424b | 97 | py | Python | filemanager/apps.py | dev-dpoudel/healthmap | faa6b26b98ec18379ef2757f854d856fd7a9dfc1 | [
"MIT"
] | 1 | 2021-05-25T02:18:46.000Z | 2021-05-25T02:18:46.000Z | filemanager/apps.py | dev-dpoudel/healthmap | faa6b26b98ec18379ef2757f854d856fd7a9dfc1 | [
"MIT"
] | null | null | null | filemanager/apps.py | dev-dpoudel/healthmap | faa6b26b98ec18379ef2757f854d856fd7a9dfc1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FilemanagerConfig(AppConfig):
name = 'filemanager'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d5bbb64a7e62f9f0f769b65a65a54d9142d86e53 | 186 | py | Python | odk_viewer/models/__init__.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 123 | 2015-01-08T09:21:05.000Z | 2021-11-14T19:45:23.000Z | odk_viewer/models/__init__.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 16 | 2015-02-13T16:56:42.000Z | 2021-02-20T23:58:43.000Z | odk_viewer/models/__init__.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 110 | 2015-01-19T14:34:06.000Z | 2021-02-01T14:55:11.000Z | from parsed_instance import ParsedInstance
from data_dictionary import DataDictionary
from instance_modification import InstanceModification
from export import Export
import common_tags
| 31 | 54 | 0.903226 | 22 | 186 | 7.454545 | 0.590909 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 186 | 5 | 55 | 37.2 | 0.97619 | 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 |
d5ca12fa67ebbc09b490f78a77d7fc0ee53665dd | 64 | py | Python | bridge_adaptivity/config/__init__.py | eng-alecrim/bridge-adaptivity | 8644e512272006eaeedd0928ac743fd6295bd731 | [
"BSD-3-Clause"
] | 32 | 2017-06-01T16:31:50.000Z | 2021-11-19T03:37:00.000Z | bridge_adaptivity/config/__init__.py | eng-alecrim/bridge-adaptivity | 8644e512272006eaeedd0928ac743fd6295bd731 | [
"BSD-3-Clause"
] | 44 | 2017-08-04T13:58:12.000Z | 2021-06-09T17:25:59.000Z | bridge_adaptivity/config/__init__.py | eng-alecrim/bridge-adaptivity | 8644e512272006eaeedd0928ac743fd6295bd731 | [
"BSD-3-Clause"
] | 17 | 2017-12-08T07:24:28.000Z | 2022-03-14T16:56:10.000Z | from config.celery import celery_app
__all__ = ['celery_app']
| 12.8 | 36 | 0.765625 | 9 | 64 | 4.777778 | 0.666667 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 4 | 37 | 16 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 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 |
d5ef0610694d0769024a1b525e679faa36985837 | 92 | py | Python | moatools_project/tools_app/apps.py | aydjay/moatools | 37cb2d6fc3fa03ef86e410c501a70dd67e09cef4 | [
"Apache-2.0"
] | null | null | null | moatools_project/tools_app/apps.py | aydjay/moatools | 37cb2d6fc3fa03ef86e410c501a70dd67e09cef4 | [
"Apache-2.0"
] | null | null | null | moatools_project/tools_app/apps.py | aydjay/moatools | 37cb2d6fc3fa03ef86e410c501a70dd67e09cef4 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ToolsAppConfig(AppConfig):
name = 'tools_app'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 |
d5fb19b369328f6100956c47ddcf1247f4ca53d3 | 133 | py | Python | python/Experiment_02.py | tallamjr/mbms | 6763faa870d1a16f272b3eade70b433ed3df0e51 | [
"MIT"
] | 18 | 2018-06-07T07:11:59.000Z | 2022-02-28T20:08:23.000Z | python/Experiment_02.py | tallamjr/mbms | 6763faa870d1a16f272b3eade70b433ed3df0e51 | [
"MIT"
] | 1 | 2020-05-20T16:24:24.000Z | 2020-05-21T09:03:24.000Z | python/Experiment_02.py | tallamjr/mbms | 6763faa870d1a16f272b3eade70b433ed3df0e51 | [
"MIT"
] | 8 | 2019-04-10T16:04:11.000Z | 2022-01-08T20:39:15.000Z | from microbit import *
import speech
while True:
if button_a.was_pressed():
speech.say("Mad Scientists love micro bits") | 22.166667 | 52 | 0.714286 | 19 | 133 | 4.894737 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203008 | 133 | 6 | 52 | 22.166667 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
914676e6ecb0166d2e603c2b5350ecd114b561f9 | 145 | py | Python | exe022-analisadorTexto.py | carlosbandelli/Exercicios_em_Python | 2cd5bd837fdc51932f9605db32366ad0e3871d87 | [
"MIT"
] | null | null | null | exe022-analisadorTexto.py | carlosbandelli/Exercicios_em_Python | 2cd5bd837fdc51932f9605db32366ad0e3871d87 | [
"MIT"
] | null | null | null | exe022-analisadorTexto.py | carlosbandelli/Exercicios_em_Python | 2cd5bd837fdc51932f9605db32366ad0e3871d87 | [
"MIT"
] | null | null | null | nome = str(input('Digite seu nome : ').strip())
print(nome.upper())
print(nome.lower())
print(len(nome) - nome.count(' '))
print(nome.find(' '))
| 24.166667 | 47 | 0.634483 | 21 | 145 | 4.380952 | 0.571429 | 0.293478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 145 | 5 | 48 | 29 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e6709706c584594d6f7679be94be18e8c08edc1b | 1,151 | py | Python | quiz4.py | JoelEnrique15/uip-iiiq2016-prog3 | 6cfcade80599fdbd4505cd4f0a5c194c2cd244b5 | [
"MIT"
] | null | null | null | quiz4.py | JoelEnrique15/uip-iiiq2016-prog3 | 6cfcade80599fdbd4505cd4f0a5c194c2cd244b5 | [
"MIT"
] | null | null | null | quiz4.py | JoelEnrique15/uip-iiiq2016-prog3 | 6cfcade80599fdbd4505cd4f0a5c194c2cd244b5 | [
"MIT"
] | null | null | null | try :
continuar = 's'
while continuar =='s':
x= float(input("Introduce la temperatura:"))
if x >= 37.5:
archivo =open('temp.dat', 'a')
archivo.write(str(x)+ " fiebre\n")
print("tienes una temperatura de " + str(x) + "grados"+ "(tienes fiebre)")
co... | 33.852941 | 86 | 0.496959 | 130 | 1,151 | 4.4 | 0.315385 | 0.041958 | 0.062937 | 0.083916 | 0.711538 | 0.711538 | 0.711538 | 0.711538 | 0.711538 | 0.512238 | 0 | 0.009259 | 0.34318 | 1,151 | 33 | 87 | 34.878788 | 0.747355 | 0 | 0 | 0.444444 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.259259 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
e67beaca945f14b09fefc59887c202bdcb960769 | 101 | py | Python | bot/farm/__main__.py | esemi/vigilant-chainsaw | 88631e75594e2f0356d1b10679b829c6a9bf60bf | [
"Apache-2.0"
] | 1 | 2021-10-02T21:05:01.000Z | 2021-10-02T21:05:01.000Z | bot/farm/__main__.py | esemi/vigilant-chainsaw | 88631e75594e2f0356d1b10679b829c6a9bf60bf | [
"Apache-2.0"
] | null | null | null | bot/farm/__main__.py | esemi/vigilant-chainsaw | 88631e75594e2f0356d1b10679b829c6a9bf60bf | [
"Apache-2.0"
] | 1 | 2021-12-15T21:16:21.000Z | 2021-12-15T21:16:21.000Z | """Albion farming bot."""
from bot.farm.farm import runner
if __name__ == '__main__':
runner()
| 14.428571 | 32 | 0.663366 | 13 | 101 | 4.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 101 | 6 | 33 | 16.833333 | 0.710843 | 0.188119 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e68698f0a79a39e8ed4ed4f68ca23e845fd0860f | 120 | py | Python | src/lesson_concurrency_with_processes_threads_and_coroutines/threading_rlock.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2018-08-14T09:33:52.000Z | 2022-03-21T12:31:58.000Z | src/lesson_concurrency_with_processes_threads_and_coroutines/threading_rlock.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_concurrency_with_processes_threads_and_coroutines/threading_rlock.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | import threading
lock = threading.RLock()
print('First try :', lock.acquire())
print('Second try:', lock.acquire(0))
| 15 | 37 | 0.691667 | 16 | 120 | 5.1875 | 0.625 | 0.168675 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.125 | 120 | 7 | 38 | 17.142857 | 0.780952 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 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 | 0 | 1 | 0 | 4 |
e69e15cf878d2504fe7ac72ee3c8db501633a189 | 133 | py | Python | src/main/__main__.py | dennisschroeder/jetson-detectify | 4a6800ae5aefa1fb9167e2fd4743015b7d751b09 | [
"MIT"
] | 1 | 2021-02-16T08:46:58.000Z | 2021-02-16T08:46:58.000Z | src/main/__main__.py | dennisschroeder/jetson-detectify | 4a6800ae5aefa1fb9167e2fd4743015b7d751b09 | [
"MIT"
] | null | null | null | src/main/__main__.py | dennisschroeder/jetson-detectify | 4a6800ae5aefa1fb9167e2fd4743015b7d751b09 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
""" main.__main__: executed when main directory is called as script."""
from application import cli
cli()
| 16.625 | 71 | 0.676692 | 18 | 133 | 4.777778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.172932 | 133 | 7 | 72 | 19 | 0.772727 | 0.654135 | 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 |
e6bd2960c165a5f19fc7d33fc07833c7f32775a2 | 94 | py | Python | cas_server/apps.py | zhongshangwu/django-cas | 8485e5bdadba45439863a884c2053c50165cda51 | [
"MIT"
] | 1 | 2018-07-14T03:53:22.000Z | 2018-07-14T03:53:22.000Z | cas_server/apps.py | zhongshangwu/django-cas | 8485e5bdadba45439863a884c2053c50165cda51 | [
"MIT"
] | null | null | null | cas_server/apps.py | zhongshangwu/django-cas | 8485e5bdadba45439863a884c2053c50165cda51 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CASServerConfig(AppConfig):
name = 'cas_server'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 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 |
e6d09793e92a58d6496ee2ccc4e28cf9a4531cc5 | 91 | py | Python | test/cases/try_finally.py | nya3jp/end | c001590604e50ab78402420eba4f26ba3d0ed406 | [
"Apache-2.0"
] | 9 | 2016-12-08T15:15:31.000Z | 2019-07-11T21:55:42.000Z | test/cases/try_finally.py | nya3jp/end | c001590604e50ab78402420eba4f26ba3d0ed406 | [
"Apache-2.0"
] | 2 | 2016-10-30T14:53:32.000Z | 2018-04-09T12:41:05.000Z | test/cases/try_finally.py | nya3jp/end | c001590604e50ab78402420eba4f26ba3d0ed406 | [
"Apache-2.0"
] | 2 | 2017-03-20T02:41:00.000Z | 2020-03-16T06:51:58.000Z | import end
try:
pass
finally:
if True:
pass
# end is missing here
end
| 9.1 | 25 | 0.571429 | 13 | 91 | 4 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 91 | 9 | 26 | 10.111111 | 0.928571 | 0.208791 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e6e3a81065afbe4087956b147f9e4698759dfc25 | 50 | py | Python | src/ways/base/__init__.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 2 | 2019-11-10T18:35:38.000Z | 2020-05-12T10:37:42.000Z | src/ways/base/__init__.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 5 | 2017-11-27T18:05:25.000Z | 2021-06-01T21:57:48.000Z | src/ways/base/__init__.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 1 | 2017-11-27T17:54:53.000Z | 2017-11-27T17:54:53.000Z | '''The main modules that support the Ways API.'''
| 25 | 49 | 0.7 | 8 | 50 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 1 | 50 | 50 | 0.833333 | 0.86 | 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 |
fc21f311c2c7c51c9827119277bb7c8be0adb54c | 70 | py | Python | tests/_testsite/dummyapp01/__init__.py | bastiedotorg/django-precise-bbcode | 567a8a7f104fb7f2c9d59f304791e53d2d8f4dea | [
"BSD-3-Clause"
] | 30 | 2015-01-02T13:43:56.000Z | 2021-02-08T18:43:09.000Z | tests/_testsite/dummyapp01/__init__.py | bastiedotorg/django-precise-bbcode | 567a8a7f104fb7f2c9d59f304791e53d2d8f4dea | [
"BSD-3-Clause"
] | 31 | 2015-01-16T00:25:19.000Z | 2021-12-11T16:40:03.000Z | tests/_testsite/dummyapp01/__init__.py | bastiedotorg/django-precise-bbcode | 567a8a7f104fb7f2c9d59f304791e53d2d8f4dea | [
"BSD-3-Clause"
] | 13 | 2015-07-16T23:25:10.000Z | 2020-08-23T20:12:24.000Z | default_app_config = 'tests._testsite.dummyapp01.apps.DummyAppConfig'
| 35 | 69 | 0.857143 | 8 | 70 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.042857 | 70 | 1 | 70 | 70 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0.657143 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc33f4c547713b21628617f96fc8fc71da233ddd | 1,815 | py | Python | kubernetes/test/test_node_v1beta1_api.py | Prahladk09/python-1 | 2dfb3035535e4be52ba549f1ff47acbe573b73f6 | [
"Apache-2.0"
] | 1 | 2020-04-13T09:54:21.000Z | 2020-04-13T09:54:21.000Z | kubernetes/test/test_node_v1beta1_api.py | Prahladk09/python-1 | 2dfb3035535e4be52ba549f1ff47acbe573b73f6 | [
"Apache-2.0"
] | 1 | 2019-08-15T14:27:17.000Z | 2019-08-15T14:28:07.000Z | kubernetes/test/test_node_v1beta1_api.py | Prahladk09/python-1 | 2dfb3035535e4be52ba549f1ff47acbe573b73f6 | [
"Apache-2.0"
] | 2 | 2020-08-05T03:06:48.000Z | 2020-08-05T16:08:21.000Z | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.14.4
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
i... | 17.970297 | 105 | 0.604408 | 198 | 1,815 | 5.242424 | 0.313131 | 0.16185 | 0.084778 | 0.115607 | 0.476879 | 0.388247 | 0.136802 | 0 | 0 | 0 | 0 | 0.013721 | 0.317355 | 1,815 | 100 | 106 | 18.15 | 0.824052 | 0.298072 | 0 | 0.3 | 1 | 0 | 0.008197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.3 | 0.233333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
fc7540c8a93606168efc7bdec70dee9c2c61fb97 | 60 | py | Python | main.py | jdiaz/snorkel | d553480f3193f105d6f5befa04afb3656cd94d49 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | main.py | jdiaz/snorkel | d553480f3193f105d6f5befa04afb3656cd94d49 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | main.py | jdiaz/snorkel | d553480f3193f105d6f5befa04afb3656cd94d49 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | import src
if __name__ == "__main__":
src.main.main()
| 10 | 26 | 0.633333 | 8 | 60 | 3.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 5 | 27 | 12 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc7ed516d43eb4b1ca1416d1c9ed67231fc3eb2d | 50 | py | Python | tests/input_scripts/filepath.py | shiba6v/shape_commentator | e57c4d7e0781fa02fdc49dbc5c88236df5948cf1 | [
"MIT"
] | 65 | 2018-12-06T15:34:50.000Z | 2021-09-10T12:38:43.000Z | tests/input_scripts/filepath.py | shiba6v/shape_commentator | e57c4d7e0781fa02fdc49dbc5c88236df5948cf1 | [
"MIT"
] | 5 | 2018-12-14T06:32:54.000Z | 2019-08-04T09:36:45.000Z | tests/input_scripts/filepath.py | shiba6v/shape_commentator | e57c4d7e0781fa02fdc49dbc5c88236df5948cf1 | [
"MIT"
] | 1 | 2019-01-02T00:05:38.000Z | 2019-01-02T00:05:38.000Z | print(__file__)
print(__package__)
print(__name__) | 16.666667 | 18 | 0.84 | 6 | 50 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 50 | 3 | 19 | 16.666667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fc9c68c026d3230d1a709a9e33e0041b6cdb10cb | 149 | py | Python | utils/__init__.py | firstelfin/WarmUpLR | 99d7f3253834c0e04aa79c5354dc784c073f2116 | [
"Apache-2.0"
] | 1 | 2021-05-13T04:00:18.000Z | 2021-05-13T04:00:18.000Z | utils/__init__.py | firstelfin/WarmUpLR | 99d7f3253834c0e04aa79c5354dc784c073f2116 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | firstelfin/WarmUpLR | 99d7f3253834c0e04aa79c5354dc784c073f2116 | [
"Apache-2.0"
] | 1 | 2021-07-26T02:23:06.000Z | 2021-07-26T02:23:06.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author : elfin
# @Time : 2021/5/12 17:33
# @File : __init__.py.py
# @Project : WarmUpLR
| 18.625 | 29 | 0.550336 | 21 | 149 | 3.714286 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 0.241611 | 149 | 7 | 30 | 21.285714 | 0.584071 | 0.912752 | 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 |
5d87ad424d9fd274ea161348b9fe7a056aaf5c75 | 213,913 | py | Python | 3algo/homo/c5_12_4datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | null | null | null | 3algo/homo/c5_12_4datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | null | null | null | 3algo/homo/c5_12_4datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | 1 | 2021-03-21T17:54:26.000Z | 2021-03-21T17:54:26.000Z |
timely5_12_4 = 2722
untimely5_12_4 = 317
record4 = [[({'t2.113.125.0': {'wcet': 1, 'period': 5, 'deadline': 4}, 't3.113.125.0': {'wcet': 2, 'period': 10, 'deadline': 8}}, {'t2.113.125.0': [0.503, 1.6], 't3.113.125.0': [0.321, 1.6]}), 'mec-3'], [({'t2.111.125.1': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t2.111.125.... | 16,454.846154 | 176,575 | 0.559073 | 39,511 | 213,913 | 3.026119 | 0.099542 | 0.029373 | 0.131811 | 0.056973 | 0.673174 | 0.591068 | 0.571271 | 0.449797 | 0.449797 | 0 | 0 | 0.420137 | 0.100639 | 213,913 | 13 | 176,576 | 16,454.846154 | 0.201351 | 0 | 0 | 0 | 0 | 0 | 0.400476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5dd1bda918135c2c270ba220afff1b927024bcbb | 127 | py | Python | mws/__init__.py | TristanMozos/python-amazon-mws | e9c672e08204ab1951dc2829f846cbc8cbe37d20 | [
"Unlicense"
] | null | null | null | mws/__init__.py | TristanMozos/python-amazon-mws | e9c672e08204ab1951dc2829f846cbc8cbe37d20 | [
"Unlicense"
] | null | null | null | mws/__init__.py | TristanMozos/python-amazon-mws | e9c672e08204ab1951dc2829f846cbc8cbe37d20 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .mws import * # noqa: F401, F403
__version__ = "0.8.11"
| 18.142857 | 38 | 0.669291 | 18 | 127 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 0.181102 | 127 | 6 | 39 | 21.166667 | 0.625 | 0.299213 | 0 | 0 | 0 | 0 | 0.069767 | 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 |
5de9fcf04a8e10682688039bd24ccdd827f06c52 | 135 | py | Python | lang/Python/input-loop-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/Python/input-loop-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/input-loop-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | my_file = open(filename, 'r')
try:
for line in my_file:
pass # process line, includes newline
finally:
my_file.close()
| 19.285714 | 45 | 0.651852 | 20 | 135 | 4.25 | 0.75 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 135 | 6 | 46 | 22.5 | 0.833333 | 0.222222 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f8dd3783bb90786ee1a01b938c13569908868632 | 19 | py | Python | SoftLayer/CLI/tags/__init__.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 126 | 2015-01-05T05:09:22.000Z | 2021-07-02T00:16:35.000Z | SoftLayer/CLI/tags/__init__.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 969 | 2015-01-05T15:55:31.000Z | 2022-03-31T19:55:20.000Z | SoftLayer/CLI/tags/__init__.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 176 | 2015-01-22T11:23:40.000Z | 2022-02-11T13:16:58.000Z | """Manage Tags"""
| 9.5 | 18 | 0.526316 | 2 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.625 | 0.578947 | 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 |
5d1dd1e2cf154077c7eba9c8d9f4a6948f9060a2 | 101 | py | Python | mole/__init__.py | latour-a/mole | 3e838d827bd6c2b1257dcf82acfbd02c8829d1ff | [
"MIT"
] | null | null | null | mole/__init__.py | latour-a/mole | 3e838d827bd6c2b1257dcf82acfbd02c8829d1ff | [
"MIT"
] | null | null | null | mole/__init__.py | latour-a/mole | 3e838d827bd6c2b1257dcf82acfbd02c8829d1ff | [
"MIT"
] | null | null | null | # coding: utf8
"""
Collection de scripts pour résoudre le problème "Le jardinier et les taupes".
"""
| 20.2 | 77 | 0.722772 | 14 | 101 | 5.214286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.168317 | 101 | 4 | 78 | 25.25 | 0.857143 | 0.90099 | 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 |
5d2de6401f668ac3b91461f3b8dcaecc51973b54 | 167 | py | Python | 01.Basic/Loops/FoorLoops.py | engineerscodes/PyVisionHUB | 512ff1fde5dd9849e555bc7848a11cee65ee9068 | [
"MIT"
] | 4 | 2020-09-02T10:25:32.000Z | 2021-06-05T08:45:50.000Z | 01.Basic/Loops/FoorLoops.py | engineerscodes/PyVisionHUB | 512ff1fde5dd9849e555bc7848a11cee65ee9068 | [
"MIT"
] | null | null | null | 01.Basic/Loops/FoorLoops.py | engineerscodes/PyVisionHUB | 512ff1fde5dd9849e555bc7848a11cee65ee9068 | [
"MIT"
] | 1 | 2021-10-01T07:04:05.000Z | 2021-10-01T07:04:05.000Z |
for i in "dbwhdbwhd":
print(i ,end=" ")
print()
for i in ["Naveen","Viart","Bala"]:
print(i,end=" ,")
print()
for i in range(5,100,5):
print(i, end=" ")
| 15.181818 | 35 | 0.532934 | 28 | 167 | 3.178571 | 0.428571 | 0.134831 | 0.202247 | 0.314607 | 0.449438 | 0.449438 | 0.449438 | 0 | 0 | 0 | 0 | 0.038168 | 0.215569 | 167 | 10 | 36 | 16.7 | 0.641221 | 0 | 0 | 0.5 | 0 | 0 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5d3e840fea02d0ba148ced0086f4bb647496bb2e | 121 | py | Python | runtests.py | hasgeek/geekup | 4e9b83f63203ae15d11a3e2e679e8a86ae02e545 | [
"CC-BY-3.0"
] | 1 | 2020-06-26T17:10:37.000Z | 2020-06-26T17:10:37.000Z | runtests.py | hasgeek/geekup | 4e9b83f63203ae15d11a3e2e679e8a86ae02e545 | [
"CC-BY-3.0"
] | 5 | 2017-05-04T06:24:17.000Z | 2019-05-08T00:16:46.000Z | runtests.py | hasgeek/geekup | 4e9b83f63203ae15d11a3e2e679e8a86ae02e545 | [
"CC-BY-3.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
import os
import nose
os.environ['GEEKUP_ENV'] = "test"
nose.main()
| 15.125 | 33 | 0.652893 | 19 | 121 | 4.105263 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.132231 | 121 | 7 | 34 | 17.285714 | 0.685714 | 0.396694 | 0 | 0 | 0 | 0 | 0.197183 | 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 |
5d4409380ece7fd1c8f1d08709b97e6c45408480 | 111 | py | Python | PDSim/__init__.py | sebdenis/pdsim | 1219d257d4952f396022f2a41c245765c8728ab0 | [
"MIT"
] | 24 | 2016-01-04T02:06:25.000Z | 2022-03-12T08:03:55.000Z | PDSim/__init__.py | sebdenis/pdsim | 1219d257d4952f396022f2a41c245765c8728ab0 | [
"MIT"
] | 57 | 2015-04-25T23:42:28.000Z | 2022-03-08T10:04:14.000Z | PDSim/__init__.py | sebdenis/pdsim | 1219d257d4952f396022f2a41c245765c8728ab0 | [
"MIT"
] | 17 | 2015-04-21T07:45:45.000Z | 2022-03-12T08:03:49.000Z | __version__ = '2.10.0'
__git_revision__ = '3171cfb3f004a9f248ae8b52e3f1ba4547946ae6'
__git_branch__ = 'master'
| 27.75 | 61 | 0.81982 | 10 | 111 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284314 | 0.081081 | 111 | 3 | 62 | 37 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.468468 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
5d70a67184191b317387b5bf0e4c78023a82b5c5 | 83 | py | Python | main.py | Gloomymoon/LegoSpyder | 61c93131f11b8866a797b00c3ebe270e10b4ba8c | [
"Apache-2.0"
] | null | null | null | main.py | Gloomymoon/LegoSpyder | 61c93131f11b8866a797b00c3ebe270e10b4ba8c | [
"Apache-2.0"
] | null | null | null | main.py | Gloomymoon/LegoSpyder | 61c93131f11b8866a797b00c3ebe270e10b4ba8c | [
"Apache-2.0"
] | null | null | null | from scrapy import cmdline
cmdline.execute("scrapy crawl lego -o lego.jl".split())
| 27.666667 | 55 | 0.771084 | 13 | 83 | 4.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 83 | 2 | 56 | 41.5 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.337349 | 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 |
53789c41481cbb36239352034f4a1cc513ed4ff1 | 528 | py | Python | corehq/ex-submodules/pillowtop/reindexer/change_providers/composite.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T13:10:01.000Z | 2020-05-05T13:10:01.000Z | corehq/ex-submodules/pillowtop/reindexer/change_providers/composite.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T14:00:14.000Z | 2019-12-09T14:00:14.000Z | corehq/ex-submodules/pillowtop/reindexer/change_providers/composite.py | MaciejChoromanski/commcare-hq | fd7f65362d56d73b75a2c20d2afeabbc70876867 | [
"BSD-3-Clause"
] | 5 | 2015-11-30T13:12:45.000Z | 2019-07-01T19:27:07.000Z | from __future__ import absolute_import
from __future__ import unicode_literals
import itertools
from pillowtop.reindexer.change_providers.interface import ChangeProvider
class CompositeChangeProvider(ChangeProvider):
"""Change Provider of Change Providers
"""
def __init__(self, change_providers):
... | 31.058824 | 114 | 0.797348 | 61 | 528 | 6.47541 | 0.47541 | 0.227848 | 0.144304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140152 | 528 | 16 | 115 | 33 | 0.870044 | 0.066288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0.111111 | 0.888889 | 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 | 1 | 1 | 0 | 0 | 0 | 4 |
53998524020770c1260ddd6c3ed57ef363fb514d | 235 | py | Python | src/lib/trains/train_factory.py | wisematch/KDMOT | 03be0a148fc5d5a43c13a0427c429305b92e6838 | [
"MIT"
] | null | null | null | src/lib/trains/train_factory.py | wisematch/KDMOT | 03be0a148fc5d5a43c13a0427c429305b92e6838 | [
"MIT"
] | null | null | null | src/lib/trains/train_factory.py | wisematch/KDMOT | 03be0a148fc5d5a43c13a0427c429305b92e6838 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .mot import MotTrainer
from .mot_kd import MotKDTrainer
train_factory = {
'mot': MotTrainer,
'kd': MotKDTrainer
}
| 18.076923 | 38 | 0.8 | 29 | 235 | 5.931034 | 0.448276 | 0.174419 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 235 | 12 | 39 | 19.583333 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 0.111111 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
539a197164ac6c31d7d008a005f310f78c1b32d3 | 232 | py | Python | gram/admin.py | Chebichii-Lab/Instagram-Influencers | 8b7c696ca1ab4df75ebbb5a5d0ecad2dcf5f2bc5 | [
"MIT"
] | null | null | null | gram/admin.py | Chebichii-Lab/Instagram-Influencers | 8b7c696ca1ab4df75ebbb5a5d0ecad2dcf5f2bc5 | [
"MIT"
] | null | null | null | gram/admin.py | Chebichii-Lab/Instagram-Influencers | 8b7c696ca1ab4df75ebbb5a5d0ecad2dcf5f2bc5 | [
"MIT"
] | null | null | null | from gram.models import Comment, Follow, Image, Profile
from django.contrib import admin
# Register your models here.
admin.site.register(Image)
admin.site.register(Profile)
admin.site.register(Comment)
admin.site.register(Follow)
| 25.777778 | 55 | 0.810345 | 33 | 232 | 5.69697 | 0.454545 | 0.191489 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090517 | 232 | 8 | 56 | 29 | 0.890995 | 0.112069 | 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 |
53c8606286d3bea0d95700ae87abad940d66e7cc | 331 | py | Python | api/serializers/userinfo.py | lndba/apasa_backend | e0bb96e22a22f6e2a5a2826f225388113473e7e2 | [
"Apache-2.0"
] | 1 | 2019-08-06T07:31:40.000Z | 2019-08-06T07:31:40.000Z | api/serializers/userinfo.py | lndba/apasa_backend | e0bb96e22a22f6e2a5a2826f225388113473e7e2 | [
"Apache-2.0"
] | null | null | null | api/serializers/userinfo.py | lndba/apasa_backend | e0bb96e22a22f6e2a5a2826f225388113473e7e2 | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from api.models import *
class UserInfoListSerializers(serializers.ModelSerializer):
class Meta:
model = UserInfo
fields = ['id','username','email']
class UserSerializers(serializers.ModelSerializer):
class Meta:
model = UserInfo
fields ... | 23.642857 | 59 | 0.700906 | 31 | 331 | 7.322581 | 0.612903 | 0.229075 | 0.273128 | 0.30837 | 0.475771 | 0.475771 | 0.475771 | 0 | 0 | 0 | 0 | 0 | 0.214502 | 331 | 14 | 60 | 23.642857 | 0.873077 | 0 | 0 | 0.4 | 0 | 0 | 0.066265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
53cd1dcfdfd5da3572add42dc220d94c61e19ba8 | 200 | py | Python | karmabot/scripts/__init__.py | chromakode/karmabot | d8fe4fd1303320d577a41194b3e0f0258d4d5362 | [
"BSD-3-Clause"
] | 7 | 2015-02-24T00:05:03.000Z | 2020-03-30T05:29:16.000Z | karmabot/extensions/__init__.py | chromakode/karmabot | d8fe4fd1303320d577a41194b3e0f0258d4d5362 | [
"BSD-3-Clause"
] | 1 | 2016-10-07T03:09:18.000Z | 2016-10-07T03:09:18.000Z | karmabot/extensions/__init__.py | chromakode/karmabot | d8fe4fd1303320d577a41194b3e0f0258d4d5362 | [
"BSD-3-Clause"
] | 1 | 2020-03-30T05:29:17.000Z | 2020-03-30T05:29:17.000Z | # Copyright the Karmabot authors and contributors.
# All rights reserved. See AUTHORS.
#
# This file is part of 'karmabot' and is distributed under the BSD license.
# See LICENSE for more details.
#
| 28.571429 | 75 | 0.755 | 29 | 200 | 5.206897 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 200 | 6 | 76 | 33.333333 | 0.920732 | 0.935 | 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 |
54db50b153eaeb351e7e303e8a07de5700874a8d | 105 | py | Python | cfgov/paying_for_college/models/pages.py | hillaryj/cfgov-refresh | 99f75d62700e4b0fbd2a2e385d967198325f7429 | [
"CC0-1.0"
] | null | null | null | cfgov/paying_for_college/models/pages.py | hillaryj/cfgov-refresh | 99f75d62700e4b0fbd2a2e385d967198325f7429 | [
"CC0-1.0"
] | null | null | null | cfgov/paying_for_college/models/pages.py | hillaryj/cfgov-refresh | 99f75d62700e4b0fbd2a2e385d967198325f7429 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
# from __future__ import unicode_literals
# home for future wagtail page models
| 21 | 41 | 0.72381 | 14 | 105 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.171429 | 105 | 4 | 42 | 26.25 | 0.804598 | 0.92381 | 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 |
54db5df4007e132b26b12a1ecdfaa214930f991b | 370 | py | Python | tests/test_elements.py | Robert-Forrest/elementy | 12922410f2ecd1a882d66845fccf82fef0ee35fc | [
"BSD-3-Clause"
] | null | null | null | tests/test_elements.py | Robert-Forrest/elementy | 12922410f2ecd1a882d66845fccf82fef0ee35fc | [
"BSD-3-Clause"
] | null | null | null | tests/test_elements.py | Robert-Forrest/elementy | 12922410f2ecd1a882d66845fccf82fef0ee35fc | [
"BSD-3-Clause"
] | null | null | null | import elementy.elements as elements
def test_element_symbol():
assert elements.Hydrogen.symbol == "H"
assert elements.Iron.symbol == "Fe"
assert elements.Uranium.symbol == "U"
def test_element_atomic_number():
assert elements.Hydrogen.atomic_number == 1
assert elements.Iron.atomic_number == 2... | 23.125 | 47 | 0.732432 | 47 | 370 | 5.595745 | 0.425532 | 0.319392 | 0.106464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016234 | 0.167568 | 370 | 15 | 48 | 24.666667 | 0.837662 | 0 | 0 | 0 | 0 | 0 | 0.010811 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.222222 | true | 0 | 0.111111 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
07230097e9ffbc1796f4984f64247d1dd1a57bac | 185 | py | Python | app_todo/models.py | falken20/falken_home | 3f34e3efc403591293a582ac95f49c5721db18b6 | [
"MIT"
] | null | null | null | app_todo/models.py | falken20/falken_home | 3f34e3efc403591293a582ac95f49c5721db18b6 | [
"MIT"
] | 9 | 2021-06-04T23:49:09.000Z | 2022-01-03T22:53:49.000Z | app_todo/models.py | falken20/falken_home | 3f34e3efc403591293a582ac95f49c5721db18b6 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.timezone import now
class TodoItem(models.Model):
content = models.TextField()
date_created = models.DateTimeField(default=now)
| 23.125 | 52 | 0.772973 | 24 | 185 | 5.916667 | 0.708333 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140541 | 185 | 7 | 53 | 26.428571 | 0.893082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0737fa263391c2f092a40cdc8f60cd500fdfdb74 | 1,023 | py | Python | tests/xlfunctions/test_xlcriteria.py | ckp95/xlcalculator | 8f3f04a2a0a2ecb12c3d5837a5b13519137ae427 | [
"MIT"
] | 54 | 2020-04-26T09:18:29.000Z | 2022-03-30T08:47:45.000Z | tests/xlfunctions/test_xlcriteria.py | st-lo/xlcalculator | 19190ec90e948b7ab1eceb06448b96cc1728bc51 | [
"MIT"
] | 41 | 2020-05-04T04:12:36.000Z | 2022-01-31T02:41:05.000Z | tests/xlfunctions/test_xlcriteria.py | st-lo/xlcalculator | 19190ec90e948b7ab1eceb06448b96cc1728bc51 | [
"MIT"
] | 21 | 2020-05-21T20:49:23.000Z | 2022-02-20T14:15:56.000Z | import unittest
from xlcalculator.xlfunctions import xlcriteria
class XlCriteriaModuleTest(unittest.TestCase):
def test_parse_criteria(self):
check = xlcriteria.parse_criteria('>3')
self.assertTrue(check(4))
self.assertFalse(check(2))
def test_parse_criteria_asBool(self):
ch... | 30.088235 | 70 | 0.688172 | 117 | 1,023 | 5.786325 | 0.273504 | 0.192024 | 0.088626 | 0.14771 | 0.742984 | 0.737075 | 0.737075 | 0.639586 | 0.639586 | 0.573117 | 0 | 0.016049 | 0.208211 | 1,023 | 33 | 71 | 31 | 0.819753 | 0.034213 | 0 | 0.478261 | 0 | 0 | 0.013198 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 1 | 0.217391 | false | 0 | 0.086957 | 0 | 0.347826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0741ab836dcb4f0aae7ea12654f25bed805c5262 | 22,352 | py | Python | tests/common/test_rules_common.py | titanous/coreferee | 08d4ec9d45f04322b8e89003e49a369c9a97a281 | [
"Apache-2.0"
] | null | null | null | tests/common/test_rules_common.py | titanous/coreferee | 08d4ec9d45f04322b8e89003e49a369c9a97a281 | [
"Apache-2.0"
] | null | null | null | tests/common/test_rules_common.py | titanous/coreferee | 08d4ec9d45f04322b8e89003e49a369c9a97a281 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 msg systems ag
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, so... | 45.523422 | 101 | 0.700206 | 3,080 | 22,352 | 4.740584 | 0.086039 | 0.062325 | 0.064722 | 0.052599 | 0.822341 | 0.778371 | 0.717417 | 0.688925 | 0.612424 | 0.513526 | 0 | 0.010932 | 0.210138 | 22,352 | 490 | 102 | 45.616327 | 0.816086 | 0.024562 | 0 | 0.333333 | 0 | 0 | 0.123853 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0.272464 | false | 0 | 0.017391 | 0 | 0.307246 | 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 |
0742644d31bb5d057222534889f3f6ae14e5941a | 101 | py | Python | MedIT_com/django_chatterbot/forms.py | PaolaDMadd/knock-knock-doctor-app | a58964620378d75591989298ed96a7c2f934f71e | [
"BSD-Source-Code"
] | null | null | null | MedIT_com/django_chatterbot/forms.py | PaolaDMadd/knock-knock-doctor-app | a58964620378d75591989298ed96a7c2f934f71e | [
"BSD-Source-Code"
] | 2 | 2021-02-09T20:15:59.000Z | 2021-02-09T20:16:10.000Z | MedIT_com/django_chatterbot/forms.py | PaolaDMadd/knok-knok-doctor-app | a58964620378d75591989298ed96a7c2f934f71e | [
"BSD-Source-Code"
] | 1 | 2021-02-03T17:22:46.000Z | 2021-02-03T17:22:46.000Z | from django import forms
class MessageForm(forms.Form):
message = forms.CharField(max_length=50) | 25.25 | 44 | 0.782178 | 14 | 101 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.128713 | 101 | 4 | 44 | 25.25 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
07448f6ac70f0a4cc04393e057bf833b19ab61d7 | 149 | py | Python | day07/test07.py | jaywoong/python | 99daedd5a9418b72b2d5c3b800080e730eb9b3ea | [
"Apache-2.0"
] | null | null | null | day07/test07.py | jaywoong/python | 99daedd5a9418b72b2d5c3b800080e730eb9b3ea | [
"Apache-2.0"
] | null | null | null | day07/test07.py | jaywoong/python | 99daedd5a9418b72b2d5c3b800080e730eb9b3ea | [
"Apache-2.0"
] | null | null | null | list1 = [1,2,3,4,5]
list2 = list1.copy()
list3 = list1
print(list1 is list2)
print(list1 is list3)
print(list2 is list3)
list2[1] = 30
print(list1) | 14.9 | 21 | 0.691275 | 28 | 149 | 3.678571 | 0.428571 | 0.291262 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.154362 | 149 | 10 | 22 | 14.9 | 0.650794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
074725d92123de256e2574703eeb78e34f91de64 | 755 | py | Python | neurolang/utils/relational_algebra_set/__init__.py | gzanitti/NeuroLang | 497d3d28b640329771e34d92ccec93f984c3f784 | [
"BSD-3-Clause"
] | 1 | 2021-01-07T02:00:22.000Z | 2021-01-07T02:00:22.000Z | neurolang/utils/relational_algebra_set/__init__.py | NeuroLang/NeuroLang | 282457a48722741d577b69980be0a46f69c9954f | [
"BSD-3-Clause"
] | 207 | 2020-11-04T12:51:10.000Z | 2022-03-30T13:42:26.000Z | neurolang/utils/relational_algebra_set/__init__.py | jonasrenault/NeuroLang | 497d3d28b640329771e34d92ccec93f984c3f784 | [
"BSD-3-Clause"
] | 6 | 2020-11-04T13:59:35.000Z | 2021-03-19T05:28:10.000Z | from neurolang.config import config
from .abstract import RelationalAlgebraColumnInt, RelationalAlgebraColumnStr
if config["RAS"].get("backend") == "dask":
from .dask_sql import (
NamedRelationalAlgebraFrozenSet,
RelationalAlgebraFrozenSet,
RelationalAlgebraSet,
RelationalAlgebraStr... | 26.964286 | 76 | 0.73245 | 39 | 755 | 14.051282 | 0.512821 | 0.251825 | 0.229927 | 0.30292 | 0.423358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197351 | 755 | 27 | 77 | 27.962963 | 0.90429 | 0 | 0 | 0.333333 | 0 | 0 | 0.233113 | 0.188079 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 1 | 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 |
0747b906670ddbe5bdd10d9dce28b667d4db7a5e | 21,990 | py | Python | tests/test_grid_tools.py | kgullikson88/Starfish | 965bbf2069854dfd92d795d3f902b6dae74537f9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_grid_tools.py | kgullikson88/Starfish | 965bbf2069854dfd92d795d3f902b6dae74537f9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_grid_tools.py | kgullikson88/Starfish | 965bbf2069854dfd92d795d3f902b6dae74537f9 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from StellarSpectra.grid_tools import *
import numpy as np
from StellarSpectra.spectrum import create_log_lam_grid
import StellarSpectra.constants as C
class TestRawGridInterface:
def setup_class(self):
self.rawgrid = RawGridInterface("PHOENIX", {"temp":{5000, 5100, 5200}, "logg":{3.0, 3.5, 4... | 43.033268 | 179 | 0.610323 | 3,044 | 21,990 | 4.320631 | 0.120237 | 0.02205 | 0.011405 | 0.013382 | 0.789386 | 0.748403 | 0.733653 | 0.697993 | 0.682406 | 0.676475 | 0 | 0.066504 | 0.235516 | 21,990 | 510 | 180 | 43.117647 | 0.715841 | 0.144429 | 0 | 0.612903 | 0 | 0.002933 | 0.102604 | 0.022135 | 0 | 0 | 0 | 0.001961 | 0.055718 | 1 | 0.214076 | false | 0.005865 | 0.026393 | 0 | 0.278592 | 0.087977 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
074bb01d7dd492fb59a86a0001663892571360a5 | 83 | py | Python | friday/vend/apps.py | Gbane26/FridayNaN | e02b7484cbfa9f3e691325c20afb7113baf05bd1 | [
"MIT"
] | null | null | null | friday/vend/apps.py | Gbane26/FridayNaN | e02b7484cbfa9f3e691325c20afb7113baf05bd1 | [
"MIT"
] | null | null | null | friday/vend/apps.py | Gbane26/FridayNaN | e02b7484cbfa9f3e691325c20afb7113baf05bd1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class VendConfig(AppConfig):
name = 'vend'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 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 |
074cbb2edf65b3c29fade3df0ff12ffae75c7c21 | 56 | py | Python | code/abc130_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc130_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc130_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | X,A=map(int,input().split())
print("0" if X<A else "10") | 28 | 28 | 0.607143 | 13 | 56 | 2.615385 | 0.846154 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.089286 | 56 | 2 | 29 | 28 | 0.607843 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
07637ea6b879f9520914608ef321698547d25b5a | 37 | py | Python | data/studio21_generated/introductory/3230/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3230/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3230/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def the_biggest_search_keys(*keys):
| 18.5 | 35 | 0.810811 | 6 | 37 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 2 | 36 | 18.5 | 0.794118 | 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 |
076762f80f657df26fc4b72822edbdce11acb330 | 127 | py | Python | _templates/jinja2/cookiecutter-py/{{cookiecutter.name}}/choices/testfrwk/unittest/tests/__init__.py | thebridge0491/intro_py | c8ef32d8df10fa07a3c7b191474074b2dfd640c3 | [
"CECILL-B"
] | null | null | null | _templates/jinja2/cookiecutter-py/{{cookiecutter.name}}/choices/testfrwk/unittest/tests/__init__.py | thebridge0491/intro_py | c8ef32d8df10fa07a3c7b191474074b2dfd640c3 | [
"CECILL-B"
] | null | null | null | _templates/jinja2/cookiecutter-py/{{cookiecutter.name}}/choices/testfrwk/unittest/tests/__init__.py | thebridge0491/intro_py | c8ef32d8df10fa07a3c7b191474074b2dfd640c3 | [
"CECILL-B"
] | null | null | null | # -*- coding: utf-8 -*-
'''Unit test package for {{cookiecutter.parent}}{{cookiecutter.separator}}{{cookiecutter.project}}.'''
| 42.333333 | 102 | 0.677165 | 13 | 127 | 6.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.07874 | 127 | 2 | 103 | 63.5 | 0.726496 | 0.937008 | 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 |
4ad6e3ce1ff1c12b2aae39016d26b7d14f38300f | 94 | py | Python | py30.py | afq984/syntaxguard | 977916fa664acb393781c0e94e9aa5e925a3e17f | [
"Apache-2.0"
] | 1 | 2020-12-23T03:35:45.000Z | 2020-12-23T03:35:45.000Z | py30.py | afq984/syntaxguard | 977916fa664acb393781c0e94e9aa5e925a3e17f | [
"Apache-2.0"
] | null | null | null | py30.py | afq984/syntaxguard | 977916fa664acb393781c0e94e9aa5e925a3e17f | [
"Apache-2.0"
] | null | null | null | *Please, = 'use Python 3.0 or later'
# https://docs.python.org/3/whatsnew/3.0.html#new-syntax
| 31.333333 | 56 | 0.702128 | 18 | 94 | 3.666667 | 0.777778 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.095745 | 94 | 2 | 57 | 47 | 0.717647 | 0.56383 | 0 | 0 | 0 | 0 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4addd71350083acc46561966f181530a198eabea | 314 | py | Python | app/wrapper/pynubank_wrapper/utils/__init__.py | brunoanhaia/budget-planner | edb030591fd8425e1e4132f869693bb10b941771 | [
"MIT"
] | null | null | null | app/wrapper/pynubank_wrapper/utils/__init__.py | brunoanhaia/budget-planner | edb030591fd8425e1e4132f869693bb10b941771 | [
"MIT"
] | 2 | 2022-03-02T14:10:53.000Z | 2022-03-17T22:56:25.000Z | app/wrapper/pynubank_wrapper/utils/__init__.py | brunoanhaia/budget-planner | edb030591fd8425e1e4132f869693bb10b941771 | [
"MIT"
] | null | null | null | import pathlib
import sys
sys.path.append(str(pathlib.Path(__file__).parent))
from .cert_generator import run as generate_cert
from .config_loader import ConfigLoader
from .constants import Constants
from .file_helper import FileHelper
from .init_config import init_config
from .common_utils import planify_array | 28.545455 | 51 | 0.847134 | 46 | 314 | 5.521739 | 0.543478 | 0.07874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 314 | 11 | 52 | 28.545455 | 0.900709 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4adede33383552867a9ca75ef5b527b3057784cc | 5,344 | py | Python | 04-01_get_anymethods_ALL-Lines_SizeIncreaseDecrease_target_count.py | stevenshave/NuclearSizeCheminformatics | e24fceb5340263b7c334507e51182dc28cc1cf9a | [
"MIT"
] | null | null | null | 04-01_get_anymethods_ALL-Lines_SizeIncreaseDecrease_target_count.py | stevenshave/NuclearSizeCheminformatics | e24fceb5340263b7c334507e51182dc28cc1cf9a | [
"MIT"
] | null | null | null | 04-01_get_anymethods_ALL-Lines_SizeIncreaseDecrease_target_count.py | stevenshave/NuclearSizeCheminformatics | e24fceb5340263b7c334507e51182dc28cc1cf9a | [
"MIT"
] | null | null | null | """
Generate INC target hit-count table
Generate a list of commonly hit (in all 4 analysis methods) targets which
produce a nuclear size worsening effect.
"""
import json
from pathlib import Path
from nss_std_functions import get_cleaned_datasets
lookup_plateid_to_htargetname=json.load(open(Path("dat-plateid-to-hith... | 60.727273 | 139 | 0.720247 | 878 | 5,344 | 4.038724 | 0.096811 | 0.081218 | 0.07445 | 0.108291 | 0.717992 | 0.714044 | 0.710096 | 0.687535 | 0.671179 | 0.62775 | 0 | 0.085691 | 0.09375 | 5,344 | 87 | 140 | 61.425287 | 0.6465 | 0.037987 | 0 | 0.175439 | 1 | 0 | 0.294989 | 0.007604 | 0.210526 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0.140351 | 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 |
4af6175db48effd09ced8e06bfa39449946ff2a6 | 81 | py | Python | biblodui/__init__.py | NatLibFi/bib-lod-ui | 939c3749fce0c11451cbd87a75ead3ff70075d5e | [
"Apache-2.0"
] | 5 | 2017-12-06T08:52:35.000Z | 2018-03-31T01:52:26.000Z | biblodui/__init__.py | NatLibFi/bib-lod-ui | 939c3749fce0c11451cbd87a75ead3ff70075d5e | [
"Apache-2.0"
] | 24 | 2017-11-10T14:51:16.000Z | 2018-02-08T15:16:38.000Z | biblodui/__init__.py | NatLibFi/bib-lod-ui | 939c3749fce0c11451cbd87a75ead3ff70075d5e | [
"Apache-2.0"
] | null | null | null | from flask import Flask
app = Flask(__name__)
from biblodui import views, model
| 16.2 | 33 | 0.790123 | 12 | 81 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 4 | 34 | 20.25 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
ab01856aa524223203f126cde2de15b41eec8434 | 196 | py | Python | Python3/0371-Sum-of-Two-Integers/soln-1.py | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | Python3/0371-Sum-of-Two-Integers/soln-1.py | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | Python3/0371-Sum-of-Two-Integers/soln-1.py | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | import statistics
class Solution:
def getSum(self, a, b):
"""
:type a: int
:type b: int
:rtype: int
"""
return int(statistics.mean((a, b)) * 2)
| 19.6 | 47 | 0.479592 | 24 | 196 | 3.916667 | 0.625 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.382653 | 196 | 9 | 48 | 21.777778 | 0.768595 | 0.188776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 |
ab504a11b19a7d8dfbaa86a4e17ecdc962a6e53f | 158 | py | Python | happyml/tools/__init__.py | guiferviz/happyml-py | 4252d0cff27461e38da404553772dafbc74f3eaa | [
"BSD-Source-Code"
] | 1 | 2016-08-15T13:27:48.000Z | 2016-08-15T13:27:48.000Z | happyml/tools/__init__.py | guiferviz/happyml-py | 4252d0cff27461e38da404553772dafbc74f3eaa | [
"BSD-Source-Code"
] | null | null | null | happyml/tools/__init__.py | guiferviz/happyml-py | 4252d0cff27461e38da404553772dafbc74f3eaa | [
"BSD-Source-Code"
] | null | null | null |
"""
Module with useful tools. Some examples of tools are:
* Dataset creation using an interactive Matplotlib plot.
* Function and gradient visualizer.
"""
| 17.555556 | 56 | 0.753165 | 20 | 158 | 5.95 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170886 | 158 | 8 | 57 | 19.75 | 0.908397 | 0.936709 | 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 |
db51e3397e8f2cab3f3c6b2075e3176537923504 | 7,509 | py | Python | odps/df/expr/tests/test_math.py | Emersonxuelinux/aliyun-odps-python-sdk | 0b38c777711c95ed1775fa67822febf88fc3d642 | [
"Apache-2.0"
] | 412 | 2015-11-01T09:27:52.000Z | 2022-03-26T05:04:03.000Z | odps/df/expr/tests/test_math.py | Emersonxuelinux/aliyun-odps-python-sdk | 0b38c777711c95ed1775fa67822febf88fc3d642 | [
"Apache-2.0"
] | 168 | 2015-11-16T09:46:39.000Z | 2022-03-17T06:35:26.000Z | odps/df/expr/tests/test_math.py | Emersonxuelinux/aliyun-odps-python-sdk | 0b38c777711c95ed1775fa67822febf88fc3d642 | [
"Apache-2.0"
] | 103 | 2015-12-01T08:10:09.000Z | 2022-02-21T12:46:35.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 1999-2017 Alibaba Group Holding Ltd.
#
# 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/LICENS... | 48.134615 | 109 | 0.703423 | 864 | 7,509 | 6.08912 | 0.18287 | 0.138377 | 0.369512 | 0.431097 | 0.758411 | 0.727808 | 0.43965 | 0.164607 | 0.164607 | 0.164607 | 0 | 0.016601 | 0.157677 | 7,509 | 156 | 110 | 48.134615 | 0.815178 | 0.101212 | 0 | 0.137255 | 0 | 0 | 0.014112 | 0.003268 | 0 | 0 | 0 | 0 | 0.843137 | 1 | 0.019608 | false | 0 | 0.058824 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db83630b863de668edf29f8b5197e3aaa8c1f6c4 | 322 | py | Python | thinkpython_allen_downey/exercise_2_2.py | alirkaya/programming-textbook-solutions | 7362dce474b8a881d654f95604e09d1d0e76aec2 | [
"MIT"
] | null | null | null | thinkpython_allen_downey/exercise_2_2.py | alirkaya/programming-textbook-solutions | 7362dce474b8a881d654f95604e09d1d0e76aec2 | [
"MIT"
] | null | null | null | thinkpython_allen_downey/exercise_2_2.py | alirkaya/programming-textbook-solutions | 7362dce474b8a881d654f95604e09d1d0e76aec2 | [
"MIT"
] | null | null | null | width = 17
height = 12.0
delimiter = '.'
l_format = '{:<6} -> '
print(l_format.format(width/2), type(width/2))
print(l_format.format(width/2.0), type(width/2.0))
print(l_format.format(height/3), type(height/3))
print(l_format.format(1 + 2 * 5), type(1 + 2 * 5))
print(l_format.format(delimiter * 5), type(delimiter * 5)... | 29.272727 | 58 | 0.667702 | 58 | 322 | 3.603448 | 0.258621 | 0.200957 | 0.287081 | 0.430622 | 0.229665 | 0.229665 | 0 | 0 | 0 | 0 | 0 | 0.077193 | 0.114907 | 322 | 10 | 59 | 32.2 | 0.65614 | 0 | 0 | 0 | 0 | 0 | 0.031056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.555556 | 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 |
dba9a822dab0db14ac8288f7095dd0018fd00bc7 | 2,750 | py | Python | DailyProgrammer/DP20160711A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20160711A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20160711A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2016-07-11] Challenge #275 [Easy] Splurthian Chemistry 101
https://www.reddit.com/r/dailyprogrammer/comments/4savyr/20160711_challenge_275_easy_splurthian_chemistry/
# Description
The inhabitants of the planet Splurth are building their own [periodic table of the
elements](https://en.wikipedia.org/wiki/Periodic_... | 53.921569 | 119 | 0.749091 | 464 | 2,750 | 4.409483 | 0.43319 | 0.053763 | 0.041056 | 0.02346 | 0.076246 | 0.024438 | 0 | 0 | 0 | 0 | 0 | 0.017226 | 0.176727 | 2,750 | 50 | 120 | 55 | 0.886484 | 0.973818 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
916dd97688fae054d571c531756ef3ca246d3466 | 88 | py | Python | config/fb_secret.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | 1 | 2017-06-15T17:51:19.000Z | 2017-06-15T17:51:19.000Z | config/fb_secret.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | null | null | null | config/fb_secret.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | null | null | null | __author__ = 'Lorenzo'
fb_appid = 0000000000000000
fb_secret = '*********************'
| 17.6 | 35 | 0.568182 | 7 | 88 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0.113636 | 88 | 4 | 36 | 22 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
9178456374a77de4dbdfaad72aee6ae3fe5eeae7 | 104 | py | Python | src/run.py | ytyaru/Python.Hatena.Fotolife.Client.20211009104818 | 83b0229bad7e4e33326444203ea06e383e0bed83 | [
"CC0-1.0"
] | null | null | null | src/run.py | ytyaru/Python.Hatena.Fotolife.Client.20211009104818 | 83b0229bad7e4e33326444203ea06e383e0bed83 | [
"CC0-1.0"
] | null | null | null | src/run.py | ytyaru/Python.Hatena.Fotolife.Client.20211009104818 | 83b0229bad7e4e33326444203ea06e383e0bed83 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
# coding: utf8
from cli import CLI
if __name__ == '__main__':
CLI().parse()
| 14.857143 | 26 | 0.653846 | 15 | 104 | 4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.182692 | 104 | 6 | 27 | 17.333333 | 0.682353 | 0.326923 | 0 | 0 | 0 | 0 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9194b187d054afd499eb309042be2a2deecdce79 | 247 | py | Python | chemflow/jobs/apps.py | donadef/django-test | 70479458833045fa6476aaf93c3f62cc1ad26df4 | [
"MIT"
] | null | null | null | chemflow/jobs/apps.py | donadef/django-test | 70479458833045fa6476aaf93c3f62cc1ad26df4 | [
"MIT"
] | 2 | 2019-01-31T11:15:36.000Z | 2019-01-31T11:19:32.000Z | chemflow/jobs/apps.py | donadef/django-test | 70479458833045fa6476aaf93c3f62cc1ad26df4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class JobsAppConfig(AppConfig):
name = "chemflow.jobs"
verbose_name = "Jobs"
def ready(self):
try:
import jobs.signals # noqa F401
except ImportError:
pass
| 17.642857 | 44 | 0.603239 | 26 | 247 | 5.692308 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0.323887 | 247 | 13 | 45 | 19 | 0.868263 | 0.036437 | 0 | 0 | 0 | 0 | 0.072034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.333333 | 0 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
91a48daa32c4c1e450f3462bf1c55a4c51616228 | 485 | py | Python | tools/pot/openvino/tools/pot/samplers/index_sampler.py | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | tools/pot/openvino/tools/pot/samplers/index_sampler.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | tools/pot/openvino/tools/pot/samplers/index_sampler.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | # Copyright (C) 2020-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from openvino.tools.pot.samplers.sampler import Sampler
class IndexSampler(Sampler):
def __init__(self, subset_indices):
super().__init__(subset_indices=subset_indices)
def __len__(self):
return self.num_sampl... | 23.095238 | 55 | 0.698969 | 61 | 485 | 5.098361 | 0.606557 | 0.209003 | 0.163987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026178 | 0.212371 | 485 | 20 | 56 | 24.25 | 0.787958 | 0.158763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
91a64de1f0e82086ddd9408d868389fde042495f | 50 | py | Python | scripts/setup.py | jgkawell/feedback_cclfd | e4214b0244ef4f3730db54f892ef93570e5db1c6 | [
"MIT"
] | 1 | 2020-01-16T16:50:43.000Z | 2020-01-16T16:50:43.000Z | scripts/setup.py | jgkawell/feedback_cclfd | e4214b0244ef4f3730db54f892ef93570e5db1c6 | [
"MIT"
] | 1 | 2019-12-03T14:36:51.000Z | 2019-12-03T14:36:51.000Z | scripts/setup.py | jgkawell/feedback_cclfd | e4214b0244ef4f3730db54f892ef93570e5db1c6 | [
"MIT"
] | null | null | null | import nltk
nltk.download("wordnet", quiet=True)
| 12.5 | 36 | 0.76 | 7 | 50 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 3 | 37 | 16.666667 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.14 | 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 |
91ad80834c95f65ca18c0db444fc9de4f60e0783 | 286 | py | Python | src/corpus/audible.py | tiefenauer/forced-alignment | 39fa08e78d4fc2a85fda81b31a320e1b0d2578f0 | [
"MIT"
] | 8 | 2019-03-10T23:22:25.000Z | 2021-12-03T09:30:31.000Z | src/corpus/audible.py | tiefenauer/forced-alignment | 39fa08e78d4fc2a85fda81b31a320e1b0d2578f0 | [
"MIT"
] | null | null | null | src/corpus/audible.py | tiefenauer/forced-alignment | 39fa08e78d4fc2a85fda81b31a320e1b0d2578f0 | [
"MIT"
] | 1 | 2019-04-10T05:42:14.000Z | 2019-04-10T05:42:14.000Z | from abc import ABC, abstractmethod
class Audible(ABC):
"""
Base class for corpus objects containing an audio signal
"""
@property
@abstractmethod
def audio(self):
return None
@property
@abstractmethod
def rate(self):
return None
| 15.888889 | 60 | 0.629371 | 31 | 286 | 5.806452 | 0.645161 | 0.244444 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.300699 | 286 | 17 | 61 | 16.823529 | 0.9 | 0.195804 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
91c709b805b28d941129520ed9a6e112c772d6c9 | 183 | py | Python | src/campaigns/apps.py | mrts/foodbank-campaign | fbb059f3ebe44dccde4895964242b105421a69d1 | [
"MIT"
] | 1 | 2021-03-20T10:14:21.000Z | 2021-03-20T10:14:21.000Z | src/campaigns/apps.py | mrts/foodbank-campaign | fbb059f3ebe44dccde4895964242b105421a69d1 | [
"MIT"
] | 4 | 2018-03-24T21:49:02.000Z | 2021-01-13T21:31:44.000Z | src/campaigns/apps.py | mrts/foodbank-campaign | fbb059f3ebe44dccde4895964242b105421a69d1 | [
"MIT"
] | 3 | 2018-04-15T16:34:46.000Z | 2019-11-13T16:38:05.000Z | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class CampaignsConfig(AppConfig):
name = 'campaigns'
verbose_name = _('Campaigns')
| 22.875 | 55 | 0.770492 | 21 | 183 | 6.52381 | 0.714286 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153005 | 183 | 7 | 56 | 26.142857 | 0.883871 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
91da903300afe3fb46c6ea2c66ccd55d4e95025b | 22 | py | Python | cellpack/mgl_tools/Support/version.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | 4 | 2020-08-27T02:13:07.000Z | 2022-01-05T21:51:00.000Z | cellpack/mgl_tools/Support/version.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | 21 | 2021-10-02T00:07:05.000Z | 2022-03-30T00:02:10.000Z | cellpack/mgl_tools/Support/version.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | 1 | 2020-05-21T05:15:33.000Z | 2020-05-21T05:15:33.000Z | __version__ = "1.5.7"
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37f4ea3f19535a043026a72cef18a055def616bc | 368 | py | Python | packages/pyright-internal/src/tests/samples/typeAlias2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 4,391 | 2019-05-07T01:18:57.000Z | 2022-03-31T20:45:44.000Z | packages/pyright-internal/src/tests/samples/typeAlias2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 2,740 | 2019-05-07T03:29:30.000Z | 2022-03-31T12:57:46.000Z | packages/pyright-internal/src/tests/samples/typeAlias2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 455 | 2019-05-07T12:55:14.000Z | 2022-03-31T17:09:15.000Z | # This sample tests that forward references to type aliases work.
from typing import Dict, Any, Union
class Base:
@staticmethod
def create(data: Dict[str, Any]) -> "Mix":
return A()
class A(Base):
pass
class B(Base):
pass
Mix = Union[A, B]
class S:
@staticmethod
def create(dat... | 13.62963 | 65 | 0.608696 | 52 | 368 | 4.307692 | 0.557692 | 0.133929 | 0.1875 | 0.223214 | 0.401786 | 0.401786 | 0.401786 | 0.401786 | 0.401786 | 0.401786 | 0 | 0 | 0.271739 | 368 | 26 | 66 | 14.153846 | 0.835821 | 0.171196 | 0 | 0.571429 | 0 | 0 | 0.019802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.071429 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
530ea8580b9a013a1c12fa6ab7edb2b746e7fa81 | 747 | py | Python | examples/example01/data/function.py | FuchsTom/ProdSim | 1cd868de7f8f31139487eb3da4bd23800abac0e4 | [
"MIT"
] | 2 | 2021-12-28T19:34:37.000Z | 2022-02-23T20:35:25.000Z | examples/example01/data/function.py | FuchsTom/ProdSim | 1cd868de7f8f31139487eb3da4bd23800abac0e4 | [
"MIT"
] | null | null | null | examples/example01/data/function.py | FuchsTom/ProdSim | 1cd868de7f8f31139487eb3da4bd23800abac0e4 | [
"MIT"
] | 1 | 2021-11-23T14:01:34.000Z | 2021-11-23T14:01:34.000Z | # ---- sources ------------------------
def source_1(env, factory):
yield env.timeout(1)
yield 1
def source_2(env, factory):
yield env.timeout(1)
yield 2
# ---- sinks --------------------------
# ---- process functions --------------
def assemble_gb(env, item, machine, factory):
yield env.timeo... | 20.75 | 47 | 0.576975 | 92 | 747 | 4.608696 | 0.271739 | 0.226415 | 0.283019 | 0.415094 | 0.676887 | 0.676887 | 0.676887 | 0.464623 | 0.377358 | 0 | 0 | 0.021002 | 0.171352 | 747 | 35 | 48 | 21.342857 | 0.663974 | 0.253012 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5333d8e7565a534c9d2074efbda17f364ae2f9e0 | 96 | py | Python | google_maps/apps.py | OSAMAMOHAMED1234/google_maps_api_django | 38e5fd202f36df98c68e1b975bce553fab6e1c91 | [
"MIT"
] | 1 | 2020-05-24T12:18:28.000Z | 2020-05-24T12:18:28.000Z | google_maps/apps.py | osama-mohamed/google_maps_api_django | 38e5fd202f36df98c68e1b975bce553fab6e1c91 | [
"MIT"
] | null | null | null | google_maps/apps.py | osama-mohamed/google_maps_api_django | 38e5fd202f36df98c68e1b975bce553fab6e1c91 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GoogleMapsConfig(AppConfig):
name = 'google_maps'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 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 |
535740ab81ce24f205675a0108e34421f0e600f6 | 6,985 | py | Python | cogs/mod.py | coltongit/discord-bot | 23c6b6b9f2d59ae23ed561cb231df6d02a77e59c | [
"MIT"
] | null | null | null | cogs/mod.py | coltongit/discord-bot | 23c6b6b9f2d59ae23ed561cb231df6d02a77e59c | [
"MIT"
] | null | null | null | cogs/mod.py | coltongit/discord-bot | 23c6b6b9f2d59ae23ed561cb231df6d02a77e59c | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
import asyncio
class Mod():
def __init__(self, bot):
self.bot = bot
@commands.command()
@commands.has_permissions(kick_members=True)
async def kick(self, ctx, user, *, reason=None):
mod_log = await self.bot.db.config.find_one({"_id": ctx.guild.id})
if user.sta... | 39.022346 | 125 | 0.693629 | 1,044 | 6,985 | 4.533525 | 0.12069 | 0.031692 | 0.040566 | 0.044369 | 0.77921 | 0.757448 | 0.724699 | 0.703782 | 0.642721 | 0.642721 | 0 | 0.000497 | 0.136435 | 6,985 | 179 | 126 | 39.022346 | 0.784151 | 0 | 0 | 0.627329 | 0 | 0 | 0.156885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012422 | false | 0 | 0.018634 | 0 | 0.037267 | 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 |
5364ae558943ceb170c78a11cc7d048ead8bd8b2 | 58 | py | Python | testdata/class_with_private_method.py | maet3608/splint | 2b8b7277bcc752a6005bde275c0f3d28d9d847b0 | [
"Apache-2.0"
] | 3 | 2019-09-18T23:12:08.000Z | 2020-05-21T00:55:29.000Z | testdata/class_with_private_method.py | maet3608/splint | 2b8b7277bcc752a6005bde275c0f3d28d9d847b0 | [
"Apache-2.0"
] | null | null | null | testdata/class_with_private_method.py | maet3608/splint | 2b8b7277bcc752a6005bde275c0f3d28d9d847b0 | [
"Apache-2.0"
] | null | null | null | class Foo:
def _add(self, a, b):
return a + b
| 14.5 | 25 | 0.5 | 10 | 58 | 2.8 | 0.8 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 58 | 3 | 26 | 19.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5366f63577ab02bcdacf5d01746d99d0c916b406 | 317 | py | Python | pytility/__init__.py | MarkusShepherd/pytility | 176829db796541d0fb482b14c251167e58ae2de2 | [
"MIT"
] | 1 | 2019-11-04T19:21:06.000Z | 2019-11-04T19:21:06.000Z | pytility/__init__.py | MarkusShepherd/pytility | 176829db796541d0fb482b14c251167e58ae2de2 | [
"MIT"
] | 4 | 2020-03-24T18:11:03.000Z | 2021-06-02T00:58:32.000Z | pytility/__init__.py | MarkusShepherd/pytility | 176829db796541d0fb482b14c251167e58ae2de2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Initialisations."""
from .__version__ import VERSION, __version__
from .files import concat_files
from .iterables import arg_to_iter, batchify, clear_list, take_first, window
from .parsers import parse_bool, parse_date, parse_float, parse_int
from .strings import normalize_space, to_str
| 31.7 | 76 | 0.788644 | 44 | 317 | 5.25 | 0.659091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003571 | 0.116719 | 317 | 9 | 77 | 35.222222 | 0.821429 | 0.123028 | 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 |
725eaf3b413ee3aab104943c25a2427bb5467b2f | 57 | py | Python | entangle/tests/__init__.py | radiantone/entangle | 82ee5adaf5a3e40bca5b049e272736d3a8322568 | [
"MIT"
] | 102 | 2021-04-02T22:15:24.000Z | 2022-02-02T10:13:48.000Z | entangle/tests/__init__.py | radiantone/entangle | 82ee5adaf5a3e40bca5b049e272736d3a8322568 | [
"MIT"
] | null | null | null | entangle/tests/__init__.py | radiantone/entangle | 82ee5adaf5a3e40bca5b049e272736d3a8322568 | [
"MIT"
] | 7 | 2021-06-01T01:52:57.000Z | 2021-07-12T22:58:27.000Z | """
tests
~~~~~
Test suite for the py_pkg package..
"""
| 8.142857 | 35 | 0.578947 | 8 | 57 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 57 | 6 | 36 | 9.5 | 0.695652 | 0.842105 | 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 |
726639eca50ac15b530ee6a9a79fb4dd9845b3f1 | 359 | py | Python | tests/test_combine.py | sushi-chaaaan/discord-ext-ui-fork | aa726b97ee1cd4c60974e74d3c9113142131a76e | [
"MIT"
] | 27 | 2021-05-28T10:43:50.000Z | 2022-03-29T14:30:17.000Z | tests/test_combine.py | sushi-chaaaan/discord-ext-ui-fork | aa726b97ee1cd4c60974e74d3c9113142131a76e | [
"MIT"
] | 13 | 2021-05-29T01:13:12.000Z | 2022-01-08T14:53:21.000Z | tests/test_combine.py | sushi-chaaaan/discord-ext-ui-fork | aa726b97ee1cd4c60974e74d3c9113142131a76e | [
"MIT"
] | 13 | 2021-06-08T15:21:36.000Z | 2022-02-07T13:23:00.000Z | from discord.ext.ui.combine import Just, PassThroughSubject
def assert_two(x, y):
assert x == y
def test_just_1():
Just(1).sink(lambda x: assert_two(x, 1))
def test_just_2():
Just(2).map(lambda x: x * 2).sink(lambda x: assert_two(x, 4))
def test_subject_1():
sub = PassThroughSubject()
sub.si... | 18.894737 | 65 | 0.665738 | 63 | 359 | 3.634921 | 0.365079 | 0.157205 | 0.174672 | 0.222707 | 0.283843 | 0.283843 | 0.19214 | 0 | 0 | 0 | 0 | 0.034014 | 0.181059 | 359 | 18 | 66 | 19.944444 | 0.744898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.4 | false | 0.2 | 0.1 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
72726127e1a6fb697c1e68ceb53b15830991069e | 738 | py | Python | mindseg/data/segbase.py | BebDong/MindSeg | 9841eec7200de6124a905f4e2b31ba7af4cc8cf6 | [
"Apache-2.0"
] | 2 | 2021-03-18T08:26:03.000Z | 2022-03-15T12:53:34.000Z | mindseg/data/segbase.py | BebDong/MindSeg | 9841eec7200de6124a905f4e2b31ba7af4cc8cf6 | [
"Apache-2.0"
] | null | null | null | mindseg/data/segbase.py | BebDong/MindSeg | 9841eec7200de6124a905f4e2b31ba7af4cc8cf6 | [
"Apache-2.0"
] | 1 | 2022-03-22T06:03:15.000Z | 2022-03-22T06:03:15.000Z | # coding=utf-8
import os
from abc import abstractmethod
__all__ = ['SegDataset']
class SegDataset:
def __init__(self, root, split, shard_num=1):
if not os.path.isdir(root):
raise OSError(f"{root} is not a valid directory.")
self.root = root
self.split = split
self.sha... | 20.5 | 62 | 0.654472 | 83 | 738 | 5.626506 | 0.445783 | 0.256959 | 0.239829 | 0.269807 | 0.30621 | 0.20985 | 0 | 0 | 0 | 0 | 0 | 0.003717 | 0.271003 | 738 | 35 | 63 | 21.085714 | 0.864312 | 0.01626 | 0 | 0.4 | 0 | 0 | 0.058011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.08 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72bd5dbfa30946588263cd760e685b3415bc36f4 | 800 | py | Python | pydzcvr/networkDiscovery/openstack/keystone.py | cboling/pydzcvr | ecac703030d27d00a325fde49a363a6f83f9dd6f | [
"Artistic-2.0"
] | null | null | null | pydzcvr/networkDiscovery/openstack/keystone.py | cboling/pydzcvr | ecac703030d27d00a325fde49a363a6f83f9dd6f | [
"Artistic-2.0"
] | null | null | null | pydzcvr/networkDiscovery/openstack/keystone.py | cboling/pydzcvr | ecac703030d27d00a325fde49a363a6f83f9dd6f | [
"Artistic-2.0"
] | 1 | 2018-03-21T23:14:45.000Z | 2018-03-21T23:14:45.000Z | '''
@author: Chip Boling
@copyright: 2015 Boling Consulting Solutions. All rights reserved.
@license: Artistic License 2.0, http://opensource.org/licenses/Artistic-2.0
@contact: support@bcsw.net
@deffield updated: Updated
'''
import keystone
import neutron
def discoverAllNodes():
'''
Discover all n... | 23.529412 | 77 | 0.66875 | 95 | 800 | 5.631579 | 0.810526 | 0.007477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013491 | 0.25875 | 800 | 34 | 78 | 23.529412 | 0.888702 | 0.08625 | 0 | 0 | 0 | 0 | 0.139785 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | null | null | 0.166667 | 0.333333 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
72e1a02a5b8e77f23a9b756be2951466409cf819 | 1,221 | py | Python | ChangeTest.py | Bjornkjohnson/makeChangePython | 4e60aa09160d269b60af4d0b09f421cdf3b7547a | [
"MIT"
] | null | null | null | ChangeTest.py | Bjornkjohnson/makeChangePython | 4e60aa09160d269b60af4d0b09f421cdf3b7547a | [
"MIT"
] | null | null | null | ChangeTest.py | Bjornkjohnson/makeChangePython | 4e60aa09160d269b60af4d0b09f421cdf3b7547a | [
"MIT"
] | null | null | null | import unittest
from Change import *
class ChangeTest(unittest.TestCase):
def setUp(self):
self.change = Change()
def test_zero_cents(self):
self.assertEqual(self.change.makeChange(0), {})
def test_one_cent(self):
self.assertEqual(self.change.makeChange(1), {'p':1})
def test_four_cents(self... | 28.395349 | 85 | 0.678133 | 183 | 1,221 | 4.338798 | 0.256831 | 0.120907 | 0.263224 | 0.31864 | 0.63602 | 0.63602 | 0.586902 | 0.365239 | 0 | 0 | 0 | 0.034059 | 0.134316 | 1,221 | 43 | 86 | 28.395349 | 0.717124 | 0 | 0 | 0 | 0 | 0 | 0.022095 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 1 | 0.413793 | false | 0 | 0.068966 | 0 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
72eab1325205f4857d821b3491b0effdd79328d8 | 202 | py | Python | circlet/expositions/views.py | kk6/circlet | 6efc373dc357a9dbc6358f55b4f3bedc8e9ea553 | [
"MIT"
] | null | null | null | circlet/expositions/views.py | kk6/circlet | 6efc373dc357a9dbc6358f55b4f3bedc8e9ea553 | [
"MIT"
] | null | null | null | circlet/expositions/views.py | kk6/circlet | 6efc373dc357a9dbc6358f55b4f3bedc8e9ea553 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.views.generic import ListView
from .models import Exposition
class ExpositionListView(ListView):
model = Exposition
template_name = "expositions/list.html"
| 22.444444 | 43 | 0.742574 | 23 | 202 | 6.478261 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.153465 | 202 | 8 | 44 | 25.25 | 0.865497 | 0.10396 | 0 | 0 | 0 | 0 | 0.117318 | 0.117318 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f400b55f0c9c487a9c75de483021499ff3fddabc | 1,258 | py | Python | dailybbble/service.py | ahmetalpbalkan/dailybbble | 7a067e30d709ebc1a9b4932320794c484a04c4f5 | [
"Apache-2.0"
] | 2 | 2015-11-04T09:31:27.000Z | 2016-04-25T10:24:49.000Z | dailybbble/service.py | ahmetalpbalkan/dailybbble | 7a067e30d709ebc1a9b4932320794c484a04c4f5 | [
"Apache-2.0"
] | null | null | null | dailybbble/service.py | ahmetalpbalkan/dailybbble | 7a067e30d709ebc1a9b4932320794c484a04c4f5 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
from . import database
from . import cache
"""
Provides information from database to front-end methods by adding a
caching layer
"""
CACHE_TTL_MINS = 30
def popular_shots_of_day(day, count):
cache_key = 'popular_{0}#{1}'.format(day, count)
cached = cache.get(cache_key)
if cached:
... | 23.735849 | 75 | 0.662162 | 180 | 1,258 | 4.372222 | 0.261111 | 0.091487 | 0.060991 | 0.060991 | 0.810673 | 0.790343 | 0.729352 | 0.623888 | 0.623888 | 0.623888 | 0 | 0.019751 | 0.235294 | 1,258 | 52 | 76 | 24.192308 | 0.798337 | 0.009539 | 0 | 0.580645 | 0 | 0 | 0.047619 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.064516 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f4226fc0e307bc913ed198bacddf31d3aaa2181d | 193 | py | Python | Darlington/phase1/python Basic 1/day 4 solution/qtn7.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 1/day 4 solution/qtn7.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 1/day 4 solution/qtn7.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program concatenate
def concatenate_list_data(list):
result= ''
for element in list:
result += str(element)
return result
print(concatenate_list_data([4, 6, 2, 0, 34, 8])) | 24.125 | 49 | 0.668394 | 27 | 193 | 4.62963 | 0.666667 | 0.24 | 0.304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 0.212435 | 193 | 8 | 49 | 24.125 | 0.776316 | 0.098446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0.166667 | 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 |
f427b125de729cb818a807d8b9f8309e514ab49c | 61 | py | Python | tests/environment/post_update.py | initOS/dob-lib | a07ea11fb40d7bdc1714b96da52fbc89ed37fb7b | [
"Apache-2.0"
] | null | null | null | tests/environment/post_update.py | initOS/dob-lib | a07ea11fb40d7bdc1714b96da52fbc89ed37fb7b | [
"Apache-2.0"
] | null | null | null | tests/environment/post_update.py | initOS/dob-lib | a07ea11fb40d7bdc1714b96da52fbc89ed37fb7b | [
"Apache-2.0"
] | null | null | null | def migrate(env, db_version):
env.check(str(db_version))
| 20.333333 | 30 | 0.721311 | 10 | 61 | 4.2 | 0.7 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 31 | 30.5 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f4436e1be35a452c43b5dea05bdc4456e1f01b3c | 56 | py | Python | code_pack/utilities/abaqus/__init__.py | DedaoLiu/Postprocessing-3D | e89822a1110f20f02b652d5a8a2ef4ec08697aac | [
"MIT"
] | null | null | null | code_pack/utilities/abaqus/__init__.py | DedaoLiu/Postprocessing-3D | e89822a1110f20f02b652d5a8a2ef4ec08697aac | [
"MIT"
] | null | null | null | code_pack/utilities/abaqus/__init__.py | DedaoLiu/Postprocessing-3D | e89822a1110f20f02b652d5a8a2ef4ec08697aac | [
"MIT"
] | 1 | 2020-08-27T17:07:27.000Z | 2020-08-27T17:07:27.000Z | '''
Created on 29/03/2012
@author: Daniel Stojanov
'''
| 9.333333 | 24 | 0.660714 | 8 | 56 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0.160714 | 56 | 5 | 25 | 11.2 | 0.617021 | 0.839286 | 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 |
f48ec088120e8c9be6c1d04963be3c68ed4e5f49 | 4,521 | py | Python | lib/assets/Lib/_testcapi.py | s6007589/cafe-grader-web | 18a993801c698fb7b7ec6ae5f4b67920503cb242 | [
"MIT"
] | 25 | 2016-09-04T07:34:13.000Z | 2022-02-14T07:39:02.000Z | lib/assets/Lib/_testcapi.py | it56660024/cafe-grader-web | e9a1305fd62e79e54f6961f97ddc5cd57bafd73c | [
"MIT"
] | 25 | 2015-02-05T03:59:27.000Z | 2022-02-11T16:54:04.000Z | lib/assets/Lib/_testcapi.py | it56660024/cafe-grader-web | e9a1305fd62e79e54f6961f97ddc5cd57bafd73c | [
"MIT"
] | 16 | 2016-09-05T00:30:27.000Z | 2021-12-05T11:07:02.000Z |
CHAR_MAX = 127
CHAR_MIN = -128
DBL_MAX = 1.7976931348623157e+308
DBL_MIN = 2.2250738585072014e-308
FLT_MAX = 3.4028234663852886e+38
FLT_MIN = 1.1754943508222875e-38
INT_MAX = 2147483647
INT_MIN = -2147483648
LLONG_MAX = 9223372036854775807
LLONG_MIN = -9223372036854775808
LONG_MAX = 2147... | 15.536082 | 76 | 0.6357 | 634 | 4,521 | 4.255521 | 0.23817 | 0.173462 | 0.285397 | 0.351742 | 0.536694 | 0.385841 | 0.22387 | 0.168273 | 0.168273 | 0.141586 | 0 | 0.071305 | 0.230701 | 4,521 | 290 | 77 | 15.589655 | 0.704428 | 0.00752 | 0 | 0.437838 | 0 | 0 | 0.01432 | 0.009069 | 0 | 0 | 0.002387 | 0 | 0 | 1 | 0.421622 | false | 0.437838 | 0.005405 | 0 | 0.443243 | 0.010811 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f4901bcd0441c3b17f92d0b0b097025ffaec699e | 382 | py | Python | stocks/tests/views/__init__.py | pchaos/wanggeService | 839f7c6c52a685fcdc4b6a70cf8e9d6c8cc78255 | [
"MIT"
] | 11 | 2018-05-15T18:02:31.000Z | 2020-05-07T03:57:33.000Z | stocks/tests/views/__init__.py | pchaos/wanggeService | 839f7c6c52a685fcdc4b6a70cf8e9d6c8cc78255 | [
"MIT"
] | 1 | 2018-05-16T11:27:32.000Z | 2018-07-07T10:56:58.000Z | stocks/tests/views/__init__.py | pchaos/wanggeService | 839f7c6c52a685fcdc4b6a70cf8e9d6c8cc78255 | [
"MIT"
] | 13 | 2018-05-15T18:02:27.000Z | 2022-03-23T06:18:29.000Z | # -*- coding: utf-8 -*-
"""
-------------------------------------------------
@File : __init__.py.py
Description :
@Author : pchaos
date: 18-6-9
-------------------------------------------------
Change Activity:
18-6-9:
@Contact : p19992003#gmail.com
-------------... | 21.222222 | 49 | 0.301047 | 25 | 382 | 4.28 | 0.76 | 0.224299 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057047 | 0.219895 | 382 | 18 | 50 | 21.222222 | 0.302013 | 0.918848 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
be673cfd0c057a7a112545f28948a8b143b998b4 | 3,536 | py | Python | test.py | eximius8/safety-class-report-cloud-function | e735af8be28c138bddb70d1280285a2a2582b554 | [
"BSD-2-Clause"
] | null | null | null | test.py | eximius8/safety-class-report-cloud-function | e735af8be28c138bddb70d1280285a2a2582b554 | [
"BSD-2-Clause"
] | null | null | null | test.py | eximius8/safety-class-report-cloud-function | e735af8be28c138bddb70d1280285a2a2582b554 | [
"BSD-2-Clause"
] | null | null | null | from main import generate_waste_rep
import json
# @todo write tests
"""
data = { "name": "Отход 1", \
"fkko": "78 946 46",\
"safety_class": "IV", \
"k": "45456",
'filename': 'tesss',
'safe_components': [],
"components": \
{"кК... | 32.440367 | 185 | 0.406957 | 295 | 3,536 | 4.847458 | 0.447458 | 0.024476 | 0.031469 | 0.036364 | 0.404196 | 0.404196 | 0.391608 | 0.391608 | 0.391608 | 0.369231 | 0 | 0.064954 | 0.416572 | 3,536 | 109 | 186 | 32.440367 | 0.628211 | 0.077206 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
be6a591fbd3b864d537d013f9557f983227c3ea3 | 55 | py | Python | src/acru_l/resources/ses/__init__.py | quadio-media/acru-l | 3bcc1e1bc83e605c8029169bef21775f1de7b69f | [
"MIT"
] | null | null | null | src/acru_l/resources/ses/__init__.py | quadio-media/acru-l | 3bcc1e1bc83e605c8029169bef21775f1de7b69f | [
"MIT"
] | null | null | null | src/acru_l/resources/ses/__init__.py | quadio-media/acru-l | 3bcc1e1bc83e605c8029169bef21775f1de7b69f | [
"MIT"
] | 1 | 2020-12-30T19:42:37.000Z | 2020-12-30T19:42:37.000Z | from .verfication import SESVerification # noqa: F401
| 27.5 | 54 | 0.8 | 6 | 55 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.145455 | 55 | 1 | 55 | 55 | 0.87234 | 0.181818 | 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 |
be6a9361302d239b513ff72d80b133b6a73c4206 | 56 | py | Python | projeto/ex021.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | projeto/ex021.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | projeto/ex021.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | from playsound import playsound
playsound('ex021.mp3')
| 14 | 31 | 0.803571 | 7 | 56 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.107143 | 56 | 3 | 32 | 18.666667 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 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 |
be6c2c8fa6990386271017ecb1be42c2bebdb3fb | 163 | py | Python | password.py | narenkumar205/CoinBot | 0c3bef8272b29f6ab04370786ca175575662742d | [
"MIT"
] | null | null | null | password.py | narenkumar205/CoinBot | 0c3bef8272b29f6ab04370786ca175575662742d | [
"MIT"
] | null | null | null | password.py | narenkumar205/CoinBot | 0c3bef8272b29f6ab04370786ca175575662742d | [
"MIT"
] | null | null | null | KEY = MzExMTQ3MTg0MzIwMDIwNDgw.YgJ84w.wMRzRXGVC-HGvpQbSHbH_zCQR-w
IEX_TOKEN = pk_7c00f1c14b964b759e6b774cb9fa1c1b
CMK_TOKEN = c9072db9-a2ab-4800-88fe-3e325c118eb6
| 40.75 | 65 | 0.877301 | 18 | 163 | 7.722222 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279221 | 0.055215 | 163 | 3 | 66 | 54.333333 | 0.623377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bea2c00fdd07c16e09b9b580838b4a2bbc6e1cea | 160 | py | Python | tdpExport/dev_exporter.py | TranscribeToTEI/pyAdmin | b9e9fb61d7058c037364bbba578e56d88e9c0d5c | [
"MIT"
] | null | null | null | tdpExport/dev_exporter.py | TranscribeToTEI/pyAdmin | b9e9fb61d7058c037364bbba578e56d88e9c0d5c | [
"MIT"
] | null | null | null | tdpExport/dev_exporter.py | TranscribeToTEI/pyAdmin | b9e9fb61d7058c037364bbba578e56d88e9c0d5c | [
"MIT"
] | null | null | null | from tdpExport.exporter import exporter
url_strict = "https://tdp.karl-pineau.fr"
url_api = "https://tdp.karl-pineau.fr/api/web"
exporter(url_api, url_strict)
| 26.666667 | 46 | 0.76875 | 26 | 160 | 4.576923 | 0.5 | 0.184874 | 0.201681 | 0.302521 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 160 | 5 | 47 | 32 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe2a1cbe14d4d83f1c6f87559154a75c30bc34f9 | 80 | py | Python | api/tests/test_api.py | dumrich/Stockify | 949e741cfdfec32f9b590f19263d829d97fb669d | [
"MIT"
] | 1 | 2020-06-30T15:16:16.000Z | 2020-06-30T15:16:16.000Z | api/tests/test_api.py | dumrich/Stockify | 949e741cfdfec32f9b590f19263d829d97fb669d | [
"MIT"
] | null | null | null | api/tests/test_api.py | dumrich/Stockify | 949e741cfdfec32f9b590f19263d829d97fb669d | [
"MIT"
] | null | null | null | from rest_framework import APIRequestFactory
from
factory = APIRequestFactory()
| 20 | 44 | 0.8625 | 8 | 80 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 3 | 45 | 26.666667 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fe4d88d1ce75be32a2675bef03f1f5dda3366460 | 2,784 | py | Python | monk/gluon/schedulers/schedulers.py | Shreyashwaghe/monk_v1 | 4ee4d9483e8ffac9b73a41f3c378e5abf5fc799b | [
"Apache-2.0"
] | 2 | 2020-09-16T06:05:50.000Z | 2021-04-07T12:05:20.000Z | monk/gluon/schedulers/schedulers.py | Shreyashwaghe/monk_v1 | 4ee4d9483e8ffac9b73a41f3c378e5abf5fc799b | [
"Apache-2.0"
] | null | null | null | monk/gluon/schedulers/schedulers.py | Shreyashwaghe/monk_v1 | 4ee4d9483e8ffac9b73a41f3c378e5abf5fc799b | [
"Apache-2.0"
] | null | null | null | from gluon.schedulers.imports import *
from system.imports import *
@accepts(dict, post_trace=True)
@TraceFunction(trace_args=False, trace_rv=False)
def scheduler_fixed(system_dict):
'''
Set learning rate fixed
Args:
system_dict (dict): System dictionary storing experiment state and set variables... | 40.347826 | 105 | 0.715158 | 350 | 2,784 | 5.485714 | 0.222857 | 0.125 | 0.13125 | 0.117188 | 0.793229 | 0.773438 | 0.773438 | 0.773438 | 0.623438 | 0.623438 | 0 | 0.002578 | 0.164152 | 2,784 | 68 | 106 | 40.941176 | 0.822518 | 0.342313 | 0 | 0.384615 | 0 | 0 | 0.333723 | 0.161309 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.076923 | 0 | 0.307692 | 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 |
fe53cac0b82245adab9fa7f37c7b0318535dde7b | 1,146 | py | Python | xharvest/handlers/login.py | vyscond/py-xharvest | 10cb6a78ddd86d2b0cf73f1eaaf47d97e839fbe8 | [
"MIT"
] | null | null | null | xharvest/handlers/login.py | vyscond/py-xharvest | 10cb6a78ddd86d2b0cf73f1eaaf47d97e839fbe8 | [
"MIT"
] | 21 | 2020-04-26T18:22:24.000Z | 2020-08-09T23:23:20.000Z | xharvest/handlers/login.py | vyscond/py-xharvest | 10cb6a78ddd86d2b0cf73f1eaaf47d97e839fbe8 | [
"MIT"
] | null | null | null | from xharvest.data import get_img_path
from xharvest.handlers.base import Handler
from xharvest.handlers.login_pat import LoginPersonalAccessTokenHandler
# from xharvest.handlers.login_oauth2 import LoginOAuth2Handler
class LoginHandler(Handler):
def bind_data(self):
self.get_widget("imageAppLogo")\
... | 36.967742 | 71 | 0.699825 | 148 | 1,146 | 5.182432 | 0.472973 | 0.045632 | 0.084746 | 0.066493 | 0.159061 | 0.10691 | 0.10691 | 0.10691 | 0.10691 | 0.10691 | 0 | 0.004425 | 0.211169 | 1,146 | 30 | 72 | 38.2 | 0.844027 | 0.310646 | 0 | 0 | 0 | 0 | 0.053846 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.294118 | false | 0.058824 | 0.176471 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
fe89732498cde21bf8835a39379baa460327e257 | 161 | py | Python | epookman_gui/ui/widgets/__init__.py | BishrGhalil/epookman-gui | f6cca901b7db6f92f096290f4a9b44fa9055b2dd | [
"MIT"
] | 1 | 2022-03-16T17:49:35.000Z | 2022-03-16T17:49:35.000Z | epookman_gui/ui/widgets/__init__.py | BishrGhalil/epookman-gui | f6cca901b7db6f92f096290f4a9b44fa9055b2dd | [
"MIT"
] | null | null | null | epookman_gui/ui/widgets/__init__.py | BishrGhalil/epookman-gui | f6cca901b7db6f92f096290f4a9b44fa9055b2dd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of epookman.
# License: MIT, see the file "LICENCS" for details.
"""UI Widgets for epookman"""
| 26.833333 | 51 | 0.658385 | 25 | 161 | 4.24 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.167702 | 161 | 5 | 52 | 32.2 | 0.783582 | 0.913043 | 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 |
fe89795ea464e68662e6491b92f66942bb89b73d | 254 | py | Python | server/events/views.py | Samwisebuze/semi-automatic-pancake | ea758855276efca84d722fb966a394d221cdaa01 | [
"MIT"
] | null | null | null | server/events/views.py | Samwisebuze/semi-automatic-pancake | ea758855276efca84d722fb966a394d221cdaa01 | [
"MIT"
] | 4 | 2019-11-02T13:51:41.000Z | 2021-04-08T20:39:22.000Z | server/events/views.py | Samwisebuze/semi-automatic-pancake | ea758855276efca84d722fb966a394d221cdaa01 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from .models import Event
from .serializers import EventSerializer
from rest_framework import viewsets
class EventView(viewsets.ModelViewSet):
queryset = Event.objects.all()
serializer_class = EventSerializer | 28.222222 | 40 | 0.818898 | 29 | 254 | 7.103448 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129921 | 254 | 9 | 41 | 28.222222 | 0.932127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 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 |
fe9752da7e56ec4f714585ac11cce223fc842bb7 | 100 | py | Python | schedule/show_schedule/apps.py | zwangZJU/Schedule | 5441fa4f681406c3015b9201425ca07ed1bc8dae | [
"Apache-2.0"
] | null | null | null | schedule/show_schedule/apps.py | zwangZJU/Schedule | 5441fa4f681406c3015b9201425ca07ed1bc8dae | [
"Apache-2.0"
] | null | null | null | schedule/show_schedule/apps.py | zwangZJU/Schedule | 5441fa4f681406c3015b9201425ca07ed1bc8dae | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ShowScheduleConfig(AppConfig):
name = 'show_schedule'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 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 |
fea8c0f14375722b82620648fe27da93985969c6 | 125 | py | Python | MODULES_2/__init__.py | dgattiwsu/g_CXR-Net | 684a736b5bb0bf9961ccf9046481a7e561b66893 | [
"Apache-2.0"
] | 2 | 2021-05-25T14:05:24.000Z | 2021-11-10T07:19:27.000Z | run_CXR-Net/MODULES_2/__init__.py | dgattiwsu/CXR-Net | d6ee3e7a5642242f9581b7747e79813d20785ec8 | [
"Apache-2.0"
] | null | null | null | run_CXR-Net/MODULES_2/__init__.py | dgattiwsu/CXR-Net | d6ee3e7a5642242f9581b7747e79813d20785ec8 | [
"Apache-2.0"
] | null | null | null | # import Blocks
# import Constants
# import Generators
# import Losses
# import Networks
# import Utils
# import Attention
| 12.5 | 19 | 0.76 | 14 | 125 | 6.785714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184 | 125 | 9 | 20 | 13.888889 | 0.931373 | 0.864 | 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 |
feadbdfad0bfc6139f6deb1afabca00f35030c42 | 216 | py | Python | simple_face_detection.py | 26medias/opencv-machine-vision-pipeline | 51743a905327744ab73b8b80d7be9c9ceb0c4507 | [
"MIT"
] | null | null | null | simple_face_detection.py | 26medias/opencv-machine-vision-pipeline | 51743a905327744ab73b8b80d7be9c9ceb0c4507 | [
"MIT"
] | null | null | null | simple_face_detection.py | 26medias/opencv-machine-vision-pipeline | 51743a905327744ab73b8b80d7be9c9ceb0c4507 | [
"MIT"
] | null | null | null | #from vision_pipeline.framework import VisionFramework
from vision_pipeline import framework
visionPipeline = framework.VisionFramework(settings="settings/face_detection.json")
visionPipeline.capture(src=0, fps=30) | 36 | 83 | 0.856481 | 25 | 216 | 7.28 | 0.64 | 0.10989 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014851 | 0.064815 | 216 | 6 | 84 | 36 | 0.886139 | 0.24537 | 0 | 0 | 0 | 0 | 0.171779 | 0.171779 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
feafaacbe68fba000f2b0ec8d011e9ba9a0649c1 | 137 | py | Python | create_cluster_for_examples.py | kialo/aioredis | d332e6ca1229cba467d8e9e71953b0b1914a381d | [
"MIT"
] | 1 | 2018-04-14T16:31:56.000Z | 2018-04-14T16:31:56.000Z | create_cluster_for_examples.py | kialo/aioredis | d332e6ca1229cba467d8e9e71953b0b1914a381d | [
"MIT"
] | 3 | 2016-05-30T14:40:22.000Z | 2018-05-29T13:08:45.000Z | create_cluster_for_examples.py | ymap/aioredis | d332e6ca1229cba467d8e9e71953b0b1914a381d | [
"MIT"
] | 4 | 2017-11-29T14:56:21.000Z | 2018-11-05T03:33:27.000Z | from aioredis.cluster.testcluster import TestCluster
cluster = TestCluster(list(range(7001, 7007)), '/tmp/rediscluster')
cluster.setup() | 34.25 | 67 | 0.79562 | 16 | 137 | 6.8125 | 0.75 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 0.072993 | 137 | 4 | 68 | 34.25 | 0.795276 | 0 | 0 | 0 | 0 | 0 | 0.123188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
22803a0a6284eaff3886a2dee6a426b6ef78f66e | 108 | py | Python | nunif/modules/__init__.py | jb2020-super/nunif | eab6952d93e85951ed4e4cff30cd26c09e1dbb63 | [
"MIT"
] | 18 | 2020-05-21T18:52:19.000Z | 2022-03-07T08:47:00.000Z | nunif/modules/__init__.py | jb2020-super/nunif | eab6952d93e85951ed4e4cff30cd26c09e1dbb63 | [
"MIT"
] | 1 | 2021-03-24T03:47:50.000Z | 2021-03-24T03:47:50.000Z | nunif/modules/__init__.py | jb2020-super/nunif | eab6952d93e85951ed4e4cff30cd26c09e1dbb63 | [
"MIT"
] | 3 | 2021-02-18T08:51:26.000Z | 2022-02-16T09:01:18.000Z | from . se_block import SEBlock
from . inplace_clip import InplaceClip
__all__ = ["SEBlock", "InplaceClip"]
| 21.6 | 38 | 0.768519 | 13 | 108 | 5.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 4 | 39 | 27 | 0.827957 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
2292b60130115098facf3cdec10a972e44b9bde0 | 409 | py | Python | sphericalquadpy/tools/__init__.py | camminady/sphericalquadpy | 0646547cc69e27de7ce36f4b519d4f420ef443e7 | [
"MIT"
] | 1 | 2020-11-15T23:47:48.000Z | 2020-11-15T23:47:48.000Z | ext/steffensCode/ext/sphericalquadpy/tools/__init__.py | ScSteffen/neuralEntropyComparison | b54a823db595cc84717954fa84a9fb0d2f52e7b1 | [
"MIT"
] | 1 | 2019-04-09T08:38:21.000Z | 2019-04-09T08:38:21.000Z | ext/steffensCode/ext/sphericalquadpy/tools/__init__.py | ScSteffen/neuralEntropyComparison | b54a823db595cc84717954fa84a9fb0d2f52e7b1 | [
"MIT"
] | 1 | 2020-12-19T21:12:59.000Z | 2020-12-19T21:12:59.000Z | # pylint: disable=C0111
from .rotations import (
randomanglerotate,
randomaxisrotate,
randomrotate,
rotate,
rotationmatrix,
)
from .transformations import xyz2thetaphi, thetaphi2xyz
from .sphericalharmonics import ylm
__all__ = [
"randomanglerotate",
"randomaxisrotate",
"randomrotate",
... | 18.590909 | 55 | 0.687042 | 29 | 409 | 9.551724 | 0.586207 | 0.238267 | 0.32491 | 0.368231 | 0.469314 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0.212714 | 409 | 21 | 56 | 19.47619 | 0.835404 | 0.051345 | 0 | 0 | 0 | 0 | 0.238342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.157895 | 0 | 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 |
22dbd44e4176a6cbfce7c014bc3e9118271b22f4 | 339 | py | Python | libartipy/IO/__init__.py | Artisense-ai/libartipy | 7a6a7736637c106e7e9c6763ec8c1dea64db4b01 | [
"MIT"
] | 5 | 2021-06-15T13:01:51.000Z | 2021-12-04T04:26:08.000Z | libartipy/IO/__init__.py | Artisense-ai/libartipy | 7a6a7736637c106e7e9c6763ec8c1dea64db4b01 | [
"MIT"
] | null | null | null | libartipy/IO/__init__.py | Artisense-ai/libartipy | 7a6a7736637c106e7e9c6763ec8c1dea64db4b01 | [
"MIT"
] | 3 | 2021-06-18T10:37:04.000Z | 2021-11-15T05:55:29.000Z | from .input_output import filename_sort, convert_color_from_hex_to_rgb, \
get_timestamp_from_filename, get_timestamp_from_keyframe_filename, str2bool
from .input_output import data_to_16bit_png, image_to_plasma_png, \
encode_data_image_to_16bit, decode_data_image_from_16bit_file
from .kf_file_preprocessing impo... | 56.5 | 79 | 0.879056 | 51 | 339 | 5.215686 | 0.509804 | 0.067669 | 0.112782 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022581 | 0.085546 | 339 | 5 | 80 | 67.8 | 0.835484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
22f89f93bab23c1502ea76ca7511d3d867baff16 | 90 | py | Python | hello.py | cag2as/cs3240-labdemo | 4f37cdf8dd1bf11842b4b8b0694ee322233ddbea | [
"MIT"
] | null | null | null | hello.py | cag2as/cs3240-labdemo | 4f37cdf8dd1bf11842b4b8b0694ee322233ddbea | [
"MIT"
] | null | null | null | hello.py | cag2as/cs3240-labdemo | 4f37cdf8dd1bf11842b4b8b0694ee322233ddbea | [
"MIT"
] | null | null | null | __author__ = 'cag2as'
from helper import greeting
#calls from helper
greeting("hello")
| 11.25 | 27 | 0.755556 | 11 | 90 | 5.818182 | 0.727273 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.155556 | 90 | 7 | 28 | 12.857143 | 0.828947 | 0.188889 | 0 | 0 | 0 | 0 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fe09fc9be3c7288777bb32be3ada3f93a60f9005 | 360 | py | Python | py_src/star_tracker/star_tracker/__init__.py | Jormungandr1105/COTS-Star-Tracker | 85acd89d6b3801a8d8489de5d7586dd2c6ea0847 | [
"BSD-3-Clause"
] | 4 | 2021-08-20T18:45:27.000Z | 2022-01-21T00:30:46.000Z | py_src/star_tracker/star_tracker/__init__.py | Jormungandr1105/COTS-Star-Tracker | 85acd89d6b3801a8d8489de5d7586dd2c6ea0847 | [
"BSD-3-Clause"
] | null | null | null | py_src/star_tracker/star_tracker/__init__.py | Jormungandr1105/COTS-Star-Tracker | 85acd89d6b3801a8d8489de5d7586dd2c6ea0847 | [
"BSD-3-Clause"
] | 1 | 2022-01-22T17:50:51.000Z | 2022-01-22T17:50:51.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
'''
__init__.py
This script is intended to enable installation
'''
################################
#LOAD LIBRARIES
################################
import os
import sys
################################
#MAIN CODE
################################
sys.path.append(os.path.d... | 14.4 | 60 | 0.441667 | 33 | 360 | 4.575758 | 0.818182 | 0.07947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.105556 | 360 | 24 | 61 | 15 | 0.462733 | 0.338889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 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.