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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d55803d49e090888d9f749552fe0472e67a0c13 | 24,623 | bzl | Python | BUILD.generated.bzl | dennycd/boringSSL-SwiftPM | 86eed8d1e3bfeb69e435c65671e739de9b28d256 | [
"MIT"
] | 3 | 2020-10-07T14:20:19.000Z | 2021-05-18T03:50:21.000Z | BUILD.generated.bzl | dennycd/boringSSL-SwiftPM | 86eed8d1e3bfeb69e435c65671e739de9b28d256 | [
"MIT"
] | 2 | 2021-06-08T15:39:38.000Z | 2022-01-26T22:04:30.000Z | BUILD.generated.bzl | dennycd/boringSSL-SwiftPM | 86eed8d1e3bfeb69e435c65671e739de9b28d256 | [
"MIT"
] | 4 | 2021-02-19T09:48:47.000Z | 2022-03-13T17:29:35.000Z | # This file is created by generate_build_files.py. Do not edit manually.
ssl_headers = [
"src/include/openssl/dtls1.h",
"src/include/openssl/srtp.h",
"src/include/openssl/ssl.h",
"src/include/openssl/ssl3.h",
"src/include/openssl/tls1.h",
]
fips_fragments = [
"src/crypto/fipsmodule/aes/aes.c",... | 36.263623 | 72 | 0.678715 | 3,916 | 24,623 | 4.14811 | 0.096272 | 0.187269 | 0.18099 | 0.080891 | 0.646823 | 0.384573 | 0.161783 | 0.136112 | 0.061438 | 0.010096 | 0 | 0.074765 | 0.129797 | 24,623 | 678 | 73 | 36.317109 | 0.683343 | 0.002843 | 0 | 0 | 1 | 0 | 0.775936 | 0.739848 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.006088 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d661c9e86acf4be9b24169024a43a7f17eac7d9 | 38 | py | Python | certbot_dns_subdomain_provider/__init__.py | tugrul/certbot-dns-subdomain-provider | 8387cefdfde8bb560f3cae91570e263d5c278dd1 | [
"Apache-2.0"
] | null | null | null | certbot_dns_subdomain_provider/__init__.py | tugrul/certbot-dns-subdomain-provider | 8387cefdfde8bb560f3cae91570e263d5c278dd1 | [
"Apache-2.0"
] | null | null | null | certbot_dns_subdomain_provider/__init__.py | tugrul/certbot-dns-subdomain-provider | 8387cefdfde8bb560f3cae91570e263d5c278dd1 | [
"Apache-2.0"
] | null | null | null | """
certbot DNS subdomain provider
""" | 12.666667 | 30 | 0.710526 | 4 | 38 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 3 | 31 | 12.666667 | 0.818182 | 0.789474 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d705edd67e2e04735591778b8ea4739bde70d0d | 63 | py | Python | main.py | jerradf/Crypto-Blockchain-Project | f1ecda84972d2280acde12befe5725db4cd2f7b5 | [
"MIT"
] | null | null | null | main.py | jerradf/Crypto-Blockchain-Project | f1ecda84972d2280acde12befe5725db4cd2f7b5 | [
"MIT"
] | null | null | null | main.py | jerradf/Crypto-Blockchain-Project | f1ecda84972d2280acde12befe5725db4cd2f7b5 | [
"MIT"
] | null | null | null | # main.py
# Author: Jerrad Flores
import app
app.UI().main()
| 9 | 23 | 0.666667 | 10 | 63 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 6 | 24 | 10.5 | 0.807692 | 0.460317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
536fb94d31bf4b1ddcdaa915a62b7c51a8b8984b | 174 | py | Python | src/nn/tests/__init__.py | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | src/nn/tests/__init__.py | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | src/nn/tests/__init__.py | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | # Having a file named __init__.py make that folder a module then we can invoke:
# python -m unittest tests.test_nnjm_data_iterator.TestInfiniteIterator.test_03_file_reopened
| 58 | 93 | 0.83908 | 28 | 174 | 4.857143 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.114943 | 174 | 2 | 94 | 87 | 0.87013 | 0.971264 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5377aecc5620e630137248af48ac11dd8dfa1264 | 12 | py | Python | lang/py/cookbook/v2/source/cb2_7_8_sol_5.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_7_8_sol_5.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_7_8_sol_5.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | adb.close()
| 6 | 11 | 0.666667 | 2 | 12 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 12 | 1 | 12 | 12 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
53b590fd3ce552314528f8575f475829005dada7 | 320 | py | Python | 04-loops/generate_range.py | alvgaona/PC | dc043861a7246c228f40d882b70faa6b9623b05b | [
"MIT"
] | 2 | 2022-03-29T16:40:32.000Z | 2022-03-29T16:42:34.000Z | 04-loops/generate_range.py | alvgaona/PC | dc043861a7246c228f40d882b70faa6b9623b05b | [
"MIT"
] | null | null | null | 04-loops/generate_range.py | alvgaona/PC | dc043861a7246c228f40d882b70faa6b9623b05b | [
"MIT"
] | null | null | null | #%%
def generate_range(min: int, max: int, step: int) -> None:
for i in range(min, max + 1, step):
print(i)
generate_range(2, 10, 2)
# %%
# %%
def generate_range(min: int, max: int, step: int) -> None:
i = min
while i <= max:
print(i)
i = i + step
generate_range(2, 10, 2)
| 12.8 | 58 | 0.528125 | 50 | 320 | 3.3 | 0.32 | 0.315152 | 0.193939 | 0.230303 | 0.678788 | 0.472727 | 0.472727 | 0.472727 | 0.472727 | 0.472727 | 0 | 0.040541 | 0.30625 | 320 | 24 | 59 | 13.333333 | 0.702703 | 0.025 | 0 | 0.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
54cf57acbe01747be3a9ad6648cf45e507039a0b | 358 | py | Python | autoreject/__init__.py | ktavabi/autoreject | 9571e1f35497bc5484af8f2cfafcc3c91b6b6f18 | [
"BSD-3-Clause"
] | null | null | null | autoreject/__init__.py | ktavabi/autoreject | 9571e1f35497bc5484af8f2cfafcc3c91b6b6f18 | [
"BSD-3-Clause"
] | null | null | null | autoreject/__init__.py | ktavabi/autoreject | 9571e1f35497bc5484af8f2cfafcc3c91b6b6f18 | [
"BSD-3-Clause"
] | null | null | null | """Automated rejection and repair of epochs in M/EEG."""
__version__ = '0.4.dev0'
from .autoreject import _GlobalAutoReject, _AutoReject, AutoReject
from .autoreject import RejectLog, read_auto_reject
from .autoreject import compute_thresholds, validation_curve, get_rejection_threshold
from .ransac import Ransac
from ... | 39.777778 | 85 | 0.832402 | 46 | 358 | 6.173913 | 0.695652 | 0.147887 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.103352 | 358 | 8 | 86 | 44.75 | 0.875389 | 0.139665 | 0 | 0 | 0 | 0 | 0.02649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
072c693feffa1a8b36b1496ad6cc2d0ec1147fca | 861 | py | Python | src/net/NetSettings.py | ILoveRedEd55/AIML_Detection_System | b2fdd8475f069884060f7bb31f41953bae057d7b | [
"BSD-3-Clause"
] | null | null | null | src/net/NetSettings.py | ILoveRedEd55/AIML_Detection_System | b2fdd8475f069884060f7bb31f41953bae057d7b | [
"BSD-3-Clause"
] | null | null | null | src/net/NetSettings.py | ILoveRedEd55/AIML_Detection_System | b2fdd8475f069884060f7bb31f41953bae057d7b | [
"BSD-3-Clause"
] | null | null | null | #from src.net.D19_3Fc import *
#from src.net.old_G1D19_1Fc_1LSTM import *
#from src.net.G1D19_1Fc_1LSTM import *
#from src.net.G1D19_1Fc_2LSTM import *
#from src.net.G1D19_ResHB_ResHB_1LSTM import *
#from src.net.G2D19_1Fc_1LSTM import *
#from src.net.G2D19_BN_1Fc_1LSTM import *
#from src.net.G2D19_1Fc_2LSTM import *... | 39.136364 | 83 | 0.801394 | 134 | 861 | 4.761194 | 0.253731 | 0.153605 | 0.219436 | 0.30094 | 0.711599 | 0.5 | 0.434169 | 0.103448 | 0.103448 | 0 | 0 | 0.089147 | 0.101045 | 861 | 21 | 84 | 41 | 0.735142 | 0.662021 | 0 | 0 | 0 | 0 | 0.072464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
07458928118f8ead1f40a47d4da2ec76f35697ec | 306 | py | Python | tests/events/test_event.py | danieleades/cleo | 76a4e64668670b4cbfe68ec3ec0ec592a3eadbbd | [
"MIT"
] | null | null | null | tests/events/test_event.py | danieleades/cleo | 76a4e64668670b4cbfe68ec3ec0ec592a3eadbbd | [
"MIT"
] | null | null | null | tests/events/test_event.py | danieleades/cleo | 76a4e64668670b4cbfe68ec3ec0ec592a3eadbbd | [
"MIT"
] | null | null | null | from __future__ import annotations
from cleo.events.event import Event
def test_is_propagation_stopped():
e = Event()
assert not e.is_propagation_stopped()
def test_stop_propagation_and_is_propagation_stopped():
e = Event()
e.stop_propagation()
assert e.is_propagation_stopped()
| 18 | 55 | 0.75817 | 41 | 306 | 5.219512 | 0.414634 | 0.242991 | 0.373832 | 0.196262 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 306 | 16 | 56 | 19.125 | 0.839216 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
075b761515e72cc2c7500903c45d1c73e0846d8d | 279 | py | Python | wsgi/iportalen_django/utils/text.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 4 | 2016-09-21T17:06:01.000Z | 2018-02-06T16:36:44.000Z | wsgi/iportalen_django/utils/text.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 149 | 2016-03-07T23:50:47.000Z | 2022-03-11T23:16:33.000Z | wsgi/iportalen_django/utils/text.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 1 | 2016-03-07T23:02:06.000Z | 2016-03-07T23:02:06.000Z | import string
import random
def count_words(text):
return len(text.split())
def count_characters(text):
return len(text)
def random_string_generator(size=32, chars=string.ascii_letters + string.digits):
return ''.join(random.choice(chars) for x in range(size))
| 18.6 | 81 | 0.738351 | 41 | 279 | 4.902439 | 0.585366 | 0.079602 | 0.129353 | 0.169154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.146953 | 279 | 14 | 82 | 19.928571 | 0.836134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4ad0bebd1781a200e7975e77263f7a4671156ecd | 3,291 | py | Python | helpdesk/forms.py | vitorpvcampos/django-zdesk | b630a468a12b41f4a95c991d81bfcbf5973b5532 | [
"MIT"
] | 2 | 2020-02-27T13:17:24.000Z | 2021-01-29T19:03:53.000Z | helpdesk/forms.py | vitorpvcampos/django-zdesk | b630a468a12b41f4a95c991d81bfcbf5973b5532 | [
"MIT"
] | 236 | 2020-01-31T20:26:36.000Z | 2022-03-18T16:10:36.000Z | helpdesk/forms.py | vitorpvcampos/django-zdesk | b630a468a12b41f4a95c991d81bfcbf5973b5532 | [
"MIT"
] | 1 | 2020-08-13T15:02:03.000Z | 2020-08-13T15:02:03.000Z | from django.forms import ModelForm, Select, CheckboxInput, Textarea, TextInput, EmailInput, CheckboxSelectMultiple, \
NumberInput
from .models import Ticket
class TicketManageForm(ModelForm):
class Meta:
model = Ticket
fields = ['status',
'priority',
'tecni... | 46.352113 | 117 | 0.544515 | 273 | 3,291 | 6.417582 | 0.18315 | 0.142694 | 0.199772 | 0.299658 | 0.799087 | 0.745434 | 0.617009 | 0.617009 | 0.617009 | 0.617009 | 0 | 0 | 0.293224 | 3,291 | 70 | 118 | 47.014286 | 0.753224 | 0 | 0 | 0.634921 | 0 | 0 | 0.370404 | 0.027955 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031746 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ab0bceabb553656c3c96e3e1ed923362409db4bd | 6,220 | py | Python | productionbugs.py | rafaelh/py | b7bfdd679742480d8fb768c833ee3877fff27c56 | [
"MIT"
] | 1 | 2019-03-06T09:55:40.000Z | 2019-03-06T09:55:40.000Z | productionbugs.py | rafaelh/py | b7bfdd679742480d8fb768c833ee3877fff27c56 | [
"MIT"
] | null | null | null | productionbugs.py | rafaelh/py | b7bfdd679742480d8fb768c833ee3877fff27c56 | [
"MIT"
] | null | null | null | # Requires pypiwin32 and jira
# To Do:
# * Increase spacing between bullet points
# * Add Error handling in case the password is wrong
import datetime
from getpass import getpass
import win32com.client
from jira import JIRA
def getpassword():
""" Get JIRA password, so we aren't hardcoding it """
... | 46.41791 | 267 | 0.618328 | 745 | 6,220 | 5.147651 | 0.189262 | 0.043807 | 0.028683 | 0.037549 | 0.749935 | 0.743937 | 0.708475 | 0.681877 | 0.670143 | 0.655541 | 0 | 0.01512 | 0.234405 | 6,220 | 133 | 268 | 46.766917 | 0.790214 | 0.033119 | 0 | 0.472222 | 0 | 0 | 0.339983 | 0 | 0 | 0 | 0.000512 | 0 | 0 | 1 | 0.018519 | false | 0.064815 | 0.037037 | 0 | 0.064815 | 0.101852 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ab1987a590d6a3431878bbf98758a4fa1e68d4e1 | 48,801 | py | Python | LW-BlockCiphersPython/LED_80/LED_80_64.py | rzpbcodes/LightWeightBlockCiphers | c70047862381132eba603da7d91d8594170c3d04 | [
"MIT"
] | 4 | 2019-10-18T01:09:49.000Z | 2022-03-13T07:45:09.000Z | LW-BlockCiphersPython/LED_80/LED_80_64.py | rzpbcodes/LightWeightBlockCiphers | c70047862381132eba603da7d91d8594170c3d04 | [
"MIT"
] | null | null | null | LW-BlockCiphersPython/LED_80/LED_80_64.py | rzpbcodes/LightWeightBlockCiphers | c70047862381132eba603da7d91d8594170c3d04 | [
"MIT"
] | null | null | null | class LED_80_64:
keySize = 64
T0 = [0x00BB00DD00AA0055, 0x00BA00D100AE0057, 0x00BC00DF00A5005B, 0x00B500D900A7005A, 0x00B100DC00A40052,
0x00B000D000A00050, 0x00B700D200AF005E, 0x00B900D600A20051, 0x00B600DE00AB005C, 0x00BF00D800A9005D,
0x00BD00D300A10059, 0x00B300D700AC0056, 0x00B800DA00... | 99.189024 | 989 | 0.797443 | 2,384 | 48,801 | 16.322987 | 0.901846 | 0.002056 | 0.001079 | 0.001979 | 0.005422 | 0.002107 | 0.001388 | 0.001388 | 0.000977 | 0 | 0 | 0.716149 | 0.153419 | 48,801 | 492 | 990 | 99.189024 | 0.225759 | 0 | 0 | 0.033264 | 0 | 0 | 0 | 0 | 0 | 0 | 0.781768 | 0 | 0 | 1 | 0.018711 | false | 0 | 0 | 0.004158 | 0.060291 | 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 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ab384ec217f4b0bfe21f66d53b90a03d4252c3f6 | 471 | py | Python | givercity/cube.py | GiverPlay007/GiverCity | 3337c0904b56d266c00e8d2731d5f4b6dad71cb6 | [
"MIT"
] | 1 | 2022-01-12T02:09:16.000Z | 2022-01-12T02:09:16.000Z | givercity/cube.py | GiverPlay007/giverland.py | 3337c0904b56d266c00e8d2731d5f4b6dad71cb6 | [
"MIT"
] | null | null | null | givercity/cube.py | GiverPlay007/giverland.py | 3337c0904b56d266c00e8d2731d5f4b6dad71cb6 | [
"MIT"
] | null | null | null | from OpenGL.GL import *
vertices = (
(1, -1, -1),
(1, 1, -1),
(-1, 1, -1),
(-1, -1, -1),
(1, -1, 1),
(1, 1, 1),
(-1, -1, 1),
(-1, 1, 1)
)
edges = (
(0, 1),
(0, 3),
(0, 4),
(2, 1),
(2, 3),
(2, 7),
(6, 3),
(6, 4),
(6, 7),
(5, 1),
(5, 4),
(... | 12.076923 | 41 | 0.339703 | 71 | 471 | 2.239437 | 0.338028 | 0.289308 | 0.415094 | 0.528302 | 0.150943 | 0.150943 | 0.150943 | 0.150943 | 0.150943 | 0.150943 | 0 | 0.175627 | 0.407643 | 471 | 38 | 42 | 12.394737 | 0.394265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.032258 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ab45043bc93d821a78407e5b4e0309bfc2192982 | 177 | py | Python | locale/pot/api/core/_autosummary/pyvista-ExplicitStructuredGrid-compute_connections-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/core/_autosummary/pyvista-ExplicitStructuredGrid-compute_connections-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/core/_autosummary/pyvista-ExplicitStructuredGrid-compute_connections-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | from pyvista import examples
grid = examples.load_explicit_structured() # doctest:+SKIP
grid.compute_connections() # doctest:+SKIP
grid.plot(show_edges=True) # doctest:+SKIP
| 35.4 | 59 | 0.785311 | 23 | 177 | 5.869565 | 0.695652 | 0.244444 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 177 | 4 | 60 | 44.25 | 0.849057 | 0.231638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ab5b8e6d696ce1e9ce3eafd4016b3d20518c7619 | 59 | py | Python | src/arcrest/__init__.py | PyBigos/ArcREST | 764e9fdcd6eff2a1cf9f371fc39e6c60340f809d | [
"Apache-2.0"
] | null | null | null | src/arcrest/__init__.py | PyBigos/ArcREST | 764e9fdcd6eff2a1cf9f371fc39e6c60340f809d | [
"Apache-2.0"
] | null | null | null | src/arcrest/__init__.py | PyBigos/ArcREST | 764e9fdcd6eff2a1cf9f371fc39e6c60340f809d | [
"Apache-2.0"
] | null | null | null | import ags
import agol
#import webmap
__version__ = "1.0.7" | 14.75 | 21 | 0.762712 | 10 | 59 | 4.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.135593 | 59 | 4 | 21 | 14.75 | 0.745098 | 0.220339 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
db591537b359dcbc9d13fe95a9bdefe6de365bc8 | 201 | py | Python | Mundo3/Listas/lista006.py | JoaoPauloPereirax/Python-Study | 806dce740b0b734085aeff8d6822ef0bbc001f5a | [
"MIT"
] | null | null | null | Mundo3/Listas/lista006.py | JoaoPauloPereirax/Python-Study | 806dce740b0b734085aeff8d6822ef0bbc001f5a | [
"MIT"
] | null | null | null | Mundo3/Listas/lista006.py | JoaoPauloPereirax/Python-Study | 806dce740b0b734085aeff8d6822ef0bbc001f5a | [
"MIT"
] | null | null | null | '''Crie um programa onde o usuário digite uma expressão qualquer que use parênteses. Seu aplicativo deverá analisar se a expressão passada está com os parênteses abertos e fechados na ordem correta'''
| 100.5 | 200 | 0.810945 | 31 | 201 | 5.258065 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154229 | 201 | 1 | 201 | 201 | 0.958824 | 0.965174 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db5d3d978dcd386caab29ca3aa6e0468b7dc2bdc | 275 | py | Python | {{cookiecutter.project_slug}}/workspace/app/db/base_class.py | Arya-ai/thresher | 11c7208e1c2ec553192b20dc87af779b673171e1 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/workspace/app/db/base_class.py | Arya-ai/thresher | 11c7208e1c2ec553192b20dc87af779b673171e1 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/workspace/app/db/base_class.py | Arya-ai/thresher | 11c7208e1c2ec553192b20dc87af779b673171e1 | [
"MIT"
] | 1 | 2020-11-10T11:15:55.000Z | 2020-11-10T11:15:55.000Z | from sqlalchemy.ext.declarative import declarative_base, declared_attr
class CustomBase(object):
""" Generates __tablename__ automatically """
@declared_attr
def __tablename__(cls):
return cls.__name__.lower()
Base = declarative_base(cls=CustomBase)
| 21.153846 | 70 | 0.749091 | 29 | 275 | 6.551724 | 0.655172 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 275 | 12 | 71 | 22.916667 | 0.826087 | 0.134545 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
db6bc3b584a8833e7d2b08bfd00d3f214d7315eb | 896 | py | Python | py3canvas/tests/assignment_extensions.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | py3canvas/tests/assignment_extensions.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | py3canvas/tests/assignment_extensions.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | """AssignmentExtensions API Tests for Version 1.0.
This is a testing template for the generated AssignmentExtensionsAPI Class.
"""
import unittest
import requests
import secrets
from py3canvas.apis.assignment_extensions import AssignmentExtensionsAPI
from py3canvas.apis.assignment_extensions import Assignmentextension... | 37.333333 | 126 | 0.787946 | 97 | 896 | 7.123711 | 0.556701 | 0.026049 | 0.049204 | 0.078148 | 0.251809 | 0.251809 | 0 | 0 | 0 | 0 | 0 | 0.005305 | 0.158482 | 896 | 23 | 127 | 38.956522 | 0.911141 | 0.433036 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.416667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
db6d5a2b44b4d305298c5d2611b2031fd5d7b1a0 | 132 | py | Python | src/python/main.py | chtld/Finite_Element_Method | f38fed7a3bf472a95acbb93d5546bf2a2e8b4438 | [
"MIT"
] | 8 | 2018-09-03T14:09:51.000Z | 2022-03-09T14:12:55.000Z | src/python/main.py | chtld/Finite_Element_Method_for_1D_Possion_Equation | f38fed7a3bf472a95acbb93d5546bf2a2e8b4438 | [
"MIT"
] | null | null | null | src/python/main.py | chtld/Finite_Element_Method_for_1D_Possion_Equation | f38fed7a3bf472a95acbb93d5546bf2a2e8b4438 | [
"MIT"
] | 2 | 2020-12-03T07:15:11.000Z | 2021-03-26T09:04:07.000Z | class problem(object):
"""docstring for problem"""
def __init__(self, arg):
super(problem, self).__init__()
self.arg = arg
| 18.857143 | 33 | 0.674242 | 17 | 132 | 4.764706 | 0.588235 | 0.197531 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 132 | 6 | 34 | 22 | 0.736364 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db8a17896202360e73a75a40248e87496bb53e2f | 75 | py | Python | rtsa-gui.py | Sout/pyrf | 6412d5630707632f61cfa2fae8ceafad580a207d | [
"BSD-3-Clause"
] | null | null | null | rtsa-gui.py | Sout/pyrf | 6412d5630707632f61cfa2fae8ceafad580a207d | [
"BSD-3-Clause"
] | null | null | null | rtsa-gui.py | Sout/pyrf | 6412d5630707632f61cfa2fae8ceafad580a207d | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from pyrf.gui.spectrum_analyzer import main
main()
| 12.5 | 43 | 0.76 | 12 | 75 | 4.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 5 | 44 | 15 | 0.848485 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
dba7245360bfe37fb3a2187800688f60958058b6 | 854 | py | Python | lymph/utils/tests/test_logging.py | kashopi/lymph | 973a54b3e1d65ffecfd93cf9e5362f057f4868d2 | [
"Apache-2.0"
] | 89 | 2015-03-01T11:39:55.000Z | 2022-01-31T22:00:15.000Z | lymph/utils/tests/test_logging.py | kashopi/lymph | 973a54b3e1d65ffecfd93cf9e5362f057f4868d2 | [
"Apache-2.0"
] | 214 | 2015-01-02T23:48:49.000Z | 2020-01-14T10:47:37.000Z | lymph/utils/tests/test_logging.py | kashopi/lymph | 973a54b3e1d65ffecfd93cf9e5362f057f4868d2 | [
"Apache-2.0"
] | 36 | 2015-01-13T13:44:15.000Z | 2021-09-15T17:55:41.000Z |
import logging
from unittest import TestCase
from lymph.utils.logging import get_loglevel
class LoggingUtilsTests(TestCase):
def test_get_loglevel(self):
self.assertEqual(get_loglevel('DEBUG'), logging.DEBUG)
self.assertEqual(get_loglevel('debug'), logging.DEBUG)
self.assertEqual(get_log... | 38.818182 | 68 | 0.720141 | 95 | 854 | 6.326316 | 0.231579 | 0.237937 | 0.269551 | 0.389351 | 0.780366 | 0.663894 | 0.663894 | 0.663894 | 0.537438 | 0.537438 | 0 | 0 | 0.15808 | 854 | 21 | 69 | 40.666667 | 0.835883 | 0 | 0 | 0 | 0 | 0 | 0.062134 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 1 | 0.0625 | false | 0 | 0.1875 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dbd325e3691ee9aefba2bd16f83c4e0e30937b98 | 40 | py | Python | tests/imports/invalid.py | JohnVillalovos/webhook-proxy | fbb2df31b10a0c3ffb9572a0abde4df7e1ad2ef3 | [
"MIT"
] | null | null | null | tests/imports/invalid.py | JohnVillalovos/webhook-proxy | fbb2df31b10a0c3ffb9572a0abde4df7e1ad2ef3 | [
"MIT"
] | null | null | null | tests/imports/invalid.py | JohnVillalovos/webhook-proxy | fbb2df31b10a0c3ffb9572a0abde4df7e1ad2ef3 | [
"MIT"
] | null | null | null | raise Exception("Failed to initialize")
| 20 | 39 | 0.8 | 5 | 40 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dbdceae5e6cc7982811d6cf3bb27b4262f340a15 | 113 | py | Python | Hello World.py | Every-Developer/Test_Repository | 2d1e265696abf3c31551b1347a361c23981b8989 | [
"MIT"
] | null | null | null | Hello World.py | Every-Developer/Test_Repository | 2d1e265696abf3c31551b1347a361c23981b8989 | [
"MIT"
] | null | null | null | Hello World.py | Every-Developer/Test_Repository | 2d1e265696abf3c31551b1347a361c23981b8989 | [
"MIT"
] | null | null | null | # Github : https://github.com/Every-Developer/Test_Repository
# Programmer : Mohammadreza.D
print('Hello World')
| 28.25 | 61 | 0.769912 | 14 | 113 | 6.142857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 113 | 3 | 62 | 37.666667 | 0.834951 | 0.769912 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
917d68970114801632b997aa47a7801679d19c28 | 5,347 | py | Python | docify/formatters/html.py | rapidstack/docify | 8f15ed10dddac3728c9e4f5c2683ceefa204ce65 | [
"MIT"
] | 1 | 2019-11-19T08:06:26.000Z | 2019-11-19T08:06:26.000Z | docify/formatters/html.py | rapidstack/docify | 8f15ed10dddac3728c9e4f5c2683ceefa204ce65 | [
"MIT"
] | 2 | 2019-01-22T15:30:29.000Z | 2019-04-04T13:48:07.000Z | docify/formatters/html.py | rapidstack/docify | 8f15ed10dddac3728c9e4f5c2683ceefa204ce65 | [
"MIT"
] | 1 | 2019-01-22T11:04:05.000Z | 2019-01-22T11:04:05.000Z | import cgi
from docify.lib.formatter import Formatter
from docify import Document, components as c
__all__ = [
'DOC_TMPL',
'HTML'
]
DOC_TMPL = '''\
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
... | 29.218579 | 94 | 0.56181 | 672 | 5,347 | 4.394345 | 0.190476 | 0.119201 | 0.140874 | 0.161192 | 0.475449 | 0.279038 | 0.279038 | 0 | 0 | 0 | 0 | 0.007899 | 0.289695 | 5,347 | 182 | 95 | 29.379121 | 0.769616 | 0.014027 | 0 | 0 | 0 | 0.007353 | 0.086866 | 0.005322 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257353 | false | 0 | 0.022059 | 0.235294 | 0.536765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
91ac79dbced19fd375176b272bf3a8874d78d1e5 | 281 | py | Python | test_treebeard/models.py | kollivier/django-tree-tests | 13cd72d83a3967f2a3c011ea1dbe5ccf9fd9af31 | [
"MIT"
] | null | null | null | test_treebeard/models.py | kollivier/django-tree-tests | 13cd72d83a3967f2a3c011ea1dbe5ccf9fd9af31 | [
"MIT"
] | 1 | 2021-06-10T20:47:50.000Z | 2021-06-10T20:47:50.000Z | test_treebeard/models.py | kollivier/django-tree-tests | 13cd72d83a3967f2a3c011ea1dbe5ccf9fd9af31 | [
"MIT"
] | null | null | null | from django.db import models
from treebeard.mp_tree import MP_Node
class Object(models.Model):
name = models.CharField(max_length=50)
class TreeNode(MP_Node):
name = models.CharField(max_length=30)
def __unicode__(self):
return 'Category: %s' % self.name
| 18.733333 | 42 | 0.718861 | 40 | 281 | 4.825 | 0.625 | 0.062176 | 0.196891 | 0.227979 | 0.290155 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.181495 | 281 | 14 | 43 | 20.071429 | 0.821739 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
37e53c6637a444f50197bdfff84846244287a6e2 | 19,991 | py | Python | tests/cli/v012/test_datasource_sqlite.py | svenhofstede/great_expectations | 137a93052c6569dec823154c269d0831d3df8ddd | [
"Apache-2.0"
] | null | null | null | tests/cli/v012/test_datasource_sqlite.py | svenhofstede/great_expectations | 137a93052c6569dec823154c269d0831d3df8ddd | [
"Apache-2.0"
] | null | null | null | tests/cli/v012/test_datasource_sqlite.py | svenhofstede/great_expectations | 137a93052c6569dec823154c269d0831d3df8ddd | [
"Apache-2.0"
] | null | null | null | import os
from collections import OrderedDict
from click.testing import CliRunner
from great_expectations import DataContext
from great_expectations.cli.v012 import cli
from tests.cli.v012.test_cli import yaml
from tests.cli.v012.utils import (
assert_dict_key_and_val_in_stdout,
assert_no_logging_messages_or_... | 33.042975 | 98 | 0.674654 | 2,303 | 19,991 | 5.575771 | 0.118107 | 0.032552 | 0.04143 | 0.025232 | 0.764582 | 0.74706 | 0.741453 | 0.721361 | 0.695818 | 0.662877 | 0 | 0.008551 | 0.233655 | 19,991 | 604 | 99 | 33.097682 | 0.82735 | 0.057776 | 0 | 0.699588 | 0 | 0 | 0.211072 | 0.069787 | 0 | 0 | 0 | 0 | 0.201646 | 1 | 0.024691 | false | 0 | 0.014403 | 0 | 0.04321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37e55413b5a6380f236c419f6c2a6b3d26cff373 | 4,184 | py | Python | uplift/print_ate.py | W-Tran/uplift-modelling | 0b9b1787a33a0f67bd66dda6910b08fa67c1564d | [
"MIT"
] | 4 | 2020-06-09T03:39:42.000Z | 2022-01-26T09:11:14.000Z | uplift/print_ate.py | W-Tran/uplift-modelling | 0b9b1787a33a0f67bd66dda6910b08fa67c1564d | [
"MIT"
] | 3 | 2020-03-31T09:19:38.000Z | 2021-08-23T20:28:12.000Z | uplift/print_ate.py | W-Tran/uplift-modelling | 0b9b1787a33a0f67bd66dda6910b08fa67c1564d | [
"MIT"
] | null | null | null | def visit_rate_ate(df, test_set=False):
if test_set:
treatment_visit_rate = df[df.Treatment == 1].Outcome.mean() * 100
control_visit_rate = df[df.Treatment == 0].Outcome.mean() * 100
average_treatment_effect = treatment_visit_rate - control_visit_rate
print("Test set visit rate uplif... | 53.641026 | 119 | 0.57935 | 582 | 4,184 | 4.116838 | 0.070447 | 0.075125 | 0.068865 | 0.052588 | 0.866444 | 0.803005 | 0.754174 | 0.626878 | 0.472871 | 0.279215 | 0 | 0.02449 | 0.18021 | 4,184 | 77 | 120 | 54.337662 | 0.674052 | 0 | 0 | 0.046154 | 0 | 0 | 0.324809 | 0.023662 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107692 | false | 0 | 0 | 0 | 0.123077 | 0.476923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
37fdc5cacd75e3d07810ba394fa5ca1ac0c3ca6a | 155 | py | Python | config.py | Keys-007/AnonymousSender | d32368fc713e6dac45beba6089766aebaa708a8d | [
"MIT"
] | null | null | null | config.py | Keys-007/AnonymousSender | d32368fc713e6dac45beba6089766aebaa708a8d | [
"MIT"
] | null | null | null | config.py | Keys-007/AnonymousSender | d32368fc713e6dac45beba6089766aebaa708a8d | [
"MIT"
] | null | null | null |
import os
import os
API_ID = int(os.getenv("API_ID"))
API_HASH = os.getenv("API_HASH")
BOT_TOKEN = os.getenv("SESSION")
LOG_GRP = os.getenv("LOG_GRP")
| 14.090909 | 33 | 0.703226 | 28 | 155 | 3.642857 | 0.428571 | 0.313725 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 155 | 10 | 34 | 15.5 | 0.755556 | 0 | 0 | 0.333333 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
531ce7072a0d2fb47634da7f8f919e4516d41dd6 | 422 | py | Python | python/python3/mgpc.py | epstabler/mgtdb | 41e0018a2aebee90a5bdafe21dfac8d743aca4a7 | [
"Apache-2.0"
] | 9 | 2015-07-26T23:09:34.000Z | 2021-01-20T23:54:55.000Z | python/dev/mgpc.py | epstabler/mgtdb | 41e0018a2aebee90a5bdafe21dfac8d743aca4a7 | [
"Apache-2.0"
] | null | null | null | python/dev/mgpc.py | epstabler/mgtdb | 41e0018a2aebee90a5bdafe21dfac8d743aca4a7 | [
"Apache-2.0"
] | 7 | 2015-07-20T16:46:03.000Z | 2021-08-14T02:01:17.000Z | g = [ (['p'],[('cat','wff')]),
(['q'],[('cat','wff')]),
(['r'],[('cat','wff')]),
(['s'],[('cat','wff')]),
(['t'],[('cat','wff')]),
(['not'],[('sel','wff'),('cat','wff')]),
(['and'],[('sel','wff'),('sel','wff'),('cat','wff')]),
(['or'],[('sel','wff'),('sel'... | 38.363636 | 65 | 0.277251 | 42 | 422 | 2.785714 | 0.309524 | 0.461538 | 0.307692 | 0.410256 | 0.461538 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222749 | 422 | 10 | 66 | 42.2 | 0.356707 | 0 | 0 | 0 | 0 | 0 | 0.274882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5329a04ed2d7b8a8de09673d9d8a5d3768f3cb5a | 84 | py | Python | common/slow.py | spao234/wpt | 4b9447991bcb28f37b45532caf7f8e8747f9ad41 | [
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | common/slow.py | spao234/wpt | 4b9447991bcb28f37b45532caf7f8e8747f9ad41 | [
"BSD-3-Clause"
] | 153 | 2021-01-28T16:58:19.000Z | 2022-03-30T22:15:57.000Z | common/slow.py | spao234/wpt | 4b9447991bcb28f37b45532caf7f8e8747f9ad41 | [
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | import time
def main(request, response):
time.sleep(2)
return 200, [], b''
| 14 | 28 | 0.619048 | 12 | 84 | 4.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.22619 | 84 | 5 | 29 | 16.8 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
533cb901ee223f991a4cfca3d054ea5f4aac172f | 5,517 | py | Python | api/compliance/tests/tests_get_compliance_licences.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 3 | 2019-05-15T09:30:39.000Z | 2020-04-22T16:14:23.000Z | api/compliance/tests/tests_get_compliance_licences.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 85 | 2019-04-24T10:39:35.000Z | 2022-03-21T14:52:12.000Z | api/compliance/tests/tests_get_compliance_licences.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 1 | 2021-01-17T11:12:19.000Z | 2021-01-17T11:12:19.000Z | from datetime import datetime
from freezegun import freeze_time
from django.urls import reverse
from api.cases.enums import CaseTypeEnum
from api.compliance.tests.factories import ComplianceSiteCaseFactory, OpenLicenceReturnsFactory
from api.licences.enums import LicenceStatus
from api.staticdata.statuses.enums impo... | 51.083333 | 105 | 0.725394 | 656 | 5,517 | 5.865854 | 0.141768 | 0.096674 | 0.054054 | 0.105249 | 0.800676 | 0.757277 | 0.70842 | 0.657484 | 0.657484 | 0.634096 | 0 | 0.011732 | 0.150263 | 5,517 | 107 | 106 | 51.560748 | 0.809087 | 0 | 0 | 0.52809 | 0 | 0 | 0.059634 | 0.00435 | 0 | 0 | 0 | 0 | 0.247191 | 1 | 0.05618 | false | 0 | 0.101124 | 0 | 0.168539 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
535906e5a5c37360d3c60c63c1276a766da36322 | 188 | py | Python | scripts/item/consume_2436044.py | voidperson/v203.4 | e885cf9dc0f1adf68ca5fd0a687c360bb9a7913d | [
"MIT"
] | 44 | 2020-11-27T00:49:55.000Z | 2022-03-10T07:27:07.000Z | scripts/item/consume_2436044.py | voidperson/v203.4 | e885cf9dc0f1adf68ca5fd0a687c360bb9a7913d | [
"MIT"
] | 2 | 2021-02-24T01:04:16.000Z | 2021-07-18T14:31:09.000Z | scripts/item/consume_2436044.py | voidperson/v203.4 | e885cf9dc0f1adf68ca5fd0a687c360bb9a7913d | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Miho Damage Skin
success = sm.addDamageSkin(2436044)
if success:
sm.chat("The Miho Damage Skin has been added to your account's damage skin collection.")
sm.consumeItem(2436044)
| 31.333333 | 92 | 0.75 | 28 | 188 | 5.035714 | 0.678571 | 0.212766 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 0.164894 | 188 | 5 | 93 | 37.6 | 0.808917 | 0.085106 | 0 | 0 | 0 | 0 | 0.452941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
726a671478fa1d3ffc13d60e051d9eee7010a1ad | 261 | py | Python | azk8sml/constants.py | ritazh/azure-k8s-ml-cli | 2c38dca9c5c7c5f6fc445cfe44b8628ac76ae420 | [
"Apache-2.0"
] | null | null | null | azk8sml/constants.py | ritazh/azure-k8s-ml-cli | 2c38dca9c5c7c5f6fc445cfe44b8628ac76ae420 | [
"Apache-2.0"
] | null | null | null | azk8sml/constants.py | ritazh/azure-k8s-ml-cli | 2c38dca9c5c7c5f6fc445cfe44b8628ac76ae420 | [
"Apache-2.0"
] | null | null | null |
DOCKER_IMAGES = {
"cpu": {
"tensorflow": "ritazh/azk8sml-tensorflow:latest",
},
"gpu": {
"tensorflow": "ritazh/azk8sml-tensorflow:latest-gpu",
}
}
DEFAULT_DOCKER_IMAGE = "ritazh/azk8sml-tensorflow:latest"
DEFAULT_ARCH = "cpu"
| 18.642857 | 61 | 0.628352 | 25 | 261 | 6.4 | 0.44 | 0.24375 | 0.43125 | 0.54375 | 0.525 | 0.525 | 0 | 0 | 0 | 0 | 0 | 0.014563 | 0.210728 | 261 | 13 | 62 | 20.076923 | 0.762136 | 0 | 0 | 0 | 0 | 0 | 0.49807 | 0.3861 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
72875af2292844e14970c9d07575f1b9948fada7 | 35 | py | Python | python/events/lib/python3.4/_bootlocale.py | classmember/proof_of_concept | da284ca57806f7c05c1b39bebfe0d681db2260fc | [
"MIT"
] | null | null | null | python/events/lib/python3.4/_bootlocale.py | classmember/proof_of_concept | da284ca57806f7c05c1b39bebfe0d681db2260fc | [
"MIT"
] | 3 | 2020-06-05T23:21:54.000Z | 2021-06-10T22:02:26.000Z | python/events/lib/python3.4/_bootlocale.py | classmember/proof_of_concept | da284ca57806f7c05c1b39bebfe0d681db2260fc | [
"MIT"
] | null | null | null | /usr/lib64/python3.4/_bootlocale.py | 35 | 35 | 0.828571 | 6 | 35 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 35 | 1 | 35 | 35 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72c37b020e540362d49382ba277f391db8cae888 | 287,199 | py | Python | tests/test_unitary.py | razvnane/OpenQL | 2726e1b3e13fe1fd07173c7d9ac735134ac050e0 | [
"Apache-2.0"
] | null | null | null | tests/test_unitary.py | razvnane/OpenQL | 2726e1b3e13fe1fd07173c7d9ac735134ac050e0 | [
"Apache-2.0"
] | null | null | null | tests/test_unitary.py | razvnane/OpenQL | 2726e1b3e13fe1fd07173c7d9ac735134ac050e0 | [
"Apache-2.0"
] | null | null | null | import os
import unittest
from openql import openql as ql
from utils import file_compare
import re
import numpy as np
try:
from qxelarator import qxelarator
qx = qxelarator.QX()
except ImportError:
qx = None
curdir = os.path.dirname(os.path.realpath(__file__))
config_fn = os.path.join(curdir, 'test_cfg_no... | 195.108016 | 1,007 | 0.701437 | 47,933 | 287,199 | 4.185321 | 0.240586 | 0.022252 | 0.004023 | 0.004227 | 0.471709 | 0.470648 | 0.46987 | 0.469192 | 0.467463 | 0.464083 | 0 | 0.597471 | 0.110711 | 287,199 | 1,471 | 1,008 | 195.240653 | 0.188013 | 0.002476 | 0 | 0.624593 | 0 | 0.000814 | 0.009907 | 0.002339 | 0 | 0 | 0 | 0 | 0.184853 | 1 | 0.032573 | false | 0.003257 | 0.006515 | 0.000814 | 0.041531 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72c981372f8011575564bc3a7558f7af4ad19e77 | 263 | py | Python | diffiqult/Param.py | ferchault/DiffiQult | f675f5afce1056bfb96df3a1997da1187e388267 | [
"MIT"
] | 30 | 2018-01-11T20:35:32.000Z | 2021-12-23T02:21:55.000Z | diffiqult/Param.py | ferchault/DiffiQult | f675f5afce1056bfb96df3a1997da1187e388267 | [
"MIT"
] | 1 | 2018-01-17T11:02:04.000Z | 2018-01-17T11:02:04.000Z | diffiqult/Param.py | ferchault/DiffiQult | f675f5afce1056bfb96df3a1997da1187e388267 | [
"MIT"
] | 5 | 2018-10-20T14:31:24.000Z | 2021-08-30T20:17:31.000Z | select_atom ={
1: "H",
3: "Li",
6: "C",
7: "N",
8: "O",
9: "F",
}
select_weight ={
1: 1.00794,
6: 12,
7: 15,
8: 16,
9: 18.998403,
}
| 15.470588 | 23 | 0.235741 | 28 | 263 | 2.142857 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298077 | 0.604563 | 263 | 16 | 24 | 16.4375 | 0.278846 | 0 | 0 | 0 | 0 | 0 | 0.026616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72cfc15bada9b63f42c5f265db77957a4d1d2477 | 7,557 | py | Python | tests/api/endpoints/test_search_user.py | jjzhang166/seahub | 8ced28759fc1e158196a7743eb149882451f9143 | [
"Apache-2.0"
] | null | null | null | tests/api/endpoints/test_search_user.py | jjzhang166/seahub | 8ced28759fc1e158196a7743eb149882451f9143 | [
"Apache-2.0"
] | null | null | null | tests/api/endpoints/test_search_user.py | jjzhang166/seahub | 8ced28759fc1e158196a7743eb149882451f9143 | [
"Apache-2.0"
] | null | null | null | import json
from mock import patch
from django.core.urlresolvers import reverse
from django.test import override_settings
from seahub.contacts.models import Contact
from seahub.profile.models import Profile
from seahub.profile.utils import refresh_cache
from seahub.api2.endpoints.search_user import SearchUser
from se... | 39.565445 | 93 | 0.661109 | 1,012 | 7,557 | 4.715415 | 0.106719 | 0.080469 | 0.098072 | 0.131391 | 0.789396 | 0.761945 | 0.737846 | 0.716471 | 0.694887 | 0.64627 | 0 | 0.012236 | 0.210533 | 7,557 | 190 | 94 | 39.773684 | 0.78763 | 0.018394 | 0 | 0.652778 | 0 | 0 | 0.11252 | 0.020642 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.069444 | false | 0 | 0.069444 | 0 | 0.145833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72df838c80db8f118e99eaf0b897fc92de7e57d8 | 449 | py | Python | src/the_tale/the_tale/common/old_views/helpers.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/common/old_views/helpers.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/common/old_views/helpers.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
class EmptyResourceTestClass(resources.BaseResource):
def initialize(self):
super(ResourceTestClass, self).initialize()
class ResourceTestClass(resources.BaseResource):
def initialize(self):
super(ResourceTestClass, self).initialize()
@resour... | 17.96 | 53 | 0.685969 | 43 | 449 | 7.093023 | 0.44186 | 0.078689 | 0.157377 | 0.222951 | 0.485246 | 0.485246 | 0.485246 | 0.485246 | 0.485246 | 0 | 0 | 0 | 0.200445 | 449 | 24 | 54 | 18.708333 | 0.849582 | 0 | 0 | 0.428571 | 0 | 0 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f406c300ef1b163b5c4f982ae4292138f2d66f21 | 242 | py | Python | Interview Preparation Kit - Python/01. Warm-up Challenges/004. Repeated String.py | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 831 | 2018-05-12T19:06:09.000Z | 2022-03-31T19:33:54.000Z | Interview Preparation Kit - Python/01. Warm-up Challenges/004. Repeated String.py | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 2 | 2019-06-17T14:58:56.000Z | 2021-03-05T23:49:59.000Z | Interview Preparation Kit - Python/01. Warm-up Challenges/004. Repeated String.py | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 457 | 2018-06-11T07:01:57.000Z | 2022-03-28T11:08:34.000Z | # Problem: https://www.hackerrank.com/challenges/repeated-string/problem
# Score: 20
def repeated_string(s, n):
return n // len(s) * s.count('a') + s[0: n % len(s)].count('a')
s = input()
n = int(input())
print(repeated_string(s, n))
| 20.166667 | 72 | 0.636364 | 40 | 242 | 3.8 | 0.525 | 0.276316 | 0.197368 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014563 | 0.14876 | 242 | 11 | 73 | 22 | 0.723301 | 0.330579 | 0 | 0 | 0 | 0 | 0.012579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f4493af5011517edce155b8e665063b02aa30a73 | 2,092 | py | Python | agent/random/random_agent.py | X-DDDDD/Competition_3v3snakes | 22b35f6e20b77e8710d8a8593a26fd48a940d7e6 | [
"MIT"
] | 38 | 2021-08-04T08:39:00.000Z | 2021-12-21T02:11:55.000Z | agent/random/random_agent.py | X-DDDDD/Competition_3v3snakes | 22b35f6e20b77e8710d8a8593a26fd48a940d7e6 | [
"MIT"
] | 3 | 2021-08-13T06:40:34.000Z | 2021-12-21T03:41:23.000Z | agent/random/random_agent.py | X-DDDDD/Competition_3v3snakes | 22b35f6e20b77e8710d8a8593a26fd48a940d7e6 | [
"MIT"
] | 28 | 2021-02-26T12:52:31.000Z | 2021-12-25T14:41:42.000Z |
def sample_single_dim(action_space_list_each, is_act_continuous):
each = []
if is_act_continuous:
each = action_space_list_each.sample()
else:
if action_space_list_each.__class__.__name__ == "Discrete":
each = [0] * action_space_list_each.n
idx = action_space_list_ea... | 38.740741 | 89 | 0.56501 | 248 | 2,092 | 4.302419 | 0.165323 | 0.216495 | 0.29522 | 0.373946 | 0.792877 | 0.729147 | 0.558575 | 0.436739 | 0.436739 | 0.253046 | 0 | 0.008 | 0.342734 | 2,092 | 53 | 90 | 39.471698 | 0.768 | 0.042543 | 0 | 0.565217 | 0 | 0 | 0.029015 | 0.021011 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0 | 0 | 0.086957 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f44c41fa19798b58e1114a24320bc950bab7d977 | 829 | py | Python | management/__init__.py | anthill-gaming/game_master | aa0af04b7e6f2073a1b71878bdce46ca534a107e | [
"MIT"
] | 1 | 2018-11-30T21:56:14.000Z | 2018-11-30T21:56:14.000Z | management/__init__.py | anthill-gaming/game_master | aa0af04b7e6f2073a1b71878bdce46ca534a107e | [
"MIT"
] | null | null | null | management/__init__.py | anthill-gaming/game_master | aa0af04b7e6f2073a1b71878bdce46ca534a107e | [
"MIT"
] | null | null | null | """
Example:
from anthill.framework.core.management import Command, Option, Manager
class YourCommand(Command):
help = 'Some help text here.'
name = None
option_list = (
Option('-f', '--foo', dest='foo', default=None,
help='some help text here.'),
... | 21.815789 | 74 | 0.564536 | 90 | 829 | 5.188889 | 0.377778 | 0.068522 | 0.102784 | 0.137045 | 0.642398 | 0.599572 | 0.475375 | 0.475375 | 0.475375 | 0.218415 | 0 | 0 | 0.308806 | 829 | 37 | 75 | 22.405405 | 0.815009 | 0.899879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f44efa4a7bdad95bd04199cbf8e9e29d7fcdfe94 | 37 | py | Python | singleton.py | duducosmos/piarm | 725d0b2c40e40a301ae1cb2352108a4fd07d170b | [
"Apache-2.0"
] | null | null | null | singleton.py | duducosmos/piarm | 725d0b2c40e40a301ae1cb2352108a4fd07d170b | [
"Apache-2.0"
] | null | null | null | singleton.py | duducosmos/piarm | 725d0b2c40e40a301ae1cb2352108a4fd07d170b | [
"Apache-2.0"
] | null | null | null | import cv2
CAM = cv2.VideoCapture(0)
| 12.333333 | 25 | 0.756757 | 6 | 37 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.135135 | 37 | 2 | 26 | 18.5 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f45e540518e5ac7ddc5915a0ecd83918f4691334 | 173 | py | Python | app/utils/urlutils.py | s1hofmann/MrHyde2.0-Backbone | d1d95cb8ba3e2db60c75218625453b915e87e1bf | [
"MIT"
] | 3 | 2017-05-14T20:11:49.000Z | 2018-04-12T03:56:06.000Z | app/utils/urlutils.py | s1hofmann/MrHyde2.0-Backbone | d1d95cb8ba3e2db60c75218625453b915e87e1bf | [
"MIT"
] | null | null | null | app/utils/urlutils.py | s1hofmann/MrHyde2.0-Backbone | d1d95cb8ba3e2db60c75218625453b915e87e1bf | [
"MIT"
] | null | null | null | from flask import flash, redirect, url_for
def flash_and_redirect_to_index(message, category):
flash(message, category)
return redirect(url_for('jekyll.welcome'))
| 24.714286 | 51 | 0.774566 | 24 | 173 | 5.333333 | 0.666667 | 0.171875 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132948 | 173 | 6 | 52 | 28.833333 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0.080925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f46aa0bf96013f52af1573615e2c533665d0ca97 | 94,109 | py | Python | tests/request_mock_data.py | gaschu95/Wikipedia | b2cf390e4d11f2a3195bcf44dee9f6a9e9b31ecf | [
"MIT"
] | null | null | null | tests/request_mock_data.py | gaschu95/Wikipedia | b2cf390e4d11f2a3195bcf44dee9f6a9e9b31ecf | [
"MIT"
] | null | null | null | tests/request_mock_data.py | gaschu95/Wikipedia | b2cf390e4d11f2a3195bcf44dee9f6a9e9b31ecf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
mock_data = {
"_wiki_request calls": {
(('explaintext', ''), ('prop', 'extracts|revisions'), ('rvprop', 'ids'), ('titles', 'Celtuce')):
{'query': {'pages': {'1868108': {'extract': 'Celtuce (Lactuca sativa var. asparagina, augustana, or angustat... | 472.909548 | 22,897 | 0.692686 | 15,164 | 94,109 | 4.256067 | 0.120417 | 0.020391 | 0.041649 | 0.004091 | 0.727885 | 0.684315 | 0.660051 | 0.645408 | 0.607478 | 0.586111 | 0 | 0.095533 | 0.074137 | 94,109 | 198 | 22,898 | 475.29798 | 0.645171 | 0.000223 | 0 | 0.032258 | 0 | 0.798387 | 0.847225 | 0.196235 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008065 | 0 | 0.008065 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f486ece8c27a719486377e6a4c815fe6b414305a | 7,780 | py | Python | xjpath/test_xjpath.py | vburenin/xjpath | 98a19fd6e6d0bcdc5ecbd3651ffa8915f06d7d44 | [
"MIT"
] | 5 | 2015-03-30T18:23:46.000Z | 2021-02-09T05:31:13.000Z | xjpath/test_xjpath.py | vburenin/xjpath | 98a19fd6e6d0bcdc5ecbd3651ffa8915f06d7d44 | [
"MIT"
] | null | null | null | xjpath/test_xjpath.py | vburenin/xjpath | 98a19fd6e6d0bcdc5ecbd3651ffa8915f06d7d44 | [
"MIT"
] | 2 | 2017-07-24T21:15:01.000Z | 2017-11-08T19:55:37.000Z | import unittest
import xjpath
class TestXJPath(unittest.TestCase):
def test_get_all_dict_values_from_top(self):
d = {'t1': 1, 't2': 2, 't3': 3, 't4': 4}
v = xjpath.strict_path_lookup(d, '*')
self.assertTrue(isinstance(v, tuple))
self.assertEqual([1, 2, 3, 4], sorted(v))
def ... | 35.363636 | 79 | 0.558098 | 996 | 7,780 | 4.121486 | 0.11747 | 0.102314 | 0.109135 | 0.074543 | 0.801218 | 0.759318 | 0.709135 | 0.679172 | 0.586114 | 0.517905 | 0 | 0.029663 | 0.263368 | 7,780 | 219 | 80 | 35.525114 | 0.686617 | 0.006041 | 0 | 0.319767 | 0 | 0 | 0.055332 | 0 | 0 | 0 | 0 | 0 | 0.325581 | 1 | 0.22093 | false | 0 | 0.017442 | 0 | 0.244186 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
be3613ac69adae5fb4074745e5fda79f72fc7e9b | 122 | py | Python | wildebeest/constants.py | gsganden/wildebeest | 241c58fcea8c5848a276c6100a8f9c283fc2daa1 | [
"BSD-3-Clause"
] | 83 | 2020-07-31T00:33:17.000Z | 2022-02-12T03:06:34.000Z | wildebeest/constants.py | gsganden/wildebeest | 241c58fcea8c5848a276c6100a8f9c283fc2daa1 | [
"BSD-3-Clause"
] | 30 | 2020-07-28T15:36:29.000Z | 2022-03-23T21:13:32.000Z | wildebeest/constants.py | gsganden/wildebeest | 241c58fcea8c5848a276c6100a8f9c283fc2daa1 | [
"BSD-3-Clause"
] | 6 | 2020-08-08T14:01:14.000Z | 2022-03-05T00:19:18.000Z | """Constants"""
from pathlib import Path
from typing import Union
PathOrStr = Union[Path, str]
"""Path or string type"""
| 17.428571 | 28 | 0.721311 | 17 | 122 | 5.176471 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 6 | 29 | 20.333333 | 0.846154 | 0.07377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
be49b067b2c660d165642ae8cf4fe853e483f342 | 286 | bzl | Python | util/import/deps.bzl | ttiurani/rules_rust | 2fa92e5a139c7cb64d606718273e295ce756f0f3 | [
"Apache-2.0"
] | 1 | 2017-06-12T02:10:48.000Z | 2017-06-12T02:10:48.000Z | util/import/deps.bzl | ttiurani/rules_rust | 2fa92e5a139c7cb64d606718273e295ce756f0f3 | [
"Apache-2.0"
] | null | null | null | util/import/deps.bzl | ttiurani/rules_rust | 2fa92e5a139c7cb64d606718273e295ce756f0f3 | [
"Apache-2.0"
] | null | null | null | """
The dependencies for running the gen_rust_project binary.
"""
load("//util/import/raze:crates.bzl", "rules_rust_util_import_fetch_remote_crates")
def import_deps():
rules_rust_util_import_fetch_remote_crates()
# For legacy support
gen_rust_project_dependencies = import_deps
| 23.833333 | 83 | 0.807692 | 41 | 286 | 5.170732 | 0.512195 | 0.141509 | 0.132075 | 0.179245 | 0.339623 | 0.339623 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 286 | 11 | 84 | 26 | 0.821705 | 0.269231 | 0 | 0 | 0 | 0 | 0.353234 | 0.353234 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 1 | 0 | 1.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
be54595d0fb82119ef1848eec77b4d2a8a4370a9 | 187 | py | Python | mayan/apps/document_states/dependencies.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 1 | 2021-06-17T18:24:25.000Z | 2021-06-17T18:24:25.000Z | mayan/apps/document_states/dependencies.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 7 | 2020-06-06T00:01:04.000Z | 2022-01-13T01:47:17.000Z | mayan/apps/document_states/dependencies.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 1 | 2020-07-29T21:03:27.000Z | 2020-07-29T21:03:27.000Z | from __future__ import unicode_literals
from mayan.apps.dependencies.classes import PythonDependency
PythonDependency(
module=__name__, name='graphviz', version_string='==0.10.1'
)
| 23.375 | 63 | 0.802139 | 22 | 187 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.101604 | 187 | 7 | 64 | 26.714286 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.085562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
be8094c308092ca54b34d873f8731b397d159e7e | 201 | py | Python | territory/form.py | ChanTerelLy/partnerweb3 | 4f37f032242cbc67d57b7161ecb5960d9cfde76d | [
"MIT"
] | null | null | null | territory/form.py | ChanTerelLy/partnerweb3 | 4f37f032242cbc67d57b7161ecb5960d9cfde76d | [
"MIT"
] | null | null | null | territory/form.py | ChanTerelLy/partnerweb3 | 4f37f032242cbc67d57b7161ecb5960d9cfde76d | [
"MIT"
] | null | null | null | from django import forms
class AddressToDoForm(forms.Form):
promouter = forms.CharField()
address = forms.CharField()
entrance_img = forms.ImageField()
mailbox_img = forms.ImageField() | 28.714286 | 37 | 0.731343 | 22 | 201 | 6.590909 | 0.636364 | 0.193103 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169154 | 201 | 7 | 38 | 28.714286 | 0.868263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
be9532a6fe22024ba5dc84c0ea89f4859ec78cf8 | 109 | py | Python | setup.py | davidpirogov/sopel-contextualreminders | 6f8da67d2eff75e8498bd23d86536a155d7da577 | [
"MIT"
] | null | null | null | setup.py | davidpirogov/sopel-contextualreminders | 6f8da67d2eff75e8498bd23d86536a155d7da577 | [
"MIT"
] | null | null | null | setup.py | davidpirogov/sopel-contextualreminders | 6f8da67d2eff75e8498bd23d86536a155d7da577 | [
"MIT"
] | null | null | null | """Setup file for sopel-remind. See ``setup.cfg`` for setup config."""
from setuptools import setup
setup()
| 21.8 | 70 | 0.715596 | 16 | 109 | 4.875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 4 | 71 | 27.25 | 0.829787 | 0.587156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
be987ad72033258711643c5641bc8682bd4f91e3 | 110 | py | Python | individual_reports/apps.py | sh4rpy/report_processor | 4351abbcedb4cad578de556d1eb9e74709aac516 | [
"BSD-3-Clause"
] | null | null | null | individual_reports/apps.py | sh4rpy/report_processor | 4351abbcedb4cad578de556d1eb9e74709aac516 | [
"BSD-3-Clause"
] | null | null | null | individual_reports/apps.py | sh4rpy/report_processor | 4351abbcedb4cad578de556d1eb9e74709aac516 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class IndividualReportsConfig(AppConfig):
name = 'individual_reports'
| 18.333333 | 41 | 0.8 | 11 | 110 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 42 | 22 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe2a151dd559423112c7ebdf6caa7a9c59c24feb | 151 | py | Python | Exercicios-mundo-1/desafio016.py | talitadeoa/CEV-Exercicios-Python | 11e8ad6c6b758c5b5fdf5050a3e97f98c308ea7e | [
"MIT"
] | null | null | null | Exercicios-mundo-1/desafio016.py | talitadeoa/CEV-Exercicios-Python | 11e8ad6c6b758c5b5fdf5050a3e97f98c308ea7e | [
"MIT"
] | null | null | null | Exercicios-mundo-1/desafio016.py | talitadeoa/CEV-Exercicios-Python | 11e8ad6c6b758c5b5fdf5050a3e97f98c308ea7e | [
"MIT"
] | null | null | null | #Um programa que lê um número e fala sua porção inteira
n = float(input('Digite um número... '))
print('A porção inteira de {} é {}'.format(n,int(n)) | 30.2 | 55 | 0.675497 | 27 | 151 | 3.777778 | 0.740741 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165563 | 151 | 5 | 56 | 30.2 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.484536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fe3e4acfed8db6ff10762ff2f27c2fa058c852a9 | 1,254 | py | Python | datalad/tests/test_strings.py | AKSoo/datalad | dbc34478980c808a86b5531316c986abac953e37 | [
"MIT"
] | null | null | null | datalad/tests/test_strings.py | AKSoo/datalad | dbc34478980c808a86b5531316c986abac953e37 | [
"MIT"
] | 1 | 2020-12-01T20:13:51.000Z | 2020-12-01T20:13:51.000Z | datalad/tests/test_strings.py | jwodder/datalad | 2b92a764fdc64b750dad68eb51c817218a1ec153 | [
"MIT"
] | null | null | null | # emacs: -*- mode: python; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*-
# ex: set sts=4 ts=4 sw=4 et:
# ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
#
# See COPYING file distributed along with the datalad package for the
# copyright and license terms.
#
# ## ### ### ... | 43.241379 | 87 | 0.597289 | 152 | 1,254 | 4.717105 | 0.506579 | 0.245467 | 0.322176 | 0.1841 | 0.428173 | 0.428173 | 0.306834 | 0.306834 | 0.306834 | 0.306834 | 0 | 0.007619 | 0.162679 | 1,254 | 28 | 88 | 44.785714 | 0.675238 | 0.304625 | 0 | 0 | 0 | 0 | 0.151882 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.083333 | true | 0 | 0.166667 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe47ef556b7b9fc47c7d8598f125619a87e4e1ea | 555 | py | Python | training/src/utils/landmark_point.py | Dhruv-Mohan/PoseEstimationForMobile | 5c17272be0336398d244c567eba80a2795135dc6 | [
"Apache-2.0"
] | null | null | null | training/src/utils/landmark_point.py | Dhruv-Mohan/PoseEstimationForMobile | 5c17272be0336398d244c567eba80a2795135dc6 | [
"Apache-2.0"
] | null | null | null | training/src/utils/landmark_point.py | Dhruv-Mohan/PoseEstimationForMobile | 5c17272be0336398d244c567eba80a2795135dc6 | [
"Apache-2.0"
] | null | null | null | """
Class to handle landmarkpoints
template pt {"y":392,"x":311,"point":0,"state":"visible"}
"""
class l_point(object):
def __init__(self, **kwargs):
self.__x__ = kwargs['x']
self.__y__ = kwargs['y']
'''
self.__indx__ = kwargs['point']
if kwargs['state'] in 'visible':
... | 19.821429 | 58 | 0.535135 | 65 | 555 | 3.984615 | 0.476923 | 0.03861 | 0.046332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018421 | 0.315315 | 555 | 27 | 59 | 20.555556 | 0.663158 | 0.16036 | 0 | 0 | 0 | 0 | 0.007092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0 | 0.2 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
fe5e6db9a7e2c26380916ce0523438dd69fe4a79 | 33 | py | Python | hello.py | minna001/Learning_Python | f91cd9f719fdb3fdd5f2f2262532dad2a37a5518 | [
"MIT"
] | null | null | null | hello.py | minna001/Learning_Python | f91cd9f719fdb3fdd5f2f2262532dad2a37a5518 | [
"MIT"
] | null | null | null | hello.py | minna001/Learning_Python | f91cd9f719fdb3fdd5f2f2262532dad2a37a5518 | [
"MIT"
] | null | null | null | msg = "Hello World"
print(msg)
| 11 | 20 | 0.636364 | 5 | 33 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 2 | 21 | 16.5 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fe6078aac438553c2dd85480117e0f5bedaaf600 | 128 | py | Python | yasc/scorecard/__init__.py | Keris/yasc | eb55000e730fb2e60515a39dac82b851239a2c57 | [
"MIT"
] | 4 | 2020-05-21T06:35:48.000Z | 2021-04-12T10:49:55.000Z | yasc/scorecard/__init__.py | Keris/yasc | eb55000e730fb2e60515a39dac82b851239a2c57 | [
"MIT"
] | null | null | null | yasc/scorecard/__init__.py | Keris/yasc | eb55000e730fb2e60515a39dac82b851239a2c57 | [
"MIT"
] | null | null | null | # Author: Liqiang Du <keris.du@gmail.com>
from ._bin import mono_bin
from .util import check_target, rocplot, ksplot, woebinplot | 42.666667 | 59 | 0.789063 | 20 | 128 | 4.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 3 | 59 | 42.666667 | 0.867257 | 0.304688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fe89680464130f9e62feb8c99ccda56eb689725c | 246 | py | Python | meta_learning/backend/tensorflow/model/__init__.py | fmeier/online-meta-learning | 48d36de16d232cd3fc00c460e6419a00a043b74a | [
"MIT"
] | 23 | 2018-05-27T07:51:47.000Z | 2022-03-30T00:32:59.000Z | meta_learning/backend/tensorflow/model/__init__.py | fmeier/online-meta-learning | 48d36de16d232cd3fc00c460e6419a00a043b74a | [
"MIT"
] | null | null | null | meta_learning/backend/tensorflow/model/__init__.py | fmeier/online-meta-learning | 48d36de16d232cd3fc00c460e6419a00a043b74a | [
"MIT"
] | 7 | 2019-03-03T02:14:47.000Z | 2021-11-03T21:05:10.000Z | from tf_utils.model import interface
from meta_learning.backend.tensorflow.model.lenet_small import LenetSmall
from meta_learning.backend.tensorflow.model.rosenbrock import Rosenbrock
create_from_params = interface.Interface.create_from_params
| 35.142857 | 73 | 0.882114 | 33 | 246 | 6.333333 | 0.484848 | 0.076555 | 0.15311 | 0.220096 | 0.363636 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069106 | 246 | 6 | 74 | 41 | 0.912664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2299d11909cf984bbc16e66ba1c0fc2de4dccefa | 557 | py | Python | test/test_utils/test_subprocesses.py | ProfessorManhattan/ansibler | ca3cbd8af974b59a70e6c46b4ee7f97f68158031 | [
"MIT"
] | null | null | null | test/test_utils/test_subprocesses.py | ProfessorManhattan/ansibler | ca3cbd8af974b59a70e6c46b4ee7f97f68158031 | [
"MIT"
] | null | null | null | test/test_utils/test_subprocesses.py | ProfessorManhattan/ansibler | ca3cbd8af974b59a70e6c46b4ee7f97f68158031 | [
"MIT"
] | null | null | null | from unittest import TestCase
from ansibler.utils.subprocesses import get_subprocess_output
class TestSubprocesses(TestCase):
def test_get_subprocess_output(self):
"""
Test subprocess output
"""
out = get_subprocess_output(["echo", "Hello, world!"])
self.assertEqual(out, "H... | 29.315789 | 76 | 0.642729 | 59 | 557 | 5.864407 | 0.40678 | 0.323699 | 0.219653 | 0.138728 | 0.242775 | 0.242775 | 0.242775 | 0 | 0 | 0 | 0 | 0 | 0.236984 | 557 | 18 | 77 | 30.944444 | 0.814118 | 0.089767 | 0 | 0 | 0 | 0 | 0.126087 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
22f8a92b65e92ff466866b4ebc3e43cc2da32f88 | 162 | py | Python | test-pyfiles/verysimpletest.py | severuscat/fp-translator | 9acc0a802ed9570a4ba00b0b6ac0a69cabaa6ad0 | [
"BSD-3-Clause"
] | null | null | null | test-pyfiles/verysimpletest.py | severuscat/fp-translator | 9acc0a802ed9570a4ba00b0b6ac0a69cabaa6ad0 | [
"BSD-3-Clause"
] | null | null | null | test-pyfiles/verysimpletest.py | severuscat/fp-translator | 9acc0a802ed9570a4ba00b0b6ac0a69cabaa6ad0 | [
"BSD-3-Clause"
] | null | null | null | print "this is test-pyfiles/verysimpletest.py"
def x(c):
while c < 10:
c = c + 1
c = c + 1
print c
return c
print "300"
print x(1) | 18 | 46 | 0.524691 | 28 | 162 | 3.035714 | 0.535714 | 0.047059 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 0.364198 | 162 | 9 | 47 | 18 | 0.747573 | 0 | 0 | 0.222222 | 0 | 0 | 0.251534 | 0.184049 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.444444 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
22ff28e39faf72f881ab215239fccb18fafceb14 | 280 | py | Python | pyschema/contrib/luigi.py | HasibeZaferr/pyschema | 7e6c3934150bcb040c628d74ace6caf5fcf867df | [
"Apache-2.0"
] | 57 | 2015-01-30T06:04:05.000Z | 2022-03-26T17:51:41.000Z | pyschema/contrib/luigi.py | HasibeZaferr/pyschema | 7e6c3934150bcb040c628d74ace6caf5fcf867df | [
"Apache-2.0"
] | 19 | 2015-04-20T09:58:06.000Z | 2015-11-13T17:31:52.000Z | pyschema/contrib/luigi.py | spotify/pyschema | 7e6c3934150bcb040c628d74ace6caf5fcf867df | [
"Apache-2.0"
] | 28 | 2015-01-25T07:01:55.000Z | 2022-03-19T15:49:12.000Z | import warnings
warnings.warn(
"pyschema.contrib.luigi is deprecated and will be removed.\n"
"Please use the pyschema_extensions.luigi package instead.",
DeprecationWarning,
stacklevel=2
)
import pyschema_extensions.luigi
from pyschema_extensions.luigi import *
| 23.333333 | 65 | 0.778571 | 34 | 280 | 6.323529 | 0.676471 | 0.251163 | 0.32093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004219 | 0.153571 | 280 | 11 | 66 | 25.454545 | 0.902954 | 0 | 0 | 0 | 0 | 0 | 0.414286 | 0.167857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fe0ceb5028e40804c4e1fed42715af7ac89c0c77 | 87 | py | Python | src/advert/apps.py | 666squared999/back | 9eba86ffbbbd404b914a8cb84fc62a71bccb13d5 | [
"MIT"
] | 4 | 2021-01-21T15:29:02.000Z | 2022-02-28T07:58:55.000Z | src/advert/apps.py | 666squared999/back | 9eba86ffbbbd404b914a8cb84fc62a71bccb13d5 | [
"MIT"
] | null | null | null | src/advert/apps.py | 666squared999/back | 9eba86ffbbbd404b914a8cb84fc62a71bccb13d5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AdvertConfig(AppConfig):
name = 'advert'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe19a18a98e0324174488006dd7a6ca8fa7c3774 | 877 | py | Python | hipyelp/migrations/0007_auto_20210423_1923.py | buggydev1/Hip_yelp_Back | f80407d898d267465e5cfbf7f73905b776e91b43 | [
"MIT"
] | null | null | null | hipyelp/migrations/0007_auto_20210423_1923.py | buggydev1/Hip_yelp_Back | f80407d898d267465e5cfbf7f73905b776e91b43 | [
"MIT"
] | null | null | null | hipyelp/migrations/0007_auto_20210423_1923.py | buggydev1/Hip_yelp_Back | f80407d898d267465e5cfbf7f73905b776e91b43 | [
"MIT"
] | 2 | 2021-04-22T14:42:57.000Z | 2021-05-18T01:11:58.000Z | # Generated by Django 3.2 on 2021-04-23 19:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hipyelp', '0006_auto_20210422_0129'),
]
operations = [
migrations.AddField(
model_name='drink',
name='lat',
... | 25.794118 | 65 | 0.54504 | 88 | 877 | 5.306818 | 0.420455 | 0.154176 | 0.197002 | 0.231263 | 0.680942 | 0.680942 | 0.601713 | 0.601713 | 0.601713 | 0.526767 | 0 | 0.064298 | 0.326112 | 877 | 33 | 66 | 26.575758 | 0.725888 | 0.049031 | 0 | 0.740741 | 1 | 0 | 0.086538 | 0.027644 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
fe1e2b5600a44da8144240e0381f0e3173c52399 | 110 | py | Python | profiles_api/admin.py | shashanksharma129/profiles-rest-api | d4ee1b26aafb462ed8a0d7c4cd03e51073fa30e0 | [
"MIT"
] | null | null | null | profiles_api/admin.py | shashanksharma129/profiles-rest-api | d4ee1b26aafb462ed8a0d7c4cd03e51073fa30e0 | [
"MIT"
] | null | null | null | profiles_api/admin.py | shashanksharma129/profiles-rest-api | d4ee1b26aafb462ed8a0d7c4cd03e51073fa30e0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from profiles_api.models import UserProfile
admin.site.register(UserProfile) | 27.5 | 43 | 0.863636 | 15 | 110 | 6.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 110 | 4 | 44 | 27.5 | 0.930693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a3b3904e890896698f4bc763a95fb745fea4c807 | 141 | py | Python | ports/teensy/memzip_files/main.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | ports/teensy/memzip_files/main.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | ports/teensy/memzip_files/main.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | import pyb
print("Executing main.py")
led = pyb.LED(1)
led.on()
pyb.delay(100)
led.off()
pyb.delay(100)
led.on()
pyb.delay(100)
led.off()
| 10.071429 | 26 | 0.666667 | 27 | 141 | 3.481481 | 0.444444 | 0.255319 | 0.351064 | 0.446809 | 0.468085 | 0.468085 | 0.468085 | 0 | 0 | 0 | 0 | 0.080645 | 0.120567 | 141 | 13 | 27 | 10.846154 | 0.677419 | 0 | 0 | 0.7 | 0 | 0 | 0.120567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a3ce842ddea350abc91ba3899197657032ab574e | 233 | py | Python | validator/models/__init__.py | pbutting/qa4sm | 7b403cd542ae4d5ff5749214e3c45bcbf33f0247 | [
"MIT"
] | null | null | null | validator/models/__init__.py | pbutting/qa4sm | 7b403cd542ae4d5ff5749214e3c45bcbf33f0247 | [
"MIT"
] | null | null | null | validator/models/__init__.py | pbutting/qa4sm | 7b403cd542ae4d5ff5749214e3c45bcbf33f0247 | [
"MIT"
] | null | null | null | from .custom_user import User
from .filter import DataFilter
from .version import DatasetVersion
from .variable import DataVariable
from .dataset import Dataset
from .validation_run import ValidationRun
from .settings import Settings | 33.285714 | 41 | 0.854077 | 30 | 233 | 6.566667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11588 | 233 | 7 | 42 | 33.285714 | 0.956311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
a3d3498587166724787224f1a1d61541314fd9f9 | 319 | py | Python | lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_synthetics.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | null | null | null | lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_synthetics.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | 141 | 2021-02-04T16:22:13.000Z | 2022-03-27T08:29:40.000Z | lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_synthetics.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | 3 | 2021-02-04T14:02:01.000Z | 2022-02-02T16:46:52.000Z | from rubygems_utils import RubyGemsTestUtils
class RubyGemsTestrubygems_aws_sdk_synthetics(RubyGemsTestUtils):
def test_gem_list_rubygems_aws_sdk_synthetics(self):
self.gem_is_installed("aws-sdk-synthetics")
def test_load_aws_sdk_synthetics(self):
self.gem_is_loadable("aws-sdk-synthetics")
| 29 | 65 | 0.802508 | 41 | 319 | 5.804878 | 0.463415 | 0.12605 | 0.336134 | 0.168067 | 0.243697 | 0.243697 | 0.243697 | 0 | 0 | 0 | 0 | 0 | 0.125392 | 319 | 10 | 66 | 31.9 | 0.853047 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a3f5d098cbdb1ec1512bba82bd0373b142a9167f | 96 | py | Python | ner_trainer/apps.py | sainioan/extractiontool | 9908b7ff1915b00a5721405a48b13d941442e1dd | [
"MIT"
] | 2 | 2021-05-18T17:25:06.000Z | 2021-05-28T04:24:16.000Z | ner_trainer/apps.py | sainioan/extractiontool | 9908b7ff1915b00a5721405a48b13d941442e1dd | [
"MIT"
] | 38 | 2021-01-20T09:38:37.000Z | 2021-05-15T13:10:05.000Z | ner_trainer/apps.py | sainioan/extractiontool | 9908b7ff1915b00a5721405a48b13d941442e1dd | [
"MIT"
] | 3 | 2021-01-20T13:18:31.000Z | 2021-02-25T13:34:49.000Z | from django.apps import AppConfig
class NerTrainerConfig(AppConfig):
name = 'ner_trainer'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a3fb1992afc7d1b435d1fd45d37749ec8cf8bcce | 134 | py | Python | cases/models.py | lawalkeyd/Law_Firm | 02bf019929987e6a1b35b34bc60e5848a4a9ce35 | [
"MIT"
] | null | null | null | cases/models.py | lawalkeyd/Law_Firm | 02bf019929987e6a1b35b34bc60e5848a4a9ce35 | [
"MIT"
] | null | null | null | cases/models.py | lawalkeyd/Law_Firm | 02bf019929987e6a1b35b34bc60e5848a4a9ce35 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Cases(models.Model):
title = models.CharField(max_length=126)
| 19.142857 | 44 | 0.731343 | 19 | 134 | 5.105263 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.179104 | 134 | 7 | 45 | 19.142857 | 0.854545 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
43313652e26cd35f5264b38d64f5b98c93e1021e | 23,316 | py | Python | services/core/PlatformDriverAgent/platform_driver/interfaces/modbus_tk/tests/test_battery_meter.py | cloudcomputingabc/volttron | 6495e26e3185a7af8d0d79ad2586bdf8ea83992d | [
"Apache-2.0",
"BSD-2-Clause"
] | 406 | 2015-01-20T03:08:53.000Z | 2022-03-31T20:59:07.000Z | services/core/PlatformDriverAgent/platform_driver/interfaces/modbus_tk/tests/test_battery_meter.py | cloudcomputingabc/volttron | 6495e26e3185a7af8d0d79ad2586bdf8ea83992d | [
"Apache-2.0",
"BSD-2-Clause"
] | 2,031 | 2015-01-05T21:35:45.000Z | 2022-03-29T21:44:36.000Z | services/core/PlatformDriverAgent/platform_driver/interfaces/modbus_tk/tests/test_battery_meter.py | cloudcomputingabc/volttron | 6495e26e3185a7af8d0d79ad2586bdf8ea83992d | [
"Apache-2.0",
"BSD-2-Clause"
] | 219 | 2015-01-20T14:53:57.000Z | 2022-03-06T00:37:41.000Z | import pytest
import gevent
import logging
import time
from volttron.platform import get_services_core, jsonapi
from volttrontesting.utils.utils import get_rand_ip_and_port
from platform_driver.interfaces.modbus_tk.server import Server
from platform_driver.interfaces.modbus_tk.maps import Map, Catalog
from volttron.pl... | 59.177665 | 112 | 0.704023 | 3,289 | 23,316 | 4.878991 | 0.107327 | 0.065807 | 0.073783 | 0.106063 | 0.813485 | 0.770362 | 0.722565 | 0.605845 | 0.493114 | 0.415093 | 0 | 0.029623 | 0.199348 | 23,316 | 393 | 113 | 59.328244 | 0.829976 | 0.059444 | 0 | 0.043614 | 0 | 0.074766 | 0.74962 | 0.216391 | 0 | 0 | 0 | 0 | 0.006231 | 1 | 0.021807 | false | 0 | 0.224299 | 0 | 0.261682 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4337bdd4b4d07fbc421c8570067716280584d906 | 2,836 | py | Python | examples/parser/test_precedence.py | rartino/python-optimade-server | 84457091c7ec0db52a7e034bb6a7cd4bcbdd4e57 | [
"MIT"
] | null | null | null | examples/parser/test_precedence.py | rartino/python-optimade-server | 84457091c7ec0db52a7e034bb6a7cd4bcbdd4e57 | [
"MIT"
] | null | null | null | examples/parser/test_precedence.py | rartino/python-optimade-server | 84457091c7ec0db52a7e034bb6a7cd4bcbdd4e57 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from __future__ import print_function
import sys, os
from pprint import pprint
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))),'src'))
from parse.miniparser import parser, build_ls, ParserSyntaxError
grammar = """
S = E ;
E = E ... | 30.826087 | 121 | 0.48237 | 366 | 2,836 | 3.601093 | 0.174863 | 0.042489 | 0.038695 | 0.042489 | 0.757208 | 0.757208 | 0.710167 | 0.710167 | 0.676024 | 0.622914 | 0 | 0.005238 | 0.192172 | 2,836 | 91 | 122 | 31.164835 | 0.570057 | 0.007052 | 0 | 0.471429 | 0 | 0 | 0.220604 | 0.02238 | 0.028571 | 0 | 0 | 0 | 0.1 | 1 | 0 | false | 0.014286 | 0.057143 | 0 | 0.057143 | 0.3 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a3832f78da831d5b49d9468a2ae18e5fa4651ed | 90 | py | Python | beer_api/apps.py | Nick-exe/beer-rest-api | 76730bef9ede87da215650ff0720c86a7cac1ad2 | [
"MIT"
] | null | null | null | beer_api/apps.py | Nick-exe/beer-rest-api | 76730bef9ede87da215650ff0720c86a7cac1ad2 | [
"MIT"
] | 6 | 2020-06-06T01:35:26.000Z | 2021-06-10T19:57:00.000Z | beer_api/apps.py | Nick-exe/beer-rest-api | 76730bef9ede87da215650ff0720c86a7cac1ad2 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BeerApiConfig(AppConfig):
name = 'beer_api'
| 15 | 33 | 0.755556 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4a43939ea3ad95db66a8a28555b4c0b5789638dd | 2,085 | py | Python | wrappers/python/tests/crypto/test_unpack_message.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | 636 | 2017-05-25T07:45:43.000Z | 2022-03-23T22:30:34.000Z | wrappers/python/tests/crypto/test_unpack_message.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 731 | 2017-05-29T07:15:08.000Z | 2022-03-31T07:55:58.000Z | wrappers/python/tests/crypto/test_unpack_message.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 904 | 2017-05-25T07:45:49.000Z | 2022-03-31T07:43:31.000Z | import json
import pytest
from indy import crypto, error
@pytest.mark.asyncio
async def test_pack_message_and_unpack_message_authcrypt_works(wallet_handle, identity_my1, identity_steward1,
pack_message):
# setup keys
_, sender_vk = identity_my1
... | 38.611111 | 117 | 0.76259 | 260 | 2,085 | 5.711538 | 0.192308 | 0.103704 | 0.102357 | 0.084175 | 0.799327 | 0.799327 | 0.76431 | 0.76431 | 0.678788 | 0.678788 | 0 | 0.00692 | 0.168345 | 2,085 | 53 | 118 | 39.339623 | 0.849481 | 0.057554 | 0 | 0.59375 | 0 | 0 | 0.041922 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0 | false | 0 | 0.09375 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a44c722a2d9dc07fb7bb3e686e43c59564dfd55 | 194 | py | Python | workout_tracker/equipment/models.py | e-dang/Workout-Tracker | 00a27597ea628cff62b320d616f56b2df4f344a0 | [
"MIT"
] | null | null | null | workout_tracker/equipment/models.py | e-dang/Workout-Tracker | 00a27597ea628cff62b320d616f56b2df4f344a0 | [
"MIT"
] | null | null | null | workout_tracker/equipment/models.py | e-dang/Workout-Tracker | 00a27597ea628cff62b320d616f56b2df4f344a0 | [
"MIT"
] | null | null | null | from core.models import OwnedMultiAliasResource
class Equipment(OwnedMultiAliasResource):
class Meta:
unique_together = ['name', 'owner']
verbose_name_plural = 'equipment'
| 24.25 | 47 | 0.726804 | 18 | 194 | 7.666667 | 0.777778 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190722 | 194 | 7 | 48 | 27.714286 | 0.878981 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4a6a5e8d5acee269ce4be1c41aeeb9fcc0a93c95 | 268 | py | Python | sphinxcontrib/test_reports/directives/__init__.py | bbognar1992/sphinx-test-reports | 424543ba5ad7776f37ad8de852826ff3bc558f65 | [
"MIT"
] | 12 | 2019-04-06T14:12:06.000Z | 2021-11-04T21:10:03.000Z | sphinxcontrib/test_reports/directives/__init__.py | bbognar1992/sphinx-test-reports | 424543ba5ad7776f37ad8de852826ff3bc558f65 | [
"MIT"
] | 20 | 2018-11-16T09:56:27.000Z | 2022-02-04T22:07:43.000Z | sphinxcontrib/test_reports/directives/__init__.py | bbognar1992/sphinx-test-reports | 424543ba5ad7776f37ad8de852826ff3bc558f65 | [
"MIT"
] | 7 | 2018-11-23T14:13:40.000Z | 2021-12-16T14:44:43.000Z | # from .test_case import TestCase, TestCaseDirective
# from .test_common import TestCommonDirective
# from .test_file import TestFile, TestFileDirective
# from .test_report import TestReport, TestReportDirective
# from .test_suite import TestSuite, TestSuiteDirective
| 44.666667 | 58 | 0.839552 | 29 | 268 | 7.586207 | 0.586207 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108209 | 268 | 5 | 59 | 53.6 | 0.920502 | 0.958955 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a6b49afac53fc3a53b3f2be64f43253d92f88aa | 174 | py | Python | llvmpy/src/LLVMContext.py | pfalcon/llvmpy | 2338eae5f6a91651125b8180abafa8c9afaa90d8 | [
"BSD-3-Clause"
] | 1 | 2017-02-12T19:34:14.000Z | 2017-02-12T19:34:14.000Z | llvmpy/src/LLVMContext.py | pfalcon/llvmpy | 2338eae5f6a91651125b8180abafa8c9afaa90d8 | [
"BSD-3-Clause"
] | null | null | null | llvmpy/src/LLVMContext.py | pfalcon/llvmpy | 2338eae5f6a91651125b8180abafa8c9afaa90d8 | [
"BSD-3-Clause"
] | null | null | null | from binding import *
from .namespace import llvm
@llvm.Class()
class LLVMContext:
_include_ = "llvm/LLVMContext.h"
llvm.Function('getGlobalContext', ref(LLVMContext))
| 19.333333 | 51 | 0.758621 | 20 | 174 | 6.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 8 | 52 | 21.75 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0.195402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4a70b5df642d9b11db2eda2bf60d6a212910c317 | 60 | py | Python | src/readers/__init__.py | DSSerialGeneva/cd15c0un7 | 93bc45854c5c58802c5ec69613a9253b7f927cb9 | [
"Apache-2.0"
] | null | null | null | src/readers/__init__.py | DSSerialGeneva/cd15c0un7 | 93bc45854c5c58802c5ec69613a9253b7f927cb9 | [
"Apache-2.0"
] | null | null | null | src/readers/__init__.py | DSSerialGeneva/cd15c0un7 | 93bc45854c5c58802c5ec69613a9253b7f927cb9 | [
"Apache-2.0"
] | null | null | null | from src.readers.simple_BSON_reader import SimpleBSONReader
| 30 | 59 | 0.9 | 8 | 60 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 60 | 1 | 60 | 60 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4a72436342bc6b01fe8bcaf3c2d9b3c5738bdc49 | 11,286 | py | Python | tests/handlers/v2/test_user.py | homebysix/consoleme | ff800dd154c4a2be30ff7350f58d92ea4c8446d0 | [
"Apache-2.0"
] | 3 | 2021-08-15T01:19:24.000Z | 2022-01-16T22:57:08.000Z | tests/handlers/v2/test_user.py | homebysix/consoleme | ff800dd154c4a2be30ff7350f58d92ea4c8446d0 | [
"Apache-2.0"
] | 3 | 2021-09-08T03:07:37.000Z | 2022-03-12T00:57:18.000Z | tests/handlers/v2/test_user.py | homebysix/consoleme | ff800dd154c4a2be30ff7350f58d92ea4c8446d0 | [
"Apache-2.0"
] | 1 | 2021-06-02T16:53:05.000Z | 2021-06-02T16:53:05.000Z | import json
from asgiref.sync import async_to_sync
from tornado.testing import AsyncHTTPTestCase
class TestUserRegistrationApi(AsyncHTTPTestCase):
def get_app(self):
from consoleme.config import config
config.CONFIG.config["auth"]["get_user_by_password"] = True
config.CONFIG.config["auth... | 34.096677 | 162 | 0.509835 | 984 | 11,286 | 5.729675 | 0.167683 | 0.058531 | 0.038311 | 0.035474 | 0.780596 | 0.758425 | 0.700426 | 0.683044 | 0.668145 | 0.629656 | 0 | 0.017258 | 0.373649 | 11,286 | 330 | 163 | 34.2 | 0.780308 | 0.010101 | 0 | 0.567474 | 0 | 0.00692 | 0.264732 | 0.036539 | 0 | 0 | 0 | 0 | 0.076125 | 1 | 0.034602 | false | 0.076125 | 0.051903 | 0 | 0.107266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4a78aff4ce5a6c1aa730736f01a6ce147f72ed97 | 165 | py | Python | tests/conftest.py | genejiang2012/DataFactory | 2b92b820ec8483e46b77575deb49e2b036826af9 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | genejiang2012/DataFactory | 2b92b820ec8483e46b77575deb49e2b036826af9 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | genejiang2012/DataFactory | 2b92b820ec8483e46b77575deb49e2b036826af9 | [
"Apache-2.0"
] | null | null | null | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time : 2022/2/9 22:13
# @Author : Gene Jiang
# @File : conftest.py.py
# @Description:
import pytest
| 11.785714 | 27 | 0.569697 | 23 | 165 | 4.086957 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 0.242424 | 165 | 13 | 28 | 12.692308 | 0.656 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4a8d9187ba86a2213e29150eb48668516b999cb1 | 68 | py | Python | app/initial_setup.py | TerenceFox/itemcatalog | 88621ea3e0383d9b43fe9341fa355b3f4928ead4 | [
"MIT"
] | null | null | null | app/initial_setup.py | TerenceFox/itemcatalog | 88621ea3e0383d9b43fe9341fa355b3f4928ead4 | [
"MIT"
] | null | null | null | app/initial_setup.py | TerenceFox/itemcatalog | 88621ea3e0383d9b43fe9341fa355b3f4928ead4 | [
"MIT"
] | null | null | null | #!venv/bin/python
import os
os.environ["FLASK_APP"] = "catalog.py"
| 13.6 | 38 | 0.705882 | 11 | 68 | 4.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 4 | 39 | 17 | 0.770492 | 0.235294 | 0 | 0 | 0 | 0 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4aa9683bd2243777d742470e1f50ee5ac7299a54 | 129 | py | Python | datadoglog/__init__.py | gadventures/datadoglog | 0752eab4919f3ebe2ef5bc3e734c58ad097bbca0 | [
"Apache-2.0"
] | 1 | 2018-12-31T15:05:54.000Z | 2018-12-31T15:05:54.000Z | datadoglog/__init__.py | gadventures/datadoglog | 0752eab4919f3ebe2ef5bc3e734c58ad097bbca0 | [
"Apache-2.0"
] | null | null | null | datadoglog/__init__.py | gadventures/datadoglog | 0752eab4919f3ebe2ef5bc3e734c58ad097bbca0 | [
"Apache-2.0"
] | 1 | 2019-01-23T15:18:07.000Z | 2019-01-23T15:18:07.000Z | from .formatters import FormatFactory
from .handlers import start_logger
__all__ = [
'FormatFactory',
'start_logger',
]
| 16.125 | 37 | 0.736434 | 13 | 129 | 6.846154 | 0.615385 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178295 | 129 | 7 | 38 | 18.428571 | 0.839623 | 0 | 0 | 0 | 0 | 0 | 0.193798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4aace43d92496e3278bb50b208de2c27ef130b14 | 319 | py | Python | python/commandline.py | gamergames123/EmailMessaging | 990f672e8ab51dcb75226016ea053aca315fc359 | [
"MIT"
] | 2 | 2017-07-24T15:52:03.000Z | 2017-10-16T14:12:35.000Z | python/commandline.py | gamergames123/EmailMessaging | 990f672e8ab51dcb75226016ea053aca315fc359 | [
"MIT"
] | null | null | null | python/commandline.py | gamergames123/EmailMessaging | 990f672e8ab51dcb75226016ea053aca315fc359 | [
"MIT"
] | null | null | null | import sys
from main import sendMail
if __name__ == '__main__':
if len(sys.argv) == 6:
sendMail(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5])
print("Email Message Sent Successfully!")
else:
print("Usage: python commandline.py [subject] [body] [from] [to] [password]") | 35.444444 | 85 | 0.630094 | 46 | 319 | 4.195652 | 0.630435 | 0.217617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.200627 | 319 | 9 | 85 | 35.444444 | 0.733333 | 0 | 0 | 0 | 0 | 0.125 | 0.3375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4ac37f8b8df25dae5ed2a4a712ada604b6356ba8 | 16,441 | py | Python | unit_tests/web_tests/test_web_setting.py | hep-gc/cloud-scheduler-2 | 180d9dc4f8751cf8c8254518e46f83f118187e84 | [
"Apache-2.0"
] | null | null | null | unit_tests/web_tests/test_web_setting.py | hep-gc/cloud-scheduler-2 | 180d9dc4f8751cf8c8254518e46f83f118187e84 | [
"Apache-2.0"
] | null | null | null | unit_tests/web_tests/test_web_setting.py | hep-gc/cloud-scheduler-2 | 180d9dc4f8751cf8c8254518e46f83f118187e84 | [
"Apache-2.0"
] | null | null | null | if __name__ == "__main__" or __name__ == "test_web_setting":
__package__ = 'cloudscheduler.unit_tests.web_tests'
import unittest
import sys
from . import web_test_setup_cleanup as wtsc
from . import web_test_assertions_v2 as wta
from . import web_test_page_objects as pages
from . import web_test_helpers as helpers... | 49.670695 | 148 | 0.689557 | 1,998 | 16,441 | 5.460961 | 0.100601 | 0.063056 | 0.05719 | 0.029603 | 0.774723 | 0.740354 | 0.714967 | 0.698561 | 0.698561 | 0.65466 | 0 | 0.005806 | 0.20382 | 16,441 | 330 | 149 | 49.821212 | 0.827731 | 0.165136 | 0 | 0.505929 | 0 | 0 | 0.118793 | 0.019701 | 0 | 0 | 0 | 0 | 0.114625 | 1 | 0.118577 | false | 0.067194 | 0.023715 | 0 | 0.177866 | 0.063241 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4ac7002aa7587356b18622033eb4bfa5df85326f | 118 | py | Python | ml_kiwi/errors.py | fridex/ml_kiwi | 0033ff19a405bd731ed9c0ca9eccc0be2c7728c8 | [
"MIT"
] | null | null | null | ml_kiwi/errors.py | fridex/ml_kiwi | 0033ff19a405bd731ed9c0ca9eccc0be2c7728c8 | [
"MIT"
] | 1 | 2021-03-25T21:48:08.000Z | 2021-03-25T21:48:08.000Z | ml_kiwi/errors.py | fridex/ml_kiwi | 0033ff19a405bd731ed9c0ca9eccc0be2c7728c8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Error exceptions."""
class InputError(Exception):
"""Raised on invalid user input."""
| 16.857143 | 39 | 0.669492 | 14 | 118 | 5.642857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.144068 | 118 | 6 | 40 | 19.666667 | 0.772277 | 0.584746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4368b7a666228394bdde1680f87eedc1904ae69b | 165 | py | Python | test/unit/__init__.py | muchu1983/104_mops | 9530fee6999b7536cb5550d7be4c94baf186b19b | [
"BSD-3-Clause"
] | null | null | null | test/unit/__init__.py | muchu1983/104_mops | 9530fee6999b7536cb5550d7be4c94baf186b19b | [
"BSD-3-Clause"
] | null | null | null | test/unit/__init__.py | muchu1983/104_mops | 9530fee6999b7536cb5550d7be4c94baf186b19b | [
"BSD-3-Clause"
] | null | null | null | """
Copyright (C) 2015, MuChu Hsu
Contributed by Muchu Hsu (muchu1983@gmail.com)
This file is part of BSD license
<https://opensource.org/licenses/BSD-3-Clause>
""" | 23.571429 | 46 | 0.739394 | 26 | 165 | 4.692308 | 0.884615 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062069 | 0.121212 | 165 | 7 | 47 | 23.571429 | 0.77931 | 0.951515 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4371626e39528a9a7d6ae2f5d35ba717aa8169d8 | 220 | py | Python | what_apps/service/forms.py | SlashRoot/WHAT | 69e78d01065142446234e77ea7c8c31e3482af29 | [
"MIT"
] | null | null | null | what_apps/service/forms.py | SlashRoot/WHAT | 69e78d01065142446234e77ea7c8c31e3482af29 | [
"MIT"
] | null | null | null | what_apps/service/forms.py | SlashRoot/WHAT | 69e78d01065142446234e77ea7c8c31e3482af29 | [
"MIT"
] | null | null | null | from django import forms
from what_apps.utility.forms import GenericPartyField, JqueryDatePicker
class MostBasicServiceCheckInForm(forms.Form):
customer = GenericPartyField()
projected = JqueryDatePicker()
| 27.5 | 71 | 0.8 | 20 | 220 | 8.75 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140909 | 220 | 7 | 72 | 31.428571 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
43a5cc741544744b962a7294931fb17aec04fbd2 | 124 | py | Python | CrossCafe/menu/apps.py | kidaman/Cafeteria | c5e74923a8fcbb7767017bec085e13aaf9411909 | [
"BSD-3-Clause"
] | null | null | null | CrossCafe/menu/apps.py | kidaman/Cafeteria | c5e74923a8fcbb7767017bec085e13aaf9411909 | [
"BSD-3-Clause"
] | 1 | 2020-06-05T17:31:20.000Z | 2020-06-05T17:31:20.000Z | CrossCafe/menu/apps.py | kidaman/Cafeteria | c5e74923a8fcbb7767017bec085e13aaf9411909 | [
"BSD-3-Clause"
] | 4 | 2019-11-29T07:03:08.000Z | 2022-02-15T05:12:30.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class MenuConfig(AppConfig):
name = 'menu'
| 15.5 | 39 | 0.782258 | 15 | 124 | 6.133333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 124 | 7 | 40 | 17.714286 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
43bda08b616bdc89f9b427f3df7127ec8f568c2b | 812 | py | Python | db/cache.py | BernarBerdikul/Auth_sprint_2 | 9286803f7e073456b2f02f2072072773331b9e5b | [
"BSD-3-Clause"
] | null | null | null | db/cache.py | BernarBerdikul/Auth_sprint_2 | 9286803f7e073456b2f02f2072072773331b9e5b | [
"BSD-3-Clause"
] | null | null | null | db/cache.py | BernarBerdikul/Auth_sprint_2 | 9286803f7e073456b2f02f2072072773331b9e5b | [
"BSD-3-Clause"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Union
class AbstractCache(ABC):
def __init__(self, cache_instance):
self.cache = cache_instance
@abstractmethod
def get(self, key: str, **kwargs):
pass
@abstractmethod
def add_token(self, key: str, expire: int, value: Union[b... | 20.3 | 73 | 0.644089 | 95 | 812 | 5.326316 | 0.378947 | 0.249012 | 0.20751 | 0.059289 | 0.211462 | 0.102767 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272167 | 812 | 39 | 74 | 20.820513 | 0.856176 | 0 | 0 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0.275862 | 0.068966 | 0 | 0.344828 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
78f72166c88adca1fec2728b49b755d72c0addd3 | 91 | py | Python | attack-defence-challenges/tastyriffs/service/generate_pic.py | wongwaituck/crossctf-2017-finals-public | bb180bcb3fdb559b7d7040fbe01c4fca98322f11 | [
"MIT"
] | 6 | 2017-06-26T15:07:19.000Z | 2018-10-09T20:03:27.000Z | attack-defence-challenges/tastyriffs/service/generate_pic.py | wongwaituck/crossctf-2017-finals-public | bb180bcb3fdb559b7d7040fbe01c4fca98322f11 | [
"MIT"
] | null | null | null | attack-defence-challenges/tastyriffs/service/generate_pic.py | wongwaituck/crossctf-2017-finals-public | bb180bcb3fdb559b7d7040fbe01c4fca98322f11 | [
"MIT"
] | 1 | 2018-08-18T00:49:02.000Z | 2018-08-18T00:49:02.000Z | #!/usr/bin/python
import random
file("/picpic", "w").write(str(random.getrandbits(128)))
| 15.166667 | 56 | 0.692308 | 13 | 91 | 4.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.076923 | 91 | 5 | 57 | 18.2 | 0.714286 | 0.175824 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
78fa5b6c6a895cb04e1813462ed6a7eefd8c1fa6 | 102 | py | Python | configs/fp16/faster_rcnn_r50_fpn_fp16_1x_coco.py | evgps/mmdetection_trashcan | aaf4237c2c0d473425cdc7b741d3009177b79751 | [
"Apache-2.0"
] | 426 | 2020-10-16T08:09:27.000Z | 2022-03-30T03:36:04.000Z | configs/fp16/faster_rcnn_r50_fpn_fp16_1x_coco.py | evgps/mmdetection_trashcan | aaf4237c2c0d473425cdc7b741d3009177b79751 | [
"Apache-2.0"
] | 170 | 2020-09-08T12:29:06.000Z | 2022-03-31T18:28:09.000Z | configs/fp16/faster_rcnn_r50_fpn_fp16_1x_coco.py | evgps/mmdetection_trashcan | aaf4237c2c0d473425cdc7b741d3009177b79751 | [
"Apache-2.0"
] | 84 | 2021-05-29T06:58:14.000Z | 2022-03-31T07:44:10.000Z | _base_ = '../faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py'
# fp16 settings
fp16 = dict(loss_scale=512.)
| 25.5 | 56 | 0.77451 | 17 | 102 | 4.117647 | 0.823529 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 0.088235 | 102 | 3 | 57 | 34 | 0.645161 | 0.127451 | 0 | 0 | 0 | 0 | 0.517241 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
60112066e6713ad167ed0d5ecce63b1b18fb6a6e | 776 | py | Python | symphony/cli/pyinventory/graphql/input/file.py | rohan-prasad/magma | 2c1f36d2fd04eae90366cc8b314eaab656d7f8ad | [
"BSD-3-Clause"
] | null | null | null | symphony/cli/pyinventory/graphql/input/file.py | rohan-prasad/magma | 2c1f36d2fd04eae90366cc8b314eaab656d7f8ad | [
"BSD-3-Clause"
] | 6 | 2021-03-31T19:59:59.000Z | 2022-01-22T12:56:47.000Z | symphony/cli/pyworkforce/graphql/input/file.py | fbcode/magma_old | 054ef8e079478bda36d2b13b8a88386c6dc94ef2 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# @generated AUTOGENERATED file. Do not Change!
from dataclasses import dataclass
from datetime import datetime
from functools import partial
from gql.gql.datetime_utils import DATETIME_FIELD
from numbers import Number
from typing import Any, Callable, List, Mapping, Optional
from dataclasses_j... | 27.714286 | 57 | 0.76933 | 97 | 776 | 6.092784 | 0.474227 | 0.055838 | 0.076142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001536 | 0.161082 | 776 | 27 | 58 | 28.740741 | 0.906298 | 0.08634 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.45 | 0 | 0.95 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6031013dab2ea2a78f0cf45da5f5aa2584ff113c | 133 | py | Python | pyiArduinoI2Cencoder/setup.py | tremaru/pyiArduinoI2Cencoder | acd3e8fc48c29d1027740174c860307459915da6 | [
"MIT"
] | null | null | null | pyiArduinoI2Cencoder/setup.py | tremaru/pyiArduinoI2Cencoder | acd3e8fc48c29d1027740174c860307459915da6 | [
"MIT"
] | null | null | null | pyiArduinoI2Cencoder/setup.py | tremaru/pyiArduinoI2Cencoder | acd3e8fc48c29d1027740174c860307459915da6 | [
"MIT"
] | null | null | null | from distutils.core import setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize("pyiArduinoI2Cencoder.pyx")
)
| 16.625 | 53 | 0.796992 | 16 | 133 | 6.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.12782 | 133 | 7 | 54 | 19 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 0.180451 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6058a561379080c85b5c215884d6d2318f8416aa | 160 | py | Python | database_email/admin.py | fabioanderegg/django-database-email | 2a9a1d888365db1d3b3564cf56c22a64a827d5d9 | [
"MIT"
] | null | null | null | database_email/admin.py | fabioanderegg/django-database-email | 2a9a1d888365db1d3b3564cf56c22a64a827d5d9 | [
"MIT"
] | null | null | null | database_email/admin.py | fabioanderegg/django-database-email | 2a9a1d888365db1d3b3564cf56c22a64a827d5d9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import EMail
@admin.register(EMail)
class EMailAdmin(admin.ModelAdmin):
list_display = ('name', 'subject')
| 17.777778 | 38 | 0.75 | 20 | 160 | 5.95 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 160 | 8 | 39 | 20 | 0.862319 | 0 | 0 | 0 | 0 | 0 | 0.06875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6062f61d99ed167367673877e041abc1296b2825 | 4,920 | py | Python | tests/test_remote_control.py | Albert-91/precon | aaded1d6a5f743b3539ea46b19a37a7bf9930e05 | [
"MIT"
] | null | null | null | tests/test_remote_control.py | Albert-91/precon | aaded1d6a5f743b3539ea46b19a37a7bf9930e05 | [
"MIT"
] | null | null | null | tests/test_remote_control.py | Albert-91/precon | aaded1d6a5f743b3539ea46b19a37a7bf9930e05 | [
"MIT"
] | null | null | null | import curses
from typing import Union, Callable
from unittest.mock import Mock, MagicMock
import pytest
from pytest_mock import MockerFixture
from precon.remote_control import steer_vehicle, Screen
@pytest.fixture()
def patch_screen() -> Callable[[Union[str, int]], Mock]:
def inner(key: Union[str, int]) -> Moc... | 26.031746 | 95 | 0.685976 | 634 | 4,920 | 5.009464 | 0.14511 | 0.048489 | 0.071788 | 0.059824 | 0.801952 | 0.767003 | 0.732368 | 0.679156 | 0.679156 | 0.679156 | 0 | 0.001257 | 0.19126 | 4,920 | 188 | 96 | 26.170213 | 0.796934 | 0 | 0 | 0.683871 | 0 | 0 | 0.142683 | 0.100407 | 0 | 0 | 0 | 0 | 0.03871 | 1 | 0.03871 | false | 0 | 0.03871 | 0.006452 | 0.096774 | 0.045161 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6077cda6ae7c72a5e68168925db1a2343e29c6cf | 247 | py | Python | src/train_v1/features/basetransformer.py | yota-p/kaggle_titanic | 36d2c53711482195f519d9280abadf0d6afa9a15 | [
"MIT"
] | null | null | null | src/train_v1/features/basetransformer.py | yota-p/kaggle_titanic | 36d2c53711482195f519d9280abadf0d6afa9a15 | [
"MIT"
] | 8 | 2020-12-12T10:06:14.000Z | 2020-12-30T07:09:52.000Z | src/features/basetransformer.py | yota-p/kaggle_jane-street-market-prediction | c39d65652d3ce531e99efbc50926cd95cba8b466 | [
"MIT"
] | null | null | null | from sklearn.base import BaseEstimator, TransformerMixin
class BaseTransformer(BaseEstimator, TransformerMixin):
def fit(self, X, y=None):
raise NotImplementedError()
def transform(self, X):
raise NotImplementedError()
| 22.454545 | 56 | 0.728745 | 24 | 247 | 7.5 | 0.708333 | 0.322222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190283 | 247 | 10 | 57 | 24.7 | 0.9 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
60814e2b20159c8725bc54429c0a8eec9011cd4b | 216 | py | Python | project/settings/__init__.py | xobb1t/ddash2013 | d1fcd95311ab51955d5ab9c1a7ba3315c6df1afa | [
"MIT"
] | 1 | 2016-03-22T21:18:11.000Z | 2016-03-22T21:18:11.000Z | project/settings/__init__.py | xobb1t/ddash2013 | d1fcd95311ab51955d5ab9c1a7ba3315c6df1afa | [
"MIT"
] | null | null | null | project/settings/__init__.py | xobb1t/ddash2013 | d1fcd95311ab51955d5ab9c1a7ba3315c6df1afa | [
"MIT"
] | null | null | null | import os
import sys
apps_root = os.path.join(os.path.dirname(__file__), '..', '..', 'apps')
apps_root = os.path.normpath(os.path.abspath(apps_root))
if apps_root not in sys.path:
sys.path.insert(0, apps_root)
| 24 | 71 | 0.703704 | 37 | 216 | 3.864865 | 0.432432 | 0.27972 | 0.13986 | 0.195804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.12037 | 216 | 8 | 72 | 27 | 0.747368 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
60ac0a187fa44a641b8ef6ec740c9955f036b418 | 249 | py | Python | RecoLocalMuon/GEMRecHit/python/gemLocalReco_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoLocalMuon/GEMRecHit/python/gemLocalReco_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoLocalMuon/GEMRecHit/python/gemLocalReco_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from RecoLocalMuon.GEMRecHit.gemRecHits_cfi import *
from RecoLocalMuon.GEMSegment.gemSegments_cfi import *
gemLocalRecoTask = cms.Task(gemRecHits,gemSegments)
gemLocalReco = cms.Sequence(gemLocalRecoTask)
| 31.125 | 54 | 0.851406 | 27 | 249 | 7.777778 | 0.62963 | 0.161905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080321 | 249 | 7 | 55 | 35.571429 | 0.917031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
60bc4570bf45b9c016cb1dbafc753016dd044530 | 78 | py | Python | DailyData/analyzer/config.py | JEElsner/DailyData | 17d430af52922cc0b60ba57abb8e42de576d942c | [
"MIT"
] | 1 | 2021-01-04T07:05:07.000Z | 2021-01-04T07:05:07.000Z | DailyData/analyzer/config.py | JEElsner/DailyData | 17d430af52922cc0b60ba57abb8e42de576d942c | [
"MIT"
] | null | null | null | DailyData/analyzer/config.py | JEElsner/DailyData | 17d430af52922cc0b60ba57abb8e42de576d942c | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass
class AnalyzerConfig:
pass
| 11.142857 | 33 | 0.794872 | 8 | 78 | 7.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 78 | 6 | 34 | 13 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
60c1c683dfa89be1cff99636f94a31c56e39e980 | 1,561 | py | Python | mincntr/api.py | dims/mincntr | 480fa7dc861a5fc10f2a6f0d67e90dec76bc435e | [
"Apache-2.0"
] | 1 | 2016-05-13T04:06:28.000Z | 2016-05-13T04:06:28.000Z | mincntr/api.py | dims/mincntr | 480fa7dc861a5fc10f2a6f0d67e90dec76bc435e | [
"Apache-2.0"
] | null | null | null | mincntr/api.py | dims/mincntr | 480fa7dc861a5fc10f2a6f0d67e90dec76bc435e | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distribu... | 24.390625 | 77 | 0.679052 | 194 | 1,561 | 5.412371 | 0.469072 | 0.178095 | 0.209524 | 0.228571 | 0.312381 | 0.312381 | 0.312381 | 0 | 0 | 0 | 0 | 0.00337 | 0.23959 | 1,561 | 64 | 78 | 24.390625 | 0.881213 | 0.347213 | 0 | 0.564103 | 0 | 0 | 0.016865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282051 | false | 0.282051 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
60e149048564b8a278eac059d25922d3d0584135 | 151 | py | Python | 20140408/answer/answer.py | honux77/dailyCode | a5adcaba98197a0bca589e667f237c47e0f2d9f5 | [
"MIT"
] | 2 | 2016-03-23T02:09:25.000Z | 2016-08-28T07:41:24.000Z | 20140408/answer/answer.py | honux77/dailyCode | a5adcaba98197a0bca589e667f237c47e0f2d9f5 | [
"MIT"
] | null | null | null | 20140408/answer/answer.py | honux77/dailyCode | a5adcaba98197a0bca589e667f237c47e0f2d9f5 | [
"MIT"
] | null | null | null | class Solution:
# @param A, a list of integer
# @return an integer
def singleNumber(self, A):
return reduce(lambda x, y: x ^ y, A)
| 25.166667 | 44 | 0.602649 | 23 | 151 | 3.956522 | 0.695652 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291391 | 151 | 5 | 45 | 30.2 | 0.850467 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.