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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4c4038a3308f8697d2757379164d05fc514e95c | 329 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/template/devicenotfound.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/template/devicenotfound.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/template/devicenotfound.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | ''' triggerNoDevice template '''
# import ats
from ats import aetest
# import genie infra
from genie.harness.base import Trigger
@aetest.skip(reason='The device provided does not exist in the testbed yaml')
class TriggerDeviceNotFound(Trigger):
''' Trigger that is used when a device is not found '''
... | 25.307692 | 78 | 0.717325 | 44 | 329 | 5.363636 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203647 | 329 | 12 | 79 | 27.416667 | 0.900763 | 0.319149 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
b4e0eda7aff8f8e1dfbe6f35b1f2227d00e1e5c6 | 93 | py | Python | Professor/apps.py | AlirezAkbary/FeedbackSys | 250acd75d4b903cc647ed86aab7b1a22909a056e | [
"bzip2-1.0.6"
] | null | null | null | Professor/apps.py | AlirezAkbary/FeedbackSys | 250acd75d4b903cc647ed86aab7b1a22909a056e | [
"bzip2-1.0.6"
] | null | null | null | Professor/apps.py | AlirezAkbary/FeedbackSys | 250acd75d4b903cc647ed86aab7b1a22909a056e | [
"bzip2-1.0.6"
] | null | null | null | from django.apps import AppConfig
class ProfessorConfig(AppConfig):
name = 'Professor'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 |
b4e11219f84b56e1c59bf70993aeeaee2ec4d893 | 156 | py | Python | octopus/config/cli.py | tuub/magnificent-octopus | 62722fbb9eecd0f6727b4d9cc0ef3b732b4702d9 | [
"Apache-2.0"
] | null | null | null | octopus/config/cli.py | tuub/magnificent-octopus | 62722fbb9eecd0f6727b4d9cc0ef3b732b4702d9 | [
"Apache-2.0"
] | null | null | null | octopus/config/cli.py | tuub/magnificent-octopus | 62722fbb9eecd0f6727b4d9cc0ef3b732b4702d9 | [
"Apache-2.0"
] | 2 | 2019-12-17T14:55:17.000Z | 2020-02-03T12:35:24.000Z | # command names and paths to scripts that can be run through the standard runner
CLI_SCRIPTS = {
"usermod" : "octopus.modules.account.scripts.UserMod"
} | 39 | 80 | 0.75641 | 22 | 156 | 5.318182 | 0.863636 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160256 | 156 | 4 | 81 | 39 | 0.89313 | 0.5 | 0 | 0 | 0 | 0 | 0.597403 | 0.506494 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b4fe641adcfd5f86324a5bba15569fe6b8a12c45 | 167 | py | Python | django_decadence/urls.py | ksiazkowicz/django-decadence | 0a29a7c748feb0d98cb8f4783a93159fc290ea67 | [
"MIT"
] | 1 | 2019-08-26T11:30:02.000Z | 2019-08-26T11:30:02.000Z | django_decadence/urls.py | ksiazkowicz/django-decadence | 0a29a7c748feb0d98cb8f4783a93159fc290ea67 | [
"MIT"
] | null | null | null | django_decadence/urls.py | ksiazkowicz/django-decadence | 0a29a7c748feb0d98cb8f4783a93159fc290ea67 | [
"MIT"
] | 1 | 2021-02-21T13:30:16.000Z | 2021-02-21T13:30:16.000Z | from django.conf.urls import url
from django_decadence.views import generate_html
urlpatterns = [
url(r'^template/$', generate_html, name='decadence_template'),
] | 27.833333 | 66 | 0.772455 | 22 | 167 | 5.681818 | 0.636364 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113772 | 167 | 6 | 67 | 27.833333 | 0.844595 | 0 | 0 | 0 | 1 | 0 | 0.172619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
370026e77123f47c6a6119bf3d1dd713eaf1aee8 | 241 | py | Python | rachis/urls.py | codeliezel/rachis | 930aab4e5693afc080d21a4a2c6c9d8833895591 | [
"MIT"
] | null | null | null | rachis/urls.py | codeliezel/rachis | 930aab4e5693afc080d21a4a2c6c9d8833895591 | [
"MIT"
] | 6 | 2021-03-30T14:03:01.000Z | 2021-09-22T19:30:22.000Z | rachis/urls.py | feobaby/rachis | 930aab4e5693afc080d21a4a2c6c9d8833895591 | [
"MIT"
] | null | null | null | from django.urls import path, include
urlpatterns = [
path('api/', include(('rachis.apps.authentication.urls'), namespace='auth')),
path('api/', include(('rachis.apps.resource.urls'), namespace='resources')),
] | 40.166667 | 81 | 0.626556 | 25 | 241 | 6.04 | 0.6 | 0.092715 | 0.18543 | 0.264901 | 0.317881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186722 | 241 | 6 | 82 | 40.166667 | 0.770408 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37004fcc0ea3c0f029aeaf120617f4bb43514a4c | 131 | py | Python | HelloWorld/Python01/_hello/math.py | grtlinux/KieaPython | 5539a9e3625864aa20624b8d684dbe5828dac3d1 | [
"Apache-2.0"
] | 1 | 2022-01-29T08:32:11.000Z | 2022-01-29T08:32:11.000Z | HelloWorld/Python01/_hello/math.py | grtlinux/KieaPython | 5539a9e3625864aa20624b8d684dbe5828dac3d1 | [
"Apache-2.0"
] | null | null | null | HelloWorld/Python01/_hello/math.py | grtlinux/KieaPython | 5539a9e3625864aa20624b8d684dbe5828dac3d1 | [
"Apache-2.0"
] | 1 | 2022-01-29T08:32:12.000Z | 2022-01-29T08:32:12.000Z | # file: math.py
import math
print dir(math)
print math.pi
print math.e
print math.sin(1.0)
print math.sqrt(2)
| 8.733333 | 20 | 0.618321 | 23 | 131 | 3.521739 | 0.565217 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.274809 | 131 | 14 | 21 | 9.357143 | 0.821053 | 0.099237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.833333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
2e94e5d2395226d2ff65a4269164cce333e5de2e | 624 | py | Python | test_murls.py | cyberbikepunk/murls | cf1513d48bc22e9c2b5dedb44f6f3bcb306b2b7a | [
"Apache-2.0"
] | null | null | null | test_murls.py | cyberbikepunk/murls | cf1513d48bc22e9c2b5dedb44f6f3bcb306b2b7a | [
"Apache-2.0"
] | null | null | null | test_murls.py | cyberbikepunk/murls | cf1513d48bc22e9c2b5dedb44f6f3bcb306b2b7a | [
"Apache-2.0"
] | null | null | null | """ Test suite for the murls module. """
from murls import http, https
def test_init():
assert http('site.com') == 'http://site.com'
assert https('site.com') == 'https://site.com'
def test_path():
url = http('site.com')
assert url.path('foo', 'bar') == 'http://site.com/foo/bar'
assert url.path... | 27.130435 | 116 | 0.610577 | 102 | 624 | 3.705882 | 0.205882 | 0.222222 | 0.291005 | 0.148148 | 0.457672 | 0.269841 | 0.148148 | 0.148148 | 0.148148 | 0 | 0 | 0 | 0.153846 | 624 | 22 | 117 | 28.363636 | 0.715909 | 0.051282 | 0 | 0.166667 | 0 | 0 | 0.423671 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2e9b0902b8ab0f4aafd4c3b634b553887c0cdcba | 19,257 | py | Python | workflows/api/tests.py | xflows/clowdflows-backend | 9fae3a27d16035147bebac6efcd7617aec35e0f3 | [
"MIT"
] | 4 | 2017-12-13T10:59:42.000Z | 2019-11-03T17:26:19.000Z | workflows/api/tests.py | xflows/clowdflows-backend | 9fae3a27d16035147bebac6efcd7617aec35e0f3 | [
"MIT"
] | 21 | 2017-04-05T08:03:54.000Z | 2022-03-11T23:16:03.000Z | workflows/api/tests.py | xflows/clowdflows-backend | 9fae3a27d16035147bebac6efcd7617aec35e0f3 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from rest_framework.reverse import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from workflows.models import Workflow, Widget, Input
TEST_USERNAME = 'testuser'
TEST_PASSWORD = '123'
# Test workflow ids
TEST_WORKFLOW_USERS_PK = 2
TES... | 39.380368 | 115 | 0.67591 | 2,307 | 19,257 | 5.355873 | 0.074122 | 0.082551 | 0.069926 | 0.107964 | 0.813775 | 0.78035 | 0.732357 | 0.68833 | 0.682422 | 0.670363 | 0 | 0.014215 | 0.218258 | 19,257 | 488 | 116 | 39.461066 | 0.806563 | 0.069118 | 0 | 0.540936 | 0 | 0 | 0.076472 | 0.011124 | 0 | 0 | 0 | 0 | 0.207602 | 1 | 0.064327 | false | 0.011696 | 0.01462 | 0 | 0.093567 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2e9edde9e2d1c808f47f515b7698c1ad2b7020cb | 1,281 | py | Python | stubs/m5stack_flowui-v1_4_0-beta/flowlib/units/_color.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/m5stack_flowui-v1_4_0-beta/flowlib/units/_color.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/m5stack_flowui-v1_4_0-beta/flowlib/units/_color.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'flowlib.units._color' on M5 FlowUI v1.4.0-beta
"""
# MCU: (sysname='esp32', nodename='esp32', release='1.11.0', version='v1.11-284-g5d8e1c867 on 2019-08-30', machine='ESP32 module with ESP32')
# Stubber: 1.3.1 - updated
from typing import Any
class Color:
""""""
def _available(self, *argv) -> An... | 17.310811 | 141 | 0.587822 | 171 | 1,281 | 4.239766 | 0.438596 | 0.143448 | 0.197241 | 0.268966 | 0.329655 | 0.204138 | 0 | 0 | 0 | 0 | 0 | 0.059848 | 0.282592 | 1,281 | 73 | 142 | 17.547945 | 0.729053 | 0.172521 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0.318182 | 0.022727 | 0 | 0.477273 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2ea75a7dfbe63a948f1ddb62841fe463a969968d | 553 | py | Python | fdk_client/platform/models/SearchLogReq.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/platform/models/SearchLogReq.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/platform/models/SearchLogReq.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | """Platform Models."""
from marshmallow import fields, Schema
from marshmallow.validate import OneOf
from ..enums import *
from ..models.BaseSchema import BaseSchema
class SearchLogReq(BaseSchema):
# Analytics swagger.json
marketplace_name = fields.Str(required=False)
start_date = ... | 14.552632 | 49 | 0.688969 | 61 | 553 | 6.163934 | 0.459016 | 0.143617 | 0.271277 | 0.351064 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220615 | 553 | 37 | 50 | 14.945946 | 0.87239 | 0.072333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2eda1945ceab0abdb07ae1c36e78347cee1407af | 224 | py | Python | ch1/fibonacci.py | OMGZui/getSister | 0ef8690676105621e7bafa4779114ae870acc8c7 | [
"MIT"
] | 1 | 2018-02-28T01:21:45.000Z | 2018-02-28T01:21:45.000Z | ch1/fibonacci.py | OMGZui/getSister | 0ef8690676105621e7bafa4779114ae870acc8c7 | [
"MIT"
] | null | null | null | ch1/fibonacci.py | OMGZui/getSister | 0ef8690676105621e7bafa4779114ae870acc8c7 | [
"MIT"
] | null | null | null |
a, b = 0, 1
while b < 10:
print(b)
a, b = b, a + b
# 1
# 1
# 2
# 3
# 5
# 8
a, b = 0, 1
while b < 1000:
print(b, end='->')
a, b = b, a + b
# 1->1->2->3->5->8->13->21->34->55->89->144->233->377->610->987->%
| 11.789474 | 66 | 0.392857 | 51 | 224 | 1.72549 | 0.45098 | 0.136364 | 0.102273 | 0.090909 | 0.477273 | 0.477273 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0.301282 | 0.303571 | 224 | 18 | 67 | 12.444444 | 0.262821 | 0.339286 | 0 | 0.5 | 0 | 0 | 0.014388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2c1130daf074420f11439c1e1e4a0752b5881f2d | 104 | py | Python | biothings-hub/files/nde-hub/hub/dataload/sources/dde/uploader.py | NIAID-Data-Ecosystem/nde-crawlers | c0aff7dc1625ece1e67d03ad56555da7dbdc4a11 | [
"Apache-2.0"
] | null | null | null | biothings-hub/files/nde-hub/hub/dataload/sources/dde/uploader.py | NIAID-Data-Ecosystem/nde-crawlers | c0aff7dc1625ece1e67d03ad56555da7dbdc4a11 | [
"Apache-2.0"
] | null | null | null | biothings-hub/files/nde-hub/hub/dataload/sources/dde/uploader.py | NIAID-Data-Ecosystem/nde-crawlers | c0aff7dc1625ece1e67d03ad56555da7dbdc4a11 | [
"Apache-2.0"
] | null | null | null | from hub.dataload.nde import NDESourceUploader
class DDEUploader(NDESourceUploader):
name = "dde"
| 17.333333 | 46 | 0.778846 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 47 | 20.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 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 |
2c2af402121d01fc9ad62b7e3daf56b7ea63ee0e | 519 | py | Python | terrascript/data/davidji99/herokux.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/data/davidji99/herokux.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/data/davidji99/herokux.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/data/davidji99/herokux.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:42 UTC)
import terrascript
class herokux_addons(terrascript.Data):
pass
class herokux_kafka_mtls_iprules(terrascript.Data):
pass
class herokux_postgres_mtls_certificate(terrascript.Data):
pass
c... | 18.535714 | 73 | 0.770713 | 63 | 519 | 6 | 0.460317 | 0.198413 | 0.201058 | 0.190476 | 0.246032 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031461 | 0.142582 | 519 | 27 | 74 | 19.222222 | 0.817978 | 0.210019 | 0 | 0.266667 | 1 | 0 | 0.233415 | 0.199017 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.266667 | 0.066667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2587dc24d40ae0d934f169522c5c01bbfd7ea521 | 867 | py | Python | pybamm/models/submodels/interface/inverse_kinetics/inverse_butler_volmer.py | zlgenuine/pybamm | 5c43d17225710c5bea8e61b3863688eb7080e678 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/interface/inverse_kinetics/inverse_butler_volmer.py | zlgenuine/pybamm | 5c43d17225710c5bea8e61b3863688eb7080e678 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/interface/inverse_kinetics/inverse_butler_volmer.py | zlgenuine/pybamm | 5c43d17225710c5bea8e61b3863688eb7080e678 | [
"BSD-3-Clause"
] | null | null | null | #
# Inverse Bulter-Volmer class
#
import pybamm
from .base_inverse_kinetics import BaseInverseKinetics
from ..kinetics.butler_volmer import ButlerVolmer
class InverseButlerVolmer(BaseInverseKinetics, ButlerVolmer):
"""
A base submodel that implements the inverted form of the Butler-Volmer relation to
solv... | 27.967742 | 86 | 0.682814 | 106 | 867 | 5.462264 | 0.575472 | 0.041451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007375 | 0.217993 | 867 | 30 | 87 | 28.9 | 0.846608 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
2595a3a6581bd66141e19ecc00283e6868cb6bc8 | 100 | py | Python | python/testData/inspections/PyRedundantParenthesesInspection/ParenthesizedTupleWithUnpackingInYield.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyRedundantParenthesesInspection/ParenthesizedTupleWithUnpackingInYield.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/inspections/PyRedundantParenthesesInspection/ParenthesizedTupleWithUnpackingInYield.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(xs):
yield <weak_warning descr="Remove redundant parentheses">(42, *xs)</weak_warning>
| 33.333333 | 85 | 0.73 | 14 | 100 | 5.071429 | 0.785714 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.12 | 100 | 2 | 86 | 50 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
25b67e608dbd1f4f9925eb3d736edc8521baf3bc | 62 | py | Python | Jasper/__init__.py | Rhodolite/Gem.py.Other | 6d8ca5a4811901b9aab8f148604b3e89a686e304 | [
"MIT"
] | null | null | null | Jasper/__init__.py | Rhodolite/Gem.py.Other | 6d8ca5a4811901b9aab8f148604b3e89a686e304 | [
"MIT"
] | null | null | null | Jasper/__init__.py | Rhodolite/Gem.py.Other | 6d8ca5a4811901b9aab8f148604b3e89a686e304 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2018 Joy Diamond. All rights reserved.
#
| 15.5 | 57 | 0.66129 | 8 | 62 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.225806 | 62 | 3 | 58 | 20.666667 | 0.770833 | 0.854839 | 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 |
25c6907c4494f05d324bd37131737654b2394e87 | 1,363 | py | Python | error_output.py | mertyigit/INEEDopt | f01ca1fae38aae16807e9f908ea47838745cbae8 | [
"MIT"
] | 15 | 2021-03-14T08:17:56.000Z | 2022-03-16T08:12:28.000Z | error_output.py | mertyigit/INEEDopt | f01ca1fae38aae16807e9f908ea47838745cbae8 | [
"MIT"
] | 1 | 2021-11-10T04:01:24.000Z | 2021-11-15T23:28:16.000Z | error_output.py | mertyigit/INEEDopt | f01ca1fae38aae16807e9f908ea47838745cbae8 | [
"MIT"
] | 7 | 2020-12-05T18:50:04.000Z | 2022-02-09T03:07:05.000Z |
def error_output(number_of_parameters):
"""Write the optimized error values into the params file near the corresponding parameter identicator"""
try:
file2 = open("parameters", "r+")
file2.seek(0)
position2 = file2.tell()
file = open("fort.13","r") ... | 24.781818 | 108 | 0.49303 | 142 | 1,363 | 4.633803 | 0.309859 | 0.045593 | 0.054711 | 0.066869 | 0.799392 | 0.799392 | 0.799392 | 0.799392 | 0.583587 | 0.583587 | 0 | 0.041975 | 0.405723 | 1,363 | 55 | 109 | 24.781818 | 0.77037 | 0.182685 | 0 | 0.625 | 0 | 0 | 0.043597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.0625 | 0 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
25c6f5c1b465d8a03907fb43f1f824ebcb302863 | 52 | py | Python | Trading arbitrage strategy/strategies/arbitrage.py | iCoder333/Trading-arbitrage-strategy | af970c48027ab75a31a9d434373e620ceb38666b | [
"Apache-2.0"
] | 4 | 2018-08-20T12:30:13.000Z | 2018-08-31T08:43:55.000Z | Trading arbitrage strategy/strategies/arbitrage.py | cristianver333/Trading-arbitrage-strategy | af970c48027ab75a31a9d434373e620ceb38666b | [
"Apache-2.0"
] | null | null | null | Trading arbitrage strategy/strategies/arbitrage.py | cristianver333/Trading-arbitrage-strategy | af970c48027ab75a31a9d434373e620ceb38666b | [
"Apache-2.0"
] | 1 | 2020-02-19T17:12:59.000Z | 2020-02-19T17:12:59.000Z | """Provides the concrete arbitrage trading class"""
| 26 | 51 | 0.769231 | 6 | 52 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 1 | 52 | 52 | 0.869565 | 0.865385 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
25ce844080199be82931bf0800d7ffbdffa84739 | 292 | py | Python | tempdir/login-app.py | Kennethvalerio212/design-app | 7518fa33fc0e664b866747182229ac96064670a5 | [
"MIT"
] | null | null | null | tempdir/login-app.py | Kennethvalerio212/design-app | 7518fa33fc0e664b866747182229ac96064670a5 | [
"MIT"
] | null | null | null | tempdir/login-app.py | Kennethvalerio212/design-app | 7518fa33fc0e664b866747182229ac96064670a5 | [
"MIT"
] | null | null | null |
# Add to this file for the sample app lab
from flask import Flask
from flask import request
from flask import render_template
login = Flask(__name__)
@login.route("/")
def main():
return render_template("login.html")
if __name__ == "__main__":
login.run(host="0.0.0.0", port=5050) | 20.857143 | 41 | 0.719178 | 46 | 292 | 4.26087 | 0.608696 | 0.137755 | 0.229592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032653 | 0.160959 | 292 | 14 | 42 | 20.857143 | 0.767347 | 0.133562 | 0 | 0 | 0 | 0 | 0.103586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
d35257fd960107a35664c8c0fb90ebce4efc6510 | 464 | py | Python | fhireval/test_suite/search/test_mod_prefix.py | ncpi-fhir/ncpi-fhir-platform-evaluation | dcc6d3824a41a23cd3be8b3f384a1fd18336a32f | [
"CC0-1.0"
] | null | null | null | fhireval/test_suite/search/test_mod_prefix.py | ncpi-fhir/ncpi-fhir-platform-evaluation | dcc6d3824a41a23cd3be8b3f384a1fd18336a32f | [
"CC0-1.0"
] | 15 | 2021-03-19T21:59:15.000Z | 2021-05-14T23:27:17.000Z | fhireval/test_suite/search/test_mod_prefix.py | ncpi-fhir/ncpi-fhir-platform-evaluation | dcc6d3824a41a23cd3be8b3f384a1fd18336a32f | [
"CC0-1.0"
] | null | null | null | import pytest
import pdb
from fhir_walk.model.patient import Patient
test_id = f"{'2.2.1.2':<10} - Search Modifiers and Prefix"
test_weight = 15
# TODO Write some tests
def test_search_by_date(host):
assert 0 == 1, "TODO - Write Test"
def test_search_by_value(host):
assert 0 == 1, "TODO - Write Test"
def ... | 19.333333 | 58 | 0.693966 | 78 | 464 | 3.935897 | 0.423077 | 0.14658 | 0.169381 | 0.19544 | 0.472313 | 0.472313 | 0.472313 | 0.390879 | 0.390879 | 0.390879 | 0 | 0.042667 | 0.19181 | 464 | 23 | 59 | 20.173913 | 0.776 | 0.045259 | 0 | 0.307692 | 0 | 0 | 0.257403 | 0 | 0 | 0 | 0 | 0.043478 | 0.307692 | 1 | 0.307692 | false | 0 | 0.230769 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d3712033589f2b4832f5564587b462570bb83f04 | 81 | py | Python | Contest/ABC037/a/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/ABC037/a/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/ABC037/a/main.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
a, b, c = map(int, input().split())
print(c // min(a, b))
| 20.25 | 35 | 0.567901 | 16 | 81 | 2.875 | 0.8125 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.148148 | 81 | 3 | 36 | 27 | 0.652174 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d38a4e013134b70044f5bfe7d2791d4a39198fc2 | 65 | py | Python | Python/Fundamentals/Introduction/hello_world.py | handtjaxon1/Coding-Dojo-Development | 9cca0ae84749984a164541c476dc445b29b498b9 | [
"MIT"
] | null | null | null | Python/Fundamentals/Introduction/hello_world.py | handtjaxon1/Coding-Dojo-Development | 9cca0ae84749984a164541c476dc445b29b498b9 | [
"MIT"
] | null | null | null | Python/Fundamentals/Introduction/hello_world.py | handtjaxon1/Coding-Dojo-Development | 9cca0ae84749984a164541c476dc445b29b498b9 | [
"MIT"
] | null | null | null | print("Hello, world!")
x = "Hello World"
print(x)
y = 42
print(y) | 13 | 22 | 0.630769 | 12 | 65 | 3.416667 | 0.5 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.153846 | 65 | 5 | 23 | 13 | 0.709091 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 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 |
d3904ed05a9a96cba396cf1bae56dd759f27524c | 129 | py | Python | src/misc.py | Dorijan-Cirkveni/AutoSolvingMatrix | 3732d0215c22b9eae450c69ba84e75aecb337b0c | [
"MIT"
] | null | null | null | src/misc.py | Dorijan-Cirkveni/AutoSolvingMatrix | 3732d0215c22b9eae450c69ba84e75aecb337b0c | [
"MIT"
] | null | null | null | src/misc.py | Dorijan-Cirkveni/AutoSolvingMatrix | 3732d0215c22b9eae450c69ba84e75aecb337b0c | [
"MIT"
] | null | null | null | def StringToDict(s):
RES = dict()
for e in set(s):
RES[e] = 0
for e in s:
RES[e] += 1
return RES
| 16.125 | 20 | 0.457364 | 22 | 129 | 2.681818 | 0.545455 | 0.20339 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.410853 | 129 | 7 | 21 | 18.428571 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 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 |
d3a67e176dcf1d5cb15a658b7c129194e4cfcc79 | 103 | py | Python | weather_comparison/weather_api1/apps.py | is-dev-djangoproject-ss-2020/project-repository | e3feaccbf9c5d03580af592d3a8f27524007298b | [
"Apache-2.0"
] | null | null | null | weather_comparison/weather_api1/apps.py | is-dev-djangoproject-ss-2020/project-repository | e3feaccbf9c5d03580af592d3a8f27524007298b | [
"Apache-2.0"
] | null | null | null | weather_comparison/weather_api1/apps.py | is-dev-djangoproject-ss-2020/project-repository | e3feaccbf9c5d03580af592d3a8f27524007298b | [
"Apache-2.0"
] | 2 | 2020-05-01T20:33:35.000Z | 2020-05-06T13:12:12.000Z | from django.apps import AppConfig
class WeatherApi1Config(AppConfig):
name = 'weather_api1'
| 17.166667 | 36 | 0.737864 | 11 | 103 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.194175 | 103 | 5 | 37 | 20.6 | 0.879518 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d3ac5e8b24e6723435921dc3fa10ba604aa72cba | 136 | py | Python | Unit 1 Variables and Statements/Lesson4.2.py | ItsMrTurtle/PythonChris | 4513dea336e68f48fabf480ad87bc538a323c2cd | [
"MIT"
] | null | null | null | Unit 1 Variables and Statements/Lesson4.2.py | ItsMrTurtle/PythonChris | 4513dea336e68f48fabf480ad87bc538a323c2cd | [
"MIT"
] | null | null | null | Unit 1 Variables and Statements/Lesson4.2.py | ItsMrTurtle/PythonChris | 4513dea336e68f48fabf480ad87bc538a323c2cd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Apr 19 19:32:39 2020
@author: abcdk
"""
# 5 Data types
# Int, Float, Boolean, String, Null
| 13.6 | 35 | 0.610294 | 22 | 136 | 3.772727 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 0.205882 | 136 | 9 | 36 | 15.111111 | 0.638889 | 0.889706 | 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 |
6c9297fcb26e507b3d7496b4639f81f221883d69 | 77 | py | Python | source_hunter/__main__.py | pyeprog/source_hunter | f02161f66580a085161db9332ea8f0e8e7fbf96e | [
"MIT"
] | 2 | 2019-07-28T08:31:56.000Z | 2019-07-29T12:01:40.000Z | source_hunter/__main__.py | pyeprog/source_hunter | f02161f66580a085161db9332ea8f0e8e7fbf96e | [
"MIT"
] | 1 | 2019-07-31T07:36:41.000Z | 2019-08-03T14:00:02.000Z | source_hunter/__main__.py | pyeprog/source_hunter | f02161f66580a085161db9332ea8f0e8e7fbf96e | [
"MIT"
] | null | null | null | from source_hunter.hunter import hunt
if __name__ == '__main__':
hunt()
| 15.4 | 37 | 0.714286 | 10 | 77 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 4 | 38 | 19.25 | 0.730159 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 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 |
6ce4aaa8a7bfc6b74e685ff37f5108d15adf3ffd | 5,683 | py | Python | src/model/GCN.py | Zeyuzhao/DeepKidney | 201839442388b6d3bbdd0d353946ab1a34a5aea5 | [
"MIT"
] | 1 | 2022-01-15T00:22:32.000Z | 2022-01-15T00:22:32.000Z | src/model/GCN.py | Zeyuzhao/DeepKidney | 201839442388b6d3bbdd0d353946ab1a34a5aea5 | [
"MIT"
] | null | null | null | src/model/GCN.py | Zeyuzhao/DeepKidney | 201839442388b6d3bbdd0d353946ab1a34a5aea5 | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
import torch.nn as nn
from torch.nn import BatchNorm1d
from torch_geometric.nn import GCNConv, GraphConv, GATConv, GatedGraphConv
from torch_geometric.utils import add_remaining_self_loops, add_self_loops
class BasicNet(torch.nn.Module):
def __init__(self):
s... | 29.14359 | 84 | 0.569945 | 856 | 5,683 | 3.588785 | 0.078271 | 0.171875 | 0.130208 | 0.107422 | 0.850911 | 0.822591 | 0.819336 | 0.690755 | 0.663086 | 0.654297 | 0 | 0.049852 | 0.286996 | 5,683 | 194 | 85 | 29.293814 | 0.708292 | 0.011438 | 0 | 0.691781 | 0 | 0 | 0.026897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068493 | false | 0 | 0.041096 | 0 | 0.178082 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9f39679ccc78ddbfeefeac6e8cefa755118318e8 | 365 | py | Python | kubernetes_typed/client/models/v1_windows_security_context_options.py | sobolevn/kubernetes-typed | 5f0a770631c73a9831fbeaeebac188e8f4a52c54 | [
"Apache-2.0"
] | 22 | 2020-12-10T13:06:02.000Z | 2022-02-13T21:58:15.000Z | kubernetes_typed/client/models/v1_windows_security_context_options.py | sobolevn/kubernetes-typed | 5f0a770631c73a9831fbeaeebac188e8f4a52c54 | [
"Apache-2.0"
] | 4 | 2021-03-08T07:06:12.000Z | 2022-03-29T23:41:45.000Z | kubernetes_typed/client/models/v1_windows_security_context_options.py | sobolevn/kubernetes-typed | 5f0a770631c73a9831fbeaeebac188e8f4a52c54 | [
"Apache-2.0"
] | 2 | 2021-09-05T19:18:28.000Z | 2022-03-14T02:56:17.000Z | # Code generated by `typeddictgen`. DO NOT EDIT.
"""V1WindowsSecurityContextOptionsDict generated type."""
from typing import TypedDict
V1WindowsSecurityContextOptionsDict = TypedDict(
"V1WindowsSecurityContextOptionsDict",
{
"gmsaCredentialSpec": str,
"gmsaCredentialSpecName": str,
"ru... | 26.071429 | 57 | 0.712329 | 25 | 365 | 10.4 | 0.76 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010169 | 0.191781 | 365 | 13 | 58 | 28.076923 | 0.871186 | 0.271233 | 0 | 0 | 1 | 0 | 0.338462 | 0.219231 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9f4f39435e4f54f6256f22da4e57de74072c9583 | 191 | py | Python | verkkokauppa/payment/exceptions.py | SuviVappula/tilavarauspalvelu-core | ad7dec36e392a7b2927e2f825c3b0eb29b700793 | [
"MIT"
] | null | null | null | verkkokauppa/payment/exceptions.py | SuviVappula/tilavarauspalvelu-core | ad7dec36e392a7b2927e2f825c3b0eb29b700793 | [
"MIT"
] | null | null | null | verkkokauppa/payment/exceptions.py | SuviVappula/tilavarauspalvelu-core | ad7dec36e392a7b2927e2f825c3b0eb29b700793 | [
"MIT"
] | null | null | null | from ..exceptions import VerkkokauppaError
class PaymentError(VerkkokauppaError):
pass
class ParsePaymentError(PaymentError):
pass
class GetPaymentError(PaymentError):
pass
| 13.642857 | 42 | 0.780105 | 16 | 191 | 9.3125 | 0.5625 | 0.120805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162304 | 191 | 13 | 43 | 14.692308 | 0.93125 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9f9343562eac8e78741e8d3290cd81f31e5d0ffb | 142 | py | Python | birthday_pages/apps.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 4 | 2017-01-29T00:38:41.000Z | 2019-09-04T14:30:24.000Z | birthday_pages/apps.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 74 | 2017-10-02T04:42:54.000Z | 2022-01-13T00:44:16.000Z | birthday_pages/apps.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 3 | 2017-03-24T23:26:46.000Z | 2019-10-21T01:16:03.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class BirthdayPagesConfig(AppConfig):
name = 'birthday_pages'
| 20.285714 | 39 | 0.816901 | 16 | 142 | 6.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133803 | 142 | 6 | 40 | 23.666667 | 0.894309 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9f9607bb65f85e24940582a772c314930ef53351 | 78 | py | Python | main.py | ahlumcho/RyeongBot | 8c0305780428b5d0a0ad35cef7081af5f401f013 | [
"MIT"
] | null | null | null | main.py | ahlumcho/RyeongBot | 8c0305780428b5d0a0ad35cef7081af5f401f013 | [
"MIT"
] | null | null | null | main.py | ahlumcho/RyeongBot | 8c0305780428b5d0a0ad35cef7081af5f401f013 | [
"MIT"
] | null | null | null | print("Hello world! i'm sexy ryong" )
print("캔디크러시팡팡파라바라팡팡팡" )
print('웅앵옹앙응')
| 19.5 | 37 | 0.705128 | 11 | 78 | 5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 78 | 3 | 38 | 26 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.589744 | 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 |
9fa8f9da930a3be6b16010d1871945d9429f526b | 97 | py | Python | weibospider/daemon_tweet.py | uglyghost/WeiboSpider | bc8f51a6eaeffd4e00de594491769d87e86d8aef | [
"MIT"
] | null | null | null | weibospider/daemon_tweet.py | uglyghost/WeiboSpider | bc8f51a6eaeffd4e00de594491769d87e86d8aef | [
"MIT"
] | null | null | null | weibospider/daemon_tweet.py | uglyghost/WeiboSpider | bc8f51a6eaeffd4e00de594491769d87e86d8aef | [
"MIT"
] | null | null | null | import os
while 1:
run_depth_pct = 'python run_spider.py tweet'
os.system(run_depth_pct) | 19.4 | 48 | 0.731959 | 17 | 97 | 3.882353 | 0.705882 | 0.242424 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.185567 | 97 | 5 | 49 | 19.4 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 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 |
4cb31cf193e888d51a09241c5dcbdae08e374ec4 | 105 | py | Python | cx_Freeze/samples/advanced/advanced_1.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 358 | 2020-07-02T13:00:02.000Z | 2022-03-29T10:03:57.000Z | cx_Freeze/samples/advanced/advanced_1.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 372 | 2020-07-02T20:47:57.000Z | 2022-03-31T19:35:05.000Z | cx_Freeze/samples/advanced/advanced_1.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 78 | 2020-07-09T14:24:03.000Z | 2022-03-22T19:06:52.000Z | #!/usr/bin/env python
print("Hello from cx_Freeze Advanced #1\n")
module = __import__("testfreeze_1")
| 15 | 43 | 0.72381 | 16 | 105 | 4.375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.12381 | 105 | 6 | 44 | 17.5 | 0.73913 | 0.190476 | 0 | 0 | 0 | 0 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
4cb4ca1c68bedfdb4f0555291a370a22ded4eba0 | 214 | py | Python | src/boc_python_demo_test.py | bocgi-demo/python | 2c81fe4f4e72125d72871903b538b56b90e418ee | [
"MIT"
] | null | null | null | src/boc_python_demo_test.py | bocgi-demo/python | 2c81fe4f4e72125d72871903b538b56b90e418ee | [
"MIT"
] | null | null | null | src/boc_python_demo_test.py | bocgi-demo/python | 2c81fe4f4e72125d72871903b538b56b90e418ee | [
"MIT"
] | null | null | null | from boc_python_demo import my_sum
def test_my_sum():
assert my_sum(1) == 1
assert my_sum(2) == 2
assert my_sum(3) == 3
assert my_sum(4) == 5
assert my_sum(5) == 8
assert my_sum(6) == 13
| 17.833333 | 34 | 0.607477 | 41 | 214 | 2.902439 | 0.439024 | 0.336134 | 0.554622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 0.266355 | 214 | 11 | 35 | 19.454545 | 0.675159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.125 | true | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4cb62321c455772a220a38b9d8c73c6553950b8f | 227 | py | Python | dsemproducaoenv/Lib/site-packages/jupyter_server/_version.py | felipetmota/DsEmProducao | ed2d243b658b3117cd263333edca3be16600253c | [
"FTL"
] | null | null | null | dsemproducaoenv/Lib/site-packages/jupyter_server/_version.py | felipetmota/DsEmProducao | ed2d243b658b3117cd263333edca3be16600253c | [
"FTL"
] | null | null | null | dsemproducaoenv/Lib/site-packages/jupyter_server/_version.py | felipetmota/DsEmProducao | ed2d243b658b3117cd263333edca3be16600253c | [
"FTL"
] | null | null | null | """
store the current version info of the server.
"""
from jupyter_packaging import get_version_info
# Version string must appear intact for tbump versioning
__version__ = '1.6.2'
version_info = get_version_info(__version__)
| 22.7 | 56 | 0.792952 | 33 | 227 | 5.030303 | 0.666667 | 0.26506 | 0.168675 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.136564 | 227 | 9 | 57 | 25.222222 | 0.831633 | 0.444934 | 0 | 0 | 0 | 0 | 0.042735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4cd30a66576cf63e483271c51d04a76264ec64b1 | 1,316 | py | Python | operations/fleet_management/migrations/0069_auto_20180730_1054.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | operations/fleet_management/migrations/0069_auto_20180730_1054.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | operations/fleet_management/migrations/0069_auto_20180730_1054.py | kaizer88/emps | 2669b32c46befcf1a19390fb25013817e6b00980 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-07-30 08:54
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fleet_management', '0068_merge_20180726_0812'),
]
ope... | 35.567568 | 158 | 0.644377 | 144 | 1,316 | 5.715278 | 0.395833 | 0.065614 | 0.111786 | 0.131227 | 0.72418 | 0.72418 | 0.72418 | 0.72418 | 0.595383 | 0.595383 | 0 | 0.042701 | 0.234802 | 1,316 | 36 | 159 | 36.555556 | 0.774578 | 0.051672 | 0 | 0.689655 | 1 | 0 | 0.146185 | 0.019277 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.103448 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
980b86b6791895b36a42397fe094d6f542edc4fb | 447 | py | Python | apps/dbd/admin.py | TryNeo/sistema-gestion-pedidos | d36d13aa6ddfb6d74b543a58531ed7afe8383e9d | [
"MIT"
] | null | null | null | apps/dbd/admin.py | TryNeo/sistema-gestion-pedidos | d36d13aa6ddfb6d74b543a58531ed7afe8383e9d | [
"MIT"
] | 5 | 2020-08-12T16:55:36.000Z | 2021-09-22T19:34:10.000Z | apps/dbd/admin.py | TryNeo/sistema-gestion-pedidos | d36d13aa6ddfb6d74b543a58531ed7afe8383e9d | [
"MIT"
] | 2 | 2020-11-04T01:27:47.000Z | 2022-02-24T14:26:26.000Z | from django.contrib import admin
from apps.dbd.modelos.estructura_model_producto import Producto
from apps.dbd.modelos.esctructura_model_cliente import Cliente
from apps.dbd.modelos.estructura_model_catalogo import Categoria
from apps.dbd.modelos.estructura_model_pedido import Pedido,PedidoItem
admin.site.register(Pro... | 37.25 | 70 | 0.865772 | 62 | 447 | 6.112903 | 0.306452 | 0.118734 | 0.224274 | 0.189974 | 0.261214 | 0.261214 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058166 | 447 | 11 | 71 | 40.636364 | 0.900238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e21b7d30969ac404894a5fb17b4053d4887c4fca | 261 | py | Python | tests/builtins/test_dir.py | olgapinheiro/batavia | 673705c14a8f64c000b52501a62f3db384bd5e03 | [
"BSD-3-Clause"
] | 1 | 2019-01-15T23:37:17.000Z | 2019-01-15T23:37:17.000Z | tests/builtins/test_dir.py | olgapinheiro/batavia | 673705c14a8f64c000b52501a62f3db384bd5e03 | [
"BSD-3-Clause"
] | null | null | null | tests/builtins/test_dir.py | olgapinheiro/batavia | 673705c14a8f64c000b52501a62f3db384bd5e03 | [
"BSD-3-Clause"
] | null | null | null | from .. utils import TranspileTestCase, BuiltinFunctionTestCase
class DirTests(TranspileTestCase):
pass
class BuiltinDirFunctionTests(BuiltinFunctionTestCase, TranspileTestCase):
function = "dir"
not_implemented = [
'test_class',
]
| 18.642857 | 74 | 0.739464 | 19 | 261 | 10.052632 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187739 | 261 | 13 | 75 | 20.076923 | 0.900943 | 0 | 0 | 0 | 0 | 0 | 0.049808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e269a18f1422fbb78fa39b165def135c172c830e | 276 | py | Python | UnityEngine/ParticleSystemRingBufferMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/ParticleSystemRingBufferMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/ParticleSystemRingBufferMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class ParticleSystemRingBufferMode:
def __new__(cls, arg1=None):
'''
:returns: ParticleSystemRingBufferMode
:rtype: UnityEngine.ParticleSystemRingBufferMode
'''
pass
| 23 | 56 | 0.692029 | 21 | 276 | 8.904762 | 0.714286 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.23913 | 276 | 11 | 57 | 25.090909 | 0.885714 | 0.315217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
e26ab268d86bd828d0860e3e91cea1b9efb5642e | 283 | py | Python | nameko/dependency_providers.py | vlcinsky/nameko | 88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d | [
"Apache-2.0"
] | 3,425 | 2016-11-10T17:12:42.000Z | 2022-03-31T19:07:49.000Z | nameko/dependency_providers.py | vlcinsky/nameko | 88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d | [
"Apache-2.0"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | nameko/dependency_providers.py | vlcinsky/nameko | 88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d | [
"Apache-2.0"
] | 420 | 2016-11-17T05:46:42.000Z | 2022-03-23T12:36:06.000Z | """ Nameko built-in dependencies.
"""
from nameko.extensions import DependencyProvider
class Config(DependencyProvider):
""" Dependency provider for accessing configuration values.
"""
def get_dependency(self, worker_ctx):
return self.container.config.copy()
| 21.769231 | 63 | 0.731449 | 29 | 283 | 7.068966 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169611 | 283 | 12 | 64 | 23.583333 | 0.87234 | 0.318021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e26f19602bd096cf30792d0d313ba86cbbb80891 | 117 | py | Python | python_developer_tools/cv/detection/CenterNet2/__init__.py | carlsummer/python_developer_tools | a8c4365b7cc601cda55648cdfd8c0cb1faae132f | [
"Apache-2.0"
] | 32 | 2021-06-21T04:49:48.000Z | 2022-03-29T05:46:59.000Z | python_developer_tools/cv/detection/__init__.py | HonestyBrave/python_developer_tools | fc0dcf5c4ef088e2e535206dc82f09bbfd01f280 | [
"Apache-2.0"
] | 1 | 2021-11-12T03:45:55.000Z | 2021-11-12T03:45:55.000Z | python_developer_tools/cv/detection/__init__.py | HonestyBrave/python_developer_tools | fc0dcf5c4ef088e2e535206dc82f09bbfd01f280 | [
"Apache-2.0"
] | 10 | 2021-06-03T08:05:05.000Z | 2021-12-13T03:10:42.000Z | # !/usr/bin/env python
# -- coding: utf-8 --
# @Author zengxiaohui
# Datatime:5/18/2021 11:16 AM
# @File:__init__.py
| 19.5 | 29 | 0.65812 | 19 | 117 | 3.842105 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.145299 | 117 | 5 | 30 | 23.4 | 0.61 | 0.905983 | 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 |
e28d75c26117e958b80cfacdf7208be6e7ac6456 | 392 | py | Python | src/test/test_xml2fasta.py | yutake27/HMDM | a16c6e77cae9509ccf49140171797680068709aa | [
"MIT"
] | 2 | 2021-12-09T00:12:35.000Z | 2022-01-10T13:05:22.000Z | src/test/test_xml2fasta.py | yutake27/HMDM | a16c6e77cae9509ccf49140171797680068709aa | [
"MIT"
] | null | null | null | src/test/test_xml2fasta.py | yutake27/HMDM | a16c6e77cae9509ccf49140171797680068709aa | [
"MIT"
] | null | null | null | import os
import sys
sys.path.append(os.path.abspath('..'))
import xml2fasta
xml_path = '../../blast-xml/pdbaa_20200712/1bxo_1.xml'
fasta_path = '../../blast-xml/pdbaa_20200712/1bxo_1.fasta'
xml2fasta.xml2fasta(xml_path, fasta_path)
xml_path = '../../blast-xml/pdbaa_20200712/4gg1_1.xml'
fasta_path = '../../blast-xm... | 28 | 58 | 0.75 | 60 | 392 | 4.633333 | 0.25 | 0.100719 | 0.172662 | 0.244604 | 0.791367 | 0.791367 | 0.769784 | 0.532374 | 0 | 0 | 0 | 0.128415 | 0.066327 | 392 | 14 | 59 | 28 | 0.631148 | 0 | 0 | 0.2 | 0 | 0 | 0.43257 | 0.427481 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e28d7b132f9ec6cc9db2a59b7321ec04ee8815b0 | 17,723 | py | Python | tests/unit/datasources_test.py | jamesmistry/weaveq | 810f6664a06dcbf5808f837baffe66830f14b30b | [
"MIT"
] | null | null | null | tests/unit/datasources_test.py | jamesmistry/weaveq | 810f6664a06dcbf5808f837baffe66830f14b30b | [
"MIT"
] | null | null | null | tests/unit/datasources_test.py | jamesmistry/weaveq | 810f6664a06dcbf5808f837baffe66830f14b30b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""@package datasources_test
Tests for weaveq.datasources
"""
import unittest
import tempfile
import json
import os
import types
import sys
from weaveq.datasources import AppDataSourceBuilder, JsonLinesDataSource, JsonDataSource, CsvDataSource, ElasticsearchDataSource
from weaveq import wqexc... | 50.637143 | 315 | 0.64137 | 2,207 | 17,723 | 4.867241 | 0.090621 | 0.063675 | 0.066375 | 0.026531 | 0.808695 | 0.766152 | 0.712437 | 0.676969 | 0.66226 | 0.652486 | 0 | 0.027391 | 0.208994 | 17,723 | 349 | 316 | 50.782235 | 0.738284 | 0.09293 | 0 | 0.668016 | 0 | 0.048583 | 0.301981 | 0.144971 | 0 | 0 | 0 | 0 | 0.174089 | 1 | 0.093117 | false | 0 | 0.032389 | 0 | 0.129555 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e290ea756117154995834aade4c0614ed6e3fff1 | 24 | py | Python | tests/tpath/dn3/conf.py | kajigga/pop | dc5152bd72f81007f5863640aa8f4b939e52387d | [
"Apache-2.0"
] | 48 | 2019-05-21T16:10:49.000Z | 2021-12-04T18:02:20.000Z | tests/tpath/dn3/conf.py | kajigga/pop | dc5152bd72f81007f5863640aa8f4b939e52387d | [
"Apache-2.0"
] | 43 | 2019-05-21T22:39:44.000Z | 2020-02-07T16:37:29.000Z | tests/tpath/dn3/conf.py | kajigga/pop | dc5152bd72f81007f5863640aa8f4b939e52387d | [
"Apache-2.0"
] | 18 | 2019-05-21T16:10:42.000Z | 2019-12-13T16:28:36.000Z | DYNE = {'dn1': ['dn1']}
| 12 | 23 | 0.416667 | 3 | 24 | 3.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.166667 | 24 | 1 | 24 | 24 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 |
e2afc19a313ba0c46dc8c5e7598094948821232c | 252 | py | Python | tests/test_unpipe.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 123 | 2018-07-31T19:17:27.000Z | 2022-03-18T15:29:07.000Z | tests/test_unpipe.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 11 | 2019-05-01T18:01:59.000Z | 2022-01-01T06:43:36.000Z | tests/test_unpipe.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 4 | 2019-06-07T12:03:53.000Z | 2021-05-10T20:29:44.000Z | from sspipe import p, px, unpipe
def test_unpipe_active():
a_pipe = px + 1 | px * 5
func = unpipe(a_pipe)
assert func(0) == 5
def test_unpipe_passive():
func = lambda x: (x + 1) * 5
func = unpipe(func)
assert func(0) == 5
| 21 | 32 | 0.587302 | 41 | 252 | 3.463415 | 0.463415 | 0.098592 | 0.183099 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.285714 | 252 | 12 | 33 | 21 | 0.744444 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e2b170d64d7b65cd8fff14da60eda87854504d0b | 623 | py | Python | src/blog/sitemap.py | manyunkai/dannysite4 | 188057eed013f8daca52cda71d51c24b636d0667 | [
"Apache-2.0"
] | 22 | 2015-11-27T03:15:58.000Z | 2020-10-29T04:01:57.000Z | src/blog/sitemap.py | manyunkai/dannysite4 | 188057eed013f8daca52cda71d51c24b636d0667 | [
"Apache-2.0"
] | null | null | null | src/blog/sitemap.py | manyunkai/dannysite4 | 188057eed013f8daca52cda71d51c24b636d0667 | [
"Apache-2.0"
] | 21 | 2015-12-30T01:43:42.000Z | 2020-10-29T04:01:58.000Z | # -*-coding:utf-8 -*-
"""
Created on 2015-05-21
@author: Danny<manyunkai@hotmail.com>
DannyWork Project
"""
from __future__ import unicode_literals
from django.contrib.sitemaps import Sitemap
from django.core.urlresolvers import reverse
from .models import Blog
class BlogSitemap(Sitemap):
"""
博客 Sitemap
... | 18.878788 | 89 | 0.682183 | 80 | 623 | 5.2 | 0.6875 | 0.048077 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021956 | 0.195827 | 623 | 32 | 90 | 19.46875 | 0.808383 | 0.176565 | 0 | 0 | 0 | 0 | 0.04898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0.230769 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
2c5a66efdbaee46a8c8259ba0b0d3f962dca20c6 | 2,887 | py | Python | tifa/apps/admin/app.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 71 | 2020-04-16T04:28:45.000Z | 2022-03-31T22:45:11.000Z | tifa/apps/admin/app.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 6 | 2021-05-13T06:32:38.000Z | 2022-03-04T01:18:34.000Z | tifa/apps/admin/app.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 12 | 2021-05-01T08:43:11.000Z | 2022-03-29T00:58:54.000Z | from fastapi_utils.api_model import APIModel
from tifa.apps.admin.local import g
from tifa.apps.admin.router import bp
from tifa.models.app import App
class TApp(APIModel):
id: str
name: str
@bp.list("/apps", out=TApp, summary="App", tags=["App"])
def apps_list():
ins = g.adal.first_or_404(App)
ret... | 22.912698 | 87 | 0.654312 | 428 | 2,887 | 4.264019 | 0.121495 | 0.06137 | 0.087671 | 0.113973 | 0.810959 | 0.804384 | 0.792329 | 0.749041 | 0.604384 | 0.406027 | 0 | 0.019672 | 0.154832 | 2,887 | 125 | 88 | 23.096 | 0.728279 | 0 | 0 | 0.465116 | 0 | 0 | 0.167648 | 0.010738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.186047 | false | 0 | 0.046512 | 0 | 0.523256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2c74b79a1f64ac93554c8a57c7b7367adcbe48e0 | 30 | py | Python | tests/__init__.py | jcs-lambda/lambdata-jcs-lambda | 6fa6c097498ce119a61cbe600c2656751f849ed4 | [
"MIT"
] | null | null | null | tests/__init__.py | jcs-lambda/lambdata-jcs-lambda | 6fa6c097498ce119a61cbe600c2656751f849ed4 | [
"MIT"
] | 1 | 2020-03-31T11:09:59.000Z | 2020-03-31T11:09:59.000Z | tests/__init__.py | jcs-lambda/lambdata-jcs-lambda | 6fa6c097498ce119a61cbe600c2656751f849ed4 | [
"MIT"
] | 1 | 2020-02-12T00:40:00.000Z | 2020-02-12T00:40:00.000Z | """Unit tests for df_utils"""
| 15 | 29 | 0.666667 | 5 | 30 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.730769 | 0.766667 | 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 |
2c82948cae6b990099dd1d4b859d1e92fde09ff3 | 732 | py | Python | Katari/sip/response/_1xx.py | KalbiProject/Katari | 9b2b8968fc6952fbcc1170e55bd35dcec3386cfd | [
"BSD-3-Clause"
] | 13 | 2020-11-16T12:26:09.000Z | 2022-02-16T04:02:22.000Z | Katari/sip/response/_1xx.py | DeWarner/Katari | 75e3e7e17b7cc2b3eba0b514f5d9d542bd4203b9 | [
"BSD-3-Clause"
] | 10 | 2019-04-09T15:05:24.000Z | 2019-12-11T09:51:33.000Z | Katari/sip/response/_1xx.py | DeWarner/Katari | 75e3e7e17b7cc2b3eba0b514f5d9d542bd4203b9 | [
"BSD-3-Clause"
] | 4 | 2019-04-15T07:37:09.000Z | 2020-06-09T06:42:46.000Z | from Katari.sip import SipMessage
class Trying100(SipMessage):
def __init__(self):
super().__init__()
self.method_line = "SIP/2.0 100 Trying\r\n"
class Ringing180(SipMessage):
def __init__(self):
super().__init__()
self.method_line = "SIP/2.0 180 Ringing\r\n"
class CallisBe... | 20.333333 | 61 | 0.650273 | 90 | 732 | 4.8 | 0.355556 | 0.185185 | 0.152778 | 0.194444 | 0.453704 | 0.453704 | 0.453704 | 0.453704 | 0.453704 | 0.453704 | 0 | 0.067736 | 0.233607 | 732 | 35 | 62 | 20.914286 | 0.702317 | 0 | 0 | 0.521739 | 0 | 0 | 0.135246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0.086957 | 0.043478 | 0 | 0.565217 | 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 |
2c9679edad401fafcd459bc6dd7ecf3d9d847b62 | 353 | py | Python | tests/img_metadata_lib/test_image.py | Austin-Schmidli/Image-Metadata-API | 73e7f9cbcd397d6aefe53a75dbb9ff4e6a924f7d | [
"MIT"
] | null | null | null | tests/img_metadata_lib/test_image.py | Austin-Schmidli/Image-Metadata-API | 73e7f9cbcd397d6aefe53a75dbb9ff4e6a924f7d | [
"MIT"
] | null | null | null | tests/img_metadata_lib/test_image.py | Austin-Schmidli/Image-Metadata-API | 73e7f9cbcd397d6aefe53a75dbb9ff4e6a924f7d | [
"MIT"
] | null | null | null | import pytest
from tests.tools.tools import load_test_images
from img_metadata_lib.image import fetch_image
from img_metadata_lib.image import extract_metadata
@pytest.fixture(params=load_test_images())
def image(request):
return request.param
def test_extract_metadata_returns_dict(image):
assert isinstanc... | 23.533333 | 52 | 0.830028 | 51 | 353 | 5.45098 | 0.470588 | 0.161871 | 0.100719 | 0.129496 | 0.208633 | 0.208633 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104816 | 353 | 14 | 53 | 25.214286 | 0.879747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.444444 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
2c9d7948a88b6f7414c1ed35e671b882341220bd | 115 | py | Python | bin/ek.py | alfa-bravo/ekstrakto | de2dc38815f9e8657b401fc71b9c54fa16b849c7 | [
"MIT"
] | null | null | null | bin/ek.py | alfa-bravo/ekstrakto | de2dc38815f9e8657b401fc71b9c54fa16b849c7 | [
"MIT"
] | null | null | null | bin/ek.py | alfa-bravo/ekstrakto | de2dc38815f9e8657b401fc71b9c54fa16b849c7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
sys.path.append('../ekstrakto')
from ekstrakto.cli import entrypoint
entrypoint() | 23 | 36 | 0.773913 | 16 | 115 | 5.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.078261 | 115 | 5 | 37 | 23 | 0.830189 | 0.182609 | 0 | 0 | 0 | 0 | 0.12766 | 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 |
2cc4107a8fa7568a28442a0ae20e2fcdbd7eeb97 | 186 | py | Python | utils/__init__.py | utplanets/deepmars2 | 48146ff9e0689b520d54421a433ba4a38dd24d55 | [
"MIT"
] | 2 | 2021-08-08T03:06:58.000Z | 2021-11-25T04:06:00.000Z | utils/__init__.py | utplanets/deepmars2 | 48146ff9e0689b520d54421a433ba4a38dd24d55 | [
"MIT"
] | null | null | null | utils/__init__.py | utplanets/deepmars2 | 48146ff9e0689b520d54421a433ba4a38dd24d55 | [
"MIT"
] | 2 | 2020-11-23T09:38:26.000Z | 2021-02-26T01:14:28.000Z | from dotenv import find_dotenv, load_dotenv
import sys
import os
def getenv(name):
val = os.getenv(name)
return val
def load_env():
load_dotenv(find_dotenv())
return
| 13.285714 | 43 | 0.704301 | 28 | 186 | 4.5 | 0.464286 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 186 | 13 | 44 | 14.307692 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2ccf6465022fd9d4ab94c514c4bf6e9d446ecd88 | 64 | py | Python | source/hellogithub.py | yy7576/Hello-github | f084135a3b2efbbd0424d66aa11d71f553cb17c6 | [
"Apache-2.0"
] | null | null | null | source/hellogithub.py | yy7576/Hello-github | f084135a3b2efbbd0424d66aa11d71f553cb17c6 | [
"Apache-2.0"
] | null | null | null | source/hellogithub.py | yy7576/Hello-github | f084135a3b2efbbd0424d66aa11d71f553cb17c6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#Filename: hellogithub.py
print('Hello World') | 21.333333 | 25 | 0.75 | 9 | 64 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 3 | 26 | 21.333333 | 0.8 | 0.625 | 0 | 0 | 0 | 0 | 0.478261 | 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 |
e2dcb48231410f3962bcfab14bf6396a00ee7303 | 145 | py | Python | applications/CoSimulationApplication/mpi_extension/MPIExtension.py | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | applications/CoSimulationApplication/mpi_extension/MPIExtension.py | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | applications/CoSimulationApplication/mpi_extension/MPIExtension.py | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z | import KratosMultiphysics.mpi # importing the MPI-Core, since the MPIExtension directly links to it
from KratosCoSimulationMPIExtension import *
| 48.333333 | 99 | 0.848276 | 17 | 145 | 7.235294 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 145 | 2 | 100 | 72.5 | 0.960938 | 0.462069 | 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 |
e2f009fc1676cad73b999eb003c7891fb5fa67fb | 4,451 | py | Python | sanitise/sanitise.py | wapdat/ppi-sanistise | 566891cbf12d1438857cb07b512fb7654370f104 | [
"Apache-2.0"
] | 4 | 2018-06-19T19:41:13.000Z | 2022-02-15T09:41:41.000Z | sanitise/sanitise.py | wapdat/ppi-sanistise | 566891cbf12d1438857cb07b512fb7654370f104 | [
"Apache-2.0"
] | null | null | null | sanitise/sanitise.py | wapdat/ppi-sanistise | 566891cbf12d1438857cb07b512fb7654370f104 | [
"Apache-2.0"
] | 3 | 2019-10-31T01:54:11.000Z | 2020-01-13T11:05:10.000Z | import re
import nltk
debug = False
list = ''
def tokenise(doc):
tokenized_doc = nltk.word_tokenize(doc)
tagged_sentences = nltk.pos_tag(tokenized_doc)
ne_chunked_sents = nltk.ne_chunk(tagged_sentences)
named_entities = []
for tagged_tree in ne_chunked_sents:
if hasattr(tagged_tree, 'label... | 65.455882 | 325 | 0.556279 | 751 | 4,451 | 3.263648 | 0.278296 | 0.039984 | 0.183599 | 0.163199 | 0.29539 | 0.228478 | 0.202366 | 0.119543 | 0.070583 | 0.050184 | 0 | 0.148754 | 0.134577 | 4,451 | 68 | 326 | 65.455882 | 0.487539 | 0.031454 | 0 | 0 | 0 | 0.214286 | 0.526255 | 0.376162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.035714 | 0.017857 | 0.178571 | 0.053571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e2fafad3524e62bbf1a45720cdb5c390f2bc7de1 | 166 | py | Python | src/database/create_db.py | johnnychiuchiu/Music-Recommender | 6fd239e1b3bdd8f7687d393ae7eee9bc77d4fe3d | [
"FTL",
"Spencer-86",
"Spencer-94",
"Spencer-99"
] | null | null | null | src/database/create_db.py | johnnychiuchiu/Music-Recommender | 6fd239e1b3bdd8f7687d393ae7eee9bc77d4fe3d | [
"FTL",
"Spencer-86",
"Spencer-94",
"Spencer-99"
] | 4 | 2018-02-10T02:04:12.000Z | 2018-03-22T23:58:01.000Z | src/database/create_db.py | johnnychiuchiu/Music-Recommender | 6fd239e1b3bdd8f7687d393ae7eee9bc77d4fe3d | [
"FTL",
"Spencer-86",
"Spencer-94",
"Spencer-99"
] | 3 | 2018-03-22T13:10:20.000Z | 2019-05-27T21:48:14.000Z | from schema import db
# from schema.db_models import *
if __name__=='__main__':
# create a new table scheme as defined in the schema script
db.create_all()
| 20.75 | 63 | 0.722892 | 26 | 166 | 4.230769 | 0.730769 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204819 | 166 | 7 | 64 | 23.714286 | 0.833333 | 0.53012 | 0 | 0 | 0 | 0 | 0.108108 | 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 |
3905890e51be7396f1cc52b70b8a67111f04e671 | 189 | py | Python | src/mlflow_turing_scoring_server/scoring_server/wsgi.py | jose-turintech/mlflow-turing-scoring-server | 2a4ccdc94fa6313f401dad37fd40b232a36dc530 | [
"BSD-3-Clause"
] | null | null | null | src/mlflow_turing_scoring_server/scoring_server/wsgi.py | jose-turintech/mlflow-turing-scoring-server | 2a4ccdc94fa6313f401dad37fd40b232a36dc530 | [
"BSD-3-Clause"
] | null | null | null | src/mlflow_turing_scoring_server/scoring_server/wsgi.py | jose-turintech/mlflow-turing-scoring-server | 2a4ccdc94fa6313f401dad37fd40b232a36dc530 | [
"BSD-3-Clause"
] | null | null | null | import os
from mlflow_turing_scoring_server import scoring_server
from mlflow.pyfunc import load_model
app = scoring_server.init(load_model(os.environ[scoring_server._SERVER_MODEL_PATH]))
| 31.5 | 84 | 0.867725 | 29 | 189 | 5.275862 | 0.482759 | 0.339869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 189 | 5 | 85 | 37.8 | 0.874286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
390e8d3ebaa4df914f79d0f7c74c72b35535bd99 | 3,997 | py | Python | keys.py | Narcissuscyn/OCR_ICPR2018 | 9f3b9c7c47bdc0d9d8d1aae39592f43d01d38b72 | [
"MIT"
] | 2 | 2019-04-19T12:57:32.000Z | 2020-05-12T06:11:38.000Z | keys.py | Narcissuscyn/OCR_ICPR2018 | 9f3b9c7c47bdc0d9d8d1aae39592f43d01d38b72 | [
"MIT"
] | null | null | null | keys.py | Narcissuscyn/OCR_ICPR2018 | 9f3b9c7c47bdc0d9d8d1aae39592f43d01d38b72 | [
"MIT"
] | null | null | null | #coding:UTF-8
alphabet='莫斯电子MSHot弯针直胶壳ps:/chin\'a-m.b10%实物拍摄盗图必究镀金端25企业店铺厂家销线束订做皇冠天猫旗舰价RB¥38无毒环保材质快速排水坚固耐用钢珠碗体式下器Te庭技术创新者力?YCW全原装进口IF6PQK9时尚防辐射服+银纤维吊带两件套顶级适于松洗衣机型号EX7U品东莞鸿仪一年小巧台静音设计多重干烧高效节能送除垢剂运费险包邮普通大桶使L款可选种自更方便化妆当镜,软dGryukO至远汽配4奇验探索未知欲不看到底l空王国冒科学岛(韩)朴世卿著申载焕郑浩绘博士的笔记在神之旅中与伙伴们合过黑暗量造成各障碍狂最考和勇气漫画书!教育部推荐朋友读本敢游戏跟着地球御队员去吧马上... | 1,332.333333 | 3,982 | 0.965224 | 152 | 3,997 | 25.875 | 0.986842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005008 | 0.000751 | 3,997 | 3 | 3,982 | 1,332.333333 | 0.958187 | 0.003002 | 0 | 0 | 0 | 0 | 0.005772 | 0.005772 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
394137004c8fd2727ee3b7b8b523a55502beacd7 | 73 | py | Python | Lib/dbm/ndbm.py | sireliah/polish-python | 605df4944c2d3bc25f8bf6964b274c0a0d297cc3 | [
"PSF-2.0"
] | 1 | 2018-06-21T18:21:24.000Z | 2018-06-21T18:21:24.000Z | Lib/dbm/ndbm.py | sireliah/polish-python | 605df4944c2d3bc25f8bf6964b274c0a0d297cc3 | [
"PSF-2.0"
] | null | null | null | Lib/dbm/ndbm.py | sireliah/polish-python | 605df4944c2d3bc25f8bf6964b274c0a0d297cc3 | [
"PSF-2.0"
] | null | null | null | """Provide the _dbm module jako a dbm submodule."""
z _dbm zaimportuj *
| 18.25 | 51 | 0.712329 | 11 | 73 | 4.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 73 | 3 | 52 | 24.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1a31bc5394b6f37482463e581c96f41107bd034f | 2,242 | py | Python | tests/test_convert.py | agbrooks/tohil | fd7108b12b50720b0df33a747870ea4893ed9f16 | [
"BSD-3-Clause"
] | null | null | null | tests/test_convert.py | agbrooks/tohil | fd7108b12b50720b0df33a747870ea4893ed9f16 | [
"BSD-3-Clause"
] | null | null | null | tests/test_convert.py | agbrooks/tohil | fd7108b12b50720b0df33a747870ea4893ed9f16 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import tohil
class TestMethods(unittest.TestCase):
def test_convert1(self):
"""exercise tohil.convert with no to= and with to=str"""
self.assertEqual(tohil.convert(10), "10")
self.assertEqual(tohil.convert(10, to=str), "10")
self.assertEqual(tohil.convert("10"), "1... | 35.03125 | 88 | 0.570027 | 304 | 2,242 | 4.151316 | 0.177632 | 0.256735 | 0.269414 | 0.363708 | 0.675119 | 0.606181 | 0.461173 | 0.348653 | 0.348653 | 0.348653 | 0 | 0.048694 | 0.248885 | 2,242 | 63 | 89 | 35.587302 | 0.700713 | 0.136931 | 0 | 0.093023 | 0 | 0 | 0.071278 | 0 | 0 | 0 | 0 | 0 | 0.44186 | 1 | 0.186047 | false | 0 | 0.046512 | 0 | 0.255814 | 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 |
1a37bae7a2e823ebee1d24b14d6704263cc86d59 | 138 | py | Python | settings.py | felix19350/Nature-Trails | 11b91643e38139ec8c15674289fa67dc0fe65ac4 | [
"Unlicense"
] | null | null | null | settings.py | felix19350/Nature-Trails | 11b91643e38139ec8c15674289fa67dc0fe65ac4 | [
"Unlicense"
] | null | null | null | settings.py | felix19350/Nature-Trails | 11b91643e38139ec8c15674289fa67dc0fe65ac4 | [
"Unlicense"
] | null | null | null | from djangoappengine.settings_base import *
import os
TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__), '/templates/default/'),)
| 23 | 81 | 0.768116 | 18 | 138 | 5.555556 | 0.777778 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 138 | 5 | 82 | 27.6 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 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 |
1a38a3637d60dd9b23b957fb88a407a2638187e3 | 1,247 | py | Python | src/App/tests/test_class_init.py | tseaver/Zope-RFA | 08634f39b0f8b56403a2a9daaa6ee4479ef0c625 | [
"ZPL-2.1"
] | 2 | 2015-12-21T10:34:56.000Z | 2017-09-24T11:07:58.000Z | src/App/tests/test_class_init.py | MatthewWilkes/Zope | 740f934fc9409ae0062e8f0cd6dcfd8b2df00376 | [
"ZPL-2.1"
] | null | null | null | src/App/tests/test_class_init.py | MatthewWilkes/Zope | 740f934fc9409ae0062e8f0cd6dcfd8b2df00376 | [
"ZPL-2.1"
] | null | null | null | ##############################################################################
#
# Copyright (c) 2005 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOF... | 30.414634 | 78 | 0.622294 | 130 | 1,247 | 5.869231 | 0.646154 | 0.031455 | 0.036697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006836 | 0.178829 | 1,247 | 40 | 79 | 31.175 | 0.738281 | 0.676824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.285714 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1a5c019fe50caf3cbb4a9b4b27ee9187dbd1869f | 66 | py | Python | fartor/apps/accounting/users/models/__init__.py | verkatech/fartor-django | 72b53fdbe7d2e8744d5bfc58907ee2ca4a031c65 | [
"MIT"
] | 6 | 2019-02-25T12:51:38.000Z | 2019-04-21T17:53:42.000Z | fartor/apps/accounting/users/models/__init__.py | verkatech/fartor-django | 72b53fdbe7d2e8744d5bfc58907ee2ca4a031c65 | [
"MIT"
] | null | null | null | fartor/apps/accounting/users/models/__init__.py | verkatech/fartor-django | 72b53fdbe7d2e8744d5bfc58907ee2ca4a031c65 | [
"MIT"
] | null | null | null | from .login_histories import LoginHistory
from .users import User
| 22 | 41 | 0.848485 | 9 | 66 | 6.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 42 | 33 | 0.948276 | 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 |
1aa3ba2a0b60a9ebb323574ef45dfda8337519ff | 120 | py | Python | app/security.py | ruter/otakucal | 245a8c4e03cf253964a1d19939335a304e0cafd7 | [
"MIT"
] | null | null | null | app/security.py | ruter/otakucal | 245a8c4e03cf253964a1d19939335a304e0cafd7 | [
"MIT"
] | null | null | null | app/security.py | ruter/otakucal | 245a8c4e03cf253964a1d19939335a304e0cafd7 | [
"MIT"
] | null | null | null | from itsdangerous import URLSafeTimedSerializer
from . import app
ts = URLSafeTimedSerializer(app.config['SECRET_KEY']) | 30 | 53 | 0.833333 | 13 | 120 | 7.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 4 | 53 | 30 | 0.908257 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 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 |
46eec02b53bf03686eb07e0470d5861417686ee8 | 26 | py | Python | inselect/lib/templates/__init__.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 128 | 2015-03-06T00:17:51.000Z | 2021-09-15T07:59:01.000Z | inselect/lib/templates/__init__.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 346 | 2015-01-22T10:07:52.000Z | 2020-02-25T21:24:56.000Z | inselect/lib/templates/__init__.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 15 | 2015-02-26T21:31:18.000Z | 2020-12-29T17:18:47.000Z | """Metadata templates
"""
| 8.666667 | 21 | 0.653846 | 2 | 26 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 2 | 22 | 13 | 0.73913 | 0.692308 | 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 |
2017c04d176ff2ee306691526293aa519bd288bb | 44 | py | Python | backend/src/__init__.py | fjacob21/mididecweb | b65f28eb6fdeafa265796b6190a4264a5eac54ce | [
"MIT"
] | null | null | null | backend/src/__init__.py | fjacob21/mididecweb | b65f28eb6fdeafa265796b6190a4264a5eac54ce | [
"MIT"
] | 88 | 2016-11-12T14:54:38.000Z | 2018-08-02T00:25:07.000Z | backend/src/__init__.py | mididecouverte/mididecweb | b65f28eb6fdeafa265796b6190a4264a5eac54ce | [
"MIT"
] | null | null | null | from .event import Event
__all__ = [Event]
| 11 | 24 | 0.727273 | 6 | 44 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 25 | 14.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
203f5ff35f606f3f5e61617f054d42f5ae20901f | 254 | py | Python | src/values.py | abhra2020-smart/FlowLang | afd42e383850b27a71147e1cb1f90db892ad29c5 | [
"MIT"
] | null | null | null | src/values.py | abhra2020-smart/FlowLang | afd42e383850b27a71147e1cb1f90db892ad29c5 | [
"MIT"
] | 1 | 2021-03-28T10:55:18.000Z | 2021-03-28T10:56:03.000Z | src/values.py | abhra2020-smart/FlowLang | afd42e383850b27a71147e1cb1f90db892ad29c5 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass
class Number:
value: any
def __repr__(self):
return f"{self.value}"
@dataclass
class Bool:
value: bool
def __repr__(self):
return f"{self.value}".lower()
| 14.111111 | 39 | 0.598425 | 29 | 254 | 4.965517 | 0.517241 | 0.194444 | 0.152778 | 0.236111 | 0.375 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0.30315 | 254 | 17 | 40 | 14.941176 | 0.813559 | 0 | 0 | 0.363636 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0.181818 | 0.818182 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6449e2c33bf8a0142c5bdf3f5db0efe5a15f1787 | 60 | py | Python | binding/__init__.py | zauberzeug/binding | 8b09b15e3675c68850b81d7253f1eb24245ee76b | [
"MIT"
] | 1 | 2022-01-07T03:22:19.000Z | 2022-01-07T03:22:19.000Z | binding/__init__.py | zauberzeug/binding | 8b09b15e3675c68850b81d7253f1eb24245ee76b | [
"MIT"
] | null | null | null | binding/__init__.py | zauberzeug/binding | 8b09b15e3675c68850b81d7253f1eb24245ee76b | [
"MIT"
] | null | null | null | from binding.binding import BindableProperty, update, reset
| 30 | 59 | 0.85 | 7 | 60 | 7.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 1 | 60 | 60 | 0.944444 | 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 |
646cb211e9d50ee71a5eb2d83807b847c39d626a | 108 | py | Python | mkdocs_typer/_exceptions.py | bruce-szalwinski/mkdocs-typer | 6c34a918e2c2defa6e4df178e9128159c8221112 | [
"Apache-2.0"
] | 10 | 2021-02-19T14:16:35.000Z | 2022-03-22T13:59:18.000Z | mkdocs_typer/_exceptions.py | bruce-szalwinski/mkdocs-typer | 6c34a918e2c2defa6e4df178e9128159c8221112 | [
"Apache-2.0"
] | null | null | null | mkdocs_typer/_exceptions.py | bruce-szalwinski/mkdocs-typer | 6c34a918e2c2defa6e4df178e9128159c8221112 | [
"Apache-2.0"
] | null | null | null | class MkDocsTyperException(Exception):
"""
Generic exception class for mkdocs-typer errors.
"""
| 21.6 | 52 | 0.694444 | 10 | 108 | 7.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 108 | 4 | 53 | 27 | 0.872093 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
648191fab046d64aaaf76d31cb4ac66d28e3da3e | 324 | py | Python | tests/data/thirdParty/Four/csnFour.py | xplanes/CSnake | 3cd7a2f5c23787262c42fe3c2763201afa1bdef4 | [
"BSD-4-Clause"
] | 4 | 2016-02-16T06:45:24.000Z | 2021-08-09T14:59:12.000Z | tests/data/thirdParty/Four/csnFour.py | xplanes/CSnake | 3cd7a2f5c23787262c42fe3c2763201afa1bdef4 | [
"BSD-4-Clause"
] | 5 | 2015-08-04T14:42:35.000Z | 2016-03-18T09:08:01.000Z | tests/data/thirdParty/Four/csnFour.py | xplanes/CSnake | 3cd7a2f5c23787262c42fe3c2763201afa1bdef4 | [
"BSD-4-Clause"
] | 5 | 2015-10-15T10:12:52.000Z | 2021-11-08T15:20:46.000Z | # Csnake project configuration
import csnCilab
from csnAll import three
four = csnCilab.CilabModuleProject("Four", "third party")
four.pathsManager.useFilePath = "%s/Four/UseFour.cmake" % four.GetBuildFolder()
four.pathsManager.configFilePath = "%s/Four/FourConfig.cmake" % four.GetBuildFolder()
four.AddProjects([three... | 32.4 | 85 | 0.787037 | 36 | 324 | 7.083333 | 0.583333 | 0.12549 | 0.180392 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 324 | 9 | 86 | 36 | 0.861486 | 0.08642 | 0 | 0 | 0 | 0 | 0.204778 | 0.153584 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
64b5ae434066ade578c143943650f5ce3051539d | 24,621 | py | Python | docs/load_accessions.py | detrout/htsworkflow | 99d3300e2533d79428ad49aaf10b9429b175da2d | [
"BSD-3-Clause"
] | null | null | null | docs/load_accessions.py | detrout/htsworkflow | 99d3300e2533d79428ad49aaf10b9429b175da2d | [
"BSD-3-Clause"
] | 1 | 2018-02-26T18:30:05.000Z | 2018-02-26T18:30:05.000Z | docs/load_accessions.py | detrout/htsworkflow | 99d3300e2533d79428ad49aaf10b9429b175da2d | [
"BSD-3-Clause"
] | null | null | null | """We have many accessions for our libraries,
our data isn't really part of the htsworkflow project
so it seemed unnecessary to put it in the normal migrations
"""
from datetime import datetime
import os
import socket
os.environ.setdefault(
"DJANGO_SETTINGS_MODULE",
"htsworkflow.settings.{}".format(socket.get... | 63.620155 | 75 | 0.595752 | 3,186 | 24,621 | 4.597301 | 0.364721 | 0.037277 | 0.057828 | 0.068342 | 0.291118 | 0.010514 | 0.010514 | 0.010514 | 0.005598 | 0 | 0 | 0.528934 | 0.164778 | 24,621 | 386 | 76 | 63.784974 | 0.18333 | 0.006377 | 0 | 0.005348 | 0 | 0 | 0.657317 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005348 | false | 0 | 0.013369 | 0 | 0.018717 | 0.002674 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
64da861157e37d5c96b14a825e67d99cf64f0150 | 6,972 | py | Python | source/gui/test/rttovgui_unittest_class.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | source/gui/test/rttovgui_unittest_class.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T12:19:59.000Z | 2022-03-12T12:19:59.000Z | source/gui/test/rttovgui_unittest_class.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | '''
Created on May 14, 2014
@author: pascale
'''
import unittest
import rmodel
class RttovGuiUnitTest(unittest.TestCase):
def test_dummy(self):
pass
def check_option(self, p):
if p is None:
return
if p.isPC():
self.assertTrue(p.myOption["ADDPC"])
... | 43.575 | 79 | 0.605135 | 716 | 6,972 | 5.769553 | 0.149441 | 0.165577 | 0.224643 | 0.336964 | 0.773178 | 0.692326 | 0.563302 | 0.493101 | 0.473251 | 0.465263 | 0 | 0.007221 | 0.26506 | 6,972 | 159 | 80 | 43.849057 | 0.798985 | 0.002869 | 0 | 0.507576 | 0 | 0 | 0.146957 | 0.024058 | 0 | 0 | 0 | 0 | 0.55303 | 0 | null | null | 0.007576 | 0.015152 | null | null | 0.015152 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b378930a2dc7d5b354e922e60f6d8fa9bedf25e2 | 217 | py | Python | src/brouwers/utils/forms.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 6 | 2015-03-03T13:23:07.000Z | 2021-12-19T18:12:41.000Z | src/brouwers/utils/forms.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 95 | 2015-02-07T00:55:39.000Z | 2022-02-08T20:22:05.000Z | src/brouwers/utils/forms.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 2 | 2016-03-22T16:53:26.000Z | 2019-02-09T22:46:04.000Z | from django.forms import ModelForm
class AlwaysChangedModelForm(ModelForm):
"""
Mark the form always as changed, so that the instance is always saved.
"""
def has_changed(self):
return True
| 19.727273 | 74 | 0.691244 | 27 | 217 | 5.518519 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239631 | 217 | 10 | 75 | 21.7 | 0.90303 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b383a65a6491566f7e91c00f039581a4b4780d85 | 3,461 | py | Python | test/feature/test_harris.py | jiangwei221/kornia | a211d4952355e440b944b1bda8eed4c2a7457c2d | [
"Apache-2.0"
] | null | null | null | test/feature/test_harris.py | jiangwei221/kornia | a211d4952355e440b944b1bda8eed4c2a7457c2d | [
"Apache-2.0"
] | null | null | null | test/feature/test_harris.py | jiangwei221/kornia | a211d4952355e440b944b1bda8eed4c2a7457c2d | [
"Apache-2.0"
] | null | null | null | import pytest
import torch
import kornia as kornia
from torch.testing import assert_allclose
from torch.autograd import gradcheck
import utils # test utils
class TestCornerHarris:
def test_shape(self):
inp = torch.ones(1, 3, 4, 4)
sobel = kornia.feature.CornerHarris(k=0.04)
assert sobel... | 33.601942 | 64 | 0.37388 | 515 | 3,461 | 2.464078 | 0.112621 | 0.293144 | 0.368794 | 0.428684 | 0.58156 | 0.537431 | 0.491726 | 0.491726 | 0.491726 | 0.491726 | 0 | 0.156394 | 0.371858 | 3,461 | 102 | 65 | 33.931373 | 0.427323 | 0.004912 | 0 | 0.58427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 1 | 0.078652 | false | 0 | 0.067416 | 0.011236 | 0.168539 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b38c7560118ff8a916f0ba42ae01642fcb764fd7 | 289 | py | Python | utils/common.py | ezeportela/newspaper-ds | de849e0d34d9c40a8f4cff65a1f9ae4e4a69f8e7 | [
"MIT"
] | null | null | null | utils/common.py | ezeportela/newspaper-ds | de849e0d34d9c40a8f4cff65a1f9ae4e4a69f8e7 | [
"MIT"
] | null | null | null | utils/common.py | ezeportela/newspaper-ds | de849e0d34d9c40a8f4cff65a1f9ae4e4a69f8e7 | [
"MIT"
] | null | null | null | import yaml
__config = None
def config():
if not __config:
with open('config.yaml', 'r') as f:
config = yaml.load(f, Loader=yaml.SafeLoader)
return config
def get_news_sites():
return config()['news_sites']
def get_news_site(uid):
return config()['news_sites'][uid]
| 17 | 51 | 0.678201 | 43 | 289 | 4.325581 | 0.488372 | 0.193548 | 0.107527 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179931 | 289 | 16 | 52 | 18.0625 | 0.78481 | 0 | 0 | 0 | 0 | 0 | 0.110727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b38d5c93c602888de28ab6c2d5e782f783ba375b | 68 | py | Python | problema 2.py | IrayP/PythonPC3 | e13aa9a58279add8453a72a5f9fc1e16cfc7f89b | [
"Apache-2.0"
] | null | null | null | problema 2.py | IrayP/PythonPC3 | e13aa9a58279add8453a72a5f9fc1e16cfc7f89b | [
"Apache-2.0"
] | null | null | null | problema 2.py | IrayP/PythonPC3 | e13aa9a58279add8453a72a5f9fc1e16cfc7f89b | [
"Apache-2.0"
] | null | null | null | def capitalizar_cada_palabra(cadena):
print(cadena.title())
| 17 | 38 | 0.720588 | 8 | 68 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 39 | 22.666667 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b390d0090fc9b491bbc4eba2454fe9c0025e353e | 148 | py | Python | Python/if-else.py | MarsBighead/mustang | ffbaf109931557e40da2d97e4eb914bc1c0aba0d | [
"MIT"
] | 4 | 2017-04-30T18:28:19.000Z | 2018-12-08T15:46:37.000Z | Python/if-else.py | MarsBighead/mustang | ffbaf109931557e40da2d97e4eb914bc1c0aba0d | [
"MIT"
] | 1 | 2021-09-22T20:11:36.000Z | 2021-09-22T20:11:36.000Z | Python/if-else.py | MarsBighead/mustang | ffbaf109931557e40da2d97e4eb914bc1c0aba0d | [
"MIT"
] | null | null | null | #!/usr/bin/python
name = raw_input('What is your name? ')
if name.endswith('Gumby'):
print 'Hello, M. Gumby'
else:
print 'Hello. stranger'
| 18.5 | 39 | 0.648649 | 22 | 148 | 4.318182 | 0.772727 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182432 | 148 | 7 | 40 | 21.142857 | 0.785124 | 0.108108 | 0 | 0 | 0 | 0 | 0.412214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 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 |
b3998f2fa5d62ce7a96af9b5a7db0dc4b79bcd1a | 175 | py | Python | examples/one_hot_encode.py | ppmdatix/rtdl | a01ecd9ae6b673f4e82e51f804ffd7031c7350a0 | [
"Apache-2.0"
] | null | null | null | examples/one_hot_encode.py | ppmdatix/rtdl | a01ecd9ae6b673f4e82e51f804ffd7031c7350a0 | [
"Apache-2.0"
] | null | null | null | examples/one_hot_encode.py | ppmdatix/rtdl | a01ecd9ae6b673f4e82e51f804ffd7031c7350a0 | [
"Apache-2.0"
] | null | null | null | def one_hot_encode(_df, _col):
_values = set(_df[_col].values)
for v in _values:
_df[_col + str(v)] = _df[_col].apply(lambda x : float(x == v) )
return _df | 35 | 71 | 0.605714 | 29 | 175 | 3.206897 | 0.586207 | 0.215054 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 175 | 5 | 72 | 35 | 0.699248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
b3d136e90070398b153d34dc7f4b6ad56ffe5b80 | 328 | py | Python | opset/__init__.py | MarcDufresne/opset | d761b436d1941aca4ae9be38d6e2e6075dc4d072 | [
"Apache-2.0"
] | 7 | 2019-09-20T18:04:30.000Z | 2022-01-29T01:11:14.000Z | opset/__init__.py | MarcDufresne/opset | d761b436d1941aca4ae9be38d6e2e6075dc4d072 | [
"Apache-2.0"
] | 5 | 2020-07-24T18:19:28.000Z | 2020-10-28T15:38:10.000Z | opset/__init__.py | MarcDufresne/opset | d761b436d1941aca4ae9be38d6e2e6075dc4d072 | [
"Apache-2.0"
] | 5 | 2020-04-18T17:28:31.000Z | 2021-07-23T15:16:49.000Z | # __init__.py
# Alexandre Jutras, 2018-11-19, Emilio Assuncao, 2019-01-17
# Copyright (c) Element AI Inc. All rights not expressly granted hereunder are reserved.
from opset.configurator import BaseProcessor, config, load_logging_config, setup_config, setup_unit_test_config # noqa
from opset.utils import mock_config ... | 46.857143 | 119 | 0.801829 | 48 | 328 | 5.25 | 0.8125 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 0.128049 | 328 | 6 | 120 | 54.666667 | 0.825175 | 0.506098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b3d3afe6cc09fc6b49058613dd3abb30e6eeec8d | 388 | py | Python | convnwb/tests/tsettings.py | JacobsSU/convnwb | 3d15a9aa7a1e110320428bafb6250f94a8ab50e5 | [
"MIT"
] | null | null | null | convnwb/tests/tsettings.py | JacobsSU/convnwb | 3d15a9aa7a1e110320428bafb6250f94a8ab50e5 | [
"MIT"
] | 1 | 2021-12-17T20:06:40.000Z | 2021-12-17T20:06:40.000Z | convnwb/tests/tsettings.py | JacobsSU/convnwb | 3d15a9aa7a1e110320428bafb6250f94a8ab50e5 | [
"MIT"
] | null | null | null | """Settings for tests."""
import os
from pathlib import Path
import pkg_resources as pkg
###################################################################################################
###################################################################################################
# Set paths for test files
T... | 32.333333 | 99 | 0.373711 | 29 | 388 | 4.689655 | 0.655172 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 388 | 11 | 100 | 35.272727 | 0.377778 | 0.115979 | 0 | 0 | 0 | 0 | 0.071942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b3ec7a8d406bb76a3ad4d9005d5832c279d4d5b2 | 222 | py | Python | fem_input.py | sepitto/OAPproject2 | b404456f84ec718b12eb36dbfd459dee46c6b02c | [
"MIT"
] | null | null | null | fem_input.py | sepitto/OAPproject2 | b404456f84ec718b12eb36dbfd459dee46c6b02c | [
"MIT"
] | null | null | null | fem_input.py | sepitto/OAPproject2 | b404456f84ec718b12eb36dbfd459dee46c6b02c | [
"MIT"
] | null | null | null | def get_input():
EF1 = float(input("введите значения жесткостей элементов: " + "\n" + "EF1 = "))
EF2 = float(input("EF2 = "))
F = float(input("введите значение усилия:" + "\n" + "F = "))
return EF1, EF2, F | 37 | 83 | 0.567568 | 28 | 222 | 4.464286 | 0.535714 | 0.24 | 0.272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.22973 | 222 | 6 | 84 | 37 | 0.695906 | 0 | 0 | 0 | 0 | 0 | 0.372197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
3733bebbb644735f4d4f31d2211c7ae3d5bc4127 | 468 | bzl | Python | container/private/versions.bzl | alexeagle/rules_container | 885067eee3899ae71f61d99572157af8c09b5c35 | [
"Apache-2.0"
] | null | null | null | container/private/versions.bzl | alexeagle/rules_container | 885067eee3899ae71f61d99572157af8c09b5c35 | [
"Apache-2.0"
] | null | null | null | container/private/versions.bzl | alexeagle/rules_container | 885067eee3899ae71f61d99572157af8c09b5c35 | [
"Apache-2.0"
] | null | null | null | """Mirror of release info
TODO: generate this file from GitHub API"""
# The integrity hashes can be computed with
# shasum -b -a 384 [downloaded file] | awk '{ print $1 }' | xxd -r -p | base64
TOOL_VERSIONS = {
"7.0.1-rc1": {
"darwin_arm64": "sha384-PMTl7GMV01JnwQ0yoURCuEVq+xUUlhayLzBFzqId8ebIBQ8g8aWnbiRX... | 36 | 127 | 0.688034 | 62 | 468 | 5.129032 | 0.758065 | 0.044025 | 0.050314 | 0.069182 | 0.125786 | 0.125786 | 0.125786 | 0 | 0 | 0 | 0 | 0.085714 | 0.17735 | 468 | 13 | 127 | 36 | 0.74026 | 0.662393 | 0 | 0 | 1 | 0 | 0.609272 | 0.470199 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37384f74ae4e421b18eb77f69bd4a71ae0e9cacb | 2,902 | py | Python | optimus/engines/pandas/functions.py | ironmussa/Optimus | fbaea6e0957f0bc016280a85ff021904faac20c5 | [
"Apache-2.0"
] | 1,045 | 2017-07-17T17:59:46.000Z | 2021-06-15T07:06:48.000Z | optimus/engines/pandas/functions.py | ironmussa/Optimus | fbaea6e0957f0bc016280a85ff021904faac20c5 | [
"Apache-2.0"
] | 955 | 2017-07-14T15:47:58.000Z | 2021-05-27T14:16:24.000Z | optimus/engines/pandas/functions.py | ironmussa/Optimus | fbaea6e0957f0bc016280a85ff021904faac20c5 | [
"Apache-2.0"
] | 226 | 2017-08-04T20:41:33.000Z | 2021-05-21T08:28:33.000Z | import numpy as np
import pandas as pd
from optimus.engines.base.pandas.functions import PandasBaseFunctions
from optimus.engines.base.dataframe.functions import DataFrameBaseFunctions
class PandasFunctions(PandasBaseFunctions, DataFrameBaseFunctions):
_engine = pd
@staticmethod
def dask_to_compatible... | 27.903846 | 99 | 0.664369 | 397 | 2,902 | 4.755668 | 0.229219 | 0.132415 | 0.139831 | 0.216102 | 0.361758 | 0.180085 | 0.152542 | 0.122881 | 0.122881 | 0.122881 | 0 | 0.002205 | 0.21847 | 2,902 | 103 | 100 | 28.174757 | 0.830247 | 0.034114 | 0 | 0.073529 | 0 | 0 | 0.006786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.102941 | 0.367647 | 0.955882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
373b47852163763bc389b966291ee72fb1874da3 | 124 | py | Python | notes/__init__.py | ibutra/SpyDashServer | d12e6aac4efe487a3b6e950236ed2ef5d464178c | [
"MIT"
] | 2 | 2015-11-13T14:43:37.000Z | 2015-11-13T14:44:28.000Z | notes/__init__.py | ibutra/SpyDashServer | d12e6aac4efe487a3b6e950236ed2ef5d464178c | [
"MIT"
] | null | null | null | notes/__init__.py | ibutra/SpyDashServer | d12e6aac4efe487a3b6e950236ed2ef5d464178c | [
"MIT"
] | null | null | null | from spydashserver.plugins import PluginConfig
plugin_config = PluginConfig("notes", "notes.Notes", models='notes.models')
| 31 | 75 | 0.798387 | 14 | 124 | 7 | 0.642857 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 124 | 3 | 76 | 41.333333 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 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 |
373e2a9cb1847f05a345a2ae4b8d35f77e917899 | 177 | py | Python | examples/favourites.py | ChrisPenner/tempered | 4712e4b09e015416668a53b1fae3b5b15d25533b | [
"BSD-3-Clause"
] | 34 | 2017-04-23T03:29:17.000Z | 2020-11-17T08:42:08.000Z | examples/favourites.py | ChrisPenner/tempered | 4712e4b09e015416668a53b1fae3b5b15d25533b | [
"BSD-3-Clause"
] | null | null | null | examples/favourites.py | ChrisPenner/tempered | 4712e4b09e015416668a53b1fae3b5b15d25533b | [
"BSD-3-Clause"
] | null | null | null | # You can write scripts in any language you like to level up your templates!
import sys
print(" and ".join(sys.argv[1:]) + ",")
print("These are a few of my favourite things")
| 29.5 | 76 | 0.706215 | 31 | 177 | 4.032258 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.175141 | 177 | 5 | 77 | 35.4 | 0.849315 | 0.418079 | 0 | 0 | 0 | 0 | 0.435644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
373f5ed913a1856df63399d6908d5cafe757a957 | 140 | py | Python | run_b_to_others.py | MnOpenProject/AutoVideoPub | 742aa562e7e99713ae8bfa47acaed2b025dee72f | [
"MIT"
] | 25 | 2022-02-08T03:54:55.000Z | 2022-03-29T10:30:53.000Z | run_b_to_others.py | MnOpenProject/AutoVideoPub | 742aa562e7e99713ae8bfa47acaed2b025dee72f | [
"MIT"
] | null | null | null | run_b_to_others.py | MnOpenProject/AutoVideoPub | 742aa562e7e99713ae8bfa47acaed2b025dee72f | [
"MIT"
] | 5 | 2022-02-08T03:55:09.000Z | 2022-03-11T13:46:22.000Z | ''' 下载自己的B站投稿视频,并上传到我账号登录的其他视频平台上 '''
from from_mybilibili_to_others.main_script import main_func
if __name__ == '__main__':
main_func() | 28 | 59 | 0.785714 | 17 | 140 | 5.647059 | 0.705882 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 140 | 5 | 60 | 28 | 0.768 | 0.207143 | 0 | 0 | 0 | 0 | 0.07767 | 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 |
3795985e28a6f9c430407ec3358f34feae7cf7b7 | 1,274 | py | Python | chempy/properties/tests/test_water_density_tanaka_2001.py | matecsaj/chempy | 2c93f185e4547739331193c06d77282206621517 | [
"BSD-2-Clause"
] | null | null | null | chempy/properties/tests/test_water_density_tanaka_2001.py | matecsaj/chempy | 2c93f185e4547739331193c06d77282206621517 | [
"BSD-2-Clause"
] | null | null | null | chempy/properties/tests/test_water_density_tanaka_2001.py | matecsaj/chempy | 2c93f185e4547739331193c06d77282206621517 | [
"BSD-2-Clause"
] | 1 | 2022-03-21T09:01:48.000Z | 2022-03-21T09:01:48.000Z | import warnings
from chempy.units import allclose
from ..water_density_tanaka_2001 import water_density
def test_water_density():
warnings.filterwarnings("error")
assert abs(water_density(273.15 + 0) - 999.8395) < 0.004
assert abs(water_density(273.15 + 4) - 999.9720) < 0.003
assert abs(water_density... | 34.432432 | 76 | 0.631868 | 191 | 1,274 | 4.120419 | 0.418848 | 0.228717 | 0.160102 | 0.240152 | 0.330368 | 0.297332 | 0 | 0 | 0 | 0 | 0 | 0.211458 | 0.246468 | 1,274 | 36 | 77 | 35.388889 | 0.608333 | 0.014914 | 0 | 0.129032 | 0 | 0 | 0.00399 | 0 | 0 | 0 | 0 | 0 | 0.354839 | 1 | 0.032258 | false | 0.064516 | 0.193548 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
37b4c8430381db41a16722d4f153f5d9b65c1dfe | 61 | py | Python | cookie_demo/__init__.py | HarperHao/flask_study | c3daad8fe256916b89fad3d449832d9d1f8f8f5a | [
"Apache-2.0"
] | null | null | null | cookie_demo/__init__.py | HarperHao/flask_study | c3daad8fe256916b89fad3d449832d9d1f8f8f5a | [
"Apache-2.0"
] | null | null | null | cookie_demo/__init__.py | HarperHao/flask_study | c3daad8fe256916b89fad3d449832d9d1f8f8f5a | [
"Apache-2.0"
] | null | null | null | """
Author : HarperHao
TIME : 2020/10/
FUNCTION:
"""
| 8.714286 | 20 | 0.540984 | 6 | 61 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.278689 | 61 | 6 | 21 | 10.166667 | 0.613636 | 0.803279 | 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 |
37bb975f8e30ed4c272ea153a8b2cba4fe82c0ee | 507 | py | Python | pymachine/__init__.py | landrew31/pymachine | 117ad7aa3694a1ccb0be207cc931de8c2c345567 | [
"MIT"
] | 1 | 2018-02-21T08:57:08.000Z | 2018-02-21T08:57:08.000Z | pymachine/__init__.py | landrew31/pymachine | 117ad7aa3694a1ccb0be207cc931de8c2c345567 | [
"MIT"
] | null | null | null | pymachine/__init__.py | landrew31/pymachine | 117ad7aa3694a1ccb0be207cc931de8c2c345567 | [
"MIT"
] | null | null | null | from .condition import Condition
from .exceptions import (
DuplicateCondition,
StateMachineAlreadyFinished,
StateMachineTransitionWithoutNextState,
UnknownInput,
UnknownState,
)
from .state_machine import StateMachine
from .transition_table import TransitionTable
__all__ = (
'Condition',
'... | 22.043478 | 45 | 0.751479 | 31 | 507 | 12.096774 | 0.516129 | 0.24 | 0.442667 | 0.506667 | 0.570667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17357 | 507 | 22 | 46 | 23.045455 | 0.894988 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
807484c7fbb53875616695010e5f874e93f3f07b | 1,196 | py | Python | gaphor/diagram/tests/test_group.py | MartinIIOT/gaphor | b08bf6ddb8c92ec87fccabc2ddee697609f73e67 | [
"Apache-2.0"
] | null | null | null | gaphor/diagram/tests/test_group.py | MartinIIOT/gaphor | b08bf6ddb8c92ec87fccabc2ddee697609f73e67 | [
"Apache-2.0"
] | null | null | null | gaphor/diagram/tests/test_group.py | MartinIIOT/gaphor | b08bf6ddb8c92ec87fccabc2ddee697609f73e67 | [
"Apache-2.0"
] | null | null | null | from gaphor.core.modeling import Diagram, Element
from gaphor.diagram.group import can_group, group, ungroup
def test_group_diagram(element_factory):
diagram = element_factory.create(Diagram)
parent = element_factory.create(Element)
assert group(parent, diagram)
assert diagram.element is parent
de... | 26 | 67 | 0.776756 | 151 | 1,196 | 5.89404 | 0.15894 | 0.235955 | 0.224719 | 0.175281 | 0.761798 | 0.726966 | 0.68764 | 0.68764 | 0.68764 | 0.48427 | 0 | 0 | 0.15301 | 1,196 | 45 | 68 | 26.577778 | 0.878578 | 0 | 0 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 1 | 0.185185 | false | 0 | 0.074074 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
808be02fcaaceb706798c734decefc455667d42f | 189 | py | Python | Traidoo/settings/third_party/jwt.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | 3 | 2020-05-05T12:12:09.000Z | 2020-05-08T08:48:16.000Z | Traidoo/settings/third_party/jwt.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | 160 | 2020-05-19T13:03:43.000Z | 2022-03-12T00:35:28.000Z | Traidoo/settings/third_party/jwt.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | null | null | null | import datetime
SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": datetime.timedelta(minutes=15),
"REFRESH_TOKEN_LIFETIME": datetime.timedelta(days=1),
"ROTATE_REFRESH_TOKENS": False,
}
| 23.625 | 60 | 0.746032 | 22 | 189 | 6.090909 | 0.727273 | 0.19403 | 0.313433 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018293 | 0.132275 | 189 | 7 | 61 | 27 | 0.79878 | 0 | 0 | 0 | 0 | 0 | 0.338624 | 0.338624 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8094fafe1e761d8ee65e85aaf6cc8712475bd813 | 103 | py | Python | natch/decorators/eq.py | ertgl/natch | 5729725c6eed1596071ac984e3ddfdc21a15af0a | [
"MIT"
] | 2 | 2020-05-24T23:41:00.000Z | 2020-05-25T09:18:08.000Z | natch/decorators/eq.py | ertgl/natch | 5729725c6eed1596071ac984e3ddfdc21a15af0a | [
"MIT"
] | null | null | null | natch/decorators/eq.py | ertgl/natch | 5729725c6eed1596071ac984e3ddfdc21a15af0a | [
"MIT"
] | null | null | null | from natch.core import Decoration
from natch.rules import Eq
eq = Decoration.make_rule_decorator(Eq)
| 17.166667 | 39 | 0.815534 | 16 | 103 | 5.125 | 0.625 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 5 | 40 | 20.6 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
809552f7973e615c2f4a90404bfb3fb757f2ae2f | 121 | py | Python | my_app.py | RaMantik2/test | cfa5f7936ed0dda3a8e42c54663201c53c9db47a | [
"CC0-1.0"
] | null | null | null | my_app.py | RaMantik2/test | cfa5f7936ed0dda3a8e42c54663201c53c9db47a | [
"CC0-1.0"
] | null | null | null | my_app.py | RaMantik2/test | cfa5f7936ed0dda3a8e42c54663201c53c9db47a | [
"CC0-1.0"
] | null | null | null | from PyQt5.QtWidgets import QApplication, QWidget,QLabel,QPushButton,QVBoxLayout,QHBoxLayout
from PyQt5.QtCore import Qt | 60.5 | 93 | 0.867769 | 15 | 121 | 7 | 0.8 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.07438 | 121 | 2 | 94 | 60.5 | 0.919643 | 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 |
80c5a9a0900f3dacf61cf4b3f1c08b4e91836ac8 | 2,209 | py | Python | tasks/medium-150/nyan-cat/exploit.py | C4T-BuT-S4D/nordctf-2019-finals | b63d00efe9912de3e165badfa29be1483d731ecf | [
"WTFPL"
] | 5 | 2019-10-12T11:04:05.000Z | 2021-01-21T16:56:29.000Z | tasks/medium-150/nyan-cat/exploit.py | C4T-BuT-S4D/nordctf-2019-finals | b63d00efe9912de3e165badfa29be1483d731ecf | [
"WTFPL"
] | null | null | null | tasks/medium-150/nyan-cat/exploit.py | C4T-BuT-S4D/nordctf-2019-finals | b63d00efe9912de3e165badfa29be1483d731ecf | [
"WTFPL"
] | 1 | 2021-01-21T16:56:33.000Z | 2021-01-21T16:56:33.000Z | #!/usr/bin/env python3
import re
import sys
import jwt
import requests
from Crypto.PublicKey import RSA
from Crypto.Util.number import inverse
def recover_d(n, e, p):
q = n // p
phi = (p - 1) * (q - 1)
return inverse(e, phi)
def main(url):
n = 161585030356555036503574383443349759802220513348577420... | 66.939394 | 948 | 0.88411 | 99 | 2,209 | 19.626263 | 0.545455 | 0.003088 | 0.009264 | 0.010293 | 0.011323 | 0 | 0 | 0 | 0 | 0 | 0 | 0.761281 | 0.066999 | 2,209 | 32 | 949 | 69.03125 | 0.181465 | 0.009507 | 0 | 0 | 0 | 0 | 0.016918 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.26087 | 0 | 0.391304 | 0.043478 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
80c9ae0ff2063b3a6bbaa9ce1ff448cd439702a6 | 23 | py | Python | tests/__init__.py | Mgancita/data-preprocessor | c1598c7e043ec26333a96b36895f8eb826194f85 | [
"MIT"
] | 8 | 2020-12-05T17:21:08.000Z | 2021-12-23T18:38:33.000Z | tests/__init__.py | Mgancita/data-preprocessor | c1598c7e043ec26333a96b36895f8eb826194f85 | [
"MIT"
] | 18 | 2021-03-19T13:49:31.000Z | 2021-09-13T14:01:19.000Z | tests/__init__.py | WarwickCIM/backfillz-py | 99c5a685334070cd0836a9df57f7a1a95ae6174d | [
"MIT"
] | 3 | 2021-01-21T21:03:10.000Z | 2022-01-27T16:56:53.000Z | """tests namespace."""
| 11.5 | 22 | 0.608696 | 2 | 23 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.666667 | 0.695652 | 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 |
0389cf95eb33945c62317d06ed8acb0b5ac4ed5b | 213 | py | Python | main/customtrainer.py | safdark/behavioral-cloning | 4f59843fc996e2123810cdcf6858c6260f71236c | [
"Apache-2.0"
] | null | null | null | main/customtrainer.py | safdark/behavioral-cloning | 4f59843fc996e2123810cdcf6858c6260f71236c | [
"Apache-2.0"
] | null | null | null | main/customtrainer.py | safdark/behavioral-cloning | 4f59843fc996e2123810cdcf6858c6260f71236c | [
"Apache-2.0"
] | null | null | null | '''
Created on Dec 11, 2016
@author: safdar
'''
import basetrainer
class MyClass(basetrainer):
'''
classdocs
'''
def __init__(self, params):
'''
Constructor
'''
| 11.833333 | 31 | 0.521127 | 18 | 213 | 5.944444 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043165 | 0.347418 | 213 | 18 | 32 | 11.833333 | 0.726619 | 0.29108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
039b13ee0ef9b650429136b11acc48b2bd02f574 | 92 | py | Python | menus/admin.py | sgr-smile2015/website | a6a90e8fff52a3d8adb797cfe2e6f74c4ad0e3c0 | [
"Apache-2.0"
] | 1 | 2018-02-27T08:24:12.000Z | 2018-02-27T08:24:12.000Z | menus/admin.py | sgr-smile2015/website | a6a90e8fff52a3d8adb797cfe2e6f74c4ad0e3c0 | [
"Apache-2.0"
] | null | null | null | menus/admin.py | sgr-smile2015/website | a6a90e8fff52a3d8adb797cfe2e6f74c4ad0e3c0 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import ResItem
admin.site.register(ResItem)
| 15.333333 | 32 | 0.815217 | 13 | 92 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 5 | 33 | 18.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
039dd5a0e069da44e44a6125ad0a8f8f64a6eb79 | 71 | py | Python | tests/__init__.py | luisparravicini/ioapi | f9d60a28032fd54163ea15b8256aba1d48ec4dcc | [
"MIT"
] | null | null | null | tests/__init__.py | luisparravicini/ioapi | f9d60a28032fd54163ea15b8256aba1d48ec4dcc | [
"MIT"
] | null | null | null | tests/__init__.py | luisparravicini/ioapi | f9d60a28032fd54163ea15b8256aba1d48ec4dcc | [
"MIT"
] | 1 | 2020-05-03T04:34:32.000Z | 2020-05-03T04:34:32.000Z | import os
import sys
sys.path.append(os.path.join(os.getcwd(), '..'))
| 14.2 | 48 | 0.676056 | 12 | 71 | 4 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 4 | 49 | 17.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
03db0189afa458d4cdda74010b9f341e45578e2c | 15 | py | Python | data/studio21_generated/introductory/3662/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3662/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3662/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def xor(a,b):
| 7.5 | 13 | 0.533333 | 4 | 15 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 2 | 14 | 7.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff0981259ad73b59dbd7e811bc12f67793449f04 | 530 | py | Python | curators/agents/contextual.py | BellwethrInc/decision_engine | 1631b38966daee363ad645f1dca0ab51da14c67b | [
"Apache-2.0"
] | 1 | 2021-05-19T05:46:29.000Z | 2021-05-19T05:46:29.000Z | curators/agents/contextual.py | BellwethrInc/decision_engine | 1631b38966daee363ad645f1dca0ab51da14c67b | [
"Apache-2.0"
] | 1 | 2021-07-12T19:25:21.000Z | 2021-07-12T19:25:21.000Z | curators/agents/contextual.py | BellwethrInc/decision_engine | 1631b38966daee363ad645f1dca0ab51da14c67b | [
"Apache-2.0"
] | null | null | null | from curators.models.contextual_bandits import ClusterBandit
TYPE_MAPPING = {
'cluster': ClusterBandit,
}
class ContextualAgent:
"""Coming Soon.
"""
def __init__(self, n_profiles, n_actions, type='cluster'):
raise NotImplementedError
def update(self):
raise NotImplementedError
... | 21.2 | 62 | 0.650943 | 55 | 530 | 6.090909 | 0.527273 | 0.286567 | 0.241791 | 0.197015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260377 | 530 | 24 | 63 | 22.083333 | 0.854592 | 0.022642 | 0 | 0.25 | 0 | 0 | 0.027668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.