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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cbdacd5d1088bf007bfe18e106fb35e07815b192 | 20,347 | py | Python | pyswitch/snmp/base/acl/acl.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 6 | 2017-10-02T21:02:02.000Z | 2018-07-04T13:56:55.000Z | pyswitch/snmp/base/acl/acl.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 23 | 2017-10-03T18:49:11.000Z | 2019-07-20T00:25:44.000Z | pyswitch/snmp/base/acl/acl.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 4 | 2018-02-27T05:43:37.000Z | 2019-06-30T13:30:25.000Z | """
Copyright 2017 Brocade Communications Systems, Inc.
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 required by applicable law or agreed to i... | 40.211462 | 79 | 0.533297 | 2,277 | 20,347 | 4.66491 | 0.147123 | 0.016475 | 0.022595 | 0.022595 | 0.745152 | 0.725946 | 0.716438 | 0.709094 | 0.699774 | 0.681887 | 0 | 0.015494 | 0.400501 | 20,347 | 505 | 80 | 40.291089 | 0.855304 | 0.718927 | 0 | 0.438356 | 0 | 0 | 0.051424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.273973 | false | 0 | 0.013699 | 0 | 0.561644 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1dbf83713d27a53a82b2c5eb943039eef8c71165 | 117 | py | Python | pal/gadget/cxx/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 26 | 2020-01-06T23:53:17.000Z | 2022-02-01T08:58:21.000Z | pal/gadget/cxx/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 30 | 2019-11-13T00:55:22.000Z | 2022-01-06T08:09:35.000Z | pal/gadget/cxx/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 14 | 2019-11-15T16:56:22.000Z | 2021-12-22T10:14:17.000Z | from .function_definition import function_definition
from .namespace import namespace
from .extern_c import extern_c
| 29.25 | 52 | 0.871795 | 16 | 117 | 6.125 | 0.4375 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 53 | 39 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
1dc6205189c32122e541f56722a29149bf8bcfbf | 236 | py | Python | spylib/__init__.py | SatelCreative/satel-python-shopify | c77171be6871551a0a454800c89bca88df800874 | [
"MIT"
] | 8 | 2021-07-21T23:12:47.000Z | 2022-02-09T17:42:39.000Z | spylib/__init__.py | SatelCreative/satel-python-shopify | c77171be6871551a0a454800c89bca88df800874 | [
"MIT"
] | 56 | 2021-06-21T22:45:29.000Z | 2022-02-28T16:20:05.000Z | spylib/__init__.py | SatelCreative/satel-python-shopify | c77171be6871551a0a454800c89bca88df800874 | [
"MIT"
] | 1 | 2021-06-20T08:21:02.000Z | 2021-06-20T08:21:02.000Z | """A library to facilitate interfacing with Shopify's API"""
__version__ = '0.4'
from .token import OfflineTokenABC, OnlineTokenABC, PrivateTokenABC, Token
__all__ = ['OfflineTokenABC', 'OnlineTokenABC', 'PrivateTokenABC', 'Token']
| 26.222222 | 75 | 0.758475 | 24 | 236 | 7.125 | 0.791667 | 0.339181 | 0.51462 | 0.573099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.118644 | 236 | 8 | 76 | 29.5 | 0.8125 | 0.228814 | 0 | 0 | 0 | 0 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1dd4d8008a1fb653dafa825e3cf79764fc0298f5 | 7,135 | py | Python | paypalpayoutssdk/payouts/payouts_post_request.py | arao6/Payouts-Python-SDK | de16b710a118e8d382549e7a254546e2d28d477a | [
"BSD-Source-Code"
] | null | null | null | paypalpayoutssdk/payouts/payouts_post_request.py | arao6/Payouts-Python-SDK | de16b710a118e8d382549e7a254546e2d28d477a | [
"BSD-Source-Code"
] | null | null | null | paypalpayoutssdk/payouts/payouts_post_request.py | arao6/Payouts-Python-SDK | de16b710a118e8d382549e7a254546e2d28d477a | [
"BSD-Source-Code"
] | null | null | null | # This class was generated on Mon, 23 Dec 2019 12:39:22 IST by version 0.1.0-dev+904328-dirty of Braintree SDK Generator
# payouts_post_request.py
# @version 0.1.0-dev+904328-dirty
# @type request
# @data H4sIAAAAAAAC/+xc3XPbNhJ/v79ih72HeIYSnc+2nrkH104n6qWOL3Y703E9MkSuRNQgwABgHE0n//sNvihSpGTFUZT2Tm8WPvcLi90flv4zOiMFRkd... | 165.930233 | 4,484 | 0.877365 | 535 | 7,135 | 11.618692 | 0.528972 | 0.010618 | 0.019305 | 0.01094 | 0.079311 | 0.053089 | 0.043436 | 0.02381 | 0.010618 | 0 | 0 | 0.108294 | 0.060406 | 7,135 | 42 | 4,485 | 169.880952 | 0.818914 | 0.849895 | 0 | 0.076923 | 1 | 0 | 0.148042 | 0.047755 | 0 | 1 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.192308 | 0 | 0.423077 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1de64d87bbb01796702fe48ace190cec97b6e3c2 | 35,760 | py | Python | raiden/tests/integration/network/proxies/test_token_network.py | jomuel/raiden | 8e3a1e57ebc112171cc6236e09657f32a89f8f3b | [
"MIT"
] | null | null | null | raiden/tests/integration/network/proxies/test_token_network.py | jomuel/raiden | 8e3a1e57ebc112171cc6236e09657f32a89f8f3b | [
"MIT"
] | 1 | 2019-12-06T16:34:40.000Z | 2019-12-06T16:34:40.000Z | raiden/tests/integration/network/proxies/test_token_network.py | jomuel/raiden | 8e3a1e57ebc112171cc6236e09657f32a89f8f3b | [
"MIT"
] | null | null | null | import random
import pytest
from eth_utils import decode_hex, encode_hex, to_canonical_address, to_checksum_address
from raiden.constants import (
EMPTY_BALANCE_HASH,
EMPTY_HASH,
EMPTY_SIGNATURE,
GENESIS_BLOCK_NUMBER,
LOCKSROOT_OF_NO_LOCKS,
STATE_PRUNING_AFTER_BLOCKS,
)
from raiden.exceptions ... | 38.701299 | 99 | 0.713563 | 4,158 | 35,760 | 5.720539 | 0.06734 | 0.062558 | 0.057891 | 0.038342 | 0.834777 | 0.815017 | 0.792819 | 0.778063 | 0.752165 | 0.735853 | 0 | 0.01624 | 0.221672 | 35,760 | 923 | 100 | 38.743229 | 0.838357 | 0.036857 | 0 | 0.670823 | 0 | 0 | 0.059485 | 0.001279 | 0 | 0 | 0 | 0 | 0.046135 | 1 | 0.006234 | false | 0 | 0.014963 | 0 | 0.021197 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
381ba5e541cfd6a27d5aa92f55bba113860ae269 | 4,306 | py | Python | desktop/core/ext-py/py4j-0.9/src/py4j/finalizer.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/py4j-0.9/src/py4j/finalizer.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/py4j-0.9/src/py4j/finalizer.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | # -*- coding: UTF-8 -*-
"""
Module that defines a Finalizer class responsible for registering and cleaning
finalizer
Created on Mar 7, 2010
:author: Barthelemy Dagenais
"""
from __future__ import unicode_literals, absolute_import
from threading import RLock
from py4j.compat import items
class ThreadSafeFinalizer(... | 31.896296 | 81 | 0.65281 | 569 | 4,306 | 4.885765 | 0.200351 | 0.060791 | 0.020144 | 0.027338 | 0.780576 | 0.772662 | 0.772662 | 0.757194 | 0.757194 | 0.757194 | 0 | 0.002247 | 0.276591 | 4,306 | 134 | 82 | 32.134328 | 0.890209 | 0.586856 | 0 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.071429 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
382086fa44cd4df6a6f8e481f543377adb1187cb | 179 | py | Python | comvex/efficientnet_v2/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 29 | 2021-06-14T08:27:43.000Z | 2022-02-07T13:40:27.000Z | comvex/efficientnet_v2/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 3 | 2021-11-23T16:11:51.000Z | 2021-12-21T17:24:36.000Z | comvex/efficientnet_v2/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 3 | 2021-06-27T08:18:57.000Z | 2021-12-17T07:29:59.000Z | from .model import EfficientNetV2Base, FusedMBConvXd, EfficientNetV2Backbone, EfficientNetV2WithLinearClassifier
from .config import EfficientNetV2BaseConfig, EfficientNetV2Config | 89.5 | 112 | 0.905028 | 12 | 179 | 13.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029762 | 0.061453 | 179 | 2 | 113 | 89.5 | 0.934524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
69f5672a6f104a8033f436835623b729cbdc4343 | 35 | py | Python | JudgeLight/__init__.py | MeiK-h/JudgeLight | bebf37fbea7f259b7ea4a3b0ecad146b74f40abb | [
"MIT"
] | 5 | 2017-07-26T03:28:50.000Z | 2017-08-04T09:17:54.000Z | JudgeLight/__init__.py | MeiK-h/JudgeLight | bebf37fbea7f259b7ea4a3b0ecad146b74f40abb | [
"MIT"
] | null | null | null | JudgeLight/__init__.py | MeiK-h/JudgeLight | bebf37fbea7f259b7ea4a3b0ecad146b74f40abb | [
"MIT"
] | 1 | 2020-10-08T16:10:38.000Z | 2020-10-08T16:10:38.000Z | from .JudgeLight import JudgeLight
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e088649cfcd3588b2ce397e4f772541749e43de | 164 | py | Python | account/admin.py | vinaykakkad/DIM | 9096e3703b0edda85914e4b25092670dd44e6d99 | [
"MIT"
] | 2 | 2021-06-02T03:54:23.000Z | 2021-12-17T04:49:08.000Z | account/admin.py | vinaykakkad/DIM | 9096e3703b0edda85914e4b25092670dd44e6d99 | [
"MIT"
] | 2 | 2021-06-02T03:49:39.000Z | 2021-09-22T18:43:45.000Z | account/admin.py | vinaykakkad/DIM | 9096e3703b0edda85914e4b25092670dd44e6d99 | [
"MIT"
] | 1 | 2021-07-21T16:07:07.000Z | 2021-07-21T16:07:07.000Z | from django.contrib import admin
from .models import Account, Profile, Skill
admin.site.register(Account)
admin.site.register(Profile)
admin.site.register(Skill)
| 20.5 | 43 | 0.810976 | 23 | 164 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 164 | 7 | 44 | 23.428571 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3892357d3f5dd8868b47894e96efbf04d12a904a | 2,856 | py | Python | tests/test_sample_index_helper.py | mozjay0619/fast-scboot | c46bcb0ca5aa066fce6396bf2ee0c6b27d26acfb | [
"BSD-3-Clause"
] | null | null | null | tests/test_sample_index_helper.py | mozjay0619/fast-scboot | c46bcb0ca5aa066fce6396bf2ee0c6b27d26acfb | [
"BSD-3-Clause"
] | null | null | null | tests/test_sample_index_helper.py | mozjay0619/fast-scboot | c46bcb0ca5aa066fce6396bf2ee0c6b27d26acfb | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
from src.fast_scboot.c.sample_index_helper import count_clusts, make_index_matrix
# def test_make_index_matrix():
# strat_array = np.asarray([0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2])
# clust_array = np.asarray([0, 1, 1, 2, 3, 4, 4, 5, 6, 6, 6])
# clust_val = np.asarray([0, 1, 1,... | 29.443299 | 93 | 0.545868 | 471 | 2,856 | 3.18896 | 0.095541 | 0.037284 | 0.099867 | 0.11984 | 0.88482 | 0.88482 | 0.86285 | 0.840213 | 0.724368 | 0.724368 | 0 | 0.104057 | 0.266457 | 2,856 | 96 | 94 | 29.75 | 0.612888 | 0.434524 | 0 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 1 | 0.034483 | false | 0 | 0.103448 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
389fd118f909ba88f3daefab2818d0375297fdbc | 25,830 | py | Python | tests/test_config_flow.py | mattsch/tesla | ecb376539e2046692bbce4374fd541fc22790979 | [
"Apache-2.0"
] | null | null | null | tests/test_config_flow.py | mattsch/tesla | ecb376539e2046692bbce4374fd541fc22790979 | [
"Apache-2.0"
] | null | null | null | tests/test_config_flow.py | mattsch/tesla | ecb376539e2046692bbce4374fd541fc22790979 | [
"Apache-2.0"
] | null | null | null | """Test the Tesla config flow."""
import datetime
from unittest.mock import AsyncMock, patch
from aiohttp import web
from homeassistant import config_entries, data_entry_flow
from homeassistant.const import (
CONF_ACCESS_TOKEN,
CONF_PASSWORD,
CONF_SCAN_INTERVAL,
CONF_TOKEN,
CONF_USERNAME,
HTTP_... | 35.238745 | 216 | 0.692296 | 3,246 | 25,830 | 5.215342 | 0.069316 | 0.046784 | 0.022447 | 0.026936 | 0.819659 | 0.795794 | 0.781913 | 0.774647 | 0.766495 | 0.745585 | 0 | 0.007736 | 0.199303 | 25,830 | 732 | 217 | 35.286885 | 0.810802 | 0.101587 | 0 | 0.649899 | 0 | 0 | 0.142395 | 0.047293 | 0 | 0 | 0 | 0 | 0.207243 | 1 | 0 | false | 0.006036 | 0.034205 | 0 | 0.050302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
38aa805f84406f479aa2fefb87377a961948324e | 44 | py | Python | ratelimit/backends/__init__.py | abersheeran/asgi-ratelim | e4614a230747bdbbcd996933c1f1ca4d0bc8a7c2 | [
"Apache-2.0"
] | 136 | 2020-06-08T10:38:19.000Z | 2022-03-24T14:45:51.000Z | ratelimit/backends/__init__.py | abersheeran/asgi-ratelim | e4614a230747bdbbcd996933c1f1ca4d0bc8a7c2 | [
"Apache-2.0"
] | 38 | 2020-07-12T15:35:15.000Z | 2022-03-25T03:27:45.000Z | ratelimit/backends/__init__.py | abersheeran/asgi-ratelim | e4614a230747bdbbcd996933c1f1ca4d0bc8a7c2 | [
"Apache-2.0"
] | 15 | 2021-01-19T13:48:37.000Z | 2022-03-18T02:34:52.000Z | from .base import BaseBackend # noqa: F401
| 22 | 43 | 0.75 | 6 | 44 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.181818 | 44 | 1 | 44 | 44 | 0.833333 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a1a59a03bb0936f07a0d4ff6bed65ee595f5016 | 4,127 | py | Python | openpathsampling/tests/test_range_logic.py | bolhuis/openpathsampling | 4a12af0ee1143cdbc272b10a8c7cbea735566ce1 | [
"MIT"
] | 64 | 2016-07-06T13:38:51.000Z | 2022-03-30T15:58:01.000Z | openpathsampling/tests/test_range_logic.py | bolhuis/openpathsampling | 4a12af0ee1143cdbc272b10a8c7cbea735566ce1 | [
"MIT"
] | 601 | 2016-06-13T10:22:01.000Z | 2022-03-25T00:10:40.000Z | openpathsampling/tests/test_range_logic.py | hejung/openpathsampling | e8b091c92916561954542d40d17d7241b203d1ad | [
"MIT"
] | 45 | 2016-11-10T11:17:53.000Z | 2022-02-13T11:50:26.000Z |
from builtins import object
from nose.tools import assert_equal, assert_not_equal, raises
from nose.plugins.skip import Skip, SkipTest
from openpathsampling.range_logic import *
class TestRangeLogic(object):
def test_range_and(self):
assert_equal(range_and(1, 3, 2, 4), [(2, 3)])
assert_equal(range... | 47.436782 | 74 | 0.579113 | 762 | 4,127 | 2.917323 | 0.048556 | 0.296896 | 0.316239 | 0.334683 | 0.82726 | 0.77238 | 0.682861 | 0.618983 | 0.471435 | 0.214575 | 0 | 0.130612 | 0.228253 | 4,127 | 86 | 75 | 47.988372 | 0.567347 | 0.005573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.821918 | 1 | 0.09589 | false | 0 | 0.054795 | 0 | 0.178082 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
2a3a7bb1b4cb34c62f74e5913b58166f5e1df5de | 57 | py | Python | __init__.py | jesisca-tandi/nn-manual | 9798de2741d9a1679a909491dc3f069a87606274 | [
"MIT"
] | null | null | null | __init__.py | jesisca-tandi/nn-manual | 9798de2741d9a1679a909491dc3f069a87606274 | [
"MIT"
] | null | null | null | __init__.py | jesisca-tandi/nn-manual | 9798de2741d9a1679a909491dc3f069a87606274 | [
"MIT"
] | null | null | null | from . import nn
from . import models
from . import utils | 19 | 20 | 0.754386 | 9 | 57 | 4.777778 | 0.555556 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 57 | 3 | 21 | 19 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
aa6beff1c59e7fdd9d26343a684692388b1f8016 | 193 | py | Python | pyintercept/__init__.py | caioariede/pyintercept | 19039ce3038521bf32aaafe207024adeb0096749 | [
"MIT"
] | 32 | 2015-07-20T21:13:26.000Z | 2018-04-05T13:53:28.000Z | pyintercept/__init__.py | caioariede/pyintercept | 19039ce3038521bf32aaafe207024adeb0096749 | [
"MIT"
] | 2 | 2019-07-23T17:38:06.000Z | 2020-02-27T13:38:02.000Z | pyintercept/__init__.py | caioariede/pyintercept | 19039ce3038521bf32aaafe207024adeb0096749 | [
"MIT"
] | 3 | 2015-08-09T14:48:38.000Z | 2020-02-27T12:58:46.000Z | from .handlers.json_handler import json
from .handlers.pickle_handler import pickle
from .handlers.print_handler import print_
from .handlers.pdb_handler import pdb
locals()['print'] = print_
| 27.571429 | 43 | 0.818653 | 27 | 193 | 5.62963 | 0.333333 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103627 | 193 | 6 | 44 | 32.166667 | 0.878613 | 0 | 0 | 0 | 0 | 0 | 0.025907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aaa9b3a5323a4a07baf6473932a736653e125446 | 29 | py | Python | textcounts/__init__.py | staeiou/textcounts | 933fa504d5e55574ff7e51817458d3d71d3c2795 | [
"MIT"
] | null | null | null | textcounts/__init__.py | staeiou/textcounts | 933fa504d5e55574ff7e51817458d3d71d3c2795 | [
"MIT"
] | null | null | null | textcounts/__init__.py | staeiou/textcounts | 933fa504d5e55574ff7e51817458d3d71d3c2795 | [
"MIT"
] | null | null | null | from textcounts.core import * | 29 | 29 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aac72f8485bc09f1971623cd927b13d4e49da039 | 174 | py | Python | khrapi/Vendor.py | EllAyling/khrbinding-generator | 12215fae7754dafc29e8134625cbbf4408b8ccf7 | [
"MIT"
] | 5 | 2018-05-03T16:47:24.000Z | 2021-05-22T21:18:10.000Z | khrapi/Vendor.py | EllAyling/khrbinding-generator | 12215fae7754dafc29e8134625cbbf4408b8ccf7 | [
"MIT"
] | 22 | 2018-04-01T18:41:53.000Z | 2022-01-11T13:56:49.000Z | khrapi/Vendor.py | EllAyling/khrbinding-generator | 12215fae7754dafc29e8134625cbbf4408b8ccf7 | [
"MIT"
] | 1 | 2020-10-22T10:23:40.000Z | 2020-10-22T10:23:40.000Z |
class Vendor:
def __init__(self, token, name):
self.token = token
self.name = name
def __lt__(self, other):
return self.token < other.token
| 19.333333 | 39 | 0.597701 | 22 | 174 | 4.363636 | 0.454545 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304598 | 174 | 8 | 40 | 21.75 | 0.793388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2aad3d4148618b0ee803b3187f70c722e300ca7d | 2,104 | py | Python | python/DeepSeaScene/SubpassDependency.py | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | 5 | 2018-11-17T23:13:22.000Z | 2021-09-30T13:37:04.000Z | python/DeepSeaScene/SubpassDependency.py | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | null | null | null | python/DeepSeaScene/SubpassDependency.py | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | 2 | 2019-09-23T12:23:35.000Z | 2020-04-07T05:31:06.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: DeepSeaScene
import flatbuffers
from flatbuffers.compat import import_numpy
np = import_numpy()
class SubpassDependency(object):
__slots__ = ['_tab']
@classmethod
def SizeOf(cls):
return 28
# SubpassDependency... | 45.73913 | 156 | 0.775665 | 241 | 2,104 | 6.593361 | 0.257261 | 0.066079 | 0.193833 | 0.07489 | 0.451227 | 0.451227 | 0.451227 | 0.451227 | 0.424795 | 0.3927 | 0 | 0.022295 | 0.125951 | 2,104 | 45 | 157 | 46.755556 | 0.841762 | 0.111217 | 0 | 0 | 1 | 0 | 0.002152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.214286 | 0.107143 | 0.285714 | 0.607143 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
2aba60ecd289c064f194010c21a3e0b1077b2ff6 | 1,860 | py | Python | tests/test_document.py | biobakery/anadama2_test | 46d06f7efc24ae067a1b6cc2841eda0c2a328daf | [
"MIT"
] | 4 | 2020-06-08T22:10:48.000Z | 2021-07-27T13:57:43.000Z | tests/test_document.py | biobakery/anadama2_test | 46d06f7efc24ae067a1b6cc2841eda0c2a328daf | [
"MIT"
] | null | null | null | tests/test_document.py | biobakery/anadama2_test | 46d06f7efc24ae067a1b6cc2841eda0c2a328daf | [
"MIT"
] | 1 | 2020-09-10T08:29:22.000Z | 2020-09-10T08:29:22.000Z | # -*- coding: utf-8 -*-
import os
import shutil
import unittest
import optparse
import anadama2.document
class TestPweaveDocument(unittest.TestCase):
def test_filter_zero_rows(self):
doc = anadama2.document.PweaveDocument()
names=["s1","s2","s3"]
data=[[0,0,1],[0,0,0],[1,0,0]]
f... | 31 | 75 | 0.581183 | 263 | 1,860 | 3.927757 | 0.159696 | 0.036786 | 0.052275 | 0.03485 | 0.859632 | 0.835431 | 0.835431 | 0.835431 | 0.835431 | 0.835431 | 0 | 0.066525 | 0.240323 | 1,860 | 59 | 76 | 31.525424 | 0.664544 | 0.01129 | 0 | 0.65 | 0 | 0 | 0.028307 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
63049e701b93e3a41a8c527aa9db6d1fc825f548 | 88 | py | Python | dusted/geom/__init__.py | AlexMorson/dustforce-tas-editor | 80546ca525ba215252c23a74807857e9c7c2566c | [
"MIT"
] | 1 | 2021-03-20T07:43:33.000Z | 2021-03-20T07:43:33.000Z | dusted/geom/__init__.py | AlexMorson/dustforce-tas-editor | 80546ca525ba215252c23a74807857e9c7c2566c | [
"MIT"
] | null | null | null | dusted/geom/__init__.py | AlexMorson/dustforce-tas-editor | 80546ca525ba215252c23a74807857e9c7c2566c | [
"MIT"
] | null | null | null | from dusted.geom.tiles import tile_outlines
from dusted.geom.lines import decimate_line
| 29.333333 | 43 | 0.863636 | 14 | 88 | 5.285714 | 0.714286 | 0.27027 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 44 | 44 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
632ee7444cde67702473fc63f12c982d6007d003 | 13,893 | py | Python | realpy/tests/test_UCB/test_ucb.py | REAL-Pipetting/REinforced-Automaton-Learning-REAL-Pipetting | b2e8ceb31846bb3d485ab48e0065a1460229444f | [
"MIT"
] | null | null | null | realpy/tests/test_UCB/test_ucb.py | REAL-Pipetting/REinforced-Automaton-Learning-REAL-Pipetting | b2e8ceb31846bb3d485ab48e0065a1460229444f | [
"MIT"
] | null | null | null | realpy/tests/test_UCB/test_ucb.py | REAL-Pipetting/REinforced-Automaton-Learning-REAL-Pipetting | b2e8ceb31846bb3d485ab48e0065a1460229444f | [
"MIT"
] | null | null | null | """Testing functions for GP-UCB class."""
# testing imports
import unittest
import unittest.mock as mock
# standard imports
import numpy as np
# our package imports
import realpy.UCB.ucb as ucb
class TestGPUCB(unittest.TestCase):
"""Test GP UCB class."""
def test___init__(self):
"""Test initializa... | 38.591667 | 78 | 0.603469 | 1,637 | 13,893 | 4.984728 | 0.095907 | 0.044118 | 0.058333 | 0.051471 | 0.790319 | 0.757843 | 0.733333 | 0.733333 | 0.719608 | 0.702574 | 0 | 0.01601 | 0.28518 | 13,893 | 359 | 79 | 38.699164 | 0.805659 | 0.142014 | 0 | 0.733871 | 0 | 0 | 0.049583 | 0.014543 | 0 | 0 | 0 | 0 | 0.229839 | 1 | 0.076613 | false | 0 | 0.016129 | 0 | 0.108871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d4993ea3eb08132a1090f741ec9e42413058676 | 363 | py | Python | numpyro/contrib/tfp/__init__.py | ahoho/numpyro | 64e94e346c51a6c0c1ba51aa7b608e73513f158f | [
"Apache-2.0"
] | null | null | null | numpyro/contrib/tfp/__init__.py | ahoho/numpyro | 64e94e346c51a6c0c1ba51aa7b608e73513f158f | [
"Apache-2.0"
] | null | null | null | numpyro/contrib/tfp/__init__.py | ahoho/numpyro | 64e94e346c51a6c0c1ba51aa7b608e73513f158f | [
"Apache-2.0"
] | null | null | null | # Copyright Contributors to the Pyro project.
# SPDX-License-Identifier: Apache-2.0
try:
import tensorflow_probability.substrates.jax as tfp # noqa: F401
except ImportError as e:
raise ImportError("To use this module, please install TensorFlow Probability. It can be"
" installed with `pi... | 40.333333 | 92 | 0.730028 | 47 | 363 | 5.595745 | 0.808511 | 0.239544 | 0.212928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017301 | 0.203857 | 363 | 8 | 93 | 45.375 | 0.892734 | 0.247934 | 0 | 0 | 0 | 0 | 0.446097 | 0.085502 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d81d9b6daf26f28b055039c49b230eb3e778aab | 24 | py | Python | GPy/kern/src/__init__.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 1,685 | 2015-01-03T14:46:25.000Z | 2022-03-30T02:41:35.000Z | GPy/kern/src/__init__.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 778 | 2015-01-15T18:21:25.000Z | 2022-03-30T14:52:32.000Z | GPy/kern/src/__init__.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 584 | 2015-01-06T06:30:43.000Z | 2022-03-29T13:05:33.000Z |
from . import psi_comp
| 8 | 22 | 0.75 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d9882d554aa7d158c448a7600a5f7cf7e67a1dd | 48 | py | Python | wlanpi_core/schemas/speedtest/__init__.py | WLAN-Pi/wlanpi-core | 7c626dac990c8240b45813ab5878041d1f3569c4 | [
"BSD-3-Clause"
] | 1 | 2021-09-07T05:30:02.000Z | 2021-09-07T05:30:02.000Z | wlanpi_core/schemas/speedtest/__init__.py | WLAN-Pi/wlanpi-core | 7c626dac990c8240b45813ab5878041d1f3569c4 | [
"BSD-3-Clause"
] | 13 | 2021-09-12T15:42:03.000Z | 2022-02-21T22:20:54.000Z | wlanpi_core/schemas/speedtest/__init__.py | WLAN-Pi/wlanpi-core | 7c626dac990c8240b45813ab5878041d1f3569c4 | [
"BSD-3-Clause"
] | null | null | null | from .ookla_speedtest_cli import OoklaSpeedtest
| 24 | 47 | 0.895833 | 6 | 48 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2dc0050538461b9fd7d1901b9b1e013b1e907fe1 | 69 | py | Python | neurondm/neurondm/__init__.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 11 | 2017-05-12T08:50:03.000Z | 2022-01-22T20:23:25.000Z | neurondm/neurondm/__init__.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 81 | 2016-02-25T07:39:15.000Z | 2022-02-17T20:20:27.000Z | neurondm/neurondm/__init__.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 257 | 2017-07-18T19:32:22.000Z | 2022-02-03T17:26:18.000Z | from .core import *
from .core import __all__
__version__ = '0.1.4'
| 13.8 | 25 | 0.710145 | 11 | 69 | 3.727273 | 0.727273 | 0.390244 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 69 | 4 | 26 | 17.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93281b3ee23a1584cc48730b1fd11b727ca1d822 | 85 | py | Python | src/ostorlab/cli/auth/revoke/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 113 | 2022-02-21T09:30:14.000Z | 2022-03-31T21:54:26.000Z | src/ostorlab/cli/auth/revoke/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 2 | 2022-02-25T10:56:55.000Z | 2022-03-24T13:08:06.000Z | src/ostorlab/cli/auth/revoke/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 20 | 2022-02-28T14:25:04.000Z | 2022-03-30T23:01:11.000Z | """Module for the auth revoke command"""
from ostorlab.cli.auth.revoke import revoke
| 28.333333 | 43 | 0.776471 | 13 | 85 | 5.076923 | 0.769231 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 2 | 44 | 42.5 | 0.88 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
fa74e67d2d298300a98df2d11ff18e77ec388176 | 29 | py | Python | matlab_lib/__init__.py | chungks603/dereverberation-end-to-end | 9e9d42432a7948c283f65ad01a0aedf910b0b2ad | [
"MIT"
] | 31 | 2019-10-12T16:17:38.000Z | 2022-03-12T12:15:25.000Z | matlab_lib/__init__.py | chungks603/dereverberation-end-to-end | 9e9d42432a7948c283f65ad01a0aedf910b0b2ad | [
"MIT"
] | 1 | 2022-01-03T12:40:33.000Z | 2022-01-03T13:15:09.000Z | matlab_lib/__init__.py | chungks603/dereverberation-end-to-end | 9e9d42432a7948c283f65ad01a0aedf910b0b2ad | [
"MIT"
] | 5 | 2019-10-08T08:30:20.000Z | 2022-03-12T12:15:44.000Z | from .eval import Evaluation
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fac0fe0fa234d71777a325d049c5b47331e917d7 | 6,580 | py | Python | app_asset/migrations/0001_initial.py | sivarki/hjarnuc | 4acc9437af0f0fdc44d68dd0d6923e1039a4911b | [
"Apache-2.0"
] | null | null | null | app_asset/migrations/0001_initial.py | sivarki/hjarnuc | 4acc9437af0f0fdc44d68dd0d6923e1039a4911b | [
"Apache-2.0"
] | null | null | null | app_asset/migrations/0001_initial.py | sivarki/hjarnuc | 4acc9437af0f0fdc44d68dd0d6923e1039a4911b | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.1.1 on 2018-12-27 07:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Host',
fields=[
... | 51.40625 | 128 | 0.585258 | 716 | 6,580 | 5.175978 | 0.139665 | 0.169995 | 0.203994 | 0.271991 | 0.844846 | 0.798435 | 0.722342 | 0.665947 | 0.575283 | 0.464382 | 0 | 0.027471 | 0.269757 | 6,580 | 127 | 129 | 51.811024 | 0.743809 | 0.006839 | 0 | 0.5 | 1 | 0 | 0.11771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.016667 | 0.016667 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
faf61f4916ca5fe8979c8fafce85675f2a598eb3 | 2,596 | py | Python | meilisearch/tests/settings/test_settings_ranking_rules_meilisearch.py | jrinder42/meilisearch-python | d2d4a02c9b8fd23b542a8713902d57e50662e7bb | [
"MIT"
] | 159 | 2019-12-10T15:17:13.000Z | 2022-03-29T15:42:50.000Z | meilisearch/tests/settings/test_settings_ranking_rules_meilisearch.py | jrinder42/meilisearch-python | d2d4a02c9b8fd23b542a8713902d57e50662e7bb | [
"MIT"
] | 296 | 2019-12-17T15:46:51.000Z | 2022-03-31T09:20:13.000Z | meilisearch/tests/settings/test_settings_ranking_rules_meilisearch.py | jrinder42/meilisearch-python | d2d4a02c9b8fd23b542a8713902d57e50662e7bb | [
"MIT"
] | 30 | 2020-01-06T10:24:31.000Z | 2022-03-20T15:54:13.000Z |
NEW_RANKING_RULES = ['typo', 'exactness']
DEFAULT_RANKING_RULES = [
'words',
'typo',
'proximity',
'attribute',
'sort',
'exactness'
]
def test_get_ranking_rules_default(empty_index):
"""Tests getting the default ranking rules."""
response = empty_index().get_ranking_rules()
assert i... | 36.055556 | 73 | 0.725732 | 328 | 2,596 | 5.496951 | 0.158537 | 0.199667 | 0.1198 | 0.066556 | 0.781475 | 0.740987 | 0.740987 | 0.740987 | 0.72213 | 0.72213 | 0 | 0 | 0.191448 | 2,596 | 71 | 74 | 36.56338 | 0.85898 | 0.154468 | 0 | 0.714286 | 0 | 0 | 0.067804 | 0 | 0 | 0 | 0 | 0 | 0.321429 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8785c5934fb08022e988231f5dae50d6119491fa | 6,728 | py | Python | rf4ce/autognuradio/ieee802_15_4_oqpsk_phy.py | arunmagesh/rf4ce-tools | d86bbe8071bf63571535d53a6406103c16fddb6e | [
"MIT"
] | 8 | 2018-06-02T05:55:56.000Z | 2019-06-20T21:16:44.000Z | rf4ce/autognuradio/ieee802_15_4_oqpsk_phy.py | arunmagesh/rf4ce-tools | d86bbe8071bf63571535d53a6406103c16fddb6e | [
"MIT"
] | 1 | 2021-04-14T17:22:47.000Z | 2021-04-25T18:40:23.000Z | rf4ce/autognuradio/ieee802_15_4_oqpsk_phy.py | courk/rf4ce-tools | d86bbe8071bf63571535d53a6406103c16fddb6e | [
"MIT"
] | 3 | 2020-09-05T21:11:49.000Z | 2021-04-25T17:55:58.000Z | # -*- coding: utf-8 -*-
##################################################
# GNU Radio Python Flow Graph
# Title: IEEE802.15.4 OQPSK PHY
# Generated: Wed Jul 12 20:16:06 2017
##################################################
from gnuradio import analog
from gnuradio import blocks
from gnuradio import digital
from gnu... | 78.232558 | 2,258 | 0.555886 | 1,188 | 6,728 | 2.895623 | 0.101852 | 0.223256 | 0.296512 | 0.444767 | 0.750581 | 0.667442 | 0.581977 | 0.462209 | 0.389535 | 0.290116 | 0 | 0.130828 | 0.14566 | 6,728 | 85 | 2,259 | 79.152941 | 0.467641 | 0.021403 | 0 | 0.032787 | 1 | 0 | 0.011658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04918 | false | 0 | 0.180328 | 0.016393 | 0.262295 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87ca7d31fb401c6de897fa3864d8aef3dc2ab21b | 2,135 | py | Python | modules/dbnd/test_dbnd/py3only/test_decorator_spec_py3only.py | hugovk/dbnd | 59cd2a63a88e3bf6022bf8a4e74e6e10b183abcd | [
"Apache-2.0"
] | null | null | null | modules/dbnd/test_dbnd/py3only/test_decorator_spec_py3only.py | hugovk/dbnd | 59cd2a63a88e3bf6022bf8a4e74e6e10b183abcd | [
"Apache-2.0"
] | null | null | null | modules/dbnd/test_dbnd/py3only/test_decorator_spec_py3only.py | hugovk/dbnd | 59cd2a63a88e3bf6022bf8a4e74e6e10b183abcd | [
"Apache-2.0"
] | null | null | null | from dbnd import parameter
from dbnd._core.decorator.task_decorator_spec import build_task_decorator_spec
class TestTaskDecoratorSpecPy3(object):
def test_annotations(self):
def with_annotations(a: int, b: str, **kwargs: str) -> int:
pass
decorator_spec = build_task_decorator_spec(wit... | 38.818182 | 83 | 0.648712 | 235 | 2,135 | 5.574468 | 0.187234 | 0.307634 | 0.30458 | 0.067176 | 0.752672 | 0.722137 | 0.696183 | 0.666412 | 0.666412 | 0.666412 | 0 | 0.001862 | 0.245433 | 2,135 | 54 | 84 | 39.537037 | 0.811297 | 0 | 0 | 0.511111 | 0 | 0 | 0.065105 | 0 | 0 | 0 | 0 | 0 | 0.511111 | 1 | 0.133333 | false | 0.066667 | 0.044444 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
35527d26b2161b72c878f119f1d4a925d6428597 | 196 | py | Python | actforce/apps/base/admin.py | neworganizing/actforce | a47ac6f85ea3ff521d7b27731904fce07c34f450 | [
"Apache-2.0"
] | 1 | 2017-10-11T11:41:31.000Z | 2017-10-11T11:41:31.000Z | actforce/apps/base/admin.py | neworganizing/actforce | a47ac6f85ea3ff521d7b27731904fce07c34f450 | [
"Apache-2.0"
] | null | null | null | actforce/apps/base/admin.py | neworganizing/actforce | a47ac6f85ea3ff521d7b27731904fce07c34f450 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from actforce.apps.base.models import *
class SalesforceAccountAdmin(admin.ModelAdmin):
pass
admin.site.register(SalesforceAccount, SalesforceAccountAdmin)
| 21.777778 | 62 | 0.826531 | 21 | 196 | 7.714286 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 196 | 8 | 63 | 24.5 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
355cbda748dad0847bce0ee4e2431c101c409e4c | 5,057 | py | Python | tests/tree/test_tree_innerproduct_derivs.py | bluetyson/discretize | a4ead91d6a1f84658ab20946da5fa86dc9ccc831 | [
"MIT"
] | null | null | null | tests/tree/test_tree_innerproduct_derivs.py | bluetyson/discretize | a4ead91d6a1f84658ab20946da5fa86dc9ccc831 | [
"MIT"
] | null | null | null | tests/tree/test_tree_innerproduct_derivs.py | bluetyson/discretize | a4ead91d6a1f84658ab20946da5fa86dc9ccc831 | [
"MIT"
] | null | null | null | from __future__ import print_function
import numpy as np
import unittest
import discretize
def doTestFace(h, rep, fast, meshType, invProp=False, invMat=False):
if meshType == 'Curv':
hRect = discretize.utils.exampleLrmGrid(h, 'rotate')
mesh = discretize.CurvilinearMesh(hRect)
elif meshType == ... | 39.507813 | 93 | 0.66581 | 698 | 5,057 | 4.627507 | 0.124642 | 0.026006 | 0.104025 | 0.190712 | 0.916409 | 0.912384 | 0.882353 | 0.834056 | 0.541176 | 0.298452 | 0 | 0.03326 | 0.191418 | 5,057 | 127 | 94 | 39.818898 | 0.756664 | 0.137829 | 0 | 0.289157 | 0 | 0 | 0.039586 | 0 | 0 | 0 | 0 | 0 | 0.253012 | 1 | 0.301205 | false | 0 | 0.048193 | 0 | 0.409639 | 0.036145 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea08d992facb33b6d33648dc0311eb8d423ff834 | 5,585 | py | Python | bootstrap/p1.4/src/operations/openshift.py | idzikovskyi/df-on-k8s | 80e8047293882199d72441932209dc34c7c7d6e3 | [
"Apache-2.0"
] | 4 | 2021-04-06T01:29:12.000Z | 2022-02-06T16:59:20.000Z | bootstrap/p1.4/src/operations/openshift.py | idzikovskyi/df-on-k8s | 80e8047293882199d72441932209dc34c7c7d6e3 | [
"Apache-2.0"
] | 1 | 2022-02-28T22:13:04.000Z | 2022-02-28T22:13:04.000Z | bootstrap/p1.4/src/operations/openshift.py | idzikovskyi/df-on-k8s | 80e8047293882199d72441932209dc34c7c7d6e3 | [
"Apache-2.0"
] | 4 | 2021-04-27T17:07:27.000Z | 2022-03-08T17:39:08.000Z | from common.mapr_exceptions.ex import NotFoundException
from operations.operationsbase import OperationsBase
class OpenShift(OperationsBase):
def __init__(self):
super(OpenShift, self).__init__()
def switch_to_oc(self):
self.is_openshift = True
def is_openshift_connected(self):
"... | 38.253425 | 111 | 0.651209 | 699 | 5,585 | 5.048641 | 0.121602 | 0.045622 | 0.062341 | 0.079343 | 0.867385 | 0.867385 | 0.867385 | 0.843865 | 0.843865 | 0.843865 | 0 | 0.001426 | 0.246553 | 5,585 | 145 | 112 | 38.517241 | 0.837215 | 0.016115 | 0 | 0.513761 | 0 | 0 | 0.42559 | 0.285557 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192661 | false | 0 | 0.018349 | 0 | 0.266055 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
ea2f08894436ab8f99c851c58331b328284e8c82 | 91 | py | Python | torch_itl/__init__.py | mathurinm/torch_itl | e3d92d753bd51ccf585029129110c93bbf9b5fd0 | [
"MIT"
] | null | null | null | torch_itl/__init__.py | mathurinm/torch_itl | e3d92d753bd51ccf585029129110c93bbf9b5fd0 | [
"MIT"
] | null | null | null | torch_itl/__init__.py | mathurinm/torch_itl | e3d92d753bd51ccf585029129110c93bbf9b5fd0 | [
"MIT"
] | null | null | null | from .kernel import *
from .model import *
from .sampler import *
from .estimator import *
| 18.2 | 24 | 0.736264 | 12 | 91 | 5.583333 | 0.5 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 4 | 25 | 22.75 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
575d0e7cd7b90b25ff7855dd4052ddadef11eb4b | 108 | py | Python | Math/10430_나머지/10430_나머지.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | 1 | 2022-03-30T15:50:47.000Z | 2022-03-30T15:50:47.000Z | Math/10430_나머지/10430_나머지.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | null | null | null | Math/10430_나머지/10430_나머지.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | 1 | 2021-07-20T07:11:06.000Z | 2021-07-20T07:11:06.000Z | A, B, C = map(int, input().split())
print((A+B)%C)
print((A%C+B%C)%C)
print((A*B)%C)
print(((A%C)*(B%C))%C)
| 18 | 35 | 0.509259 | 27 | 108 | 2.037037 | 0.296296 | 0.181818 | 0.163636 | 0.290909 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0 | 0 | 0.092593 | 108 | 5 | 36 | 21.6 | 0.561224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
57855e342b32f293d32f270f0dbffb8029369ba8 | 2,128 | py | Python | civisml_deploy/tests/test_analysis_logs.py | civisanalytics/model-deployment | 27baa862bc46d009dff58ce13e31cdf971f618b8 | [
"BSD-3-Clause"
] | 3 | 2018-11-15T14:57:01.000Z | 2020-09-26T21:49:06.000Z | civisml_deploy/tests/test_analysis_logs.py | civisanalytics/model-deployment | 27baa862bc46d009dff58ce13e31cdf971f618b8 | [
"BSD-3-Clause"
] | 6 | 2018-05-01T17:43:47.000Z | 2019-08-20T16:53:10.000Z | civisml_deploy/tests/test_analysis_logs.py | civisanalytics/model-deployment | 27baa862bc46d009dff58ce13e31cdf971f618b8 | [
"BSD-3-Clause"
] | 3 | 2018-04-30T19:08:58.000Z | 2019-11-01T13:52:19.000Z | import os
import tempfile
from unittest.mock import Mock, patch
import pandas as pd
import pytest
from civisml_deploy import utils
from civisml_deploy.tests.conftest import reg_app, clf_app
def reg_log_df():
return pd.DataFrame({
0: [0, 10],
1: [10, 0],
2: [-9.5, 10.5],
3: [100, ... | 29.971831 | 73 | 0.577068 | 293 | 2,128 | 3.976109 | 0.266212 | 0.025751 | 0.027468 | 0.051502 | 0.801717 | 0.801717 | 0.801717 | 0.801717 | 0.801717 | 0.736481 | 0 | 0.059432 | 0.272556 | 2,128 | 70 | 74 | 30.4 | 0.693152 | 0 | 0 | 0.592593 | 0 | 0 | 0.073778 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 1 | 0.074074 | false | 0 | 0.12963 | 0.037037 | 0.240741 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
57b0cffda71887719145add5e428d99d80bfca75 | 142 | py | Python | chirun/plastex/amscd/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 5 | 2021-12-06T15:57:24.000Z | 2022-01-24T20:34:00.000Z | chirun/plastex/amscd/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 38 | 2021-12-09T13:16:46.000Z | 2022-03-30T11:42:13.000Z | chirun/plastex/amscd/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 1 | 2022-01-17T17:41:35.000Z | 2022-01-17T17:41:35.000Z | """
Implement the amscd package using the imager
"""
from chirun.plastex import VerbatimEnvironment
class CD(VerbatimEnvironment):
pass
| 15.777778 | 46 | 0.774648 | 16 | 142 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 142 | 8 | 47 | 17.75 | 0.916667 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
57e895d1e8f081c410a3e176fa38b47fe5b16a12 | 75 | py | Python | app_functions.py | launchlabsdev/MapUI_Base | 5c2660623c9fc9b92a98d8468bd27bc1be2afbf3 | [
"BSD-3-Clause"
] | 20 | 2020-08-19T23:27:01.000Z | 2022-02-03T12:02:17.000Z | app_functions.py | launchlabsdev/MapUI_Base | 5c2660623c9fc9b92a98d8468bd27bc1be2afbf3 | [
"BSD-3-Clause"
] | 1 | 2021-04-10T18:06:05.000Z | 2021-04-10T18:06:05.000Z | app_functions.py | launchlabsdev/MapUI_Base | 5c2660623c9fc9b92a98d8468bd27bc1be2afbf3 | [
"BSD-3-Clause"
] | 2 | 2020-12-03T19:35:36.000Z | 2021-11-10T14:58:39.000Z |
## ==> GUI FILE
from main import *
class Functions(MainWindow):
pass
| 10.714286 | 28 | 0.653333 | 9 | 75 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 75 | 6 | 29 | 12.5 | 0.844828 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
17a9f9dafbc71c1f9a8b2a46698229d0857d0584 | 29 | py | Python | Code/odooerp/odoo-8.0/openerp/addons/stock_dropshipping/tests/__init__.py | zhupangithub/WEBERP | 714512082ec5c6db07cbf6af0238ceefe2d2c1a5 | [
"MIT"
] | 1 | 2019-12-29T11:53:56.000Z | 2019-12-29T11:53:56.000Z | odoo/addons/stock_dropshipping/tests/__init__.py | tuanquanghpvn/odoo8-tutorial | 52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e | [
"MIT"
] | null | null | null | odoo/addons/stock_dropshipping/tests/__init__.py | tuanquanghpvn/odoo8-tutorial | 52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e | [
"MIT"
] | 3 | 2020-10-08T14:42:10.000Z | 2022-01-28T14:12:29.000Z | from . import test_invoicing
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17b15fff765643f31b6b5586fb9deb5ce6278429 | 89 | py | Python | lib/ua/agents/trident.py | hdknr/ua | bc41f5b46fb99d0d576c7542c2184b39679f4ebf | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/ua/agents/trident.py | hdknr/ua | bc41f5b46fb99d0d576c7542c2184b39679f4ebf | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/ua/agents/trident.py | hdknr/ua | bc41f5b46fb99d0d576c7542c2184b39679f4ebf | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ''' Internet Expolorer 11
'''
from . import BaseAgent
class Agent(BaseAgent):
pass
| 11.125 | 25 | 0.685393 | 10 | 89 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.202247 | 89 | 7 | 26 | 12.714286 | 0.830986 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
17c3ba4ae65c1914678cb1a5512fdf88f05c3577 | 11,135 | py | Python | tests/app/templating/summary/test_question.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | null | null | null | tests/app/templating/summary/test_question.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | 8 | 2020-03-24T15:24:18.000Z | 2022-03-02T04:32:56.000Z | tests/app/templating/summary/test_question.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | null | null | null | from unittest import TestCase
import mock
from app.templating.summary.question import Question
class TestQuestion(TestCase):
def test_create_question(self):
# Given
answers = mock.MagicMock()
answer_schema = mock.MagicMock()
question_schema = {'id': 'question_id', 'title': 'ques... | 38.933566 | 161 | 0.566233 | 1,166 | 11,135 | 5.19211 | 0.084048 | 0.079286 | 0.079782 | 0.059465 | 0.888669 | 0.8667 | 0.816485 | 0.803271 | 0.797324 | 0.756359 | 0 | 0.020849 | 0.272025 | 11,135 | 285 | 162 | 39.070175 | 0.726005 | 0.021464 | 0 | 0.581152 | 0 | 0 | 0.234747 | 0 | 0 | 0 | 0 | 0 | 0.167539 | 1 | 0.078534 | false | 0 | 0.015707 | 0 | 0.099476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
17e2f663033f3197a1663d777499f8cad6f0eaf1 | 12,785 | py | Python | datasets/DALIDataLoader.py | ShowLo/Networks | 48f8545783966c383b6c3b600fbe37a15ea8ae3c | [
"MIT"
] | null | null | null | datasets/DALIDataLoader.py | ShowLo/Networks | 48f8545783966c383b6c3b600fbe37a15ea8ae3c | [
"MIT"
] | null | null | null | datasets/DALIDataLoader.py | ShowLo/Networks | 48f8545783966c383b6c3b600fbe37a15ea8ae3c | [
"MIT"
] | null | null | null | '''
A new dataloader using NVIDIA DALI in order to speed up the dataloader in pytorch
Ref: https://github.com/d-li14/mobilenetv2.pytorch/blob/master/utils/dataloaders.py
https://github.com/NVIDIA/DALI/blob/master/docs/examples/pytorch/resnet50/main.py
'''
import os
import torch
import numpy as np
import tor... | 46.831502 | 165 | 0.596558 | 1,494 | 12,785 | 4.845382 | 0.140562 | 0.044758 | 0.041995 | 0.031496 | 0.799696 | 0.791684 | 0.780495 | 0.779666 | 0.776074 | 0.761846 | 0 | 0.031732 | 0.309816 | 12,785 | 273 | 166 | 46.831502 | 0.788645 | 0.036371 | 0 | 0.737089 | 0 | 0 | 0.022955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070423 | false | 0 | 0.051643 | 0.004695 | 0.187793 | 0.004695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa3b8d479a51ec26db6c5e30cf682832291af0e1 | 30 | py | Python | clts/util.py | clpn/clts | e3aeb2b590850242904b480a1442924449eb0185 | [
"Apache-2.0"
] | null | null | null | clts/util.py | clpn/clts | e3aeb2b590850242904b480a1442924449eb0185 | [
"Apache-2.0"
] | 11 | 2018-01-08T14:35:50.000Z | 2021-04-21T12:18:27.000Z | clts/util.py | clpn/clts | e3aeb2b590850242904b480a1442924449eb0185 | [
"Apache-2.0"
] | 1 | 2018-01-08T14:27:27.000Z | 2018-01-08T14:27:27.000Z | from markdown import markdown
| 15 | 29 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4c3dc03507d7d5be70eeaef64278e79abe63503 | 12,870 | py | Python | services/messenger/tests/notification_test.py | Counter0021/Anti-Freelancer-microservices-back-end | e55481e0a4353107036cd5ba664fee57e29c7597 | [
"MIT"
] | null | null | null | services/messenger/tests/notification_test.py | Counter0021/Anti-Freelancer-microservices-back-end | e55481e0a4353107036cd5ba664fee57e29c7597 | [
"MIT"
] | null | null | null | services/messenger/tests/notification_test.py | Counter0021/Anti-Freelancer-microservices-back-end | e55481e0a4353107036cd5ba664fee57e29c7597 | [
"MIT"
] | null | null | null | from unittest import TestCase, mock
from app.crud import message_crud, dialogue_crud, notification_crud
from app.message.schemas import GetMessage
from app.schemas import UserData
from tests import BaseTest, async_loop
class NotificationTestCase(BaseTest, TestCase):
def test_notifications(self):
async_l... | 46.630435 | 116 | 0.507925 | 1,262 | 12,870 | 4.998415 | 0.071315 | 0.079899 | 0.065948 | 0.082435 | 0.935954 | 0.925809 | 0.922162 | 0.921528 | 0.921528 | 0.891249 | 0 | 0.017917 | 0.371173 | 12,870 | 275 | 117 | 46.8 | 0.761522 | 0.004118 | 0 | 0.591837 | 0 | 0.004082 | 0.133245 | 0.077746 | 0 | 0 | 0 | 0 | 0.228571 | 1 | 0.004082 | false | 0 | 0.020408 | 0 | 0.028571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
1022de053dd97929061ea4fc619b870deb6b6aeb | 10,644 | py | Python | mmdet/apis/inference.py | arthur801031/3d-multi-resolution-rcnn | 8e5454a72f8daa174bf3eabfa5964152f04ab287 | [
"Apache-2.0"
] | 16 | 2021-03-02T07:41:01.000Z | 2022-03-14T08:55:45.000Z | mmdet/apis/inference.py | arthur801031/3d-multi-resolution-rcnn | 8e5454a72f8daa174bf3eabfa5964152f04ab287 | [
"Apache-2.0"
] | 2 | 2022-01-06T20:54:13.000Z | 2022-02-24T03:50:51.000Z | mmdet/apis/inference.py | arthur801031/3d-multi-resolution-rcnn | 8e5454a72f8daa174bf3eabfa5964152f04ab287 | [
"Apache-2.0"
] | 2 | 2021-05-26T19:23:35.000Z | 2022-01-06T20:30:24.000Z | import mmcv
import numpy as np
import pycocotools.mask as maskUtils
import torch
from mmdet.core import get_classes
from mmdet.datasets import to_tensor
from mmdet.datasets.transforms import ImageTransform
from PIL import Image
import cv2
def _prepare_data(img, img_transform, cfg, device):
ori_shape = img.shape
... | 36.83045 | 95 | 0.635569 | 1,540 | 10,644 | 4.143506 | 0.111688 | 0.023507 | 0.049365 | 0.069111 | 0.84924 | 0.830277 | 0.806927 | 0.7643 | 0.740323 | 0.713368 | 0 | 0.027619 | 0.244833 | 10,644 | 289 | 96 | 36.83045 | 0.766235 | 0.030909 | 0 | 0.633745 | 0 | 0 | 0.013848 | 0 | 0 | 0 | 0 | 0 | 0.016461 | 1 | 0.065844 | false | 0 | 0.037037 | 0 | 0.152263 | 0.004115 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
103e1ab647b50cd09ec85eab17fae0a8531cdfae | 200 | py | Python | configs/s3dis/pvcnnpp/__init__.py | chaomath/pvcnn | 8f07316611067e9a0e2df8b35e4a729a03e0806b | [
"MIT"
] | 1 | 2020-01-28T13:27:17.000Z | 2020-01-28T13:27:17.000Z | configs/s3dis/pvcnnpp/__init__.py | chaomath/pvcnn | 8f07316611067e9a0e2df8b35e4a729a03e0806b | [
"MIT"
] | null | null | null | configs/s3dis/pvcnnpp/__init__.py | chaomath/pvcnn | 8f07316611067e9a0e2df8b35e4a729a03e0806b | [
"MIT"
] | null | null | null | from models.s3dis import PVCNN2
from utils.config import Config, configs
# model
configs.model = Config(PVCNN2)
configs.model.num_classes = configs.data.num_classes
configs.dataset.num_points = 8192
| 25 | 52 | 0.815 | 29 | 200 | 5.517241 | 0.517241 | 0.225 | 0.2125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039106 | 0.105 | 200 | 7 | 53 | 28.571429 | 0.854749 | 0.025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
52c87bfdd31628125bb6ad5efb102e53a4761a91 | 33 | py | Python | pygments_colorizer/__init__.py | BrutalSimplicity/colorizer | 935024fe0f67c17b6f53d2351082fca1bc429b16 | [
"MIT"
] | null | null | null | pygments_colorizer/__init__.py | BrutalSimplicity/colorizer | 935024fe0f67c17b6f53d2351082fca1bc429b16 | [
"MIT"
] | null | null | null | pygments_colorizer/__init__.py | BrutalSimplicity/colorizer | 935024fe0f67c17b6f53d2351082fca1bc429b16 | [
"MIT"
] | null | null | null | from .colorizer import colorizer
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e1e880917f9977d663cd29e64bb2fe5d3e2ce7c | 1,910 | py | Python | crop.py | NoobHumans/api | c9248001e6b1132bfd5088d4d14bb3bf4225ac37 | [
"MIT"
] | null | null | null | crop.py | NoobHumans/api | c9248001e6b1132bfd5088d4d14bb3bf4225ac37 | [
"MIT"
] | null | null | null | crop.py | NoobHumans/api | c9248001e6b1132bfd5088d4d14bb3bf4225ac37 | [
"MIT"
] | 1 | 2021-12-26T15:40:02.000Z | 2021-12-26T15:40:02.000Z | from PIL import Image
class cropping:
def crop1(self, fname):
image = Image.open('./img/'+fname+'.jpg')
xc = image.width/2
yc = image.height/2
x1 = xc - 450
y1 = yc - 400
x2 = xc + 450
y2 = yc + 400
cropped = image.crop((x1, y1, x2, y2))
cropp... | 30.31746 | 49 | 0.465445 | 258 | 1,910 | 3.445736 | 0.158915 | 0.107987 | 0.148481 | 0.128234 | 0.860517 | 0.813273 | 0.813273 | 0.813273 | 0.813273 | 0.813273 | 0 | 0.113674 | 0.364398 | 1,910 | 63 | 50 | 30.31746 | 0.618616 | 0 | 0 | 0.677419 | 0 | 0 | 0.062794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.016129 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
5e3482a65cfe5ed73fac3fd9b8f361b590c9526b | 100 | py | Python | StudentsWorks/Shipon Hossen Raju/07 02 2022.py | ProgrammerShipon/python-cook-book-Imranslab-Edition | b4ac591eacc17e0c1304144901062a3c5e67d4a1 | [
"MIT"
] | null | null | null | StudentsWorks/Shipon Hossen Raju/07 02 2022.py | ProgrammerShipon/python-cook-book-Imranslab-Edition | b4ac591eacc17e0c1304144901062a3c5e67d4a1 | [
"MIT"
] | null | null | null | StudentsWorks/Shipon Hossen Raju/07 02 2022.py | ProgrammerShipon/python-cook-book-Imranslab-Edition | b4ac591eacc17e0c1304144901062a3c5e67d4a1 | [
"MIT"
] | null | null | null | x = 5
print(type(x));
x = "6"
print(type(x))
x = 5.0
print(type(x))
x = 3.45
print(type(x))
| 11.111111 | 16 | 0.51 | 22 | 100 | 2.318182 | 0.363636 | 0.705882 | 0.784314 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0.24 | 100 | 8 | 17 | 12.5 | 0.578947 | 0 | 0 | 0.375 | 0 | 0 | 0.01087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
eac486862bfc26fbc3a13858a739e416431e25c8 | 5,665 | py | Python | test/test_approximate_string_matching.py | matkaczmarek/string-algorithms | df1367e633ee0b3377cbdd67a77982f373fe2459 | [
"MIT"
] | null | null | null | test/test_approximate_string_matching.py | matkaczmarek/string-algorithms | df1367e633ee0b3377cbdd67a77982f373fe2459 | [
"MIT"
] | null | null | null | test/test_approximate_string_matching.py | matkaczmarek/string-algorithms | df1367e633ee0b3377cbdd67a77982f373fe2459 | [
"MIT"
] | null | null | null | import itertools
import os
import unittest
from random import randrange
import regex
from approximate_string_matching import dont_care, matching_with_dont_cares, \
approximate_boyer_moore, \
distance
from generator import rand
STRING_MATCHING_WITH_DONT_CARE_ALGORITHMS = [
dont_care.basic_fft,
matching_wi... | 37.269737 | 80 | 0.630185 | 826 | 5,665 | 4.021792 | 0.128329 | 0.016255 | 0.061409 | 0.019266 | 0.857616 | 0.843167 | 0.789585 | 0.757375 | 0.727875 | 0.677604 | 0 | 0.017345 | 0.236717 | 5,665 | 151 | 81 | 37.516556 | 0.750925 | 0 | 0 | 0.576 | 0 | 0 | 0.063195 | 0 | 0 | 0 | 0 | 0 | 0.048 | 1 | 0.136 | false | 0 | 0.056 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
eae92dd398b45f9062d68c304222804190a1b6ac | 127 | py | Python | manager/dns/__init__.py | hreeder/ignition | d1fd492ef737be7c4a208601e54b2f9370dec36a | [
"MIT"
] | null | null | null | manager/dns/__init__.py | hreeder/ignition | d1fd492ef737be7c4a208601e54b2f9370dec36a | [
"MIT"
] | null | null | null | manager/dns/__init__.py | hreeder/ignition | d1fd492ef737be7c4a208601e54b2f9370dec36a | [
"MIT"
] | null | null | null | from flask import Blueprint
dns = Blueprint('dns', __name__, template_folder='templates')
from manager.dns import views
| 21.166667 | 62 | 0.755906 | 16 | 127 | 5.6875 | 0.6875 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 5 | 63 | 25.4 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 1 | 0 | 6 |
d8066cd3e9ce367b6451a8d96ee487cde3ce11db | 91 | py | Python | brownclustering/__init__.py | yangyuan/brown-clustering | d0b2a4cf20f1dc925cf76431d6b740bec50f4859 | [
"MIT"
] | 21 | 2018-04-01T16:55:49.000Z | 2022-03-31T10:36:50.000Z | brownclustering/__init__.py | yangyuan/brown-clustering | d0b2a4cf20f1dc925cf76431d6b740bec50f4859 | [
"MIT"
] | 1 | 2021-03-31T07:30:40.000Z | 2021-03-31T07:30:40.000Z | brownclustering/__init__.py | yangyuan/brown-clustering | d0b2a4cf20f1dc925cf76431d6b740bec50f4859 | [
"MIT"
] | 6 | 2018-11-12T11:18:20.000Z | 2020-09-22T08:24:24.000Z | from brownclustering.corpus import Corpus
from brownclustering.core import BrownClustering
| 30.333333 | 48 | 0.89011 | 10 | 91 | 8.1 | 0.5 | 0.469136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 49 | 45.5 | 0.975904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
d827fc4c0960176a711a9d9d10c251e11d8975fa | 239 | py | Python | tests/test_base.py | FlorianLudwig/datamodel-code-generator | 052882f7c5bd883fac0f42916a5a8fc9623f37ce | [
"MIT"
] | null | null | null | tests/test_base.py | FlorianLudwig/datamodel-code-generator | 052882f7c5bd883fac0f42916a5a8fc9623f37ce | [
"MIT"
] | null | null | null | tests/test_base.py | FlorianLudwig/datamodel-code-generator | 052882f7c5bd883fac0f42916a5a8fc9623f37ce | [
"MIT"
] | null | null | null | from datamodel_code_generator.parser.base import snake_to_upper_camel
def test_snake_to_upper_camel_underscore():
"""In case a name starts with a underline, we should keep it."""
assert snake_to_upper_camel('_hello') == '_Hello'
| 34.142857 | 69 | 0.778243 | 37 | 239 | 4.621622 | 0.72973 | 0.122807 | 0.210526 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133891 | 239 | 6 | 70 | 39.833333 | 0.826087 | 0.242678 | 0 | 0 | 0 | 0 | 0.068571 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dc25408d5df10bb190353400afb5f95cf99a84f5 | 97 | py | Python | data/data_controller.py | richardimms/Skyline | dc10022fd4ec61808666f5579e52cf2c0049a5b3 | [
"MIT"
] | null | null | null | data/data_controller.py | richardimms/Skyline | dc10022fd4ec61808666f5579e52cf2c0049a5b3 | [
"MIT"
] | 4 | 2019-01-28T17:47:31.000Z | 2019-01-28T17:56:25.000Z | data/data_controller.py | richardimms/Skyline | dc10022fd4ec61808666f5579e52cf2c0049a5b3 | [
"MIT"
] | null | null | null | class DBController():
def insert():
pass
def connect():
pass
| 9.7 | 21 | 0.453608 | 8 | 97 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.453608 | 97 | 9 | 22 | 10.777778 | 0.830189 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
dc6b9d9e791f7e054d5212d2de2da5d9128a6f13 | 1,827 | py | Python | src/tree.py | thearyanmittal/turtle-art | 0633db32f92795e13f96ea53181ca1ec36764a46 | [
"MIT"
] | null | null | null | src/tree.py | thearyanmittal/turtle-art | 0633db32f92795e13f96ea53181ca1ec36764a46 | [
"MIT"
] | null | null | null | src/tree.py | thearyanmittal/turtle-art | 0633db32f92795e13f96ea53181ca1ec36764a46 | [
"MIT"
] | null | null | null | from turtle import *
import random
harry = Turtle()
harry.penup()
harry.goto(0, 0)
harry.setheading(90)
harry.pendown()
harry.clear()
harry.hideturtle()
harry.speed(0)
colormode(255)
length = 100
angle = 15
depth = 10
rad = 150
ext = 15
def tree(radius, extent, depth, turtboi):
if depth > 0:
right = turt... | 21.494118 | 111 | 0.600438 | 226 | 1,827 | 4.853982 | 0.261062 | 0.065634 | 0.054695 | 0.06928 | 0.855059 | 0.855059 | 0.740201 | 0.703737 | 0.703737 | 0.703737 | 0 | 0.092956 | 0.246305 | 1,827 | 85 | 112 | 21.494118 | 0.703704 | 0 | 0 | 0.636364 | 0 | 0 | 0.061269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.030303 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
f498a7fd0a08f4bcdf9cd3746c2dbb7d9656ff06 | 38 | py | Python | app/provider/__init__.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | app/provider/__init__.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | app/provider/__init__.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | from . command import CommandProvider
| 19 | 37 | 0.842105 | 4 | 38 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4b64e6077cf1962aa76a2288cd3c21363bd1d3a | 8,770 | py | Python | test/test_role-reg.py | ThorodanBrom/iudx-auth-server | 52c798811b3e551f63c82645591a6bfca62052e6 | [
"MIT"
] | null | null | null | test/test_role-reg.py | ThorodanBrom/iudx-auth-server | 52c798811b3e551f63c82645591a6bfca62052e6 | [
"MIT"
] | null | null | null | test/test_role-reg.py | ThorodanBrom/iudx-auth-server | 52c798811b3e551f63c82645591a6bfca62052e6 | [
"MIT"
] | null | null | null | from add_org import add_organization
from consent import *
import random
import string
name = { "title" : "mr.",
"firstName" : "abc",
"lastName" : "xyz"
}
csr = "-----BEGIN CERTIFICATE REQUEST-----\nMIICjDCCAXQCAQAwRzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMRQwEgYDVQQK\nDAtNeU9yZywg... | 49.269663 | 1,005 | 0.674914 | 908 | 8,770 | 6.322687 | 0.154185 | 0.056088 | 0.056088 | 0.068107 | 0.773384 | 0.771468 | 0.762237 | 0.736457 | 0.736457 | 0.690472 | 0 | 0.071952 | 0.206043 | 8,770 | 177 | 1,006 | 49.548023 | 0.752549 | 0.068301 | 0 | 0.532258 | 0 | 0.016129 | 0.375046 | 0.229522 | 0 | 0 | 0 | 0 | 0.370968 | 1 | 0.169355 | false | 0 | 0.032258 | 0 | 0.201613 | 0.008065 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4d6d818aca86544b62ad0beb4a8efe3cfee92b1 | 90 | py | Python | tenable/nessus/base.py | jwndlng/pyTenable | 81edd314ec38d891288593d562bc4ae7c3fa0fb8 | [
"MIT"
] | null | null | null | tenable/nessus/base.py | jwndlng/pyTenable | 81edd314ec38d891288593d562bc4ae7c3fa0fb8 | [
"MIT"
] | null | null | null | tenable/nessus/base.py | jwndlng/pyTenable | 81edd314ec38d891288593d562bc4ae7c3fa0fb8 | [
"MIT"
] | null | null | null | '''
'''
from tenable.base import APIEndpoint
class NessusEndpoint(APIEndpoint):
pass | 12.857143 | 36 | 0.733333 | 9 | 90 | 7.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 7 | 37 | 12.857143 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
521a57a07461bb0ae88cbca8c8715a1acc2af89f | 104 | py | Python | tonic/torch/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 350 | 2020-08-06T13:49:11.000Z | 2022-03-24T08:53:59.000Z | tonic/torch/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 12 | 2020-08-07T02:21:58.000Z | 2021-05-20T11:50:44.000Z | tonic/torch/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 35 | 2020-08-06T16:53:40.000Z | 2021-12-17T06:01:09.000Z | from . import agents, models, normalizers, updaters
__all__ = [agents, models, normalizers, updaters]
| 20.8 | 51 | 0.759615 | 11 | 104 | 6.818182 | 0.636364 | 0.32 | 0.613333 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 4 | 52 | 26 | 0.842697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
871a9648aa34d2d6cb89c1f9a0b1c431c88d7fce | 33 | py | Python | components/__init__.py | chrisvoncsefalvay/dash-sir-interactive-model | 97d854774fb5395452127b5627efab39bddcdbdf | [
"BSD-3-Clause"
] | 3 | 2020-11-29T06:36:23.000Z | 2021-11-28T13:10:46.000Z | components/__init__.py | chrisvoncsefalvay/dash-sir-interactive-model | 97d854774fb5395452127b5627efab39bddcdbdf | [
"BSD-3-Clause"
] | null | null | null | components/__init__.py | chrisvoncsefalvay/dash-sir-interactive-model | 97d854774fb5395452127b5627efab39bddcdbdf | [
"BSD-3-Clause"
] | null | null | null | from components.plot import solve | 33 | 33 | 0.878788 | 5 | 33 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
875ba8d91e7fe08d23528d35454d3982e49fee3b | 36 | py | Python | 02/01/center.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 02/01/center.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 02/01/center.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | print('>' + 'ABC'.center(10) + '<')
| 18 | 35 | 0.444444 | 4 | 36 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.138889 | 36 | 1 | 36 | 36 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
875c08254c084369f479ebcd2f3edd4efb88a9bc | 298 | py | Python | src/utils/__init__.py | jonasvj/protein-generation | ad716f2dba6f6642a6d54571571e6f539cee3644 | [
"MIT"
] | null | null | null | src/utils/__init__.py | jonasvj/protein-generation | ad716f2dba6f6642a6d54571571e6f539cee3644 | [
"MIT"
] | null | null | null | src/utils/__init__.py | jonasvj/protein-generation | ad716f2dba6f6642a6d54571571e6f539cee3644 | [
"MIT"
] | null | null | null | from .utils import SequenceDataset
from .utils import custom_collate_fn
from .utils import train_model_cli
from .utils import get_repo_dir
from .utils import get_device
from .utils import set_seeds
from .utils import random_split
from .utils import load_pickle_obj
from .utils import set_font_sizes | 33.111111 | 36 | 0.852349 | 49 | 298 | 4.918367 | 0.469388 | 0.3361 | 0.560166 | 0.149378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11745 | 298 | 9 | 37 | 33.111111 | 0.91635 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e451603189caa998223b03482d730e236665fe5 | 149 | py | Python | pyqc/__init__.py | shunzgim/PyQC | 8bcbb5b6c5990cac578b2645c558a1fdac29bc1f | [
"MIT"
] | null | null | null | pyqc/__init__.py | shunzgim/PyQC | 8bcbb5b6c5990cac578b2645c558a1fdac29bc1f | [
"MIT"
] | null | null | null | pyqc/__init__.py | shunzgim/PyQC | 8bcbb5b6c5990cac578b2645c558a1fdac29bc1f | [
"MIT"
] | null | null | null | from pyqc.environment import *
from pyqc.backends import *
from pyqc.gates import *
from pyqc.types import *
from pyqc.qcglue import *
name = 'pyqc' | 21.285714 | 30 | 0.758389 | 22 | 149 | 5.136364 | 0.409091 | 0.353982 | 0.495575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154362 | 149 | 7 | 31 | 21.285714 | 0.896825 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e6611586dd51fd650bb2589d646c0085eebc185 | 4,779 | py | Python | discordbot/utils/streamer_utills.py | he305/discordbot | 63949e31f7579f45de42b91f638f97dc17c1393d | [
"MIT"
] | null | null | null | discordbot/utils/streamer_utills.py | he305/discordbot | 63949e31f7579f45de42b91f638f97dc17c1393d | [
"MIT"
] | null | null | null | discordbot/utils/streamer_utills.py | he305/discordbot | 63949e31f7579f45de42b91f638f97dc17c1393d | [
"MIT"
] | null | null | null | import aiohttp
import asyncio
from discordbot.hidden_data import CLIENT_ID
headers = {
'Client-ID': CLIENT_ID,
'Accept': 'application/vnd.twitchtv.v5+json'
}
class TwitchUtills:
@staticmethod
async def get_channel_by_name(streamer_name):
async with aiohttp.ClientSession() as session:
... | 32.073826 | 162 | 0.60159 | 528 | 4,779 | 5.214015 | 0.155303 | 0.098075 | 0.108972 | 0.125318 | 0.790774 | 0.765347 | 0.765347 | 0.765347 | 0.765347 | 0.75445 | 0 | 0.005835 | 0.318686 | 4,779 | 148 | 163 | 32.290541 | 0.839681 | 0 | 0 | 0.764228 | 0 | 0.00813 | 0.106089 | 0.016112 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.284553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ea3a2280adc9aaf3df67fbd422271e2fb608dca | 14,161 | py | Python | ota/gui/frame_scroll.py | estherlin/Ocular-Torsion-Quantification | 2e948b5ca97094b60d98e7bf3c07bb32fb4cbd09 | [
"MIT"
] | null | null | null | ota/gui/frame_scroll.py | estherlin/Ocular-Torsion-Quantification | 2e948b5ca97094b60d98e7bf3c07bb32fb4cbd09 | [
"MIT"
] | null | null | null | ota/gui/frame_scroll.py | estherlin/Ocular-Torsion-Quantification | 2e948b5ca97094b60d98e7bf3c07bb32fb4cbd09 | [
"MIT"
] | null | null | null | import sys, os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname('.'), os.path.pardir)))
import os
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Circle
from matplotlib.patches import Ellipse
from matplotlib.patches import Arrow
from matplotlib.patches import Wedge
class F... | 40.002825 | 247 | 0.605395 | 1,903 | 14,161 | 4.335786 | 0.096689 | 0.06981 | 0.047994 | 0.061084 | 0.806205 | 0.791662 | 0.776876 | 0.739426 | 0.724639 | 0.724639 | 0 | 0.009489 | 0.292988 | 14,161 | 353 | 248 | 40.116147 | 0.814622 | 0.381117 | 0 | 0.573171 | 0 | 0 | 0.036704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0.036585 | 0.04878 | 0 | 0.176829 | 0.02439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
5ec17dadd52ac718e220528c5cff3fa3cf253139 | 120 | py | Python | modules/unit_tests/core/ui/__init__.py | nursix/DRKCM | 09328289ff721c416494398aa751ff99906327cb | [
"MIT"
] | 3 | 2022-01-26T08:07:54.000Z | 2022-03-21T21:53:52.000Z | modules/unit_tests/core/ui/__init__.py | nursix/eden-asp | e49f46cb6488918f8d5a163dcd5a900cd686978c | [
"MIT"
] | null | null | null | modules/unit_tests/core/ui/__init__.py | nursix/eden-asp | e49f46cb6488918f8d5a163dcd5a900cd686978c | [
"MIT"
] | 1 | 2017-10-03T13:03:47.000Z | 2017-10-03T13:03:47.000Z | from .dashboard import *
from .datatable import *
from .forms import *
from .navigation import *
from .widgets import *
| 20 | 25 | 0.75 | 15 | 120 | 6 | 0.466667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 120 | 5 | 26 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
0d5d15f9c7acfc8531486077609f46759fd96861 | 32,244 | py | Python | cli/tests/pcluster3_config_converter/test_pcluster3_config_converter.py | enrico-usai/cfncluster | acf083776c301d4f2a03ce5cd6fc79f9b88c74e0 | [
"Apache-2.0"
] | 415 | 2018-11-13T15:02:15.000Z | 2022-03-31T15:26:06.000Z | cli/tests/pcluster3_config_converter/test_pcluster3_config_converter.py | enrico-usai/cfncluster | acf083776c301d4f2a03ce5cd6fc79f9b88c74e0 | [
"Apache-2.0"
] | 2,522 | 2018-11-13T16:16:27.000Z | 2022-03-31T13:57:10.000Z | cli/tests/pcluster3_config_converter/test_pcluster3_config_converter.py | enrico-usai/cfncluster | acf083776c301d4f2a03ce5cd6fc79f9b88c74e0 | [
"Apache-2.0"
] | 164 | 2018-11-14T22:47:46.000Z | 2022-03-22T11:33:22.000Z | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
# with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/
# or in the "LICENSE.txt" file accompa... | 52.344156 | 120 | 0.669055 | 3,720 | 32,244 | 5.604032 | 0.088978 | 0.036264 | 0.01583 | 0.030076 | 0.841368 | 0.82386 | 0.816904 | 0.807071 | 0.788411 | 0.786156 | 0 | 0.012353 | 0.254373 | 32,244 | 615 | 121 | 52.429268 | 0.854754 | 0.016685 | 0 | 0.647469 | 0 | 0.026178 | 0.516863 | 0.071458 | 0 | 0 | 0 | 0 | 0.041885 | 1 | 0.027923 | false | 0 | 0.012216 | 0 | 0.04014 | 0.001745 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
0da170411343528d71ec269986c80aa26ec2470f | 499 | py | Python | tests/__init__.py | steve1aa/microdot | c130d8f2d45dcce9606dda25d31d653ce91faf92 | [
"MIT"
] | 173 | 2019-04-16T11:17:22.000Z | 2022-03-30T11:19:26.000Z | tests/__init__.py | steve1aa/microdot | c130d8f2d45dcce9606dda25d31d653ce91faf92 | [
"MIT"
] | 36 | 2019-07-01T06:14:50.000Z | 2022-03-08T18:53:19.000Z | tests/__init__.py | steve1aa/microdot | c130d8f2d45dcce9606dda25d31d653ce91faf92 | [
"MIT"
] | 30 | 2019-04-16T16:21:36.000Z | 2022-03-22T12:56:30.000Z | from tests.microdot.test_multidict import TestMultiDict
from tests.microdot.test_request import TestRequest
from tests.microdot.test_response import TestResponse
from tests.microdot.test_url_pattern import TestURLPattern
from tests.microdot.test_microdot import TestMicrodot
from tests.microdot_asyncio.test_request_asy... | 49.9 | 74 | 0.901804 | 63 | 499 | 6.904762 | 0.301587 | 0.165517 | 0.312644 | 0.241379 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066132 | 499 | 9 | 75 | 55.444444 | 0.933476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0da8c07f8910a86d5cbd3a54f5d534c1cfd3b072 | 25 | py | Python | test.py | creepyCaller/esp8266 | ebbf693c5c58db1bb2c22f57885d2e2a2e99c750 | [
"MIT"
] | null | null | null | test.py | creepyCaller/esp8266 | ebbf693c5c58db1bb2c22f57885d2e2a2e99c750 | [
"MIT"
] | null | null | null | test.py | creepyCaller/esp8266 | ebbf693c5c58db1bb2c22f57885d2e2a2e99c750 | [
"MIT"
] | null | null | null | print('this is A test !') | 25 | 25 | 0.64 | 5 | 25 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
219ed4cc537cae2945a06e68b20e8f704a126dad | 157 | py | Python | seleniumdirector/__init__.py | cshanu/seleniumdirector | c2e7a343225bcca35e9119fd4d5854626e1ac48a | [
"MIT"
] | 5 | 2018-05-02T15:01:46.000Z | 2021-11-05T20:26:56.000Z | seleniumdirector/__init__.py | cshanu/seleniumdirector | c2e7a343225bcca35e9119fd4d5854626e1ac48a | [
"MIT"
] | null | null | null | seleniumdirector/__init__.py | cshanu/seleniumdirector | c2e7a343225bcca35e9119fd4d5854626e1ac48a | [
"MIT"
] | 1 | 2020-02-09T11:43:06.000Z | 2020-02-09T11:43:06.000Z | from seleniumdirector.webdirector import WebDirector
from seleniumdirector.exceptions import SeleniumDirectorException
__version__ = "DEVELOPMENT_VERSION"
| 26.166667 | 65 | 0.88535 | 13 | 157 | 10.307692 | 0.615385 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 157 | 5 | 66 | 31.4 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21a720d2b85806016364581454e18c5f25c5a7cc | 169 | py | Python | tests/improved/api/index.py | alex-d-bondarev/ugly-python-demo | 9171fa098573ad78de83f92c491f127548b57024 | [
"MIT"
] | null | null | null | tests/improved/api/index.py | alex-d-bondarev/ugly-python-demo | 9171fa098573ad78de83f92c491f127548b57024 | [
"MIT"
] | null | null | null | tests/improved/api/index.py | alex-d-bondarev/ugly-python-demo | 9171fa098573ad78de83f92c491f127548b57024 | [
"MIT"
] | null | null | null | import requests
def get_index_response():
"""Send GET request to Index API
:return: response object
"""
return requests.get("http://127.0.0.1:5000/")
| 16.9 | 49 | 0.650888 | 24 | 169 | 4.5 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.207101 | 169 | 9 | 50 | 18.777778 | 0.731343 | 0.325444 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df6b904167f50da219ec4d08cd3490669eb7ec54 | 78 | py | Python | math/numbers/base.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | math/numbers/base.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | math/numbers/base.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | from simalia.math.calcable import Calcable
class Number(Calcable):
pass
| 13 | 42 | 0.769231 | 10 | 78 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 43 | 15.6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
10d6c4c5b05622bc5ee902bf27f6c5508ad290b3 | 4,492 | py | Python | codes/labs_lecture19/lab02_graph_clustering/util/graph_generator.py | sanjaysaha1311/Deep_Learning_CS7454_2018_NTU | 3ab24cceb8cf4a7c2fe53e4b3a7500a48344a475 | [
"MIT"
] | 221 | 2019-08-15T02:19:23.000Z | 2022-02-22T00:53:06.000Z | codes/labs_lecture19/lab02_graph_clustering/util/graph_generator.py | ChristophBrune/CE7454_2018 | 76fd3b0b69a36b8119d46df1b8a0e8c654188bf6 | [
"MIT"
] | 1 | 2019-03-07T17:19:38.000Z | 2019-03-19T14:30:36.000Z | codes/labs_lecture19/lab02_graph_clustering/util/graph_generator.py | ChristophBrune/CE7454_2018 | 76fd3b0b69a36b8119d46df1b8a0e8c654188bf6 | [
"MIT"
] | 77 | 2019-08-15T07:06:00.000Z | 2021-11-25T10:12:09.000Z | import numpy as np
import block
import torch
import scipy.sparse as sp
default_type='torch.cuda.FloatTensor'
default_type='torch.FloatTensor'
class variable_size_graph():
def __init__(self, task_parameters):
# parameters
vocab_size = task_parameters['Voc']
nb_of_clust = task_par... | 33.522388 | 108 | 0.599955 | 615 | 4,492 | 4.063415 | 0.165854 | 0.048019 | 0.056022 | 0.080032 | 0.780312 | 0.780312 | 0.780312 | 0.780312 | 0.741096 | 0.741096 | 0 | 0.005696 | 0.296527 | 4,492 | 133 | 109 | 33.774436 | 0.785127 | 0.1752 | 0 | 0.734177 | 0 | 0 | 0.032907 | 0.005983 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025316 | false | 0 | 0.050633 | 0 | 0.101266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8004d12dd5a9d5cf6b7467d2114f4a9de3749207 | 7,299 | py | Python | tests/test_api_labels.py | DMcP89/todoist-api-python | 89b601b8edad47bc999cd7b2ab36c5e2a9f8cd8a | [
"MIT"
] | 24 | 2021-12-07T18:37:29.000Z | 2022-03-31T23:09:48.000Z | tests/test_api_labels.py | DMcP89/todoist-api-python | 89b601b8edad47bc999cd7b2ab36c5e2a9f8cd8a | [
"MIT"
] | 15 | 2021-12-01T14:07:25.000Z | 2022-03-15T23:19:30.000Z | tests/test_api_labels.py | sadikkuzu/todoist-api-python | 75db44ad76a210ff4d7a3d5726d0f0ad3389f16e | [
"MIT"
] | 3 | 2021-12-08T22:19:12.000Z | 2022-02-18T06:36:40.000Z | import json
import typing
from typing import Any, Dict, List
import pytest
import responses
from tests.data.test_defaults import (
DEFAULT_REQUEST_ID,
INVALID_ENTITY_ID,
REST_API_BASE_URL,
)
from tests.utils.test_utils import (
assert_auth_header,
assert_id_validation,
assert_request_id_header... | 27.647727 | 85 | 0.724483 | 955 | 7,299 | 5.189529 | 0.091099 | 0.130751 | 0.123487 | 0.065375 | 0.857143 | 0.814972 | 0.787732 | 0.776029 | 0.75908 | 0.735674 | 0 | 0.011929 | 0.184546 | 7,299 | 263 | 86 | 27.752852 | 0.820733 | 0 | 0 | 0.630332 | 0 | 0 | 0.03658 | 0.025894 | 0 | 0 | 0 | 0 | 0.255924 | 1 | 0.014218 | false | 0 | 0.047393 | 0 | 0.061611 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
8044f2dce16268c857f523516d36cdc68ecefbb2 | 42 | py | Python | t/hello-plain.py | Hookscript/lang-python | 49bc8b5f2b46c29ef81658c7ca0764f889e50c50 | [
"Unlicense"
] | null | null | null | t/hello-plain.py | Hookscript/lang-python | 49bc8b5f2b46c29ef81658c7ca0764f889e50c50 | [
"Unlicense"
] | 1 | 2015-05-21T17:21:58.000Z | 2015-05-21T17:21:58.000Z | t/hello-plain.py | Hookscript/lang-python | 49bc8b5f2b46c29ef81658c7ca0764f889e50c50 | [
"Unlicense"
] | null | null | null | import hookscript
print("Hello, world!")
| 10.5 | 22 | 0.738095 | 5 | 42 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 3 | 23 | 14 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
804750c68056089fc0704f18ce1cbcd6b9305791 | 107 | py | Python | algorithms/selfie2anime/src/selfie2anime_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | algorithms/selfie2anime/src/selfie2anime_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | algorithms/selfie2anime/src/selfie2anime_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | from . import selfie2anime
def test_selfie2anime():
assert selfie2anime.apply("Jane") == "hello Jane"
| 21.4 | 53 | 0.728972 | 12 | 107 | 6.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.149533 | 107 | 4 | 54 | 26.75 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33e604f1e4dc7729c16c72f5c473fe480a8dd8fd | 11,596 | py | Python | usaspending_api/download/tests/unit/test_base_download_helpers.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 217 | 2016-11-03T17:09:53.000Z | 2022-03-10T04:17:54.000Z | usaspending_api/download/tests/unit/test_base_download_helpers.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 622 | 2016-09-02T19:18:23.000Z | 2022-03-29T17:11:01.000Z | usaspending_api/download/tests/unit/test_base_download_helpers.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 93 | 2016-09-07T20:28:57.000Z | 2022-02-25T00:25:27.000Z | import json
import pytest
from datetime import datetime, timezone
from model_mommy import mommy
from unittest.mock import patch
from usaspending_api.broker.lookups import EXTERNAL_DATA_TYPE_DICT
from usaspending_api.download.lookups import JOB_STATUS
from usaspending_api.download.v2.base_download_viewset import Base... | 40.545455 | 119 | 0.630476 | 1,470 | 11,596 | 4.612925 | 0.090476 | 0.017402 | 0.122696 | 0.077717 | 0.883498 | 0.864769 | 0.839257 | 0.839257 | 0.807403 | 0.794868 | 0 | 0.050104 | 0.251294 | 11,596 | 285 | 120 | 40.687719 | 0.730938 | 0.041652 | 0 | 0.504098 | 0 | 0 | 0.263058 | 0.107889 | 0 | 0 | 0 | 0 | 0.040984 | 1 | 0.020492 | false | 0 | 0.032787 | 0 | 0.053279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
33f6ebe8d23223a87b7bdc8a9f203aa0d11d41f0 | 2,659 | py | Python | python/scrapper.py | yujingma45/K-means-Color-in-Movie-Posters- | 1538ce6c3e08549fda5c789e7ecd5d50bedf23cf | [
"MIT"
] | 1 | 2021-05-23T18:33:14.000Z | 2021-05-23T18:33:14.000Z | python/scrapper.py | yujingma45/K-means-Color-in-Movie-Posters- | 1538ce6c3e08549fda5c789e7ecd5d50bedf23cf | [
"MIT"
] | null | null | null | python/scrapper.py | yujingma45/K-means-Color-in-Movie-Posters- | 1538ce6c3e08549fda5c789e7ecd5d50bedf23cf | [
"MIT"
] | 2 | 2016-11-25T10:37:42.000Z | 2017-01-12T20:21:07.000Z | from bs4 import BeautifulSoup
import requests
import re
import urllib2
from bs4 import BeautifulSoup
image_type ="animation" #"comedy" # "action"
query = "animation Movie Posters"#"2014 Comdey Movie Posters" #"2014 Action Movie Posters"
url = "http://www.bing.com/images/search?q=" + query + "&qft=+filterui:color2-bw+f... | 40.907692 | 168 | 0.6871 | 416 | 2,659 | 4.353365 | 0.177885 | 0.039757 | 0.048592 | 0.061844 | 0.811154 | 0.811154 | 0.811154 | 0.747101 | 0.747101 | 0.747101 | 0 | 0.045358 | 0.112824 | 2,659 | 65 | 169 | 40.907692 | 0.72234 | 0.040993 | 0 | 0.693878 | 0 | 0.081633 | 0.436542 | 0.094303 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.102041 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
1d33e9cfb2da262fe3af0b4c60ee06ccbc98958f | 83 | py | Python | utils/__init__.py | dusterherz/advent-of-code-2021 | 82d6808702ec72a1ba4f241afc8e3d174e14dfc3 | [
"MIT"
] | null | null | null | utils/__init__.py | dusterherz/advent-of-code-2021 | 82d6808702ec72a1ba4f241afc8e3d174e14dfc3 | [
"MIT"
] | null | null | null | utils/__init__.py | dusterherz/advent-of-code-2021 | 82d6808702ec72a1ba4f241afc8e3d174e14dfc3 | [
"MIT"
] | null | null | null | from .input import read_input, read_input_as_numbers
from .parse import parse_data
| 27.666667 | 52 | 0.855422 | 14 | 83 | 4.714286 | 0.571429 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 83 | 2 | 53 | 41.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
d53796803e725d69029ca14e37f4f18029a8ba7d | 291 | py | Python | ibis/utility/stats.py | CIDARLAB/ibis | 5108848c1d45326b3c65213b2f8deaa88fd29be6 | [
"MIT"
] | 1 | 2021-02-16T23:19:07.000Z | 2021-02-16T23:19:07.000Z | ibis/utility/stats.py | CIDARLAB/ibis | 5108848c1d45326b3c65213b2f8deaa88fd29be6 | [
"MIT"
] | 1 | 2021-04-18T13:45:15.000Z | 2021-04-18T13:45:15.000Z | ibis/utility/stats.py | CIDARLAB/scoring-project | 5108848c1d45326b3c65213b2f8deaa88fd29be6 | [
"MIT"
] | 2 | 2021-04-27T23:52:06.000Z | 2021-07-02T13:44:26.000Z | """
--------------------------------------------------------------------------------
Description:
Generates a statistical report for genetic circuit scoring
Written by W.R. Jackson, Ben Bremer, Eric South
--------------------------------------------------------------------------------
"""
| 32.333333 | 80 | 0.33677 | 18 | 291 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075601 | 291 | 8 | 81 | 36.375 | 0.364312 | 0.969072 | 0 | null | 1 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5a107ee0258abdb4e94ec461ecb7c60e6b525f6 | 40 | py | Python | volkscv/analyzer/__init__.py | YuxinZou/volkscv | 67ac83f0c0ac85bd6606053732b454db17c53de0 | [
"Apache-2.0"
] | 59 | 2020-07-09T03:22:51.000Z | 2021-12-14T11:26:43.000Z | volkscv/analyzer/__init__.py | ChaseMonsterAway/volkscv | aa7e898cc29e3e5f26363e56bf56f4c56574bbd8 | [
"Apache-2.0"
] | 1 | 2020-11-24T12:18:19.000Z | 2020-11-25T03:12:57.000Z | volkscv/analyzer/__init__.py | ChaseMonsterAway/volkscv | aa7e898cc29e3e5f26363e56bf56f4c56574bbd8 | [
"Apache-2.0"
] | 24 | 2020-08-05T03:13:37.000Z | 2021-10-11T02:55:25.000Z | from . import statistics, visualization
| 20 | 39 | 0.825 | 4 | 40 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5a22f9877f9671ce48276e1c3f41ba13e917334 | 403 | py | Python | src/example_package/calculator.py | zhadba/packaging-framework | 48cd8e39ceece60cf48ecd964b1ce702abe8c507 | [
"MIT"
] | null | null | null | src/example_package/calculator.py | zhadba/packaging-framework | 48cd8e39ceece60cf48ecd964b1ce702abe8c507 | [
"MIT"
] | null | null | null | src/example_package/calculator.py | zhadba/packaging-framework | 48cd8e39ceece60cf48ecd964b1ce702abe8c507 | [
"MIT"
] | null | null | null | class Calculator():
def __init__(self, number_1, number_2):
self.number_1 = number_1
self.number_2 = number_2
def add(self):
return self.number_1 + self.number_2
def subtract(self):
return self.number_1 - self.number_2
def multiply(self):
return self.number_1 ... | 23.705882 | 44 | 0.64268 | 59 | 403 | 4.084746 | 0.220339 | 0.456432 | 0.273859 | 0.352697 | 0.643154 | 0.568465 | 0.568465 | 0.568465 | 0.435685 | 0 | 0 | 0.047458 | 0.26799 | 403 | 17 | 45 | 23.705882 | 0.769492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0.333333 | 0.833333 | 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 | 1 | 1 | 0 | 0 | 6 |
d5a3c1e35219dc1ef093b05533332f2ed46ec946 | 391 | py | Python | calc/calculadora.py | areguilo/X-Serv-15.4-Django-calc | c155f8e598ca39513b28387b09c1a14d08275517 | [
"Apache-2.0"
] | null | null | null | calc/calculadora.py | areguilo/X-Serv-15.4-Django-calc | c155f8e598ca39513b28387b09c1a14d08275517 | [
"Apache-2.0"
] | null | null | null | calc/calculadora.py | areguilo/X-Serv-15.4-Django-calc | c155f8e598ca39513b28387b09c1a14d08275517 | [
"Apache-2.0"
] | null | null | null | #/usr/bin/python3
import sys
def suma(num1, num2):
return num1+num2
def resta(num1, num2):
return num1-num2
def multiplicacion(num1, num2):
return num1*num2
def division(num1, num2):
try:
return num1/num2
except ZeroDivisionError:
return("Zero Division Error")
diccion... | 19.55 | 77 | 0.654731 | 49 | 391 | 5.22449 | 0.469388 | 0.25 | 0.21875 | 0.210938 | 0.292969 | 0.292969 | 0 | 0 | 0 | 0 | 0 | 0.055921 | 0.222506 | 391 | 19 | 78 | 20.578947 | 0.786184 | 0.040921 | 0 | 0 | 0 | 0 | 0.082888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0.230769 | 0.692308 | 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 | 1 | 1 | 0 | 0 | 6 |
63587a0d54d201ea600bfff2ae1174db333d0cf0 | 142 | py | Python | src/doc/views.py | coci/vocabulary-api | 21d3479bbedbf927c14a71cee480dbf675437378 | [
"Apache-2.0"
] | 1 | 2020-10-05T13:35:08.000Z | 2020-10-05T13:35:08.000Z | src/doc/views.py | coci/vocabulary-api | 21d3479bbedbf927c14a71cee480dbf675437378 | [
"Apache-2.0"
] | 6 | 2020-10-02T09:38:55.000Z | 2020-11-12T12:12:40.000Z | src/doc/views.py | coci/vocabulary-api | 21d3479bbedbf927c14a71cee480dbf675437378 | [
"Apache-2.0"
] | 1 | 2020-10-02T09:53:53.000Z | 2020-10-02T09:53:53.000Z | from django.shortcuts import render
def doc(request):
return render(request, 'doc/index.html', context={'schema_url': 'redoc/schema.yml'})
| 23.666667 | 85 | 0.746479 | 20 | 142 | 5.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 142 | 5 | 86 | 28.4 | 0.820313 | 0 | 0 | 0 | 0 | 0 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
637b94f21ccdf2f0e35bb6a0386224086cb1210d | 1,044 | gyp | Python | network_bearer_selection/network_bearer_selection.gyp | ricardotk/tizen-extensions-crosswalk | 252e07df73a7b96aba033263d56a5df4f5308f07 | [
"BSD-3-Clause"
] | 1 | 2016-11-21T21:21:19.000Z | 2016-11-21T21:21:19.000Z | network_bearer_selection/network_bearer_selection.gyp | ricardotk/tizen-extensions-crosswalk | 252e07df73a7b96aba033263d56a5df4f5308f07 | [
"BSD-3-Clause"
] | null | null | null | network_bearer_selection/network_bearer_selection.gyp | ricardotk/tizen-extensions-crosswalk | 252e07df73a7b96aba033263d56a5df4f5308f07 | [
"BSD-3-Clause"
] | null | null | null | {
'includes':[
'../common/common.gypi',
],
'targets': [
{
'target_name': 'tizen_network_bearer_selection',
'type': 'loadable_module',
'sources': [
'network_bearer_selection_api.js',
'network_bearer_selection_connection_mobile.cc',
'network_bearer_selection_connect... | 28.216216 | 56 | 0.585249 | 91 | 1,044 | 6.208791 | 0.351648 | 0.276106 | 0.467257 | 0.307965 | 0.548673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283525 | 1,044 | 36 | 57 | 29 | 0.755348 | 0 | 0 | 0.222222 | 0 | 0 | 0.612069 | 0.528736 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89252bbde86e2477ef4c07cae35cdd1b67b050c3 | 240 | py | Python | pisa/utils/hypersurface/__init__.py | atrettin/pisa | 9702ed946e3f669f1126ca4ffe96b49280a8ff12 | [
"Apache-2.0"
] | 5 | 2021-03-10T18:18:10.000Z | 2022-03-04T03:04:05.000Z | pisa/utils/hypersurface/__init__.py | atrettin/pisa | 9702ed946e3f669f1126ca4ffe96b49280a8ff12 | [
"Apache-2.0"
] | 105 | 2019-03-21T13:53:59.000Z | 2021-01-25T16:34:14.000Z | pisa/utils/hypersurface/__init__.py | atrettin/pisa | 9702ed946e3f669f1126ca4ffe96b49280a8ff12 | [
"Apache-2.0"
] | 26 | 2019-03-03T22:25:04.000Z | 2020-10-23T15:57:10.000Z | from .hypersurface import *
# with the switch to Python 3.7 this did not get imported automatically anymore... why?!
from .hypersurface import get_hypersurface_file_name
from .hyper_interpolator import *
from .hypersurface_plotting import * | 48 | 88 | 0.816667 | 33 | 240 | 5.787879 | 0.69697 | 0.251309 | 0.230366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.125 | 240 | 5 | 89 | 48 | 0.9 | 0.358333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
897f5b40bcd3534e3bad2c8d9ffb7b55816566a6 | 18,125 | py | Python | test/test_ast.py | timothyrenner/svl | a74c09c49f2e14046acd4b0eeb861f8fef6bca96 | [
"MIT"
] | 8 | 2019-03-27T12:49:21.000Z | 2020-10-10T11:16:25.000Z | test/test_ast.py | timothyrenner/svl | a74c09c49f2e14046acd4b0eeb861f8fef6bca96 | [
"MIT"
] | 65 | 2018-08-26T14:48:45.000Z | 2020-03-17T12:24:42.000Z | test/test_ast.py | timothyrenner/svl | a74c09c49f2e14046acd4b0eeb861f8fef6bca96 | [
"MIT"
] | 1 | 2019-09-13T19:39:07.000Z | 2019-09-13T19:39:07.000Z | from svl.compiler.ast import parse_svl
def test_line_chart():
""" Tests that the line chart type is properly parsed.
"""
svl_string = """
DATASETS
bigfoot "data/bigfoot_sightings.csv"
LINE bigfoot
X date by year LABEL "Year"
Y date COUNT LABEL "Number of Sightings"
... | 26.116715 | 79 | 0.490814 | 1,656 | 18,125 | 5.183575 | 0.092995 | 0.061859 | 0.08411 | 0.064306 | 0.824907 | 0.798579 | 0.772251 | 0.744292 | 0.711673 | 0.678705 | 0 | 0.004462 | 0.381683 | 18,125 | 693 | 80 | 26.154401 | 0.761488 | 0.091531 | 0 | 0.646067 | 0 | 0 | 0.42117 | 0.064843 | 0 | 0 | 0 | 0 | 0.041199 | 1 | 0.041199 | false | 0 | 0.001873 | 0 | 0.043071 | 0.001873 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
899630240c317341cd88fd9f9c98228a45b7e607 | 41 | py | Python | orders/serializers/__init__.py | julianarchila/ecommerce-django-api | d0665745c2a16dc8bc1acb54ead66f69da129271 | [
"MIT"
] | null | null | null | orders/serializers/__init__.py | julianarchila/ecommerce-django-api | d0665745c2a16dc8bc1acb54ead66f69da129271 | [
"MIT"
] | null | null | null | orders/serializers/__init__.py | julianarchila/ecommerce-django-api | d0665745c2a16dc8bc1acb54ead66f69da129271 | [
"MIT"
] | null | null | null | from .orders import *
from .cart import * | 20.5 | 21 | 0.731707 | 6 | 41 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 22 | 20.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
899bccd21c2a9f94735151c115790d1e30562ab5 | 52 | py | Python | spvcm/lower_level/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 14 | 2017-06-20T18:39:04.000Z | 2021-03-27T02:21:46.000Z | spvcm/lower_level/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 12 | 2018-05-11T11:13:21.000Z | 2020-02-07T14:23:12.000Z | spvcm/lower_level/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 8 | 2017-05-20T00:55:40.000Z | 2020-07-02T14:52:49.000Z | from .se import Lower_SE
from .sma import Lower_SMA
| 17.333333 | 26 | 0.807692 | 10 | 52 | 4 | 0.5 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 27 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
9835dc46494574ab211c2baeb62322bfbb6acc82 | 40 | py | Python | smartlinks/tests/management/commands/__init__.py | ixc/glamkit-smartlinks | c550f372cecd08bdc81795b18f6b0cec38ac7bd2 | [
"BSD-3-Clause"
] | 3 | 2016-11-28T22:04:40.000Z | 2021-05-23T22:35:37.000Z | smartlinks/tests/management/commands/__init__.py | ixc/glamkit-smartlinks | c550f372cecd08bdc81795b18f6b0cec38ac7bd2 | [
"BSD-3-Clause"
] | null | null | null | smartlinks/tests/management/commands/__init__.py | ixc/glamkit-smartlinks | c550f372cecd08bdc81795b18f6b0cec38ac7bd2 | [
"BSD-3-Clause"
] | 2 | 2017-08-13T06:44:56.000Z | 2017-10-04T00:14:35.000Z | from reset_smartlink_index_test import * | 40 | 40 | 0.9 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
984a0a8c88553b6dc6c87d60519c9615fcbbad72 | 12,534 | py | Python | eeauditor/auditors/aws/Amazon_EFS_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_EFS_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_EFS_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 45.912088 | 175 | 0.494176 | 1,076 | 12,534 | 5.732342 | 0.227695 | 0.027562 | 0.01751 | 0.021401 | 0.785019 | 0.784533 | 0.784533 | 0.749514 | 0.749514 | 0.742704 | 0 | 0.036944 | 0.397479 | 12,534 | 273 | 176 | 45.912088 | 0.779793 | 0.079863 | 0 | 0.76569 | 0 | 0.020921 | 0.385953 | 0.05485 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012552 | false | 0.016736 | 0.012552 | 0 | 0.033473 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98690ee34ba914df1984549adc1c7b7be26f7395 | 286 | py | Python | OpenGLCffi/GLES3/EXT/EXT/texture_view.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLES3/EXT/EXT/texture_view.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLES3/EXT/EXT/texture_view.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GLES3 import params
@params(api='gles3', prms=['texture', 'target', 'origtexture', 'internalformat', 'minlevel', 'numlevels', 'minlayer', 'numlayers'])
def glTextureViewEXT(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers):
pass
| 40.857143 | 131 | 0.755245 | 28 | 286 | 7.714286 | 0.642857 | 0.12037 | 0.222222 | 0.351852 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0.007692 | 0.090909 | 286 | 6 | 132 | 47.666667 | 0.823077 | 0 | 0 | 0 | 0 | 0 | 0.271127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f687273e641e20a98ebf9a151dcca8a4472a07b7 | 184 | py | Python | SciPyFST/fstUtils/__init__.py | MorriganR/SciPyFST | 16f263c9c08ab2a2e0be4d89818ccf8a882351f1 | [
"MIT"
] | null | null | null | SciPyFST/fstUtils/__init__.py | MorriganR/SciPyFST | 16f263c9c08ab2a2e0be4d89818ccf8a882351f1 | [
"MIT"
] | 2 | 2021-11-28T19:57:52.000Z | 2022-02-06T20:45:04.000Z | SciPyFST/fstUtils/__init__.py | MorriganR/SciPyFST | 16f263c9c08ab2a2e0be4d89818ccf8a882351f1 | [
"MIT"
] | null | null | null | from .toDot import *
from .toTable import *
from .toMdTable import *
from .toTexTable import *
from .fstFromDict import *
from .playToWave import *
from .copyWithRenameStates import *
| 23 | 35 | 0.771739 | 21 | 184 | 6.761905 | 0.428571 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 184 | 7 | 36 | 26.285714 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
f69ffe69c3ce08d3adb8a24db68a6a3b749248d3 | 29 | py | Python | python2/rosmln/src/rosmln/srv/__init__.py | seba90/pracmln | 2af9e11d72f077834cf130343a2506344480fb07 | [
"BSD-2-Clause"
] | 123 | 2016-02-13T08:49:46.000Z | 2022-03-15T10:23:55.000Z | python2/rosmln/src/rosmln/srv/__init__.py | seba90/pracmln | 2af9e11d72f077834cf130343a2506344480fb07 | [
"BSD-2-Clause"
] | 29 | 2016-06-13T16:06:50.000Z | 2022-01-07T23:31:22.000Z | python2/rosmln/src/rosmln/srv/__init__.py | seba90/pracmln | 2af9e11d72f077834cf130343a2506344480fb07 | [
"BSD-2-Clause"
] | 51 | 2016-03-22T05:42:45.000Z | 2021-11-06T17:36:01.000Z | from ._MLNInterface import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6aa255fd57bd2f9d1269d67a9828bf1b9f9178d | 38 | py | Python | tests/conftest.py | kawmarco/jsonsubset | c4b6ca89ab7ac0cb471d5e83eeef8e3ab5ebd428 | [
"MIT"
] | 3 | 2019-12-13T02:37:14.000Z | 2021-07-15T00:50:08.000Z | tests/conftest.py | kawmarco/jsonsubset | c4b6ca89ab7ac0cb471d5e83eeef8e3ab5ebd428 | [
"MIT"
] | 4 | 2017-08-11T23:04:06.000Z | 2017-08-12T20:37:52.000Z | tests/conftest.py | kawmarco/jsonsubset | c4b6ca89ab7ac0cb471d5e83eeef8e3ab5ebd428 | [
"MIT"
] | null | null | null | import pyximport; pyximport.install()
| 19 | 37 | 0.815789 | 4 | 38 | 7.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6af2448408626207a3eb413bca0d59a038c43b2 | 36,622 | py | Python | trader_funcs.py | mcmissile007/trader | 06070f0d786d08ffe4b8bbb5a08dcb2808cf16c4 | [
"MIT"
] | null | null | null | trader_funcs.py | mcmissile007/trader | 06070f0d786d08ffe4b8bbb5a08dcb2808cf16c4 | [
"MIT"
] | null | null | null | trader_funcs.py | mcmissile007/trader | 06070f0d786d08ffe4b8bbb5a08dcb2808cf16c4 | [
"MIT"
] | null | null | null |
import json
import time
import poloniex_funcs as _poloniex
from datetime import datetime
import database_funcs as _db
import purchase_operations_funcs as _purchase
import matrix_funcs as _matrix
def get_last_purchase_trade_operations (semaphore,logger,currency_pair):
trade_history = _poloniex.get_trade_history (... | 69.623574 | 396 | 0.66755 | 4,527 | 36,622 | 5.032251 | 0.052132 | 0.063737 | 0.017207 | 0.030815 | 0.870243 | 0.845266 | 0.829814 | 0.810412 | 0.797814 | 0.761687 | 0 | 0.0083 | 0.23019 | 36,622 | 526 | 397 | 69.623574 | 0.799766 | 0.0148 | 0 | 0.676923 | 0 | 0.013187 | 0.174608 | 0.040203 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01978 | false | 0 | 0.015385 | 0 | 0.101099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
63ee071732091fda678d6e19bc619576aaf735cf | 207 | py | Python | packages/regression_model/path_here.py | sifubro/deploying-ml-api-udemy | c745a5d5839205aa66806524fdf92b070a27c599 | [
"BSD-3-Clause"
] | null | null | null | packages/regression_model/path_here.py | sifubro/deploying-ml-api-udemy | c745a5d5839205aa66806524fdf92b070a27c599 | [
"BSD-3-Clause"
] | null | null | null | packages/regression_model/path_here.py | sifubro/deploying-ml-api-udemy | c745a5d5839205aa66806524fdf92b070a27c599 | [
"BSD-3-Clause"
] | null | null | null | import pathlib
print(__name__)
print(pathlib.Path(__file__))
print(pathlib.Path(__file__).resolve())
print(pathlib.Path(__file__).resolve().parent)
print(pathlib.Path(__file__).resolve().parent.parent) | 17.25 | 53 | 0.777778 | 26 | 207 | 5.423077 | 0.307692 | 0.340426 | 0.453901 | 0.567376 | 0.659574 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 207 | 12 | 53 | 17.25 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.833333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1205a4bc72010bf8c2e3ed82666760a2afd0b426 | 29 | py | Python | da_functions/__init__.py | armandotoledo/ibv_DA_functions | 58b37eeb84e215e36d993f38dff568f9529276af | [
"MIT"
] | null | null | null | da_functions/__init__.py | armandotoledo/ibv_DA_functions | 58b37eeb84e215e36d993f38dff568f9529276af | [
"MIT"
] | null | null | null | da_functions/__init__.py | armandotoledo/ibv_DA_functions | 58b37eeb84e215e36d993f38dff568f9529276af | [
"MIT"
] | null | null | null | from .functions import basic
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12214b5578d8ab05772f63f8c2fbcb849e375ea0 | 345 | py | Python | fin_benefits/__init__.py | ajtanskanen/benefits | c67127c917b41ac707d89dcc2263587c4801163b | [
"MIT"
] | null | null | null | fin_benefits/__init__.py | ajtanskanen/benefits | c67127c917b41ac707d89dcc2263587c4801163b | [
"MIT"
] | null | null | null | fin_benefits/__init__.py | ajtanskanen/benefits | c67127c917b41ac707d89dcc2263587c4801163b | [
"MIT"
] | null | null | null | from .benefits import Benefits
from .parameters import perheparametrit, tee_selite, print_examples
from .basic_income import BasicIncomeBenefits
from .benefits_unemp_EK import BenefitsEK
from .benefits_unemp_porrastus import BenefitsPorrastus
from .benefits_unemp_EK2020 import BenefitsEK2020
from .benefits_unemp_korotu... | 43.125 | 67 | 0.886957 | 41 | 345 | 7.195122 | 0.512195 | 0.20339 | 0.230508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025397 | 0.086957 | 345 | 7 | 68 | 49.285714 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.