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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
61b2646b4a7d1dee0a468a74d9aa0843a12cc196 | 94 | py | Python | CodeWars/7 Kyu/Case-sensitive!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Case-sensitive!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Case-sensitive!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def case_sensitive(s):
lst = [x for x in s if x.isupper()]
return [len(lst) == 0, lst] | 31.333333 | 39 | 0.585106 | 18 | 94 | 3 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.244681 | 94 | 3 | 40 | 31.333333 | 0.746479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
61b9dad166c43307cc22d95d6a4973a73b47f31a | 493 | py | Python | python/ql/test/library-tests/frameworks/idna/taint_test.py | jsinglet/codeql | b14fa8b4cdc91efedcef0cebdfd96f7aa321f318 | [
"MIT"
] | null | null | null | python/ql/test/library-tests/frameworks/idna/taint_test.py | jsinglet/codeql | b14fa8b4cdc91efedcef0cebdfd96f7aa321f318 | [
"MIT"
] | 1 | 2021-06-29T20:43:14.000Z | 2021-06-29T20:43:14.000Z | python/ql/test/library-tests/frameworks/idna/taint_test.py | jsinglet/codeql | b14fa8b4cdc91efedcef0cebdfd96f7aa321f318 | [
"MIT"
] | null | null | null | import idna
def test_idna():
ts = TAINTED_STRING
tb = TAINTED_BYTES
ensure_tainted(
idna.encode(ts), # $ tainted encodeInput=ts encodeOutput=Attribute() encodeFormat=IDNA
idna.encode(s=ts), # $ tainted encodeInput=ts encodeOutput=Attribute() encodeFormat=IDNA
idna.decode(tb), #... | 35.214286 | 97 | 0.699797 | 55 | 493 | 6.2 | 0.363636 | 0.079179 | 0.117302 | 0.129032 | 0.715543 | 0.715543 | 0.715543 | 0.715543 | 0.369501 | 0 | 0 | 0 | 0.192698 | 493 | 13 | 98 | 37.923077 | 0.856784 | 0.549696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
61c28385e499166eeaae724e7d12d1aa7b402a9b | 2,940 | py | Python | utilities/autoware_launcher/src/autoware_launcher/gui/mirror.py | alanjclark/autoware.ai | ba97edbbffb6f22e78912bf96400a59ef6a13daf | [
"Apache-2.0"
] | 20 | 2019-05-21T06:14:17.000Z | 2021-11-03T04:36:09.000Z | ros/src/util/packages/autoware_launcher/src/autoware_launcher/gui/mirror.py | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 40 | 2019-06-24T16:56:15.000Z | 2022-02-28T13:41:58.000Z | ros/src/util/packages/autoware_launcher/src/autoware_launcher/gui/mirror.py | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 31 | 2020-05-29T07:51:58.000Z | 2022-03-26T05:46:33.000Z | from ..core import myutils
class AwLaunchTreeMirror(object):
def __init__(self, client):
self.nodes = {}
self.cache = {}
self.client = client
def clear(self, lpath = None):
if lpath:
self.cache.pop(lpath, None)
else:
self.cache.clear()
... | 25.789474 | 91 | 0.609524 | 353 | 2,940 | 4.827195 | 0.195467 | 0.099765 | 0.08216 | 0.073944 | 0.144366 | 0.057512 | 0.026995 | 0 | 0 | 0 | 0 | 0.000461 | 0.262925 | 2,940 | 113 | 92 | 26.017699 | 0.785879 | 0.067007 | 0 | 0 | 0 | 0 | 0.00841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352113 | false | 0 | 0.014085 | 0.225352 | 0.676056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4ee93aa15e13fe71a5485684df66c7c9fbe9b90b | 371 | py | Python | dedalov2/memory_profiler.py | jdonkervliet/dedalov2 | 255b707e36acce384596662bde97a333f900fc89 | [
"MIT"
] | null | null | null | dedalov2/memory_profiler.py | jdonkervliet/dedalov2 | 255b707e36acce384596662bde97a333f900fc89 | [
"MIT"
] | null | null | null | dedalov2/memory_profiler.py | jdonkervliet/dedalov2 | 255b707e36acce384596662bde97a333f900fc89 | [
"MIT"
] | null | null | null |
import logging
from typing import Callable
MemoryProfiler = Callable[[], None]
LOG = logging.getLogger('dedalov2.memory_profile')
def profiler(profile: bool) -> MemoryProfiler:
if profile:
from mem_top import mem_top
def p():
LOG.debug(mem_top())
return p
else:
... | 17.666667 | 50 | 0.587601 | 42 | 371 | 5.095238 | 0.547619 | 0.084112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004 | 0.326146 | 371 | 20 | 51 | 18.55 | 0.852 | 0 | 0 | 0.285714 | 0 | 0 | 0.062162 | 0.062162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.214286 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4ef6c063b9d036d22ba424a104a46ddfb0edefb4 | 278 | py | Python | BioNetGen-2.3.0/source_Atomizer/SBMLparser/merging/compareNamingConventions.py | joseph-hellerstein/RuleBasedProgramming | fb88118ab764035979dc7c2bf8c89a7b484e4472 | [
"MIT"
] | null | null | null | BioNetGen-2.3.0/source_Atomizer/SBMLparser/merging/compareNamingConventions.py | joseph-hellerstein/RuleBasedProgramming | fb88118ab764035979dc7c2bf8c89a7b484e4472 | [
"MIT"
] | null | null | null | BioNetGen-2.3.0/source_Atomizer/SBMLparser/merging/compareNamingConventions.py | joseph-hellerstein/RuleBasedProgramming | fb88118ab764035979dc7c2bf8c89a7b484e4472 | [
"MIT"
] | null | null | null | import namingDatabase
def createNamingMatrix(fileList):
pass
if __name__ == "__main__":
db = namingDatabase.NamingDatabase('namingConventions.db')
fileList = ['BIOMD0000000205.xml','BIOMD0000000048.xml','BIOMD0000000019.xml']
createNamingMatrix(fileList) | 25.272727 | 82 | 0.748201 | 23 | 278 | 8.695652 | 0.652174 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125523 | 0.140288 | 278 | 11 | 83 | 25.272727 | 0.711297 | 0 | 0 | 0 | 0 | 0 | 0.30466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f62913bd332d6358f80f8b6e2d40e3d96f3bb72b | 106 | py | Python | meme.py | Kronos336/meme | dfbed08c0660cf2ec0568b010ee2cf9fba60ea6b | [
"MIT"
] | null | null | null | meme.py | Kronos336/meme | dfbed08c0660cf2ec0568b010ee2cf9fba60ea6b | [
"MIT"
] | null | null | null | meme.py | Kronos336/meme | dfbed08c0660cf2ec0568b010ee2cf9fba60ea6b | [
"MIT"
] | null | null | null | import webbrowser
strURL = "https://makeameme.org/meme/The-numbers-Mason"
webbrowser.open(strURL, new=2)
| 26.5 | 55 | 0.773585 | 15 | 106 | 5.466667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.075472 | 106 | 3 | 56 | 35.333333 | 0.826531 | 0 | 0 | 0 | 0 | 0 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f63638a636b474e983776c9acb30c9b09b6b683d | 201 | py | Python | SciFiReaders/__init__.py | sumner-harris/SciFiReaders | 4494b7e7350ad2a6198c87590d193393566ad470 | [
"MIT"
] | null | null | null | SciFiReaders/__init__.py | sumner-harris/SciFiReaders | 4494b7e7350ad2a6198c87590d193393566ad470 | [
"MIT"
] | null | null | null | SciFiReaders/__init__.py | sumner-harris/SciFiReaders | 4494b7e7350ad2a6198c87590d193393566ad470 | [
"MIT"
] | 1 | 2021-09-02T11:39:57.000Z | 2021-09-02T11:39:57.000Z | """
The ScopeReaders package
Submodules
----------
.. autosummary::
:toctree: _autosummary
"""
from .__version__ import version as __version__
from .readers import *
__all__ = readers.__all__
| 12.5625 | 47 | 0.701493 | 19 | 201 | 6.526316 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 201 | 15 | 48 | 13.4 | 0.738095 | 0.457711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
f6440300a4b436b6cf424e65303049c126f36f2c | 3,500 | py | Python | tests/format/grads/test_level_type.py | perillaroc/nwpc-data | 44d75011609e5d2d8bd8a704c7b529e0aceb7ed4 | [
"Apache-2.0"
] | 3 | 2021-10-31T13:59:04.000Z | 2022-03-08T06:45:41.000Z | tests/format/grads/test_level_type.py | perillaroc/nwpc-data | 44d75011609e5d2d8bd8a704c7b529e0aceb7ed4 | [
"Apache-2.0"
] | null | null | null | tests/format/grads/test_level_type.py | perillaroc/nwpc-data | 44d75011609e5d2d8bd8a704c7b529e0aceb7ed4 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass, asdict
from typing import Dict, List, Union, Optional
from reki.format.grads import load_field_from_file
@dataclass
class QueryOption:
parameter: str
level_type: Optional[str]
level: Optional[Union[int, float, List]]
@dataclass
class TestCase:
query: QueryOption
... | 35 | 107 | 0.675143 | 449 | 3,500 | 4.98441 | 0.142539 | 0.209115 | 0.136729 | 0.093834 | 0.802055 | 0.737265 | 0.617516 | 0.580876 | 0.541555 | 0.532618 | 0 | 0.014974 | 0.217714 | 3,500 | 99 | 108 | 35.353535 | 0.802411 | 0 | 0 | 0.518987 | 0 | 0 | 0.03601 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 1 | 0.050633 | false | 0 | 0.037975 | 0 | 0.189873 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f64665b4e19074ccbf1bf7ad8c10c8e244924689 | 514 | py | Python | operators_02/find_simple_interest.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | null | null | null | operators_02/find_simple_interest.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | 2 | 2019-04-15T06:29:55.000Z | 2019-04-19T17:34:32.000Z | operators_02/find_simple_interest.py | njoroge33/py_learn | 6ad55f37789045bc5c03f3dd668cf1ea497f4e84 | [
"MIT"
] | 1 | 2019-11-19T04:51:18.000Z | 2019-11-19T04:51:18.000Z | # Write a simple program that will compute the amount of interest that is earned on an investment over a period of one year
# The initial amount of the investment and the interest rate are input by the user (Expect them to be floating point values)
# (Enter 5 for 5% interest rate)
The value of the investment at... | 85.666667 | 125 | 0.762646 | 94 | 514 | 4.170213 | 0.680851 | 0.038265 | 0.076531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009685 | 0.196498 | 514 | 6 | 126 | 85.666667 | 0.939467 | 0.848249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f6729030094a6bec62b8fdad21ef9b23fff9c577 | 2,171 | py | Python | unittests/tools/test_blackduck_parser.py | M-Rod101/django-DefectDojo | 7b09a00b1a526abaf40455c2ddec16aaa06b16e2 | [
"BSD-3-Clause"
] | 249 | 2016-09-06T21:04:40.000Z | 2018-01-19T15:59:44.000Z | unittests/tools/test_blackduck_parser.py | OWASP/django-DefectDojo | c101e47b294863877cd68a82d0cc60f8017b45b1 | [
"BSD-3-Clause"
] | 255 | 2016-09-06T21:36:37.000Z | 2018-01-19T19:57:57.000Z | unittests/tools/test_blackduck_parser.py | M-Rod101/django-DefectDojo | 7b09a00b1a526abaf40455c2ddec16aaa06b16e2 | [
"BSD-3-Clause"
] | 152 | 2016-09-06T21:04:54.000Z | 2018-01-18T08:52:24.000Z | from ..dojo_test_case import DojoTestCase, get_unit_tests_path
from dojo.tools.blackduck.parser import BlackduckParser
from dojo.models import Test
from pathlib import Path
class TestBlackduckHubParser(DojoTestCase):
def test_blackduck_csv_parser_has_no_finding(self):
testfile = Path(get_unit_tests_path()... | 43.42 | 93 | 0.707969 | 256 | 2,171 | 5.6875 | 0.210938 | 0.049451 | 0.057692 | 0.076923 | 0.804945 | 0.728709 | 0.668956 | 0.668956 | 0.617445 | 0.617445 | 0 | 0.01479 | 0.190235 | 2,171 | 49 | 94 | 44.306122 | 0.813424 | 0 | 0 | 0.380952 | 0 | 0 | 0.115154 | 0.109166 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.142857 | false | 0 | 0.095238 | 0 | 0.261905 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9cc697490720dba21b6e929195eb324901f1feb9 | 2,679 | py | Python | user.py | MARTIN-OMOLLO/Password | 7207f144b25320987d3f904db0224159beecdfaa | [
"Unlicense"
] | null | null | null | user.py | MARTIN-OMOLLO/Password | 7207f144b25320987d3f904db0224159beecdfaa | [
"Unlicense"
] | null | null | null | user.py | MARTIN-OMOLLO/Password | 7207f144b25320987d3f904db0224159beecdfaa | [
"Unlicense"
] | null | null | null | #import modules
import random
import string
# Global variables
global users_list
# Users class
class User:
'''
Class that generates new instances of users
'''
# define users_list
userslist = []
def __init__(self, firstname, lastname, username, password):
'''
__init__ methos ... | 25.037383 | 84 | 0.606196 | 284 | 2,679 | 5.602113 | 0.25 | 0.043997 | 0.022627 | 0.026398 | 0.305468 | 0.214959 | 0.174733 | 0.174733 | 0.13325 | 0.13325 | 0 | 0 | 0.324001 | 2,679 | 107 | 85 | 25.037383 | 0.87852 | 0.299365 | 0 | 0.234043 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0.106383 | 0.042553 | 0 | 0.489362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9cd802776f15d909c7f2fb1016eaaaff6886e9b6 | 16 | py | Python | sikuli/version.py | shish/sikulpy | ca201ee5db2829727446a7277296c4939cffe33d | [
"MIT"
] | 31 | 2016-06-09T14:00:11.000Z | 2021-07-22T03:51:31.000Z | sikuli/version.py | shish/sikulpy | ca201ee5db2829727446a7277296c4939cffe33d | [
"MIT"
] | 19 | 2016-08-03T18:20:09.000Z | 2019-11-19T23:16:57.000Z | sikuli/version.py | shish/sikulpy | ca201ee5db2829727446a7277296c4939cffe33d | [
"MIT"
] | 8 | 2016-06-12T00:55:43.000Z | 2021-07-22T03:58:33.000Z | VERSION = "0.0"
| 8 | 15 | 0.5625 | 3 | 16 | 3 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.1875 | 16 | 1 | 16 | 16 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
142f14aa0d8876ac61b1300359e7f7468074a29c | 198 | py | Python | attic/shell/cmds/foo.py | glycerine/pyg | 9f3beacd96fcc8c25127b1324f2dcfde297fc970 | [
"BSD-3-Clause"
] | 76 | 2015-01-09T06:16:31.000Z | 2022-01-08T08:15:33.000Z | examples/shell/cmds/foo.py | halturin/gopy | 6cbe5a9d949621b6377e5a9e3b42ce6ebe7fca8b | [
"BSD-3-Clause"
] | 2 | 2015-10-18T17:04:04.000Z | 2016-03-16T16:12:16.000Z | examples/shell/cmds/foo.py | qur/gopy | 028c5288397ff885306051a27d42231d633c2b77 | [
"BSD-3-Clause"
] | 13 | 2015-04-07T19:54:50.000Z | 2021-02-05T06:00:11.000Z | # Copyright 2011 Julian Phillips. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
def foo(*args):
print "foo:", args
| 28.285714 | 55 | 0.722222 | 33 | 198 | 4.333333 | 0.909091 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.20202 | 198 | 6 | 56 | 33 | 0.879747 | 0.762626 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
143783c944d40368570fde2e30950952b24ca492 | 1,028 | py | Python | lib/ConvToFullyConnected.py | bcrafton/ssdfa | 661f9059184fde6ba7ad1ca710c5b5a1954c5ea6 | [
"MIT"
] | 10 | 2019-01-23T17:07:59.000Z | 2021-07-13T10:18:10.000Z | semantic-segmentation/lib/ConvToFullyConnected.py | bcrafton/icsrl-deep-learning | e3616982d1dda5f978d61d6591c91cb0da76ab02 | [
"MIT"
] | 1 | 2019-07-30T00:55:58.000Z | 2019-09-17T13:31:48.000Z | semantic-segmentation/lib/ConvToFullyConnected.py | bcrafton/icsrl-deep-learning | e3616982d1dda5f978d61d6591c91cb0da76ab02 | [
"MIT"
] | 1 | 2019-07-28T17:28:30.000Z | 2019-07-28T17:28:30.000Z |
import tensorflow as tf
import numpy as np
import math
from lib.Layer import Layer
class ConvToFullyConnected(Layer):
def __init__(self, input_shape):
self.shape = input_shape
###################################################################
def get_weights(self):
return []
... | 25.073171 | 71 | 0.430934 | 115 | 1,028 | 3.773913 | 0.365217 | 0.046083 | 0.0553 | 0.076037 | 0.129032 | 0.129032 | 0.129032 | 0.129032 | 0 | 0 | 0 | 0.005256 | 0.259728 | 1,028 | 40 | 72 | 25.7 | 0.565046 | 0 | 0 | 0.086957 | 0 | 0 | 0.021792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0.173913 | 0.217391 | 0.869565 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
14392cb61ebdec843da29b987e578156e6b5fb49 | 168 | py | Python | scripts/python/credentials.py | rameshVeeramani/homeAutomation | 733e4eef07bf912c7b5eb8d328c826e25e47b857 | [
"Apache-2.0"
] | 31 | 2018-10-11T09:02:46.000Z | 2021-05-27T02:02:28.000Z | scripts/python/credentials.py | mbutton77/stream-smarts | 8b6224a8416c5236b24bbd2b53282a2ff3b5072c | [
"Apache-2.0"
] | null | null | null | scripts/python/credentials.py | mbutton77/stream-smarts | 8b6224a8416c5236b24bbd2b53282a2ff3b5072c | [
"Apache-2.0"
] | 13 | 2018-10-06T10:13:56.000Z | 2021-12-18T23:49:39.000Z | # Push Bullet API Token Here
# https://www.pushbullet.com/#settings/account
login = {
'pushbullet_api_token' : 'ITSASECRET',
'hassio_password' : 'ITSASECRET'
} | 24 | 46 | 0.702381 | 19 | 168 | 6.052632 | 0.789474 | 0.13913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 168 | 7 | 47 | 24 | 0.809859 | 0.416667 | 0 | 0 | 0 | 0 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
144af9c29a7adc665df5beac382f544bf0d82b65 | 236 | py | Python | NMTK_apps/NMTK_server/management/commands/server_enabled.py | bhargavasana/nmtk | 9bebfcc4b43c28a1f2b2574060ea3195fca2c7dd | [
"Unlicense"
] | null | null | null | NMTK_apps/NMTK_server/management/commands/server_enabled.py | bhargavasana/nmtk | 9bebfcc4b43c28a1f2b2574060ea3195fca2c7dd | [
"Unlicense"
] | null | null | null | NMTK_apps/NMTK_server/management/commands/server_enabled.py | bhargavasana/nmtk | 9bebfcc4b43c28a1f2b2574060ea3195fca2c7dd | [
"Unlicense"
] | null | null | null | from django.core.management.base import BaseCommand, CommandError
from django.conf import settings
class Command(BaseCommand):
help = 'Exit 0 if the tool server is enabled'
def handle(self, *args, **options):
exit(0)
| 29.5 | 65 | 0.720339 | 32 | 236 | 5.3125 | 0.8125 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010471 | 0.190678 | 236 | 7 | 66 | 33.714286 | 0.879581 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
144f653161ff93a86a5b0b85dbb8a86bc45e183b | 122 | py | Python | Udemy_Project/quotestoscrape_html.py | xMrPsyco/PyThegs | 4f211ec1ae0eface08aee6e1e83d910cda87333b | [
"Apache-2.0"
] | null | null | null | Udemy_Project/quotestoscrape_html.py | xMrPsyco/PyThegs | 4f211ec1ae0eface08aee6e1e83d910cda87333b | [
"Apache-2.0"
] | null | null | null | Udemy_Project/quotestoscrape_html.py | xMrPsyco/PyThegs | 4f211ec1ae0eface08aee6e1e83d910cda87333b | [
"Apache-2.0"
] | null | null | null | import requests
from bs4 import BeautifulSoup
website = requests.get('https://quotes.toscrape.com/')
print(website.text) | 20.333333 | 54 | 0.786885 | 16 | 122 | 6 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.090164 | 122 | 6 | 55 | 20.333333 | 0.855856 | 0 | 0 | 0 | 0 | 0 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1456746897cb7723eb466bea2c683d625bf1bd74 | 69 | py | Python | auto_editor/__init__.py | brighteyed/auto-editor | 231502a2902f5e1167dbcde3b09ad56a5f59e554 | [
"Unlicense"
] | 835 | 2020-04-30T06:04:46.000Z | 2022-03-31T06:14:06.000Z | auto_editor/__init__.py | brighteyed/auto-editor | 231502a2902f5e1167dbcde3b09ad56a5f59e554 | [
"Unlicense"
] | 191 | 2020-05-04T16:17:10.000Z | 2022-03-29T09:30:49.000Z | auto_editor/__init__.py | brighteyed/auto-editor | 231502a2902f5e1167dbcde3b09ad56a5f59e554 | [
"Unlicense"
] | 183 | 2020-05-04T12:39:23.000Z | 2022-03-30T16:56:34.000Z | '''__init__.py'''
__version__ = '21.40.2dev'
version = '21w40b-dev'
| 13.8 | 26 | 0.652174 | 9 | 69 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 0.115942 | 69 | 4 | 27 | 17.25 | 0.459016 | 0.15942 | 0 | 0 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1464b04ad78ecb9bdf6b172941ed68caab67a20e | 4,318 | py | Python | drivers/driverComparrisson.py | Ben-Donnelly/F1-Bot | fd73db59d040e49e504e0161a80316a4b995de4b | [
"MIT"
] | null | null | null | drivers/driverComparrisson.py | Ben-Donnelly/F1-Bot | fd73db59d040e49e504e0161a80316a4b995de4b | [
"MIT"
] | null | null | null | drivers/driverComparrisson.py | Ben-Donnelly/F1-Bot | fd73db59d040e49e504e0161a80316a4b995de4b | [
"MIT"
] | null | null | null | from datetime import datetime
from results import results
from drivers import F1drivers
class DriverCompare:
current_year = datetime.today().year
def __init__(self, driver1, driver2, circuit=None):
self.results_call = results.Results()
self.kph_to_mph = 1.609344
self.driver1 = driver1
self.driver2 = driver... | 56.815789 | 245 | 0.807781 | 653 | 4,318 | 4.805513 | 0.127106 | 0.207138 | 0.223072 | 0.281708 | 0.668579 | 0.652008 | 0.650733 | 0.612492 | 0.555131 | 0.527406 | 0 | 0.02216 | 0.090783 | 4,318 | 75 | 246 | 57.573333 | 0.777127 | 0 | 0 | 0 | 0 | 0.050847 | 0.433604 | 0.347161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050847 | false | 0 | 0.050847 | 0 | 0.135593 | 0.016949 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1474671cbd148a5ab2135a0a5038a0a5dc702ce0 | 125 | py | Python | config.py | j0lv3r4/sloth | 4b3ae3502f6704e105d10d0a347adcab316883ab | [
"MIT"
] | null | null | null | config.py | j0lv3r4/sloth | 4b3ae3502f6704e105d10d0a347adcab316883ab | [
"MIT"
] | null | null | null | config.py | j0lv3r4/sloth | 4b3ae3502f6704e105d10d0a347adcab316883ab | [
"MIT"
] | null | null | null | import os
DATABASE_URL = os.getenv('DATABASE_URL')
SECRET = os.getenv('SECRET', 'secret here')
DOMAIN = os.getenv('DOMAIN')
| 20.833333 | 43 | 0.72 | 18 | 125 | 4.888889 | 0.444444 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 5 | 44 | 25 | 0.792793 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1479f2ce1ca44db77e06361a7fb057d3e030938e | 232 | py | Python | unchained/exceptions.py | fuzz-productions/unchained | 3d3138a925e270d240aefcee1abe92a0630e79e5 | [
"MIT"
] | 1 | 2016-06-10T18:34:36.000Z | 2016-06-10T18:34:36.000Z | unchained/exceptions.py | fuzz-productions/unchained | 3d3138a925e270d240aefcee1abe92a0630e79e5 | [
"MIT"
] | null | null | null | unchained/exceptions.py | fuzz-productions/unchained | 3d3138a925e270d240aefcee1abe92a0630e79e5 | [
"MIT"
] | null | null | null | class UnchainedException(Exception):
def __init__(self):
super(UnchainedException, self).__init__(self.message)
class DoesntExist(UnchainedException):
message = "Attempting to get data by a key that doesn't exist"
| 29 | 66 | 0.75 | 27 | 232 | 6.148148 | 0.740741 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 232 | 7 | 67 | 33.142857 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0.215517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
148adebe2283e0dc1ced80d16dd1413e87880430 | 39 | py | Python | module/tc/__init__.py | arlotito/traffic-control-edge-module | 3f25abc23b0f07846ffd054396baad5aff4cc6e3 | [
"MIT"
] | 4 | 2021-07-10T12:04:48.000Z | 2021-12-28T16:04:16.000Z | module/tc/__init__.py | arlotito/traffic-control-edge-module | 3f25abc23b0f07846ffd054396baad5aff4cc6e3 | [
"MIT"
] | null | null | null | module/tc/__init__.py | arlotito/traffic-control-edge-module | 3f25abc23b0f07846ffd054396baad5aff4cc6e3 | [
"MIT"
] | null | null | null | __version__ = '0.1'
VERSION=__version__ | 19.5 | 19 | 0.794872 | 5 | 39 | 4.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.076923 | 39 | 2 | 20 | 19.5 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1499bc13744684a829514bef5c56f99c0ca2e9b1 | 127 | py | Python | pages/urls.py | Nosso-Cafofo/website | 4ae7e7563f924eccd3dd0999f2cee3591718e428 | [
"MIT"
] | null | null | null | pages/urls.py | Nosso-Cafofo/website | 4ae7e7563f924eccd3dd0999f2cee3591718e428 | [
"MIT"
] | 6 | 2020-10-21T03:25:08.000Z | 2021-01-04T19:17:41.000Z | pages/urls.py | Nosso-Cafofo/website | 4ae7e7563f924eccd3dd0999f2cee3591718e428 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
app_name = 'pages'
urlpatterns = [
path('', views.HomeView.as_view()),
] | 15.875 | 39 | 0.685039 | 17 | 127 | 5 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173228 | 127 | 8 | 40 | 15.875 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1adac13523e57ff584ac4459e866b68ae2671459 | 903 | py | Python | ptpython/filters.py | facingBackwards/ptpython | 7ea2e5bc23301ea1790b2ec19b0554dee78c9a39 | [
"BSD-3-Clause"
] | 3,022 | 2015-01-25T00:58:29.000Z | 2018-10-23T20:19:03.000Z | ptpython/filters.py | facingBackwards/ptpython | 7ea2e5bc23301ea1790b2ec19b0554dee78c9a39 | [
"BSD-3-Clause"
] | 254 | 2015-01-24T20:08:31.000Z | 2018-10-23T08:08:47.000Z | ptpython/filters.py | facingBackwards/ptpython | 7ea2e5bc23301ea1790b2ec19b0554dee78c9a39 | [
"BSD-3-Clause"
] | 184 | 2015-01-25T14:27:28.000Z | 2018-10-17T10:05:54.000Z | from typing import TYPE_CHECKING
from prompt_toolkit.filters import Filter
if TYPE_CHECKING:
from .python_input import PythonInput
__all__ = ["HasSignature", "ShowSidebar", "ShowSignature", "ShowDocstring"]
class PythonInputFilter(Filter):
def __init__(self, python_input: "PythonInput") -> None:
se... | 24.405405 | 75 | 0.737542 | 97 | 903 | 6.43299 | 0.350515 | 0.141026 | 0.144231 | 0.120192 | 0.334936 | 0.334936 | 0.274038 | 0.274038 | 0.274038 | 0.274038 | 0 | 0 | 0.17608 | 903 | 36 | 76 | 25.083333 | 0.83871 | 0 | 0 | 0.227273 | 0 | 0 | 0.066445 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.136364 | 0.181818 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
211bb4990a8a0719b8e079956005c047ac338e74 | 130 | py | Python | server/frontend_bootstrap/urls.py | willfulbard/camphoric | 32e30e88b97a905dbde00229a34f01cb05316e08 | [
"MIT"
] | null | null | null | server/frontend_bootstrap/urls.py | willfulbard/camphoric | 32e30e88b97a905dbde00229a34f01cb05316e08 | [
"MIT"
] | 26 | 2019-09-09T01:12:28.000Z | 2020-01-10T06:07:55.000Z | server/frontend_bootstrap/urls.py | willfulbard/camphoric | 32e30e88b97a905dbde00229a34f01cb05316e08 | [
"MIT"
] | 1 | 2020-01-24T04:30:07.000Z | 2020-01-24T04:30:07.000Z | from django.urls import re_path
from . import views
urlpatterns = [
re_path(r'^.*', views.FrontendBootstrapView.as_view())
]
| 18.571429 | 58 | 0.723077 | 17 | 130 | 5.352941 | 0.705882 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 6 | 59 | 21.666667 | 0.81982 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
21217cadb0ca24276b0c1ff8523a99fb15abd3d5 | 248 | py | Python | dubdub/_help.py | RLToolsWorkshop/tunnel-arrow | f4e8575ed3a7a796cc6c3178165ebb2dd63f35aa | [
"Apache-2.0"
] | null | null | null | dubdub/_help.py | RLToolsWorkshop/tunnel-arrow | f4e8575ed3a7a796cc6c3178165ebb2dd63f35aa | [
"Apache-2.0"
] | null | null | null | dubdub/_help.py | RLToolsWorkshop/tunnel-arrow | f4e8575ed3a7a796cc6c3178165ebb2dd63f35aa | [
"Apache-2.0"
] | 2 | 2021-07-10T11:35:45.000Z | 2021-07-14T21:34:10.000Z | from dataclasses import dataclass
from datetime import datetime
from typing import TYPE_CHECKING
from toolz import curry
class GenConfig:
arbitrary_types_allowed = True
if not TYPE_CHECKING:
from pydantic.dataclasses import dataclass
| 16.533333 | 46 | 0.814516 | 32 | 248 | 6.1875 | 0.59375 | 0.171717 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169355 | 248 | 14 | 47 | 17.714286 | 0.961165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
2136c47682766eaaf9a4d4bf0abe8da7ba75693c | 367 | py | Python | tests/util/test_basics.py | arosen93/HT-ASE | a76542e7a2bc5bf6e7382d8f1387374eb2abc713 | [
"BSD-3-Clause-LBNL"
] | 9 | 2022-02-08T08:31:30.000Z | 2022-03-30T21:37:35.000Z | tests/util/test_basics.py | arosen93/HT-ASE | a76542e7a2bc5bf6e7382d8f1387374eb2abc713 | [
"BSD-3-Clause-LBNL"
] | 5 | 2022-02-02T21:47:59.000Z | 2022-03-18T21:28:52.000Z | tests/util/test_basics.py | arosen93/HT-ASE | a76542e7a2bc5bf6e7382d8f1387374eb2abc713 | [
"BSD-3-Clause-LBNL"
] | 3 | 2022-02-23T12:00:57.000Z | 2022-03-24T23:54:22.000Z | from quacc.util.basics import remove_dict_empties
def test_remove_dict_empties():
d = {"output": {"output": {"test": [], "test2": 1}}}
d = remove_dict_empties(d)
assert d == {"output": {"output": {"test2": 1}}}
d = {"output": {"output": {"test": {}, "test2": 1}}}
d = remove_dict_empties(d)
as... | 30.583333 | 56 | 0.569482 | 47 | 367 | 4.255319 | 0.319149 | 0.2 | 0.34 | 0.27 | 0.67 | 0.67 | 0.67 | 0.67 | 0.67 | 0.67 | 0 | 0.026846 | 0.188011 | 367 | 11 | 57 | 33.363636 | 0.644295 | 0 | 0 | 0.5 | 0 | 0 | 0.207084 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2138f0bef038a33ebfc82aa5cd989a3e2380681a | 432 | py | Python | legacy/name_cluster.py | kimSooHyun950921/Heuristics | 97757aebdaf1290c371b84596757de00742d9f5c | [
"Apache-2.0"
] | 3 | 2020-06-26T05:29:20.000Z | 2021-03-26T22:11:24.000Z | legacy/name_cluster.py | kimSooHyun950921/Heuristics | 97757aebdaf1290c371b84596757de00742d9f5c | [
"Apache-2.0"
] | 1 | 2021-08-23T20:51:27.000Z | 2021-08-23T20:51:27.000Z | legacy/name_cluster.py | kimSooHyun950921/Heuristics | 97757aebdaf1290c371b84596757de00742d9f5c | [
"Apache-2.0"
] | null | null | null | import os
import sys
import time
import sqlite3
import multiprocessing
import heuristics
import unionfind as uf
from test_secret import rpc_user, rpc_password
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
from test_cluster_db_query import ClusterDB
import test_db_query as dq
def main():
df =... | 22.736842 | 74 | 0.80787 | 59 | 432 | 5.627119 | 0.627119 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002681 | 0.136574 | 432 | 19 | 75 | 22.736842 | 0.887399 | 0 | 0 | 0 | 0 | 0 | 0.133949 | 0.115473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.0625 | 0.6875 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
2143ecbb964676a12b5bad2c37fa607524072d7c | 608 | py | Python | main.py | syniosis76/tourney | 022d5f2de07a74ab2efc76e35ce616f49e315f49 | [
"MIT"
] | null | null | null | main.py | syniosis76/tourney | 022d5f2de07a74ab2efc76e35ce616f49e315f49 | [
"MIT"
] | null | null | null | main.py | syniosis76/tourney | 022d5f2de07a74ab2efc76e35ce616f49e315f49 | [
"MIT"
] | null | null | null | import sys
from server import app
import static
from waitress import serve
from utilities import jsonEncoder
import tourneyDatabase
from routes import about
from routes import tournament
from routes import tournaments
from routes import gameDate
from routes import statistics
from routes import playerStatistics
from... | 20.965517 | 68 | 0.759868 | 80 | 608 | 5.775 | 0.4625 | 0.151515 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.161184 | 608 | 28 | 69 | 21.714286 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.115321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.619048 | 0 | 0.619048 | 0.095238 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
dcc7827004a29dc9ee23a5253fed6683d53b7f6c | 150 | py | Python | communications/routing.py | janhavilande/Blogs_Website | 4d07395d8b4f956bdca3ce7a0eb77bb28c088597 | [
"MIT"
] | 1 | 2021-01-28T13:30:07.000Z | 2021-01-28T13:30:07.000Z | communications/routing.py | webguru071/Django-Social-Network | 053e5e3ef2161d3ce30657f830e8ad5af9084a75 | [
"CC0-1.0"
] | null | null | null | communications/routing.py | webguru071/Django-Social-Network | 053e5e3ef2161d3ce30657f830e8ad5af9084a75 | [
"CC0-1.0"
] | 5 | 2021-01-16T12:04:26.000Z | 2021-03-11T07:12:15.000Z | from django.urls import re_path
from .consumers import *
websocket_urlpatterns = [
re_path(r'^ws/chat/(?P<friendname>[^/]+)/$', ChatConsumer),
] | 21.428571 | 63 | 0.693333 | 19 | 150 | 5.315789 | 0.789474 | 0.118812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 150 | 7 | 64 | 21.428571 | 0.770992 | 0 | 0 | 0 | 0 | 0 | 0.211921 | 0.211921 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dccdff4ab95277fa3a51a5b204da3537b7dcd4a4 | 21 | py | Python | tests/parser/good/simple-string.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/parser/good/simple-string.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/parser/good/simple-string.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | test = "test string"
| 10.5 | 20 | 0.666667 | 3 | 21 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dce1b4ee5f999031c3b6f58c41a8a442e93d193d | 4,818 | py | Python | pysnmp-with-texts/TPT-ATA-REG-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/TPT-ATA-REG-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/TPT-ATA-REG-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module TPT-ATA-REG-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TPT-ATA-REG-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:26:14 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27... | 155.419355 | 1,856 | 0.80303 | 643 | 4,818 | 5.934681 | 0.401244 | 0.022013 | 0.034591 | 0.056604 | 0.350105 | 0.275157 | 0.216195 | 0.167715 | 0.142558 | 0.138889 | 0 | 0.036557 | 0.102947 | 4,818 | 30 | 1,857 | 160.6 | 0.846367 | 0.067248 | 0 | 0 | 0 | 0.045455 | 0.582163 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.318182 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dcf9866a1d87809d68fb5dc3bbeee7d815ddd71e | 640 | py | Python | tests/utils/test_capture_stdout.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 580 | 2020-09-10T06:29:57.000Z | 2022-03-29T19:34:54.000Z | tests/utils/test_capture_stdout.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 691 | 2020-09-05T03:08:34.000Z | 2022-03-31T23:47:06.000Z | tests/utils/test_capture_stdout.py | lgvaz/mantisshrimp2 | 743cb7df0dae7eb1331fc2bb66fc9ca09db496cd | [
"Apache-2.0"
] | 105 | 2020-09-09T10:41:35.000Z | 2022-03-25T17:16:49.000Z | from icevision.all import *
def test_capture_stdout_simple():
with CaptureStdout() as out:
print("mantis")
print("shrimp")
assert out == ["mantis", "shrimp"]
def test_capture_stdout_propagate():
with CaptureStdout() as out1:
print("mantis")
with CaptureStdout(propagate_s... | 22.068966 | 58 | 0.61875 | 69 | 640 | 5.57971 | 0.318841 | 0.220779 | 0.197403 | 0.155844 | 0.633766 | 0.633766 | 0.483117 | 0.311688 | 0.311688 | 0 | 0 | 0.014675 | 0.254688 | 640 | 28 | 59 | 22.857143 | 0.792453 | 0 | 0 | 0.421053 | 0 | 0 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.157895 | true | 0 | 0.052632 | 0 | 0.210526 | 0.315789 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0d0355a4acc64c89a0d86683955c947beaab0c2d | 964 | py | Python | control/parse/base/baseparser.py | gmarciani/ipath | 6c367b969fd5363c92672ebabfd4e2b01e866af4 | [
"MIT"
] | null | null | null | control/parse/base/baseparser.py | gmarciani/ipath | 6c367b969fd5363c92672ebabfd4e2b01e866af4 | [
"MIT"
] | null | null | null | control/parse/base/baseparser.py | gmarciani/ipath | 6c367b969fd5363c92672ebabfd4e2b01e866af4 | [
"MIT"
] | null | null | null | class baseparser:
"""
Parser interface.
"""
def parse_file(self, source):
"""
Parses a Graph from an OSM file.
This is the preferred way for parsing when on execution mode.
parse_file(source) -> graph
@type source: string
@param sou... | 28.352941 | 91 | 0.568465 | 104 | 964 | 5.211538 | 0.403846 | 0.049816 | 0.059041 | 0.062731 | 0.734317 | 0.734317 | 0.608856 | 0.608856 | 0.136531 | 0 | 0 | 0 | 0.357884 | 964 | 34 | 91 | 28.352941 | 0.875606 | 0.473029 | 0 | 0 | 0 | 0 | 0.349835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0d2b4a5dc3a0ea311b37fd72fc0cecd51afa3605 | 324 | bzl | Python | tools/rust_analyzer/deps.bzl | yesudeep/rules_rust | cdca6ed5eb9609cbc3f6b5d8f760e46e3b0596a2 | [
"Apache-2.0"
] | 349 | 2016-03-15T20:38:00.000Z | 2022-03-28T07:03:02.000Z | tools/rust_analyzer/deps.bzl | yesudeep/rules_rust | cdca6ed5eb9609cbc3f6b5d8f760e46e3b0596a2 | [
"Apache-2.0"
] | 872 | 2016-03-18T06:40:26.000Z | 2022-03-31T16:04:04.000Z | tools/rust_analyzer/deps.bzl | yesudeep/rules_rust | cdca6ed5eb9609cbc3f6b5d8f760e46e3b0596a2 | [
"Apache-2.0"
] | 231 | 2016-03-16T11:34:47.000Z | 2022-03-25T23:01:35.000Z | """
The dependencies for running the gen_rust_project binary.
"""
load("//tools/rust_analyzer/raze:crates.bzl", "rules_rust_tools_rust_analyzer_fetch_remote_crates")
def rust_analyzer_deps():
rules_rust_tools_rust_analyzer_fetch_remote_crates()
# For legacy support
gen_rust_project_dependencies = rust_analyzer_d... | 27 | 99 | 0.830247 | 46 | 324 | 5.326087 | 0.456522 | 0.244898 | 0.208163 | 0.146939 | 0.35102 | 0.35102 | 0.35102 | 0.35102 | 0 | 0 | 0 | 0 | 0.08642 | 324 | 11 | 100 | 29.454545 | 0.827703 | 0.237654 | 0 | 0 | 0 | 0 | 0.364017 | 0.364017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 3 |
0d363d3bf4521a1cf191a0ec641f7786b268c449 | 845 | py | Python | Chapter02/indices.py | shoshan/Clean-Code-in-Python | 8f436223912f8bc80029f2393440665e56dbba07 | [
"MIT"
] | 402 | 2018-08-19T03:09:40.000Z | 2022-03-30T08:10:26.000Z | Chapter02/indices.py | shoshan/Clean-Code-in-Python | 8f436223912f8bc80029f2393440665e56dbba07 | [
"MIT"
] | 137 | 2021-01-05T11:21:04.000Z | 2022-03-31T11:10:11.000Z | Chapter02/indices.py | shoshan/Clean-Code-in-Python | 8f436223912f8bc80029f2393440665e56dbba07 | [
"MIT"
] | 140 | 2018-09-16T05:47:46.000Z | 2022-03-31T03:20:30.000Z | """Indexes and slices
Getting elements by an index or range
"""
import doctest
def index_last():
"""
>>> my_numbers = (4, 5, 3, 9)
>>> my_numbers[-1]
9
>>> my_numbers[-3]
5
"""
def get_slices():
"""
>>> my_numbers = (1, 1, 2, 3, 5, 8, 13, 21)
>>> my_numbers[2:5]
(2, 3, 5)... | 16.9 | 49 | 0.502959 | 123 | 845 | 3.235772 | 0.325203 | 0.271357 | 0.100503 | 0.037688 | 0.241206 | 0.160804 | 0.160804 | 0.160804 | 0.140704 | 0.140704 | 0 | 0.098662 | 0.292308 | 845 | 49 | 50 | 17.244898 | 0.56689 | 0.581065 | 0 | 0 | 0 | 0 | 0.033755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0d373976ea82a91ea9fe6f18db0d030c5c9d3370 | 328 | py | Python | python2sky/bootstrap.py | johnmiroki/python2sky | bd2b0d59bc1a6670902c562ab9dfba0cac72d380 | [
"Apache-2.0"
] | null | null | null | python2sky/bootstrap.py | johnmiroki/python2sky | bd2b0d59bc1a6670902c562ab9dfba0cac72d380 | [
"Apache-2.0"
] | null | null | null | python2sky/bootstrap.py | johnmiroki/python2sky | bd2b0d59bc1a6670902c562ab9dfba0cac72d380 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
# author:huawei
import logging
LOG_FORMAT = "%(asctime)s - %(levelname)s - %(filename)s[:%(lineno)d] - %(message)s"
logging.basicConfig(level=logging.DEBUG, format=LOG_FORMAT)
def skywalking_boot():
import python2sky.remote.service_register_client
import python2sky.remote.trace_segment... | 27.333333 | 84 | 0.740854 | 42 | 328 | 5.619048 | 0.690476 | 0.076271 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010274 | 0.109756 | 328 | 11 | 85 | 29.818182 | 0.797945 | 0.103659 | 0 | 0 | 0 | 0.166667 | 0.237113 | 0.085911 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0d4038ee3cf9b150fc164fcfc390eb906d0fec68 | 151 | py | Python | formaggio/apps.py | scotu/django-formaggio | ee565d3b37d71572a7fe5da23a2475117e3f6c7f | [
"BSD-3-Clause"
] | null | null | null | formaggio/apps.py | scotu/django-formaggio | ee565d3b37d71572a7fe5da23a2475117e3f6c7f | [
"BSD-3-Clause"
] | null | null | null | formaggio/apps.py | scotu/django-formaggio | ee565d3b37d71572a7fe5da23a2475117e3f6c7f | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.apps import AppConfig
class FormaggioConfig(AppConfig):
name = 'formaggio'
verbose_name = "Form builder"
| 18.875 | 33 | 0.688742 | 17 | 151 | 6.058824 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.18543 | 151 | 7 | 34 | 21.571429 | 0.829268 | 0.139073 | 0 | 0 | 0 | 0 | 0.164063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0d4552d49760aad7404c23c3338f314198694bd8 | 2,199 | py | Python | lyapy/lyapunov_functions/learned_quadratic_control_lyapunov_function.py | vdorobantu/lyapy | 485e8490ef77f2286a804b2bd506cc3f46b74c6d | [
"BSD-3-Clause"
] | 36 | 2019-03-09T07:38:05.000Z | 2022-01-06T05:33:51.000Z | lyapy/lyapunov_functions/learned_quadratic_control_lyapunov_function.py | HaiminClack/lyapy | 485e8490ef77f2286a804b2bd506cc3f46b74c6d | [
"BSD-3-Clause"
] | 8 | 2020-01-28T22:35:26.000Z | 2022-02-10T00:08:17.000Z | lyapy/lyapunov_functions/learned_quadratic_control_lyapunov_function.py | HaiminClack/lyapy | 485e8490ef77f2286a804b2bd506cc3f46b74c6d | [
"BSD-3-Clause"
] | 15 | 2019-04-21T00:31:48.000Z | 2021-12-29T10:26:31.000Z | """Class for Quadratic CLFs, augmented with residual drift and decoupling models."""
from .quadratic_control_lyapunov_function import QuadraticControlLyapunovFunction
class LearnedQuadraticControlLyapunovFunction(QuadraticControlLyapunovFunction):
"""Class for Quadratic CLFs, augmented with residual drift and dec... | 42.288462 | 102 | 0.701228 | 250 | 2,199 | 6.024 | 0.22 | 0.073041 | 0.095618 | 0.12749 | 0.488712 | 0.444887 | 0.444887 | 0.381806 | 0.381806 | 0.381806 | 0 | 0 | 0.216007 | 2,199 | 51 | 103 | 43.117647 | 0.87355 | 0.527058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b49ac137ca5aab76de1fd833b5b1d7b5c66a37cd | 409 | py | Python | packages/pyright-internal/src/tests/samples/tuples4.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/tuples4.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/tuples4.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | # This sample tests the translation of a heterogenous tuple
# into an Interable.
from typing import Iterable, TypeVar, Union
_T = TypeVar("_T")
def foo(x: Iterable[_T]) -> Iterable[_T]:
return x
def bar(x: Iterable[Union[int, str]]):
pass
my_tuple = (3, "hello")
# The type of my_itera... | 18.590909 | 63 | 0.665037 | 61 | 409 | 4.311475 | 0.540984 | 0.114068 | 0.121673 | 0.144487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003135 | 0.220049 | 409 | 21 | 64 | 19.47619 | 0.821317 | 0.334963 | 0 | 0 | 0 | 0 | 0.02834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.111111 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
b4a6a69ff4c85a606e1e2839155800e2af530e69 | 9,475 | py | Python | cfgov/jobmanager/migrations/0002_auto__chg_field_location_slug__del_unique_location_slug__chg_field_app.py | m3brown/cfgov-refresh | 9582dccc97498a27fcf78a70bb50ef06efa2ce74 | [
"CC0-1.0"
] | null | null | null | cfgov/jobmanager/migrations/0002_auto__chg_field_location_slug__del_unique_location_slug__chg_field_app.py | m3brown/cfgov-refresh | 9582dccc97498a27fcf78a70bb50ef06efa2ce74 | [
"CC0-1.0"
] | null | null | null | cfgov/jobmanager/migrations/0002_auto__chg_field_location_slug__del_unique_location_slug__chg_field_app.py | m3brown/cfgov-refresh | 9582dccc97498a27fcf78a70bb50ef06efa2ce74 | [
"CC0-1.0"
] | null | null | null | # -*- coding: 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):
# Removing unique constraint on 'Grade', fields ['slug']
db.delete_unique('jobmanager_grade', ['slug'])
... | 55.735294 | 203 | 0.600528 | 983 | 9,475 | 5.666328 | 0.106816 | 0.080431 | 0.138241 | 0.197487 | 0.812926 | 0.778815 | 0.656373 | 0.564991 | 0.516517 | 0.355835 | 0 | 0.008381 | 0.19409 | 9,475 | 170 | 204 | 55.735294 | 0.721058 | 0.142586 | 0 | 0.145631 | 0 | 0 | 0.511059 | 0.307426 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019417 | false | 0 | 0.038835 | 0 | 0.087379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b4d147d36303efc168fdb8f38088f7ec5451ced4 | 261 | py | Python | vvc/config.py | vvc-unal/vvc | 9dd413bd99f60b41d4d33931b301aefaed42609d | [
"MIT"
] | null | null | null | vvc/config.py | vvc-unal/vvc | 9dd413bd99f60b41d4d33931b301aefaed42609d | [
"MIT"
] | null | null | null | vvc/config.py | vvc-unal/vvc | 9dd413bd99f60b41d4d33931b301aefaed42609d | [
"MIT"
] | null | null | null | '''
'''
import os
base_folder = os.path.join(os.environ['HOME'], 'workspace/Maestria')
video_folder = os.path.join(base_folder, 'Videos', 'Original')
output_folder = os.path.join(base_folder, 'Videos', 'vvc')
model_folder = os.path.join(base_folder, 'Model') | 26.1 | 68 | 0.716475 | 38 | 261 | 4.736842 | 0.421053 | 0.222222 | 0.266667 | 0.355556 | 0.5 | 0.5 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 261 | 10 | 69 | 26.1 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b4f2bf6dd5cae1e0712a49604548c3fe9c9339f3 | 7,866 | py | Python | floatsmt/api.py | mhuisi/float-smt | a2400b386f707fda2a0ae393b8a6bf3e0f2810d3 | [
"MIT"
] | null | null | null | floatsmt/api.py | mhuisi/float-smt | a2400b386f707fda2a0ae393b8a6bf3e0f2810d3 | [
"MIT"
] | null | null | null | floatsmt/api.py | mhuisi/float-smt | a2400b386f707fda2a0ae393b8a6bf3e0f2810d3 | [
"MIT"
] | null | null | null | from __future__ import annotations
import floatsmt
from floatsmt.operations import *
rm = Truncate # default value
def set_default_rm(rounding_mode: RoundingMode):
global rm
rm = rounding_mode
class SMTFloat:
def __init__(self, expr):
self.expr = expr
# Operations
def __add__(self, ... | 32.639004 | 120 | 0.65942 | 989 | 7,866 | 5.060667 | 0.11729 | 0.07033 | 0.083916 | 0.08991 | 0.641958 | 0.498302 | 0.337063 | 0.230569 | 0.115485 | 0.077123 | 0 | 0.001146 | 0.223621 | 7,866 | 240 | 121 | 32.775 | 0.818405 | 0.013221 | 0 | 0.177914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.404908 | false | 0 | 0.018405 | 0.361963 | 0.791411 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b4ff1cb48090bb6f43649d63350fe9ffa412fb0a | 862 | py | Python | Old/PiNavio Scripts/channel_overrides_test.py | multirotorsociety/SAFMC-19-D2-Autonomous-Drone | fd9f0fae5d7cbf618b327224e06a7f459612b4ca | [
"MIT"
] | 6 | 2019-04-01T02:38:40.000Z | 2021-06-05T18:23:06.000Z | Old/PiNavio Scripts/channel_overrides_test.py | multirotorsociety/SAFMC-19-D2-Autonomous-Drone | fd9f0fae5d7cbf618b327224e06a7f459612b4ca | [
"MIT"
] | null | null | null | Old/PiNavio Scripts/channel_overrides_test.py | multirotorsociety/SAFMC-19-D2-Autonomous-Drone | fd9f0fae5d7cbf618b327224e06a7f459612b4ca | [
"MIT"
] | 1 | 2019-09-01T08:58:28.000Z | 2019-09-01T08:58:28.000Z | # Test Script for Vehicle Channels
from __future__ import print_function
from dronekit import connect
# Connect to the Vehicle
vehicle = connect('udp:127.0.0.1:14650', wait_ready=True)
# Get all original channel values (before override)
print("Channel values from RC Tx:", vehicle.channels)
while True:
# Access ch... | 24.628571 | 57 | 0.685615 | 120 | 862 | 4.875 | 0.525 | 0.282051 | 0.218803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036635 | 0.145012 | 862 | 34 | 58 | 25.352941 | 0.757123 | 0.200696 | 0 | 0 | 0 | 0 | 0.256223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0.764706 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
370f37baf49c3f7f59cf2c7af25765bcb7ed2988 | 5,017 | py | Python | expr/test_expr.py | chrisshiels/life | f6902ef656e0171c07eec3eb9343a275048ab849 | [
"MIT"
] | null | null | null | expr/test_expr.py | chrisshiels/life | f6902ef656e0171c07eec3eb9343a275048ab849 | [
"MIT"
] | null | null | null | expr/test_expr.py | chrisshiels/life | f6902ef656e0171c07eec3eb9343a275048ab849 | [
"MIT"
] | null | null | null | import StringIO
import pytest
import expr
@pytest.fixture
def stdin():
return StringIO.StringIO()
@pytest.fixture
def stdout():
return StringIO.StringIO()
@pytest.fixture
def stderr():
return StringIO.StringIO()
def test_identity():
assert expr.identity(None) is None
assert expr.identity(1) == 1
... | 26.267016 | 78 | 0.511262 | 595 | 5,017 | 4.262185 | 0.131092 | 0.205047 | 0.099369 | 0.107256 | 0.51183 | 0.348186 | 0.266562 | 0.266562 | 0.251972 | 0.212934 | 0 | 0.027133 | 0.287423 | 5,017 | 190 | 79 | 26.405263 | 0.682238 | 0 | 0 | 0.320611 | 0 | 0 | 0.07953 | 0 | 0 | 0 | 0 | 0 | 0.48855 | 1 | 0.244275 | false | 0 | 0.022901 | 0.045802 | 0.335878 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3710bdadeab99c1d0cfe124f520c5266f35b4c9c | 203 | py | Python | server/syllable/settings/__init__.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | null | null | null | server/syllable/settings/__init__.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | 13 | 2018-09-29T21:34:25.000Z | 2018-12-15T18:54:52.000Z | server/syllable/settings/__init__.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | null | null | null | import os
syllable_env = os.environ.get('SYLLABLE_ENV')
if syllable_env == 'PROD':
from .production import *
elif syllable_env == 'DEPLOY':
from .deploy import *
else:
from .local import *
| 18.454545 | 45 | 0.684729 | 27 | 203 | 5 | 0.518519 | 0.325926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197044 | 203 | 10 | 46 | 20.3 | 0.828221 | 0 | 0 | 0 | 0 | 0 | 0.108374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
372df23c86586e6804ad098205d4cc2d9ccc71eb | 237 | py | Python | allhub/misc/rate_limit.py | srinivasreddy/allhub | ff20858c9984da5c4edd5043c39eed3b6d5d693d | [
"Apache-2.0"
] | 2 | 2019-10-07T15:46:33.000Z | 2019-11-26T04:30:39.000Z | allhub/misc/rate_limit.py | srinivasreddy/allhub | ff20858c9984da5c4edd5043c39eed3b6d5d693d | [
"Apache-2.0"
] | 1 | 2020-03-09T14:44:04.000Z | 2020-03-09T14:44:04.000Z | allhub/misc/rate_limit.py | srinivasreddy/allhub | ff20858c9984da5c4edd5043c39eed3b6d5d693d | [
"Apache-2.0"
] | 2 | 2019-10-08T05:22:37.000Z | 2019-10-08T06:20:47.000Z | from allhub.response import Response
class RateLimitMixin:
def rate_limit(self, **kwargs):
url = "/rate_limit"
self.response = Response(self.get(url, **kwargs), "RateLimit")
return self.response.transform()
| 26.333333 | 70 | 0.670886 | 27 | 237 | 5.814815 | 0.592593 | 0.11465 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206751 | 237 | 8 | 71 | 29.625 | 0.835106 | 0 | 0 | 0 | 0 | 0 | 0.084388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2ea57ee4a3f0316df7b5cfda1396d12a8c0d4e81 | 3,725 | py | Python | djangostripe/djangostripe/settings.py | avkhimen/django_with_stripe | 931bfcac73b23c78810869bdb571054d3a7b3d02 | [
"MIT"
] | null | null | null | djangostripe/djangostripe/settings.py | avkhimen/django_with_stripe | 931bfcac73b23c78810869bdb571054d3a7b3d02 | [
"MIT"
] | null | null | null | djangostripe/djangostripe/settings.py | avkhimen/django_with_stripe | 931bfcac73b23c78810869bdb571054d3a7b3d02 | [
"MIT"
] | null | null | null | """
Django settings for djangostripe project.
Generated by 'django-admin startproject' using Django 3.0.8.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
"""
import ... | 28.007519 | 134 | 0.724832 | 396 | 3,725 | 6.691919 | 0.431818 | 0.073585 | 0.058113 | 0.066038 | 0.197358 | 0.159623 | 0.100755 | 0.100755 | 0.045283 | 0 | 0 | 0.029384 | 0.150336 | 3,725 | 132 | 135 | 28.219697 | 0.807899 | 0.266309 | 0 | 0 | 1 | 0.013514 | 0.583026 | 0.509963 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.067568 | 0.013514 | 0 | 0.013514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
2eae2ab5dd2041f843d15098cce472e442ed98db | 48 | py | Python | comap/__init__.py | bruxy70/ComAp | 15b355725aad451b619f43024a3db9c2fc8c3afb | [
"MIT"
] | null | null | null | comap/__init__.py | bruxy70/ComAp | 15b355725aad451b619f43024a3db9c2fc8c3afb | [
"MIT"
] | null | null | null | comap/__init__.py | bruxy70/ComAp | 15b355725aad451b619f43024a3db9c2fc8c3afb | [
"MIT"
] | null | null | null | """ comap package for python
"""
NAME = "comap"
| 12 | 28 | 0.625 | 6 | 48 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 3 | 29 | 16 | 0.769231 | 0.5 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2ebea0c412d52c64ebf230fbf72c1a0b4628912f | 70 | py | Python | brgovdata/__init__.py | ShinyDataScience/brgovdata | 7cb959df27a398a6edaf2a149fce202077e883b2 | [
"MIT"
] | 2 | 2020-02-24T02:08:50.000Z | 2020-07-05T18:32:52.000Z | brgovdata/__init__.py | ShinyDataScience/brgovdata | 7cb959df27a398a6edaf2a149fce202077e883b2 | [
"MIT"
] | null | null | null | brgovdata/__init__.py | ShinyDataScience/brgovdata | 7cb959df27a398a6edaf2a149fce202077e883b2 | [
"MIT"
] | 1 | 2019-10-27T23:28:12.000Z | 2019-10-27T23:28:12.000Z | import bcb
import ibge
__version__ = '1.00'
__author__ = 'j_vz'
| 11.666667 | 21 | 0.671429 | 10 | 70 | 3.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.228571 | 70 | 5 | 22 | 14 | 0.648148 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2ec4077ce26b55ffa3d5c7c1cc672ea9b65155fe | 993 | py | Python | unicodeblock/lower.py | koterpillar/pyunicodeblock | f9e590fde63c867798958b0ee3d2d3ea1e7a6c59 | [
"MIT"
] | null | null | null | unicodeblock/lower.py | koterpillar/pyunicodeblock | f9e590fde63c867798958b0ee3d2d3ea1e7a6c59 | [
"MIT"
] | null | null | null | unicodeblock/lower.py | koterpillar/pyunicodeblock | f9e590fde63c867798958b0ee3d2d3ea1e7a6c59 | [
"MIT"
] | null | null | null | # encoding=utf-8
_KANA_LOW = ord('ぁ')
_KANA_HIGH = ord('ゖ')
_KANA_DIFF = ord('ア') - ord('あ')
def lower_kana(ch):
code = ord(ch)
if _KANA_LOW <= code <= _KANA_HIGH:
return chr(code + _KANA_DIFF)
return ch
def lower_kanas(u):
return ''.join([lower_kana(ch) for ch in u])
_FULL_WIDTH_LOW = ord... | 24.219512 | 73 | 0.683787 | 157 | 993 | 3.872611 | 0.203822 | 0.207237 | 0.184211 | 0.083882 | 0.495066 | 0.304276 | 0.078947 | 0 | 0 | 0 | 0 | 0.001229 | 0.180262 | 993 | 40 | 74 | 24.825 | 0.7457 | 0.014099 | 0 | 0.148148 | 0 | 0 | 0.010235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185185 | false | 0 | 0 | 0.111111 | 0.481481 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
2ec680588c14136f3be129da5c6ca93de8845746 | 7,368 | py | Python | gigantum_tests/test_merge_conflict.py | gigantum/gigantum-testing | 10cf3f15fa20b7be986febb8dbd1d20868061d24 | [
"MIT"
] | 5 | 2019-03-15T19:04:00.000Z | 2019-06-28T18:47:19.000Z | gigantum_tests/test_merge_conflict.py | gigantum/gigantum-testing | 10cf3f15fa20b7be986febb8dbd1d20868061d24 | [
"MIT"
] | 34 | 2019-03-15T17:46:35.000Z | 2021-09-08T00:55:48.000Z | gigantum_tests/test_merge_conflict.py | gigantum/gigantum-testing | 10cf3f15fa20b7be986febb8dbd1d20868061d24 | [
"MIT"
] | 5 | 2019-03-21T03:03:45.000Z | 2021-08-28T21:25:48.000Z | # Builtin imports
import logging
import time
import os
import shutil
from subprocess import Popen, PIPE
# Library imports
import selenium
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
# Local package... | 40.483516 | 115 | 0.684989 | 909 | 7,368 | 5.337734 | 0.19582 | 0.043075 | 0.026793 | 0.030297 | 0.677247 | 0.663232 | 0.633553 | 0.603462 | 0.576257 | 0.549464 | 0 | 0.006549 | 0.191775 | 7,368 | 181 | 116 | 40.707182 | 0.808228 | 0.912866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2ec75bed3cb4496ab5f0a45b2aa6534d67d3fa3e | 441 | py | Python | migrations/versions/1994db11b384_clics2.py | clld/clics | e145b38a242eaf54cf67fac7355603f844f8c534 | [
"Apache-2.0"
] | 3 | 2020-05-06T09:27:57.000Z | 2021-01-03T12:25:07.000Z | migrations/versions/1994db11b384_clics2.py | clld/clics | e145b38a242eaf54cf67fac7355603f844f8c534 | [
"Apache-2.0"
] | 20 | 2018-03-05T16:03:26.000Z | 2021-02-14T08:20:36.000Z | migrations/versions/1994db11b384_clics2.py | clld/clics | e145b38a242eaf54cf67fac7355603f844f8c534 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
"""clics2
Revision ID: 1994db11b384
Revises: b6bcb9d9bef1
Create Date: 2018-09-20 14:53:36.111532
"""
from __future__ import unicode_literals
# revision identifiers, used by Alembic.
revision = '1994db11b384'
down_revision = 'b6bcb9d9bef1'
import datetime
from alembic import op
import sqlalchemy as ... | 15.206897 | 70 | 0.732426 | 58 | 441 | 5.448276 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0.15873 | 441 | 28 | 71 | 15.75 | 0.719677 | 0.335601 | 0 | 0 | 0 | 0 | 0.204947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.1 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
2ed0d33e4c029638cdc90297cf570c3b82478164 | 1,147 | py | Python | test.py | sumanth-lingappa/python-built-in-functions-starter-env | aef449d9a53e2e1082100283aa392ec474e4c835 | [
"MIT"
] | null | null | null | test.py | sumanth-lingappa/python-built-in-functions-starter-env | aef449d9a53e2e1082100283aa392ec474e4c835 | [
"MIT"
] | null | null | null | test.py | sumanth-lingappa/python-built-in-functions-starter-env | aef449d9a53e2e1082100283aa392ec474e4c835 | [
"MIT"
] | null | null | null | import python_builtin_functions as bif
assert(bif.myabs(-5) == abs(-5))
assert(bif.myabs(5) == abs(5))
assert(bif.myabs(0) == abs(0))
assert(bif.myall([1, 4j, {1:1}]) == all([1, 4j, {1:1}]))
assert(bif.myall([1, 4j, {1:1}, set()]) == all([1, 4j, {1:1}, set()]))
assert(bif.myany((0,0.0,[],(),{})) == any((0,0.0,[],(),... | 28.675 | 72 | 0.585876 | 200 | 1,147 | 3.35 | 0.32 | 0.28209 | 0.053731 | 0.035821 | 0.31194 | 0.279104 | 0.201493 | 0.144776 | 0.077612 | 0 | 0 | 0.093601 | 0.087184 | 1,147 | 39 | 73 | 29.410256 | 0.546323 | 0.112467 | 0 | 0 | 0 | 0 | 0.047291 | 0 | 0 | 0 | 0 | 0 | 0.904762 | 1 | 0 | true | 0 | 0.047619 | 0 | 0.047619 | 0.047619 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2ede98ce450d3ce0e93e6e95f6cae155b1eb5517 | 427 | py | Python | .venv/Lib/site-packages/django/contrib/auth/migrations/0016_auto_20210408_0046.py | Samio-Santos/Projeto_blog_Django | 3664063276491c4cde4f46a66339accb4b9dfff3 | [
"MIT"
] | null | null | null | .venv/Lib/site-packages/django/contrib/auth/migrations/0016_auto_20210408_0046.py | Samio-Santos/Projeto_blog_Django | 3664063276491c4cde4f46a66339accb4b9dfff3 | [
"MIT"
] | null | null | null | .venv/Lib/site-packages/django/contrib/auth/migrations/0016_auto_20210408_0046.py | Samio-Santos/Projeto_blog_Django | 3664063276491c4cde4f46a66339accb4b9dfff3 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-04-08 03:46
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('auth', '0015_auto_20210323_0307'),
]
operations = [
migrations.RemoveField(
model_name='user',
name='biografia',
),
... | 19.409091 | 47 | 0.555035 | 42 | 427 | 5.52381 | 0.738095 | 0.181034 | 0.224138 | 0.258621 | 0.327586 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0.108392 | 0.330211 | 427 | 21 | 48 | 20.333333 | 0.702797 | 0.105386 | 0 | 0.4 | 1 | 0 | 0.131579 | 0.060526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2eeb10ea3002d547999cd0a61d28e3b8cb8eccd1 | 1,519 | py | Python | setup.py | gmr/consulate | c431de9e629614b49c61c334d5f491fea3a9c5a3 | [
"BSD-3-Clause"
] | 309 | 2015-01-09T19:34:43.000Z | 2022-02-11T17:27:55.000Z | setup.py | gmr/consulate | c431de9e629614b49c61c334d5f491fea3a9c5a3 | [
"BSD-3-Clause"
] | 101 | 2015-01-15T13:26:56.000Z | 2021-11-25T17:25:28.000Z | setup.py | gmr/consulate | c431de9e629614b49c61c334d5f491fea3a9c5a3 | [
"BSD-3-Clause"
] | 114 | 2015-03-02T17:35:43.000Z | 2022-03-26T16:26:46.000Z | import setuptools
setuptools.setup(
name='abaez.consulate',
version='1.1.0',
description='A Client library and command line application for the Consul',
maintainer='Gavin M. Roy',
maintainer_email='gavinr@aweber.com',
url='https://consulate.readthedocs.org',
install_requires=['requests>=2.0... | 42.194444 | 79 | 0.61817 | 157 | 1,519 | 5.936306 | 0.585987 | 0.183476 | 0.241416 | 0.139485 | 0.05794 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023609 | 0.219223 | 1,519 | 35 | 80 | 43.4 | 0.762226 | 0 | 0 | 0 | 0 | 0 | 0.62607 | 0.0553 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.029412 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2c04a712897d3a0237d591c0b33954324a42af2b | 62 | py | Python | run/core/models/wrapper.py | matthewmuccio/TweetTweet | 4ca6ae31fd3b8a1f32fd65676e945a3ec745ba9c | [
"MIT"
] | 1 | 2020-03-30T04:00:15.000Z | 2020-03-30T04:00:15.000Z | run/core/models/wrapper.py | matthewmuccio/TweetTweet | 4ca6ae31fd3b8a1f32fd65676e945a3ec745ba9c | [
"MIT"
] | null | null | null | run/core/models/wrapper.py | matthewmuccio/TweetTweet | 4ca6ae31fd3b8a1f32fd65676e945a3ec745ba9c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#import json
#import requests
| 8.857143 | 23 | 0.645161 | 8 | 62 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.241935 | 62 | 6 | 24 | 10.333333 | 0.829787 | 0.758065 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2c0769964053392576afce61ff1c67d05b270ddc | 1,401 | py | Python | skinner/utils.py | Freakwill/skinner | bcb036fc753addcd09655b7a775dbcdb1f99f1f6 | [
"MIT"
] | null | null | null | skinner/utils.py | Freakwill/skinner | bcb036fc753addcd09655b7a775dbcdb1f99f1f6 | [
"MIT"
] | null | null | null | skinner/utils.py | Freakwill/skinner | bcb036fc753addcd09655b7a775dbcdb1f99f1f6 | [
"MIT"
] | 2 | 2020-09-28T06:09:45.000Z | 2021-01-17T04:16:40.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import scipy.special
import numpy as np
def post_proba(Q, x, actions, T=1):
"""Posteria proba of c in actions
{p(a|x)} ~ softmax(Q(x,a))
Arguments:
Q {dict} -- Q table
x {array} -- state
actions {array|list} -- array of actions
... | 27.470588 | 98 | 0.606709 | 253 | 1,401 | 3.288538 | 0.249012 | 0.057692 | 0.060096 | 0.043269 | 0.485577 | 0.427885 | 0.290865 | 0.237981 | 0.199519 | 0.0625 | 0 | 0.013158 | 0.240542 | 1,401 | 50 | 99 | 28.02 | 0.768797 | 0.303355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0 | 0.105263 | 0.210526 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2c133d025cc689c6685bed4bd44a4c382cc0b3af | 1,387 | py | Python | algo/GazeData.py | ivan866/smoothPursuitClassification | 341a954837ef2e2fdf2af3f019da08465ecd4e33 | [
"MIT"
] | 1 | 2020-06-16T04:07:59.000Z | 2020-06-16T04:07:59.000Z | algo/GazeData.py | ivan866/smoothPursuitClassification | 341a954837ef2e2fdf2af3f019da08465ecd4e33 | [
"MIT"
] | null | null | null | algo/GazeData.py | ivan866/smoothPursuitClassification | 341a954837ef2e2fdf2af3f019da08465ecd4e33 | [
"MIT"
] | null | null | null | #TODO move whole class to IBDT.py
MOVEMENT = {'FIXATION':0,
'SACCADE':1,
'PURSUIT':2,
'NOISE':3,
'UNDEF':4
}
class GazeDataEntry():
"""Helper class
IS a data sample with only 4 values: timestamp, eyetracking quality confidence, X and Y coordina... | 15.076087 | 104 | 0.489546 | 129 | 1,387 | 5.232558 | 0.418605 | 0.16 | 0.231111 | 0.148148 | 0.402963 | 0.340741 | 0.340741 | 0 | 0 | 0 | 0 | 0.010417 | 0.377073 | 1,387 | 91 | 105 | 15.241758 | 0.770833 | 0.163663 | 0 | 0 | 0 | 0 | 0.069347 | 0 | 0 | 0 | 0 | 0.010989 | 0 | 1 | 0.269231 | false | 0.038462 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
258b27f21fcd3930323bcc18a12cc038f5a0d0c2 | 2,934 | py | Python | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/ResizeMultiZoneClusterNodeCountRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/ResizeMultiZoneClusterNodeCountRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/ResizeMultiZoneClusterNodeCountRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 36.675 | 94 | 0.785958 | 350 | 2,934 | 6.405714 | 0.322857 | 0.021409 | 0.049955 | 0.06066 | 0.110616 | 0.110616 | 0.110616 | 0 | 0 | 0 | 0 | 0.004651 | 0.120654 | 2,934 | 80 | 95 | 36.675 | 0.864341 | 0.256987 | 0 | 0 | 0 | 0 | 0.168954 | 0.014671 | 0 | 0 | 0 | 0 | 0 | 1 | 0.404762 | false | 0 | 0.047619 | 0.190476 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
259f669cf70a84daa773256195e2c8a77ee79095 | 396 | py | Python | aiogram/types/user_profile_photos.py | andrew-ld/aiogram | b55153ccf3ab9ef191bef6c20e467b92f3b270ed | [
"MIT"
] | 2,744 | 2017-11-19T00:56:19.000Z | 2022-03-31T15:48:23.000Z | aiogram/types/user_profile_photos.py | andrew-ld/aiogram | b55153ccf3ab9ef191bef6c20e467b92f3b270ed | [
"MIT"
] | 513 | 2018-01-23T16:52:59.000Z | 2022-03-27T01:50:30.000Z | aiogram/types/user_profile_photos.py | andrew-ld/aiogram | b55153ccf3ab9ef191bef6c20e467b92f3b270ed | [
"MIT"
] | 813 | 2017-12-05T06:49:48.000Z | 2022-03-29T15:47:50.000Z | import typing
from . import base
from . import fields
from .photo_size import PhotoSize
class UserProfilePhotos(base.TelegramObject):
"""
This object represent a user's profile pictures.
https://core.telegram.org/bots/api#userprofilephotos
"""
total_count: base.Integer = fields.Field()
photo... | 24.75 | 84 | 0.739899 | 48 | 396 | 6.0625 | 0.666667 | 0.068729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156566 | 396 | 15 | 85 | 26.4 | 0.871257 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
25af6ada96ea69efb808639c51c90942e9f0a557 | 1,639 | py | Python | source_optics/migrations/0012_auto_20190918_1451.py | mpdehaan/source_optics | ce0215ad63e47f0ab645c765129bac3c7236aff1 | [
"Apache-2.0"
] | 1 | 2021-08-24T03:41:34.000Z | 2021-08-24T03:41:34.000Z | source_optics/migrations/0012_auto_20190918_1451.py | mpdehaan/source_optics | ce0215ad63e47f0ab645c765129bac3c7236aff1 | [
"Apache-2.0"
] | null | null | null | source_optics/migrations/0012_auto_20190918_1451.py | mpdehaan/source_optics | ce0215ad63e47f0ab645c765129bac3c7236aff1 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.5 on 2019-09-18 18:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('source_optics', '0011_auto_20190918_1437'),
]
operations = [
migrations.RemoveField(
model_name='tag',
name='repos',... | 30.924528 | 106 | 0.555827 | 149 | 1,639 | 5.959732 | 0.38255 | 0.091216 | 0.181306 | 0.212838 | 0.44482 | 0.368243 | 0.368243 | 0.368243 | 0.368243 | 0.306306 | 0 | 0.035839 | 0.302013 | 1,639 | 52 | 107 | 31.519231 | 0.740385 | 0.027456 | 0 | 0.565217 | 1 | 0 | 0.197864 | 0.033291 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021739 | 0 | 0.086957 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d3023a7bdfcdcaab1d390e0052a40e0093d762a0 | 267 | py | Python | scripts/countries2csv.py | pigden/geonamescache | 0264a20d8ad73d2b208585e914e023e047274937 | [
"MIT"
] | 61 | 2015-02-24T20:20:57.000Z | 2022-03-23T00:50:32.000Z | scripts/countries2csv.py | pigden/geonamescache | 0264a20d8ad73d2b208585e914e023e047274937 | [
"MIT"
] | 20 | 2015-07-28T19:11:10.000Z | 2021-11-30T11:06:43.000Z | scripts/countries2csv.py | pigden/geonamescache | 0264a20d8ad73d2b208585e914e023e047274937 | [
"MIT"
] | 26 | 2015-04-17T09:10:29.000Z | 2021-11-03T22:01:53.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pandas as pd
from geonamescache import GeonamesCache
gc = GeonamesCache()
countries = gc.get_countries()
df = pd.DataFrame.from_dict(countries, orient='index')
df.to_csv('geonamescache/countries.csv', index=False) | 29.666667 | 54 | 0.752809 | 37 | 267 | 5.351351 | 0.648649 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004167 | 0.101124 | 267 | 9 | 55 | 29.666667 | 0.820833 | 0.157303 | 0 | 0 | 0 | 0 | 0.142857 | 0.120536 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d303261e159ffeb7283033cf9a5b484d57269ab7 | 419 | py | Python | UDEMY-Learn Python Programming Masterclass/Section 6-Functions, An Introduction/exercise1.py | Sanjay9921/Python | 05ac161dd46f9b4731a5c14ff5ef52adb705e8e6 | [
"MIT"
] | null | null | null | UDEMY-Learn Python Programming Masterclass/Section 6-Functions, An Introduction/exercise1.py | Sanjay9921/Python | 05ac161dd46f9b4731a5c14ff5ef52adb705e8e6 | [
"MIT"
] | null | null | null | UDEMY-Learn Python Programming Masterclass/Section 6-Functions, An Introduction/exercise1.py | Sanjay9921/Python | 05ac161dd46f9b4731a5c14ff5ef52adb705e8e6 | [
"MIT"
] | null | null | null | def str_without_separators(sentence):
#separators = ",.?;: "
#str1 = "".join(char if char not in separators else "" for char in sentence)
str1 = "".join(char if char.isalnum() else "" for char in sentence)
return str1
def is_palindrome(sentence):
str1 = str_without_separators(sentence)
return... | 27.933333 | 80 | 0.665871 | 59 | 419 | 4.627119 | 0.474576 | 0.07326 | 0.14652 | 0.205128 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020649 | 0.190931 | 419 | 14 | 81 | 29.928571 | 0.784661 | 0.229117 | 0 | 0 | 0 | 0 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d35d391ffa712e4171d7320c0eb2d1dd27c74d8c | 216 | py | Python | frame/components/Material.py | aloysiogl/PygameAloysioAndreSebastiao | e5c7f2171ddf68373a0ccf6067ac0f4478893caa | [
"MIT"
] | null | null | null | frame/components/Material.py | aloysiogl/PygameAloysioAndreSebastiao | e5c7f2171ddf68373a0ccf6067ac0f4478893caa | [
"MIT"
] | null | null | null | frame/components/Material.py | aloysiogl/PygameAloysioAndreSebastiao | e5c7f2171ddf68373a0ccf6067ac0f4478893caa | [
"MIT"
] | null | null | null | #!/usr/bin/python3
class Material:
def __init__(self, color):
"""
A material has color as basic propriety
:param color: the color of the material
"""
self.color = color
| 18 | 47 | 0.574074 | 26 | 216 | 4.615385 | 0.653846 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.333333 | 216 | 11 | 48 | 19.636364 | 0.826389 | 0.449074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
d386d3bd6275915f047df5b59687db072c8ea63c | 240 | py | Python | haar_cascade/genel_yapi.py | malidrsn/OpenCV-Tutorial-w-Basic-Examples | 70e117ba4f3b46b937a92e35f7ddaedb46f8b7be | [
"MIT"
] | null | null | null | haar_cascade/genel_yapi.py | malidrsn/OpenCV-Tutorial-w-Basic-Examples | 70e117ba4f3b46b937a92e35f7ddaedb46f8b7be | [
"MIT"
] | null | null | null | haar_cascade/genel_yapi.py | malidrsn/OpenCV-Tutorial-w-Basic-Examples | 70e117ba4f3b46b937a92e35f7ddaedb46f8b7be | [
"MIT"
] | null | null | null | # cv2.imread("")
# cascade_body = cv2.CascadeClassifier("")
# gray = cv2.cvtColor(img,cv2.Color_BGR2GRAY)
# bodies = cascade_body.detectMultiScale(gray,1.1,5)
# Bulunan nesne işaretlenir. for döngüsü kullanılarak üstüne diktörtgen çizeriz
# | 40 | 79 | 0.770833 | 30 | 240 | 6.066667 | 0.766667 | 0.120879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.1 | 240 | 6 | 80 | 40 | 0.805556 | 0.95 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d3897bd52808c2d1dcf536e8163bd4a25613aa5f | 92 | py | Python | practices/ch04_first_lines/ch04_ex04.py | covrebo/python-for-absolute-beginners-course | 304101356671469733a313b9f12a3bd365227cd9 | [
"MIT"
] | null | null | null | practices/ch04_first_lines/ch04_ex04.py | covrebo/python-for-absolute-beginners-course | 304101356671469733a313b9f12a3bd365227cd9 | [
"MIT"
] | null | null | null | practices/ch04_first_lines/ch04_ex04.py | covrebo/python-for-absolute-beginners-course | 304101356671469733a313b9f12a3bd365227cd9 | [
"MIT"
] | null | null | null | import datetime
date = datetime.datetime.now()
print(f'The current year is {date.year}.')
| 15.333333 | 42 | 0.728261 | 14 | 92 | 4.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 5 | 43 | 18.4 | 0.8375 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d3a954c5d5d4fee026919fc8700182f5042af6d3 | 1,033 | py | Python | tests/TestConvenience/run.py | mjj29/apama-random-plugin | afcc8635d4af7bec66cf320a4373bb430ebb4a37 | [
"Apache-2.0"
] | null | null | null | tests/TestConvenience/run.py | mjj29/apama-random-plugin | afcc8635d4af7bec66cf320a4373bb430ebb4a37 | [
"Apache-2.0"
] | null | null | null | tests/TestConvenience/run.py | mjj29/apama-random-plugin | afcc8635d4af7bec66cf320a4373bb430ebb4a37 | [
"Apache-2.0"
] | 1 | 2018-09-19T11:06:04.000Z | 2018-09-19T11:06:04.000Z | from pysys.constants import *
from apama.basetest import ApamaBaseTest
from apama.correlator import CorrelatorHelper
class PySysTest(ApamaBaseTest):
def execute(self):
correlator = CorrelatorHelper(self, name='testcorrelator')
correlator.start(logfile='testcorrelator.log')
correlator.injectEPL(filenames=['Rand... | 44.913043 | 94 | 0.769603 | 111 | 1,033 | 7.153153 | 0.441441 | 0.149874 | 0.185139 | 0.195214 | 0.372796 | 0.372796 | 0 | 0 | 0 | 0 | 0 | 0.004211 | 0.080349 | 1,033 | 22 | 95 | 46.954545 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0.31849 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.105263 | false | 0 | 0.157895 | 0 | 0.315789 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d3b0ba884419b79c6b4d9d54995b18b7a0aacfea | 1,101 | py | Python | src/api/pdi/application/operation/GetDataOperationJob/GetDataOperationJobQueryHandler.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/api/pdi/application/operation/GetDataOperationJob/GetDataOperationJobQueryHandler.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/api/pdi/application/operation/GetDataOperationJob/GetDataOperationJobQueryHandler.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from injector import inject
from pdip.cqrs import IQueryHandler
from pdip.dependency import IScoped
from pdi.application.operation.GetDataOperationJob.GetDataOperationJobMapping import GetDataOperationJobMapping
from pdi.application.operation.GetDataOperationJob.GetDataOperationJobQuery import GetDataOperationJobQuery... | 47.869565 | 113 | 0.826521 | 85 | 1,101 | 10.623529 | 0.376471 | 0.031008 | 0.079734 | 0.119601 | 0.203765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121708 | 1,101 | 22 | 114 | 50.045455 | 0.933816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.388889 | 0 | 0.611111 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6ca1f9442f3cecd963f94ecad71c4a4a61f32496 | 143 | py | Python | src/openpersonen/backends.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 2 | 2020-08-26T11:24:43.000Z | 2021-07-28T09:46:40.000Z | src/openpersonen/backends.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 153 | 2020-08-26T10:45:35.000Z | 2021-12-10T17:33:16.000Z | src/openpersonen/backends.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | null | null | null | from django.conf import settings
from django.utils.module_loading import import_string
backend = import_string(settings.OPENPERSONEN_BACKEND)
| 28.6 | 54 | 0.867133 | 19 | 143 | 6.315789 | 0.578947 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083916 | 143 | 4 | 55 | 35.75 | 0.916031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6ca2005b82b27f40e280b1852a8de407946ed008 | 65 | py | Python | test.py | HoonHoon/deeplearning | ba50ab6d2e3556c5b5f4b2742ee336235257cea0 | [
"MIT"
] | null | null | null | test.py | HoonHoon/deeplearning | ba50ab6d2e3556c5b5f4b2742ee336235257cea0 | [
"MIT"
] | null | null | null | test.py | HoonHoon/deeplearning | ba50ab6d2e3556c5b5f4b2742ee336235257cea0 | [
"MIT"
] | null | null | null | __author__ = 'hoon'
import tensorflow as tf
tf.Session()._config
| 16.25 | 23 | 0.769231 | 9 | 65 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 3 | 24 | 21.666667 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6cb1ea1e0b2406d207f1710e967194376b89088f | 688 | py | Python | cool/util/enc.py | d2verb/cool | 8d9f3d3a89877de7941d4a7a32e38a0be6bd050e | [
"MIT"
] | 4 | 2020-07-17T11:37:28.000Z | 2022-01-25T04:52:01.000Z | cool/util/enc.py | d2verb/cool | 8d9f3d3a89877de7941d4a7a32e38a0be6bd050e | [
"MIT"
] | 1 | 2020-07-02T15:30:36.000Z | 2020-07-02T15:30:36.000Z | cool/util/enc.py | d2verb/ctftools | 8d9f3d3a89877de7941d4a7a32e38a0be6bd050e | [
"MIT"
] | 1 | 2020-09-29T16:45:29.000Z | 2020-09-29T16:45:29.000Z | from base64 import b64decode, b64encode, urlsafe_b64decode, urlsafe_b64encode
from typing import Union
from urllib.parse import quote, unquote
def b64enc(bs: bytes, url: bool = False) -> bytes:
if url:
return urlsafe_b64encode(bs)
else:
return b64encode(bs)
def b64dec(bs: bytes, url: bool = ... | 20.848485 | 77 | 0.630814 | 94 | 688 | 4.574468 | 0.382979 | 0.048837 | 0.046512 | 0.065116 | 0.12093 | 0.12093 | 0.12093 | 0 | 0 | 0 | 0 | 0.049904 | 0.242733 | 688 | 32 | 78 | 21.5 | 0.775432 | 0 | 0 | 0.190476 | 0 | 0 | 0.001453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6cca2c69460cf042191c18b972dbdb8e2bb97430 | 1,653 | py | Python | redshift_playblast/hooks/hooks.py | belberu/redshift_playblast | ef6e0985c40af3c0bfc54796e4f783740678e172 | [
"MIT"
] | 6 | 2018-07-12T05:46:54.000Z | 2021-01-30T10:46:05.000Z | redshift_playblast/hooks/hooks.py | belberu/redshift_playblast | ef6e0985c40af3c0bfc54796e4f783740678e172 | [
"MIT"
] | 1 | 2019-11-09T23:33:22.000Z | 2019-11-09T23:33:22.000Z | redshift_playblast/hooks/hooks.py | belberu/redshift_playblast | ef6e0985c40af3c0bfc54796e4f783740678e172 | [
"MIT"
] | 2 | 2018-05-22T11:58:32.000Z | 2018-10-04T21:16:10.000Z | import logging
logger = logging.getLogger(__name__)
import pymel.core as pm
def deadline_plugin_info_file(file_handle):
"""
Called after the job wrote its data to the plugin_info_file for deadline.
Use this hooks to write additional stuff to the plugin info file.
:param file_handle:
:return:
"... | 31.788462 | 128 | 0.702964 | 235 | 1,653 | 4.787234 | 0.408511 | 0.064 | 0.046222 | 0.032 | 0.503111 | 0.487111 | 0.487111 | 0.412444 | 0.291556 | 0.291556 | 0 | 0 | 0.205082 | 1,653 | 52 | 129 | 31.788462 | 0.856164 | 0.514822 | 0 | 0.133333 | 0 | 0 | 0.199102 | 0.133234 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.133333 | 0.133333 | 0 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6ce396c57fe954042c27266855e1a4aceb071fb1 | 225 | py | Python | conftest.py | sir-dio/old-philoseismos | 4c830971641313abd95693b24965ede261c6824b | [
"MIT"
] | 1 | 2019-10-27T14:03:00.000Z | 2019-10-27T14:03:00.000Z | conftest.py | sir-dio/old-philoseismos | 4c830971641313abd95693b24965ede261c6824b | [
"MIT"
] | null | null | null | conftest.py | sir-dio/old-philoseismos | 4c830971641313abd95693b24965ede261c6824b | [
"MIT"
] | null | null | null | """ philoseismos: with passion for the seismic method.
This file is needed to run pytest from a repository directory and avoid
any PYTHONPATH related import issues.
@author: Ivan Dubrovin
e-mail: dubrovin.io@icloud.com """
| 28.125 | 71 | 0.777778 | 34 | 225 | 5.147059 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151111 | 225 | 7 | 72 | 32.142857 | 0.91623 | 0.96 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ce4f1eeb7c90a1a7fe53c7bc69f824bfb636c63 | 149 | py | Python | community/hierarchical_configuration/configs/envs/dev.py | tiadobatima1/deploymentmanager-samples | 0368231d69b3c104c832905261878025a14ef6ee | [
"Apache-2.0"
] | 3 | 2018-07-23T17:04:31.000Z | 2019-03-04T02:16:10.000Z | community/hierarchical_configuration/configs/envs/dev.py | tiadobatima1/deploymentmanager-samples | 0368231d69b3c104c832905261878025a14ef6ee | [
"Apache-2.0"
] | 32 | 2018-07-25T18:31:59.000Z | 2018-10-29T15:49:14.000Z | community/hierarchical_configuration/configs/envs/dev.py | sourced/deploymentmanager-samples | e73ff0ed20be77302bb9bc934d4e381f593a4d21 | [
"Apache-2.0"
] | 1 | 2018-10-07T05:11:03.000Z | 2018-10-07T05:11:03.000Z | config ={
'CONTEXT' : 'We are in DEV context',
'Log_bucket' : 'gc://bucketname_great',
'versionNR' : 'v12.236',
'zone' : 'europe-west1-d',
} | 24.833333 | 41 | 0.597315 | 19 | 149 | 4.578947 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.181208 | 149 | 6 | 42 | 24.833333 | 0.663934 | 0 | 0 | 0 | 0 | 0 | 0.641379 | 0.144828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6cec25aa2107f8ae53ac6e71d28378d392800b6d | 4,542 | py | Python | liuqi/flygame/enemyplane.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null | liuqi/flygame/enemyplane.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null | liuqi/flygame/enemyplane.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null | """
作者:刘琪
时间:18-4-18
题目:
"""
import pygame
from random import *
# 创建一个我方飞机类
class SmallPlane(pygame.sprite.Sprite):
def __init__(self,bg_size):
pygame.sprite.Sprite.__init__(self)
self.image1 = pygame.image.load("./images/enemy1.png").convert_alpha()
# 创建飞机动态图的列表
self.destroy_images ... | 32.442857 | 81 | 0.557464 | 541 | 4,542 | 4.548983 | 0.140481 | 0.087769 | 0.109712 | 0.153596 | 0.879317 | 0.845591 | 0.681837 | 0.681837 | 0.666396 | 0.666396 | 0 | 0.024723 | 0.305372 | 4,542 | 139 | 82 | 32.676259 | 0.755309 | 0.049317 | 0 | 0.695652 | 0 | 0 | 0.100746 | 0.091884 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097826 | false | 0 | 0.021739 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6cf7d5163faee03be6ff3486be8081b1c8907d8c | 10,751 | py | Python | senlin/tests/db/test_cluster_policy_api.py | tengqm/senlin | aa59c55c098abb13590bc4308c753338ce4a70f4 | [
"Apache-2.0"
] | 2 | 2015-02-11T23:02:13.000Z | 2021-03-26T06:39:58.000Z | senlin/tests/db/test_cluster_policy_api.py | tengqm/senlin | aa59c55c098abb13590bc4308c753338ce4a70f4 | [
"Apache-2.0"
] | 2 | 2015-01-19T13:40:47.000Z | 2015-03-04T07:06:07.000Z | senlin/tests/db/test_cluster_policy_api.py | tengqm/senlin | aa59c55c098abb13590bc4308c753338ce4a70f4 | [
"Apache-2.0"
] | 5 | 2015-01-13T14:53:04.000Z | 2015-03-13T02:54:06.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed unde... | 41.832685 | 78 | 0.569993 | 1,233 | 10,751 | 4.774534 | 0.139497 | 0.054357 | 0.065398 | 0.103958 | 0.731272 | 0.718872 | 0.709699 | 0.695261 | 0.631051 | 0.627314 | 0 | 0.020751 | 0.318668 | 10,751 | 256 | 79 | 41.996094 | 0.782935 | 0.076737 | 0 | 0.591623 | 0 | 0 | 0.077459 | 0 | 0 | 0 | 0 | 0 | 0.198953 | 1 | 0.052356 | false | 0 | 0.020942 | 0 | 0.08377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9f4da80165e1e66cd9cd1286e7e5109ed2840d16 | 327 | py | Python | marketingfirm.py | AaronKurowski/SweepstakesManager | 2188c5efd1460135fb4adf411f0da7a8af3e2e43 | [
"MIT"
] | null | null | null | marketingfirm.py | AaronKurowski/SweepstakesManager | 2188c5efd1460135fb4adf411f0da7a8af3e2e43 | [
"MIT"
] | null | null | null | marketingfirm.py | AaronKurowski/SweepstakesManager | 2188c5efd1460135fb4adf411f0da7a8af3e2e43 | [
"MIT"
] | null | null | null | from sweepstake import Sweepstake
class MarketingFirm:
def __init__(self, manager):
# dependency injection for manager parameter
# allows user to choose stack/queue manager before instantiating a firm
self.manager = manager
def create_sweepstakes(self, name):
return Sweepstake... | 27.25 | 79 | 0.715596 | 37 | 327 | 6.189189 | 0.72973 | 0.09607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235474 | 327 | 11 | 80 | 29.727273 | 0.916 | 0.342508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9f68400fe1290809a8c772ada000e6cb9de1828a | 746 | py | Python | src/configstacker/sources/__init__.py | hakkeroid/configstacker | 69bddeeae98f327f8cd179bdb5e2097437d97822 | [
"BSD-3-Clause"
] | null | null | null | src/configstacker/sources/__init__.py | hakkeroid/configstacker | 69bddeeae98f327f8cd179bdb5e2097437d97822 | [
"BSD-3-Clause"
] | null | null | null | src/configstacker/sources/__init__.py | hakkeroid/configstacker | 69bddeeae98f327f8cd179bdb5e2097437d97822 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This package contains all builtin source loaders. As every source loader
has its own submodule with all neccessary implementations this package
provides a unified access interface. However, for users of configstacker
it is recommended to use the :ref:`configstacker` package to access
source... | 39.263158 | 72 | 0.77748 | 102 | 746 | 5.686275 | 0.568627 | 0.096552 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0352 | 0.162198 | 746 | 18 | 73 | 41.444444 | 0.8928 | 0.640751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9f7d1981de9b3212c55a895c78ca70da9a02d1fa | 1,076 | py | Python | testing/tools/skia_gold/pdfium_skia_gold_session.py | softwarecapital/google.pdfium | d6c0f7d6aeaac79ca1eb7fb065d80dbd3504c92e | [
"Apache-2.0"
] | 16 | 2018-09-14T12:07:14.000Z | 2021-04-22T11:18:25.000Z | testing/tools/skia_gold/pdfium_skia_gold_session.py | softwarecapital/google.pdfium | d6c0f7d6aeaac79ca1eb7fb065d80dbd3504c92e | [
"Apache-2.0"
] | 1 | 2020-12-26T16:18:40.000Z | 2020-12-26T16:18:40.000Z | testing/tools/skia_gold/pdfium_skia_gold_session.py | softwarecapital/google.pdfium | d6c0f7d6aeaac79ca1eb7fb065d80dbd3504c92e | [
"Apache-2.0"
] | 6 | 2017-09-12T14:09:32.000Z | 2021-11-20T03:32:27.000Z | #!/usr/bin/env python
# Copyright 2021 The PDFium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""PDFium implementation of //build/skia_gold_common/skia_gold_session.py."""
# pylint: disable=relative-import
from skia_gold_common imp... | 33.625 | 77 | 0.789963 | 142 | 1,076 | 5.760563 | 0.65493 | 0.0489 | 0.047677 | 0.062347 | 0.05379 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004334 | 0.142193 | 1,076 | 31 | 78 | 34.709677 | 0.881907 | 0.434944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9f7d48d9dcaf0e50222b5ed2cec69027daba8ecc | 1,834 | py | Python | src/genie/libs/parser/nxos/tests/ShowIpv6MrouteVrfAll/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/nxos/tests/ShowIpv6MrouteVrfAll/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/nxos/tests/ShowIpv6MrouteVrfAll/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
'vrf':
{'VRF1':
{'address_family':
{'ipv6': {}}},
'blue':
{'address_family':
{'ipv6':
{'multicast_group':
{'ff30::/12':
{'source_address':
... | 41.681818 | 64 | 0.21265 | 78 | 1,834 | 4.730769 | 0.410256 | 0.105691 | 0.138211 | 0.203252 | 0.775068 | 0.607046 | 0.607046 | 0.607046 | 0.607046 | 0.607046 | 0 | 0.05939 | 0.660305 | 1,834 | 43 | 65 | 42.651163 | 0.532905 | 0 | 0 | 0.658537 | 0 | 0 | 0.213974 | 0.037664 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 3 |
9fb16bd728cb724916aa0bc5d6a5f2c0a212409f | 221 | py | Python | tests/if/ifexp02.py | ktok07b6/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 83 | 2015-11-30T09:59:13.000Z | 2021-08-03T09:12:28.000Z | tests/if/ifexp02.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 4 | 2017-02-10T01:43:11.000Z | 2020-07-14T03:52:25.000Z | tests/if/ifexp02.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 11 | 2016-11-18T14:39:15.000Z | 2021-02-23T10:05:20.000Z | from polyphony import testbench
def ifexp02(x, y):
return 1 if x > y else -1 if y > x else 0
@testbench
def test():
assert -1 == ifexp02(0, 1)
assert 1 == ifexp02(1, 0)
assert 0 == ifexp02(1, 1)
test()
| 17 | 45 | 0.60181 | 39 | 221 | 3.410256 | 0.384615 | 0.180451 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 0.266968 | 221 | 12 | 46 | 18.416667 | 0.697531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
9fc92724f7be5622e4e9962850a1cd425caae5cc | 1,515 | py | Python | scraps/fun/slander.py | NanguRepo/fessor | 477ee9394e2e3c522e5168e0a43f2d54a37be164 | [
"MIT"
] | 2 | 2021-03-16T00:08:00.000Z | 2021-03-16T17:36:47.000Z | scraps/fun/slander.py | NanguRepo/fessor | 477ee9394e2e3c522e5168e0a43f2d54a37be164 | [
"MIT"
] | 19 | 2021-03-15T23:00:54.000Z | 2022-02-26T21:09:24.000Z | scraps/fun/slander.py | NanguRepo/fessor | 477ee9394e2e3c522e5168e0a43f2d54a37be164 | [
"MIT"
] | 2 | 2021-03-17T21:59:44.000Z | 2021-08-23T10:33:26.000Z | slander = {
"william": "https://giphy.com/gifs/memecandy-WTcj5b17IZ8xbdCMBs\nFucking lorte baby idiot, gå tilbage til 2017 da du blev født",
"emil": "https://chinesepeopledoyoustyle.files.wordpress.com/2013/08/wpid-2013-08-29-08-13-47.png\nEmil be like: 目上長通済代日慮苦真",
"noah": "https://media0.giphy.com/media/YFFNfFm... | 126.25 | 307 | 0.786799 | 224 | 1,515 | 5.285714 | 0.776786 | 0.013514 | 0.045608 | 0.027027 | 0.04223 | 0.04223 | 0 | 0 | 0 | 0 | 0 | 0.126255 | 0.079868 | 1,515 | 11 | 308 | 137.727273 | 0.723099 | 0 | 0 | 0 | 0 | 0.727273 | 0.932013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c90d877692177f38f42dfe68bd61f4468a7b33b | 415 | py | Python | tests/mock_facebook.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | 1 | 2016-03-08T07:17:46.000Z | 2016-03-08T07:17:46.000Z | tests/mock_facebook.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | 5 | 2021-03-18T19:55:25.000Z | 2022-03-11T23:11:27.000Z | tests/mock_facebook.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | null | null | null | import urllib2
class GraphAPI(object):
def __init__(self):
self.access_token = 'None'
def get_object(self, obj):
return True
def put_wall_post(self, msg):
if msg == 'None':
return True
if msg == 'error':
raise GraphAPIError('error')
if msg =... | 21.842105 | 43 | 0.580723 | 47 | 415 | 4.957447 | 0.574468 | 0.064378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.310843 | 415 | 18 | 44 | 23.055556 | 0.807692 | 0 | 0 | 0.142857 | 0 | 0 | 0.074699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.071429 | 0.071429 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4cbccab4b88c67d7435af16eed1a5f328c80915a | 1,789 | py | Python | tests/test_git.py | jonnymcgow7/locust | 955f7707b7e85ac7c405f47f0e83d722091e6e76 | [
"MIT"
] | 34 | 2020-10-29T21:21:10.000Z | 2022-03-31T21:54:14.000Z | tests/test_git.py | jonnymcgow7/locust | 955f7707b7e85ac7c405f47f0e83d722091e6e76 | [
"MIT"
] | 32 | 2020-10-28T19:36:13.000Z | 2022-03-30T23:54:59.000Z | tests/test_git.py | jonnymcgow7/locust | 955f7707b7e85ac7c405f47f0e83d722091e6e76 | [
"MIT"
] | 3 | 2020-10-16T15:34:06.000Z | 2020-10-17T12:25:09.000Z | import json
import os
import unittest
from google.protobuf.json_format import MessageToDict
from locust import git, git_pb2
from . import config
class TestLocustGit(unittest.TestCase):
maxDiff = None
def test_git_run(self):
repo_dir = config.TESTCASES_DIR
initial = f"{config.TESTCASES_REMO... | 32.527273 | 77 | 0.676356 | 217 | 1,789 | 5.267281 | 0.276498 | 0.146982 | 0.073491 | 0.057743 | 0.761155 | 0.761155 | 0.736658 | 0.678915 | 0.678915 | 0.678915 | 0 | 0.000736 | 0.240917 | 1,789 | 54 | 78 | 33.12963 | 0.840943 | 0.033538 | 0 | 0.526316 | 0 | 0 | 0.104985 | 0.075073 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0 | 0.157895 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4cce9ffa5a32f23afd1825cd2ae9c70654dabc7b | 379 | py | Python | Practica4_matias.py | mbermejo1/PracticasSF2 | 0dd57b24c658cb75f0783776d9178f13180563fe | [
"MIT"
] | null | null | null | Practica4_matias.py | mbermejo1/PracticasSF2 | 0dd57b24c658cb75f0783776d9178f13180563fe | [
"MIT"
] | null | null | null | Practica4_matias.py | mbermejo1/PracticasSF2 | 0dd57b24c658cb75f0783776d9178f13180563fe | [
"MIT"
] | null | null | null | print("""\nInformación de utilidad:\n
Cámara de retina, 40 minutos
Código de acceso, 50 minutos
Palabra clave, 30 minutos
Código de acceso complejo, 70 minutos
Puerta sin bloqueo, 0 minutos
Zona 1: 3 cámaras retina, 1 palabra clave
Zona 2: 2 puerta sin bloqueo, 5 código de acceso
Zona 3: 3 puertas sin bloqueo, 1 cámara... | 34.454545 | 49 | 0.765172 | 67 | 379 | 4.328358 | 0.432836 | 0.110345 | 0.193103 | 0.144828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066879 | 0.171504 | 379 | 11 | 50 | 34.454545 | 0.856688 | 0 | 0 | 0 | 0 | 0 | 0.963158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4cfb883d2f1ea1c3bfbdbd7783601f5c3222a0fa | 1,116 | py | Python | observation/migrations/0012_auto_20171001_0455.py | bartromgens/waarnemingkaart | 3889d429a1c10586115b045a17be3e9c98931613 | [
"MIT"
] | null | null | null | observation/migrations/0012_auto_20171001_0455.py | bartromgens/waarnemingkaart | 3889d429a1c10586115b045a17be3e9c98931613 | [
"MIT"
] | 8 | 2020-01-01T16:11:19.000Z | 2021-12-13T19:42:07.000Z | observation/migrations/0012_auto_20171001_0455.py | bartromgens/waarnemingkaart | 3889d429a1c10586115b045a17be3e9c98931613 | [
"MIT"
] | 1 | 2020-11-15T23:06:43.000Z | 2020-11-15T23:06:43.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-10-01 02:55
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('observation', '0011_auto_20170930_1347'),
]
operations = [
migrations.Alter... | 27.219512 | 63 | 0.553763 | 92 | 1,116 | 6.51087 | 0.543478 | 0.225376 | 0.258765 | 0.066778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042913 | 0.310932 | 1,116 | 40 | 64 | 27.9 | 0.736021 | 0.060932 | 0 | 0.333333 | 1 | 0 | 0.182775 | 0.02201 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
981b79d6c5aa57470f4ab7da8124b67c3b3aef12 | 1,413 | py | Python | unet&DnCNN/debugging.py | wanpiqiu123/Image-denoise-with-meta-learning | 72962e738c0285b9ccaf4db3421cf3a625f78d92 | [
"MIT"
] | 2 | 2020-12-16T08:37:01.000Z | 2022-02-14T02:02:38.000Z | unet&DnCNN/debugging.py | wanpiqiu123/Image-denoise-with-meta-learning | 72962e738c0285b9ccaf4db3421cf3a625f78d92 | [
"MIT"
] | null | null | null | unet&DnCNN/debugging.py | wanpiqiu123/Image-denoise-with-meta-learning | 72962e738c0285b9ccaf4db3421cf3a625f78d92 | [
"MIT"
] | null | null | null | from utils import load_file,add_poisson
from config import *
# from network import *
from skimage import util
import numpy as np
from PIL import Image
# data = load_file("./guassian24.npy")
# data = load_file("./em_clean24.npy")
data = load_file("./clean24.npy")
# data = data.astype('float32')*255
# print(data.shape)
... | 31.4 | 72 | 0.665959 | 230 | 1,413 | 3.947826 | 0.304348 | 0.035242 | 0.105727 | 0.0837 | 0.199339 | 0.144273 | 0.057269 | 0 | 0 | 0 | 0 | 0.062857 | 0.13305 | 1,413 | 45 | 73 | 31.4 | 0.678367 | 0.806794 | 0 | 0 | 0 | 0 | 0.054393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e23c64360a5f744f6767be78f550a9bbdf5dc320 | 140 | py | Python | petadopt/petapp/forms.py | Jenaleigh/172final | 923b0b29c50c9e108018c9fab7d24c669e18e208 | [
"Apache-2.0"
] | null | null | null | petadopt/petapp/forms.py | Jenaleigh/172final | 923b0b29c50c9e108018c9fab7d24c669e18e208 | [
"Apache-2.0"
] | null | null | null | petadopt/petapp/forms.py | Jenaleigh/172final | 923b0b29c50c9e108018c9fab7d24c669e18e208 | [
"Apache-2.0"
] | null | null | null | from django import forms
from .models import Pet
class PetForm(forms.ModelForm):
class Meta:
model=Pet
fields='__all__' | 20 | 31 | 0.685714 | 18 | 140 | 5.111111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242857 | 140 | 7 | 32 | 20 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.049645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e2430321f2bb79efc36fa5c1e9868861d40a81d3 | 107 | py | Python | alphadraughts/draughts/enums.py | TTitcombe/AlphaDraughts | 0a5f91e4f657a25da3877965cd943fb57b7cd509 | [
"MIT"
] | 4 | 2019-09-03T02:59:13.000Z | 2022-01-23T09:34:50.000Z | alphadraughts/draughts/enums.py | TTitcombe/AlphaDraughts | 0a5f91e4f657a25da3877965cd943fb57b7cd509 | [
"MIT"
] | 16 | 2019-08-24T09:12:09.000Z | 2020-01-03T16:52:22.000Z | alphadraughts/draughts/enums.py | TTitcombe/AlphaDraughts | 0a5f91e4f657a25da3877965cd943fb57b7cd509 | [
"MIT"
] | 1 | 2019-09-03T02:59:16.000Z | 2019-09-03T02:59:16.000Z | from enum import Enum
class Direction(Enum):
NE = 1
SE = 2
SW = 3
NW = 4
Invalid = 5
| 10.7 | 22 | 0.523364 | 17 | 107 | 3.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0.401869 | 107 | 9 | 23 | 11.888889 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e253fe4667801b8ebc688c52835f3dcbffdf443d | 156 | py | Python | web/app/dashboard/tab/census.py | cshields143/CHIME-2 | c021ed805a3e4e8117a60b1fa2b5ceb7cf9efb6f | [
"MIT"
] | 1 | 2020-05-14T01:27:03.000Z | 2020-05-14T01:27:03.000Z | web/app/dashboard/tab/census.py | cshields143/CHIME-2 | c021ed805a3e4e8117a60b1fa2b5ceb7cf9efb6f | [
"MIT"
] | 17 | 2020-05-20T02:09:32.000Z | 2020-07-22T05:05:15.000Z | web/app/dashboard/tab/census.py | cshields143/CHIME-2 | c021ed805a3e4e8117a60b1fa2b5ceb7cf9efb6f | [
"MIT"
] | 2 | 2020-06-12T18:22:10.000Z | 2020-07-21T21:51:57.000Z | # -*- coding: utf-8 -*-
"""Census tab."""
import dash_bootstrap_components as dbc
tab_layout = dbc.Card(dbc.CardBody([dbc.Row([dbc.Col([dbc.Input()])])]))
| 26 | 72 | 0.660256 | 23 | 156 | 4.347826 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.096154 | 156 | 5 | 73 | 31.2 | 0.702128 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e258bee04b0dfd0afb21ec07bc7859d7657eb85a | 247 | py | Python | Mundo2/Desafio017.py | Marcoakira/Desafios_Python_do_Curso_Guanabara | c49b774148a2232f8f3c21b83e3dc97610480757 | [
"MIT"
] | null | null | null | Mundo2/Desafio017.py | Marcoakira/Desafios_Python_do_Curso_Guanabara | c49b774148a2232f8f3c21b83e3dc97610480757 | [
"MIT"
] | null | null | null | Mundo2/Desafio017.py | Marcoakira/Desafios_Python_do_Curso_Guanabara | c49b774148a2232f8f3c21b83e3dc97610480757 | [
"MIT"
] | null | null | null | # descobre o valor da hypotenuse ( hipotenusa)
from math import sqrt
n1 = float(input('digite o comprimento do cateto oposto '))
n2 = float(input('digite o comprimento do cateto adjacente '))
print(f'O valor da hipotenusa é {sqrt(n1*n1+n2*n2)}')
| 35.285714 | 62 | 0.736842 | 40 | 247 | 4.55 | 0.575 | 0.065934 | 0.087912 | 0.186813 | 0.395604 | 0.395604 | 0.395604 | 0 | 0 | 0 | 0 | 0.028571 | 0.149798 | 247 | 6 | 63 | 41.166667 | 0.838095 | 0.178138 | 0 | 0 | 0 | 0 | 0.606965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e25a9bdd593a441e650f10066e9c578983ba343d | 721 | py | Python | data/gcpy/oscillating_lm_ai.py | Vlad-Shcherbina/icfpc2014-tbd | 8169102307808a80801bf5ee55688e41287990bf | [
"WTFPL"
] | 4 | 2015-01-14T11:35:08.000Z | 2020-01-19T19:14:40.000Z | data/gcpy/oscillating_lm_ai.py | Vlad-Shcherbina/icfpc2014-tbd | 8169102307808a80801bf5ee55688e41287990bf | [
"WTFPL"
] | null | null | null | data/gcpy/oscillating_lm_ai.py | Vlad-Shcherbina/icfpc2014-tbd | 8169102307808a80801bf5ee55688e41287990bf | [
"WTFPL"
] | null | null | null | ## Oscillating Lambda Man
##
## Directions:
### 0: top
### 1: right
### 2: bottom
### 3: left
def main(world, _ghosts):
return (strategy_state(), step)
def step(state, world):
return (update_state(state), deduce_direction(state, world))
# Oscilation strategy state
def strategy_state():
#returns (frequency, co... | 21.205882 | 62 | 0.651872 | 102 | 721 | 4.529412 | 0.401961 | 0.017316 | 0.069264 | 0.108225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.190014 | 721 | 33 | 63 | 21.848485 | 0.763699 | 0.355062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.333333 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2c3bb6d9de1aa6e7b3d03d37522ed4f04c94fa14 | 248 | py | Python | arena/objects/torus_knot.py | jameszha/ARENA-py | 209d93e9b91ba1d0c306b307e6dcb8411aada5b3 | [
"BSD-3-Clause"
] | 4 | 2021-01-22T23:49:52.000Z | 2022-03-04T06:01:18.000Z | arena/objects/torus_knot.py | jameszha/ARENA-py | 209d93e9b91ba1d0c306b307e6dcb8411aada5b3 | [
"BSD-3-Clause"
] | 50 | 2020-08-14T22:24:36.000Z | 2022-03-18T20:41:12.000Z | arena/objects/torus_knot.py | jameszha/ARENA-py | 209d93e9b91ba1d0c306b307e6dcb8411aada5b3 | [
"BSD-3-Clause"
] | 10 | 2019-10-28T20:15:18.000Z | 2021-06-29T18:02:06.000Z | from .arena_object import Object
class TorusKnot(Object):
"""
Class for TorusKnot in the ARENA.
"""
object_type = "torusKnot"
def __init__(self, **kwargs):
super().__init__(object_type=TorusKnot.object_type, **kwargs)
| 22.545455 | 69 | 0.669355 | 29 | 248 | 5.310345 | 0.517241 | 0.194805 | 0.246753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 248 | 10 | 70 | 24.8 | 0.785714 | 0.133065 | 0 | 0 | 0 | 0 | 0.045226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2c4e96e873c9d43c3006ceef3f421fe0ef594eb9 | 803 | py | Python | src/activations.py | biggs/tensor-trickle | 1c222c71b4611f805aeac5341fd7eb5bf80cc020 | [
"MIT"
] | 3 | 2019-03-07T20:13:57.000Z | 2019-03-13T00:21:41.000Z | src/activations.py | biggs/toy-dl-lib | 1c222c71b4611f805aeac5341fd7eb5bf80cc020 | [
"MIT"
] | null | null | null | src/activations.py | biggs/toy-dl-lib | 1c222c71b4611f805aeac5341fd7eb5bf80cc020 | [
"MIT"
] | null | null | null | """ activations.py: Activation functions for neural network layers."""
import numpy as np
class Activation(object):
""" Abstract class for differentiable activation."""
def calc(self, preactiv):
""" Returns array after activation application."""
raise NotImplementedError
def deriv(self, ... | 22.942857 | 70 | 0.652553 | 82 | 803 | 6.390244 | 0.414634 | 0.137405 | 0.137405 | 0.120229 | 0.318702 | 0.263359 | 0 | 0 | 0 | 0 | 0 | 0.006525 | 0.236613 | 803 | 34 | 71 | 23.617647 | 0.848287 | 0.321295 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.0625 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2c57362fc8df228be0ff5ce22c254282ba931a5f | 2,765 | py | Python | contrib/tools/python/src/Lib/plat-aix3/IN.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | python/src/Lib/plat-aix3/IN.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | python/src/Lib/plat-aix3/IN.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | # Generated by h2py from /usr/include/netinet/in.h
# Included from net/nh.h
# Included from sys/machine.h
LITTLE_ENDIAN = 1234
BIG_ENDIAN = 4321
PDP_ENDIAN = 3412
BYTE_ORDER = BIG_ENDIAN
DEFAULT_GPR = 0xDEADBEEF
MSR_EE = 0x8000
MSR_PR = 0x4000
MSR_FP = 0x2000
MSR_ME = 0x1000
MSR_FE = 0x0800
MSR_FE0 = 0x0800
MSR_SE = ... | 21.771654 | 71 | 0.766004 | 437 | 2,765 | 4.535469 | 0.443936 | 0.017659 | 0.0333 | 0.036327 | 0.0444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252226 | 0.146835 | 2,765 | 126 | 72 | 21.944444 | 0.587961 | 0.035805 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0.24568 | 0 | 0 | 1 | 0.12037 | false | 0 | 0 | 0.12037 | 0.12037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
2c6715ebb9369efbb6da08a8a0f1121a4b96ffbc | 271 | py | Python | ca_on_waterloo/__init__.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | 19 | 2015-05-26T03:18:50.000Z | 2022-01-31T03:27:41.000Z | ca_on_waterloo/__init__.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | 119 | 2015-01-09T06:09:35.000Z | 2022-01-20T23:05:05.000Z | ca_on_waterloo/__init__.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | 17 | 2015-11-23T05:00:10.000Z | 2021-09-15T16:03:33.000Z | from utils import CanadianJurisdiction
class Waterloo(CanadianJurisdiction):
classification = 'legislature'
division_id = 'ocd-division/country:ca/csd:3530016'
division_name = 'Waterloo'
name = 'Waterloo City Council'
url = 'http://www.waterloo.ca'
| 27.1 | 55 | 0.730627 | 29 | 271 | 6.758621 | 0.724138 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030973 | 0.166052 | 271 | 9 | 56 | 30.111111 | 0.836283 | 0 | 0 | 0 | 0 | 0 | 0.357934 | 0.129151 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2c82f1758c6bb3afa514d9b81443bce8fc778ec5 | 610 | py | Python | fourth/fourth.py | mathstherapy-group1-2021-start/guess_number | 994e78a6d10eb37d16299b6725b5d1902b2d7974 | [
"MIT"
] | null | null | null | fourth/fourth.py | mathstherapy-group1-2021-start/guess_number | 994e78a6d10eb37d16299b6725b5d1902b2d7974 | [
"MIT"
] | null | null | null | fourth/fourth.py | mathstherapy-group1-2021-start/guess_number | 994e78a6d10eb37d16299b6725b5d1902b2d7974 | [
"MIT"
] | null | null | null | #
# Множественное наследование
#
# разные названия методов
class Sitter:
def sit(self):
print("sit")
class Layer:
def lay(self):
print("lay")
class SitterLayer(Sitter, Layer):
pass
# a = SitterLayer()
# a.sit()
# a.lay()
# Одинаковые названия методов
class SayerA:
def say(self):
... | 12.44898 | 73 | 0.621311 | 75 | 610 | 5.053333 | 0.453333 | 0.094987 | 0.105541 | 0.079156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25082 | 610 | 48 | 74 | 12.708333 | 0.829322 | 0.380328 | 0 | 0.277778 | 0 | 0 | 0.021978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.166667 | 0 | 0 | 0.611111 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
2cb8b14d893fc85312b16757971d27ec9afd3f32 | 1,200 | py | Python | tests/conftest.py | balazsdukai/tin2stardb | efb160ba744f757c4a6d4674c7abec8bf0694415 | [
"MIT"
] | null | null | null | tests/conftest.py | balazsdukai/tin2stardb | efb160ba744f757c4a6d4674c7abec8bf0694415 | [
"MIT"
] | null | null | null | tests/conftest.py | balazsdukai/tin2stardb | efb160ba744f757c4a6d4674c7abec8bf0694415 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""pytest configuration"""
import os
from pathlib import Path
import pytest
from tin import db, main
#-------------------------------------------------------------------- directory
@pytest.fixture('session')
def t_dir():
"""tests directory"""
yield Path(__file__).parent
@pytest.fi... | 18.75 | 81 | 0.581667 | 155 | 1,200 | 4.322581 | 0.296774 | 0.174627 | 0.208955 | 0.240299 | 0.370149 | 0.20597 | 0.059701 | 0 | 0 | 0 | 0 | 0.002988 | 0.163333 | 1,200 | 63 | 82 | 19.047619 | 0.664343 | 0.180833 | 0 | 0.25 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.111111 | 0 | 0.361111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e2c5b4495b9c2dc0c1f0265d65a3df7c696a7b3b | 362 | py | Python | Server/currentTest.py | ACRONYM-Group/ACRONYM-File-Transfer-System | e155712a1fbb61de35ff5bfd3eb701af7954fd7e | [
"MIT"
] | null | null | null | Server/currentTest.py | ACRONYM-Group/ACRONYM-File-Transfer-System | e155712a1fbb61de35ff5bfd3eb701af7954fd7e | [
"MIT"
] | 13 | 2020-11-27T16:08:30.000Z | 2022-03-25T18:36:20.000Z | Server/currentTest.py | ACRONYM-Group/ACRONYM-Multi-Purpose-Server | e155712a1fbb61de35ff5bfd3eb701af7954fd7e | [
"MIT"
] | 1 | 2018-09-16T20:02:38.000Z | 2018-09-16T20:02:38.000Z | import ACELib
conn = ACELib.Connection()
events = ACELib.Connection()
conn.initConnection()
events.initConnection()
if conn.loginServer("carter", "password"):
print("Login Good")
else:
print("Login Failed")
if events.loginServer("carter", "password"):
print("Login Good")
else:
print("Login Failed")
... | 17.238095 | 44 | 0.698895 | 42 | 362 | 6.02381 | 0.47619 | 0.158103 | 0.197628 | 0.237154 | 0.466403 | 0.466403 | 0.466403 | 0.466403 | 0.466403 | 0.466403 | 0 | 0 | 0.135359 | 362 | 20 | 45 | 18.1 | 0.808307 | 0 | 0 | 0.428571 | 0 | 0 | 0.240331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.071429 | 0 | 0.071429 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.