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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8157d99529c50ecf9937f05030a004829cd209a | 26 | py | Python | tools/__init__.py | jduanen/SensorNet | 82a440f23f6ee3b103ad1a0f79245ef6779bff93 | [
"MIT"
] | null | null | null | tools/__init__.py | jduanen/SensorNet | 82a440f23f6ee3b103ad1a0f79245ef6779bff93 | [
"MIT"
] | null | null | null | tools/__init__.py | jduanen/SensorNet | 82a440f23f6ee3b103ad1a0f79245ef6779bff93 | [
"MIT"
] | null | null | null | '''
SensorNet package
'''
| 6.5 | 17 | 0.615385 | 2 | 26 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 3 | 18 | 8.666667 | 0.727273 | 0.653846 | 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 |
b527a0ab2819ec30ca059e458d302f0dec6cb7ec | 81 | py | Python | tests/perfs/test_ozone_perf_measure_MASE.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/perfs/test_ozone_perf_measure_MASE.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/perfs/test_ozone_perf_measure_MASE.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z |
import tests.perfs.test_ozone_perf_measure as tperf
tperf.build_model("MASE");
| 16.2 | 51 | 0.814815 | 13 | 81 | 4.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 4 | 52 | 20.25 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.05 | 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 |
b56d9a94fd4d11b8f5df1f95dda69d147de8b59d | 4,781 | py | Python | tests/sample_apps/how_to/_achievement.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | tests/sample_apps/how_to/_achievement.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | tests/sample_apps/how_to/_achievement.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | from ._integration_test_case import IntegrationTestCase
from accelbyte_py_sdk.api.achievement.models import ModelsAchievementRequest
class AchievementTestCase(IntegrationTestCase):
exist: bool = False
models_achievement_request: ModelsAchievementRequest = ModelsAchievementRequest.create(
achievement... | 38.556452 | 115 | 0.684585 | 540 | 4,781 | 5.77037 | 0.148148 | 0.054236 | 0.06258 | 0.075096 | 0.783055 | 0.766046 | 0.7638 | 0.753209 | 0.696727 | 0.622914 | 0 | 0.000549 | 0.238444 | 4,781 | 123 | 116 | 38.869919 | 0.85526 | 0.019661 | 0 | 0.5 | 0 | 0 | 0.063584 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 1 | 0.073171 | false | 0 | 0.170732 | 0 | 0.280488 | 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 |
b58867dd400575f882348dda4607432a6f0c9a31 | 3,242 | py | Python | 213_house_robber2.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | 1 | 2020-07-15T14:16:23.000Z | 2020-07-15T14:16:23.000Z | 213_house_robber2.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | null | null | null | 213_house_robber2.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | null | null | null | #
# 213. House Robber II
#
# Q: https://leetcode.com/problems/house-robber-ii/
# A: https://leetcode.com/problems/house-robber-ii/discuss/894504/Kt-Js-Py3-Cpp-The-ART-of-Dynamic-Programming
#
from typing import List
# brute-force
class Solution:
def rob(self, A: List[int]) -> int:
N = len(A)
def g... | 49.121212 | 142 | 0.413017 | 455 | 3,242 | 3.004396 | 0.202198 | 0.058522 | 0.058522 | 0.093636 | 0.77981 | 0.76079 | 0.716898 | 0.662765 | 0.637162 | 0.61229 | 0 | 0.040299 | 0.46422 | 3,242 | 65 | 143 | 49.876923 | 0.73057 | 0.274213 | 0 | 0.56 | 0 | 0 | 0.007745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.02 | 0 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b58e534cdffd126bdfcd681ed9d7dbcf4f7ed934 | 81 | py | Python | django_docutils/favicon/tests/test_app/__init__.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 10 | 2017-04-28T00:19:10.000Z | 2020-07-22T15:27:09.000Z | django_docutils/favicon/tests/test_app/__init__.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 231 | 2017-01-17T04:47:51.000Z | 2022-03-30T03:03:42.000Z | django_docutils/favicon/tests/test_app/__init__.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 1 | 2019-01-25T14:42:15.000Z | 2019-01-25T14:42:15.000Z | default_app_config = 'django_docutils.favicon.tests.test_app.apps.TestAppConfig'
| 40.5 | 80 | 0.864198 | 11 | 81 | 6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 81 | 1 | 81 | 81 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.703704 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b59faa7e9838f5167c2d608c55bd65460affe39f | 394 | py | Python | mock_useragent/__init__.py | awesome-archive/mock-useragent | 0e745be7316cd2f85d3aef19ee914244d84e4019 | [
"MIT"
] | 1 | 2020-03-18T11:33:39.000Z | 2020-03-18T11:33:39.000Z | mock_useragent/__init__.py | awesome-archive/mock-useragent | 0e745be7316cd2f85d3aef19ee914244d84e4019 | [
"MIT"
] | null | null | null | mock_useragent/__init__.py | awesome-archive/mock-useragent | 0e745be7316cd2f85d3aef19ee914244d84e4019 | [
"MIT"
] | 1 | 2020-03-18T11:33:41.000Z | 2020-03-18T11:33:41.000Z | # VERSION = (0, 0, 1, 'final', 0)
# __title__ = 'mock-useragent'
# __version_info__ = VERSION
# __version__ = '.'.join(map(str, VERSION[:3])) + ('-{}{}'.format(
# VERSION[3], VERSION[4] or '') if VERSION[3] != 'final' else '')
# __author__ = 'find456789'
# __license__ = 'MIT'
# __copyright__ = 'Copyright 2018-2019... | 28.142857 | 69 | 0.652284 | 45 | 394 | 5.133333 | 0.6 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 0.15736 | 394 | 13 | 70 | 30.307692 | 0.611446 | 0.80203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a90efed1a5a2a4f806c8acf4ae5f3d4bccaed3d4 | 58 | py | Python | devel/.private/custommsg/lib/python2.7/dist-packages/custommsg/msg/__init__.py | arijitnoobstar/Flapping-Wing-MAV_DeepRL | 461d31d5ae18da00204b63ebdbe53bbd2f72f0fa | [
"Apache-2.0"
] | 4 | 2021-05-16T15:49:51.000Z | 2021-05-31T16:23:40.000Z | devel/.private/custommsg/lib/python2.7/dist-packages/custommsg/msg/__init__.py | mion666459/Flapping-Wing-MAV_DeepRL | 461d31d5ae18da00204b63ebdbe53bbd2f72f0fa | [
"Apache-2.0"
] | null | null | null | devel/.private/custommsg/lib/python2.7/dist-packages/custommsg/msg/__init__.py | mion666459/Flapping-Wing-MAV_DeepRL | 461d31d5ae18da00204b63ebdbe53bbd2f72f0fa | [
"Apache-2.0"
] | 1 | 2021-05-16T15:16:11.000Z | 2021-05-16T15:16:11.000Z | from ._kinematicstamped import *
from ._ppmchnls import *
| 19.333333 | 32 | 0.793103 | 6 | 58 | 7.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 33 | 29 | 0.88 | 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 |
a9210785e5ac3c2c3ff97cf2d1b1e72fc23e4a52 | 4,817 | py | Python | django_form/encounters/models.py | joncinque/django_form | 2f0e5921498d3338f6612dd0b80bbea71d84d4d3 | [
"MIT"
] | null | null | null | django_form/encounters/models.py | joncinque/django_form | 2f0e5921498d3338f6612dd0b80bbea71d84d4d3 | [
"MIT"
] | 2 | 2021-03-30T12:53:41.000Z | 2021-06-10T18:43:56.000Z | django_form/encounters/models.py | joncinque/django_form | 2f0e5921498d3338f6612dd0b80bbea71d84d4d3 | [
"MIT"
] | null | null | null | from django.db import models
from django.urls import reverse
MAX_NAME_LENGTH = 200
MAX_ADDRESS_LENGTH = 200
MAX_SSN_LENGTH = 15
MAX_PHONE_LENGTH = 30
class Sex(models.TextChoices):
MALE = 'Male'
FEMALE = 'Female'
OTHER = 'Other'
DECLINE = 'Decline to answer'
class EncounterType(models.TextChoices):... | 33.922535 | 82 | 0.710816 | 608 | 4,817 | 5.388158 | 0.154605 | 0.123626 | 0.148352 | 0.197802 | 0.685897 | 0.662698 | 0.662698 | 0.641941 | 0.628205 | 0.607753 | 0 | 0.00254 | 0.182686 | 4,817 | 141 | 83 | 34.163121 | 0.829566 | 0.00519 | 0 | 0.495413 | 0 | 0 | 0.068908 | 0 | 0 | 0 | 0 | 0.007092 | 0 | 1 | 0.110092 | false | 0 | 0.018349 | 0.110092 | 0.743119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a94ededacf0db7e7202927d0cada73593460b027 | 265 | py | Python | custom/_legacy/pathfinder/__init__.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T23:26:39.000Z | 2015-02-10T23:26:39.000Z | custom/_legacy/pathfinder/__init__.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | null | null | null | custom/_legacy/pathfinder/__init__.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | null | null | null | from pathfinder.models import (PathfinderHBCReport, PathfinderProviderReport,
PathfinderWardSummaryReport)
CUSTOM_REPORTS = (
('Custom Reports', (
PathfinderHBCReport,
PathfinderProviderReport,
PathfinderWardSummaryReport
)),
)
| 24.090909 | 77 | 0.728302 | 14 | 265 | 13.714286 | 0.642857 | 0.447917 | 0.729167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203774 | 265 | 10 | 78 | 26.5 | 0.909953 | 0 | 0 | 0 | 0 | 0 | 0.05283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a95023ae84eed7cfb9981701e9ae34f532131e32 | 3,890 | py | Python | keep_backend/tests/test_orgs/test_views.py | 9929105/KEEP | a3e8b00f82367e13835e5137bd5c0eaa7c8d26d2 | [
"MIT"
] | null | null | null | keep_backend/tests/test_orgs/test_views.py | 9929105/KEEP | a3e8b00f82367e13835e5137bd5c0eaa7c8d26d2 | [
"MIT"
] | null | null | null | keep_backend/tests/test_orgs/test_views.py | 9929105/KEEP | a3e8b00f82367e13835e5137bd5c0eaa7c8d26d2 | [
"MIT"
] | null | null | null | import json
from django.core.urlresolvers import reverse
from tests import ViewTestCase
from organizations.models import Organization
class OrgViewTests( ViewTestCase ):
def test_add_member_accept( self ):
org = self.test_new()
self.login()
# Request a member to join
url = rev... | 29.029851 | 99 | 0.580977 | 428 | 3,890 | 5.151869 | 0.172897 | 0.065306 | 0.097959 | 0.157823 | 0.786848 | 0.740136 | 0.728345 | 0.7161 | 0.679819 | 0.655329 | 0 | 0.013269 | 0.302571 | 3,890 | 134 | 100 | 29.029851 | 0.799484 | 0.09126 | 0 | 0.590361 | 0 | 0 | 0.113191 | 0.04 | 0 | 0 | 0 | 0 | 0.144578 | 1 | 0.072289 | false | 0.024096 | 0.048193 | 0 | 0.144578 | 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 |
8d17295fe63b848e30bd98e754b7abf4f1f02cbd | 171 | py | Python | SOLID/LSP/step_0/main.py | musen-rse/examples_python_starting_point | f97b0ac02e07724204de16e7bd810031f2f0d706 | [
"MIT"
] | 1 | 2022-01-23T14:02:47.000Z | 2022-01-23T14:02:47.000Z | SOLID/LSP/step_0/main.py | musen-rse/examples_python_starting_point | f97b0ac02e07724204de16e7bd810031f2f0d706 | [
"MIT"
] | 1 | 2021-09-12T07:00:30.000Z | 2021-09-12T07:00:30.000Z | SOLID/LSP/step_0/main.py | musen-rse/examples_python_starting_point | f97b0ac02e07724204de16e7bd810031f2f0d706 | [
"MIT"
] | 1 | 2022-01-23T14:02:29.000Z | 2022-01-23T14:02:29.000Z | from core.app import Application, Rectangle
def main() -> None:
Application([Rectangle(2.0, 3.0), Rectangle(4.0, 2.1)]).run()
if __name__ == "__main__":
main()
| 19 | 65 | 0.643275 | 25 | 171 | 4.08 | 0.68 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.169591 | 171 | 8 | 66 | 21.375 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 0.046784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d6f0c1280030401b1c898691109cda676addce6 | 218 | py | Python | alphabetrangoli.py | rishavpramanik/hackerrankpers | b452731af65239f152a4578de4a1a20588a94d86 | [
"MIT"
] | 1 | 2021-08-19T21:28:43.000Z | 2021-08-19T21:28:43.000Z | alphabetrangoli.py | rishavpramanik/hackerrankpers | b452731af65239f152a4578de4a1a20588a94d86 | [
"MIT"
] | 2 | 2021-09-29T20:02:44.000Z | 2021-09-29T20:07:05.000Z | alphabetrangoli.py | rishavpramanik/hackerrankpers | b452731af65239f152a4578de4a1a20588a94d86 | [
"MIT"
] | null | null | null | from string import ascii_lowercase as chars
def print_rangoli(size):
heap = [(('-'.join(chars[i:n])[::-1]+'-'.join(chars[i:n])[1:])).center(4*n-3, '-')for i in range(n)]
print(*(heap[::-1]+heap[1:]), sep="\n")
| 43.6 | 104 | 0.577982 | 38 | 218 | 3.263158 | 0.605263 | 0.145161 | 0.16129 | 0.177419 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031088 | 0.114679 | 218 | 4 | 105 | 54.5 | 0.611399 | 0 | 0 | 0 | 0 | 0 | 0.022936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
57362101aca76cfb4ecdaca7adb6d513023e0ac9 | 1,269 | py | Python | 2018/day01/test_day01.py | kfarnung/advent-of-code | 74604578379c518bd7ad959e0088ca55a6986515 | [
"MIT"
] | 1 | 2017-12-11T07:08:52.000Z | 2017-12-11T07:08:52.000Z | 2018/day01/test_day01.py | kfarnung/advent-of-code | 74604578379c518bd7ad959e0088ca55a6986515 | [
"MIT"
] | 2 | 2020-12-01T08:16:42.000Z | 2021-05-12T04:54:34.000Z | 2018/day01/test_day01.py | kfarnung/advent-of-code | 74604578379c518bd7ad959e0088ca55a6986515 | [
"MIT"
] | null | null | null | """
Tests for Advent of Code Day 1.
https://adventofcode.com/2018/day/1
"""
from os import path
from .day01 import calculate_frequency, calculate_frequency_two_match
_CURRENT_FILE_DIR = path.dirname(__file__)
def test_part1():
"""Tests for Part 1."""
assert calculate_frequency(['+1', '-2', '+3', '+1']) == ... | 35.25 | 78 | 0.624901 | 174 | 1,269 | 4.270115 | 0.287356 | 0.314939 | 0.355316 | 0.244953 | 0.648721 | 0.508748 | 0.43607 | 0.269179 | 0.269179 | 0.269179 | 0 | 0.059716 | 0.168637 | 1,269 | 35 | 79 | 36.257143 | 0.64455 | 0.081954 | 0 | 0.2 | 0 | 0 | 0.069747 | 0 | 0 | 0 | 0 | 0 | 0.55 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 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 |
5745a9373f6dd9287ff0c8121c2d5affb135d4b6 | 121 | py | Python | slides/20160516-Python_Loop_CommonFunctions/for_loop_3.py | she02789222/test | fa10bd5be351ca3d4bef4f7d6c4510e65666de7c | [
"MIT"
] | 4 | 2018-11-29T04:06:29.000Z | 2021-11-29T07:00:44.000Z | slides/20160516-Python_Loop_CommonFunctions/for_loop_3.py | NTNUCIC/108 | 52961e76d299842c2d44d142d5c56ad665420ee6 | [
"MIT"
] | 6 | 2016-05-17T02:34:57.000Z | 2021-02-05T17:33:28.000Z | slides/20160516-Python_Loop_CommonFunctions/for_loop_3.py | NTNUCIC/108 | 52961e76d299842c2d44d142d5c56ad665420ee6 | [
"MIT"
] | 3 | 2019-02-17T05:58:46.000Z | 2019-02-18T15:09:55.000Z | names_scores = (('Amy',82,90),('John',33,64),('Zoe',91,94))
for x,y,z in names_scores:
print(x)
print(y,z)
print('End') | 24.2 | 59 | 0.619835 | 25 | 121 | 2.92 | 0.72 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 0.090909 | 121 | 5 | 60 | 24.2 | 0.554545 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
93bf8cb9d3697f3c7a4aa7abd067c25bb8bb1100 | 97 | py | Python | module_2/util.py | mandalbiswadip/MLLearn | 8d1b80a229a2e3990126d66c9001928fc8193fa9 | [
"MIT"
] | null | null | null | module_2/util.py | mandalbiswadip/MLLearn | 8d1b80a229a2e3990126d66c9001928fc8193fa9 | [
"MIT"
] | null | null | null | module_2/util.py | mandalbiswadip/MLLearn | 8d1b80a229a2e3990126d66c9001928fc8193fa9 | [
"MIT"
] | null | null | null | def load_text(file):
with open(file, "r") as file:
text = file.read()
return text | 24.25 | 33 | 0.587629 | 15 | 97 | 3.733333 | 0.666667 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278351 | 97 | 4 | 34 | 24.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 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 |
93c3bd3da6d204bda8647ca4f63c901dacc1ada8 | 356 | py | Python | ogc_search/open_data/admin.py | open-data/ogc_search | cd089ce6fa1113710989299fc0cc663c5ef40e3c | [
"MIT"
] | null | null | null | ogc_search/open_data/admin.py | open-data/ogc_search | cd089ce6fa1113710989299fc0cc663c5ef40e3c | [
"MIT"
] | 30 | 2019-11-19T22:29:48.000Z | 2022-03-31T15:37:24.000Z | ogc_search/open_data/admin.py | open-data/ogc_search | cd089ce6fa1113710989299fc0cc663c5ef40e3c | [
"MIT"
] | 1 | 2020-07-15T16:13:06.000Z | 2020-07-15T16:13:06.000Z | from django.contrib import admin
from .models import CatalogType, Organization, QueryLog
# Register your models here.
@admin.register(CatalogType)
class CatalogTypeAdmin(admin.ModelAdmin):
pass
@admin.register(Organization)
class OrganizationAdmin(admin.ModelAdmin):
pass
@admin.register(QueryLog)
class Query... | 23.733333 | 55 | 0.800562 | 39 | 356 | 7.307692 | 0.461538 | 0.136842 | 0.2 | 0.168421 | 0.224561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115169 | 356 | 15 | 56 | 23.733333 | 0.904762 | 0.073034 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.272727 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
93d7591726b1b0999e90fd5491300fd226a3a0bb | 229 | py | Python | socialdistribution/views.py | cmput404F21/CMPUT404-project-socialdistribution | 47f108b43886a4e482c6b6f9c6fdef6dcc005c3f | [
"W3C-20150513"
] | null | null | null | socialdistribution/views.py | cmput404F21/CMPUT404-project-socialdistribution | 47f108b43886a4e482c6b6f9c6fdef6dcc005c3f | [
"W3C-20150513"
] | 48 | 2021-10-12T21:41:39.000Z | 2021-12-08T19:40:25.000Z | socialdistribution/views.py | cmput404F21/CMPUT404-project-socialdistribution | 47f108b43886a4e482c6b6f9c6fdef6dcc005c3f | [
"W3C-20150513"
] | 1 | 2022-01-11T04:07:43.000Z | 2022-01-11T04:07:43.000Z | from django.shortcuts import render
from django.http import HttpResponseNotFound
from django.template.loader import get_template
def error_404(request, exception):
context = {}
return render(request, '404.html', context) | 32.714286 | 47 | 0.790393 | 29 | 229 | 6.172414 | 0.62069 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030151 | 0.131004 | 229 | 7 | 48 | 32.714286 | 0.869347 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
93f0ce282fd1945c7beb5689a3fd1bfbdb91d187 | 2,693 | py | Python | DailyProgrammer/DP20141124A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20141124A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20141124A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2014-11-24] Challenge #190 [Easy] Webscraping sentiments
https://www.reddit.com/r/dailyprogrammer/comments/2nauiv/20141124_challenge_190_easy_webscraping_sentiments/
#Description
Webscraping is the delicate process of gathering information from a website (usually) without the assistance of an API.
Without an API... | 50.811321 | 119 | 0.773115 | 446 | 2,693 | 4.630045 | 0.53139 | 0.015496 | 0.015496 | 0.02615 | 0.054237 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011359 | 0.150019 | 2,693 | 52 | 120 | 51.788462 | 0.890782 | 0.973264 | 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 |
93f502a8cf278387183acc45d1c9ad930d6f706d | 417 | py | Python | pickles/pickles.py | nadavborenstein/SuperPickle | 7837eaa8fef263ee93f6bb416589e6fabb970535 | [
"Apache-2.0"
] | null | null | null | pickles/pickles.py | nadavborenstein/SuperPickle | 7837eaa8fef263ee93f6bb416589e6fabb970535 | [
"Apache-2.0"
] | null | null | null | pickles/pickles.py | nadavborenstein/SuperPickle | 7837eaa8fef263ee93f6bb416589e6fabb970535 | [
"Apache-2.0"
] | null | null | null | # Made by Nadav Borenstein
import pickle
def dump(obj, fp, protocol=None, *, fix_imports=True):
with open(fp, "wb") as file:
pickle.dump(obj, file, protocol=protocol, fix_imports=fix_imports)
def load(fp, *, fix_imports=True, encoding="ASCII", errors="strict"):
with open(fp, "rb") as file:
... | 29.785714 | 90 | 0.690647 | 61 | 417 | 4.622951 | 0.442623 | 0.212766 | 0.099291 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17506 | 417 | 14 | 91 | 29.785714 | 0.819767 | 0.057554 | 0 | 0 | 0 | 0 | 0.038265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.625 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f51498c2901bb8b1bc8c6137d747f0edc9f70c5d | 74 | py | Python | 09. Functions Advanced - Lab/01_absolute_values.py | elenaborisova/Python-Advanced | 4c266d81f294372c3599741e8ba53f59fdc834c5 | [
"MIT"
] | 2 | 2021-04-04T06:26:13.000Z | 2022-02-18T22:21:49.000Z | 09. Functions Advanced - Lab/01_absolute_values.py | elenaborisova/Python-Advanced | 4c266d81f294372c3599741e8ba53f59fdc834c5 | [
"MIT"
] | null | null | null | 09. Functions Advanced - Lab/01_absolute_values.py | elenaborisova/Python-Advanced | 4c266d81f294372c3599741e8ba53f59fdc834c5 | [
"MIT"
] | 3 | 2021-02-01T12:32:03.000Z | 2021-04-12T13:45:20.000Z | numbers = list(map(float, input().split()))
print(list(map(abs, numbers))) | 37 | 43 | 0.689189 | 11 | 74 | 4.636364 | 0.727273 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 74 | 2 | 44 | 37 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 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 |
f517888d20ff6bb30c1f66e8472877d1c6c03dca | 106 | py | Python | kaoz/tests/__init__.py | fishilico/kaoz | 5757a10af8dc83e1c37b022c24514855362040ec | [
"MIT"
] | null | null | null | kaoz/tests/__init__.py | fishilico/kaoz | 5757a10af8dc83e1c37b022c24514855362040ec | [
"MIT"
] | 3 | 2015-06-16T13:03:17.000Z | 2018-10-21T15:57:26.000Z | kaoz/tests/__init__.py | fishilico/kaoz | 5757a10af8dc83e1c37b022c24514855362040ec | [
"MIT"
] | 2 | 2015-06-15T19:40:16.000Z | 2015-06-15T20:24:39.000Z | # -*- coding: utf-8 -*-
# Copyright © 2011-2013 Binet Réseau
# See the LICENCE file for more informations
| 26.5 | 44 | 0.698113 | 16 | 106 | 4.6875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.179245 | 106 | 3 | 45 | 35.333333 | 0.747126 | 0.933962 | 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 |
f52cd56b83810cbe62cf710b8031dee8b49a885d | 1,095 | py | Python | apps/goods/migrations/0032_auto_20190104_1621.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 12 | 2020-02-01T01:52:01.000Z | 2021-04-28T15:06:43.000Z | apps/goods/migrations/0032_auto_20190104_1621.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 5 | 2020-02-06T08:07:58.000Z | 2020-06-02T13:03:45.000Z | apps/goods/migrations/0032_auto_20190104_1621.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 11 | 2020-02-03T13:07:46.000Z | 2020-11-29T01:44:06.000Z | # Generated by Django 2.1.4 on 2019-01-04 08:21
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('goods', '0031_auto_20181223_2001'),
]
operations = [
migrations.RemoveField(
model_name='subgoodstemplate',
name='banners',
... | 24.333333 | 47 | 0.53516 | 81 | 1,095 | 7.111111 | 0.45679 | 0.277778 | 0.315972 | 0.364583 | 0.607639 | 0.607639 | 0 | 0 | 0 | 0 | 0 | 0.044097 | 0.357991 | 1,095 | 44 | 48 | 24.886364 | 0.775249 | 0.041096 | 0 | 0.578947 | 1 | 0 | 0.189886 | 0.021947 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f5677de790f73610dc92456f8cdd6deef971c849 | 89 | py | Python | Mailbox/apps.py | Positron11/Corkran | 53f463ca4f02e2617205bf67c123923dda2ce403 | [
"MIT"
] | null | null | null | Mailbox/apps.py | Positron11/Corkran | 53f463ca4f02e2617205bf67c123923dda2ce403 | [
"MIT"
] | 3 | 2020-06-23T17:13:11.000Z | 2021-04-08T19:57:20.000Z | Mailbox/apps.py | Positron11/Corkran | 53f463ca4f02e2617205bf67c123923dda2ce403 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MailboxConfig(AppConfig):
name = 'Mailbox'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
f5a05be7a1bb1ebd7795f9af708f803a611cc3d9 | 206 | py | Python | app/schemas/session.py | coolexplorer/py-session | 86ffbd3f1744df18d2deeaa77eebe5dd9980c6ae | [
"MIT"
] | 2 | 2021-08-17T07:15:46.000Z | 2021-08-17T07:18:15.000Z | app/schemas/session.py | coolexplorer/py-session | 86ffbd3f1744df18d2deeaa77eebe5dd9980c6ae | [
"MIT"
] | 1 | 2022-02-24T06:52:08.000Z | 2022-02-24T06:52:08.000Z | app/schemas/session.py | coolexplorer/py-session | 86ffbd3f1744df18d2deeaa77eebe5dd9980c6ae | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class SessionBase(BaseModel):
data: dict
class SessionIn(SessionBase):
expired_time: str
expired_time_unit: str
pass
class SessionOut(SessionBase):
pass | 17.166667 | 30 | 0.747573 | 24 | 206 | 6.291667 | 0.625 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194175 | 206 | 12 | 31 | 17.166667 | 0.909639 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.222222 | 0.111111 | 0 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
191be4dffb192b1c7f5d04bc2afe71fac6a2e221 | 61 | py | Python | src/apps/spam/domain/models.py | SlonSky/django-grasped | 97ea2f6d2e10232fc084a6407fa089df2cdf086e | [
"MIT"
] | null | null | null | src/apps/spam/domain/models.py | SlonSky/django-grasped | 97ea2f6d2e10232fc084a6407fa089df2cdf086e | [
"MIT"
] | null | null | null | src/apps/spam/domain/models.py | SlonSky/django-grasped | 97ea2f6d2e10232fc084a6407fa089df2cdf086e | [
"MIT"
] | null | null | null | """
Put here your models and custom Django model managers
""" | 20.333333 | 53 | 0.737705 | 9 | 61 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 61 | 3 | 54 | 20.333333 | 0.882353 | 0.868852 | 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 |
191ed76386bbc17c7f9c3708e69f82edff41d1e9 | 92 | py | Python | gdrive/drive/apps.py | amirasaad/googledrivelike | e192f5be45a997f643d8fafce5278ef37d0dc1c4 | [
"MIT"
] | 1 | 2021-01-14T05:14:05.000Z | 2021-01-14T05:14:05.000Z | gdrive/drive/apps.py | amirasaad/googledrivelike | e192f5be45a997f643d8fafce5278ef37d0dc1c4 | [
"MIT"
] | 4 | 2020-10-29T17:52:33.000Z | 2020-11-04T01:14:34.000Z | gdrive/drive/apps.py | amirasaad/googledrivelike | e192f5be45a997f643d8fafce5278ef37d0dc1c4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DriveConfig(AppConfig):
name = "gdrive.drive"
| 15.333333 | 33 | 0.75 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 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 |
19228c1fb1504ea87d6dcdefed727ebf9e1ecbe8 | 340 | py | Python | spec/python/test_imports_abs_rel.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/python/test_imports_abs_rel.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/python/test_imports_abs_rel.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | import unittest
from imports_abs_rel import ImportsAbsRel
class TestImportsAbsRel(unittest.TestCase):
def test_imports_abs_rel(self):
with ImportsAbsRel.from_file('src/fixed_struct.bin') as r:
self.assertEqual(r.one, 80)
self.assertEqual(r.two.one, 65)
self.assertEqual... | 28.333333 | 66 | 0.694118 | 46 | 340 | 4.978261 | 0.586957 | 0.196507 | 0.209607 | 0.165939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022305 | 0.208824 | 340 | 11 | 67 | 30.909091 | 0.828996 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.125 | false | 0 | 0.625 | 0 | 0.875 | 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 |
193103d5578553900e27759f78703655367ec16b | 133 | py | Python | project/__init__.py | wanwanjiajia/adversarial_attacks_defense | d22dbfa7de5c6af901dbd2ed26e7eb079bd0c215 | [
"BSD-2-Clause"
] | null | null | null | project/__init__.py | wanwanjiajia/adversarial_attacks_defense | d22dbfa7de5c6af901dbd2ed26e7eb079bd0c215 | [
"BSD-2-Clause"
] | null | null | null | project/__init__.py | wanwanjiajia/adversarial_attacks_defense | d22dbfa7de5c6af901dbd2ed26e7eb079bd0c215 | [
"BSD-2-Clause"
] | null | null | null | # _*_coding:utf-8 _*_
# @Time :2020/01/02 16:49
# @Author : Wanjia Zheng
# @File :__init__.py
# @Software :PyCharm
| 13.3 | 30 | 0.571429 | 17 | 133 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 0.270677 | 133 | 9 | 31 | 14.777778 | 0.56701 | 0.887218 | 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 |
1953381eddd06d4b43a40978913e61c012a6b299 | 109 | py | Python | napari_mosquito_bb_annotations/_tests/test_writer.py | czbiohub/napari-mosquito-species-bb-annotations | f05740cb37396bb59c3763a043884b61e1537723 | [
"BSD-3-Clause"
] | null | null | null | napari_mosquito_bb_annotations/_tests/test_writer.py | czbiohub/napari-mosquito-species-bb-annotations | f05740cb37396bb59c3763a043884b61e1537723 | [
"BSD-3-Clause"
] | 9 | 2021-06-21T23:54:03.000Z | 2021-08-03T17:42:39.000Z | napari_mosquito_bb_annotations/_tests/test_writer.py | czbiohub/napari-mosquito-species-bb-annotations | f05740cb37396bb59c3763a043884b61e1537723 | [
"BSD-3-Clause"
] | null | null | null | # from napari_mosquito_bb_annotations import napari_get_writer, napari_write_image
# add your tests here...
| 27.25 | 82 | 0.834862 | 16 | 109 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 3 | 83 | 36.333333 | 0.865979 | 0.944954 | 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 |
195b7b8b95bc23f8874897cbe71f72bcbb416f22 | 176 | py | Python | Aulas/Mundo 2/049.py | JoaoEmanuell/Meus-Estudos-Python | f6f6eeb6016919e594613785ffe7136d74241ada | [
"MIT"
] | 2 | 2021-07-29T18:58:02.000Z | 2021-10-29T21:11:22.000Z | Aulas/Mundo 2/049.py | JoaoEmanuell/Meus-Estudos-Python | f6f6eeb6016919e594613785ffe7136d74241ada | [
"MIT"
] | null | null | null | Aulas/Mundo 2/049.py | JoaoEmanuell/Meus-Estudos-Python | f6f6eeb6016919e594613785ffe7136d74241ada | [
"MIT"
] | null | null | null | num = int(input('\033[1;31mDigite um numero \033[m'))
for c in range(1, 11):
print('\033[1;32m{}\033[m x \033[1;33m{}\033[m = \033[1;34m{}\033[m'.format(num, c, num*c))
| 44 | 96 | 0.585227 | 38 | 176 | 2.710526 | 0.526316 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258278 | 0.142045 | 176 | 3 | 97 | 58.666667 | 0.423841 | 0 | 0 | 0 | 0 | 0.333333 | 0.537572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
19746c81e9be941de4eec9b20542c2bbd6325de9 | 1,443 | py | Python | stubs.min/System/Windows/Automation/Peers_parts/DocumentViewerAutomationPeer.py | denfromufa/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2017-07-07T11:15:45.000Z | 2017-07-07T11:15:45.000Z | stubs.min/System/Windows/Automation/Peers_parts/DocumentViewerAutomationPeer.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Windows/Automation/Peers_parts/DocumentViewerAutomationPeer.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class DocumentViewerAutomationPeer(DocumentViewerBaseAutomationPeer):
"""
Exposes System.Windows.Controls.DocumentViewer types to UI Automation.
DocumentViewerAutomationPeer(owner: DocumentViewer)
"""
def GetPattern(self,patternInterface):
"""
GetPattern(self: DocumentViewerAutomationPeer,patternIn... | 41.228571 | 183 | 0.765766 | 143 | 1,443 | 7.671329 | 0.447552 | 0.106655 | 0.146764 | 0.178669 | 0.308113 | 0.175023 | 0.094804 | 0.094804 | 0.094804 | 0 | 0 | 0 | 0.158697 | 1,443 | 34 | 184 | 42.441176 | 0.903624 | 0.628552 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
19927bb5d32057b7faadf011fcb0f62dc2588a26 | 8,344 | py | Python | train_util.py | datadrivenempathy/who-wrote-this-training | 66ccb65837de24d004b70d39a1e8522a7d1e184f | [
"MIT"
] | 1 | 2019-08-24T04:21:15.000Z | 2019-08-24T04:21:15.000Z | train_util.py | datadrivenempathy/who-wrote-this-training | 66ccb65837de24d004b70d39a1e8522a7d1e184f | [
"MIT"
] | 8 | 2020-01-28T22:42:36.000Z | 2022-02-10T00:21:57.000Z | train_util.py | datadrivenempathy/who-wrote-this-training | 66ccb65837de24d004b70d39a1e8522a7d1e184f | [
"MIT"
] | null | null | null | """Utility to train keras models.
----
Copyright 2019 Data Driven Empathy LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use,... | 43.010309 | 100 | 0.687081 | 1,149 | 8,344 | 4.641427 | 0.174935 | 0.047253 | 0.036752 | 0.044628 | 0.753047 | 0.741609 | 0.711232 | 0.694731 | 0.686855 | 0.671104 | 0 | 0.00347 | 0.240173 | 8,344 | 193 | 101 | 43.233161 | 0.837697 | 0.377996 | 0 | 0.734043 | 0 | 0 | 0.017497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053191 | false | 0 | 0.053191 | 0 | 0.138298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 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 |
5fe89c7ef013b0dc020e852f6b4310d175d948e6 | 127 | py | Python | python/pyTIR/__init__.py | folivetti/tir | 5db7c8fa62975f7ce901fce68a560156b2dc6745 | [
"BSD-3-Clause"
] | null | null | null | python/pyTIR/__init__.py | folivetti/tir | 5db7c8fa62975f7ce901fce68a560156b2dc6745 | [
"BSD-3-Clause"
] | null | null | null | python/pyTIR/__init__.py | folivetti/tir | 5db7c8fa62975f7ce901fce68a560156b2dc6745 | [
"BSD-3-Clause"
] | null | null | null | from .TIRRegressor import TIRRegressor
from .TIRClassifier import TIRClassifier
__all__ = ['TIRRegressor', 'TIRClassifier']
| 25.4 | 43 | 0.80315 | 11 | 127 | 8.909091 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11811 | 127 | 4 | 44 | 31.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2716f2dcae45f7c10fb20e1b2e3209a67174ab2b | 222 | py | Python | API_testes/tests/test_put.py | tavares-douglas/S206_testes | 49bce4e12d58296250a5af68efe87d9a25e86bad | [
"MIT"
] | null | null | null | API_testes/tests/test_put.py | tavares-douglas/S206_testes | 49bce4e12d58296250a5af68efe87d9a25e86bad | [
"MIT"
] | null | null | null | API_testes/tests/test_put.py | tavares-douglas/S206_testes | 49bce4e12d58296250a5af68efe87d9a25e86bad | [
"MIT"
] | null | null | null | from scripts.putting_data import put_data as pd
def test_put_new_data():
raw_response, _, data = pd.put_data()
if raw_response.status_code == 200:
assert raw_response == data
else:
assert False | 27.75 | 47 | 0.689189 | 33 | 222 | 4.30303 | 0.606061 | 0.232394 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0.234234 | 222 | 8 | 48 | 27.75 | 0.817647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
271728b84a7d61e6a579c03d79441a4e8bab9831 | 607 | py | Python | extra_tests/snippets/builtin_ord.py | mainsail-org/RustPython | 5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127 | [
"CC-BY-4.0",
"MIT"
] | 11,058 | 2018-05-29T07:40:06.000Z | 2022-03-31T11:38:42.000Z | extra_tests/snippets/builtin_ord.py | mainsail-org/RustPython | 5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127 | [
"CC-BY-4.0",
"MIT"
] | 2,105 | 2018-06-01T10:07:16.000Z | 2022-03-31T14:56:42.000Z | extra_tests/snippets/builtin_ord.py | mainsail-org/RustPython | 5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127 | [
"CC-BY-4.0",
"MIT"
] | 914 | 2018-07-27T09:36:14.000Z | 2022-03-31T19:56:34.000Z | from testutils import assert_raises
assert ord("a") == 97
assert ord("é") == 233
assert ord("🤡") == 129313
assert ord(b'a') == 97
assert ord(bytearray(b'a')) == 97
assert_raises(TypeError, ord, _msg='ord() is called with no argument')
assert_raises(TypeError, ord, "", _msg='ord() is called with an empty string')
ass... | 43.357143 | 101 | 0.716639 | 98 | 607 | 4.336735 | 0.397959 | 0.169412 | 0.247059 | 0.282353 | 0.24 | 0.197647 | 0.197647 | 0.197647 | 0.197647 | 0 | 0 | 0.032319 | 0.133443 | 607 | 13 | 102 | 46.692308 | 0.773764 | 0 | 0 | 0 | 0 | 0 | 0.38715 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2733d29e5ef28c5ab03fc6a5c4e8aea259f37a32 | 338 | py | Python | task_1/solution.py | kristyanYochev/python-course | 52d136179de210bd7edefe3085e50550e3862f62 | [
"MIT"
] | 2 | 2019-12-30T13:26:55.000Z | 2020-01-18T14:03:25.000Z | task_1/solution.py | kristyanYochev/python-course | 52d136179de210bd7edefe3085e50550e3862f62 | [
"MIT"
] | 3 | 2019-11-05T16:47:54.000Z | 2020-10-31T18:50:31.000Z | task_1/solution.py | kristyanYochev/python-course | 52d136179de210bd7edefe3085e50550e3862f62 | [
"MIT"
] | 24 | 2019-10-10T19:17:40.000Z | 2020-10-25T10:42:00.000Z | def accumulate_left(func, acc, collection):
if len(collection) == 0:
return acc
return accumulate_left(func, func(acc, collection[0]), collection[1:])
def accumulate_right(func, acc, collection):
if len(collection) == 0:
return acc
return func(collection[0], accumulate_right(func, acc,... | 30.727273 | 75 | 0.680473 | 44 | 338 | 5.136364 | 0.272727 | 0.123894 | 0.300885 | 0.168142 | 0.632743 | 0.424779 | 0.424779 | 0.424779 | 0.424779 | 0.424779 | 0 | 0.021898 | 0.189349 | 338 | 10 | 76 | 33.8 | 0.80292 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
274e7f667721bb683da64ec7e512d20dd2fb81b1 | 158 | py | Python | examples/hello2.py | VictorVaquero/geneticPendulum | 60e20ec8148d4949ae3b3e1597433763498cd2e5 | [
"MIT"
] | null | null | null | examples/hello2.py | VictorVaquero/geneticPendulum | 60e20ec8148d4949ae3b3e1597433763498cd2e5 | [
"MIT"
] | null | null | null | examples/hello2.py | VictorVaquero/geneticPendulum | 60e20ec8148d4949ae3b3e1597433763498cd2e5 | [
"MIT"
] | null | null | null | '''A very simple program,
showing how short a Python program can be!
Authors: ___, ___
'''
print('Hello world!') #This is a stupid comment after the # mark
| 22.571429 | 65 | 0.708861 | 24 | 158 | 4.416667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183544 | 158 | 6 | 66 | 26.333333 | 0.821705 | 0.78481 | 0 | 0 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
274e9eee4f8d9bbb7747e5600d0f55a629d614df | 239 | py | Python | schema.py | zxt50330/blogdemo | 21e05e108d1703b0d7d312a04afd26afd6834ded | [
"MIT"
] | null | null | null | schema.py | zxt50330/blogdemo | 21e05e108d1703b0d7d312a04afd26afd6834ded | [
"MIT"
] | null | null | null | schema.py | zxt50330/blogdemo | 21e05e108d1703b0d7d312a04afd26afd6834ded | [
"MIT"
] | null | null | null | from base import ma
from models import Post, Comment
from marshmallow import post_load
class PostSchema(ma.ModelSchema):
class Meta:
model = Post
class CommentSchema(ma.ModelSchema):
class Meta:
model = Comment
| 17.071429 | 36 | 0.715481 | 30 | 239 | 5.666667 | 0.5 | 0.117647 | 0.211765 | 0.258824 | 0.317647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230126 | 239 | 13 | 37 | 18.384615 | 0.923913 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.777778 | 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 |
276b8b638934e6d273479fe6fe7c2e2a34c2b60c | 106 | py | Python | test/test_dtmf.py | d0wler/DTMF | beb5be415ac7ea89f28fbe328c9c17fd7cb95163 | [
"MIT"
] | null | null | null | test/test_dtmf.py | d0wler/DTMF | beb5be415ac7ea89f28fbe328c9c17fd7cb95163 | [
"MIT"
] | 3 | 2021-06-08T22:45:26.000Z | 2022-01-13T03:27:38.000Z | test/test_dtmf.py | d0wler/DTMF | beb5be415ac7ea89f28fbe328c9c17fd7cb95163 | [
"MIT"
] | null | null | null | import pytest
import src.dtmf as dtmf
def test_main():
sig = dtmf.Signal()
assert sig.sr== 8000
| 13.25 | 24 | 0.669811 | 17 | 106 | 4.117647 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.226415 | 106 | 7 | 25 | 15.142857 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
276d41c8d4a2bc435b7dd338a397377918048da3 | 3,666 | py | Python | resource_rc.py | jkkim74/kw_condition | 97b2d8bdb7680858e40a12cf7f12d46e538bf649 | [
"MIT"
] | null | null | null | resource_rc.py | jkkim74/kw_condition | 97b2d8bdb7680858e40a12cf7f12d46e538bf649 | [
"MIT"
] | null | null | null | resource_rc.py | jkkim74/kw_condition | 97b2d8bdb7680858e40a12cf7f12d46e538bf649 | [
"MIT"
] | 1 | 2021-03-05T05:59:19.000Z | 2021-03-05T05:59:19.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.6.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x02\xa4\
\x00\
\x00\x0b\x49\x78\x9c\xc5\x56\xcd\x6e\xd3\x40\x10\xbe\xe7\x29\x56\
\xb9\x24\xb9\x9... | 44.168675 | 96 | 0.727769 | 828 | 3,666 | 3.200483 | 0.330918 | 0.058868 | 0.047547 | 0.022642 | 0.096226 | 0.096226 | 0.082642 | 0.078113 | 0.078113 | 0.078113 | 0 | 0.279366 | 0.036279 | 3,666 | 82 | 97 | 44.707317 | 0.470705 | 0.041189 | 0 | 0 | 0 | 0.676471 | 0 | 0 | 0 | 1 | 0.002281 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.014706 | 0 | 0.044118 | 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 |
276e7ffc5446de6071d22f966e785db79fa2364e | 213 | py | Python | my_environments/djangoPy3Env/bin/django-admin.py | webmaaster/python_stack | 703f1cf762d75d5fb86725a44e43866f3649e19a | [
"MIT"
] | null | null | null | my_environments/djangoPy3Env/bin/django-admin.py | webmaaster/python_stack | 703f1cf762d75d5fb86725a44e43866f3649e19a | [
"MIT"
] | null | null | null | my_environments/djangoPy3Env/bin/django-admin.py | webmaaster/python_stack | 703f1cf762d75d5fb86725a44e43866f3649e19a | [
"MIT"
] | null | null | null | #!/Users/softwareengineer/Desktop/python_assignments/python_stack/my_environments/djangoPy3Env/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 35.5 | 106 | 0.835681 | 25 | 213 | 6.56 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.070423 | 213 | 5 | 107 | 42.6 | 0.818182 | 0.492958 | 0 | 0 | 0 | 0 | 0.074766 | 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 |
278c06c849dfe3b9e7b6258f87f78e5d28de1610 | 884 | py | Python | setup.py | ChangLabUcsf/electrode_grid | a12d49c919adc5490e122283794f040ea3cf928a | [
"MIT"
] | 1 | 2021-02-01T03:05:37.000Z | 2021-02-01T03:05:37.000Z | setup.py | ChangLabUcsf/electrode_grid | a12d49c919adc5490e122283794f040ea3cf928a | [
"MIT"
] | null | null | null | setup.py | ChangLabUcsf/electrode_grid | a12d49c919adc5490e122283794f040ea3cf928a | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='electrodeGrid',
version='0.0.1',
description='Analyses for neural control of larynx',
author='Ben Dichter',
author_email='ben.dichter@gmail.com',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Scien... | 35.36 | 78 | 0.608597 | 89 | 884 | 6 | 0.606742 | 0.249064 | 0.327715 | 0.194757 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025335 | 0.24095 | 884 | 24 | 79 | 36.833333 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.582579 | 0.048643 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.043478 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2793d718a79932c67fab6609c22199ac18ce44de | 160 | py | Python | opendata/transformers/opendata/operations.py | entrepreneur-interet-general/predisauvetage | 4d985ee79355652709da322db48daffb3e5a895a | [
"MIT"
] | 6 | 2018-02-16T15:07:17.000Z | 2020-10-09T09:34:29.000Z | opendata/transformers/opendata/operations.py | entrepreneur-interet-general/predisauvetage | 4d985ee79355652709da322db48daffb3e5a895a | [
"MIT"
] | 107 | 2018-03-29T14:55:33.000Z | 2021-12-13T19:44:50.000Z | opendata/transformers/opendata/operations.py | entrepreneur-interet-general/predisauvetage | 4d985ee79355652709da322db48daffb3e5a895a | [
"MIT"
] | 1 | 2021-03-03T21:02:33.000Z | 2021-03-03T21:02:33.000Z | # -*- coding: utf-8 -*-
from transformers.opendata.default import DefaultTransformer
class OperationsTransformer(DefaultTransformer):
MODEL = "Operation"
| 22.857143 | 60 | 0.76875 | 14 | 160 | 8.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.125 | 160 | 6 | 61 | 26.666667 | 0.871429 | 0.13125 | 0 | 0 | 0 | 0 | 0.065693 | 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 |
27a6271fd810effc8d82c844c6118357de0fd353 | 188 | py | Python | hana/errors.py | mayo/hana | e0cbea362f278f8b229d1b709118d1f4e0357130 | [
"MIT"
] | 2 | 2018-01-08T23:43:02.000Z | 2018-05-06T00:54:31.000Z | hana/errors.py | mayo/hana | e0cbea362f278f8b229d1b709118d1f4e0357130 | [
"MIT"
] | 7 | 2018-05-14T18:58:55.000Z | 2019-01-20T06:04:12.000Z | hana/errors.py | mayo/hana | e0cbea362f278f8b229d1b709118d1f4e0357130 | [
"MIT"
] | null | null | null |
class HanaError(Exception):
pass
class HanaPluginError(HanaError):
pass
class InvalidPluginsDirectory(HanaError):
pass
class PluginNotFoundError(HanaPluginError):
pass
| 14.461538 | 43 | 0.765957 | 16 | 188 | 9 | 0.4375 | 0.1875 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 188 | 12 | 44 | 15.666667 | 0.923077 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
27bddb2ca1cf36dc542e810c0dbdbda7ca5594c3 | 10 | py | Python | notes/algo-ds-practice/problems/heap/merge_k_sorted.py | Anmol-Singh-Jaggi/interview-notes | 65af75e2b5725894fa5e13bb5cd9ecf152a0d652 | [
"MIT"
] | 6 | 2020-07-05T05:15:19.000Z | 2021-01-24T20:17:14.000Z | notes/algo-ds-practice/problems/heap/merge_k_sorted.py | Anmol-Singh-Jaggi/interview-notes | 65af75e2b5725894fa5e13bb5cd9ecf152a0d652 | [
"MIT"
] | null | null | null | notes/algo-ds-practice/problems/heap/merge_k_sorted.py | Anmol-Singh-Jaggi/interview-notes | 65af75e2b5725894fa5e13bb5cd9ecf152a0d652 | [
"MIT"
] | 2 | 2020-09-14T06:46:37.000Z | 2021-06-15T09:17:21.000Z | # Simple!
| 5 | 9 | 0.6 | 1 | 10 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 10 | 1 | 10 | 10 | 0.75 | 0.7 | 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 |
27e8d636b5b5489f12c3901756ba76b99a38fc60 | 161 | py | Python | mayan/apps/lock_manager/runtime.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2021-06-17T18:24:25.000Z | 2021-06-17T18:24:25.000Z | mayan/apps/lock_manager/runtime.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-20T00:01:17.000Z | 2022-03-12T00:48:43.000Z | mayan/apps/lock_manager/runtime.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2020-12-17T02:35:09.000Z | 2020-12-17T02:35:09.000Z | from django.utils.module_loading import import_string
from .settings import setting_backend
locking_backend = import_string(dotted_path=setting_backend.value)
| 26.833333 | 66 | 0.869565 | 22 | 161 | 6.045455 | 0.636364 | 0.180451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080745 | 161 | 5 | 67 | 32.2 | 0.898649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
27ec434cde5b668ad7345d5a379c1776abfcbd48 | 221 | py | Python | py_pdf_term/endtoend/_endtoend/caches/styling/__init__.py | kumachan-mis/pdf-slides-term | cf3319e4de723bd9424d23141803342d3c649103 | [
"MIT"
] | 1 | 2021-01-08T16:05:30.000Z | 2021-01-08T16:05:30.000Z | py_pdf_term/endtoend/_endtoend/caches/styling/__init__.py | kumachan-mis/py-slides-term | 1e9337b97ae8968950489e728fc7aeeeb7eb1f4b | [
"MIT"
] | 21 | 2021-01-03T13:50:59.000Z | 2021-06-17T00:27:49.000Z | py_pdf_term/endtoend/_endtoend/caches/styling/__init__.py | kumachan-mis/pdf-slides-term | cf3319e4de723bd9424d23141803342d3c649103 | [
"MIT"
] | null | null | null | from .base import BaseStylingLayerCache
from .nocache import StylingLayerNoCache
from .file import StylingLayerFileCache
__all__ = [
"BaseStylingLayerCache",
"StylingLayerNoCache",
"StylingLayerFileCache",
]
| 22.1 | 40 | 0.78733 | 16 | 221 | 10.625 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144796 | 221 | 9 | 41 | 24.555556 | 0.899471 | 0 | 0 | 0 | 0 | 0 | 0.276018 | 0.190045 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
27fd9c5e62bb985f8f907235175944fc0953fb49 | 182 | py | Python | InformationBoard/forms.py | insung151/Pwannar | 9f0be39e763dfc709a4b43a2498a95a19bfa435f | [
"MIT"
] | null | null | null | InformationBoard/forms.py | insung151/Pwannar | 9f0be39e763dfc709a4b43a2498a95a19bfa435f | [
"MIT"
] | 4 | 2018-02-14T11:58:51.000Z | 2018-02-14T14:03:16.000Z | InformationBoard/forms.py | insung151/Pwannar | 9f0be39e763dfc709a4b43a2498a95a19bfa435f | [
"MIT"
] | null | null | null | from django import forms
from .models import Info_Article
class ArticleForm(forms.ModelForm):
class Meta:
model = Info_Article
exclude = ('like_set', 'author')
| 20.222222 | 40 | 0.692308 | 22 | 182 | 5.590909 | 0.727273 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225275 | 182 | 8 | 41 | 22.75 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fd9d25aa5a57152b84138bcf5cc5f2de354deb60 | 96 | py | Python | web_request/apps.py | YevgeniiKaidashov/book-store | dda5e8b1560699a6d20249d1ef92f65a60f1eadd | [
"MIT"
] | 1 | 2019-04-28T08:30:43.000Z | 2019-04-28T08:30:43.000Z | web_request/apps.py | YevgeniiKaidashov/book-store | dda5e8b1560699a6d20249d1ef92f65a60f1eadd | [
"MIT"
] | null | null | null | web_request/apps.py | YevgeniiKaidashov/book-store | dda5e8b1560699a6d20249d1ef92f65a60f1eadd | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WebRequestConfig(AppConfig):
name = 'web_request'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fdb8d4ad9e024d22642989ac31914b61be886261 | 168 | py | Python | recipes/Python/52265_Read_data_from_zip_files/recipe-52265.py | tdiprima/code | 61a74f5f93da087d27c70b2efe779ac6bd2a3b4f | [
"MIT"
] | 2,023 | 2017-07-29T09:34:46.000Z | 2022-03-24T08:00:45.000Z | recipes/Python/52265_Read_data_from_zip_files/recipe-52265.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 32 | 2017-09-02T17:20:08.000Z | 2022-02-11T17:49:37.000Z | recipes/Python/52265_Read_data_from_zip_files/recipe-52265.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 780 | 2017-07-28T19:23:28.000Z | 2022-03-25T20:39:41.000Z | import zipfile
z = zipfile.ZipFile("zipfile.zip", "rb")
for filename in z.namelist():
print filename
bytes = z.read(filename)
print len(bytes)
| 21 | 40 | 0.630952 | 22 | 168 | 4.818182 | 0.590909 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 168 | 7 | 41 | 24 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.077381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fdbcb5215ee58aaee2629dac3e6cf68c2bbcf7d0 | 148 | py | Python | ex006.py | arthurfas123/Curso-De-Python | c4a15d92811bd101a8562d2c3a90fe2d5a3c360d | [
"MIT"
] | null | null | null | ex006.py | arthurfas123/Curso-De-Python | c4a15d92811bd101a8562d2c3a90fe2d5a3c360d | [
"MIT"
] | null | null | null | ex006.py | arthurfas123/Curso-De-Python | c4a15d92811bd101a8562d2c3a90fe2d5a3c360d | [
"MIT"
] | null | null | null | print('DOBRO TRIPLO RAIZ')
n = int(input('Digite um numero: '))
print(f'DOBRO: {n * 2}')
print(f'TRIPLO: {n * 3}')
print(f'RAIZ: {n ** (1/2):.2f}')
| 24.666667 | 36 | 0.574324 | 27 | 148 | 3.148148 | 0.555556 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0.141892 | 148 | 5 | 37 | 29.6 | 0.629921 | 0 | 0 | 0 | 0 | 0 | 0.581081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fdccf14111d442a99f9d40e01fa453965647b90a | 143 | py | Python | 05_syntax_lab/02.py | ynonp/python-examples-verint-2016-07 | fe225d32053b80cffb3ba2c3019c8532e427fc0c | [
"MIT"
] | 2 | 2016-07-06T08:47:01.000Z | 2019-12-15T05:09:24.000Z | 05_syntax_lab/02.py | ynonp/python-examples-verint-2016-07 | fe225d32053b80cffb3ba2c3019c8532e427fc0c | [
"MIT"
] | 42 | 2016-07-04T06:38:28.000Z | 2016-07-31T04:47:38.000Z | 05_syntax_lab/02.py | ynonp/python-examples-verint-2016-07 | fe225d32053b80cffb3ba2c3019c8532e427fc0c | [
"MIT"
] | 37 | 2016-06-29T08:26:28.000Z | 2021-01-21T11:44:56.000Z | """
Write a Python program that randomizes 7 numbers
and prints their sum total.
If the sum is divisable by 7, also print the word "Boom"
"""
| 20.428571 | 56 | 0.734266 | 25 | 143 | 4.2 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.195804 | 143 | 6 | 57 | 23.833333 | 0.895652 | 0.93007 | 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 |
fdcdb205f4d239f4b4c47aa7a6d5cf1e3df6a196 | 127 | py | Python | splunk_base/stackstate_checks/splunk/saved_search_helper/__init__.py | Mathieu-Dirkx/stackstate-agent-integrations | 76bb486f2560e1cdcd5aabb65ef8a19ff36297c1 | [
"BSD-3-Clause"
] | 2 | 2020-03-10T13:21:37.000Z | 2021-04-01T07:52:16.000Z | splunk_base/stackstate_checks/splunk/saved_search_helper/__init__.py | Mathieu-Dirkx/stackstate-agent-integrations | 76bb486f2560e1cdcd5aabb65ef8a19ff36297c1 | [
"BSD-3-Clause"
] | 33 | 2020-02-05T16:18:32.000Z | 2022-03-21T14:08:04.000Z | splunk_base/stackstate_checks/splunk/saved_search_helper/__init__.py | Mathieu-Dirkx/stackstate-agent-integrations | 76bb486f2560e1cdcd5aabb65ef8a19ff36297c1 | [
"BSD-3-Clause"
] | 7 | 2020-03-10T13:21:39.000Z | 2021-03-11T07:16:44.000Z | from stackstate_checks.splunk.saved_search_helper.saved_search_helper import SavedSearches
__all__ = [
'SavedSearches',
]
| 21.166667 | 90 | 0.818898 | 14 | 127 | 6.785714 | 0.714286 | 0.231579 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 127 | 5 | 91 | 25.4 | 0.840708 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fdd18c6be1bbc7be10391b8c36f7dc709dad7d7c | 20,319 | py | Python | corepy/arch/ppc/isa/ppc_isa.py | matthiaskramm/corepy | b2aad4e86adca10420e825fb65dcbd031cf44bb1 | [
"BSD-3-Clause"
] | 8 | 2016-02-20T03:52:58.000Z | 2022-01-24T15:04:14.000Z | corepy/arch/ppc/isa/ppc_isa.py | matthiaskramm/corepy | b2aad4e86adca10420e825fb65dcbd031cf44bb1 | [
"BSD-3-Clause"
] | null | null | null | corepy/arch/ppc/isa/ppc_isa.py | matthiaskramm/corepy | b2aad4e86adca10420e825fb65dcbd031cf44bb1 | [
"BSD-3-Clause"
] | 6 | 2015-12-11T05:21:15.000Z | 2020-12-11T10:59:15.000Z | # Copyright (c) 2006-2009 The Trustees of Indiana University.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without ... | 24.839853 | 90 | 0.69152 | 3,231 | 20,319 | 4.01269 | 0.177344 | 0.258234 | 0.315619 | 0.373004 | 0.659391 | 0.633166 | 0.611492 | 0.580717 | 0.565214 | 0.458157 | 0 | 0.056646 | 0.179832 | 20,319 | 817 | 91 | 24.870257 | 0.721332 | 0.104434 | 0 | 0.267797 | 0 | 0.00339 | 0.0994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008475 | null | null | 0.001695 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3246aeefe8883a4a990a7b20ed4be2d841e741d | 51 | py | Python | Data Engineering Coding Challenge/pymongoexample/settings.py | khmira/Data_Engineering_Coding_Challenge | 104af0119fb184e69b13c627982a572288059cb0 | [
"MIT"
] | null | null | null | Data Engineering Coding Challenge/pymongoexample/settings.py | khmira/Data_Engineering_Coding_Challenge | 104af0119fb184e69b13c627982a572288059cb0 | [
"MIT"
] | null | null | null | Data Engineering Coding Challenge/pymongoexample/settings.py | khmira/Data_Engineering_Coding_Challenge | 104af0119fb184e69b13c627982a572288059cb0 | [
"MIT"
] | null | null | null | import os
MONGO__URI = os.environ.get('MONGO_URI') | 17 | 40 | 0.764706 | 9 | 51 | 4 | 0.666667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 3 | 40 | 17 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 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 |
e3730d58426d7a533fd74dab66f5eaef50b5417a | 162 | py | Python | rest_framework_captcha/generators.py | atados/rest-framework-captcha | c1b2fea380c99c23d3e8bc580f2ff21e73e08580 | [
"MIT"
] | null | null | null | rest_framework_captcha/generators.py | atados/rest-framework-captcha | c1b2fea380c99c23d3e8bc580f2ff21e73e08580 | [
"MIT"
] | null | null | null | rest_framework_captcha/generators.py | atados/rest-framework-captcha | c1b2fea380c99c23d3e8bc580f2ff21e73e08580 | [
"MIT"
] | null | null | null | import random
import string
def default():
digits = string.ascii_uppercase
secret = ''.join(random.choice(digits) for _ in range(6))
return secret
| 16.2 | 61 | 0.697531 | 21 | 162 | 5.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.203704 | 162 | 9 | 62 | 18 | 0.852713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8b9f4f1729fc6fe101a54148a0e149f37a683683 | 82 | py | Python | scripts/portal/cygnusre01.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/cygnusre01.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/cygnusre01.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 100000200 - Henesys Park -> Pet-Walking Road
sm.warp(100000202, 5)
sm.dispose()
| 20.5 | 46 | 0.719512 | 12 | 82 | 4.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267606 | 0.134146 | 82 | 3 | 47 | 27.333333 | 0.56338 | 0.536585 | 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 | 1 | 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 |
8bb68e2cb42120e4f19f97ca86c9fc394e28654a | 143 | py | Python | lista_ex7.py/exercicio6.py | robinson-1985/mentoria_exercises | 8359cead6ee5351851b04cb45f252e3881b79117 | [
"MIT"
] | null | null | null | lista_ex7.py/exercicio6.py | robinson-1985/mentoria_exercises | 8359cead6ee5351851b04cb45f252e3881b79117 | [
"MIT"
] | null | null | null | lista_ex7.py/exercicio6.py | robinson-1985/mentoria_exercises | 8359cead6ee5351851b04cb45f252e3881b79117 | [
"MIT"
] | null | null | null | ''' 6. Faça um programa que carregue uma matriz M 4x6 e uma segunda matriz N 6x4, calcule
e imprima a soma das linhas M com as colunas de N.''' | 71.5 | 89 | 0.734266 | 29 | 143 | 3.62069 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 0.202797 | 143 | 2 | 90 | 71.5 | 0.877193 | 0.951049 | 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 |
4782582676de4f00330e00936ea5ecaf1056d977 | 192 | py | Python | craft/keyframe_extractor.py | 4ML-ndvr/ndvr | 0f7a1f138fa36fe7b69f76c45311f224147ac30b | [
"MIT"
] | 17 | 2020-09-22T05:09:31.000Z | 2022-02-04T08:10:06.000Z | craft/keyframe_extractor.py | 4ML-ndvr/ndvr | 0f7a1f138fa36fe7b69f76c45311f224147ac30b | [
"MIT"
] | 1 | 2021-02-25T07:24:25.000Z | 2021-02-25T07:24:25.000Z | craft/keyframe_extractor.py | 4ML-ndvr/ndvr | 0f7a1f138fa36fe7b69f76c45311f224147ac30b | [
"MIT"
] | null | null | null | from Katna.video import Video
def get_keyframes_from_video(video_path, num_frames):
video = Video()
images = video.extract_frames_as_images(num_frames, video_path)
return images
| 24 | 67 | 0.776042 | 28 | 192 | 4.964286 | 0.5 | 0.143885 | 0.201439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 192 | 7 | 68 | 27.428571 | 0.858025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4788e8965f6af78118c116d38f1341c50a2b4d0d | 145 | py | Python | app/api/apps.py | kwahome/pycon-monitoring-workshop | 24ff177352fb13b686ab46a96c30066556d2e92d | [
"MIT"
] | 7 | 2018-10-25T08:31:05.000Z | 2021-12-31T11:41:50.000Z | app/api/apps.py | nknganda/pycon-monitoring-workshop | 24ff177352fb13b686ab46a96c30066556d2e92d | [
"MIT"
] | null | null | null | app/api/apps.py | nknganda/pycon-monitoring-workshop | 24ff177352fb13b686ab46a96c30066556d2e92d | [
"MIT"
] | 5 | 2018-10-24T10:18:24.000Z | 2019-09-13T09:15:59.000Z | from django.apps import AppConfig
class ApiAppConfig(AppConfig):
name = "app.api"
label = "app.api"
def ready(self):
pass
| 14.5 | 33 | 0.634483 | 18 | 145 | 5.111111 | 0.833333 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262069 | 145 | 9 | 34 | 16.111111 | 0.859813 | 0 | 0 | 0 | 0 | 0 | 0.096552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
47a9e13bb2feb92bdb48a1598b5b3c8630f03649 | 64 | py | Python | v1-v2/test-programs/class_test_2.py | ambadhan/OnlinePythonTutor | 857bab941fbde20f1f020b05b7723094ddead62a | [
"MIT"
] | 17 | 2021-12-09T11:31:44.000Z | 2021-12-29T03:07:14.000Z | v1-v2/test-programs/class_test_2.py | heysachin/OnlinePythonTutor | 0dcdacc7ff5be504dd6a47236ebc69dc0069f991 | [
"MIT"
] | 22 | 2017-09-17T03:59:16.000Z | 2017-11-14T17:33:57.000Z | v1-v2/test-programs/class_test_2.py | heysachin/OnlinePythonTutor | 0dcdacc7ff5be504dd6a47236ebc69dc0069f991 | [
"MIT"
] | 12 | 2021-12-09T11:31:46.000Z | 2022-01-07T03:14:46.000Z | class Outer():
pass
o = Outer()
o.a = 5
o.b = "Hi"
print o
| 7.111111 | 14 | 0.515625 | 13 | 64 | 2.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.296875 | 64 | 8 | 15 | 8 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.166667 | 0 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
47e2c3369a9b251152ba2a94c6d872e032565ddc | 109 | py | Python | Python/Tutorial - 2/Condition_1.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | Python/Tutorial - 2/Condition_1.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | Python/Tutorial - 2/Condition_1.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | x = 12
if x < 10:
print("x is less than 10")
elif x >= 10:
print("x is greater than or equal to 10") | 18.166667 | 45 | 0.577982 | 23 | 109 | 2.73913 | 0.565217 | 0.095238 | 0.253968 | 0.285714 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0.293578 | 109 | 6 | 45 | 18.166667 | 0.688312 | 0 | 0 | 0 | 0 | 0 | 0.445455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9a59238ad57fd0949d3b59b7fad8506c3ae04d53 | 45,760 | py | Python | catboost/python-package/ut/medium/canondata/test.test_export_to_python_no_cat_features_CPU-40_/model.py | mikiec84/catboost | d16aa349ba7af265b053967b1938917fbddbca9d | [
"Apache-2.0"
] | null | null | null | catboost/python-package/ut/medium/canondata/test.test_export_to_python_no_cat_features_CPU-40_/model.py | mikiec84/catboost | d16aa349ba7af265b053967b1938917fbddbca9d | [
"Apache-2.0"
] | null | null | null | catboost/python-package/ut/medium/canondata/test.test_export_to_python_no_cat_features_CPU-40_/model.py | mikiec84/catboost | d16aa349ba7af265b053967b1938917fbddbca9d | [
"Apache-2.0"
] | null | null | null | ### Model data
class catboost_model(object):
float_features_index = [
0, 1, 2, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 20, 22, 24, 27, 28, 31, 32, 33, 34, 35, 37, 38, 39, 46, 47, 48, 49,
]
float_feature_count = 50
cat_feature_count = 0
binary_feature_count = 31
tree_count = 40
float... | 247.351351 | 1,342 | 0.753584 | 5,830 | 45,760 | 5.87976 | 0.297599 | 0.078357 | 0.074477 | 0.072231 | 0.055019 | 0.043992 | 0.03384 | 0.022609 | 0.016074 | 0.015811 | 0 | 0.774934 | 0.110402 | 45,760 | 184 | 1,343 | 248.695652 | 0.067137 | 0.014816 | 0 | 0.123288 | 0 | 0 | 0.000222 | 0 | 0 | 0 | 0.000222 | 0 | 0.013699 | 1 | 0.013699 | false | 0 | 0 | 0.006849 | 0.136986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7bec5b5a875f97df811654025bf49d39b4b6507c | 81 | py | Python | apps/edu/apps.py | local-host-club/cms | 136fb075f11011ea77672b3468f69262a43eb500 | [
"MIT"
] | null | null | null | apps/edu/apps.py | local-host-club/cms | 136fb075f11011ea77672b3468f69262a43eb500 | [
"MIT"
] | null | null | null | apps/edu/apps.py | local-host-club/cms | 136fb075f11011ea77672b3468f69262a43eb500 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CnbConfig(AppConfig):
name = 'edu'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d022e34598be0e881fe3584837b00d26acd1951a | 131 | py | Python | Aulas/exercicio03.py | GabrielGustavoMS/programacaoDeComputadores | 4eb3735b2393f241da78e2b259fde30ff2566a4c | [
"MIT"
] | null | null | null | Aulas/exercicio03.py | GabrielGustavoMS/programacaoDeComputadores | 4eb3735b2393f241da78e2b259fde30ff2566a4c | [
"MIT"
] | null | null | null | Aulas/exercicio03.py | GabrielGustavoMS/programacaoDeComputadores | 4eb3735b2393f241da78e2b259fde30ff2566a4c | [
"MIT"
] | null | null | null | h =float(input("Digite sua altura: "))
p = float(input("Digite seu peso: "))
imc = p/(h*h)
print("seu imc é", imc)
| 14.555556 | 41 | 0.541985 | 21 | 131 | 3.380952 | 0.571429 | 0.28169 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259542 | 131 | 8 | 42 | 16.375 | 0.731959 | 0 | 0 | 0 | 0 | 0 | 0.398374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d0446c6fd04898362ed4c8cce879d03bce7c2ec1 | 372 | py | Python | Mycroft/mircette-restriction-skill/__init__.py | wyutong1997/SmartMedicineDispenser | 5033b355f4a1fec688a1bd5dd6987611afb8feaa | [
"MIT"
] | 5 | 2020-03-22T22:49:24.000Z | 2020-04-08T14:56:23.000Z | Mycroft/mircette-restriction-skill/__init__.py | mcboyd-bu/EC544-Smart-Pill-Dispenser | f1267c5ba2b11c6e0c61ccf3d050dc63cff48091 | [
"MIT"
] | 1 | 2021-09-12T21:01:09.000Z | 2021-09-12T21:01:09.000Z | Mycroft/mircette-restriction-skill/__init__.py | wyutong1997/SmartMedicineDispenser | 5033b355f4a1fec688a1bd5dd6987611afb8feaa | [
"MIT"
] | 2 | 2020-03-28T16:30:23.000Z | 2020-04-14T00:03:46.000Z | from mycroft import MycroftSkill, intent_file_handler
class MircetteRestriction(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('restriction.mircette.intent')
def handle_restriction_mircette(self, message):
self.speak_dialog('restriction.mircette')
de... | 23.25 | 55 | 0.760753 | 38 | 372 | 7.026316 | 0.552632 | 0.213483 | 0.127341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 372 | 15 | 56 | 24.8 | 0.847619 | 0 | 0 | 0 | 0 | 0 | 0.126685 | 0.072776 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d048bcfb1b4bdbfb005a15c0dd5b83a1fa221535 | 329 | py | Python | shared/skep/docker/stack.py | bobf/skep | 4b77ff9c3d4e49dd29f430e9e1354d589cc12cf0 | [
"MIT"
] | 33 | 2019-07-16T10:03:20.000Z | 2021-11-06T23:56:07.000Z | shared/skep/docker/stack.py | bobf/skep | 4b77ff9c3d4e49dd29f430e9e1354d589cc12cf0 | [
"MIT"
] | 42 | 2019-05-26T16:15:37.000Z | 2022-02-26T10:45:38.000Z | shared/skep/docker/stack.py | bobf/skep | 4b77ff9c3d4e49dd29f430e9e1354d589cc12cf0 | [
"MIT"
] | 7 | 2019-09-02T02:30:35.000Z | 2021-01-09T14:13:58.000Z | class Stack:
def __init__(self, name, service_list):
self.name = name
self.service_list = service_list
def services(self):
return [x.attrs() for x in self.service_list]
def serializable(self):
return {
"name": self.name,
"services": self.services()
... | 23.5 | 53 | 0.568389 | 38 | 329 | 4.710526 | 0.394737 | 0.24581 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325228 | 329 | 13 | 54 | 25.307692 | 0.806306 | 0 | 0 | 0 | 0 | 0 | 0.036474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d062c3a2dc7737624351c2f374cd36f8bcf2130b | 68 | py | Python | src/onapsdk/clamp/__init__.py | krasm/python-onapsdk | 87cd3017fc542a8afd3be51fbd89934ed87ed3a7 | [
"Apache-2.0"
] | 4 | 2020-06-13T04:51:27.000Z | 2021-01-06T15:00:51.000Z | src/onapsdk/clamp/__init__.py | krasm/python-onapsdk | 87cd3017fc542a8afd3be51fbd89934ed87ed3a7 | [
"Apache-2.0"
] | 10 | 2021-09-20T15:42:47.000Z | 2021-09-23T12:49:51.000Z | src/onapsdk/clamp/__init__.py | krasm/python-onapsdk | 87cd3017fc542a8afd3be51fbd89934ed87ed3a7 | [
"Apache-2.0"
] | 8 | 2020-08-28T10:56:02.000Z | 2022-02-11T17:06:03.000Z | # SPDX-License-Identifier: Apache-2.0
"""ONAP SDK CLAMP package."""
| 22.666667 | 37 | 0.705882 | 10 | 68 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.102941 | 68 | 2 | 38 | 34 | 0.754098 | 0.882353 | 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 |
d07105f4cd9a6df63a776e59d9aa591aee5c80eb | 903 | py | Python | app.py | Bharath-Gowda-P/Weather-App | 7f63c692120f0c0eaf3c1d6e2c24e12d8714b20a | [
"MIT"
] | 1 | 2021-09-18T16:14:16.000Z | 2021-09-18T16:14:16.000Z | app.py | Bharath-Gowda-P/Weather-App | 7f63c692120f0c0eaf3c1d6e2c24e12d8714b20a | [
"MIT"
] | null | null | null | app.py | Bharath-Gowda-P/Weather-App | 7f63c692120f0c0eaf3c1d6e2c24e12d8714b20a | [
"MIT"
] | null | null | null | from flask import Flask, render_template, request
import requests
app = Flask(__name__)
@app.route('/', methods=["POST", "GET"])
def search():
url = '' //api key
city = request.form.get('city')
r = requests.get(url.format(city)).json()
weather = {
'city': city,
'description': r['we... | 5.901961 | 60 | 0.560354 | 158 | 903 | 3.113924 | 0.379747 | 0.235772 | 0.335366 | 0.422764 | 0.115854 | 0.115854 | 0.115854 | 0.115854 | 0.099594 | 0.099594 | 0 | 0.001587 | 0.302326 | 903 | 152 | 61 | 5.940789 | 0.779365 | 0 | 0 | 0 | 0 | 0 | 0.178797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d08366c41b8b25ee12a34e5c205aba17e95683e2 | 106 | py | Python | manpower_reports/apps.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | null | null | null | manpower_reports/apps.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | 15 | 2021-03-19T03:43:56.000Z | 2022-03-12T00:30:55.000Z | manpower_reports/apps.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ManpowerReportsConfig(AppConfig):
name = 'manpower_reports'
| 17.666667 | 39 | 0.792453 | 11 | 106 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 40 | 21.2 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 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 |
d0ac275005698e74eb9d547ddb568a8ba7c1253d | 171 | py | Python | Trab002/trabalho.py | gustavodiel/PIM | 9e001887bc67943f7f7d210d87dda49768bc00e7 | [
"MIT"
] | null | null | null | Trab002/trabalho.py | gustavodiel/PIM | 9e001887bc67943f7f7d210d87dda49768bc00e7 | [
"MIT"
] | null | null | null | Trab002/trabalho.py | gustavodiel/PIM | 9e001887bc67943f7f7d210d87dda49768bc00e7 | [
"MIT"
] | null | null | null | from numpy import *
x,y,z = mgrid[-100:101:25., -100:101:25., -100:101:25.]
V = 2*x**2 + 3*y**2 - 4*z # just a random function for the potential
Ex,Ey,Ez = gradient(V)
| 21.375 | 68 | 0.614035 | 37 | 171 | 2.837838 | 0.675676 | 0.171429 | 0.228571 | 0.209524 | 0.228571 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0.205674 | 0.175439 | 171 | 7 | 69 | 24.428571 | 0.539007 | 0.233918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 |
ef6c20345d49e67c8547f7cb3de99341446ce8fd | 71 | py | Python | mtml/toy/avimadsen.py | crb479/mcdevitt-trauma-ml | 9ed7ed7cd1e4be0071a18f9bbf375414088d5ed2 | [
"MIT"
] | 5 | 2020-03-02T23:38:36.000Z | 2021-01-22T04:00:23.000Z | mtml/toy/avimadsen.py | crb479/mcdevitt-trauma-ml | 9ed7ed7cd1e4be0071a18f9bbf375414088d5ed2 | [
"MIT"
] | null | null | null | mtml/toy/avimadsen.py | crb479/mcdevitt-trauma-ml | 9ed7ed7cd1e4be0071a18f9bbf375414088d5ed2 | [
"MIT"
] | null | null | null | def add_user_tag(fctn):
fctn.__user_tag__ = 'avimadsen';
return fctn | 17.75 | 33 | 0.760563 | 11 | 71 | 4.272727 | 0.636364 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 4 | 34 | 17.75 | 0.758065 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
efa1b631ea9fde7b8edc5636beee8ddf979c7969 | 76 | py | Python | 23 Recursion/main.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | 3 | 2021-05-08T13:11:41.000Z | 2021-05-14T02:43:20.000Z | 23 Recursion/main.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | null | null | null | 23 Recursion/main.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | null | null | null | def fun1(str1):
fun1(str1)
print("This is " + str1)
fun1("Issue")
| 10.857143 | 28 | 0.565789 | 11 | 76 | 3.909091 | 0.636364 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.25 | 76 | 6 | 29 | 12.666667 | 0.649123 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 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 |
efbf751fb3225da1502da80ae8e0cbc35cc769ff | 87 | py | Python | bot/recognizer_bot/yolo/__init__.py | kprokofi/animal-recognition-with-voice | e9e5235315255eb6e17df3dba616b2ed4c902c92 | [
"MIT"
] | 1 | 2021-03-18T05:51:10.000Z | 2021-03-18T05:51:10.000Z | bot/recognizer_bot/yolo/__init__.py | kprokofi/animal-recognition-with-voice | e9e5235315255eb6e17df3dba616b2ed4c902c92 | [
"MIT"
] | 3 | 2021-04-11T20:52:44.000Z | 2021-06-13T13:46:08.000Z | bot/recognizer_bot/yolo/__init__.py | kprokofi/animal-recognition-with-voice | e9e5235315255eb6e17df3dba616b2ed4c902c92 | [
"MIT"
] | null | null | null | # Used postprocessing pipeline from https://github.com/david8862/keras-YOLOv3-model-set | 87 | 87 | 0.827586 | 12 | 87 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.057471 | 87 | 1 | 87 | 87 | 0.817073 | 0.977011 | 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 |
efd357a6d7aa44fba8b78858721bafbff80f12bc | 39 | py | Python | dsbox/ml/text/__init__.py | Pandinosaurus/dsbox | aea56049025ed7e6e66427f8636286f8be1b6e03 | [
"Apache-2.0"
] | 16 | 2020-05-11T09:10:15.000Z | 2021-04-13T08:43:28.000Z | dsbox/ml/text/__init__.py | Pandinosaurus/dsbox | aea56049025ed7e6e66427f8636286f8be1b6e03 | [
"Apache-2.0"
] | 1 | 2020-12-03T20:02:32.000Z | 2020-12-03T20:02:32.000Z | dsbox/ml/text/__init__.py | Pandinosaurus/dsbox | aea56049025ed7e6e66427f8636286f8be1b6e03 | [
"Apache-2.0"
] | 1 | 2020-05-11T17:22:20.000Z | 2020-05-11T17:22:20.000Z | from .lsh import LSH
__all__ = ["LSH"] | 13 | 20 | 0.666667 | 6 | 39 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 3 | 21 | 13 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
efe83fba59bcf55aecf4ac2e76c35aed8cef6b2d | 244 | py | Python | src/plugins/snorkel_advanced_views/__init__.py | jdiaz/snorkel | d553480f3193f105d6f5befa04afb3656cd94d49 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/plugins/snorkel_advanced_views/__init__.py | jdiaz/snorkel | d553480f3193f105d6f5befa04afb3656cd94d49 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/plugins/snorkel_advanced_views/__init__.py | jdiaz/snorkel | d553480f3193f105d6f5befa04afb3656cd94d49 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from __future__ import absolute_import
from .timeline import TimelineView
from .overview import OverviewView
from .forecasting import ForecastView
from .drilldown import DrilldownView
from .weco import WecoView
from .digraph import DigraphView
| 30.5 | 38 | 0.860656 | 29 | 244 | 7.068966 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 244 | 7 | 39 | 34.857143 | 0.949074 | 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 |
efed352e69f0a89be54e958119f19ab50212540e | 220 | py | Python | course-2:combining-building-blocks/subject-1:collections/lesson-6:Dictionaries.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-2:combining-building-blocks/subject-1:collections/lesson-6:Dictionaries.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-2:combining-building-blocks/subject-1:collections/lesson-6:Dictionaries.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | 1 | 2016-04-03T00:53:37.000Z | 2016-04-03T00:53:37.000Z | spells = {
'levitate': 'Levioso',
'make fire': 'Incendio',
'open locked door': 'Alohomora'
}
# dictionary operators
print(spells['open locked door'])
print(spells['levitate'])
print(spells.keys())
print(dir(spells))
| 18.333333 | 33 | 0.690909 | 26 | 220 | 5.846154 | 0.576923 | 0.217105 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 220 | 11 | 34 | 20 | 0.783505 | 0.090909 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
effba8d9bc38c8e65ea79c9147883605bb8360e7 | 56 | py | Python | deferred_driller/__init__.py | andreafioraldi/deferred_driller | 92e7d773c78c0f791118984741cb998f3f9ad626 | [
"BSD-2-Clause"
] | 12 | 2019-02-02T16:42:42.000Z | 2020-03-14T11:10:01.000Z | deferred_driller/__init__.py | andreafioraldi/deferred_driller | 92e7d773c78c0f791118984741cb998f3f9ad626 | [
"BSD-2-Clause"
] | null | null | null | deferred_driller/__init__.py | andreafioraldi/deferred_driller | 92e7d773c78c0f791118984741cb998f3f9ad626 | [
"BSD-2-Clause"
] | null | null | null | from .runner import PinRunner
from .core import Driller
| 18.666667 | 29 | 0.821429 | 8 | 56 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 30 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4be54fdfdddf88646958ec8640d9533e2ef06714 | 91 | py | Python | update.py | erowley2501/fixlet-historian | c1aae462f7385ad4948415a2f26fd09d674e2275 | [
"Apache-2.0"
] | 5 | 2018-04-26T20:17:22.000Z | 2022-02-03T03:13:25.000Z | update.py | erowley2501/fixlet-historian | c1aae462f7385ad4948415a2f26fd09d674e2275 | [
"Apache-2.0"
] | 3 | 2016-08-11T21:04:38.000Z | 2020-03-10T15:29:06.000Z | update.py | erowley2501/fixlet-historian | c1aae462f7385ad4948415a2f26fd09d674e2275 | [
"Apache-2.0"
] | 2 | 2016-08-11T21:06:00.000Z | 2019-11-20T15:39:30.000Z | #!/usr/bin/env python
import dataminer
if __name__ == '__main__':
dataminer.update()
| 13 | 26 | 0.692308 | 11 | 91 | 5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 6 | 27 | 15.166667 | 0.723684 | 0.21978 | 0 | 0 | 0 | 0 | 0.114286 | 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 |
322f173db26795eb33d34ff5e120e19f049d64b7 | 28,775 | py | Python | pyatv/protocols/mrp/protobuf/SendCommandResultMessage_pb2.py | Jacobs4/pyatv | 52956adf3b79198be52cc03649f3ddeee19f9e6c | [
"MIT"
] | 532 | 2017-02-01T19:23:28.000Z | 2022-03-29T09:57:39.000Z | pyatv/protocols/mrp/protobuf/SendCommandResultMessage_pb2.py | Jacobs4/pyatv | 52956adf3b79198be52cc03649f3ddeee19f9e6c | [
"MIT"
] | 1,639 | 2017-02-01T19:22:04.000Z | 2022-03-31T17:26:40.000Z | pyatv/protocols/mrp/protobuf/SendCommandResultMessage_pb2.py | bdraco/pyatv | 9541d21e6101c60866d832626be97bf962774cd5 | [
"MIT"
] | 102 | 2017-02-02T01:42:13.000Z | 2022-02-26T08:49:34.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: pyatv/protocols/mrp/protobuf/SendCommandResultMessage.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import... | 42.068713 | 3,336 | 0.772546 | 3,134 | 28,775 | 6.758137 | 0.091257 | 0.06289 | 0.114825 | 0.094334 | 0.711001 | 0.6856 | 0.664636 | 0.649339 | 0.645373 | 0.645373 | 0 | 0.040155 | 0.121564 | 28,775 | 683 | 3,337 | 42.130307 | 0.797761 | 0.022902 | 0 | 0.744882 | 1 | 0.001575 | 0.223851 | 0.188512 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009449 | 0 | 0.009449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
324d76819e5cad6b67bdcba956078668928bbb7b | 1,375 | py | Python | Python/search.py | saqibns/standard-algorithms | aa0e87253dd2f78409b14f78a7eb7929697a3b31 | [
"MIT"
] | null | null | null | Python/search.py | saqibns/standard-algorithms | aa0e87253dd2f78409b14f78a7eb7929697a3b31 | [
"MIT"
] | null | null | null | Python/search.py | saqibns/standard-algorithms | aa0e87253dd2f78409b14f78a7eb7929697a3b31 | [
"MIT"
] | null | null | null | def linear(listt, element, start_from = 0):
for i in range(start_from, len(listt)):
if listt[i] == element:
return i
def binary(listt, element):
mini = 0
maxi = len(listt) - 1
while mini <= maxi:
mid = (mini + maxi) // 2
if listt[mid] == element:
return m... | 41.666667 | 85 | 0.522909 | 259 | 1,375 | 2.76834 | 0.220077 | 0.107392 | 0.108787 | 0.125523 | 0.560669 | 0.560669 | 0.560669 | 0.560669 | 0.560669 | 0.560669 | 0 | 0.303992 | 0.289455 | 1,375 | 33 | 86 | 41.666667 | 0.429887 | 0.053818 | 0 | 0 | 0 | 0 | 0.022498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.464286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3253ce0c48ae22accaa19f92824530e13f045767 | 233 | py | Python | event/tests/test_models.py | RevolutionTech/carrier-owl | f72f47e39ea819681fa7b50de2b52e393edeeb96 | [
"0BSD"
] | null | null | null | event/tests/test_models.py | RevolutionTech/carrier-owl | f72f47e39ea819681fa7b50de2b52e393edeeb96 | [
"0BSD"
] | 130 | 2019-04-04T04:27:43.000Z | 2022-03-07T01:13:56.000Z | event/tests/test_models.py | RevolutionTech/carrier-owl | f72f47e39ea819681fa7b50de2b52e393edeeb96 | [
"0BSD"
] | null | null | null | from django.test import TestCase
from event.tests.factories import EventFactory
class EventModelsTestCase(TestCase):
def test_event_str(self):
event = EventFactory()
self.assertEqual(event.subject, str(event))
| 23.3 | 51 | 0.746781 | 27 | 233 | 6.37037 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171674 | 233 | 9 | 52 | 25.888889 | 0.891192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
325cbff2bae35a6bc7ed13b934ebcb1e4a2e46ac | 20,700 | py | Python | test/extensions/filters/network/thrift_proxy/driver/generated/example/Example.py | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 17,703 | 2017-09-14T18:23:43.000Z | 2022-03-31T22:04:17.000Z | test/extensions/filters/network/thrift_proxy/driver/generated/example/Example.py | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 15,957 | 2017-09-14T16:38:22.000Z | 2022-03-31T23:56:30.000Z | test/extensions/filters/network/thrift_proxy/driver/generated/example/Example.py | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 3,780 | 2017-09-14T18:58:47.000Z | 2022-03-31T17:10:47.000Z | #
# Autogenerated by Thrift Compiler (0.11.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 31.316188 | 134 | 0.586908 | 2,230 | 20,700 | 5.198206 | 0.072197 | 0.016391 | 0.029503 | 0.014493 | 0.75854 | 0.705487 | 0.681504 | 0.659334 | 0.655452 | 0.649413 | 0 | 0.004266 | 0.309179 | 20,700 | 660 | 135 | 31.363636 | 0.806364 | 0.017343 | 0 | 0.711538 | 1 | 0 | 0.02995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130769 | false | 0.007692 | 0.015385 | 0.040385 | 0.259615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
32603680c3393bee4e46c1ae84c7814e6c012fd4 | 384 | py | Python | PINp/2015/GOLOVIN_A_I/task_1_7.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | PINp/2015/GOLOVIN_A_I/task_1_7.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | PINp/2015/GOLOVIN_A_I/task_1_7.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | # Задача 1. Вариант 7.
# Напишите программу, которая будет сообщать род деятельности и псевдоним под которым скрывается # Эдуард Георгиевич Зюбин. После вывода информации программа должна дожидаться пока пользователь # нажмет Enter для выхода.# Golovin.A.I
# 02.06.2016
print ("Эдуард Георгиевич Зюбин, более известный... | 54.857143 | 233 | 0.783854 | 53 | 384 | 5.698113 | 0.886792 | 0.10596 | 0.139073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.140625 | 384 | 6 | 234 | 64 | 0.881818 | 0.677083 | 0 | 0 | 0 | 0 | 0.784483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3292d76d5ac1d0d76c86dc6b79580d69ecf50ec7 | 215 | py | Python | projects/admin.py | octaviodive/blog-portfolio | 7a02128ca43392b0e4d5d8f2272abfa15ce60178 | [
"MIT"
] | null | null | null | projects/admin.py | octaviodive/blog-portfolio | 7a02128ca43392b0e4d5d8f2272abfa15ce60178 | [
"MIT"
] | null | null | null | projects/admin.py | octaviodive/blog-portfolio | 7a02128ca43392b0e4d5d8f2272abfa15ce60178 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Project
# Register your models here.
class ProjectAdmin(admin.ModelAdmin):
list_display = ('title', 'description')
admin.site.register(Project, ProjectAdmin) | 30.714286 | 43 | 0.786047 | 26 | 215 | 6.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 215 | 7 | 44 | 30.714286 | 0.884211 | 0.12093 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
32a875eb97d7774f5de6ad1c51b8d4e285d70fdd | 194 | py | Python | tests/unit/test_main.py | RahulHP/lore | 9c3df92c76a9b46bfb4e5488ece5dbf5835cc065 | [
"MIT"
] | null | null | null | tests/unit/test_main.py | RahulHP/lore | 9c3df92c76a9b46bfb4e5488ece5dbf5835cc065 | [
"MIT"
] | null | null | null | tests/unit/test_main.py | RahulHP/lore | 9c3df92c76a9b46bfb4e5488ece5dbf5835cc065 | [
"MIT"
] | 2 | 2020-07-10T11:49:12.000Z | 2021-12-18T08:09:16.000Z | import unittest
class TestConnection(unittest.TestCase):
def test_connection(self):
# make sure this at least gets loaded
import lore.__main__
self.assertTrue(True)
| 24.25 | 45 | 0.701031 | 23 | 194 | 5.695652 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237113 | 194 | 7 | 46 | 27.714286 | 0.885135 | 0.180412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
32c00f3b3bd588bd011b8aef42b3209843c38367 | 196 | py | Python | tests/wrappers/fastapi/conftest.py | sturmianseq/thundra-agent-python | 4cee02d790eb7b8e4dea4e2e9dcd1f67533b1c56 | [
"Apache-2.0"
] | 22 | 2018-03-05T20:02:46.000Z | 2021-04-09T12:00:18.000Z | tests/wrappers/fastapi/conftest.py | sturmianseq/thundra-agent-python | 4cee02d790eb7b8e4dea4e2e9dcd1f67533b1c56 | [
"Apache-2.0"
] | 13 | 2018-03-26T07:57:57.000Z | 2021-06-29T14:22:52.000Z | tests/wrappers/fastapi/conftest.py | thundra-io/thundra-agent-python | 448e18c17d8730c381b2e2a773782cf80c5a7cfb | [
"Apache-2.0"
] | 3 | 2021-08-07T14:19:23.000Z | 2021-12-08T15:35:40.000Z | from main import app
import pytest
from starlette.testclient import TestClient
@pytest.fixture(autouse=True)
def test_app():
client = TestClient(app)
yield client # testing happens here | 21.777778 | 43 | 0.770408 | 26 | 196 | 5.769231 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 196 | 9 | 44 | 21.777778 | 0.914634 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 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 |
0898559975b101d0a33b266d667c69a9d96a195b | 107 | py | Python | AndroidFTPBackup/apps.py | SanketRevankar/AndroidFTP-DataBackup | 54d740be49305ca993ebd541bb4998817886bdfd | [
"Apache-2.0"
] | 6 | 2019-02-06T18:14:54.000Z | 2022-01-25T15:30:10.000Z | AndroidFTPBackup/apps.py | SanketRevankar/AndroidFTP-DataBackup | 54d740be49305ca993ebd541bb4998817886bdfd | [
"Apache-2.0"
] | null | null | null | AndroidFTPBackup/apps.py | SanketRevankar/AndroidFTP-DataBackup | 54d740be49305ca993ebd541bb4998817886bdfd | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class AndroidftpbackupConfig(AppConfig):
name = 'AndroidFTPBackup'
| 17.833333 | 40 | 0.794393 | 10 | 107 | 8.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 41 | 21.4 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 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 |
08cc60d3fdff2844b70105bc1bd55a02cf0af8ee | 147 | py | Python | src/pyggui/defaults/__welcome_page.py | 15minutOdmora/python-pyggui | 6675aeecfc7c47dac54a475dfb87d9e6b641041c | [
"MIT"
] | null | null | null | src/pyggui/defaults/__welcome_page.py | 15minutOdmora/python-pyggui | 6675aeecfc7c47dac54a475dfb87d9e6b641041c | [
"MIT"
] | null | null | null | src/pyggui/defaults/__welcome_page.py | 15minutOdmora/python-pyggui | 6675aeecfc7c47dac54a475dfb87d9e6b641041c | [
"MIT"
] | null | null | null | from pyggui.gui.page import Page
class _WelcomePage(Page):
def __init__(self, controller):
super().__init__(controller)
pass
| 18.375 | 36 | 0.680272 | 17 | 147 | 5.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 147 | 7 | 37 | 21 | 0.798246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
08d81f675f70ba25e6add48eca139ddf57e7ce68 | 293 | py | Python | repo_project/apps/ramos/models.py | CEEINF-UTFSM/utfsm-repositorio-material | 4b0c3b94cda68984e960dd4577253c0180aa10a6 | [
"MIT"
] | 6 | 2020-07-15T21:18:05.000Z | 2020-09-26T04:35:02.000Z | repo_project/apps/ramos/models.py | CEEINF-UTFSM/utfsm-repositorio-material | 4b0c3b94cda68984e960dd4577253c0180aa10a6 | [
"MIT"
] | null | null | null | repo_project/apps/ramos/models.py | CEEINF-UTFSM/utfsm-repositorio-material | 4b0c3b94cda68984e960dd4577253c0180aa10a6 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Ramo(models.Model):
sigla = models.CharField(max_length=50)
nombre = models.CharField(max_length=255)
class Carrera(models.Model):
nombre = models.CharField(max_length=255)
ramos = models.ManyToManyField(Ramo)
| 20.928571 | 45 | 0.740614 | 39 | 293 | 5.487179 | 0.538462 | 0.21028 | 0.252336 | 0.336449 | 0.308411 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0.032389 | 0.156997 | 293 | 13 | 46 | 22.538462 | 0.834008 | 0.081911 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3ea8e2a4f0139664b193cbc8e2ed11e719ac0a15 | 198 | py | Python | data/repository/__init__.py | wax911/anime-meta | 5a707a75b277a9c0dc5b9d9447cea44a73d2f83c | [
"Apache-2.0"
] | 2 | 2021-04-08T19:55:02.000Z | 2021-04-08T19:57:07.000Z | data/repository/__init__.py | wax911/anime-meta | 5a707a75b277a9c0dc5b9d9447cea44a73d2f83c | [
"Apache-2.0"
] | null | null | null | data/repository/__init__.py | wax911/anime-meta | 5a707a75b277a9c0dc5b9d9447cea44a73d2f83c | [
"Apache-2.0"
] | null | null | null | from .repositories import \
AuthenticationRepository, \
EpisodeRepository,\
IndexRepository, \
MovieRepository, \
PanelRepository, \
SeasonRepository, \
SeriesRepository
| 22 | 31 | 0.707071 | 10 | 198 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 198 | 8 | 32 | 24.75 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3ed15865d4a0a540f22e0bd1eaa110b17cca53d7 | 39 | py | Python | cobra/basico/aula4/aula4-1.py | Matheusblz/learning_things | 69c16d30db8a79dffd5b83e91070aec7ab376b8a | [
"MIT"
] | null | null | null | cobra/basico/aula4/aula4-1.py | Matheusblz/learning_things | 69c16d30db8a79dffd5b83e91070aec7ab376b8a | [
"MIT"
] | null | null | null | cobra/basico/aula4/aula4-1.py | Matheusblz/learning_things | 69c16d30db8a79dffd5b83e91070aec7ab376b8a | [
"MIT"
] | null | null | null | texto = 'python s2'
print(texto[2:8])
| 9.75 | 19 | 0.641026 | 7 | 39 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.153846 | 39 | 3 | 20 | 13 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 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 |
3ed94433a172beda77ad6b45ea8f4f8d64cfef97 | 104 | py | Python | def2.py | ranjithvbr/test | 37cb7a876c402fc68e4624071924b2851ab7b1c4 | [
"MIT"
] | 1 | 2018-07-15T13:36:22.000Z | 2018-07-15T13:36:22.000Z | def2.py | ranjithvbr/test | 37cb7a876c402fc68e4624071924b2851ab7b1c4 | [
"MIT"
] | null | null | null | def2.py | ranjithvbr/test | 37cb7a876c402fc68e4624071924b2851ab7b1c4 | [
"MIT"
] | 1 | 2018-07-15T13:39:05.000Z | 2018-07-15T13:39:05.000Z | def printinfo(name,age):
print 'name:',name
print 'age:',age
return
printinfo('ranjith',21)
| 17.333333 | 24 | 0.644231 | 14 | 104 | 4.785714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.192308 | 104 | 5 | 25 | 20.8 | 0.77381 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.8 | 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 |
f5ce96687eec4324698eddde92d2cc80bb19910b | 189 | py | Python | techsscraper/processors.py | TechsHQ/techs-scraper | e09dd6a1dd2ca146bb6a48e261a511f655fbf02e | [
"MIT"
] | null | null | null | techsscraper/processors.py | TechsHQ/techs-scraper | e09dd6a1dd2ca146bb6a48e261a511f655fbf02e | [
"MIT"
] | null | null | null | techsscraper/processors.py | TechsHQ/techs-scraper | e09dd6a1dd2ca146bb6a48e261a511f655fbf02e | [
"MIT"
] | null | null | null | import pytz
from dateutil import parser
def clean(data):
return data.replace('\\n', "").strip('\n\t')
def parse_date(t):
return parser.parse(t).astimezone(pytz.timezone('UTC'))
| 17.181818 | 59 | 0.677249 | 28 | 189 | 4.535714 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 189 | 10 | 60 | 18.9 | 0.783951 | 0 | 0 | 0 | 0 | 0 | 0.05291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
f5d830cf158711d8dbe120ec9cbb57554905d702 | 64 | py | Python | inspect_png.py | aljazmedic/inspect-png | 6e1f14150742e8ea94d1f984fc9afbe63ae57b93 | [
"MIT"
] | 5 | 2021-08-30T10:14:51.000Z | 2021-09-22T07:32:28.000Z | inspect_png.py | aljazmedic/inspect-png | 6e1f14150742e8ea94d1f984fc9afbe63ae57b93 | [
"MIT"
] | 1 | 2021-09-23T14:40:21.000Z | 2021-09-24T20:17:54.000Z | inspect_png.py | aljazmedic/inspect-png | 6e1f14150742e8ea94d1f984fc9afbe63ae57b93 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from inspect_png.main import main
main() | 16 | 33 | 0.765625 | 11 | 64 | 4.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.109375 | 64 | 4 | 34 | 16 | 0.824561 | 0.328125 | 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 |
eb2b7d0debeda0fa4231bd8326c321d61e31805e | 39 | py | Python | q2_cscs/__init__.py | oolonek/q2-cscs | 2115f82fe8a125c0eb2f0f10433d4d5c26cd2173 | [
"MIT"
] | 2 | 2018-10-11T09:17:46.000Z | 2018-10-22T21:36:35.000Z | q2_cscs/__init__.py | oolonek/q2-cscs | 2115f82fe8a125c0eb2f0f10433d4d5c26cd2173 | [
"MIT"
] | 2 | 2018-08-27T14:45:11.000Z | 2019-02-19T08:37:56.000Z | q2_cscs/__init__.py | oolonek/q2-cscs | 2115f82fe8a125c0eb2f0f10433d4d5c26cd2173 | [
"MIT"
] | 2 | 2018-11-08T01:02:29.000Z | 2021-03-17T11:47:45.000Z | name = "q2_cscs"
__version__ = "0.0.1"
| 13 | 21 | 0.641026 | 7 | 39 | 2.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.153846 | 39 | 2 | 22 | 19.5 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 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 |
eb3f7e309d6f94448ee9fc6d63200d9d635f06da | 67 | py | Python | bash/__init__.py | jack1142/GrandeCogs-V3 | 3a92096c96c98abe5d34998b00dea4967a30647f | [
"MIT"
] | 3 | 2018-06-09T21:56:58.000Z | 2018-08-26T01:34:55.000Z | bash/__init__.py | jack1142/GrandeCogs-V3 | 3a92096c96c98abe5d34998b00dea4967a30647f | [
"MIT"
] | 4 | 2018-10-06T16:37:57.000Z | 2020-12-01T14:16:11.000Z | bash/__init__.py | jack1142/GrandeCogs-V3 | 3a92096c96c98abe5d34998b00dea4967a30647f | [
"MIT"
] | 8 | 2018-08-26T01:29:41.000Z | 2020-01-17T16:06:31.000Z | from .bash import Bash
def setup(bot):
bot.add_cog(Bash(bot))
| 13.4 | 26 | 0.686567 | 12 | 67 | 3.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 4 | 27 | 16.75 | 0.818182 | 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 |
de271302a41e4576bf266417671e1df3dbf3c965 | 79 | py | Python | micro-benchmark/snippets/args/imported_assigned_call/main.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 121 | 2020-12-16T20:31:37.000Z | 2022-03-21T20:32:43.000Z | micro-benchmark/snippets/args/imported_assigned_call/main.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 24 | 2021-03-13T00:04:00.000Z | 2022-03-21T17:28:11.000Z | micro-benchmark/snippets/args/imported_assigned_call/main.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 19 | 2021-03-23T10:58:47.000Z | 2022-03-24T19:46:50.000Z | from to_import import func
def param_func():
pass
a = param_func
func(a)
| 9.875 | 26 | 0.708861 | 14 | 79 | 3.785714 | 0.571429 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21519 | 79 | 7 | 27 | 11.285714 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
de61320e2ee2460783c4cfccd0b4fb0df560b82b | 65 | py | Python | example/simple_uploader/__init__.py | jeremylow/dri | 66ea49d08bd91d8f0729ee1cf4873734c562c35d | [
"MIT"
] | null | null | null | example/simple_uploader/__init__.py | jeremylow/dri | 66ea49d08bd91d8f0729ee1cf4873734c562c35d | [
"MIT"
] | null | null | null | example/simple_uploader/__init__.py | jeremylow/dri | 66ea49d08bd91d8f0729ee1cf4873734c562c35d | [
"MIT"
] | null | null | null | default_app_config = 'simple_uploader.apps.SimpleUploaderConfig'
| 32.5 | 64 | 0.876923 | 7 | 65 | 7.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 65 | 1 | 65 | 65 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.630769 | 0.630769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
de8209682437fdeda1ced6569f293fcfb04e8a7a | 260 | py | Python | python/django/capiccount/budget/admin.py | Zen-CODE/zenprojects | fa20844258c7d0953641469cac26b82abcba02d0 | [
"MIT"
] | 1 | 2018-05-05T19:06:57.000Z | 2018-05-05T19:06:57.000Z | python/django/capiccount/budget/admin.py | Zen-CODE/zenprojects | fa20844258c7d0953641469cac26b82abcba02d0 | [
"MIT"
] | 7 | 2021-04-05T11:28:30.000Z | 2022-03-07T20:07:31.000Z | python/django/capiccount/budget/admin.py | Zen-CODE/zenprojects | fa20844258c7d0953641469cac26b82abcba02d0 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Account, Transaction, Category, Categorization
admin.site.register(Account)
admin.site.register(Category)
admin.site.register(Categorization)
admin.site.register(Transaction)
| 23.636364 | 66 | 0.823077 | 32 | 260 | 6.6875 | 0.4375 | 0.168224 | 0.317757 | 0.28972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088462 | 260 | 10 | 67 | 26 | 0.902954 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.