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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9921551742bf078d6a72c4e0aae42cc2ba0bb61 | 35 | py | Python | code/python/src/slub_docsa/data/preprocess/__init__.py | slub/docsa | c33a8243a60fbccbcd0a6418a59337e4ed39dc75 | [
"Apache-2.0"
] | 11 | 2022-01-05T17:19:10.000Z | 2022-02-14T18:57:37.000Z | code/python/src/slub_docsa/data/preprocess/__init__.py | slub/docsa | c33a8243a60fbccbcd0a6418a59337e4ed39dc75 | [
"Apache-2.0"
] | null | null | null | code/python/src/slub_docsa/data/preprocess/__init__.py | slub/docsa | c33a8243a60fbccbcd0a6418a59337e4ed39dc75 | [
"Apache-2.0"
] | null | null | null | """Data pre-processing methods."""
| 17.5 | 34 | 0.685714 | 4 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.75 | 0.8 | 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 |
c9a263ec7d6f4a02c84ed67f538c1d8c059bb349 | 31 | py | Python | integration_tests/projects/003_scripts_with_errors/fal_scripts/after.py | emekdahl/fal | 8a6670a2a1940cdd3e838073894d643e1050b654 | [
"Apache-2.0"
] | 360 | 2021-11-10T18:43:03.000Z | 2022-03-31T14:57:19.000Z | integration_tests/projects/003_scripts_with_errors/fal_scripts/after.py | emekdahl/fal | 8a6670a2a1940cdd3e838073894d643e1050b654 | [
"Apache-2.0"
] | 64 | 2021-11-11T22:05:53.000Z | 2022-03-30T18:14:05.000Z | integration_tests/projects/003_scripts_with_errors/fal_scripts/after.py | emekdahl/fal | 8a6670a2a1940cdd3e838073894d643e1050b654 | [
"Apache-2.0"
] | 9 | 2021-12-17T02:49:36.000Z | 2022-03-31T14:57:21.000Z | raise Exception("After error")
| 15.5 | 30 | 0.774194 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c9ac09bc304e4fadcea61ad340748ac4a5acdff8 | 103 | py | Python | django_logger_panel/views/__init__.py | jonathadv/django-logging-panel | 5c7e6b964c15a1da5f190b7744ac6521527f4dfb | [
"MIT"
] | 2 | 2021-05-24T15:43:02.000Z | 2021-05-25T21:13:35.000Z | django_logger_panel/views/__init__.py | jonathadv/django-logging-panel | 5c7e6b964c15a1da5f190b7744ac6521527f4dfb | [
"MIT"
] | 5 | 2021-05-24T02:41:23.000Z | 2021-06-04T15:15:02.000Z | django_logger_panel/views/__init__.py | jonathadv/django-logging-panel | 5c7e6b964c15a1da5f190b7744ac6521527f4dfb | [
"MIT"
] | 1 | 2021-05-27T03:30:14.000Z | 2021-05-27T03:30:14.000Z | from .logger import LoggerListView, LoggerDetailView
__all__ = ["LoggerListView", "LoggerDetailView"]
| 25.75 | 52 | 0.805825 | 8 | 103 | 9.875 | 0.75 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 103 | 3 | 53 | 34.333333 | 0.849462 | 0 | 0 | 0 | 0 | 0 | 0.291262 | 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 |
c9c5a3fa9350b1abb1467f3659824f8ee6ce7f8f | 78 | py | Python | tests/iommi_admin.py | tltx/iommi | a0ca5e261040cc0452d7452e9320a88af5222b30 | [
"BSD-3-Clause"
] | 192 | 2020-01-30T14:29:56.000Z | 2022-03-28T19:55:30.000Z | tests/iommi_admin.py | tltx/iommi | a0ca5e261040cc0452d7452e9320a88af5222b30 | [
"BSD-3-Clause"
] | 105 | 2020-03-29T21:59:01.000Z | 2022-03-24T12:29:09.000Z | tests/iommi_admin.py | tltx/iommi | a0ca5e261040cc0452d7452e9320a88af5222b30 | [
"BSD-3-Clause"
] | 28 | 2020-02-02T20:51:09.000Z | 2022-03-08T16:23:42.000Z | # This will trigger coverage for some parts of the admin
class Meta:
pass
| 19.5 | 56 | 0.74359 | 13 | 78 | 4.461538 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 78 | 3 | 57 | 26 | 0.966667 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c9e01e6b275a9db249d3235f34d6c6e90beb44c5 | 147 | py | Python | TargetWaypointReverse.py | Bob-Z/RoRBot | d8b45e48bcebc3ed9905fa5ff05fd5e3509fd18f | [
"Apache-2.0"
] | 1 | 2021-01-27T18:50:54.000Z | 2021-01-27T18:50:54.000Z | TargetWaypointReverse.py | Bob-Z/RoRBot | d8b45e48bcebc3ed9905fa5ff05fd5e3509fd18f | [
"Apache-2.0"
] | 2 | 2021-01-27T19:01:55.000Z | 2021-02-19T21:11:28.000Z | TargetWaypointReverse.py | Bob-Z/RoRBot | d8b45e48bcebc3ed9905fa5ff05fd5e3509fd18f | [
"Apache-2.0"
] | 3 | 2021-01-27T19:00:23.000Z | 2021-02-19T22:16:35.000Z | import TargetWaypoint
class TargetWaypointReverse(TargetWaypoint.TargetWaypoint):
def __init__(self):
super().__init__(reverse=True)
| 21 | 59 | 0.768707 | 13 | 147 | 8.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 147 | 6 | 60 | 24.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a01d15bdf6363dcbe047fe92933edcbd2b8d1e2f | 107 | py | Python | django/river/common/service/errors.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 42 | 2020-03-25T16:47:30.000Z | 2022-01-31T21:26:38.000Z | django/river/common/service/errors.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 367 | 2020-04-08T12:46:34.000Z | 2022-02-16T01:15:32.000Z | django/river/common/service/errors.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 3 | 2020-05-14T08:24:46.000Z | 2021-08-04T05:00:16.000Z | class BatchCancelled(Exception):
"""
Error used when a batch has been cancelled.
"""
pass
| 15.285714 | 47 | 0.626168 | 12 | 107 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280374 | 107 | 6 | 48 | 17.833333 | 0.87013 | 0.401869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a0222444f5f05042d9b2883e2367f7b1206df35a | 2,818 | py | Python | irrigator_pro/farms/migrations/0006_auto_20150603_2146.py | warnes/irrigatorpro | 4838f8832bdbf87f394a0298adc5dabfc26e82e8 | [
"MIT"
] | null | null | null | irrigator_pro/farms/migrations/0006_auto_20150603_2146.py | warnes/irrigatorpro | 4838f8832bdbf87f394a0298adc5dabfc26e82e8 | [
"MIT"
] | null | null | null | irrigator_pro/farms/migrations/0006_auto_20150603_2146.py | warnes/irrigatorpro | 4838f8832bdbf87f394a0298adc5dabfc26e82e8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('farms', '0005_auto_20150530_2316'),
]
operations = [
migrations.RemoveField(
model_name='probereading',
... | 29.663158 | 117 | 0.55181 | 236 | 2,818 | 6.326271 | 0.258475 | 0.108506 | 0.243804 | 0.281313 | 0.794374 | 0.794374 | 0.565305 | 0.565305 | 0.446752 | 0.280643 | 0 | 0.023694 | 0.341022 | 2,818 | 94 | 118 | 29.978723 | 0.780291 | 0.007452 | 0 | 0.829545 | 0 | 0 | 0.171377 | 0.008229 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.056818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e6d42297abd2a5351a74dab19343bdfc362fba1 | 118 | py | Python | harness_runner/setup.py | HappyFacade/kafka-tutorials | e54af16935c3ee816d568bf64d79cb56fd9089a7 | [
"Apache-2.0"
] | 213 | 2019-08-08T17:47:00.000Z | 2022-03-30T04:00:51.000Z | harness_runner/setup.py | HappyFacade/kafka-tutorials | e54af16935c3ee816d568bf64d79cb56fd9089a7 | [
"Apache-2.0"
] | 832 | 2019-08-07T20:57:20.000Z | 2022-03-31T23:00:50.000Z | harness_runner/setup.py | HappyFacade/kafka-tutorials | e54af16935c3ee816d568bf64d79cb56fd9089a7 | [
"Apache-2.0"
] | 82 | 2019-08-07T23:57:41.000Z | 2022-03-25T08:59:55.000Z | from setuptools import setup
setup(
name='harness-runner',
version='0.0.1',
scripts=['harness-runner']
)
| 14.75 | 30 | 0.652542 | 15 | 118 | 5.133333 | 0.733333 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.186441 | 118 | 7 | 31 | 16.857143 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0.279661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e7dd26e1c666e5e77823d999b77e17316b1066c | 351 | py | Python | taskmanager/src/modules/dummy/tasks.py | alice-biometrics/petisco-task-manager | 2bad52013ab122f8c3e5dce740dcd154883e6940 | [
"MIT"
] | 1 | 2020-04-14T18:12:11.000Z | 2020-04-14T18:12:11.000Z | taskmanager/src/modules/dummy/tasks.py | alice-biometrics/petisco-task-manager | 2bad52013ab122f8c3e5dce740dcd154883e6940 | [
"MIT"
] | 3 | 2020-04-20T10:35:26.000Z | 2020-06-15T07:45:59.000Z | taskmanager/src/modules/dummy/tasks.py | alice-biometrics/petisco-task-manager | 2bad52013ab122f8c3e5dce740dcd154883e6940 | [
"MIT"
] | 1 | 2021-03-12T13:48:01.000Z | 2021-03-12T13:48:01.000Z | from petisco import Petisco, LogMessage, INFO
def recurring_task():
Petisco.get_logger().log(INFO, LogMessage().set_message("recurring_task"))
def scheduled_task():
Petisco.get_logger().log(INFO, LogMessage().set_message("scheduled_task"))
def instant_task():
Petisco.get_logger().log(INFO, LogMessage(... | 25.071429 | 78 | 0.746439 | 45 | 351 | 5.555556 | 0.333333 | 0.132 | 0.168 | 0.24 | 0.564 | 0.564 | 0.564 | 0.564 | 0.564 | 0 | 0 | 0 | 0.102564 | 351 | 13 | 79 | 27 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0.11396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4e9cfe0dfb6a5c859127541ac19e45a1be9255b0 | 99 | py | Python | pygit/__main__.py | malgulam/PyGit | 67976deb9baec597349587e73a8b0bbc1fe81cae | [
"MIT"
] | null | null | null | pygit/__main__.py | malgulam/PyGit | 67976deb9baec597349587e73a8b0bbc1fe81cae | [
"MIT"
] | null | null | null | pygit/__main__.py | malgulam/PyGit | 67976deb9baec597349587e73a8b0bbc1fe81cae | [
"MIT"
] | 2 | 2020-10-11T18:54:40.000Z | 2021-03-18T04:56:05.000Z | #!/usr/bin/python3
import sys
from . import pygit
if __name__ == "__main__":
pygit.initalise()
| 16.5 | 26 | 0.69697 | 13 | 99 | 4.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.161616 | 99 | 5 | 27 | 19.8 | 0.722892 | 0.171717 | 0 | 0 | 0 | 0 | 0.098765 | 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 |
4e9e4a24559ee60cac6fa17046a5ec1f2bcf02f0 | 246 | py | Python | docker/dev/celery/MockSMTP.py | claclacla/Fill-a-minimal-API-server-with-Flask-and-Celery-one-drop-at-a-time | 28eb09ae3b54cc10e0a17a5b5400e0476ee01a81 | [
"MIT"
] | null | null | null | docker/dev/celery/MockSMTP.py | claclacla/Fill-a-minimal-API-server-with-Flask-and-Celery-one-drop-at-a-time | 28eb09ae3b54cc10e0a17a5b5400e0476ee01a81 | [
"MIT"
] | null | null | null | docker/dev/celery/MockSMTP.py | claclacla/Fill-a-minimal-API-server-with-Flask-and-Celery-one-drop-at-a-time | 28eb09ae3b54cc10e0a17a5b5400e0476ee01a81 | [
"MIT"
] | null | null | null | import time
class MockSMTP():
def __init__(self, address, port):
pass
def login(self, username, password):
time.sleep(0.1)
def sendmail(self, sender, receiver, message):
time.sleep(0.6)
def close(self):
time.sleep(0.1) | 17.571429 | 48 | 0.658537 | 36 | 246 | 4.388889 | 0.611111 | 0.170886 | 0.189873 | 0.139241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.203252 | 246 | 14 | 49 | 17.571429 | 0.77551 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0.1 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4ea82355743a40b15940586ebd1c77918c031b5c | 305 | py | Python | pettingzoo/gamma/__init__.py | AnanthHari/PettingZoo | c147c2992a067fd529570db0bea6a0324f01ee6e | [
"MIT"
] | null | null | null | pettingzoo/gamma/__init__.py | AnanthHari/PettingZoo | c147c2992a067fd529570db0bea6a0324f01ee6e | [
"MIT"
] | null | null | null | pettingzoo/gamma/__init__.py | AnanthHari/PettingZoo | c147c2992a067fd529570db0bea6a0324f01ee6e | [
"MIT"
] | null | null | null | from .knights_archers_zombies import knights_archers_zombies as knights_archers_zombies_v0
from .pistonball import pistonball as pistonball_v0
from .cooperative_pong import cooperative_pong as cooperative_pong_v0
from .prison import prison as prison_v0
from .prospector import prospector as prospector_v0
| 50.833333 | 90 | 0.885246 | 44 | 305 | 5.818182 | 0.272727 | 0.09375 | 0.246094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.098361 | 305 | 5 | 91 | 61 | 0.912727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4ed8d2892ae631bdc867d5bdfe99130269e21e12 | 115 | py | Python | license_protected_downloads/group_auth_common.py | NexellCorp/infrastructure_server_fileserver | b2d0cd30b7658735f914c29e401a670d9bb42f92 | [
"Net-SNMP",
"Xnet",
"Info-ZIP",
"OML"
] | null | null | null | license_protected_downloads/group_auth_common.py | NexellCorp/infrastructure_server_fileserver | b2d0cd30b7658735f914c29e401a670d9bb42f92 | [
"Net-SNMP",
"Xnet",
"Info-ZIP",
"OML"
] | null | null | null | license_protected_downloads/group_auth_common.py | NexellCorp/infrastructure_server_fileserver | b2d0cd30b7658735f914c29e401a670d9bb42f92 | [
"Net-SNMP",
"Xnet",
"Info-ZIP",
"OML"
] | null | null | null | class GroupAuthError(Exception):
"Unexpected (infastructure) error during group authorization check."
pass
| 28.75 | 72 | 0.773913 | 11 | 115 | 8.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156522 | 115 | 3 | 73 | 38.333333 | 0.917526 | 0.573913 | 0 | 0 | 0 | 0 | 0.573913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4edce225c6fcccb31223450d3324a9bf5f98b0f7 | 2,552 | py | Python | 2020/04/solution.py | dlahyani/advent-of-code | a58ab67a559d6426fe4aa82443528c4e0dc28de3 | [
"Apache-2.0"
] | null | null | null | 2020/04/solution.py | dlahyani/advent-of-code | a58ab67a559d6426fe4aa82443528c4e0dc28de3 | [
"Apache-2.0"
] | null | null | null | 2020/04/solution.py | dlahyani/advent-of-code | a58ab67a559d6426fe4aa82443528c4e0dc28de3 | [
"Apache-2.0"
] | null | null | null | from re import match
from typing import Dict
def verify_birth_year(birth_year: str) -> bool:
return match("^[0-9]{4}$", birth_year) and 1920 <= int(birth_year) <= 2002
def verify_issue_year(issue_year: str) -> bool:
return match("^[0-9]{4}$", issue_year) and 2010 <= int(issue_year) <= 2020
def verify_expira... | 34.026667 | 100 | 0.664185 | 374 | 2,552 | 4.342246 | 0.302139 | 0.049877 | 0.04803 | 0.055419 | 0.326355 | 0.248153 | 0.235837 | 0.235837 | 0.189655 | 0.128079 | 0 | 0.029526 | 0.190439 | 2,552 | 74 | 101 | 34.486486 | 0.756534 | 0.132445 | 0 | 0.136364 | 0 | 0 | 0.110236 | 0.025938 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0.340909 | 0.045455 | 0.136364 | 0.545455 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
14f79bcbb1b34aab2805602d3ce7637403332554 | 339 | py | Python | gemstone/discovery/__init__.py | vladcalin/pymicroservice | 325a49d17621b9d45ffd2b5eca6f0de284de8ba4 | [
"MIT"
] | 2 | 2016-12-17T13:09:14.000Z | 2016-12-31T18:38:57.000Z | gemstone/discovery/__init__.py | vladcalin/pymicroservice | 325a49d17621b9d45ffd2b5eca6f0de284de8ba4 | [
"MIT"
] | 15 | 2016-11-27T13:28:25.000Z | 2017-01-10T09:09:30.000Z | gemstone/discovery/__init__.py | vladcalin/pymicroservice | 325a49d17621b9d45ffd2b5eca6f0de284de8ba4 | [
"MIT"
] | null | null | null | from .base import BaseDiscoveryStrategy
from .default import HttpDiscoveryStrategy
from .redis_strategy import RedisDiscoveryStrategy
from .cache import ServiceDiscoveryCache, DummyCache
__all__ = [
'BaseDiscoveryStrategy',
'HttpDiscoveryStrategy',
'RedisDiscoveryStrategy',
'ServiceDiscoveryCache',
... | 21.1875 | 52 | 0.787611 | 24 | 339 | 10.916667 | 0.541667 | 0.236641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147493 | 339 | 15 | 53 | 22.6 | 0.906574 | 0 | 0 | 0 | 0 | 0 | 0.280236 | 0.250737 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0901778724edaf5afd9487aed148f4de5586a70c | 2,588 | py | Python | tests/test_time_signature.py | adammichaelwood/omk_core | 9f3a845aeadad0b1de91d7f20da3ae6b686a07d0 | [
"MIT"
] | null | null | null | tests/test_time_signature.py | adammichaelwood/omk_core | 9f3a845aeadad0b1de91d7f20da3ae6b686a07d0 | [
"MIT"
] | 3 | 2019-01-28T16:50:27.000Z | 2019-02-20T01:55:19.000Z | tests/test_time_signature.py | adammichaelwood/omk_core | 9f3a845aeadad0b1de91d7f20da3ae6b686a07d0 | [
"MIT"
] | 1 | 2018-06-04T10:32:05.000Z | 2018-06-04T10:32:05.000Z | import pytest
from hypothesis import given, assume
from hypothesis.strategies import sampled_from, decimals, floats, fractions, integers
from fractions import Fraction as Frac
import omk_core as omk
denominators = [2**n for n in range(1, 10)]
@given(integers(1,100), sampled_from(denominators))
def test_str(n, d):
... | 27.827957 | 96 | 0.621716 | 413 | 2,588 | 3.808717 | 0.142857 | 0.104895 | 0.114431 | 0.062937 | 0.717737 | 0.717737 | 0.71583 | 0.71583 | 0.684679 | 0.684679 | 0 | 0.066402 | 0.220247 | 2,588 | 93 | 97 | 27.827957 | 0.713082 | 0.008501 | 0 | 0.363636 | 0 | 0 | 0.001949 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.121212 | false | 0 | 0.075758 | 0 | 0.19697 | 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 |
090b1f6e854ce3a35b802cdb55721d67ef6fba67 | 428 | py | Python | jupyter_amphion/__init__.py | RoboStack/jupyter-amphion | 1f31e4f1eb5af5f175fad0cd08f97cde62be0297 | [
"BSD-3-Clause"
] | null | null | null | jupyter_amphion/__init__.py | RoboStack/jupyter-amphion | 1f31e4f1eb5af5f175fad0cd08f97cde62be0297 | [
"BSD-3-Clause"
] | null | null | null | jupyter_amphion/__init__.py | RoboStack/jupyter-amphion | 1f31e4f1eb5af5f175fad0cd08f97cde62be0297 | [
"BSD-3-Clause"
] | null | null | null | from ._version import version_info, __version__
from .amphion import *
def _jupyter_nbextension_paths():
return [{
'section': 'notebook',
'src': 'nbextension',
'dest': '@robostack/jupyter-amphion',
'require': '@robostack/jupyter-amphion/extension'
}]
def _jupyter_labextension_... | 22.526316 | 57 | 0.621495 | 38 | 428 | 6.684211 | 0.473684 | 0.188976 | 0.271654 | 0.212598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231308 | 428 | 18 | 58 | 23.777778 | 0.772036 | 0 | 0 | 0.428571 | 0 | 0 | 0.344262 | 0.206089 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0.142857 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
092cb70fabee38ed538ac370414ae20839cbcd20 | 309 | py | Python | src/core/base/__init__.py | Epihaius/panda3dstudio | f5c62ca49617cae1aa5aa5b695200027da99e242 | [
"BSD-3-Clause"
] | 63 | 2016-01-02T16:28:47.000Z | 2022-01-19T11:29:51.000Z | src/core/base/__init__.py | Epihaius/panda3dstudio | f5c62ca49617cae1aa5aa5b695200027da99e242 | [
"BSD-3-Clause"
] | 12 | 2016-06-12T14:14:15.000Z | 2020-12-18T16:11:45.000Z | src/core/base/__init__.py | Epihaius/panda3dstudio | f5c62ca49617cae1aa5aa5b695200027da99e242 | [
"BSD-3-Clause"
] | 17 | 2016-05-23T00:02:27.000Z | 2021-04-25T17:48:27.000Z | from .base import *
from .mgr import CoreManager as Mgr
from .toplvl_obj import TopLevelObject
from .obj_mgr import ObjectManager
from .picking_col_mgr import PickingColorIDManager
from .creation_mgr import CreationPhaseManager
from .propdef_mgr import ObjPropDefaultsManager
from . import shaders, exporters
| 34.333333 | 50 | 0.854369 | 39 | 309 | 6.615385 | 0.487179 | 0.174419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113269 | 309 | 8 | 51 | 38.625 | 0.941606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
093953fd8c4af0caa0082bfb998be3795b0a6605 | 126 | py | Python | config/settings/production.py | uktrade/data-hub-api | c698cba533ff002293b821d01916f6334549f778 | [
"MIT"
] | 6 | 2019-12-02T16:11:24.000Z | 2022-03-18T10:02:02.000Z | config/settings/production.py | uktrade/data-hub-api | c698cba533ff002293b821d01916f6334549f778 | [
"MIT"
] | 1,696 | 2019-10-31T14:08:37.000Z | 2022-03-29T12:35:57.000Z | config/settings/production.py | uktrade/data-hub-api | c698cba533ff002293b821d01916f6334549f778 | [
"MIT"
] | 9 | 2019-11-22T12:42:03.000Z | 2021-09-03T14:25:05.000Z | from config.settings.common_logging import *
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
| 31.5 | 79 | 0.873016 | 11 | 126 | 9.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 126 | 3 | 80 | 42 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0.436508 | 0.436508 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
117dc464ca51574c609ee4c8516af28d1f7e65fd | 339 | py | Python | pygsuite/docs/doc_elements/paragraph_elements/base_paragraph_element.py | gitter-badger/pygsuite | 536766c36f653edbc7585141f1c3327f508e19da | [
"MIT"
] | null | null | null | pygsuite/docs/doc_elements/paragraph_elements/base_paragraph_element.py | gitter-badger/pygsuite | 536766c36f653edbc7585141f1c3327f508e19da | [
"MIT"
] | null | null | null | pygsuite/docs/doc_elements/paragraph_elements/base_paragraph_element.py | gitter-badger/pygsuite | 536766c36f653edbc7585141f1c3327f508e19da | [
"MIT"
] | null | null | null | class BaseParagraphElement(object):
def __init__(self, element: dict, document):
self._element = element
self._document = document
@property
def start_index(self) -> int:
return self._element.get("startIndex")
@property
def end_index(self) -> int:
return self._eleme... | 26.076923 | 48 | 0.651917 | 37 | 339 | 5.702703 | 0.486486 | 0.208531 | 0.113744 | 0.170616 | 0.303318 | 0.303318 | 0.303318 | 0 | 0 | 0 | 0 | 0 | 0.238938 | 339 | 12 | 49 | 28.25 | 0.817829 | 0 | 0 | 0.2 | 0 | 0 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
11a136e522cf4e9fa7731c0b21310aec86e0257d | 1,519 | py | Python | aliyun-python-sdk-core/tests/acs_exception/test_exceptions.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-core/tests/acs_exception/test_exceptions.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-core/tests/acs_exception/test_exceptions.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | from tests import unittest
from aliyunsdkcore.acs_exception.exceptions import ClientException, ServerException
class TestClientException(unittest.TestCase):
def test_constructor(self):
ex = ClientException("code", "message")
self.assertEqual(ex.get_error_type(), "Client")
self.assertEqual... | 44.676471 | 100 | 0.688611 | 184 | 1,519 | 5.494565 | 0.206522 | 0.237389 | 0.20178 | 0.237389 | 0.636004 | 0.636004 | 0.571711 | 0.492582 | 0.437191 | 0.437191 | 0 | 0.009623 | 0.179065 | 1,519 | 33 | 101 | 46.030303 | 0.801123 | 0 | 0 | 0.5 | 0 | 0 | 0.194865 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
11b0d1b6ce70044d65ed34586f0001f10fe9ff55 | 175 | py | Python | app/config.py | rollerbrick/QueenB-Battlesnake2018 | 07400db367bc3765e5364c18f40ddb32703bf287 | [
"MIT"
] | 3 | 2018-03-08T18:40:33.000Z | 2020-01-10T18:33:16.000Z | app/config.py | rollerbrick/QueenB-Battlesnake2018 | 07400db367bc3765e5364c18f40ddb32703bf287 | [
"MIT"
] | null | null | null | app/config.py | rollerbrick/QueenB-Battlesnake2018 | 07400db367bc3765e5364c18f40ddb32703bf287 | [
"MIT"
] | 3 | 2020-12-02T01:16:44.000Z | 2022-03-16T02:54:34.000Z | # This is designed to aid testing/running other configurations.
# Add variables here that you want to test differently (see line below for example)
# FOOD_CLOSE_HEALTH = 80
| 29.166667 | 83 | 0.782857 | 27 | 175 | 5 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.171429 | 175 | 5 | 84 | 35 | 0.917241 | 0.948571 | 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 |
11be721f19674b7e275bd495854abd4a9ad02dc3 | 71 | py | Python | tests/syntax/cannot_use_star.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 287 | 2019-04-08T13:18:29.000Z | 2021-03-14T19:10:21.000Z | tests/syntax/cannot_use_star.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 191 | 2019-04-08T14:39:18.000Z | 2021-03-14T22:14:56.000Z | tests/syntax/cannot_use_star.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 9 | 2019-04-08T12:54:08.000Z | 2020-11-20T02:26:27.000Z | """Should raise SyntaxError: can't use starred expression here"""
*a
| 14.2 | 65 | 0.71831 | 10 | 71 | 5.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 4 | 66 | 17.75 | 0.85 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eeac02f90db7eb899d987a6e61062261f59ed9b0 | 53 | py | Python | app/__init__.py | computablelabs/capi | 44e349fa3c71c8d2d390cdf2a5b7b8892807b40a | [
"MIT"
] | null | null | null | app/__init__.py | computablelabs/capi | 44e349fa3c71c8d2d390cdf2a5b7b8892807b40a | [
"MIT"
] | 43 | 2019-09-03T14:50:23.000Z | 2019-12-18T17:30:11.000Z | app/__init__.py | computablelabs/capi | 44e349fa3c71c8d2d390cdf2a5b7b8892807b40a | [
"MIT"
] | 1 | 2019-10-15T14:41:28.000Z | 2019-10-15T14:41:28.000Z | from celery import Celery
celery = Celery(__name__)
| 13.25 | 25 | 0.792453 | 7 | 53 | 5.428571 | 0.571429 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 3 | 26 | 17.666667 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
eee6ae2d8cdc977cafe8534f976a34e4e8e148a7 | 24 | py | Python | constants/level/levelone.py | the-argus/dungeons-and-directories | b9d15137a8fa09a4a6040b59782f2f0dd348ad7e | [
"MIT"
] | null | null | null | constants/level/levelone.py | the-argus/dungeons-and-directories | b9d15137a8fa09a4a6040b59782f2f0dd348ad7e | [
"MIT"
] | 8 | 2021-08-22T23:15:13.000Z | 2021-12-16T17:00:45.000Z | constants/level/levelone.py | the-argus/dungeons-and-directories | b9d15137a8fa09a4a6040b59782f2f0dd348ad7e | [
"MIT"
] | null | null | null | WIDTH = 600
HEIGHT = 600 | 12 | 12 | 0.708333 | 4 | 24 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.208333 | 24 | 2 | 12 | 12 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
eee78113cb939781ee9b17db035a16be255266fc | 8,008 | py | Python | __main__.py | Emafire003/AddieMezzoDi | a8bc733647c42aa8c9b4647ccd356e7e81d5fcf4 | [
"MIT"
] | 1 | 2021-05-08T10:49:52.000Z | 2021-05-08T10:49:52.000Z | __main__.py | Emafire003/AddieMezzoDi | a8bc733647c42aa8c9b4647ccd356e7e81d5fcf4 | [
"MIT"
] | null | null | null | __main__.py | Emafire003/AddieMezzoDi | a8bc733647c42aa8c9b4647ccd356e7e81d5fcf4 | [
"MIT"
] | null | null | null | from datetime import datetime
import time
from playsound import playsound
import PySimpleGUIWx as sg
import os
import sys
import random
menu_def = ['UNUSED', ['Mezzore', 'Esci']]
#logo
BarryClock = b'iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3... | 61.6 | 4,104 | 0.779346 | 662 | 8,008 | 9.365559 | 0.454683 | 0.037742 | 0.02129 | 0.007097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096482 | 0.144481 | 8,008 | 129 | 4,105 | 62.077519 | 0.808495 | 0.093032 | 0 | 0.126316 | 0 | 0.010526 | 0.600028 | 0.564407 | 0 | 1 | 0 | 0 | 0 | 1 | 0.031579 | false | 0.010526 | 0.073684 | 0 | 0.115789 | 0.031579 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eef24b9b14f3b1260e41222abeec94249bf36766 | 26 | py | Python | tests/util/src/opentelemetry/test/version.py | LetzNico/opentelemetry-python | b565d6b643f175faee3f57ef81c8b7edbf50ec41 | [
"Apache-2.0"
] | 1 | 2020-10-05T05:25:14.000Z | 2020-10-05T05:25:14.000Z | tests/util/src/opentelemetry/test/version.py | LetzNico/opentelemetry-python | b565d6b643f175faee3f57ef81c8b7edbf50ec41 | [
"Apache-2.0"
] | null | null | null | tests/util/src/opentelemetry/test/version.py | LetzNico/opentelemetry-python | b565d6b643f175faee3f57ef81c8b7edbf50ec41 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.14.dev0"
| 13 | 25 | 0.692308 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 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 |
e1068e4ea726ce1e063d13c30f33e916ee1da43f | 104 | py | Python | server/topic_detection/apps.py | cuongw/article-topic | 2022908590ada829c286d3f76a8450b4eb33f709 | [
"MIT"
] | 1 | 2020-10-21T18:16:27.000Z | 2020-10-21T18:16:27.000Z | server/topic_detection/apps.py | 103cuong/article-topic | 2022908590ada829c286d3f76a8450b4eb33f709 | [
"MIT"
] | 2 | 2020-01-05T08:00:24.000Z | 2020-01-05T08:00:25.000Z | server/topic_detection/apps.py | cuongw/article-topic | 2022908590ada829c286d3f76a8450b4eb33f709 | [
"MIT"
] | 1 | 2020-08-18T09:09:42.000Z | 2020-08-18T09:09:42.000Z | from django.apps import AppConfig
class TopicDetectionConfig(AppConfig):
name = 'topic_detection'
| 17.333333 | 38 | 0.788462 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 39 | 20.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 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 |
e107bf31c06a7b89e326511d464ced10d7e51e51 | 929 | py | Python | chakin/commands/cmd_feature.py | dreyes17/python-chado | 94f77b1db95010ff4629b869ea5849fcc943a18c | [
"MIT"
] | 8 | 2017-09-08T15:19:26.000Z | 2022-02-23T17:28:01.000Z | chakin/commands/cmd_feature.py | dreyes17/python-chado | 94f77b1db95010ff4629b869ea5849fcc943a18c | [
"MIT"
] | 9 | 2018-02-07T18:14:41.000Z | 2022-03-03T13:14:32.000Z | chakin/commands/cmd_feature.py | dreyes17/python-chado | 94f77b1db95010ff4629b869ea5849fcc943a18c | [
"MIT"
] | 5 | 2018-09-28T08:03:52.000Z | 2022-03-02T17:51:32.000Z | import click
from chakin.commands.feature.delete_features import cli as delete_features
from chakin.commands.feature.get_feature_analyses import cli as get_feature_analyses
from chakin.commands.feature.get_feature_cvterms import cli as get_feature_cvterms
from chakin.commands.feature.get_features import cli as get_feat... | 33.178571 | 84 | 0.838536 | 146 | 929 | 5.075342 | 0.184932 | 0.107962 | 0.194332 | 0.269906 | 0.42915 | 0.094467 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095802 | 929 | 27 | 85 | 34.407407 | 0.882143 | 0.03014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | true | 0.05 | 0.45 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e108ea6b8b1353cf71f598cea0ea17cffed8a2da | 65 | py | Python | train/rstrip.py | Pawel22729/pythonScripts | 07fc22e3be9333e7814046cc551a315b403643dd | [
"Apache-2.0"
] | null | null | null | train/rstrip.py | Pawel22729/pythonScripts | 07fc22e3be9333e7814046cc551a315b403643dd | [
"Apache-2.0"
] | null | null | null | train/rstrip.py | Pawel22729/pythonScripts | 07fc22e3be9333e7814046cc551a315b403643dd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
line = "mississippi"
print line.rstrip('ip')
| 10.833333 | 23 | 0.676923 | 9 | 65 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 5 | 24 | 13 | 0.77193 | 0.246154 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
011a1dad1028556de3550b9e8fabaf9efed975ea | 140 | py | Python | text/_elisp/ki/complete/complete.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_elisp/ki/complete/complete.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_elisp/ki/complete/complete.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | """
*Complete-Key*
A complete key's binding is not a keymap.
"""
from .._key import Key
class CompleteKey(
Key,
):
pass
| 8.75 | 43 | 0.592857 | 19 | 140 | 4.315789 | 0.684211 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 140 | 15 | 44 | 9.333333 | 0.82 | 0.407143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
01250dcd1efda8c39aee32919e0eb17069e9468b | 223 | py | Python | src/jt/pyjava/__about__.py | karpierz/jtypes.pyjava | 9679182ffc0c0d67c6855d9af09890136fa5a56a | [
"MIT"
] | 2 | 2019-07-11T11:55:50.000Z | 2019-07-11T15:17:53.000Z | src/jt/pyjava/__about__.py | karpierz/jtypes.pyjava | 9679182ffc0c0d67c6855d9af09890136fa5a56a | [
"MIT"
] | null | null | null | src/jt/pyjava/__about__.py | karpierz/jtypes.pyjava | 9679182ffc0c0d67c6855d9af09890136fa5a56a | [
"MIT"
] | null | null | null | # Copyright (c) 2015-2022 Adam Karpierz
# Licensed under the MIT License
# https://opensource.org/licenses/MIT
__import__("pkg_about").about("jtypes.pyjava")
__copyright__ = f"Copyright (c) 2015-2022 {__author__}" # noqa
| 31.857143 | 63 | 0.748879 | 30 | 223 | 5.133333 | 0.766667 | 0.12987 | 0.181818 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 0.112108 | 223 | 6 | 64 | 37.166667 | 0.69697 | 0.488789 | 0 | 0 | 0 | 0 | 0.53211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
01260ac91783d04103c8bf5594e803b8535dd806 | 334 | py | Python | config/middlewares.py | MTES-MCT/sparte | 3b8ae6d21da81ca761d64ae9dfe2c8f54487211c | [
"MIT"
] | null | null | null | config/middlewares.py | MTES-MCT/sparte | 3b8ae6d21da81ca761d64ae9dfe2c8f54487211c | [
"MIT"
] | 3 | 2022-02-10T11:47:58.000Z | 2022-02-23T18:50:24.000Z | config/middlewares.py | MTES-MCT/sparte | 3b8ae6d21da81ca761d64ae9dfe2c8f54487211c | [
"MIT"
] | null | null | null | import logging
logger = logging.getLogger(__name__)
class LogIncomingRequest:
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
msg = f'"{request.method} {request.get_full_path()}" incoming'
logger.info(msg)
return self.get_resp... | 22.266667 | 71 | 0.688623 | 39 | 334 | 5.435897 | 0.564103 | 0.207547 | 0.212264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209581 | 334 | 14 | 72 | 23.857143 | 0.80303 | 0 | 0 | 0 | 0 | 0 | 0.161677 | 0.077844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0147644d77b3d0b8b7ff87f2affe19295f38cdac | 513 | py | Python | tests/test.py | YusukeKambara/PrettyData | bddc691ba11862b6f1ec51aaa85a8bd900e7432e | [
"MIT"
] | null | null | null | tests/test.py | YusukeKambara/PrettyData | bddc691ba11862b6f1ec51aaa85a8bd900e7432e | [
"MIT"
] | null | null | null | tests/test.py | YusukeKambara/PrettyData | bddc691ba11862b6f1ec51aaa85a8bd900e7432e | [
"MIT"
] | null | null | null | import unittest
import test_main
from tests.utils import test_utils
from tests.commands import test_analyze as test_commands_analyze
from tests.api import test_analyze as test_api_analyze
def suite():
suite = unittest.TestSuite()
suite.addTests(unittest.makeSuite(test_main.TestMain))
suite.addTests(unittest.make... | 39.461538 | 79 | 0.842105 | 68 | 513 | 6.147059 | 0.308824 | 0.095694 | 0.200957 | 0.287081 | 0.435407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083821 | 513 | 13 | 80 | 39.461538 | 0.889362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.416667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
01664f8cd3ca45635725b3d7ce80d2b46e1b4fdb | 929 | py | Python | cvpods/configs/__init__.py | hanqiu-hq/cvpods | 597fa669151fdad87c250fa118a9e3a555f4fb5e | [
"Apache-2.0"
] | null | null | null | cvpods/configs/__init__.py | hanqiu-hq/cvpods | 597fa669151fdad87c250fa118a9e3a555f4fb5e | [
"Apache-2.0"
] | null | null | null | cvpods/configs/__init__.py | hanqiu-hq/cvpods | 597fa669151fdad87c250fa118a9e3a555f4fb5e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (C) 2019-2021 Megvii Inc. All rights reserved.
from .base_classification_config import BaseClassificationConfig
from .base_config import BaseConfig
from .base_detection_config import BaseDetectionConfig
from .boxinst_config import BoxInstConfig
from .condinst_conf... | 40.391304 | 64 | 0.86437 | 110 | 929 | 7.090909 | 0.509091 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01308 | 0.094726 | 929 | 22 | 65 | 42.227273 | 0.914388 | 0.103337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
017f7ba41045422957791b6b7046012ce56d3170 | 122 | py | Python | examples/multiprocessing/main.py | sorphin/py2app | c8a4a9385742297153db092c3d0542306bb014b9 | [
"MIT"
] | 193 | 2020-01-15T09:34:20.000Z | 2022-03-18T19:14:16.000Z | examples/multiprocessing/main.py | sorphin/py2app | c8a4a9385742297153db092c3d0542306bb014b9 | [
"MIT"
] | 185 | 2020-01-15T08:38:27.000Z | 2022-03-27T17:29:29.000Z | examples/multiprocessing/main.py | sorphin/py2app | c8a4a9385742297153db092c3d0542306bb014b9 | [
"MIT"
] | 23 | 2020-01-24T14:47:18.000Z | 2022-02-22T17:19:47.000Z | import multiprocessing
from proc import main
if __name__ == "__main__":
multiprocessing.freeze_support()
main()
| 15.25 | 36 | 0.737705 | 13 | 122 | 6.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 122 | 7 | 37 | 17.428571 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 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 |
018e09aa2e3ebc5ef6253f14f377d561361bf0be | 285 | py | Python | rfml/ptradio/__init__.py | AlexeyReshetnyak/rfml | 99ae3af822a037eb2757d6efadd25eb35a50c2b2 | [
"BSD-3-Clause"
] | 61 | 2019-11-19T03:53:54.000Z | 2022-03-26T15:57:47.000Z | rfml/ptradio/__init__.py | AlexeyReshetnyak/rfml | 99ae3af822a037eb2757d6efadd25eb35a50c2b2 | [
"BSD-3-Clause"
] | 2 | 2020-12-08T10:07:21.000Z | 2021-02-24T00:29:15.000Z | rfml/ptradio/__init__.py | AlexeyReshetnyak/rfml | 99ae3af822a037eb2757d6efadd25eb35a50c2b2 | [
"BSD-3-Clause"
] | 30 | 2019-12-03T13:43:22.000Z | 2022-03-26T15:57:59.000Z | from .awgn import AWGN
from .constellation import ConstellationMapper, ConstellationUnmapper
from .cfo import CFO
from .downsample import Downsample
from .modem import theoreticalBER, Transmitter, Receiver
from .rrc import RRC
from .slicer import Slicer
from .upsample import Upsample
| 31.666667 | 69 | 0.838596 | 35 | 285 | 6.828571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 285 | 8 | 70 | 35.625 | 0.956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6d72249f3b81d90ef8eaa4d2983adb18a21865e9 | 140 | py | Python | python/windows-pycharm-testing.py | anhsirksai/coding | 4bd49771c0ac7f7bf2d26fecea606955f12e535e | [
"MIT"
] | null | null | null | python/windows-pycharm-testing.py | anhsirksai/coding | 4bd49771c0ac7f7bf2d26fecea606955f12e535e | [
"MIT"
] | null | null | null | python/windows-pycharm-testing.py | anhsirksai/coding | 4bd49771c0ac7f7bf2d26fecea606955f12e535e | [
"MIT"
] | null | null | null | __author__ = 'saikrishna'
# running on windows:
# write the code here.
# open command prompt
# python <filename>
print "saikrishna" | 17.5 | 26 | 0.7 | 16 | 140 | 5.875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207143 | 140 | 8 | 27 | 17.5 | 0.846847 | 0.557143 | 0 | 0 | 0 | 0 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6d7418646aedcc5858cf66cefb4ca85e6f4cf3bf | 240 | py | Python | zvt_ccxt/__init__.py | wuhgogo/zvt-ccxt | f91200f91511688f3526cf934707a3f1af1802a2 | [
"MIT"
] | 12 | 2020-05-29T01:58:14.000Z | 2021-11-15T02:18:48.000Z | zvt_ccxt/__init__.py | wuhgogo/zvt-ccxt | f91200f91511688f3526cf934707a3f1af1802a2 | [
"MIT"
] | 2 | 2020-08-19T09:54:28.000Z | 2020-08-28T04:30:33.000Z | zvt_ccxt/__init__.py | wuhgogo/zvt-ccxt | f91200f91511688f3526cf934707a3f1af1802a2 | [
"MIT"
] | 2 | 2020-08-27T12:32:04.000Z | 2020-09-20T10:39:40.000Z | # -*- coding: utf-8 -*-
import zvt
from zvt_ccxt.accounts import CCXTAccount
@zvt.hookimpl
def zvt_setup_env(config: dict):
return "zvt_ccxt", CCXTAccount.exchange_conf
from zvt_ccxt.domain import *
from zvt_ccxt.recorders import *
| 18.461538 | 48 | 0.758333 | 35 | 240 | 5 | 0.571429 | 0.16 | 0.188571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.141667 | 240 | 12 | 49 | 20 | 0.84466 | 0.0875 | 0 | 0 | 0 | 0 | 0.036866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
6d78e713dc84fd953897a54579fa4f43505b144c | 255 | py | Python | hela/errors.py | erikmunkby/hela | 915221386fbdb8d6f5783b97d44af036a5e5f7aa | [
"Apache-2.0"
] | 1 | 2022-02-26T17:55:42.000Z | 2022-02-26T17:55:42.000Z | hela/errors.py | erikmunkby/hela | 915221386fbdb8d6f5783b97d44af036a5e5f7aa | [
"Apache-2.0"
] | null | null | null | hela/errors.py | erikmunkby/hela | 915221386fbdb8d6f5783b97d44af036a5e5f7aa | [
"Apache-2.0"
] | null | null | null | """Module with custom errors."""
class InferralError(Exception):
"""Error sent when an inferral failed."""
pass
class DatasetError(Exception):
pass
class DuplicationError(Exception):
pass
class ValidationError(Exception):
pass
| 13.421053 | 45 | 0.701961 | 26 | 255 | 6.884615 | 0.653846 | 0.150838 | 0.201117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 255 | 18 | 46 | 14.166667 | 0.873171 | 0.243137 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6d82318342ad02023020e1cb35ca781a732ae8da | 2,034 | py | Python | tutorials/migrations/0025_auto_20200406_1743.py | ericrobskyhuntley/vialab.mit.edu | 1318d03b8eeb106c1662052e1caa53290e206ae7 | [
"MIT"
] | null | null | null | tutorials/migrations/0025_auto_20200406_1743.py | ericrobskyhuntley/vialab.mit.edu | 1318d03b8eeb106c1662052e1caa53290e206ae7 | [
"MIT"
] | null | null | null | tutorials/migrations/0025_auto_20200406_1743.py | ericrobskyhuntley/vialab.mit.edu | 1318d03b8eeb106c1662052e1caa53290e206ae7 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.4 on 2020-04-06 21:43
from django.db import migrations, models
import django.db.models.deletion
import martor.models
class Migration(migrations.Migration):
dependencies = [
('reading', '0012_auto_20200401_1514'),
('tutorials', '0024_auto_20200401_1804'),
]
oper... | 32.285714 | 172 | 0.581121 | 185 | 2,034 | 6.248649 | 0.308108 | 0.124567 | 0.15917 | 0.186851 | 0.759516 | 0.709343 | 0.649654 | 0.568339 | 0.502595 | 0.502595 | 0 | 0.032982 | 0.29941 | 2,034 | 62 | 173 | 32.806452 | 0.778246 | 0.022124 | 0 | 0.785714 | 1 | 0 | 0.122295 | 0.02315 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.053571 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6df99c98299538b42c718658e600d6fd6279f85d | 103 | py | Python | lewis_emulators/iris_cryo_valve/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 2 | 2020-10-20T16:49:13.000Z | 2021-02-19T10:41:44.000Z | lewis_emulators/iris_cryo_valve/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 9 | 2019-03-22T15:35:15.000Z | 2021-07-28T11:05:43.000Z | lewis_emulators/iris_cryo_valve/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 1 | 2020-10-21T17:02:44.000Z | 2020-10-21T17:02:44.000Z | from .stream_interface import IrisCryoValveStreamInterface
__all__ = ['IrisCryoValveStreamInterface']
| 25.75 | 58 | 0.864078 | 7 | 103 | 12 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 3 | 59 | 34.333333 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0.271845 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
096f40d173044f598fd70c6c320fcdbf426f7d04 | 33 | py | Python | xblog/mechanic.py | rubeon/django-xblog | 1709a3c2f6c1901231f817f9adeb189b0be6251e | [
"BSD-2-Clause"
] | null | null | null | xblog/mechanic.py | rubeon/django-xblog | 1709a3c2f6c1901231f817f9adeb189b0be6251e | [
"BSD-2-Clause"
] | null | null | null | xblog/mechanic.py | rubeon/django-xblog | 1709a3c2f6c1901231f817f9adeb189b0be6251e | [
"BSD-2-Clause"
] | null | null | null | """
old file, will be deleted
""" | 11 | 25 | 0.606061 | 5 | 33 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 3 | 26 | 11 | 0.740741 | 0.757576 | 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 |
09bc1865ee3b46667e5aa74caaa4c0b6e3db9897 | 792 | py | Python | Phase-1/Python Basic 1/Day-9.py | CodedLadiesInnovateTech/python-challenges | 22ce26c68fea6c7c243ada831e47c52e27a62127 | [
"MIT"
] | 11 | 2020-05-11T08:41:21.000Z | 2022-02-27T08:21:37.000Z | Phase-1/Python Basic 1/Day-9.py | CodedLadiesInnovateTech/python-challenges | 22ce26c68fea6c7c243ada831e47c52e27a62127 | [
"MIT"
] | 9 | 2020-05-12T10:46:06.000Z | 2020-05-28T17:37:19.000Z | Phase-1/Python Basic 1/Day-9.py | CodedLadiesInnovateTech/python-challenges | 22ce26c68fea6c7c243ada831e47c52e27a62127 | [
"MIT"
] | 44 | 2020-05-10T20:53:32.000Z | 2021-04-25T18:47:08.000Z | """
1. Write a Python program to get a directory listing, sorted by creation date.
2. Write a Python program to get the details of math module.
3. Write a Python program to calculate midpoints of a line.
4. Write a Python program to hash a word.
5. Write a Python program to get the copyright information.... | 33 | 137 | 0.741162 | 139 | 792 | 4.223022 | 0.446043 | 0.102215 | 0.204429 | 0.32368 | 0.413969 | 0.270869 | 0.229983 | 0 | 0 | 0 | 0 | 0.017713 | 0.215909 | 792 | 23 | 138 | 34.434783 | 0.927536 | 0.957071 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
09cb441b5d7262bbaa1f70f6b43cb37745a4fa97 | 236 | py | Python | python/boolean/is_equal2.py | maleich/ReadingBat-conditional1 | 4701caf110fb88952c4ca318a755c37869088750 | [
"Apache-2.0"
] | null | null | null | python/boolean/is_equal2.py | maleich/ReadingBat-conditional1 | 4701caf110fb88952c4ca318a755c37869088750 | [
"Apache-2.0"
] | null | null | null | python/boolean/is_equal2.py | maleich/ReadingBat-conditional1 | 4701caf110fb88952c4ca318a755c37869088750 | [
"Apache-2.0"
] | 1 | 2020-07-31T01:59:29.000Z | 2020-07-31T01:59:29.000Z | # @desc Checking to see if a number is equal to another number
def is_equal(x, y):
return x == y
def main():
print(is_equal(3, 5))
print(is_equal(5, 4))
print(is_equal(15, 15))
if __name__ == '__main__':
main()
| 15.733333 | 62 | 0.614407 | 41 | 236 | 3.243902 | 0.512195 | 0.263158 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0.245763 | 236 | 14 | 63 | 16.857143 | 0.702247 | 0.254237 | 0 | 0 | 0 | 0 | 0.045977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.375 | 0.375 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
61cb9a78cd84bacf5652ee2a59842951b34a6a54 | 114 | py | Python | pygdpr/policies/gdpr_policy.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | null | null | null | pygdpr/policies/gdpr_policy.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | 2 | 2022-02-19T06:56:03.000Z | 2022-02-19T07:00:00.000Z | pygdpr/policies/gdpr_policy.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | null | null | null | import datetime
class GDPRPolicy():
def implementation_date(self):
return datetime.date(2018, 5, 25)
| 19 | 41 | 0.701754 | 14 | 114 | 5.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.201754 | 114 | 5 | 42 | 22.8 | 0.791209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
61e3f7d584196c4127c504e679a5b2a3c2df8967 | 136 | py | Python | app/service/base_service.py | JunFuruya/Ratsnake | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | null | null | null | app/service/base_service.py | JunFuruya/Ratsnake | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | 5 | 2018-05-17T04:03:39.000Z | 2021-09-08T01:03:17.000Z | app/service/base_service.py | JunFuruya/Hideout | ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
'''
Base Service Module
'''
class BaseService():
__repository = None
def __init__(self):
pass
| 12.363636 | 23 | 0.573529 | 14 | 136 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.264706 | 136 | 10 | 24 | 13.6 | 0.71 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1114712044874694c9f7181f1f18602ba7d06d22 | 418 | py | Python | example/typec.py | quangpv/python-dependency-injection | 76bcf115dcaee792a5bc5269472aab38a091a002 | [
"MIT"
] | null | null | null | example/typec.py | quangpv/python-dependency-injection | 76bcf115dcaee792a5bc5269472aab38a091a002 | [
"MIT"
] | null | null | null | example/typec.py | quangpv/python-dependency-injection | 76bcf115dcaee792a5bc5269472aab38a091a002 | [
"MIT"
] | null | null | null | from src.qpvdi.injector import component, inject
from typeb import TypeB
@component()
class TypeD:
def __str__(self):
return "Type D"
@component
class TypeC:
def __init__(self, type_b: TypeB, type_d: TypeD):
self.type_b = type_b
self.type_d = type_d
@inject
def name(self) ->... | 19 | 60 | 0.643541 | 62 | 418 | 4.032258 | 0.403226 | 0.1 | 0.08 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251196 | 418 | 21 | 61 | 19.904762 | 0.798722 | 0 | 0 | 0.133333 | 0 | 0 | 0.114833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0.133333 | 0.133333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
111badceea74548c21b0709e7bbadc2bb8b96fbe | 71 | py | Python | skutil/metrics.py | shaypal5/skutil | 904e8ec9af9168db65aaa9a9177ee6cfacf72c6b | [
"MIT"
] | 4 | 2018-02-05T10:12:38.000Z | 2019-07-14T08:08:09.000Z | skutil/metrics.py | shaypal5/skutil | 904e8ec9af9168db65aaa9a9177ee6cfacf72c6b | [
"MIT"
] | 2 | 2018-04-10T12:50:48.000Z | 2021-08-30T12:44:19.000Z | skutil/metrics.py | shaypal5/skutil | 904e8ec9af9168db65aaa9a9177ee6cfacf72c6b | [
"MIT"
] | null | null | null | """Metrics-related functionality."""
# def df_classification_report(
| 14.2 | 36 | 0.760563 | 7 | 71 | 7.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 4 | 37 | 17.75 | 0.8125 | 0.859155 | 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 |
112ee67d8d0b2b75a0946c898da2a4d89b0ff4e7 | 207 | py | Python | pycave/bayes/gmm/__init__.py | borchero/leviathan | 52bf74adb29ab3f3aff2cfbf76a201ee0a6b39ae | [
"MIT"
] | 77 | 2020-03-23T04:35:26.000Z | 2022-03-30T08:07:48.000Z | pycave/bayes/gmm/__init__.py | AndrewUlmer/pycave | 7430fa4a515fe5ea7afbaad108226b4cd9111d8c | [
"MIT"
] | 13 | 2021-01-14T17:05:15.000Z | 2022-03-10T09:55:21.000Z | pycave/bayes/gmm/__init__.py | AndrewUlmer/pycave | 7430fa4a515fe5ea7afbaad108226b4cd9111d8c | [
"MIT"
] | 5 | 2021-01-17T11:16:29.000Z | 2022-03-12T16:31:16.000Z | from .estimator import GaussianMixture
from .model import GaussianMixtureModel, GaussianMixtureModelConfig
__all__ = [
"GaussianMixture",
"GaussianMixtureModel",
"GaussianMixtureModelConfig",
]
| 23 | 67 | 0.78744 | 13 | 207 | 12.230769 | 0.615385 | 0.578616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140097 | 207 | 8 | 68 | 25.875 | 0.893258 | 0 | 0 | 0 | 0 | 0 | 0.294686 | 0.125604 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
11333ba628c6b316a61e5518bf24cec0d5d587ff | 52 | py | Python | extensible_celery_worker/examples/__init__.py | ygversil/extensible-celery-worker | a0844461a8074bc3b97c87906d00926c2f637acb | [
"MIT"
] | null | null | null | extensible_celery_worker/examples/__init__.py | ygversil/extensible-celery-worker | a0844461a8074bc3b97c87906d00926c2f637acb | [
"MIT"
] | null | null | null | extensible_celery_worker/examples/__init__.py | ygversil/extensible-celery-worker | a0844461a8074bc3b97c87906d00926c2f637acb | [
"MIT"
] | null | null | null | """Example modules for extensible_celery_worker."""
| 26 | 51 | 0.788462 | 6 | 52 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.8125 | 0.865385 | 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 |
11435039ed5de234efaf098456a367671a4e7885 | 191 | py | Python | splauncher/__init__.py | nanshe-org/splauncher | fcfcf2952ecd14c8360e19b4c1984a580d9d774d | [
"BSD-3-Clause"
] | null | null | null | splauncher/__init__.py | nanshe-org/splauncher | fcfcf2952ecd14c8360e19b4c1984a580d9d774d | [
"BSD-3-Clause"
] | 23 | 2015-05-19T15:59:11.000Z | 2017-07-12T14:44:57.000Z | splauncher/__init__.py | nanshe-org/splauncher | fcfcf2952ecd14c8360e19b4c1984a580d9d774d | [
"BSD-3-Clause"
] | 2 | 2015-07-09T18:17:28.000Z | 2015-09-30T12:06:18.000Z | __author__ = "John Kirkham <kirkhamj@janelia.hhmi.org>"
__date__ = "$May 18, 2015 16:46:39 EDT$"
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 23.875 | 55 | 0.753927 | 27 | 191 | 4.740741 | 0.777778 | 0.257813 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.120419 | 191 | 7 | 56 | 27.285714 | 0.690476 | 0 | 0 | 0 | 0 | 0 | 0.387435 | 0.141361 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1150dadd5c43c29d43ccef470e22542a6cb02152 | 106 | py | Python | src/ska_tmc_cdm/messages/__init__.py | ska-telescope/cdm-shared-library | 636bf1c3e8762c7e21f7b0f5d281e07b206529dc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/ska_tmc_cdm/messages/__init__.py | ska-telescope/cdm-shared-library | 636bf1c3e8762c7e21f7b0f5d281e07b206529dc | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2019-07-08T18:57:36.000Z | 2021-05-07T08:58:19.000Z | src/ska_tmc_cdm/messages/__init__.py | ska-telescope/cdm-shared-library | 636bf1c3e8762c7e21f7b0f5d281e07b206529dc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | """
The ska_tmc_cdm.messages package contains modules that maps Tango structured
arguments to Python.
"""
| 21.2 | 76 | 0.792453 | 15 | 106 | 5.466667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 4 | 77 | 26.5 | 0.891304 | 0.915094 | 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 |
fecc63c026344a2f6eac4e1107491866f0da4641 | 2,109 | py | Python | examples/dev/noteCode.py | philthiel/Ensembler | 943efac3c673eb40165927e81336386788e3a19f | [
"MIT"
] | 39 | 2020-05-19T08:45:27.000Z | 2022-03-17T16:58:34.000Z | examples/dev/noteCode.py | SchroederB/Ensembler | 943efac3c673eb40165927e81336386788e3a19f | [
"MIT"
] | 38 | 2020-06-18T13:02:18.000Z | 2022-02-25T14:29:17.000Z | examples/dev/noteCode.py | SchroederB/Ensembler | 943efac3c673eb40165927e81336386788e3a19f | [
"MIT"
] | 13 | 2020-05-19T08:45:57.000Z | 2022-03-10T16:18:20.000Z | #Four Well Potential
##Imports
import numpy as np
from ensembler.potentials.OneD import fourWellPotential
from ensembler.visualisation.plotPotentials import plot_1DPotential
##Build potential
V = fourWellPotential(Vmax=4, a=1.5, b=4.0, c=7.0, d=9.0, ah=2., bh=0., ch=0.5, dh=1.)
##Visualize
positions = np.linspac... | 35.745763 | 125 | 0.790422 | 307 | 2,109 | 5.361564 | 0.263844 | 0.078979 | 0.053463 | 0.063183 | 0.792831 | 0.744228 | 0.744228 | 0.702309 | 0.582625 | 0.582625 | 0 | 0.047096 | 0.093883 | 2,109 | 58 | 126 | 36.362069 | 0.814233 | 0.135609 | 0 | 0.666667 | 0 | 0 | 0.042897 | 0.012256 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.407407 | 0 | 0.407407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fee4ffaeabbbe8b06adcb0f8c88bebf4056f2ccf | 164 | py | Python | jgo/__init__.py | hinerm/jgo | f2cc871f05b02bfdb383e5141c4c420aa3f73f28 | [
"Unlicense"
] | 38 | 2017-03-06T12:15:29.000Z | 2018-11-08T16:24:45.000Z | jgo/__init__.py | hinerm/jgo | f2cc871f05b02bfdb383e5141c4c420aa3f73f28 | [
"Unlicense"
] | 45 | 2018-11-17T05:49:12.000Z | 2021-11-16T16:23:37.000Z | jgo/__init__.py | hinerm/jgo | f2cc871f05b02bfdb383e5141c4c420aa3f73f28 | [
"Unlicense"
] | 11 | 2018-12-14T03:37:13.000Z | 2022-03-20T18:43:30.000Z | from .jgo import resolve_dependencies, _jgo_main as main
from .util import (
main_from_endpoint,
maven_scijava_repository,
add_jvm_args_as_necessary,
)
| 23.428571 | 56 | 0.786585 | 23 | 164 | 5.130435 | 0.695652 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 6 | 57 | 27.333333 | 0.861314 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fef16623c51f898198eedf43f641fd9eab250cc4 | 308 | py | Python | Python OOP/OOP/Classes and Objects/Exercise/Task08/project/user.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | 1 | 2022-03-16T10:23:04.000Z | 2022-03-16T10:23:04.000Z | Python OOP/OOP/Classes and Objects/Exercise/Task08/project/user.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | Python OOP/OOP/Classes and Objects/Exercise/Task08/project/user.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | class User:
def __init__(self, user_id: int, username: str):
self.user_id = user_id
self.username = username
self.books = []
def info(self):
return ', '.join(sorted(self.books))
def __str__(self):
return f"{self.user_id}, {self.username}, {self.books}"
| 23.692308 | 63 | 0.587662 | 40 | 308 | 4.225 | 0.375 | 0.142012 | 0.177515 | 0.213018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269481 | 308 | 12 | 64 | 25.666667 | 0.751111 | 0 | 0 | 0 | 0 | 0 | 0.153094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
fefc68241edbfea4a22c5a42966c9233ad647d59 | 146 | py | Python | flask_kits/utils/bunch.py | by46/flask-kits | 51edfd426fcb8db326d3cc3d7a5b07830d555163 | [
"MIT"
] | 1 | 2018-05-22T16:27:58.000Z | 2018-05-22T16:27:58.000Z | flask_kits/utils/bunch.py | by46/flask-kits | 51edfd426fcb8db326d3cc3d7a5b07830d555163 | [
"MIT"
] | null | null | null | flask_kits/utils/bunch.py | by46/flask-kits | 51edfd426fcb8db326d3cc3d7a5b07830d555163 | [
"MIT"
] | null | null | null | class Bunch(dict):
def __init__(self, *args, **kwargs):
super(Bunch, self).__init__(*args, **kwargs)
self.__dict__ = self
| 29.2 | 53 | 0.59589 | 17 | 146 | 4.411765 | 0.529412 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 146 | 4 | 54 | 36.5 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | 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 |
3a0e955ba80b67f78d33143e98867546f1b8d21c | 146 | py | Python | blink.py | rishaldyprisly/upy | 24986011d82c598ae504c89680a5778b42a7e81f | [
"MIT"
] | null | null | null | blink.py | rishaldyprisly/upy | 24986011d82c598ae504c89680a5778b42a7e81f | [
"MIT"
] | null | null | null | blink.py | rishaldyprisly/upy | 24986011d82c598ae504c89680a5778b42a7e81f | [
"MIT"
] | null | null | null | import machine
import time
led = machine.Pin(2, machine.Pin.OUT)
while True:
led.low()
time.sleep(0.5)
led.high()
time.sleep(0.5)
| 13.272727 | 38 | 0.643836 | 25 | 146 | 3.76 | 0.56 | 0.212766 | 0.212766 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0.205479 | 146 | 10 | 39 | 14.6 | 0.767241 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
3a214742485d85ec6c86d4a0cb1b4d3ee163b630 | 89 | py | Python | digsby/src/gui/toast/__init__.py | ifwe/digsby | f5fe00244744aa131e07f09348d10563f3d8fa99 | [
"Python-2.0"
] | 35 | 2015-08-15T14:32:38.000Z | 2021-12-09T16:21:26.000Z | digsby/src/gui/toast/__init__.py | niterain/digsby | 16a62c7df1018a49eaa8151c0f8b881c7e252949 | [
"Python-2.0"
] | 4 | 2015-09-12T10:42:57.000Z | 2017-02-27T04:05:51.000Z | digsby/src/gui/toast/__init__.py | niterain/digsby | 16a62c7df1018a49eaa8151c0f8b881c7e252949 | [
"Python-2.0"
] | 15 | 2015-07-10T23:58:07.000Z | 2022-01-23T22:16:33.000Z | from .toaststack import PopupStack
from .toast import Popup, popup, cancel_all, cancel_id | 44.5 | 54 | 0.831461 | 13 | 89 | 5.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 2 | 54 | 44.5 | 0.911392 | 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 |
3a3776ae66bafa246e8fa354444acca051fede63 | 319 | py | Python | users/models.py | maks-nurgazy/startapp | cfb09d1efc7c4aa685e050228151d9369d782678 | [
"MIT"
] | null | null | null | users/models.py | maks-nurgazy/startapp | cfb09d1efc7c4aa685e050228151d9369d782678 | [
"MIT"
] | null | null | null | users/models.py | maks-nurgazy/startapp | cfb09d1efc7c4aa685e050228151d9369d782678 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
company_name = models.CharField(max_length=256, unique=True)
phone = models.CharField(max_length=256)
address = models.CharField(max_length=256)
def __str__(self):
return self.username
| 26.583333 | 64 | 0.752351 | 42 | 319 | 5.52381 | 0.595238 | 0.193966 | 0.232759 | 0.310345 | 0.349138 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033582 | 0.159875 | 319 | 11 | 65 | 29 | 0.83209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3a3e449d959288b5138ec424ed882673e2c08588 | 35 | py | Python | Day 1/variable.py | adamsaparudin/python-datascience | 1b4164bb8a091f88def950f07108fe023737399c | [
"MIT"
] | null | null | null | Day 1/variable.py | adamsaparudin/python-datascience | 1b4164bb8a091f88def950f07108fe023737399c | [
"MIT"
] | null | null | null | Day 1/variable.py | adamsaparudin/python-datascience | 1b4164bb8a091f88def950f07108fe023737399c | [
"MIT"
] | null | null | null | nama = "Adam Saparudin"
print(nama) | 17.5 | 23 | 0.742857 | 5 | 35 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 2 | 24 | 17.5 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3a4ca79f169d002f538635388985cfc9c683d49c | 64 | py | Python | dnd/__init__.py | Skylark95/red-cogs | 42e1b106855b94db9c887643b7b98fec830a0a28 | [
"MIT"
] | null | null | null | dnd/__init__.py | Skylark95/red-cogs | 42e1b106855b94db9c887643b7b98fec830a0a28 | [
"MIT"
] | null | null | null | dnd/__init__.py | Skylark95/red-cogs | 42e1b106855b94db9c887643b7b98fec830a0a28 | [
"MIT"
] | null | null | null | from .dnd import Dnd
def setup(bot):
bot.add_cog(Dnd(bot)) | 12.8 | 25 | 0.671875 | 12 | 64 | 3.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 5 | 25 | 12.8 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3a52c02332ede38d430fef9807063591ab4b9d44 | 123 | py | Python | mailtrail/__main__.py | MSAdministrator/mailtrail | 00cb3eac7cdfba68907516086ca43feb7c90cf13 | [
"MIT"
] | 1 | 2021-01-10T06:57:57.000Z | 2021-01-10T06:57:57.000Z | mailtrail/__main__.py | MSAdministrator/mailtrail | 00cb3eac7cdfba68907516086ca43feb7c90cf13 | [
"MIT"
] | null | null | null | mailtrail/__main__.py | MSAdministrator/mailtrail | 00cb3eac7cdfba68907516086ca43feb7c90cf13 | [
"MIT"
] | null | null | null | import fire
from mailtrail import MailTrail
def main():
fire.Fire(MailTrail())
if __name__ == "__main__":
main()
| 13.666667 | 31 | 0.682927 | 15 | 123 | 5.066667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 123 | 8 | 32 | 15.375 | 0.767677 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 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 |
3a555f695128ae9cc1a5526be12bb26b2604e16d | 713 | py | Python | OOP/Exams/Exam_10_april_2021/01. Structure_Skeleton (2)/exam_skeleton/project/controller.py | petel3/Softuni_education | 4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c | [
"MIT"
] | 2 | 2022-03-05T13:17:12.000Z | 2022-03-05T13:17:16.000Z | OOP/Exams/Exam_10_april_2021/01. Structure_Skeleton (2)/exam_skeleton/project/controller.py | petel3/Softuni_education | 4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c | [
"MIT"
] | null | null | null | OOP/Exams/Exam_10_april_2021/01. Structure_Skeleton (2)/exam_skeleton/project/controller.py | petel3/Softuni_education | 4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c | [
"MIT"
] | null | null | null | from project.decoration.decoration_repository import DecorationRepository
class Controller:
def __init__(self):
self.decorations_repository=DecorationRepository()
self.aquariums=[]
def add_aquarium(self,aquarium_type: str, aquarium_name: str):
pass
def add_decoration(self,decorat... | 23.766667 | 107 | 0.691445 | 86 | 713 | 5.465116 | 0.325581 | 0.089362 | 0.159574 | 0.161702 | 0.214894 | 0.110638 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227209 | 713 | 29 | 108 | 24.586207 | 0.852995 | 0 | 0 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0.368421 | 0.052632 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
3a570ae3fbfad84ffd641595b6d47e33c024260e | 25 | py | Python | tests/syntax/f_string_binary.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 287 | 2019-04-08T13:18:29.000Z | 2021-03-14T19:10:21.000Z | tests/syntax/f_string_binary.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 191 | 2019-04-08T14:39:18.000Z | 2021-03-14T22:14:56.000Z | tests/syntax/f_string_binary.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 9 | 2019-04-08T12:54:08.000Z | 2020-11-20T02:26:27.000Z | greet = bf"Hello {name}"
| 12.5 | 24 | 0.64 | 4 | 25 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.48 | 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 |
28ab79133ad292fac0c6b73296e924c151f5f598 | 428 | py | Python | uu/retrieval/tests/__init__.py | mostscript/uu.retrieval | 15147013d42cc08126b971ba5eda35d044bb8c4d | [
"MIT"
] | null | null | null | uu/retrieval/tests/__init__.py | mostscript/uu.retrieval | 15147013d42cc08126b971ba5eda35d044bb8c4d | [
"MIT"
] | null | null | null | uu/retrieval/tests/__init__.py | mostscript/uu.retrieval | 15147013d42cc08126b971ba5eda35d044bb8c4d | [
"MIT"
] | null | null | null | import unittest2 as unittest
class PkgTest(unittest.TestCase):
"""basic unit tests for package go here"""
def test_pkg_import(self):
"""test basic package imports"""
import uu.retrieval # noqa
from uu.retrieval import interfaces
from uu.retrieval.indexing import interface... | 28.533333 | 60 | 0.668224 | 52 | 428 | 5.461538 | 0.5 | 0.193662 | 0.211268 | 0.200704 | 0.264085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003175 | 0.264019 | 428 | 14 | 61 | 30.571429 | 0.898413 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.875 | 0 | 1.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
28bc93d964fad9f3d5a6858c7ffaba33097f763b | 126 | py | Python | src/ClusterPortal/config.py | resouer/DLWorkspace | e19e8193fec12cb07db487318235ed4611dd2cfd | [
"MIT"
] | 38 | 2020-07-13T08:46:39.000Z | 2021-02-08T01:38:44.000Z | src/ClusterPortal/config.py | resouer/DLWorkspace | e19e8193fec12cb07db487318235ed4611dd2cfd | [
"MIT"
] | null | null | null | src/ClusterPortal/config.py | resouer/DLWorkspace | e19e8193fec12cb07db487318235ed4611dd2cfd | [
"MIT"
] | 20 | 2020-07-14T03:38:50.000Z | 2021-01-08T06:24:17.000Z | import yaml
import os
f = open(os.path.join(os.path.dirname(os.path.realpath(__file__)),"config.yaml"))
config = yaml.load(f)
| 25.2 | 81 | 0.738095 | 22 | 126 | 4.045455 | 0.545455 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 126 | 4 | 82 | 31.5 | 0.767241 | 0 | 0 | 0 | 0 | 0 | 0.087302 | 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 |
e912701760fbcb331ef1db8e421dc1e0abf88dde | 99 | py | Python | website/tools/__init__.py | grusirna/django-website | 49958fe98ea2b95d121e8bb880e684ee7be4ec15 | [
"MIT"
] | null | null | null | website/tools/__init__.py | grusirna/django-website | 49958fe98ea2b95d121e8bb880e684ee7be4ec15 | [
"MIT"
] | null | null | null | website/tools/__init__.py | grusirna/django-website | 49958fe98ea2b95d121e8bb880e684ee7be4ec15 | [
"MIT"
] | null | null | null |
def fa_icon(name):
'''
http://fontawesome.dashgame.com/
'''
return 'fa fa-%s'%name | 16.5 | 36 | 0.555556 | 13 | 99 | 4.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 99 | 6 | 37 | 16.5 | 0.72 | 0.323232 | 0 | 0 | 0 | 0 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e93a81e0c34f1c5aa63fe0c50879de4aad693e1c | 215 | py | Python | tpu_star/experiment/__init__.py | shonenkov/TPU-Star | 184ca912e4c3e6300af0156213ed792997d1fcc4 | [
"Apache-2.0"
] | 8 | 2020-10-28T07:03:20.000Z | 2021-12-22T09:10:40.000Z | tpu_star/experiment/__init__.py | shonenkov/TPU-Star | 184ca912e4c3e6300af0156213ed792997d1fcc4 | [
"Apache-2.0"
] | 8 | 2020-10-21T10:00:22.000Z | 2021-10-05T18:45:04.000Z | tpu_star/experiment/__init__.py | shonenkov/TPU-Star | 184ca912e4c3e6300af0156213ed792997d1fcc4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from .torch_tpu import TorchTPUExperiment
from .torch_gpu import TorchGPUExperiment
from .base import BaseExperiment
__all__ = ['TorchTPUExperiment', 'TorchGPUExperiment', 'BaseExperiment']
| 30.714286 | 72 | 0.786047 | 21 | 215 | 7.761905 | 0.619048 | 0.110429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.106977 | 215 | 6 | 73 | 35.833333 | 0.84375 | 0.097674 | 0 | 0 | 0 | 0 | 0.260417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3a65d7fdbf6e1cce68bb9d172bc5460fbed88c08 | 258 | pyde | Python | X_line.py.pyde | chernayMitifa/2019-fall-polytech-cs | d1aadb8f47a5252529162f3d394665c9b553fe36 | [
"MIT"
] | null | null | null | X_line.py.pyde | chernayMitifa/2019-fall-polytech-cs | d1aadb8f47a5252529162f3d394665c9b553fe36 | [
"MIT"
] | null | null | null | X_line.py.pyde | chernayMitifa/2019-fall-polytech-cs | d1aadb8f47a5252529162f3d394665c9b553fe36 | [
"MIT"
] | null | null | null | def setup():
size (300,300)
background (100)
smooth()
noLoop()
def draw ():
strokeWeight(15)
str(100)
line (100,200, 200,100)
line (200,200, 100,100)
| 21.5 | 36 | 0.395349 | 25 | 258 | 4.08 | 0.56 | 0.137255 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290076 | 0.492248 | 258 | 11 | 37 | 23.454545 | 0.48855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3aa7ffd9eb331a858503bdb899ad46065481b044 | 87 | py | Python | src/config.py | BlueViper8907/Air-Quality | 5947c08bc96cf00e8efa609c1470c2de1c86ae86 | [
"MIT"
] | 2 | 2021-09-02T17:03:13.000Z | 2021-09-08T14:59:38.000Z | src/config.py | BlueViper8907/Air-Quality | 5947c08bc96cf00e8efa609c1470c2de1c86ae86 | [
"MIT"
] | 34 | 2021-06-24T00:32:03.000Z | 2022-03-21T21:58:18.000Z | src/config.py | BlueViper8907/Air-Quality | 5947c08bc96cf00e8efa609c1470c2de1c86ae86 | [
"MIT"
] | 3 | 2021-09-14T02:48:16.000Z | 2021-11-18T01:06:46.000Z | from dotenv import load_dotenv
import os
load_dotenv()
EPA_KEY = os.getenv("EPA_KEY") | 14.5 | 30 | 0.781609 | 15 | 87 | 4.266667 | 0.533333 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 6 | 31 | 14.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 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 |
3abb29f8bdfa861622512afc7aaf4a189120b5b3 | 229 | py | Python | actions/add_watcher.py | viveksyngh/stackstorm-jira | d08bc9b78bb5a5cce1c6e84c1f947f1ba3088d26 | [
"Apache-2.0"
] | null | null | null | actions/add_watcher.py | viveksyngh/stackstorm-jira | d08bc9b78bb5a5cce1c6e84c1f947f1ba3088d26 | [
"Apache-2.0"
] | null | null | null | actions/add_watcher.py | viveksyngh/stackstorm-jira | d08bc9b78bb5a5cce1c6e84c1f947f1ba3088d26 | [
"Apache-2.0"
] | 1 | 2020-01-22T16:35:49.000Z | 2020-01-22T16:35:49.000Z | from lib.base import BaseJiraAction
__all__ = ["JiraIssueAddWatcherAction"]
class JiraIssueAddWatcherAction(BaseJiraAction):
def run(self, issue_key, username):
return self._client.add_watcher(issue_key, username)
| 25.444444 | 60 | 0.781659 | 24 | 229 | 7.125 | 0.75 | 0.093567 | 0.187135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135371 | 229 | 8 | 61 | 28.625 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.10917 | 0.10917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
3ae316c4333451e308a2c3c5a2ee9f2dea2b8f95 | 141 | py | Python | src/dlt/types.py | thepolicylab/DLT-RESEA | e25aafdc6549d79bf73615c61eea16eef2add4d5 | [
"MIT"
] | null | null | null | src/dlt/types.py | thepolicylab/DLT-RESEA | e25aafdc6549d79bf73615c61eea16eef2add4d5 | [
"MIT"
] | null | null | null | src/dlt/types.py | thepolicylab/DLT-RESEA | e25aafdc6549d79bf73615c61eea16eef2add4d5 | [
"MIT"
] | null | null | null | from datetime import date
from pathlib import Path
from typing import Union
FilenameType = Union[str, Path]
DatetimeType = Union[str, date]
| 20.142857 | 31 | 0.794326 | 20 | 141 | 5.6 | 0.55 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 141 | 6 | 32 | 23.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
aaf1a5d41a42f0faedba30647037f2e63c0bd4d0 | 141 | py | Python | 6 kyu/Matrix Trace.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 6 kyu/Matrix Trace.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 6 kyu/Matrix Trace.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def trace(matrix):
try:
return sum(matrix[i][i] for i in range(max(len(matrix), len(matrix[0]))))
except:
return None | 28.2 | 81 | 0.588652 | 22 | 141 | 3.772727 | 0.681818 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.255319 | 141 | 5 | 82 | 28.2 | 0.780952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c91b357e5a045d48f4628ea921a58f6ab53b3d8c | 250 | py | Python | ecg2rr/wfdb/processing/__init__.py | alexwickstrom/ecg2rr | d4d5f7ae8d88fad749bdae26baf1debae6b15593 | [
"MIT"
] | null | null | null | ecg2rr/wfdb/processing/__init__.py | alexwickstrom/ecg2rr | d4d5f7ae8d88fad749bdae26baf1debae6b15593 | [
"MIT"
] | null | null | null | ecg2rr/wfdb/processing/__init__.py | alexwickstrom/ecg2rr | d4d5f7ae8d88fad749bdae26baf1debae6b15593 | [
"MIT"
] | null | null | null | from ..processing.basic import resample_ann, normalize_bound, get_filter_gain
from ..processing.peaks import find_peaks, find_local_peaks, correct_peaks
from ..processing.qrs import XQRS, xqrs_detect
from ..processing.preprocessing import normalize
| 50 | 77 | 0.844 | 34 | 250 | 5.941176 | 0.558824 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 250 | 4 | 78 | 62.5 | 0.885965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c938b22573035511febcb854e9aa6d30bae4f946 | 132 | py | Python | src/lesson_developer_tools/doctest_private_tests_external.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_developer_tools/doctest_private_tests_external.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_developer_tools/doctest_private_tests_external.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | """External tests associated with doctest_private_tests.py.
>>> my_function(['A', 'B', 'C'], 2)
['A', 'B', 'C', 'A', 'B', 'C']
"""
| 22 | 59 | 0.537879 | 20 | 132 | 3.4 | 0.65 | 0.088235 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.136364 | 132 | 5 | 60 | 26.4 | 0.587719 | 0.939394 | 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 |
c957a69ff44bbb2985ad74729a7c74fb337b061d | 99 | py | Python | Arquvio_do_Python/TestandoSenha.py | BrunnoNovais/Verificador-de-senha | 929661d6873c28b517b0b95b5638141e818fe111 | [
"MIT"
] | 3 | 2020-04-10T03:03:27.000Z | 2020-04-11T01:40:03.000Z | Arquvio_do_Python/TestandoSenha.py | BrunnoNovais/Verificador-de-senha | 929661d6873c28b517b0b95b5638141e818fe111 | [
"MIT"
] | null | null | null | Arquvio_do_Python/TestandoSenha.py | BrunnoNovais/Verificador-de-senha | 929661d6873c28b517b0b95b5638141e818fe111 | [
"MIT"
] | null | null | null | from Verificador_de_senha.Arquvio_do_Python.Modulos_De_Senha import TestandoSenha
TestandoSenha()
| 24.75 | 81 | 0.89899 | 13 | 99 | 6.384615 | 0.769231 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 99 | 3 | 82 | 33 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c961667e236fdb0ede17e4f727e710019c4bdadf | 92 | py | Python | nyoka/PMML44/behaviors/addNet.py | maxibor/nyoka | 19f480eee608035aa5fba368c96d4143bc2f5710 | [
"Apache-2.0"
] | 71 | 2020-08-24T07:59:56.000Z | 2022-03-21T08:36:35.000Z | nyoka/PMML43Ext/behaviors/addNet.py | Chiragasourabh/nyoka | 44003b5dc500b18d3a2b2c6ed6fc4db217e2d2c0 | [
"Apache-2.0"
] | 16 | 2020-09-02T10:27:36.000Z | 2022-03-31T05:37:12.000Z | nyoka/PMML43Ext/behaviors/addNet.py | Chiragasourabh/nyoka | 44003b5dc500b18d3a2b2c6ed6fc4db217e2d2c0 | [
"Apache-2.0"
] | 16 | 2020-09-17T15:01:33.000Z | 2022-03-28T03:13:25.000Z | self.NetworkLayer.append(value)
self.numberOfLayers = len(self.NetworkLayer) | 46 | 52 | 0.695652 | 9 | 92 | 7.111111 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 92 | 2 | 52 | 46 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c9678ae42a0c7b0f860ed5163dbceb41b00ec0af | 123 | py | Python | phonebook/__main__.py | micklemacklemore/phone-book | 1bea7c4954509b648aa5d256514bb6e392b85cd9 | [
"MIT"
] | null | null | null | phonebook/__main__.py | micklemacklemore/phone-book | 1bea7c4954509b648aa5d256514bb6e392b85cd9 | [
"MIT"
] | null | null | null | phonebook/__main__.py | micklemacklemore/phone-book | 1bea7c4954509b648aa5d256514bb6e392b85cd9 | [
"MIT"
] | null | null | null | import phonebook_actions
import phonebook
def main():
phonebook.parse_args()
if __name__ == "__main__":
main()
| 11.181818 | 26 | 0.699187 | 14 | 123 | 5.428571 | 0.642857 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 123 | 10 | 27 | 12.3 | 0.767677 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a3299f28657b555a2520323b1bbb7e6573aa666e | 164 | py | Python | mailsnake/__init__.py | rhefner1/ghidonations | aa1b263ce30c952400a5eac8739b1ef52a2e4fed | [
"Apache-2.0"
] | null | null | null | mailsnake/__init__.py | rhefner1/ghidonations | aa1b263ce30c952400a5eac8739b1ef52a2e4fed | [
"Apache-2.0"
] | 2 | 2015-03-11T04:59:20.000Z | 2016-02-08T16:42:06.000Z | mailsnake/__init__.py | rhefner1/ghidonations | aa1b263ce30c952400a5eac8739b1ef52a2e4fed | [
"Apache-2.0"
] | null | null | null | from mailsnake import *
__author__ = 'John-Kim Murphy'
__copyright__ = 'Copyright 2010, John-Kim Murphy'
__credits__ = ['John-Kim Murphy',]
__version__ = '1.3.0.0' | 27.333333 | 49 | 0.731707 | 22 | 164 | 4.727273 | 0.636364 | 0.201923 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 0.128049 | 164 | 6 | 50 | 27.333333 | 0.671329 | 0 | 0 | 0 | 0 | 0 | 0.412121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a367b2bd833aecb939756c0037f5d9237bf88fb8 | 223 | py | Python | src/sceneinterface.py | MrLIVB/BMSTU_CG_CP | 05bc273336e36a5f1a63595b83f9eddd5aca9900 | [
"MIT"
] | null | null | null | src/sceneinterface.py | MrLIVB/BMSTU_CG_CP | 05bc273336e36a5f1a63595b83f9eddd5aca9900 | [
"MIT"
] | null | null | null | src/sceneinterface.py | MrLIVB/BMSTU_CG_CP | 05bc273336e36a5f1a63595b83f9eddd5aca9900 | [
"MIT"
] | null | null | null | from scene import Scene
from commands import BaseCommand
class SceneInterface(object):
def __init__(self):
self.scene = Scene()
def execute(self, command: BaseCommand):
command.execute(self.scene)
| 22.3 | 44 | 0.70852 | 26 | 223 | 5.923077 | 0.5 | 0.116883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206278 | 223 | 9 | 45 | 24.777778 | 0.870057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6e574aed78ffaea0aee66fa5baf806a3a972ffa8 | 52 | py | Python | packages/vaex-hdf5/vaex/hdf5/_version.py | yohplala/vaex | ca7927a19d259576ca0403ee207a597aaef6adc2 | [
"MIT"
] | 1 | 2019-06-05T00:10:36.000Z | 2019-06-05T00:10:36.000Z | packages/vaex-hdf5/vaex/hdf5/_version.py | yohplala/vaex | ca7927a19d259576ca0403ee207a597aaef6adc2 | [
"MIT"
] | 1 | 2019-06-03T21:25:01.000Z | 2019-06-03T21:25:01.000Z | packages/vaex-hdf5/vaex/hdf5/_version.py | yohplala/vaex | ca7927a19d259576ca0403ee207a597aaef6adc2 | [
"MIT"
] | null | null | null | __version_tuple__ = (0, 8, 0)
__version__ = '0.8.0'
| 17.333333 | 29 | 0.653846 | 9 | 52 | 2.777778 | 0.444444 | 0.16 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.153846 | 52 | 2 | 30 | 26 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
6e8b5dc11b46142a39b3f968a1d19d536a120e10 | 231 | py | Python | tests/test_conf.py | mumtozvalijonov/fastapi_contrib | e35b4fd7c135380f885c364e4d4b992fb55f687e | [
"MIT"
] | null | null | null | tests/test_conf.py | mumtozvalijonov/fastapi_contrib | e35b4fd7c135380f885c364e4d4b992fb55f687e | [
"MIT"
] | null | null | null | tests/test_conf.py | mumtozvalijonov/fastapi_contrib | e35b4fd7c135380f885c364e4d4b992fb55f687e | [
"MIT"
] | 1 | 2021-05-16T11:53:14.000Z | 2021-05-16T11:53:14.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from fastapi_contrib.conf import settings
def test_settings_from_env_and_defaults():
assert settings.fastapi_app == "tests.conftest.app"
assert settings.now_function is None
| 23.1 | 55 | 0.748918 | 33 | 231 | 5 | 0.757576 | 0.169697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005025 | 0.138528 | 231 | 9 | 56 | 25.666667 | 0.824121 | 0.181818 | 0 | 0 | 0 | 0 | 0.096257 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6eb0e3690c283ab7d2b446d7d7a51abbe4aecd1d | 13,172 | py | Python | python/tests/test_parameterised.py | Skenvy/Collatz | 9b1738221fc421d153eabd37c837239b189c6bed | [
"Apache-2.0"
] | null | null | null | python/tests/test_parameterised.py | Skenvy/Collatz | 9b1738221fc421d153eabd37c837239b189c6bed | [
"Apache-2.0"
] | null | null | null | python/tests/test_parameterised.py | Skenvy/Collatz | 9b1738221fc421d153eabd37c837239b189c6bed | [
"Apache-2.0"
] | null | null | null | import pytest
from math import inf as infinity
from src import collatz
from src.collatz import _CC, _ErrMsg, _KNOWN_CYCLES
_REGEX_ERR_P_IS_ZERO = f"^{_ErrMsg.SANE_PARAMS_P.value}$"
_REGEX_ERR_A_IS_ZERO = f"^{_ErrMsg.SANE_PARAMS_A.value}$"
# Test def function(n:int, P:int=2, a:int=3, b:int=1)
def test_function():
... | 55.813559 | 80 | 0.653052 | 2,288 | 13,172 | 3.624563 | 0.097902 | 0.133245 | 0.011214 | 0.07235 | 0.849391 | 0.758109 | 0.703967 | 0.668516 | 0.589775 | 0.545882 | 0 | 0.058188 | 0.205436 | 13,172 | 235 | 81 | 56.051064 | 0.734187 | 0.321364 | 0 | 0.137255 | 0 | 0 | 0.006995 | 0.006995 | 0 | 0 | 0 | 0 | 0.653595 | 1 | 0.03268 | false | 0 | 0.026144 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ede11b370147cc58e2a3180fe724510d3cd0517 | 1,202 | py | Python | openstackinabox/models/keystone/exceptions.py | BenjamenMeyer/openstackinabox | b5097695719b818dd06e3773899f80a15e7e71c1 | [
"Apache-2.0"
] | 1 | 2017-11-19T20:31:48.000Z | 2017-11-19T20:31:48.000Z | openstackinabox/models/keystone/exceptions.py | TestInABox/openstackinabox | 00dcac601d14e1cfc240840dd92895ee322caf96 | [
"Apache-2.0"
] | 38 | 2016-05-05T18:03:21.000Z | 2020-04-11T03:33:01.000Z | openstackinabox/models/keystone/exceptions.py | BenjamenMeyer/openstackinabox | b5097695719b818dd06e3773899f80a15e7e71c1 | [
"Apache-2.0"
] | 1 | 2015-05-28T14:53:46.000Z | 2015-05-28T14:53:46.000Z | """
Keystone Model Exceptions
"""
from openstackinabox.models.base_model import BaseModelExceptions
class KeystoneError(BaseModelExceptions):
pass
class KeystoneTenantError(KeystoneError):
pass
class KeystoneUserError(KeystoneError):
pass
class KeystoneDisabledUserError(KeystoneUserError):
pass
... | 16.465753 | 71 | 0.81614 | 78 | 1,202 | 12.564103 | 0.358974 | 0.146939 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134775 | 1,202 | 72 | 72 | 16.694444 | 0.942308 | 0.020799 | 0 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.514286 | 0.028571 | 0 | 0.514286 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6eea6ae0a94bcd181e5d887c9fe05ab6b5505227 | 2,977 | py | Python | rim/migrations/0002_auto_20180725_2108.py | mostateresnet/rimproject | ef1952ee386b62ea7b49c139a3c66c718fb310d0 | [
"MIT"
] | null | null | null | rim/migrations/0002_auto_20180725_2108.py | mostateresnet/rimproject | ef1952ee386b62ea7b49c139a3c66c718fb310d0 | [
"MIT"
] | 55 | 2018-04-18T19:57:56.000Z | 2021-09-22T18:51:16.000Z | rim/migrations/0002_auto_20180725_2108.py | mostateresnet/rimproject | ef1952ee386b62ea7b49c139a3c66c718fb310d0 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.6 on 2018-07-25 21:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rim', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='equipment',
name='cpu',
field=m... | 31.670213 | 93 | 0.551898 | 281 | 2,977 | 5.69395 | 0.24911 | 0.09 | 0.18 | 0.22 | 0.77875 | 0.77875 | 0.72875 | 0.60125 | 0.54125 | 0.51 | 0 | 0.024084 | 0.330534 | 2,977 | 93 | 94 | 32.010753 | 0.778726 | 0.015116 | 0 | 0.689655 | 1 | 0 | 0.111263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011494 | 0 | 0.045977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
42be475477ab318b4c909dfe96e318bf8a1b9fc0 | 197 | py | Python | mumbleroni/core/module/abstract_module.py | Peter-Morawski/MumbleRoni | b1c6119a91b720f1a04b51d65b337ee94df3a6ac | [
"MIT"
] | 1 | 2021-03-28T17:21:53.000Z | 2021-03-28T17:21:53.000Z | mumbleroni/core/module/abstract_module.py | Peter-Morawski/MumbleRoni | b1c6119a91b720f1a04b51d65b337ee94df3a6ac | [
"MIT"
] | null | null | null | mumbleroni/core/module/abstract_module.py | Peter-Morawski/MumbleRoni | b1c6119a91b720f1a04b51d65b337ee94df3a6ac | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import time
import threading as th
from mumbleroni.core.command.manager import CommandRegistry
class AbstractModule:
_register_command = CommandRegistry.add_to_queue
| 19.7 | 59 | 0.786802 | 24 | 197 | 6.291667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.137056 | 197 | 9 | 60 | 21.888889 | 0.882353 | 0.106599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 |
42fd18b2747b21c8b7ba6990e90564fc2faf30ed | 730 | py | Python | ap_cli/main.py | monty5811/apostello-docker-cli | 80bf49897b8bb5f27c94768c142c6b3fbd6d36bf | [
"MIT"
] | null | null | null | ap_cli/main.py | monty5811/apostello-docker-cli | 80bf49897b8bb5f27c94768c142c6b3fbd6d36bf | [
"MIT"
] | null | null | null | ap_cli/main.py | monty5811/apostello-docker-cli | 80bf49897b8bb5f27c94768c142c6b3fbd6d36bf | [
"MIT"
] | null | null | null | import os
import subprocess
from datetime import datetime
import click
from ap_cli import apostello
from ap_cli import build
from ap_cli import config
from ap_cli import db
from ap_cli import dev
from ap_cli import init
from ap_cli import upgrade
@click.group()
def cli():
"""Setup, configure, and deploy an inst... | 18.25 | 64 | 0.79589 | 121 | 730 | 4.628099 | 0.280992 | 0.128571 | 0.278571 | 0.1875 | 0.067857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113699 | 730 | 39 | 65 | 18.717949 | 0.865533 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | true | 0.038462 | 0.423077 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6e0c4355b8dd9d88bbd1132a8c3a1eeccfa09b93 | 44 | py | Python | {{cookiecutter.name}}.py | deathbeds/innit-flit | c86533089bc44f740315ffc1262e30fd82682de4 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.name}}.py | deathbeds/innit-flit | c86533089bc44f740315ffc1262e30fd82682de4 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.name}}.py | deathbeds/innit-flit | c86533089bc44f740315ffc1262e30fd82682de4 | [
"BSD-3-Clause"
] | null | null | null | """{{description}}"""
__version__ = "0.0.1"
| 14.666667 | 21 | 0.568182 | 5 | 44 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.090909 | 44 | 2 | 22 | 22 | 0.45 | 0.340909 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6e0c6acdee77eef81f2e6ef3c4cf0cc2794b497c | 12 | py | Python | renderit/models.py | pabloriveracelerity/django-renderit | b33873b8847cc978f0ad6163a0f90393cc5ce175 | [
"Apache-2.0"
] | null | null | null | renderit/models.py | pabloriveracelerity/django-renderit | b33873b8847cc978f0ad6163a0f90393cc5ce175 | [
"Apache-2.0"
] | null | null | null | renderit/models.py | pabloriveracelerity/django-renderit | b33873b8847cc978f0ad6163a0f90393cc5ce175 | [
"Apache-2.0"
] | null | null | null | # models.py
| 6 | 11 | 0.666667 | 2 | 12 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 12 | 1 | 12 | 12 | 0.8 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
285cf8209bc5651ca8c87642b6781d0117ee8ba4 | 235 | py | Python | category/translation.py | even311379/PufStudio | 0ac0c50779100b312f815ea4cec4049f017739cb | [
"MIT"
] | null | null | null | category/translation.py | even311379/PufStudio | 0ac0c50779100b312f815ea4cec4049f017739cb | [
"MIT"
] | null | null | null | category/translation.py | even311379/PufStudio | 0ac0c50779100b312f815ea4cec4049f017739cb | [
"MIT"
] | null | null | null | from .models import Category
from modeltranslation.translator import TranslationOptions
from modeltranslation.decorators import register
@register(Category)
class CategoryTR(TranslationOptions):
fields = (
'title',
)
| 21.363636 | 58 | 0.774468 | 21 | 235 | 8.666667 | 0.619048 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161702 | 235 | 10 | 59 | 23.5 | 0.923858 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
28a17dcfdef6eb4e023d948f991b7cb5f41a433b | 3,943 | py | Python | sogs/migrations/file_message.py | Bilb/session-pysogs | eb6f13e26d16f0119e87b41ffb86813c3c177ab9 | [
"MIT"
] | 1 | 2022-03-08T06:34:34.000Z | 2022-03-08T06:34:34.000Z | sogs/migrations/file_message.py | Bilb/session-pysogs | eb6f13e26d16f0119e87b41ffb86813c3c177ab9 | [
"MIT"
] | null | null | null | sogs/migrations/file_message.py | Bilb/session-pysogs | eb6f13e26d16f0119e87b41ffb86813c3c177ab9 | [
"MIT"
] | null | null | null | from .exc import DatabaseUpgradeRequired
import logging
def migrate(conn, *, check_only):
from .. import db
if 'message' in db.metadata.tables['files'].c:
return False
logging.warning("DB migration: adding message/file association")
if check_only:
raise DatabaseUpgradeRequired("Add ... | 34.286957 | 98 | 0.72914 | 551 | 3,943 | 5.067151 | 0.177858 | 0.060172 | 0.090258 | 0.080587 | 0.820559 | 0.809456 | 0.777937 | 0.715974 | 0.597421 | 0.52543 | 0 | 0.00864 | 0.207456 | 3,943 | 114 | 99 | 34.587719 | 0.8848 | 0 | 0 | 0.2 | 0 | 0 | 0.363798 | 0.087844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
955e1f92a083e7b232d734778f5a4a1fa8393d74 | 51 | py | Python | chapter3/hello_world.py | chavo1/playground-python | 558ba5515cb01b3fdb8123a1df7c6abc0ef6fa20 | [
"MIT"
] | null | null | null | chapter3/hello_world.py | chavo1/playground-python | 558ba5515cb01b3fdb8123a1df7c6abc0ef6fa20 | [
"MIT"
] | null | null | null | chapter3/hello_world.py | chavo1/playground-python | 558ba5515cb01b3fdb8123a1df7c6abc0ef6fa20 | [
"MIT"
] | null | null | null | import snaps
snaps.display_message('hello world')
| 12.75 | 36 | 0.803922 | 7 | 51 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 3 | 37 | 17 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 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 |
959fcbfe0d2e6e7e1af7589dff14f561d08d471f | 58 | py | Python | clash-of-code/shortest/montly_interest.py | jonasnic/codingame | f1a7fe8007b9ca63bdf30cd72f4d6ac41a5ac721 | [
"MIT"
] | 30 | 2016-04-30T01:56:05.000Z | 2022-03-09T22:19:12.000Z | clash-of-code/shortest/montly_interest.py | jonasnic/codingame | f1a7fe8007b9ca63bdf30cd72f4d6ac41a5ac721 | [
"MIT"
] | 1 | 2021-05-19T19:36:45.000Z | 2021-05-19T19:36:45.000Z | clash-of-code/shortest/montly_interest.py | jonasnic/codingame | f1a7fe8007b9ca63bdf30cd72f4d6ac41a5ac721 | [
"MIT"
] | 17 | 2020-01-28T13:54:06.000Z | 2022-03-26T09:49:27.000Z | n,i,m=map(int, input().split())
print(int(n*(1+i/100)**m)) | 29 | 31 | 0.586207 | 14 | 58 | 2.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.034483 | 58 | 2 | 32 | 29 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
253075c6cb0aa29fa88a4f3211d471a37083ff3f | 53 | py | Python | src/blockit/algos/__init__.py | leoank/blockit | e0311444701ac1a1d0fbec623f6ebc72f1b37e6b | [
"MIT"
] | null | null | null | src/blockit/algos/__init__.py | leoank/blockit | e0311444701ac1a1d0fbec623f6ebc72f1b37e6b | [
"MIT"
] | null | null | null | src/blockit/algos/__init__.py | leoank/blockit | e0311444701ac1a1d0fbec623f6ebc72f1b37e6b | [
"MIT"
] | null | null | null | """Algorithms to find best block of transactions."""
| 26.5 | 52 | 0.735849 | 7 | 53 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 1 | 53 | 53 | 0.847826 | 0.867925 | 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 |
2550b34df4d093ffa963058000fcbcd493ba2b17 | 130 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection/StubAssignment/a.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/StubAssignment/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/StubAssignment/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import m1
x = 1 * m1.C()
print(x.foo)
print(x.<warning descr="Unresolved attribute reference 'bar' for class 'C'">bar</warning>)
| 21.666667 | 90 | 0.692308 | 22 | 130 | 4.090909 | 0.681818 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.130769 | 130 | 5 | 91 | 26 | 0.769912 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c253da38f501f92281a4383bd5c297da41ac566f | 1,217 | py | Python | DailyProgrammer/20120519B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/20120519B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/20120519B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
For this challenge, create the worlds simplest IM client. It should work like this: if Alice on computer A wants to talk
to Bob on computer B, she should start the IM program as a server listening to some port. Bob should then start the
program on his end, punch in computer A's IP address with the right port. The t... | 33.805556 | 120 | 0.741167 | 219 | 1,217 | 4.082192 | 0.465753 | 0.016779 | 0.024609 | 0.026846 | 0.076063 | 0.076063 | 0.076063 | 0 | 0 | 0 | 0 | 0 | 0.189811 | 1,217 | 35 | 121 | 34.771429 | 0.906694 | 0.940838 | 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 |
c2a05942bcc91083f7d66fa94da4e25f200522ca | 876,017 | py | Python | main/extra/qrc/images.py | RandyParedis/DotGaper | 290b21afe418469dff9e97a3b05f3e1440e13211 | [
"MIT"
] | null | null | null | main/extra/qrc/images.py | RandyParedis/DotGaper | 290b21afe418469dff9e97a3b05f3e1440e13211 | [
"MIT"
] | null | null | null | main/extra/qrc/images.py | RandyParedis/DotGaper | 290b21afe418469dff9e97a3b05f3e1440e13211 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.13.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\xa4\x20\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\x3d\x... | 65.732498 | 121 | 0.727239 | 212,275 | 876,017 | 3.000994 | 0.001446 | 0.002411 | 0.001681 | 0.001055 | 0.02908 | 0.026292 | 0.025005 | 0.024021 | 0.02282 | 0.022212 | 0 | 0.308749 | 0.015312 | 876,017 | 13,326 | 122 | 65.737431 | 0.429755 | 0.000174 | 0 | 0.007062 | 0 | 0.995642 | 0.000001 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.00015 | false | 0 | 0.000075 | 0 | 0.000225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c2d93a1769fe856e7d4e428699886ee66cff7a59 | 161 | py | Python | config.py | anggelomos/bulloh | 44343fe71aff8803e7a23dd65aa101dbce35cd84 | [
"MIT"
] | 2 | 2022-03-01T19:05:39.000Z | 2022-03-04T23:26:02.000Z | config.py | anggelomos/bulloh | 44343fe71aff8803e7a23dd65aa101dbce35cd84 | [
"MIT"
] | null | null | null | config.py | anggelomos/bulloh | 44343fe71aff8803e7a23dd65aa101dbce35cd84 | [
"MIT"
] | null | null | null | import os
# ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) # Root directory for local development
ROOT_DIR = "/tmp" # Root directory for lambda execution | 40.25 | 94 | 0.770186 | 24 | 161 | 4.916667 | 0.625 | 0.118644 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 161 | 4 | 95 | 40.25 | 0.842857 | 0.78882 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c2e629c7846ece7f206337d5e56bd6e219d328e4 | 603 | py | Python | connect/api/__init__.py | Adrian-IM/connect.py | 72a9dccedbaadb5241bcfd6d46e45b26835a1dd3 | [
"Apache-2.0"
] | null | null | null | connect/api/__init__.py | Adrian-IM/connect.py | 72a9dccedbaadb5241bcfd6d46e45b26835a1dd3 | [
"Apache-2.0"
] | null | null | null | connect/api/__init__.py | Adrian-IM/connect.py | 72a9dccedbaadb5241bcfd6d46e45b26835a1dd3 | [
"Apache-2.0"
] | null | null | null | from connect.autogen import connect_api_IApiClient as IApiClient
from connect.autogen import connect_api_IFulfillmentApi as IFulfillmentApi
from connect.autogen import connect_api_IGeneralApi as IGeneralApi
from connect.autogen import connect_api_ITierApi as ITierApi
from connect.autogen import connect_api_IUsageApi as... | 31.736842 | 74 | 0.810945 | 71 | 603 | 6.633803 | 0.197183 | 0.163482 | 0.267516 | 0.356688 | 0.505308 | 0.505308 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137645 | 603 | 18 | 75 | 33.5 | 0.905769 | 0 | 0 | 0 | 1 | 0 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4375 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.