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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0870e20d9aa48ef2161bf98ae507ee33f01ff825 | 3,620 | py | Python | tests/test_store_retrieve.py | akesterson/pass3 | b2b125ca5b548665de60ace549ed34f692d541b2 | [
"MIT"
] | 1 | 2016-01-07T00:17:47.000Z | 2016-01-07T00:17:47.000Z | tests/test_store_retrieve.py | akesterson/pass3 | b2b125ca5b548665de60ace549ed34f692d541b2 | [
"MIT"
] | null | null | null | tests/test_store_retrieve.py | akesterson/pass3 | b2b125ca5b548665de60ace549ed34f692d541b2 | [
"MIT"
] | null | null | null | import nose
import pass3
def test_store_retrieve():
engine = pass3.Engine(
password='testing')
entry = pass3.Record(
scheme='http',
host='localhost.localdomain',
path='somesite',
user='test',
password='test',
title='Some Web Page : Welcome'
)
... | 33.831776 | 109 | 0.581215 | 397 | 3,620 | 5.246851 | 0.103275 | 0.199712 | 0.181469 | 0.099376 | 0.881421 | 0.786846 | 0.772924 | 0.772924 | 0.772924 | 0.766683 | 0 | 0.020748 | 0.25442 | 3,620 | 106 | 110 | 34.150943 | 0.751019 | 0 | 0 | 0.66 | 0 | 0 | 0.197514 | 0.092818 | 0 | 0 | 0 | 0 | 0.38 | 1 | 0.03 | false | 0.21 | 0.02 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
08e0aed52085cc34fabbfd619ac78869d7f5c025 | 2,299 | py | Python | tests/test_verify.py | haohuifeng0/nexmo-python | aacaefcf8bac20eedecaff53f122317e6c09e3ca | [
"MIT"
] | null | null | null | tests/test_verify.py | haohuifeng0/nexmo-python | aacaefcf8bac20eedecaff53f122317e6c09e3ca | [
"MIT"
] | null | null | null | tests/test_verify.py | haohuifeng0/nexmo-python | aacaefcf8bac20eedecaff53f122317e6c09e3ca | [
"MIT"
] | null | null | null | from util import *
@responses.activate
def test_start_verification(verify, dummy_data):
stub(responses.POST, "https://api.nexmo.com/verify/json")
params = {"number": "447525856424", "brand": "MyApp"}
assert isinstance(verify.start_verification(params), dict)
assert request_user_agent() == dummy_data... | 34.313433 | 69 | 0.743367 | 290 | 2,299 | 5.668966 | 0.165517 | 0.065693 | 0.079075 | 0.087591 | 0.819343 | 0.78528 | 0.760949 | 0.74635 | 0.74635 | 0.673358 | 0 | 0.061809 | 0.134406 | 2,299 | 67 | 70 | 34.313433 | 0.764322 | 0 | 0 | 0.520833 | 0 | 0 | 0.241304 | 0.047391 | 0 | 0 | 0 | 0 | 0.479167 | 1 | 0.125 | false | 0 | 0.020833 | 0 | 0.145833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f5b2a5bbb38fe39b0576273f528015c0e2c4d7c8 | 174 | py | Python | purescript_show_python/ffi/Data/Semiring.py | thautwarm/purescript-show-python | e40134362653baa2f5feffced579504d7fe7f7ba | [
"MIT"
] | null | null | null | purescript_show_python/ffi/Data/Semiring.py | thautwarm/purescript-show-python | e40134362653baa2f5feffced579504d7fe7f7ba | [
"MIT"
] | 1 | 2020-02-24T16:38:30.000Z | 2020-02-24T16:38:30.000Z | purescript_show_python/ffi/Data/Semiring.py | purescript-python/purescript-show-python | e40134362653baa2f5feffced579504d7fe7f7ba | [
"MIT"
] | null | null | null | def intAdd(x):
return lambda y: x + y
def intMul(x):
return lambda y: x * y
def numAdd(x):
return lambda y: x + y
def numMul(x):
return lambda y: x * y
| 11.6 | 26 | 0.574713 | 32 | 174 | 3.125 | 0.28125 | 0.28 | 0.52 | 0.56 | 0.73 | 0.73 | 0.57 | 0 | 0 | 0 | 0 | 0 | 0.310345 | 174 | 14 | 27 | 12.428571 | 0.833333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 1 | 0 | 0 | 7 |
de22aa167477d15038d2b848b127b6e7a3505a4d | 2,559 | py | Python | tests/test_problem_solving_data_structures_trees.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | tests/test_problem_solving_data_structures_trees.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | tests/test_problem_solving_data_structures_trees.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | from problem_solving.data_structures.trees import *
def test_q1_tree_preorder_traversal(capsys, monkeypatch):
inputs = ["6", "1 2 5 3 6 4"]
monkeypatch.setattr('builtins.input', lambda: inputs.pop(0))
q1_tree_preorder_traversal.main()
captured = capsys.readouterr()
output = "1 2 5 3 4 6 "
ass... | 30.464286 | 64 | 0.669402 | 395 | 2,559 | 4.177215 | 0.141772 | 0.098182 | 0.141818 | 0.169091 | 0.872727 | 0.851515 | 0.769697 | 0.754545 | 0.754545 | 0.753939 | 0 | 0.090281 | 0.207894 | 2,559 | 83 | 65 | 30.831325 | 0.72373 | 0 | 0 | 0.7 | 0 | 0 | 0.157874 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.083333 | false | 0 | 0.016667 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9d1a62748459695db18e81a89d3470b80d9c9c1d | 44 | py | Python | .ipynb_checkpoints/config-checkpoint.py | jchrystal/weatherpy_homework | 475cf8aff72e1f137ba3026089d6b2090e18060a | [
"MIT"
] | null | null | null | .ipynb_checkpoints/config-checkpoint.py | jchrystal/weatherpy_homework | 475cf8aff72e1f137ba3026089d6b2090e18060a | [
"MIT"
] | null | null | null | .ipynb_checkpoints/config-checkpoint.py | jchrystal/weatherpy_homework | 475cf8aff72e1f137ba3026089d6b2090e18060a | [
"MIT"
] | null | null | null | api_key = "ccafc75a70c2015a73008b45469e478c" | 44 | 44 | 0.886364 | 3 | 44 | 12.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.045455 | 44 | 1 | 44 | 44 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0.711111 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9d5eef291ccdcaa0d74fdf81a430fa00036e9e97 | 4,948 | py | Python | src/genie/libs/parser/nxos/tests/ShowIpInterfaceBrief/cli/equal/golden_output_1_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/ShowIpInterfaceBrief/cli/equal/golden_output_1_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/ShowIpInterfaceBrief/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {'interface':
{'Eth5/48.106':
{'interface_status': 'protocol-down/link-down/admin-up',
'ip_address': '10.81.6.1'},
'Lo3':
{'interface_status': ... | 63.435897 | 116 | 0.353678 | 419 | 4,948 | 4.047733 | 0.157518 | 0.229953 | 0.352594 | 0.245283 | 0.851415 | 0.851415 | 0.851415 | 0.851415 | 0.851415 | 0.851415 | 0 | 0.123669 | 0.506467 | 4,948 | 77 | 117 | 64.25974 | 0.570844 | 0 | 0 | 0.266667 | 0 | 0 | 0.397897 | 0.162151 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
9d601b648c8f42019e2264c6e459b3708fd51c2b | 14,175 | py | Python | tests/rule_based_profiler/domain_builder/test_domain.py | andyjessen/great_expectations | 74f7f2aa7b51144f34156ed49490dae4edaa5cb7 | [
"Apache-2.0"
] | null | null | null | tests/rule_based_profiler/domain_builder/test_domain.py | andyjessen/great_expectations | 74f7f2aa7b51144f34156ed49490dae4edaa5cb7 | [
"Apache-2.0"
] | null | null | null | tests/rule_based_profiler/domain_builder/test_domain.py | andyjessen/great_expectations | 74f7f2aa7b51144f34156ed49490dae4edaa5cb7 | [
"Apache-2.0"
] | null | null | null | from typing import Optional
import pytest
from great_expectations.rule_based_profiler.helpers.util import (
integer_semantic_domain_type,
)
from great_expectations.rule_based_profiler.types import (
INFERRED_SEMANTIC_TYPE_KEY,
Domain,
SemanticDomainTypes,
)
def test_semantic_domain_consistency():
... | 27.417795 | 271 | 0.556825 | 1,284 | 14,175 | 5.783489 | 0.070872 | 0.121196 | 0.077565 | 0.097765 | 0.908161 | 0.901427 | 0.891193 | 0.884999 | 0.862375 | 0.841772 | 0 | 0 | 0.333898 | 14,175 | 516 | 272 | 27.47093 | 0.786486 | 0.005644 | 0 | 0.679739 | 0 | 0 | 0.171536 | 0.009257 | 0 | 0 | 0 | 0 | 0.071895 | 1 | 0.010893 | false | 0.087146 | 0.008715 | 0 | 0.019608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
c2292b7cf1c207cab0c1d872af5b992028712cfd | 127 | py | Python | OpenMatch/data/__init__.py | vishalbelsare/OpenMatch | 84b25502bf52c58b9e71bd0754b2fc192d9b448f | [
"MIT"
] | 403 | 2020-01-17T06:54:46.000Z | 2022-03-30T05:47:42.000Z | OpenMatch/data/__init__.py | vishalbelsare/OpenMatch | 84b25502bf52c58b9e71bd0754b2fc192d9b448f | [
"MIT"
] | 30 | 2020-06-07T12:28:07.000Z | 2022-03-20T05:26:03.000Z | OpenMatch/data/__init__.py | vishalbelsare/OpenMatch | 84b25502bf52c58b9e71bd0754b2fc192d9b448f | [
"MIT"
] | 48 | 2020-07-15T09:45:46.000Z | 2022-03-01T07:27:59.000Z | from OpenMatch.data.dataloader import DataLoader
from OpenMatch.data.datasets import *
from OpenMatch.data.tokenizers import *
| 31.75 | 48 | 0.84252 | 16 | 127 | 6.6875 | 0.4375 | 0.364486 | 0.476636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 3 | 49 | 42.333333 | 0.930435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c233d2a46dc3eadbe682ee06973916550ef9c65b | 3,855 | py | Python | tests/test_waf.py | roecla/econ-project-templates | 7625f6938094dd02bb863a67d4d5912c584df14d | [
"BSD-3-Clause"
] | null | null | null | tests/test_waf.py | roecla/econ-project-templates | 7625f6938094dd02bb863a67d4d5912c584df14d | [
"BSD-3-Clause"
] | null | null | null | tests/test_waf.py | roecla/econ-project-templates | 7625f6938094dd02bb863a67d4d5912c584df14d | [
"BSD-3-Clause"
] | null | null | null | import subprocess
import os
import re
import shutil
import pytest
from test_cookie import basic_project_dict
PROJECT_DIRECTORY = os.path.realpath(os.path.curdir)
def remove_dir(dirpath):
shutil.rmtree(os.path.join(PROJECT_DIRECTORY, dirpath))
def _check_configure(result):
try:
log_configure = sub... | 30.595238 | 88 | 0.757977 | 512 | 3,855 | 5.308594 | 0.154297 | 0.16777 | 0.223694 | 0.110007 | 0.827447 | 0.817145 | 0.783664 | 0.769316 | 0.769316 | 0.769316 | 0 | 0 | 0.142672 | 3,855 | 125 | 89 | 30.84 | 0.82239 | 0 | 0 | 0.58427 | 0 | 0 | 0.12607 | 0.021271 | 0 | 0 | 0 | 0 | 0.022472 | 1 | 0.179775 | false | 0 | 0.067416 | 0 | 0.247191 | 0.022472 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c242ea5672f80f1bd42c7f8591c2e1bcf6f9910b | 96 | py | Python | baldrick/blueprints/__init__.py | ConorMacBride/baldrick | cf93ea5abc4a207afd5c722b6b42a33b0ba91880 | [
"MIT"
] | 14 | 2018-11-24T20:29:26.000Z | 2022-03-25T14:53:06.000Z | baldrick/blueprints/__init__.py | ConorMacBride/baldrick | cf93ea5abc4a207afd5c722b6b42a33b0ba91880 | [
"MIT"
] | 84 | 2018-09-11T13:53:55.000Z | 2022-02-04T14:51:04.000Z | baldrick/blueprints/__init__.py | ConorMacBride/baldrick | cf93ea5abc4a207afd5c722b6b42a33b0ba91880 | [
"MIT"
] | 7 | 2018-08-01T16:06:31.000Z | 2021-12-15T16:23:52.000Z | from .circleci import circleci_blueprint # noqa
from .github import github_blueprint # noqa
| 32 | 49 | 0.791667 | 12 | 96 | 6.166667 | 0.5 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 2 | 50 | 48 | 0.925 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
dfb012adb657ac9399e78addfd2318367633b781 | 275 | py | Python | angr/procedures/win32/critical_section.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | angr/procedures/win32/critical_section.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | angr/procedures/win32/critical_section.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z | import angr
class InitializeCriticalSectionAndSpinCount(angr.SimProcedure):
def run(self, lpCriticalSection, dwSpinCount):
return 1
class InitializeCriticalSectionEx(angr.SimProcedure):
def run(self, lpCriticalSection, dwSpinCount, Flags):
return 1
| 27.5 | 63 | 0.767273 | 25 | 275 | 8.44 | 0.56 | 0.151659 | 0.180095 | 0.208531 | 0.511848 | 0.511848 | 0.511848 | 0 | 0 | 0 | 0 | 0.008696 | 0.163636 | 275 | 9 | 64 | 30.555556 | 0.908696 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
dffb91ab1a69063b61425fa986a7327073a1fb2d | 62 | py | Python | multiply.py | SudalaiRajkumar/Test- | 61b7db6c09d7b9507a17944ed83ed09b6cc434b1 | [
"Apache-2.0"
] | 1 | 2018-09-08T10:55:13.000Z | 2018-09-08T10:55:13.000Z | multiply.py | SudalaiRajkumar/Test- | 61b7db6c09d7b9507a17944ed83ed09b6cc434b1 | [
"Apache-2.0"
] | null | null | null | multiply.py | SudalaiRajkumar/Test- | 61b7db6c09d7b9507a17944ed83ed09b6cc434b1 | [
"Apache-2.0"
] | null | null | null | def multiply(a,b):
return a*b
def divide(a,b):
return a/b
| 10.333333 | 18 | 0.645161 | 14 | 62 | 2.857143 | 0.428571 | 0.2 | 0.4 | 0.45 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 5 | 19 | 12.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
5f1f32bfb38e70dde7f50823c70f27cc5df4a260 | 9,098 | py | Python | medidas/migrations/0023_auto_20210525_1133.py | SolanoJason/kiwioptics | d5d1fb8383710ca1e431c01407c2c9e1e227b053 | [
"MIT"
] | 1 | 2021-04-16T22:47:41.000Z | 2021-04-16T22:47:41.000Z | medidas/migrations/0023_auto_20210525_1133.py | SolanoJason/kiwioptics | d5d1fb8383710ca1e431c01407c2c9e1e227b053 | [
"MIT"
] | null | null | null | medidas/migrations/0023_auto_20210525_1133.py | SolanoJason/kiwioptics | d5d1fb8383710ca1e431c01407c2c9e1e227b053 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.6 on 2021-05-25 11:33
from decimal import Decimal
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('medidas', '0022_auto_20210504_1710'),
]
operations = [
migrations.AlterField(
model_na... | 202.177778 | 1,347 | 0.484062 | 1,431 | 9,098 | 3.050314 | 0.044724 | 0.136082 | 0.034364 | 0.039863 | 0.957847 | 0.957847 | 0.957847 | 0.950974 | 0.880412 | 0.880412 | 0 | 0.188686 | 0.108156 | 9,098 | 44 | 1,348 | 206.772727 | 0.349273 | 0.004946 | 0 | 0.473684 | 1 | 0 | 0.313423 | 0.008438 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a043a2a5659f6b7dd5790c18d917303c4e8feb67 | 3,250 | py | Python | tests/test_streaming.py | Hanaasagi/requests-async | aed4c6cd8a4e5183449426ce99f4f4026fa6f2e1 | [
"Apache-2.0"
] | 1,057 | 2019-03-21T12:43:58.000Z | 2022-02-04T15:07:33.000Z | tests/test_streaming.py | Hanaasagi/requests-async | aed4c6cd8a4e5183449426ce99f4f4026fa6f2e1 | [
"Apache-2.0"
] | 42 | 2019-03-21T13:58:49.000Z | 2019-07-22T21:40:21.000Z | tests/test_streaming.py | Hanaasagi/requests-async | aed4c6cd8a4e5183449426ce99f4f4026fa6f2e1 | [
"Apache-2.0"
] | 48 | 2019-03-21T12:45:10.000Z | 2022-01-20T03:24:07.000Z | import asyncio
import pytest
import requests_async
@pytest.mark.asyncio
async def test_content_not_available_on_stream(server):
url = "http://127.0.0.1:8000/hello_world"
response = await requests_async.get(url, stream=True)
assert response.status_code == 200
with pytest.raises(requests_async.excepti... | 29.816514 | 79 | 0.681846 | 452 | 3,250 | 4.752212 | 0.126106 | 0.069832 | 0.071229 | 0.092179 | 0.86406 | 0.85149 | 0.837989 | 0.837989 | 0.827281 | 0.8054 | 0 | 0.046201 | 0.194154 | 3,250 | 108 | 80 | 30.092593 | 0.77396 | 0 | 0 | 0.709302 | 0 | 0 | 0.125538 | 0 | 0 | 0 | 0 | 0 | 0.244186 | 1 | 0 | false | 0 | 0.034884 | 0 | 0.034884 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a0580f5659908c3858ead245c25c37a08cff738e | 19,401 | py | Python | bigtable/snippets/filters/snapshots/snap_filters_test.py | summersab/python-docs-samples | 7c1e9685fe190f7789d8e1dbcfe8c01a20e3dc66 | [
"Apache-2.0"
] | 34 | 2020-07-27T19:14:01.000Z | 2022-03-31T14:46:53.000Z | bigtable/snippets/filters/snapshots/snap_filters_test.py | summersab/python-docs-samples | 7c1e9685fe190f7789d8e1dbcfe8c01a20e3dc66 | [
"Apache-2.0"
] | 254 | 2020-01-31T23:44:06.000Z | 2022-03-23T22:52:49.000Z | bigtable/snippets/filters/snapshots/snap_filters_test.py | summersab/python-docs-samples | 7c1e9685fe190f7789d8e1dbcfe8c01a20e3dc66 | [
"Apache-2.0"
] | 30 | 2020-01-31T20:45:34.000Z | 2022-03-23T19:56:42.000Z | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
# flake8: noqa
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots['test_filter_limit_row_regex 1'] = '''Reading data for phone#4c410523#20190501:
Column Family cell_plan
\tdata_plan_01gb: false ... | 40.334719 | 100 | 0.764445 | 3,853 | 19,401 | 3.734493 | 0.023099 | 0.216276 | 0.242268 | 0.213496 | 0.979151 | 0.979151 | 0.979151 | 0.978595 | 0.976162 | 0.975606 | 0 | 0.354659 | 0.082367 | 19,401 | 480 | 101 | 40.41875 | 0.453575 | 0.003866 | 0 | 0.9 | 0 | 0.338462 | 0.973812 | 0.232585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.023077 | 0.005128 | 0 | 0.005128 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
a059013902f04a60eb741a9660f2a03ea8add282 | 5,058 | py | Python | py/levels/bronze.py | triffid/kiki | b64b8524063c149a5cc9118f48d80afec1d8a942 | [
"Unlicense"
] | 2 | 2020-01-04T23:44:10.000Z | 2020-07-12T17:10:09.000Z | py/levels/bronze.py | triffid/kiki | b64b8524063c149a5cc9118f48d80afec1d8a942 | [
"Unlicense"
] | null | null | null | py/levels/bronze.py | triffid/kiki | b64b8524063c149a5cc9118f48d80afec1d8a942 | [
"Unlicense"
] | 1 | 2022-03-16T05:43:33.000Z | 2022-03-16T05:43:33.000Z | # .................................................................................................................
level_dict["bronze"] = {
"scheme": "bronze_scheme",
"size": (9,6,9),
"intro": "bronze",
"hel... | 58.137931 | 122 | 0.5172 | 805 | 5,058 | 3.247205 | 0.093168 | 0.03749 | 0.056236 | 0.156848 | 0.832058 | 0.82785 | 0.787299 | 0.756312 | 0.736802 | 0.726473 | 0 | 0.060163 | 0.270463 | 5,058 | 87 | 123 | 58.137931 | 0.648238 | 0.022341 | 0 | 0 | 0 | 0 | 0.230969 | 0.025087 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a05d70cd2f5abbcf6b69eda2f29cc0850aba18ff | 191,993 | py | Python | python/latex2wolfram/parsetab.py | rafaellc28/Latex2Wolfram | ac133872a7fb3a884e52df07c45db9bd9188adf7 | [
"MIT"
] | 2 | 2019-09-24T21:00:57.000Z | 2021-07-19T21:24:09.000Z | python/latex2wolfram/parsetab.py | rafaellc28/Latex2Wolfram | ac133872a7fb3a884e52df07c45db9bd9188adf7 | [
"MIT"
] | 1 | 2019-09-24T20:54:08.000Z | 2019-09-24T20:54:08.000Z | python/latex2wolfram/parsetab.py | rafaellc28/Latex2Wolfram | ac133872a7fb3a884e52df07c45db9bd9188adf7 | [
"MIT"
] | null | null | null |
# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'leftIDleftNUMBERINFINITYleftBEGIN_CASEEND_CASEBEGIN_BMATRIXEND_BMATRIXBEGIN_PMATRIXEND_PMATRIXBACKSLASHESleftINTEGRALDIFFERENTIALDIEPARTIALLIMITTOrightCOMMArightPIPErightLPARENRPARENrightLBRAC... | 690.622302 | 143,408 | 0.677223 | 45,962 | 191,993 | 2.818502 | 0.019233 | 0.015315 | 0.00799 | 0.010653 | 0.88451 | 0.867643 | 0.848028 | 0.8136 | 0.803565 | 0.784259 | 0 | 0.575224 | 0.032126 | 191,993 | 277 | 143,409 | 693.115523 | 0.121905 | 0.000323 | 0 | 0.007463 | 1 | 0.003731 | 0.153074 | 0.006581 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
a06c8ba9424dec11f2388e37ba3ce7f2f386b32e | 104 | py | Python | example_app/decorators_demo/__init__.py | vishwaefor/handy-python-features | cbc6f772655a1a329971cc2972d691501b2c66a1 | [
"Apache-2.0"
] | 2 | 2019-07-05T18:07:36.000Z | 2019-07-11T15:49:55.000Z | example_app/decorators_demo/__init__.py | vishwaefor/handy-python-features | cbc6f772655a1a329971cc2972d691501b2c66a1 | [
"Apache-2.0"
] | 1 | 2019-07-03T08:18:21.000Z | 2019-07-04T07:32:09.000Z | example_app/decorators_demo/__init__.py | vishwaefor/handy-python-features | cbc6f772655a1a329971cc2972d691501b2c66a1 | [
"Apache-2.0"
] | null | null | null | from .private_function_check import private_function_check
from .singleton_check import singleton_check
| 34.666667 | 58 | 0.903846 | 14 | 104 | 6.285714 | 0.428571 | 0.340909 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 59 | 52 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a06cf7af3e126e26e1ed19707e6cd090cc704834 | 3,445 | py | Python | ClassificationAndRegression/SemiSupervised/LabelSpreading.py | kopok2/machine-learning-algorithms | 9d5eb9c17a1354e726b79e9cfae9e5638976b919 | [
"MIT"
] | null | null | null | ClassificationAndRegression/SemiSupervised/LabelSpreading.py | kopok2/machine-learning-algorithms | 9d5eb9c17a1354e726b79e9cfae9e5638976b919 | [
"MIT"
] | null | null | null | ClassificationAndRegression/SemiSupervised/LabelSpreading.py | kopok2/machine-learning-algorithms | 9d5eb9c17a1354e726b79e9cfae9e5638976b919 | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Label Spreading
Semi-supervised Machine Learning algorithm.
"""
import numpy as np
import matplotlib.pyplot as plt
from sklearn import semi_supervised, datasets
if __name__ == '__main__':
print("Generating data...")
samples = 300
X, y = datasets.make_circles(n_samples=samples)
o =... | 37.043011 | 82 | 0.614514 | 520 | 3,445 | 3.969231 | 0.188462 | 0.040698 | 0.053295 | 0.03876 | 0.877907 | 0.877907 | 0.877907 | 0.877907 | 0.877907 | 0.877907 | 0 | 0.045605 | 0.21074 | 3,445 | 92 | 83 | 37.445652 | 0.713498 | 0.02148 | 0 | 0.891892 | 0 | 0 | 0.149866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040541 | 0 | 0.040541 | 0.081081 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a072532fc33103350a0c1c5c0b21149b8b84a7d9 | 2,326 | py | Python | 12/tests.py | remihuguet/aoc2020 | c313c5b425dda92d949fd9ca4f18ff66f452794f | [
"MIT"
] | null | null | null | 12/tests.py | remihuguet/aoc2020 | c313c5b425dda92d949fd9ca4f18ff66f452794f | [
"MIT"
] | null | null | null | 12/tests.py | remihuguet/aoc2020 | c313c5b425dda92d949fd9ca4f18ff66f452794f | [
"MIT"
] | null | null | null | import rainrisk
def test_compute_new_direction():
direction = (1, 0)
assert (0, -1) == rainrisk.compute_new_direction(direction, 'R90')
assert (0, 1) == rainrisk.compute_new_direction(direction, 'L90')
assert (-1, 0) == rainrisk.compute_new_direction(direction, 'R180')
assert (-1, 0) == rainrisk... | 38.131148 | 78 | 0.686586 | 301 | 2,326 | 5.066445 | 0.139535 | 0.255738 | 0.211803 | 0.312131 | 0.767213 | 0.767213 | 0.761967 | 0.727869 | 0.052459 | 0.052459 | 0 | 0.07216 | 0.159931 | 2,326 | 60 | 79 | 38.766667 | 0.708291 | 0 | 0 | 0.097561 | 0 | 0 | 0.065348 | 0 | 0 | 0 | 0 | 0 | 0.634146 | 1 | 0.146341 | false | 0 | 0.02439 | 0 | 0.170732 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
264af77119668b0c471580b3b42362742be405a1 | 1,364 | py | Python | tests/utils/test_str_checks.py | dmalison/hedger | 8db634a484769fb4f3feb945c1847ef50803fafe | [
"MIT"
] | null | null | null | tests/utils/test_str_checks.py | dmalison/hedger | 8db634a484769fb4f3feb945c1847ef50803fafe | [
"MIT"
] | null | null | null | tests/utils/test_str_checks.py | dmalison/hedger | 8db634a484769fb4f3feb945c1847ef50803fafe | [
"MIT"
] | null | null | null | import unittest
from hedger import utils
class StrChecksTest(unittest.TestCase):
def test_isint_with_zero_returns_true(self):
self.assertTrue(utils.is_str_int("0"))
def test_isint_with_leading_zero_returns_true(self):
self.assertTrue(utils.is_str_int("01"))
def test_isint_with_negative_... | 32.47619 | 65 | 0.746334 | 201 | 1,364 | 4.616915 | 0.174129 | 0.090517 | 0.12931 | 0.184267 | 0.825431 | 0.71444 | 0.71444 | 0.71444 | 0.71444 | 0.66056 | 0 | 0.01463 | 0.148094 | 1,364 | 41 | 66 | 33.268293 | 0.783993 | 0 | 0 | 0 | 0 | 0 | 0.02346 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | false | 0 | 0.074074 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
265ea2b584609b4162585e10d8730c8ba727c5ab | 1,072 | py | Python | tests/test_spanning_cidr.py | akud82/spanning_cidr | 1b9777c21c77063c58cb6a766c642053a1b8df21 | [
"MIT"
] | null | null | null | tests/test_spanning_cidr.py | akud82/spanning_cidr | 1b9777c21c77063c58cb6a766c642053a1b8df21 | [
"MIT"
] | null | null | null | tests/test_spanning_cidr.py | akud82/spanning_cidr | 1b9777c21c77063c58cb6a766c642053a1b8df21 | [
"MIT"
] | null | null | null | from spanning_cidr import spanning_cidr
def test_address_empty():
assert spanning_cidr([]) == None
def test_address_empty():
assert spanning_cidr(['']) == None
def test_address_single():
assert spanning_cidr(['127.0.0.1']) == '127.0.0.1/32'
def test_address_one_and_empty():
assert spanning_cidr(['12... | 36.965517 | 133 | 0.668843 | 195 | 1,072 | 3.461538 | 0.210256 | 0.118519 | 0.207407 | 0.044444 | 0.777778 | 0.77037 | 0.743704 | 0.678519 | 0.626667 | 0.57037 | 0 | 0.259686 | 0.109142 | 1,072 | 28 | 134 | 38.285714 | 0.44712 | 0 | 0 | 0.105263 | 0 | 0 | 0.310634 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 1 | 0.473684 | true | 0 | 0.052632 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
2669769b0bf69f5be480f32c4d2e056c1db395a2 | 140 | py | Python | smhsan/training/metrics/__init__.py | hoho-wenda0228/Nested_NER | 22e7973df733d6dcd5b7bf67c941bed4ac64989a | [
"MIT"
] | 10 | 2021-06-27T06:58:03.000Z | 2022-03-30T08:34:03.000Z | smhsan/training/metrics/__init__.py | hoho-wenda0228/Nested_NER | 22e7973df733d6dcd5b7bf67c941bed4ac64989a | [
"MIT"
] | null | null | null | smhsan/training/metrics/__init__.py | hoho-wenda0228/Nested_NER | 22e7973df733d6dcd5b7bf67c941bed4ac64989a | [
"MIT"
] | 2 | 2021-08-09T07:29:16.000Z | 2022-03-24T09:05:27.000Z | # coding: utf-8
from smhsan.training.metrics.type_f1_measure import TypeF1Measure
from smhsan.training.metrics.bd_metrics import BDMetrics
| 28 | 65 | 0.85 | 20 | 140 | 5.8 | 0.7 | 0.172414 | 0.310345 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.085714 | 140 | 4 | 66 | 35 | 0.882813 | 0.092857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cd8d7c36a596e658e5c27fe9e25a38c34c8f3507 | 13,936 | py | Python | tests/test_read_write_ply.py | nmaxwell/OpenMesh-Python | daa461069decb459f990bfcc1131c55a2db7b5e5 | [
"BSD-3-Clause"
] | 9 | 2019-09-16T10:03:37.000Z | 2022-02-03T17:56:24.000Z | tests/test_read_write_ply.py | Jiawei1996/OpenMesh-Python | daa461069decb459f990bfcc1131c55a2db7b5e5 | [
"BSD-3-Clause"
] | 2 | 2017-01-04T10:55:17.000Z | 2017-01-16T16:59:34.000Z | tests/test_read_write_ply.py | jjennings955/openmesh-python-subdivide | 7f39bd1693f009ddd8739c98671b122c4d4aba81 | [
"BSD-3-Clause"
] | 1 | 2020-04-13T15:23:59.000Z | 2020-04-13T15:23:59.000Z | import unittest
import openmesh
import os
import numpy as np
class ReadWritePLY(unittest.TestCase):
def setUp(self):
if not os.path.exists('OutFiles'):
os.makedirs('OutFiles')
def test_read_write_read(self):
mesh1 = openmesh.read_trimesh("TestFiles/cube-minimal.obj")
open... | 51.424354 | 128 | 0.687213 | 1,982 | 13,936 | 4.657921 | 0.052472 | 0.216638 | 0.226386 | 0.274047 | 0.918653 | 0.911828 | 0.87825 | 0.873375 | 0.837413 | 0.810334 | 0 | 0.03519 | 0.163964 | 13,936 | 270 | 129 | 51.614815 | 0.757188 | 0 | 0 | 0.635468 | 0 | 0 | 0.046929 | 0.045207 | 0 | 0 | 0 | 0 | 0.738916 | 1 | 0.068966 | false | 0 | 0.019704 | 0 | 0.093596 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
26b3673be1e9de64f10d21e2dd73edb32e0f087f | 8,481 | py | Python | redux/rev_mdf.py | joungh93/PyRAF_GMOS_IFU | 1750caaf846c426cf1fc761ad539f740c8ae64d9 | [
"MIT"
] | null | null | null | redux/rev_mdf.py | joungh93/PyRAF_GMOS_IFU | 1750caaf846c426cf1fc761ad539f740c8ae64d9 | [
"MIT"
] | null | null | null | redux/rev_mdf.py | joungh93/PyRAF_GMOS_IFU | 1750caaf846c426cf1fc761ad539f740c8ae64d9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Jan 20 15:25:20 2020
@author: jlee
"""
import numpy as np
import glob, os
import copy
import g0_init_cfg as ic
from astropy.io import fits
# ----- Importing IRAF from the root directory ----- #
current_dir = os.getcwd()
os.chdir(ic.dir_iraf)
from p... | 33.521739 | 163 | 0.542978 | 1,225 | 8,481 | 3.596735 | 0.155102 | 0.034044 | 0.022242 | 0.035406 | 0.879029 | 0.857013 | 0.857013 | 0.857013 | 0.848842 | 0.848842 | 0 | 0.037676 | 0.261408 | 8,481 | 252 | 164 | 33.654762 | 0.665709 | 0.119443 | 0 | 0.838323 | 0 | 0 | 0.058913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041916 | 0 | 0.041916 | 0.011976 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
26b976ec4ce24fd3fe329e7bc135e8a4046c8692 | 131 | py | Python | quax/methods/__init__.py | ferchault/Quax | 53950d03b6b50a3e092f18aed7a607a6318fc6d7 | [
"BSD-3-Clause"
] | null | null | null | quax/methods/__init__.py | ferchault/Quax | 53950d03b6b50a3e092f18aed7a607a6318fc6d7 | [
"BSD-3-Clause"
] | null | null | null | quax/methods/__init__.py | ferchault/Quax | 53950d03b6b50a3e092f18aed7a607a6318fc6d7 | [
"BSD-3-Clause"
] | null | null | null | from . import energy_utils
from . import hartree_fock
from . import mp2
from . import ccsd
from . import ccsd_t
from . import ints
| 18.714286 | 26 | 0.770992 | 21 | 131 | 4.666667 | 0.47619 | 0.612245 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.183206 | 131 | 6 | 27 | 21.833333 | 0.906542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
26ea518b60c5687af717ad6c9c53e5aeff3800b2 | 2,245 | py | Python | src/HartreeParticleDSL/backends/C_AOS/C_AOS_IO_Mixin.py | stfc/HartreeParticleDSL | 17990f1a85c9cbec3c4dfa0923e2c44cad6f381c | [
"MIT"
] | null | null | null | src/HartreeParticleDSL/backends/C_AOS/C_AOS_IO_Mixin.py | stfc/HartreeParticleDSL | 17990f1a85c9cbec3c4dfa0923e2c44cad6f381c | [
"MIT"
] | 47 | 2021-09-16T10:28:05.000Z | 2022-03-15T14:24:33.000Z | src/HartreeParticleDSL/backends/C_AOS/C_AOS_IO_Mixin.py | stfc/HartreeParticleDSL | 17990f1a85c9cbec3c4dfa0923e2c44cad6f381c | [
"MIT"
] | 1 | 2021-09-27T15:20:01.000Z | 2021-09-27T15:20:01.000Z | from abc import ABCMeta, abstractmethod
class C_AOS_IO_Mixin(metaclass=ABCMeta):
def gen_code_c(self, part_type):
'''
Generates and returns the C code required for this IO module.
:raises NotImplementedError: Abstract method that must be
overriden by c... | 36.803279 | 72 | 0.550111 | 234 | 2,245 | 5.038462 | 0.235043 | 0.067854 | 0.081425 | 0.072095 | 0.804919 | 0.787956 | 0.742154 | 0.718405 | 0.699746 | 0.699746 | 0 | 0 | 0.393764 | 2,245 | 60 | 73 | 37.416667 | 0.866275 | 0.434744 | 0 | 0.444444 | 1 | 0 | 0.287214 | 0.09542 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.055556 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f83e91e804f7b6aa7bd6315428585f8c911083c9 | 14,228 | py | Python | Plot/PlotHelper.py | AndresOtero/TensorDecompositionMachineLearning | 455f16b405ec9d031999b0ebf9c5a68d3c20b233 | [
"MIT"
] | 3 | 2021-06-11T02:46:06.000Z | 2021-08-17T02:59:30.000Z | Plot/PlotHelper.py | AndresOtero/TensorDecompositionMachineLearning | 455f16b405ec9d031999b0ebf9c5a68d3c20b233 | [
"MIT"
] | null | null | null | Plot/PlotHelper.py | AndresOtero/TensorDecompositionMachineLearning | 455f16b405ec9d031999b0ebf9c5a68d3c20b233 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from matplotlib import cm
from scipy.interpolate import interp1d, CubicSpline, interpolate, PchipInterpolator, interp2d
from torch import linspace
from mpl_toolkits.mplot3d import Axes3D # <--- This is important for 3d plotting
import numpy as np
class PlotHelper(object):
@staticme... | 35.305211 | 131 | 0.510683 | 1,859 | 14,228 | 3.733728 | 0.080151 | 0.051145 | 0.019882 | 0.018441 | 0.863564 | 0.83086 | 0.819046 | 0.819046 | 0.812131 | 0.79758 | 0 | 0.01443 | 0.352193 | 14,228 | 403 | 132 | 35.305211 | 0.738635 | 0.015954 | 0 | 0.804878 | 0 | 0 | 0.014861 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03523 | false | 0 | 0.01626 | 0 | 0.059621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f84ce2780967a05334ecbab9e55444004863158c | 943 | py | Python | cotk/metric/__init__.py | Cospui/cotk | 9038420787f7251049534baf3b35eac538a82148 | [
"Apache-2.0"
] | null | null | null | cotk/metric/__init__.py | Cospui/cotk | 9038420787f7251049534baf3b35eac538a82148 | [
"Apache-2.0"
] | null | null | null | cotk/metric/__init__.py | Cospui/cotk | 9038420787f7251049534baf3b35eac538a82148 | [
"Apache-2.0"
] | null | null | null | r"""
`cotk.metrics` provides functions evaluating results of models. It provides
a fair metric for every model.
"""
from .metric import MetricBase, PerplexityMetric, BleuCorpusMetric, SelfBleuCorpusMetric,\
FwBwBleuCorpusMetric, SingleTurnDialogRecorder, LanguageGenerationRecorder, \
... | 55.470588 | 97 | 0.73701 | 49 | 943 | 14.102041 | 0.673469 | 0.075253 | 0.121563 | 0.17945 | 0.845152 | 0.845152 | 0.845152 | 0.845152 | 0.845152 | 0.845152 | 0 | 0 | 0.181336 | 943 | 16 | 98 | 58.9375 | 0.895078 | 0.112407 | 0 | 0 | 0 | 0 | 0.352232 | 0.219542 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f851c0fdf44807a4d4ca61cf8b251efe78adb034 | 207 | py | Python | src/sooli/__init__.py | ragavvenkatesan/HandCricket | 3622091057c1f0d950452e97264455ba6993f31a | [
"MIT"
] | null | null | null | src/sooli/__init__.py | ragavvenkatesan/HandCricket | 3622091057c1f0d950452e97264455ba6993f31a | [
"MIT"
] | null | null | null | src/sooli/__init__.py | ragavvenkatesan/HandCricket | 3622091057c1f0d950452e97264455ba6993f31a | [
"MIT"
] | null | null | null | from sooli.environment import Inning
from sooli.player import Player
from sooli.player import PlayerModes
from sooli.playground import Playground
__all__ = ["Inning", "Player", "Playground", "PlayerModes"]
| 29.571429 | 59 | 0.801932 | 25 | 207 | 6.48 | 0.36 | 0.222222 | 0.185185 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 207 | 6 | 60 | 34.5 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f85e0b08598a0ce8472072c7543dc5ef5a963e22 | 2,091 | py | Python | honcho/test/integration/test_ports.py | hipchat/honcho | 000a7e6470907eacc9a5f7dfa8abb56c3870d24a | [
"MIT"
] | null | null | null | honcho/test/integration/test_ports.py | hipchat/honcho | 000a7e6470907eacc9a5f7dfa8abb56c3870d24a | [
"MIT"
] | null | null | null | honcho/test/integration/test_ports.py | hipchat/honcho | 000a7e6470907eacc9a5f7dfa8abb56c3870d24a | [
"MIT"
] | 1 | 2020-11-21T19:05:42.000Z | 2020-11-21T19:05:42.000Z | import os
from ..helpers import TestCase
from ..helpers import get_honcho_output
from honcho import compat
class TestPorts(TestCase):
def test_proctype_increment(self):
procfile = 'Procfile.portswin' if compat.ON_WINDOWS else 'Procfile.ports'
ret, out, err = get_honcho_output(['-f', procfile, 'st... | 41 | 92 | 0.613582 | 256 | 2,091 | 4.902344 | 0.21875 | 0.238247 | 0.269323 | 0.279681 | 0.811952 | 0.755378 | 0.755378 | 0.755378 | 0.755378 | 0.755378 | 0 | 0.044883 | 0.200861 | 2,091 | 50 | 93 | 41.82 | 0.706164 | 0 | 0 | 0.5 | 0 | 0 | 0.27164 | 0 | 0 | 0 | 0 | 0 | 0.472222 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f88f7748695f69514d0d92aa622505b29ad64abd | 73 | py | Python | src/common/utils.py | Datkros/budget-it | e96c0357bf04537128b57b1164db06d8fd508af6 | [
"MIT"
] | null | null | null | src/common/utils.py | Datkros/budget-it | e96c0357bf04537128b57b1164db06d8fd508af6 | [
"MIT"
] | null | null | null | src/common/utils.py | Datkros/budget-it | e96c0357bf04537128b57b1164db06d8fd508af6 | [
"MIT"
] | null | null | null | from uuid import uuid4
def unique_id_creator():
return uuid4.uuid4() | 18.25 | 24 | 0.753425 | 11 | 73 | 4.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.164384 | 73 | 4 | 25 | 18.25 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
f8920e7aad63cb9c4d6fcd58d9b126e2c3c8bc85 | 432 | py | Python | tests/api/test_accounts.py | willjohnson/drip-python | 13e2836b5acb7a822b0e1f9884e3249d37734cef | [
"MIT"
] | 5 | 2019-04-11T19:32:14.000Z | 2020-08-03T21:58:55.000Z | tests/api/test_accounts.py | willjohnson/drip-python | 13e2836b5acb7a822b0e1f9884e3249d37734cef | [
"MIT"
] | 7 | 2019-03-19T03:54:49.000Z | 2021-12-09T21:53:28.000Z | tests/api/test_accounts.py | willjohnson/drip-python | 13e2836b5acb7a822b0e1f9884e3249d37734cef | [
"MIT"
] | 1 | 2021-01-11T21:51:51.000Z | 2021-01-11T21:51:51.000Z |
def test_accounts(client):
client.session.get.return_value.json.return_value.update({'accounts': [1, ]})
client.accounts()
client.session.get.called_once_with('https://api.getdrip.com/v2/accounts/')
def test_account(client):
client.session.get.return_value.json.return_value.update({'accounts': [1, ]... | 33.230769 | 83 | 0.731481 | 60 | 432 | 5.1 | 0.35 | 0.169935 | 0.20915 | 0.143791 | 0.830065 | 0.830065 | 0.830065 | 0.830065 | 0.830065 | 0.830065 | 0 | 0.030769 | 0.097222 | 432 | 12 | 84 | 36 | 0.753846 | 0 | 0 | 0.25 | 0 | 0 | 0.213953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3e34293e751b378b7d1d1cecee365f20668d5a9e | 47 | py | Python | EGGS_labrad/clients/script_scanner_gui/tree_view/__init__.py | EGGS-Experiment/EGGS_Control | c29b3ab0e30dcb6e01d1ca3212ac64ad1506143b | [
"MIT"
] | 2 | 2021-12-26T05:00:54.000Z | 2021-12-30T17:15:49.000Z | EGGS_labrad/clients/script_scanner_gui/tree_view/__init__.py | EGGS-Experiment/EGGS_Control | c29b3ab0e30dcb6e01d1ca3212ac64ad1506143b | [
"MIT"
] | null | null | null | EGGS_labrad/clients/script_scanner_gui/tree_view/__init__.py | EGGS-Experiment/EGGS_Control | c29b3ab0e30dcb6e01d1ca3212ac64ad1506143b | [
"MIT"
] | null | null | null | from .ParametersEditor import ParametersEditor
| 23.5 | 46 | 0.893617 | 4 | 47 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3e47c5b240e93cf40aa3ed305e7fffe68f153866 | 13,227 | py | Python | resource_rc.py | gil9red/fake-painter | 8008f4b9a156e8363fce464310c20d229114af47 | [
"MIT"
] | 3 | 2019-06-11T19:13:40.000Z | 2020-10-27T06:06:43.000Z | resource_rc.py | gil9red/fake-painter | 8008f4b9a156e8363fce464310c20d229114af47 | [
"MIT"
] | null | null | null | resource_rc.py | gil9red/fake-painter | 8008f4b9a156e8363fce464310c20d229114af47 | [
"MIT"
] | 1 | 2021-05-22T05:38:15.000Z | 2021-05-22T05:38:15.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Вс 12. июл 02:43:14 2015
# by: The Resource Compiler for PySide (Qt v4.8.6)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = b"\x00\x00\x02j\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x10... | 601.227273 | 11,767 | 0.748393 | 2,941 | 13,227 | 3.355321 | 0.224753 | 0.108229 | 0.081171 | 0.034049 | 0.574281 | 0.572456 | 0.561411 | 0.559283 | 0.55381 | 0.540839 | 0 | 0.267281 | 0.008014 | 13,227 | 21 | 11,768 | 629.857143 | 0.484795 | 0.013835 | 0 | 0 | 0 | 0.333333 | 0.972001 | 0.97016 | 0 | 0 | 0.000614 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e4c45808c0909f708262d912bbaf14ea9e7f750a | 102 | py | Python | social_auth/backends/pipeline/misc.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 863 | 2015-01-01T00:42:07.000Z | 2022-03-30T02:47:18.000Z | social_auth/backends/pipeline/misc.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 101 | 2015-01-08T00:28:16.000Z | 2022-03-07T03:11:19.000Z | social_auth/backends/pipeline/misc.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 256 | 2015-01-02T16:55:36.000Z | 2022-03-04T11:10:47.000Z | from social.pipeline.partial import save_status_to_session
save_status_to_session # placate pyflakes
| 34 | 58 | 0.882353 | 15 | 102 | 5.6 | 0.733333 | 0.238095 | 0.285714 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 102 | 2 | 59 | 51 | 0.903226 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
9038dc7214df96da4be3e24273ae6bbc4a171d64 | 11,299 | py | Python | silo/benchmarks/results/istc3-8-16-13_multipart_skew.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 274 | 2015-01-23T16:24:09.000Z | 2022-02-22T03:16:14.000Z | silo/benchmarks/results/istc3-8-16-13_multipart_skew.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 3 | 2015-03-17T11:52:36.000Z | 2019-07-22T23:04:25.000Z | silo/benchmarks/results/istc3-8-16-13_multipart_skew.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 94 | 2015-01-07T06:55:36.000Z | 2022-01-22T08:14:15.000Z | RESULTS = [({'disable_gc': False, 'scale_factor': 4, 'db': 'kvdb-st', 'par_load': False, 'threads': 1, 'log_compress': False, 'bench_opts': '--workload-mix 100,0,0,0,0 --enable-separate-tree-per-partition --enable-partition-locks ', 'log_fake_writes': False, 'retry': False, 'log_nofsync': False, 'name': 'multipart:skew... | 5,649.5 | 11,298 | 0.651474 | 1,858 | 11,299 | 3.837998 | 0.155005 | 0.056374 | 0.026925 | 0.01795 | 0.722339 | 0.722339 | 0.722339 | 0.718413 | 0.718413 | 0.718413 | 0 | 0.217136 | 0.095141 | 11,299 | 1 | 11,299 | 11,299 | 0.48034 | 0 | 0 | 0 | 0 | 12 | 0.421365 | 0.027702 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
5fc5b4a63bff7ee718a951bf97717d114ab969e5 | 71 | py | Python | data/pytimecode/__init__.py | baku89/ShowreelViewer | 67833f6eca628236368132b6da9f1b1626c7a104 | [
"MIT"
] | null | null | null | data/pytimecode/__init__.py | baku89/ShowreelViewer | 67833f6eca628236368132b6da9f1b1626c7a104 | [
"MIT"
] | null | null | null | data/pytimecode/__init__.py | baku89/ShowreelViewer | 67833f6eca628236368132b6da9f1b1626c7a104 | [
"MIT"
] | null | null | null | import pytimecode
class PyTimeCode(pytimecode.PyTimeCode):
pass | 17.75 | 41 | 0.774648 | 7 | 71 | 7.857143 | 0.571429 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 4 | 42 | 17.75 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
39681dbcfadb522a0460fc0e8271f108fc8b7802 | 435 | py | Python | appdir/app/views.py | oriyao/FTP-Flask | 78442a2e2910c1330c6b26130dd0d41296f10136 | [
"MIT"
] | null | null | null | appdir/app/views.py | oriyao/FTP-Flask | 78442a2e2910c1330c6b26130dd0d41296f10136 | [
"MIT"
] | null | null | null | appdir/app/views.py | oriyao/FTP-Flask | 78442a2e2910c1330c6b26130dd0d41296f10136 | [
"MIT"
] | null | null | null | from flask import render_template, request, url_for, redirect
from app import app
@app.route('/', methods=['GET', 'POST'])
def index():
return render_template('index.html')
@app.route('/demolove/')
def demolove():
return render_template('./demo/love.html')
@app.route('/oriyao/')
def oriyao():
return ren... | 22.894737 | 61 | 0.685057 | 58 | 435 | 5.034483 | 0.396552 | 0.239726 | 0.273973 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121839 | 435 | 19 | 62 | 22.894737 | 0.764398 | 0 | 0 | 0 | 0 | 0 | 0.211009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
3987927d5c6cbb98b89e98149c6546c8ef438767 | 146 | py | Python | sepal_ui/reclassify/__init__.py | 12rambau/sepal_ui | 40bccaa72b477bc755f9d5e703ee55ec4592a62b | [
"MIT"
] | 4 | 2020-10-20T14:11:18.000Z | 2022-03-21T08:12:56.000Z | sepal_ui/reclassify/__init__.py | 12rambau/sepal_ui | 40bccaa72b477bc755f9d5e703ee55ec4592a62b | [
"MIT"
] | 361 | 2020-08-07T11:37:03.000Z | 2022-03-30T09:41:25.000Z | sepal_ui/reclassify/__init__.py | 12rambau/sepal_ui | 40bccaa72b477bc755f9d5e703ee55ec4592a62b | [
"MIT"
] | 1 | 2021-11-02T13:58:45.000Z | 2021-11-02T13:58:45.000Z | from .reclassify_view import *
from .reclassify_model import *
from .reclassify_tile import *
from .table_view import *
from .parameters import *
| 24.333333 | 31 | 0.794521 | 19 | 146 | 5.894737 | 0.421053 | 0.357143 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 146 | 5 | 32 | 29.2 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
39a488d6c23b984148c03f1f3a7a86a30404129b | 13,470 | py | Python | dataTransformation/py/constructFamilygraph/constructFamilyGraph_step2.py | ivozandhuis/dwarsliggers | d2049cc1a1d0d9764402f0bd66be77eeaddd1afb | [
"CC0-1.0"
] | null | null | null | dataTransformation/py/constructFamilygraph/constructFamilyGraph_step2.py | ivozandhuis/dwarsliggers | d2049cc1a1d0d9764402f0bd66be77eeaddd1afb | [
"CC0-1.0"
] | null | null | null | dataTransformation/py/constructFamilygraph/constructFamilyGraph_step2.py | ivozandhuis/dwarsliggers | d2049cc1a1d0d9764402f0bd66be77eeaddd1afb | [
"CC0-1.0"
] | null | null | null | #! /usr/bin/env python3
# Python3 script to construct familyrelations
import csv
# read personlist
lijst = []
with open('huwelijksakten_personen.csv', newline='') as infile:
reader = csv.DictReader(infile)
for inn in reader:
lijst.append(inn)
# calculate network
edgelist = []
for A in lijst:
for ... | 61.227273 | 107 | 0.588048 | 1,383 | 13,470 | 5.582791 | 0.072307 | 0.30022 | 0.158011 | 0.165911 | 0.880715 | 0.880715 | 0.880715 | 0.862324 | 0.844191 | 0.844191 | 0 | 0.010722 | 0.238382 | 13,470 | 219 | 108 | 61.506849 | 0.741885 | 0.034447 | 0 | 0.505618 | 0 | 0 | 0.413459 | 0.002079 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005618 | 0 | 0.005618 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ffc08d33ad682ce77faf82ebb19bcf3dda6d49db | 3,612 | py | Python | Lib/test/test_compiler/test_static/slots_with_default.py | isabella232/cinder-1 | 428669a9a925287f192ab361226e5a8ca3fb74d9 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/test/test_compiler/test_static/slots_with_default.py | isabella232/cinder-1 | 428669a9a925287f192ab361226e5a8ca3fb74d9 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/test/test_compiler/test_static/slots_with_default.py | isabella232/cinder-1 | 428669a9a925287f192ab361226e5a8ca3fb74d9 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | from .common import StaticTestBase
class SlotsWithDefaultTests(StaticTestBase):
def test_access_from_instance_and_class(self) -> None:
codestr = """
class C:
x: int = 42
def f():
c = C()
return (C.x, c.x)
"""
with self.in_module(codestr)... | 25.258741 | 87 | 0.452935 | 448 | 3,612 | 3.542411 | 0.116071 | 0.044108 | 0.034657 | 0.126024 | 0.851922 | 0.819156 | 0.785129 | 0.777568 | 0.721487 | 0.667927 | 0 | 0.033988 | 0.42165 | 3,612 | 142 | 88 | 25.43662 | 0.725706 | 0 | 0 | 0.77686 | 0 | 0 | 0.363234 | 0 | 0 | 0 | 0 | 0 | 0.14876 | 1 | 0.082645 | false | 0.016529 | 0.008264 | 0 | 0.157025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0854125e9c92ed986ea63287c6fb360cb74230f6 | 48 | py | Python | Tests/fuzzing/corpus/test_1.py | psydox/Pyjion | ddf69db27b356710ff7db3c4ba9c3e0b55de1039 | [
"MIT"
] | 1 | 2022-03-15T12:48:11.000Z | 2022-03-15T12:48:11.000Z | Tests/fuzzing/corpus/test_1.py | psydox/Pyjion | ddf69db27b356710ff7db3c4ba9c3e0b55de1039 | [
"MIT"
] | null | null | null | Tests/fuzzing/corpus/test_1.py | psydox/Pyjion | ddf69db27b356710ff7db3c4ba9c3e0b55de1039 | [
"MIT"
] | null | null | null | def f():
x = 3.14
y = 3.14
z = x + y | 12 | 13 | 0.3125 | 11 | 48 | 1.363636 | 0.636364 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.5 | 48 | 4 | 13 | 12 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f239a6ad47075f498819cb78c8a4b3accdd954b7 | 1,068 | py | Python | Software/run.py | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | 4 | 2021-02-02T06:50:43.000Z | 2022-01-29T12:25:32.000Z | Software/run.py | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | null | null | null | Software/run.py | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | 2 | 2021-07-07T19:58:40.000Z | 2022-01-27T22:51:20.000Z | import os
os.system('python top_file.py --model_type=DenseNet-BC --dataset=C100+ --saves --logs --renew-logs --train --test')
os.system('python top_file.py --model_type=DenseNet-BC --dataset=C100+ --saves --logs --renew-logs --train --test --quant --act_width=8 --wgt_width=8')
# os.system('python top_file.py --mod... | 66.75 | 238 | 0.625468 | 182 | 1,068 | 3.549451 | 0.296703 | 0.074303 | 0.108359 | 0.131579 | 0.806502 | 0.806502 | 0.806502 | 0.735294 | 0.625387 | 0.625387 | 0 | 0.058036 | 0.161049 | 1,068 | 15 | 239 | 71.2 | 0.662946 | 0.155431 | 0 | 0 | 0 | 0.307692 | 0.689266 | 0.108475 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f23e2a22e9f8a24e64869407d27eb297af2f2247 | 11,066 | py | Python | plot/retrieval.py | wyxzou/Federated-Learning-PyTorch | 753b5b04ff6628b7bc2f54aadeaa07d67b719014 | [
"MIT"
] | null | null | null | plot/retrieval.py | wyxzou/Federated-Learning-PyTorch | 753b5b04ff6628b7bc2f54aadeaa07d67b719014 | [
"MIT"
] | null | null | null | plot/retrieval.py | wyxzou/Federated-Learning-PyTorch | 753b5b04ff6628b7bc2f54aadeaa07d67b719014 | [
"MIT"
] | null | null | null | import pdb
import pickle
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.pyplot import figure
def batch_to_epoch(arr, num, ignore_first=False):
if len(arr) == 0:
return []
i = 0
epoch_vals = []
while i + num <= len(arr):
if ignore_first:
if i == 0:
... | 35.242038 | 169 | 0.592355 | 1,496 | 11,066 | 4.112968 | 0.06885 | 0.053307 | 0.043881 | 0.027304 | 0.928165 | 0.920852 | 0.887697 | 0.887697 | 0.878758 | 0.870632 | 0 | 0.028565 | 0.228086 | 11,066 | 313 | 170 | 35.354633 | 0.691758 | 0.002982 | 0 | 0.827273 | 0 | 0.054545 | 0.145408 | 0.12483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.022727 | 0 | 0.131818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f285677f423fe03a12db0c90815ca6c061c4a169 | 59,237 | py | Python | sdk/python/pulumi_scaleway/loadbalancer_backend.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2020-10-16T09:09:05.000Z | 2022-03-24T21:32:17.000Z | sdk/python/pulumi_scaleway/loadbalancer_backend.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2020-10-29T17:38:13.000Z | 2022-03-31T13:33:47.000Z | sdk/python/pulumi_scaleway/loadbalancer_backend.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2022-01-13T18:46:32.000Z | 2022-02-28T03:58:36.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 49.98903 | 244 | 0.675119 | 7,026 | 59,237 | 5.417876 | 0.040848 | 0.088136 | 0.067672 | 0.064152 | 0.946961 | 0.937346 | 0.933668 | 0.927836 | 0.924 | 0.915016 | 0 | 0.004605 | 0.219187 | 59,237 | 1,184 | 245 | 50.03125 | 0.81839 | 0.319699 | 0 | 0.870588 | 1 | 0 | 0.151962 | 0.05896 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164706 | false | 0.001471 | 0.010294 | 0 | 0.273529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f29afe979e4ea3251ac98e02fc38754851d36142 | 76 | py | Python | rajksimple/tests/test_nothing.py | sgergely/rajksimple | 49f05bfd8129db341423facfd281b080cb95f66a | [
"MIT"
] | null | null | null | rajksimple/tests/test_nothing.py | sgergely/rajksimple | 49f05bfd8129db341423facfd281b080cb95f66a | [
"MIT"
] | null | null | null | rajksimple/tests/test_nothing.py | sgergely/rajksimple | 49f05bfd8129db341423facfd281b080cb95f66a | [
"MIT"
] | null | null | null | from django.test import TestCase
def test_import():
import rajksimple
| 12.666667 | 32 | 0.763158 | 10 | 76 | 5.7 | 0.7 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 76 | 5 | 33 | 15.2 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 1 | 0 | 1.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
29c3574952ee42acb36c11263725ba1c2f489bfc | 51 | py | Python | cfn_get_export_value/__init__.py | PokaInc/cfn-get-export-value | b9558e6ed8e6a302a1c9f72e60894463f893df4a | [
"MIT"
] | 5 | 2018-10-10T14:03:54.000Z | 2020-07-14T08:52:55.000Z | cfn_get_export_value/__init__.py | PokaInc/cfn-get-export-value | b9558e6ed8e6a302a1c9f72e60894463f893df4a | [
"MIT"
] | 1 | 2019-11-19T15:35:57.000Z | 2019-11-19T15:35:57.000Z | cfn_get_export_value/__init__.py | PokaInc/cfn-get-export-value | b9558e6ed8e6a302a1c9f72e60894463f893df4a | [
"MIT"
] | 1 | 2017-04-11T14:21:36.000Z | 2017-04-11T14:21:36.000Z | from .cfn_get_export_value import get_export_value
| 25.5 | 50 | 0.901961 | 9 | 51 | 4.555556 | 0.666667 | 0.439024 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
29e142d6a16cd3c1387b751d3040abed9a17fbdf | 45 | py | Python | RevitPythonShell_Scripts/GoogleTools.extension/GoogleTools.tab/Info.Panel/Info.pushbutton/script.py | arupiot/create_revit_families | 9beab3c7e242426b2dca99ca5477fdb433e39db2 | [
"MIT"
] | 1 | 2021-02-04T18:20:58.000Z | 2021-02-04T18:20:58.000Z | RevitPythonShell_Scripts/GoogleTools.extension/GoogleTools.tab/Info.Panel/Info.pushbutton/script.py | arupiot/DBOTools | 9beab3c7e242426b2dca99ca5477fdb433e39db2 | [
"MIT"
] | null | null | null | RevitPythonShell_Scripts/GoogleTools.extension/GoogleTools.tab/Info.Panel/Info.pushbutton/script.py | arupiot/DBOTools | 9beab3c7e242426b2dca99ca5477fdb433e39db2 | [
"MIT"
] | null | null | null | import sys
print(sys.version)
print(sys.path) | 15 | 18 | 0.8 | 8 | 45 | 4.5 | 0.625 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 3 | 19 | 15 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
d9b1af081b27537dfbd100e7b392535d29bc2e11 | 46,917 | py | Python | riptable/benchmarks/bench_primops.py | 972d5defe3218bd62b741e6a2f11f5b3/riptable | bb928c11752e831ec701f91964979b31db53826a | [
"BSD-2-Clause-Patent"
] | 307 | 2020-08-27T20:25:11.000Z | 2022-03-08T15:51:19.000Z | riptable/benchmarks/bench_primops.py | 972d5defe3218bd62b741e6a2f11f5b3/riptable | bb928c11752e831ec701f91964979b31db53826a | [
"BSD-2-Clause-Patent"
] | 206 | 2020-08-17T19:07:15.000Z | 2022-03-18T11:53:55.000Z | riptable/benchmarks/bench_primops.py | 972d5defe3218bd62b741e6a2f11f5b3/riptable | bb928c11752e831ec701f91964979b31db53826a | [
"BSD-2-Clause-Patent"
] | 10 | 2020-08-28T00:22:05.000Z | 2021-04-30T20:22:28.000Z | # -*- coding: utf-8 -*-
"""
Benchmarks for primitive/low-level array operations.
"""
__all__ = [
"bench_astype",
"bench_astype_numba",
"bench_astype_numpy",
"bench_bool_index",
"bench_bool_index_numpy",
"bench_compare_ops",
"bench_compare_ops_numpy",
"bench_mbget",
"benc... | 36.482893 | 151 | 0.580621 | 5,594 | 46,917 | 4.709331 | 0.084912 | 0.017461 | 0.01321 | 0.00911 | 0.838217 | 0.824324 | 0.822199 | 0.822199 | 0.818061 | 0.8151 | 0 | 0.027362 | 0.349553 | 46,917 | 1,286 | 152 | 36.482893 | 0.835895 | 0.372807 | 0 | 0.755359 | 0 | 0 | 0.04019 | 0.001628 | 0 | 0 | 0 | 0.001555 | 0 | 1 | 0.027743 | false | 0 | 0.017654 | 0.005044 | 0.068096 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9d4b1002f9b1ccc71b8608b343f5db0fdc777a2 | 375 | py | Python | src/dbxdeploy/git/CurrentBranchResolver.py | DataSentics/dbx-deploy | c019d80a2b947b4f180071e97c3981daa3a2214a | [
"MIT"
] | null | null | null | src/dbxdeploy/git/CurrentBranchResolver.py | DataSentics/dbx-deploy | c019d80a2b947b4f180071e97c3981daa3a2214a | [
"MIT"
] | null | null | null | src/dbxdeploy/git/CurrentBranchResolver.py | DataSentics/dbx-deploy | c019d80a2b947b4f180071e97c3981daa3a2214a | [
"MIT"
] | null | null | null | from dbxdeploy.git.CurrentRepositoryFactory import CurrentRepositoryFactory
class CurrentBranchResolver:
def __init__(
self,
currentRepositoryFactory: CurrentRepositoryFactory,
):
self.__currentRepositoryFactory = currentRepositoryFactory
def resolve(self) -> str:
return s... | 28.846154 | 75 | 0.76 | 26 | 375 | 10.653846 | 0.615385 | 0.303249 | 0.375451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181333 | 375 | 12 | 76 | 31.25 | 0.90228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
d9e7d0114d8541eab0b2fb262f57ca08eba71f1b | 227 | py | Python | config.py | ArtrixTech/ChiaPlotMaster | 7169fa82e4ab93734d97bd1c2bb81023c067c248 | [
"MIT"
] | null | null | null | config.py | ArtrixTech/ChiaPlotMaster | 7169fa82e4ab93734d97bd1c2bb81023c067c248 | [
"MIT"
] | null | null | null | config.py | ArtrixTech/ChiaPlotMaster | 7169fa82e4ab93734d97bd1c2bb81023c067c248 | [
"MIT"
] | null | null | null | PLOTTER_PPK='0x986659cb40f005486c477fb7ad826b49542b266202b22ec8c38777d0fc94e5c129ca61013a305d16f347fc391f072013'
PLOTTER_FPK='0x86b09bd44d57c90e46e9fdacb7f7b250e9cec688b4476389e4eb70ba0f84fca1af91114972e62c23fbc1c41b6c1f8320'
| 56.75 | 112 | 0.960352 | 6 | 227 | 36 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0.013216 | 227 | 3 | 113 | 75.666667 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0.867257 | 0.867257 | 0 | 1 | 0.867257 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d9f2e08c6fe23aa37a5b7108e0b47f005a393c9a | 266,085 | py | Python | tests/hwsim/test_ap_hs20.py | redstone1980/hostap | ecea69a36f4badd5dcdeee00210b07709b6ecbc7 | [
"Unlicense"
] | null | null | null | tests/hwsim/test_ap_hs20.py | redstone1980/hostap | ecea69a36f4badd5dcdeee00210b07709b6ecbc7 | [
"Unlicense"
] | null | null | null | tests/hwsim/test_ap_hs20.py | redstone1980/hostap | ecea69a36f4badd5dcdeee00210b07709b6ecbc7 | [
"Unlicense"
] | null | null | null | # Hotspot 2.0 tests
# Copyright (c) 2013-2019, Jouni Malinen <j@w1.fi>
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
from remotehost import remote_compatible
import base64
import binascii
import struct
import time
import logging
logger = logging.getLogger()
imp... | 41.356077 | 360 | 0.610023 | 36,039 | 266,085 | 4.320209 | 0.036655 | 0.0344 | 0.019641 | 0.018343 | 0.865918 | 0.84367 | 0.813695 | 0.779333 | 0.746358 | 0.715542 | 0 | 0.062192 | 0.243851 | 266,085 | 6,433 | 361 | 41.362506 | 0.711645 | 0.046091 | 0 | 0.724861 | 0 | 0.006122 | 0.278412 | 0.047806 | 0 | 0 | 0.000569 | 0.000155 | 0 | 1 | 0.03859 | false | 0.021336 | 0.005566 | 0 | 0.048237 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a0a9bb6735c4b2e6e4f8d77d8ae409a70294e45 | 13,940 | py | Python | test.py | jackqu7/thomas | 9fce3801beb96b9bd2e483a5f82953cb8ce473a1 | [
"MIT"
] | null | null | null | test.py | jackqu7/thomas | 9fce3801beb96b9bd2e483a5f82953cb8ce473a1 | [
"MIT"
] | null | null | null | test.py | jackqu7/thomas | 9fce3801beb96b9bd2e483a5f82953cb8ce473a1 | [
"MIT"
] | null | null | null | import unittest
from thomas.berth import (
BerthController, PriorityBerthController, FringeBerthController)
def _berth(**params):
params.setdefault('id', 'UF-Stevenage')
params.setdefault('number', 'abc')
params.setdefault('desc', 'desc')
params.setdefault('distance', 0)
return params
class ... | 32.343387 | 83 | 0.564849 | 1,694 | 13,940 | 4.385478 | 0.066706 | 0.116974 | 0.079149 | 0.118724 | 0.856374 | 0.813165 | 0.79405 | 0.755418 | 0.722574 | 0.700767 | 0 | 0.034571 | 0.32769 | 13,940 | 430 | 84 | 32.418605 | 0.758109 | 0.074964 | 0 | 0.762463 | 0 | 0 | 0.057145 | 0 | 0 | 0 | 0 | 0 | 0.243402 | 1 | 0.02346 | false | 0 | 0.005865 | 0 | 0.041056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a2d37bfd1970c33cd012d5c708d49a9c45fe1d3 | 14,189 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/sns/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/sns/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/sns/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from botocore.paginate import Paginator
class ListEndpointsByPlatformApplication(Paginator):
def paginate(self, PlatformApplicationArn: str, PaginationConfig: Dict = None) -> Dict:
"""
Creates an iterator that will paginate through responses from :py:meth:`SNS.Client.list_e... | 40.89049 | 224 | 0.516738 | 1,219 | 14,189 | 5.992617 | 0.129614 | 0.032854 | 0.022998 | 0.026283 | 0.758795 | 0.753046 | 0.73744 | 0.731143 | 0.731143 | 0.714716 | 0 | 0.009932 | 0.38262 | 14,189 | 346 | 225 | 41.008671 | 0.823973 | 0.761505 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.1 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
8a2ddfa4a13f86208179c4578191067b70ce71c5 | 43,478 | py | Python | tests/middleware_exceptions/tests.py | benjaoming/django | 6dbe979b4d9396e1b307c7d27388c97c13beb21c | [
"BSD-3-Clause"
] | 1 | 2015-11-08T16:39:07.000Z | 2015-11-08T16:39:07.000Z | tests/middleware_exceptions/tests.py | benjaoming/django | 6dbe979b4d9396e1b307c7d27388c97c13beb21c | [
"BSD-3-Clause"
] | null | null | null | tests/middleware_exceptions/tests.py | benjaoming/django | 6dbe979b4d9396e1b307c7d27388c97c13beb21c | [
"BSD-3-Clause"
] | null | null | null | import sys
from django.conf import settings
from django.core.exceptions import MiddlewareNotUsed
from django.core.signals import got_request_exception
from django.http import HttpResponse
from django.template.response import TemplateResponse
from django.template import Template
from django.test import RequestFactory, ... | 48.362625 | 132 | 0.732807 | 4,735 | 43,478 | 6.416895 | 0.039493 | 0.064573 | 0.094688 | 0.111901 | 0.87421 | 0.852192 | 0.835045 | 0.822077 | 0.804338 | 0.786335 | 0 | 0.000198 | 0.188394 | 43,478 | 898 | 133 | 48.416481 | 0.860855 | 0.07314 | 0 | 0.710949 | 0 | 0 | 0.085286 | 0.055242 | 0 | 0 | 0 | 0 | 0.289051 | 1 | 0.115328 | false | 0.005839 | 0.013139 | 0 | 0.170803 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8aa398cd6aaf822c7a1781f34d8f971d4242029b | 56 | py | Python | dexy/parsers/__init__.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 136 | 2015-01-06T15:04:47.000Z | 2021-12-21T22:52:41.000Z | dexy/parsers/__init__.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 13 | 2015-01-26T14:06:58.000Z | 2020-03-27T21:16:10.000Z | dexy/parsers/__init__.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 34 | 2015-01-02T16:24:53.000Z | 2021-11-27T05:38:30.000Z | import dexy.parsers.doc
import dexy.parsers.environment
| 18.666667 | 31 | 0.857143 | 8 | 56 | 6 | 0.625 | 0.416667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 2 | 32 | 28 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8abaca9d107178bd9e5bbdb355ad4f8d2621bc91 | 43 | py | Python | telegrambot/keyboards/__init__.py | BTMAN1489-1/telegrambot | fae2f6da98b50dccb9d800405509a16d4639953f | [
"MIT"
] | 12 | 2021-10-20T16:05:02.000Z | 2022-03-22T14:20:30.000Z | telegrambot/keyboards/__init__.py | BTMAN1489-1/telegrambot | fae2f6da98b50dccb9d800405509a16d4639953f | [
"MIT"
] | 17 | 2021-11-02T20:33:14.000Z | 2022-03-17T11:45:24.000Z | telegrambot/keyboards/__init__.py | BTMAN1489-1/telegrambot | fae2f6da98b50dccb9d800405509a16d4639953f | [
"MIT"
] | 7 | 2021-09-25T20:19:17.000Z | 2022-02-20T09:31:41.000Z | from . import default
from . import inline
| 14.333333 | 21 | 0.767442 | 6 | 43 | 5.5 | 0.666667 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8acb87cd7cc3df4fd8b60996b3da1bc6690a0eb0 | 93 | py | Python | c02/p061_run_script.py | HiAwesome/dive-into-python3-practice | e57504cb0683ebca9c80b20ff0cb3878bdcc3f87 | [
"Apache-2.0"
] | null | null | null | c02/p061_run_script.py | HiAwesome/dive-into-python3-practice | e57504cb0683ebca9c80b20ff0cb3878bdcc3f87 | [
"Apache-2.0"
] | null | null | null | c02/p061_run_script.py | HiAwesome/dive-into-python3-practice | e57504cb0683ebca9c80b20ff0cb3878bdcc3f87 | [
"Apache-2.0"
] | null | null | null | import c02.p044_humansize as humansize
print(humansize.__name__)
"""
c02.p044_humansize
"""
| 13.285714 | 38 | 0.784946 | 12 | 93 | 5.583333 | 0.583333 | 0.208955 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0.096774 | 93 | 6 | 39 | 15.5 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
8ad34c8aeda10cb7d4085e5ae2e115e55ca1d3e1 | 816 | py | Python | scripts/study_case/ID_4/test/test_debug.py | kzbnb/numerical_bugs | bc22e72bcc06df6ce7889a25e0aeed027bde910b | [
"Apache-2.0"
] | 8 | 2021-06-30T06:55:14.000Z | 2022-03-18T01:57:14.000Z | scripts/study_case/ID_4/test/test_debug.py | kzbnb/numerical_bugs | bc22e72bcc06df6ce7889a25e0aeed027bde910b | [
"Apache-2.0"
] | 1 | 2021-06-30T03:08:15.000Z | 2021-06-30T03:08:15.000Z | scripts/study_case/ID_4/test/test_debug.py | kzbnb/numerical_bugs | bc22e72bcc06df6ce7889a25e0aeed027bde910b | [
"Apache-2.0"
] | 2 | 2021-11-17T11:19:48.000Z | 2021-11-18T03:05:58.000Z | from scripts.study_case.ID_4.torch_geometric import is_debug_enabled, debug, set_debug
def test_debug():
assert is_debug_enabled() is False
set_debug(True)
assert is_debug_enabled() is True
set_debug(False)
assert is_debug_enabled() is False
assert is_debug_enabled() is False
with set_deb... | 28.137931 | 86 | 0.720588 | 124 | 816 | 4.41129 | 0.153226 | 0.191956 | 0.383912 | 0.511883 | 0.85192 | 0.85192 | 0.833638 | 0.833638 | 0.833638 | 0.8117 | 0 | 0.00156 | 0.214461 | 816 | 28 | 87 | 29.142857 | 0.851794 | 0 | 0 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 1 | 0.043478 | true | 0 | 0.043478 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
76e95a9a23b847a2886ed4840261fcadc4bc1343 | 113 | py | Python | petstagram/petstagram/common/views.py | PetkoAndreev/Python-Web-Petstagram | d363ca900e64b7bba228f7f7603ddcaf7186f61e | [
"MIT"
] | 3 | 2021-01-19T18:54:38.000Z | 2022-01-05T17:28:41.000Z | Python-Web-Framework-Softuni/petstagram/common/views.py | borisboychev/SoftUni | 22062312f08e29a1d85377a6d41ef74966d37e99 | [
"MIT"
] | 7 | 2021-06-05T00:01:05.000Z | 2022-03-12T00:52:05.000Z | Python-Web-Framework-Softuni/petstagram/common/views.py | borisboychev/SoftUni | 22062312f08e29a1d85377a6d41ef74966d37e99 | [
"MIT"
] | 1 | 2020-12-27T09:36:31.000Z | 2020-12-27T09:36:31.000Z | from django.shortcuts import render
def landing_page(request):
return render(request, 'landing_page.html')
| 18.833333 | 47 | 0.778761 | 15 | 113 | 5.733333 | 0.733333 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 113 | 5 | 48 | 22.6 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
76fe6765fe7991f37a7a3df57e3a0956a3b6cd3b | 182 | py | Python | py/pysparkling/ml/models.py | evergage/sparkling-water | dda405176cb3a84bb0af1864393201a6084e7eba | [
"Apache-2.0"
] | null | null | null | py/pysparkling/ml/models.py | evergage/sparkling-water | dda405176cb3a84bb0af1864393201a6084e7eba | [
"Apache-2.0"
] | null | null | null | py/pysparkling/ml/models.py | evergage/sparkling-water | dda405176cb3a84bb0af1864393201a6084e7eba | [
"Apache-2.0"
] | null | null | null | import py_sparkling.ml.models
class H2OMOJOModel(py_sparkling.ml.models.H2OMOJOModel):
pass
class H2OMOJOPipelineModel(py_sparkling.ml.models.H2OMOJOPipelineModel):
pass
| 18.2 | 72 | 0.813187 | 21 | 182 | 6.904762 | 0.428571 | 0.227586 | 0.268966 | 0.393103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.10989 | 182 | 9 | 73 | 20.222222 | 0.87037 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
0a0d978966dc601a47acb61c5be7cd80fbd1642a | 3,832 | py | Python | yearn/prices/constants.py | pmdaly/yearn-exporter | d1e7697f8bf12cdb1126ea86fa350a26aea23cf8 | [
"MIT"
] | null | null | null | yearn/prices/constants.py | pmdaly/yearn-exporter | d1e7697f8bf12cdb1126ea86fa350a26aea23cf8 | [
"MIT"
] | null | null | null | yearn/prices/constants.py | pmdaly/yearn-exporter | d1e7697f8bf12cdb1126ea86fa350a26aea23cf8 | [
"MIT"
] | null | null | null | from brownie import chain
from yearn.networks import Network
tokens_by_network = {
Network.Mainnet: {
'weth': '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
'usdc': '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
'dai': '0x6B175474E89094C44Da98b954EedeAC495271d0F',
},
Network.Gnosis: {... | 44.045977 | 76 | 0.72834 | 194 | 3,832 | 14.273196 | 0.489691 | 0.026002 | 0.02528 | 0.028891 | 0.04117 | 0 | 0 | 0 | 0 | 0 | 0 | 0.408748 | 0.170668 | 3,832 | 86 | 77 | 44.55814 | 0.462555 | 0.015136 | 0 | 0.121951 | 0 | 0 | 0.600902 | 0.545744 | 0 | 0 | 0.545744 | 0.011628 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.02439 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a1c400930ef0e6007bb279b74e3a9a6066cadbe | 1,719 | py | Python | care/facility/migrations/0194_auto_20201009_1936.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 189 | 2020-03-17T17:18:58.000Z | 2022-02-22T09:49:45.000Z | care/facility/migrations/0194_auto_20201009_1936.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 598 | 2020-03-19T21:22:09.000Z | 2022-03-30T05:08:37.000Z | care/facility/migrations/0194_auto_20201009_1936.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 159 | 2020-03-19T18:45:56.000Z | 2022-03-17T13:23:12.000Z | # Generated by Django 2.2.11 on 2020-10-09 14:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('facility', '0193_auto_20201004_1458'),
]
operations = [
migrations.AddField(
model_name='historicalpatientregistration',
... | 39.068182 | 129 | 0.643979 | 171 | 1,719 | 6.315789 | 0.298246 | 0.118519 | 0.127778 | 0.15 | 0.859259 | 0.859259 | 0.736111 | 0.736111 | 0.675926 | 0.675926 | 0 | 0.029526 | 0.251309 | 1,719 | 43 | 130 | 39.976744 | 0.809635 | 0.02676 | 0 | 0.810811 | 1 | 0 | 0.271095 | 0.09216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a681fcc4b2a49d8eb9b9e61d0def718feb7bfe7 | 6,269 | py | Python | loldib/getratings/models/NA/na_zyra/na_zyra_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zyra/na_zyra_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zyra/na_zyra_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Zyra_Bot_Aatrox(Ratings):
pass
class NA_Zyra_Bot_Ahri(Ratings):
pass
class NA_Zyra_Bot_Akali(Ratings):
pass
class NA_Zyra_Bot_Alistar(Ratings):
pass
class NA_Zyra_Bot_Amumu(Ratings):
pass
class NA_Zyra_Bot_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
6a7327a68e6941de23300d0980fef3324289aa5e | 84 | py | Python | my_test.py | Athenian-ComputerScience-Fall2020/reading-files-Milan938 | 76e76a300a1d86f05c6e1aaf4bfb0d6652ca6bec | [
"Apache-2.0"
] | null | null | null | my_test.py | Athenian-ComputerScience-Fall2020/reading-files-Milan938 | 76e76a300a1d86f05c6e1aaf4bfb0d6652ca6bec | [
"Apache-2.0"
] | null | null | null | my_test.py | Athenian-ComputerScience-Fall2020/reading-files-Milan938 | 76e76a300a1d86f05c6e1aaf4bfb0d6652ca6bec | [
"Apache-2.0"
] | null | null | null |
from my_code import avg_temp
def test_avg_temp():
assert 82.58 == avg_temp()
| 12 | 30 | 0.702381 | 15 | 84 | 3.6 | 0.733333 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.202381 | 84 | 6 | 31 | 14 | 0.746269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6a81777f0fdc43a3b6ce9bee04c152b42d8a1ce5 | 3,064 | py | Python | app/tests/slack/test_handlers.py | isayakhov/duty-schedule-bot | 2515fe8e1ba71b183c31363d99d1c8f1d552826a | [
"MIT"
] | 6 | 2021-01-30T11:31:46.000Z | 2022-02-15T10:09:07.000Z | app/tests/slack/test_handlers.py | isayakhov/duty-schedule-bot | 2515fe8e1ba71b183c31363d99d1c8f1d552826a | [
"MIT"
] | 2 | 2021-02-04T19:45:07.000Z | 2021-02-05T12:23:56.000Z | app/tests/slack/test_handlers.py | isayakhov/duty-schedule-bot | 2515fe8e1ba71b183c31363d99d1c8f1d552826a | [
"MIT"
] | 2 | 2022-02-06T11:22:30.000Z | 2022-02-06T18:46:14.000Z | from app.common import constants, exceptions
from app.common import handlers as common_handlers
from app.slack.constants import PLATFORM
def test_start(slack_web_client):
response = slack_web_client.post("/start")
assert response.status_code == 200
assert response.json() == {"text": constants.HELP_START_... | 37.365854 | 101 | 0.744778 | 422 | 3,064 | 5.07109 | 0.130332 | 0.064486 | 0.137383 | 0.092523 | 0.863084 | 0.844393 | 0.821028 | 0.78785 | 0.78785 | 0.761682 | 0 | 0.013488 | 0.128916 | 3,064 | 81 | 102 | 37.82716 | 0.78831 | 0 | 0 | 0.520833 | 0 | 0 | 0.09889 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.208333 | false | 0 | 0.0625 | 0 | 0.270833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6a87347d73b024c3dcc8052e3b6bfdfc7a72c9ee | 108 | py | Python | deepSI/system_data/__init__.py | GerbenBeintema/deepSI | 580711210398064bb7f01e41d08b7a248a88b35b | [
"BSD-3-Clause"
] | 12 | 2021-03-23T20:30:29.000Z | 2022-03-01T12:22:41.000Z | deepSI/system_data/__init__.py | seaveredge/deepSI | 429dfcc3dba5cebd4ece01ad734c7f543f17f206 | [
"BSD-3-Clause"
] | 2 | 2022-01-12T14:05:13.000Z | 2022-03-01T10:18:34.000Z | deepSI/system_data/__init__.py | seaveredge/deepSI | 429dfcc3dba5cebd4ece01ad734c7f543f17f206 | [
"BSD-3-Clause"
] | 7 | 2021-05-26T15:26:31.000Z | 2022-02-03T00:43:31.000Z | from deepSI.system_data.system_data import System_data, System_data_list, System_data_norm, load_system_data | 108 | 108 | 0.898148 | 18 | 108 | 4.888889 | 0.444444 | 0.681818 | 0.363636 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 108 | 1 | 108 | 108 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
6a9d01e4649848ef3001d0cc6a516e2461fdc07d | 57,154 | py | Python | samples/openapi3/client/petstore/python/petstore_api/api/pet_api.py | therockstorm/openapi-generator | 01d0b5d4780ebe2d6025e2b443ec136c6ce16c45 | [
"Apache-2.0"
] | 4 | 2021-02-20T21:39:04.000Z | 2021-08-24T13:54:15.000Z | samples/openapi3/client/petstore/python/petstore_api/api/pet_api.py | therockstorm/openapi-generator | 01d0b5d4780ebe2d6025e2b443ec136c6ce16c45 | [
"Apache-2.0"
] | 29 | 2021-04-07T07:38:57.000Z | 2022-03-30T12:10:22.000Z | samples/openapi3/client/petstore/python/petstore_api/api/pet_api.py | therockstorm/openapi-generator | 01d0b5d4780ebe2d6025e2b443ec136c6ce16c45 | [
"Apache-2.0"
] | 4 | 2020-12-07T02:43:58.000Z | 2020-12-07T10:23:39.000Z | # coding: utf-8
"""
OpenAPI Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
"""
... | 43.167674 | 174 | 0.584229 | 6,483 | 57,154 | 4.885393 | 0.039179 | 0.043193 | 0.059674 | 0.03069 | 0.965048 | 0.957091 | 0.955008 | 0.947872 | 0.935969 | 0.917877 | 0 | 0.012588 | 0.34393 | 57,154 | 1,323 | 175 | 43.200302 | 0.832067 | 0.465112 | 0 | 0.738255 | 0 | 0 | 0.171759 | 0.031308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031879 | false | 0 | 0.008389 | 0 | 0.072148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a85d1a820d17049bd1cbce10baced90485ab958 | 3,423 | py | Python | Implementations/software/python/genkat_aead.py | Tetsu-Iwata/romulus | 52be582102ee332fc51bc337166793312e68551e | [
"MIT"
] | 10 | 2019-09-16T08:47:13.000Z | 2022-01-27T16:24:17.000Z | Implementations/software/python/genkat_aead.py | Tetsu-Iwata/romulus | 52be582102ee332fc51bc337166793312e68551e | [
"MIT"
] | 1 | 2020-06-26T14:14:38.000Z | 2021-05-26T14:22:58.000Z | Implementations/software/python/genkat_aead.py | Tetsu-Iwata/romulus | 52be582102ee332fc51bc337166793312e68551e | [
"MIT"
] | 2 | 2021-04-07T09:04:22.000Z | 2021-06-02T02:53:11.000Z | # for generation of Romulus-N test vectors
#from ROMULUS_N import *
#filename = "Python_AEAD_KAT_ROMULUS-N.txt"
# for generation of Romulus-M test vectors
#from ROMULUS_M import *
#filename = "Python_AEAD_KAT_ROMULUS-M.txt"
# for generation of Romulus-T test vectors
from ROMULUS_T import *
filename = "Pytho... | 31.694444 | 99 | 0.523517 | 459 | 3,423 | 3.762527 | 0.152505 | 0.083382 | 0.052113 | 0.092646 | 0.815287 | 0.786335 | 0.727273 | 0.727273 | 0.727273 | 0.727273 | 0 | 0.030232 | 0.255916 | 3,423 | 107 | 100 | 31.990654 | 0.647821 | 0.080047 | 0 | 0.810811 | 0 | 0 | 0.232113 | 0.039235 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013514 | 0 | 0.013514 | 0.27027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a955021f1cc81dea4879a602d27d81b84e85840 | 18,090 | py | Python | theano/typed_list/tests/test_basic.py | shaibagon/Theano | b4244cfaa1c99007015bb01e859699eec3518053 | [
"BSD-3-Clause"
] | 1 | 2018-01-31T12:29:10.000Z | 2018-01-31T12:29:10.000Z | theano/typed_list/tests/test_basic.py | AtousaTorabi/Theano_old | ba2d2f74406243112e813df31429721c791a889a | [
"BSD-3-Clause"
] | null | null | null | theano/typed_list/tests/test_basic.py | AtousaTorabi/Theano_old | ba2d2f74406243112e813df31429721c791a889a | [
"BSD-3-Clause"
] | null | null | null | import unittest
import numpy
import theano
import theano.typed_list
from theano import tensor as T
from theano.tensor.type_other import SliceType
from theano.typed_list.type import TypedListType
from theano.typed_list.basic import (GetItem, Insert,
Append, Extend, Remove, Reverse... | 33.5 | 79 | 0.592095 | 1,851 | 18,090 | 5.671529 | 0.079417 | 0.047628 | 0.076205 | 0.093351 | 0.861688 | 0.855401 | 0.844828 | 0.839493 | 0.827015 | 0.827015 | 0 | 0.0603 | 0.284024 | 18,090 | 539 | 80 | 33.562152 | 0.750232 | 0.014373 | 0 | 0.721212 | 0 | 0 | 0.00331 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.033333 | 0.00303 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0aadc62efc7cc2fb70338df653c11b80a1baf88c | 2,832 | py | Python | HLTriggerOffline/Top/python/topSingleLeptonHLTEventValidation_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | HLTriggerOffline/Top/python/topSingleLeptonHLTEventValidation_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 7 | 2016-07-17T02:34:54.000Z | 2019-08-13T07:58:37.000Z | HLTriggerOffline/Top/python/topSingleLeptonHLTEventValidation_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
# ttbar semi muonique
from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
topSingleMuonHLTValidation = DQMEDAnalyzer('TopSingleLeptonHLTValidation',
# Directory
sDir = cms.untracked.string('HLT/TopHLTValidation/Top/SemiMuonic/'),
# Electrons... | 45.677419 | 173 | 0.569209 | 265 | 2,832 | 6.022642 | 0.298113 | 0.255639 | 0.180451 | 0.071429 | 0.825815 | 0.825815 | 0.825815 | 0.825815 | 0.825815 | 0.825815 | 0 | 0.037442 | 0.320975 | 2,832 | 61 | 174 | 46.42623 | 0.792512 | 0.122881 | 0 | 0.604651 | 0 | 0 | 0.130629 | 0.081542 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0ab1807a7cdf8520d37c4dbbb781b127c4b07d3d | 174 | py | Python | index.py | Developer-07/Project | b75d199a36d0456bb5c474660542f4e213aba9c3 | [
"CC0-1.0"
] | null | null | null | index.py | Developer-07/Project | b75d199a36d0456bb5c474660542f4e213aba9c3 | [
"CC0-1.0"
] | null | null | null | index.py | Developer-07/Project | b75d199a36d0456bb5c474660542f4e213aba9c3 | [
"CC0-1.0"
] | null | null | null | from communication import databaseCommunication
from communication import execute
print(execute.main("root", "MLemgen1709!", "php", "SELECT * FROM users WHERE id=23")[0][6]) | 43.5 | 91 | 0.770115 | 22 | 174 | 6.090909 | 0.772727 | 0.253731 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050955 | 0.097701 | 174 | 4 | 91 | 43.5 | 0.802548 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0ac377bb0a309bf52088362e0bd0a15c7b4182f3 | 11,495 | py | Python | lsdviztools/lsdplottingtools/lsdmap_basicmaps.py | LSDtopotools/lsdviztools | b6012c0013bea7a0af5e7fa283a8a2268be18e25 | [
"MIT"
] | 2 | 2021-04-01T13:24:49.000Z | 2021-09-15T17:24:19.000Z | lsdviztools/lsdplottingtools/lsdmap_basicmaps.py | LSDtopotools/lsdviztools | b6012c0013bea7a0af5e7fa283a8a2268be18e25 | [
"MIT"
] | 20 | 2020-07-28T11:10:36.000Z | 2021-08-19T13:10:44.000Z | lsdviztools/lsdplottingtools/lsdmap_basicmaps.py | LSDtopotools/lsdviztools | b6012c0013bea7a0af5e7fa283a8a2268be18e25 | [
"MIT"
] | 2 | 2021-04-21T17:40:14.000Z | 2021-09-15T17:24:20.000Z | #=============================================================================
#=============================================================================
# These functions create figures for Basic visualization
#
#
# It creates separate plots for each basin in the DEM.
#
# Authors:
# Simon M. Mudd
# Fiona ... | 46.727642 | 200 | 0.638452 | 1,489 | 11,495 | 4.827401 | 0.159167 | 0.022955 | 0.029215 | 0.006678 | 0.878408 | 0.874374 | 0.874374 | 0.874374 | 0.867279 | 0.867279 | 0 | 0.013881 | 0.254197 | 11,495 | 245 | 201 | 46.918367 | 0.824566 | 0.480035 | 0 | 0.758333 | 0 | 0 | 0.098748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.108333 | 0 | 0.133333 | 0.025 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0aecedb47aeb5f93b21ed8afdadbc4f9177102a2 | 26,143 | py | Python | test/lib/testMap.py | animator/titus2 | 1d35fab2950bd9f0438b931a02996475271a695e | [
"Apache-2.0"
] | 18 | 2019-11-29T08:53:58.000Z | 2021-11-19T05:33:33.000Z | test/lib/testMap.py | animator/titus2 | 1d35fab2950bd9f0438b931a02996475271a695e | [
"Apache-2.0"
] | 2 | 2020-04-29T12:58:32.000Z | 2021-03-23T05:55:43.000Z | test/lib/testMap.py | animator/titus2 | 1d35fab2950bd9f0438b931a02996475271a695e | [
"Apache-2.0"
] | 1 | 2020-05-05T15:10:27.000Z | 2020-05-05T15:10:27.000Z | #!/usr/bin/env python
# Copyright (C) 2014 Open Data ("Open Data" refers to
# one or more of the following companies: Open Data Partners LLC,
# Open Data Research LLC, or Open Data Capital LLC.)
#
# This file is part of Hadrian.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this... | 32.925693 | 178 | 0.517003 | 3,577 | 26,143 | 3.778585 | 0.076601 | 0.066588 | 0.094259 | 0.069843 | 0.843149 | 0.827686 | 0.807413 | 0.788103 | 0.769606 | 0.758804 | 0 | 0.051679 | 0.222086 | 26,143 | 793 | 179 | 32.967213 | 0.612922 | 0.028306 | 0 | 0.759825 | 0 | 0.10917 | 0.616442 | 0.001733 | 0 | 0 | 0.00067 | 0 | 0.120815 | 1 | 0.056769 | false | 0 | 0.004367 | 0 | 0.062591 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7c24e7387956ea49193ebbb12c292c1dcce8c564 | 49,334 | py | Python | sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py | ankitarorabit/azure-sdk-for-python | dd90281cbad9400f8080754a5ef2f56791a5a88f | [
"MIT"
] | null | null | null | sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py | ankitarorabit/azure-sdk-for-python | dd90281cbad9400f8080754a5ef2f56791a5a88f | [
"MIT"
] | null | null | null | sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py | ankitarorabit/azure-sdk-for-python | dd90281cbad9400f8080754a5ef2f56791a5a88f | [
"MIT"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
import da... | 51.985248 | 146 | 0.576134 | 4,459 | 49,334 | 6.07468 | 0.063916 | 0.090671 | 0.061727 | 0.074722 | 0.866357 | 0.846938 | 0.813896 | 0.785654 | 0.74892 | 0.738509 | 0 | 0.010273 | 0.342948 | 49,334 | 948 | 147 | 52.040084 | 0.825359 | 0.012547 | 0 | 0.704128 | 0 | 0.005734 | 0.083448 | 0.007803 | 0 | 0 | 0 | 0 | 0.244266 | 1 | 0 | false | 0.001147 | 0.009174 | 0 | 0.010321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7c3e9f5e52dbba77494ec3d085a2b69bc091d33a | 20,776 | py | Python | tests/resource.py | jannon/slumber | 319e45218f0a60683d462b0eb3990ca29e8f9518 | [
"BSD-2-Clause"
] | null | null | null | tests/resource.py | jannon/slumber | 319e45218f0a60683d462b0eb3990ca29e8f9518 | [
"BSD-2-Clause"
] | null | null | null | tests/resource.py | jannon/slumber | 319e45218f0a60683d462b0eb3990ca29e8f9518 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
import mock
import requests
import slumber
import slumber.serialize
import unittest2 as unittest
from slumber import exceptions
class ResourceTestCase(unittest.TestCase):
def setUp(self):
self.base_resource = slumber.Resource(base_url="http://example/api/v1/test",
... | 36.967972 | 166 | 0.594821 | 2,304 | 20,776 | 5.182726 | 0.067708 | 0.072356 | 0.144712 | 0.13014 | 0.83586 | 0.823047 | 0.807638 | 0.799012 | 0.793401 | 0.779164 | 0 | 0.012331 | 0.258375 | 20,776 | 561 | 167 | 37.033868 | 0.762656 | 0.001011 | 0 | 0.721348 | 0 | 0 | 0.147786 | 0 | 0 | 0 | 0 | 0 | 0.155056 | 1 | 0.05618 | false | 0.002247 | 0.01573 | 0 | 0.078652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7c6d5cbdc5884c703fbecf3545295170890583ea | 9,828 | py | Python | sdk/python/bouncerapi/controllers/blacklist_geo_locations_controller.py | nmfta-repo/nmfta-bouncer | a178244dbf0b8a165aabc02a5d1ba05006f9ec22 | [
"Apache-2.0"
] | 1 | 2021-04-09T20:29:39.000Z | 2021-04-09T20:29:39.000Z | sdk/python/bouncerapi/controllers/blacklist_geo_locations_controller.py | nmfta-repo/nmfta-bouncer | a178244dbf0b8a165aabc02a5d1ba05006f9ec22 | [
"Apache-2.0"
] | 21 | 2019-02-28T14:23:11.000Z | 2020-07-07T20:46:37.000Z | sdk/python/bouncerapi/controllers/blacklist_geo_locations_controller.py | nmfta-repo/nmfta-bouncer | a178244dbf0b8a165aabc02a5d1ba05006f9ec22 | [
"Apache-2.0"
] | 2 | 2019-05-07T13:16:49.000Z | 2020-06-23T13:49:01.000Z | # -*- coding: utf-8 -*-
"""
bouncerapi
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
"""
from bouncerapi.api_helper import APIHelper
from bouncerapi.configuration import Configuration
from bouncerapi.controllers.base_controller import BaseController
from bouncerapi.http.auth... | 37.51145 | 115 | 0.655983 | 1,113 | 9,828 | 5.584906 | 0.146451 | 0.02027 | 0.020914 | 0.040219 | 0.791345 | 0.789414 | 0.773327 | 0.769466 | 0.746783 | 0.733269 | 0 | 0.008578 | 0.276455 | 9,828 | 261 | 116 | 37.655172 | 0.86556 | 0.367521 | 0 | 0.663462 | 1 | 0 | 0.139366 | 0.03524 | 0 | 0 | 0 | 0.011494 | 0 | 1 | 0.048077 | false | 0 | 0.096154 | 0 | 0.201923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7cc0b667ed8ceb72180a59deb8c1f3ba79c2669d | 3,237 | py | Python | datamegh/api/http.py | leapfrogtechnology/data-engine | 35e65e390dafb427e9972f6e8beca6fcbcdd5112 | [
"MIT"
] | 3 | 2020-02-25T09:28:40.000Z | 2020-02-28T04:18:23.000Z | datamegh/api/http.py | leapfrogtechnology/data-engine | 35e65e390dafb427e9972f6e8beca6fcbcdd5112 | [
"MIT"
] | 21 | 2020-02-12T15:32:19.000Z | 2020-03-20T06:48:02.000Z | datamegh/api/http.py | leapfrogtechnology/data-engine | 35e65e390dafb427e9972f6e8beca6fcbcdd5112 | [
"MIT"
] | 1 | 2020-02-20T08:18:48.000Z | 2020-02-20T08:18:48.000Z | """ Basic HTTP verbs for your API connection. """
import requests
def get(url, params=None, **kwargs):
"""Sends a GET request.
:param url: URL for the new :class:`Request` object.
:param params: (optional) Dictionary, list of tuples or bytes to send
in the query string for the :class:`Request`.
... | 34.43617 | 82 | 0.654927 | 427 | 3,237 | 4.962529 | 0.161593 | 0.079283 | 0.049552 | 0.059462 | 0.774894 | 0.760736 | 0.739028 | 0.739028 | 0.739028 | 0.739028 | 0 | 0 | 0.207291 | 3,237 | 93 | 83 | 34.806452 | 0.825799 | 0.734013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
7cc1527dadebad9cd8890a674784fa1119122d88 | 47 | py | Python | db/__init__.py | CitizenScienceCenter/cccs-connexion | 7f1e55df1058bfe628087116f535c505c38af926 | [
"Apache-2.0"
] | null | null | null | db/__init__.py | CitizenScienceCenter/cccs-connexion | 7f1e55df1058bfe628087116f535c505c38af926 | [
"Apache-2.0"
] | 35 | 2018-09-05T08:10:40.000Z | 2019-12-09T14:40:48.000Z | db/__init__.py | CitizenScienceCenter/backend | 7f1e55df1058bfe628087116f535c505c38af926 | [
"Apache-2.0"
] | null | null | null | from db.models import *
from db.roles import *
| 15.666667 | 23 | 0.744681 | 8 | 47 | 4.375 | 0.625 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 24 | 23.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7cd56629feb3f420e3c0479e0f33f6af8cfee20c | 30,510 | py | Python | hubspot/crm/properties/api/groups_api.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | null | null | null | hubspot/crm/properties/api/groups_api.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | null | null | null | hubspot/crm/properties/api/groups_api.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Properties
All HubSpot objects store data in default and custom properties. These endpoints provide access to read and modify object properties in HubSpot. # noqa: E501
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""
from __future__ impo... | 46.157337 | 162 | 0.597771 | 3,385 | 30,510 | 5.132349 | 0.05997 | 0.045128 | 0.064468 | 0.025902 | 0.950901 | 0.945375 | 0.940713 | 0.936626 | 0.931273 | 0.925229 | 0 | 0.015814 | 0.328482 | 30,510 | 660 | 163 | 46.227273 | 0.832146 | 0.435923 | 0 | 0.722397 | 0 | 0 | 0.197066 | 0.054719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0347 | false | 0 | 0.015773 | 0 | 0.085174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7cdafd9336c3bee7085a8da17a5e49dd16adcdc2 | 27,776 | py | Python | tests/test_shootdowns.py | IL2HorusTeam/il2fb-ds-events-parser | ea13014506166f24909630ea75bcecf810cfbbd8 | [
"MIT"
] | null | null | null | tests/test_shootdowns.py | IL2HorusTeam/il2fb-ds-events-parser | ea13014506166f24909630ea75bcecf810cfbbd8 | [
"MIT"
] | null | null | null | tests/test_shootdowns.py | IL2HorusTeam/il2fb-ds-events-parser | ea13014506166f24909630ea75bcecf810cfbbd8 | [
"MIT"
] | null | null | null | import datetime
import unittest
from il2fb.ds.events.definitions.shootdowns import AIAircraftShotdownEvent
from il2fb.ds.events.definitions.shootdowns import AIAircraftShotdownSelfEvent
from il2fb.ds.events.definitions.shootdowns import HumanAircraftShotdownEvent
from il2fb.ds.events.definitions.shootdowns import Huma... | 50.227848 | 118 | 0.769405 | 3,664 | 27,776 | 5.71179 | 0.040666 | 0.12113 | 0.145356 | 0.177657 | 0.874666 | 0.867594 | 0.862051 | 0.793721 | 0.790185 | 0.787653 | 0 | 0.089814 | 0.124136 | 27,776 | 552 | 119 | 50.318841 | 0.770429 | 0 | 0 | 0.659955 | 0 | 0.033557 | 0.146853 | 0.007921 | 0 | 0 | 0 | 0 | 0.489933 | 1 | 0.102908 | false | 0 | 0.0783 | 0 | 0.183445 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6b060cca1bdd68020c6eaff07f72b78777e616b4 | 2,535 | py | Python | test/test.py | sorriso/UBI8-postgres-src | ba5ddbbf84f5329971d458f4f144595add77e6e9 | [
"MIT"
] | null | null | null | test/test.py | sorriso/UBI8-postgres-src | ba5ddbbf84f5329971d458f4f144595add77e6e9 | [
"MIT"
] | null | null | null | test/test.py | sorriso/UBI8-postgres-src | ba5ddbbf84f5329971d458f4f144595add77e6e9 | [
"MIT"
] | null | null | null | import psycopg2 # pip3 install psycopg2-binary
import os
file_path = os.getcwd()
print("")
print(file_path)
print("")
print("Connecting without SSL mode...")
conn = psycopg2.connect(host="localhost", port = 5432, database="test", user="postgres", password="postgres1")
cur = conn.cursor()
print(conn.isolation_le... | 24.375 | 251 | 0.715976 | 343 | 2,535 | 5.233236 | 0.230321 | 0.066852 | 0.050139 | 0.03844 | 0.875766 | 0.853482 | 0.853482 | 0.853482 | 0.853482 | 0.853482 | 0 | 0.015789 | 0.100592 | 2,535 | 103 | 252 | 24.61165 | 0.771491 | 0.011045 | 0 | 0.863014 | 0 | 0 | 0.389222 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 1 | 0 | false | 0.041096 | 0.027397 | 0 | 0.027397 | 0.424658 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
6b2356e9e24c49989b2db7aa3fcf56030833a452 | 10,554 | py | Python | Encarnia/world/npcs.py | whitehorse-io/encarnia | 798e79c72af18b13641cda218388ebb1bdb67d7c | [
"MIT"
] | 9 | 2017-07-10T04:27:31.000Z | 2020-07-31T08:54:08.000Z | Encarnia/world/npcs.py | whitehorse-io/encarnia | 798e79c72af18b13641cda218388ebb1bdb67d7c | [
"MIT"
] | null | null | null | Encarnia/world/npcs.py | whitehorse-io/encarnia | 798e79c72af18b13641cda218388ebb1bdb67d7c | [
"MIT"
] | 4 | 2017-09-11T02:26:21.000Z | 2021-12-31T05:20:34.000Z | from evennia import DefaultObject
from evennia import default_cmds, CmdSet, utils
from commands.default_cmdsets import ChargenCmdset, ShopCmdset, BankCmdset, MerchantCmdset
from world import english_utils, npc_rules # , npc_rules
from random import randint
import time
from evennia import TICKER_HANDLER as tickerh... | 40.436782 | 165 | 0.599204 | 1,440 | 10,554 | 4.294444 | 0.188194 | 0.090233 | 0.032018 | 0.033959 | 0.83053 | 0.83053 | 0.81436 | 0.81436 | 0.81436 | 0.81436 | 0 | 0.013121 | 0.328406 | 10,554 | 261 | 166 | 40.436782 | 0.85934 | 0.312299 | 0 | 0.764331 | 0 | 0 | 0.077778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044586 | false | 0 | 0.044586 | 0 | 0.159236 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b241b5a00f51114ba5d39e64087d09ac34da03a | 221,744 | py | Python | hikari/api/rest.py | Reliku/hikari | c6e62b750ce35885a5e4124ffe8df6445ab34acd | [
"MIT"
] | 3 | 2021-08-28T17:48:52.000Z | 2021-08-29T06:56:12.000Z | hikari/api/rest.py | Nephael/hikari | 549dd12f4abbc5c42c32680927cdd14049ab3597 | [
"MIT"
] | null | null | null | hikari/api/rest.py | Nephael/hikari | 549dd12f4abbc5c42c32680927cdd14049ab3597 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# cython: language_level=3
# Copyright (c) 2020 Nekokatt
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights... | 46.751845 | 161 | 0.655373 | 25,512 | 221,744 | 5.672468 | 0.033357 | 0.042704 | 0.008403 | 0.033334 | 0.88977 | 0.869745 | 0.854183 | 0.846043 | 0.833336 | 0.815736 | 0 | 0.0015 | 0.284662 | 221,744 | 4,742 | 162 | 46.761704 | 0.910832 | 0.073743 | 0 | 0.706944 | 0 | 0 | 0.000783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011111 | false | 0 | 0.034722 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86225427c2de01554019a5cd95c63ae5082b66f4 | 68,001 | py | Python | sdk/iothub/azure-mgmt-iothubprovisioningservices/azure/mgmt/iothubprovisioningservices/aio/operations/_iot_dps_resource_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-03-09T08:59:13.000Z | 2022-03-09T08:59:13.000Z | sdk/iothub/azure-mgmt-iothubprovisioningservices/azure/mgmt/iothubprovisioningservices/aio/operations/_iot_dps_resource_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | sdk/iothub/azure-mgmt-iothubprovisioningservices/azure/mgmt/iothubprovisioningservices/aio/operations/_iot_dps_resource_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-03-04T06:21:56.000Z | 2022-03-04T06:21:56.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 48.433761 | 743 | 0.694225 | 6,983 | 68,001 | 6.503222 | 0.049549 | 0.03378 | 0.036686 | 0.02092 | 0.883885 | 0.865366 | 0.8483 | 0.825971 | 0.813067 | 0.796508 | 0 | 0.004666 | 0.230997 | 68,001 | 1,403 | 744 | 48.468282 | 0.863748 | 0.080028 | 0 | 0.770905 | 0 | 0.009164 | 0.122241 | 0.102512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016037 | false | 0 | 0.018328 | 0 | 0.105384 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
868c0dc1b18a44f057130386800d81ae737d296e | 166 | py | Python | dvadmin-backend/apps/vadmin/monitor/models/__init__.py | yuanlaimantou/vue-django-admin | 3757caf5d5ca2682ffbb6e017ef03ff9a3715cc9 | [
"MIT"
] | 193 | 2021-02-25T17:36:47.000Z | 2022-03-31T09:54:48.000Z | dvadmin-backend/apps/vadmin/monitor/models/__init__.py | yuanlaimantou/vue-django-admin | 3757caf5d5ca2682ffbb6e017ef03ff9a3715cc9 | [
"MIT"
] | 6 | 2021-04-23T12:35:14.000Z | 2021-09-16T03:27:28.000Z | dvadmin-backend/apps/vadmin/monitor/models/__init__.py | yuanlaimantou/vue-django-admin | 3757caf5d5ca2682ffbb6e017ef03ff9a3715cc9 | [
"MIT"
] | 59 | 2021-03-29T09:25:00.000Z | 2022-03-24T06:53:27.000Z | from apps.vadmin.monitor.models.monitor import Monitor
from apps.vadmin.monitor.models.server import Server
from apps.vadmin.monitor.models.sys_files import SysFiles
| 41.5 | 57 | 0.855422 | 25 | 166 | 5.64 | 0.4 | 0.170213 | 0.297872 | 0.446809 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 166 | 3 | 58 | 55.333333 | 0.915584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
86a8b15f1e10819508f308f334be7642736e7953 | 230 | py | Python | cblib/scripts/filters/entries.py | HFriberg/cblib-base | 164a00eb73ef3ac61f5b54f30492209cc69b854b | [
"Zlib"
] | 3 | 2019-06-13T06:57:31.000Z | 2020-06-18T09:58:11.000Z | cblib/scripts/filters/entries.py | HFriberg/cblib-base | 164a00eb73ef3ac61f5b54f30492209cc69b854b | [
"Zlib"
] | 1 | 2019-04-27T18:28:57.000Z | 2019-04-30T17:16:53.000Z | cblib/scripts/filters/entries.py | HFriberg/cblib-base | 164a00eb73ef3ac61f5b54f30492209cc69b854b | [
"Zlib"
] | 3 | 2019-04-30T11:19:34.000Z | 2019-05-31T13:12:17.000Z | import var
import map
def keyquery(cnam=None, cdim=None):
return( var.keyquery(cnam,cdim) | map.keyquery(cnam,cdim) )
def getval(prob, cnam=None, cdim=None):
return( var.getval(prob,cnam,cdim) + map.getval(prob,cnam,cdim) )
| 25.555556 | 67 | 0.721739 | 37 | 230 | 4.486486 | 0.297297 | 0.192771 | 0.253012 | 0.192771 | 0.301205 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117391 | 230 | 8 | 68 | 28.75 | 0.817734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
86aff7575c9a6afebbf94bb347e1923be5ebb537 | 32,015 | py | Python | tests/rest/admin/test_media.py | dsonck92/synapse | 2560b1b6b2f74b5724253396c0e3665fa1f7968c | [
"Apache-2.0"
] | 9,945 | 2015-01-02T07:41:06.000Z | 2022-03-31T23:22:42.000Z | tests/rest/admin/test_media.py | dsonck92/synapse | 2560b1b6b2f74b5724253396c0e3665fa1f7968c | [
"Apache-2.0"
] | 9,320 | 2015-01-08T14:09:03.000Z | 2022-03-31T21:11:24.000Z | tests/rest/admin/test_media.py | dsonck92/synapse | 2560b1b6b2f74b5724253396c0e3665fa1f7968c | [
"Apache-2.0"
] | 2,299 | 2015-01-31T22:16:29.000Z | 2022-03-31T06:08:26.000Z | # Copyright 2020 Dirk Klimpel
# Copyright 2021 The Matrix.org Foundation C.I.C.
#
# 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 r... | 33.5587 | 95 | 0.609089 | 3,733 | 32,015 | 4.983927 | 0.081704 | 0.069336 | 0.06853 | 0.037839 | 0.864929 | 0.852029 | 0.839774 | 0.821768 | 0.812309 | 0.806557 | 0 | 0.00644 | 0.287053 | 32,015 | 953 | 96 | 33.593914 | 0.808675 | 0.103108 | 0 | 0.761905 | 0 | 0 | 0.097372 | 0.01996 | 0 | 0 | 0 | 0 | 0.159754 | 1 | 0.049155 | false | 0.030722 | 0.019969 | 0 | 0.086022 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86d029180cd10d29e351215d6a8311d3a1ed6ece | 2,889 | py | Python | ibanity/api/Sandbox/FinancialInstitutionHolding.py | Felixver/ibanity-python | 06637fd0aaed382c14d860d209b41d530c365a9f | [
"MIT"
] | 1 | 2020-08-27T16:50:23.000Z | 2020-08-27T16:50:23.000Z | ibanity/api/Sandbox/FinancialInstitutionHolding.py | Felixver/ibanity-python | 06637fd0aaed382c14d860d209b41d530c365a9f | [
"MIT"
] | 1 | 2020-08-27T13:59:31.000Z | 2020-09-04T14:24:29.000Z | ibanity/api/Sandbox/FinancialInstitutionHolding.py | Felixver/ibanity-python | 06637fd0aaed382c14d860d209b41d530c365a9f | [
"MIT"
] | null | null | null | from collections import namedtuple
from ibanity import Ibanity
from ibanity.Flatten import flatten_json
def get_list(financial_institution_id, financial_institution_user_id, financial_institution_account_id, params={}):
uri = Ibanity.client.api_schema["sandbox"]["financialInstitution"]["financialInstitutionAccoun... | 51.589286 | 135 | 0.741779 | 242 | 2,889 | 8.549587 | 0.181818 | 0.231996 | 0.085065 | 0.100532 | 0.855969 | 0.841469 | 0.841469 | 0.78782 | 0.78782 | 0.78782 | 0 | 0 | 0.14261 | 2,889 | 55 | 136 | 52.527273 | 0.835285 | 0 | 0 | 0.5 | 0 | 0 | 0.29259 | 0.243421 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.065217 | 0 | 0.23913 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8115a4d15a2a1e9a577f07cd1c6c4b0d8088f68e | 33,855 | py | Python | WISDEM/wisdem/test/test_drivetrainse/test_drive_structure.py | ptrbortolotti/WEIS | 1e4dbf6728050f75cee08cd483fe57c5614488fe | [
"Apache-2.0"
] | 81 | 2015-01-19T18:17:31.000Z | 2022-03-17T07:14:43.000Z | WISDEM/wisdem/test/test_drivetrainse/test_drive_structure.py | ptrbortolotti/WEIS | 1e4dbf6728050f75cee08cd483fe57c5614488fe | [
"Apache-2.0"
] | 159 | 2015-02-05T01:54:52.000Z | 2022-03-30T22:44:39.000Z | WISDEM/wisdem/test/test_drivetrainse/test_drive_structure.py | ptrbortolotti/WEIS | 1e4dbf6728050f75cee08cd483fe57c5614488fe | [
"Apache-2.0"
] | 70 | 2015-01-02T15:22:39.000Z | 2022-02-11T00:33:07.000Z | import unittest
import numpy as np
import numpy.testing as npt
import wisdem.drivetrainse.layout as lay
import wisdem.drivetrainse.drive_structure as ds
from wisdem.commonse import gravity
npts = 12
class TestDirectStructure(unittest.TestCase):
def setUp(self):
self.inputs = {}
self.outputs = {}... | 55.138436 | 120 | 0.626525 | 5,221 | 33,855 | 3.879717 | 0.040031 | 0.137737 | 0.112559 | 0.150079 | 0.908422 | 0.893661 | 0.88127 | 0.87268 | 0.862214 | 0.856684 | 0 | 0.071611 | 0.191139 | 33,855 | 613 | 121 | 55.228385 | 0.668091 | 0.019968 | 0 | 0.745763 | 0 | 0 | 0.089571 | 0.003378 | 0 | 0 | 0 | 0 | 0.310734 | 1 | 0.032015 | false | 0 | 0.011299 | 0 | 0.047081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8118418a3d7d08844168e565fc9b9cb768b367cf | 68,358 | py | Python | ia870/iatext.py | andreperesnl/ia870 | e6a089e17ea9def39cb9fd6901bbdf72a6ba7dfc | [
"BSD-3-Clause"
] | 5 | 2015-11-16T11:37:27.000Z | 2020-07-20T22:10:31.000Z | ia870/iatext.py | Abigale-Xin/e2dhipseg | 520366326cd20c75b5db855c9dd05cf0a8d49089 | [
"MIT"
] | 2 | 2020-07-28T22:29:54.000Z | 2021-07-07T20:37:25.000Z | ia870/iatext.py | Abigale-Xin/e2dhipseg | 520366326cd20c75b5db855c9dd05cf0a8d49089 | [
"MIT"
] | 30 | 2015-02-20T23:33:32.000Z | 2020-10-29T05:14:07.000Z | # -*- encoding: utf-8 -*-
# Module iatext
from numpy import *
def iatext(txt):
from iabinary import iabinary
from iaconcat import iaconcat
FontDft = iabinary([
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
... | 47.503822 | 75 | 0.191521 | 12,788 | 68,358 | 1.022443 | 0.003441 | 1.495985 | 1.988375 | 2.381033 | 0.974914 | 0.974914 | 0.974914 | 0.974914 | 0.974914 | 0.96979 | 0 | 0.490917 | 0.621522 | 68,358 | 1,438 | 76 | 47.536857 | 0.014456 | 0.000541 | 0 | 0.972028 | 0 | 0 | 0.000454 | 0 | 0 | 0 | 0 | 0 | 0.000699 | 1 | 0.000699 | false | 0 | 0.002098 | 0 | 0.003497 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
811d0f251aae9651029065dcc70aa6fe78537515 | 163 | py | Python | social/apps/webpy_app/__init__.py | SeanHayes/python-social-auth | 4d70b23eb603c1d9753a7982bd7b3bab7cf18d48 | [
"BSD-3-Clause"
] | 7 | 2017-11-17T01:21:09.000Z | 2021-03-25T09:55:50.000Z | social/apps/webpy_app/__init__.py | techdragon/python-social-auth | e419e695b39a2948142faee3986d5cabe66e2cee | [
"BSD-3-Clause"
] | 19 | 2019-09-25T19:03:41.000Z | 2021-06-25T15:26:41.000Z | social/apps/webpy_app/__init__.py | techdragon/python-social-auth | e419e695b39a2948142faee3986d5cabe66e2cee | [
"BSD-3-Clause"
] | 3 | 2016-04-21T09:50:03.000Z | 2019-02-05T12:53:15.000Z | from social.strategies.utils import set_current_strategy_getter
from social.apps.webpy_app.utils import load_strategy
set_current_strategy_getter(load_strategy)
| 27.166667 | 63 | 0.889571 | 24 | 163 | 5.666667 | 0.541667 | 0.147059 | 0.264706 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067485 | 163 | 5 | 64 | 32.6 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
811d42507377925e686b688fc74392afe568c5b4 | 66,932 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 39.464623 | 407 | 0.602163 | 6,922 | 66,932 | 5.591159 | 0.031349 | 0.072089 | 0.052814 | 0.059273 | 0.990311 | 0.984704 | 0.984704 | 0.984704 | 0.984704 | 0.984704 | 0 | 0.00189 | 0.304189 | 66,932 | 1,695 | 408 | 39.487906 | 0.829125 | 0.201951 | 0 | 0.891135 | 0 | 0.013997 | 0.262492 | 0.089861 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045101 | false | 0 | 0.022551 | 0 | 0.106532 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4c04421c90c5fa9b1bb7a652ac89ee33da75c24 | 5,959 | py | Python | tests/grab_upload_file.py | alexey-v-paramonov/grab | a3bfda3ae16b615eeaa0323c2ba72a9d901cba7b | [
"MIT"
] | null | null | null | tests/grab_upload_file.py | alexey-v-paramonov/grab | a3bfda3ae16b615eeaa0323c2ba72a9d901cba7b | [
"MIT"
] | null | null | null | tests/grab_upload_file.py | alexey-v-paramonov/grab | a3bfda3ae16b615eeaa0323c2ba72a9d901cba7b | [
"MIT"
] | 1 | 2022-01-12T14:51:27.000Z | 2022-01-12T14:51:27.000Z | # coding: utf-8
import os
from grab import UploadContent, UploadFile
from tests.util import build_grab, temp_file, BaseGrabTestCase
class TestUploadContent(BaseGrabTestCase):
def setUp(self):
self.server.reset()
def prepare_form_grab(self):
url = self.server.get_url()
html = (
... | 38.445161 | 78 | 0.549421 | 623 | 5,959 | 5.107544 | 0.128411 | 0.062854 | 0.096166 | 0.12445 | 0.844123 | 0.844123 | 0.844123 | 0.844123 | 0.844123 | 0.844123 | 0 | 0.005758 | 0.300554 | 5,959 | 154 | 79 | 38.694805 | 0.757678 | 0.020809 | 0 | 0.736434 | 0 | 0 | 0.136434 | 0.013386 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.062016 | false | 0 | 0.023256 | 0 | 0.100775 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4c90979921d1d17b5ab157785be856086b108a1 | 234,914 | py | Python | codegen/ops_testgen.py | m1griffin/arrayfunc | df57097699c25d3e949e1ade307ed61eaa5728c2 | [
"Apache-2.0"
] | 2 | 2017-08-28T08:41:16.000Z | 2018-05-29T03:49:36.000Z | codegen/ops_testgen.py | m1griffin/arrayfunc | df57097699c25d3e949e1ade307ed61eaa5728c2 | [
"Apache-2.0"
] | null | null | null | codegen/ops_testgen.py | m1griffin/arrayfunc | df57097699c25d3e949e1ade307ed61eaa5728c2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
##############################################################################
# Project: arrayfunc
# Purpose: Generate the unit tests for math operators.
# Language: Python 3.5
# Date: 03-Feb-2018
#
###############################################################################
#
# Copyr... | 36.386927 | 135 | 0.621862 | 27,965 | 234,914 | 5.135884 | 0.030645 | 0.040174 | 0.028853 | 0.038364 | 0.909111 | 0.896654 | 0.881768 | 0.875969 | 0.859997 | 0.854322 | 0 | 0.01168 | 0.136267 | 234,914 | 6,455 | 136 | 36.392564 | 0.69617 | 0.05253 | 0 | 0.714121 | 1 | 0.110521 | 0.958973 | 0.379812 | 0 | 0 | 0 | 0 | 0.089986 | 1 | 0 | false | 0.052377 | 0.000923 | 0 | 0.004384 | 0.000231 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
d4d91b6a8b71ce615b51cea24c60e676ff8069cd | 89 | py | Python | tests/docs/test_bind_hooks.py | adriangb/di | f277bb7189c8e8bde41170afb3181e6600b06be8 | [
"MIT"
] | 57 | 2021-09-28T00:48:08.000Z | 2022-03-16T16:50:39.000Z | tests/docs/test_bind_hooks.py | ScareTrow/di | a89b6b7d52da41b6e094b50ee5a500c3478676fa | [
"MIT"
] | 59 | 2021-09-25T00:06:22.000Z | 2022-03-31T15:49:36.000Z | tests/docs/test_bind_hooks.py | ScareTrow/di | a89b6b7d52da41b6e094b50ee5a500c3478676fa | [
"MIT"
] | 3 | 2021-12-31T10:03:03.000Z | 2021-12-31T16:07:54.000Z | from docs_src.bind_hooks import main
def test_bind_hooks_example() -> None:
main()
| 14.833333 | 38 | 0.741573 | 14 | 89 | 4.357143 | 0.785714 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 39 | 17.8 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
be0099e94e5b3bfdff8f2992cb87966530be47b0 | 25,555 | py | Python | xrdsst/api/services_api.py | nordic-institute/X-Road-Security-Server-toolkit | 1538dbf3d76647f4fb3a72bbe93bf54f414ee9fb | [
"MIT"
] | 7 | 2020-11-01T19:50:11.000Z | 2022-01-18T17:45:19.000Z | xrdsst/api/services_api.py | nordic-institute/X-Road-Security-Server-toolkit | 1538dbf3d76647f4fb3a72bbe93bf54f414ee9fb | [
"MIT"
] | 24 | 2020-11-09T08:09:10.000Z | 2021-06-16T07:22:14.000Z | xrdsst/api/services_api.py | nordic-institute/X-Road-Security-Server-toolkit | 1538dbf3d76647f4fb3a72bbe93bf54f414ee9fb | [
"MIT"
] | 1 | 2021-04-27T14:39:48.000Z | 2021-04-27T14:39:48.000Z | # coding: utf-8
"""
X-Road Security Server Admin API
X-Road Security Server Admin API. Note that the error metadata responses described in some endpoints are subjects to change and may be updated in upcoming versions. # noqa: E501
OpenAPI spec version: 1.0.31
Contact: info@niis.org
Generated by:... | 40.180818 | 636 | 0.610878 | 3,018 | 25,555 | 4.957256 | 0.07389 | 0.049729 | 0.01925 | 0.025667 | 0.959963 | 0.958425 | 0.954348 | 0.948867 | 0.944322 | 0.943052 | 0 | 0.017432 | 0.297398 | 25,555 | 635 | 637 | 40.244094 | 0.815817 | 0.371708 | 0 | 0.824926 | 0 | 0 | 0.17099 | 0.046924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038576 | false | 0 | 0.011869 | 0 | 0.106825 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
07c55ee8bbc5bf60be2fd48dc64a7d5727c0ab13 | 123 | py | Python | backend/champaign/utils.py | EugMJang/Covid-20 | e56cb32bb2470c309cb983e28e8da3de5a2503c8 | [
"MIT"
] | null | null | null | backend/champaign/utils.py | EugMJang/Covid-20 | e56cb32bb2470c309cb983e28e8da3de5a2503c8 | [
"MIT"
] | null | null | null | backend/champaign/utils.py | EugMJang/Covid-20 | e56cb32bb2470c309cb983e28e8da3de5a2503c8 | [
"MIT"
] | 1 | 2021-09-22T02:02:12.000Z | 2021-09-22T02:02:12.000Z | import time
def get_unix_timestamp():
""" Gets unix timestamp in milliseconds """
return int(time.time() * 1000)
| 17.571429 | 47 | 0.674797 | 16 | 123 | 5.0625 | 0.75 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.203252 | 123 | 6 | 48 | 20.5 | 0.785714 | 0.284553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
07d0a20c7fd4927f58e3da2af6bd378926c0676d | 232 | bzl | Python | utils.bzl | aij/flow | 890f1c5be9f0d2d7bdf32674e4f23f0e3c450fb8 | [
"MIT"
] | 1 | 2018-11-26T06:52:29.000Z | 2018-11-26T06:52:29.000Z | utils.bzl | aij/flow | 890f1c5be9f0d2d7bdf32674e4f23f0e3c450fb8 | [
"MIT"
] | null | null | null | utils.bzl | aij/flow | 890f1c5be9f0d2d7bdf32674e4f23f0e3c450fb8 | [
"MIT"
] | 1 | 2018-11-26T06:49:40.000Z | 2018-11-26T06:49:40.000Z | load("@fbcode_macros//build_defs:platform_utils.bzl", "platform_utils")
def get_ppx_bin():
return "third-party-buck/{}/build/ocaml-lwt_ppx/lib/lwt_ppx/ppx.exe".format(platform_utils.get_platform_for_base_path(get_base_path()))
| 46.4 | 139 | 0.793103 | 38 | 232 | 4.447368 | 0.631579 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047414 | 232 | 4 | 140 | 58 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.508621 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.