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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23a83384024db784c8be564fff058a803b8ad166 | 152 | py | Python | actions/list_policies.py | martezr/stackstorm-opa | 573ef15b05f141580e1a6dcdb001951e50d32d45 | [
"Apache-2.0"
] | null | null | null | actions/list_policies.py | martezr/stackstorm-opa | 573ef15b05f141580e1a6dcdb001951e50d32d45 | [
"Apache-2.0"
] | null | null | null | actions/list_policies.py | martezr/stackstorm-opa | 573ef15b05f141580e1a6dcdb001951e50d32d45 | [
"Apache-2.0"
] | null | null | null | import opa_client.opa
from lib import action
class ListPolicies(action.OpaBaseAction):
def run(self):
return self.opa.get_policies_list() | 19 | 43 | 0.75 | 21 | 152 | 5.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 152 | 8 | 43 | 19 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
23b38888e5087bfcbd4fea331e23c2684ef89132 | 355 | py | Python | taxes/tests.py | bbengfort/ledger | f3b961be568d3a373228ee2ccf52afc7fb7ca9a8 | [
"MIT"
] | 1 | 2018-08-15T22:34:33.000Z | 2018-08-15T22:34:33.000Z | taxes/tests.py | bbengfort/ledger | f3b961be568d3a373228ee2ccf52afc7fb7ca9a8 | [
"MIT"
] | 75 | 2018-05-07T21:13:27.000Z | 2021-09-22T17:45:20.000Z | taxes/tests.py | bbengfort/ledger | f3b961be568d3a373228ee2ccf52afc7fb7ca9a8 | [
"MIT"
] | 2 | 2018-08-15T22:34:34.000Z | 2020-07-04T17:27:41.000Z | # taxes.tests
# Tax tests
#
# Author: Benjamin Bengfort <benjamin@bengfort.com>
# Created: Sat Apr 14 16:36:54 2018 -0400
#
# ID: tests.py [20315d2] benjamin@bengfort.com $
"""
Tax tests
"""
##########################################################################
## Imports
########################################... | 22.1875 | 74 | 0.388732 | 29 | 355 | 4.758621 | 0.689655 | 0.347826 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069182 | 0.104225 | 355 | 15 | 75 | 23.666667 | 0.36478 | 0.501408 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
23c0610d682f625004e4d2de01a76fafef5a1f5d | 268 | py | Python | tests/mocks/google/auth.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 2 | 2021-07-12T13:51:21.000Z | 2021-07-19T08:40:02.000Z | tests/mocks/google/auth.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 41 | 2021-06-28T11:05:20.000Z | 2022-03-13T13:48:50.000Z | tests/mocks/google/auth.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 1 | 2021-07-17T19:07:06.000Z | 2021-07-17T19:07:06.000Z | class Credentials(object):
@staticmethod
def refresh(request, **kwargs):
pass
@property
def token(self):
return "PASSWORD"
def default(scopes: list, **kwargs):
return Credentials(), "myproject"
class Request(object):
pass
| 14.888889 | 37 | 0.630597 | 27 | 268 | 6.259259 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 268 | 17 | 38 | 15.764706 | 0.845 | 0 | 0 | 0.181818 | 0 | 0 | 0.063433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0 | 0.181818 | 0.636364 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
23c0f0f50514501d125c62652003a8477eecd324 | 100 | py | Python | MainEntrance.py | KyleCe/PhoneMeasurement | f4e057f9a8dd024ddd3f1420afad73c278b519ac | [
"MIT"
] | null | null | null | MainEntrance.py | KyleCe/PhoneMeasurement | f4e057f9a8dd024ddd3f1420afad73c278b519ac | [
"MIT"
] | null | null | null | MainEntrance.py | KyleCe/PhoneMeasurement | f4e057f9a8dd024ddd3f1420afad73c278b519ac | [
"MIT"
] | 1 | 2019-05-28T10:25:49.000Z | 2019-05-28T10:25:49.000Z | import FunctionModule as FunMod
FunMod.battery_instrument_main()
# FunMod.memory_instrument_main()
| 20 | 33 | 0.85 | 12 | 100 | 6.75 | 0.666667 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 4 | 34 | 25 | 0.880435 | 0.31 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 5 |
23d73d851ca5714480be07f88d520cff2c2b333e | 107 | py | Python | enthought/envisage/i_provider_extension_registry.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/i_provider_extension_registry.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/i_provider_extension_registry.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.i_provider_extension_registry import *
| 26.75 | 52 | 0.869159 | 14 | 107 | 6.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 107 | 3 | 53 | 35.666667 | 0.885417 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
23d8fd7bedc9c686195b9b332fe753d1b659cf0f | 134 | py | Python | src/masonite/scheduling/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | src/masonite/scheduling/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | src/masonite/scheduling/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from .CanSchedule import CanSchedule
from .CommandTask import CommandTask
from .Task import Task
from .TaskHandler import TaskHandler
| 26.8 | 36 | 0.850746 | 16 | 134 | 7.125 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 134 | 4 | 37 | 33.5 | 0.966102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9b113a0ea6dc27a42d86378d15fded34875da2ac | 111 | py | Python | DS_shorts_erivetna87/__init__.py | erivetna87/DS_shorts | 198b8291d76ba8fd8f608dd33e4e81ee34c2f2e4 | [
"MIT"
] | null | null | null | DS_shorts_erivetna87/__init__.py | erivetna87/DS_shorts | 198b8291d76ba8fd8f608dd33e4e81ee34c2f2e4 | [
"MIT"
] | 3 | 2020-03-31T07:56:41.000Z | 2021-06-02T00:44:41.000Z | DS_shorts_erivetna87/__init__.py | erivetna87/DS_shorts | 198b8291d76ba8fd8f608dd33e4e81ee34c2f2e4 | [
"MIT"
] | null | null | null | """ DS_Shorts - a collection of personalized data science functions"""
import pandas as pd
import numpy as np
| 22.2 | 70 | 0.765766 | 17 | 111 | 4.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171171 | 111 | 4 | 71 | 27.75 | 0.913043 | 0.567568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f198129f1c00816bb676e8564a37d5df6fdb41ea | 447 | py | Python | examples/02_using_command_line_arguments.py | bplaxco/python-examples | 3c0bab746f0da4b255f9a062d93b9afa572b4d8f | [
"MIT"
] | null | null | null | examples/02_using_command_line_arguments.py | bplaxco/python-examples | 3c0bab746f0da4b255f9a062d93b9afa572b4d8f | [
"MIT"
] | null | null | null | examples/02_using_command_line_arguments.py | bplaxco/python-examples | 3c0bab746f0da4b255f9a062d93b9afa572b4d8f | [
"MIT"
] | null | null | null | """
This covers a little info on how to access command line arguments. Complex
parsing is out scope for this file.
Do access the command line arguments we'll need to import the sys package.
This example just prints out the args back to the command line.
Run it like this (once with args, once without):
python ./... | 24.833333 | 74 | 0.769575 | 76 | 447 | 4.421053 | 0.605263 | 0.16369 | 0.238095 | 0.119048 | 0.208333 | 0.208333 | 0.208333 | 0 | 0 | 0 | 0 | 0.01087 | 0.176734 | 447 | 17 | 75 | 26.294118 | 0.902174 | 0.914989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
f1b062eefe3670901e55b62a72e7bb4dc58be1b5 | 105 | py | Python | acmicpc/python/15740.py | hyeongyun0916/Algorithm | 75f77b2500bb08f24706a8be26497aeeebd2da4f | [
"MIT"
] | 1 | 2018-12-21T01:33:05.000Z | 2018-12-21T01:33:05.000Z | acmicpc/python/15740.py | hyeongyun0916/Algorithm | 75f77b2500bb08f24706a8be26497aeeebd2da4f | [
"MIT"
] | null | null | null | acmicpc/python/15740.py | hyeongyun0916/Algorithm | 75f77b2500bb08f24706a8be26497aeeebd2da4f | [
"MIT"
] | null | null | null | import sys
# sys.stdin = open('input.txt', 'r')
a, b = map(int, sys.stdin.readline().split())
print(a+b) | 21 | 45 | 0.628571 | 19 | 105 | 3.473684 | 0.736842 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 5 | 46 | 21 | 0.717391 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f1cf1af1bacafd719448c18f17a9a6f128b9ebff | 675 | py | Python | serverdensity/wrapper/__init__.py | serverdensity/sd-python-wrapper | 9136186e907c49e74f36118f2a6f23eba24abce8 | [
"MIT"
] | null | null | null | serverdensity/wrapper/__init__.py | serverdensity/sd-python-wrapper | 9136186e907c49e74f36118f2a6f23eba24abce8 | [
"MIT"
] | 4 | 2016-01-29T17:33:25.000Z | 2021-03-25T21:39:17.000Z | serverdensity/wrapper/__init__.py | serverdensity/sd-python-wrapper | 9136186e907c49e74f36118f2a6f23eba24abce8 | [
"MIT"
] | 5 | 2016-01-28T20:25:16.000Z | 2017-06-13T14:11:27.000Z | # -*- coding: utf-8 -*-
from serverdensity.wrapper.apiclient import ApiClient
from serverdensity.wrapper.alert import Alert
from serverdensity.wrapper.device import Device
from serverdensity.wrapper.dashboard import Dashboard
from serverdensity.wrapper.metrics import Metrics
from serverdensity.wrapper.postback import P... | 45 | 62 | 0.863704 | 82 | 675 | 7.097561 | 0.256098 | 0.379725 | 0.536082 | 0.106529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001618 | 0.084444 | 675 | 14 | 63 | 48.214286 | 0.940129 | 0.031111 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f1d64fb395f455767ce62b4e040fe3147162b382 | 304 | py | Python | edx_repo_tools/codemods/django3/__init__.py | openedx/repo-tools | 4a29b491a52f3905d516603f009f1cc3500f1155 | [
"Apache-2.0"
] | null | null | null | edx_repo_tools/codemods/django3/__init__.py | openedx/repo-tools | 4a29b491a52f3905d516603f009f1cc3500f1155 | [
"Apache-2.0"
] | 3 | 2022-02-10T13:58:34.000Z | 2022-03-10T06:49:09.000Z | edx_repo_tools/codemods/django3/__init__.py | openedx/repo-tools | 4a29b491a52f3905d516603f009f1cc3500f1155 | [
"Apache-2.0"
] | null | null | null | from .github_actions_modernizer import GithubCIModernizer
from .github_actions_modernizer_django import GithubCIDjangoModernizer
from .setup_file_modernizer import SetupFileModernizer
from .tox_modernizer import ConfigReader, ToxModernizer
from .travis_modernizer import DJANGO_PATTERN, TravisModernizer
| 50.666667 | 70 | 0.904605 | 32 | 304 | 8.28125 | 0.53125 | 0.241509 | 0.128302 | 0.203774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072368 | 304 | 5 | 71 | 60.8 | 0.939716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 0 | 0 | 0 | 5 |
f1d806af47de0cbeb51782d6c4e53d8c835b7d81 | 188 | py | Python | odatacameradeputados/defaults.py | gvanerven/odatacameradeputados | a4362b897fe1fc5422523629e5ff8db0798ac85b | [
"Apache-2.0"
] | null | null | null | odatacameradeputados/defaults.py | gvanerven/odatacameradeputados | a4362b897fe1fc5422523629e5ff8db0798ac85b | [
"Apache-2.0"
] | null | null | null | odatacameradeputados/defaults.py | gvanerven/odatacameradeputados | a4362b897fe1fc5422523629e5ff8db0798ac85b | [
"Apache-2.0"
] | null | null | null | URL_BASE_DEFAULT = "https://dadosabertos.camara.leg.br/api/v2/{}"
URL_BASE_PROPOSICOES = "https://dadosabertos.camara.leg.br/api/v2/proposicoes/{}"
HEADERS = {'accept': 'application/json'} | 62.666667 | 81 | 0.75 | 25 | 188 | 5.48 | 0.6 | 0.10219 | 0.335766 | 0.379562 | 0.481752 | 0.481752 | 0.481752 | 0 | 0 | 0 | 0 | 0.011173 | 0.047872 | 188 | 3 | 82 | 62.666667 | 0.75419 | 0 | 0 | 0 | 0 | 0 | 0.645503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f1f7318e374f17f7729b50b0a947520a7ad4d9fb | 114 | py | Python | model/logi.py | leha0794/ProbaBarancev | c53124a43f0965bc65f57851ad89616b39693586 | [
"Apache-2.0"
] | null | null | null | model/logi.py | leha0794/ProbaBarancev | c53124a43f0965bc65f57851ad89616b39693586 | [
"Apache-2.0"
] | null | null | null | model/logi.py | leha0794/ProbaBarancev | c53124a43f0965bc65f57851ad89616b39693586 | [
"Apache-2.0"
] | null | null | null |
class Logi:
def __init__(self, email, password):
self.email = email
self.password = password
| 19 | 40 | 0.622807 | 13 | 114 | 5.153846 | 0.538462 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 114 | 5 | 41 | 22.8 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7b2d41fddef9297d69e660d9cf21b0c6f450c59c | 4,283 | py | Python | migrations/versions/77f2a6d0342a_.py | itshui3/BE-Server | 53e4f83533feb6b6ef6bac48cb3235d5631bcbc4 | [
"MIT"
] | null | null | null | migrations/versions/77f2a6d0342a_.py | itshui3/BE-Server | 53e4f83533feb6b6ef6bac48cb3235d5631bcbc4 | [
"MIT"
] | 2 | 2020-04-27T18:14:31.000Z | 2020-05-01T18:12:22.000Z | migrations/versions/77f2a6d0342a_.py | itshui3/BE-Server | 53e4f83533feb6b6ef6bac48cb3235d5631bcbc4 | [
"MIT"
] | 1 | 2020-11-14T02:24:48.000Z | 2020-11-14T02:24:48.000Z | """empty message
Revision ID: 77f2a6d0342a
Revises:
Create Date: 2020-05-01 15:46:52.747402
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '77f2a6d0342a'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto gene... | 40.028037 | 70 | 0.664488 | 565 | 4,283 | 5.00354 | 0.166372 | 0.147152 | 0.227803 | 0.282986 | 0.792006 | 0.785638 | 0.724089 | 0.705695 | 0.580828 | 0.510081 | 0 | 0.032346 | 0.141023 | 4,283 | 106 | 71 | 40.40566 | 0.73607 | 0.066075 | 0 | 0.409091 | 0 | 0 | 0.103205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0.011364 | 0.022727 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9e6665906f45fb266a54f8c1ad626d75300dfd36 | 61 | py | Python | test/__init__.py | renesugar/horast | 1f3cca6f03cbe82303655cd8e2f35fa96a820f6a | [
"Apache-2.0"
] | 12 | 2018-12-09T10:45:21.000Z | 2022-01-08T03:32:26.000Z | test/__init__.py | renesugar/horast | 1f3cca6f03cbe82303655cd8e2f35fa96a820f6a | [
"Apache-2.0"
] | 6 | 2019-07-23T07:25:11.000Z | 2020-10-26T07:52:07.000Z | test/__init__.py | renesugar/horast | 1f3cca6f03cbe82303655cd8e2f35fa96a820f6a | [
"Apache-2.0"
] | 5 | 2019-02-26T05:59:58.000Z | 2020-04-24T15:22:23.000Z | """Tests for horast package."""
from horast import _logging
| 15.25 | 31 | 0.737705 | 8 | 61 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 3 | 32 | 20.333333 | 0.846154 | 0.409836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e67f5d9cb11d9e2189efeb5eaf2ba30b1306255 | 90,943 | py | Python | fn_qradar_advisor/fn_qradar_advisor/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 65 | 2017-12-04T13:58:32.000Z | 2022-03-24T18:33:17.000Z | fn_qradar_advisor/fn_qradar_advisor/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 48 | 2018-03-02T19:17:14.000Z | 2022-03-09T22:00:38.000Z | fn_qradar_advisor/fn_qradar_advisor/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 95 | 2018-01-11T16:23:39.000Z | 2022-03-21T11:34:29.000Z | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_qradar_advisor"""
try:
from resilient import ImportDefinition
except ImportError:
# Support Apps running on resilient-circuits < v35.0.195
from resilient_circuits.util import ImportDefinition
def codegen_reload_data():
... | 74.973619 | 243 | 0.974325 | 1,612 | 90,943 | 54.895161 | 0.815136 | 0.005142 | 0.002057 | 0.001899 | 0.011685 | 0.009221 | 0.009221 | 0.005605 | 0.005605 | 0.004385 | 0 | 0.112902 | 0.021486 | 90,943 | 1,212 | 244 | 75.035479 | 0.881502 | 0.015163 | 0 | 0.015504 | 1 | 0 | 0.989575 | 0.970972 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001723 | false | 0 | 0.003445 | 0 | 0.006029 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9e9eedacd041d68120966dc901d971e4d9299fad | 115 | py | Python | piconumpy/test_hpy.py | fluiddyn/piconumpy | 32d7bd406580799505a262a5a44b90f14f088bb0 | [
"BSD-3-Clause"
] | null | null | null | piconumpy/test_hpy.py | fluiddyn/piconumpy | 32d7bd406580799505a262a5a44b90f14f088bb0 | [
"BSD-3-Clause"
] | null | null | null | piconumpy/test_hpy.py | fluiddyn/piconumpy | 32d7bd406580799505a262a5a44b90f14f088bb0 | [
"BSD-3-Clause"
] | null | null | null | from .test_cpython_capi import Tests as _Tests
class Tests(_Tests):
from . import _piconumpy_hpy as piconumpy
| 23 | 46 | 0.791304 | 17 | 115 | 5 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165217 | 115 | 4 | 47 | 28.75 | 0.885417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9ea4f660bae7f8d8d651521bdac3d756f0061ead | 178 | py | Python | ili9341/exceptions.py | HadrienLG/micropython-ili9341 | 975101949a722570c76b7bda72d8b292d2a9fd8d | [
"MIT"
] | 2 | 2021-09-28T07:56:50.000Z | 2022-02-08T07:26:13.000Z | ili9341/exceptions.py | HadrienLG/micropython-ili9341 | 975101949a722570c76b7bda72d8b292d2a9fd8d | [
"MIT"
] | null | null | null | ili9341/exceptions.py | HadrienLG/micropython-ili9341 | 975101949a722570c76b7bda72d8b292d2a9fd8d | [
"MIT"
] | 3 | 2021-06-15T03:48:10.000Z | 2022-02-28T02:52:18.000Z | class NoneTypeFont(Exception):
pass
class PortraitBoolError(Exception):
pass
class NoneStringObject(Exception):
pass
class BMPvalidationError(Exception):
pass
| 14.833333 | 36 | 0.758427 | 16 | 178 | 8.4375 | 0.4375 | 0.385185 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174157 | 178 | 11 | 37 | 16.181818 | 0.918367 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7b6e5d78ec7f06a2963ff29d58300d77f93657cf | 38 | py | Python | pyDoodle2Web/__init__.py | pyDoodle2Web/pyDoodle2Web | 55fbae234afa7a63dda5598be95b4d834f608261 | [
"MIT"
] | 4 | 2020-05-19T20:13:49.000Z | 2020-05-22T23:31:25.000Z | pyDoodle2Web/__init__.py | pyDoodle2Web/pyDoodle2Web | 55fbae234afa7a63dda5598be95b4d834f608261 | [
"MIT"
] | null | null | null | pyDoodle2Web/__init__.py | pyDoodle2Web/pyDoodle2Web | 55fbae234afa7a63dda5598be95b4d834f608261 | [
"MIT"
] | null | null | null | from .pyDoodle2Web import PyDoodle2Web | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 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 | 0 | 0 | 0 | 5 |
7b93d074082c820d871a76008308b2cfd1bc6a93 | 47 | py | Python | mds_provider_client/__init__.py | cityofaustin/mds-provider | 8c847eeaa78f10e70129c6f02d641339a67f5895 | [
"MIT"
] | 1 | 2018-12-16T22:56:08.000Z | 2018-12-16T22:56:08.000Z | mds_provider_client/__init__.py | cityofaustin/mds-provider | 8c847eeaa78f10e70129c6f02d641339a67f5895 | [
"MIT"
] | 2 | 2019-01-16T20:35:54.000Z | 2019-08-16T18:36:10.000Z | mds_provider_client/__init__.py | cityofaustin/mds-provider | 8c847eeaa78f10e70129c6f02d641339a67f5895 | [
"MIT"
] | null | null | null | from .mds_provider_client import ProviderClient | 47 | 47 | 0.914894 | 6 | 47 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 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 | 0 | 0 | 0 | 5 |
7ba17c2947e03b76af5cb1932cd5610a05449b4f | 11 | py | Python | tests/pksetup_data/pksetupunit1/pksetupunit1/mod1.py | radiasoft/pykern | bf5946e20d77d13ceab387c33ac75c59b6579de6 | [
"Apache-2.0"
] | 8 | 2016-10-26T13:23:44.000Z | 2022-03-02T22:03:01.000Z | tests/pksetup_data/pksetupunit1/pksetupunit1/mod1.py | radiasoft/pykern | bf5946e20d77d13ceab387c33ac75c59b6579de6 | [
"Apache-2.0"
] | 124 | 2016-03-01T15:32:54.000Z | 2022-03-31T17:42:40.000Z | tests/pksetup_data/pksetupunit1/pksetupunit1/mod1.py | radiasoft/pykern | bf5946e20d77d13ceab387c33ac75c59b6579de6 | [
"Apache-2.0"
] | 10 | 2015-05-09T14:17:36.000Z | 2020-02-10T18:42:53.000Z | var1 = 123
| 5.5 | 10 | 0.636364 | 2 | 11 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.272727 | 11 | 1 | 11 | 11 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7bc0eaa2165f23376b39824eadf0b5a99fc226b9 | 45 | py | Python | tests/__init__.py | ECE444-2021Fall/deep-translator | ffa7560252eede65fea696186b293316ee28e5da | [
"MIT"
] | 118 | 2020-06-09T18:41:47.000Z | 2020-08-31T13:08:41.000Z | tests/__init__.py | ECE444-2021Fall/deep-translator | ffa7560252eede65fea696186b293316ee28e5da | [
"MIT"
] | 15 | 2020-07-26T15:46:02.000Z | 2020-08-24T02:56:43.000Z | tests/__init__.py | ECE444-2021Fall/deep-translator | ffa7560252eede65fea696186b293316ee28e5da | [
"MIT"
] | 14 | 2020-06-23T10:25:33.000Z | 2020-08-25T17:38:48.000Z | """Unit test package for deep_translator."""
| 22.5 | 44 | 0.733333 | 6 | 45 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.8 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7bcf1d9f28bc7f32c9ddb33d9089f16184987937 | 239 | py | Python | solidata_api/_core/solidify/__init__.py | entrepreneur-interet-general/solidata_backend | 08ba9151069f2f633461f5166b1954fdeac7854a | [
"MIT"
] | 7 | 2018-12-13T09:50:26.000Z | 2022-03-25T23:59:26.000Z | solidata_api/_core/solidify/__init__.py | entrepreneur-interet-general/solidata_backend | 08ba9151069f2f633461f5166b1954fdeac7854a | [
"MIT"
] | 35 | 2018-10-16T09:06:40.000Z | 2019-03-27T11:12:11.000Z | solidata_api/_core/solidify/__init__.py | entrepreneur-interet-general/solidata_backend | 08ba9151069f2f633461f5166b1954fdeac7854a | [
"MIT"
] | 2 | 2019-02-16T15:19:05.000Z | 2019-02-19T19:27:44.000Z | # -*- encoding: utf-8 -*-
"""
_core/solidify/__init__.py
"""
from log_config import log, pformat
print()
log.debug(">>> _core.solidify.__init__.py ..." )
from solidata_api._core.queries_db import db_dict_by_type
from .geoloc import * | 18.384615 | 57 | 0.707113 | 34 | 239 | 4.470588 | 0.647059 | 0.157895 | 0.210526 | 0.236842 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.129707 | 239 | 13 | 58 | 18.384615 | 0.725962 | 0.221757 | 0 | 0 | 0 | 0 | 0.189944 | 0.145251 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c88c89d269218e659929fe191d83531097b29069 | 100 | py | Python | py-for.py | ganmk/python-prctice | 799529536776052fd40e89f8bf0c08dd1e03ed1c | [
"MIT"
] | null | null | null | py-for.py | ganmk/python-prctice | 799529536776052fd40e89f8bf0c08dd1e03ed1c | [
"MIT"
] | null | null | null | py-for.py | ganmk/python-prctice | 799529536776052fd40e89f8bf0c08dd1e03ed1c | [
"MIT"
] | null | null | null |
rang = [1,2,3]
for i in rang:
print i;
print "loop is over"
for i in range(1,6):
print i;
| 11.111111 | 20 | 0.57 | 22 | 100 | 2.590909 | 0.590909 | 0.140351 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0.29 | 100 | 8 | 21 | 12.5 | 0.732394 | 0 | 0 | 0.333333 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c8e051ba7eff07cdb3efe806c41bc9f17b0e5d9c | 143 | py | Python | src/appliance-onboarding-script/appliance_setup/pkgs/__init__.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null | src/appliance-onboarding-script/appliance_setup/pkgs/__init__.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null | src/appliance-onboarding-script/appliance_setup/pkgs/__init__.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null | from ._appliance_setup import ApplianceSetup
from ._vmware_env_setup import VMwareEnvSetup
from ._arcvmware_resources import ArcVMwareResources | 47.666667 | 52 | 0.902098 | 16 | 143 | 7.625 | 0.6875 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 143 | 3 | 52 | 47.666667 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cdaca781f0a1ff99807921be9e4b2eb1fd957494 | 247 | py | Python | tests/utils_test.py | targets-fs/targets-python | badac2397d3cdcb536792581538e09774be211b4 | [
"Apache-2.0"
] | 3 | 2016-03-25T21:13:54.000Z | 2016-04-08T14:32:59.000Z | tests/utils_test.py | targets-fs/targets-python | badac2397d3cdcb536792581538e09774be211b4 | [
"Apache-2.0"
] | 1 | 2021-03-25T21:42:15.000Z | 2021-03-25T21:42:15.000Z | tests/utils_test.py | targets-fs/targets-python | badac2397d3cdcb536792581538e09774be211b4 | [
"Apache-2.0"
] | null | null | null | import os
import unittest
def skipOnTravis(reason):
return unittest.skipIf(os.getenv('TRAVIS') == 'true', reason)
def with_config(config, replace_sections=False):
return unittest.skipIf(True, "We do not support configuration for now")
| 22.454545 | 75 | 0.748988 | 33 | 247 | 5.545455 | 0.69697 | 0.153005 | 0.218579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1417 | 247 | 10 | 76 | 24.7 | 0.863208 | 0 | 0 | 0 | 0 | 0 | 0.198381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
a80076db9a8393460235d7820cab033b0255d29a | 244 | py | Python | otp/distributed/CentralLoggerUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 99 | 2019-11-02T22:25:00.000Z | 2022-02-03T03:48:00.000Z | otp/distributed/CentralLoggerUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 42 | 2019-11-03T05:31:08.000Z | 2022-03-16T22:50:32.000Z | otp/distributed/CentralLoggerUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 57 | 2019-11-03T07:47:37.000Z | 2022-03-22T00:41:49.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectUD import DistributedObjectUD
class CentralLoggerUD(DistributedObjectUD):
notify = DirectNotifyGlobal.directNotify.newCategory('CentralLoggerUD')
| 34.857143 | 75 | 0.868852 | 19 | 244 | 11.157895 | 0.578947 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077869 | 244 | 6 | 76 | 40.666667 | 0.942222 | 0 | 0 | 0 | 0 | 0 | 0.061475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b51de867dc179f6f1beef26236452f4488fa90e9 | 2,232 | py | Python | plugins/ardrone/ardroneAPI.py | RodPy/Turtlebots.activity | f885d7d2e5d710c01294ae60da995dfb0eb36b21 | [
"MIT"
] | null | null | null | plugins/ardrone/ardroneAPI.py | RodPy/Turtlebots.activity | f885d7d2e5d710c01294ae60da995dfb0eb36b21 | [
"MIT"
] | null | null | null | plugins/ardrone/ardroneAPI.py | RodPy/Turtlebots.activity | f885d7d2e5d710c01294ae60da995dfb0eb36b21 | [
"MIT"
] | 1 | 2020-06-17T15:44:16.000Z | 2020-06-17T15:44:16.000Z |
import libardrone
class ardroneAPI(object):
def __init__(self):
self.instanciaArDrone = libardrone.ARDrone()
def despegar(self):
self.instanciaArDrone.takeoff()
def flotar(self):
self.instanciaArDrone.hover()
def apagar(self):
self.instanciaArDrone.h... | 27.9 | 67 | 0.601254 | 224 | 2,232 | 5.9375 | 0.236607 | 0.451128 | 0.270677 | 0.218045 | 0.383459 | 0.383459 | 0.383459 | 0.383459 | 0.240602 | 0.240602 | 0 | 0.012853 | 0.302867 | 2,232 | 79 | 68 | 28.253165 | 0.841902 | 0 | 0 | 0.175439 | 0 | 0 | 0.023308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.350877 | false | 0 | 0.017544 | 0 | 0.561404 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b52696a6939a6c654c84ea2af789827d4d10e030 | 133 | py | Python | Car/admin.py | VN-Bela/Car_Spare_Part_Sell | 0955ca6ef663ab4cba37e54538517a34ac0c96dc | [
"MIT"
] | null | null | null | Car/admin.py | VN-Bela/Car_Spare_Part_Sell | 0955ca6ef663ab4cba37e54538517a34ac0c96dc | [
"MIT"
] | null | null | null | Car/admin.py | VN-Bela/Car_Spare_Part_Sell | 0955ca6ef663ab4cba37e54538517a34ac0c96dc | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Car
# car model register
admin.site.register(Car) | 19 | 32 | 0.789474 | 20 | 133 | 5.25 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 133 | 7 | 33 | 19 | 0.921053 | 0.338346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b554816fb52a782ee57078164136e53c39dc7f2d | 85 | py | Python | tests/conftest.py | grovduck/pyimpute | 4ed2a6d4d2ff8258774906016ea690b16807f199 | [
"BSD-3-Clause"
] | 349 | 2015-08-01T15:53:25.000Z | 2022-03-19T16:39:45.000Z | tests/conftest.py | Mashiku7/pyimpute_geometric | 2431b250ea4e52939ba8ce5044ab5b1693dc95ba | [
"BSD-3-Clause"
] | 186 | 2015-08-01T19:43:59.000Z | 2022-03-17T15:52:47.000Z | tests/conftest.py | Mashiku7/pyimpute_geometric | 2431b250ea4e52939ba8ce5044ab5b1693dc95ba | [
"BSD-3-Clause"
] | 107 | 2015-09-02T04:36:01.000Z | 2022-02-15T16:43:03.000Z | import logging
import sys
logging.basicConfig(stream=sys.stderr, level=logging.INFO)
| 21.25 | 58 | 0.835294 | 12 | 85 | 5.916667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 85 | 3 | 59 | 28.333333 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b576b4e846b5be7a2b68d35be15ea64c8d3f89bd | 212 | py | Python | sovi/metadata/models.py | husseinm/Saly | e656e4e30e696cc7b425f272424dc3c1db2ae92a | [
"MIT"
] | null | null | null | sovi/metadata/models.py | husseinm/Saly | e656e4e30e696cc7b425f272424dc3c1db2ae92a | [
"MIT"
] | null | null | null | sovi/metadata/models.py | husseinm/Saly | e656e4e30e696cc7b425f272424dc3c1db2ae92a | [
"MIT"
] | null | null | null | from django.db import models
class LastModify(models.Model):
page = models.IntegerField(primary_key=True, unique=True)
model = models.CharField(max_length=10)
time = models.CharField(max_length=29)
| 26.5 | 61 | 0.754717 | 29 | 212 | 5.413793 | 0.689655 | 0.191083 | 0.229299 | 0.305732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.141509 | 212 | 7 | 62 | 30.285714 | 0.840659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b57896e4ff5abdcf2a63485ae21c00b2f6db2530 | 100 | py | Python | Algorithmic/Easy/Character Counter/charcount.py | saintwithataint/Pro-g-rammingChallenges4 | 3f720a375b89ee289237819c2dc89226634b7a5b | [
"Apache-2.0"
] | 1 | 2022-03-16T16:47:22.000Z | 2022-03-16T16:47:22.000Z | Algorithmic/Easy/Character Counter/charcount.py | saintwithataint/Pro-g-rammingChallenges4 | 3f720a375b89ee289237819c2dc89226634b7a5b | [
"Apache-2.0"
] | null | null | null | Algorithmic/Easy/Character Counter/charcount.py | saintwithataint/Pro-g-rammingChallenges4 | 3f720a375b89ee289237819c2dc89226634b7a5b | [
"Apache-2.0"
] | 2 | 2022-02-02T18:02:03.000Z | 2022-03-16T16:47:34.000Z | from pandas import Series
print(Series(list(input("Enter sentence:"))).value_counts().to_string())
| 25 | 72 | 0.76 | 14 | 100 | 5.285714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07 | 100 | 3 | 73 | 33.333333 | 0.795699 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b57c565d4f755cf837d7d87bc294ee9baa4d9eec | 188 | py | Python | Csharp/Projects/GrovePi/PythonWrappers/Touch.py | yodiwo/plegma | a6fe7735783491fd45769c973d103aec036dde76 | [
"Apache-2.0"
] | 6 | 2016-04-25T17:02:31.000Z | 2018-02-26T09:38:38.000Z | Csharp/Projects/GrovePi/PythonWrappers/Touch.py | yodiwo/plegma | a6fe7735783491fd45769c973d103aec036dde76 | [
"Apache-2.0"
] | null | null | null | Csharp/Projects/GrovePi/PythonWrappers/Touch.py | yodiwo/plegma | a6fe7735783491fd45769c973d103aec036dde76 | [
"Apache-2.0"
] | 6 | 2016-04-25T17:02:36.000Z | 2018-11-20T03:46:26.000Z | import sys
import time
import MPR121
class TouchSensor(object):
def __init__(self):
self.cap = MPR121.MPR121()
def getValue(self):
self.cap.touched() | 15.666667 | 35 | 0.617021 | 22 | 188 | 5.090909 | 0.590909 | 0.142857 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 0.287234 | 188 | 12 | 36 | 15.666667 | 0.768657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b5a771c2cafcf4dfd38215b03866dbcf5c3824a3 | 5,021 | py | Python | tests/test_display_class.py | tech-chad/line_checker | 98513d3b5b48bf6796f7db83e3d6a227ead595fd | [
"MIT"
] | null | null | null | tests/test_display_class.py | tech-chad/line_checker | 98513d3b5b48bf6796f7db83e3d6a227ead595fd | [
"MIT"
] | null | null | null | tests/test_display_class.py | tech-chad/line_checker | 98513d3b5b48bf6796f7db83e3d6a227ead595fd | [
"MIT"
] | null | null | null | import pytest
from line_checker import line_checker
def test_display_welcome(capsys):
test_display = line_checker.Display(False)
test_display.welcome()
captured = capsys.readouterr().out
assert captured == "Line Checker\n"
def test_summary_zero_checked(capsys):
test_display = line_checker.Displ... | 32.816993 | 74 | 0.695081 | 705 | 5,021 | 4.764539 | 0.114894 | 0.140816 | 0.15719 | 0.176838 | 0.814528 | 0.755582 | 0.672224 | 0.672224 | 0.657041 | 0.627865 | 0 | 0.055649 | 0.169687 | 5,021 | 152 | 75 | 33.032895 | 0.75006 | 0 | 0 | 0.635593 | 0 | 0.025424 | 0.188446 | 0.019124 | 0 | 0 | 0 | 0 | 0.186441 | 1 | 0.135593 | false | 0.084746 | 0.016949 | 0 | 0.152542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a93620d3b4acf0828febe2796f95e3e909c89a4f | 18 | py | Python | HelloPython.py | Guangfz/Hellopython1803 | 2843eeb37f5e95d57dd306a5f4254a62df168823 | [
"Apache-2.0"
] | null | null | null | HelloPython.py | Guangfz/Hellopython1803 | 2843eeb37f5e95d57dd306a5f4254a62df168823 | [
"Apache-2.0"
] | null | null | null | HelloPython.py | Guangfz/Hellopython1803 | 2843eeb37f5e95d57dd306a5f4254a62df168823 | [
"Apache-2.0"
] | null | null | null | print("hellojit")
| 9 | 17 | 0.722222 | 2 | 18 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 18 | 1 | 18 | 18 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a93a5173bfbe9ac38235112a8ee6e92f439edf2e | 58 | py | Python | uiza/api_resources/category/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | 2 | 2019-04-22T11:39:36.000Z | 2020-05-26T04:01:43.000Z | uiza/api_resources/category/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | null | null | null | uiza/api_resources/category/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | 2 | 2019-02-11T09:34:03.000Z | 2019-02-12T10:31:41.000Z | from uiza.api_resources.category.category import Category
| 29 | 57 | 0.87931 | 8 | 58 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a93cf384735bfc5cff555718b6b3ab0794732fea | 33 | py | Python | ftpython/__main__.py | ryanml/ftpython | d00ebccb5f2e7dab024110672d5d484de01356ef | [
"MIT"
] | 6 | 2016-06-15T18:34:13.000Z | 2020-06-21T20:56:16.000Z | ftpython/__main__.py | ryanml/ftpython | d00ebccb5f2e7dab024110672d5d484de01356ef | [
"MIT"
] | null | null | null | ftpython/__main__.py | ryanml/ftpython | d00ebccb5f2e7dab024110672d5d484de01356ef | [
"MIT"
] | 1 | 2019-01-06T21:31:04.000Z | 2019-01-06T21:31:04.000Z | from ftpython import main
main()
| 11 | 25 | 0.787879 | 5 | 33 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 26 | 16.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a95296135c67dc6c4e902d7b2a755d7825464f9d | 171 | py | Python | app/core/celery_app.py | cdlaimin/fastapi | 4acf1a1da4a1eedd81a3bdf6256661c2464928b9 | [
"BSD-3-Clause"
] | null | null | null | app/core/celery_app.py | cdlaimin/fastapi | 4acf1a1da4a1eedd81a3bdf6256661c2464928b9 | [
"BSD-3-Clause"
] | null | null | null | app/core/celery_app.py | cdlaimin/fastapi | 4acf1a1da4a1eedd81a3bdf6256661c2464928b9 | [
"BSD-3-Clause"
] | null | null | null | from celery import Celery
from . import celeryconfig
from .config import settings
celery_app = Celery(settings.CELERY_NAME)
celery_app.config_from_object(celeryconfig)
| 19 | 43 | 0.836257 | 23 | 171 | 6 | 0.391304 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 171 | 8 | 44 | 21.375 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a95d500edb6bda50409b98c70eb35d61caa70b40 | 100 | py | Python | funfact/util/typing.py | terryjx/FunFact | 595c3b68bac7cc92c802969f207f060c1242a88b | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-12-13T07:55:16.000Z | 2021-12-13T07:55:16.000Z | funfact/util/typing.py | terryjx/FunFact | 595c3b68bac7cc92c802969f207f060c1242a88b | [
"BSD-3-Clause-LBNL"
] | null | null | null | funfact/util/typing.py | terryjx/FunFact | 595c3b68bac7cc92c802969f207f060c1242a88b | [
"BSD-3-Clause-LBNL"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def _is_tensor(x):
return hasattr(x, "__len__")
| 14.285714 | 32 | 0.6 | 15 | 100 | 3.6 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.18 | 100 | 6 | 33 | 16.666667 | 0.646341 | 0.42 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a97c9c5bc3d9dda5f628a08622cd53f04cd4967f | 208 | py | Python | app/dashboard/__init__.py | gibran-abdillah/flask-blog-app | 17a1b4a9ba4fd56c92104ddd2c4d8a18365d292a | [
"MIT"
] | null | null | null | app/dashboard/__init__.py | gibran-abdillah/flask-blog-app | 17a1b4a9ba4fd56c92104ddd2c4d8a18365d292a | [
"MIT"
] | null | null | null | app/dashboard/__init__.py | gibran-abdillah/flask-blog-app | 17a1b4a9ba4fd56c92104ddd2c4d8a18365d292a | [
"MIT"
] | 1 | 2021-12-18T02:36:22.000Z | 2021-12-18T02:36:22.000Z | from flask import Blueprint
dashboard_blueprint = Blueprint('dashboard', __name__, url_prefix='/dashboard')
# import all route from dashboard
from .views import *
from .admin import *
from .errors import *
| 23.111111 | 79 | 0.774038 | 26 | 208 | 5.961538 | 0.5 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139423 | 208 | 8 | 80 | 26 | 0.865922 | 0.149038 | 0 | 0 | 0 | 0 | 0.108571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8d51b66a878e117b1e683ee984c97b2e54232b05 | 60 | py | Python | models/backends/__init__.py | pvtien96/VOTO_Face | 4383864024f57f4130550de5a378a9f61024fc12 | [
"Apache-2.0"
] | null | null | null | models/backends/__init__.py | pvtien96/VOTO_Face | 4383864024f57f4130550de5a378a9f61024fc12 | [
"Apache-2.0"
] | null | null | null | models/backends/__init__.py | pvtien96/VOTO_Face | 4383864024f57f4130550de5a378a9f61024fc12 | [
"Apache-2.0"
] | null | null | null | from .onnxrt_backend import Arcface, Cosface, DetectorInfer
| 30 | 59 | 0.85 | 7 | 60 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 1 | 60 | 60 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8d84af4a2b27f46f3e5104ab8b36ea28db6e9904 | 254 | py | Python | Flask_site/config.py | jamesanderegg/Bootcamp | bc4224a6a510feea2205bcbbeeb83d2164aa117a | [
"MIT"
] | 1 | 2018-09-12T02:56:20.000Z | 2018-09-12T02:56:20.000Z | Flask_site/config.py | jamesanderegg/Bootcamp | bc4224a6a510feea2205bcbbeeb83d2164aa117a | [
"MIT"
] | null | null | null | Flask_site/config.py | jamesanderegg/Bootcamp | bc4224a6a510feea2205bcbbeeb83d2164aa117a | [
"MIT"
] | 1 | 2018-08-22T00:43:03.000Z | 2018-08-22T00:43:03.000Z | consumer_key = "I5gAMSMbh7nc6YmrOxFqWQ46m"
consumer_secret = "1wiAlYw8McJvElyvyM7rRnXDpLYCuwdAsCwX4NZ36o8SE5Kdix"
access_token = "1009110213838770177-cSSF0zi2Xf1H1r7rOzBm4NVIakecyU"
access_token_secret = "YDd2Ta1fkFSJKPCRZkkYTKKAjBdPjvc9mltAdjT7ddqH3" | 63.5 | 71 | 0.893701 | 14 | 254 | 15.857143 | 0.714286 | 0.099099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179167 | 0.055118 | 254 | 4 | 72 | 63.5 | 0.745833 | 0 | 0 | 0 | 0 | 0 | 0.674603 | 0.674603 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
93b54b3ef384094e1a1e02aaa5c3a51ba35c607a | 4,246 | py | Python | crystalpy/examples/Si111_energy_scan.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | crystalpy/examples/Si111_energy_scan.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | crystalpy/examples/Si111_energy_scan.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | import numpy
from crystalpy.diffraction.GeometryType import BraggDiffraction, LaueDiffraction
from crystalpy.diffraction.DiffractionSetup import DiffractionSetup
from crystalpy.diffraction.Diffraction import Diffraction
import scipy.constants as codata
from crystalpy.util.Vector import Vector
from crystalpy.util.Ph... | 39.682243 | 114 | 0.580782 | 470 | 4,246 | 5.093617 | 0.238298 | 0.041771 | 0.042607 | 0.036759 | 0.778613 | 0.778613 | 0.778613 | 0.740184 | 0.740184 | 0.740184 | 0 | 0.029078 | 0.335846 | 4,246 | 107 | 115 | 39.682243 | 0.819858 | 0.198775 | 0 | 0.655738 | 0 | 0 | 0.02497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.131148 | 0 | 0.196721 | 0.032787 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 5 |
93ce365f95157a29a8727d156329cb7233e3b043 | 595 | py | Python | uliweb/lib/weto/backends/base.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 202 | 2015-01-12T08:10:48.000Z | 2021-11-08T09:04:32.000Z | uliweb/lib/weto/backends/base.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 30 | 2015-01-01T09:07:17.000Z | 2021-06-03T12:58:45.000Z | uliweb/lib/weto/backends/base.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 58 | 2015-01-12T03:28:54.000Z | 2022-01-14T01:58:08.000Z | __all__ = ['BaseStorage', 'KeyError']
import os
class KeyError(Exception):pass
class BaseStorage(object):
def __init__(self, cache_manager, options):
self.cache_manager = cache_manager
self.options = options
def get(self, key):
raise NotImplementedError()
def set(self, key, ... | 23.8 | 52 | 0.648739 | 69 | 595 | 5.347826 | 0.405797 | 0.162602 | 0.173442 | 0.168022 | 0.379404 | 0.195122 | 0.195122 | 0.195122 | 0 | 0 | 0 | 0 | 0.25042 | 595 | 25 | 53 | 23.8 | 0.827354 | 0 | 0 | 0.176471 | 0 | 0 | 0.031879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.058824 | 0.058824 | 0.117647 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
93d1ac4c9f8716a619bb3ecfbb6b0eceb2e0a0ec | 164 | py | Python | monte_carlo_tree_search/score_computers/abstract_score_computer.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | 1 | 2020-03-09T18:56:01.000Z | 2020-03-09T18:56:01.000Z | monte_carlo_tree_search/score_computers/abstract_score_computer.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | null | null | null | monte_carlo_tree_search/score_computers/abstract_score_computer.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | 1 | 2019-10-25T13:09:40.000Z | 2019-10-25T13:09:40.000Z | from monte_carlo_tree_search.trees.abstract_tree import TreeNode
class ScoreComputer:
def compute_score(self, node: TreeNode, parent: TreeNode):
pass
| 23.428571 | 64 | 0.77439 | 21 | 164 | 5.809524 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 6 | 65 | 27.333333 | 0.890511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
93e091445bea9c689b1b92bf42f9eeaf94a1f6f2 | 7,521 | py | Python | input_files/dag_10_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | input_files/dag_10_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | input_files/dag_10_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | hacker_lista = [93102, 128525, 208502, 86135, 227707, 169933, 150031, 161020, 10295, 67462, 108552, 32446, 48425, 90897, 182067, 79033, 28061, 53939, 191029, 177212, 228915, 150229, 69209, 6442, 151812, 64882, 175535, 69496, 142751, 209405, 172910, 83935, 213145, 62651, 195808, 140583, 82426, 133625, 160915, 132844, 95... | 3,760.5 | 7,520 | 0.733546 | 1,002 | 7,521 | 5.50499 | 0.998004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.844455 | 0.133227 | 7,521 | 1 | 7,521 | 7,521 | 0.001687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
93f303357726ce480a95ee368591d1fdcd30ca91 | 118 | py | Python | db/api/admin.py | alesancor1/DjangoRest-React-ThreeJs-Template | c34b69c82c7eedb5612b84b4970d6f07b15f8c59 | [
"MIT"
] | 2 | 2021-09-09T04:36:12.000Z | 2021-10-03T11:05:45.000Z | db/api/admin.py | alesancor1/DjangoRest-React-ThreeJs-Template | c34b69c82c7eedb5612b84b4970d6f07b15f8c59 | [
"MIT"
] | null | null | null | db/api/admin.py | alesancor1/DjangoRest-React-ThreeJs-Template | c34b69c82c7eedb5612b84b4970d6f07b15f8c59 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Prueba
# Register your models here.
admin.site.register(Prueba) | 19.666667 | 32 | 0.805085 | 17 | 118 | 5.588235 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 118 | 6 | 33 | 19.666667 | 0.92233 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e0ecfe9dca91f25c5238892ad865e68ce966c66 | 36 | py | Python | tests/__init__.py | chuckedfromspace/carspy | 506b383e6c8480198e620b569814dab02220c578 | [
"BSD-3-Clause"
] | 4 | 2021-05-13T09:27:18.000Z | 2021-11-01T10:42:12.000Z | tests/__init__.py | chuckedfromspace/carspy | 506b383e6c8480198e620b569814dab02220c578 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | chuckedfromspace/carspy | 506b383e6c8480198e620b569814dab02220c578 | [
"BSD-3-Clause"
] | 1 | 2021-05-13T09:27:32.000Z | 2021-05-13T09:27:32.000Z | """Unit test package for carspy."""
| 18 | 35 | 0.666667 | 5 | 36 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.774194 | 0.805556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9e1c33a68ba113322d8fbf72810918cec60370d5 | 172 | py | Python | galois/_fields/__init__.py | hussinhassan80/galois | 5553d0f17d5f4dcf105f92028fcde8f6afd53b6d | [
"MIT"
] | null | null | null | galois/_fields/__init__.py | hussinhassan80/galois | 5553d0f17d5f4dcf105f92028fcde8f6afd53b6d | [
"MIT"
] | null | null | null | galois/_fields/__init__.py | hussinhassan80/galois | 5553d0f17d5f4dcf105f92028fcde8f6afd53b6d | [
"MIT"
] | null | null | null | """
A subpackage containing arrays over Galois fields.
"""
from ._factory import *
from ._main import *
from ._poly_functions import * # pylint: disable=redefined-builtin
| 24.571429 | 67 | 0.755814 | 21 | 172 | 6 | 0.809524 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145349 | 172 | 6 | 68 | 28.666667 | 0.857143 | 0.494186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f5161478f53f65bae0a1870699e58926b0b5e5b4 | 187 | py | Python | expense_tracker/expense_tracker/views/default.py | CharlyWelch/expense-tracker | 713c3580b1f0a69e56164173a5f6e1a4b7913097 | [
"MIT"
] | null | null | null | expense_tracker/expense_tracker/views/default.py | CharlyWelch/expense-tracker | 713c3580b1f0a69e56164173a5f6e1a4b7913097 | [
"MIT"
] | null | null | null | expense_tracker/expense_tracker/views/default.py | CharlyWelch/expense-tracker | 713c3580b1f0a69e56164173a5f6e1a4b7913097 | [
"MIT"
] | null | null | null | """ Views for the Expense Tracker app """
from pyramid.response import response
def home_page(request):
""" View for the home route """
return Response("This is my first view!") | 26.714286 | 45 | 0.695187 | 27 | 187 | 4.777778 | 0.777778 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192513 | 187 | 7 | 45 | 26.714286 | 0.854305 | 0.31016 | 0 | 0 | 0 | 0 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f52b78bb04da48452c88a28ae0615b48e08c65d0 | 208 | py | Python | extra_keras_metrics/specificity.py | LucaCappelletti94/keras_metrics | 2af59d26f7134a65e8332a29a3f7ae712b928f0e | [
"MIT"
] | 14 | 2019-06-14T10:37:11.000Z | 2021-09-17T11:42:48.000Z | extra_keras_metrics/specificity.py | LucaCappelletti94/keras_metrics | 2af59d26f7134a65e8332a29a3f7ae712b928f0e | [
"MIT"
] | 5 | 2019-06-15T07:11:45.000Z | 2021-01-04T16:46:40.000Z | extra_keras_metrics/specificity.py | LucaCappelletti94/keras_metrics | 2af59d26f7134a65e8332a29a3f7ae712b928f0e | [
"MIT"
] | 1 | 2019-12-02T08:00:25.000Z | 2019-12-02T08:00:25.000Z | from tensorflow.keras.backend import epsilon
from .binary_metric import BinaryMetric
class Specificity(BinaryMetric):
def _custom_metric(self):
return self.tn / (self.tn + self.fp + epsilon())
| 23.111111 | 56 | 0.740385 | 26 | 208 | 5.807692 | 0.653846 | 0.07947 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168269 | 208 | 8 | 57 | 26 | 0.872832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
f5a2481b3ae83ea9d2bb7d619b1e4115e382fbb0 | 36 | py | Python | pymbt/analysis/_structure/__init__.py | klavinslab/pymbt-legacy | d638aecd954664e416ed28b30cdbbcfcb176bae5 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2015-12-26T22:13:51.000Z | 2021-11-17T11:46:37.000Z | pymbt/analysis/_structure/__init__.py | klavinslab/pymbt-legacy | d638aecd954664e416ed28b30cdbbcfcb176bae5 | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2015-09-11T23:27:51.000Z | 2018-06-25T20:44:28.000Z | pymbt/analysis/_structure/__init__.py | klavinslab/pymbt-legacy | d638aecd954664e416ed28b30cdbbcfcb176bae5 | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2015-10-08T17:08:48.000Z | 2022-02-22T04:25:54.000Z | '''Structure analysis utilities.'''
| 18 | 35 | 0.722222 | 3 | 36 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.787879 | 0.805556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
19a6b2a9f6880d2afad000aef0ea7595f64df5de | 68 | py | Python | dragonfire/sr/__init__.py | athul04/Dragonfire | e693ca6794a4e6846c090725dc5caf0c88b7ac08 | [
"MIT"
] | null | null | null | dragonfire/sr/__init__.py | athul04/Dragonfire | e693ca6794a4e6846c090725dc5caf0c88b7ac08 | [
"MIT"
] | null | null | null | dragonfire/sr/__init__.py | athul04/Dragonfire | e693ca6794a4e6846c090725dc5caf0c88b7ac08 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .kaldi import * # noqa
| 22.666667 | 38 | 0.794118 | 9 | 68 | 5.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 2 | 39 | 34 | 0.859649 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5ff6fe50ec48d62499cb17f990c153fee7c5617c | 180 | py | Python | if4.py | comicdipesh99/Python-basics | d2e4a7652391409d59a63c2eee41c93533a90bea | [
"MIT"
] | 3 | 2019-05-09T12:26:56.000Z | 2019-05-16T11:40:19.000Z | if4.py | comicdipesh99/Python-basics | d2e4a7652391409d59a63c2eee41c93533a90bea | [
"MIT"
] | null | null | null | if4.py | comicdipesh99/Python-basics | d2e4a7652391409d59a63c2eee41c93533a90bea | [
"MIT"
] | null | null | null | water=int(raw_input("paani ka level bharo"))
if water<1:
print "aur pani bharna hai"
elif water>1 and water<10:
print "aur nahi bharna hai"
elif water>10:
print "paani overflow" | 25.714286 | 44 | 0.738889 | 33 | 180 | 4 | 0.606061 | 0.090909 | 0.19697 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.15 | 180 | 7 | 45 | 25.714286 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.39779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
27306de2d269afc7ce325a978d554e2d4bf511c7 | 127 | py | Python | Ex.32-Numpy.py | aguinaldolorandi/100-exercicios-Numpy | 276c721bd8b161153223b353168a1c15936edbd1 | [
"MIT"
] | null | null | null | Ex.32-Numpy.py | aguinaldolorandi/100-exercicios-Numpy | 276c721bd8b161153223b353168a1c15936edbd1 | [
"MIT"
] | null | null | null | Ex.32-Numpy.py | aguinaldolorandi/100-exercicios-Numpy | 276c721bd8b161153223b353168a1c15936edbd1 | [
"MIT"
] | null | null | null | # Exercícios Numpy-32
# *******************
import numpy as np
print(np.sqrt(16))
print(np.emath.sqrt(-16))#números complexos | 18.142857 | 43 | 0.622047 | 18 | 127 | 4.388889 | 0.666667 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.102362 | 127 | 7 | 43 | 18.142857 | 0.640351 | 0.440945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
275bff1e41148b811b20b2f308aa9106a4126124 | 18,450 | py | Python | tests/test_pigeon.py | kant/osf-pigeon | 50ee9c7c8637cde054faf076f50e414954de1669 | [
"MIT"
] | null | null | null | tests/test_pigeon.py | kant/osf-pigeon | 50ee9c7c8637cde054faf076f50e414954de1669 | [
"MIT"
] | 7 | 2019-11-15T14:31:29.000Z | 2021-03-18T12:51:01.000Z | tests/test_pigeon.py | kant/osf-pigeon | 50ee9c7c8637cde054faf076f50e414954de1669 | [
"MIT"
] | 8 | 2019-11-12T18:00:31.000Z | 2021-08-05T07:23:53.000Z | import os
import json
import pytest
from osf_pigeon import settings
import tempfile
from osf_pigeon.pigeon import (
stream_files_to_dir,
dump_json_to_dir,
get_metadata_for_ia_item,
get_additional_contributor_info,
sync_metadata,
upload,
write_datacite_metadata,
)
from aioresponses import ai... | 35.076046 | 97 | 0.54607 | 1,946 | 18,450 | 4.991778 | 0.110483 | 0.028824 | 0.054355 | 0.031707 | 0.777332 | 0.772287 | 0.755302 | 0.730389 | 0.716903 | 0.688182 | 0 | 0.016917 | 0.34 | 18,450 | 525 | 98 | 35.142857 | 0.780816 | 0 | 0 | 0.693305 | 0 | 0 | 0.262117 | 0.143993 | 0 | 0 | 0 | 0 | 0.056156 | 1 | 0.075594 | false | 0 | 0.015119 | 0.025918 | 0.168467 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 5 |
276b52caf9e8868b2774ffbae2a3a27f8a2b243c | 147 | py | Python | swiffas3/__init__.py | stevemk14ebr/swiffas | 9d52fdd3538d08ad224cacc1d08fb16f91ccc5e2 | [
"MIT"
] | 2 | 2020-03-11T14:41:19.000Z | 2021-04-04T23:29:18.000Z | swiffas3/__init__.py | stevemk14ebr/swiffas | 9d52fdd3538d08ad224cacc1d08fb16f91ccc5e2 | [
"MIT"
] | null | null | null | swiffas3/__init__.py | stevemk14ebr/swiffas | 9d52fdd3538d08ad224cacc1d08fb16f91ccc5e2 | [
"MIT"
] | 1 | 2020-03-11T14:12:13.000Z | 2020-03-11T14:12:13.000Z | from . import swfparse
from . import avm2
# make top level parsers also module top level
from .swfparse import SWFParser
from .avm2 import ABCFile | 24.5 | 46 | 0.795918 | 22 | 147 | 5.318182 | 0.545455 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.170068 | 147 | 6 | 47 | 24.5 | 0.942623 | 0.29932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
27cdcb98b8fed92a454d4dbd9d9f7b6223841f5b | 16,234 | py | Python | vcfutils/tests/test_sv_parser.py | mondrian-scwgs/vcfutils | 673ad48f59a8e263cf7e0c9244623dfba383a822 | [
"MIT"
] | null | null | null | vcfutils/tests/test_sv_parser.py | mondrian-scwgs/vcfutils | 673ad48f59a8e263cf7e0c9244623dfba383a822 | [
"MIT"
] | 6 | 2021-02-04T16:22:52.000Z | 2021-03-15T14:48:20.000Z | vcfutils/tests/test_sv_parser.py | mondrian-scwgs/vcfutils | 673ad48f59a8e263cf7e0c9244623dfba383a822 | [
"MIT"
] | null | null | null | from vcfutils.parsers import vcf_sv_parser
import pytest
import os
import yaml
import pandas as pd
from numpy import isnan
from itertools import tee
import vcf
def _raises_correct_error(function, *args,expected_error,
**kwargs):
raised = False
try:
function(*args, *... | 38.652381 | 98 | 0.654244 | 2,186 | 16,234 | 4.560842 | 0.080512 | 0.056169 | 0.058977 | 0.024774 | 0.830592 | 0.791575 | 0.726881 | 0.706118 | 0.67001 | 0.624373 | 0 | 0.008709 | 0.200752 | 16,234 | 419 | 99 | 38.74463 | 0.759692 | 0.460515 | 0 | 0.470899 | 0 | 0 | 0.107012 | 0.02329 | 0 | 0 | 0 | 0 | 0.227513 | 1 | 0.148148 | false | 0 | 0.042328 | 0 | 0.222222 | 0.010582 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
27f13e0d721174510a202c7ecdeea3bda3b2ccab | 177 | py | Python | tests/__init__.py | aitikgupta/swi-ml | c7a44c71683a9bfb4adb13c7eb6117e652177807 | [
"MIT"
] | 16 | 2021-01-30T16:03:19.000Z | 2022-03-27T11:13:05.000Z | tests/__init__.py | aitikgupta/swi-ml | c7a44c71683a9bfb4adb13c7eb6117e652177807 | [
"MIT"
] | 1 | 2021-01-30T19:28:05.000Z | 2021-01-30T19:28:05.000Z | tests/__init__.py | aitikgupta/swi-ml | c7a44c71683a9bfb4adb13c7eb6117e652177807 | [
"MIT"
] | null | null | null | from swi_ml import set_automatic_fallback
# testing should run even for machines without 'cupy' backend
# enable falling back to 'numpy' for tests
set_automatic_fallback(True)
| 29.5 | 61 | 0.819209 | 27 | 177 | 5.185185 | 0.851852 | 0.171429 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 177 | 5 | 62 | 35.4 | 0.915033 | 0.564972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
27fab3d1ff87ec8ddfdbbc3e295f57127b92b948 | 130 | py | Python | sham_cv2.py | PopGalacticHistory/imagewalker | dd151d0698472aebdde0487a364c56fed048bb61 | [
"MIT"
] | 2 | 2021-04-28T13:33:45.000Z | 2021-11-09T14:31:09.000Z | sham_cv2.py | PopGalacticHistory/imagewalker | dd151d0698472aebdde0487a364c56fed048bb61 | [
"MIT"
] | null | null | null | sham_cv2.py | PopGalacticHistory/imagewalker | dd151d0698472aebdde0487a364c56fed048bb61 | [
"MIT"
] | 1 | 2021-03-07T13:25:59.000Z | 2021-03-07T13:25:59.000Z | import numpy as np
def resize(mat, dsize=None, interpolation=None):
return np.random.uniform(size=dsize)
INTER_AREA = 99.0
| 16.25 | 48 | 0.738462 | 21 | 130 | 4.52381 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.153846 | 130 | 7 | 49 | 18.571429 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fd8116eedc64ee1ba4e1b50024fac685d594e969 | 26 | py | Python | nengo_xbox/__init__.py | tcstewar/nengo_xbox | eaf87329a2f678a37e8db13a5385c1898c47bcd4 | [
"MIT"
] | null | null | null | nengo_xbox/__init__.py | tcstewar/nengo_xbox | eaf87329a2f678a37e8db13a5385c1898c47bcd4 | [
"MIT"
] | null | null | null | nengo_xbox/__init__.py | tcstewar/nengo_xbox | eaf87329a2f678a37e8db13a5385c1898c47bcd4 | [
"MIT"
] | null | null | null |
from winnode import Xbox
| 8.666667 | 24 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 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 | 0 | 0 | 0 | 5 |
fd932a9d863a1b66e47f73211ba78f04c62c7ab6 | 360 | py | Python | tests/test_server/test_utils.py | philippjfr/idom | c638ccacfa7ffcfeb3e1eb4f264ae58526d5cd16 | [
"MIT"
] | 1 | 2022-02-11T17:48:58.000Z | 2022-02-11T17:48:58.000Z | tests/test_server/test_utils.py | philippjfr/idom | c638ccacfa7ffcfeb3e1eb4f264ae58526d5cd16 | [
"MIT"
] | null | null | null | tests/test_server/test_utils.py | philippjfr/idom | c638ccacfa7ffcfeb3e1eb4f264ae58526d5cd16 | [
"MIT"
] | 1 | 2022-02-11T17:48:59.000Z | 2022-02-11T17:48:59.000Z | import pytest
from idom.server.utils import find_available_port
def test_find_available_port():
assert find_available_port("localhost", port_min=5000, port_max=6000)
with pytest.raises(RuntimeError, match="no available port"):
# check that if port range is exhausted we raise
find_available_po... | 32.727273 | 73 | 0.758333 | 53 | 360 | 4.90566 | 0.584906 | 0.25 | 0.261538 | 0.2 | 0.253846 | 0.253846 | 0 | 0 | 0 | 0 | 0 | 0.033003 | 0.158333 | 360 | 10 | 74 | 36 | 0.825083 | 0.127778 | 0 | 0 | 0 | 0 | 0.112179 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fd9d27c20807592f88a00350eedaa7d36bfe33bf | 139 | py | Python | game/admin.py | 157601/Group-Project-Game | b8ff784f81b5b207e9eeee56572711a30f8d51a5 | [
"MIT"
] | 2 | 2022-02-20T16:19:59.000Z | 2022-02-28T14:53:28.000Z | game/admin.py | 157601/Group-Project-Game | b8ff784f81b5b207e9eeee56572711a30f8d51a5 | [
"MIT"
] | null | null | null | game/admin.py | 157601/Group-Project-Game | b8ff784f81b5b207e9eeee56572711a30f8d51a5 | [
"MIT"
] | 1 | 2022-02-28T15:00:52.000Z | 2022-02-28T15:00:52.000Z | from django.contrib import admin
from .models import activeGame
#Adding active games to the admin page
admin.site.register(activeGame) | 27.8 | 39 | 0.805755 | 20 | 139 | 5.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143885 | 139 | 5 | 40 | 27.8 | 0.941176 | 0.266187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fdb1afc8844d237c9054b2d5d24d0c8929068546 | 240 | py | Python | backoffice/serializer/group.py | MedPy-C/backend | 262834adb1f4f5714c4bd490595fdfa1f49c9675 | [
"MIT"
] | null | null | null | backoffice/serializer/group.py | MedPy-C/backend | 262834adb1f4f5714c4bd490595fdfa1f49c9675 | [
"MIT"
] | 1 | 2021-05-20T16:08:35.000Z | 2021-05-20T16:08:35.000Z | backoffice/serializer/group.py | MedPy-C/backend | 262834adb1f4f5714c4bd490595fdfa1f49c9675 | [
"MIT"
] | null | null | null | from rest_framework import serializers
class GroupSerializer(serializers.Serializer):
name = serializers.CharField(max_length=200)
slug_name = serializers.SlugField(max_length=40)
about = serializers.CharField(max_length=500)
| 30 | 52 | 0.8 | 28 | 240 | 6.678571 | 0.642857 | 0.144385 | 0.245989 | 0.31016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037915 | 0.120833 | 240 | 7 | 53 | 34.285714 | 0.848341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
fde777a1cf2120725a6de7b143ae93b81545ada5 | 175 | py | Python | testData/mock/pydanticv0/__init__.py | alek-sun/pydantic-pycharm-plugin | 6b07519aadf0ff8b8a644c1f9ede88e09c687c80 | [
"Apache-2.0",
"MIT"
] | 238 | 2019-08-05T12:46:09.000Z | 2022-03-25T08:53:25.000Z | testData/mock/pydanticv0/__init__.py | alek-sun/pydantic-pycharm-plugin | 6b07519aadf0ff8b8a644c1f9ede88e09c687c80 | [
"Apache-2.0",
"MIT"
] | 415 | 2019-07-15T17:39:35.000Z | 2022-03-31T01:18:38.000Z | testData/mock/pydanticv0/__init__.py | collerek/pydantic-pycharm-plugin | 7068ece42334cc9fbe927d779d199c86d5139888 | [
"Apache-2.0",
"MIT"
] | 7 | 2019-08-09T01:03:16.000Z | 2022-02-08T03:28:19.000Z | from .main import BaseModel
from .class_validators import validator, root_validator
from .schema import Schema
from .fields import Field
from .env_settings import BaseSettings | 35 | 55 | 0.851429 | 24 | 175 | 6.083333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 5 | 56 | 35 | 0.941935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a9008ab74e2c931197cfb0fecd9fd7dd4b8cac0e | 69 | py | Python | time.py | Haddrill/pitriplaser | 14f24cd6d5fb2af96d7adc0949ecab05cf92bea6 | [
"MIT"
] | null | null | null | time.py | Haddrill/pitriplaser | 14f24cd6d5fb2af96d7adc0949ecab05cf92bea6 | [
"MIT"
] | null | null | null | time.py | Haddrill/pitriplaser | 14f24cd6d5fb2af96d7adc0949ecab05cf92bea6 | [
"MIT"
] | null | null | null | #!/usr/bin/python
from datetime import datetime
print datetime.now()
| 17.25 | 29 | 0.782609 | 10 | 69 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 3 | 30 | 23 | 0.870968 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
a9030a9315b1a3105da5a2ea5636339fa1bb81e3 | 42 | py | Python | pre-benchmarks/Lisp_interpreter/ReaderError.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 3 | 2018-08-03T02:41:29.000Z | 2021-03-19T03:18:47.000Z | pre-benchmarks/Lisp_interpreter/ReaderError.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 3 | 2018-02-04T17:53:56.000Z | 2018-11-10T17:06:57.000Z | pre-benchmarks/Lisp_interpreter/ReaderError.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 1 | 2018-08-04T00:14:12.000Z | 2018-08-04T00:14:12.000Z | class ReaderError(BaseException):
pass | 21 | 33 | 0.785714 | 4 | 42 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 2 | 34 | 21 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e3094a6cec80e29ff3b3c3b802ea2899cd6e90a7 | 46 | py | Python | kqueen_ui/exceptions.py | Richard-Barrett/kqueen-ui | f6b41edddd5130e5cd79773640942e9a824bbae1 | [
"MIT"
] | null | null | null | kqueen_ui/exceptions.py | Richard-Barrett/kqueen-ui | f6b41edddd5130e5cd79773640942e9a824bbae1 | [
"MIT"
] | null | null | null | kqueen_ui/exceptions.py | Richard-Barrett/kqueen-ui | f6b41edddd5130e5cd79773640942e9a824bbae1 | [
"MIT"
] | null | null | null | class KQueenAPIException(Exception):
pass
| 15.333333 | 36 | 0.782609 | 4 | 46 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 37 | 23 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e3604850848610ad8946464047707e7397e66a11 | 42 | py | Python | finxos/data/__init__.py | PKUJohnson/finxOS | 99bdf37ab348fe677f231dd5c72b4bf30edb16b5 | [
"Apache-2.0"
] | 3 | 2018-10-23T01:53:20.000Z | 2019-05-05T00:22:41.000Z | finxos/data/__init__.py | PKUJohnson/finxOS | 99bdf37ab348fe677f231dd5c72b4bf30edb16b5 | [
"Apache-2.0"
] | null | null | null | finxos/data/__init__.py | PKUJohnson/finxOS | 99bdf37ab348fe677f231dd5c72b4bf30edb16b5 | [
"Apache-2.0"
] | 2 | 2019-01-10T08:00:02.000Z | 2020-03-25T03:19:23.000Z | # encoding: UTF-8
from .data_api import * | 14 | 23 | 0.714286 | 7 | 42 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.166667 | 42 | 3 | 23 | 14 | 0.8 | 0.357143 | 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 | 0 | 0 | 0 | 5 |
8b6d4b9c55ee399f96831aeb56dbd69c58fe8cfb | 169 | py | Python | run_morris_gui_via_bottle.py | govtmirror/MorrisDataDecorator | a148b579082772c9e43f1aad484e5f8a3520ecc1 | [
"CC0-1.0"
] | 1 | 2020-07-23T01:57:58.000Z | 2020-07-23T01:57:58.000Z | run_morris_gui_via_bottle.py | govtmirror/MorrisDataDecorator | a148b579082772c9e43f1aad484e5f8a3520ecc1 | [
"CC0-1.0"
] | null | null | null | run_morris_gui_via_bottle.py | govtmirror/MorrisDataDecorator | a148b579082772c9e43f1aad484e5f8a3520ecc1 | [
"CC0-1.0"
] | 6 | 2016-12-17T21:53:26.000Z | 2021-02-18T11:07:31.000Z | # This file is for using Bottle as your webserver.
from bottle import Bottle, run, template,request
import morris_gui
run(morris_gui.app, debug=True,reloader=True)
| 18.777778 | 50 | 0.781065 | 27 | 169 | 4.814815 | 0.740741 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 169 | 8 | 51 | 21.125 | 0.902778 | 0.284024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8b6d7162862c6c7c17e8d1d5f9155bbfabdb2c11 | 231 | py | Python | pymia/data/backends/pytorch/__init__.py | NunoEdgarGFlowHub/pymia | 142842e322b2f712aa45850f23f4875dc2c0f493 | [
"Apache-2.0"
] | 45 | 2018-08-04T12:08:43.000Z | 2022-02-20T02:08:24.000Z | pymia/data/backends/pytorch/__init__.py | NunoEdgarGFlowHub/pymia | 142842e322b2f712aa45850f23f4875dc2c0f493 | [
"Apache-2.0"
] | 38 | 2018-08-06T11:32:26.000Z | 2021-12-23T17:47:33.000Z | pymia/data/backends/pytorch/__init__.py | NunoEdgarGFlowHub/pymia | 142842e322b2f712aa45850f23f4875dc2c0f493 | [
"Apache-2.0"
] | 12 | 2018-08-06T11:46:31.000Z | 2021-02-23T03:47:35.000Z | try:
import torch
except ImportError:
raise ImportError('Module "torch" not found. Install "torch>=1.4.0" to use the pytorch module.')
from .dataset import PytorchDatasetAdapter
from .sample import SubsetSequentialSampler
| 28.875 | 100 | 0.774892 | 29 | 231 | 6.172414 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015228 | 0.147186 | 231 | 7 | 101 | 33 | 0.893401 | 0 | 0 | 0 | 0 | 0.166667 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8bae00a3db4c33d6f42e8d7af52cd30050b9390e | 1,015 | py | Python | tests/security_tests.py | kevinsigwart/ArcREST | 2d83bd87e23f3f78d6bba2131e6d47cf8e2e07c1 | [
"Apache-2.0"
] | 208 | 2015-01-08T18:14:02.000Z | 2022-03-31T02:45:42.000Z | tests/security_tests.py | kevinsigwart/ArcREST | 2d83bd87e23f3f78d6bba2131e6d47cf8e2e07c1 | [
"Apache-2.0"
] | 279 | 2015-01-16T16:30:35.000Z | 2020-03-31T11:57:47.000Z | tests/security_tests.py | kevinsigwart/ArcREST | 2d83bd87e23f3f78d6bba2131e6d47cf8e2e07c1 | [
"Apache-2.0"
] | 164 | 2015-01-21T13:49:05.000Z | 2021-12-01T18:13:05.000Z | # coding: utf-8
import unittest
from arcrest.security import OAuthSecurityHandler
class OAuthSecurityHandlerTests(unittest.TestCase):
def test_get_token_with_invalid_client_id_should_not_return_valid_as_true(self):
client_id = "invalid_client_id"
secret_id = "invalid_secret"
org_url = "ht... | 37.592593 | 84 | 0.738916 | 126 | 1,015 | 5.587302 | 0.34127 | 0.068182 | 0.059659 | 0.068182 | 0.775568 | 0.775568 | 0.701705 | 0.701705 | 0.701705 | 0.701705 | 0 | 0.002427 | 0.188177 | 1,015 | 26 | 85 | 39.038462 | 0.851942 | 0.101478 | 0 | 0.588235 | 0 | 0 | 0.115639 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 5 |
8bc0866590d976113f963089c7d2ee6e89cc4223 | 329 | py | Python | pincode/models.py | Rahul91/Django_CRUD | a68f6b4f8b7602efa233e0f814eb58c93ab3b164 | [
"MIT"
] | null | null | null | pincode/models.py | Rahul91/Django_CRUD | a68f6b4f8b7602efa233e0f814eb58c93ab3b164 | [
"MIT"
] | null | null | null | pincode/models.py | Rahul91/Django_CRUD | a68f6b4f8b7602efa233e0f814eb58c93ab3b164 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Pincode(models.Model):
pincode = models.CharField(max_length=10)
office_name = models.CharField(max_length=50)
district_name = models.CharField(max_length=50)
state_name = models.CharField(max_length=50)
def __unicode__(self):
return u'%s' %(self... | 25.307692 | 48 | 0.768997 | 48 | 329 | 5.041667 | 0.541667 | 0.247934 | 0.297521 | 0.396694 | 0.371901 | 0.371901 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.118541 | 329 | 13 | 49 | 25.307692 | 0.806897 | 0.072948 | 0 | 0 | 0 | 0 | 0.006579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
8bc14fa87c81e3049b3337370c5ee49dc209a7fe | 244 | py | Python | boxoffice/admin.py | issackelly/django-boxoffice | e142e1ff7d55c5cf7410b4816933db3f6d123fe6 | [
"BSD-3-Clause"
] | 1 | 2020-09-29T17:05:16.000Z | 2020-09-29T17:05:16.000Z | boxoffice/admin.py | issackelly/django-boxoffice | e142e1ff7d55c5cf7410b4816933db3f6d123fe6 | [
"BSD-3-Clause"
] | null | null | null | boxoffice/admin.py | issackelly/django-boxoffice | e142e1ff7d55c5cf7410b4816933db3f6d123fe6 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from models import TicketGroup, Ticket
class TicketGroupAdmin(admin.ModelAdmin):
list_display = ['name', 'registration_open']
admin.site.register(TicketGroup, TicketGroupAdmin)
admin.site.register(Ticket)
| 27.111111 | 50 | 0.807377 | 28 | 244 | 6.964286 | 0.642857 | 0.215385 | 0.174359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 244 | 8 | 51 | 30.5 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.086066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
477de175dff03b26b912058178dc9609e3fd2255 | 120 | py | Python | gui/input/__init__.py | nerdinand/shooty-game | a2f35035bd1ed02676a8384ba6d04e4d7ec42d0c | [
"MIT"
] | null | null | null | gui/input/__init__.py | nerdinand/shooty-game | a2f35035bd1ed02676a8384ba6d04e4d7ec42d0c | [
"MIT"
] | null | null | null | gui/input/__init__.py | nerdinand/shooty-game | a2f35035bd1ed02676a8384ba6d04e4d7ec42d0c | [
"MIT"
] | null | null | null | from .direction_mapper import DirectionMapper
from .key_mapper import KeyMapper
from .mouse_handler import MouseHandler
| 30 | 45 | 0.875 | 15 | 120 | 6.8 | 0.666667 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 3 | 46 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 5 |
47905d021d8a4870450b43368e830995de0014a8 | 165 | py | Python | classworModels3/exercise1/admin.py | cs-fullstack-2019-spring/django-models3-cw-itayanna | 288ed83ac56970d208722bf09dc4ee409fc29731 | [
"Apache-2.0"
] | null | null | null | classworModels3/exercise1/admin.py | cs-fullstack-2019-spring/django-models3-cw-itayanna | 288ed83ac56970d208722bf09dc4ee409fc29731 | [
"Apache-2.0"
] | null | null | null | classworModels3/exercise1/admin.py | cs-fullstack-2019-spring/django-models3-cw-itayanna | 288ed83ac56970d208722bf09dc4ee409fc29731 | [
"Apache-2.0"
] | null | null | null | #importing admin fucntion and info from book class
from django.contrib import admin
from .models import Book
# Register your models here.
admin.site.register(Book) | 23.571429 | 50 | 0.806061 | 25 | 165 | 5.32 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139394 | 165 | 7 | 51 | 23.571429 | 0.93662 | 0.460606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4796841b4132ab922176bef5b50597839ebfda56 | 32 | py | Python | pythonci/__main__.py | vstinner/ci_python | afe794953c6fa96594eb02e7939fda74add52b03 | [
"MIT"
] | 3 | 2020-08-11T15:00:03.000Z | 2022-02-11T08:16:11.000Z | pythonci/__main__.py | vstinner/python-ci | afe794953c6fa96594eb02e7939fda74add52b03 | [
"MIT"
] | 1 | 2021-01-26T08:52:16.000Z | 2021-01-26T08:52:16.000Z | pythonci/__main__.py | vstinner/python-ci | afe794953c6fa96594eb02e7939fda74add52b03 | [
"MIT"
] | 1 | 2020-04-03T15:24:05.000Z | 2020-04-03T15:24:05.000Z | from ._ci import CI
CI().main()
| 10.666667 | 19 | 0.65625 | 6 | 32 | 3.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 20 | 16 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
47a081ba6719d95d320055c2477c6a6f411d93e7 | 240 | py | Python | sdg/outputs/__init__.py | Defra-Data-Science-Centre-of-Excellence/sdg-build | 716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0 | [
"MIT"
] | 7 | 2019-02-25T03:50:17.000Z | 2022-03-31T12:58:42.000Z | sdg/outputs/__init__.py | Defra-Data-Science-Centre-of-Excellence/sdg-build | 716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0 | [
"MIT"
] | 185 | 2019-01-14T15:35:53.000Z | 2022-03-28T19:16:37.000Z | sdg/outputs/__init__.py | Defra-Data-Science-Centre-of-Excellence/sdg-build | 716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0 | [
"MIT"
] | 18 | 2019-01-14T11:20:05.000Z | 2022-02-08T14:10:17.000Z | from .OutputBase import OutputBase
from .OutputOpenSdg import OutputOpenSdg
from .OutputGeoJson import OutputGeoJson
from .OutputDataPackage import OutputDataPackage
from .OutputCsvw import OutputCsvw
from .OutputSdmxMl import OutputSdmxMl
| 34.285714 | 48 | 0.875 | 24 | 240 | 8.75 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 240 | 6 | 49 | 40 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
47f0ca847ceb40910122705ae8ef3860d2c3ba0c | 148 | py | Python | shobaleader-one/lib/conf.py | pikesley/shobaleader-one | bcbf1d2bda01afc66cfa976e380758df0fa930a2 | [
"MIT"
] | null | null | null | shobaleader-one/lib/conf.py | pikesley/shobaleader-one | bcbf1d2bda01afc66cfa976e380758df0fa930a2 | [
"MIT"
] | null | null | null | shobaleader-one/lib/conf.py | pikesley/shobaleader-one | bcbf1d2bda01afc66cfa976e380758df0fa930a2 | [
"MIT"
] | null | null | null | from ruamel.yaml import YAML
def config(path="config/config.yaml"):
"""Read the config."""
yaml = YAML()
return yaml.load(open(path))
| 18.5 | 38 | 0.648649 | 21 | 148 | 4.571429 | 0.571429 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 148 | 7 | 39 | 21.142857 | 0.8 | 0.108108 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
47f81c5d1f0dcf1e4bfe15c93010dcd85f002a9d | 371 | py | Python | checker/models.py | FomaLSSJ/django-celery-project | dacac5600265aead95d820f6b9cf00f80f8e49fd | [
"MIT"
] | null | null | null | checker/models.py | FomaLSSJ/django-celery-project | dacac5600265aead95d820f6b9cf00f80f8e49fd | [
"MIT"
] | null | null | null | checker/models.py | FomaLSSJ/django-celery-project | dacac5600265aead95d820f6b9cf00f80f8e49fd | [
"MIT"
] | null | null | null | from django.db import models
class Game(models.Model):
article_id = models.IntegerField()
title_jp = models.CharField(max_length=512)
title_en = models.CharField(max_length=512)
publisher = models.CharField(max_length=512, null=True)
release = models.IntegerField(null=True)
media ... | 37.1 | 61 | 0.708895 | 48 | 371 | 5.333333 | 0.479167 | 0.234375 | 0.28125 | 0.375 | 0.484375 | 0.273438 | 0.273438 | 0 | 0 | 0 | 0 | 0.039867 | 0.188679 | 371 | 9 | 62 | 41.222222 | 0.810631 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 5 |
9a265e14b128a0505317552ab8bb771d2a0e81a8 | 343 | py | Python | data/tracking/sampler/_sampling_algos/stateful/infinite_loop_wrapper.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | data/tracking/sampler/_sampling_algos/stateful/infinite_loop_wrapper.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | data/tracking/sampler/_sampling_algos/stateful/infinite_loop_wrapper.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | class Sampling_InfinteLoopWrapper:
def __init__(self, sampling_algo):
self.sampling_algo = sampling_algo
def get(self):
return self.sampling_algo.current()
def move_next(self):
if not self.sampling_algo.move_next():
self.sampling_algo.reset()
assert self.sam... | 28.583333 | 49 | 0.673469 | 42 | 343 | 5.142857 | 0.380952 | 0.388889 | 0.444444 | 0.185185 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239067 | 343 | 11 | 50 | 31.181818 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 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 | 0 | 0 | 0 | 5 |
9a444523e38b6a07afecbed3289070eccee36474 | 270 | py | Python | motex/common/base.py | finixbit/motex | 81a2aa6872b563e70098570217fcf99f2c3fbff6 | [
"MIT"
] | 10 | 2019-08-01T03:32:17.000Z | 2021-03-29T18:29:09.000Z | motex/common/base.py | finixbit/motex | 81a2aa6872b563e70098570217fcf99f2c3fbff6 | [
"MIT"
] | null | null | null | motex/common/base.py | finixbit/motex | 81a2aa6872b563e70098570217fcf99f2c3fbff6 | [
"MIT"
] | 1 | 2020-03-17T03:45:36.000Z | 2020-03-17T03:45:36.000Z | from __future__ import absolute_import, print_function
import abc
class HelperMeta(metaclass=abc.ABCMeta):
def all(self):
raise NotImplementedError()
def get(self, index):
raise NotImplementedError()
class HelperBase(HelperMeta):
pass
| 15.882353 | 54 | 0.718519 | 29 | 270 | 6.482759 | 0.689655 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207407 | 270 | 16 | 55 | 16.875 | 0.878505 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0 | 0.666667 | 0.111111 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
7bdcaccd1284493dd519eaca99a28a4474b7b179 | 38 | py | Python | Friends/Friends_Model/train.py | sachinumrao/TextGenerationModels | bda50557ea7155640728a3b9f61bdd8391413045 | [
"MIT"
] | null | null | null | Friends/Friends_Model/train.py | sachinumrao/TextGenerationModels | bda50557ea7155640728a3b9f61bdd8391413045 | [
"MIT"
] | null | null | null | Friends/Friends_Model/train.py | sachinumrao/TextGenerationModels | bda50557ea7155640728a3b9f61bdd8391413045 | [
"MIT"
] | null | null | null | import numpy as np
import torch as T
| 9.5 | 18 | 0.763158 | 8 | 38 | 3.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 38 | 3 | 19 | 12.666667 | 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 | 0 | 0 | 0 | 5 |
7bf34faa171325cf914aeef9adac74b6e85fa66a | 146 | py | Python | src/interpreter/Node.py | fuqinshen/Python-- | aaa5230354258e1bba761e483c8b9fb6be00402a | [
"MIT"
] | 31 | 2018-10-19T15:28:36.000Z | 2022-02-14T03:01:25.000Z | src/interpreter/Node.py | fuqinshen/Python-- | aaa5230354258e1bba761e483c8b9fb6be00402a | [
"MIT"
] | null | null | null | src/interpreter/Node.py | fuqinshen/Python-- | aaa5230354258e1bba761e483c8b9fb6be00402a | [
"MIT"
] | 10 | 2019-01-10T04:02:12.000Z | 2021-11-17T01:52:15.000Z | from abc import ABCMeta, abstractstaticmethod
class Node(metaclass=ABCMeta):
@abstractstaticmethod
def parse(self, context):
pass | 24.333333 | 45 | 0.739726 | 15 | 146 | 7.2 | 0.866667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 146 | 6 | 46 | 24.333333 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
7bfc5b0b6d2d9d7158fe634bb2558e9e9fe804bc | 68 | py | Python | toolbox/utils/__init__.py | jfpowell/skift | 2ebbfc82206c17c044cc49ae07633bad8eb9f984 | [
"MIT"
] | null | null | null | toolbox/utils/__init__.py | jfpowell/skift | 2ebbfc82206c17c044cc49ae07633bad8eb9f984 | [
"MIT"
] | null | null | null | toolbox/utils/__init__.py | jfpowell/skift | 2ebbfc82206c17c044cc49ae07633bad8eb9f984 | [
"MIT"
] | null | null | null | from utils.Lexer import Lexer
from utils.Generator import Generator
| 22.666667 | 37 | 0.852941 | 10 | 68 | 5.8 | 0.5 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 38 | 34 | 0.966667 | 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 | 0 | 0 | 0 | 5 |
d01c1726dd344c2a7df7d1455f5889580f651c28 | 119 | py | Python | modules/lightmapper_cpu/config.py | pnnh/godot-kotlin | c94cb778bb9a54bcd4df48fa3bc0751c02d7fff4 | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | 2 | 2021-03-15T14:27:16.000Z | 2021-07-16T23:20:52.000Z | modules/lightmapper_cpu/config.py | pnnh/godot-kotlin | c94cb778bb9a54bcd4df48fa3bc0751c02d7fff4 | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | 27 | 2022-01-06T06:31:25.000Z | 2022-03-29T01:18:01.000Z | modules/lightmapper_cpu/config.py | snykiotcubedev/godot-3.3-stable | e6580209fab1312cb824a455d2df99df8a9fb156 | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | def can_build(env, platform):
return env["tools"] and env["module_raycast_enabled"]
def configure(env):
pass
| 17 | 57 | 0.705882 | 17 | 119 | 4.764706 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 6 | 58 | 19.833333 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.226891 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
d0472d71c018e4dcaaeabdbd94f71817da73692d | 73 | py | Python | ml_model/__init__.py | xinbinhuang/ToxicFlaskApp | 416ff0a79ecf3382dce5ab32ab97fffaa1829513 | [
"MIT"
] | 4 | 2019-05-07T22:29:08.000Z | 2020-12-14T14:25:10.000Z | ml_model/__init__.py | xinbinhuang/ToxicFlaskApp | 416ff0a79ecf3382dce5ab32ab97fffaa1829513 | [
"MIT"
] | null | null | null | ml_model/__init__.py | xinbinhuang/ToxicFlaskApp | 416ff0a79ecf3382dce5ab32ab97fffaa1829513 | [
"MIT"
] | null | null | null | from . import utils
from . import train_classifier
from . import predict
| 18.25 | 30 | 0.794521 | 10 | 73 | 5.7 | 0.6 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 31 | 24.333333 | 0.934426 | 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 | 0 | 0 | 0 | 5 |
d0e8cec2a54c1762e90ba56402bb1dbe3c24c422 | 303 | py | Python | routes/exception.py | adhocore/py-routes | fd86692a54bb380119e209bd3ad4ad43aa54f412 | [
"MIT"
] | 4 | 2021-03-10T15:38:43.000Z | 2021-03-31T16:18:21.000Z | routes/exception.py | adhocore/py-routes | fd86692a54bb380119e209bd3ad4ad43aa54f412 | [
"MIT"
] | null | null | null | routes/exception.py | adhocore/py-routes | fd86692a54bb380119e209bd3ad4ad43aa54f412 | [
"MIT"
] | null | null | null | class ParserException(Exception):
"""ParserException
Generic exception for parser errors
Extends:
Exception
"""
pass
class NoRouteException(Exception):
"""NoRouteException
Generic exception for route not found errors
Extends:
Exception
"""
pass
| 14.428571 | 48 | 0.656766 | 26 | 303 | 7.653846 | 0.5 | 0.160804 | 0.190955 | 0.261307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277228 | 303 | 20 | 49 | 15.15 | 0.908676 | 0.524752 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ef837522096a0025ccf821152f99501482bcab74 | 30 | py | Python | pcdet/version.py | Chuxwa/OpenPCDet | be064eafee68cb23f4bbe7decf2286ef13a94ebb | [
"Apache-2.0"
] | 1 | 2021-05-08T09:17:02.000Z | 2021-05-08T09:17:02.000Z | pcdet/version.py | Chuxwa/Point-Cloud-Detection | be064eafee68cb23f4bbe7decf2286ef13a94ebb | [
"Apache-2.0"
] | null | null | null | pcdet/version.py | Chuxwa/Point-Cloud-Detection | be064eafee68cb23f4bbe7decf2286ef13a94ebb | [
"Apache-2.0"
] | null | null | null | __version__ = "0.3.0+767c5f2"
| 15 | 29 | 0.7 | 5 | 30 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.1 | 30 | 1 | 30 | 30 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ef931a208d31a13eb2918382b2717e50bd2a5ae0 | 15,263 | py | Python | selenium_google_crawler/test_crawl_google.py | Open-Speech-EkStep/data-acquisition-pipeline | b28df36d417010d85d3e5c5f6882eb8fe89ce5ae | [
"MIT"
] | 14 | 2021-06-18T17:02:31.000Z | 2022-01-23T16:04:34.000Z | selenium_google_crawler/test_crawl_google.py | susmitabhatt/data-acquisition-pipeline | b28df36d417010d85d3e5c5f6882eb8fe89ce5ae | [
"MIT"
] | 2 | 2021-06-19T09:46:08.000Z | 2021-09-10T13:57:57.000Z | selenium_google_crawler/test_crawl_google.py | susmitabhatt/data-acquisition-pipeline | b28df36d417010d85d3e5c5f6882eb8fe89ce5ae | [
"MIT"
] | 6 | 2021-04-12T05:03:52.000Z | 2021-09-11T13:54:45.000Z | import os
from unittest import TestCase
from unittest.mock import patch, call, MagicMock
from selenium.common.exceptions import TimeoutException, NoSuchElementException
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from crawl_google import GoogleCrawler
class TestGoogle... | 46.251515 | 120 | 0.709952 | 2,011 | 15,263 | 4.918946 | 0.085032 | 0.05459 | 0.092802 | 0.048524 | 0.84816 | 0.817327 | 0.7778 | 0.736858 | 0.699656 | 0.660129 | 0 | 0.004606 | 0.203499 | 15,263 | 329 | 121 | 46.392097 | 0.809081 | 0 | 0 | 0.586614 | 0 | 0 | 0.114394 | 0.046911 | 0 | 0 | 0 | 0 | 0.220472 | 1 | 0.094488 | false | 0 | 0.027559 | 0 | 0.125984 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ef9b2c2804f8d26f4336a9510fe194ecbd6f17e5 | 93 | py | Python | baselines/ppo/model.py | baihuaxie/drl-lib | 3ad344901c3bb59e0bc16bb70202d2cfd538fd77 | [
"MIT"
] | null | null | null | baselines/ppo/model.py | baihuaxie/drl-lib | 3ad344901c3bb59e0bc16bb70202d2cfd538fd77 | [
"MIT"
] | 5 | 2020-10-26T10:48:02.000Z | 2020-12-10T04:38:26.000Z | baselines/ppo/model.py | baihuaxie/drl-lib | 3ad344901c3bb59e0bc16bb70202d2cfd538fd77 | [
"MIT"
] | null | null | null | """
PPO algorithm implementation
"""
class Model(object):
"""
PPO algorithm
""" | 10.333333 | 28 | 0.580645 | 8 | 93 | 6.75 | 0.75 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 93 | 9 | 29 | 10.333333 | 0.782609 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
ef9d573b9b18476e3387151168cadb375ea41d32 | 88 | py | Python | python/testData/copyPaste/multiLine/IndentFunction.dst.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/copyPaste/multiLine/IndentFunction.dst.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/copyPaste/multiLine/IndentFunction.dst.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class C:
def foo(self):
y = 2
<caret>
def bar(self):
y = 2 | 11 | 18 | 0.397727 | 13 | 88 | 2.692308 | 0.692308 | 0.285714 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.477273 | 88 | 8 | 19 | 11 | 0.717391 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
efa41741aed6ad1262540478635a68fc2fb5a1fb | 24,187 | py | Python | groupdocs/SystemApi.py | groupdocs-legacy-sdk/python | 80e5ef5a9a14ac4a7815c6cf933b5b2997381455 | [
"Apache-2.0"
] | null | null | null | groupdocs/SystemApi.py | groupdocs-legacy-sdk/python | 80e5ef5a9a14ac4a7815c6cf933b5b2997381455 | [
"Apache-2.0"
] | null | null | null | groupdocs/SystemApi.py | groupdocs-legacy-sdk/python | 80e5ef5a9a14ac4a7815c6cf933b5b2997381455 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
Copyright 2012 GroupDocs.
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 ... | 38.761218 | 119 | 0.564601 | 2,048 | 24,187 | 6.663086 | 0.109863 | 0.047633 | 0.074967 | 0.048366 | 0.732449 | 0.723875 | 0.71281 | 0.707607 | 0.681665 | 0.662612 | 0 | 0.00314 | 0.328441 | 24,187 | 623 | 120 | 38.823435 | 0.836976 | 0.117129 | 0 | 0.755155 | 0 | 0 | 0.15937 | 0.041211 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041237 | false | 0 | 0.012887 | 0.002577 | 0.126289 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
efb8b665f40f9b8408e4953c1af26207f997f178 | 5,158 | py | Python | tests/test_diffeq/test_odefiltsmooth/test_ivp2filter.py | nathanaelbosch/probnum | 6a0557395da4bd83ab292904a04d09a813dc0c9d | [
"MIT"
] | null | null | null | tests/test_diffeq/test_odefiltsmooth/test_ivp2filter.py | nathanaelbosch/probnum | 6a0557395da4bd83ab292904a04d09a813dc0c9d | [
"MIT"
] | null | null | null | tests/test_diffeq/test_odefiltsmooth/test_ivp2filter.py | nathanaelbosch/probnum | 6a0557395da4bd83ab292904a04d09a813dc0c9d | [
"MIT"
] | null | null | null | """Checks for ivp2filter functions.
Covers:
* Are the output ExtendedKalman/UnscentedKalman objects?
* Does the measurement model do what we think it does
* Are the initial values initialised truthfully (y0, f(y0), Jf(y0)f(y0), ...)
"""
import unittest
import numpy as np
import probnum.diffeq as pnd
impo... | 36.842857 | 88 | 0.651415 | 619 | 5,158 | 5.315024 | 0.187399 | 0.091489 | 0.050152 | 0.062006 | 0.773556 | 0.75076 | 0.75076 | 0.75076 | 0.741033 | 0.741033 | 0 | 0.029261 | 0.244668 | 5,158 | 139 | 89 | 37.107914 | 0.815195 | 0.125436 | 0 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 1 | 0.104167 | false | 0 | 0.0625 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 5 |
effcfb15642c1ef229128550201f262fbbacc3ad | 139 | py | Python | pyzenvia/exceptions.py | claytonaalves/pyzenvia | 16b524c2ae37527ec8264cc046c98dbef2ca1fbc | [
"MIT"
] | 3 | 2018-01-25T01:18:49.000Z | 2018-10-16T17:40:27.000Z | pyzenvia/exceptions.py | jonatasfreitasv/py-zenvia-sms | 650f1f04e6639ffcd0395450148776116418d4c2 | [
"MIT"
] | 1 | 2018-06-06T14:36:22.000Z | 2018-06-06T20:57:56.000Z | pyzenvia/exceptions.py | jonatasfreitasv/py-zenvia-sms | 650f1f04e6639ffcd0395450148776116418d4c2 | [
"MIT"
] | 1 | 2018-04-03T22:34:09.000Z | 2018-04-03T22:34:09.000Z | class ZenviaTokenNotFound(Exception):
pass
class ZenviaUrlNotFound(Exception):
pass
class InvalidArgument(Exception):
pass
| 12.636364 | 37 | 0.755396 | 12 | 139 | 8.75 | 0.5 | 0.371429 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179856 | 139 | 10 | 38 | 13.9 | 0.921053 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ef168ca89907313b7b75fdf47ccb38e845d8d5c1 | 274 | py | Python | customer/admin.py | Ravi903132/Event | f75a6397de3ed1af1132fc9fb814b96bbf4fdd86 | [
"MIT"
] | null | null | null | customer/admin.py | Ravi903132/Event | f75a6397de3ed1af1132fc9fb814b96bbf4fdd86 | [
"MIT"
] | null | null | null | customer/admin.py | Ravi903132/Event | f75a6397de3ed1af1132fc9fb814b96bbf4fdd86 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
# @admin.register(EcoProduct)
# class EcoProductAdmin(admin.ModelAdmin):
# #list display
# list_display = ['name', 'price', 'category', 'date']
# #list Filter
# list_filter = ('category','date')
| 27.4 | 58 | 0.675182 | 30 | 274 | 6.1 | 0.666667 | 0.142077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175182 | 274 | 9 | 59 | 30.444444 | 0.809735 | 0.813869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ef1a1f41431e9f90bfef7a8b8555732830675abd | 120 | py | Python | combinato-windows/css-plot-extracted.py | marijeterwal/combinato | 4ccac676279c1e0bc679d25529849e85323c36df | [
"MIT"
] | null | null | null | combinato-windows/css-plot-extracted.py | marijeterwal/combinato | 4ccac676279c1e0bc679d25529849e85323c36df | [
"MIT"
] | null | null | null | combinato-windows/css-plot-extracted.py | marijeterwal/combinato | 4ccac676279c1e0bc679d25529849e85323c36df | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from combinato.plot.plot_extracted import parse_args
if __name__ == "__main__":
parse_args()
| 20 | 52 | 0.75 | 17 | 120 | 4.647059 | 0.823529 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 120 | 5 | 53 | 24 | 0.759615 | 0.166667 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ef20f70c3dc6a4da039d30fef2a062403c14a089 | 170 | py | Python | check.py | medica-im/django-addressbook-drf | 79c51475b4d7032cb21a6bc0e635d762136be555 | [
"BSD-2-Clause"
] | null | null | null | check.py | medica-im/django-addressbook-drf | 79c51475b4d7032cb21a6bc0e635d762136be555 | [
"BSD-2-Clause"
] | null | null | null | check.py | medica-im/django-addressbook-drf | 79c51475b4d7032cb21a6bc0e635d762136be555 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
# check.py
from django.core.management import call_command
from boot_django import boot_django
boot_django()
call_command("check", "addressbook")
| 18.888889 | 47 | 0.794118 | 25 | 170 | 5.2 | 0.6 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 170 | 8 | 48 | 21.25 | 0.849673 | 0.170588 | 0 | 0 | 0 | 0 | 0.115108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ef453ac1e37208b834ce36ce2eb89cac2b27cd7f | 206 | py | Python | lib/solutions/HLO/hello_solution.py | DPNT-Sourcecode/CHK-dulx01 | f652bccb36e291c75cd04de5f5610185147d9f45 | [
"Apache-2.0"
] | null | null | null | lib/solutions/HLO/hello_solution.py | DPNT-Sourcecode/CHK-dulx01 | f652bccb36e291c75cd04de5f5610185147d9f45 | [
"Apache-2.0"
] | null | null | null | lib/solutions/HLO/hello_solution.py | DPNT-Sourcecode/CHK-dulx01 | f652bccb36e291c75cd04de5f5610185147d9f45 | [
"Apache-2.0"
] | null | null | null |
# noinspection PyUnusedLocal
# friend_name = unicode string
def hello(friend_name):
if not isinstance(friend_name, str):
raise ValueError("Invalid input")
return f"Hello, {friend_name}!"
| 20.6 | 41 | 0.713592 | 25 | 206 | 5.72 | 0.72 | 0.27972 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18932 | 206 | 9 | 42 | 22.888889 | 0.856287 | 0.26699 | 0 | 0 | 0 | 0 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
32395a1440af7999fdbaabde9073913175c723ba | 2,661 | py | Python | day_05/opcode.py | ianepreston/advent_2019 | bb05e1a0041e788d2283593b53be7c6628d86de3 | [
"MIT"
] | 1 | 2019-12-02T18:15:01.000Z | 2019-12-02T18:15:01.000Z | day_05/opcode.py | ianepreston/advent_2019 | bb05e1a0041e788d2283593b53be7c6628d86de3 | [
"MIT"
] | null | null | null | day_05/opcode.py | ianepreston/advent_2019 | bb05e1a0041e788d2283593b53be7c6628d86de3 | [
"MIT"
] | null | null | null | def readlist(file="day_05/input.txt"):
with open(file, "r") as f:
return [int(char) for char in f.readline().split(",")]
def parse_instruction(instruction):
sint = str(instruction).zfill(5)
parm3 = bool(int(sint[0]))
parm2 = bool(int(sint[1]))
parm1 = bool(int(sint[2]))
op = int(sint[-... | 23.342105 | 63 | 0.427283 | 352 | 2,661 | 3.113636 | 0.170455 | 0.202555 | 0.083029 | 0.04927 | 0.751825 | 0.742701 | 0.717153 | 0.717153 | 0.578467 | 0.578467 | 0 | 0.053134 | 0.448328 | 2,661 | 113 | 64 | 23.548673 | 0.69346 | 0 | 0 | 0.767677 | 0 | 0 | 0.006764 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 1 | 0.060606 | false | 0 | 0 | 0 | 0.141414 | 0.020202 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.