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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9a8219fa9966037733a3e2d8953a8e70910443a7 | 52 | py | Python | opem/Dynamic/__init__.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 173 | 2017-12-24T07:35:01.000Z | 2022-03-08T17:31:20.000Z | opem/Dynamic/__init__.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 130 | 2017-12-16T16:08:37.000Z | 2022-03-21T09:46:39.000Z | opem/Dynamic/__init__.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 45 | 2017-12-16T16:05:58.000Z | 2022-02-28T17:43:12.000Z | # -*- coding: utf-8 -*-
"""OPEM dynamic modules."""
| 17.333333 | 27 | 0.538462 | 6 | 52 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.153846 | 52 | 2 | 28 | 26 | 0.613636 | 0.846154 | 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 |
9a9887fd237a5e8fa63b3a7d083d33c16d2c40d7 | 330 | py | Python | mousedb/groups/__init__.py | BridgesLab/mousedb | 7e423991f72c89468010c99865e3c70c22044df3 | [
"BSD-3-Clause"
] | 2 | 2016-01-18T06:49:35.000Z | 2016-12-16T17:00:27.000Z | mousedb/groups/__init__.py | davebridges/mousedb | 2a33f6d15d88b1540b05f7232b154fdbf8568580 | [
"BSD-3-Clause"
] | 12 | 2016-03-07T14:47:09.000Z | 2019-06-07T17:11:33.000Z | mousedb/groups/__init__.py | BridgesLab/mousedb | 7e423991f72c89468010c99865e3c70c22044df3 | [
"BSD-3-Clause"
] | 1 | 2019-08-19T14:53:28.000Z | 2019-08-19T14:53:28.000Z | """This package defines the Group application.
This app defines generic Group and License information for a particular installation of MouseDB.
Because every page on this site identifies both the Group and data restrictions, at a minimum, group information must be provided upon installation (see installation instruct... | 82.5 | 183 | 0.815152 | 46 | 330 | 5.847826 | 0.73913 | 0.05948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 330 | 3 | 184 | 110 | 0.953901 | 0.978788 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9aa5af142a8e6953ff6c95bc2432d58edffb4481 | 87 | py | Python | distributed_system/runDataExtractor.py | saurbkumar/thesis | cf9b1a784904366e6e6e6b22918ac5a1b54dcea4 | [
"Apache-2.0"
] | null | null | null | distributed_system/runDataExtractor.py | saurbkumar/thesis | cf9b1a784904366e6e6e6b22918ac5a1b54dcea4 | [
"Apache-2.0"
] | null | null | null | distributed_system/runDataExtractor.py | saurbkumar/thesis | cf9b1a784904366e6e6e6b22918ac5a1b54dcea4 | [
"Apache-2.0"
] | null | null | null | # to run the data extraction part
from producer.dataExtractorProducer import tst
tst() | 21.75 | 46 | 0.816092 | 12 | 87 | 5.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 4 | 47 | 21.75 | 0.946667 | 0.356322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9af1abdee0074e98f2193097b07a1605c2a8daaf | 542 | py | Python | examples/pytest/test_module_setup_teardown.py | madprog/balto | 0d6d2d038c0c9bb1dca474754098c05b8f16727d | [
"MIT"
] | 16 | 2018-10-07T11:45:05.000Z | 2021-11-03T05:22:47.000Z | examples/pytest/test_module_setup_teardown.py | Lothiraldan/litr | 6a4b57ebd95d5bc968f9d4057de81138d59dcae2 | [
"MIT"
] | 15 | 2018-10-08T13:29:24.000Z | 2021-09-11T10:01:52.000Z | examples/pytest/test_module_setup_teardown.py | Lothiraldan/litr | 6a4b57ebd95d5bc968f9d4057de81138d59dcae2 | [
"MIT"
] | 5 | 2018-10-08T09:11:17.000Z | 2019-11-28T14:04:14.000Z | def setup_module(module):
pass
def teardown_module(module):
print("TD MO")
def test_passing():
assert True
def test_failing():
assert False
class TestClassPassing(object):
def setup_method(self, method):
pass
def teardown_method(self, method):
pass
def test_passing(... | 14.648649 | 38 | 0.642066 | 66 | 542 | 5.121212 | 0.318182 | 0.08284 | 0.189349 | 0.177515 | 0.381657 | 0.360947 | 0.360947 | 0.360947 | 0.360947 | 0.360947 | 0 | 0 | 0.269373 | 542 | 36 | 39 | 15.055556 | 0.853535 | 0 | 0 | 0.545455 | 0 | 0 | 0.016605 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.454545 | false | 0.318182 | 0 | 0 | 0.545455 | 0.090909 | 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 |
9af6d034667f98c8ca4f722538d9014158c7ce4a | 250 | py | Python | python/id.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | python/id.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | 1 | 2016-09-15T07:06:15.000Z | 2016-09-15T07:06:15.000Z | python/id.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | #!/usr/bin/python35
s1 = '12345'
s2 = 'abcde'
print('s1 = %s, id(s1) = %d' %(s1, id(s1)))
print('s2 = %s, id(s2) = %d' %(s2, id(s2)))
s2 = '12345'
print('')
print('s1 = %s, id(s1) = %d' %(s1, id(s1)))
print('s2 = %s, id(s2) = %d' %(s2, id(s2)))
| 16.666667 | 43 | 0.464 | 46 | 250 | 2.521739 | 0.23913 | 0.103448 | 0.137931 | 0.172414 | 0.655172 | 0.655172 | 0.655172 | 0.655172 | 0.655172 | 0.655172 | 0 | 0.153465 | 0.192 | 250 | 14 | 44 | 17.857143 | 0.420792 | 0.072 | 0 | 0.5 | 0 | 0 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
b1297d894eac85a4a68c4be4e55a001f03df49da | 265 | py | Python | src/gimelstudio/core/__init__.py | jmherbst/GimelStudio | c3d6718015a25129d43efdbead1babd9eea9e2ff | [
"Apache-2.0"
] | null | null | null | src/gimelstudio/core/__init__.py | jmherbst/GimelStudio | c3d6718015a25129d43efdbead1babd9eea9e2ff | [
"Apache-2.0"
] | null | null | null | src/gimelstudio/core/__init__.py | jmherbst/GimelStudio | c3d6718015a25129d43efdbead1babd9eea9e2ff | [
"Apache-2.0"
] | null | null | null | from .datatypes import RenderImage
from .eval_info import EvalInfo
from .output_node import OutputNode
from .renderer import Renderer
from .glsl_renderer import GLSLRenderer
from .registry import (RegisterNode, UnregisterNode,
NODE_REGISTRY)
| 33.125 | 52 | 0.777358 | 30 | 265 | 6.733333 | 0.533333 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184906 | 265 | 7 | 53 | 37.857143 | 0.935185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 |
b12a5a8366e1e9f8816f24c59d5c9628489e113e | 104 | py | Python | pyorcid/constants.py | vdmitriyev/py-orcid | 8b6131bdda199552f2f216dfaa7a8cd20362668a | [
"MIT"
] | 5 | 2018-03-12T10:52:59.000Z | 2019-01-04T15:50:00.000Z | pyorcid/constants.py | vdmitriyev/py-orcid | 8b6131bdda199552f2f216dfaa7a8cd20362668a | [
"MIT"
] | 8 | 2016-05-04T09:29:12.000Z | 2021-08-17T11:25:16.000Z | pyorcid/constants.py | vdmitriyev/py-orcid | 8b6131bdda199552f2f216dfaa7a8cd20362668a | [
"MIT"
] | 4 | 2016-05-03T17:10:15.000Z | 2018-05-14T20:48:39.000Z | ORCID_PUBLIC_BASE_URL = 'https://pub.orcid.org/v2.1/'
ORCID_SANDBOX_BASE_URL = 'https://pub.orcid.org/'
| 34.666667 | 53 | 0.75 | 18 | 104 | 4 | 0.555556 | 0.194444 | 0.333333 | 0.416667 | 0.638889 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.057692 | 104 | 2 | 54 | 52 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.471154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
b13a50bbeb7be1ab6353a0c5da66b6df73505882 | 85 | py | Python | agony/apps.py | onhan/free-site | f01de27a3cafd09234cddacfd4ca9705b5b9d6e7 | [
"BSD-3-Clause"
] | 19 | 2018-01-28T14:35:40.000Z | 2020-12-04T03:04:02.000Z | agony/apps.py | groundupnews/gu | c7179ee3d058c8749d250d681032a76dc8d599d5 | [
"BSD-3-Clause"
] | 8 | 2018-06-02T14:28:28.000Z | 2021-08-06T10:22:37.000Z | agony/apps.py | onhan/free-site | f01de27a3cafd09234cddacfd4ca9705b5b9d6e7 | [
"BSD-3-Clause"
] | 21 | 2018-02-25T14:07:48.000Z | 2020-05-28T23:10:52.000Z | from django.apps import AppConfig
class AgonyConfig(AppConfig):
name = 'agony'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 |
b145b09f2c415425c2527cf31c1e7570fcbee4c4 | 56 | py | Python | python/testData/resolve/multiFile/fromInitPyImportFunction/FromInitPyImportFunction.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/fromInitPyImportFunction/FromInitPyImportFunction.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/fromInitPyImportFunction/FromInitPyImportFunction.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from mypackage import func
# <ref>
| 18.666667 | 28 | 0.464286 | 5 | 56 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.482143 | 56 | 2 | 29 | 28 | 0.896552 | 0.089286 | 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 |
4920ca98dc0a63c241611739f94937d26e9ee88c | 238 | py | Python | Imagens/views.py | luigiMinardi/dive_code_alura | c7163e20a565d6aef3cb47bc67462495d9ad7c7f | [
"MIT"
] | null | null | null | Imagens/views.py | luigiMinardi/dive_code_alura | c7163e20a565d6aef3cb47bc67462495d9ad7c7f | [
"MIT"
] | null | null | null | Imagens/views.py | luigiMinardi/dive_code_alura | c7163e20a565d6aef3cb47bc67462495d9ad7c7f | [
"MIT"
] | null | null | null | from rest_framework import viewsets
from Imagens.models import Imagem
from Imagens.serializers import ImagemSerializer
class ImagemViewSet(viewsets.ModelViewSet):
queryset = Imagem.objects.all()
serializer_class = ImagemSerializer
| 29.75 | 48 | 0.836134 | 26 | 238 | 7.576923 | 0.653846 | 0.111675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113445 | 238 | 7 | 49 | 34 | 0.933649 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4923058f3b75de511e9b45cc99b05f739d11b46b | 4,986 | py | Python | aoc_07.py | ForestRupicolous/advent_of_code | 1335e695e79842ae68c4b492ac2ad89c87a6ea29 | [
"MIT"
] | null | null | null | aoc_07.py | ForestRupicolous/advent_of_code | 1335e695e79842ae68c4b492ac2ad89c87a6ea29 | [
"MIT"
] | null | null | null | aoc_07.py | ForestRupicolous/advent_of_code | 1335e695e79842ae68c4b492ac2ad89c87a6ea29 | [
"MIT"
] | null | null | null | #! python3
# aoc_07.py
# Advent of code:
# https://adventofcode.com/2021/day/7
# https://adventofcode.com/2021/day/7#part2
#
from statistics import median
from collections import defaultdict
def part_one(input) -> int:
med = median(input)
dist = [abs(x-med) for x in input]
return sum(dist)
def part_two(... | 118.714286 | 3,916 | 0.72503 | 1,167 | 4,986 | 3.073693 | 0.622965 | 0.015054 | 0.010036 | 0.013382 | 0.015612 | 0.015612 | 0 | 0 | 0 | 0 | 0 | 0.615336 | 0.04272 | 4,986 | 42 | 3,917 | 118.714286 | 0.136183 | 0.034095 | 0 | 0 | 0 | 0 | 0.007488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.076923 | 0 | 0.307692 | 0.230769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4927f5c1953eb60e5334e751c10cc9986f4a2999 | 67,590 | py | Python | cifero/ciferogui/ciphers.py | jonjau/cifero | c8855a0d1288410ab619690cdf2455a8acb7dd2f | [
"MIT"
] | 1 | 2020-05-15T18:42:09.000Z | 2020-05-15T18:42:09.000Z | cifero/ciferogui/ciphers.py | jonjau/cifero | c8855a0d1288410ab619690cdf2455a8acb7dd2f | [
"MIT"
] | null | null | null | cifero/ciferogui/ciphers.py | jonjau/cifero | c8855a0d1288410ab619690cdf2455a8acb7dd2f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ciphers.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_CiphersDialog(object):
def setupUi(self, CiphersDialog):
Ci... | 53.136792 | 431 | 0.667643 | 6,519 | 67,590 | 6.871913 | 0.058291 | 0.079222 | 0.176727 | 0.201103 | 0.820773 | 0.735234 | 0.693379 | 0.449127 | 0.159382 | 0.096366 | 0 | 0.02579 | 0.192854 | 67,590 | 1,271 | 432 | 53.1786 | 0.795362 | 0.002678 | 0 | 0.348689 | 1 | 0.003177 | 0.115503 | 0.007804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001589 | false | 0 | 0.000794 | 0 | 0.003177 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 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 |
492a89e1fc0047701ee9b20a7227e863d026a1d4 | 190 | py | Python | Easy/rectangle_overlap.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | Easy/rectangle_overlap.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | Easy/rectangle_overlap.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | class Solution:
def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool:
return rec1[0] < rec2[2] and rec2[0] < rec1[2] and rec1[1] < rec2[3] and rec2[1] < rec1[3] | 63.333333 | 98 | 0.626316 | 32 | 190 | 3.71875 | 0.5 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.194737 | 190 | 3 | 98 | 63.333333 | 0.660131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
492b5ef4732840a3871335354bb69b21296852dd | 16,931 | py | Python | tests/app/authentication/test_authentication.py | cds-snc/notifier-api | 90b385ec49efbaee7e607516fc7d9f08991af813 | [
"MIT"
] | 41 | 2019-11-28T16:58:41.000Z | 2022-01-28T21:11:16.000Z | tests/app/authentication/test_authentication.py | cds-snc/notification-api | b1c1064f291eb860b494c3fa65ac256ad70bf47c | [
"MIT"
] | 1,083 | 2019-07-08T12:57:24.000Z | 2022-03-08T18:53:40.000Z | tests/app/authentication/test_authentication.py | cds-snc/notifier-api | 90b385ec49efbaee7e607516fc7d9f08991af813 | [
"MIT"
] | 9 | 2020-01-24T19:56:43.000Z | 2022-01-27T21:36:53.000Z | import time
import uuid
from datetime import datetime
import jwt
import pytest
from flask import current_app, json, request
from freezegun import freeze_time
from notifications_python_client.authentication import create_jwt_token
from app import api_user
from app.authentication.auth import (
AUTH_TYPES,
AuthE... | 39.558411 | 122 | 0.712539 | 2,234 | 16,931 | 5.040734 | 0.093107 | 0.051683 | 0.058609 | 0.037119 | 0.818045 | 0.789095 | 0.72871 | 0.676583 | 0.644703 | 0.609093 | 0 | 0.01251 | 0.169039 | 16,931 | 427 | 123 | 39.651054 | 0.787902 | 0.025397 | 0 | 0.507645 | 0 | 0 | 0.186818 | 0.016553 | 0 | 0 | 0 | 0 | 0.134557 | 1 | 0.091743 | false | 0.003058 | 0.039755 | 0.003058 | 0.134557 | 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 |
49870173996c64ec286154dea723a5ebb1d5f2d3 | 166 | py | Python | paneldata_dash/schemas/market.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | paneldata_dash/schemas/market.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | paneldata_dash/schemas/market.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | from ma import ma
from models.market import MarketModel
class MarketSchema(ma.ModelSchema):
class Meta:
model = MarketModel
dump_only = ("id",)
| 18.444444 | 37 | 0.680723 | 20 | 166 | 5.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 166 | 8 | 38 | 20.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
499947a66f6c7f69e0c4fa0b5d8d4b1ed88e0a09 | 79 | py | Python | Piano_In_The_Key_Of_Lime/NeoPixelAll.py | joewalk102/Adafruit_Learning_System_Guides | 2bda607f8c433c661a2d9d40b4db4fd132334c9a | [
"MIT"
] | 3 | 2019-09-25T17:32:15.000Z | 2019-10-04T18:31:34.000Z | Piano_In_The_Key_Of_Lime/NeoPixelAll.py | joewalk102/Adafruit_Learning_System_Guides | 2bda607f8c433c661a2d9d40b4db4fd132334c9a | [
"MIT"
] | 1 | 2020-10-16T15:30:22.000Z | 2020-10-16T15:30:22.000Z | Piano_In_The_Key_Of_Lime/NeoPixelAll.py | joewalk102/Adafruit_Learning_System_Guides | 2bda607f8c433c661a2d9d40b4db4fd132334c9a | [
"MIT"
] | 1 | 2020-10-16T15:23:04.000Z | 2020-10-16T15:23:04.000Z | from adafruit_circuitplayground.express import cpx
cpx.pixels.fill((0, 0, 3))
| 19.75 | 50 | 0.78481 | 12 | 79 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.101266 | 79 | 3 | 51 | 26.333333 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
770e0feebd1126cfb53883c2650faf8786fef864 | 16,658 | py | Python | tests/model_preparation/test_lookup.py | OasisLMF/OasisLMF | 141a1bf4b6cacb3b71c4216bf0997b6b9b85e1d2 | [
"BSD-3-Clause"
] | 88 | 2018-03-24T11:57:10.000Z | 2022-03-21T13:04:41.000Z | tests/model_preparation/test_lookup.py | OasisLMF/OasisLMF | 141a1bf4b6cacb3b71c4216bf0997b6b9b85e1d2 | [
"BSD-3-Clause"
] | 558 | 2018-03-14T14:16:30.000Z | 2022-03-29T12:48:14.000Z | tests/model_preparation/test_lookup.py | OasisLMF/OasisLMF | 141a1bf4b6cacb3b71c4216bf0997b6b9b85e1d2 | [
"BSD-3-Clause"
] | 41 | 2018-04-09T11:13:12.000Z | 2021-10-05T14:43:11.000Z | import io
import json
import os
import string
from unittest import TestCase
import pandas as pd
import pytest
from tempfile import TemporaryDirectory
from hypothesis import (
given,
HealthCheck,
settings,
)
from hypothesis.strategies import (
fixed_dictionaries,
integers,
just,
lists,
... | 48.284058 | 123 | 0.586145 | 1,778 | 16,658 | 5.15973 | 0.115298 | 0.044147 | 0.026161 | 0.027578 | 0.768912 | 0.751908 | 0.719969 | 0.711576 | 0.686941 | 0.671463 | 0 | 0.00658 | 0.324889 | 16,658 | 344 | 124 | 48.424419 | 0.809177 | 0.003482 | 0 | 0.574913 | 0 | 0 | 0.065851 | 0.00982 | 0 | 0 | 0 | 0 | 0.108014 | 1 | 0.041812 | false | 0.003484 | 0.066202 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
77519c747ecca0d6135432fe34e790d75cb2a07f | 170 | py | Python | cubedash/summary/__init__.py | brazil-data-cube/datacube-explorer | 3fb9e8f95f2f36e13474bb841c50ba9e18de01a3 | [
"NLPL",
"IJG"
] | 1 | 2020-08-10T13:41:37.000Z | 2020-08-10T13:41:37.000Z | cubedash/summary/__init__.py | brazil-data-cube/datacube-explorer | 3fb9e8f95f2f36e13474bb841c50ba9e18de01a3 | [
"NLPL",
"IJG"
] | null | null | null | cubedash/summary/__init__.py | brazil-data-cube/datacube-explorer | 3fb9e8f95f2f36e13474bb841c50ba9e18de01a3 | [
"NLPL",
"IJG"
] | 2 | 2020-07-31T13:13:00.000Z | 2020-08-10T13:42:36.000Z | from ._extents import RegionInfo
from ._model import TimePeriodOverview
from ._stores import SummaryStore
__all__ = ("RegionInfo", "TimePeriodOverview", "SummaryStore")
| 28.333333 | 62 | 0.811765 | 16 | 170 | 8.1875 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 170 | 5 | 63 | 34 | 0.861842 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
620a5c80af309c00ca41bf608e6dbe316a1005c4 | 105 | py | Python | kblocks/functools.py | SamuelMarks/kblocks | 461705c6e89d3ae1c2d3ee90e27c580e683062a9 | [
"MIT"
] | null | null | null | kblocks/functools.py | SamuelMarks/kblocks | 461705c6e89d3ae1c2d3ee90e27c580e683062a9 | [
"MIT"
] | 1 | 2020-12-20T01:50:52.000Z | 2020-12-20T01:50:52.000Z | kblocks/functools.py | SamuelMarks/kblocks | 461705c6e89d3ae1c2d3ee90e27c580e683062a9 | [
"MIT"
] | 1 | 2020-12-18T03:16:57.000Z | 2020-12-18T03:16:57.000Z | import functools
import gin
partial = gin.external_configurable(functools.partial, module="functools")
| 17.5 | 74 | 0.819048 | 12 | 105 | 7.083333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 105 | 5 | 75 | 21 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 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 |
62257dad99f36a163d0e5d7a2708d0ee9f763cf6 | 400 | py | Python | tests/python_import/import.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 362 | 2018-02-17T10:25:11.000Z | 2022-03-30T21:04:59.000Z | tests/python_import/import.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 70 | 2018-02-17T04:00:14.000Z | 2019-08-21T18:01:52.000Z | tests/python_import/import.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 36 | 2018-02-18T23:11:25.000Z | 2021-09-20T07:19:36.000Z | import sys
from models import X
from .models import X
from .models import B as C
from .example import *
from ..example import *
from .. import X
import long_module_name_1, long_module_name_2, long_module_name_3, long_module_name_4
from some_module import long_function_name_1, long_function_name_2, long_function... | 16 | 88 | 0.79 | 67 | 400 | 4.343284 | 0.268657 | 0.137457 | 0.19244 | 0.116838 | 0.171821 | 0.171821 | 0.171821 | 0 | 0 | 0 | 0 | 0.020958 | 0.165 | 400 | 24 | 89 | 16.666667 | 0.850299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.785714 | 0 | 0.785714 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
622df4651ff15ab9ada2946ad5074b94cabb2be8 | 187 | py | Python | src/infrastructure.py | xinmyname/ItemizedPy | a933279a022bf52791f747ac6086535abb6c238d | [
"MIT"
] | null | null | null | src/infrastructure.py | xinmyname/ItemizedPy | a933279a022bf52791f747ac6086535abb6c238d | [
"MIT"
] | null | null | null | src/infrastructure.py | xinmyname/ItemizedPy | a933279a022bf52791f747ac6086535abb6c238d | [
"MIT"
] | null | null | null | """Holds all infrastructure related items"""
import models
class ItemFactory:
"""Creates items"""
def make_item(self):
"""Creates items"""
return models.Item()
| 17 | 44 | 0.631016 | 20 | 187 | 5.85 | 0.75 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 187 | 10 | 45 | 18.7 | 0.818182 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
623fed29ed47e29d0f4a18285c190723dc758ade | 206 | py | Python | cfg/htop/__main__.py | rr-/dotfiles | 4a684c43a5714a3312b42b445e5ba9ae1fab0d1a | [
"MIT"
] | 16 | 2015-06-05T12:57:44.000Z | 2021-08-05T23:49:42.000Z | cfg/htop/__main__.py | rr-/dotfiles | 4a684c43a5714a3312b42b445e5ba9ae1fab0d1a | [
"MIT"
] | 6 | 2015-11-01T18:18:26.000Z | 2020-10-06T09:17:29.000Z | cfg/htop/__main__.py | rr-/dotfiles | 4a684c43a5714a3312b42b445e5ba9ae1fab0d1a | [
"MIT"
] | 6 | 2015-10-31T18:53:12.000Z | 2020-11-30T18:03:06.000Z | from libdotfiles.packages import try_install
from libdotfiles.util import HOME_DIR, PKG_DIR, create_symlink
try_install("htop")
create_symlink(PKG_DIR / "htoprc", HOME_DIR / ".config" / "htop" / "htoprc")
| 34.333333 | 76 | 0.776699 | 29 | 206 | 5.241379 | 0.517241 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 206 | 5 | 77 | 41.2 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.131068 | 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 |
624d70f0aac7d29796570ba004911fc8a4a1c64a | 145 | py | Python | Scripts/django-admin.py | hijal/youtube-search | ef7951805be2f9986fbc44bc9bd6598797933c70 | [
"bzip2-1.0.6"
] | 2 | 2021-09-28T16:40:06.000Z | 2021-09-28T16:41:49.000Z | Scripts/django-admin.py | hijal/youtube-search | ef7951805be2f9986fbc44bc9bd6598797933c70 | [
"bzip2-1.0.6"
] | 8 | 2019-12-04T23:54:05.000Z | 2021-06-09T18:10:31.000Z | Scripts/django-admin.py | hijal/youtube-search | ef7951805be2f9986fbc44bc9bd6598797933c70 | [
"bzip2-1.0.6"
] | null | null | null | #!e:\youtube search\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 24.166667 | 42 | 0.77931 | 19 | 145 | 5.368421 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 145 | 5 | 43 | 29 | 0.790698 | 0.255172 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
624de0df3e81d9714f525c8906af0d60214c3910 | 175 | py | Python | examples/a_example4.py | berkeman/examples | 985e907fee4120e9266544e4fc66cdbddf5d87b9 | [
"Apache-2.0"
] | null | null | null | examples/a_example4.py | berkeman/examples | 985e907fee4120e9266544e4fc66cdbddf5d87b9 | [
"Apache-2.0"
] | null | null | null | examples/a_example4.py | berkeman/examples | 985e907fee4120e9266544e4fc66cdbddf5d87b9 | [
"Apache-2.0"
] | 1 | 2020-02-15T17:10:20.000Z | 2020-02-15T17:10:20.000Z | def analysis(sliceno, job):
job.save('this_is_the_data_analysis ' + str(sliceno), 'myfile1', sliceno=sliceno)
def synthesis(job):
job.save('this_is_the_data_2', 'myfile2')
| 29.166667 | 82 | 0.748571 | 27 | 175 | 4.555556 | 0.518519 | 0.097561 | 0.162602 | 0.227642 | 0.373984 | 0.373984 | 0.373984 | 0 | 0 | 0 | 0 | 0.018868 | 0.091429 | 175 | 5 | 83 | 35 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0.331429 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
624e70411416dbfd1bfbbec1bb9b7716d3b79a94 | 237 | py | Python | rendereasy/cnawhatsapp/config.py | lflrocha/rendereasy.cnawhatsapp | 717ebedd922cfcc6ac57bb81fb525bb003805efd | [
"Unlicense"
] | null | null | null | rendereasy/cnawhatsapp/config.py | lflrocha/rendereasy.cnawhatsapp | 717ebedd922cfcc6ac57bb81fb525bb003805efd | [
"Unlicense"
] | null | null | null | rendereasy/cnawhatsapp/config.py | lflrocha/rendereasy.cnawhatsapp | 717ebedd922cfcc6ac57bb81fb525bb003805efd | [
"Unlicense"
] | null | null | null | """Common configuration constants
"""
PROJECTNAME = 'rendereasy.cnawhatsapp'
ADD_PERMISSIONS = {
# -*- extra stuff goes here -*-
'Envio': 'rendereasy.cnawhatsapp: Add Envio',
'Grupo': 'rendereasy.cnawhatsapp: Add Grupo',
}
| 21.545455 | 49 | 0.679325 | 22 | 237 | 7.272727 | 0.636364 | 0.39375 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168776 | 237 | 10 | 50 | 23.7 | 0.812183 | 0.257384 | 0 | 0 | 0 | 0 | 0.579882 | 0.402367 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
627c6bf16709216f55264521343797b0c63f293b | 230 | py | Python | ex1.py | cayenneZ/python_practice | 6c332274e3d437dc0f52a17aa36ff47853e673c0 | [
"Apache-2.0"
] | 1 | 2018-07-31T15:06:17.000Z | 2018-07-31T15:06:17.000Z | ex1.py | cayenneZ/python_practice | 6c332274e3d437dc0f52a17aa36ff47853e673c0 | [
"Apache-2.0"
] | null | null | null | ex1.py | cayenneZ/python_practice | 6c332274e3d437dc0f52a17aa36ff47853e673c0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
print ("Hello World!")
print ("Hello Again")
print ("I like Typing this.")
print ("This is fun.")
print ('Yay! Printing.')
print ("I'd much rather you 'not'.")
print ('I "said" do not touch this.') | 25.555556 | 37 | 0.595652 | 35 | 230 | 3.914286 | 0.657143 | 0.131387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.191304 | 230 | 9 | 38 | 25.555556 | 0.731183 | 0.091304 | 0 | 0 | 0 | 0 | 0.605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
655449eb5082e909a57c6869793264d1559cd345 | 48 | py | Python | planetpy/pdstools/atlas.py | rhiannonlynne/planetpy | 83480fda93afb0940c0f678ef2821a54eceee2fd | [
"BSD-3-Clause"
] | 5 | 2017-06-13T18:13:13.000Z | 2019-04-17T13:29:48.000Z | planetarypy/pdstools/atlas.py | planetarypy/planetarypy_alpha | 4f543430bcc3c934af4b036e816ca0d972808ac3 | [
"BSD-3-Clause"
] | 4 | 2015-04-20T01:11:15.000Z | 2019-01-29T18:34:18.000Z | planetarypy/pdstools/atlas.py | planetarypy/planetarypy_alpha | 4f543430bcc3c934af4b036e816ca0d972808ac3 | [
"BSD-3-Clause"
] | 2 | 2015-04-20T01:11:34.000Z | 2019-04-11T17:32:50.000Z | import requests
class Atlas:
baseurl = ''
| 8 | 16 | 0.645833 | 5 | 48 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 48 | 5 | 17 | 9.6 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 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 |
6584f4ad2ad84a8e1d736b14790f94363bc48774 | 693 | py | Python | dnm_cohorts/person.py | jeremymcrae/dnm_cohorts | e968357797d2d370b44904129c32c2e74b36b903 | [
"MIT"
] | 1 | 2020-12-10T05:17:21.000Z | 2020-12-10T05:17:21.000Z | dnm_cohorts/person.py | jeremymcrae/dnm_cohorts | e968357797d2d370b44904129c32c2e74b36b903 | [
"MIT"
] | null | null | null | dnm_cohorts/person.py | jeremymcrae/dnm_cohorts | e968357797d2d370b44904129c32c2e74b36b903 | [
"MIT"
] | null | null | null |
class Person(dict):
def __init__(self, person_id, sex, phenotype, studies):
self.person_id = str(person_id)
self.sex = sex
self.phenotype = phenotype
self.studies = studies
def __repr__(self):
return f'Person("{self.person_id}", "{self.sex}", {self.phenotype}, ... | 28.875 | 100 | 0.594517 | 89 | 693 | 4.269663 | 0.224719 | 0.168421 | 0.189474 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 693 | 23 | 101 | 30.130435 | 0.73501 | 0 | 0 | 0 | 0 | 0.125 | 0.248555 | 0.156069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.3125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
65860c4915e9745a4676b7b03d94a1593569bab6 | 70 | py | Python | tests/__init__.py | konrad/HiCsuntdracones | 827775460542fc071d80d50c624f320334d90796 | [
"ISC"
] | null | null | null | tests/__init__.py | konrad/HiCsuntdracones | 827775460542fc071d80d50c624f320334d90796 | [
"ISC"
] | 1 | 2019-12-10T15:29:45.000Z | 2019-12-10T15:29:45.000Z | tests/__init__.py | konrad/HiCsuntdracones | 827775460542fc071d80d50c624f320334d90796 | [
"ISC"
] | 1 | 2019-12-10T14:20:37.000Z | 2019-12-10T14:20:37.000Z | # -*- coding: utf-8 -*-
"""Unit test package for hicsuntdracones."""
| 17.5 | 44 | 0.614286 | 8 | 70 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.157143 | 70 | 3 | 45 | 23.333333 | 0.711864 | 0.871429 | 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 |
65b7d267b96d83c75a182ad0f63660c9aa9f21e2 | 103 | py | Python | lib/__init__.py | yubang/mysqlBackupTools | f1d1e1e118b7476eeedf38a25af674268d23f4fd | [
"Apache-2.0"
] | 3 | 2016-04-23T05:21:28.000Z | 2018-02-02T05:44:35.000Z | lib/__init__.py | yubang/mysqlBackupTools | f1d1e1e118b7476eeedf38a25af674268d23f4fd | [
"Apache-2.0"
] | null | null | null | lib/__init__.py | yubang/mysqlBackupTools | f1d1e1e118b7476eeedf38a25af674268d23f4fd | [
"Apache-2.0"
] | 2 | 2019-07-25T02:27:21.000Z | 2020-02-17T11:57:24.000Z | # coding:UTF-8
from lib.log_lib import LogLib
system_log_client = LogLib.get_logging("system_log")
| 12.875 | 52 | 0.776699 | 17 | 103 | 4.411765 | 0.705882 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.126214 | 103 | 7 | 53 | 14.714286 | 0.822222 | 0.116505 | 0 | 0 | 0 | 0 | 0.11236 | 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 |
65d5463de49fc2b58367a51fa2252782e2b11fc8 | 84 | py | Python | AtCoder/ABC/000-159/ABC144_A.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | AtCoder/ABC/000-159/ABC144_A.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | AtCoder/ABC/000-159/ABC144_A.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | A, B = [int(n) for n in input().split()]
print(A*B if 1<=A<=9 and 1<=B<=9 else -1)
| 28 | 42 | 0.535714 | 22 | 84 | 2.045455 | 0.636364 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0.190476 | 84 | 2 | 43 | 42 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
65dbfe73f39e0f0a996832da412b977310ee47ac | 186 | py | Python | about/views.py | minlaxz/pastebin-heroku | 569a2d5b17f8414a37b86f8fc5ffe7dcef1facd1 | [
"MIT"
] | null | null | null | about/views.py | minlaxz/pastebin-heroku | 569a2d5b17f8414a37b86f8fc5ffe7dcef1facd1 | [
"MIT"
] | null | null | null | about/views.py | minlaxz/pastebin-heroku | 569a2d5b17f8414a37b86f8fc5ffe7dcef1facd1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
import requests
# Create your views here.
def aboutView(req):
data = [1, 2, 3, 4, 5]
return render(req, "about/about.html", {"data": data})
| 20.666667 | 58 | 0.672043 | 28 | 186 | 4.464286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0.188172 | 186 | 8 | 59 | 23.25 | 0.794702 | 0.123656 | 0 | 0 | 0 | 0 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
65ddfd233a70ced7b5c10098312373b3619665fd | 541 | py | Python | pkg/suggestion/NAS_Envelopenet/nac_gen.py | adamjm/katib | 41143e8aa3affd0835727df379c38eaf298593cc | [
"Apache-2.0"
] | null | null | null | pkg/suggestion/NAS_Envelopenet/nac_gen.py | adamjm/katib | 41143e8aa3affd0835727df379c38eaf298593cc | [
"Apache-2.0"
] | 1 | 2019-06-14T21:22:35.000Z | 2019-06-14T21:22:35.000Z | pkg/suggestion/NAS_Envelopenet/nac_gen.py | adamjm/katib | 41143e8aa3affd0835727df379c38eaf298593cc | [
"Apache-2.0"
] | null | null | null | from pkg.suggestion.NAS_Envelopenet.generate_arch import NACAlg
class NAC:
def __init__(self,
envelopenet_params = dict()):
initcell = {
"Layer0": {"Branch0": {"block": "conv2d", "kernel_size": [1, 1], "outputs": 64}},
"Layer2": {"Branch0": {"block": "lrn" }}
}
... | 31.823529 | 88 | 0.580407 | 59 | 541 | 5.118644 | 0.559322 | 0.069536 | 0.086093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022959 | 0.275416 | 541 | 16 | 89 | 33.8125 | 0.747449 | 0 | 0 | 0 | 1 | 0 | 0.116451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
65e60cec573930c698772e305eb3691369b8a817 | 2,547 | py | Python | mparticle/models/__init__.py | juviasuisei/mparticle-python-sdk | 2f412da6fb765736c252888b1f3f57c99c4de3b9 | [
"Apache-2.0"
] | 3 | 2020-09-24T19:37:19.000Z | 2021-04-21T15:58:55.000Z | mparticle/models/__init__.py | juviasuisei/mparticle-python-sdk | 2f412da6fb765736c252888b1f3f57c99c4de3b9 | [
"Apache-2.0"
] | 5 | 2016-12-10T19:24:35.000Z | 2022-03-10T14:45:55.000Z | mparticle/models/__init__.py | juviasuisei/mparticle-python-sdk | 2f412da6fb765736c252888b1f3f57c99c4de3b9 | [
"Apache-2.0"
] | 6 | 2016-12-20T23:28:36.000Z | 2020-10-14T03:11:41.000Z | # coding: utf-8
"""
mParticle
mParticle Event API
OpenAPI spec version: 1.0.1
Contact: support@mparticle.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance wit... | 38.590909 | 79 | 0.837456 | 326 | 2,547 | 6.371166 | 0.521472 | 0.074145 | 0.025999 | 0.015407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003602 | 0.127994 | 2,547 | 65 | 80 | 39.184615 | 0.931562 | 0.285826 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
02af2cdf96c7470dfab430ec384d713e311ad130 | 239 | py | Python | eq2.py | GuiPySimples/Programas-Simples | c1e001b136afb3640201320478a4dac1d839ffbe | [
"BSD-3-Clause"
] | null | null | null | eq2.py | GuiPySimples/Programas-Simples | c1e001b136afb3640201320478a4dac1d839ffbe | [
"BSD-3-Clause"
] | null | null | null | eq2.py | GuiPySimples/Programas-Simples | c1e001b136afb3640201320478a4dac1d839ffbe | [
"BSD-3-Clause"
] | null | null | null | a = int(input("Qual o termo A da equação? "))
b = int(input("Qual o termo B da equação? "))
c = int(input("Qual o termo C da equação? "))
print ("As raízes dessa equação são: {} e {} " '{0:,.1f}'.format (eq1 (a, b, c), eq2 (a, b, c) ) | 47.8 | 96 | 0.573222 | 45 | 239 | 3.044444 | 0.466667 | 0.175182 | 0.262774 | 0.284672 | 0.394161 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.213389 | 239 | 5 | 96 | 47.8 | 0.707447 | 0 | 0 | 0 | 0 | 0 | 0.533898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
02c87e798b06fb95e44b7d0833f03ffee021924d | 498 | py | Python | pysaintcoinach/ex/relational/__init__.py | icykoneko/saintcoinach-py | 66898385e1198203a7ec9da83787427bf6fe5c83 | [
"MIT"
] | 7 | 2019-11-20T17:24:49.000Z | 2022-03-29T04:17:53.000Z | pysaintcoinach/ex/relational/__init__.py | icykoneko/saintcoinach-py | 66898385e1198203a7ec9da83787427bf6fe5c83 | [
"MIT"
] | 7 | 2019-04-08T07:36:46.000Z | 2022-01-17T22:51:54.000Z | pysaintcoinach/ex/relational/__init__.py | icykoneko/saintcoinach-py | 66898385e1198203a7ec9da83787427bf6fe5c83 | [
"MIT"
] | 3 | 2019-04-08T08:24:22.000Z | 2021-06-27T22:19:15.000Z | from .valueconverter import IValueConverter
from .sheet import IRelationalRow, IRelationalSheet
from .datasheet import IRelationalDataRow, IRelationalDataSheet, RelationalDataSheet, RelationalPartialDataSheet
from .multisheet import IRelationalMultiRow, IRelationalMultiSheet, RelationalMultiRow, RelationalMultiSheet
fr... | 45.272727 | 112 | 0.879518 | 42 | 498 | 10.404762 | 0.619048 | 0.045767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088353 | 498 | 10 | 113 | 49.8 | 0.962555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b83ad34e9abfff1aba02b6cb66bce630521a3db7 | 185 | py | Python | organisation/urls.py | mohdbakhrayba/it-assets | ea03882ffd70e40c82f5684dc4980ff46520843b | [
"Apache-2.0"
] | null | null | null | organisation/urls.py | mohdbakhrayba/it-assets | ea03882ffd70e40c82f5684dc4980ff46520843b | [
"Apache-2.0"
] | null | null | null | organisation/urls.py | mohdbakhrayba/it-assets | ea03882ffd70e40c82f5684dc4980ff46520843b | [
"Apache-2.0"
] | null | null | null | from django.urls import path, re_path
from organisation import views
urlpatterns = [
path('user-account/export/', views.UserAccountExport.as_view(), name='user_account_export'),
]
| 26.428571 | 96 | 0.767568 | 24 | 185 | 5.75 | 0.666667 | 0.15942 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113514 | 185 | 6 | 97 | 30.833333 | 0.841463 | 0 | 0 | 0 | 0 | 0 | 0.210811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b83c3ec772675b7261c0bf6a854713f732c2afba | 51,355 | py | Python | labelseg/imgs_rc.py | 1010098686/labelseg | 8602c55bd2dadc60fb9da5d193ecdf26dc24d398 | [
"MIT"
] | null | null | null | labelseg/imgs_rc.py | 1010098686/labelseg | 8602c55bd2dadc60fb9da5d193ecdf26dc24d398 | [
"MIT"
] | null | null | null | labelseg/imgs_rc.py | 1010098686/labelseg | 8602c55bd2dadc60fb9da5d193ecdf26dc24d398 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.13.0)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x05\xb5\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x16\x... | 59.576566 | 103 | 0.72583 | 12,342 | 51,355 | 3.017096 | 0.024874 | 0.06848 | 0.054623 | 0.030615 | 0.130032 | 0.124231 | 0.11784 | 0.113892 | 0.112603 | 0.112603 | 0 | 0.324862 | 0.018479 | 51,355 | 861 | 104 | 59.645761 | 0.413879 | 0.00296 | 0 | 0.105325 | 0 | 0.886391 | 0.00002 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.002367 | false | 0 | 0.001183 | 0 | 0.00355 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b85d1ffb8db3c3814cc71f91dbb44a788c208833 | 68 | py | Python | cloudauthz/providers/__init__.py | nsoranzo/cloudauthz | 06278f1d1dde3bba8dee2fbb43e5a27967b7026f | [
"MIT"
] | 3 | 2018-11-01T14:53:22.000Z | 2019-05-04T16:43:49.000Z | cloudauthz/providers/__init__.py | nsoranzo/cloudauthz | 06278f1d1dde3bba8dee2fbb43e5a27967b7026f | [
"MIT"
] | 2 | 2018-06-27T21:45:27.000Z | 2018-09-14T14:16:05.000Z | cloudauthz/providers/__init__.py | nsoranzo/cloudauthz | 06278f1d1dde3bba8dee2fbb43e5a27967b7026f | [
"MIT"
] | 4 | 2018-02-16T16:57:51.000Z | 2022-01-01T14:49:45.000Z | """
Contains authorization implementation for various providers.
""" | 22.666667 | 60 | 0.794118 | 6 | 68 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 3 | 61 | 22.666667 | 0.885246 | 0.882353 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b8686c6a6eebba175bf447e5cab51aa4fb55dc56 | 255 | py | Python | libs/core/cornflow_core/resources/__init__.py | ggsdc/corn | 4c17c46a70f95b8882bcb6a55ef7daa1f69e0456 | [
"MIT"
] | 2 | 2020-07-09T20:58:47.000Z | 2020-07-20T20:40:46.000Z | libs/core/cornflow_core/resources/__init__.py | baobabsoluciones/cornflow | bd7cae22107e5fe148704d5f41d4f58f9c410b40 | [
"Apache-2.0"
] | 2 | 2022-03-31T08:42:10.000Z | 2022-03-31T12:05:23.000Z | libs/core/cornflow_core/resources/__init__.py | ggsdc/corn | 4c17c46a70f95b8882bcb6a55ef7daa1f69e0456 | [
"MIT"
] | null | null | null | """
Expose the resources
"""
# First the generic ones
from .meta_resource import BaseMetaResource
# Then the specific
from .log_in import LoginBaseEndpoint
from .recover_password import RecoverPasswordBaseEndpoint
from .sign_up import SignupBaseEndpoint
| 23.181818 | 57 | 0.831373 | 30 | 255 | 6.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121569 | 255 | 10 | 58 | 25.5 | 0.928571 | 0.243137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
b8998f437b25fbe6f6b3d15d9e3f1901f04b6b36 | 6,723 | py | Python | notebook/pandas_count_condition.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/pandas_count_condition.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/pandas_count_condition.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import pandas as pd
df = pd.read_csv('data/src/sample_pandas_normal.csv')
print(df)
# name age state point
# 0 Alice 24 NY 64
# 1 Bob 42 CA 92
# 2 Charlie 18 CA 70
# 3 Dave 68 TX 70
# 4 Ellen 24 CA 88
# 5 Frank 30 NY 57
df_bool = (df ==... | 21.899023 | 80 | 0.514354 | 990 | 6,723 | 3.430303 | 0.163636 | 0.24735 | 0.269435 | 0.259128 | 0.424912 | 0.34894 | 0.305654 | 0.266784 | 0.245583 | 0.159011 | 0 | 0.120648 | 0.384798 | 6,723 | 306 | 81 | 21.970588 | 0.700435 | 0.717537 | 0 | 0 | 0 | 0 | 0.073433 | 0.035224 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0.755102 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b8bc16c3c0fbf0ff2e22ccca5d98444d08fd9101 | 98 | py | Python | 590_Creating_a_Package/MyPackage/MySubFolder/subfolder_functions.py | PacktPublishing/Python-for-Everybody-The-Ultimate-Python-3-Bootcamp | 34d11a55506b1e0831a10166a5377f6592afeee8 | [
"MIT"
] | 9 | 2020-08-06T08:53:36.000Z | 2021-12-30T13:25:01.000Z | 590_Creating_a_Package/MyPackage/MySubFolder/subfolder_functions.py | PacktPublishing/Python-for-Everybody-The-Ultimate-Python-3-Bootcamp | 34d11a55506b1e0831a10166a5377f6592afeee8 | [
"MIT"
] | 1 | 2021-12-09T07:43:02.000Z | 2021-12-09T07:43:02.000Z | 590_Creating_a_Package/MyPackage/MySubFolder/subfolder_functions.py | PacktPublishing/Python-for-Everybody-The-Ultimate-Python-3-Bootcamp | 34d11a55506b1e0831a10166a5377f6592afeee8 | [
"MIT"
] | 17 | 2020-07-28T10:04:41.000Z | 2021-11-06T17:54:02.000Z |
COURSE = "Python for Everybody"
def which_course_is_this():
print("The course is:", COURSE)
| 16.333333 | 35 | 0.704082 | 14 | 98 | 4.714286 | 0.714286 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 98 | 5 | 36 | 19.6 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b225de88ef3e2b7db71acb69d395b38ec7f18234 | 31 | py | Python | tests/test_regex/__init__.py | JonasHablitzel/spaczz | 9f79fe9d35a25787f926b4c4955c2650f4600073 | [
"MIT"
] | 153 | 2020-07-07T01:26:25.000Z | 2022-03-31T23:47:00.000Z | tests/test_regex/__init__.py | JonasHablitzel/spaczz | 9f79fe9d35a25787f926b4c4955c2650f4600073 | [
"MIT"
] | 38 | 2020-07-15T02:29:34.000Z | 2021-08-15T21:32:54.000Z | tests/test_regex/__init__.py | JonasHablitzel/spaczz | 9f79fe9d35a25787f926b4c4955c2650f4600073 | [
"MIT"
] | 20 | 2020-07-07T15:41:05.000Z | 2022-02-21T19:28:22.000Z | """Tests for regex modules."""
| 15.5 | 30 | 0.645161 | 4 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.740741 | 0.774194 | 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 |
b231b61c5bcc6210cd3bb073154d8d2bcf10ec5c | 752 | py | Python | pygenome/__init__.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | 1 | 2019-11-18T14:41:20.000Z | 2019-11-18T14:41:20.000Z | pygenome/__init__.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | null | null | null | pygenome/__init__.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | null | null | null | """
PyGenome - Evolutionary Algorithms in Python
"""
__version__ = "0.0.2"
from .representations.linear import *
from .representations.tree import *
from .representations.individual import *
from .representations.population import *
from .representations.linear import *
from .representations.tree import *
from .repre... | 27.851852 | 44 | 0.780585 | 89 | 752 | 6.550562 | 0.370787 | 0.325901 | 0.25729 | 0.106346 | 0.271012 | 0.271012 | 0.271012 | 0.271012 | 0.271012 | 0.271012 | 0 | 0.004552 | 0.12367 | 752 | 26 | 45 | 28.923077 | 0.880121 | 0.058511 | 0 | 0.190476 | 0 | 0 | 0.007143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.952381 | 0 | 0.952381 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b231e4ad6f875096bd1b9f7b801e3e5b7281244e | 289 | py | Python | motion/skeleton/skeleton.py | TUM-AAS/motron | 2f8800d1d6e297fc4baab555ceb2d37f55841406 | [
"MIT"
] | null | null | null | motion/skeleton/skeleton.py | TUM-AAS/motron | 2f8800d1d6e297fc4baab555ceb2d37f55841406 | [
"MIT"
] | null | null | null | motion/skeleton/skeleton.py | TUM-AAS/motron | 2f8800d1d6e297fc4baab555ceb2d37f55841406 | [
"MIT"
] | null | null | null | import torch
class Skeleton(torch.nn.Module):
def __init__(self):
super().__init__()
@property
def num_joints(self):
raise NotImplementedError()
def forward(self, rotations: torch.Tensor) -> torch.Tensor:
raise NotImplementedError()
| 11.115385 | 63 | 0.633218 | 29 | 289 | 6 | 0.62069 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262976 | 289 | 25 | 64 | 11.56 | 0.816901 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b28cefac98ed1d69db6376648c9243588d080be2 | 91 | py | Python | application/auth/__init__.py | Jasbeauty/mine_blog | 22899be4db20a92ad40cf35f84a3123dd0ebeee6 | [
"Apache-2.0"
] | null | null | null | application/auth/__init__.py | Jasbeauty/mine_blog | 22899be4db20a92ad40cf35f84a3123dd0ebeee6 | [
"Apache-2.0"
] | null | null | null | application/auth/__init__.py | Jasbeauty/mine_blog | 22899be4db20a92ad40cf35f84a3123dd0ebeee6 | [
"Apache-2.0"
] | 2 | 2018-07-26T05:40:23.000Z | 2018-07-30T06:59:48.000Z | # -*- coding: utf8 -*-
# @author: yinan
# @time: 18-7-4 下午5:24
# @filename: __init__.py.py
| 18.2 | 27 | 0.593407 | 14 | 91 | 3.571429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.164835 | 91 | 4 | 28 | 22.75 | 0.552632 | 0.901099 | 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 |
b2ac7d24bf4228c5647c06fe8bd0cd2441592d14 | 42 | py | Python | ipfn/__init__.py | crindt/ipfn | 7dc2f6e7b0ae6b2bb1910120b982f74d0179e629 | [
"MIT"
] | 55 | 2017-01-26T23:48:31.000Z | 2022-02-10T03:58:22.000Z | ipfn/__init__.py | crindt/ipfn | 7dc2f6e7b0ae6b2bb1910120b982f74d0179e629 | [
"MIT"
] | 12 | 2017-01-13T03:31:20.000Z | 2022-02-11T14:27:21.000Z | ipfn/__init__.py | crindt/ipfn | 7dc2f6e7b0ae6b2bb1910120b982f74d0179e629 | [
"MIT"
] | 11 | 2017-01-12T22:38:36.000Z | 2022-02-26T00:26:15.000Z | from ipfn import ipfn
__all__ = ['ipfn']
| 10.5 | 21 | 0.690476 | 6 | 42 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 3 | 22 | 14 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 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 |
a22b573d10fa64782ca3ca3d609be91ced23c3d7 | 137 | py | Python | parler/__init__.py | zbohm/django-parler | baedf90313529c25f012b04b9e87c9f4f82c55f4 | [
"Apache-2.0"
] | 1 | 2020-01-25T05:23:00.000Z | 2020-01-25T05:23:00.000Z | parler/__init__.py | Nivratti/django-parler | 6b050446f2d0768509b0fa44380115bb4e01c600 | [
"Apache-2.0"
] | null | null | null | parler/__init__.py | Nivratti/django-parler | 6b050446f2d0768509b0fa44380115bb4e01c600 | [
"Apache-2.0"
] | null | null | null | # following PEP 440
__version__ = "2.0.1"
__all__ = (
'is_multilingual_project',
)
from .utils.i18n import is_multilingual_project
| 15.222222 | 47 | 0.737226 | 18 | 137 | 4.944444 | 0.833333 | 0.314607 | 0.47191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 0.160584 | 137 | 8 | 48 | 17.125 | 0.704348 | 0.124088 | 0 | 0 | 0 | 0 | 0.237288 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a2413f30361b859432ef3cd0ef598bb464e7a86d | 167 | tac | Python | decaf_PA3/TestCases/S2/output/q1-4.tac | joker452/Decaf-compiler | 4f81dbd3d049245af8a8cb7234db7792ca57e61a | [
"MIT"
] | null | null | null | decaf_PA3/TestCases/S2/output/q1-4.tac | joker452/Decaf-compiler | 4f81dbd3d049245af8a8cb7234db7792ca57e61a | [
"MIT"
] | null | null | null | decaf_PA3/TestCases/S2/output/q1-4.tac | joker452/Decaf-compiler | 4f81dbd3d049245af8a8cb7234db7792ca57e61a | [
"MIT"
] | null | null | null | *** Error at (19,9): incompatible argument dst: class : Main->int->int given, class expected
*** Error at (19,9): incompatible argument src: int given, class expected
| 55.666667 | 92 | 0.718563 | 25 | 167 | 4.8 | 0.52 | 0.116667 | 0.15 | 0.166667 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0.143713 | 167 | 2 | 93 | 83.5 | 0.797203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a278b4ead4487ed668c576740647a89f7ec91424 | 2,738 | py | Python | libraries.py | eldiego77cp/Proyectos-Python | 0c7458da77ad6ff4927b1a64af32a2b7579dab08 | [
"MIT"
] | null | null | null | libraries.py | eldiego77cp/Proyectos-Python | 0c7458da77ad6ff4927b1a64af32a2b7579dab08 | [
"MIT"
] | null | null | null | libraries.py | eldiego77cp/Proyectos-Python | 0c7458da77ad6ff4927b1a64af32a2b7579dab08 | [
"MIT"
] | null | null | null | # Librerías o módulos en Python
#
# En primero lugar, para acceder al help de los módulos es necesario importarlos para luego pedir las referencias del módulo según los siguientes comandos a modo de ejemplo
import os
help (os)
# Dicho comando importa el módulo os y el comando help(os) muestra una descripción ... | 52.653846 | 189 | 0.780862 | 409 | 2,738 | 5.242054 | 0.557457 | 0.027985 | 0.015858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005801 | 0.181519 | 2,738 | 51 | 190 | 53.686275 | 0.948237 | 0.94412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a2a812ee34c35a2635ccde9154d37dda88ae02df | 20,847 | py | Python | ForgeActivity/forgeactivity/tests/functional/test_root.py | shalithasuranga/allura | 4f7fba13415954d07f602a051ec697329dd3706b | [
"Apache-2.0"
] | 1 | 2019-03-17T04:16:15.000Z | 2019-03-17T04:16:15.000Z | ForgeActivity/forgeactivity/tests/functional/test_root.py | DalavanCloud/allura | a25329caed9e6d136a1004c33372e0632a16e352 | [
"Apache-2.0"
] | null | null | null | ForgeActivity/forgeactivity/tests/functional/test_root.py | DalavanCloud/allura | a25329caed9e6d136a1004c33372e0632a16e352 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (t... | 43.340956 | 117 | 0.56387 | 2,235 | 20,847 | 5.124385 | 0.131544 | 0.016153 | 0.02436 | 0.01659 | 0.775517 | 0.764254 | 0.731599 | 0.719637 | 0.695888 | 0.684886 | 0 | 0.072609 | 0.297741 | 20,847 | 480 | 118 | 43.43125 | 0.709699 | 0.044515 | 0 | 0.656682 | 0 | 0.002304 | 0.367384 | 0.125176 | 0 | 0 | 0 | 0 | 0.099078 | 1 | 0.043779 | false | 0 | 0.052995 | 0 | 0.099078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a2d681a62289972f6bd45f3295031e7b56adee7e | 853 | py | Python | src/blog/custom/blog_filters.py | gchilczuk/MiGProject | 593ffab61b8c780a53b1ec32c2659a6f18510c48 | [
"MIT"
] | 2 | 2017-05-19T12:41:44.000Z | 2017-10-21T17:47:40.000Z | src/blog/custom/blog_filters.py | gchilczuk/MiGProject | 593ffab61b8c780a53b1ec32c2659a6f18510c48 | [
"MIT"
] | null | null | null | src/blog/custom/blog_filters.py | gchilczuk/MiGProject | 593ffab61b8c780a53b1ec32c2659a6f18510c48 | [
"MIT"
] | null | null | null | from blog.models import Post, Category, Tag, StaticHtmlPost
def posts_all():
return Post.objects.all()
def posts_by_category(category):
return Post.objects.filter(category__slug__iexact=category)
def posts_by_slug(slug):
return Post.objects.filter(slug__iexact=slug)
def posts_by_tag(tag):
return Pos... | 26.65625 | 63 | 0.746776 | 117 | 853 | 5.102564 | 0.247863 | 0.080402 | 0.170854 | 0.19263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005479 | 0.144197 | 853 | 32 | 64 | 26.65625 | 0.812329 | 0 | 0 | 0 | 0 | 0 | 0.052693 | 0.02459 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | false | 0 | 0.045455 | 0.363636 | 0.863636 | 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 |
a2de1fc88f3b89a651b1ae780a005550c2bfa7ac | 143 | py | Python | bitcalc/__main__.py | chrisrink10/bitcalc | 27af6cfa78352093eb585f1397e91034f7b75b3d | [
"MIT"
] | 1 | 2017-12-02T03:53:01.000Z | 2017-12-02T03:53:01.000Z | bitcalc/__main__.py | chrisrink10/bitcalc | 27af6cfa78352093eb585f1397e91034f7b75b3d | [
"MIT"
] | null | null | null | bitcalc/__main__.py | chrisrink10/bitcalc | 27af6cfa78352093eb585f1397e91034f7b75b3d | [
"MIT"
] | null | null | null | """bitcalc :: __main__.py
Script executed when the bitcalc directory is called as a script."""
from .bitcalc import start_repl
start_repl()
| 17.875 | 68 | 0.755245 | 21 | 143 | 4.857143 | 0.761905 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 143 | 7 | 69 | 20.428571 | 0.842975 | 0.622378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0c0c60d09e49e6d23c99d082226e084222d351e4 | 232 | py | Python | pdfparser/__init__.py | Single430/pdf_table_parse | a5e6b57c1c8414019a984f4677890d19d9e6bb1a | [
"MIT"
] | 2 | 2021-03-03T10:01:57.000Z | 2021-03-03T10:14:27.000Z | pdfparser/__init__.py | Single430/pdf_table_parse | a5e6b57c1c8414019a984f4677890d19d9e6bb1a | [
"MIT"
] | null | null | null | pdfparser/__init__.py | Single430/pdf_table_parse | a5e6b57c1c8414019a984f4677890d19d9e6bb1a | [
"MIT"
] | null | null | null | #! /bin/python
# -*- coding: utf-8 -*-
"""
* @author:zbl
* @file: __init__.py.py
* @time: 2020/01/14
* @func:
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| 17.846154 | 38 | 0.676724 | 30 | 232 | 4.633333 | 0.733333 | 0.215827 | 0.345324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.172414 | 232 | 12 | 39 | 19.333333 | 0.677083 | 0.439655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0c0fa7826fe454140cdcc79c494dc71a6841ae84 | 412 | py | Python | Rozwiazania-zadan/1_Podstawy/epsilon.py | bzglinicki/Programowanie-I-R | 02a63a44bb9eeea2aa7dbbb0ec18c0462d692ef0 | [
"MIT"
] | 2 | 2022-03-01T14:45:01.000Z | 2022-03-19T17:36:07.000Z | Rozwiazania-zadan/1_Podstawy/epsilon.py | bzglinicki/Programowanie-I-R | 02a63a44bb9eeea2aa7dbbb0ec18c0462d692ef0 | [
"MIT"
] | null | null | null | Rozwiazania-zadan/1_Podstawy/epsilon.py | bzglinicki/Programowanie-I-R | 02a63a44bb9eeea2aa7dbbb0ec18c0462d692ef0 | [
"MIT"
] | 1 | 2021-03-20T21:01:37.000Z | 2021-03-20T21:01:37.000Z | # Programowanie I R
# Zadanie epsilon
# Wykorzystamy funkcję math.nextafter(x, y), dostępną w Pythonie od wersji 3.9.0.
# Zadanie to można również rozwiązać, korzystając z metody bisekcji.
# math.nextafter(x, y) zwraca liczbę zmiennoprzecinkową następującą
# po x w kierunku y.
import math
print(math.nextafter(1.0, ... | 27.466667 | 81 | 0.737864 | 65 | 412 | 4.676923 | 0.615385 | 0.171053 | 0.092105 | 0.098684 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037356 | 0.15534 | 412 | 15 | 82 | 27.466667 | 0.836207 | 0.815534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
0c17b47b11ce7891b64b86622f18d35cbe983087 | 144 | py | Python | Day 53/setup.py | AN3223/code-a-day | dd98713159a921c1266dabff2a9c298509dfbe54 | [
"MIT"
] | null | null | null | Day 53/setup.py | AN3223/code-a-day | dd98713159a921c1266dabff2a9c298509dfbe54 | [
"MIT"
] | null | null | null | Day 53/setup.py | AN3223/code-a-day | dd98713159a921c1266dabff2a9c298509dfbe54 | [
"MIT"
] | null | null | null | from distutils.core import setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize("cython_test.pyx", annotate=True)
) | 24 | 62 | 0.756944 | 19 | 144 | 5.631579 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159722 | 144 | 6 | 63 | 24 | 0.884298 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0c5e814ab11d8fb62c289fe0062594b5ba3ed3c1 | 387 | py | Python | test/unit/fixtures/__init__.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 128 | 2019-02-02T17:53:23.000Z | 2022-03-28T09:28:35.000Z | test/unit/fixtures/__init__.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 168 | 2019-02-26T22:14:16.000Z | 2022-03-27T06:25:28.000Z | test/unit/fixtures/__init__.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 52 | 2019-01-28T16:40:56.000Z | 2022-03-14T19:55:05.000Z | ######################################################################
#
# File: test/unit/fixtures/__init__.py
#
# Copyright 2021 Backblaze Inc. All Rights Reserved.
#
# License https://www.backblaze.com/using_b2_code.html
#
######################################################################
from .b2http import *
... | 25.8 | 70 | 0.4677 | 35 | 387 | 4.971429 | 0.8 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017143 | 0.095607 | 387 | 14 | 71 | 27.642857 | 0.48 | 0.361757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a7ad0e9fa251787993f311196f58c5e63347e2a6 | 54 | py | Python | tests/__init__.py | nopdotcom/etcdfs | 6469a142e51bb92fd2e4328d35f8b34af2540387 | [
"BSD-3-Clause"
] | 4 | 2018-02-27T09:25:19.000Z | 2021-06-18T20:11:00.000Z | tests/__init__.py | nopdotcom/etcdfs | 6469a142e51bb92fd2e4328d35f8b34af2540387 | [
"BSD-3-Clause"
] | 1 | 2019-04-02T10:09:04.000Z | 2019-04-02T10:09:04.000Z | tests/__init__.py | nopdotcom/etcdfs | 6469a142e51bb92fd2e4328d35f8b34af2540387 | [
"BSD-3-Clause"
] | 2 | 2019-03-15T15:19:59.000Z | 2019-12-19T17:28:16.000Z | # -*- coding: utf-8 -*-
"""Unit tests for etcdfs."""
| 13.5 | 28 | 0.518519 | 7 | 54 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.185185 | 54 | 3 | 29 | 18 | 0.613636 | 0.833333 | 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 |
a7b9ce863615fd5a43445d0b1d05aaeeb6bf0aea | 96 | py | Python | web_service/apps.py | nastae/blackjack | 465edf53df105ecfca48b46b7d8185bc9f80c58d | [
"Apache-2.0"
] | null | null | null | web_service/apps.py | nastae/blackjack | 465edf53df105ecfca48b46b7d8185bc9f80c58d | [
"Apache-2.0"
] | null | null | null | web_service/apps.py | nastae/blackjack | 465edf53df105ecfca48b46b7d8185bc9f80c58d | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class WebServiceConfig(AppConfig):
name = 'web_service'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ac2eb957c724b6721a40294c9c4bac4fb535acb9 | 82 | py | Python | src/sardana/tango/macroserver/__main__.py | marc2332/sardana | 48dc9191baaa63f6c714d8c025e8f3f96548ad26 | [
"CC-BY-3.0"
] | 43 | 2016-11-25T15:21:23.000Z | 2021-08-20T06:09:40.000Z | src/sardana/tango/macroserver/__main__.py | marc2332/sardana | 48dc9191baaa63f6c714d8c025e8f3f96548ad26 | [
"CC-BY-3.0"
] | 1,263 | 2016-11-25T15:58:37.000Z | 2021-11-02T22:23:47.000Z | src/sardana/tango/macroserver/__main__.py | marc2332/sardana | 48dc9191baaa63f6c714d8c025e8f3f96548ad26 | [
"CC-BY-3.0"
] | 58 | 2016-11-21T11:33:55.000Z | 2021-09-01T06:21:21.000Z | from sardana.tango.macroserver import main
if __name__ == "__main__":
main()
| 16.4 | 42 | 0.719512 | 10 | 82 | 5.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 82 | 4 | 43 | 20.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 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 |
ac682a26d10895b705fcc00eb7a4ae7d356bb1dc | 94 | py | Python | skypy/cluster/__init__.py | ArthurTolley/skypy | 5621877ada75c667b1af7e665b02a91026f7ef0f | [
"BSD-3-Clause"
] | 1 | 2020-12-28T18:00:24.000Z | 2020-12-28T18:00:24.000Z | skypy/cluster/__init__.py | ArthurTolley/skypy | 5621877ada75c667b1af7e665b02a91026f7ef0f | [
"BSD-3-Clause"
] | 2 | 2020-12-28T20:14:40.000Z | 2020-12-28T21:49:27.000Z | skypy/cluster/__init__.py | ArthurTolley/skypy | 5621877ada75c667b1af7e665b02a91026f7ef0f | [
"BSD-3-Clause"
] | null | null | null | """
This module contains methods that model the properties of galaxy cluster
populations.
"""
| 18.8 | 72 | 0.776596 | 12 | 94 | 6.083333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 4 | 73 | 23.5 | 0.9125 | 0.904255 | 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 |
ac70b9ca9e1ba70184c480348304b93b4182d1df | 101 | py | Python | src/cqparts_misc/basic/__init__.py | luzpaz/cqparts | 6bcc153c33ea1ac929102fe2e1a5418131af0c4e | [
"Apache-2.0"
] | 69 | 2018-10-29T06:42:14.000Z | 2022-03-18T09:20:11.000Z | src/cqparts_misc/basic/__init__.py | luzpaz/cqparts | 6bcc153c33ea1ac929102fe2e1a5418131af0c4e | [
"Apache-2.0"
] | 112 | 2017-10-05T12:32:54.000Z | 2018-10-27T06:45:18.000Z | src/cqparts_misc/basic/__init__.py | luzpaz/cqparts | 6bcc153c33ea1ac929102fe2e1a5418131af0c4e | [
"Apache-2.0"
] | 14 | 2018-11-16T12:13:02.000Z | 2022-03-15T22:32:34.000Z | __all__ = [
'indicators',
'primatives',
]
from . import indicators
from . import primatives
| 12.625 | 24 | 0.663366 | 9 | 101 | 7 | 0.555556 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227723 | 101 | 7 | 25 | 14.428571 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3bb3a49775021023b8cde18091856c610b282075 | 307 | py | Python | mmdet/models/bbox_heads/__init__.py | Nitin-Mane/MMDET | 7410b25f27c200719482955cb4a8a1c381e67e04 | [
"Apache-2.0"
] | 2 | 2019-10-15T09:42:33.000Z | 2020-02-05T11:37:09.000Z | mmdet/models/bbox_heads/__init__.py | Nitin-Mane/MMDET | 7410b25f27c200719482955cb4a8a1c381e67e04 | [
"Apache-2.0"
] | null | null | null | mmdet/models/bbox_heads/__init__.py | Nitin-Mane/MMDET | 7410b25f27c200719482955cb4a8a1c381e67e04 | [
"Apache-2.0"
] | 1 | 2020-07-31T18:42:13.000Z | 2020-07-31T18:42:13.000Z | from .bbox_head import BBoxHead
from .convfc_bbox_head import ConvFCBBoxHead, SharedFCBBoxHead
from .double_bbox_head import DoubleConvFCBBoxHead
from .avepool2d_bbox_head import Avepool2dBoxHead
__all__ = [
'BBoxHead', 'ConvFCBBoxHead', 'SharedFCBBoxHead', 'DoubleConvFCBBoxHead','Avepool2dBoxHead'
]
| 34.111111 | 95 | 0.830619 | 30 | 307 | 8.133333 | 0.433333 | 0.131148 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01083 | 0.09772 | 307 | 8 | 96 | 38.375 | 0.870036 | 0 | 0 | 0 | 0 | 0 | 0.241042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3bcc1c43dbd53a38d8ed6bc941490a1bd1f59dd8 | 212 | py | Python | tlxzoo/datasets/__init__.py | tensorlayer/TLXZoo | 8747c090825a6c0f6cd9239b281bfe56852fe2fb | [
"Apache-2.0"
] | 11 | 2022-01-14T07:31:10.000Z | 2022-01-26T08:36:51.000Z | tlxzoo/datasets/__init__.py | tensorlayer/TLXZoo | 8747c090825a6c0f6cd9239b281bfe56852fe2fb | [
"Apache-2.0"
] | null | null | null | tlxzoo/datasets/__init__.py | tensorlayer/TLXZoo | 8747c090825a6c0f6cd9239b281bfe56852fe2fb | [
"Apache-2.0"
] | 6 | 2022-01-20T10:15:51.000Z | 2022-01-25T04:58:41.000Z | from .cifar10 import *
from .data_loader import *
from .circles import *
from .coco import *
from .wider import *
from .libri_speech import *
from .sst2 import *
from .conll2003 import *
from .synth90k import *
| 19.272727 | 27 | 0.740566 | 29 | 212 | 5.344828 | 0.448276 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051429 | 0.174528 | 212 | 10 | 28 | 21.2 | 0.834286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3be8c8dd01216352a129dca639e86777254725bb | 652 | py | Python | music/models.py | Ragh2018/website | f797ccd4412b4335f5ee45484159cec459492da3 | [
"MIT"
] | null | null | null | music/models.py | Ragh2018/website | f797ccd4412b4335f5ee45484159cec459492da3 | [
"MIT"
] | null | null | null | music/models.py | Ragh2018/website | f797ccd4412b4335f5ee45484159cec459492da3 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
class Album(models.Model):
artist = models.CharField(max_length=100)
album_title=models.CharField(max_length=200)
genre = models.CharField(max_length=50)
album_logo=models.CharField(max_length=200)
def __str__(self):
ret... | 31.047619 | 61 | 0.745399 | 88 | 652 | 5.215909 | 0.431818 | 0.196078 | 0.235294 | 0.313725 | 0.285403 | 0.139434 | 0 | 0 | 0 | 0 | 0 | 0.029038 | 0.154908 | 652 | 21 | 62 | 31.047619 | 0.803993 | 0 | 0 | 0.125 | 0 | 0 | 0.004594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
020b3395d5987026581cc01cac3a4027f8c79c55 | 261 | py | Python | Mundo_1/2_Operadores_Aritmeticos/5Exerc_SucessorAntecessor.py | MadsonFranca/100Exercicios_Python_by_Curso_em_Video_Prof_GustavoGuanabara | ede1ec1a0536d8514011bd968899388f06529468 | [
"MIT"
] | null | null | null | Mundo_1/2_Operadores_Aritmeticos/5Exerc_SucessorAntecessor.py | MadsonFranca/100Exercicios_Python_by_Curso_em_Video_Prof_GustavoGuanabara | ede1ec1a0536d8514011bd968899388f06529468 | [
"MIT"
] | null | null | null | Mundo_1/2_Operadores_Aritmeticos/5Exerc_SucessorAntecessor.py | MadsonFranca/100Exercicios_Python_by_Curso_em_Video_Prof_GustavoGuanabara | ede1ec1a0536d8514011bd968899388f06529468 | [
"MIT"
] | null | null | null | # 5) Faça um programa que leia um número inteiro e mostre na tela o seu sucessor e antecessor.
# Resolução do Exercício 5:
valor = int(input('Digite um número: '))
print(f'Analisando o valor {valor}, seu antecessor é {valor - 1} e o sucessor é {valor + 1}.') | 43.5 | 95 | 0.708812 | 45 | 261 | 4.111111 | 0.622222 | 0.086486 | 0.075676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.187739 | 261 | 6 | 96 | 43.5 | 0.853774 | 0.455939 | 0 | 0 | 0 | 0.5 | 0.728571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
020ced26825171f7b3262dabee3d3a19606e523a | 220 | py | Python | graphsaint/kgraphsaint/test.py | sandl99/Simple-KGCN-GraphSAINT | bb1a9e90b785315ecb501593a0ac19e6fafc2f28 | [
"MIT"
] | null | null | null | graphsaint/kgraphsaint/test.py | sandl99/Simple-KGCN-GraphSAINT | bb1a9e90b785315ecb501593a0ac19e6fafc2f28 | [
"MIT"
] | 1 | 2021-06-17T16:41:45.000Z | 2021-06-17T16:41:46.000Z | graphsaint/kgraphsaint/test.py | sandl99/Simple-KGCN-GraphSAINT | bb1a9e90b785315ecb501593a0ac19e6fafc2f28 | [
"MIT"
] | null | null | null | import torch
import torch
import scipy as sp
import numpy as np
import argparse
from graphsaint.kgraphsaint import loader
from graphsaint.graph_samplers import edge_sampling
import time
print(torch.cuda.is_available())
| 20 | 51 | 0.845455 | 33 | 220 | 5.545455 | 0.636364 | 0.120219 | 0.185792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 220 | 10 | 52 | 22 | 0.943299 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0.111111 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
02134213ee1eca9c30440b93fce70dbf3ccbe5ef | 3,326 | py | Python | src/wepy/resampling/distances/distance.py | edeustua/wepy | f1a2ef5c8cc368d5602c9d683983b3af69a48ce2 | [
"MIT"
] | 35 | 2017-08-22T15:39:06.000Z | 2022-03-20T15:17:52.000Z | src/wepy/resampling/distances/distance.py | edeustua/wepy | f1a2ef5c8cc368d5602c9d683983b3af69a48ce2 | [
"MIT"
] | 33 | 2017-10-02T22:04:45.000Z | 2022-03-02T22:19:08.000Z | src/wepy/resampling/distances/distance.py | stxinsite/wepy | 352d4c1316b20e839aae8824eedd66f0f2d0b456 | [
"MIT"
] | 17 | 2018-07-14T15:33:30.000Z | 2022-01-18T16:30:55.000Z | """Modular component for defining distance metrics usable within many
different resamplers.
This module contains an abstract base class for Distance classes.
The suggested implementation method is to leave the 'distance' method
as is, and override the 'image' and 'image_distance' methods
instead. Because the default ... | 27.94958 | 70 | 0.656043 | 419 | 3,326 | 5.145585 | 0.379475 | 0.036178 | 0.053803 | 0.030612 | 0.178571 | 0.129406 | 0.070501 | 0.070501 | 0 | 0 | 0 | 0.002896 | 0.273301 | 3,326 | 118 | 71 | 28.186441 | 0.889119 | 0.684305 | 0 | 0.222222 | 0 | 0 | 0.002797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.055556 | 0.111111 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
0234377996d5b5d211eebbd973badfe839f2b723 | 81,892 | py | Python | KMCLib/Backend/Backend.py | txd283/vacancy-diffusion-kmclib | 977c728c97aedd2eb21dc5222c372c0af68c7a7b | [
"MIT"
] | 1 | 2021-09-04T14:35:15.000Z | 2021-09-04T14:35:15.000Z | KMCLib/Backend/Backend.py | txd283/vacancy-diffusion-kmclib | 977c728c97aedd2eb21dc5222c372c0af68c7a7b | [
"MIT"
] | 1 | 2022-03-13T07:48:24.000Z | 2022-03-13T07:48:24.000Z | KMCLib/Backend/Backend.py | txd283/vacancy-diffusion-kmclib | 977c728c97aedd2eb21dc5222c372c0af68c7a7b | [
"MIT"
] | 1 | 2020-05-20T01:17:51.000Z | 2020-05-20T01:17:51.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.5
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 32.626295 | 167 | 0.720437 | 8,477 | 81,892 | 6.409815 | 0.040934 | 0.140202 | 0.099805 | 0.041354 | 0.62892 | 0.522784 | 0.478283 | 0.38503 | 0.319806 | 0.192764 | 0 | 0.000457 | 0.198115 | 81,892 | 2,509 | 168 | 32.639299 | 0.826978 | 0.00359 | 0 | 0.43665 | 1 | 0 | 0.005601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.349103 | false | 0.001088 | 0.005438 | 0.330071 | 0.817292 | 0.001088 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
024a2334ce4a19fe2244840df3e8b054dcbdd976 | 287 | py | Python | sacn/__init__.py | BlakeGarner/sacn | 7eba57dc7177b3820c9d2f132512a91f70a76dcd | [
"MIT"
] | null | null | null | sacn/__init__.py | BlakeGarner/sacn | 7eba57dc7177b3820c9d2f132512a91f70a76dcd | [
"MIT"
] | null | null | null | sacn/__init__.py | BlakeGarner/sacn | 7eba57dc7177b3820c9d2f132512a91f70a76dcd | [
"MIT"
] | null | null | null | from sacn.receiver import sACNreceiver, LISTEN_ON_OPTIONS
from sacn.sender import sACNsender
from sacn.messages.data_packet import DataPacket
from sacn.messages.universe_discovery import UniverseDiscoveryPacket
import logging
logging.getLogger('sacn').addHandler(logging.NullHandler())
| 35.875 | 68 | 0.864111 | 35 | 287 | 6.971429 | 0.6 | 0.131148 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 287 | 7 | 69 | 41 | 0.917293 | 0 | 0 | 0 | 0 | 0 | 0.013937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
024a587d9cafb5d590fbac9cc7ae5b1411518289 | 84 | py | Python | api/run.py | Plutone11011/GameReqsAPI | d2b1c4d273a4e6fdfe578e529478e306bb5fef02 | [
"MIT"
] | 4 | 2020-06-23T15:49:24.000Z | 2021-09-29T08:02:24.000Z | api/run.py | Plutone11011/GameReqsAPI | d2b1c4d273a4e6fdfe578e529478e306bb5fef02 | [
"MIT"
] | 7 | 2020-06-23T14:43:50.000Z | 2020-07-01T07:20:48.000Z | api/run.py | Plutone11011/GameReqsAPI | d2b1c4d273a4e6fdfe578e529478e306bb5fef02 | [
"MIT"
] | 3 | 2020-06-23T15:05:21.000Z | 2022-03-30T05:25:34.000Z | from api import create_app
# this is needed for pythonanywhere
myapp = create_app() | 21 | 35 | 0.797619 | 13 | 84 | 5 | 0.846154 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 4 | 36 | 21 | 0.915493 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0254df71774bccedd2a062ea90ba4c00df5eda3a | 88 | py | Python | mod_sample/__init__.py | aadibajpai/sample-platform | 783a1506122c2819f1b95ee3ff1827d6aae37dfa | [
"ISC"
] | 28 | 2017-11-04T16:15:04.000Z | 2022-02-23T15:25:05.000Z | mod_sample/__init__.py | aadibajpai/sample-platform | 783a1506122c2819f1b95ee3ff1827d6aae37dfa | [
"ISC"
] | 503 | 2017-09-30T17:05:15.000Z | 2022-03-31T17:07:43.000Z | mod_sample/__init__.py | aadibajpai/sample-platform | 783a1506122c2819f1b95ee3ff1827d6aae37dfa | [
"ISC"
] | 89 | 2017-09-24T11:27:27.000Z | 2022-03-09T18:43:57.000Z | """Maintain logic, models, forms and parser related to samples and it's information."""
| 44 | 87 | 0.75 | 13 | 88 | 5.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 1 | 88 | 88 | 0.868421 | 0.920455 | 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 |
0269c5b64411422349a78cab1319d0ecf823dda0 | 34 | py | Python | venv/lib/python3.6/reprlib.py | bradjballard/personal_search_engine | 530c5224721a7d700ca0c7c78a513bbc81f05c38 | [
"NCSA"
] | null | null | null | venv/lib/python3.6/reprlib.py | bradjballard/personal_search_engine | 530c5224721a7d700ca0c7c78a513bbc81f05c38 | [
"NCSA"
] | null | null | null | venv/lib/python3.6/reprlib.py | bradjballard/personal_search_engine | 530c5224721a7d700ca0c7c78a513bbc81f05c38 | [
"NCSA"
] | null | null | null | /anaconda/lib/python3.6/reprlib.py | 34 | 34 | 0.823529 | 6 | 34 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 34 | 1 | 34 | 34 | 0.764706 | 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 |
02813e68707a445f4e80c0fd294c208f3a947664 | 4,612 | py | Python | openeo/capabilities.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | 1 | 2021-04-01T13:15:35.000Z | 2021-04-01T13:15:35.000Z | openeo/capabilities.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | null | null | null | openeo/capabilities.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | null | null | null | from abc import ABC
from distutils.version import LooseVersion
from typing import Union
class Capabilities(ABC):
"""Represents capabilities of a connection / back end."""
def __init__(self, data):
pass
def version(self):
""" Get openEO version. DEPRECATED: use api_version instead"""
... | 32.251748 | 100 | 0.638552 | 550 | 4,612 | 5.22 | 0.254545 | 0.050157 | 0.113201 | 0.071055 | 0.415186 | 0.354929 | 0.333682 | 0.221874 | 0.18565 | 0.114594 | 0 | 0.003488 | 0.25412 | 4,612 | 142 | 101 | 32.478873 | 0.831105 | 0.360147 | 0 | 0.096774 | 0 | 0 | 0.096577 | 0 | 0 | 0 | 0 | 0.007042 | 0 | 1 | 0.387097 | false | 0.096774 | 0.048387 | 0.112903 | 0.758065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
0287a940b8c497e756a821eceeb58c0d5ed07aa8 | 1,412 | py | Python | example.py | brianlich/sleepi | 08ad5f9b08afa8a8c844a6b4fa3208ba766e079c | [
"MIT"
] | null | null | null | example.py | brianlich/sleepi | 08ad5f9b08afa8a8c844a6b4fa3208ba766e079c | [
"MIT"
] | null | null | null | example.py | brianlich/sleepi | 08ad5f9b08afa8a8c844a6b4fa3208ba766e079c | [
"MIT"
] | null | null | null | import logging
from typing import List
from sleepi.sleepiq import SleepIQ
from aiohttp.client import ClientSession
import asyncio
async def main() -> None:
""" Create the session """
async with ClientSession() as websession:
api = SleepIQ('username', 'password', websession)
await api.login()
... | 41.529412 | 67 | 0.679178 | 174 | 1,412 | 5.241379 | 0.316092 | 0.166667 | 0.315789 | 0.219298 | 0.516447 | 0.330044 | 0.265351 | 0.100877 | 0.100877 | 0 | 0 | 0.00272 | 0.218839 | 1,412 | 33 | 68 | 42.787879 | 0.824116 | 0.558782 | 0 | 0 | 0 | 0 | 0.027682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.416667 | 0 | 0.416667 | 0.083333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
65faadcbbfa2eacf58f2308ef49a59eb5ba59ccf | 252 | py | Python | spacy_wrap/__init__.py | KennethEnevoldsen/spacy-wrap | f67dd595fa9c3b9c88910103c097692ee7a2d9e6 | [
"MIT"
] | 14 | 2022-01-30T20:45:36.000Z | 2022-03-28T06:29:10.000Z | spacy_wrap/__init__.py | KennethEnevoldsen/spacy-wrap | f67dd595fa9c3b9c88910103c097692ee7a2d9e6 | [
"MIT"
] | 9 | 2022-02-01T19:01:46.000Z | 2022-03-16T17:27:22.000Z | spacy_wrap/__init__.py | KennethEnevoldsen/spacy-wrap | f67dd595fa9c3b9c88910103c097692ee7a2d9e6 | [
"MIT"
] | null | null | null | from .architectures import create_ClassificationTransformerModel_v1
from .pipeline_component import (
make_classification_transformer,
ClassificationTransformer,
)
from .about import __documentation__, __download_url__, __title__, __version__
| 31.5 | 78 | 0.853175 | 22 | 252 | 8.772727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.107143 | 252 | 7 | 79 | 36 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5a1aa436b340d79209ad9cfc8294b9e75bc6717f | 145 | py | Python | mini_charge/forms.py | nerdfiles/jahjah_works | 5d7f26dc8001b5dcb0c20b85e6ed247c4c7a00da | [
"WTFPL"
] | null | null | null | mini_charge/forms.py | nerdfiles/jahjah_works | 5d7f26dc8001b5dcb0c20b85e6ed247c4c7a00da | [
"WTFPL"
] | null | null | null | mini_charge/forms.py | nerdfiles/jahjah_works | 5d7f26dc8001b5dcb0c20b85e6ed247c4c7a00da | [
"WTFPL"
] | null | null | null | # -*- coding: utf-8 -*-
from django import forms
class ChargeForm(forms.Form):
amount = forms.DecimalField(decimal_places=2, max_digits=7)
| 20.714286 | 63 | 0.717241 | 20 | 145 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.144828 | 145 | 6 | 64 | 24.166667 | 0.798387 | 0.144828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5a5ad5682d5c573e086f25449265c43119f313e6 | 191 | py | Python | sayhello/lambda_function.py | valluzzi/lambda_aws | a001543369b6eebf5f51b88b73f7842e25de10c7 | [
"MIT"
] | null | null | null | sayhello/lambda_function.py | valluzzi/lambda_aws | a001543369b6eebf5f51b88b73f7842e25de10c7 | [
"MIT"
] | null | null | null | sayhello/lambda_function.py | valluzzi/lambda_aws | a001543369b6eebf5f51b88b73f7842e25de10c7 | [
"MIT"
] | null | null | null | import json
import numpy as np
def lambda_handler(event, context):
# TODO implement
return {
'statusCode': 200,
'body': json.dumps('Hello from Valerio Again !')
}
| 21.222222 | 56 | 0.628272 | 23 | 191 | 5.173913 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0.267016 | 191 | 8 | 57 | 23.875 | 0.828571 | 0.073298 | 0 | 0 | 0 | 0 | 0.228571 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
5a7af613d6c31b2b266cf933e7203562eeeebb2f | 236 | py | Python | api/dbConnections/__init__.py | LeiSoft/CueObserve | cc5254df7d0cb817a8b3ec427f5cb54a1d420f7e | [
"Apache-2.0"
] | 149 | 2021-07-16T13:37:30.000Z | 2022-03-21T10:13:15.000Z | api/dbConnections/__init__.py | LeiSoft/CueObserve | cc5254df7d0cb817a8b3ec427f5cb54a1d420f7e | [
"Apache-2.0"
] | 61 | 2021-07-15T06:39:05.000Z | 2021-12-27T06:58:10.000Z | api/dbConnections/__init__.py | LeiSoft/CueObserve | cc5254df7d0cb817a8b3ec427f5cb54a1d420f7e | [
"Apache-2.0"
] | 22 | 2021-07-19T07:20:49.000Z | 2022-03-21T10:13:16.000Z | from .bigquery import BigQuery
from .redshift import Redshift
from .snowflake import Snowflake
from .druid import Druid
from .mysql import MySQL
from .postgres import Postgres
from .mssql import MSSQL
from .clickhouse import ClickHouse
| 26.222222 | 34 | 0.830508 | 32 | 236 | 6.125 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 236 | 8 | 35 | 29.5 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ce566868e997d913e3f933c1a4e26dc378e1be1d | 129 | py | Python | tests/integration/cli/data/projects/script/scripts/deploy.py | miohtama/ape | 622deb25076d33de0edb3a23449ccdc04c3288cd | [
"Apache-2.0"
] | 210 | 2021-04-29T05:42:42.000Z | 2022-03-31T15:50:17.000Z | tests/integration/cli/data/projects/script/scripts/deploy.py | miohtama/ape | 622deb25076d33de0edb3a23449ccdc04c3288cd | [
"Apache-2.0"
] | 370 | 2021-04-29T01:54:32.000Z | 2022-03-31T19:19:29.000Z | tests/integration/cli/data/projects/script/scripts/deploy.py | miohtama/ape | 622deb25076d33de0edb3a23449ccdc04c3288cd | [
"Apache-2.0"
] | 25 | 2021-04-29T05:08:50.000Z | 2022-03-11T20:43:56.000Z | from ape import networks
def main():
assert networks.active_provider.name == "test"
print("Script ran!") # noqa: T001
| 18.428571 | 50 | 0.674419 | 17 | 129 | 5.058824 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.20155 | 129 | 6 | 51 | 21.5 | 0.805825 | 0.077519 | 0 | 0 | 0 | 0 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ce5d04b1043ff6901ea6043fabab954525b7a028 | 45 | py | Python | bottle_api_json_formatting/test/__init__.py | yadutaf/bottle-api-json-formatting | a00b0ea186c4672bd2b44fbb22ca87ceedbf438a | [
"MIT"
] | 1 | 2015-12-15T02:34:25.000Z | 2015-12-15T02:34:25.000Z | bottle_api_json_formatting/test/__init__.py | yadutaf/bottle-api-json-formatting | a00b0ea186c4672bd2b44fbb22ca87ceedbf438a | [
"MIT"
] | null | null | null | bottle_api_json_formatting/test/__init__.py | yadutaf/bottle-api-json-formatting | a00b0ea186c4672bd2b44fbb22ca87ceedbf438a | [
"MIT"
] | null | null | null | ''' Tests for bottle_api_json_formatting '''
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.775 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ce706f077b3c55cd2d1ea52f4fa56a358b7f26bc | 273 | py | Python | awssg/Parser_Interface.py | danilocgsilva/aws-sg | 76e3b7325f01e75e1364901e156c392ccb097ac5 | [
"MIT"
] | null | null | null | awssg/Parser_Interface.py | danilocgsilva/aws-sg | 76e3b7325f01e75e1364901e156c392ccb097ac5 | [
"MIT"
] | null | null | null | awssg/Parser_Interface.py | danilocgsilva/aws-sg | 76e3b7325f01e75e1364901e156c392ccb097ac5 | [
"MIT"
] | null | null | null | import abc
class Parser_Interface(abc.ABC):
@abc.abstractmethod
def set_string_data(self, data_string: str):
pass
@abc.abstractmethod
def set_data(self, data: dict):
pass
@abc.abstractclassmethod
def get_list(self):
pass
| 17.0625 | 48 | 0.652015 | 34 | 273 | 5.058824 | 0.5 | 0.069767 | 0.232558 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263736 | 273 | 15 | 49 | 18.2 | 0.855721 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ce7c77228259a93d152b9e41b929cff77aa3752e | 87 | py | Python | codes_auto/133.clone-graph.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/133.clone-graph.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/133.clone-graph.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=133 lang=python3
#
# [133] clone-graph
#
None
# @lc code=end | 12.428571 | 41 | 0.655172 | 15 | 87 | 3.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 0.16092 | 87 | 7 | 42 | 12.428571 | 0.684932 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cea30278481b71f9ec199704ebb3fc585a5f0a2f | 189 | py | Python | swampyer/exceptions.py | colinligertwood/python-swampyer | 6cb79622bd56f1b44d64210f8c568af5cf70742c | [
"MIT"
] | null | null | null | swampyer/exceptions.py | colinligertwood/python-swampyer | 6cb79622bd56f1b44d64210f8c568af5cf70742c | [
"MIT"
] | null | null | null | swampyer/exceptions.py | colinligertwood/python-swampyer | 6cb79622bd56f1b44d64210f8c568af5cf70742c | [
"MIT"
] | null | null | null |
class SwampyException(Exception):
pass
class ExWelcomeTimeout(SwampyException):
pass
class ExAbort(SwampyException):
pass
class ExInvocationError(SwampyException):
pass
| 14.538462 | 41 | 0.767196 | 16 | 189 | 9.0625 | 0.4375 | 0.186207 | 0.331034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169312 | 189 | 12 | 42 | 15.75 | 0.923567 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cebf1339f5cf771829aae05f6ffc7e2d7f288085 | 68 | py | Python | gym_mevea_single/tutorial_model/Scripts/check_sim.py | iku-work/mevea-gym-single | f2019ed4f9b50bb15d91eb35ebf204aada7f3d90 | [
"MIT"
] | 1 | 2021-02-25T13:43:58.000Z | 2021-02-25T13:43:58.000Z | gym_mevea_single/tutorial_model/Scripts/check_sim.py | dawierha/mevea-gym-single | ae7cd66046eb0c8091539509fa0aee2e35b0f532 | [
"MIT"
] | null | null | null | gym_mevea_single/tutorial_model/Scripts/check_sim.py | dawierha/mevea-gym-single | ae7cd66046eb0c8091539509fa0aee2e35b0f532 | [
"MIT"
] | 1 | 2020-10-06T09:17:00.000Z | 2020-10-06T09:17:00.000Z | import xmlreader
reader = xmlreader.XMLreader()
reader.read_xml() | 13.6 | 31 | 0.779412 | 8 | 68 | 6.5 | 0.625 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 5 | 32 | 13.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cec0955357f15ea1855fe22117fe77c711aaf733 | 5,908 | py | Python | Scikit-Learn/script2.py | goujonpa/tmp | 77f1f00af2885f8671d5b7233a199ffb79fb6c9a | [
"MIT"
] | null | null | null | Scikit-Learn/script2.py | goujonpa/tmp | 77f1f00af2885f8671d5b7233a199ffb79fb6c9a | [
"MIT"
] | null | null | null | Scikit-Learn/script2.py | goujonpa/tmp | 77f1f00af2885f8671d5b7233a199ffb79fb6c9a | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import matplotlib.font_manager
from sklearn import svm
df = sqlContext.read.format("org.apache.spark.sql.cassandra").options(table="basic_position", keyspace="ais_datas").load()
df.createOrReplaceTempView("vessels")
t = spark.sq... | 43.441176 | 160 | 0.643534 | 955 | 5,908 | 3.907853 | 0.170681 | 0.021436 | 0.034834 | 0.040193 | 0.77358 | 0.762862 | 0.73955 | 0.703108 | 0.685959 | 0.636924 | 0 | 0.038454 | 0.106466 | 5,908 | 135 | 161 | 43.762963 | 0.668498 | 0.184496 | 0 | 0.357143 | 0 | 0 | 0.149754 | 0.05648 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.059524 | 0 | 0.059524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cedce72e6e5e7cf8f5955984e29b347ace7bcb22 | 116 | py | Python | tests/utils.py | atztogo/parsevasp | c16cee80a08cfcdc4fa0fd30633ece750f541243 | [
"MIT"
] | 7 | 2020-01-11T04:22:06.000Z | 2021-12-13T17:46:56.000Z | tests/utils.py | atztogo/parsevasp | c16cee80a08cfcdc4fa0fd30633ece750f541243 | [
"MIT"
] | 73 | 2020-03-21T03:19:38.000Z | 2022-03-23T22:38:45.000Z | tests/utils.py | atztogo/parsevasp | c16cee80a08cfcdc4fa0fd30633ece750f541243 | [
"MIT"
] | 8 | 2019-11-04T08:19:44.000Z | 2022-01-26T12:57:08.000Z | def isclose(a, b, rel_tol=1e-07, abs_tol=0.0):
return abs(a - b) <= max(rel_tol * max(abs(a), abs(b)), abs_tol)
| 38.666667 | 68 | 0.612069 | 26 | 116 | 2.576923 | 0.461538 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0.163793 | 116 | 2 | 69 | 58 | 0.639175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
0c85406e4419019c4ed6f5a2d30f6754197b853e | 20,482 | py | Python | branches/beta1/nltk-drt/src/test.py | napsternxg/nltk-drt | 71a1218847b5bcc623f72151d36cad8528ee2b19 | [
"Apache-2.0"
] | 1 | 2017-06-22T17:11:23.000Z | 2017-06-22T17:11:23.000Z | nltk-drt/src/test.py | napsternxg/nltk-drt | 71a1218847b5bcc623f72151d36cad8528ee2b19 | [
"Apache-2.0"
] | null | null | null | nltk-drt/src/test.py | napsternxg/nltk-drt | 71a1218847b5bcc623f72151d36cad8528ee2b19 | [
"Apache-2.0"
] | 3 | 2021-11-20T09:52:59.000Z | 2022-03-31T13:09:48.000Z | """
Test suit for the temporaldrt module
"""
__author__ = "Alex Kislev, Emma Li, Peter Makarov"
__version__ = "1.0"
__date__ = "Tue, 24 Aug 2010"
from util import Tester
from wntemporaldrt import DrtParser
#background knowledge
BK = {
'earlier' : r'all x y z.(earlier(x,y) & earlier(y,z) -> earlier(x,z)) & all x y... | 78.475096 | 1,059 | 0.584123 | 3,822 | 20,482 | 3.118524 | 0.082679 | 0.052353 | 0.025254 | 0.027519 | 0.512879 | 0.469922 | 0.421092 | 0.350365 | 0.292306 | 0.257152 | 0 | 0.092718 | 0.136412 | 20,482 | 260 | 1,060 | 78.776923 | 0.581128 | 0.011718 | 0 | 0.042857 | 0 | 0.521429 | 0.836982 | 0.170795 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.014286 | null | null | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c93609459080c76fdcb829c3b262bc2d1ec7288 | 221 | py | Python | sokoban/map_entities/random_monster.py | JacobChen258/AI-Markov-Probability | 909696597850e746e1cd7eef06df4aee0ce67ef2 | [
"MIT"
] | null | null | null | sokoban/map_entities/random_monster.py | JacobChen258/AI-Markov-Probability | 909696597850e746e1cd7eef06df4aee0ce67ef2 | [
"MIT"
] | null | null | null | sokoban/map_entities/random_monster.py | JacobChen258/AI-Markov-Probability | 909696597850e746e1cd7eef06df4aee0ce67ef2 | [
"MIT"
] | null | null | null | from .monster import Monster
from agents import RandomAgent
class RandomMonster(Monster, RandomAgent):
def __init__(self, row: int, col: int):
Monster.__init__(self, row, col)
RandomAgent.__init__(self, self)
| 24.555556 | 42 | 0.751131 | 28 | 221 | 5.5 | 0.464286 | 0.155844 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 221 | 8 | 43 | 27.625 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0cc61c9d1db35e2150af1a6ab8cf76ab92b94c98 | 145 | py | Python | paytrailpayments/__init__.py | haltu/hmlvaraus-backend | 181898f3c947298949adaf2156ad2d25da1e6002 | [
"MIT"
] | 1 | 2018-11-13T06:03:27.000Z | 2018-11-13T06:03:27.000Z | paytrailpayments/__init__.py | CityOfHameenlinna/hmlvaraus-backend | 181898f3c947298949adaf2156ad2d25da1e6002 | [
"MIT"
] | null | null | null | paytrailpayments/__init__.py | CityOfHameenlinna/hmlvaraus-backend | 181898f3c947298949adaf2156ad2d25da1e6002 | [
"MIT"
] | null | null | null | '''
This is a port of Verkkomaksut_Module_Rest.php for Paytrail Payments API.
Full API documentation can be found at http://docs.paytrail.com
''' | 36.25 | 73 | 0.77931 | 24 | 145 | 4.625 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 4 | 74 | 36.25 | 0.880952 | 0.944828 | 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 |
0cd0b141c66f6f614a0e9363c8381abff5d6ca0c | 237 | py | Python | dags/emr/core/common/utils/http/response.py | superoutput/airflow-data-analytics | dcd2280cc6e1448226540bfad3f11614353ea052 | [
"Apache-2.0"
] | null | null | null | dags/emr/core/common/utils/http/response.py | superoutput/airflow-data-analytics | dcd2280cc6e1448226540bfad3f11614353ea052 | [
"Apache-2.0"
] | null | null | null | dags/emr/core/common/utils/http/response.py | superoutput/airflow-data-analytics | dcd2280cc6e1448226540bfad3f11614353ea052 | [
"Apache-2.0"
] | null | null | null | class Response:
def __init__(self, message=None, data=None):
self.message = message
self.data = data
def build(self):
return {
"message": self.message,
"data": self.data
}
| 21.545455 | 48 | 0.527426 | 25 | 237 | 4.84 | 0.4 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.362869 | 237 | 10 | 49 | 23.7 | 0.801325 | 0 | 0 | 0 | 0 | 0 | 0.046414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.444444 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
0cf7086de20ed850848ab7c91240443f4d985f03 | 66 | py | Python | XORcipher/andy_test.py | liuxthu/Python | de9093ed23cd2e1b416142471aac432720e47d7c | [
"MIT"
] | null | null | null | XORcipher/andy_test.py | liuxthu/Python | de9093ed23cd2e1b416142471aac432720e47d7c | [
"MIT"
] | null | null | null | XORcipher/andy_test.py | liuxthu/Python | de9093ed23cd2e1b416142471aac432720e47d7c | [
"MIT"
] | null | null | null | #this is my first test, so far ,i havenot know how to calcauate it | 66 | 66 | 0.757576 | 14 | 66 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 1 | 66 | 66 | 0.943396 | 0.984848 | 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 |
0b29d6be5856d81b91fb2e330778e2944131a962 | 231 | py | Python | mysite/__init__.py | axju/django-setup-demo | f7e94b15792d706fe36b47cd3936070bb5dd3389 | [
"MIT"
] | 1 | 2019-10-24T14:19:59.000Z | 2019-10-24T14:19:59.000Z | mysite/__init__.py | axju/django-setup-demo | f7e94b15792d706fe36b47cd3936070bb5dd3389 | [
"MIT"
] | null | null | null | mysite/__init__.py | axju/django-setup-demo | f7e94b15792d706fe36b47cd3936070bb5dd3389 | [
"MIT"
] | null | null | null | from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution(__name__).version
except BaseException:
__version__ = 'unknown'
finally:
del get_distribution, DistributionNotFound
| 23.1 | 64 | 0.809524 | 22 | 231 | 7.772727 | 0.681818 | 0.263158 | 0.409357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138528 | 231 | 9 | 65 | 25.666667 | 0.859296 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 |
0b2e34e9adce9329f8d8e1064f74b4bb7ad8432d | 364 | py | Python | mosaik_powerfactory/__init__.py | hesstobi/mosaik-powerfactory | 31d122592f9d769d955943d9ff5a9fd003f7198c | [
"MIT"
] | 9 | 2016-08-25T16:35:12.000Z | 2022-03-08T02:49:04.000Z | mosaik_powerfactory/__init__.py | hesstobi/mosaik-powerfactory | 31d122592f9d769d955943d9ff5a9fd003f7198c | [
"MIT"
] | 2 | 2018-05-23T13:00:11.000Z | 2018-10-25T10:42:46.000Z | mosaik_powerfactory/__init__.py | hesstobi/mosaik-powerfactory | 31d122592f9d769d955943d9ff5a9fd003f7198c | [
"MIT"
] | 8 | 2017-05-03T13:50:38.000Z | 2021-07-29T18:17:33.000Z |
from mosaik_powerfactory.simulator import PowerFactorySimulator
from mosaik_powerfactory.ldf_simulator import PowerFactoryLDFSimulator
from mosaik_powerfactory.rms_simulator import PowerFactoryRMSSimulator
import mosaik_powerfactory.mosaik_tools
#import mosaik_powerfactory.powerfactory_tools
__all__ = ['PowerFactor... | 33.090909 | 70 | 0.895604 | 33 | 364 | 9.484848 | 0.363636 | 0.28754 | 0.210863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 364 | 10 | 71 | 36.4 | 0.920588 | 0.123626 | 0 | 0 | 0 | 0 | 0.15142 | 0.15142 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0b4545ab302e6bb40d7a215d7b00410a219d673d | 11,410 | py | Python | cradmin_legacy/tests/views/test_roleselect.py | appressoas/cradmin_legacy | b9d024299333dd04c87c1031bd5be5778aa7f1f1 | [
"BSD-3-Clause"
] | null | null | null | cradmin_legacy/tests/views/test_roleselect.py | appressoas/cradmin_legacy | b9d024299333dd04c87c1031bd5be5778aa7f1f1 | [
"BSD-3-Clause"
] | 17 | 2018-03-07T15:52:42.000Z | 2022-03-12T01:07:06.000Z | cradmin_legacy/tests/views/test_roleselect.py | appressoas/cradmin_legacy | b9d024299333dd04c87c1031bd5be5778aa7f1f1 | [
"BSD-3-Clause"
] | 1 | 2018-07-23T22:13:45.000Z | 2018-07-23T22:13:45.000Z | from __future__ import unicode_literals
from builtins import range
from django.utils.html import format_html
import htmls
from cradmin_legacy.python2_compatibility import mock
from django.test import TestCase, RequestFactory
from mock_django.query import QuerySetMock
from cradmin_legacy.views.roleselect import RoleSel... | 48.14346 | 111 | 0.644522 | 1,142 | 11,410 | 6.174256 | 0.105079 | 0.165934 | 0.143526 | 0.039711 | 0.781875 | 0.761452 | 0.738193 | 0.70529 | 0.671961 | 0.671961 | 0 | 0.013399 | 0.267397 | 11,410 | 236 | 112 | 48.347458 | 0.830123 | 0.00482 | 0 | 0.663462 | 0 | 0 | 0.151603 | 0.10377 | 0 | 0 | 0 | 0 | 0.120192 | 1 | 0.048077 | false | 0 | 0.038462 | 0 | 0.110577 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0b815b1096f49c807c64987f08f5ef0c098f557f | 175 | py | Python | django_classified/apps.py | ethlock/django-classified | 353f88829b2a4991e1165b9e0a763ca48514e524 | [
"MIT"
] | null | null | null | django_classified/apps.py | ethlock/django-classified | 353f88829b2a4991e1165b9e0a763ca48514e524 | [
"MIT"
] | null | null | null | django_classified/apps.py | ethlock/django-classified | 353f88829b2a4991e1165b9e0a763ca48514e524 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from django.apps import AppConfig
class DjangoClassifiedConfig(AppConfig):
name = 'django_classified'
verbose_name = "Django Classified Ads"
| 19.444444 | 42 | 0.725714 | 19 | 175 | 6.578947 | 0.736842 | 0.16 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.165714 | 175 | 8 | 43 | 21.875 | 0.849315 | 0.114286 | 0 | 0 | 0 | 0 | 0.248366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0ba03ebdd83bfc9712eb2c59c71f67ddef1f4768 | 139 | py | Python | Windows-Linux/tests/check_rpg_png/rgb.py | CaioMadeira/Cryptosome | 8e9fe566d1c526ff6fc986931f04e0ec860ed376 | [
"MIT"
] | 2 | 2021-02-27T00:19:04.000Z | 2021-04-26T14:02:34.000Z | Windows-Linux/tests/check_rpg_png/rgb.py | CaioMadeira/Cryptosome | 8e9fe566d1c526ff6fc986931f04e0ec860ed376 | [
"MIT"
] | null | null | null | Windows-Linux/tests/check_rpg_png/rgb.py | CaioMadeira/Cryptosome | 8e9fe566d1c526ff6fc986931f04e0ec860ed376 | [
"MIT"
] | null | null | null | from PIL import Image
im = Image.open(r"C:\Users\caiom\Documents\GitHub\Cryptosome\static\img\logo_with_credits_tranps.png")
print(im.mode) | 46.333333 | 102 | 0.81295 | 24 | 139 | 4.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05036 | 139 | 3 | 103 | 46.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.585714 | 0.585714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0ba402593cf987d7f84b08b84a3a23f9ca35bddb | 449 | py | Python | discovery-infra/test_infra/utils/network_utils.py | trewest/assisted-test-infra | b3a93f1ad85f2fbe35d1c691796b598dde2a82bc | [
"Apache-2.0"
] | 27 | 2020-06-26T13:38:14.000Z | 2022-03-13T11:06:34.000Z | discovery-infra/test_infra/utils/network_utils.py | trewest/assisted-test-infra | b3a93f1ad85f2fbe35d1c691796b598dde2a82bc | [
"Apache-2.0"
] | 1,559 | 2020-06-27T15:36:37.000Z | 2022-03-31T22:58:50.000Z | discovery-infra/test_infra/utils/network_utils.py | trewest/assisted-test-infra | b3a93f1ad85f2fbe35d1c691796b598dde2a82bc | [
"Apache-2.0"
] | 83 | 2020-06-26T09:24:43.000Z | 2022-03-08T23:19:59.000Z | import ipaddress
from typing import List
def get_cidr_by_interface(interface: str) -> str:
return str(ipaddress.ip_interface(interface).network)
def any_interface_in_cidr(interfaces: List[str], cidr: str) -> bool:
network = ipaddress.ip_network(cidr)
return any(ipaddress.ip_interface(ifc).ip in network ... | 26.411765 | 79 | 0.766147 | 65 | 449 | 5.092308 | 0.307692 | 0.217523 | 0.181269 | 0.145015 | 0.374622 | 0.374622 | 0.374622 | 0.374622 | 0.374622 | 0.374622 | 0 | 0 | 0.135857 | 449 | 16 | 80 | 28.0625 | 0.853093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
0bb15e7452f43851a00a9dd17d228aeffc57c691 | 34 | py | Python | data/studio21_generated/interview/1609/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1609/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1609/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def sum_of_intervals(intervals):
| 17 | 32 | 0.823529 | 5 | 34 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 2 | 33 | 17 | 0.83871 | 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 |
0bb977dcdea45a4b8f16e61d9f668a2c86e0a447 | 75 | py | Python | Lab1/lab1_ej2.py | Hikubami/lab_numerico | ad84e40e61aea8ecdef1dca14c247539e0cd6fab | [
"Unlicense"
] | null | null | null | Lab1/lab1_ej2.py | Hikubami/lab_numerico | ad84e40e61aea8ecdef1dca14c247539e0cd6fab | [
"Unlicense"
] | null | null | null | Lab1/lab1_ej2.py | Hikubami/lab_numerico | ad84e40e61aea8ecdef1dca14c247539e0cd6fab | [
"Unlicense"
] | null | null | null | #Actividad 2
a=1+2**-53
print(a)
b=a-1
print(b)
a=1+2**-52
print(a)
b=a-1 | 7.5 | 12 | 0.586667 | 22 | 75 | 2 | 0.363636 | 0.181818 | 0.204545 | 0.363636 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 0.133333 | 75 | 10 | 13 | 7.5 | 0.507692 | 0.146667 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.