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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
880894f1b6b3e679b45fb98df7edcfc852e45f18 | 70 | py | Python | build/lib/sbmltopyode/__init__.py | AnabelSMRuggiero/sbmltoodepy | a299510a4d3dc501f3e700064ae0c77741d66ab2 | [
"BSD-3-Clause"
] | 2 | 2021-05-31T21:42:42.000Z | 2021-07-01T15:56:52.000Z | build/lib/sbmltopyode/__init__.py | AnabelSMRuggiero/sbmltoodepy | a299510a4d3dc501f3e700064ae0c77741d66ab2 | [
"BSD-3-Clause"
] | null | null | null | build/lib/sbmltopyode/__init__.py | AnabelSMRuggiero/sbmltoodepy | a299510a4d3dc501f3e700064ae0c77741d66ab2 | [
"BSD-3-Clause"
] | 1 | 2021-08-22T23:20:32.000Z | 2021-08-22T23:20:32.000Z | name = "sbmltopyode"
from .ParseAndGenerate import ParseAndCreateModel | 35 | 49 | 0.857143 | 6 | 70 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 2 | 49 | 35 | 0.9375 | 0 | 0 | 0 | 1 | 0 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7153ec1521d66924e8c61e3e4bc733f442eb9d49 | 1,084 | py | Python | skrf/vi/vna/__init__.py | Ttl/scikit-rf | 25243b32df59ae780495f4df8c9c45a3c8eca8be | [
"BSD-3-Clause"
] | 7 | 2017-09-24T03:17:07.000Z | 2022-02-05T04:10:48.000Z | skrf/vi/vna/__init__.py | Ttl/scikit-rf | 25243b32df59ae780495f4df8c9c45a3c8eca8be | [
"BSD-3-Clause"
] | null | null | null | skrf/vi/vna/__init__.py | Ttl/scikit-rf | 25243b32df59ae780495f4df8c9c45a3c8eca8be | [
"BSD-3-Clause"
] | 2 | 2018-10-04T16:48:53.000Z | 2020-02-29T01:52:05.000Z | '''
.. module:: skrf.vi.vna
++++++++++++++++++++++++++++++++++++++++++++++++++++
Vector Network Analyzers (:mod:`skrf.vi.vna`)
++++++++++++++++++++++++++++++++++++++++++++++++++++
.. warning::
As of 2017.02 a new architecture for vna drivers is being implemented.
New VNA drivers
---------------
- VNA drivers wi... | 25.809524 | 120 | 0.635609 | 143 | 1,084 | 4.79021 | 0.552448 | 0.026277 | 0.039416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022148 | 0.166974 | 1,084 | 41 | 121 | 26.439024 | 0.736434 | 0.898524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
716ce05b4a7fb0c16e4c4586aebe32e79d3d6394 | 553 | py | Python | netlookup/bin/netlookup.py | hile/netlookup | d15409450d5c73293121dfb1cadade53373320dc | [
"PSF-2.0"
] | null | null | null | netlookup/bin/netlookup.py | hile/netlookup | d15409450d5c73293121dfb1cadade53373320dc | [
"PSF-2.0"
] | null | null | null | netlookup/bin/netlookup.py | hile/netlookup | d15409450d5c73293121dfb1cadade53373320dc | [
"PSF-2.0"
] | null | null | null |
from cli_toolkit.script import Script
from .commands.info import Info
from .commands.prefixes import PrefixLookup
from .commands.split import Split
from .commands.substract import Subtract
class NetLookup(Script):
"""
Netlookup CLI command
"""
def main():
"""
Main function for 'netlookup' CLI ... | 19.75 | 47 | 0.717902 | 64 | 553 | 6.125 | 0.34375 | 0.122449 | 0.193878 | 0.191327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18264 | 553 | 27 | 48 | 20.481481 | 0.867257 | 0.113924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.384615 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
717079cd523f55e7668bbb88068d8ae7b937ae2a | 2,266 | py | Python | indy_client/agent/agent_cli.py | sergeykupryushin/indy-node | 3162c5750e99af3512218d5843ba065c7d0f07db | [
"Apache-2.0"
] | 1 | 2018-07-05T19:34:29.000Z | 2018-07-05T19:34:29.000Z | indy_client/agent/agent_cli.py | sergeykupryushin/indy-node | 3162c5750e99af3512218d5843ba065c7d0f07db | [
"Apache-2.0"
] | null | null | null | indy_client/agent/agent_cli.py | sergeykupryushin/indy-node | 3162c5750e99af3512218d5843ba065c7d0f07db | [
"Apache-2.0"
] | 1 | 2021-06-06T15:48:30.000Z | 2021-06-06T15:48:30.000Z | from indy_client.cli.cli import IndyCli
class AgentCli(IndyCli):
def __init__(self, name=None, agentCreator=None, *args, **kwargs):
if name is not None:
self.name = name
init_agent = kwargs.get('agent', None)
if 'agent' in kwargs:
kwargs.pop('agent')
super... | 29.815789 | 79 | 0.615622 | 230 | 2,266 | 5.917391 | 0.413043 | 0.051433 | 0.041146 | 0.055841 | 0.051433 | 0.051433 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298764 | 2,266 | 75 | 80 | 30.213333 | 0.856514 | 0.088261 | 0 | 0.153846 | 0 | 0 | 0.027656 | 0 | 0 | 0 | 0 | 0.013333 | 0 | 1 | 0.269231 | false | 0.057692 | 0.019231 | 0.134615 | 0.480769 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
7177be921ee4c884ebe77a3ca607e3e7bd498f12 | 247 | py | Python | api/test/base.py | tracykteal/amy | cb19e318d36b880b1c3be2104efff42ef776118a | [
"MIT"
] | 1 | 2015-04-03T20:26:56.000Z | 2015-04-03T20:26:56.000Z | api/test/base.py | tracykteal/amy | cb19e318d36b880b1c3be2104efff42ef776118a | [
"MIT"
] | null | null | null | api/test/base.py | tracykteal/amy | cb19e318d36b880b1c3be2104efff42ef776118a | [
"MIT"
] | null | null | null | from rest_framework.test import APITestCase
from workshops.test.base import DummySubTestWhenTestsLaunchedInParallelMixin
class APITestBase(DummySubTestWhenTestsLaunchedInParallelMixin, APITestCase):
"""Base class for AMY API test cases."""
| 30.875 | 77 | 0.842105 | 23 | 247 | 9 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101215 | 247 | 7 | 78 | 35.285714 | 0.932432 | 0.137652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 |
7181c69917bb3d4b6f5b978779b10a6d95a7c5e5 | 1,323 | gyp | Python | ui/webui/resources/cr_elements/chromeos/cr_picture/compiled_resources2.gyp | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ui/webui/resources/cr_elements/chromeos/cr_picture/compiled_resources2.gyp | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ui/webui/resources/cr_elements/chromeos/cr_picture/compiled_resources2.gyp | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | # Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'dependencies': [ 'cr_png_behavior' ],
'target_name': 'cr_camera',
'includes': ['../../../../../../third_party/closur... | 33.075 | 126 | 0.589569 | 138 | 1,323 | 5.333333 | 0.449275 | 0.081522 | 0.081522 | 0.169837 | 0.509511 | 0.509511 | 0.509511 | 0.509511 | 0.445652 | 0.285326 | 0 | 0.012369 | 0.205593 | 1,323 | 39 | 127 | 33.923077 | 0.687916 | 0.117158 | 0 | 0.388889 | 0 | 0.027778 | 0.674399 | 0.421821 | 0 | 0 | 0 | 0 | 0.027778 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7188055698c1ded4d7e3d9a37e737bf647efe780 | 97 | py | Python | ozone-framework-python-server/config/owf_utils/transformer/django/__init__.py | aamduka/ozone | 3fdbf232f5ea70661204a632e45310ca9d374973 | [
"Apache-2.0"
] | 6 | 2020-02-21T22:06:31.000Z | 2020-12-08T10:48:07.000Z | ozone-framework-python-server/config/owf_utils/transformer/django/__init__.py | aamduka/ozone | 3fdbf232f5ea70661204a632e45310ca9d374973 | [
"Apache-2.0"
] | 12 | 2019-12-26T17:38:40.000Z | 2022-02-10T14:15:55.000Z | ozone-framework-python-server/config/owf_utils/transformer/django/__init__.py | aamduka/ozone | 3fdbf232f5ea70661204a632e45310ca9d374973 | [
"Apache-2.0"
] | 4 | 2019-08-05T13:22:29.000Z | 2021-07-21T16:04:03.000Z | from .middleware import OwfCaseTransformerMiddleware
__all__ = ['OwfCaseTransformerMiddleware']
| 24.25 | 52 | 0.85567 | 6 | 97 | 13.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 3 | 53 | 32.333333 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0.28866 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
719910f71bd4f79e1b07cba712cc4e2c16d7ea31 | 96 | py | Python | run.py | asanoryu/dev_bg_neo4j_flask | c06883b6c136c47868c2597880cb85689e4f7a5b | [
"MIT"
] | null | null | null | run.py | asanoryu/dev_bg_neo4j_flask | c06883b6c136c47868c2597880cb85689e4f7a5b | [
"MIT"
] | null | null | null | run.py | asanoryu/dev_bg_neo4j_flask | c06883b6c136c47868c2597880cb85689e4f7a5b | [
"MIT"
] | null | null | null | import os
from app import app
app.secret_key = os.urandom(24)
app.run("0.0.0.0", debug=True)
| 12 | 31 | 0.697917 | 20 | 96 | 3.3 | 0.6 | 0.090909 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.145833 | 96 | 7 | 32 | 13.714286 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 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 |
71c7e28d0f7790a114df9f9d3248417f351d5663 | 66 | py | Python | backend/anonymizer/data/__init__.py | mnieber/lindyscience | 468160aa6da42f45d8c37a2141a077a48410f81d | [
"MIT"
] | null | null | null | backend/anonymizer/data/__init__.py | mnieber/lindyscience | 468160aa6da42f45d8c37a2141a077a48410f81d | [
"MIT"
] | 21 | 2020-02-11T23:50:05.000Z | 2022-02-27T17:44:29.000Z | backend/anonymizer/data/__init__.py | mnieber/lindyscience | 468160aa6da42f45d8c37a2141a077a48410f81d | [
"MIT"
] | null | null | null | from .companies import companies
from .countries import countries
| 22 | 32 | 0.848485 | 8 | 66 | 7 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
71cc1a1d7bfe98924b44af125b9a722879673b0c | 81 | py | Python | manga_db/exceptions.py | nilfoer/mangadb | 860d7de310002735631ea26810b4df5b6bc08d7b | [
"MIT"
] | 3 | 2021-01-14T16:22:41.000Z | 2022-02-21T03:31:22.000Z | manga_db/exceptions.py | nilfoer/mangadb | 860d7de310002735631ea26810b4df5b6bc08d7b | [
"MIT"
] | 13 | 2021-01-14T10:34:19.000Z | 2021-05-20T08:47:54.000Z | manga_db/exceptions.py | nilfoer/mangadb | 860d7de310002735631ea26810b4df5b6bc08d7b | [
"MIT"
] | 1 | 2022-02-24T03:10:04.000Z | 2022-02-24T03:10:04.000Z | class MangaDBException(Exception):
"""Base exception for MangaDB"""
pass
| 20.25 | 36 | 0.703704 | 8 | 81 | 7.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 3 | 37 | 27 | 0.863636 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
71cecb675d6fad11abf48dc7046ca26c843f7f6f | 148 | py | Python | python/demo_queries/taxonomy/list_sections.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | null | null | null | python/demo_queries/taxonomy/list_sections.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | 6 | 2020-01-30T16:52:47.000Z | 2021-06-02T00:59:48.000Z | python/demo_queries/taxonomy/list_sections.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | null | null | null | from src.query import *
if __name__ == '__main__':
ask_query("[[Taxon family::Asteraceae]][[Taxon rank::section]]", "asteraceae_sections.csv")
| 29.6 | 95 | 0.702703 | 18 | 148 | 5.222222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 4 | 96 | 37 | 0.717557 | 0 | 0 | 0 | 0 | 0 | 0.554054 | 0.337838 | 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 |
e094445789367eb4b7f6eb446d94647f4a29ca4d | 151 | py | Python | nbopen/config.py | y-marui/nbopen | c35ba0a5d9ee21926d44658599803d7a98b7f642 | [
"BSD-3-Clause"
] | 2 | 2022-01-20T16:58:44.000Z | 2022-03-12T00:39:42.000Z | nbopen/config.py | y-marui/nbopen | c35ba0a5d9ee21926d44658599803d7a98b7f642 | [
"BSD-3-Clause"
] | null | null | null | nbopen/config.py | y-marui/nbopen | c35ba0a5d9ee21926d44658599803d7a98b7f642 | [
"BSD-3-Clause"
] | null | null | null | """Default config file."""
from nbopen import c
# Main
c.Opener.mode = "notebook" # notebook or lab
c.Opener.timeout = 10 # time to wait for server
| 21.571429 | 48 | 0.695364 | 24 | 151 | 4.375 | 0.833333 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.18543 | 151 | 6 | 49 | 25.166667 | 0.837398 | 0.437086 | 0 | 0 | 0 | 0 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0ca3d6292d450ca6aa017ed2ab0c0d41cbc2f23 | 39 | py | Python | code/abc095_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc095_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc095_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | S = input()
print(700+100*S.count("o")) | 19.5 | 27 | 0.615385 | 8 | 39 | 3 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.076923 | 39 | 2 | 27 | 19.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e0f060c86ebc8a0015e8dc43bc59599f8d31ea9e | 195 | py | Python | soccer_pycontrol/src/soccer_pycontrol/utils.py | utra-robosoccer/soccerbot | f5e95b00356e42cdd143ab26f67f23c9cd8afd5a | [
"BSD-3-Clause"
] | 56 | 2016-12-25T22:29:00.000Z | 2022-01-06T04:42:00.000Z | soccer_pycontrol/src/soccer_pycontrol/utils.py | utra-robosoccer/soccerbot | f5e95b00356e42cdd143ab26f67f23c9cd8afd5a | [
"BSD-3-Clause"
] | 244 | 2021-04-05T03:22:25.000Z | 2022-03-31T16:47:36.000Z | soccer_pycontrol/src/soccer_pycontrol/utils.py | utra-robosoccer/soccerbot | f5e95b00356e42cdd143ab26f67f23c9cd8afd5a | [
"BSD-3-Clause"
] | 7 | 2017-01-24T23:38:07.000Z | 2022-01-19T16:58:08.000Z | import numpy as np
def wrapTo2Pi(num: float) -> float:
rem = num % (2 * np.pi)
return rem
def wrapToPi(num: float) -> float:
rem = (num + np.pi) % (2 * np.pi) - np.pi
return rem | 21.666667 | 45 | 0.574359 | 32 | 195 | 3.5 | 0.40625 | 0.142857 | 0.232143 | 0.285714 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021127 | 0.271795 | 195 | 9 | 46 | 21.666667 | 0.767606 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4605d4b336fe8fea2a70bf0be7ad401dc4d48f20 | 258 | py | Python | facet/serializer/null.py | edponce/FACET | 0dca2d728813a4865e72b2e8fd6b114a0c63d5b0 | [
"MIT"
] | 2 | 2020-10-16T19:27:21.000Z | 2021-11-04T15:06:54.000Z | facet/serializer/null.py | edponce/FACET | 0dca2d728813a4865e72b2e8fd6b114a0c63d5b0 | [
"MIT"
] | 24 | 2020-07-13T01:49:36.000Z | 2020-10-30T21:54:00.000Z | facet/serializer/null.py | edponce/FACET | 0dca2d728813a4865e72b2e8fd6b114a0c63d5b0 | [
"MIT"
] | null | null | null | from .base import BaseSerializer
__all__ = ['NullSerializer']
class NullSerializer(BaseSerializer):
"""Dummy serializer with no effect."""
NAME = 'null'
def dumps(self, obj):
return obj
def loads(self, obj):
return obj
| 15.176471 | 42 | 0.639535 | 28 | 258 | 5.75 | 0.714286 | 0.086957 | 0.161491 | 0.198758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 258 | 16 | 43 | 16.125 | 0.838542 | 0.124031 | 0 | 0.25 | 0 | 0 | 0.081818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
4607884ba8d103b348745092d4859116428de941 | 272 | py | Python | playground/fsdet/voc/split1/retentive_rcnn/10shot/dataset/__init__.py | Megvii-BaseDetection/GFSD | 78c0a938d794584f44d60afab66debd43773d4f7 | [
"Apache-2.0"
] | 23 | 2021-06-25T05:34:31.000Z | 2022-02-08T03:32:00.000Z | playground/fsdet/voc/split1/retentive_rcnn/10shot/dataset/__init__.py | Megvii-BaseDetection/GFSD | 78c0a938d794584f44d60afab66debd43773d4f7 | [
"Apache-2.0"
] | 6 | 2021-06-30T13:10:21.000Z | 2021-11-04T13:26:39.000Z | playground/fsdet/voc/split1/retentive_rcnn/1shot/dataset/__init__.py | Megvii-BaseDetection/GFSD | 78c0a938d794584f44d60afab66debd43773d4f7 | [
"Apache-2.0"
] | 1 | 2021-10-12T11:58:14.000Z | 2021-10-12T11:58:14.000Z | from .dataset import VOCFewShotDataset
from .evaluator import PascalVOCFewShotDetectionEvaluator
from .paths_route import _PREDEFINED_SPLITS_VOC_FEWSHOT
__all__ = [
"VOCFewShotDataset",
"PascalVOCFewShotDetectionEvaluator",
"_PREDEFINED_SPLITS_VOC_FEWSHOT"
]
| 27.2 | 57 | 0.830882 | 23 | 272 | 9.26087 | 0.565217 | 0.150235 | 0.178404 | 0.244131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 272 | 9 | 58 | 30.222222 | 0.8875 | 0 | 0 | 0 | 0 | 0 | 0.297794 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
461add72d9783305075e3c75e5f71a4bd009ece7 | 203 | py | Python | pgweb/profserv/struct.py | WeilerWebServices/PostgreSQL | ae594ed077bebbad1be3c1d95c38b7c2c2683e8c | [
"PostgreSQL"
] | null | null | null | pgweb/profserv/struct.py | WeilerWebServices/PostgreSQL | ae594ed077bebbad1be3c1d95c38b7c2c2683e8c | [
"PostgreSQL"
] | null | null | null | pgweb/profserv/struct.py | WeilerWebServices/PostgreSQL | ae594ed077bebbad1be3c1d95c38b7c2c2683e8c | [
"PostgreSQL"
] | null | null | null | from .views import regions
def get_struct():
for key, name in regions:
yield ('support/professional_support/%s/' % key, None)
yield ('support/professional_hosting/%s/' % key, None)
| 25.375 | 62 | 0.660099 | 26 | 203 | 5.038462 | 0.653846 | 0.183206 | 0.366412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211823 | 203 | 7 | 63 | 29 | 0.81875 | 0 | 0 | 0 | 0 | 0 | 0.315271 | 0.315271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ccbc3c4e37c98f182e6b3eedb9ea81800bdaf3a | 203 | py | Python | setup.py | ksamuel/ayo | 891a08a274255d06c927ea719c4f07c7f9618402 | [
"MIT"
] | 32 | 2018-06-11T17:56:23.000Z | 2022-01-31T08:06:14.000Z | setup.py | ksamuel/ayo | 891a08a274255d06c927ea719c4f07c7f9618402 | [
"MIT"
] | 2 | 2018-08-09T00:10:50.000Z | 2021-11-01T10:44:59.000Z | setup.py | ksamuel/ayo | 891a08a274255d06c927ea719c4f07c7f9618402 | [
"MIT"
] | 1 | 2021-11-01T10:42:36.000Z | 2021-11-01T10:42:36.000Z | """
Install: python setup.py install
Dev mode: python setup.py develop
Test: pip install pytest && pytest tests
All the config is in setup.cfg
"""
import setuptools
setuptools.setup()
| 16.916667 | 44 | 0.689655 | 28 | 203 | 5 | 0.678571 | 0.157143 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226601 | 203 | 11 | 45 | 18.454545 | 0.89172 | 0.684729 | 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 | 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 |
1ce00bc6756494bdd5bc1ff64daea9ec09df024e | 180 | py | Python | scaife_viewer/reading/templatetags/reading.py | ryanfb/scaife-viewer | f226f2c7b01d823c991ecd7bcf8c575a483fd804 | [
"MIT"
] | 70 | 2018-01-16T19:00:48.000Z | 2021-12-22T02:04:52.000Z | scaife_viewer/reading/templatetags/reading.py | ryanfb/scaife-viewer | f226f2c7b01d823c991ecd7bcf8c575a483fd804 | [
"MIT"
] | 246 | 2018-01-19T17:45:52.000Z | 2022-03-18T19:36:58.000Z | scaife_viewer/reading/templatetags/reading.py | ryanfb/scaife-viewer | f226f2c7b01d823c991ecd7bcf8c575a483fd804 | [
"MIT"
] | 15 | 2018-01-17T14:32:49.000Z | 2020-06-29T14:53:36.000Z | from django import template
from ..models import recent
register = template.Library()
@register.simple_tag
def recently_read_by(user, limit=5):
return recent(user, limit)
| 15 | 36 | 0.761111 | 25 | 180 | 5.36 | 0.72 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.15 | 180 | 11 | 37 | 16.363636 | 0.869281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
1ce11ebb02fcdd55a78c362e9da807dce862f007 | 1,064 | py | Python | test/test_modify_contact.py | peskov-av/python_training | 74e0b22ce22f1295733cc18b81393dbb4d1b105d | [
"Apache-2.0"
] | null | null | null | test/test_modify_contact.py | peskov-av/python_training | 74e0b22ce22f1295733cc18b81393dbb4d1b105d | [
"Apache-2.0"
] | null | null | null | test/test_modify_contact.py | peskov-av/python_training | 74e0b22ce22f1295733cc18b81393dbb4d1b105d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from model.contact import Contact
def test_modify_first_contact_username(app):
if app.contact.count() == 0:
app.contact.create(Contact(firstname="test"))
app.contact.modify_first_contact(Contact(firstname="New firstname"))
def test_modify_first_contact_lastname(app):
if a... | 35.466667 | 72 | 0.726504 | 143 | 1,064 | 5.195804 | 0.160839 | 0.201884 | 0.242261 | 0.121131 | 0.787349 | 0.619112 | 0.619112 | 0.619112 | 0.619112 | 0.619112 | 0 | 0.006501 | 0.132519 | 1,064 | 29 | 73 | 36.689655 | 0.798483 | 0.019737 | 0 | 0.47619 | 0 | 0 | 0.072046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.047619 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e8220dd18a79a2a9039695416c7ac4a10b599b9f | 422 | py | Python | project-euler/005.py | FrankKair/pygorithms | f405c6446a896efb693112ea6766939ce5dd5597 | [
"MIT"
] | 3 | 2018-01-09T01:15:12.000Z | 2020-07-14T07:45:52.000Z | project-euler/005.py | FrankKair/pygorithms | f405c6446a896efb693112ea6766939ce5dd5597 | [
"MIT"
] | null | null | null | project-euler/005.py | FrankKair/pygorithms | f405c6446a896efb693112ea6766939ce5dd5597 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from functools import reduce
def greatest_common_divisor(a, b):
while b:
a, b = b, a % b
return a
def least_common_multiple(a, b):
return a * b // greatest_common_divisor(a, b)
def lcm_of_sequence(seq):
return reduce(least_common_multiple, seq)
def solve():
ret... | 16.230769 | 49 | 0.663507 | 64 | 422 | 4.0625 | 0.484375 | 0.046154 | 0.161538 | 0.169231 | 0.176923 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.222749 | 422 | 25 | 50 | 16.88 | 0.780488 | 0.049763 | 0 | 0 | 0 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.214286 | 0.642857 | 0.071429 | 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 |
e823a2cdeb40450c767b1969cbe30369aa5a0599 | 66 | py | Python | egotrip.py | rodrixcornell/bin | 3d44a2dd8eaa4be4ea40daedbe37d8f99c8a30d3 | [
"MIT"
] | null | null | null | egotrip.py | rodrixcornell/bin | 3d44a2dd8eaa4be4ea40daedbe37d8f99c8a30d3 | [
"MIT"
] | null | null | null | egotrip.py | rodrixcornell/bin | 3d44a2dd8eaa4be4ea40daedbe37d8f99c8a30d3 | [
"MIT"
] | null | null | null | for i in range(100):
print 'Luciano '
print 'e seus Camargos'
| 16.5 | 23 | 0.666667 | 11 | 66 | 4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.227273 | 66 | 3 | 24 | 22 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0.348485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1c5490d2a8c3070bc0f37b712915f07171841140 | 62 | py | Python | languages/python/PythonTwo.py | PrabhuLoganathan/Language-Specific | f7bad8488514b9fc264f94231313de802e7c5096 | [
"BSD-3-Clause"
] | null | null | null | languages/python/PythonTwo.py | PrabhuLoganathan/Language-Specific | f7bad8488514b9fc264f94231313de802e7c5096 | [
"BSD-3-Clause"
] | null | null | null | languages/python/PythonTwo.py | PrabhuLoganathan/Language-Specific | f7bad8488514b9fc264f94231313de802e7c5096 | [
"BSD-3-Clause"
] | null | null | null | import subprocess
subprocess.call(["python","PythonOne.py"])
| 15.5 | 42 | 0.758065 | 7 | 62 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 3 | 43 | 20.666667 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0.295082 | 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 |
1c8bcad9278d87958fe18b9118381a06bbc5857d | 109 | py | Python | tests/app/models.py | Apkawa/pytest-ngrok | 04fbc28ab58b1b492b8d888720d7623dba7fe99f | [
"MIT"
] | 1 | 2021-11-08T04:38:36.000Z | 2021-11-08T04:38:36.000Z | tests/app/models.py | Apkawa/pytest-django-liveserver-ssl | 7145b9d25e459cc98b5ee055b032fa31b33dc3b9 | [
"MIT"
] | null | null | null | tests/app/models.py | Apkawa/pytest-django-liveserver-ssl | 7145b9d25e459cc98b5ee055b032fa31b33dc3b9 | [
"MIT"
] | 2 | 2020-11-04T08:09:43.000Z | 2020-11-06T08:32:51.000Z | from django.db import models
class ExampleModel(models.Model):
name = models.CharField(max_length=100)
| 18.166667 | 43 | 0.770642 | 15 | 109 | 5.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.137615 | 109 | 5 | 44 | 21.8 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1c8ec23ebdf4c321abac1d0f538c94d808ee6f2c | 254 | py | Python | frappe-bench/apps/erpnext/erpnext/stock/doctype/quality_inspection/test_quality_inspection.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/apps/erpnext/erpnext/stock/doctype/quality_inspection/test_quality_inspection.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/apps/erpnext/erpnext/stock/doctype/quality_inspection/test_quality_inspection.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
# test_records = frappe.get_test_records('Quality Inspection')
class TestQualityInspection(unittest.TestCase):
pass
| 23.090909 | 85 | 0.80315 | 31 | 254 | 6.483871 | 0.741935 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017937 | 0.122047 | 254 | 10 | 86 | 25.4 | 0.883408 | 0.629921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 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 |
98cc1c32d6223c4b3f21cd2f990f985f2a91fd29 | 413 | py | Python | COVID-Shopper/recommender/__init__.py | Cryliss/COVID-Shopper | 1d353b5e2af2242a3ed6eb8b1c40d80cb180655e | [
"MIT"
] | null | null | null | COVID-Shopper/recommender/__init__.py | Cryliss/COVID-Shopper | 1d353b5e2af2242a3ed6eb8b1c40d80cb180655e | [
"MIT"
] | 1 | 2020-07-11T20:48:13.000Z | 2020-07-11T20:48:13.000Z | COVID-Shopper/recommender/__init__.py | Cryliss/COVID-Shopper | 1d353b5e2af2242a3ed6eb8b1c40d80cb180655e | [
"MIT"
] | null | null | null | from .database import database
from .nearbysearch import nearbysearch
# Get the COVID-19 precautions for the store associated with the
# given plusCode is found in the database
def getPrecautions(plusCode):
return database(plusCode)
# Perform a nearby search for supermarkets near the users initially
# searched lo... | 31.769231 | 67 | 0.79661 | 54 | 413 | 6.092593 | 0.648148 | 0.042553 | 0.079027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.152542 | 413 | 12 | 68 | 34.416667 | 0.934286 | 0.450363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
98ce5b79f973d2725ac0e39c7e0291dbc6aa92b9 | 219 | py | Python | tilda/schemas/role.py | Veskor/backend-2 | e67053b696fd5d165f89b6dfd5c7e15902339ac1 | [
"BSD-2-Clause"
] | null | null | null | tilda/schemas/role.py | Veskor/backend-2 | e67053b696fd5d165f89b6dfd5c7e15902339ac1 | [
"BSD-2-Clause"
] | null | null | null | tilda/schemas/role.py | Veskor/backend-2 | e67053b696fd5d165f89b6dfd5c7e15902339ac1 | [
"BSD-2-Clause"
] | 2 | 2020-09-26T22:29:23.000Z | 2020-10-21T17:54:53.000Z | from freenit.schemas.role import RoleBaseSchema
from marshmallow import fields
class RoleSchema(RoleBaseSchema):
description = fields.String(description='Description')
name = fields.String(description='Name')
| 27.375 | 58 | 0.794521 | 23 | 219 | 7.565217 | 0.565217 | 0.137931 | 0.264368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118721 | 219 | 7 | 59 | 31.285714 | 0.901554 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
98d8b09229533f95753ac61c61ac2ce119230470 | 1,758 | py | Python | 2-seh-overflows/vulnserver-gmon/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | 2-seh-overflows/vulnserver-gmon/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | 2-seh-overflows/vulnserver-gmon/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from pwn import *
size = 5100
lpad = b'\x41' * 3515
nops = b'\x90' * 64
jump = b'\x90\x90\xeb\x06' # nop; nop; jmp 0x8;
island_hop = b'TXf\x05\xb0\x05\xff\xe0' # push esp; pop eax; add ax, 0x5b0; jmp eax;
# msfvenom -p windows/exec -b '\x00' -f py CMD=calc.exe EXITFUNC=seh
shell... | 39.066667 | 84 | 0.672924 | 353 | 1,758 | 3.342776 | 0.597734 | 0.144068 | 0.022034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218332 | 0.106371 | 1,758 | 44 | 85 | 39.954545 | 0.532782 | 0.097838 | 0 | 0 | 0 | 0.515152 | 0.60443 | 0.571519 | 0 | 0 | 0.006329 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.030303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98ea6495e469ca96d413f38dfd6e4f989a6d5651 | 330 | py | Python | src/blender_mqo/utils/__init__.py | nutti/bl-mqo | f651736cde2e46014c2f011349567284c3740fac | [
"MIT"
] | 24 | 2020-03-24T11:12:00.000Z | 2022-02-19T15:04:26.000Z | src/blender_mqo/utils/__init__.py | nutti/bl-mqo | f651736cde2e46014c2f011349567284c3740fac | [
"MIT"
] | 12 | 2019-10-10T01:35:22.000Z | 2022-03-31T06:36:05.000Z | src/blender_mqo/utils/__init__.py | nutti/bl-mqo | f651736cde2e46014c2f011349567284c3740fac | [
"MIT"
] | 4 | 2019-05-12T16:00:57.000Z | 2021-08-30T04:42:24.000Z | if "bpy" in locals():
import importlib
importlib.reload(mqo_file)
importlib.reload(addon_updater)
importlib.reload(bl_class_registry)
importlib.reload(compatibility)
else:
from . import mqo_file
from . import addon_updater
from . import bl_class_registry
from . import compatibility
... | 25.384615 | 39 | 0.736364 | 41 | 330 | 5.731707 | 0.414634 | 0.255319 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 330 | 13 | 40 | 25.384615 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.009063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c72027bbe2988e01bf21f00b7c8cbaba7fadeb41 | 415 | py | Python | treestream/__init__.py | GambitResearch/treestream | 5d08162fb095c4e34e7a80f2015946bb65b8021c | [
"MIT"
] | null | null | null | treestream/__init__.py | GambitResearch/treestream | 5d08162fb095c4e34e7a80f2015946bb65b8021c | [
"MIT"
] | null | null | null | treestream/__init__.py | GambitResearch/treestream | 5d08162fb095c4e34e7a80f2015946bb65b8021c | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from treestream.backends.redis_lua.writer import RedisTreeWriter
from treestream.backends.redis_lua.reader import RedisTreeReader
from treestream.exceptions import (
TreeWriterError,
RetryableTreeWriterError,
)
from treestream.tree import Tree
from treestream.reader import Msgp... | 27.666667 | 64 | 0.862651 | 43 | 415 | 8.162791 | 0.44186 | 0.239316 | 0.125356 | 0.153846 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093976 | 415 | 14 | 65 | 29.642857 | 0.933511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c72f2ce4c5bbdfbcbc214a032e95f657b4fef1ef | 8,664 | py | Python | tests/test_widesky.py | duduklein/pyhaystack | ea6177c8d57227331df60dde4aab8fa0daec0118 | [
"Apache-2.0"
] | null | null | null | tests/test_widesky.py | duduklein/pyhaystack | ea6177c8d57227331df60dde4aab8fa0daec0118 | [
"Apache-2.0"
] | 1 | 2020-08-19T10:45:50.000Z | 2020-08-19T10:45:50.000Z | tests/test_widesky.py | duduklein/pyhaystack | ea6177c8d57227331df60dde4aab8fa0daec0118 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Tests for WideSky session object
"""
# Assume unicode literals as per Python 3
from __future__ import unicode_literals
import pytest
from pyhaystack.client.http import dummy as dummy_http
from pyhaystack.client.http.base import HTTPResponse
from pyhaystack.client.http.exceptions import HT... | 31.505455 | 76 | 0.604686 | 909 | 8,664 | 5.539054 | 0.190319 | 0.065541 | 0.047269 | 0.047666 | 0.737041 | 0.720159 | 0.687388 | 0.687388 | 0.687388 | 0.687388 | 0 | 0.019608 | 0.305402 | 8,664 | 274 | 77 | 31.620438 | 0.817049 | 0.161934 | 0 | 0.704545 | 0 | 0 | 0.110452 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.045455 | false | 0.051136 | 0.079545 | 0 | 0.142045 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c75889f7b98c5ca00b9e66ac9355d5117413b814 | 93 | py | Python | Exp_Sub/apps.py | ag-gipp/Electronic-Laboratory-Notebook | db0ab92bf81473484e84775f73a92a03b6e61c57 | [
"Apache-2.0"
] | null | null | null | Exp_Sub/apps.py | ag-gipp/Electronic-Laboratory-Notebook | db0ab92bf81473484e84775f73a92a03b6e61c57 | [
"Apache-2.0"
] | null | null | null | Exp_Sub/apps.py | ag-gipp/Electronic-Laboratory-Notebook | db0ab92bf81473484e84775f73a92a03b6e61c57 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ExpSubConfig(AppConfig):
name = 'Exp_Sub'
| 15.5 | 34 | 0.709677 | 11 | 93 | 5.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 93 | 5 | 35 | 18.6 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 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 |
c76051e45d1ff0d8217e49aa28e6dbaea0ca6fd5 | 1,042 | py | Python | radio/models.py | craigderington/Beacon | 26243b82e391c3be68a602f3a412a3a4424ae7f9 | [
"Apache-2.0"
] | null | null | null | radio/models.py | craigderington/Beacon | 26243b82e391c3be68a602f3a412a3a4424ae7f9 | [
"Apache-2.0"
] | null | null | null | radio/models.py | craigderington/Beacon | 26243b82e391c3be68a602f3a412a3a4424ae7f9 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class Radio(models.Model):
radio_account_id = models.ForeignKey(User)
radio_id = models.CharField(max_length=50)
radio_name = models.CharField(max_length=50)
radio_model = models.CharField(max_length=5... | 37.214286 | 75 | 0.759117 | 144 | 1,042 | 5.152778 | 0.277778 | 0.222372 | 0.266846 | 0.355795 | 0.467655 | 0.467655 | 0.342318 | 0.137466 | 0.137466 | 0.137466 | 0 | 0.025959 | 0.149712 | 1,042 | 27 | 76 | 38.592593 | 0.811512 | 0.023033 | 0 | 0.095238 | 0 | 0 | 0.001969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.095238 | 0.095238 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c799a9534be2b6c40a6c071a87b85440f34491fe | 189 | py | Python | bridger/viewsets/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 2 | 2020-03-17T00:53:23.000Z | 2020-07-16T07:00:33.000Z | bridger/viewsets/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 76 | 2019-12-05T01:15:57.000Z | 2021-09-07T16:47:27.000Z | bridger/viewsets/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 1 | 2020-02-05T15:09:47.000Z | 2020-02-05T15:09:47.000Z | from .viewsets import (
ChartViewSet,
InfiniteDataModelView,
ModelViewSet,
ReadOnlyInfiniteModelViewSet,
ReadOnlyModelViewSet,
RepresentationViewSet,
ViewSet,
)
| 18.9 | 33 | 0.73545 | 10 | 189 | 13.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21164 | 189 | 9 | 34 | 21 | 0.932886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c7c6c696fe31106c94bee0b9de5a2a63e0a40481 | 2,254 | py | Python | test/test_tools_nlp.py | CMU-TBD/alloy | cf66738e044613fb274bd1b159864a7600e15cb5 | [
"MIT"
] | null | null | null | test/test_tools_nlp.py | CMU-TBD/alloy | cf66738e044613fb274bd1b159864a7600e15cb5 | [
"MIT"
] | null | null | null | test/test_tools_nlp.py | CMU-TBD/alloy | cf66738e044613fb274bd1b159864a7600e15cb5 | [
"MIT"
] | null | null | null |
import pytest
from alloy.tools import convert_word_list_to_num_str
def parser_helper(incoming_str):
return convert_word_list_to_num_str(incoming_str.split(' '))
def test_converting_digits():
assert parser_helper('one') == '1'
assert parser_helper('one one') == '11'
assert parser_helper('one nine fo... | 46.958333 | 98 | 0.704525 | 294 | 2,254 | 5.217687 | 0.244898 | 0.265971 | 0.387223 | 0.232725 | 0.442634 | 0.34485 | 0.27249 | 0.153846 | 0 | 0 | 0 | 0.071581 | 0.169476 | 2,254 | 47 | 99 | 47.957447 | 0.747863 | 0 | 0 | 0 | 0 | 0 | 0.364847 | 0 | 0 | 0 | 0 | 0 | 0.825 | 1 | 0.1 | false | 0 | 0.05 | 0.025 | 0.175 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c7c6e2f8e41a6c159180e3e49d1648de8e73b0fe | 161 | py | Python | Python_basic/load&sort files.py | Tripleler/Tistory_blog | 173eafeb4f76ac5e51e9e542934395eff734d052 | [
"MIT"
] | null | null | null | Python_basic/load&sort files.py | Tripleler/Tistory_blog | 173eafeb4f76ac5e51e9e542934395eff734d052 | [
"MIT"
] | 1 | 2022-01-13T10:06:32.000Z | 2022-01-13T10:06:32.000Z | Python_basic/load&sort files.py | Tripleler/Tistory_blog | 173eafeb4f76ac5e51e9e542934395eff734d052 | [
"MIT"
] | null | null | null | from natsort import natsorted
from glob import glob
file_list = glob('../sample_num/*')
file_list = natsorted(file_list)
for file in file_list:
print(file)
| 20.125 | 35 | 0.751553 | 25 | 161 | 4.64 | 0.48 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149068 | 161 | 7 | 36 | 23 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0.093168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
c7f22ba41154fbae6ddc3f3da32109dc25ad14cb | 27 | py | Python | mindboggle/version.py | shnizzedy/mindboggle | 36ea945cfa4c1998f3a88b58f296c25be91713d5 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | mindboggle/version.py | shnizzedy/mindboggle | 36ea945cfa4c1998f3a88b58f296c25be91713d5 | [
"CC-BY-3.0",
"Apache-2.0"
] | 7 | 2021-03-04T17:07:53.000Z | 2021-04-06T20:09:17.000Z | mindboggle/version.py | shnizzedy/mindboggle | 36ea945cfa4c1998f3a88b58f296c25be91713d5 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | __version__ = '1.3.9.dev1'
| 13.5 | 26 | 0.666667 | 5 | 27 | 2.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1befe963be8a33c41d825c9f56dc5199191548ba | 2,564 | py | Python | lightlab/equipment/lab_instruments/SR830.py | ZhimuG/lightlab-ZG | cceb417be153c31d62b6e07b347ef093b9462b84 | [
"MIT"
] | null | null | null | lightlab/equipment/lab_instruments/SR830.py | ZhimuG/lightlab-ZG | cceb417be153c31d62b6e07b347ef093b9462b84 | [
"MIT"
] | null | null | null | lightlab/equipment/lab_instruments/SR830.py | ZhimuG/lightlab-ZG | cceb417be153c31d62b6e07b347ef093b9462b84 | [
"MIT"
] | 1 | 2022-03-17T20:43:06.000Z | 2022-03-17T20:43:06.000Z | from . import VISAInstrumentDriver
from lightlab.equipment.abstract_drivers import Configurable
from lightlab.laboratory.instruments import Keithley
import numpy as np
import time
from lightlab import logger
class SR830(VISAInstrumentDriver, Configurable):
''' A SR830 driver.
`Manual: https://www.thinksr... | 29.813953 | 130 | 0.628705 | 284 | 2,564 | 5.630282 | 0.46831 | 0.068793 | 0.09631 | 0.19262 | 0.1601 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.269891 | 2,564 | 86 | 131 | 29.813953 | 0.840278 | 0.214899 | 0 | 0 | 0 | 0 | 0.051867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.382979 | false | 0 | 0.12766 | 0.234043 | 0.765957 | 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 |
1bfe937fbf1accc4e39d90d87b05f8cb423e2cf6 | 183 | py | Python | darts/base_actions/__init__.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | darts/base_actions/__init__.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | darts/base_actions/__init__.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | from .Action import Action
from .ActionSequence import ActionSequence
from .ActionList import ActionList
from .ActionHandler import ActionHandler
from .ActionStack import ActionStack
| 30.5 | 42 | 0.863388 | 20 | 183 | 7.9 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 5 | 43 | 36.6 | 0.969325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
402408553e5c27a7e110e4c57c7501b7883114e6 | 18,369 | py | Python | fastybird_shelly_connector/consumers/device.py | FastyBird/shelly-connector | afbd75da091f96854fa09d3750d9f75406c5bf39 | [
"Apache-2.0"
] | null | null | null | fastybird_shelly_connector/consumers/device.py | FastyBird/shelly-connector | afbd75da091f96854fa09d3750d9f75406c5bf39 | [
"Apache-2.0"
] | null | null | null | fastybird_shelly_connector/consumers/device.py | FastyBird/shelly-connector | afbd75da091f96854fa09d3750d9f75406c5bf39 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# Copyright 2021. FastyBird s.r.o.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | 37.952479 | 119 | 0.624204 | 1,664 | 18,369 | 6.500601 | 0.120192 | 0.073218 | 0.038643 | 0.03513 | 0.764352 | 0.728483 | 0.720902 | 0.701119 | 0.677082 | 0.677082 | 0 | 0.000974 | 0.273069 | 18,369 | 483 | 120 | 38.031056 | 0.809107 | 0.148729 | 0 | 0.651376 | 0 | 0 | 0.002069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033639 | false | 0 | 0.024465 | 0 | 0.146789 | 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 |
40254d8989eaed73e164fd78d2c8228bfb9dcdf3 | 168 | py | Python | python.py | jk1113687746/the_first_project- | 3bf3b9226f025e966962c19ae78f6f4959cfbdd4 | [
"MIT"
] | null | null | null | python.py | jk1113687746/the_first_project- | 3bf3b9226f025e966962c19ae78f6f4959cfbdd4 | [
"MIT"
] | null | null | null | python.py | jk1113687746/the_first_project- | 3bf3b9226f025e966962c19ae78f6f4959cfbdd4 | [
"MIT"
] | null | null | null | c = 1
b = 2
c = 'employee_change_once'
d = 'manager wants to contribute'
e = 'code conflict'
f = 'after_commit_once'
h ='after_commit_twice'
g = 'after_commit_third'
| 18.666667 | 34 | 0.708333 | 28 | 168 | 3.964286 | 0.785714 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014388 | 0.172619 | 168 | 8 | 35 | 21 | 0.784173 | 0 | 0 | 0 | 0 | 0 | 0.672619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40314c00198893ceaa50663cbd6dc9eb9b148dfb | 276 | py | Python | tests/l8/data/__init__.py | DHI-GRAS/sentinel_meta | be38e553b1a8b73cf2108e81ade341d0d1ff7a56 | [
"MIT"
] | 2 | 2019-06-10T16:22:53.000Z | 2019-08-20T22:31:08.000Z | tests/l8/data/__init__.py | DHI-GRAS/sentinel_meta | be38e553b1a8b73cf2108e81ade341d0d1ff7a56 | [
"MIT"
] | 17 | 2017-09-28T18:46:58.000Z | 2019-06-04T08:27:50.000Z | tests/l8/data/__init__.py | DHI-GRAS/satmeta | be38e553b1a8b73cf2108e81ade341d0d1ff7a56 | [
"MIT"
] | null | null | null | import os
TESTDATADIR = os.path.abspath(os.path.dirname(__file__))
TESTDATA = {
'tar.gz': os.path.join(TESTDATADIR, 'LC08_L1TP_198020_20170909_20170927_01_T1_MTL.tar.gz'),
'MTL': os.path.join(TESTDATADIR, 'LC08_L1TP_198020_20170909_20170927_01_T1_MTL.txt')}
| 34.5 | 99 | 0.75 | 41 | 276 | 4.609756 | 0.487805 | 0.126984 | 0.10582 | 0.222222 | 0.613757 | 0.613757 | 0.613757 | 0.613757 | 0.613757 | 0.613757 | 0 | 0.229508 | 0.115942 | 276 | 7 | 100 | 39.428571 | 0.545082 | 0 | 0 | 0 | 0 | 0 | 0.391304 | 0.358696 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40395a14918fd1262c86f2c9577d02d8714105c7 | 226 | py | Python | htsinfer/infer_read_layout.py | dcpb0/htsinfer | 426f34186917020815298999bd93ea23229d9d1b | [
"Apache-2.0"
] | null | null | null | htsinfer/infer_read_layout.py | dcpb0/htsinfer | 426f34186917020815298999bd93ea23229d9d1b | [
"Apache-2.0"
] | null | null | null | htsinfer/infer_read_layout.py | dcpb0/htsinfer | 426f34186917020815298999bd93ea23229d9d1b | [
"Apache-2.0"
] | 1 | 2020-10-14T09:44:39.000Z | 2020-10-14T09:44:39.000Z | """Infer read layout from sample data."""
def infer():
"""Main function coordinating the execution of all other functions.
Should be imported/called from main app and return results to it.
"""
# implement me
| 25.111111 | 71 | 0.690265 | 31 | 226 | 5.032258 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221239 | 226 | 8 | 72 | 28.25 | 0.886364 | 0.79646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
403f69aec997daae65a70aff6edbcaf041c9c487 | 175 | py | Python | treetensor/__init__.py | opendilab/DI-treetensor | fe5f681123c3d6e8d7507fba38586d2edf12e693 | [
"Apache-2.0"
] | 45 | 2021-09-04T15:57:44.000Z | 2022-03-11T19:28:56.000Z | treetensor/__init__.py | opendilab/DI-treetensor | fe5f681123c3d6e8d7507fba38586d2edf12e693 | [
"Apache-2.0"
] | 7 | 2021-09-06T13:06:12.000Z | 2022-03-03T13:38:05.000Z | treetensor/__init__.py | opendilab/DI-treetensor | fe5f681123c3d6e8d7507fba38586d2edf12e693 | [
"Apache-2.0"
] | 1 | 2021-09-30T15:18:06.000Z | 2021-09-30T15:18:06.000Z | from .common import Object
from .config.meta import __VERSION__ as __PACKAGE_VERSION__
from .numpy import ndarray
from .torch import Tensor
__version__ = __PACKAGE_VERSION__
| 25 | 59 | 0.84 | 23 | 175 | 5.608696 | 0.565217 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125714 | 175 | 6 | 60 | 29.166667 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
40763dda9f25becc53f92a3756e39a8d7d95085b | 439 | py | Python | handlers/__init__.py | Krishna10798/Multi-User-Blog | a7b177acc4f900bfa92d00435c94ffbde1570496 | [
"MIT"
] | 5 | 2016-06-03T17:25:31.000Z | 2017-10-01T19:06:53.000Z | handlers/__init__.py | Krishna10798/Multi-User-Blog | a7b177acc4f900bfa92d00435c94ffbde1570496 | [
"MIT"
] | 6 | 2017-01-22T20:13:22.000Z | 2017-02-07T21:32:01.000Z | handlers/__init__.py | Krishna10798/Multi-User-Blog | a7b177acc4f900bfa92d00435c94ffbde1570496 | [
"MIT"
] | 2 | 2017-04-05T10:45:35.000Z | 2020-10-02T08:17:56.000Z | from base_handler import BlogHandler
from home_handler import HomeHandler
from login_handler import LoginHandler
from logout_handler import LogOutHandler
from registration_handler import RegistrationHandler
from new_post_handler import NewPostHandler
from edit_blog_handler import EditBlogHandler
from delete_blog_handle... | 39.909091 | 52 | 0.908884 | 55 | 439 | 6.981818 | 0.454545 | 0.338542 | 0.088542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091116 | 439 | 10 | 53 | 43.9 | 0.962406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4081e7821a85e89a46790620d0084bf9c5891f5c | 462 | py | Python | release/stubs.min/System/__init___parts/ThreadStaticAttribute.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/__init___parts/ThreadStaticAttribute.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/__init___parts/ThreadStaticAttribute.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class ThreadStaticAttribute(Attribute,_Attribute):
"""
Indicates that the value of a static field is unique for each thread.
ThreadStaticAttribute()
"""
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__... | 33 | 215 | 0.718615 | 57 | 462 | 5.017544 | 0.508772 | 0.157343 | 0.167832 | 0.199301 | 0.395105 | 0.395105 | 0.395105 | 0.395105 | 0.395105 | 0.395105 | 0 | 0 | 0.160173 | 462 | 13 | 216 | 35.538462 | 0.737113 | 0.651515 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
409a287e2b13e6790e3432573985bafe4a2a22c6 | 104 | py | Python | kill.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | kill.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | kill.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | n=37
x=3
c=bin(n)
c=list(c)
if str(c[-x])=="1":
c[-x]="0"
a=""
z=a.join(c)
print(int(z,2))
| 10.4 | 20 | 0.432692 | 27 | 104 | 1.666667 | 0.62963 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.221154 | 104 | 9 | 21 | 11.555556 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40a22e78e934fc3545bc59d9b72e47c4425b93b4 | 284 | py | Python | django_x509/admin.py | NoumbissiValere/django-x509 | 056b7b955372abf3755e94ae47e6203098fad46e | [
"BSD-3-Clause"
] | 1 | 2019-12-22T16:09:30.000Z | 2019-12-22T16:09:30.000Z | django_x509/admin.py | nikitaermishin/django-x509 | 1eb28afba31c6ed0ed04bbc98cc3c98f181dbdcf | [
"BSD-3-Clause"
] | null | null | null | django_x509/admin.py | nikitaermishin/django-x509 | 1eb28afba31c6ed0ed04bbc98cc3c98f181dbdcf | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .base.admin import AbstractCaAdmin, AbstractCertAdmin
from .models import Ca, Cert
class CertAdmin(AbstractCertAdmin):
pass
class CaAdmin(AbstractCaAdmin):
pass
admin.site.register(Ca, CaAdmin)
admin.site.register(Cert, CertAdmin)
| 16.705882 | 58 | 0.785211 | 34 | 284 | 6.558824 | 0.5 | 0.080717 | 0.152466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137324 | 284 | 16 | 59 | 17.75 | 0.910204 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.222222 | 0.333333 | 0 | 0.555556 | 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 |
40b9ff784991dc7b648a48c910fdd9744b8401f5 | 949 | py | Python | zignet/models.py | Rabbit-Development/Zignet | 341ac2a5e411c385898a060bb41a825e1142625e | [
"MIT"
] | null | null | null | zignet/models.py | Rabbit-Development/Zignet | 341ac2a5e411c385898a060bb41a825e1142625e | [
"MIT"
] | null | null | null | zignet/models.py | Rabbit-Development/Zignet | 341ac2a5e411c385898a060bb41a825e1142625e | [
"MIT"
] | null | null | null | from zignet import db
from passlib.apps import custom_app_context as pwd_context
class User(db.Model):
id = db.Column(db.Integer, primary_key = True)
email = db.Column(db.String, unique = True)
password = db.Column(db.String)
Rfid = db.Column(db.Integer, unique = True)
pincode = db.Column(db.Integer(6))
username... | 27.911765 | 58 | 0.748156 | 141 | 949 | 4.907801 | 0.304965 | 0.138728 | 0.17341 | 0.16185 | 0.132948 | 0.075145 | 0 | 0 | 0 | 0 | 0 | 0.001215 | 0.132771 | 949 | 33 | 59 | 28.757576 | 0.839611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.32 | 0.08 | 0.12 | 0.88 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
40c1e1ceb0ab5c376fe2c5046b5952b582cae5f5 | 9,398 | py | Python | params.py | sebasmurphy/iarpa | aca39cc5390a153a9779a636ab2523e65cb6d3b0 | [
"MIT"
] | 20 | 2017-02-01T14:54:57.000Z | 2022-01-25T06:34:35.000Z | params.py | sebasmurphy/iarpa | aca39cc5390a153a9779a636ab2523e65cb6d3b0 | [
"MIT"
] | 3 | 2020-04-21T12:11:26.000Z | 2021-01-10T07:00:51.000Z | params.py | sebasmurphy/iarpa | aca39cc5390a153a9779a636ab2523e65cb6d3b0 | [
"MIT"
] | 10 | 2017-12-18T18:45:25.000Z | 2021-11-22T02:43:03.000Z | import os
import sys
# Default path for various utilities that shouldn't be changed
app_path = os.path.dirname(os.path.realpath(__file__)) + '/'
get_crop_area_path = app_path + 'lib_exec/get-crop-area'
gdal_translate_path = app_path + 'lib_exec/StereoPipeline/bin/gdal_translate'
stereo_path = app_path + 'lib_exec/Ster... | 85.436364 | 181 | 0.859545 | 1,034 | 9,398 | 6.867505 | 0.255319 | 0.068019 | 0.082383 | 0.038445 | 0.649627 | 0.60062 | 0.60062 | 0.585833 | 0.585833 | 0.224616 | 0 | 0.341775 | 0.067248 | 9,398 | 109 | 182 | 86.220183 | 0.468287 | 0.142796 | 0 | 0 | 0 | 0 | 0.783616 | 0.775896 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 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 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40c6deb4dcff22924c806a26efe4a693786723c4 | 176 | py | Python | bboard/forms.py | RootenberG/Simple_Bulletin_board | 525bd7e66f7f9e1d3d6c130cf962882ae2dc6060 | [
"MIT"
] | 3 | 2019-09-04T18:45:13.000Z | 2019-09-28T08:06:57.000Z | bboard/forms.py | RootenberG/Simple_Bulletin_board | 525bd7e66f7f9e1d3d6c130cf962882ae2dc6060 | [
"MIT"
] | 1 | 2019-09-04T19:55:06.000Z | 2019-09-10T10:08:28.000Z | bboard/forms.py | RootenberG/Simple_Bulletin_board | 525bd7e66f7f9e1d3d6c130cf962882ae2dc6060 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from .models import Bb
class BbForm(ModelForm):
class Meta:
model = Bb
fields = ('title', 'content', 'price', 'rubric') | 22 | 56 | 0.642045 | 21 | 176 | 5.380952 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238636 | 176 | 8 | 56 | 22 | 0.843284 | 0 | 0 | 0 | 0 | 0 | 0.129944 | 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 |
40f7add40b848c9775e10ffbb38b26df7a99c6a0 | 224 | py | Python | app/utility.py | arunsingh02/configure_logical_groups | 0aa2716f58b14a91e098c17bebc621021d50fedd | [
"Apache-2.0"
] | null | null | null | app/utility.py | arunsingh02/configure_logical_groups | 0aa2716f58b14a91e098c17bebc621021d50fedd | [
"Apache-2.0"
] | null | null | null | app/utility.py | arunsingh02/configure_logical_groups | 0aa2716f58b14a91e098c17bebc621021d50fedd | [
"Apache-2.0"
] | null | null | null | from uuid import uuid5, NAMESPACE_DNS
class Utility:
@staticmethod
def uuid5_converter(string: str) -> str:
return str(uuid5(NAMESPACE_DNS, string))
if __name__ == '__main__':
utility_obj = Utility()
| 18.666667 | 48 | 0.691964 | 27 | 224 | 5.296296 | 0.666667 | 0.195804 | 0.237762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.209821 | 224 | 11 | 49 | 20.363636 | 0.79096 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
90c2cfbb7c5f5093e6578644a459da6c4c526dad | 1,452 | py | Python | astropy/wcs/__init__.py | REMeyer/astropy | 28c49fb618538a01812e586cd07bccdf0591a6c6 | [
"BSD-3-Clause"
] | 3 | 2018-03-20T15:09:16.000Z | 2021-05-27T11:17:33.000Z | astropy/wcs/__init__.py | REMeyer/astropy | 28c49fb618538a01812e586cd07bccdf0591a6c6 | [
"BSD-3-Clause"
] | null | null | null | astropy/wcs/__init__.py | REMeyer/astropy | 28c49fb618538a01812e586cd07bccdf0591a6c6 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
.. _wcslib: http://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/index.html
.. _distortion paper: http://www.atnf.csiro.au/people/mcalabre/WCS/dcs_20040422.pdf
.. _SIP: http://irsa.ipac.caltech.edu/data/SPITZER/docs/files/spitzer/shupeADASS.pdf
.. _FITS... | 33.767442 | 84 | 0.741736 | 209 | 1,452 | 5.047847 | 0.607656 | 0.047393 | 0.036967 | 0.030332 | 0.066351 | 0.066351 | 0.066351 | 0.066351 | 0 | 0 | 0 | 0.007365 | 0.158402 | 1,452 | 42 | 85 | 34.571429 | 0.855974 | 0.804408 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0.5 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
90d5e8e502a7cec987524e6f8e1d49c44226eb73 | 51 | py | Python | 2021/Day5_argparse_makefile_docker/Docker/1_PythonUbuntu/app.py | afarnudi/ScientificSoftwareDevelopment | c70f8b1c80d24dbcca12dbcca3722053954f7eaa | [
"BSD-3-Clause"
] | null | null | null | 2021/Day5_argparse_makefile_docker/Docker/1_PythonUbuntu/app.py | afarnudi/ScientificSoftwareDevelopment | c70f8b1c80d24dbcca12dbcca3722053954f7eaa | [
"BSD-3-Clause"
] | null | null | null | 2021/Day5_argparse_makefile_docker/Docker/1_PythonUbuntu/app.py | afarnudi/ScientificSoftwareDevelopment | c70f8b1c80d24dbcca12dbcca3722053954f7eaa | [
"BSD-3-Clause"
] | null | null | null | print("Hello Python 3")
#print("added a new line")
| 17 | 26 | 0.686275 | 9 | 51 | 3.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.137255 | 51 | 2 | 27 | 25.5 | 0.772727 | 0.490196 | 0 | 0 | 0 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
90df5532c1700b73afe9baedf16d97dad9806104 | 468 | py | Python | juju/client/proxy/proxy.py | jack-w-shaw/python-libjuju | 8c938c91f729bf86aeb25d1b27e47735f81e88d9 | [
"Apache-2.0"
] | 4 | 2016-05-18T13:40:38.000Z | 2016-11-01T11:52:32.000Z | juju/client/proxy/proxy.py | jack-w-shaw/python-libjuju | 8c938c91f729bf86aeb25d1b27e47735f81e88d9 | [
"Apache-2.0"
] | 2 | 2016-07-25T17:07:00.000Z | 2016-10-15T19:00:16.000Z | juju/client/proxy/proxy.py | jack-w-shaw/python-libjuju | 8c938c91f729bf86aeb25d1b27e47735f81e88d9 | [
"Apache-2.0"
] | null | null | null | from abc import abstractmethod
from juju.errors import AbstractMethodError
class ProxyNotConnectedError(Exception):
pass
class Proxy():
"""
Abstract class to represent a generic controller connection proxy
"""
@abstractmethod
def connect(self):
raise AbstractMethodError()
@abs... | 18 | 69 | 0.696581 | 42 | 468 | 7.761905 | 0.595238 | 0.156442 | 0.257669 | 0.257669 | 0.276074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237179 | 468 | 25 | 70 | 18.72 | 0.913165 | 0.138889 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.142857 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2912887ad91655a18e4e97f4618a69d7cc0dfdb4 | 154 | py | Python | procstream/process/__init__.py | nipunbalan/procstream-kafka-python | da7d28b66522721de7fefe85c890cc79a2785bdc | [
"MIT"
] | null | null | null | procstream/process/__init__.py | nipunbalan/procstream-kafka-python | da7d28b66522721de7fefe85c890cc79a2785bdc | [
"MIT"
] | null | null | null | procstream/process/__init__.py | nipunbalan/procstream-kafka-python | da7d28b66522721de7fefe85c890cc79a2785bdc | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from procstream.process.process_template import StreamProcessMicroService
__all__ = ['StreamProcessMicroService'] | 30.8 | 73 | 0.876623 | 14 | 154 | 8.928571 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 154 | 5 | 74 | 30.8 | 0.880282 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0.16129 | 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 |
292c33f51d6d2441cdf66525364635928dc35f95 | 70 | py | Python | run.py | zebra-cl/vue-admin-template | 6e0f9aff297df1bab3036c7105b2f2fdb2b33c62 | [
"MIT"
] | null | null | null | run.py | zebra-cl/vue-admin-template | 6e0f9aff297df1bab3036c7105b2f2fdb2b33c62 | [
"MIT"
] | null | null | null | run.py | zebra-cl/vue-admin-template | 6e0f9aff297df1bab3036c7105b2f2fdb2b33c62 | [
"MIT"
] | null | null | null | from app import app
app.run(host="127.0.0.1", port=5000, debug=True)
| 17.5 | 48 | 0.7 | 15 | 70 | 3.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0.114286 | 70 | 3 | 49 | 23.333333 | 0.629032 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 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 |
293e337289ae9a94bf4f975a963db66355424251 | 164 | py | Python | ex40a.py | MayZinThwe/python-exercises | 7a7bcd7b0a967efb8e5140ab2486036a1defa551 | [
"MIT"
] | null | null | null | ex40a.py | MayZinThwe/python-exercises | 7a7bcd7b0a967efb8e5140ab2486036a1defa551 | [
"MIT"
] | null | null | null | ex40a.py | MayZinThwe/python-exercises | 7a7bcd7b0a967efb8e5140ab2486036a1defa551 | [
"MIT"
] | null | null | null | class MyStuff(object):
def __init__(self):
self.tangerine = "Add now a thousand years between"
def apple(self):
print("I AM CLASS APPLE")
| 20.5 | 59 | 0.628049 | 22 | 164 | 4.5 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 164 | 7 | 60 | 23.428571 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.294479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
296f03671b5d981f418a75e4d5e7bd12056d7728 | 76 | py | Python | venv/Lib/site-packages/psychopy/tests/test_psychojs/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | venv/Lib/site-packages/psychopy/tests/test_psychojs/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | venv/Lib/site-packages/psychopy/tests/test_psychojs/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | """Testing PsychoJS, but also see test_app/test_builder/test_compileJS.py""" | 76 | 76 | 0.802632 | 12 | 76 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 76 | 1 | 76 | 76 | 0.816901 | 0.921053 | 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 |
2971312a2cb671feb4cd93b9566a2c9d9d2d82a4 | 174 | py | Python | idp_schedule_provider/forecaster/exceptions.py | opusonesolutions/idp-schedule-provider | 3755aade72e58daa487e181079008bfecf8c9685 | [
"MIT"
] | null | null | null | idp_schedule_provider/forecaster/exceptions.py | opusonesolutions/idp-schedule-provider | 3755aade72e58daa487e181079008bfecf8c9685 | [
"MIT"
] | null | null | null | idp_schedule_provider/forecaster/exceptions.py | opusonesolutions/idp-schedule-provider | 3755aade72e58daa487e181079008bfecf8c9685 | [
"MIT"
] | null | null | null | class ForecasterException(Exception):
pass
class ScenarioNotFoundException(ForecasterException):
pass
class AssetNotFoundException(ForecasterException):
pass
| 15.818182 | 53 | 0.804598 | 12 | 174 | 11.666667 | 0.5 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143678 | 174 | 10 | 54 | 17.4 | 0.939597 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
297bda4ac476272a2c4b0956d1e6b4c1f7ea1dcd | 73 | py | Python | test/salt_master_files/tests/cust_fun_8.py | dmulyalin/salt-nornir | 2fbbe136f5a462e7981ce638a3dd15463de63d18 | [
"MIT"
] | 12 | 2020-08-24T10:44:59.000Z | 2022-03-23T03:41:20.000Z | test/salt_master_files/tests/cust_fun_8.py | dmulyalin/salt-nornir | 2fbbe136f5a462e7981ce638a3dd15463de63d18 | [
"MIT"
] | 3 | 2021-02-15T20:55:20.000Z | 2021-09-26T22:50:02.000Z | test/salt_master_files/tests/cust_fun_8.py | dmulyalin/salt-nornir | 2fbbe136f5a462e7981ce638a3dd15463de63d18 | [
"MIT"
] | 1 | 2021-05-23T15:47:10.000Z | 2021-05-23T15:47:10.000Z | def run(result):
"""Function to test True return"""
return True
| 14.6 | 38 | 0.630137 | 10 | 73 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 73 | 4 | 39 | 18.25 | 0.836364 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
297ce0c4716981836483a2e362acd22d45c1f16c | 1,006 | py | Python | app/components/layouts/MainMenu.py | NoMariusz/ChillMusicDownloader | 997015919881b8b6f8ac89458c092161cd2ce54a | [
"MIT"
] | 2 | 2020-01-29T15:30:25.000Z | 2021-06-06T02:17:20.000Z | app/components/layouts/MainMenu.py | NoMariusz/ChillMusicDownloader | 997015919881b8b6f8ac89458c092161cd2ce54a | [
"MIT"
] | null | null | null | app/components/layouts/MainMenu.py | NoMariusz/ChillMusicDownloader | 997015919881b8b6f8ac89458c092161cd2ce54a | [
"MIT"
] | 1 | 2022-02-01T18:39:14.000Z | 2022-02-01T18:39:14.000Z | import sys
from kivy.uix.screenmanager import Screen
class MainMenu(Screen):
def __init__(self, layout_manager, **kw):
self.layout_manager = layout_manager
super().__init__(**kw)
def go_to_chanel_dwn(self):
self.layout_manager.window_manager.transition.direction = 'right'
se... | 31.4375 | 73 | 0.718688 | 127 | 1,006 | 5.314961 | 0.299213 | 0.231111 | 0.277037 | 0.272593 | 0.585185 | 0.546667 | 0.327407 | 0.327407 | 0.248889 | 0 | 0 | 0 | 0.184891 | 1,006 | 31 | 74 | 32.451613 | 0.823171 | 0 | 0 | 0 | 0 | 0 | 0.060636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.409091 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
297e256083266ab27ec888320c2d66e501e7b948 | 25,885 | py | Python | code/result_process.py | aister2020/KDDCUP_2020_Debiasing_1st_Place | 29831974688a906922b910d055b4568929522a96 | [
"Apache-2.0"
] | 159 | 2020-07-19T11:34:43.000Z | 2022-03-29T03:09:37.000Z | code/result_process.py | huangqionghua/KDDCUP_2020_Debiasing_1st_Place | 29831974688a906922b910d055b4568929522a96 | [
"Apache-2.0"
] | 3 | 2020-08-20T12:17:50.000Z | 2021-06-05T05:48:48.000Z | code/result_process.py | huangqionghua/KDDCUP_2020_Debiasing_1st_Place | 29831974688a906922b910d055b4568929522a96 | [
"Apache-2.0"
] | 45 | 2020-07-19T11:57:01.000Z | 2022-03-10T03:08:55.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from constants import *
from datetime import datetime
import lightgbm as lgb
import numpy as np
from sklearn.model_selection import KFold
import pandas as pd
import utils
import os
import ndcg_tools
import math
import gc
import sys
seed = SEED
cur_stage = CUR_STAGE
def ge... | 41.34984 | 151 | 0.558084 | 3,228 | 25,885 | 4.226146 | 0.095725 | 0.02463 | 0.038484 | 0.027709 | 0.788301 | 0.756634 | 0.73347 | 0.707228 | 0.69418 | 0.658774 | 0 | 0.068339 | 0.289975 | 25,885 | 626 | 152 | 41.34984 | 0.673921 | 0.011744 | 0 | 0.658307 | 0 | 0 | 0.097116 | 0.011509 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012539 | false | 0.003135 | 0.037618 | 0 | 0.056426 | 0.040752 | 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 |
463a2003d35379dae8c79101b24b2dc3db306ca5 | 58 | py | Python | hello.py | aschrad2/electron-app-python | 47b7ae9977a5dc9264675dc4a31ae9d469c45802 | [
"CC0-1.0"
] | null | null | null | hello.py | aschrad2/electron-app-python | 47b7ae9977a5dc9264675dc4a31ae9d469c45802 | [
"CC0-1.0"
] | null | null | null | hello.py | aschrad2/electron-app-python | 47b7ae9977a5dc9264675dc4a31ae9d469c45802 | [
"CC0-1.0"
] | null | null | null | import sys
print('Hello from Python!')
sys.stdout.flush()
| 14.5 | 27 | 0.741379 | 9 | 58 | 4.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 58 | 3 | 28 | 19.333333 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
463f2d0de47bb959681b6b730ac32fd4123d15a0 | 315 | py | Python | chariot/transformer/text/base.py | Y-Kuro-u/chariot | 032f3eecdd55b30c65351e1e636c939c4b20919e | [
"Apache-2.0"
] | 134 | 2018-06-11T01:40:14.000Z | 2021-11-15T12:34:38.000Z | chariot/transformer/text/base.py | Y-Kuro-u/chariot | 032f3eecdd55b30c65351e1e636c939c4b20919e | [
"Apache-2.0"
] | 10 | 2018-06-17T10:45:50.000Z | 2021-04-05T05:51:11.000Z | chariot/transformer/text/base.py | Y-Kuro-u/chariot | 032f3eecdd55b30c65351e1e636c939c4b20919e | [
"Apache-2.0"
] | 8 | 2019-02-23T06:43:21.000Z | 2021-02-18T06:05:11.000Z | from chariot.transformer.base_preprocessor import BasePreprocessor
class TextNormalizer(BasePreprocessor):
def apply(self, text):
raise Exception("You have to implements apply")
class TextFilter(BasePreprocessor):
def apply(self, text):
raise Exception("You have to implements apply")
| 22.5 | 66 | 0.746032 | 35 | 315 | 6.685714 | 0.571429 | 0.162393 | 0.205128 | 0.239316 | 0.598291 | 0.598291 | 0.598291 | 0.598291 | 0.598291 | 0.598291 | 0 | 0 | 0.177778 | 315 | 13 | 67 | 24.230769 | 0.903475 | 0 | 0 | 0.571429 | 0 | 0 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4658f32fc11e4ada9709ffc6b6815709ff1233bf | 267 | py | Python | django_filepicker/context_processors.py | aaronang/filepicker-django | 9de61e9184ae93db9b260764cc2f45a38cb48400 | [
"MIT"
] | 15 | 2015-03-25T14:00:16.000Z | 2021-04-15T17:47:02.000Z | django_filepicker/context_processors.py | aaronang/filepicker-django | 9de61e9184ae93db9b260764cc2f45a38cb48400 | [
"MIT"
] | 3 | 2015-07-14T08:33:37.000Z | 2018-12-15T12:58:52.000Z | django_filepicker/context_processors.py | Ink/django-filepicker | 9de61e9184ae93db9b260764cc2f45a38cb48400 | [
"MIT"
] | 5 | 2015-07-14T13:30:38.000Z | 2018-09-30T19:56:29.000Z | from django.utils.safestring import mark_safe
from .widgets import JS_URL
def js(request):
#Defines a {{FILEPICKER_JS}} tag that inserts the filepicker javascript library
return {"FILEPICKER_JS":
mark_safe('<script src="%s"></script>' % JS_URL)}
| 33.375 | 83 | 0.71161 | 37 | 267 | 4.972973 | 0.675676 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17603 | 267 | 7 | 84 | 38.142857 | 0.836364 | 0.292135 | 0 | 0 | 0 | 0 | 0.207447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
4663e0c5753b9d14c02c707b14ae4534f5db8326 | 20,949 | py | Python | tests/test_nfw.py | dylancromer/OffsetNFW | 4a93ca2f2d77f69bb1934aed2dbc4d5d3fe129c0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_nfw.py | dylancromer/OffsetNFW | 4a93ca2f2d77f69bb1934aed2dbc4d5d3fe129c0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_nfw.py | dylancromer/OffsetNFW | 4a93ca2f2d77f69bb1934aed2dbc4d5d3fe129c0 | [
"BSD-3-Clause"
] | null | null | null | import numpy
import numpy.testing
import astropy.cosmology
import astropy.units as u
try:
import offset_nfw
except ImportError:
import sys
sys.path.append('..')
import offset_nfw
# A "cosmology" object that passes initialization tests.
class fake_cosmo(object):
critical_density0 = 1
Om0 = 1
... | 56.013369 | 219 | 0.66218 | 3,360 | 20,949 | 3.91756 | 0.09256 | 0.092076 | 0.136747 | 0.038441 | 0.805591 | 0.76791 | 0.722404 | 0.696194 | 0.656461 | 0.626681 | 0 | 0.081301 | 0.197384 | 20,949 | 373 | 220 | 56.163539 | 0.701558 | 0.082104 | 0 | 0.313725 | 0 | 0 | 0.018908 | 0 | 0 | 0 | 0 | 0.002681 | 0.326797 | 1 | 0.04902 | false | 0.006536 | 0.078431 | 0.013072 | 0.153595 | 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 |
4668c6a4c03aabdd9ce6b20737c50ad862fb61b0 | 52 | py | Python | Python/Tests/TestData/DebuggerProject/LocalsTest4.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/DebuggerProject/LocalsTest4.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/DebuggerProject/LocalsTest4.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | def f(x):
y = 'abc'
def g(baz):
f(baz)
g(42)
| 6.5 | 11 | 0.442308 | 12 | 52 | 1.916667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.307692 | 52 | 7 | 12 | 7.428571 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
466e616f48ec14c5d0ce355441381b917acdfda3 | 170 | py | Python | checkvalues.py | jmeagheriv/hiring-engineers | d23b1347c2eab29b9955f01913fd831f0662b46e | [
"Apache-2.0"
] | null | null | null | checkvalues.py | jmeagheriv/hiring-engineers | d23b1347c2eab29b9955f01913fd831f0662b46e | [
"Apache-2.0"
] | null | null | null | checkvalues.py | jmeagheriv/hiring-engineers | d23b1347c2eab29b9955f01913fd831f0662b46e | [
"Apache-2.0"
] | null | null | null | from checks import AgentCheck
import random
import time
class MetricCheckk(AgentCheck):
def check(self, instance):
self.gauge('my_metric', random.randint(0,1001)) | 28.333333 | 48 | 0.770588 | 23 | 170 | 5.652174 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033784 | 0.129412 | 170 | 6 | 48 | 28.333333 | 0.844595 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
469a96495675b17d7ef73ddee29d3dfd030c13f1 | 218 | py | Python | moses/organ/__init__.py | jiahuei/moses | 7546d45b8d4160f4f40747525dc81b50431c8749 | [
"MIT"
] | 585 | 2018-11-28T12:16:12.000Z | 2022-03-28T03:50:20.000Z | moses/organ/__init__.py | jiahuei/moses | 7546d45b8d4160f4f40747525dc81b50431c8749 | [
"MIT"
] | 52 | 2018-12-04T21:15:15.000Z | 2022-03-03T22:14:19.000Z | moses/organ/__init__.py | jiahuei/moses | 7546d45b8d4160f4f40747525dc81b50431c8749 | [
"MIT"
] | 200 | 2018-11-28T13:49:16.000Z | 2022-03-29T16:53:50.000Z | from .config import get_parser as organ_parser
from .model import ORGAN
from .trainer import ORGANTrainer
from .metrics_reward import MetricsReward
__all__ = ['organ_parser', 'ORGAN', 'ORGANTrainer', 'MetricsReward']
| 31.142857 | 68 | 0.802752 | 27 | 218 | 6.185185 | 0.518519 | 0.131737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114679 | 218 | 6 | 69 | 36.333333 | 0.865285 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 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 |
46a5d59f741a0f21bf687e81630ee4146c3eb23c | 808 | py | Python | lib/pyds.py | nparent/Introduction-to-Python-for-Data-Sciences | e766b163ac40ca277c2a6963e6e52a044e205754 | [
"MIT"
] | null | null | null | lib/pyds.py | nparent/Introduction-to-Python-for-Data-Sciences | e766b163ac40ca277c2a6963e6e52a044e205754 | [
"MIT"
] | null | null | null | lib/pyds.py | nparent/Introduction-to-Python-for-Data-Sciences | e766b163ac40ca277c2a6963e6e52a044e205754 | [
"MIT"
] | null | null | null | ######################################
###
### the CLASS module
###
######################################
teacherName = "Franck Iutzeler"
teacherWebsite = "http://www.iutzeler.org"
def printSchedule():
print(" 1. Sep. 14 9h45-13h Introduction to Python\n 2. Sep. 21 9h45-13h Python for Data Science 1: Optimi... | 62.153846 | 600 | 0.642327 | 121 | 808 | 4.289256 | 0.53719 | 0.094412 | 0.100193 | 0.123314 | 0.208092 | 0.208092 | 0 | 0 | 0 | 0 | 0 | 0.104387 | 0.181931 | 808 | 12 | 601 | 67.333333 | 0.680787 | 0.019802 | 0 | 0 | 0 | 0.25 | 0.89078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d3b7c17de0126ef64e1b67ced4944357c9d07c79 | 153 | py | Python | ansible/venv/lib/python2.7/site-packages/ansible/module_utils/network/exos/utils/utils.py | gvashchenkolineate/gvashchenkolineate_infra_trytravis | 0fb18850afe0d8609693ba4b23f29c7cda17d97f | [
"MIT"
] | 17 | 2017-06-07T23:15:01.000Z | 2021-08-30T14:32:36.000Z | ansible/venv/lib/python2.7/site-packages/ansible/module_utils/network/exos/utils/utils.py | gvashchenkolineate/gvashchenkolineate_infra_trytravis | 0fb18850afe0d8609693ba4b23f29c7cda17d97f | [
"MIT"
] | 9 | 2017-06-25T03:31:52.000Z | 2021-05-17T23:43:12.000Z | ansible/venv/lib/python2.7/site-packages/ansible/module_utils/network/exos/utils/utils.py | gvashchenkolineate/gvashchenkolineate_infra_trytravis | 0fb18850afe0d8609693ba4b23f29c7cda17d97f | [
"MIT"
] | 3 | 2018-05-26T21:31:22.000Z | 2019-09-28T17:00:45.000Z | # -*- coding: utf-8 -*-
# Copyright 2019 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# utils
| 21.857143 | 59 | 0.666667 | 26 | 153 | 3.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.156863 | 153 | 6 | 60 | 25.5 | 0.72093 | 0.921569 | 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 |
d3d44755a8c17467bf08be23c6a7fa951adf4239 | 132 | py | Python | scripts/ucjeps/eximup/etserialize.py | felder/Tools | 52732673ae5ba806ee2e61f2ebdb6c95ef7fddd4 | [
"ECL-2.0"
] | 2 | 2018-11-12T16:56:38.000Z | 2020-10-09T18:28:33.000Z | scripts/ucjeps/eximup/etserialize.py | felder/Tools | 52732673ae5ba806ee2e61f2ebdb6c95ef7fddd4 | [
"ECL-2.0"
] | 8 | 2015-02-23T18:37:37.000Z | 2019-12-19T20:57:08.000Z | scripts/ucjeps/eximup/etserialize.py | felder/Tools | 52732673ae5ba806ee2e61f2ebdb6c95ef7fddd4 | [
"ECL-2.0"
] | 18 | 2015-02-23T17:32:59.000Z | 2021-04-07T15:34:07.000Z | import xml.etree.ElementTree as ET
import sys
cspaceXML = ET.parse(sys.argv[1])
root = cspaceXML.getroot()
print ET.tostring(root)
| 18.857143 | 34 | 0.765152 | 21 | 132 | 4.809524 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.113636 | 132 | 6 | 35 | 22 | 0.854701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d3d580540670690c0d45365b62e4f5787e67cbf5 | 57 | py | Python | anydo/__init__.py | gvkalra/python-anydo | c7ee843848b6c41ca8e6c0575fc9335bfbfd37eb | [
"MIT"
] | 23 | 2015-02-22T18:10:19.000Z | 2020-06-18T17:13:39.000Z | anydo/__init__.py | dustinbrown/python-anydo | 71422f1cabca8a9a0afa39eeb2a77ca6a92f4b62 | [
"MIT"
] | 6 | 2015-05-01T07:04:10.000Z | 2016-09-15T12:40:31.000Z | anydo.widget/anydo/__init__.py | mislavcimpersak/anydo-widget | 8d7a9206dcb9872848cacf58c21834ab4b47c2bc | [
"MIT"
] | 9 | 2015-05-05T07:41:29.000Z | 2017-05-20T14:49:11.000Z | """ modules of unofficial python bindings for Any.Do """
| 28.5 | 56 | 0.719298 | 8 | 57 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 1 | 57 | 57 | 0.854167 | 0.842105 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3db354394524824c6c6ae5d0435c3c8310a4cb6 | 987 | py | Python | Car_rental/models/Car.py | evalisv/verklegt1-2018 | bbf9d6ca66a1f01058c41c9160f982f3621abea7 | [
"MIT"
] | null | null | null | Car_rental/models/Car.py | evalisv/verklegt1-2018 | bbf9d6ca66a1f01058c41c9160f982f3621abea7 | [
"MIT"
] | null | null | null | Car_rental/models/Car.py | evalisv/verklegt1-2018 | bbf9d6ca66a1f01058c41c9160f982f3621abea7 | [
"MIT"
] | null | null | null | class Car:
def __init__(self, lp_number, category, brand, model, colour, year, km, status):
self.__category = category
self.__lp_number = lp_number
self.__brand = brand
self.__model = model
self.__year = year
self.__km = km
self.__colour = colour
sel... | 25.973684 | 128 | 0.60689 | 120 | 987 | 4.408333 | 0.15 | 0.170132 | 0.21172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 987 | 38 | 129 | 25.973684 | 0.750355 | 0 | 0 | 0 | 0 | 0 | 0.023279 | 0.023279 | 0 | 0 | 0 | 0 | 0 | 1 | 0.344828 | false | 0 | 0 | 0.310345 | 0.689655 | 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 |
d3df8b9f0a99a8ec5f6ae30ba7bd88295920c033 | 38 | py | Python | publ/__version__.py | PlaidWeb/Publ | 67efc5e32bf25dbac72a83d1167de038b79db5a7 | [
"MIT"
] | 27 | 2018-11-30T21:32:26.000Z | 2022-03-20T19:46:25.000Z | publ/__version__.py | PlaidWeb/Publ | 67efc5e32bf25dbac72a83d1167de038b79db5a7 | [
"MIT"
] | 249 | 2018-09-30T07:04:37.000Z | 2022-03-29T04:31:00.000Z | publ/__version__.py | PlaidWeb/Publ | 67efc5e32bf25dbac72a83d1167de038b79db5a7 | [
"MIT"
] | 4 | 2019-03-01T06:46:13.000Z | 2019-06-30T17:45:46.000Z | """ version """
__version__ = "0.7.4"
| 12.666667 | 21 | 0.552632 | 5 | 38 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.157895 | 38 | 2 | 22 | 19 | 0.4375 | 0.184211 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3e01226d401d11a564fa874cb3d0012e418caad | 115 | py | Python | spot/__init__.py | bw-spotify-suggest/backend | de5e5cc0ca4e233c2fdb92a46203a8adabab68be | [
"MIT"
] | null | null | null | spot/__init__.py | bw-spotify-suggest/backend | de5e5cc0ca4e233c2fdb92a46203a8adabab68be | [
"MIT"
] | null | null | null | spot/__init__.py | bw-spotify-suggest/backend | de5e5cc0ca4e233c2fdb92a46203a8adabab68be | [
"MIT"
] | null | null | null | from flask import Flask
def create_app():
app_start = Flask(__name__)
return app_start
APP = create_app() | 16.428571 | 31 | 0.721739 | 17 | 115 | 4.411765 | 0.529412 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 115 | 7 | 32 | 16.428571 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d3ebe590d1879c6992716857aedb3596f0619c05 | 85 | py | Python | tgbot/apps.py | Klever-Engineering/django-telegram-bot | aa48eba22f1aa8db8f373ee34e06627d2eb59732 | [
"Apache-2.0"
] | 3 | 2021-09-17T09:10:33.000Z | 2022-01-11T00:42:26.000Z | tgbot/apps.py | Klever-Engineering/django-telegram-bot | aa48eba22f1aa8db8f373ee34e06627d2eb59732 | [
"Apache-2.0"
] | 21 | 2020-03-24T16:26:04.000Z | 2022-02-18T15:56:16.000Z | tgbot/apps.py | Klever-Engineering/django-telegram-bot | aa48eba22f1aa8db8f373ee34e06627d2eb59732 | [
"Apache-2.0"
] | 1 | 2022-01-27T12:45:27.000Z | 2022-01-27T12:45:27.000Z | from django.apps import AppConfig
class TgbotConfig(AppConfig):
name = 'tgbot'
| 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 |
d3ee6fa9ec3eb102acfe7c46ec2d9204c64288c4 | 45 | py | Python | Point/__init__.py | MasoudHeidary/django-telegram-bot-trade | 7032428e5e04cb02bb081dcc4d86a585a773ada0 | [
"MIT"
] | null | null | null | Point/__init__.py | MasoudHeidary/django-telegram-bot-trade | 7032428e5e04cb02bb081dcc4d86a585a773ada0 | [
"MIT"
] | null | null | null | Point/__init__.py | MasoudHeidary/django-telegram-bot-trade | 7032428e5e04cb02bb081dcc4d86a585a773ada0 | [
"MIT"
] | null | null | null | default_app_config = 'Point.apps.PointConfig' | 45 | 45 | 0.844444 | 6 | 45 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 45 | 1 | 45 | 45 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.478261 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3f1a3e5c9db9fbd7a6d6ffe2a8cd19d88a39183 | 1,223 | py | Python | fhirpathpy/engine/invocations/logic.py | m0rl/fhirpath-py | 0b309c0bca0ae85c7fa3aefb43605caca4d04a4b | [
"MIT"
] | 9 | 2020-08-13T18:54:39.000Z | 2022-03-03T01:26:44.000Z | fhirpathpy/engine/invocations/logic.py | m0rl/fhirpath-py | 0b309c0bca0ae85c7fa3aefb43605caca4d04a4b | [
"MIT"
] | 6 | 2020-05-05T06:19:30.000Z | 2021-12-02T07:31:21.000Z | fhirpathpy/engine/invocations/logic.py | m0rl/fhirpath-py | 0b309c0bca0ae85c7fa3aefb43605caca4d04a4b | [
"MIT"
] | 3 | 2020-07-15T08:25:46.000Z | 2021-09-15T16:56:06.000Z | def or_op(ctx, a, b):
if isinstance(b, list):
if a == True:
return True
if a == False:
return []
if isinstance(a, list):
return []
if isinstance(a, list):
if b == True:
return True
return []
return a or b
def and_op(c... | 20.04918 | 55 | 0.475879 | 166 | 1,223 | 3.481928 | 0.180723 | 0.207612 | 0.157439 | 0.205882 | 0.614187 | 0.588235 | 0.588235 | 0.550173 | 0.550173 | 0.550173 | 0 | 0 | 0.423549 | 1,223 | 60 | 56 | 20.383333 | 0.819858 | 0.080948 | 0 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d3f4548d5fd9f047b459b1d0b3c67ec414e1f4ea | 766 | py | Python | app/forms.py | dyachoksa/friendster | d5680d4f395ba4bf0e77211b07bd6b076ac8b8b5 | [
"MIT"
] | 1 | 2021-10-30T10:08:32.000Z | 2021-10-30T10:08:32.000Z | app/forms.py | dyachoksa/friendster | d5680d4f395ba4bf0e77211b07bd6b076ac8b8b5 | [
"MIT"
] | null | null | null | app/forms.py | dyachoksa/friendster | d5680d4f395ba4bf0e77211b07bd6b076ac8b8b5 | [
"MIT"
] | 1 | 2021-10-30T10:08:45.000Z | 2021-10-30T10:08:45.000Z | from ast import Pass
from unicodedata import name
from flask_wtf import FlaskForm
from wtforms import StringField, EmailField, PasswordField, TextAreaField
from wtforms.validators import DataRequired, Email, Length
class RegistrationForm(FlaskForm):
email = EmailField("Email", validators=[DataRequired(), Email()]... | 36.47619 | 91 | 0.751958 | 78 | 766 | 7.371795 | 0.397436 | 0.229565 | 0.083478 | 0.10087 | 0.389565 | 0.389565 | 0.194783 | 0 | 0 | 0 | 0 | 0.01037 | 0.118799 | 766 | 20 | 92 | 38.3 | 0.841481 | 0 | 0 | 0.285714 | 0 | 0 | 0.048303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.357143 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
d3fc6697323df2df5a3d99567d8daf24793e4a78 | 310 | py | Python | examgen/lib/__init__.py | jcstr/examgen | 8e72e72ee7aca3647efeaa2569b81226dd0271c4 | [
"Apache-2.0"
] | 45 | 2016-05-16T08:52:07.000Z | 2022-01-23T11:51:57.000Z | examgen/lib/__init__.py | jcstr/examgen | 8e72e72ee7aca3647efeaa2569b81226dd0271c4 | [
"Apache-2.0"
] | 3 | 2020-11-15T08:47:58.000Z | 2021-11-30T15:19:06.000Z | examgen/lib/__init__.py | jcstr/examgen | 8e72e72ee7aca3647efeaa2569b81226dd0271c4 | [
"Apache-2.0"
] | 26 | 2015-02-12T06:02:27.000Z | 2022-03-06T04:15:50.000Z | from docparts import doc_parts, section_parts, problem, exam_parts
from algebra import make_quadratic_eq, make_linear_eq, make_rational_poly_simplify
from calc1 import make_poly_ratio_limit, make_chain_rule_prob, make_quotient_rule_prob
from calc1 import make_horizontal_tangents, make_find_derivative_at_value | 77.5 | 86 | 0.9 | 49 | 310 | 5.183673 | 0.591837 | 0.11811 | 0.11811 | 0.149606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006969 | 0.074194 | 310 | 4 | 87 | 77.5 | 0.878049 | 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 |
d3fe66c199564a98db135a8e65272fca8c2d6019 | 82 | py | Python | wagtail/contrib/styleguide/__init__.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 8,851 | 2016-12-09T19:01:45.000Z | 2022-03-31T04:45:06.000Z | wagtail/contrib/styleguide/__init__.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 5,197 | 2016-12-09T19:24:37.000Z | 2022-03-31T22:17:55.000Z | wagtail/contrib/styleguide/__init__.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 2,548 | 2016-12-09T18:16:55.000Z | 2022-03-31T21:34:38.000Z | default_app_config = 'wagtail.contrib.styleguide.apps.WagtailStyleGuideAppConfig'
| 41 | 81 | 0.878049 | 8 | 82 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 82 | 1 | 82 | 82 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0.707317 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3109dcc97f10ab2490813dbfc0e499f7f228917d | 85 | py | Python | filter_part.py | teuneboon/PoEFilter | e0c5a2805e6822acc64eabdad024ca1d948bf998 | [
"MIT"
] | null | null | null | filter_part.py | teuneboon/PoEFilter | e0c5a2805e6822acc64eabdad024ca1d948bf998 | [
"MIT"
] | null | null | null | filter_part.py | teuneboon/PoEFilter | e0c5a2805e6822acc64eabdad024ca1d948bf998 | [
"MIT"
] | null | null | null | class FilterPart(object):
def __str__(self):
raise NotImplementedError()
| 21.25 | 35 | 0.694118 | 8 | 85 | 6.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211765 | 85 | 3 | 36 | 28.333333 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
312e9c6b46154d63bb53636920b3d6c9210c17a2 | 480 | py | Python | src/plaso/tarzan/app/extractors/__init__.py | nesfit/pyspark-plaso | 4e0680a1a79a5aebfbc7ae983da30841bf984d95 | [
"Apache-2.0"
] | 2 | 2020-02-09T01:11:08.000Z | 2021-09-17T04:16:31.000Z | src/plaso/tarzan/app/extractors/__init__.py | nesfit/pyspark-plaso | 4e0680a1a79a5aebfbc7ae983da30841bf984d95 | [
"Apache-2.0"
] | null | null | null | src/plaso/tarzan/app/extractors/__init__.py | nesfit/pyspark-plaso | 4e0680a1a79a5aebfbc7ae983da30841bf984d95 | [
"Apache-2.0"
] | 1 | 2021-03-17T09:47:01.000Z | 2021-03-17T09:47:01.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
# import all extractors to register them in a manager
import pe
import sqlite
# TODO: modify _DEFINITION_FILES_PATH in plaso/parsers/winreg_plugins/dtfabric_plugin.py to use a really absolute path
# (currently, the path is "./site-packages.zip/plaso/pars... | 40 | 120 | 0.791667 | 70 | 480 | 5.271429 | 0.757143 | 0.065041 | 0.097561 | 0.135501 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.1 | 480 | 11 | 121 | 43.636364 | 0.770833 | 0.835417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
313f3c9c791f8d0d80ad8a1dc68721b9af599ca7 | 89 | py | Python | 97.py | thirtiseven/projecteuler | 57ad70beae39ff82191cf37e71acade0c63a62f5 | [
"MIT"
] | null | null | null | 97.py | thirtiseven/projecteuler | 57ad70beae39ff82191cf37e71acade0c63a62f5 | [
"MIT"
] | null | null | null | 97.py | thirtiseven/projecteuler | 57ad70beae39ff82191cf37e71acade0c63a62f5 | [
"MIT"
] | 1 | 2019-12-27T23:30:51.000Z | 2019-12-27T23:30:51.000Z | x = 28433
for i in range(0, 7830457):
x = x * 2
x = x % 10000000000
x = x+1
print(x) | 9.888889 | 27 | 0.561798 | 19 | 89 | 2.631579 | 0.631579 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.412698 | 0.292135 | 89 | 9 | 28 | 9.888889 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3150585274ea70bfe2432384843b84c96d2efb63 | 1,216 | py | Python | obscmd/commands.py | huaweicloud/huaweicloud-obs-cmd | 62b940928e7be3908a2128ddd7d4ef071bc57202 | [
"Apache-2.0"
] | 6 | 2018-11-14T03:08:01.000Z | 2020-02-19T06:28:40.000Z | obscmd/commands.py | huaweicloud/huaweicloud-obs-cmd | 62b940928e7be3908a2128ddd7d4ef071bc57202 | [
"Apache-2.0"
] | null | null | null | obscmd/commands.py | huaweicloud/huaweicloud-obs-cmd | 62b940928e7be3908a2128ddd7d4ef071bc57202 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
class CLICommand(object):
"""Interface for a CLI command.
This class represents a top level CLI command
(``obscmd ec2``, ``obscmd obs``, ``obscmd config``).
"""
@property
def name(self):
# Subclasses must implement a name.
raise ... | 24.32 | 71 | 0.613487 | 144 | 1,216 | 5.111111 | 0.548611 | 0.052989 | 0.029891 | 0.086957 | 0.11413 | 0.11413 | 0.11413 | 0 | 0 | 0 | 0 | 0.002323 | 0.291941 | 1,216 | 49 | 72 | 24.816327 | 0.852497 | 0.567434 | 0 | 0.285714 | 0 | 0 | 0.018735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.071429 | 0 | 0.142857 | 0.571429 | 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 |
3161823b8653cfa3a4f29b6fa7130a7e1e0e284c | 4,844 | py | Python | tests/test_celery_tasks/test_tasks.py | augerai/a2ml | 9d9ce0ac1b51cc81f1cb5ae331c4523131bc6a86 | [
"Apache-2.0"
] | 30 | 2019-07-01T13:23:27.000Z | 2022-03-16T21:19:33.000Z | tests/test_celery_tasks/test_tasks.py | augerai/a2ml | 9d9ce0ac1b51cc81f1cb5ae331c4523131bc6a86 | [
"Apache-2.0"
] | 234 | 2019-07-04T13:56:15.000Z | 2021-11-04T10:12:55.000Z | tests/test_celery_tasks/test_tasks.py | augerai/a2ml | 9d9ce0ac1b51cc81f1cb5ae331c4523131bc6a86 | [
"Apache-2.0"
] | 13 | 2019-07-04T14:00:34.000Z | 2020-07-13T11:18:44.000Z | import os
import pytest
from a2ml.tasks_queue.tasks_api import (
import_data_task,
evaluate_task,
train_task,
deploy_task,
predict_task,
new_project_task
)
from a2ml.api.utils.context import Context
from unittest.mock import ANY
pytestmark = pytest.mark.usefixtures('config_context')
class Tes... | 28.327485 | 90 | 0.547894 | 542 | 4,844 | 4.730627 | 0.160517 | 0.046802 | 0.060062 | 0.085803 | 0.75039 | 0.75039 | 0.701248 | 0.701248 | 0.687598 | 0.653666 | 0 | 0.019802 | 0.311932 | 4,844 | 170 | 91 | 28.494118 | 0.749475 | 0.027044 | 0 | 0.536232 | 0 | 0 | 0.239703 | 0.056051 | 0 | 0 | 0 | 0 | 0.007246 | 1 | 0.07971 | false | 0 | 0.108696 | 0 | 0.195652 | 0.021739 | 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 |
3189922d1096667613c8fc7b8d38b292b56819a5 | 324 | py | Python | lib/oeqa/runtime/cases/rubygems_rubygems_kramdown_parser_gfm.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | null | null | null | lib/oeqa/runtime/cases/rubygems_rubygems_kramdown_parser_gfm.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | 141 | 2021-02-04T16:22:13.000Z | 2022-03-27T08:29:40.000Z | lib/oeqa/runtime/cases/rubygems_rubygems_kramdown_parser_gfm.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | 3 | 2021-02-04T14:02:01.000Z | 2022-02-02T16:46:52.000Z | from rubygems_utils import RubyGemsTestUtils
class RubyGemsTestrubygems_kramdown_parser_gfm(RubyGemsTestUtils):
def test_gem_list_rubygems_kramdown_parser_gfm(self):
self.gem_is_installed("kramdown-parser-gfm")
def test_load_kramdown_parser_gfm(self):
self.gem_is_loadable("kramdown-parser-gfm... | 29.454545 | 66 | 0.805556 | 41 | 324 | 5.926829 | 0.463415 | 0.288066 | 0.349794 | 0.17284 | 0.246914 | 0.246914 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 324 | 10 | 67 | 32.4 | 0.855634 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31993dc7f142c278a92e1dd2bd81ab7780bc1746 | 67 | py | Python | aluwagcms/settings/local.py | Mappboy/aluwagcms | 8651fe98664b1d88cd20dacfb68964f2e47df2cc | [
"MIT"
] | null | null | null | aluwagcms/settings/local.py | Mappboy/aluwagcms | 8651fe98664b1d88cd20dacfb68964f2e47df2cc | [
"MIT"
] | 1 | 2020-08-03T11:17:07.000Z | 2020-08-03T11:17:07.000Z | aluwagcms/settings/local.py | Mappboy/aluwagcms | 8651fe98664b1d88cd20dacfb68964f2e47df2cc | [
"MIT"
] | null | null | null | # Local settings make sure you set your env variable to DEBUG=True
| 33.5 | 66 | 0.791045 | 12 | 67 | 4.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 1 | 67 | 67 | 0.963636 | 0.955224 | 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 |
31b0dc8beef1e7d98b37bcf87bbe92a7cf9dd387 | 348,822 | py | Python | pysnmp-with-texts/CXMCVOX-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/CXMCVOX-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/CXMCVOX-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module CXMCVOX-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CXMCVOX-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:33:09 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 0... | 218.01375 | 11,879 | 0.787063 | 45,607 | 348,822 | 6.0198 | 0.035499 | 0.045632 | 0.079856 | 0.007824 | 0.733362 | 0.646663 | 0.633036 | 0.622346 | 0.60963 | 0.600583 | 0 | 0.055064 | 0.10608 | 348,822 | 1,599 | 11,880 | 218.150094 | 0.825399 | 0.000906 | 0 | 0 | 0 | 0.261935 | 0.443045 | 0.006528 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015075 | 0.005025 | 0 | 0.005025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31b32b58fe7af50a9014f9a35a06d0c964cd9322 | 184 | py | Python | pytext/utils/python_utils.py | fsonntag/pytext | cac4197f3b6e68dce080ad7ba09588e7ee7339f3 | [
"BSD-3-Clause"
] | 1 | 2019-11-06T21:56:21.000Z | 2019-11-06T21:56:21.000Z | pytext/utils/python_utils.py | fsonntag/pytext | cac4197f3b6e68dce080ad7ba09588e7ee7339f3 | [
"BSD-3-Clause"
] | 1 | 2019-06-04T08:19:27.000Z | 2019-06-04T08:19:27.000Z | pytext/utils/python_utils.py | fsonntag/pytext | cac4197f3b6e68dce080ad7ba09588e7ee7339f3 | [
"BSD-3-Clause"
] | 1 | 2019-10-28T08:25:43.000Z | 2019-10-28T08:25:43.000Z | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
def cls_vars(cls):
return [v for n, v in vars(cls).items() if not n.startswith("_")] | 30.666667 | 70 | 0.690217 | 31 | 184 | 4.032258 | 0.83871 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.163043 | 184 | 6 | 71 | 30.666667 | 0.805195 | 0.48913 | 0 | 0 | 0 | 0 | 0.010753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 |
31e9f08accd847bcaa096d3a88a4a5658ef3a4ec | 339 | py | Python | pyrant/rant/rant.py | chrishengler/PyRant | 48dfd0d411951475ceb41025e84f5a4514e65e2f | [
"MIT"
] | null | null | null | pyrant/rant/rant.py | chrishengler/PyRant | 48dfd0d411951475ceb41025e84f5a4514e65e2f | [
"MIT"
] | null | null | null | pyrant/rant/rant.py | chrishengler/PyRant | 48dfd0d411951475ceb41025e84f5a4514e65e2f | [
"MIT"
] | null | null | null | from pyrant.interpreter.interpreter import interpret_external as interpret
from pyrant.lookup.lookup import LookupManager
class Rant:
def __init__(self, path: str):
LookupManager.add_dictionaries_from_folder(path)
pass
@staticmethod
def run_sentence(sentence: str) -> str:
return i... | 26.076923 | 74 | 0.743363 | 39 | 339 | 6.230769 | 0.615385 | 0.082305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19174 | 339 | 12 | 75 | 28.25 | 0.886861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
9ed3394554ec9a3111fba9443b475594f2cd0d92 | 92 | py | Python | venv/Lib/site-packages/pyconverter/Constants.py | DarkEyeBr/Python | f45239551d19f49eac35185e4f72b067d5820f3a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pyconverter/Constants.py | DarkEyeBr/Python | f45239551d19f49eac35185e4f72b067d5820f3a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pyconverter/Constants.py | DarkEyeBr/Python | f45239551d19f49eac35185e4f72b067d5820f3a | [
"MIT"
] | null | null | null | HEXVALUE = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F']
| 46 | 91 | 0.26087 | 17 | 92 | 1.411765 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.195652 | 92 | 1 | 92 | 92 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
731a9c1a6906f81f52460198a780deb0682e447b | 1,300 | py | Python | invera/api/views.py | LeoLeiva/todo-challenge | f6f24f53758eb4e425c91516bcab7af8cad66814 | [
"MIT"
] | null | null | null | invera/api/views.py | LeoLeiva/todo-challenge | f6f24f53758eb4e425c91516bcab7af8cad66814 | [
"MIT"
] | null | null | null | invera/api/views.py | LeoLeiva/todo-challenge | f6f24f53758eb4e425c91516bcab7af8cad66814 | [
"MIT"
] | 1 | 2021-01-10T20:19:42.000Z | 2021-01-10T20:19:42.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from rest_framework.generics import ListCreateAPIView, RetrieveUpdateDestroyAPIView
from rest_framework.permissions import IsAuthenticated
from task.models import InveraTask
from api.serializers import TaskSerializer
from api.permissions import IsOwner
... | 38.235294 | 130 | 0.76 | 152 | 1,300 | 6.401316 | 0.519737 | 0.069887 | 0.043165 | 0.036999 | 0.261048 | 0.261048 | 0.261048 | 0.261048 | 0.261048 | 0.261048 | 0 | 0.008419 | 0.177692 | 1,300 | 34 | 131 | 38.235294 | 0.901777 | 0.309231 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
733677af6a665010273be366b6c053836c3fc4ea | 395 | py | Python | PS7/A3.py | NumEconCopenhagen/exercises-2022 | de954532526f4c1dc7d78ff6fbb8987523735b8f | [
"MIT"
] | null | null | null | PS7/A3.py | NumEconCopenhagen/exercises-2022 | de954532526f4c1dc7d78ff6fbb8987523735b8f | [
"MIT"
] | null | null | null | PS7/A3.py | NumEconCopenhagen/exercises-2022 | de954532526f4c1dc7d78ff6fbb8987523735b8f | [
"MIT"
] | 2 | 2022-02-14T17:00:01.000Z | 2022-03-09T07:20:32.000Z | _f1 = sm.lambdify((x1,x2),f1)
_f2 = sm.lambdify((x1,x2),f2)
_f11 = sm.lambdify((x1,x2),f11)
_f12 = sm.lambdify((x1,x2),f12)
_f21 = sm.lambdify((x1,x2),f21)
_f22 = sm.lambdify((x1,x2),f22)
def f_jac(x):
return np.array([_f1(x[0],x[1]),_f2(x[0],x[1])])
def f_hess(x):
row1 = [_f11(x[0],x[1]),_f12(x[0],x[1])]
... | 26.333333 | 52 | 0.579747 | 84 | 395 | 2.559524 | 0.261905 | 0.27907 | 0.334884 | 0.390698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168116 | 0.126582 | 395 | 14 | 53 | 28.214286 | 0.455072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.083333 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
735431b9d25a8c7197edc7d77218b32b10f772b9 | 47 | py | Python | terra_sdk/core/ibc/__init__.py | m04120310/terra.py | 211a616580da966630fe2d5839ab2f5fa9ed10c1 | [
"MIT"
] | 66 | 2021-10-21T23:29:38.000Z | 2022-03-30T15:58:13.000Z | terra_sdk/core/ibc/__init__.py | m04120310/terra.py | 211a616580da966630fe2d5839ab2f5fa9ed10c1 | [
"MIT"
] | 50 | 2021-10-19T06:11:56.000Z | 2022-03-31T17:06:57.000Z | terra_sdk/core/ibc/__init__.py | m04120310/terra.py | 211a616580da966630fe2d5839ab2f5fa9ed10c1 | [
"MIT"
] | 39 | 2021-11-07T17:28:31.000Z | 2022-03-31T15:03:57.000Z | from .data import Height
__all__ = ["Height"]
| 11.75 | 24 | 0.702128 | 6 | 47 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 25 | 15.666667 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 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 |
73631849ad98a3992fad924da5051d68dbae46d6 | 68 | py | Python | sublime_cscope/__init__.py | jgust/SublimeCscope | 8ae008f4805ad6edad7c8bf0d258eb7947da26a0 | [
"MIT"
] | 7 | 2015-05-19T15:11:11.000Z | 2019-10-22T19:16:39.000Z | sublime_cscope/__init__.py | jgust/SublimeCscope | 8ae008f4805ad6edad7c8bf0d258eb7947da26a0 | [
"MIT"
] | 2 | 2017-03-12T16:23:06.000Z | 2021-08-24T18:53:29.000Z | sublime_cscope/__init__.py | jgust/SublimeCscope | 8ae008f4805ad6edad7c8bf0d258eb7947da26a0 | [
"MIT"
] | 1 | 2016-03-24T09:15:39.000Z | 2016-03-24T09:15:39.000Z | __version__ = "0.0.1-alpha1"
__version_info__ = (0, 0, 1, 'alpha1')
| 22.666667 | 38 | 0.661765 | 11 | 68 | 3.272727 | 0.454545 | 0.111111 | 0.166667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 0.132353 | 68 | 2 | 39 | 34 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7dfe0a3b798f248ae89d618ea92ced547d91ebfc | 7,472 | py | Python | at_tmp/model/FUNC/PUB_RULE_OPT.py | zuoleilei3253/zuoleilei | e188b15a0aa4a9fde00dba15e8300e4b87973e2d | [
"Apache-2.0"
] | null | null | null | at_tmp/model/FUNC/PUB_RULE_OPT.py | zuoleilei3253/zuoleilei | e188b15a0aa4a9fde00dba15e8300e4b87973e2d | [
"Apache-2.0"
] | null | null | null | at_tmp/model/FUNC/PUB_RULE_OPT.py | zuoleilei3253/zuoleilei | e188b15a0aa4a9fde00dba15e8300e4b87973e2d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2018/7/16 21:21
# @Author : bxf
# @File : PUB_RULE_OPT.py
# @Software: PyCharm
from model.util.TMP_PAGINATOR import *
from model.util.PUB_RESP import *
from model.util.newID import *
class PUB_RULE_OPT:
def get_lists(self, data):
... | 39.957219 | 147 | 0.561831 | 854 | 7,472 | 4.631148 | 0.140515 | 0.08091 | 0.072819 | 0.084956 | 0.792668 | 0.759292 | 0.705689 | 0.705689 | 0.673072 | 0.657901 | 0 | 0.003983 | 0.328025 | 7,472 | 186 | 148 | 40.172043 | 0.783708 | 0.082709 | 0 | 0.658333 | 0 | 0 | 0.106804 | 0 | 0.008333 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.1 | 0 | 0.316667 | 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 |
7dffcdada5cc02b2c8247d79407b8b86f4b05488 | 8,874 | py | Python | src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/grammar/MetricAlertConditionLexer.py | chpspiir/azure-cli | 70a9d7fda754267a20f8593adf9f2013ae18f74f | [
"MIT"
] | 1 | 2019-09-18T06:26:58.000Z | 2019-09-18T06:26:58.000Z | src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/grammar/MetricAlertConditionLexer.py | chpspiir/azure-cli | 70a9d7fda754267a20f8593adf9f2013ae18f74f | [
"MIT"
] | 3 | 2021-03-26T00:41:56.000Z | 2022-03-29T22:04:08.000Z | src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/grammar/MetricAlertConditionLexer.py | chpspiir/azure-cli | 70a9d7fda754267a20f8593adf9f2013ae18f74f | [
"MIT"
] | 1 | 2019-06-21T05:08:09.000Z | 2019-06-21T05:08:09.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 54.441718 | 103 | 0.545864 | 2,110 | 8,874 | 2.268246 | 0.154028 | 0.112829 | 0.078354 | 0.080234 | 0.2313 | 0.161513 | 0.144379 | 0.053907 | 0.048266 | 0.044923 | 0 | 0.28391 | 0.152581 | 8,874 | 162 | 104 | 54.777778 | 0.352527 | 0.048005 | 0 | 0 | 0 | 0.459854 | 0.56293 | 0.51671 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014599 | false | 0 | 0.029197 | 0 | 0.262774 | 0.007299 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.