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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d3460c352e1a558cf84ea107e40cb6fd92a6b4f7 | 116 | py | Python | src/ch04/test_factorial.py | shaqsnake/Data-Structures-and-Algorithm-in-Python | a9ff1609524a16ad4946a852694cc69d597e3638 | [
"MIT"
] | 47 | 2018-12-03T09:30:14.000Z | 2022-03-23T02:24:01.000Z | src/ch04/test_factorial.py | shaqsnake/Data-Structures-and-Algorithm-in-Python | a9ff1609524a16ad4946a852694cc69d597e3638 | [
"MIT"
] | 1 | 2019-03-27T03:30:27.000Z | 2019-03-27T03:30:27.000Z | src/ch04/test_factorial.py | loong520/Data-Structures-and-Algorithms-in-Python | 2e2ad21c42ea80774898cfdb86796a7e9d2931a3 | [
"MIT"
] | 24 | 2018-12-18T01:59:15.000Z | 2022-01-30T09:26:58.000Z | from factorial import factorial
def test_factorial():
assert factorial(0) == 1
assert factorial(5) == 120
| 16.571429 | 31 | 0.698276 | 15 | 116 | 5.333333 | 0.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.206897 | 116 | 6 | 32 | 19.333333 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d38c236dbc8333e493b80f2168a8d9450da72397 | 2,918 | py | Python | nmfamv2/metadata/metadata_parser.py | gmarupilla/NMRFAMv2 | 2e9e7e1f43dbf1d8bcdbcff044bb686db3af09e0 | [
"MIT"
] | null | null | null | nmfamv2/metadata/metadata_parser.py | gmarupilla/NMRFAMv2 | 2e9e7e1f43dbf1d8bcdbcff044bb686db3af09e0 | [
"MIT"
] | null | null | null | nmfamv2/metadata/metadata_parser.py | gmarupilla/NMRFAMv2 | 2e9e7e1f43dbf1d8bcdbcff044bb686db3af09e0 | [
"MIT"
] | null | null | null | def parse_metadata(metafile_path):
ret = {}
try:
with open(metafile_path, 'r') as f:
for line in f:
tokens = line.split(",")
if line == 0:
key = "Parameters"
if len(tokens) != 2:
print("Error: No... | 44.892308 | 95 | 0.416038 | 301 | 2,918 | 4.023256 | 0.159468 | 0.123865 | 0.161024 | 0.132122 | 0.822461 | 0.822461 | 0.822461 | 0.822461 | 0.78943 | 0.78943 | 0 | 0.019776 | 0.480123 | 2,918 | 64 | 96 | 45.59375 | 0.77851 | 0 | 0 | 0.57377 | 0 | 0 | 0.246059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0 | 0 | 0.04918 | 0.245902 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d391b49fd38058bfe18d8bbce735c83de8b9db14 | 75 | py | Python | nautilus/network/events/__init__.py | AlecAivazis/python | 70e2acef27a2f87355590be1a6ca60ce3ab4d09c | [
"MIT"
] | 9 | 2019-02-17T01:33:43.000Z | 2022-02-03T02:14:12.000Z | nautilus/network/events/__init__.py | AlecAivazis/python | 70e2acef27a2f87355590be1a6ca60ce3ab4d09c | [
"MIT"
] | 59 | 2016-03-14T15:55:50.000Z | 2016-07-17T15:22:56.000Z | nautilus/network/events/__init__.py | AlecAivazis/python | 70e2acef27a2f87355590be1a6ca60ce3ab4d09c | [
"MIT"
] | 3 | 2017-08-03T20:18:59.000Z | 2018-07-18T02:03:41.000Z | from .consumers import *
from .actionHandlers import *
from .util import *
| 18.75 | 29 | 0.76 | 9 | 75 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 30 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d394d4dd4788af78bcdcd60a8f62db1a08d1448e | 765 | py | Python | pytempmail/consts.py | Shivanshu10/PyTempMail | 6813acd048222340ba53f140292cef923b1ce2ef | [
"MIT"
] | null | null | null | pytempmail/consts.py | Shivanshu10/PyTempMail | 6813acd048222340ba53f140292cef923b1ce2ef | [
"MIT"
] | null | null | null | pytempmail/consts.py | Shivanshu10/PyTempMail | 6813acd048222340ba53f140292cef923b1ce2ef | [
"MIT"
] | 1 | 2021-02-06T13:49:53.000Z | 2021-02-06T13:49:53.000Z | from os import getcwd, name
URL="https://temp-mail.org/en/"
delete_email='//*[@id="click-to-delete"]'
email_selector='//*[@id="mail"]'
refresh_button_selector='//*[@id="click-to-refresh"]'
sender_name='/html/body/main/div[1]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[1]/div[1]/p[1]'
mail_date_time='/html/body/main/d... | 58.846154 | 106 | 0.664052 | 170 | 765 | 2.923529 | 0.223529 | 0.229376 | 0.225352 | 0.241449 | 0.579477 | 0.555332 | 0.555332 | 0.555332 | 0.555332 | 0.555332 | 0 | 0.058745 | 0.020915 | 765 | 13 | 106 | 58.846154 | 0.604806 | 0 | 0 | 0 | 0 | 0.545455 | 0.750653 | 0.698433 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6cac77ed75334ff65b1b782c57b553387d082368 | 46 | py | Python | holobot/sdk/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/sdk/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/sdk/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .kernel_interface import KernelInterface
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f4dbbb522e1d932fca8112423393715ac96f91d | 145 | py | Python | __init__.py | wfxpanisa/pythonix | 12fb90b9995b849b0c4c030f20b1aa1d85635599 | [
"MIT"
] | 72 | 2017-07-18T09:01:49.000Z | 2021-09-02T03:50:51.000Z | __init__.py | wfzyx/pythonix | 12fb90b9995b849b0c4c030f20b1aa1d85635599 | [
"MIT"
] | 2 | 2018-03-20T18:12:58.000Z | 2018-06-15T13:20:58.000Z | __init__.py | wfzyx/pythonix | 12fb90b9995b849b0c4c030f20b1aa1d85635599 | [
"MIT"
] | 12 | 2015-10-19T20:53:41.000Z | 2017-03-06T15:36:53.000Z | # TODO remove hard coded imports
import include.pythonix.hboard
import kernel.main
import kernel.hglo
parm = {'kmess':0}
kernel.main.kmain(parm) | 20.714286 | 32 | 0.786207 | 22 | 145 | 5.181818 | 0.727273 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.110345 | 145 | 7 | 33 | 20.714286 | 0.875969 | 0.206897 | 0 | 0 | 0 | 0 | 0.04386 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f81011719ecbc4d6df2b5c4ddc431bc8d4fdea5 | 654 | py | Python | RocDemo/roc_node/cmake/roc-genmsg-context.py | idobrusin/RocLang | 9dce499f99af1e57f26c6b0348a5c80c466f09e9 | [
"MIT"
] | 4 | 2019-06-13T07:19:01.000Z | 2021-10-30T15:28:41.000Z | RocDemo/roc_node/cmake/roc-genmsg-context.py | idobrusin/RocLang | 9dce499f99af1e57f26c6b0348a5c80c466f09e9 | [
"MIT"
] | null | null | null | RocDemo/roc_node/cmake/roc-genmsg-context.py | idobrusin/RocLang | 9dce499f99af1e57f26c6b0348a5c80c466f09e9 | [
"MIT"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/iliadobrusin/catkin_ws/src/roc_node/msg/Motion.msg;/home/iliadobrusin/catkin_ws/src/roc_node/msg/Movement.msg;/home/iliadobrusin/catkin_ws/src/roc_node/msg/Command.msg"
services_str = ""
pkg_name = "roc"
dependencies_str = "std_msgs"
langs = "ge... | 54.5 | 190 | 0.785933 | 102 | 654 | 4.77451 | 0.490196 | 0.131417 | 0.180698 | 0.197125 | 0.316222 | 0.316222 | 0.316222 | 0.316222 | 0.164271 | 0 | 0 | 0 | 0.051988 | 654 | 11 | 191 | 59.454545 | 0.785484 | 0.074924 | 0 | 0 | 1 | 0.222222 | 0.66335 | 0.580431 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9fa719895e859de36abaa4e71f016ec83e43c5dc | 78 | py | Python | flask_CPU/CPU/__init__.py | kouki-0926/FlaskMathOnHeroku | 044e9f8f55ed32ddee7bfb1f70b26636dbc5ddf8 | [
"MIT"
] | null | null | null | flask_CPU/CPU/__init__.py | kouki-0926/FlaskMathOnHeroku | 044e9f8f55ed32ddee7bfb1f70b26636dbc5ddf8 | [
"MIT"
] | null | null | null | flask_CPU/CPU/__init__.py | kouki-0926/FlaskMathOnHeroku | 044e9f8f55ed32ddee7bfb1f70b26636dbc5ddf8 | [
"MIT"
] | null | null | null | from . import CPU
from . import weather
from . import ip
from . import station | 19.5 | 21 | 0.75641 | 12 | 78 | 4.916667 | 0.5 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 4 | 22 | 19.5 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ccdd489ffa27fbab5f3f092a3464011e72e3278 | 1,402 | py | Python | tests/__init__.py | aleofreitas/pyppmc | 00ae228478c3d1bba4ab9a88bac0eebfba9e2f47 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | aleofreitas/pyppmc | 00ae228478c3d1bba4ab9a88bac0eebfba9e2f47 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | aleofreitas/pyppmc | 00ae228478c3d1bba4ab9a88bac0eebfba9e2f47 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
class TestData(object):
@property
def base_url(self):
return os.environ['PYPPM_BASE_URL']
@property
def http_base_url(self):
return os.environ['PYPPM_HTTP_BASE_URL']
@property
def https_base_url(self):
return os.environ['PYPPM_HTTPS... | 20.925373 | 51 | 0.651213 | 181 | 1,402 | 4.751381 | 0.176796 | 0.19186 | 0.209302 | 0.331395 | 0.632558 | 0.604651 | 0.311628 | 0.167442 | 0.167442 | 0.167442 | 0 | 0.000943 | 0.243937 | 1,402 | 66 | 52 | 21.242424 | 0.810377 | 0.014979 | 0 | 0.404255 | 0 | 0 | 0.187092 | 0.047136 | 0 | 0 | 0 | 0 | 0 | 1 | 0.319149 | false | 0.085106 | 0.021277 | 0.319149 | 0.680851 | 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 | 1 | 1 | 0 | 0 | 6 |
4ccefd2809cefeb5deed19fc9d1f355a67cfac8f | 40 | py | Python | applications/imagequery_wo_proxy/c0_entryContainer/app/predict.py | Dumpkin1996/clipper | 1a08bbdde846c3cfe76236c68548a848f71605e0 | [
"Apache-2.0"
] | 2 | 2019-04-24T13:46:28.000Z | 2019-05-28T06:59:26.000Z | applications/imagequery_clipper/container/c0_entryContainer/app/predict.py | SimonZsx/clipper | 457088be2ebe68c68b94d90389d1308e35b4c844 | [
"Apache-2.0"
] | null | null | null | applications/imagequery_clipper/container/c0_entryContainer/app/predict.py | SimonZsx/clipper | 457088be2ebe68c68b94d90389d1308e35b4c844 | [
"Apache-2.0"
] | 4 | 2019-04-03T11:03:57.000Z | 2019-06-26T08:22:38.000Z |
def predict(input):
return input
| 6.666667 | 19 | 0.65 | 5 | 40 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275 | 40 | 5 | 20 | 8 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4ced623bf58142ad8ee12009adb2a50944f825ea | 1,314 | py | Python | Bash For Windows/pwd.py | JR-Tech-and-Software/Bash-for-Windows | ee2098c905937170354f7808b44b002425766f6f | [
"MIT"
] | null | null | null | Bash For Windows/pwd.py | JR-Tech-and-Software/Bash-for-Windows | ee2098c905937170354f7808b44b002425766f6f | [
"MIT"
] | null | null | null | Bash For Windows/pwd.py | JR-Tech-and-Software/Bash-for-Windows | ee2098c905937170354f7808b44b002425766f6f | [
"MIT"
] | null | null | null | '''
This file is under the MIT License.
Copyright 2019-2020 Jeremiah Haven
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction, including without limitation the rights to u... | 50.538462 | 136 | 0.772451 | 206 | 1,314 | 4.927184 | 0.597087 | 0.0867 | 0.025616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008443 | 0.188737 | 1,314 | 25 | 137 | 52.56 | 0.943715 | 0.935312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
98144b9fd9afd8d98992eb8ade56df9cfaf0185a | 88 | py | Python | pyzohodocs/__init__.py | VarthanV/pyzohodocs | a9e2416e19aa7633a59c2db2454997a2c28c4741 | [
"MIT"
] | null | null | null | pyzohodocs/__init__.py | VarthanV/pyzohodocs | a9e2416e19aa7633a59c2db2454997a2c28c4741 | [
"MIT"
] | null | null | null | pyzohodocs/__init__.py | VarthanV/pyzohodocs | a9e2416e19aa7633a59c2db2454997a2c28c4741 | [
"MIT"
] | null | null | null | from pyzohodocs.zohoauth import ZohoAuth
from pyzohodocs.pyzohodoc import ZohoDocsClient | 44 | 47 | 0.897727 | 10 | 88 | 7.9 | 0.6 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 88 | 2 | 47 | 44 | 0.975309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e22189d90be0ceaca6bd3e9c2fd9cebbae3d86ec | 266 | py | Python | reformer_pytorch_code/__init__.py | hyukyu/ViT-pytorch | 8b1306fec993b1c270a8c7a5e33853ae23a39447 | [
"MIT"
] | null | null | null | reformer_pytorch_code/__init__.py | hyukyu/ViT-pytorch | 8b1306fec993b1c270a8c7a5e33853ae23a39447 | [
"MIT"
] | null | null | null | reformer_pytorch_code/__init__.py | hyukyu/ViT-pytorch | 8b1306fec993b1c270a8c7a5e33853ae23a39447 | [
"MIT"
] | null | null | null | # from reformer_pytorch.reformer_pytorch import LSHAttention, LSHSelfAttention, Reformer, ReformerLM
# from reformer_pytorch.reformer_enc_dec import ReformerEncDec
# from reformer_pytorch.recorder import Recorder
# from reformer_pytorch.autopadder import Autopadder
| 53.2 | 100 | 0.87218 | 30 | 266 | 7.5 | 0.4 | 0.333333 | 0.337778 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086466 | 266 | 4 | 101 | 66.5 | 0.925926 | 0.966165 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 6 |
e225307a3bf2a12fbefc9a4568ef315b2d9347c0 | 123 | py | Python | scrapli/driver/core/arista_eos/__init__.py | rbraddev/scrapli | 913e8829bb0719aee5236bed2b0c6ef8dbb681ac | [
"MIT"
] | 1 | 2020-04-17T18:53:02.000Z | 2020-04-17T18:53:02.000Z | scrapli/driver/core/arista_eos/__init__.py | Ferhub255/scrapli | eeaa8f2ff5e54771c02335d7c2099d56d88b8cdc | [
"MIT"
] | null | null | null | scrapli/driver/core/arista_eos/__init__.py | Ferhub255/scrapli | eeaa8f2ff5e54771c02335d7c2099d56d88b8cdc | [
"MIT"
] | null | null | null | """scrapli.driver.core.arista_eos"""
from scrapli.driver.core.arista_eos.driver import EOSDriver
__all__ = ("EOSDriver",)
| 24.6 | 59 | 0.772358 | 16 | 123 | 5.5625 | 0.5625 | 0.292135 | 0.382022 | 0.516854 | 0.58427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 123 | 4 | 60 | 30.75 | 0.780702 | 0.243902 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e24dafb06660a1d37a874b824da4c56f4a9c9ca6 | 58,564 | py | Python | identities/tests.py | praekelt/seed-identity-store | 572dbc112158b138307242f93b969c9a823f57ef | [
"BSD-3-Clause"
] | null | null | null | identities/tests.py | praekelt/seed-identity-store | 572dbc112158b138307242f93b969c9a823f57ef | [
"BSD-3-Clause"
] | 45 | 2016-01-26T13:54:10.000Z | 2017-07-13T19:39:50.000Z | identities/tests.py | praekeltfoundation/seed-identity-store | 572dbc112158b138307242f93b969c9a823f57ef | [
"BSD-3-Clause"
] | 1 | 2016-09-28T09:31:50.000Z | 2016-09-28T09:31:50.000Z | import json
import responses
from django.contrib.auth.models import User
from django.db.models.signals import post_save
from django.test import TestCase
from django.urls import reverse
from requests_testadapter import TestAdapter, TestSession
from rest_framework import status
from rest_framework.authtoken.models impor... | 34.756083 | 88 | 0.537446 | 5,672 | 58,564 | 5.357898 | 0.063646 | 0.077986 | 0.034748 | 0.047055 | 0.825995 | 0.801086 | 0.771109 | 0.74666 | 0.737315 | 0.715992 | 0 | 0.024521 | 0.334284 | 58,564 | 1,684 | 89 | 34.776722 | 0.75497 | 0.032494 | 0 | 0.620664 | 0 | 0 | 0.193812 | 0.024457 | 0 | 0 | 0 | 0 | 0.130627 | 1 | 0.053137 | false | 0.002214 | 0.009594 | 0 | 0.073801 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e260835a07d4cb53df0884972831e835c311909d | 6,830 | py | Python | pyspider_QY.py | Anantuo/pySpider | 5dbb707d750f5d01b20bd410b9f1d6e46b8a3f99 | [
"Apache-2.0"
] | 5 | 2016-06-15T10:43:03.000Z | 2019-11-29T07:39:54.000Z | pyspider_QY.py | Anantuo/pySpider | 5dbb707d750f5d01b20bd410b9f1d6e46b8a3f99 | [
"Apache-2.0"
] | null | null | null | pyspider_QY.py | Anantuo/pySpider | 5dbb707d750f5d01b20bd410b9f1d6e46b8a3f99 | [
"Apache-2.0"
] | 4 | 2016-01-15T14:22:40.000Z | 2019-04-17T03:35:55.000Z | from pyspider.libs.base_handler import *
from my import My
from bs4 import BeautifulSoup
'''清远'''
class Handler(My):
name = "QY"
@every(minutes=24 * 60)
def on_start(self):
self.crawl('http://120.81.224.155:8084/project/fany.php?typeform=project_site_submission&page=1',
callback=self... | 55.080645 | 381 | 0.624744 | 882 | 6,830 | 4.719955 | 0.223356 | 0.025943 | 0.015133 | 0.020178 | 0.823204 | 0.782368 | 0.782368 | 0.762191 | 0.762191 | 0.762191 | 0 | 0.112262 | 0.208346 | 6,830 | 124 | 382 | 55.080645 | 0.657666 | 0.001464 | 0 | 0.609091 | 0 | 0.109091 | 0.367347 | 0.128615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.027273 | 0 | 0.090909 | 0.009091 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c67eef30aac90c4950e574e3a34b1a1159d71fa | 410 | py | Python | main.py | iommu/sudokuSolved | 4f4abc144c2f853b02f1ef1ee9551c3a9249a5ed | [
"MIT"
] | 1 | 2019-07-19T00:44:25.000Z | 2019-07-19T00:44:25.000Z | main.py | iommu/sudokuSolver | 4f4abc144c2f853b02f1ef1ee9551c3a9249a5ed | [
"MIT"
] | null | null | null | main.py | iommu/sudokuSolver | 4f4abc144c2f853b02f1ef1ee9551c3a9249a5ed | [
"MIT"
] | null | null | null |
import sudoku
puzzle = [[0,0,0,0,0,0,0,0,7],
[8,7,0,0,2,0,0,0,6],
[9,0,0,0,1,6,0,2,8],
[2,0,0,9,8,0,6,7,4],
[0,0,6,1,0,2,8,0,0],
[4,8,9,0,7,5,0,0,3],
[5,2,0,4,3,0,0,0,9],
[6,0,0,0,9,0,0,8,1],
[1,0,0,0,0,0,0,0,0]... | 24.117647 | 33 | 0.404878 | 96 | 410 | 1.729167 | 0.1875 | 0.337349 | 0.289157 | 0.240964 | 0.096386 | 0.096386 | 0.096386 | 0.096386 | 0 | 0 | 0 | 0.287234 | 0.312195 | 410 | 17 | 34 | 24.117647 | 0.301418 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.071429 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
2c8e7b5f308602fba3c951c287e6df1de5ed3618 | 99 | py | Python | rlchemy/lib/data/__init__.py | Ending2015a/rlchemy | 42b1ed3d5654dd28cffd99de0db62584356228d4 | [
"MIT"
] | null | null | null | rlchemy/lib/data/__init__.py | Ending2015a/rlchemy | 42b1ed3d5654dd28cffd99de0db62584356228d4 | [
"MIT"
] | null | null | null | rlchemy/lib/data/__init__.py | Ending2015a/rlchemy | 42b1ed3d5654dd28cffd99de0db62584356228d4 | [
"MIT"
] | null | null | null | from .data_provider import *
from .buffers import *
from .samplers import *
from .utils import * | 24.75 | 29 | 0.737374 | 13 | 99 | 5.538462 | 0.538462 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 99 | 4 | 30 | 24.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
e2da228d3faef5153a1c59fbb9121a704d2b3ca2 | 104 | py | Python | Chapter02/matrix_elements.py | aaltopiiri/-The-Python-Workshop | 42e41198a109a19f39a4c545cdb830851c41b0a1 | [
"MIT"
] | null | null | null | Chapter02/matrix_elements.py | aaltopiiri/-The-Python-Workshop | 42e41198a109a19f39a4c545cdb830851c41b0a1 | [
"MIT"
] | null | null | null | Chapter02/matrix_elements.py | aaltopiiri/-The-Python-Workshop | 42e41198a109a19f39a4c545cdb830851c41b0a1 | [
"MIT"
] | null | null | null | m = [[1, 2, 3],[4, 5, 6]]
for i in range(len(m)):
for j in range (len(m[i])):
print(m[i][j]) | 26 | 31 | 0.442308 | 24 | 104 | 1.916667 | 0.583333 | 0.304348 | 0.434783 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.269231 | 104 | 4 | 32 | 26 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a8ee7e7ad79a48224927c2f27bb1215dddb96ea | 48 | py | Python | scan_models/codesys/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 1 | 2020-05-22T09:52:33.000Z | 2020-05-22T09:52:33.000Z | scan_models/codesys/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 8 | 2021-03-18T21:22:40.000Z | 2022-03-11T23:32:48.000Z | scan_models/codesys/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | null | null | null | from .scan import codesys_scan, codesys_resolve
| 24 | 47 | 0.854167 | 7 | 48 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a94b2529d415d545a17db454da30e1c856b80e1 | 55 | py | Python | autolist/__init__.py | AbelR007/Autolist | a417fc864c6560ed4bb86d0e27c943e6b954d956 | [
"MIT"
] | 1 | 2021-05-20T18:54:34.000Z | 2021-05-20T18:54:34.000Z | autolist/__init__.py | AbelR007/Autolist | a417fc864c6560ed4bb86d0e27c943e6b954d956 | [
"MIT"
] | null | null | null | autolist/__init__.py | AbelR007/Autolist | a417fc864c6560ed4bb86d0e27c943e6b954d956 | [
"MIT"
] | null | null | null | from autolist.autocorrect_list import autocorrect_list
| 27.5 | 54 | 0.909091 | 7 | 55 | 6.857143 | 0.714286 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46cfb15d7b10d078307af3c19e40d20be67711bb | 1,709 | py | Python | circles/migrations/0010_auto_20200505_2341.py | CoronaCircles/coronacircles | 1d86a659def276fcc0ebd7a723a48f729d6e21a1 | [
"MIT"
] | 1 | 2020-04-30T16:19:33.000Z | 2020-04-30T16:19:33.000Z | circles/migrations/0010_auto_20200505_2341.py | CoronaCircles/coronacircles | 1d86a659def276fcc0ebd7a723a48f729d6e21a1 | [
"MIT"
] | 43 | 2020-05-01T23:48:01.000Z | 2022-03-12T00:35:32.000Z | circles/migrations/0010_auto_20200505_2341.py | CoronaCircles/coronacircles | 1d86a659def276fcc0ebd7a723a48f729d6e21a1 | [
"MIT"
] | 1 | 2020-05-04T20:07:16.000Z | 2020-05-04T20:07:16.000Z | # Generated by Django 3.0.6 on 2020-05-05 21:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('circles', '0009_auto_20200505_2253'),
]
operations = [
migrations.RemoveField(
model_name='mailtemplate',
name='lang... | 44.973684 | 224 | 0.626682 | 207 | 1,709 | 5.033816 | 0.31401 | 0.043186 | 0.100768 | 0.119962 | 0.792706 | 0.792706 | 0.792706 | 0.792706 | 0.728407 | 0.658349 | 0 | 0.028974 | 0.252779 | 1,709 | 37 | 225 | 46.189189 | 0.787001 | 0.026331 | 0 | 0.580645 | 1 | 0.129032 | 0.432611 | 0.013839 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46dba01f49e4716ddec3ce64f86d6b787bf51c5f | 273 | py | Python | StaticMethods/Zscore.py | KaranShah197/Statistical-Calculator | 797d452b2934939353eb93a61b0ec7a4e5910c3d | [
"MIT"
] | null | null | null | StaticMethods/Zscore.py | KaranShah197/Statistical-Calculator | 797d452b2934939353eb93a61b0ec7a4e5910c3d | [
"MIT"
] | null | null | null | StaticMethods/Zscore.py | KaranShah197/Statistical-Calculator | 797d452b2934939353eb93a61b0ec7a4e5910c3d | [
"MIT"
] | null | null | null | from StaticMethods.division import division
from StaticMethods.roundOff import roundOff
from StaticMethods.subtraction import subtraction
def zscore(a, mean, sd):
# TODO: Make an array loop to verify all values
return roundOff(division(sd, subtraction(mean, a)))
| 30.333333 | 55 | 0.787546 | 36 | 273 | 5.972222 | 0.583333 | 0.237209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14652 | 273 | 8 | 56 | 34.125 | 0.922747 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2027b158ce778096343de84bfa4b7a3ff1dea61b | 89 | py | Python | torchvision_new/version.py | yanghr/vision | bb8e9ddd60d4682044017e889fa073664eba77ed | [
"BSD-3-Clause"
] | null | null | null | torchvision_new/version.py | yanghr/vision | bb8e9ddd60d4682044017e889fa073664eba77ed | [
"BSD-3-Clause"
] | null | null | null | torchvision_new/version.py | yanghr/vision | bb8e9ddd60d4682044017e889fa073664eba77ed | [
"BSD-3-Clause"
] | null | null | null | __version__ = '0.2.3a0+9a481d0'
git_version = '9a481d0bec2700763a799ff148fe2e083b575441'
| 29.666667 | 56 | 0.831461 | 8 | 89 | 8.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.445783 | 0.067416 | 89 | 2 | 57 | 44.5 | 0.385542 | 0 | 0 | 0 | 0 | 0 | 0.617978 | 0.449438 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
202e891453e6c13095a005f0f2bfd508011e7a16 | 43 | py | Python | tests/test_main.py | datopian/plans | 12bd9ff6f725703e7a73f3ad90680f5ade8cebdf | [
"MIT"
] | 3 | 2019-11-18T12:04:27.000Z | 2020-03-07T02:45:45.000Z | tests/test_main.py | datopian/plans | 12bd9ff6f725703e7a73f3ad90680f5ade8cebdf | [
"MIT"
] | null | null | null | tests/test_main.py | datopian/plans | 12bd9ff6f725703e7a73f3ad90680f5ade8cebdf | [
"MIT"
] | null | null | null |
def test_always_succeed():
return True | 14.333333 | 26 | 0.744186 | 6 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 27 | 14.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
6444907b69b473976d9f9872d369d0caafc06b7a | 24,862 | py | Python | im2mesh/dmc/ops/table.py | FooVizDevs/occupancy_networks | 8668618123449cbd77ddb539e1902682b738086d | [
"MIT"
] | 801 | 2019-05-04T19:14:54.000Z | 2022-03-29T08:47:12.000Z | im2mesh/dmc/ops/table.py | FooVizDevs/occupancy_networks | 8668618123449cbd77ddb539e1902682b738086d | [
"MIT"
] | 106 | 2019-05-05T15:27:07.000Z | 2022-03-22T23:01:23.000Z | im2mesh/dmc/ops/table.py | FooVizDevs/occupancy_networks | 8668618123449cbd77ddb539e1902682b738086d | [
"MIT"
] | 202 | 2019-05-05T08:42:30.000Z | 2022-03-29T08:47:15.000Z | import numpy as np
#np.set_printoptions(threshold='nan')
def vertices_on_location():
"""Return vertices on different faces
# x direction, from left to right
leftv = [5, 9, 1, 10]
rightv = [7, 8, 3, 11]
# y direction, from front to back
frontv = [4, 9, 0, 8]
backv = [6, 10, 2, 11]
# z d... | 47.903661 | 666 | 0.392768 | 5,380 | 24,862 | 1.79052 | 0.063383 | 0.297104 | 0.373715 | 0.405689 | 0.459255 | 0.42344 | 0.370393 | 0.322122 | 0.305408 | 0.250285 | 0 | 0.30274 | 0.314576 | 24,862 | 518 | 667 | 47.996139 | 0.262543 | 0.105744 | 0 | 0.052109 | 0 | 0 | 0.000362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022333 | false | 0 | 0.002481 | 0 | 0.047146 | 0.022333 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
648d3d775d1e7ddfebf48ed7ea659f2001b1832b | 97 | py | Python | torauth/utils/hex_to_base64.py | tonlabs/tor-service | 1d7e15c20277202927e9869f73094fec7077bd38 | [
"Apache-2.0"
] | 4 | 2021-01-25T08:22:57.000Z | 2022-02-01T20:39:00.000Z | torauth/utils/hex_to_base64.py | tonlabs/tor-service | 1d7e15c20277202927e9869f73094fec7077bd38 | [
"Apache-2.0"
] | 1 | 2021-03-31T19:09:08.000Z | 2021-04-05T10:20:06.000Z | torauth/utils/hex_to_base64.py | tonlabs/tor-service | 1d7e15c20277202927e9869f73094fec7077bd38 | [
"Apache-2.0"
] | null | null | null | import base64
def hex_to_base64(str):
return base64.b64encode(bytes.fromhex(str)).decode()
| 16.166667 | 56 | 0.752577 | 14 | 97 | 5.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 0.123711 | 97 | 5 | 57 | 19.4 | 0.741176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6491e5711ede850ab49c8a2b5e4891dbc8da0fc4 | 4,514 | py | Python | src/nets.py | dcmoyer/inv-rep | 2d6c82cc625aeb65581bbd0995d4e3fb972f463a | [
"MIT"
] | 27 | 2019-01-11T23:07:48.000Z | 2022-02-23T09:49:54.000Z | src/nets.py | dcmoyer/inv-rep | 2d6c82cc625aeb65581bbd0995d4e3fb972f463a | [
"MIT"
] | 1 | 2019-08-16T13:24:21.000Z | 2019-08-16T13:24:21.000Z | src/nets.py | dcmoyer/inv-rep | 2d6c82cc625aeb65581bbd0995d4e3fb972f463a | [
"MIT"
] | 5 | 2019-01-11T22:57:00.000Z | 2020-06-04T08:15:38.000Z |
import tensorflow as tf
import layers
#here, n_hidden is a list, where each entry makes a layer of that size
def gaussian_encoder(name, x, n_hidden, n_output, keep_prob, reuse=False):
with tf.variable_scope("%s_gaussian_encoder" % name, reuse=reuse):
if type(n_hidden) is int:
n_hidden = [x.get_shape()[1... | 31.131034 | 78 | 0.637129 | 762 | 4,514 | 3.534121 | 0.137795 | 0.150761 | 0.067583 | 0.088377 | 0.866691 | 0.866691 | 0.866691 | 0.839955 | 0.819903 | 0.819903 | 0 | 0.01359 | 0.217545 | 4,514 | 144 | 79 | 31.347222 | 0.748868 | 0.421577 | 0 | 0.57377 | 0 | 0 | 0.090695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04918 | false | 0 | 0.032787 | 0 | 0.131148 | 0.016393 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64c2aac4331b969f8e5ecc5de087050fd58b3fc4 | 60 | py | Python | bentoo/__init__.py | franciumlin/bentoo | 4a114d11b3f21ee089052208d8ce12506cf41cf9 | [
"MIT"
] | 2 | 2020-05-02T04:46:52.000Z | 2020-05-02T16:36:19.000Z | bentoo/__init__.py | franciumlin/bentoo | 4a114d11b3f21ee089052208d8ce12506cf41cf9 | [
"MIT"
] | null | null | null | bentoo/__init__.py | franciumlin/bentoo | 4a114d11b3f21ee089052208d8ce12506cf41cf9 | [
"MIT"
] | 1 | 2020-05-02T16:36:44.000Z | 2020-05-02T16:36:44.000Z | import bentoo.yaml
import bentoo.common
import bentoo.tools
| 15 | 20 | 0.85 | 9 | 60 | 5.666667 | 0.555556 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 3 | 21 | 20 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3b051f01222d3f9db25b80bb00e7d1cb48061b5 | 96 | py | Python | multiprobe/data/__init__.py | h324yang/multiprobe | ee4a32cd8bc6d8fc2649830ecde55fe0b6ae9478 | [
"MIT"
] | null | null | null | multiprobe/data/__init__.py | h324yang/multiprobe | ee4a32cd8bc6d8fc2649830ecde55fe0b6ae9478 | [
"MIT"
] | null | null | null | multiprobe/data/__init__.py | h324yang/multiprobe | ee4a32cd8bc6d8fc2649830ecde55fe0b6ae9478 | [
"MIT"
] | 1 | 2020-09-17T17:32:34.000Z | 2020-09-17T17:32:34.000Z | from .wikidata import *
from .wikidump import *
from .wikiclean import *
from .language import * | 24 | 24 | 0.760417 | 12 | 96 | 6.083333 | 0.5 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 4 | 25 | 24 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3bef755b5572fc1f44961a723bacd216781f396 | 113 | py | Python | src/flynt/__main__.py | Inveracity/flynt | b975b6f61893d5db1114d68fbb5d212c4e11aeb8 | [
"MIT"
] | 487 | 2019-06-10T17:44:56.000Z | 2022-03-26T01:28:19.000Z | src/flynt/__main__.py | Inveracity/flynt | b975b6f61893d5db1114d68fbb5d212c4e11aeb8 | [
"MIT"
] | 118 | 2019-07-03T12:26:39.000Z | 2022-03-06T22:40:17.000Z | src/flynt/__main__.py | Inveracity/flynt | b975b6f61893d5db1114d68fbb5d212c4e11aeb8 | [
"MIT"
] | 25 | 2019-07-10T08:39:58.000Z | 2022-03-03T14:44:15.000Z | """ This file gets run when we call `python3 -m flynt` """
import sys
from flynt import main
sys.exit(main())
| 14.125 | 58 | 0.681416 | 19 | 113 | 4.052632 | 0.789474 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.19469 | 113 | 7 | 59 | 16.142857 | 0.835165 | 0.442478 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3c3c59b13a1895bada20a2cd5667c2dd7a4dbd1 | 175 | py | Python | modules/implant/pivot/exec_wmic.py | psmitty7373/koadic | e136fe8c6c021c885e8720b22aa6b0c50d371d4c | [
"Apache-2.0"
] | 2,255 | 2017-07-26T00:57:17.000Z | 2021-12-20T06:39:28.000Z | modules/implant/pivot/exec_wmic.py | psmitty7373/koadic | e136fe8c6c021c885e8720b22aa6b0c50d371d4c | [
"Apache-2.0"
] | 129 | 2017-07-31T06:56:00.000Z | 2021-11-17T04:40:34.000Z | modules/implant/pivot/exec_wmic.py | psmitty7373/koadic | e136fe8c6c021c885e8720b22aa6b0c50d371d4c | [
"Apache-2.0"
] | 598 | 2017-07-25T20:57:25.000Z | 2021-12-01T06:24:22.000Z | # wmic /node:~IP~ /user:~SMBDOMAIN~\~SMBUSER~ /password:~SMBPASS~ process call create "cmd /c ~CMD~"
import core.implant
class ExecCmdImplant(core.implant.Implant):
pass
| 29.166667 | 100 | 0.725714 | 23 | 175 | 5.521739 | 0.826087 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 175 | 5 | 101 | 35 | 0.824675 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
b3d49a388a1ff8e2affc58c048da9c16bf3631dc | 34 | py | Python | src/tentohako/__init__.py | Koukyosyumei/TenToHako | 4007033c2401aa491f6c79e0a670812cd8aa8054 | [
"MIT"
] | null | null | null | src/tentohako/__init__.py | Koukyosyumei/TenToHako | 4007033c2401aa491f6c79e0a670812cd8aa8054 | [
"MIT"
] | null | null | null | src/tentohako/__init__.py | Koukyosyumei/TenToHako | 4007033c2401aa491f6c79e0a670812cd8aa8054 | [
"MIT"
] | null | null | null | from . import agent, game, socket
| 17 | 33 | 0.735294 | 5 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 1 | 34 | 34 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37923adfbd2aa0f88cd6302c7a26379bb278f2d7 | 28 | py | Python | koroba/runner/__init__.py | sergevkim/koroba | 91d433f6bc7ecf47c62f7be4ddcdc8b38e5b27b7 | [
"MIT"
] | null | null | null | koroba/runner/__init__.py | sergevkim/koroba | 91d433f6bc7ecf47c62f7be4ddcdc8b38e5b27b7 | [
"MIT"
] | 1 | 2021-05-16T07:05:19.000Z | 2021-05-16T07:05:19.000Z | koroba/runner/__init__.py | sergevkim/koroba | 91d433f6bc7ecf47c62f7be4ddcdc8b38e5b27b7 | [
"MIT"
] | null | null | null | from .runner import Runner
| 9.333333 | 26 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
379c9e3827052314b0b8bc7c6a5a3d370e895526 | 42 | py | Python | swaggermarkdown/__init__.py | batiste/swagger-markdown | 14ca7232e9ec8ec44db5c85ddf2d251ce2cf9819 | [
"Apache-2.0"
] | 3 | 2020-12-20T16:49:33.000Z | 2021-01-07T13:10:32.000Z | swaggermarkdown/__init__.py | batiste/swagger-markdown | 14ca7232e9ec8ec44db5c85ddf2d251ce2cf9819 | [
"Apache-2.0"
] | null | null | null | swaggermarkdown/__init__.py | batiste/swagger-markdown | 14ca7232e9ec8ec44db5c85ddf2d251ce2cf9819 | [
"Apache-2.0"
] | null | null | null | from .swaggermarkdown import makeExtension | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37b81984bcde97c4937aa95f1ec4c3a3654fdc4e | 90 | py | Python | python_module/mp_workshop/__init__.py | janosh/mp-workshop | 3ab3140f215099572023dda9d68b2c9b4c060b36 | [
"BSD-3-Clause"
] | null | null | null | python_module/mp_workshop/__init__.py | janosh/mp-workshop | 3ab3140f215099572023dda9d68b2c9b4c060b36 | [
"BSD-3-Clause"
] | null | null | null | python_module/mp_workshop/__init__.py | janosh/mp-workshop | 3ab3140f215099572023dda9d68b2c9b4c060b36 | [
"BSD-3-Clause"
] | null | null | null | import mp_workshop.atomate
import mp_workshop.fireworks_config
import mp_workshop.POTCARs
| 22.5 | 35 | 0.9 | 13 | 90 | 5.923077 | 0.538462 | 0.311688 | 0.623377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 90 | 3 | 36 | 30 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
806482b1d765b839212276277fecead346efb8a3 | 151 | py | Python | busy_beaver/toolbox.py | ZaxR/busy-beaver | ffe1250d0156f71d1053f37c8070ca0dd888348f | [
"MIT"
] | null | null | null | busy_beaver/toolbox.py | ZaxR/busy-beaver | ffe1250d0156f71d1053f37c8070ca0dd888348f | [
"MIT"
] | null | null | null | busy_beaver/toolbox.py | ZaxR/busy-beaver | ffe1250d0156f71d1053f37c8070ca0dd888348f | [
"MIT"
] | null | null | null | from datetime import datetime, timedelta
import pytz
def utc_now_minus(period: timedelta):
return pytz.utc.localize(datetime.utcnow()) - period
| 18.875 | 56 | 0.774834 | 20 | 151 | 5.75 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139073 | 151 | 7 | 57 | 21.571429 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
039dfcc124a0daceaf199b0a75d97b471b67f122 | 104 | py | Python | phillydata/models.py | ebrelsford/django-phillydata | 444a3ff9d436cd276530534642dd092402278ba5 | [
"BSD-3-Clause"
] | null | null | null | phillydata/models.py | ebrelsford/django-phillydata | 444a3ff9d436cd276530534642dd092402278ba5 | [
"BSD-3-Clause"
] | null | null | null | phillydata/models.py | ebrelsford/django-phillydata | 444a3ff9d436cd276530534642dd092402278ba5 | [
"BSD-3-Clause"
] | 1 | 2020-01-23T04:59:36.000Z | 2020-01-23T04:59:36.000Z | from external_data_sync.models import BaseDataSource
class PhillyDataSource(BaseDataSource):
pass
| 17.333333 | 52 | 0.836538 | 11 | 104 | 7.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 5 | 53 | 20.8 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
20bfa1702d5335ce0b47277bfd2fdb15b22ee227 | 176 | py | Python | scripts/txtool/txtool/__init__.py | baajur/cita | 763c7866e6ea59ff96de085b4c72665f4e2f69ba | [
"Apache-2.0"
] | 930 | 2017-07-25T08:27:55.000Z | 2019-11-26T10:07:48.000Z | scripts/txtool/txtool/__init__.py | baajur/cita | 763c7866e6ea59ff96de085b4c72665f4e2f69ba | [
"Apache-2.0"
] | 484 | 2017-07-25T14:32:44.000Z | 2019-11-14T11:16:45.000Z | scripts/txtool/txtool/__init__.py | QingYanL/testCITA | 6d2e82c87831553c8d34749c56c4e5c8b94ece9c | [
"Apache-2.0"
] | 184 | 2017-07-26T01:37:36.000Z | 2019-11-19T07:07:49.000Z | from util import *
from check import *
from compile import *
from tx_count import get_transaction_count
__all__ = ['util', 'check', 'compile', 'generate_account', 'tx_count']
| 25.142857 | 70 | 0.75 | 24 | 176 | 5.125 | 0.5 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 176 | 6 | 71 | 29.333333 | 0.809211 | 0 | 0 | 0 | 1 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20c8cbd6c928e6e6ff0075d24721550a7c0b0f01 | 1,607 | py | Python | tests/core/probes/test_probes_auto.py | ccrvs/attack_surface_pypy | f2bc9998cf42f4764f1c495e6243d970e01bd176 | [
"CC0-1.0"
] | null | null | null | tests/core/probes/test_probes_auto.py | ccrvs/attack_surface_pypy | f2bc9998cf42f4764f1c495e6243d970e01bd176 | [
"CC0-1.0"
] | null | null | null | tests/core/probes/test_probes_auto.py | ccrvs/attack_surface_pypy | f2bc9998cf42f4764f1c495e6243d970e01bd176 | [
"CC0-1.0"
] | null | null | null | # This test code was written by the `hypothesis.extra.ghostwriter` module
# and is provided under the Creative Commons Zero public domain dedication.
import attack_surface_pypy.core.probes
from hypothesis import given, strategies as st
@given(logging_factory=st.functions(), analytics_factory=st.functions())
def test... | 39.195122 | 76 | 0.815184 | 190 | 1,607 | 6.568421 | 0.226316 | 0.224359 | 0.276442 | 0.240385 | 0.762821 | 0.741186 | 0.741186 | 0.741186 | 0.693109 | 0.464744 | 0 | 0 | 0.10392 | 1,607 | 40 | 77 | 40.175 | 0.866667 | 0.09023 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185185 | false | 0 | 0.074074 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20eb4859b8a0bbf6ddbeecde495819cd2d3ecda9 | 810 | py | Python | neuron_mocap_live/mocap_api/__init__.py | pnmocap/neuron_mocap_live-c4d | 47b113587a328e142f691f915040e916bd4a8877 | [
"MIT"
] | null | null | null | neuron_mocap_live/mocap_api/__init__.py | pnmocap/neuron_mocap_live-c4d | 47b113587a328e142f691f915040e916bd4a8877 | [
"MIT"
] | 1 | 2021-12-13T10:05:07.000Z | 2021-12-14T11:06:11.000Z | neuron_mocap_live/mocap_api/__init__.py | pnmocap/neuron_mocap_live-c4d | 47b113587a328e142f691f915040e916bd4a8877 | [
"MIT"
] | null | null | null | from .mocap_api import MCPError
from .mocap_api import MCPJointTag
from .mocap_api import MCPRigidBody
from .mocap_api import MCPSensorModule
from .mocap_api import MCPBodyPart
from .mocap_api import MCPJoint
from .mocap_api import MCPAvatar
from .mocap_api import MCPEventData
from .mocap_api import MCPEventType
from .... | 36.818182 | 50 | 0.865432 | 110 | 810 | 6.172727 | 0.236364 | 0.291605 | 0.388807 | 0.583211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107407 | 810 | 22 | 51 | 36.818182 | 0.939142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45984ddfe4d122e78d176c1538db7773807e558f | 25 | py | Python | permamodel/components/__init__.py | mcflugen/permamodel | 85d4f9732427e24faa9c9d2158c3e34e4a947cc2 | [
"MIT"
] | 9 | 2016-05-16T21:08:17.000Z | 2021-11-15T01:23:11.000Z | permamodel/components/__init__.py | mcflugen/permamodel | 85d4f9732427e24faa9c9d2158c3e34e4a947cc2 | [
"MIT"
] | 60 | 2016-04-28T15:05:38.000Z | 2020-05-16T19:41:25.000Z | permamodel/components/__init__.py | mcflugen/permamodel | 85d4f9732427e24faa9c9d2158c3e34e4a947cc2 | [
"MIT"
] | 15 | 2016-04-27T21:16:36.000Z | 2022-01-07T03:21:48.000Z | from . import perma_base
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45d090cd8154d0d5186ac2a0ced8aa5aa1ca5952 | 41 | py | Python | src/whatsappchatbot/__init__.py | maxsanwal/whatsappChatbot | bcf59f51a551157ab4117c574e548e6f258523bc | [
"MIT"
] | 15 | 2021-02-24T05:16:11.000Z | 2022-01-26T08:15:18.000Z | src/whatsappchatbot/__init__.py | barwesharayu/whatsappChatbot | bd346599f63d67a9b8216e27c1239451dc34eb28 | [
"MIT"
] | 4 | 2021-03-01T10:32:10.000Z | 2021-03-23T16:30:41.000Z | src/whatsappchatbot/__init__.py | barwesharayu/whatsappChatbot | bd346599f63d67a9b8216e27c1239451dc34eb28 | [
"MIT"
] | 3 | 2021-02-23T19:20:25.000Z | 2021-03-26T05:00:47.000Z | from .whatsappChatbot import start_chat
| 13.666667 | 39 | 0.853659 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 40 | 20.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45e56631974d2d534b42180b62a245415c1894b0 | 106 | py | Python | Programs/Python/python_games/lib/enchantment.py | ShotaroBaba/Coding_practice | 5cc5bcbb637222e278fa3270add695f2b550f1a8 | [
"MIT"
] | null | null | null | Programs/Python/python_games/lib/enchantment.py | ShotaroBaba/Coding_practice | 5cc5bcbb637222e278fa3270add695f2b550f1a8 | [
"MIT"
] | null | null | null | Programs/Python/python_games/lib/enchantment.py | ShotaroBaba/Coding_practice | 5cc5bcbb637222e278fa3270add695f2b550f1a8 | [
"MIT"
] | null | null | null | # TODO: Create the enchantment class.
class Enchantment(object):
def __init__(self):
pass
| 21.2 | 37 | 0.660377 | 12 | 106 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254717 | 106 | 5 | 38 | 21.2 | 0.835443 | 0.330189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b3302bd59a7a21440b3511450ac84a5be9b0b52c | 43 | py | Python | hello_world.py | imarinr/primerRepo3B | 000a9208f5b431d5d3b48ad995e03eb31a7007c7 | [
"MIT"
] | null | null | null | hello_world.py | imarinr/primerRepo3B | 000a9208f5b431d5d3b48ad995e03eb31a7007c7 | [
"MIT"
] | null | null | null | hello_world.py | imarinr/primerRepo3B | 000a9208f5b431d5d3b48ad995e03eb31a7007c7 | [
"MIT"
] | null | null | null | print("Hola a todo el mundo en tercero B")
| 21.5 | 42 | 0.72093 | 9 | 43 | 3.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 1 | 43 | 43 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b33dba35ec4960e571ac37bae2a51b8530a12795 | 41 | py | Python | tractus/__init__.py | Navid2zp/tractus | 0023957dde693bcf31dfd3de39bb2bd7a31420c9 | [
"MIT"
] | 5 | 2021-02-04T23:01:04.000Z | 2021-11-12T11:26:46.000Z | tractus/__init__.py | Navid2zp/tractus | 0023957dde693bcf31dfd3de39bb2bd7a31420c9 | [
"MIT"
] | null | null | null | tractus/__init__.py | Navid2zp/tractus | 0023957dde693bcf31dfd3de39bb2bd7a31420c9 | [
"MIT"
] | null | null | null | from .tractus import Tracer, TraceResult
| 20.5 | 40 | 0.829268 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b342705ebe03fe41593e315048a51612946d4839 | 20,060 | py | Python | src/p4rrot/core/commands.py | gycsaba96/P4RROT | aa10d2063d566450674e4798e6f713e49877a604 | [
"MIT"
] | null | null | null | src/p4rrot/core/commands.py | gycsaba96/P4RROT | aa10d2063d566450674e4798e6f713e49877a604 | [
"MIT"
] | null | null | null | src/p4rrot/core/commands.py | gycsaba96/P4RROT | aa10d2063d566450674e4798e6f713e49877a604 | [
"MIT"
] | null | null | null |
from p4rrot.known_types import KnownType
from typing import Dict, List, Tuple
from p4rrot.standard_fields import *
from p4rrot.generator_tools import *
from p4rrot.checks import *
class AssignConst(Command):
def __init__(self,vname,value,env=None):
self.vname = vname
self.value = value
... | 29.199418 | 157 | 0.62004 | 2,623 | 20,060 | 4.503241 | 0.059855 | 0.074077 | 0.045716 | 0.077718 | 0.83957 | 0.790044 | 0.729174 | 0.703014 | 0.668473 | 0.661192 | 0 | 0.002196 | 0.250897 | 20,060 | 686 | 158 | 29.241983 | 0.783856 | 0.015753 | 0 | 0.668763 | 0 | 0 | 0.043998 | 0 | 0 | 0 | 0 | 0.001458 | 0.018868 | 1 | 0.222222 | false | 0.018868 | 0.010482 | 0.033543 | 0.387841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2fa5b7ca01b819f70b580674569d87c7fb92bdba | 290 | py | Python | .hypothesis/eval_source/hypothesis_temporary_module_5cdd0317ce250d350656f1e3a503b9698f5390b3.py | bellisk/hypothesis-django-example | 5978fac15078e80cc36bc1be23d151209bd89618 | [
"MIT"
] | 6 | 2015-11-07T06:56:04.000Z | 2020-12-11T21:51:40.000Z | .hypothesis/eval_source/hypothesis_temporary_module_5cdd0317ce250d350656f1e3a503b9698f5390b3.py | bellisk/hypothesis-django-example | 5978fac15078e80cc36bc1be23d151209bd89618 | [
"MIT"
] | null | null | null | .hypothesis/eval_source/hypothesis_temporary_module_5cdd0317ce250d350656f1e3a503b9698f5390b3.py | bellisk/hypothesis-django-example | 5978fac15078e80cc36bc1be23d151209bd89618 | [
"MIT"
] | null | null | null | from hypothesis.utils.conventions import not_set
def accept(f):
def test_next_notification_same_as_base_subscription(self, related_subscription=not_set):
return f(self=self, related_subscription=related_subscription)
return test_next_notification_same_as_base_subscription
| 41.428571 | 93 | 0.841379 | 39 | 290 | 5.820513 | 0.512821 | 0.251101 | 0.176211 | 0.211454 | 0.370044 | 0.370044 | 0.370044 | 0 | 0 | 0 | 0 | 0 | 0.106897 | 290 | 6 | 94 | 48.333333 | 0.876448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2fcc4e2e39e0d45f0b81cc2f1b2e1b6e5019136c | 37 | py | Python | contentrelations/models.py | callowayproject/django-resources | 02c789791d7570db71b6c974da5b0a15aa3d7a5f | [
"Apache-2.0"
] | null | null | null | contentrelations/models.py | callowayproject/django-resources | 02c789791d7570db71b6c974da5b0a15aa3d7a5f | [
"Apache-2.0"
] | null | null | null | contentrelations/models.py | callowayproject/django-resources | 02c789791d7570db71b6c974da5b0a15aa3d7a5f | [
"Apache-2.0"
] | null | null | null | from .related import RelatedResource
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2fff6f37a70336c7a6b578b1df5d9d0df24fed28 | 207 | py | Python | backend/helpers/date.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | backend/helpers/date.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | backend/helpers/date.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | from datetime import datetime
from pytz import timezone
DEFAULT_TIMEZONE = timezone("America/Sao_Paulo")
def get_now_datetime(tz: timezone = DEFAULT_TIMEZONE) -> datetime:
return datetime.now(tz=tz)
| 20.7 | 66 | 0.782609 | 28 | 207 | 5.607143 | 0.5 | 0.191083 | 0.292994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 207 | 9 | 67 | 23 | 0.877095 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
643c5e0fe92c239b5c0eabaf7a57fba15df5dc69 | 11,182 | py | Python | test/inventory/test_loader.py | polarG/splunk-connect-for-snmp | d1e85675edd5caa5bad9114d1611411e15cec063 | [
"Apache-2.0"
] | null | null | null | test/inventory/test_loader.py | polarG/splunk-connect-for-snmp | d1e85675edd5caa5bad9114d1611411e15cec063 | [
"Apache-2.0"
] | null | null | null | test/inventory/test_loader.py | polarG/splunk-connect-for-snmp | d1e85675edd5caa5bad9114d1611411e15cec063 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase, mock
from unittest.mock import Mock, mock_open, patch
from pymongo.results import UpdateResult
from splunk_connect_for_snmp.common.inventory_record import InventoryRecord
from splunk_connect_for_snmp.inventory.loader import (
gen_walk_task,
load,
transform_address_to_key,
)
... | 43.85098 | 135 | 0.681363 | 1,372 | 11,182 | 5.252915 | 0.101312 | 0.083252 | 0.064382 | 0.080477 | 0.922992 | 0.908284 | 0.894269 | 0.874566 | 0.873873 | 0.864021 | 0 | 0.039697 | 0.184493 | 11,182 | 254 | 136 | 44.023622 | 0.750631 | 0 | 0 | 0.631818 | 0 | 0.004545 | 0.317027 | 0.226435 | 0 | 0 | 0 | 0 | 0.240909 | 1 | 0.05 | false | 0 | 0.022727 | 0 | 0.077273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6442796a1f255b130bdf8d341b5081591c1c19b7 | 16,557 | py | Python | experiments/src/experiments_generation.py | corneliocristina/RuDaS | b5ddaeae96760e80190e2b0763d2a745f57e4eef | [
"Apache-2.0"
] | null | null | null | experiments/src/experiments_generation.py | corneliocristina/RuDaS | b5ddaeae96760e80190e2b0763d2a745f57e4eef | [
"Apache-2.0"
] | null | null | null | experiments/src/experiments_generation.py | corneliocristina/RuDaS | b5ddaeae96760e80190e2b0763d2a745f57e4eef | [
"Apache-2.0"
] | null | null | null | '''
Copyright IBM Corp. 1992, 1993 All Rights Reserved
SPDX-License-Identifier: Apache-2.0
'''
import os
import shutil
from constants import *
from utils import *
from exp_utils import *
# TODO
# write sh file var dynamically - use var for list
def write_run_script(test_name, datasets_string):
p = os.getcwd()... | 38.14977 | 143 | 0.538503 | 1,949 | 16,557 | 4.363776 | 0.101591 | 0.012346 | 0.0194 | 0.023986 | 0.85338 | 0.846208 | 0.82963 | 0.804586 | 0.798824 | 0.784127 | 0 | 0.010638 | 0.31304 | 16,557 | 433 | 144 | 38.237875 | 0.737032 | 0.13378 | 0 | 0.664452 | 0 | 0 | 0.06928 | 0.004628 | 0 | 0 | 0 | 0.002309 | 0 | 1 | 0.023256 | false | 0.006645 | 0.016611 | 0 | 0.039867 | 0.009967 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff351699b3ae1c38bdf9408f9474cde8c1741534 | 30 | py | Python | endereco_minha_maquina.py | rafaelblira/python-progressivo | fdd6ccf10d351d04158e03ff74dd99b431d94303 | [
"MIT"
] | null | null | null | endereco_minha_maquina.py | rafaelblira/python-progressivo | fdd6ccf10d351d04158e03ff74dd99b431d94303 | [
"MIT"
] | null | null | null | endereco_minha_maquina.py | rafaelblira/python-progressivo | fdd6ccf10d351d04158e03ff74dd99b431d94303 | [
"MIT"
] | null | null | null | import os
print( os.getcwd() ) | 15 | 20 | 0.7 | 5 | 30 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 2 | 20 | 15 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ff4fdf6a3132c929ccc4e48b671915298c28dfa7 | 7,290 | py | Python | modules/animation.py | WolfGang1710/Figures_diffraction | 79d09f51f033207a4ff16be33c4a31102b5368f9 | [
"MIT"
] | 2 | 2020-05-24T18:42:35.000Z | 2020-06-03T19:15:12.000Z | modules/animation.py | WolfGang1710/Figures_diffraction | 79d09f51f033207a4ff16be33c4a31102b5368f9 | [
"MIT"
] | null | null | null | modules/animation.py | WolfGang1710/Figures_diffraction | 79d09f51f033207a4ff16be33c4a31102b5368f9 | [
"MIT"
] | null | null | null | """
Title: Projet IPT - Diffraction DI
Description: Ce programme permet de créer une série d'images
de diffraction avec une fente voulue pour ensuite
en faire un GIF.
"""
#=== Importation des modules ===
import matplotlib.pyplot as plt #Création d'image
import numpy as np #Création figure di... | 47.960526 | 222 | 0.660631 | 960 | 7,290 | 4.925 | 0.158333 | 0.076988 | 0.045685 | 0.038071 | 0.80203 | 0.788283 | 0.787014 | 0.755076 | 0.737944 | 0.737944 | 0 | 0.009183 | 0.238134 | 7,290 | 151 | 223 | 48.278146 | 0.842096 | 0.386831 | 0 | 0.676056 | 0 | 0 | 0.086987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056338 | false | 0 | 0.056338 | 0 | 0.112676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4438c57d8ef46edc662fdd467544771f405594bd | 225 | py | Python | pybleau/plotly_api/api.py | jonathanrocher/pybleau | fa6e7841a664268a4eef0ed6cc0ff7720e1113e1 | [
"MIT"
] | 4 | 2020-02-27T22:38:29.000Z | 2021-05-03T05:32:11.000Z | pybleau/plotly_api/api.py | jonathanrocher/pybleau | fa6e7841a664268a4eef0ed6cc0ff7720e1113e1 | [
"MIT"
] | 85 | 2020-02-04T21:57:14.000Z | 2021-05-03T14:29:40.000Z | pybleau/plotly_api/api.py | jonathanrocher/pybleau | fa6e7841a664268a4eef0ed6cc0ff7720e1113e1 | [
"MIT"
] | 1 | 2020-02-20T00:45:09.000Z | 2020-02-20T00:45:09.000Z | from .plotly_scatter import plotly_scatter # noqa
from .plotly_histogram import plotly_hist # noqa
from .plotly_bar import plotly_bar # noqa
from .plotly_colors import BLACK, BLUE, GREEN, PINK, PURPLE, ORANGE, RED # noqa
| 45 | 80 | 0.786667 | 33 | 225 | 5.151515 | 0.484848 | 0.235294 | 0.247059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151111 | 225 | 4 | 81 | 56.25 | 0.890052 | 0.084444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
443dc193b0b3e68471d74bd5907a40807d6e6800 | 10,547 | py | Python | shapeways/tests/test_client.py | Shapeways/python-shapeways | 4b820826a790fcaac3c99e29e61f102358ff1dc5 | [
"Unlicense",
"MIT"
] | 14 | 2015-04-24T15:42:20.000Z | 2021-08-24T23:36:31.000Z | shapeways/tests/test_client.py | Shapeways/python-shapeways | 4b820826a790fcaac3c99e29e61f102358ff1dc5 | [
"Unlicense",
"MIT"
] | 4 | 2015-01-29T19:57:27.000Z | 2019-11-22T20:16:18.000Z | shapeways/tests/test_client.py | Shapeways/python-shapeways | 4b820826a790fcaac3c99e29e61f102358ff1dc5 | [
"Unlicense",
"MIT"
] | 5 | 2016-05-24T13:15:31.000Z | 2019-10-24T09:17:40.000Z | from requests_oauthlib import OAuth1
import mock
import requests
import unittest2
from shapeways.client import Client
class MockResponse(object):
text = None
class TestClient(unittest2.TestCase):
def test_url_adds_slashes(self):
client = Client("key", "secret")
# trailing
url = clien... | 38.492701 | 232 | 0.567744 | 1,072 | 10,547 | 5.482276 | 0.083022 | 0.132721 | 0.142249 | 0.061256 | 0.866258 | 0.846861 | 0.772503 | 0.751234 | 0.733367 | 0.699677 | 0 | 0.039229 | 0.296672 | 10,547 | 273 | 233 | 38.6337 | 0.753033 | 0.013748 | 0 | 0.68018 | 0 | 0.004505 | 0.189587 | 0.045713 | 0 | 0 | 0 | 0 | 0.382883 | 1 | 0.036036 | false | 0 | 0.022523 | 0 | 0.072072 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
444a0f7398c22b51fc80de914750256d1202431d | 3,379 | py | Python | tests/test_cli.py | frankiexyz/pager_cli | f6001e2a7a02788cb5f0b85be0c8002041d898ab | [
"MIT"
] | 4 | 2021-07-01T22:15:31.000Z | 2022-03-23T02:23:38.000Z | tests/test_cli.py | frankiexyz/pager_cli | f6001e2a7a02788cb5f0b85be0c8002041d898ab | [
"MIT"
] | 1 | 2021-07-05T04:04:41.000Z | 2021-07-05T04:04:41.000Z | tests/test_cli.py | frankiexyz/pager_cli | f6001e2a7a02788cb5f0b85be0c8002041d898ab | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""Tests for `pager_cli` package."""
from pager_cli import cli
URL = "https://api.pagerduty.com/incidents"
def test_fetch_open_incidents_empty(requests_mock):
user_id = 'random-id'
api_key = 'random-key'
url = (
f"{URL}?total=false&time_zone=UTC&statuses%5B%5D=triggered&s... | 34.131313 | 279 | 0.599586 | 396 | 3,379 | 4.926768 | 0.227273 | 0.036904 | 0.032804 | 0.032804 | 0.873911 | 0.822655 | 0.80369 | 0.783701 | 0.783701 | 0.783701 | 0 | 0.035217 | 0.235277 | 3,379 | 98 | 280 | 34.479592 | 0.719814 | 0.047647 | 0 | 0.564103 | 0 | 0.025641 | 0.459813 | 0.107165 | 0 | 0 | 0 | 0 | 0.051282 | 1 | 0.051282 | false | 0 | 0.012821 | 0 | 0.064103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
444cea320b171715d9dc8732a1e72f1f109d456d | 19 | py | Python | bots/tactical_bot/__init__.py | sergey-lebedev/concor | c228bcffd560f4180b027eddf71c446894ed265a | [
"MIT"
] | null | null | null | bots/tactical_bot/__init__.py | sergey-lebedev/concor | c228bcffd560f4180b027eddf71c446894ed265a | [
"MIT"
] | null | null | null | bots/tactical_bot/__init__.py | sergey-lebedev/concor | c228bcffd560f4180b027eddf71c446894ed265a | [
"MIT"
] | 1 | 2022-02-17T14:28:55.000Z | 2022-02-17T14:28:55.000Z | from turn import *
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4480b92d42d381fff0d1600e9ab8ac597a95a198 | 143 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/phys/Phys_connect.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/phys/Phys_connect.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/phys/Phys_connect.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.jumbo.phys.Phys_connect import PHYS_connect
class PHYS_connect_Nixi(PHYS_connect):
# inherit from Jumbo
pass
| 23.833333 | 68 | 0.804196 | 20 | 143 | 5.5 | 0.55 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 143 | 5 | 69 | 28.6 | 0.894309 | 0.125874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
4497e78e16201491c51a7f5c8bf10ceb6286f69f | 157 | py | Python | Chapter09/testing0/conftest.py | maggias/Python-Web-Development-with-Sanic | a0337b9324b4d898f79c5621705b7d0171eeb21d | [
"MIT"
] | 16 | 2022-01-03T22:17:20.000Z | 2022-03-26T09:41:35.000Z | Chapter09/testing0/conftest.py | maggias/Python-Web-Development-with-Sanic | a0337b9324b4d898f79c5621705b7d0171eeb21d | [
"MIT"
] | 3 | 2022-01-18T11:21:56.000Z | 2022-03-13T08:51:14.000Z | Chapter09/testing0/conftest.py | maggias/Python-Web-Development-with-Sanic | a0337b9324b4d898f79c5621705b7d0171eeb21d | [
"MIT"
] | 4 | 2022-01-11T21:16:07.000Z | 2022-03-30T06:24:30.000Z | import pytest
from sanic_testing.testing import SanicTestClient
from server import app
@pytest.fixture
def test_client():
return SanicTestClient(app)
| 15.7 | 49 | 0.808917 | 20 | 157 | 6.25 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140127 | 157 | 9 | 50 | 17.444444 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
92484c77b94c7d64832fe9210ff996ab018ac181 | 294 | py | Python | buscasrc/core/filters/tokens_filters/lowercase_filter.py | MagnunAVF/Python-Based-Search-Engine-V2 | 104fdc08d051b2ac140beb6a08572c717c2318a4 | [
"MIT"
] | null | null | null | buscasrc/core/filters/tokens_filters/lowercase_filter.py | MagnunAVF/Python-Based-Search-Engine-V2 | 104fdc08d051b2ac140beb6a08572c717c2318a4 | [
"MIT"
] | null | null | null | buscasrc/core/filters/tokens_filters/lowercase_filter.py | MagnunAVF/Python-Based-Search-Engine-V2 | 104fdc08d051b2ac140beb6a08572c717c2318a4 | [
"MIT"
] | null | null | null | class LowercaseFilter:
"""
Filter that receive a token list and returns a tokens list with lowercase words
"""
def __init__(self, tokens_list):
self.tokens_list = tokens_list
def filter_tokens(self):
return [token.lower() for token in self.tokens_list]
| 29.4 | 87 | 0.676871 | 39 | 294 | 4.871795 | 0.538462 | 0.263158 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248299 | 294 | 9 | 88 | 32.666667 | 0.859729 | 0.268707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
924e679f088b062aab819a5a4eaad544f56e210e | 2,328 | py | Python | tests/dashboard/test_templatetags.py | jdruiter/saleor | 9393ac20bd3e82c8ec1f17f6e47e3d7379f20419 | [
"BSD-3-Clause"
] | 1 | 2020-10-24T14:25:53.000Z | 2020-10-24T14:25:53.000Z | tests/dashboard/test_templatetags.py | jdruiter/saleor | 9393ac20bd3e82c8ec1f17f6e47e3d7379f20419 | [
"BSD-3-Clause"
] | 1 | 2022-02-10T08:53:52.000Z | 2022-02-10T08:53:52.000Z | tests/dashboard/test_templatetags.py | jdruiter/saleor | 9393ac20bd3e82c8ec1f17f6e47e3d7379f20419 | [
"BSD-3-Clause"
] | 1 | 2020-09-29T14:21:31.000Z | 2020-09-29T14:21:31.000Z | import pytest
from django.urls import reverse
from saleor.core.templatetags.shop import get_sort_by_url, get_sort_by_toggle
def test_sort_by_url_ascending(admin_client, default_category):
url = reverse('product:category',
kwargs={'path': default_category.slug,
'catego... | 35.815385 | 77 | 0.676976 | 305 | 2,328 | 4.878689 | 0.160656 | 0.100806 | 0.107527 | 0.103495 | 0.855511 | 0.797043 | 0.780914 | 0.75336 | 0.75336 | 0.736559 | 0 | 0 | 0.189863 | 2,328 | 64 | 78 | 36.375 | 0.788971 | 0 | 0 | 0.64 | 0 | 0 | 0.159364 | 0.028351 | 0 | 0 | 0 | 0 | 0.26 | 1 | 0.1 | false | 0 | 0.06 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
924f8b6fc317f6077113b9b43f46c6396d76d08f | 8,338 | py | Python | tests/core/test_core_rpc_handlers.py | vaporydev/ddht | b438a6fced97c584be1bc961603291f1d89b6733 | [
"MIT"
] | null | null | null | tests/core/test_core_rpc_handlers.py | vaporydev/ddht | b438a6fced97c584be1bc961603291f1d89b6733 | [
"MIT"
] | null | null | null | tests/core/test_core_rpc_handlers.py | vaporydev/ddht | b438a6fced97c584be1bc961603291f1d89b6733 | [
"MIT"
] | null | null | null | import json
from async_service import background_trio_service
from eth_enr.tools.factories import ENRFactory
from eth_utils import decode_hex
import pytest
import trio
from web3 import IPCProvider, Web3
from ddht.constants import ROUTING_TABLE_BUCKET_SIZE
from ddht.kademlia import KademliaRoutingTable
from ddht.rpc i... | 38.601852 | 86 | 0.740345 | 1,214 | 8,338 | 4.76771 | 0.112026 | 0.120249 | 0.105736 | 0.129233 | 0.803041 | 0.784554 | 0.771596 | 0.771596 | 0.74689 | 0.74689 | 0 | 0.0517 | 0.16023 | 8,338 | 215 | 87 | 38.781395 | 0.774921 | 0.026265 | 0 | 0.335366 | 0 | 0 | 0.057365 | 0.002837 | 0.006098 | 0 | 0 | 0 | 0.378049 | 1 | 0.018293 | false | 0 | 0.079268 | 0.018293 | 0.115854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
929664e090557c97c306f20d523e0ecf8dd3d5fa | 26 | py | Python | curlyBrace/__init__.py | jhultman/matplotlib-curly-brace | 2a757496756080ca683f618d3afdd480dd814989 | [
"MIT"
] | 1 | 2021-09-20T21:16:18.000Z | 2021-09-20T21:16:18.000Z | curlyBrace/__init__.py | jhultman/matplotlib-curly-brace | 2a757496756080ca683f618d3afdd480dd814989 | [
"MIT"
] | null | null | null | curlyBrace/__init__.py | jhultman/matplotlib-curly-brace | 2a757496756080ca683f618d3afdd480dd814989 | [
"MIT"
] | null | null | null | from .curlyBrace import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
929cf482f5706df7e94c91b3316db798ec57e06a | 214 | py | Python | pyesl/ch3/__init__.py | pinoeottavio/ESLEx | 9d203da5b46c8d66ade827c237c738a35928af48 | [
"MIT"
] | 1 | 2020-01-16T22:33:48.000Z | 2020-01-16T22:33:48.000Z | pyesl/ch3/__init__.py | pinoeottavio/ESLEx | 9d203da5b46c8d66ade827c237c738a35928af48 | [
"MIT"
] | null | null | null | pyesl/ch3/__init__.py | pinoeottavio/ESLEx | 9d203da5b46c8d66ade827c237c738a35928af48 | [
"MIT"
] | null | null | null | from .best_subset import BestSubsetRegression
from .ridge_regressor import RidgeRegressor
from .lasso_regressor import LassoRegressor
from .pcr_regressor import PcrRegressor
from .pls_regressor import PlsRegressor
| 35.666667 | 45 | 0.883178 | 25 | 214 | 7.36 | 0.56 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 214 | 5 | 46 | 42.8 | 0.948454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2be6f1b754616500c18d969591e07b33170ff578 | 146 | py | Python | ParamGenerators/__init__.py | Tamilarasan-Aruchamy/stream-bms-data-AkshayUHegde | 040070eab4fdf4ffb800212005d3ffa17fcfd74f | [
"MIT"
] | null | null | null | ParamGenerators/__init__.py | Tamilarasan-Aruchamy/stream-bms-data-AkshayUHegde | 040070eab4fdf4ffb800212005d3ffa17fcfd74f | [
"MIT"
] | null | null | null | ParamGenerators/__init__.py | Tamilarasan-Aruchamy/stream-bms-data-AkshayUHegde | 040070eab4fdf4ffb800212005d3ffa17fcfd74f | [
"MIT"
] | 1 | 2021-06-13T16:54:06.000Z | 2021-06-13T16:54:06.000Z | from .CSVParamGenerator import CSVParamGenerator
from .RandomParamGenerator import RandomParamGenerator
from .ParamGenerator import ParamGenerator | 48.666667 | 54 | 0.90411 | 12 | 146 | 11 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 146 | 3 | 55 | 48.666667 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2bfdbd7dbd0eb1b1d205ef71f1b947395deb44f4 | 352 | py | Python | penta/modules/__init__.py | fahrulmustari6/penta | 0faabb15294db60001274f7445bdd0e00a47414d | [
"Apache-2.0"
] | 162 | 2019-06-30T20:29:06.000Z | 2022-02-27T01:17:28.000Z | penta/modules/__init__.py | fahrulmustari6/penta | 0faabb15294db60001274f7445bdd0e00a47414d | [
"Apache-2.0"
] | 11 | 2019-06-30T17:07:51.000Z | 2021-01-25T20:31:24.000Z | penta/modules/__init__.py | fahrulmustari6/penta | 0faabb15294db60001274f7445bdd0e00a47414d | [
"Apache-2.0"
] | 38 | 2019-10-07T12:26:18.000Z | 2021-11-19T17:15:14.000Z | from .inspector import * # noqa: F401,F403
from .report_vuln import * # noqa: F401,F403
from .scan_dns import * # noqa: F401,F403
from .scan_ftp import * # noqa: F401,F403
from .scan_msf import * # noqa: F401,F403
from .scan_nmap import * # noqa: F401,F403
from .scan_shodan import * # noqa: F401,F403
from .scan_... | 39.111111 | 45 | 0.704545 | 55 | 352 | 4.381818 | 0.272727 | 0.33195 | 0.46473 | 0.59751 | 0.738589 | 0.647303 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.181818 | 352 | 8 | 46 | 44 | 0.670139 | 0.360795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
920425bf3c722db2b79d5494a14fe175db38e2ef | 181 | py | Python | pytorch_widedeep/bayesian_models/tabular/__init__.py | TangleSpace/pytorch-widedeep | ccc55a15c1b3205ffc8c054abc5cd25cba9ccdff | [
"MIT"
] | null | null | null | pytorch_widedeep/bayesian_models/tabular/__init__.py | TangleSpace/pytorch-widedeep | ccc55a15c1b3205ffc8c054abc5cd25cba9ccdff | [
"MIT"
] | null | null | null | pytorch_widedeep/bayesian_models/tabular/__init__.py | TangleSpace/pytorch-widedeep | ccc55a15c1b3205ffc8c054abc5cd25cba9ccdff | [
"MIT"
] | null | null | null | from pytorch_widedeep.bayesian_models.tabular.bayesian_mlp import (
BayesianTabMlp,
)
from pytorch_widedeep.bayesian_models.tabular.bayesian_linear import (
BayesianWide,
)
| 25.857143 | 70 | 0.823204 | 20 | 181 | 7.15 | 0.55 | 0.153846 | 0.265734 | 0.377622 | 0.671329 | 0.671329 | 0.671329 | 0 | 0 | 0 | 0 | 0 | 0.110497 | 181 | 6 | 71 | 30.166667 | 0.888199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a6308cf7bf6343434f19f2bf406497e0787184d4 | 93 | py | Python | transformers/lm/__init__.py | lianapanatau/BERT-for-RRC-ABSA | d31d81d5f9dce594a23f256199988fc2a11ce016 | [
"Apache-2.0"
] | 425 | 2019-03-31T02:22:29.000Z | 2022-03-26T06:55:34.000Z | transformers/lm/__init__.py | lianapanatau/BERT-for-RRC-ABSA | d31d81d5f9dce594a23f256199988fc2a11ce016 | [
"Apache-2.0"
] | 23 | 2019-04-27T09:26:08.000Z | 2021-11-10T10:18:30.000Z | transformers/lm/__init__.py | lianapanatau/BERT-for-RRC-ABSA | d31d81d5f9dce594a23f256199988fc2a11ce016 | [
"Apache-2.0"
] | 86 | 2019-04-09T06:41:29.000Z | 2022-03-14T02:11:56.000Z | from . import util
from .trainer import Trainer
from .masker import *
from . import modeling
| 18.6 | 28 | 0.774194 | 13 | 93 | 5.538462 | 0.461538 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 29 | 23.25 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a643374c91edbee45d4807baeea5c6206eb2026e | 45 | py | Python | generator/__main__.py | kodxana/bitcart-docker | 7a3762af6e725cff8e372f2b2072f39ba59bc9d6 | [
"MIT"
] | 4 | 2021-01-05T21:10:25.000Z | 2021-11-09T11:07:23.000Z | generator/__main__.py | kodxana/bitcart-docker | 7a3762af6e725cff8e372f2b2072f39ba59bc9d6 | [
"MIT"
] | 10 | 2021-03-13T18:48:47.000Z | 2022-02-26T18:40:00.000Z | generator/__main__.py | kodxana/bitcart-docker | 7a3762af6e725cff8e372f2b2072f39ba59bc9d6 | [
"MIT"
] | 5 | 2021-02-03T23:33:28.000Z | 2022-01-21T07:17:07.000Z | from . import run_generator
run_generator()
| 11.25 | 27 | 0.8 | 6 | 45 | 5.666667 | 0.666667 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 28 | 15 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a6527f871b7946e8f63f08297a22a9afe990b85f | 37,739 | py | Python | instances/passenger_demand/pas-20210421-2109-int12e/32.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/32.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/32.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2841
passenger_arriving = (
(8, 7, 6, 3, 2, 0, 5, 8, 8, 3, 2, 0), # 0
(0, 10, 5, 3, 6, 0, 4, 7, 7, 5, 0, 0), # 1
(3, 6, 4, 2, 1, 0, 7, 3, 4, 5, 1, 0), # 2
(3, 10, 2, 4, 0, 0, 2, 6, 4, 5, 1, 0), # 3
(2, 12, 6, 5, 0, 0, 3, 9, 5, 4, 4, 0), # 4
(7, 10, 4, 3, 4, 0, 4, 7, 5, 1... | 112.653731 | 213 | 0.728027 | 5,147 | 37,739 | 5.335924 | 0.224985 | 0.314594 | 0.249053 | 0.47189 | 0.331379 | 0.329595 | 0.329595 | 0.329595 | 0.329595 | 0.329595 | 0 | 0.818209 | 0.119611 | 37,739 | 334 | 214 | 112.991018 | 0.008397 | 0.032089 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6f11bec240ea36e2ccfcce7fcaed9bea2a19468 | 289 | py | Python | python/neuralpixels/__init__.py | neuralpixels/NeuralPixels | 5b6a6f0e20892535d2a193b0c9e2080a2071e9ad | [
"MIT"
] | 1 | 2020-06-07T05:23:20.000Z | 2020-06-07T05:23:20.000Z | python/neuralpixels/__init__.py | neuralpixels/NeuralPixels | 5b6a6f0e20892535d2a193b0c9e2080a2071e9ad | [
"MIT"
] | null | null | null | python/neuralpixels/__init__.py | neuralpixels/NeuralPixels | 5b6a6f0e20892535d2a193b0c9e2080a2071e9ad | [
"MIT"
] | null | null | null | from __future__ import absolute_import as _absolute_import
from __future__ import division as _division
from __future__ import print_function as _print_function
from neuralpixels import layers
from neuralpixels import image
from neuralpixels import video
from neuralpixels import losses
| 28.9 | 58 | 0.875433 | 38 | 289 | 6.157895 | 0.342105 | 0.273504 | 0.376068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124567 | 289 | 9 | 59 | 32.111111 | 0.924901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a6f2d2d9a61ac16afc8e6b8f58e11f4cd4c08aed | 50,183 | py | Python | lib/fbaModelServicesImpl.py | samseaver/KBaseFBAModeling | 22e9b9ac89be4db4bbac362d557c1145766e23ef | [
"MIT"
] | null | null | null | lib/fbaModelServicesImpl.py | samseaver/KBaseFBAModeling | 22e9b9ac89be4db4bbac362d557c1145766e23ef | [
"MIT"
] | null | null | null | lib/fbaModelServicesImpl.py | samseaver/KBaseFBAModeling | 22e9b9ac89be4db4bbac362d557c1145766e23ef | [
"MIT"
] | null | null | null | #BEGIN_HEADER
#END_HEADER
class fbaModelServices:
'''
Module Name:
fbaModelServices
Module Description:
=head1 fbaModelServices
=head2 SYNOPSIS
The FBA Model Services include support related to the reconstruction, curation,
reconciliation, and analysis of metabolic models. This includes command... | 38.366208 | 101 | 0.622103 | 5,881 | 50,183 | 5.198096 | 0.050672 | 0.015702 | 0.027969 | 0.037291 | 0.775172 | 0.759797 | 0.757246 | 0.756493 | 0.756493 | 0.755152 | 0 | 0.000293 | 0.319531 | 50,183 | 1,307 | 102 | 38.395562 | 0.894928 | 0.396509 | 0 | 0.495816 | 0 | 0 | 0.248035 | 0.02841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.200837 | false | 0.002092 | 0.037657 | 0 | 0.439331 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4720a10a25b4805e6612ee9b71915aedcbd59219 | 214 | py | Python | cybereco/exceptions.py | niztg/cybereco | da82e04b32195c56c31d8c33b7945af7cc7cda97 | [
"MIT"
] | null | null | null | cybereco/exceptions.py | niztg/cybereco | da82e04b32195c56c31d8c33b7945af7cc7cda97 | [
"MIT"
] | null | null | null | cybereco/exceptions.py | niztg/cybereco | da82e04b32195c56c31d8c33b7945af7cc7cda97 | [
"MIT"
] | null | null | null | import re
__all__ = (
'InvalidID'
)
class InvalidID(Exception):
def __init__(self, message='You passed an invalid ID'):
self.message = message
def __str__(self):
return self.message
| 15.285714 | 59 | 0.64486 | 25 | 214 | 5.04 | 0.68 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257009 | 214 | 13 | 60 | 16.461538 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0.154206 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.111111 | 0.555556 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
5b269b3a2342399b8546ed70ee4b8ddf5c4f9235 | 29 | py | Python | pprof/__init__.py | mirecl/pprof | 41d96f8a4b7da0ddce96df76753f7ef2b4a06e34 | [
"MIT"
] | 4 | 2022-03-29T11:00:07.000Z | 2022-03-29T12:55:02.000Z | pprof/__init__.py | mirecl/pprof | 41d96f8a4b7da0ddce96df76753f7ef2b4a06e34 | [
"MIT"
] | 5 | 2022-03-25T13:07:00.000Z | 2022-03-30T14:58:29.000Z | pprof/__init__.py | mirecl/pprof | 41d96f8a4b7da0ddce96df76753f7ef2b4a06e34 | [
"MIT"
] | null | null | null | from .cpu import cpu # noqa
| 14.5 | 28 | 0.689655 | 5 | 29 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.909091 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b4c29fd6f0a1db9fe80b4ded2dce7eb8df2efa2 | 12,823 | py | Python | tests/test_needs_external_needs_build.py | David-Le-Nir/sphinxcontrib-needs | fe809445505fa1e9bf5963eab1d6283dad405e92 | [
"MIT"
] | null | null | null | tests/test_needs_external_needs_build.py | David-Le-Nir/sphinxcontrib-needs | fe809445505fa1e9bf5963eab1d6283dad405e92 | [
"MIT"
] | null | null | null | tests/test_needs_external_needs_build.py | David-Le-Nir/sphinxcontrib-needs | fe809445505fa1e9bf5963eab1d6283dad405e92 | [
"MIT"
] | null | null | null | from pathlib import Path
import requests_mock
import sphinx
from sphinx_testing import with_app
@with_app(buildername="html", srcdir="doc_test/doc_needs_external_needs")
def test_doc_build_html(app, status, warning):
import subprocess
src_dir = "doc_test/doc_needs_external_needs"
out_dir = Path(app.outd... | 50.286275 | 120 | 0.68034 | 1,913 | 12,823 | 4.294825 | 0.085206 | 0.044304 | 0.042722 | 0.036514 | 0.890093 | 0.873053 | 0.826923 | 0.806232 | 0.77057 | 0.733812 | 0 | 0.025509 | 0.195976 | 12,823 | 254 | 121 | 50.484252 | 0.771387 | 0.18498 | 0 | 0.315152 | 0 | 0 | 0.345484 | 0.094162 | 0 | 0 | 0 | 0 | 0.381818 | 1 | 0.018182 | false | 0 | 0.042424 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b7c9e3725a88b2bb1da634072f3fbcb88e7ca5a | 175 | py | Python | models/Setup.py | amc-econ/nlp-emerging-technologies | 0f584d5e8d290fb4a24f644269722e902bc4a7fd | [
"MIT"
] | null | null | null | models/Setup.py | amc-econ/nlp-emerging-technologies | 0f584d5e8d290fb4a24f644269722e902bc4a7fd | [
"MIT"
] | null | null | null | models/Setup.py | amc-econ/nlp-emerging-technologies | 0f584d5e8d290fb4a24f644269722e902bc4a7fd | [
"MIT"
] | null | null | null | """Setup of the model"""
import warnings
import networkx as nx
import pandas as pd
import numpy as np
import numpy as np
# To hide warnings
warnings.filterwarnings("ignore") | 17.5 | 33 | 0.771429 | 28 | 175 | 4.821429 | 0.607143 | 0.162963 | 0.192593 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 175 | 10 | 33 | 17.5 | 0.918367 | 0.205714 | 0 | 0.333333 | 0 | 0 | 0.044776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5bae3b2d435ecc0e8448ddf977a3756256588547 | 132 | py | Python | mitmdump_main.py | hmaerki/rpi-mitmproxy | 2076aaa0adebb083bc8825e49f16ae50a1a320eb | [
"MIT"
] | null | null | null | mitmdump_main.py | hmaerki/rpi-mitmproxy | 2076aaa0adebb083bc8825e49f16ae50a1a320eb | [
"MIT"
] | null | null | null | mitmdump_main.py | hmaerki/rpi-mitmproxy | 2076aaa0adebb083bc8825e49f16ae50a1a320eb | [
"MIT"
] | null | null | null |
import mitmproxy.tools.main
# mitmproxy --ssl-insecure -s examples/simple/internet_in_mirror.py
mitmproxy.tools.main.mitmdump()
| 16.5 | 67 | 0.795455 | 18 | 132 | 5.722222 | 0.777778 | 0.271845 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 132 | 7 | 68 | 18.857143 | 0.858333 | 0.492424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 6 |
5bccb493ae1986583e1131e5c9348c11c40cbe12 | 202 | py | Python | CMS/translations/dictionaries/utils.py | office-for-students/wagtail-CMS | 98789c279edf48f2bbedb5415437da3317f0e12b | [
"MIT"
] | 4 | 2019-06-04T07:18:44.000Z | 2020-06-15T22:27:36.000Z | CMS/translations/dictionaries/utils.py | office-for-students/wagtail-CMS | 98789c279edf48f2bbedb5415437da3317f0e12b | [
"MIT"
] | 38 | 2019-05-09T13:14:56.000Z | 2022-03-12T00:54:57.000Z | CMS/translations/dictionaries/utils.py | office-for-students/wagtail-CMS | 98789c279edf48f2bbedb5415437da3317f0e12b | [
"MIT"
] | 3 | 2019-09-26T14:32:36.000Z | 2021-05-06T15:48:01.000Z | "This includes data from this and related courses at the same university or college. There was not enough data to publish more specific information. This does not reflect on the quality of the course."
| 101 | 201 | 0.806931 | 34 | 202 | 4.794118 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 202 | 1 | 202 | 202 | 0.970238 | 0.985149 | 0 | 0 | 0 | 1 | 0.985149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7533a3d7c06231166957247e4b22e7e1137f30c6 | 15,358 | py | Python | usaspending_api/accounts/tests/unit/test_account_download_filter.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | 1 | 2020-08-14T04:14:32.000Z | 2020-08-14T04:14:32.000Z | usaspending_api/accounts/tests/unit/test_account_download_filter.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | null | null | null | usaspending_api/accounts/tests/unit/test_account_download_filter.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | null | null | null | import pytest
from datetime import datetime, timezone
from model_mommy import mommy
from usaspending_api.accounts.models import AppropriationAccountBalances
from usaspending_api.accounts.v2.filters.account_download import account_download_filter
from usaspending_api.awards.models import FinancialAccountsByAwards
from ... | 36.918269 | 117 | 0.72236 | 1,576 | 15,358 | 6.759518 | 0.093909 | 0.061673 | 0.059044 | 0.076035 | 0.876373 | 0.864357 | 0.82634 | 0.740543 | 0.72618 | 0.677743 | 0 | 0.027118 | 0.188436 | 15,358 | 415 | 118 | 37.007229 | 0.827583 | 0.086925 | 0 | 0.611987 | 0 | 0 | 0.229715 | 0.196427 | 0 | 0 | 0 | 0 | 0.037855 | 1 | 0.037855 | false | 0 | 0.022082 | 0 | 0.059937 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
755b77342ecd4ae02a5719f64e8718845c06e5c1 | 52 | py | Python | venv/lib/python3.9/site-packages/django_postgres_extensions/models/__init__.py | boshanxiang/bernoulli_backend | d446a33014d7bd9b5232a921edfd377d05fe0121 | [
"MIT"
] | null | null | null | venv/lib/python3.9/site-packages/django_postgres_extensions/models/__init__.py | boshanxiang/bernoulli_backend | d446a33014d7bd9b5232a921edfd377d05fe0121 | [
"MIT"
] | null | null | null | venv/lib/python3.9/site-packages/django_postgres_extensions/models/__init__.py | boshanxiang/bernoulli_backend | d446a33014d7bd9b5232a921edfd377d05fe0121 | [
"MIT"
] | null | null | null | from .fields import *
from .fields.related import * | 26 | 29 | 0.75 | 7 | 52 | 5.571429 | 0.571429 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 29 | 26 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f35ae9a8272a0eeccd17fb72f453ecf2e3933491 | 36 | py | Python | osm2pgsql_tuner/__init__.py | rustprooflabs/osm2pgsql-tuner | 1a70cf591ed364f5f0f4a71ef9c164388558da52 | [
"MIT"
] | 3 | 2021-05-08T16:44:19.000Z | 2021-12-04T20:12:19.000Z | osm2pgsql_tuner/__init__.py | rustprooflabs/osm2pgsql-tuner | 1a70cf591ed364f5f0f4a71ef9c164388558da52 | [
"MIT"
] | 13 | 2021-05-08T16:47:02.000Z | 2022-02-23T14:06:26.000Z | osm2pgsql_tuner/__init__.py | rustprooflabs/osm2pgsql-tuner | 1a70cf591ed364f5f0f4a71ef9c164388558da52 | [
"MIT"
] | null | null | null | from osm2pgsql_tuner.tuner import *
| 18 | 35 | 0.833333 | 5 | 36 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f35eb167b4040a9c1f7671a081f59f6b01aa358b | 30 | py | Python | aerosandbox/performance/__init__.py | scivm/AeroSandbox | 616c579e49bc13c3023364773705eaac7df10da7 | [
"MIT"
] | 1 | 2021-04-07T08:59:31.000Z | 2021-04-07T08:59:31.000Z | aerosandbox/performance/__init__.py | scivm/AeroSandbox | 616c579e49bc13c3023364773705eaac7df10da7 | [
"MIT"
] | null | null | null | aerosandbox/performance/__init__.py | scivm/AeroSandbox | 616c579e49bc13c3023364773705eaac7df10da7 | [
"MIT"
] | 1 | 2021-09-11T03:28:45.000Z | 2021-09-11T03:28:45.000Z | from .operating_point import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f385a63e5ffadc99a3675d01fed01dca13678a0f | 167 | py | Python | ponyd/constants.py | fakeNetflix/square-repo-PonyDebugger | 21e6c1f01afcad2632956372b83edc04ce316908 | [
"Apache-2.0"
] | 2,880 | 2015-01-01T00:58:03.000Z | 2022-03-28T14:52:38.000Z | ponyd/constants.py | xuvw/PonyDebugger | fec3402a7f226f799f11cce0de39cacac2588375 | [
"Apache-2.0"
] | 102 | 2015-01-07T17:29:38.000Z | 2022-03-03T06:44:58.000Z | ponyd/constants.py | xuvw/PonyDebugger | fec3402a7f226f799f11cce0de39cacac2588375 | [
"Apache-2.0"
] | 360 | 2015-01-01T17:04:09.000Z | 2022-03-08T09:23:16.000Z |
import os
import sys
DEFAULT_DEVTOOLS_PATH = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(os.path.abspath(sys.argv[0]))), '..', 'src', 'devtools'))
| 27.833333 | 143 | 0.718563 | 27 | 167 | 4.37037 | 0.481481 | 0.254237 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.071856 | 167 | 5 | 144 | 33.4 | 0.754839 | 0 | 0 | 0 | 0 | 0 | 0.078313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3a18e8220381b4e76fe49c2fa64870d4dda3090 | 48 | py | Python | world/__init__.py | filesmuggler/rl-physnet | b6d9886c15d6619df331866cf6a98c61da8413e9 | [
"MIT"
] | null | null | null | world/__init__.py | filesmuggler/rl-physnet | b6d9886c15d6619df331866cf6a98c61da8413e9 | [
"MIT"
] | null | null | null | world/__init__.py | filesmuggler/rl-physnet | b6d9886c15d6619df331866cf6a98c61da8413e9 | [
"MIT"
] | null | null | null | from . import action, environment, physics, sac
| 24 | 47 | 0.770833 | 6 | 48 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34021945763c42e2a492d05de7d4984bb354e36d | 221 | py | Python | PyHEADTAIL/trackers/simple_long_tracking.py | fsoubelet/PyHEADTAIL | 51cae8845cceb61cc3f140db4ab0eeb68469110f | [
"BSD-3-Clause"
] | null | null | null | PyHEADTAIL/trackers/simple_long_tracking.py | fsoubelet/PyHEADTAIL | 51cae8845cceb61cc3f140db4ab0eeb68469110f | [
"BSD-3-Clause"
] | null | null | null | PyHEADTAIL/trackers/simple_long_tracking.py | fsoubelet/PyHEADTAIL | 51cae8845cceb61cc3f140db4ab0eeb68469110f | [
"BSD-3-Clause"
] | null | null | null | from .longitudinal_tracking import *
from PyHEADTAIL.general.decorators import deprecated
@deprecated("--> Use the longitudinal_tracking module instead.\n")
def simple_long_tracking():
pass
simple_long_tracking()
| 20.090909 | 66 | 0.79638 | 26 | 221 | 6.538462 | 0.653846 | 0.235294 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 221 | 10 | 67 | 22.1 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.095023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
341849528b66c4ddf2861422c12c0aa76860e780 | 80 | py | Python | FlaskTest/day_01/users/views.py | tjhlp/FlaskProject | 2213060ec3ee2720d79a7a3f71fbcaf23a85d64d | [
"MIT"
] | null | null | null | FlaskTest/day_01/users/views.py | tjhlp/FlaskProject | 2213060ec3ee2720d79a7a3f71fbcaf23a85d64d | [
"MIT"
] | null | null | null | FlaskTest/day_01/users/views.py | tjhlp/FlaskProject | 2213060ec3ee2720d79a7a3f71fbcaf23a85d64d | [
"MIT"
] | null | null | null | from . import *
@user_bp.route('/user')
def get_user():
return 'xiaohong'
| 11.428571 | 23 | 0.6375 | 11 | 80 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 6 | 24 | 13.333333 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3445c7a40f8b6e9ccb3ef8482e6462d0903fc461 | 138 | py | Python | tellurium/tests/testdata/sedml/data/data_creator.py | kirichoi/tellurium | 77cf6e794600587741ebe209644a78051e0db1d5 | [
"Apache-2.0"
] | 73 | 2016-06-13T12:44:28.000Z | 2021-12-31T14:44:39.000Z | tellurium/tests/testdata/sedml/data/data_creator.py | kirichoi/tellurium | 77cf6e794600587741ebe209644a78051e0db1d5 | [
"Apache-2.0"
] | 461 | 2015-03-26T00:05:16.000Z | 2022-03-16T17:24:35.000Z | tellurium/tests/testdata/sedml/data/data_creator.py | kirichoi/tellurium | 77cf6e794600587741ebe209644a78051e0db1d5 | [
"Apache-2.0"
] | 30 | 2016-01-18T16:50:54.000Z | 2021-07-06T09:29:53.000Z | """
Create some random data
"""
from __future__ import print_function, absolute_import
import pandas as pd
# TODO: NuML/CSV converter
| 12.545455 | 54 | 0.76087 | 19 | 138 | 5.210526 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 138 | 10 | 55 | 13.8 | 0.86087 | 0.355072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
346cb2d2f0d35217e119f61aa77abb3b8b2abc17 | 28 | py | Python | au_adsp/__init__.py | mpgriff/au_adsp | 48f2fa3b61e3bd468f8a341bcb7bccd51237fb73 | [
"MIT"
] | null | null | null | au_adsp/__init__.py | mpgriff/au_adsp | 48f2fa3b61e3bd468f8a341bcb7bccd51237fb73 | [
"MIT"
] | null | null | null | au_adsp/__init__.py | mpgriff/au_adsp | 48f2fa3b61e3bd468f8a341bcb7bccd51237fb73 | [
"MIT"
] | null | null | null | from .au_adsp import zplane
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
caadea2ffa37db802f9d0abf5cb39cd218b81686 | 240 | py | Python | deeprec/models/dnn.py | gsscsd/DeepRec | 61929c4e0eb3ffe06d309a1c64bd22ac296eed19 | [
"Apache-2.0"
] | null | null | null | deeprec/models/dnn.py | gsscsd/DeepRec | 61929c4e0eb3ffe06d309a1c64bd22ac296eed19 | [
"Apache-2.0"
] | null | null | null | deeprec/models/dnn.py | gsscsd/DeepRec | 61929c4e0eb3ffe06d309a1c64bd22ac296eed19 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
from .base import BaseModel
class DNN(BaseModel):
def __init__(self, dense_feature, sparse_feature, task=None, hiddens=None):
super(DNN, self).__init__(dense_feature, sparse_feature, task)
pass
| 26.666667 | 79 | 0.733333 | 32 | 240 | 5.125 | 0.625 | 0.146341 | 0.219512 | 0.304878 | 0.353659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179167 | 240 | 8 | 80 | 30 | 0.832487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cabfbfd9975c73a7eae7117a27edddda09cc06f6 | 371 | py | Python | rebin1d/__init__.py | leejjoon/rebin1d | 9ca9b830f5eb7e772ad00793296874fff213d923 | [
"BSD-3-Clause"
] | null | null | null | rebin1d/__init__.py | leejjoon/rebin1d | 9ca9b830f5eb7e772ad00793296874fff213d923 | [
"BSD-3-Clause"
] | null | null | null | rebin1d/__init__.py | leejjoon/rebin1d | 9ca9b830f5eb7e772ad00793296874fff213d923 | [
"BSD-3-Clause"
] | null | null | null | from .intp_integrated import (AccumulatedInterpNN,
AccumulatedInterpDrizzle,
AccumulatedInterpLinear,
AccumulatedInterpLineList)
__ALL__ = ["AccumulatedInterpNN",
"AccumulatedInterpDrizzle",
"AccumulatedInte... | 37.1 | 56 | 0.576819 | 13 | 371 | 16.076923 | 0.692308 | 0.411483 | 0.631579 | 0.870813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.369272 | 371 | 9 | 57 | 41.222222 | 0.893162 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 0.19407 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cacadd5feb130b3cca4edf9a8b3ec14d4f20727d | 144 | py | Python | models/resource_redis.py | Zephor5/resource-mall | f0a3cea0d4c9072ea79fc3467aecc98cd96d5f2c | [
"Apache-2.0"
] | null | null | null | models/resource_redis.py | Zephor5/resource-mall | f0a3cea0d4c9072ea79fc3467aecc98cd96d5f2c | [
"Apache-2.0"
] | null | null | null | models/resource_redis.py | Zephor5/resource-mall | f0a3cea0d4c9072ea79fc3467aecc98cd96d5f2c | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# eric_wu<zephor@qq.com>
from models.resource_base import ResourceBase
class ResourceRedis(ResourceBase):
# todo
pass
| 14.4 | 45 | 0.743056 | 19 | 144 | 5.526316 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.166667 | 144 | 9 | 46 | 16 | 0.866667 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
cad21809a743f3a0b60489a013cf2a9ed21e0ba6 | 28 | py | Python | thonnycontrib/circuitpython/api_stubs/collections.py | thonny/thonny-circuitpython | b58fef0a0a0d9a3426d00919531a9e43d5f9bcb7 | [
"MIT"
] | 1 | 2020-02-12T19:37:27.000Z | 2020-02-12T19:37:27.000Z | thonnycontrib/circuitpython/api_stubs/collections.py | thonny/thonny-circuitpython | b58fef0a0a0d9a3426d00919531a9e43d5f9bcb7 | [
"MIT"
] | null | null | null | thonnycontrib/circuitpython/api_stubs/collections.py | thonny/thonny-circuitpython | b58fef0a0a0d9a3426d00919531a9e43d5f9bcb7 | [
"MIT"
] | 1 | 2021-11-17T05:21:50.000Z | 2021-11-17T05:21:50.000Z | def namedtuple():
pass
| 7 | 17 | 0.607143 | 3 | 28 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 28 | 3 | 18 | 9.333333 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
caed5003ace284fe4fc3f0ca52e9bd233f08dc38 | 67 | py | Python | pymdp/core/algos/__init__.py | osaaso3/pymdp | 05290fabcd22558878b5e921773cb85b2c63ba02 | [
"MIT"
] | 108 | 2020-12-08T06:45:28.000Z | 2022-03-30T12:32:59.000Z | pymdp/core/algos/__init__.py | osaaso3/pymdp | 05290fabcd22558878b5e921773cb85b2c63ba02 | [
"MIT"
] | 16 | 2021-01-17T14:32:17.000Z | 2022-03-13T16:39:00.000Z | pymdp/core/algos/__init__.py | osaaso3/pymdp | 05290fabcd22558878b5e921773cb85b2c63ba02 | [
"MIT"
] | 17 | 2021-01-01T15:02:47.000Z | 2022-03-19T05:08:45.000Z | from .fpi import run_fpi
from .mmp import run_mmp, run_mmp_testing
| 22.333333 | 41 | 0.820896 | 13 | 67 | 3.923077 | 0.461538 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 2 | 42 | 33.5 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b18bbe0050d102aa974c6ef5315f300d786d883 | 25,277 | py | Python | examples/cm360_data_warehouse_example.py | Ressmann/starthinker | 301c5cf17e382afee346871974ca2f4ae905a94a | [
"Apache-2.0"
] | 138 | 2018-11-28T21:42:44.000Z | 2022-03-30T17:26:35.000Z | examples/cm360_data_warehouse_example.py | Ressmann/starthinker | 301c5cf17e382afee346871974ca2f4ae905a94a | [
"Apache-2.0"
] | 36 | 2019-02-19T18:33:20.000Z | 2022-01-24T18:02:44.000Z | examples/cm360_data_warehouse_example.py | Ressmann/starthinker | 301c5cf17e382afee346871974ca2f4ae905a94a | [
"Apache-2.0"
] | 54 | 2018-12-06T05:47:32.000Z | 2022-02-21T22:01:01.000Z | ###########################################################################
#
# Copyright 2021 Google LLC
#
# 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
#
# https://www.apache.org/l... | 23.959242 | 148 | 0.558967 | 2,448 | 25,277 | 5.598856 | 0.098448 | 0.073544 | 0.098059 | 0.14096 | 0.786152 | 0.773895 | 0.763169 | 0.758062 | 0.747775 | 0.74077 | 0 | 0.022408 | 0.272619 | 25,277 | 1,054 | 149 | 23.981973 | 0.72305 | 0.026744 | 0 | 0.687371 | 0 | 0.001035 | 0.404725 | 0.031097 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.005176 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b2b76dfc6605e9ec5303eed005b054a651ba6d0 | 163 | py | Python | dash/categories/fields.py | Ilhasoft/dash | d9b900cc08d9238304a226d837a4c90dec6b46fc | [
"BSD-3-Clause"
] | 7 | 2015-06-25T20:09:35.000Z | 2019-02-12T17:41:46.000Z | dash/categories/fields.py | Ilhasoft/dash | d9b900cc08d9238304a226d837a4c90dec6b46fc | [
"BSD-3-Clause"
] | 108 | 2015-01-05T13:23:57.000Z | 2022-02-10T10:55:01.000Z | dash/categories/fields.py | rapidpro/dash | 71c8fcd1ab823ef31512b5ee22eca6158b3575c1 | [
"BSD-3-Clause"
] | 9 | 2015-06-15T15:13:13.000Z | 2019-01-09T18:34:20.000Z | from django import forms
class CategoryChoiceField(forms.ModelChoiceField):
def label_from_instance(self, obj):
return obj.get_label_from_instance()
| 23.285714 | 50 | 0.779141 | 20 | 163 | 6.1 | 0.7 | 0.147541 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153374 | 163 | 6 | 51 | 27.166667 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
1b41b620f82643e56edd88bad9902094580697e9 | 49 | py | Python | lib/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 18 | 2017-05-17T13:51:08.000Z | 2021-06-13T14:34:42.000Z | lib/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 1 | 2019-03-15T05:39:49.000Z | 2019-03-15T06:49:20.000Z | lib/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 7 | 2018-04-24T11:25:03.000Z | 2021-03-21T16:41:42.000Z | import models
import optimizers
import rnn_cells | 16.333333 | 17 | 0.877551 | 7 | 49 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 3 | 18 | 16.333333 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b5036f46ae53196caf251de6b5734b894e843a6 | 171 | py | Python | weights/__init__.py | VivienCabannes/infimum_loss | f3fa6dbdf73431105d1097712dae0d23ec0ca37d | [
"MIT"
] | 10 | 2020-12-22T21:30:06.000Z | 2021-09-10T09:07:13.000Z | weights/__init__.py | VivienCabannes/infimum_loss | f3fa6dbdf73431105d1097712dae0d23ec0ca37d | [
"MIT"
] | 5 | 2021-05-26T16:04:43.000Z | 2021-08-05T13:52:17.000Z | weights/__init__.py | VivienCabannes/infimum_loss | f3fa6dbdf73431105d1097712dae0d23ec0ca37d | [
"MIT"
] | null | null | null |
from .graph_laplacian import GraphLaplacian
from .laplacian import Diffusion
from .nearest_neighbors import NearestNeighbors
from .ridge_regression import RidgeRegressor
| 28.5 | 47 | 0.877193 | 19 | 171 | 7.736842 | 0.631579 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099415 | 171 | 5 | 48 | 34.2 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b5d17d6d754d6e31f9c786828a0a96cc26beecc | 5,946 | py | Python | tests/test_clitable.py | kotaoue/clitable | b9df60e372a8a6cd71a5cf867b74b1cc4f1af152 | [
"MIT"
] | null | null | null | tests/test_clitable.py | kotaoue/clitable | b9df60e372a8a6cd71a5cf867b74b1cc4f1af152 | [
"MIT"
] | 6 | 2020-04-07T12:52:07.000Z | 2020-06-11T14:31:39.000Z | tests/test_clitable.py | kotaoue/clitable | b9df60e372a8a6cd71a5cf867b74b1cc4f1af152 | [
"MIT"
] | null | null | null | from unittest import TestCase
import clitable
class ClitableTest(TestCase):
def test_len_title(self):
test_list = [
{'id': 1, 'time': 1586995200, 'name': 'kota', 'do': 'breakfast'},
{'id': 2, 'time': 1587006000, 'name': 'kota', 'do': 'lunch'},
{'id': 3, 'time': 1587016... | 44.044444 | 77 | 0.456778 | 577 | 5,946 | 4.594454 | 0.084922 | 0.096567 | 0.120709 | 0.042248 | 0.827989 | 0.809883 | 0.809883 | 0.809883 | 0.793663 | 0.793663 | 0 | 0.127199 | 0.292634 | 5,946 | 134 | 78 | 44.373134 | 0.503091 | 0 | 0 | 0.649123 | 0 | 0 | 0.324252 | 0.083417 | 0 | 0 | 0 | 0 | 0.096491 | 1 | 0.070175 | false | 0 | 0.017544 | 0 | 0.096491 | 0.017544 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b91514a29a4ab231496120ea51190b4a657e21a | 34 | py | Python | antu/nn/dynet/modules/__init__.py | AntNLP/pyAnt | 3256ada0784401b9677d9568e81f3a8792eebee7 | [
"Apache-2.0"
] | 17 | 2018-12-28T09:39:12.000Z | 2021-09-21T11:56:00.000Z | antu/nn/dynet/modules/__init__.py | AntNLP/pyAnt | 3256ada0784401b9677d9568e81f3a8792eebee7 | [
"Apache-2.0"
] | 3 | 2019-01-21T06:14:16.000Z | 2020-05-25T13:18:09.000Z | antu/nn/dynet/modules/__init__.py | AntNLP/antu | 3256ada0784401b9677d9568e81f3a8792eebee7 | [
"Apache-2.0"
] | 11 | 2018-12-31T09:06:03.000Z | 2021-06-18T07:00:53.000Z | from .dynet_model import dy_model
| 17 | 33 | 0.852941 | 6 | 34 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.