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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7cf36d73a694dbe84a9d53b6e232436f71c8212a | 652 | py | Python | _2019/__init__.py | JHowell45/advent-of-code | c7bdd3881573f259af2cb826d0c77bbef0b3417e | [
"MIT"
] | null | null | null | _2019/__init__.py | JHowell45/advent-of-code | c7bdd3881573f259af2cb826d0c77bbef0b3417e | [
"MIT"
] | null | null | null | _2019/__init__.py | JHowell45/advent-of-code | c7bdd3881573f259af2cb826d0c77bbef0b3417e | [
"MIT"
] | null | null | null | try:
from _2019.src.day_1 import day_1_puzzle_1_solution, day_1_puzzle_2_solution
except ImportError:
from src.day_1 import day_1_puzzle_1_solution, day_1_puzzle_2_solution
try:
from _2019.src.day_2 import day_2_puzzle_1_solution, day_2_puzzle_2_solution
except ImportError:
from src.day_2 import day_2_p... | 32.6 | 80 | 0.759202 | 118 | 652 | 3.669492 | 0.152542 | 0.092379 | 0.184758 | 0.101617 | 0.942263 | 0.750577 | 0.568129 | 0.568129 | 0.471132 | 0.471132 | 0 | 0.078712 | 0.142638 | 652 | 19 | 81 | 34.315789 | 0.695886 | 0 | 0 | 0.266667 | 0 | 0 | 0.282209 | 0.165644 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | true | 0 | 0.4 | 0 | 0.466667 | 0.266667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6b03cd8ddefb73e8cf4168d0f4355fe3ec89e67b | 764 | py | Python | tests/snippet/is_type.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | tests/snippet/is_type.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | tests/snippet/is_type.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | from unittest import TestCase
from chibi.snippet import is_type
class Test_is_type(TestCase):
def setUp( self ):
pass
def test_is_iter_list( self ):
self.assertTrue( is_type.is_iter( [ 1, 2, 3 ] ) )
self.assertTrue( is_type.is_iter( [] ) )
self.assertTrue( is_type.is_iter( lis... | 30.56 | 58 | 0.61911 | 109 | 764 | 4.036697 | 0.220183 | 0.177273 | 0.327273 | 0.409091 | 0.595455 | 0.595455 | 0.418182 | 0.418182 | 0.268182 | 0.268182 | 0 | 0.012259 | 0.252618 | 764 | 24 | 59 | 31.833333 | 0.758319 | 0 | 0 | 0 | 0 | 0 | 0.007853 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.277778 | false | 0.055556 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6b191347a4d5af477c627d6715ce9c91bed23c17 | 237 | py | Python | aws_iam_policies/aws_root_account_mfa.py | glerb/panther-analysis | bc8518644e0a8fc7735576a700aa7269b3257546 | [
"Apache-2.0"
] | null | null | null | aws_iam_policies/aws_root_account_mfa.py | glerb/panther-analysis | bc8518644e0a8fc7735576a700aa7269b3257546 | [
"Apache-2.0"
] | null | null | null | aws_iam_policies/aws_root_account_mfa.py | glerb/panther-analysis | bc8518644e0a8fc7735576a700aa7269b3257546 | [
"Apache-2.0"
] | null | null | null | from panther_base_helpers import deep_get
def policy(resource):
# Explicit check for True as the value may be None, and we want to return a bool not a NoneType
return deep_get(resource, 'CredentialReport', 'MfaActive') is True
| 33.857143 | 99 | 0.763713 | 38 | 237 | 4.657895 | 0.842105 | 0.079096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181435 | 237 | 6 | 100 | 39.5 | 0.912371 | 0.392405 | 0 | 0 | 0 | 0 | 0.176056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
861d7d3b723e42e9df0e81da6e2c51322c93c626 | 637 | py | Python | cupyx/scipy/fft/__init__.py | pri1311/cupy | 415be9536582ba86dbbb3e98bc14db4877a242c6 | [
"MIT"
] | null | null | null | cupyx/scipy/fft/__init__.py | pri1311/cupy | 415be9536582ba86dbbb3e98bc14db4877a242c6 | [
"MIT"
] | null | null | null | cupyx/scipy/fft/__init__.py | pri1311/cupy | 415be9536582ba86dbbb3e98bc14db4877a242c6 | [
"MIT"
] | null | null | null | # flake8: NOQA
from cupyx.scipy.fft._fft import (
fft, ifft, fft2, ifft2, fftn, ifftn,
rfft, irfft, rfft2, irfft2, rfftn, irfftn,
hfft, ihfft, hfft2, ihfft2, hfftn, ihfftn
)
from cupyx.scipy.fft._fft import (
__ua_domain__, __ua_convert__, __ua_function__)
from cupyx.scipy.fft._fft import _scipy_150, _s... | 37.470588 | 59 | 0.756672 | 96 | 637 | 4.71875 | 0.5625 | 0.139073 | 0.216336 | 0.225166 | 0.172185 | 0.172185 | 0 | 0 | 0 | 0 | 0 | 0.023941 | 0.147567 | 637 | 16 | 60 | 39.8125 | 0.810313 | 0.026688 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.533333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8653eebfd170968f45726eaf56569813c4ac4801 | 17 | py | Python | tests/__init__.py | MyWebIntelligence/MyWebIntelligencePython | 23075e41140cf3ef841b20d8670a845060e24cac | [
"MIT"
] | 6 | 2018-10-15T14:01:10.000Z | 2021-04-20T10:45:58.000Z | tests/__init__.py | MyWebIntelligence/MyWebIntelligencePython | 23075e41140cf3ef841b20d8670a845060e24cac | [
"MIT"
] | 9 | 2019-04-25T15:14:40.000Z | 2020-06-03T11:22:43.000Z | tests/__init__.py | MyWebIntelligence/MyWebIntelligencePython | 23075e41140cf3ef841b20d8670a845060e24cac | [
"MIT"
] | 2 | 2019-07-12T09:48:20.000Z | 2019-10-24T08:54:20.000Z | from mwi import * | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 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 |
866f2c4793bf87953f39c0c646cf3b6d4e5cf81a | 4,596 | py | Python | curiosity_mask/util.py | machineteaching-io/stable-baselines | 58c218de12d61d313bc5e9877a505668ff0bf661 | [
"MIT"
] | 1 | 2020-07-03T19:40:10.000Z | 2020-07-03T19:40:10.000Z | curiosity_mask/util.py | machineteaching-io/stable-baselines | 58c218de12d61d313bc5e9877a505668ff0bf661 | [
"MIT"
] | null | null | null | curiosity_mask/util.py | machineteaching-io/stable-baselines | 58c218de12d61d313bc5e9877a505668ff0bf661 | [
"MIT"
] | 1 | 2020-04-22T21:41:22.000Z | 2020-04-22T21:41:22.000Z | from gym.spaces import MultiDiscrete
def create_dummy_action_mask(ac_spaces: MultiDiscrete):
action_mask = []
for i, space_size in enumerate(ac_spaces.nvec):
mask = None
for j, size in enumerate(ac_spaces.nvec[i::-1]):
if j == 0:
mask = [0] * size
else:
... | 54.714286 | 203 | 0.602263 | 637 | 4,596 | 4.131868 | 0.130298 | 0.053191 | 0.097264 | 0.115502 | 0.735562 | 0.735562 | 0.735562 | 0.714286 | 0.706687 | 0.674772 | 0 | 0.023144 | 0.229112 | 4,596 | 83 | 204 | 55.373494 | 0.719729 | 0.115753 | 0 | 0.459016 | 0 | 0 | 0.173817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.016393 | 0 | 0.147541 | 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 |
8677b0541e8ceae8f14244824c43da21836f0602 | 72 | py | Python | CodeWars/7 Kyu/All Star Code Challenge #16.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/All Star Code Challenge #16.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/All Star Code Challenge #16.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def no_repeat(stg):
return next(c for c in stg if stg.count(c) == 1) | 36 | 52 | 0.652778 | 16 | 72 | 2.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.208333 | 72 | 2 | 52 | 36 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
867ae8f2ed0c14a9f4efd26a5cfe51f30df83407 | 28,932 | py | Python | astroquery/gaia/tests/test_gaiatap.py | ivvv/astroquery | 35a6cd331722523d034265ca015acea4f4ba6f03 | [
"BSD-3-Clause"
] | null | null | null | astroquery/gaia/tests/test_gaiatap.py | ivvv/astroquery | 35a6cd331722523d034265ca015acea4f4ba6f03 | [
"BSD-3-Clause"
] | null | null | null | astroquery/gaia/tests/test_gaiatap.py | ivvv/astroquery | 35a6cd331722523d034265ca015acea4f4ba6f03 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
=============
Gaia TAP plus
=============
@author: Juan Carlos Segovia
@contact: juan.carlos.segovia@sciops.esa.int
European Space Astronomy Centre (ESAC)
European Space Agency (ESA)
Created on 30 jun. 2016
"""
import os
from unittest.mock import ... | 44.442396 | 84 | 0.531937 | 2,912 | 28,932 | 5.026099 | 0.106113 | 0.029311 | 0.0302 | 0.036075 | 0.763323 | 0.740776 | 0.729024 | 0.714676 | 0.707297 | 0.699508 | 0 | 0.017165 | 0.377782 | 28,932 | 650 | 85 | 44.510769 | 0.795856 | 0.050429 | 0 | 0.689964 | 0 | 0 | 0.131661 | 0.005325 | 0 | 0 | 0 | 0 | 0.075269 | 1 | 0.023297 | false | 0.005376 | 0.028674 | 0 | 0.055556 | 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 |
869de55e2979204696bbf74b3181717195af29ad | 14,522 | py | Python | tests/core/full_node/test_block_height_map.py | zcomputerwiz/replaceme-blockchain | b6dfc3ff502e0cb6b7b5fbc566c7fb9ae559757a | [
"Apache-2.0"
] | null | null | null | tests/core/full_node/test_block_height_map.py | zcomputerwiz/replaceme-blockchain | b6dfc3ff502e0cb6b7b5fbc566c7fb9ae559757a | [
"Apache-2.0"
] | null | null | null | tests/core/full_node/test_block_height_map.py | zcomputerwiz/replaceme-blockchain | b6dfc3ff502e0cb6b7b5fbc566c7fb9ae559757a | [
"Apache-2.0"
] | null | null | null | import pytest
import struct
from replaceme.full_node.block_height_map import BlockHeightMap
from replaceme.types.blockchain_format.sub_epoch_summary import SubEpochSummary
from replaceme.util.db_wrapper import DBWrapper
from tests.util.db_connection import DBConnection
from replaceme.types.blockchain_format.sized_byte... | 38.115486 | 101 | 0.618303 | 1,946 | 14,522 | 4.364851 | 0.110997 | 0.087944 | 0.077702 | 0.089004 | 0.767247 | 0.743701 | 0.743701 | 0.743701 | 0.727101 | 0.659407 | 0 | 0.028298 | 0.294312 | 14,522 | 380 | 102 | 38.215789 | 0.800546 | 0.07499 | 0 | 0.683824 | 0 | 0 | 0.062943 | 0.010292 | 0 | 0 | 0.001193 | 0.002632 | 0.180147 | 1 | 0.007353 | false | 0 | 0.033088 | 0.003676 | 0.051471 | 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 |
86b975f22935e975175bb869395867c77cf9c3cc | 125 | py | Python | daftarGuide/admin.py | irfanmaulananasution/guidian | b5224c58d320c81bb085a89bcc011e020207a1f2 | [
"MIT"
] | 1 | 2021-09-09T02:34:59.000Z | 2021-09-09T02:34:59.000Z | daftarGuide/admin.py | irfanmaulananasution/guidian | b5224c58d320c81bb085a89bcc011e020207a1f2 | [
"MIT"
] | null | null | null | daftarGuide/admin.py | irfanmaulananasution/guidian | b5224c58d320c81bb085a89bcc011e020207a1f2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import GuideModel
# Register your models here.
admin.site.register(GuideModel) | 25 | 32 | 0.824 | 17 | 125 | 6.058824 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 5 | 33 | 25 | 0.927928 | 0.208 | 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 |
86c16d5000909ccddba7ddf13b540379e4759f95 | 3,886 | py | Python | dublincore/migrations/0003_auto__chg_field_qualifieddublincoreelementhistory_object_id__chg_field.py | mredar/django-dublincore | eabac3fc9225d7961a5d509718c1d3059e3681cb | [
"BSD-3-Clause"
] | 6 | 2015-07-13T13:29:39.000Z | 2017-09-08T20:47:35.000Z | dublincore/migrations/0003_auto__chg_field_qualifieddublincoreelementhistory_object_id__chg_field.py | mredar/django-dublincore | eabac3fc9225d7961a5d509718c1d3059e3681cb | [
"BSD-3-Clause"
] | 3 | 2020-02-11T23:26:32.000Z | 2021-06-10T18:46:34.000Z | dublincore/migrations/0003_auto__chg_field_qualifieddublincoreelementhistory_object_id__chg_field.py | mredar/django-dublincore | eabac3fc9225d7961a5d509718c1d3059e3681cb | [
"BSD-3-Clause"
] | 2 | 2017-03-04T13:30:22.000Z | 2019-05-10T14:04:37.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'QualifiedDublinCoreElementHistory.object_id'
db.alter_column('dublincore_qualifieddublin... | 62.677419 | 172 | 0.62069 | 380 | 3,886 | 6.197368 | 0.197368 | 0.09172 | 0.154565 | 0.220807 | 0.774947 | 0.735881 | 0.72017 | 0.72017 | 0.667941 | 0.631847 | 0 | 0.009031 | 0.1737 | 3,886 | 61 | 173 | 63.704918 | 0.724385 | 0.063047 | 0 | 0.377778 | 0 | 0 | 0.568638 | 0.381568 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.088889 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
86dc77ab074e83a9518d4753551143be0c00391b | 103 | py | Python | main/admin.py | Tan-isha-Agrawal/agri | 52c8ff1d756a0d2f20f1a17886485a8ec1583aa3 | [
"MIT"
] | null | null | null | main/admin.py | Tan-isha-Agrawal/agri | 52c8ff1d756a0d2f20f1a17886485a8ec1583aa3 | [
"MIT"
] | null | null | null | main/admin.py | Tan-isha-Agrawal/agri | 52c8ff1d756a0d2f20f1a17886485a8ec1583aa3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import PredResults2
admin.site.register(PredResults2) | 25.75 | 33 | 0.825243 | 13 | 103 | 6.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.116505 | 103 | 4 | 34 | 25.75 | 0.912088 | 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 |
86fa758e513bfb1dcb2314c2023253302fafd2a4 | 45,177 | py | Python | AppDB/test/unit/test_datastore_server.py | christianbaun/appscale | c24ddfd987c8eed8ed8864cc839cc0556a8af3c7 | [
"Apache-2.0"
] | 2 | 2018-10-09T17:48:12.000Z | 2019-01-15T10:18:19.000Z | AppDB/test/unit/test_datastore_server.py | christianbaun/appscale | c24ddfd987c8eed8ed8864cc839cc0556a8af3c7 | [
"Apache-2.0"
] | null | null | null | AppDB/test/unit/test_datastore_server.py | christianbaun/appscale | c24ddfd987c8eed8ed8864cc839cc0556a8af3c7 | [
"Apache-2.0"
] | 1 | 2022-02-20T20:57:12.000Z | 2022-02-20T20:57:12.000Z | #!/usr/bin/env python
# Programmer: Navraj Chohan <nlake44@gmail.com>
import os
import sys
import unittest
from cassandra.cluster import Cluster
from flexmock import flexmock
sys.path.append(os.path.join(os.path.dirname(__file__), "../../../AppServer"))
from google.appengine.api import api_base_pb
from google.appe... | 43.691489 | 106 | 0.71937 | 5,811 | 45,177 | 5.253657 | 0.062296 | 0.080481 | 0.037473 | 0.05765 | 0.828098 | 0.793377 | 0.744997 | 0.728258 | 0.670117 | 0.648989 | 0 | 0.017779 | 0.154636 | 45,177 | 1,033 | 107 | 43.733785 | 0.781598 | 0.023906 | 0 | 0.626728 | 0 | 0.003456 | 0.135834 | 0.041261 | 0 | 0 | 0 | 0 | 0.099078 | 1 | 0.046083 | false | 0.001152 | 0.025346 | 0 | 0.078341 | 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 |
d49d7f273f2c91d0119bd0f184580c6b2ab36116 | 603 | py | Python | 6_heroku_flask_app/app.py | eklee151/Capstone | 7c2b7f4321ed650961bda313b66348b8a5e25593 | [
"CC0-1.0"
] | 1 | 2020-12-13T12:26:31.000Z | 2020-12-13T12:26:31.000Z | 6_heroku_flask_app/app.py | eklee151/Adverse-Childhood-Experiences | 7c2b7f4321ed650961bda313b66348b8a5e25593 | [
"CC0-1.0"
] | null | null | null | 6_heroku_flask_app/app.py | eklee151/Adverse-Childhood-Experiences | 7c2b7f4321ed650961bda313b66348b8a5e25593 | [
"CC0-1.0"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def home():
return render_template('home.html')
@app.route('/abuse')
def abuse():
return render_template('abuse.html')
@app.route('/household')
def household():
return render_template('household.html')
@app.route('/cdc-kaiser... | 19.451613 | 45 | 0.691542 | 78 | 603 | 5.089744 | 0.294872 | 0.246851 | 0.302267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 603 | 31 | 46 | 19.451613 | 0.760536 | 0 | 0 | 0 | 0 | 0 | 0.201987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.045455 | 0.272727 | 0.590909 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d4beda1805471309475cc47776e4d417fe7dad77 | 19 | py | Python | packages/kite/node_modules/kite-api/test/fixtures/sources/json-completions.py | tpaclatee/atom-setup-python | 0d4038b948e69b72a0beda2620c4ce559be9dde8 | [
"MIT"
] | 2 | 2019-02-11T12:16:13.000Z | 2019-04-21T21:59:39.000Z | packages/kite/node_modules/kite-api/test/fixtures/sources/json-completions.py | tpaclatee/atom-setup-python | 0d4038b948e69b72a0beda2620c4ce559be9dde8 | [
"MIT"
] | 44 | 2018-07-26T18:44:33.000Z | 2021-06-02T00:03:09.000Z | packages/kite/node_modules/kite-api/test/fixtures/sources/json-completions.py | tpaclatee/atom-setup-python | 0d4038b948e69b72a0beda2620c4ce559be9dde8 | [
"MIT"
] | 2 | 2021-09-19T06:30:27.000Z | 2022-01-18T20:41:38.000Z | import json
json.
| 4.75 | 11 | 0.736842 | 3 | 19 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 3 | 12 | 6.333333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d4ddfad224695f5f988a2f200340f1a650836e27 | 209 | py | Python | htmlparser/src/Script.py | weblit/html-parser | 9fa9cc97ff1a747fd742397ad6b2d65d10aeba50 | [
"MIT"
] | 1 | 2022-01-03T07:28:21.000Z | 2022-01-03T07:28:21.000Z | src/src/Script.py | weblit/weblit | f1de52348b1fde738fab2a5591be8345a430aa37 | [
"Apache-2.0"
] | 3 | 2022-01-12T14:51:20.000Z | 2022-02-01T05:14:39.000Z | src/src/Script.py | weblit/weblit | f1de52348b1fde738fab2a5591be8345a430aa37 | [
"Apache-2.0"
] | null | null | null | class Script:
sourceURL: str
otherArguments: list
def __init__(self, sourceURL: str, otherArguments: list) -> None:
self.sourceURL = sourceURL
self.otherArguments = otherArguments
| 26.125 | 69 | 0.688995 | 20 | 209 | 7 | 0.5 | 0.171429 | 0.371429 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23445 | 209 | 7 | 70 | 29.857143 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 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 |
be051380c4c464e4dcd7e3ebbc8c2b0ef7a06956 | 8,833 | py | Python | tests/test_mssa_decomposer.py | harveybc/feature-engineering | 21e765106e7c6bf503d83d18a781806fc9a863cf | [
"MIT"
] | 5 | 2020-05-18T21:08:07.000Z | 2021-11-18T00:57:22.000Z | tests/test_mssa_decomposer.py | harveybc/feature-engineering | 21e765106e7c6bf503d83d18a781806fc9a863cf | [
"MIT"
] | 7 | 2020-04-04T03:56:39.000Z | 2020-04-04T05:21:42.000Z | tests/test_mssa_decomposer.py | harveybc/training-signal | 21e765106e7c6bf503d83d18a781806fc9a863cf | [
"MIT"
] | 3 | 2020-05-18T21:08:13.000Z | 2021-07-13T08:27:22.000Z | # -*- coding: utf-8 -*-
import pytest
import csv
import sys
import os
from filecmp import cmp
from feature_eng.feature_eng import FeatureEng
__author__ = "Harvey Bastidas"
__copyright__ = "Harvey Bastidas"
__license__ = "mit"
class Conf:
""" This method initialize the configuration variables for a plugin """
... | 42.263158 | 151 | 0.611117 | 1,206 | 8,833 | 4.201493 | 0.121061 | 0.071048 | 0.088415 | 0.052497 | 0.75153 | 0.75153 | 0.747385 | 0.743833 | 0.73732 | 0.717584 | 0 | 0.011125 | 0.287671 | 8,833 | 209 | 152 | 42.263158 | 0.794183 | 0.224499 | 0 | 0.595745 | 0 | 0 | 0.169025 | 0.007911 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.085106 | false | 0.007092 | 0.042553 | 0 | 0.148936 | 0.007092 | 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 |
be19e1350ba260e07d479355bdff3ea1e4d0b490 | 95 | py | Python | tests/test_samplemodule.py | tateishi/python-simple | 13f1450ad2c715f2e687569a504010a49543d52a | [
"MIT"
] | null | null | null | tests/test_samplemodule.py | tateishi/python-simple | 13f1450ad2c715f2e687569a504010a49543d52a | [
"MIT"
] | null | null | null | tests/test_samplemodule.py | tateishi/python-simple | 13f1450ad2c715f2e687569a504010a49543d52a | [
"MIT"
] | null | null | null | from samplemodule import message
def test_message():
assert message == 'Hello World'
| 15.833333 | 35 | 0.705263 | 11 | 95 | 6 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221053 | 95 | 6 | 36 | 15.833333 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
076c55487542f1122895593e2b5d44ec585c6675 | 72 | py | Python | deepextract/__init__.py | bobbytrapz/deepextract | cefbacea7219a0e93966b7e431ff20d02fdf9627 | [
"CC0-1.0"
] | 1 | 2019-11-08T16:27:37.000Z | 2019-11-08T16:27:37.000Z | deepextract/__init__.py | bobbytrapz/deepextract | cefbacea7219a0e93966b7e431ff20d02fdf9627 | [
"CC0-1.0"
] | null | null | null | deepextract/__init__.py | bobbytrapz/deepextract | cefbacea7219a0e93966b7e431ff20d02fdf9627 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
# flake8: noqa: F401
from .deepextract import *
| 18 | 26 | 0.625 | 9 | 72 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0.180556 | 72 | 3 | 27 | 24 | 0.677966 | 0.555556 | 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 |
0781e00fc1083e8756af9500c037a44d2ac95ace | 60 | py | Python | sickbeard/lib/hachoir_parser/network/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | sickbeard/lib/hachoir_parser/network/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | sickbeard/lib/hachoir_parser/network/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | from lib.hachoir_parser.network.tcpdump import TcpdumpFile
| 20 | 58 | 0.866667 | 8 | 60 | 6.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 60 | 2 | 59 | 30 | 0.927273 | 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 |
078eb48447124a7c171571de4603b9336340ea74 | 1,499 | py | Python | python/phonenumbers/data/region_MU.py | chlammas/python-phonenumbers | e75438338d70e33aee530a29960d2b0911dfb09f | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/data/region_MU.py | chlammas/python-phonenumbers | e75438338d70e33aee530a29960d2b0911dfb09f | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/data/region_MU.py | chlammas/python-phonenumbers | e75438338d70e33aee530a29960d2b0911dfb09f | [
"Apache-2.0"
] | null | null | null | """Auto-generated file, do not edit by hand. MU metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_MU = PhoneMetadata(id='MU', country_code=230, international_prefix='0(?:0|[24-7]0|3[03])',
general_desc=PhoneNumberDesc(national_number_pattern='(?:5|8\\d\\d)\\d{7}|[2... | 99.933333 | 208 | 0.667111 | 237 | 1,499 | 4.050633 | 0.337553 | 0.014583 | 0.18125 | 0.225 | 0.16875 | 0.091667 | 0.0625 | 0.0625 | 0 | 0 | 0 | 0.12894 | 0.068712 | 1,499 | 14 | 209 | 107.071429 | 0.558739 | 0.035357 | 0 | 0 | 1 | 0.25 | 0.289583 | 0.170139 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
07a4ae27fc47855640afe5c8440912a7fedaa95f | 45 | py | Python | activitystreams/exception.py | sovaa/activitystreams | def84e8d70efe3f78c45a25fa69f641577efa19c | [
"MIT"
] | 1 | 2017-04-28T23:23:32.000Z | 2017-04-28T23:23:32.000Z | activitystreams/exception.py | sovaa/activitystreams | def84e8d70efe3f78c45a25fa69f641577efa19c | [
"MIT"
] | null | null | null | activitystreams/exception.py | sovaa/activitystreams | def84e8d70efe3f78c45a25fa69f641577efa19c | [
"MIT"
] | null | null | null | class ActivityException(Exception):
pass
| 15 | 35 | 0.777778 | 4 | 45 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 36 | 22.5 | 0.921053 | 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 |
07caa7386bf421e5486e090d4ba6131e7beafc7f | 143 | py | Python | celery_uncovered/toyex/views.py | TinlokLee/Python-CelerySS | f66c42d2eace51e28b17ed6d7eec0fa765f9d90b | [
"MIT"
] | null | null | null | celery_uncovered/toyex/views.py | TinlokLee/Python-CelerySS | f66c42d2eace51e28b17ed6d7eec0fa765f9d90b | [
"MIT"
] | null | null | null | celery_uncovered/toyex/views.py | TinlokLee/Python-CelerySS | f66c42d2eace51e28b17ed6d7eec0fa765f9d90b | [
"MIT"
] | null | null | null | from django.views.generic import View
class ReportErrorView(View):
def get(self, request, *args, **kwargs):
return 1 / 0
| 17.875 | 45 | 0.636364 | 18 | 143 | 5.055556 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.258741 | 143 | 7 | 46 | 20.428571 | 0.839623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
07cc7b989cfa384bd4ca511387c7e386d6a7bef8 | 120 | py | Python | stormspotter/ingestor/assets/azure/utils.py | jemrobinson/Stormspotter | 833695a63b848e3e10369a630d228e7c51be6c65 | [
"Apache-2.0",
"MIT"
] | null | null | null | stormspotter/ingestor/assets/azure/utils.py | jemrobinson/Stormspotter | 833695a63b848e3e10369a630d228e7c51be6c65 | [
"Apache-2.0",
"MIT"
] | null | null | null | stormspotter/ingestor/assets/azure/utils.py | jemrobinson/Stormspotter | 833695a63b848e3e10369a630d228e7c51be6c65 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-08T21:54:06.000Z | 2021-09-08T21:54:06.000Z | import re
from msrestazure.azure_exceptions import CloudError
from stormspotter.ingestor.utils import SSC as context
| 17.142857 | 54 | 0.85 | 16 | 120 | 6.3125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 6 | 55 | 20 | 0.961905 | 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 |
07eeb246b2c538e4f48a224f8946c1c654e78112 | 217 | py | Python | main/PluginDemos/GlobalBoundaryPixelTracker/Simulation/cellsort_2D_boundary.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/PluginDemos/GlobalBoundaryPixelTracker/Simulation/cellsort_2D_boundary.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/PluginDemos/GlobalBoundaryPixelTracker/Simulation/cellsort_2D_boundary.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | 1 | 2021-02-26T21:50:29.000Z | 2021-02-26T21:50:29.000Z | from cc3d import CompuCellSetup
from cellsort_2D_boundarySteppables import cellsort_2D_boundarySteppable
CompuCellSetup.register_steppable(steppable=cellsort_2D_boundarySteppable(frequency=1))
CompuCellSetup.run()
| 27.125 | 87 | 0.894009 | 23 | 217 | 8.130435 | 0.565217 | 0.160428 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02451 | 0.059908 | 217 | 7 | 88 | 31 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
6af71ebd42ac9ce6c62b1eedfd3ccb3764bf5d25 | 189 | py | Python | utils/tests/test_State.py | YotamAlon/AudioChef | d06796b789eda945b018e5685e8440a232ceadd3 | [
"MIT"
] | null | null | null | utils/tests/test_State.py | YotamAlon/AudioChef | d06796b789eda945b018e5685e8440a232ceadd3 | [
"MIT"
] | null | null | null | utils/tests/test_State.py | YotamAlon/AudioChef | d06796b789eda945b018e5685e8440a232ceadd3 | [
"MIT"
] | null | null | null | from utils.State import state
class TestState:
def test_get_set_prop(self):
state.set_prop('test_key', 'test_value')
assert state.get_prop('test_key') == 'test_value'
| 23.625 | 57 | 0.693122 | 28 | 189 | 4.357143 | 0.535714 | 0.114754 | 0.180328 | 0.245902 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 189 | 7 | 58 | 27 | 0.797386 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 |
ed3fec30bb7ec8383945eb4dae793f2652b7b9e3 | 640 | py | Python | src/flask_bombril/form_validators/unique/__init__.py | marcoprado17/flask-bone | 772d25bdf6c6e41701da1ef2e2a67bae7ae21757 | [
"MIT"
] | null | null | null | src/flask_bombril/form_validators/unique/__init__.py | marcoprado17/flask-bone | 772d25bdf6c6e41701da1ef2e2a67bae7ae21757 | [
"MIT"
] | null | null | null | src/flask_bombril/form_validators/unique/__init__.py | marcoprado17/flask-bone | 772d25bdf6c6e41701da1ef2e2a67bae7ae21757 | [
"MIT"
] | null | null | null | # !/usr/bin/env python
# -*- coding: utf-8 -*-
# ======================================================================================================================
# The MIT License (MIT)
# ======================================================================================================================
# Copyr... | 58.181818 | 120 | 0.339063 | 39 | 640 | 5.410256 | 0.74359 | 0.075829 | 0.113744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.0625 | 640 | 10 | 121 | 64 | 0.343333 | 0.757813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ed47b8526f19e3d6973785f29bf760f412e50d00 | 471 | py | Python | challenges/3.A.Logical_And_Operator/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 141 | 2017-05-07T00:38:22.000Z | 2022-03-25T10:14:25.000Z | challenges/3.A.Logical_And_Operator/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 23 | 2017-05-06T23:57:37.000Z | 2018-03-23T19:07:32.000Z | challenges/3.A.Logical_And_Operator/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 143 | 2017-05-07T09:33:35.000Z | 2022-03-12T21:04:13.000Z | import unittest
from main import *
class BooleanAndOperatorTests(unittest.TestCase):
def test_main(self):
self.assertIsNotNone(boolean_and(30))
self.assertEqual(boolean_and(1), "Try Again")
self.assertEqual(boolean_and(24), "Try Again")
self.assertEqual(boolean_and(25), "Pass")
... | 36.230769 | 54 | 0.685775 | 57 | 471 | 5.526316 | 0.421053 | 0.222222 | 0.419048 | 0.47619 | 0.485714 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0.033854 | 0.184713 | 471 | 12 | 55 | 39.25 | 0.786458 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.090909 | false | 0.272727 | 0.181818 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ed55c28f9c5c92f98463fc5c49daed997e554731 | 8,752 | py | Python | tests/test_configuration.py | amor71/sanic-jwt | 93a3e51f3c6e6c81f83a99b4e175c3d32b33f204 | [
"MIT"
] | 1 | 2019-03-19T12:30:33.000Z | 2019-03-19T12:30:33.000Z | tests/test_configuration.py | amor71/sanic-jwt | 93a3e51f3c6e6c81f83a99b4e175c3d32b33f204 | [
"MIT"
] | null | null | null | tests/test_configuration.py | amor71/sanic-jwt | 93a3e51f3c6e6c81f83a99b4e175c3d32b33f204 | [
"MIT"
] | null | null | null | import pytest
from sanic import Sanic
from sanic.response import json
from sanic_jwt import Configuration, exceptions, initialize, Initialize
from sanic_jwt.configuration import ConfigItem
def test_configuration_initialize_method_default():
try:
app = Sanic()
initialize(app, authenticate=lambda: ... | 28.601307 | 90 | 0.691728 | 971 | 8,752 | 5.993821 | 0.136972 | 0.066151 | 0.06701 | 0.047251 | 0.810997 | 0.764089 | 0.737285 | 0.724742 | 0.684536 | 0.677663 | 0 | 0.002863 | 0.201782 | 8,752 | 305 | 91 | 28.695082 | 0.830232 | 0.009941 | 0 | 0.621891 | 0 | 0 | 0.099284 | 0.014315 | 0 | 0 | 0 | 0 | 0.124378 | 1 | 0.129353 | false | 0.00995 | 0.024876 | 0.029851 | 0.308458 | 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 |
ed5f3078f02ed1ca5bcc2b82ab9acc7028d3f77c | 269 | py | Python | src/pymortests/basic.py | TiKeil/pymor | 5c6b3b6e1714b5ede11ce7cf03399780ab29d252 | [
"Unlicense"
] | 1 | 2020-12-31T18:45:48.000Z | 2020-12-31T18:45:48.000Z | src/pymortests/basic.py | TreeerT/pymor | e8b18d2d4c4b5998f0bd84f6728e365e0693b753 | [
"Unlicense"
] | 4 | 2022-03-17T10:07:38.000Z | 2022-03-30T12:41:06.000Z | src/pymortests/basic.py | TreeerT/pymor | e8b18d2d4c4b5998f0bd84f6728e365e0693b753 | [
"Unlicense"
] | null | null | null | # This file is part of the pyMOR project (http://www.pymor.org).
# Copyright 2013-2020 pyMOR developers and contributors. All rights reserved.
# License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
def test_importable():
import pymor.basic
| 33.625 | 77 | 0.754647 | 40 | 269 | 5.05 | 0.775 | 0.039604 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042918 | 0.133829 | 269 | 7 | 78 | 38.428571 | 0.824034 | 0.795539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c13201590d56bde0b842bd7b885d81dad0d98ef | 129 | py | Python | improc/evaluation/__init__.py | antsfamily/improc | ceab171b0e61187fa2ced7c58540d5ffde79ebac | [
"MIT"
] | 2 | 2019-09-29T08:43:31.000Z | 2022-01-12T09:46:18.000Z | improc/evaluation/__init__.py | antsfamily/improc | ceab171b0e61187fa2ced7c58540d5ffde79ebac | [
"MIT"
] | null | null | null | improc/evaluation/__init__.py | antsfamily/improc | ceab171b0e61187fa2ced7c58540d5ffde79ebac | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .quality import mse, psnr, showorirec, normalization
from .ssims import ssim, gssim
| 32.25 | 58 | 0.821705 | 17 | 129 | 5.941176 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 3 | 59 | 43 | 0.901786 | 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 |
9c134e58d22f13e52d65f2ce8e2aa26a4f374f39 | 28 | py | Python | code/abc023_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc023_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc023_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | print(sum(map(int,input()))) | 28 | 28 | 0.678571 | 5 | 28 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 28 | 1 | 28 | 28 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9c732788bf8f5980a9684cfec176b8f8b32c5eed | 225 | py | Python | mySite/applications/resume/urls.py | ALittleMoron/django_mySite | b0cedcc31d9016a862015bc7da0de7ff09441e8b | [
"Unlicense"
] | null | null | null | mySite/applications/resume/urls.py | ALittleMoron/django_mySite | b0cedcc31d9016a862015bc7da0de7ff09441e8b | [
"Unlicense"
] | null | null | null | mySite/applications/resume/urls.py | ALittleMoron/django_mySite | b0cedcc31d9016a862015bc7da0de7ff09441e8b | [
"Unlicense"
] | null | null | null | from django.urls import path
from .views import Resume, GitHubProjects
urlpatterns = [
path('', Resume.as_view(), name='resume'),
path('git-hub-projects/', GitHubProjects.as_view(), name='resume/gitHubProjects'),
] | 25 | 86 | 0.711111 | 27 | 225 | 5.851852 | 0.555556 | 0.253165 | 0.126582 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128889 | 225 | 9 | 87 | 25 | 0.806122 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 0.09292 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9c790759021794710ea2aefb9f825b1c1c4e55b2 | 1,728 | py | Python | tests/networks/test_parallel.py | mtcrawshaw/meta-world | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | 4 | 2021-09-21T07:24:26.000Z | 2022-03-25T00:28:33.000Z | tests/networks/test_parallel.py | mtcrawshaw/meta | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | null | null | null | tests/networks/test_parallel.py | mtcrawshaw/meta | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | null | null | null | """ Unit tests for meta/networks/parallel.py. """
import torch
import torch.nn as nn
from meta.networks.utils import Parallel
INPUT_SIZE = 10
OUTPUT_SIZE = 8
NUM_LAYERS = 5
BATCH_SIZE = 6
def test_new_dim():
"""
Test that outputs from Parallel are correctly computed and stacked when
`new_dim=True`.
... | 27.428571 | 85 | 0.69213 | 233 | 1,728 | 4.965665 | 0.257511 | 0.054451 | 0.048401 | 0.055315 | 0.767502 | 0.713915 | 0.713915 | 0.713915 | 0.713915 | 0.713915 | 0 | 0.007358 | 0.213542 | 1,728 | 62 | 86 | 27.870968 | 0.844003 | 0.311343 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.2 | 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 |
9c7f8b7459fcb4a583080ba3e5c8c88b603610b7 | 39 | py | Python | pygads/__init__.py | dacker-team/pygads | 44e6182c2a4f0c663be2851747c4a02135ce6e70 | [
"MIT"
] | null | null | null | pygads/__init__.py | dacker-team/pygads | 44e6182c2a4f0c663be2851747c4a02135ce6e70 | [
"MIT"
] | null | null | null | pygads/__init__.py | dacker-team/pygads | 44e6182c2a4f0c663be2851747c4a02135ce6e70 | [
"MIT"
] | null | null | null | from pygads.GoogleAds import GoogleAds
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
92bb143d6446635359e86e0ff4941a8fe91aa472 | 5,984 | py | Python | tests/test_aiohttp_validate.py | alu0100832211/aiohttp_validate | 894ac6a4d84b7bb9a480e34a78ea6d5a518f9fd3 | [
"MIT"
] | 55 | 2016-10-12T17:44:41.000Z | 2021-03-31T15:24:13.000Z | tests/test_aiohttp_validate.py | alu0100832211/aiohttp_validate | 894ac6a4d84b7bb9a480e34a78ea6d5a518f9fd3 | [
"MIT"
] | 447 | 2016-12-13T23:39:25.000Z | 2022-03-27T20:38:18.000Z | tests/test_aiohttp_validate.py | alu0100832211/aiohttp_validate | 894ac6a4d84b7bb9a480e34a78ea6d5a518f9fd3 | [
"MIT"
] | 13 | 2018-02-06T16:15:58.000Z | 2020-08-21T06:55:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_aiohttp_validate
----------------------------------
Tests for `aiohttp_validate` module.
"""
from datetime import datetime
from aiohttp_validate import validate
from aiohttp import web
@validate(
request_schema={
"type": "object",
"propert... | 26.477876 | 79 | 0.590241 | 669 | 5,984 | 5.164425 | 0.122571 | 0.052677 | 0.05644 | 0.044284 | 0.74877 | 0.714327 | 0.714327 | 0.714327 | 0.703907 | 0.650651 | 0 | 0.010302 | 0.253844 | 5,984 | 225 | 80 | 26.595556 | 0.763494 | 0.057152 | 0 | 0.64881 | 0 | 0 | 0.161216 | 0 | 0 | 0 | 0 | 0 | 0.172619 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.059524 | 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 |
92f172e5abf61df4e63cc9a5d84b6ec2a0b3c0db | 159 | py | Python | importCSVJSON/admin.py | alokknight/smartserve | b52504525902f0ef72251c553156d6ff7e5f540c | [
"MIT"
] | 2 | 2022-01-02T20:53:33.000Z | 2022-01-06T16:17:32.000Z | importCSVJSON/admin.py | alokknight/smartserve | b52504525902f0ef72251c553156d6ff7e5f540c | [
"MIT"
] | null | null | null | importCSVJSON/admin.py | alokknight/smartserve | b52504525902f0ef72251c553156d6ff7e5f540c | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Form_fields,Csv
admin.site.register(Form_fields)
admin.site.register(Csv)
| 19.875 | 36 | 0.805031 | 24 | 159 | 5.25 | 0.541667 | 0.15873 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 159 | 7 | 37 | 22.714286 | 0.893617 | 0.163522 | 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 |
92f73b790df818397af9f386a5f4c14fd19b6177 | 102 | py | Python | blog/admin.py | mr-shubhamsinghal/Django-Routers | 1be4a96dc07c553efe97d2e99c0ffc900330634f | [
"MIT"
] | null | null | null | blog/admin.py | mr-shubhamsinghal/Django-Routers | 1be4a96dc07c553efe97d2e99c0ffc900330634f | [
"MIT"
] | null | null | null | blog/admin.py | mr-shubhamsinghal/Django-Routers | 1be4a96dc07c553efe97d2e99c0ffc900330634f | [
"MIT"
] | null | null | null |
from django.contrib import admin
from blog.models import BlogModel
admin.site.register(BlogModel)
| 12.75 | 33 | 0.813725 | 14 | 102 | 5.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 7 | 34 | 14.571429 | 0.932584 | 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 |
133d75a2c48c56ee0ccfe110c732a582453610cd | 130 | py | Python | notification/admin.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 36 | 2019-11-26T11:46:32.000Z | 2022-02-17T13:18:18.000Z | notification/admin.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 13 | 2020-02-14T09:30:16.000Z | 2022-03-12T00:58:09.000Z | notification/admin.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 16 | 2019-06-14T12:11:29.000Z | 2022-02-14T15:16:07.000Z | from django.contrib import admin
# Register your models here.
from .models import Notification
admin.site.register(Notification) | 21.666667 | 33 | 0.823077 | 17 | 130 | 6.294118 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 130 | 6 | 33 | 21.666667 | 0.930435 | 0.2 | 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 |
1367dc7168a835d6c86ca93634a6d8d80d888018 | 161 | py | Python | common/__init__.py | Reimilia/Proxy_Server | d04dd083604fd39d161dd0382b49d2d3f4ab8b80 | [
"MIT"
] | null | null | null | common/__init__.py | Reimilia/Proxy_Server | d04dd083604fd39d161dd0382b49d2d3f4ab8b80 | [
"MIT"
] | null | null | null | common/__init__.py | Reimilia/Proxy_Server | d04dd083604fd39d161dd0382b49d2d3f4ab8b80 | [
"MIT"
] | null | null | null | import sys
sys.path.append('..')
from config import SERVER_BASE,PRIVACY_BASE
from json_parser import list2json,json2list
from resp_wrapper import filter_policy
| 23 | 43 | 0.838509 | 24 | 161 | 5.416667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.099379 | 161 | 6 | 44 | 26.833333 | 0.882759 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
138d113e5b35e677f7129af7ce2e61c69cded680 | 19 | py | Python | app/middlewares/__init__.py | oseme-techguy/python-pdf-annotation-api-demo | b86dd4e20e9cc13237eacc9a32bb142d4bb28755 | [
"MIT"
] | 1 | 2019-10-10T17:15:23.000Z | 2019-10-10T17:15:23.000Z | app/middlewares/__init__.py | oseme-techguy/python-pdf-annotation-api-demo | b86dd4e20e9cc13237eacc9a32bb142d4bb28755 | [
"MIT"
] | null | null | null | app/middlewares/__init__.py | oseme-techguy/python-pdf-annotation-api-demo | b86dd4e20e9cc13237eacc9a32bb142d4bb28755 | [
"MIT"
] | null | null | null | """Middlewares"""
| 6.333333 | 17 | 0.578947 | 1 | 19 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 2 | 18 | 9.5 | 0.647059 | 0.578947 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
139b1e7a838bce5244c71bbd93c4679607e21a52 | 66 | py | Python | codigo.py | RobertoManzoA01748301/HCAP2021 | fc3f834d276cbb47a6d10ebf323ab61c709f5901 | [
"MIT"
] | null | null | null | codigo.py | RobertoManzoA01748301/HCAP2021 | fc3f834d276cbb47a6d10ebf323ab61c709f5901 | [
"MIT"
] | null | null | null | codigo.py | RobertoManzoA01748301/HCAP2021 | fc3f834d276cbb47a6d10ebf323ab61c709f5901 | [
"MIT"
] | null | null | null | import math
print(math.pi)
print('Hola, esta es una nueva linea')
| 16.5 | 38 | 0.742424 | 12 | 66 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 3 | 39 | 22 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0.439394 | 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 |
139be43390434bcb2a38161d2ba9b4d203ac6eef | 130 | py | Python | mindefuse/strategy/knuth/score_count/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | null | null | null | mindefuse/strategy/knuth/score_count/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | 1 | 2019-08-22T19:51:12.000Z | 2019-08-22T19:51:12.000Z | mindefuse/strategy/knuth/score_count/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.7
from .score_count import ScoreCount
from .simple import SimpleScore
from .parallel import ParallelScore
| 21.666667 | 35 | 0.815385 | 18 | 130 | 5.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.115385 | 130 | 5 | 36 | 26 | 0.895652 | 0.176923 | 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 |
13c6ac3e03efcb9597799e7818b124223e6b500e | 2,483 | py | Python | source_convert_IFF_code/341/comb_mslp_IFF_jasmin.py | glamod/glamod-nuim | eed6f9d7d71b0c456ef39fdea6b58677e13ab50c | [
"BSD-3-Clause"
] | null | null | null | source_convert_IFF_code/341/comb_mslp_IFF_jasmin.py | glamod/glamod-nuim | eed6f9d7d71b0c456ef39fdea6b58677e13ab50c | [
"BSD-3-Clause"
] | 23 | 2022-01-28T13:57:39.000Z | 2022-03-28T09:34:41.000Z | source_convert_IFF_code/341/comb_mslp_IFF_jasmin.py | glamod/glamod-nuim | eed6f9d7d71b0c456ef39fdea6b58677e13ab50c | [
"BSD-3-Clause"
] | 1 | 2019-01-24T12:06:06.000Z | 2019-01-24T12:06:06.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Jul 17 14:22:41 2019
@author: snoone
"""
import os
import glob
import pandas as pd
import csv
##import all csv files in current dir that need timezone changing to GMT based on hours offset
os.chdir("/gws/nopw/j04/c3s311a_lot2/data/level1/land/level1a_sub_daily... | 39.412698 | 104 | 0.724527 | 416 | 2,483 | 4.129808 | 0.225962 | 0.083818 | 0.074505 | 0.088475 | 0.75844 | 0.75844 | 0.737485 | 0.737485 | 0.737485 | 0.737485 | 0 | 0.054388 | 0.118808 | 2,483 | 63 | 105 | 39.412698 | 0.730804 | 0.126057 | 0 | 0.324324 | 0 | 0 | 0.358644 | 0.316141 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.108108 | 0 | 0.108108 | 0.027027 | 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 |
13ebec7c0d87c45694c391d2b6e46ff1dfbba84a | 57 | py | Python | rltorch/distributed/__init__.py | cindycia/Atari-SAC-Discrete | 5d92339f3efbac34488a14db024499b8951fc3b3 | [
"MIT"
] | 16 | 2019-11-15T13:37:20.000Z | 2022-01-24T10:29:38.000Z | rltorch/distributed/__init__.py | cindycia/Atari-SAC-Discrete | 5d92339f3efbac34488a14db024499b8951fc3b3 | [
"MIT"
] | 1 | 2020-05-09T18:24:21.000Z | 2020-05-10T12:44:39.000Z | rltorch/distributed/__init__.py | ku2482/rltorch | 7819af49d95bfa268e00413a7606564b0e7286a7 | [
"MIT"
] | 3 | 2020-12-21T08:21:15.000Z | 2022-01-24T10:29:43.000Z | from .run import run_actor, run_learner, run_distributed
| 28.5 | 56 | 0.842105 | 9 | 57 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.882353 | 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 |
b9157314febba44e077157623603c54a07641308 | 1,728 | py | Python | validators/credit_card.py | uditjuneja/open-finanace-india | 856387f3327e9aa67aa16ab2e89ff4fce2e99878 | [
"MIT"
] | 5 | 2020-12-24T14:11:16.000Z | 2022-02-26T21:25:41.000Z | validators/credit_card.py | uditjuneja/open-finance-india | 856387f3327e9aa67aa16ab2e89ff4fce2e99878 | [
"MIT"
] | null | null | null | validators/credit_card.py | uditjuneja/open-finance-india | 856387f3327e9aa67aa16ab2e89ff4fce2e99878 | [
"MIT"
] | null | null | null | import re
RE_CREDIT_CARD = {
"Amex Card": re.compile(r"^3[47][0-9]{13}$"),
"BCGlobal": re.compile(r"^(6541|6556)[0-9]{12}$"),
"Carte Blanche Card": re.compile(r"^389[0-9]{11}$"),
"Diners Club Card": re.compile(r"^3(?:0[0-5]|[68][0-9])[0-9]{11}$"),
"Discover Card": re.compile(
r"^65[4-9][0-9... | 43.2 | 231 | 0.543981 | 346 | 1,728 | 2.676301 | 0.277457 | 0.088553 | 0.172786 | 0.196544 | 0.192225 | 0.146868 | 0.131749 | 0.131749 | 0.047516 | 0.047516 | 0 | 0.287441 | 0.13831 | 1,728 | 39 | 232 | 44.307692 | 0.334453 | 0 | 0 | 0.117647 | 0 | 0.205882 | 0.587963 | 0.429398 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9534ecd8cc680c48ef160e4be0d0d4b829e302b | 170 | py | Python | symopt/solvers/__init__.py | spcornelius/symopt | 6f276ca07cc266af1cd58758a0cf413ab85f2591 | [
"MIT"
] | null | null | null | symopt/solvers/__init__.py | spcornelius/symopt | 6f276ca07cc266af1cd58758a0cf413ab85f2591 | [
"MIT"
] | null | null | null | symopt/solvers/__init__.py | spcornelius/symopt | 6f276ca07cc266af1cd58758a0cf413ab85f2591 | [
"MIT"
] | null | null | null | import symopt.solvers.scipy
import symopt.solvers.ipopt
solve = {'slsqp': scipy.solve_slsqp,
'cobyla': scipy.solve_cobyla,
'ipopt': ipopt.solve_ipopt}
| 24.285714 | 38 | 0.694118 | 21 | 170 | 5.47619 | 0.380952 | 0.208696 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182353 | 170 | 6 | 39 | 28.333333 | 0.827338 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b9aa696e3bb37377db5c12cf613c6dd24deaa8a2 | 101 | py | Python | tests/cases/build/optimize_comparison_operators.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | null | null | null | tests/cases/build/optimize_comparison_operators.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | 5 | 2022-02-12T19:53:08.000Z | 2022-03-02T04:30:32.000Z | tests/cases/build/optimize_comparison_operators.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | null | null | null | from minpiler.std import M
if 1 < 3 < 5:
M.print("a")
M.print("b")
# > print "a"
# > print "b"
| 11.222222 | 26 | 0.524752 | 19 | 101 | 2.789474 | 0.631579 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.257426 | 101 | 8 | 27 | 12.625 | 0.666667 | 0.227723 | 0 | 0 | 0 | 0 | 0.026667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 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 | 0 | 1 | 0 | 5 |
b9ad74894c61b441770f155e7a1ae7270ab1e657 | 44 | py | Python | nmrs.py | Bapcraft/NCJDBCMM-MySQL-REST-Server | 38c639e3e390820094ecb9dd5aec2e1f6f93cbf3 | [
"MIT"
] | null | null | null | nmrs.py | Bapcraft/NCJDBCMM-MySQL-REST-Server | 38c639e3e390820094ecb9dd5aec2e1f6f93cbf3 | [
"MIT"
] | null | null | null | nmrs.py | Bapcraft/NCJDBCMM-MySQL-REST-Server | 38c639e3e390820094ecb9dd5aec2e1f6f93cbf3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
print 'hello world!'
| 11 | 21 | 0.681818 | 7 | 44 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 22 | 14.666667 | 0.789474 | 0.454545 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b9e3663894dff0a8d86561a30f109e3e7b90b96c | 50 | py | Python | scripts/portal/gold_boss_gate.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/gold_boss_gate.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/gold_boss_gate.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 252020000 - to gold boss
sm.warp(252020700, 0)
| 12.5 | 26 | 0.7 | 8 | 50 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.463415 | 0.18 | 50 | 3 | 27 | 16.666667 | 0.390244 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a2377c9f296acc2c349ea5e43067c8c10b2d7c1 | 297 | py | Python | python/helpers/third_party/thriftpy/_shaded_thriftpy/__init__.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/helpers/third_party/thriftpy/_shaded_thriftpy/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/helpers/third_party/thriftpy/_shaded_thriftpy/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | # -*- coding: utf-8 -*-
import sys
from .hook import install_import_hook, remove_import_hook
from .parser import load, load_module, load_fp
__version__ = '0.3.8'
__python__ = sys.version_info
__all__ = ["install_import_hook", "remove_import_hook", "load", "load_module",
"load_fp"]
| 24.75 | 79 | 0.717172 | 42 | 297 | 4.47619 | 0.452381 | 0.212766 | 0.180851 | 0.244681 | 0.56383 | 0.351064 | 0 | 0 | 0 | 0 | 0 | 0.015936 | 0.154882 | 297 | 11 | 80 | 27 | 0.733068 | 0.070707 | 0 | 0 | 0 | 0 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
6a284dad752d65cc166145f2a15948be2229f591 | 3,023 | py | Python | Fundamentos de Algoritmos/Prova/Ex_02.py | antuniooh/ExercisesFEI | fea8855178e098713173aceee0f0616a69c438e4 | [
"MIT"
] | 1 | 2021-05-05T22:55:03.000Z | 2021-05-05T22:55:03.000Z | Fundamentos de Algoritmos/Prova/Ex_02.py | antuniooh/ExercisesFEI | fea8855178e098713173aceee0f0616a69c438e4 | [
"MIT"
] | null | null | null | Fundamentos de Algoritmos/Prova/Ex_02.py | antuniooh/ExercisesFEI | fea8855178e098713173aceee0f0616a69c438e4 | [
"MIT"
] | 1 | 2021-11-24T06:55:09.000Z | 2021-11-24T06:55:09.000Z |
# coding: utf-8
# In[1]:
from palavra import aleatoria
def main():
p = aleatoria()
erros = 6
t1 = []
digitadas = ""
#criar list t1 #desenhar os pontinhos
for x in range(len(p)):
t1 += p[x]
for y in range(len(t1)):
t1[y] = "."
print(p)
def impressão():
... | 26.286957 | 69 | 0.296725 | 252 | 3,023 | 3.527778 | 0.265873 | 0.283465 | 0.445444 | 0.391451 | 0.413948 | 0.413948 | 0.380202 | 0.380202 | 0.380202 | 0.370079 | 0 | 0.018464 | 0.552101 | 3,023 | 114 | 70 | 26.517544 | 0.638109 | 0.045981 | 0 | 0.531915 | 0 | 0 | 0.136696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.010638 | 0 | 0.031915 | 0.606383 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6a395782d2becfd163024e57d5bfbd025d1764ff | 801 | py | Python | allennlp/modules/token_embedders/__init__.py | SivilTaram/allennlp | b50f22c3f45281c1be6a0fbb041137c3f5bf2131 | [
"Apache-2.0"
] | 1 | 2019-01-04T15:15:42.000Z | 2019-01-04T15:15:42.000Z | allennlp/modules/token_embedders/__init__.py | SivilTaram/allennlp | b50f22c3f45281c1be6a0fbb041137c3f5bf2131 | [
"Apache-2.0"
] | null | null | null | allennlp/modules/token_embedders/__init__.py | SivilTaram/allennlp | b50f22c3f45281c1be6a0fbb041137c3f5bf2131 | [
"Apache-2.0"
] | null | null | null | """
A :class:`~allennlp.modules.token_embedders.token_embedder.TokenEmbedder` is a ``Module`` that
embeds one-hot-encoded tokens as vectors.
"""
from allennlp.modules.token_embedders.token_embedder import TokenEmbedder
from allennlp.modules.token_embedders.embedding import Embedding
from allennlp.modules.token_embedde... | 57.214286 | 101 | 0.878901 | 90 | 801 | 7.577778 | 0.4 | 0.175953 | 0.234604 | 0.340176 | 0.426686 | 0.184751 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064919 | 801 | 13 | 102 | 61.615385 | 0.910547 | 0.169788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a3ad8e8c84491ed7931d0702fa86fe6de6be2d6 | 162 | py | Python | supabase/__init__.py | anoushk1234/supabase-py | 3e0c0604732a5f6399826455c78e6f4320bc8761 | [
"MIT"
] | 201 | 2020-08-28T06:29:44.000Z | 2021-09-13T20:15:15.000Z | supabase/__init__.py | anoushk1234/supabase-py | 3e0c0604732a5f6399826455c78e6f4320bc8761 | [
"MIT"
] | 31 | 2020-08-28T06:38:31.000Z | 2021-09-12T15:47:48.000Z | supabase/__init__.py | anoushk1234/supabase-py | 3e0c0604732a5f6399826455c78e6f4320bc8761 | [
"MIT"
] | 22 | 2020-10-02T15:32:12.000Z | 2021-09-13T12:31:12.000Z | __version__ = "0.0.3"
from supabase import client, lib
from supabase.client import Client, create_client
__all__ = ["client", "lib", "Client", "create_client"]
| 23.142857 | 54 | 0.734568 | 22 | 162 | 4.954545 | 0.454545 | 0.220183 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.12963 | 162 | 6 | 55 | 27 | 0.751773 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e0758bc3639165bb7f5b4747ebb37868a5fe58fc | 5,206 | py | Python | solutions/models.py | Kgermando/e-s | 249ada84c63ffe99a71c1fbb301c533b9f5a3869 | [
"Apache-2.0"
] | null | null | null | solutions/models.py | Kgermando/e-s | 249ada84c63ffe99a71c1fbb301c533b9f5a3869 | [
"Apache-2.0"
] | null | null | null | solutions/models.py | Kgermando/e-s | 249ada84c63ffe99a71c1fbb301c533b9f5a3869 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.db.models.signals import pre_save
from django.urls import reverse
from es.utils import unique_slug_generator_solution
from es.constant import SECTEUR_ENTREPRISES
from tinymce import HTMLField
# Create your models here.
class Entreprise_solution(models.Model):
"""
Entre... | 51.039216 | 120 | 0.769497 | 687 | 5,206 | 5.605531 | 0.158661 | 0.042067 | 0.046741 | 0.089587 | 0.81771 | 0.803947 | 0.71462 | 0.71462 | 0.662685 | 0.494417 | 0 | 0.013402 | 0.140031 | 5,206 | 101 | 121 | 51.544554 | 0.846772 | 0.014406 | 0 | 0.28 | 0 | 0 | 0.188791 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093333 | false | 0 | 0.08 | 0.08 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0eb2539e4312766b6516457648742eb3bd837d0c | 208 | py | Python | valohai_cli/commands/project/__init__.py | valohai/valohai-cli | d45f4d8d3b39e803730c070a40f8d2ddfbfb661c | [
"MIT"
] | 11 | 2017-11-06T16:31:46.000Z | 2020-10-26T09:55:12.000Z | valohai_cli/commands/project/__init__.py | valohai/valohai-cli | d45f4d8d3b39e803730c070a40f8d2ddfbfb661c | [
"MIT"
] | 147 | 2017-04-06T09:46:11.000Z | 2022-03-10T16:24:15.000Z | valohai_cli/commands/project/__init__.py | valohai/valohai-cli | d45f4d8d3b39e803730c070a40f8d2ddfbfb661c | [
"MIT"
] | 4 | 2017-04-16T16:00:51.000Z | 2021-07-05T11:36:36.000Z | import click
from valohai_cli.plugin_cli import PluginCLI
@click.command(cls=PluginCLI, commands_module='valohai_cli.commands.project')
def project() -> None:
"""
Project-related commands.
"""
| 18.909091 | 77 | 0.730769 | 25 | 208 | 5.92 | 0.6 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149038 | 208 | 10 | 78 | 20.8 | 0.836158 | 0.120192 | 0 | 0 | 0 | 0 | 0.167665 | 0.167665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0ec0c866ca9c7df428dc7de55224be10e9e1fad8 | 391 | py | Python | best_practice/mobile_web/rdc/test_login_fail.py | kmissoumi/demo-python | 1376d62c80374923edf7afa364697e4a6a9ce56b | [
"MIT"
] | null | null | null | best_practice/mobile_web/rdc/test_login_fail.py | kmissoumi/demo-python | 1376d62c80374923edf7afa364697e4a6a9ce56b | [
"MIT"
] | null | null | null | best_practice/mobile_web/rdc/test_login_fail.py | kmissoumi/demo-python | 1376d62c80374923edf7afa364697e4a6a9ce56b | [
"MIT"
] | 1 | 2022-01-07T22:13:29.000Z | 2022-01-07T22:13:29.000Z | def test_valid_login(rdc_browser):
rdc_browser.get('https://www.saucedemo.com/v1')
rdc_browser.find_element_by_id('user-name').send_keys('locked_out_user')
rdc_browser.find_element_by_id('password').send_keys('secret_sauce')
rdc_browser.find_element_by_css_selector('.btn_action').click()
assert rd... | 43.444444 | 83 | 0.785166 | 60 | 391 | 4.633333 | 0.583333 | 0.215827 | 0.201439 | 0.302158 | 0.42446 | 0.42446 | 0.244604 | 0 | 0 | 0 | 0 | 0.00277 | 0.076726 | 391 | 8 | 84 | 48.875 | 0.767313 | 0 | 0 | 0 | 0 | 0 | 0.245524 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0.166667 | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0ed15c228176b65928e565e8010386c95c489aa6 | 18,885 | py | Python | tests/data_asset/test_expectation_decorators.py | lfpll/great_expectations | f61fa7c2e6e813cd5ff84ab7403e05271cada257 | [
"Apache-2.0"
] | 1 | 2020-04-10T18:07:58.000Z | 2020-04-10T18:07:58.000Z | tests/data_asset/test_expectation_decorators.py | lfpll/great_expectations | f61fa7c2e6e813cd5ff84ab7403e05271cada257 | [
"Apache-2.0"
] | null | null | null | tests/data_asset/test_expectation_decorators.py | lfpll/great_expectations | f61fa7c2e6e813cd5ff84ab7403e05271cada257 | [
"Apache-2.0"
] | null | null | null | import pytest
from great_expectations.core import (
ExpectationConfiguration,
ExpectationKwargs,
ExpectationValidationResult,
)
from great_expectations.data_asset import DataAsset
from great_expectations.dataset import MetaPandasDataset, PandasDataset
class ExpectationOnlyDataAsset(DataAsset):
@DataA... | 33.424779 | 102 | 0.579613 | 1,967 | 18,885 | 5.237926 | 0.087443 | 0.043774 | 0.033971 | 0.044647 | 0.803358 | 0.781132 | 0.753373 | 0.730079 | 0.695331 | 0.660875 | 0 | 0.032999 | 0.297167 | 18,885 | 564 | 103 | 33.484043 | 0.743238 | 0.040032 | 0 | 0.639344 | 0 | 0 | 0.245653 | 0.10069 | 0 | 0 | 0 | 0 | 0.067623 | 1 | 0.030738 | false | 0 | 0.008197 | 0.010246 | 0.059426 | 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 |
0ee42d7d20a116a80d10b2bff0cf787200a8bfbb | 76 | py | Python | colorchron/led/__init__.py | harmsm/pantone | 23f7875680666f5546757f988e872f86ad76b888 | [
"MIT"
] | null | null | null | colorchron/led/__init__.py | harmsm/pantone | 23f7875680666f5546757f988e872f86ad76b888 | [
"MIT"
] | null | null | null | colorchron/led/__init__.py | harmsm/pantone | 23f7875680666f5546757f988e872f86ad76b888 | [
"MIT"
] | null | null | null | from .base import LED
from .gpio import GPIO
from .neopixel import Neopixel
| 19 | 30 | 0.802632 | 12 | 76 | 5.083333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 3 | 31 | 25.333333 | 0.953125 | 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 |
163a933e68d5b013a7b3c13df955469180ef3b2f | 96 | py | Python | eero_adguard_sync/models/adguard/__init__.py | amickael/eero-adguard-sync | 820db5cc69b96c25b0e2bdef83d911cac6e4ade1 | [
"MIT"
] | 2 | 2022-01-09T16:04:37.000Z | 2022-01-09T19:14:48.000Z | eero_adguard_sync/models/adguard/__init__.py | amickael/eero-adguard-sync | 820db5cc69b96c25b0e2bdef83d911cac6e4ade1 | [
"MIT"
] | 1 | 2022-03-25T20:27:58.000Z | 2022-03-28T00:39:04.000Z | eero_adguard_sync/models/adguard/__init__.py | amickael/eero-adguard-sync | 820db5cc69b96c25b0e2bdef83d911cac6e4ade1 | [
"MIT"
] | null | null | null | from .client_device import AdGuardClientDevice
from .credential_set import AdGuardCredentialSet
| 32 | 48 | 0.895833 | 10 | 96 | 8.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 49 | 48 | 0.954545 | 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 |
16b01d539f174d5e69dbaafa1a74484de4400357 | 125 | py | Python | Python/Tests/TestData/WFastCgi/BadHandler7/myapp.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/WFastCgi/BadHandler7/myapp.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/WFastCgi/BadHandler7/myapp.py | RaymonGulati1/PTVS | ee1d09f2a94be4e21016f7579205bb65ec82c616 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | import sys
sys.stderr.write('something to std err')
print('something to std out')
raise Exception('handler file is raising')
| 25 | 42 | 0.768 | 20 | 125 | 4.8 | 0.8 | 0.229167 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 125 | 4 | 43 | 31.25 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0.504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
16d91e9e1300e3185f0905a42d188b7a165d1a2a | 276 | py | Python | app/source/geo_django_rf/restapi/serializers/__init__.py | JanNash/geo-django-rf-server | 57a2d12204cdd8abceaa1c46c22f2947a8d45c20 | [
"BSD-3-Clause"
] | null | null | null | app/source/geo_django_rf/restapi/serializers/__init__.py | JanNash/geo-django-rf-server | 57a2d12204cdd8abceaa1c46c22f2947a8d45c20 | [
"BSD-3-Clause"
] | null | null | null | app/source/geo_django_rf/restapi/serializers/__init__.py | JanNash/geo-django-rf-server | 57a2d12204cdd8abceaa1c46c22f2947a8d45c20 | [
"BSD-3-Clause"
] | null | null | null | from .user_serializer import UserSerializer
from .group_serializer import GroupSerializer
from .profile_serializer import ProfileSerializer
from .photo_serializer import PhotoSerializer
__all__ = ['UserSerializer', 'GroupSerializer', 'ProfileSerializer', 'PhotoSerializer']
| 34.5 | 87 | 0.847826 | 25 | 276 | 9.04 | 0.48 | 0.283186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 276 | 7 | 88 | 39.428571 | 0.896825 | 0 | 0 | 0 | 0 | 0 | 0.221014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc458174a34fb2c055273244f97056d8a0c44a39 | 45,408 | pyt | Python | EBAR Tools.pyt | NatureServe-Canada/EBARTools | b7e24f4fcec4eb2f2073794266b382f8a964f73e | [
"CC-BY-4.0"
] | 6 | 2019-10-03T17:35:19.000Z | 2022-02-17T22:06:07.000Z | EBAR Tools.pyt | NatureServe-Canada/EBARTools | b7e24f4fcec4eb2f2073794266b382f8a964f73e | [
"CC-BY-4.0"
] | 6 | 2022-03-28T15:37:31.000Z | 2022-03-30T17:16:15.000Z | EBAR Tools.pyt | NatureServe-Canada/EBARTools | b7e24f4fcec4eb2f2073794266b382f8a964f73e | [
"CC-BY-4.0"
] | 2 | 2021-12-29T00:37:00.000Z | 2022-01-30T01:04:28.000Z | # Project: Ecosytem-based Automated Range Mapping (EBAR)
# Credits: Randal Greene, Christine Terwissen, Meg Southee
# © NatureServe Canada 2020 under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
# Program: EBAR Tools.pyt
# ArcGIS Python toolbox for importing species datasets and generating EBAR maps
# Not... | 38.351351 | 127 | 0.628568 | 4,398 | 45,408 | 6.399045 | 0.096407 | 0.02736 | 0.048858 | 0.057208 | 0.732402 | 0.723448 | 0.711758 | 0.700316 | 0.689834 | 0.686494 | 0 | 0.001879 | 0.285082 | 45,408 | 1,183 | 128 | 38.38377 | 0.865016 | 0.250793 | 0 | 0.752646 | 0 | 0.001323 | 0.158658 | 0.008336 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136243 | false | 0 | 0.063492 | 0 | 0.335979 | 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 |
bc57d3150c14090ddbb99264ce64be5a86d9f1ae | 63,337 | py | Python | fn_microsoft_security_graph/fn_microsoft_security_graph/util/customize.py | devsuds/resilient-community-apps | ce0b087a160dd1c2f86f8c261630b46ce6948ca2 | [
"MIT"
] | null | null | null | fn_microsoft_security_graph/fn_microsoft_security_graph/util/customize.py | devsuds/resilient-community-apps | ce0b087a160dd1c2f86f8c261630b46ce6948ca2 | [
"MIT"
] | null | null | null | fn_microsoft_security_graph/fn_microsoft_security_graph/util/customize.py | devsuds/resilient-community-apps | ce0b087a160dd1c2f86f8c261630b46ce6948ca2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_microsoft_security_graph"""
from __future__ import print_function
from resilient_circuits.util import *
def codegen_reload_data():
"""Parameters to codegen used to generate the fn_microsoft_security_graph package"""
reload_param... | 75.132859 | 402 | 0.970223 | 1,295 | 63,337 | 47.295753 | 0.73668 | 0.014156 | 0.018319 | 0.011462 | 0.030385 | 0.020605 | 0.01427 | 0.01058 | 0.01058 | 0.01058 | 0 | 0.12281 | 0.023967 | 63,337 | 843 | 403 | 75.132859 | 0.867953 | 0.024914 | 0 | 0.010038 | 1 | 0 | 0.986029 | 0.968233 | 0 | 1 | 0 | 0 | 0 | 1 | 0.002509 | false | 0 | 0.003764 | 0 | 0.007528 | 0.001255 | 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 |
bc64553455d0117c472f31755f339df30f6d7ac1 | 28 | py | Python | neuralizer/tests/test_param_record.py | BeckResearchLab/Neuralizer | 70826e684f395796752dcdb891a28b35512a9632 | [
"MIT"
] | 1 | 2019-04-23T15:54:14.000Z | 2019-04-23T15:54:14.000Z | neuralizer/tests/test_param_record.py | BeckResearchLab/Neuralizer | 70826e684f395796752dcdb891a28b35512a9632 | [
"MIT"
] | 1 | 2019-05-08T01:13:14.000Z | 2019-05-08T01:13:14.000Z | neuralizer/tests/test_param_record.py | BeckResearchLab/Neuralizer | 70826e684f395796752dcdb891a28b35512a9632 | [
"MIT"
] | 1 | 2018-11-01T17:12:30.000Z | 2018-11-01T17:12:30.000Z | import param_record as pr
| 7 | 25 | 0.785714 | 5 | 28 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 3 | 26 | 9.333333 | 0.954545 | 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 |
bc6e214dca62856a69f5a5ed0b27e146ddf22fc4 | 1,768 | py | Python | tests/musictree/grandstaff/test_add_dynamics.py | alexgorji/music_score | b4176da52295361f3436826903485c5cb8054c5e | [
"MIT"
] | 2 | 2020-06-22T13:33:28.000Z | 2020-12-30T15:09:00.000Z | tests/musictree/grandstaff/test_add_dynamics.py | alexgorji/music_score | b4176da52295361f3436826903485c5cb8054c5e | [
"MIT"
] | 37 | 2020-02-18T12:15:00.000Z | 2021-12-13T20:01:14.000Z | tests/musictree/grandstaff/test_add_dynamics.py | alexgorji/music_score | b4176da52295361f3436826903485c5cb8054c5e | [
"MIT"
] | null | null | null | import os
from musicscore.musicstream.streamvoice import SimpleFormat
from musicscore.musictree.treescoretimewise import TreeScoreTimewise
from musicxmlunittest import XMLTestCase
path = str(os.path.abspath(__file__).split('.')[0])
class Test(XMLTestCase):
def setUp(self) -> None:
self.score = TreeScore... | 38.434783 | 72 | 0.674208 | 263 | 1,768 | 4.243346 | 0.190114 | 0.072581 | 0.150538 | 0.155914 | 0.740143 | 0.737455 | 0.737455 | 0.737455 | 0.736559 | 0.735663 | 0 | 0.04805 | 0.187783 | 1,768 | 45 | 73 | 39.288889 | 0.729109 | 0.002828 | 0 | 0.323529 | 0 | 0 | 0.02385 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.088235 | false | 0 | 0.117647 | 0 | 0.235294 | 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 |
bc90de4b136b6e4eb9ad5d415ffe8fbc4b5abd07 | 89 | py | Python | news/main/__init__.py | bensammwaniki/News-site | ed759e3238830ac6f42adbf7ee46c767c399ec10 | [
"MIT"
] | null | null | null | news/main/__init__.py | bensammwaniki/News-site | ed759e3238830ac6f42adbf7ee46c767c399ec10 | [
"MIT"
] | null | null | null | news/main/__init__.py | bensammwaniki/News-site | ed759e3238830ac6f42adbf7ee46c767c399ec10 | [
"MIT"
] | null | null | null | from flask import Blueprint
main = Blueprint('main', __name__)
from .import view,errors
| 17.8 | 34 | 0.775281 | 12 | 89 | 5.416667 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 4 | 35 | 22.25 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
bcadbcb35fbc51c3861f1daf922bb3f433650df9 | 152 | py | Python | portfolio/messages.py | rkisdp/rkisdp.django.backend | 771481cdeea6a101305c4819b06b839266ce6921 | [
"MIT"
] | null | null | null | portfolio/messages.py | rkisdp/rkisdp.django.backend | 771481cdeea6a101305c4819b06b839266ce6921 | [
"MIT"
] | null | null | null | portfolio/messages.py | rkisdp/rkisdp.django.backend | 771481cdeea6a101305c4819b06b839266ce6921 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# python imports
from __future__ import unicode_literals
# lib imports
from django.utils.translation import ugettext_lazy as _
| 21.714286 | 55 | 0.769737 | 20 | 152 | 5.5 | 0.85 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.144737 | 152 | 6 | 56 | 25.333333 | 0.838462 | 0.315789 | 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 |
bcf508e5b0eccf3113cd9add6d725740c45145a1 | 53 | py | Python | src/fffs/core/__init__.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | src/fffs/core/__init__.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | src/fffs/core/__init__.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | from .model import ParameterDefinition, ModelFunction | 53 | 53 | 0.886792 | 5 | 53 | 9.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.959184 | 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 |
d5b8c3ff0d7c9281035ea8d37d64debf8ff81f4c | 153 | py | Python | src/common/__init__.py | PrimatElite/ml-labs | 16221d376529f580992467b426177bbde584af2d | [
"MIT"
] | null | null | null | src/common/__init__.py | PrimatElite/ml-labs | 16221d376529f580992467b426177bbde584af2d | [
"MIT"
] | 17 | 2021-09-18T16:46:10.000Z | 2021-12-17T19:43:46.000Z | src/common/__init__.py | PrimatElite/ml-labs | 16221d376529f580992467b426177bbde584af2d | [
"MIT"
] | null | null | null | from .image import load_image
from .object import Object, PIXELS_PER_MM
from .object_search import find_object
from .objects_packing import pack_objects
| 30.6 | 41 | 0.856209 | 24 | 153 | 5.166667 | 0.541667 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 153 | 4 | 42 | 38.25 | 0.911765 | 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 |
d5f953cc54419ccb6a31d5cbf3194635320cd561 | 163 | py | Python | rsync_storage/settings_rsync_sample.py | g10k/sw_rsync_storage | a25a3fe4e640421a359f5c272bb16dcb507c6187 | [
"MIT"
] | null | null | null | rsync_storage/settings_rsync_sample.py | g10k/sw_rsync_storage | a25a3fe4e640421a359f5c272bb16dcb507c6187 | [
"MIT"
] | null | null | null | rsync_storage/settings_rsync_sample.py | g10k/sw_rsync_storage | a25a3fe4e640421a359f5c272bb16dcb507c6187 | [
"MIT"
] | null | null | null | RSYNC_HOSTS = [
{'host': 'current', 'media_root': '/opt/media/', 'prefix': 'mc1_'},
{'host': '172.17.0.2', 'media_root': '/opt/media/', 'prefix': 'mc2_'}
] | 40.75 | 73 | 0.546012 | 21 | 163 | 4 | 0.666667 | 0.214286 | 0.285714 | 0.404762 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 0.141104 | 163 | 4 | 74 | 40.75 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0.530488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91332d4ebca977073ae22ea347a9ed6d9af0fc8f | 107 | py | Python | Python/helloWorld.py | JoaoRobertoFernandes/Code-to-study | ac0a69035f5aa124b4ef789bc884342dc93e6fc8 | [
"MIT"
] | null | null | null | Python/helloWorld.py | JoaoRobertoFernandes/Code-to-study | ac0a69035f5aa124b4ef789bc884342dc93e6fc8 | [
"MIT"
] | null | null | null | Python/helloWorld.py | JoaoRobertoFernandes/Code-to-study | ac0a69035f5aa124b4ef789bc884342dc93e6fc8 | [
"MIT"
] | null | null | null | #Hello World
print("Hello World")
#Triangle
print(" /|")
print(" / |")
print(" / |")
print("/___|")
| 9.727273 | 20 | 0.523364 | 10 | 107 | 5.3 | 0.4 | 0.566038 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 107 | 10 | 21 | 10.7 | 0.616279 | 0.17757 | 0 | 0.6 | 0 | 0 | 0.369048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
913beb49ef91d1337794570e5eefd39c9c5428cc | 24,292 | py | Python | cellpack/mgl_tools/DejaVu/scenarioInterface/Tests/test_animations.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | null | null | null | cellpack/mgl_tools/DejaVu/scenarioInterface/Tests/test_animations.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | 21 | 2021-10-02T00:07:05.000Z | 2022-03-30T00:02:10.000Z | cellpack/mgl_tools/DejaVu/scenarioInterface/Tests/test_animations.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | null | null | null | from DejaVu import Viewer
from DejaVu.Spheres import Spheres
from DejaVu.IndexedPolylines import IndexedPolylines
from DejaVu.Materials import propertyNum
from time import sleep
import unittest
import sys
#declare the 'showwarning' variable that is used in the code returned by maa.getSourceCode()
showwarning = False
... | 38.436709 | 137 | 0.548246 | 2,990 | 24,292 | 4.449164 | 0.067559 | 0.018492 | 0.012403 | 0.010223 | 0.792528 | 0.720364 | 0.704277 | 0.679696 | 0.660453 | 0.650455 | 0 | 0.066941 | 0.319241 | 24,292 | 631 | 138 | 38.497623 | 0.737498 | 0.167463 | 0 | 0.758772 | 0 | 0 | 0.010513 | 0 | 0 | 0 | 0 | 0 | 0.217105 | 0 | null | null | 0.002193 | 0.039474 | null | null | 0.002193 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
913c65253d82311f4cd43b2493840bfc2d050deb | 77 | py | Python | volcano/srv104/__init__.py | Bubkagob/iec104server | fb45e6864135575d75e3a8a178d79db652179f2b | [
"MIT"
] | 6 | 2019-06-28T14:48:51.000Z | 2022-03-09T02:14:34.000Z | volcano/srv104/__init__.py | suchaoxiao/iec104server | fb45e6864135575d75e3a8a178d79db652179f2b | [
"MIT"
] | 1 | 2019-06-12T13:53:08.000Z | 2019-06-17T13:32:44.000Z | volcano/srv104/__init__.py | suchaoxiao/iec104server | fb45e6864135575d75e3a8a178d79db652179f2b | [
"MIT"
] | 2 | 2019-07-09T03:46:10.000Z | 2020-06-04T01:19:29.000Z | import sys
import os
sys.path.append(os.getcwd() + '/deps/peavy-client/src')
| 19.25 | 55 | 0.727273 | 13 | 77 | 4.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 77 | 3 | 56 | 25.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.285714 | 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 |
914d4f5793ed6bcfd1e784ab7aa411107c109a01 | 353 | py | Python | tests-predict/test_app.py | doksketch/call-you-maybe | cb20f9fc2c996a7396bccec0ee2a4b33a9f1fe1a | [
"MIT"
] | null | null | null | tests-predict/test_app.py | doksketch/call-you-maybe | cb20f9fc2c996a7396bccec0ee2a4b33a9f1fe1a | [
"MIT"
] | null | null | null | tests-predict/test_app.py | doksketch/call-you-maybe | cb20f9fc2c996a7396bccec0ee2a4b33a9f1fe1a | [
"MIT"
] | null | null | null | """
from unittest import patch
from unittest.mock import mock_open
with patch('__main__.open', mock_open(read_data='')) as m:
"""
from app.worker import config
def test_config():
assert 'name' in config['worker']
assert 'broker' in config['worker']
assert 'backend' in config['worker']
assert config[... | 22.0625 | 58 | 0.679887 | 48 | 353 | 4.833333 | 0.479167 | 0.206897 | 0.181034 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161473 | 353 | 15 | 59 | 23.533333 | 0.783784 | 0.342776 | 0 | 0 | 0 | 0 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e6b0cfa36d7978d9ddf002511a6b296a64ff2d2e | 602 | py | Python | doxygen/publish.py | LaudateCorpus1/caffe2.github.io | 8cbc1076d9b7a4858ac330b1e31fe3074f06f673 | [
"CC-BY-4.0"
] | 26 | 2018-05-01T05:13:00.000Z | 2022-02-05T18:17:35.000Z | doxygen/publish.py | LaudateCorpus1/caffe2.github.io | 8cbc1076d9b7a4858ac330b1e31fe3074f06f673 | [
"CC-BY-4.0"
] | 16 | 2018-03-28T22:54:52.000Z | 2020-02-25T10:22:45.000Z | doxygen/publish.py | LaudateCorpus1/caffe2.github.io | 8cbc1076d9b7a4858ac330b1e31fe3074f06f673 | [
"CC-BY-4.0"
] | 39 | 2018-03-27T17:55:04.000Z | 2022-02-05T18:17:37.000Z | ## @package publish
# Module doxygen.publish
import os, shutil
if os.path.exists("/Users/aaronmarkham/caffe2/doxygen-c"):
print("Looks like you ran this before, so we need to cleanup those old files...")
shutil.rmtree("/Users/aaronmarkham/caffe2/doxygen-c")
if os.path.exists("/Users/aaronmarkham/caffe2/doxygen-... | 43 | 85 | 0.739203 | 88 | 602 | 5.056818 | 0.386364 | 0.229213 | 0.310112 | 0.269663 | 0.773034 | 0.65618 | 0.65618 | 0.65618 | 0.458427 | 0.458427 | 0 | 0.011257 | 0.114618 | 602 | 13 | 86 | 46.307692 | 0.82364 | 0.064784 | 0 | 0.222222 | 0 | 0 | 0.699463 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.222222 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e6d3a03ed237079e4173f548a6118e97c5a9b92a | 938 | py | Python | kiko/python/kiko/utils/value.py | danielefederico/kiko | b1ce367cc86c788b57d297be3091d822b9d49c4f | [
"MIT"
] | 81 | 2018-09-12T22:20:02.000Z | 2022-03-07T03:40:51.000Z | kiko/python/kiko/utils/value.py | danielefederico/kiko | b1ce367cc86c788b57d297be3091d822b9d49c4f | [
"MIT"
] | 8 | 2018-11-11T04:52:48.000Z | 2021-03-07T22:24:34.000Z | kiko/python/kiko/utils/value.py | danielefederico/kiko | b1ce367cc86c788b57d297be3091d822b9d49c4f | [
"MIT"
] | 21 | 2018-09-13T16:04:49.000Z | 2021-08-09T07:12:34.000Z | # ==============================================================================
#
# KIKO is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later... | 49.368421 | 80 | 0.628998 | 125 | 938 | 4.712 | 0.632 | 0.025467 | 0.061121 | 0.096774 | 0.169779 | 0.169779 | 0.11545 | 0 | 0 | 0 | 0 | 0.009975 | 0.144989 | 938 | 18 | 81 | 52.111111 | 0.724439 | 0.829424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
fc01ce7561b486a816f7611dd646335febf66976 | 41 | py | Python | backend/scripts/index/__init__.py | gnulnx/mynode | 468684e55c4bc7efb30bd3d1f1e090cd0f6dd076 | [
"MIT"
] | 1 | 2021-12-31T16:27:55.000Z | 2021-12-31T16:27:55.000Z | backend/scripts/index/__init__.py | gnulnx/mynode | 468684e55c4bc7efb30bd3d1f1e090cd0f6dd076 | [
"MIT"
] | null | null | null | backend/scripts/index/__init__.py | gnulnx/mynode | 468684e55c4bc7efb30bd3d1f1e090cd0f6dd076 | [
"MIT"
] | null | null | null | from .cmds import all
__all__ = ["all"]
| 10.25 | 21 | 0.658537 | 6 | 41 | 3.833333 | 0.666667 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 3 | 22 | 13.666667 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fc5c65fd74c7e3e1aa484feac17c19066fdb43a6 | 769 | py | Python | tests/jmath/test_permutation.py | jabbalaci/jabbapylib3 | ddc8fe88b89c4379254183b9a7c1405574a3a262 | [
"MIT"
] | 6 | 2017-03-31T16:58:52.000Z | 2019-05-11T20:12:07.000Z | tests/jmath/test_permutation.py | jabbalaci/jabbapylib3 | ddc8fe88b89c4379254183b9a7c1405574a3a262 | [
"MIT"
] | null | null | null | tests/jmath/test_permutation.py | jabbalaci/jabbapylib3 | ddc8fe88b89c4379254183b9a7c1405574a3a262 | [
"MIT"
] | null | null | null | # coding: utf-8
from jplib.jmath import permutation as perm
def test_lexicographically_next_permutation():
cnt = 0
li = ['a', 'b', 'c']
cnt += 1
while perm.lexicographically_next_permutation(li):
cnt += 1
assert cnt == 6
#
cnt = 0
li = [3,6,6,7]
cnt += 1
while perm.lex... | 24.03125 | 54 | 0.596879 | 112 | 769 | 3.964286 | 0.276786 | 0.331081 | 0.504505 | 0.486486 | 0.702703 | 0.702703 | 0.702703 | 0.599099 | 0.599099 | 0.490991 | 0 | 0.058621 | 0.245774 | 769 | 31 | 55 | 24.806452 | 0.706897 | 0.016905 | 0 | 0.5 | 0 | 0 | 0.014647 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc7418e30280d1f80de1d90394794c0d1627dd33 | 20,183 | py | Python | r2cmplr/_gencode_wblock.py | manub686/atomix | 80ca2b675f49d2aef1e078a36a282d7173e02805 | [
"Apache-2.0"
] | 3 | 2015-04-21T21:04:48.000Z | 2015-06-03T08:55:36.000Z | r2cmplr/_gencode_wblock.py | manubansal/atomix | 80ca2b675f49d2aef1e078a36a282d7173e02805 | [
"Apache-2.0"
] | 1 | 2015-06-11T22:35:48.000Z | 2015-06-11T22:35:48.000Z | r2cmplr/_gencode_wblock.py | manub686/atomix | 80ca2b675f49d2aef1e078a36a282d7173e02805 | [
"Apache-2.0"
] | null | null | null | '''
Atomix project, _gencode_wblock.py, (TODO: summary)
Copyright (c) 2015 Stanford University
Released under the Apache License v2.0. See the LICENSE file for details.
Author(s): Manu Bansal
'''
from _db import *
from _codegen_write_out import *
from _util import *
class WblockCodeGenerator:
#---------------------... | 49.468137 | 165 | 0.629738 | 3,135 | 20,183 | 3.721212 | 0.06252 | 0.059146 | 0.060003 | 0.049374 | 0.832248 | 0.794274 | 0.740099 | 0.709669 | 0.61975 | 0.59832 | 0 | 0.008562 | 0.201407 | 20,183 | 407 | 166 | 49.589681 | 0.715225 | 0.039241 | 0 | 0.491176 | 0 | 0.088235 | 0.361659 | 0.237097 | 0 | 0 | 0 | 0.002457 | 0 | 0 | null | null | 0.026471 | 0.008824 | null | null | 0.026471 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc7e00ae1d0f223032a52a9293eb5da00f274feb | 3,126 | py | Python | exception_for_client.py | etozhezhenechka/VadikDB | 6f5a80f2a525871375a64e40f212f23fb26a3eb4 | [
"Unlicense"
] | null | null | null | exception_for_client.py | etozhezhenechka/VadikDB | 6f5a80f2a525871375a64e40f212f23fb26a3eb4 | [
"Unlicense"
] | null | null | null | exception_for_client.py | etozhezhenechka/VadikDB | 6f5a80f2a525871375a64e40f212f23fb26a3eb4 | [
"Unlicense"
] | null | null | null |
class DBExceptionForClient(Exception):
def __init__(self):
self.error_code = ""
def DBFileNotExists(self):
self.error_code = "00"
return "Error code: " + self.error_code + " -- DB file not exists!"
def WrongFileFormat(self):
self.error_code = "01"
return "Error co... | 39.56962 | 121 | 0.605566 | 371 | 3,126 | 4.946092 | 0.242588 | 0.269755 | 0.262125 | 0.186376 | 0.443052 | 0.401635 | 0.179292 | 0.091553 | 0.091553 | 0 | 0 | 0.016436 | 0.260397 | 3,126 | 78 | 122 | 40.076923 | 0.777249 | 0 | 0 | 0 | 0 | 0 | 0.25184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.327586 | false | 0 | 0 | 0 | 0.655172 | 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 |
fc89fa15a6a6b14e0f1ebae7e6d608d7682ad01c | 136 | py | Python | reclab/recommenders/autorec/__init__.py | lematt1991/RecLab | 7ba212ac2ae346fb6dfeec232eef652d7f26e193 | [
"MIT"
] | 51 | 2020-09-17T08:51:42.000Z | 2022-03-26T20:44:48.000Z | reclab/recommenders/autorec/__init__.py | kiminh/RecLab | 7fd29d1c780e91910008a322b04e1b1149a203c8 | [
"MIT"
] | 25 | 2020-09-04T00:12:44.000Z | 2021-10-05T02:21:58.000Z | reclab/recommenders/autorec/__init__.py | kiminh/RecLab | 7fd29d1c780e91910008a322b04e1b1149a203c8 | [
"MIT"
] | 6 | 2020-11-30T03:34:25.000Z | 2022-02-08T18:27:48.000Z | """
The package for the Autorec recommender.
See https://doi.org/10.1145/2740908.2742726 for details.
"""
from .autorec import Autorec
| 19.428571 | 56 | 0.75 | 20 | 136 | 5.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 0.125 | 136 | 6 | 57 | 22.666667 | 0.689076 | 0.720588 | 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 |
fc8a880d2354e041e13d77383efbd1d1a6cc9912 | 160 | py | Python | common/types.py | mlrepa/mlpanel | 94cf5ff9e654ead414a5b671bad760ed9a7c6382 | [
"MIT"
] | 11 | 2020-01-25T07:19:43.000Z | 2021-07-31T14:11:01.000Z | common/types.py | mlrepa/mlpanel | 94cf5ff9e654ead414a5b671bad760ed9a7c6382 | [
"MIT"
] | 9 | 2020-01-24T19:44:48.000Z | 2020-05-10T09:57:00.000Z | common/types.py | mlrepa/mlpanel | 94cf5ff9e654ead414a5b671bad760ed9a7c6382 | [
"MIT"
] | null | null | null | from enum import Enum
class StrEnum(str, Enum):
"""Enum where members are also (and must be) strings"""
def __str__(self):
return self.value
| 17.777778 | 59 | 0.65625 | 23 | 160 | 4.391304 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24375 | 160 | 8 | 60 | 20 | 0.834711 | 0.30625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5ddeac9742f5b8d3ec206d89d95db173fdd50fba | 759 | py | Python | OpenGLCffi/GL/EXT/EXT/pixel_transform.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/EXT/pixel_transform.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/EXT/pixel_transform.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['target', 'pname', 'param'])
def glPixelTransformParameteriEXT(target, pname, param):
pass
@params(api='gl', prms=['target', 'pname', 'param'])
def glPixelTransformParameterfEXT(target, pname, param):
pass
@params(api='gl', prms=['target', 'pname', 'params'... | 23.71875 | 61 | 0.716733 | 83 | 759 | 6.554217 | 0.216867 | 0.242647 | 0.25 | 0.165441 | 0.571691 | 0.571691 | 0.571691 | 0.571691 | 0.494485 | 0.477941 | 0 | 0 | 0.100132 | 759 | 31 | 62 | 24.483871 | 0.796486 | 0 | 0 | 0.631579 | 0 | 0 | 0.147952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.315789 | 0.052632 | 0 | 0.368421 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5d2152400331e22715b7e54e3006ff1b5456dbf6 | 335 | py | Python | Pacotes/pacote_v5.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | null | null | null | Pacotes/pacote_v5.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | 4 | 2021-04-08T21:54:09.000Z | 2022-02-10T14:35:13.000Z | Pacotes/pacote_v5.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | null | null | null | #Importando um pacote que representa uma "fachada" de outros pacotes
from calc import soma, subtracao
print('Soma', soma(3, 2))
print('Subtração', subtracao(3, 2))
'''Nesse exemplo foi possível acessar um pacote que contém funções do módulo
"modulo1" do pacote "pacote1" e do pacote "pacote2", todos eles agrupados
num... | 33.5 | 76 | 0.752239 | 50 | 335 | 5.04 | 0.72 | 0.063492 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.143284 | 335 | 9 | 77 | 37.222222 | 0.853659 | 0.2 | 0 | 0 | 0 | 0 | 0.131313 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
5d44df94aba262d7091dadfccd383083da0a4799 | 35 | py | Python | dipy/utils/tests/__init__.py | JohnGriffiths/dipy | 5fb38e9b77547cdaf5eb140730444535733ae01d | [
"BSD-3-Clause"
] | 8 | 2019-05-29T09:38:30.000Z | 2021-01-20T03:36:59.000Z | dipy/utils/tests/__init__.py | JohnGriffiths/dipy | 5fb38e9b77547cdaf5eb140730444535733ae01d | [
"BSD-3-Clause"
] | 12 | 2021-03-09T03:01:16.000Z | 2022-03-11T23:59:36.000Z | dipy/utils/tests/__init__.py | JohnGriffiths/dipy | 5fb38e9b77547cdaf5eb140730444535733ae01d | [
"BSD-3-Clause"
] | 3 | 2016-08-05T22:43:16.000Z | 2017-06-23T18:35:13.000Z | # Tests for utilities - as package
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.928571 | 0.914286 | 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 |
5d5ce229ec78c15cd580a9bb0ca02a2c952d8cad | 69 | py | Python | example10.py | 126alexander/LAB_15 | 70ae009d9b8722c5235f1aea0c6649d64fbfd610 | [
"MIT"
] | null | null | null | example10.py | 126alexander/LAB_15 | 70ae009d9b8722c5235f1aea0c6649d64fbfd610 | [
"MIT"
] | null | null | null | example10.py | 126alexander/LAB_15 | 70ae009d9b8722c5235f1aea0c6649d64fbfd610 | [
"MIT"
] | null | null | null | import os
# deleting the file named file3.txt
os.remove("file3.txt") | 17.25 | 35 | 0.753623 | 12 | 69 | 4.333333 | 0.75 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.130435 | 69 | 4 | 36 | 17.25 | 0.833333 | 0.478261 | 0 | 0 | 0 | 0 | 0.257143 | 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 |
9904c53bf229753b8e032318dbc6230d64b6da15 | 72 | py | Python | mlbench_core/models/pytorch/layers/__init__.py | mlbench/mlbench-core | 4fd3c7e6f1a5be69e52383ab2eb64cad257218c2 | [
"Apache-2.0"
] | 14 | 2018-11-12T17:23:32.000Z | 2022-03-11T22:45:49.000Z | mlbench_core/models/pytorch/layers/__init__.py | mlbench/mlbench-core | 4fd3c7e6f1a5be69e52383ab2eb64cad257218c2 | [
"Apache-2.0"
] | 330 | 2018-10-09T12:15:56.000Z | 2022-03-01T18:07:40.000Z | mlbench_core/models/pytorch/layers/__init__.py | mlbench/mlbench-core | 4fd3c7e6f1a5be69e52383ab2eb64cad257218c2 | [
"Apache-2.0"
] | 9 | 2019-02-28T19:11:58.000Z | 2020-08-17T17:52:37.000Z | from .dropout_layers import LockedDropout, WeightDrop, embedded_dropout
| 36 | 71 | 0.875 | 8 | 72 | 7.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 1 | 72 | 72 | 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 |
4ad86ff106a5b20030f4c1493db9a52d1b48aad9 | 223 | py | Python | oop/class_testing.py | karinakozarova/Learning-Python | 217dfc8ca6931a238445daf0b84e188c02916c52 | [
"MIT"
] | 1 | 2019-04-07T23:14:29.000Z | 2019-04-07T23:14:29.000Z | oop/class_testing.py | karinakozarova/Learning-Python | 217dfc8ca6931a238445daf0b84e188c02916c52 | [
"MIT"
] | null | null | null | oop/class_testing.py | karinakozarova/Learning-Python | 217dfc8ca6931a238445daf0b84e188c02916c52 | [
"MIT"
] | null | null | null | class Car:
def __init__(self,color,model):
self.color = color
self.model = model
def print(self):
return self.color + " " + self.model
car1 = Car("green","Toyota")
print(car1.print()) | 18.583333 | 44 | 0.578475 | 28 | 223 | 4.464286 | 0.428571 | 0.216 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.278027 | 223 | 12 | 45 | 18.583333 | 0.763975 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
4af333cf47298f73041d9ce4b747a83c9c047c08 | 98 | py | Python | src/heos/__init__.py | jrderuiter/heos | c657913cd5d135f63ce78565875e02eb2f568962 | [
"MIT"
] | 2 | 2021-01-08T16:01:27.000Z | 2021-02-12T12:53:33.000Z | src/heos/__init__.py | jrderuiter/heos | c657913cd5d135f63ce78565875e02eb2f568962 | [
"MIT"
] | null | null | null | src/heos/__init__.py | jrderuiter/heos | c657913cd5d135f63ce78565875e02eb2f568962 | [
"MIT"
] | null | null | null | from .client import Client
from .player import Player, PlayerGroup
from .registry import Registry
| 24.5 | 39 | 0.826531 | 13 | 98 | 6.230769 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 3 | 40 | 32.666667 | 0.952941 | 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 |
ab158f14bce1164abf196be57d68c5974988fec7 | 3,047 | py | Python | server/openapi_server/models/__init__.py | mintproject/MINT-ModelCatalogIngestionAPI | 026d3495483a3e48ea3c1364d0dda09beeea69e4 | [
"Apache-2.0"
] | 2 | 2019-05-30T21:33:43.000Z | 2019-09-27T21:04:38.000Z | server/openapi_server/models/__init__.py | mintproject/model-catalog-api | 2ad7016691891497bba37afe8ceb0fea8fe769e5 | [
"Apache-2.0"
] | 82 | 2019-10-08T16:35:34.000Z | 2022-03-15T18:25:27.000Z | server/openapi_server/models/__init__.py | mintproject/model-catalog-api | 2ad7016691891497bba37afe8ceb0fea8fe769e5 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from openapi_server.models.catalog_identifier import CatalogIdentifier
from openapi_server.models.causal_diagram import CausalDiagram
from openapi_server.models.configuration_setup import ConfigurationSetup
from op... | 57.490566 | 85 | 0.899902 | 379 | 3,047 | 7.005277 | 0.266491 | 0.194727 | 0.300942 | 0.407156 | 0.205273 | 0.06177 | 0 | 0 | 0 | 0 | 0 | 0.000704 | 0.067279 | 3,047 | 52 | 86 | 58.596154 | 0.933498 | 0.019363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ab350b87bb10980d6dc5033bd97c6e224e09e86b | 30 | py | Python | account_payment_fix/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 1 | 2021-01-25T15:57:58.000Z | 2021-01-25T15:57:58.000Z | account_payment_fix/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | null | null | null | account_payment_fix/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 2 | 2020-10-17T16:36:02.000Z | 2021-01-24T10:20:05.000Z | from . import account_payment
| 15 | 29 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ab4bb081527c39f98f2ab904b5ca44bca085d968 | 214 | py | Python | userlixo/database/__init__.py | AndrielFR/UserLixo | 5755b39e2bc62f72e9f76ee442b7c07f2ae4adeb | [
"MIT"
] | 65 | 2018-11-12T02:56:01.000Z | 2022-03-09T00:57:05.000Z | userlixo/database/__init__.py | AndrielFR/UserLixo | 5755b39e2bc62f72e9f76ee442b7c07f2ae4adeb | [
"MIT"
] | 93 | 2019-11-22T23:54:26.000Z | 2022-03-31T00:48:14.000Z | userlixo/database/__init__.py | HitaloSama/UserLixo | 85ef00cfc828ad6a6a28bd3c80eea07e0c4fc45a | [
"MIT"
] | 56 | 2018-12-16T17:13:38.000Z | 2022-03-30T18:40:07.000Z | # SPDX-License-Identifier: MIT
# Copyright (c) 2018-2021 Amano Team
from typing import List
from .database import Config, Message, connect_database
__all__: List[str] = ["Config", "connect_database", "Message"]
| 23.777778 | 62 | 0.752336 | 28 | 214 | 5.535714 | 0.714286 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.130841 | 214 | 8 | 63 | 26.75 | 0.790323 | 0.294393 | 0 | 0 | 0 | 0 | 0.195946 | 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 |
db6d0e2a5854beec09b03f3e4ba9ea910bcd50fe | 53,657 | py | Python | test/kb_util_dylan_server_test.py | kbaseapps/kb_util_dylan | a6fd260b514455447260b64cf4294957283fbd1e | [
"MIT"
] | null | null | null | test/kb_util_dylan_server_test.py | kbaseapps/kb_util_dylan | a6fd260b514455447260b64cf4294957283fbd1e | [
"MIT"
] | 2 | 2017-11-13T20:48:46.000Z | 2019-08-14T20:17:05.000Z | test/kb_util_dylan_server_test.py | kbaseapps/kb_util_dylan | a6fd260b514455447260b64cf4294957283fbd1e | [
"MIT"
] | 2 | 2017-04-10T23:02:46.000Z | 2017-08-16T23:12:16.000Z | import unittest
import os
import json
import time
import requests
import shutil
from os import environ
from ConfigParser import ConfigParser
from requests_toolbelt import MultipartEncoder
from pprint import pprint
from Workspace.WorkspaceClient import Workspace as workspaceService
from biokbase.AbstractHandle.Client ... | 41.594574 | 148 | 0.563412 | 5,872 | 53,657 | 4.780484 | 0.061138 | 0.042749 | 0.016031 | 0.022799 | 0.831677 | 0.785864 | 0.724235 | 0.70653 | 0.678565 | 0.662606 | 0 | 0.020172 | 0.304303 | 53,657 | 1,289 | 149 | 41.626843 | 0.731817 | 0.071212 | 0 | 0.601221 | 0 | 0 | 0.155645 | 0.052877 | 0 | 0 | 0 | 0 | 0.071211 | 1 | 0.028484 | false | 0.021363 | 0.015259 | 0.003052 | 0.057986 | 0.095626 | 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 |
db809a5300d00264ec1e46e4712dbf68541ac94c | 299 | py | Python | cloud-computing-concepts-part1/scripts/power-usage.py | kgrodzicki/cloud-computing-specialization | 7c332312e9550d76baad4db4256dacd9ee84ac00 | [
"MIT"
] | 11 | 2016-02-20T04:48:11.000Z | 2020-05-31T14:06:15.000Z | cloud-computing-concepts-part1/scripts/power-usage.py | kgrodzicki/cloud-computing-specialization | 7c332312e9550d76baad4db4256dacd9ee84ac00 | [
"MIT"
] | null | null | null | cloud-computing-concepts-part1/scripts/power-usage.py | kgrodzicki/cloud-computing-specialization | 7c332312e9550d76baad4db4256dacd9ee84ac00 | [
"MIT"
] | 12 | 2017-11-02T02:18:18.000Z | 2021-05-02T07:20:07.000Z | __author__ = 'grokrz'
# PUE = Power Usage Efficiency = Total power consumed divided by power consumed for running IT equipment.
total_power_consumed = 1600
consumed_by_running_IT_equipment = 800
print "Power Usage Efficiency PUE = " + str(total_power_consumed / consumed_by_running_IT_equipment)
| 33.222222 | 105 | 0.809365 | 41 | 299 | 5.512195 | 0.439024 | 0.230089 | 0.238938 | 0.168142 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027132 | 0.137124 | 299 | 8 | 106 | 37.375 | 0.848837 | 0.344482 | 0 | 0 | 0 | 0 | 0.180412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91583ceab0eed6aed1e3205fabadd722dedfe11c | 115 | py | Python | app/modules/weather/get_weather_method.py | ASH1998/THE-BOT | 89bed22a517b201839dfdd4cb8e75baab4ce9c0f | [
"MIT"
] | 10 | 2017-10-27T02:37:10.000Z | 2021-04-08T03:02:56.000Z | app/modules/weather/get_weather_method.py | ASH1998/THE-BOT | 89bed22a517b201839dfdd4cb8e75baab4ce9c0f | [
"MIT"
] | 2 | 2017-11-22T04:28:38.000Z | 2017-11-26T19:46:50.000Z | app/modules/weather/get_weather_method.py | ASH1998/THE-BOT | 89bed22a517b201839dfdd4cb8e75baab4ce9c0f | [
"MIT"
] | 9 | 2017-10-27T02:38:04.000Z | 2021-08-18T16:50:34.000Z | from .ywthr import Yweather_Index
def get_the_place(place):
d = Yweather_Index()
return d.get_weather(place) | 12.777778 | 33 | 0.765217 | 18 | 115 | 4.611111 | 0.666667 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 9 | 34 | 12.777778 | 0.846939 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
91cdfe034b4e9a76cae5690ea3b4fbb14feea46d | 148 | py | Python | tests/api/test_config.py | okken/cards | 4c7e7bd00c440d56d840b36c91b2231977a6f346 | [
"MIT"
] | 61 | 2018-03-08T12:51:20.000Z | 2021-08-08T08:18:19.000Z | tests/api/test_config.py | okken/cards | 4c7e7bd00c440d56d840b36c91b2231977a6f346 | [
"MIT"
] | 36 | 2018-03-07T17:40:15.000Z | 2022-03-18T21:43:51.000Z | tests/api/test_config.py | okken/cards | 4c7e7bd00c440d56d840b36c91b2231977a6f346 | [
"MIT"
] | 28 | 2018-03-17T08:41:58.000Z | 2022-03-03T21:54:12.000Z | """
Test Cases
* `config` returns the correct database path
"""
def test_config(cards_db, tmp_db_path):
assert cards_db.path() == tmp_db_path
| 16.444444 | 44 | 0.716216 | 23 | 148 | 4.304348 | 0.565217 | 0.181818 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 8 | 45 | 18.5 | 0.798387 | 0.371622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91d8e1abcaa00d3337a2e0dca5d5c2023198f91c | 58 | py | Python | pytools/modules/goodgoodgenerator/__init__.py | CharlesPikachu/pytools | 768078cac5f3d131630b1b40a14d112251f3bd88 | [
"Apache-2.0"
] | 53 | 2021-12-23T03:24:34.000Z | 2022-03-30T07:40:50.000Z | pytools/modules/goodgoodgenerator/__init__.py | CharlesPikachu/pytools | 768078cac5f3d131630b1b40a14d112251f3bd88 | [
"Apache-2.0"
] | 3 | 2021-12-23T14:17:58.000Z | 2022-01-06T13:24:47.000Z | pytools/modules/goodgoodgenerator/__init__.py | CharlesPikachu/pytools | 768078cac5f3d131630b1b40a14d112251f3bd88 | [
"Apache-2.0"
] | 30 | 2021-12-28T07:28:48.000Z | 2022-03-22T17:21:08.000Z | '''初始化'''
from .goodgoodgenerator import GoodGoodGenerator | 29 | 48 | 0.810345 | 5 | 58 | 9.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 2 | 48 | 29 | 0.87037 | 0.051724 | 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 |
37d1fdb86b92366a52312c20702d53398e409ab8 | 39 | py | Python | OpenPose/openpose/__init__.py | qzane/AI-basketball-analysis-on-google-colab | edc5e9e698d59dfc2696ecdafb7a0fed78e3df09 | [
"MIT-CMU",
"MIT"
] | 752 | 2020-05-06T04:34:48.000Z | 2022-03-31T12:34:10.000Z | OpenPose/openpose/__init__.py | qzane/AI-basketball-analysis-on-google-colab | edc5e9e698d59dfc2696ecdafb7a0fed78e3df09 | [
"MIT-CMU",
"MIT"
] | 22 | 2020-05-26T20:59:48.000Z | 2022-03-17T02:43:15.000Z | OpenPose/openpose/__init__.py | qzane/AI-basketball-analysis-on-google-colab | edc5e9e698d59dfc2696ecdafb7a0fed78e3df09 | [
"MIT-CMU",
"MIT"
] | 142 | 2020-05-07T21:35:29.000Z | 2022-03-22T17:50:32.000Z | from . import pyopenpose as pyopenpose
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 1 | 39 | 39 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
37edba08653b9b38416a5aab3c5c4bbfd5363ec2 | 47 | py | Python | enthought/pyface/wizard/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/wizard/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/wizard/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.wizard.api import *
| 15.666667 | 31 | 0.765957 | 7 | 47 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 32 | 23.5 | 0.9 | 0.255319 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.