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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b201b31066055f9b82e14e528f2f8dda0240a331 | 20,871 | py | Python | sdk/python/pulumi_aws/dms/endpoint.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/dms/endpoint.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/dms/endpoint.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | 53.930233 | 390 | 0.671602 | 2,416 | 20,871 | 5.601407 | 0.110513 | 0.068278 | 0.057932 | 0.035912 | 0.772113 | 0.71854 | 0.690608 | 0.647602 | 0.630607 | 0.628316 | 0 | 0.007479 | 0.231278 | 20,871 | 386 | 391 | 54.069948 | 0.836013 | 0.420104 | 0 | 0.301887 | 1 | 0 | 0.163635 | 0.057924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113208 | false | 0.033019 | 0.033019 | 0.009434 | 0.259434 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b75050fb410e483fee704808b868658caed96e0d | 3,401 | py | Python | tests/contributor_test.py | codeine-coding/APA-References | 7bbc8ff2b2284068014e5c4e776688de9f589b21 | [
"MIT"
] | 1 | 2018-09-22T09:56:09.000Z | 2018-09-22T09:56:09.000Z | tests/contributor_test.py | codeine-coding/APA-References | 7bbc8ff2b2284068014e5c4e776688de9f589b21 | [
"MIT"
] | null | null | null | tests/contributor_test.py | codeine-coding/APA-References | 7bbc8ff2b2284068014e5c4e776688de9f589b21 | [
"MIT"
] | null | null | null | import unittest
from models.contributor import Contributor
class ContributorFormattingTest(unittest.TestCase):
def setUp(self):
Contributor.contributors.clear()
def test_full_name_with_middle(self):
Contributor('John', 'Allen', 'Smith')
self.assertEqual('Smith,J.A.', Contributor.cont... | 38.213483 | 112 | 0.580712 | 356 | 3,401 | 5.438202 | 0.174157 | 0.085227 | 0.098141 | 0.108471 | 0.838843 | 0.766012 | 0.689566 | 0.647727 | 0.61312 | 0.582645 | 0 | 0.001143 | 0.228462 | 3,401 | 88 | 113 | 38.647727 | 0.736662 | 0 | 0 | 0.60274 | 0 | 0.068493 | 0.244928 | 0.007645 | 0 | 0 | 0 | 0 | 0.136986 | 1 | 0.150685 | false | 0.068493 | 0.027397 | 0 | 0.191781 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b753a54f60be332a830480261505b2d3d6b72ef2 | 2,461 | py | Python | openff/evaluator/tests/test_attributes/test_typing.py | lilyminium/openff-evaluator | 21da54363009d83110b54d57e4416ae31df3868b | [
"MIT"
] | null | null | null | openff/evaluator/tests/test_attributes/test_typing.py | lilyminium/openff-evaluator | 21da54363009d83110b54d57e4416ae31df3868b | [
"MIT"
] | null | null | null | openff/evaluator/tests/test_attributes/test_typing.py | lilyminium/openff-evaluator | 21da54363009d83110b54d57e4416ae31df3868b | [
"MIT"
] | null | null | null | """
Units tests for openff.evaluator.attributes.typing
"""
import typing
from random import random
import pytest
from openff.evaluator import unit
from openff.evaluator.attributes.typing import (
is_instance_of_type,
is_type_subclass_of_type,
)
@pytest.mark.parametrize(
"type_a, type_b",
[
... | 30.382716 | 74 | 0.652174 | 332 | 2,461 | 4.590361 | 0.111446 | 0.149606 | 0.128609 | 0.149606 | 0.841207 | 0.779528 | 0.707349 | 0.650919 | 0.487533 | 0.269029 | 0 | 0.002539 | 0.199919 | 2,461 | 80 | 75 | 30.7625 | 0.771458 | 0.110524 | 0 | 0.193548 | 0 | 0 | 0.027765 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.064516 | false | 0 | 0.080645 | 0 | 0.145161 | 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 |
b75689a1da7068e713d19785791c4a2b1f1f292b | 304 | py | Python | Signal Interpreter Server/routes.py | mafzal17/signal-interpreter-server | 912b663925b21a70bf2b1ec8d8c770aab67d0655 | [
"MIT"
] | null | null | null | Signal Interpreter Server/routes.py | mafzal17/signal-interpreter-server | 912b663925b21a70bf2b1ec8d8c770aab67d0655 | [
"MIT"
] | null | null | null | Signal Interpreter Server/routes.py | mafzal17/signal-interpreter-server | 912b663925b21a70bf2b1ec8d8c770aab67d0655 | [
"MIT"
] | null | null | null | # routes.py
from flask import Flask, request
signal_interpreter_app = Flask(__name__)
@signal_interpreter_app.route("/")
def start():
return "Hello world!"
@signal_interpreter_app.route("/", methods=["POST"])
def mirror_data():
data = request.get_json()
print(data)
return data
| 13.818182 | 52 | 0.694079 | 38 | 304 | 5.236842 | 0.605263 | 0.256281 | 0.301508 | 0.251256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 304 | 21 | 53 | 14.47619 | 0.789683 | 0.029605 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0.1 | 0.5 | 0.1 | 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 |
b76953dea071887b00f6815bc26b085607ed53c6 | 466 | py | Python | code/cltExampleBoth.py | ross-wilkinson/sprint-variance | b97f2fdf4d8ff14eb9a77712e2340a7925d6abc6 | [
"MIT"
] | null | null | null | code/cltExampleBoth.py | ross-wilkinson/sprint-variance | b97f2fdf4d8ff14eb9a77712e2340a7925d6abc6 | [
"MIT"
] | null | null | null | code/cltExampleBoth.py | ross-wilkinson/sprint-variance | b97f2fdf4d8ff14eb9a77712e2340a7925d6abc6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Dec 18 02:51:32 2020
@author: rosswilkinson
"""
# initialize packages
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
maxPowerErgo = np.array([1545, 1526, 1526, 1565, 1614, 1544, 1553, 1611,
1519, 1608... | 21.181818 | 73 | 0.60515 | 63 | 466 | 4.47619 | 0.857143 | 0.049645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318841 | 0.259657 | 466 | 21 | 74 | 22.190476 | 0.498551 | 0.263949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b7b10bc4d480c449e5b90fbf843111b1b0c3e3a0 | 513 | py | Python | ipd/libvirt/error.py | GaretJax/ipd | 7900bdacdae3cc0b9d61dabb741b8782df8b8360 | [
"MIT"
] | null | null | null | ipd/libvirt/error.py | GaretJax/ipd | 7900bdacdae3cc0b9d61dabb741b8782df8b8360 | [
"MIT"
] | 3 | 2021-03-31T18:40:07.000Z | 2021-12-13T19:44:27.000Z | ipd/libvirt/error.py | GaretJax/ipd | 7900bdacdae3cc0b9d61dabb741b8782df8b8360 | [
"MIT"
] | null | null | null |
class LibvirtError(Exception):
pass
class ProgramNotFound(LibvirtError):
pass
class VersionNotSupported(LibvirtError):
pass
class FeatureNotSupported(LibvirtError, NotImplementedError):
pass
class UnknownPacketType(LibvirtError):
pass
class ProcedureNotFound(LibvirtError):
pass
cla... | 15.545455 | 61 | 0.719298 | 47 | 513 | 7.574468 | 0.489362 | 0.151685 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 513 | 32 | 62 | 16.03125 | 0.851675 | 0 | 0 | 0.352941 | 0 | 0 | 0.023483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.352941 | 0 | 0.058824 | 0.588235 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b7b4da0cb8763336b485a7719684fbb069df0181 | 418 | py | Python | test/conftest.py | qtemp/sqlalchemy-ibmi | b17693ab4bc7e6842691b6b0f7047da71e28391b | [
"Apache-2.0"
] | 15 | 2020-01-13T18:01:31.000Z | 2021-12-22T15:43:01.000Z | test/conftest.py | qtemp/sqlalchemy-ibmi | b17693ab4bc7e6842691b6b0f7047da71e28391b | [
"Apache-2.0"
] | 90 | 2019-11-26T17:01:01.000Z | 2022-03-12T01:02:23.000Z | test/conftest.py | qtemp/sqlalchemy-ibmi | b17693ab4bc7e6842691b6b0f7047da71e28391b | [
"Apache-2.0"
] | 9 | 2019-12-23T16:45:43.000Z | 2021-09-03T16:10:45.000Z | # Follow standard SQLAlchemy testing setup
# See https://github.com/sqlalchemy/sqlalchemy/blob/b5927dd9229d9ce85fc2ba25dad10ecbb749195c/README.dialects.rst
from sqlalchemy.dialects import registry
import pytest
registry.register("ibmi", "sqlalchemy_ibmi.base", "IBMiDb2Dialect")
pytest.register_assert_rewrite("sqlalc... | 34.833333 | 112 | 0.832536 | 46 | 418 | 7.5 | 0.652174 | 0.147826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074935 | 0.074163 | 418 | 11 | 113 | 38 | 0.816537 | 0.397129 | 0 | 0 | 0 | 0 | 0.270161 | 0.116935 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b7cf8033de265756f790d1dacbd3ae005ebfff16 | 3,707 | py | Python | tests/fbapkg/test_simple_thermo_core_model.py | freiburgermsu/ModelSEEDpy | f368354f99ddfe0b9f5ac0c8b2de72a89ccb6016 | [
"MIT"
] | 5 | 2021-06-22T18:22:29.000Z | 2022-03-02T02:17:49.000Z | tests/fbapkg/test_simple_thermo_core_model.py | freiburgermsu/ModelSEEDpy | f368354f99ddfe0b9f5ac0c8b2de72a89ccb6016 | [
"MIT"
] | 8 | 2021-06-18T07:12:48.000Z | 2022-03-30T15:35:06.000Z | tests/fbapkg/test_simple_thermo_core_model.py | freiburgermsu/ModelSEEDpy | f368354f99ddfe0b9f5ac0c8b2de72a89ccb6016 | [
"MIT"
] | 7 | 2021-05-05T22:54:01.000Z | 2022-03-11T10:18:43.000Z | # import cobrakbase
# FIXME: COMMENTING ALL OF THIS will provide a model later
"""
import os
os.environ["HOME"] = 'C:\\Users\\Andrew Freiburger\\Dropbox\\My PC (DESKTOP-M302P50)\\Documents\\UVic Civil Engineering\\Internships\\Agronne\\cobrakbase'
import cobrakbase
token = 'KCYWCM5Q3ZFAGQKDG3ESMJXGHQPK7UMN'
kbase = co... | 39.021053 | 154 | 0.661182 | 440 | 3,707 | 5.404545 | 0.284091 | 0.136249 | 0.061817 | 0.037847 | 0.17746 | 0.126156 | 0.092094 | 0.043734 | 0.043734 | 0 | 0 | 0.011154 | 0.226059 | 3,707 | 94 | 155 | 39.43617 | 0.817707 | 0.993796 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.010638 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b7d74658f16e321d9434962bcacc411057c1aab3 | 335 | py | Python | code/modified_pytracking/__init__.py | VitaAmbroz/360Tracking | 882ac910726896bfe2e3dd70b62cebca25e6fcbe | [
"MIT"
] | 2 | 2021-05-20T09:56:32.000Z | 2021-08-02T11:26:01.000Z | code/modified_pytracking/__init__.py | VitaAmbroz/360Tracking | 882ac910726896bfe2e3dd70b62cebca25e6fcbe | [
"MIT"
] | null | null | null | code/modified_pytracking/__init__.py | VitaAmbroz/360Tracking | 882ac910726896bfe2e3dd70b62cebca25e6fcbe | [
"MIT"
] | 1 | 2022-01-17T04:28:58.000Z | 2022-01-17T04:28:58.000Z | from .data import Sequence
from .tracker import Tracker, trackerlist
from .datasets import get_dataset
from .tracker_360_default import Tracker360Default
from .tracker_360_border import Tracker360Border
from .tracker_360_nfov import Tracker360NFOV
from .boundingbox import BoundingBox
from .parser import Parser
from .nf... | 33.5 | 50 | 0.859701 | 44 | 335 | 6.386364 | 0.409091 | 0.156584 | 0.149466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060403 | 0.110448 | 335 | 9 | 51 | 37.222222 | 0.88255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b7e94b2327ebd922cf55cb48f112d7e1cf671309 | 159 | py | Python | alexa_browser_client/forms.py | chinna178/browser_client | 100ee4baa615176dfa6a2d12c50e16abe81a41c6 | [
"MIT"
] | 15 | 2017-09-04T01:11:58.000Z | 2020-08-20T21:50:39.000Z | alexa_browser_client/forms.py | chinna178/browser_client | 100ee4baa615176dfa6a2d12c50e16abe81a41c6 | [
"MIT"
] | 28 | 2017-08-31T21:43:36.000Z | 2020-01-13T08:10:48.000Z | alexa_browser_client/forms.py | chinna178/browser_client | 100ee4baa615176dfa6a2d12c50e16abe81a41c6 | [
"MIT"
] | 5 | 2017-10-15T18:44:56.000Z | 2022-02-04T05:00:41.000Z | from django import forms
class CompaniesHouseOauth2Form(forms.Form):
MESSAGE_INVALID_CODE = 'Invalid code.'
code = forms.CharField(max_length=1000)
| 19.875 | 43 | 0.767296 | 19 | 159 | 6.263158 | 0.736842 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.150943 | 159 | 7 | 44 | 22.714286 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.081761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4d4adf95b30c8698b2f2b6c2cf72e5aa8601d375 | 1,236 | py | Python | admin/common_auth/forms.py | yuanyuan-deng/RDM-osf.io | e1c54e97c898d26406d71129db7e4baf82802224 | [
"Apache-2.0"
] | null | null | null | admin/common_auth/forms.py | yuanyuan-deng/RDM-osf.io | e1c54e97c898d26406d71129db7e4baf82802224 | [
"Apache-2.0"
] | 80 | 2015-02-25T15:12:15.000Z | 2015-06-11T18:44:55.000Z | admin/common_auth/forms.py | yuanyuan-deng/RDM-osf.io | e1c54e97c898d26406d71129db7e4baf82802224 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from django import forms
from django.db.models import Q
from django.contrib.auth.models import Group
from osf.models import AdminProfile
class LoginForm(forms.Form):
email = forms.CharField(label=u'Email', required=True)
password = forms.CharField(
label=u'Pass... | 33.405405 | 206 | 0.727346 | 155 | 1,236 | 5.619355 | 0.541935 | 0.028703 | 0.086108 | 0.045924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001969 | 0.177994 | 1,236 | 36 | 207 | 34.333333 | 0.855315 | 0.177994 | 0 | 0 | 0 | 0 | 0.082587 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0 | false | 0.130435 | 0.217391 | 0 | 0.565217 | 0.043478 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4d57bc789460e4f180becb2232885b1f2e7a18fe | 1,025 | py | Python | ParlAI/tests/test_import.py | UmaTaru/run | be29e4d41a4de3dee27cd6796801bfe51382d294 | [
"MIT"
] | 163 | 2019-06-23T14:07:57.000Z | 2022-02-25T23:06:07.000Z | ParlAI/tests/test_import.py | UmaTaru/run | be29e4d41a4de3dee27cd6796801bfe51382d294 | [
"MIT"
] | 8 | 2019-07-24T12:41:31.000Z | 2022-02-10T00:17:20.000Z | ParlAI/tests/test_import.py | UmaTaru/run | be29e4d41a4de3dee27cd6796801bfe51382d294 | [
"MIT"
] | 31 | 2019-06-26T01:21:07.000Z | 2021-09-06T17:23:24.000Z | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import unittest
class TestImport(unittest.TestCase):
"""Make sure the package is alive."""
def test_import_age... | 22.777778 | 65 | 0.702439 | 129 | 1,025 | 5.418605 | 0.465116 | 0.060086 | 0.111588 | 0.154506 | 0.177396 | 0.177396 | 0 | 0 | 0 | 0 | 0 | 0.001277 | 0.236098 | 1,025 | 44 | 66 | 23.295455 | 0.891443 | 0.216585 | 0 | 0 | 0 | 0 | 0.010076 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | false | 0 | 0.636364 | 0 | 0.954545 | 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 |
4db77bd545f4e74333c7a9560357a24f9487008d | 118 | py | Python | kuber/definitions/_types.py | datalayer-externals/kuber | 4d577950ce7d1be2b882fbe66827dc3d7e67b350 | [
"MIT"
] | 1 | 2019-06-11T04:57:34.000Z | 2019-06-11T04:57:34.000Z | kuber/definitions/_types.py | datalayer-externals/kuber | 4d577950ce7d1be2b882fbe66827dc3d7e67b350 | [
"MIT"
] | 1 | 2019-05-05T22:08:13.000Z | 2019-05-06T11:43:32.000Z | kuber/definitions/_types.py | datalayer-externals/kuber | 4d577950ce7d1be2b882fbe66827dc3d7e67b350 | [
"MIT"
] | 2 | 2021-05-08T14:47:56.000Z | 2021-10-15T21:47:04.000Z | import typing
import pathlib
PathLike = typing.Union[str, pathlib.Path]
OptionalPathLike = typing.Optional[PathLike]
| 19.666667 | 44 | 0.813559 | 14 | 118 | 6.857143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 5 | 45 | 23.6 | 0.90566 | 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 |
4dbcd9330b8f807fa5a328a049bcfe264e910834 | 208 | py | Python | ReverseString.py | sharanramjee/My-LeetCode-Solutions | 15b76268caab0b2a09f9764c2a46d7302f25df19 | [
"MIT"
] | null | null | null | ReverseString.py | sharanramjee/My-LeetCode-Solutions | 15b76268caab0b2a09f9764c2a46d7302f25df19 | [
"MIT"
] | null | null | null | ReverseString.py | sharanramjee/My-LeetCode-Solutions | 15b76268caab0b2a09f9764c2a46d7302f25df19 | [
"MIT"
] | null | null | null | class Solution(object):
def reverseString(self, s):
"""
:type s: str
:rtype: str
"""
str_list = list(s)
str_list.reverse()
return ''.join(str_list)
| 20.8 | 32 | 0.490385 | 23 | 208 | 4.304348 | 0.608696 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 208 | 9 | 33 | 23.111111 | 0.761538 | 0.115385 | 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 |
4dd9937efb07636bf876ca8275baa29f5bea8792 | 155 | py | Python | docker/pymongo-cli.py | scitran/nimsapi | a4203cf6c6d29aa15d33011250ee69ff929fcb0d | [
"MIT"
] | 13 | 2016-05-31T14:32:58.000Z | 2021-09-17T07:18:11.000Z | docker/pymongo-cli.py | scitran/core | a4203cf6c6d29aa15d33011250ee69ff929fcb0d | [
"MIT"
] | 911 | 2016-02-16T18:40:27.000Z | 2018-08-07T17:50:29.000Z | docker/pymongo-cli.py | scitran/nimsapi | a4203cf6c6d29aa15d33011250ee69ff929fcb0d | [
"MIT"
] | 16 | 2016-02-17T15:54:34.000Z | 2021-04-07T05:30:34.000Z | import os
import pymongo
from bson import ObjectId
db_uri = os.getenv('SCITRAN_PERSISTENT_DB_URI')
db = pymongo.MongoClient(db_uri).get_default_database()
| 25.833333 | 55 | 0.825806 | 24 | 155 | 5.041667 | 0.625 | 0.123967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090323 | 155 | 5 | 56 | 31 | 0.858156 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4ddce52aed9012b18ace017ac405e6c7364cef02 | 145 | py | Python | prototype/routing.py | benthomasson/db-designer-svg | 3f95e4ece1afc57ba8df545e3779658aa8d78427 | [
"Apache-1.1"
] | null | null | null | prototype/routing.py | benthomasson/db-designer-svg | 3f95e4ece1afc57ba8df545e3779658aa8d78427 | [
"Apache-1.1"
] | 7 | 2021-03-10T03:28:46.000Z | 2022-03-03T23:02:26.000Z | prototype/routing.py | benthomasson/db-designer-svg | 3f95e4ece1afc57ba8df545e3779658aa8d78427 | [
"Apache-1.1"
] | null | null | null | from django.conf.urls import url
from . import consumers
websocket_urlpatterns = [
url(r'^ws/prototype$', consumers.DBDesignerConsumer),
]
| 18.125 | 57 | 0.751724 | 17 | 145 | 6.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 7 | 58 | 20.714286 | 0.864 | 0 | 0 | 0 | 0 | 0 | 0.096552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4de5806cc95c63fba35d6b49db69732b87c08d94 | 13,641 | py | Python | simscale_sdk/models/force_moment_coefficients_result_control.py | slainesimscale/simscale-python-sdk | db483eeabe558e55d020f5f829a3bf13c9c287a7 | [
"MIT"
] | 8 | 2021-01-22T13:41:03.000Z | 2022-01-03T09:00:10.000Z | simscale_sdk/models/force_moment_coefficients_result_control.py | slainesimscale/simscale-python-sdk | db483eeabe558e55d020f5f829a3bf13c9c287a7 | [
"MIT"
] | null | null | null | simscale_sdk/models/force_moment_coefficients_result_control.py | slainesimscale/simscale-python-sdk | db483eeabe558e55d020f5f829a3bf13c9c287a7 | [
"MIT"
] | 3 | 2021-03-18T15:52:52.000Z | 2022-01-03T08:59:30.000Z | # coding: utf-8
"""
SimScale API
The version of the OpenAPI document: 0.0.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from simscale_sdk.configuration import Configuration
class ForceMomentCoefficientsResultControl(object):
"""NOTE: This cla... | 35.431169 | 335 | 0.677516 | 1,363 | 13,641 | 6.545121 | 0.11372 | 0.029593 | 0.207152 | 0.17016 | 0.576617 | 0.4532 | 0.408699 | 0.301536 | 0.18137 | 0.057841 | 0 | 0.014127 | 0.247563 | 13,641 | 384 | 336 | 35.523438 | 0.855027 | 0.381497 | 0 | 0.087719 | 1 | 0.011696 | 0.125455 | 0.051071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163743 | false | 0 | 0.023392 | 0 | 0.309942 | 0.011696 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4deb39e7c33717c5736353b9cd5dca8f2372f6c3 | 182 | py | Python | run_tests.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-ChristianHamilton77 | ee6156890c5ca581fe1e18cec58f5bbd4010d088 | [
"MIT"
] | null | null | null | run_tests.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-ChristianHamilton77 | ee6156890c5ca581fe1e18cec58f5bbd4010d088 | [
"MIT"
] | null | null | null | run_tests.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-ChristianHamilton77 | ee6156890c5ca581fe1e18cec58f5bbd4010d088 | [
"MIT"
] | null | null | null | import unittest
from tests.homework.j_classes import tests_classes
suite = unittest.TestLoader().loadTestsFromModule(tests_classes)
unittest.TextTestRunner(verbosity=2).run(suite) | 26 | 64 | 0.846154 | 22 | 182 | 6.863636 | 0.636364 | 0.15894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.065934 | 182 | 7 | 65 | 26 | 0.882353 | 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 |
150a5f67f588955c8810c75ee1742049f8e449dc | 113 | py | Python | misago/misago/socialauth/__init__.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/misago/socialauth/__init__.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | misago/misago/socialauth/__init__.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | default_app_config = "misago.socialauth.apps.MisagoSocialAuthConfig"
SOCIALAUTH_CACHE = "social_auth_providers"
| 28.25 | 68 | 0.858407 | 12 | 113 | 7.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 113 | 3 | 69 | 37.666667 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.584071 | 0.584071 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
151ce93a3046e586771e3d94b9df253706eaf948 | 860 | py | Python | similarString.py | mallarme/ArtWithDataCodes | bbda69f81385404fe838fdacb8730940b9318460 | [
"CC0-1.0"
] | 1 | 2021-06-24T22:18:27.000Z | 2021-06-24T22:18:27.000Z | similarString.py | mallarme/ArtWithDataCodes | bbda69f81385404fe838fdacb8730940b9318460 | [
"CC0-1.0"
] | null | null | null | similarString.py | mallarme/ArtWithDataCodes | bbda69f81385404fe838fdacb8730940b9318460 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# similarString.py
#
# Copyright 2014 Leandro <Leandro@leandrowar>
#
import difflib
import random
def DNA(length):
return ''.join(random.choice('CGTA') for nucleot in xrange(length))
DNA1 = DNA(15)
print '-'*45
print 'Sequencia 1'
print '-'*45
print DNA1
prin... | 17.916667 | 99 | 0.696512 | 126 | 860 | 4.738095 | 0.444444 | 0.140704 | 0.221106 | 0.040201 | 0.432161 | 0.264657 | 0.177554 | 0.177554 | 0.177554 | 0 | 0 | 0.067308 | 0.153488 | 860 | 47 | 100 | 18.297872 | 0.752747 | 0.216279 | 0 | 0.516129 | 0 | 0 | 0.179758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.064516 | null | null | 0.774194 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
127b982c3cd6e2908366a1c6db0e2d75550af0b1 | 89 | py | Python | TPU/2017/c.py | lozaeric/icpc_undav | 9260b7ef4646e76b96cfc77ef2aaccfabfcc8b10 | [
"MIT"
] | 3 | 2016-06-29T19:42:43.000Z | 2019-07-14T05:48:17.000Z | TPU/2017/c.py | lozaeric/icpc_undav | 9260b7ef4646e76b96cfc77ef2aaccfabfcc8b10 | [
"MIT"
] | null | null | null | TPU/2017/c.py | lozaeric/icpc_undav | 9260b7ef4646e76b96cfc77ef2aaccfabfcc8b10 | [
"MIT"
] | 4 | 2016-07-26T21:36:15.000Z | 2019-09-14T14:55:50.000Z | velocidad = input()+0.0
distancia = input()
print "{0:.2f}".format(distancia/velocidad)
| 17.8 | 43 | 0.696629 | 12 | 89 | 5.166667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.101124 | 89 | 4 | 44 | 22.25 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
12828252aee7cdc71f04d0f850b77bb86c7c1048 | 380 | py | Python | src/todo/serializers.py | mentholi/giosgapps-todo-example | e9ca2d1d50f43f578c08e6e5b3d98457e08f4c84 | [
"MIT"
] | null | null | null | src/todo/serializers.py | mentholi/giosgapps-todo-example | e9ca2d1d50f43f578c08e6e5b3d98457e08f4c84 | [
"MIT"
] | null | null | null | src/todo/serializers.py | mentholi/giosgapps-todo-example | e9ca2d1d50f43f578c08e6e5b3d98457e08f4c84 | [
"MIT"
] | null | null | null | from swampdragon.serializers.model_serializer import ModelSerializer
class TodoListSerializer(ModelSerializer):
class Meta:
model = 'todo.TodoList'
publish_fields = ('name', 'description')
class TodoItemSerializer(ModelSerializer):
class Meta:
model = 'todo.TodoItem'
publish_... | 27.142857 | 68 | 0.681579 | 34 | 380 | 7.5 | 0.617647 | 0.235294 | 0.188235 | 0.227451 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213158 | 380 | 14 | 69 | 27.142857 | 0.852843 | 0 | 0 | 0.2 | 0 | 0 | 0.139108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.5 | 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 |
1293a14380fdc1b5eb86a39b7811ed9f2cf44114 | 687 | py | Python | simulation/utils/machine_learning/cycle_gan/configs/test_options.py | LeonardII/KitCarFork | b2802c5b08cc8250446ce3731cb622af064db4ca | [
"MIT"
] | 13 | 2020-06-30T17:18:28.000Z | 2021-07-20T16:55:35.000Z | simulation/utils/machine_learning/cycle_gan/configs/test_options.py | LeonardII/KitCarFork | b2802c5b08cc8250446ce3731cb622af064db4ca | [
"MIT"
] | 1 | 2020-11-10T20:15:42.000Z | 2020-12-25T18:27:56.000Z | simulation/utils/machine_learning/cycle_gan/configs/test_options.py | LeonardII/KitCarFork | b2802c5b08cc8250446ce3731cb622af064db4ca | [
"MIT"
] | 3 | 2020-07-20T09:09:08.000Z | 2021-07-20T17:00:37.000Z | from typing import List
from .base_options import BaseOptions
class TestOptions(BaseOptions):
dataset_a: List[str] = ["./../../../../data/real_images/maschinen_halle_parking"]
"""path to images of domain A (real images)."""
dataset_b: List[str] = ["./../../../../data/simulated_images/test_images"]
""... | 27.48 | 85 | 0.671033 | 80 | 687 | 5.625 | 0.575 | 0.031111 | 0.048889 | 0.062222 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001764 | 0.174672 | 687 | 24 | 86 | 28.625 | 0.791887 | 0 | 0 | 0.166667 | 0 | 0 | 0.226069 | 0.205703 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.166667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
12a0a227030a5b19b05e30bc0defee0a2afe34e4 | 2,110 | py | Python | python/secret-handshake/handshake.py | rootulp/exercism | 312a053ad1d375752acf0fce062ee7b9c643a149 | [
"MIT"
] | 41 | 2015-02-09T18:08:45.000Z | 2022-03-06T15:23:32.000Z | python/secret-handshake/handshake.py | DucChuyenSoftwareEngineer/exercism | fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f | [
"MIT"
] | 21 | 2019-12-28T17:47:06.000Z | 2021-02-27T19:43:00.000Z | python/secret-handshake/handshake.py | DucChuyenSoftwareEngineer/exercism | fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f | [
"MIT"
] | 18 | 2016-04-29T14:35:12.000Z | 2021-06-23T07:32:29.000Z | import re
class Handshake:
EVENTS = ['wink', 'double blink', 'close your eyes', 'jump']
def commands(self, inp):
if not self.valid_inp(inp):
return []
return self.commands_for_num(self.to_num(inp))
def commands_for_num(self, num):
if self.testBit(num, 4):
... | 26.375 | 78 | 0.606161 | 264 | 2,110 | 4.742424 | 0.231061 | 0.047923 | 0.035942 | 0.022364 | 0.065495 | 0.065495 | 0.065495 | 0.065495 | 0.065495 | 0.065495 | 0 | 0.011243 | 0.283412 | 2,110 | 79 | 79 | 26.708861 | 0.816799 | 0.018957 | 0 | 0.12069 | 0 | 0 | 0.022244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258621 | false | 0 | 0.017241 | 0.103448 | 0.655172 | 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 |
4218e35e7b3dc73577f1f4005ad1e740d3c48cfc | 2,331 | py | Python | mongodbatlas/atlasresource.py | stevengonsalvez/MongoDB-Atlas-API | b19d9aad9f0aa98cb0559770d90925352d710e8a | [
"Apache-2.0"
] | null | null | null | mongodbatlas/atlasresource.py | stevengonsalvez/MongoDB-Atlas-API | b19d9aad9f0aa98cb0559770d90925352d710e8a | [
"Apache-2.0"
] | null | null | null | mongodbatlas/atlasresource.py | stevengonsalvez/MongoDB-Atlas-API | b19d9aad9f0aa98cb0559770d90925352d710e8a | [
"Apache-2.0"
] | null | null | null | import pprint
import random
import string
import json
from datetime import datetime
from dateutil import parser
from mongodbatlas.atlaskey import AtlasKey
from mongodbatlas.apimixin import APIMixin, OutputFormat
def json_datetime_encoder(item:datetime):
return str(item)
class AtlasResource(APIMixin):
"""
... | 25.9 | 86 | 0.637066 | 284 | 2,331 | 4.992958 | 0.278169 | 0.135402 | 0.049365 | 0.062059 | 0.067701 | 0.067701 | 0.067701 | 0.067701 | 0.067701 | 0.067701 | 0 | 0.002303 | 0.254826 | 2,331 | 89 | 87 | 26.191011 | 0.814047 | 0.048477 | 0 | 0.126984 | 0 | 0 | 0.074091 | 0.035 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253968 | false | 0 | 0.126984 | 0.142857 | 0.539683 | 0.126984 | 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 |
42208531c2df11b8e84fb97bf139576cbcecfec6 | 2,275 | py | Python | councilmatic/phillyleg/feeds.py | isabella232/councilmatic | a6c560d9018062774310e3f7acc474c635934f17 | [
"BSD-Source-Code"
] | 17 | 2015-01-17T23:42:37.000Z | 2021-12-15T15:42:28.000Z | councilmatic/phillyleg/feeds.py | codeforamerica/councilmatic | a6c560d9018062774310e3f7acc474c635934f17 | [
"BSD-Source-Code"
] | 2 | 2015-07-16T13:24:58.000Z | 2019-03-13T19:27:05.000Z | councilmatic/phillyleg/feeds.py | isabella232/councilmatic | a6c560d9018062774310e3f7acc474c635934f17 | [
"BSD-Source-Code"
] | 6 | 2015-07-27T13:02:08.000Z | 2021-04-16T10:25:04.000Z | from django.contrib.sites.models import Site
from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse
from django_cal.views import Events
#from taggit.models import Tag
from . import models
class LegFileListFeedMixin (object):
tag_slugs = []
querystring = None
def ti... | 26.149425 | 76 | 0.646154 | 281 | 2,275 | 5.092527 | 0.291815 | 0.055905 | 0.08805 | 0.08805 | 0.020964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255385 | 2,275 | 86 | 77 | 26.453488 | 0.844746 | 0.098462 | 0 | 0 | 0 | 0 | 0.021516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.303571 | false | 0.017857 | 0.089286 | 0.214286 | 0.767857 | 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 |
4234b10da205311283a9af89fe6078783ea8a617 | 12,877 | py | Python | Telegram ChatBot/Teams.py | Lorenzohidalgo/ConvoBot | 1a24498dc5c34de01ad4f539ab4b9281ecf8ef42 | [
"MIT"
] | 1 | 2022-03-11T04:20:23.000Z | 2022-03-11T04:20:23.000Z | Telegram ChatBot/Teams.py | Lorenzohidalgo/ConvoBot | 1a24498dc5c34de01ad4f539ab4b9281ecf8ef42 | [
"MIT"
] | null | null | null | Telegram ChatBot/Teams.py | Lorenzohidalgo/ConvoBot | 1a24498dc5c34de01ad4f539ab4b9281ecf8ef42 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from telegram import (ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineKeyboardMarkup, InlineKeyboardButton, Bot, ParseMode)
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, ConversationHandler, RegexHandler, CallbackQueryHandler
from Commons import restricted, log_it, t... | 42.780731 | 165 | 0.726722 | 1,907 | 12,877 | 4.663346 | 0.085999 | 0.138873 | 0.076465 | 0.071742 | 0.814798 | 0.770156 | 0.69133 | 0.619588 | 0.587878 | 0.543686 | 0 | 0.00607 | 0.129999 | 12,877 | 300 | 166 | 42.923333 | 0.787735 | 0.001631 | 0 | 0.565217 | 0 | 0 | 0.138945 | 0.003345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072464 | false | 0.050725 | 0.014493 | 0 | 0.188406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
423d64f3446a69722c7f78d0d8690076a122a036 | 788 | py | Python | BackendBaggie/cartview/serializers.py | Baggie-App/Updateapi | 80f200d7ffd4695e6348ce6bb9a7a31a6b821e77 | [
"MIT"
] | null | null | null | BackendBaggie/cartview/serializers.py | Baggie-App/Updateapi | 80f200d7ffd4695e6348ce6bb9a7a31a6b821e77 | [
"MIT"
] | null | null | null | BackendBaggie/cartview/serializers.py | Baggie-App/Updateapi | 80f200d7ffd4695e6348ce6bb9a7a31a6b821e77 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from cartview.models import CartVeiw
class CartVeiwCreateSerializer(serializers.ModelSerializer):
class Meta:
model = CartVeiw
fields = ('id','productID', 'customerID', 'review_at')
class CartVeiwSerializer(serializers.ModelSerializer):
customerid = ser... | 41.473684 | 98 | 0.733503 | 79 | 788 | 7.227848 | 0.405063 | 0.140105 | 0.182137 | 0.252189 | 0.136602 | 0.136602 | 0.136602 | 0 | 0 | 0 | 0 | 0.001495 | 0.151015 | 788 | 18 | 99 | 43.777778 | 0.852018 | 0 | 0 | 0.266667 | 0 | 0 | 0.196701 | 0.029188 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4253f0ba674e6e53f0057301607a483b952fda58 | 213 | py | Python | test_hello.py | jasontrue24/BMEFinal-Project-WEBAPP | 92491f820bae4ac081590974bcfa58376ee987a8 | [
"MIT"
] | null | null | null | test_hello.py | jasontrue24/BMEFinal-Project-WEBAPP | 92491f820bae4ac081590974bcfa58376ee987a8 | [
"MIT"
] | 16 | 2017-12-05T20:42:42.000Z | 2017-12-14T15:57:26.000Z | test_hello.py | jasontrue24/BMEFinal-Project-WEBAPP | 92491f820bae4ac081590974bcfa58376ee987a8 | [
"MIT"
] | null | null | null | from hello_world import hello_world
@app.route('/')
def test_hello():
"""
Basic test case to see if Hello World is printed.
"""
assert vcm-1006.vm.duke.edu:8000/hello_world == 'Hello, world'
| 21.3 | 66 | 0.652582 | 32 | 213 | 4.21875 | 0.6875 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047904 | 0.215962 | 213 | 9 | 67 | 23.666667 | 0.760479 | 0 | 0 | 0 | 0 | 0 | 0.087838 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | null | null | 0 | 0.25 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
426367eecd4d6a3f3549fd6b5af0dd04ddc249bb | 232 | py | Python | views.py | geethika-choudary/voice-rec | 7525e8ec84498b7920da3134ee2a7d8eed8b464e | [
"MIT"
] | null | null | null | views.py | geethika-choudary/voice-rec | 7525e8ec84498b7920da3134ee2a7d8eed8b464e | [
"MIT"
] | null | null | null | views.py | geethika-choudary/voice-rec | 7525e8ec84498b7920da3134ee2a7d8eed8b464e | [
"MIT"
] | null | null | null | """
Routes and views for the flask application.
"""
from datetime import datetime
from flask import render_template
from app import app
@app.route('/home')
def home():
"""Renders the home page."""
return "hello" | 19.333333 | 44 | 0.672414 | 31 | 232 | 5 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215517 | 232 | 12 | 45 | 19.333333 | 0.851648 | 0.284483 | 0 | 0 | 0 | 0 | 0.06993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
42680ddbf334979fe8b64ed9142281b1a1431832 | 215 | py | Python | featureclass/__init__.py | Itayazolay/featureclass | ab019485504f65e0b7b3cb70830eaf455f35614a | [
"Apache-2.0"
] | 27 | 2022-01-09T12:29:16.000Z | 2022-02-06T15:01:59.000Z | featureclass/__init__.py | Itayazolay/featureclass | ab019485504f65e0b7b3cb70830eaf455f35614a | [
"Apache-2.0"
] | null | null | null | featureclass/__init__.py | Itayazolay/featureclass | ab019485504f65e0b7b3cb70830eaf455f35614a | [
"Apache-2.0"
] | null | null | null | from featureclass.core import as_dataclass, asdict, feature, feature_annotations, feature_names, featureclass
__all__ = ["featureclass", "feature", "feature_names", "feature_annotations", "asdict", "as_dataclass"]
| 53.75 | 109 | 0.795349 | 23 | 215 | 7 | 0.478261 | 0.136646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083721 | 215 | 3 | 110 | 71.666667 | 0.817259 | 0 | 0 | 0 | 0 | 0 | 0.32093 | 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 |
4269acce9a346dfaf670194bc1d74868ee3574d7 | 327 | py | Python | iris_sdk/models/data/tn_history.py | NumberAI/python-bandwidth-iris | 0e05f79d68b244812afb97e00fd65b3f46d00aa3 | [
"MIT"
] | 2 | 2020-04-13T13:47:59.000Z | 2022-02-23T20:32:41.000Z | iris_sdk/models/data/tn_history.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2020-09-18T20:59:24.000Z | 2021-08-25T16:51:42.000Z | iris_sdk/models/data/tn_history.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2018-12-12T14:39:50.000Z | 2020-11-17T21:42:29.000Z | #!/usr/bin/env python
from iris_sdk.models.base_resource import BaseData, BaseResourceList
from iris_sdk.models.data.tn_status import TnStatus
from iris_sdk.models.maps.tn_history import TnHistoryMap
class TnHistoryData(TnHistoryMap):
def __init__(self):
self.telephone_number_status = BaseResourceList(Tn... | 32.7 | 68 | 0.816514 | 43 | 327 | 5.930233 | 0.627907 | 0.094118 | 0.129412 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 327 | 10 | 69 | 32.7 | 0.876289 | 0.061162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 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 |
428311f5cb3f4568963f4e5edfd2afa489f99d4a | 2,583 | py | Python | pylibzfs/pylibzfs_core.py | chong601/pyzfs-rest-api | 16d76416b869b9861353229506ab5633986c615f | [
"Apache-1.1"
] | null | null | null | pylibzfs/pylibzfs_core.py | chong601/pyzfs-rest-api | 16d76416b869b9861353229506ab5633986c615f | [
"Apache-1.1"
] | null | null | null | pylibzfs/pylibzfs_core.py | chong601/pyzfs-rest-api | 16d76416b869b9861353229506ab5633986c615f | [
"Apache-1.1"
] | null | null | null | from multiprocessing import pool
import libzfs_core
from .data_conv import handle_str_to_bytes, handle_bytes_to_str
import libzfs_core.exceptions
"""
pylibzfs_core is intended to be a "proxy" of sorts to the upstream libzfs_core.
This module is intended to bridge between pyzfs_rest_api with libzfs_core so that any qu... | 36.380282 | 95 | 0.756485 | 396 | 2,583 | 4.626263 | 0.267677 | 0.098253 | 0.09607 | 0.139738 | 0.200328 | 0.131004 | 0.09607 | 0.039301 | 0.039301 | 0 | 0 | 0 | 0.16957 | 2,583 | 71 | 96 | 36.380282 | 0.854079 | 0.090205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.204545 | 0.613636 | 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 |
429e6bd16a33e8598237908c6c6bebca98a555d5 | 1,163 | py | Python | 00001.py | Allen-xmz/selenium_basic | 7735497abf45834aec0a6c1e607fea1e010d43e4 | [
"Apache-2.0"
] | null | null | null | 00001.py | Allen-xmz/selenium_basic | 7735497abf45834aec0a6c1e607fea1e010d43e4 | [
"Apache-2.0"
] | null | null | null | 00001.py | Allen-xmz/selenium_basic | 7735497abf45834aec0a6c1e607fea1e010d43e4 | [
"Apache-2.0"
] | null | null | null | # author:Allen
from selenium import webdriver
import time
import datetime
driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
# 获取网页标题添加判断
# from selenium.webdriver.common.keys import Keys
# print(driver.title)
#assert "百度一下" in driver.title
# 获取网页文本添加判断
driver.find_element_by_name("wd").send_keys("hello w... | 29.075 | 104 | 0.751505 | 182 | 1,163 | 4.56044 | 0.450549 | 0.120482 | 0.204819 | 0.228916 | 0.354217 | 0.250602 | 0.091566 | 0.091566 | 0.091566 | 0 | 0 | 0.003738 | 0.079966 | 1,163 | 39 | 105 | 29.820513 | 0.771028 | 0.717971 | 0 | 0 | 0 | 0 | 0.16388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
35ec413ac1cd09c7f550262f015fe02775a9b18c | 136 | py | Python | business_rules/fields.py | RonquilloAeon/business-rules | 5bc936935c94bf393a263a48a21b94af2dded40b | [
"MIT"
] | null | null | null | business_rules/fields.py | RonquilloAeon/business-rules | 5bc936935c94bf393a263a48a21b94af2dded40b | [
"MIT"
] | null | null | null | business_rules/fields.py | RonquilloAeon/business-rules | 5bc936935c94bf393a263a48a21b94af2dded40b | [
"MIT"
] | null | null | null | FIELD_TEXT = "text"
FIELD_NUMERIC = "numeric"
FIELD_NO_INPUT = "none"
FIELD_SELECT = "select"
FIELD_SELECT_MULTIPLE = "select_multiple"
| 22.666667 | 41 | 0.779412 | 18 | 136 | 5.444444 | 0.444444 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 136 | 5 | 42 | 27.2 | 0.809917 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 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 |
35ef61222bc49abad8483e42c248a474b7cbd9a9 | 459 | py | Python | python/sprint13/B.py | albrant/algorithms-templates | 0fbb6ffab309763ccf9855591ce224cd855adc8a | [
"MIT"
] | null | null | null | python/sprint13/B.py | albrant/algorithms-templates | 0fbb6ffab309763ccf9855591ce224cd855adc8a | [
"MIT"
] | null | null | null | python/sprint13/B.py | albrant/algorithms-templates | 0fbb6ffab309763ccf9855591ce224cd855adc8a | [
"MIT"
] | null | null | null | NUM_CIF = {
'2': 'abc',
'3': 'def',
'4': 'ghi',
'5': 'jkl',
'6': 'mno',
'7': 'pqrs',
'8': 'tuv',
'9': 'wxyz'
}
def numero(string_number, k=0, answer=''):
if k >= len(string_number):
print(answer, end=' ')
else:
letters = NUM_CIF[string_number[k]]
for let... | 19.125 | 55 | 0.477124 | 59 | 459 | 3.610169 | 0.59322 | 0.225352 | 0.183099 | 0.178404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034921 | 0.313725 | 459 | 23 | 56 | 19.956522 | 0.64127 | 0 | 0 | 0 | 0 | 0 | 0.076253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.052632 | 0.052632 | 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 |
c404418a11618be81ea1925f2852d8bb4a92d665 | 479 | py | Python | api/config.py | DarkbordermanTemplate/fastapi-redis-linebot | 36a5a945c9f38dfccfe4a7b5e507db6dd82a6768 | [
"BSD-2-Clause"
] | 2 | 2021-07-14T07:01:01.000Z | 2021-07-14T07:14:25.000Z | api/config.py | DarkbordermanTemplate/fastapi-redis-linebot | 36a5a945c9f38dfccfe4a7b5e507db6dd82a6768 | [
"BSD-2-Clause"
] | null | null | null | api/config.py | DarkbordermanTemplate/fastapi-redis-linebot | 36a5a945c9f38dfccfe4a7b5e507db6dd82a6768 | [
"BSD-2-Clause"
] | null | null | null | import os
class Config:
"""Service configurations"""
APP_TITLE = os.environ.get("APP_TITLE", "FastAPI template")
APP_DESCRIPTION = os.environ.get("APP_DESCRIPTION", "A template for FastAPI.")
VERSION = os.environ.get("VERSION", "0.0.0")
OPENAPI_URL = os.environ.get("OPENAPI_URL", "/openapi.json")... | 34.214286 | 82 | 0.682672 | 64 | 479 | 4.953125 | 0.4375 | 0.170347 | 0.227129 | 0.094637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019656 | 0.150313 | 479 | 13 | 83 | 36.846154 | 0.759214 | 0.08977 | 0 | 0 | 0 | 0 | 0.353488 | 0.07907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c40f30a80eb189f3c8029956c84817c77c9a96b6 | 169 | py | Python | git_code_counter/__init__.py | moritanian/git-code-counter | e6897728ab2351bedeed631106eed2cc42f0c62b | [
"MIT"
] | null | null | null | git_code_counter/__init__.py | moritanian/git-code-counter | e6897728ab2351bedeed631106eed2cc42f0c62b | [
"MIT"
] | null | null | null | git_code_counter/__init__.py | moritanian/git-code-counter | e6897728ab2351bedeed631106eed2cc42f0c62b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for git-code-counter."""
__author__ = """git-code-counter"""
__email__ = 'pickit2express@gmail.com'
__version__ = '0.1.0'
| 21.125 | 45 | 0.656805 | 22 | 169 | 4.5 | 0.818182 | 0.141414 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033557 | 0.118343 | 169 | 7 | 46 | 24.142857 | 0.630872 | 0.366864 | 0 | 0 | 0 | 0 | 0.445545 | 0.237624 | 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 |
c42ed10567813850266967b34b473e1d04847916 | 393 | py | Python | fastapi_events/handlers/base.py | emcpow2/fastapi-events | e0fa0b0bd7a502744cfa42ce7968d5a396f36df4 | [
"MIT"
] | 112 | 2021-09-22T09:19:45.000Z | 2022-03-28T23:42:15.000Z | fastapi_events/handlers/base.py | emcpow2/fastapi-events | e0fa0b0bd7a502744cfa42ce7968d5a396f36df4 | [
"MIT"
] | 12 | 2021-10-18T13:39:23.000Z | 2022-03-19T18:06:18.000Z | fastapi_events/handlers/base.py | emcpow2/fastapi-events | e0fa0b0bd7a502744cfa42ce7968d5a396f36df4 | [
"MIT"
] | 5 | 2021-11-24T03:43:59.000Z | 2022-03-18T15:09:03.000Z | import abc
import asyncio
from abc import ABC
from typing import Iterable
from fastapi_events.typing import Event
class BaseEventHandler(ABC):
async def handle_many(self, events: Iterable[Event]) -> None:
await asyncio.gather(*[self.handle(event) for event in events])
@abc.abstractmethod
async d... | 24.5625 | 71 | 0.735369 | 51 | 393 | 5.627451 | 0.470588 | 0.062718 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185751 | 393 | 15 | 72 | 26.2 | 0.896875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.454545 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c434232b22d76e77255e051bb49d770911ec69e2 | 217 | py | Python | src/blip_sdk/extensions/artificial_intelligence/ai_model/uri_templates.py | mirlarof/blip-sdk-python | f958149b2524d4340eeafad8739a33db71df45ed | [
"MIT"
] | 2 | 2021-07-02T20:10:48.000Z | 2021-07-13T20:51:18.000Z | src/blip_sdk/extensions/artificial_intelligence/ai_model/uri_templates.py | mirlarof/blip-sdk-python | f958149b2524d4340eeafad8739a33db71df45ed | [
"MIT"
] | 9 | 2021-05-27T21:08:23.000Z | 2021-06-14T20:10:10.000Z | src/blip_sdk/extensions/artificial_intelligence/ai_model/uri_templates.py | mirlarof/blip-sdk-python | f958149b2524d4340eeafad8739a33db71df45ed | [
"MIT"
] | 3 | 2021-06-23T19:53:20.000Z | 2022-01-04T17:50:44.000Z | class UriTemplates:
"""AI Model uri templates."""
MODELS = '/models'
MODEL = '/model/{0}'
MODELS_SUMMARY = '/models/summary'
LAST_TRAINED_OR_PUBLISH_MODEL = '/models/last-trained-or-published'
| 19.727273 | 71 | 0.658986 | 25 | 217 | 5.52 | 0.56 | 0.188406 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.193548 | 217 | 10 | 72 | 21.7 | 0.782857 | 0.105991 | 0 | 0 | 0 | 0 | 0.345745 | 0.175532 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c443935f2ec4ab61a284e2f3e6617c46aa687289 | 192 | py | Python | Desafios/d01/d01.py | rafaelbhcosta/Python_para_iniciantes | f6b750b71e3a9d6701b29cc6e8b09aad2649c700 | [
"MIT"
] | null | null | null | Desafios/d01/d01.py | rafaelbhcosta/Python_para_iniciantes | f6b750b71e3a9d6701b29cc6e8b09aad2649c700 | [
"MIT"
] | null | null | null | Desafios/d01/d01.py | rafaelbhcosta/Python_para_iniciantes | f6b750b71e3a9d6701b29cc6e8b09aad2649c700 | [
"MIT"
] | null | null | null | # Caixa de mercado desafio 01
# Crie uma aplicação que seja capaz de identificar quantos produtos foram adicionados.
# No final ele deve informar a quantidade de produtos e o total da compra. | 48 | 86 | 0.796875 | 31 | 192 | 4.935484 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.177083 | 192 | 4 | 87 | 48 | 0.955696 | 0.963542 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c459a3f6038dce1da0bdf5871dc1e8b49e8ed7f8 | 297 | py | Python | audio/audio_calculate_time.py | hihunjin/Code-snippet-for-everything | a643522ada48822753ab0e0e42d52850a6b1c23e | [
"MIT"
] | 4 | 2021-12-17T15:33:23.000Z | 2022-03-21T09:50:41.000Z | audio/audio_calculate_time.py | hihunjin/Code-snippet-for-everything | a643522ada48822753ab0e0e42d52850a6b1c23e | [
"MIT"
] | null | null | null | audio/audio_calculate_time.py | hihunjin/Code-snippet-for-everything | a643522ada48822753ab0e0e42d52850a6b1c23e | [
"MIT"
] | null | null | null | # !pip install torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
# !wget https://file-examples-com.github.io/uploads/2017/11/file_example_WAV_1MG.wav -O ex.wav
import torchaudio
audio, sr = torchaudio.load('ex.wav')
print(audio.size(),sr)
print('time' : audio.size(-1)/sr)
| 33 | 94 | 0.737374 | 51 | 297 | 4.215686 | 0.705882 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040146 | 0.077441 | 297 | 8 | 95 | 37.125 | 0.744526 | 0.59596 | 0 | 0 | 0 | 0 | 0.08547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
c47a390a5be1e398ef6701c55b8dbf3390eb276b | 623 | py | Python | src/data/ImageNetData.py | stefantaubert/imageclef-lifelog-2019 | e779526583978be828ebc096538d094cc3cc260e | [
"MIT"
] | 1 | 2020-08-15T01:55:07.000Z | 2020-08-15T01:55:07.000Z | src/data/ImageNetData.py | stefantaubert/imageclef-lifelog-2019 | e779526583978be828ebc096538d094cc3cc260e | [
"MIT"
] | null | null | null | src/data/ImageNetData.py | stefantaubert/imageclef-lifelog-2019 | e779526583978be828ebc096538d094cc3cc260e | [
"MIT"
] | null | null | null | from src.io.ReadingContext import ReadingContext
from src.data.DataBase import DataBase
name_imagenet = "imagenet"
class ImageNetData(DataBase):
def __init__(self, ctx: ReadingContext):
return super().__init__(ctx)
def get_name(self):
return name_imagenet
def __get_data_dict__(self):
... | 29.666667 | 77 | 0.70947 | 86 | 623 | 4.767442 | 0.360465 | 0.068293 | 0.109756 | 0.097561 | 0.253659 | 0.253659 | 0.253659 | 0.253659 | 0.253659 | 0.253659 | 0 | 0 | 0.187801 | 623 | 20 | 78 | 31.15 | 0.810277 | 0 | 0 | 0 | 0 | 0 | 0.049759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.142857 | 0.357143 | 0.928571 | 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 |
c48b003c3a38890d7c09523c94714eb720910fb3 | 139 | py | Python | src/master/worker_status.py | mehsoy/jaws | b79723c1fc549741494ebf5d948e94a44e971f2a | [
"MIT"
] | 1 | 2019-06-17T17:01:17.000Z | 2019-06-17T17:01:17.000Z | src/master/worker_status.py | mehsoy/jaws | b79723c1fc549741494ebf5d948e94a44e971f2a | [
"MIT"
] | 7 | 2021-02-08T20:46:15.000Z | 2021-09-08T02:12:59.000Z | src/master/worker_status.py | mehsoy/jaws | b79723c1fc549741494ebf5d948e94a44e971f2a | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
from enum import Enum
class WorkerStatus(Enum):
ACTIVE = 1
WAITING = 2
PAUSED = 3
DEACTIVATED = 4
| 13.9 | 25 | 0.597122 | 18 | 139 | 4.611111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 0.28777 | 139 | 9 | 26 | 15.444444 | 0.787879 | 0.151079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
67133cc2b248ee72d7f12bbcf93506110bd9739a | 1,734 | py | Python | keepasshttp/crypto.py | jobevers/python-keepasshttp | c42045915e16e1f264ad6d8b506fab352fb868be | [
"Unlicense"
] | 5 | 2016-12-18T15:39:35.000Z | 2020-03-21T01:39:30.000Z | keepasshttp/crypto.py | jobevers/python-keepasshttp | c42045915e16e1f264ad6d8b506fab352fb868be | [
"Unlicense"
] | 6 | 2016-10-06T07:42:20.000Z | 2019-08-14T13:21:08.000Z | keepasshttp/crypto.py | jobevers/python-keepasshttp | c42045915e16e1f264ad6d8b506fab352fb868be | [
"Unlicense"
] | 9 | 2016-10-05T07:50:20.000Z | 2021-04-16T00:54:15.000Z | import base64
import os
from cryptography.hazmat.primitives import padding
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend
from keepasshttp import util
KEY_SIZE = 32 # this is in bytes
IV_SIZE = 16
PAD_SIZE = 128 # in bits
def p... | 23.753425 | 81 | 0.705306 | 224 | 1,734 | 5.366071 | 0.272321 | 0.037438 | 0.054908 | 0.053245 | 0.086522 | 0.086522 | 0.048253 | 0 | 0 | 0 | 0 | 0.025586 | 0.188581 | 1,734 | 73 | 82 | 23.753425 | 0.828714 | 0.035179 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244898 | false | 0.020408 | 0.122449 | 0.102041 | 0.612245 | 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 |
672f1e29e1362e253246d77e5733305ca5725c00 | 897 | py | Python | anthropos/anthropos/functions/sample_function.py | flaxandteal/arches-anthropos-poc | 12ecd976070120c24699cff2e03b3ad7b0b19156 | [
"MIT"
] | null | null | null | anthropos/anthropos/functions/sample_function.py | flaxandteal/arches-anthropos-poc | 12ecd976070120c24699cff2e03b3ad7b0b19156 | [
"MIT"
] | 10 | 2022-02-08T00:13:12.000Z | 2022-02-08T14:01:15.000Z | anthropos/anthropos/functions/sample_function.py | flaxandteal/arches-anthropos-poc | 12ecd976070120c24699cff2e03b3ad7b0b19156 | [
"MIT"
] | null | null | null | import uuid
from django.core.exceptions import ValidationError
from arches.app.functions.base import BaseFunction
from arches.app.models import models
from arches.app.models.tile import Tile
import json
details = {
"name": "Sample Function",
"type": "node",
"description": "Just a sample demonstrating node ... | 27.181818 | 70 | 0.690078 | 105 | 897 | 5.866667 | 0.466667 | 0.064935 | 0.121753 | 0.162338 | 0.232143 | 0.100649 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19175 | 897 | 32 | 71 | 28.03125 | 0.849655 | 0 | 0 | 0 | 0 | 0 | 0.315496 | 0.070234 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.32 | 0 | 0.56 | 0.2 | 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 |
67547124b04a15a518db105ed8f5cf66829e01c3 | 1,779 | py | Python | test/utils/utils.py | jaimeHMol/airflow-kubernetes | f520216555c00dc87158bd7c169d3f36722acac3 | [
"MIT"
] | 6 | 2020-11-18T11:02:20.000Z | 2021-11-16T13:00:20.000Z | test/utils/utils.py | jaimeHMol/airflow-kubernetes | f520216555c00dc87158bd7c169d3f36722acac3 | [
"MIT"
] | null | null | null | test/utils/utils.py | jaimeHMol/airflow-kubernetes | f520216555c00dc87158bd7c169d3f36722acac3 | [
"MIT"
] | 2 | 2020-11-18T11:02:22.000Z | 2020-11-19T04:18:22.000Z | from datetime import datetime
from typing import Callable, Any
import logging
import sys
from airflow import DAG
from airflow.models import TaskInstance
def execute_operator_in_template_context(name_of_test: str, operator_to_test: Callable, internal_arguments: dict,
task_id: ... | 39.533333 | 113 | 0.645306 | 224 | 1,779 | 4.883929 | 0.285714 | 0.032907 | 0.036563 | 0.038391 | 0.775137 | 0.725777 | 0.725777 | 0.670932 | 0.670932 | 0.670932 | 0 | 0.012374 | 0.273187 | 1,779 | 44 | 114 | 40.431818 | 0.83372 | 0.07701 | 0 | 0.484848 | 0 | 0 | 0.014643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.181818 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6771402f9071f15276440c97b48b2b52012527c1 | 94 | py | Python | ocsw/api/__init__.py | maxim-s-barabash/ocsw | c4be22624427f9dfa58a78cff1db85186803f4dc | [
"MIT"
] | 1 | 2020-08-02T07:19:01.000Z | 2020-08-02T07:19:01.000Z | ocsw/api/__init__.py | maxim-s-barabash/ocsw | c4be22624427f9dfa58a78cff1db85186803f4dc | [
"MIT"
] | null | null | null | ocsw/api/__init__.py | maxim-s-barabash/ocsw | c4be22624427f9dfa58a78cff1db85186803f4dc | [
"MIT"
] | null | null | null | """SDK for Octave Cloud REST API."""
from .client import APIClient
__all__ = ("APIClient",)
| 15.666667 | 36 | 0.691489 | 12 | 94 | 5.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 37 | 18.8 | 0.772152 | 0.319149 | 0 | 0 | 0 | 0 | 0.155172 | 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 |
67b20c56e9884f5235536a030c3960ee415884e1 | 748 | py | Python | sleekxmpp/xmlstream/__init__.py | calendar42/SleekXMPP--XEP-0080- | d7bd5fd29f26a5d7de872a49ff63a353b8043e49 | [
"BSD-3-Clause"
] | 1 | 2016-10-24T05:30:25.000Z | 2016-10-24T05:30:25.000Z | sleekxmpp/xmlstream/__init__.py | vijayp/SleekXMPP | b2e7f57334d27f140f079213c2016615b7168742 | [
"BSD-3-Clause"
] | 1 | 2020-04-10T22:09:06.000Z | 2020-04-10T22:09:06.000Z | sleekxmpp/xmlstream/__init__.py | vijayp/SleekXMPP | b2e7f57334d27f140f079213c2016615b7168742 | [
"BSD-3-Clause"
] | 1 | 2019-12-05T12:10:16.000Z | 2019-12-05T12:10:16.000Z | """
SleekXMPP: The Sleek XMPP Library
Copyright (C) 2010 Nathanael C. Fritz
This file is part of SleekXMPP.
See the file LICENSE for copying permission.
"""
from sleekxmpp.xmlstream.jid import JID
from sleekxmpp.xmlstream.scheduler import Scheduler
from sleekxmpp.xmlstream.stanzabase import StanzaBas... | 37.4 | 70 | 0.770053 | 84 | 748 | 6.761905 | 0.440476 | 0.160211 | 0.271127 | 0.112676 | 0.264085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006279 | 0.148396 | 748 | 19 | 71 | 39.368421 | 0.8854 | 0.200535 | 0 | 0 | 0 | 0 | 0.162021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.7 | 0 | 0.7 | 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 |
67bc6a891a8a22de0e0f3db62a18ed292419d014 | 231 | gyp | Python | binding.gyp | 95ulisse/js-taskdialog | 60ed5081f912842024910eeb7519297c7a6f72f6 | [
"MIT"
] | 1 | 2019-12-23T01:23:06.000Z | 2019-12-23T01:23:06.000Z | binding.gyp | 95ulisse/js-taskdialog | 60ed5081f912842024910eeb7519297c7a6f72f6 | [
"MIT"
] | null | null | null | binding.gyp | 95ulisse/js-taskdialog | 60ed5081f912842024910eeb7519297c7a6f72f6 | [
"MIT"
] | null | null | null | {
"targets": [
{
"target_name": "TaskDialog",
"sources": [
"src/node.cpp"
],
"libraries": [
"-lcomctl32.lib"
]
}
]
} | 17.769231 | 39 | 0.285714 | 11 | 231 | 5.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.5671 | 231 | 13 | 40 | 17.769231 | 0.63 | 0 | 0 | 0 | 0 | 0 | 0.301724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67bdacdb55535fce1c36fea46dc63edea4c73e14 | 656 | py | Python | grodddroid/BranchExplorer/branchexp/runners/key_code.py | demirdagemir/thesis | 4a48bddf815c91729e27484548bb7bbf7ddeda64 | [
"MIT"
] | null | null | null | grodddroid/BranchExplorer/branchexp/runners/key_code.py | demirdagemir/thesis | 4a48bddf815c91729e27484548bb7bbf7ddeda64 | [
"MIT"
] | null | null | null | grodddroid/BranchExplorer/branchexp/runners/key_code.py | demirdagemir/thesis | 4a48bddf815c91729e27484548bb7bbf7ddeda64 | [
"MIT"
] | null | null | null | def writeText(device,text):
for c in text:
writeChar(device,c)
def writeChar(device,c):
if c >= "0" and c <= "9":
device.press( 0x07 + (ord(c)-ord('0')) )
return
if c >= "a" and c <= "z":
device.press( 0x1d + (ord(c)-ord('a')) )
return
if c >= "A" and c <= "Z":
... | 23.428571 | 54 | 0.45122 | 85 | 656 | 3.470588 | 0.317647 | 0.071186 | 0.183051 | 0.20339 | 0.528814 | 0.257627 | 0.257627 | 0.257627 | 0.257627 | 0.257627 | 0 | 0.052885 | 0.365854 | 656 | 27 | 55 | 24.296296 | 0.65625 | 0.028963 | 0 | 0.28 | 0 | 0 | 0.022013 | 0 | 0 | 0 | 0.050314 | 0.037037 | 0 | 1 | 0.08 | false | 0 | 0 | 0 | 0.36 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67cc7dcc7fcd613c73ee49fa5d9506bed8df70bb | 146 | py | Python | pyemits/common/typing/__init__.py | thompson0012/PyEmits | 9cb6fbf27ca7e8952ed5aca26118055e04492c23 | [
"Apache-2.0"
] | 6 | 2021-10-21T14:13:25.000Z | 2021-12-26T12:22:51.000Z | pyemits/common/typing/__init__.py | thompson0012/PyEmits | 9cb6fbf27ca7e8952ed5aca26118055e04492c23 | [
"Apache-2.0"
] | null | null | null | pyemits/common/typing/__init__.py | thompson0012/PyEmits | 9cb6fbf27ca7e8952ed5aca26118055e04492c23 | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class StrEnum(str, Enum):
@classmethod
def to_list(cls) -> list:
return list(map(lambda i: i.value, cls))
| 18.25 | 48 | 0.643836 | 22 | 146 | 4.227273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239726 | 146 | 7 | 49 | 20.857143 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
db0e4f2db6c7460a3e5bf1c1c42829cf0e6e46f1 | 708 | py | Python | nlp/module/route/tokenizerPostaggerRoutes.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | 1 | 2020-09-09T19:51:44.000Z | 2020-09-09T19:51:44.000Z | nlp/module/route/tokenizerPostaggerRoutes.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | null | null | null | nlp/module/route/tokenizerPostaggerRoutes.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | 2 | 2021-09-11T07:31:19.000Z | 2022-03-17T16:27:10.000Z | from module import app
import module.service.nlpService as NlpService
import module.util.routeUtil as RouteUtil
@app.route('/tokenizer-postagger', methods=['POST'])
@RouteUtil.restrict(['ADMIN', 'MODULE'])
@RouteUtil.safe_result()
def tokenizer_postagger():
return RouteUtil.data_to_json_response(
NlpServ... | 37.263158 | 92 | 0.618644 | 66 | 708 | 6.393939 | 0.454545 | 0.184834 | 0.201422 | 0.236967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281073 | 708 | 18 | 93 | 39.333333 | 0.829077 | 0 | 0 | 0 | 0 | 0 | 0.134561 | 0.065156 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | true | 0 | 0.230769 | 0.076923 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db1ecce525eb1b6306ab84aa93c1472fbb5e21b8 | 674 | py | Python | model/stock_options.py | jpfranci/StockChecker | cf56dfb7716f3e9944a5f70d8decbc28778c8e4e | [
"MIT"
] | 1 | 2021-01-11T10:40:58.000Z | 2021-01-11T10:40:58.000Z | model/stock_options.py | jpfranci/StockChecker | cf56dfb7716f3e9944a5f70d8decbc28778c8e4e | [
"MIT"
] | null | null | null | model/stock_options.py | jpfranci/StockChecker | cf56dfb7716f3e9944a5f70d8decbc28778c8e4e | [
"MIT"
] | null | null | null | import math
from typing import List, Iterable
class StockOptions:
def __init__(self, price_threshold: float, official_sites_only: bool, size_requirement: List[str]):
self.price_threshold = price_threshold
self.official_sites_only = official_sites_only
self.size_requirement = size_r... | 29.304348 | 104 | 0.65727 | 73 | 674 | 5.753425 | 0.438356 | 0.25 | 0.121429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268546 | 674 | 23 | 105 | 29.304348 | 0.851927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
db3192e9ff7ff66685e98c758a439ee65a800573 | 456 | py | Python | blog/auth/forms.py | chengyi-wu/blog | b41d8f1dd90f11e512fa7e28d419c85a3ba438e6 | [
"MIT"
] | null | null | null | blog/auth/forms.py | chengyi-wu/blog | b41d8f1dd90f11e512fa7e28d419c85a3ba438e6 | [
"MIT"
] | null | null | null | blog/auth/forms.py | chengyi-wu/blog | b41d8f1dd90f11e512fa7e28d419c85a3ba438e6 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms.fields import StringField, PasswordField, BooleanField, SubmitField
#from flask_wtf.html5 import URLField
from wtforms.validators import DataRequired, url
class LoginForm(FlaskForm):
username = StringField('UserName:', validators=[DataRequired()])
password = Passwor... | 45.6 | 80 | 0.776316 | 49 | 456 | 7.163265 | 0.55102 | 0.051282 | 0.068376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002506 | 0.125 | 456 | 10 | 81 | 45.6 | 0.877193 | 0.078947 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.375 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
db3476ca0db68c70d1abaee0babf33fbd2f12108 | 2,486 | py | Python | flaskshop/corelib/utils.py | maquinuz/flask-shop | 78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30 | [
"BSD-3-Clause"
] | 141 | 2018-08-14T09:38:30.000Z | 2022-03-24T14:17:14.000Z | flaskshop/corelib/utils.py | maquinuz/flask-shop | 78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30 | [
"BSD-3-Clause"
] | 65 | 2019-06-20T06:10:04.000Z | 2022-01-29T07:10:06.000Z | flaskshop/corelib/utils.py | maquinuz/flask-shop | 78fc86ec5e9ebcd61f3eb69e8b1df33c82c6fe30 | [
"BSD-3-Clause"
] | 65 | 2019-03-18T13:55:34.000Z | 2022-03-23T05:55:27.000Z | import struct
import time
import os
import random
import threading
import binascii
import urllib
from sqlalchemy.ext.hybrid import hybrid_property
_missing = object()
class cached_hybrid_property(hybrid_property):
def __get__(self, instance, owner):
if instance is None:
return self.expr(owne... | 21.247863 | 57 | 0.610619 | 298 | 2,486 | 4.728188 | 0.35906 | 0.039035 | 0.027679 | 0.019872 | 0.041164 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0067 | 0.279566 | 2,486 | 116 | 58 | 21.431034 | 0.780011 | 0.010056 | 0 | 0.156627 | 0 | 0 | 0.01222 | 0 | 0 | 0 | 0.008961 | 0 | 0 | 1 | 0.228916 | false | 0.024096 | 0.096386 | 0.108434 | 0.590361 | 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 |
e1e1abbf1c0618dec5fc264467195fbe337d86eb | 8,242 | py | Python | test/test_database_forest.py | codycollier/booster | 8639d74cc98c4276fba281bbe244795e8f44a833 | [
"Apache-2.0"
] | 1 | 2019-07-16T10:40:51.000Z | 2019-07-16T10:40:51.000Z | test/test_database_forest.py | codycollier/booster | 8639d74cc98c4276fba281bbe244795e8f44a833 | [
"Apache-2.0"
] | null | null | null | test/test_database_forest.py | codycollier/booster | 8639d74cc98c4276fba281bbe244795e8f44a833 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import unittest
import boostertest
class TestDatabaseForest(boostertest.BoosterTestCase):
""" Test the database and forest association actions """
def setUp(self):
""" Set the action and other commonly used fixture data """
# collect app server names for later teardow... | 43.608466 | 81 | 0.644625 | 982 | 8,242 | 5.306517 | 0.123218 | 0.063328 | 0.055268 | 0.079447 | 0.762809 | 0.731721 | 0.700633 | 0.659758 | 0.627327 | 0.600461 | 0 | 0.022579 | 0.236957 | 8,242 | 188 | 82 | 43.840426 | 0.80601 | 0.134676 | 0 | 0.618705 | 0 | 0 | 0.202105 | 0.043806 | 0 | 0 | 0 | 0 | 0.215827 | 1 | 0.100719 | false | 0 | 0.014388 | 0 | 0.122302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e1fa01cfe2c07738c6287be3f6c0e701c42ffd2d | 602 | py | Python | Range.py | MiladDeveloper-Hub/Python-Course | dfae734fd6b6ccea1d173919532ae2ea379f6f88 | [
"Apache-2.0"
] | null | null | null | Range.py | MiladDeveloper-Hub/Python-Course | dfae734fd6b6ccea1d173919532ae2ea379f6f88 | [
"Apache-2.0"
] | null | null | null | Range.py | MiladDeveloper-Hub/Python-Course | dfae734fd6b6ccea1d173919532ae2ea379f6f88 | [
"Apache-2.0"
] | null | null | null | # range => create a list of numbers
# 1, 2, 3, 4, 5, ..., 10
print(list(range(1, 10))) # [1, 2, 3, 4, 5, 6, 7, 8, 9]
print(list(range(10))) # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
print(list(range(1, 10, 2))) # [1, 3, 5, 7, 9]
print(list(range(10, 0, -1))) # [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
print("-------------------... | 26.173913 | 64 | 0.425249 | 105 | 602 | 2.438095 | 0.247619 | 0.117188 | 0.21875 | 0.046875 | 0.363281 | 0.265625 | 0.265625 | 0.179688 | 0.179688 | 0.179688 | 0 | 0.160377 | 0.295681 | 602 | 22 | 65 | 27.363636 | 0.443396 | 0.287375 | 0 | 0.142857 | 0 | 0 | 0.097744 | 0.090226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e1fa8ad39fc41095f37966667986c12f9be8213e | 157 | py | Python | exercicio-mundo-1/ex007.py | amosxrl/python | 8399a9c42fdb49184fcfe906f8bce82d1a671667 | [
"MIT"
] | 2 | 2020-05-06T23:49:20.000Z | 2020-05-06T23:49:25.000Z | exercicio-mundo-1/ex007.py | amosxrl/python | 8399a9c42fdb49184fcfe906f8bce82d1a671667 | [
"MIT"
] | null | null | null | exercicio-mundo-1/ex007.py | amosxrl/python | 8399a9c42fdb49184fcfe906f8bce82d1a671667 | [
"MIT"
] | null | null | null | no1 = float(input('Primeira nota: '))
no2 = float(input('Segunda nota: '))
media = (no1 + no2)/2
print('A media entre {} e {} é {}'.format(no1, no2, media))
| 31.4 | 59 | 0.611465 | 24 | 157 | 4 | 0.625 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05303 | 0.159236 | 157 | 4 | 60 | 39.25 | 0.674242 | 0 | 0 | 0 | 0 | 0 | 0.350318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
c029b8e8cbd8a776e66b168e7de956f3097a4694 | 238 | py | Python | tests/ported_tests/leaf_tests/test_pickle.py | lycantropos/seidel | d4514f1041fe64c7faf3fd9a3f61769449070b51 | [
"MIT"
] | 3 | 2020-07-06T04:28:19.000Z | 2021-04-20T07:50:53.000Z | tests/ported_tests/leaf_tests/test_pickle.py | lycantropos/seidel | d4514f1041fe64c7faf3fd9a3f61769449070b51 | [
"MIT"
] | null | null | null | tests/ported_tests/leaf_tests/test_pickle.py | lycantropos/seidel | d4514f1041fe64c7faf3fd9a3f61769449070b51 | [
"MIT"
] | null | null | null | from hypothesis import given
from seidel.leaf import Leaf
from tests.utils import pickle_round_trip
from . import strategies
@given(strategies.leaves)
def test_round_trip(leaf: Leaf) -> None:
assert pickle_round_trip(leaf) == leaf
| 21.636364 | 42 | 0.789916 | 35 | 238 | 5.2 | 0.485714 | 0.148352 | 0.164835 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138655 | 238 | 10 | 43 | 23.8 | 0.887805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.714286 | 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 |
c03cb7263fe5aaa128cc476eeea93654ee69ce01 | 137 | py | Python | packages/jsii-rosetta/test/translations/expressions/string_interpolation.py | k3KAW8Pnf7mkmdSMPHz27/jsii | c613fce87511549b44864460b5b8fc4006e992b0 | [
"Apache-2.0"
] | 1,639 | 2019-07-05T07:21:00.000Z | 2022-03-31T09:55:01.000Z | packages/jsii-rosetta/test/translations/expressions/string_interpolation.py | k3KAW8Pnf7mkmdSMPHz27/jsii | c613fce87511549b44864460b5b8fc4006e992b0 | [
"Apache-2.0"
] | 2,704 | 2019-07-01T23:10:28.000Z | 2022-03-31T23:40:12.000Z | packages/jsii-rosetta/test/translations/expressions/string_interpolation.py | k3KAW8Pnf7mkmdSMPHz27/jsii | c613fce87511549b44864460b5b8fc4006e992b0 | [
"Apache-2.0"
] | 146 | 2019-07-02T14:36:25.000Z | 2022-03-26T00:21:27.000Z | x = "world"
y = "well"
print(f"Hello, {x}, it works {y}!")
# And now a multi-line expression
print(f"""
Hello, {x}.
It works {y}!
""")
| 12.454545 | 35 | 0.562044 | 24 | 137 | 3.208333 | 0.625 | 0.155844 | 0.285714 | 0.311688 | 0.519481 | 0.519481 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0.189781 | 137 | 10 | 36 | 13.7 | 0.693694 | 0.226277 | 0 | 0 | 0 | 0 | 0.596154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c06100bf251141e9987488340de80b8d8d9aeb75 | 187 | py | Python | app/run.py | lefttree/flaskApp | 363da4fb60a7a31beb4d7947b9688fa3f07f205b | [
"MIT"
] | null | null | null | app/run.py | lefttree/flaskApp | 363da4fb60a7a31beb4d7947b9688fa3f07f205b | [
"MIT"
] | null | null | null | app/run.py | lefttree/flaskApp | 363da4fb60a7a31beb4d7947b9688fa3f07f205b | [
"MIT"
] | null | null | null | #!flask/bin/python
import os, sys
""" start the server """
sys.path.append(os.path.dirname(__file__))
# import app variable from our app package
from app import app
app.run(debug=True)
| 18.7 | 42 | 0.737968 | 31 | 187 | 4.322581 | 0.677419 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13369 | 187 | 9 | 43 | 20.777778 | 0.82716 | 0.31016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
22073f2654b2316f3dd3a41f4f7c596796dbfbd1 | 468 | py | Python | users_rest_api/secure_check.py | ChristinaVoss/users-rest-api | 8066719f492046017128bcade1579f57a367f057 | [
"MIT"
] | null | null | null | users_rest_api/secure_check.py | ChristinaVoss/users-rest-api | 8066719f492046017128bcade1579f57a367f057 | [
"MIT"
] | null | null | null | users_rest_api/secure_check.py | ChristinaVoss/users-rest-api | 8066719f492046017128bcade1579f57a367f057 | [
"MIT"
] | null | null | null | from users_rest_api.model import User
def authenticate(username, password):
"""
Function used by jwt to authenticate users.
Checks if user exists and password matches
"""
user = User.query.filter_by(username=username).first()
if user is not None and user.check_password(password):
return... | 29.25 | 64 | 0.698718 | 64 | 468 | 5.015625 | 0.5625 | 0.043614 | 0.087227 | 0.105919 | 0.11838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 468 | 15 | 65 | 31.2 | 0.869919 | 0.297009 | 0 | 0 | 0 | 0 | 0.02649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
2217fa6e4164886f9b5e4efa42dfa300e5b11f7d | 244 | py | Python | upload/models.py | neha-webllisto/file_upload | 877e9da88677e9ad73f3b2f85dcfab7dbdf49e45 | [
"Apache-2.0"
] | null | null | null | upload/models.py | neha-webllisto/file_upload | 877e9da88677e9ad73f3b2f85dcfab7dbdf49e45 | [
"Apache-2.0"
] | null | null | null | upload/models.py | neha-webllisto/file_upload | 877e9da88677e9ad73f3b2f85dcfab7dbdf49e45 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class Save_model(models.Model):
firstname = models.CharField(max_length=20)
lastname = models.CharField(max_length=20)
file = models.FileField()
class Meta:
db_table = 'Save_model' | 24.4 | 44 | 0.766393 | 35 | 244 | 5.2 | 0.6 | 0.098901 | 0.197802 | 0.263736 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.131148 | 244 | 10 | 45 | 24.4 | 0.839623 | 0.098361 | 0 | 0 | 0 | 0 | 0.045662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.857143 | 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 |
22264c54ff3a8b8e7cb39d5a2078212d172f839c | 7,529 | py | Python | tests/test_marshal_types_dates.py | crwilcox/proto-plus-python | e137b15e37dff65a4860d35cd163aa0dafc27c9e | [
"Apache-2.0"
] | null | null | null | tests/test_marshal_types_dates.py | crwilcox/proto-plus-python | e137b15e37dff65a4860d35cd163aa0dafc27c9e | [
"Apache-2.0"
] | null | null | null | tests/test_marshal_types_dates.py | crwilcox/proto-plus-python | e137b15e37dff65a4860d35cd163aa0dafc27c9e | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 32.734783 | 77 | 0.679506 | 1,021 | 7,529 | 4.886386 | 0.145935 | 0.084787 | 0.096212 | 0.068551 | 0.757466 | 0.732411 | 0.706755 | 0.68651 | 0.667468 | 0.652034 | 0 | 0.043589 | 0.21995 | 7,529 | 229 | 78 | 32.877729 | 0.805891 | 0.132288 | 0 | 0.606936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346821 | 1 | 0.086705 | false | 0 | 0.040462 | 0 | 0.277457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2226db19288cc3ed230356bc8a310e8c842d8ff7 | 174 | py | Python | Python/TrailingZeroInFactorial.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/TrailingZeroInFactorial.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/TrailingZeroInFactorial.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | number = int(input())
fact = 1
counter = 0
for i in range(1, number+1):
fact = fact*i
if fact%10 == 0:
counter += 1
fact = fact // 10
print(counter)
| 17.4 | 28 | 0.54023 | 28 | 174 | 3.357143 | 0.5 | 0.106383 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 0.316092 | 174 | 9 | 29 | 19.333333 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 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 |
222bb30285641da80c3ad03da489c989c2d82f43 | 1,057 | py | Python | tests/conftest.py | ConsultingMD/covid-data-model | f3d23f98eccca1ce33c7a11ab546e9aab5d0aa4d | [
"MIT"
] | null | null | null | tests/conftest.py | ConsultingMD/covid-data-model | f3d23f98eccca1ce33c7a11ab546e9aab5d0aa4d | [
"MIT"
] | null | null | null | tests/conftest.py | ConsultingMD/covid-data-model | f3d23f98eccca1ce33c7a11ab546e9aab5d0aa4d | [
"MIT"
] | null | null | null | import pathlib
import pytest
from libs import pipeline
from libs.datasets import timeseries
@pytest.fixture
def nyc_fips():
return "36061"
@pytest.fixture
def nyc_region(nyc_fips):
return pipeline.Region.from_fips(nyc_fips)
@pytest.fixture
def rt_dataset():
test_root = pathlib.Path(__file__).parent
... | 25.780488 | 86 | 0.771996 | 138 | 1,057 | 5.615942 | 0.26087 | 0.100645 | 0.123871 | 0.098065 | 0.645161 | 0.645161 | 0.572903 | 0.572903 | 0.572903 | 0.572903 | 0 | 0.005488 | 0.138127 | 1,057 | 40 | 87 | 26.425 | 0.845225 | 0.082308 | 0 | 0.384615 | 0 | 0 | 0.072389 | 0.046536 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
223437b8c236964084a71b6ea2077b82b2297176 | 271 | py | Python | cloudmesh/common/run/subprocess.py | aporlowski/cloudmesh-common | ff991c07eb17b899742a1535665118a33d679f2d | [
"Apache-2.0"
] | null | null | null | cloudmesh/common/run/subprocess.py | aporlowski/cloudmesh-common | ff991c07eb17b899742a1535665118a33d679f2d | [
"Apache-2.0"
] | 1 | 2017-04-27T11:26:49.000Z | 2017-04-27T11:26:49.000Z | cloudmesh/common/run/subprocess.py | aporlowski/cloudmesh-common | ff991c07eb17b899742a1535665118a33d679f2d | [
"Apache-2.0"
] | 4 | 2017-04-13T02:58:38.000Z | 2018-10-19T01:29:33.000Z | import subprocess
def run(command, shell=True):
"""
runs the command and returns the output in utf-8 format
:param command:
:param shell:
:return:
"""
result = subprocess.check_output(command, shell=shell)
return result.decode("utf-8")
| 19.357143 | 59 | 0.656827 | 35 | 271 | 5.057143 | 0.6 | 0.135593 | 0.19209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.232472 | 271 | 13 | 60 | 20.846154 | 0.841346 | 0.350554 | 0 | 0 | 0 | 0 | 0.033784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
22443d911210c78c83ecf6bfb4e1caee53ebb3b3 | 6,434 | py | Python | dump-html.py | knz/go-test-stats | 64cd252e30a8ea8cd1a6f414dfce00c6b5bf92c2 | [
"BSD-3-Clause"
] | null | null | null | dump-html.py | knz/go-test-stats | 64cd252e30a8ea8cd1a6f414dfce00c6b5bf92c2 | [
"BSD-3-Clause"
] | null | null | null | dump-html.py | knz/go-test-stats | 64cd252e30a8ea8cd1a6f414dfce00c6b5bf92c2 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
import sys
import humanize
import math
allpackages = eval(sys.stdin.read())
alltests = []
for p in allpackages:
alltests = alltests + p['tests']
p['nsubtests'] = sum(len(t['subtests']) for t in p['tests'])
p['nskipped'] = sum(1 for t in p['tests'] if t['result'] == 'SKIP')
subtests... | 31.082126 | 101 | 0.599472 | 1,073 | 6,434 | 3.581547 | 0.169618 | 0.068696 | 0.087432 | 0.118657 | 0.718709 | 0.692428 | 0.68306 | 0.676815 | 0.667968 | 0.663024 | 0 | 0.021476 | 0.153248 | 6,434 | 206 | 102 | 31.23301 | 0.683921 | 0.003264 | 0 | 0.474227 | 0 | 0.206186 | 0.667603 | 0.383871 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010309 | false | 0 | 0.015464 | 0 | 0.046392 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
224a84da9b1a3c1ad5441dda35122dea509d7da7 | 1,670 | py | Python | pyforms/terminal/Controls/ControlSlider.py | sunj1/my_pyforms | d92c37cbddb3ff34fe1ace3874e0116c09e7c0cf | [
"MIT"
] | null | null | null | pyforms/terminal/Controls/ControlSlider.py | sunj1/my_pyforms | d92c37cbddb3ff34fe1ace3874e0116c09e7c0cf | [
"MIT"
] | null | null | null | pyforms/terminal/Controls/ControlSlider.py | sunj1/my_pyforms | d92c37cbddb3ff34fe1ace3874e0116c09e7c0cf | [
"MIT"
] | null | null | null | from pyforms.terminal.Controls.ControlBase import ControlBase
class ControlSlider(ControlBase):
_min = 0
_max = 100
def __init__(self, label = "", helptext=None, defaultValue = 0, min = 0, max = 100):
self._updateSlider = True
self._min = min
self._max = max
Contr... | 30.925926 | 139 | 0.553892 | 197 | 1,670 | 4.522843 | 0.238579 | 0.121212 | 0.06734 | 0.022447 | 0.065095 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007732 | 0.302994 | 1,670 | 54 | 140 | 30.925926 | 0.757732 | 0.22515 | 0 | 0.15625 | 0 | 0.03125 | 0.055901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.03125 | 0.03125 | 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 |
225674a6be6e1e7da4d5c090d68401ea5faf00fa | 23 | py | Python | tests/__init__.py | adampoulston/pronto | f95710f7667c5a4c8fdfe581d402f79ddf3ab060 | [
"MIT"
] | null | null | null | tests/__init__.py | adampoulston/pronto | f95710f7667c5a4c8fdfe581d402f79ddf3ab060 | [
"MIT"
] | null | null | null | tests/__init__.py | adampoulston/pronto | f95710f7667c5a4c8fdfe581d402f79ddf3ab060 | [
"MIT"
] | null | null | null | __author__ = "althonos" | 23 | 23 | 0.782609 | 2 | 23 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
97ee2955b71e0971db3ea9595201f9ab71ba4aab | 275 | py | Python | lib/exabgp/bgp/message/open/version.py | lochiiconnectivity/exabgp | 2cb8a99af89969ff4b0b5561de6168a18179b704 | [
"BSD-3-Clause"
] | null | null | null | lib/exabgp/bgp/message/open/version.py | lochiiconnectivity/exabgp | 2cb8a99af89969ff4b0b5561de6168a18179b704 | [
"BSD-3-Clause"
] | null | null | null | lib/exabgp/bgp/message/open/version.py | lochiiconnectivity/exabgp | 2cb8a99af89969ff4b0b5561de6168a18179b704 | [
"BSD-3-Clause"
] | null | null | null | # encoding: utf-8
"""
version.py
Created by Thomas Mangin on 2012-07-17.
Copyright (c) 2009-2015 Exa Networks. All rights reserved.
"""
# =================================================================== Version
class Version (int):
def pack (self):
return chr(self)
| 19.642857 | 77 | 0.523636 | 32 | 275 | 4.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.134545 | 275 | 13 | 78 | 21.153846 | 0.533613 | 0.738182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f0371c913fcee44d2b4783e3eb7c23ae9416791 | 10,419 | py | Python | backend/migrations/versions/dde8d445bd8d_.py | kzagorulko/flower-system | 7203862e6366ac08c7be939ef443aa274c04ec63 | [
"MIT"
] | 3 | 2020-10-26T08:54:43.000Z | 2021-05-29T09:55:34.000Z | backend/migrations/versions/dde8d445bd8d_.py | kzagorulko/flower-system | 7203862e6366ac08c7be939ef443aa274c04ec63 | [
"MIT"
] | 28 | 2020-10-25T10:20:54.000Z | 2021-02-04T10:51:57.000Z | backend/migrations/versions/dde8d445bd8d_.py | kzagorulko/flower-system | 7203862e6366ac08c7be939ef443aa274c04ec63 | [
"MIT"
] | 1 | 2020-11-12T10:07:07.000Z | 2020-11-12T10:07:07.000Z | """added permissions
Revision ID: dde8d445bd8d
Revises: 6680bd9737cf
Create Date: 2020-11-04 15:57:18.773108
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'dde8d445bd8d'
down_revision = '6680bd9737cf'
branch_labels = None
depends_on = None
def upgrade():
... | 38.446494 | 79 | 0.491314 | 1,128 | 10,419 | 4.319149 | 0.10727 | 0.125616 | 0.125411 | 0.144704 | 0.810961 | 0.792077 | 0.770115 | 0.303982 | 0.118021 | 0.110427 | 0 | 0.021633 | 0.294558 | 10,419 | 270 | 80 | 38.588889 | 0.641224 | 0.037336 | 0 | 0.16 | 0 | 0 | 0.375839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01 | false | 0 | 0.01 | 0 | 0.02 | 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 |
3f307982c974a42bc6cb02fec2b38040c0432dbe | 483 | py | Python | _abstract_controller.py | parveenchahal/python-common | 4e5488615db3e0f8ba7f0bfeee87304a98fee2d5 | [
"MIT"
] | null | null | null | _abstract_controller.py | parveenchahal/python-common | 4e5488615db3e0f8ba7f0bfeee87304a98fee2d5 | [
"MIT"
] | null | null | null | _abstract_controller.py | parveenchahal/python-common | 4e5488615db3e0f8ba7f0bfeee87304a98fee2d5 | [
"MIT"
] | null | null | null | from logging import Logger
from flask_restful import Resource
class Controller(Resource):
_logger: Logger
endpoint: str
def __init__(self, logger: Logger):
self._logger = logger
self.endpoint = self.endpoint
def get(self):
raise NotImplementedError('GET is not supported.')
... | 24.15 | 61 | 0.68323 | 55 | 483 | 5.872727 | 0.4 | 0.111455 | 0.260062 | 0.123839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236025 | 483 | 20 | 61 | 24.15 | 0.875339 | 0 | 0 | 0 | 0 | 0 | 0.13843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3f432ea68df4cd95583e88cfde37d443ef13a641 | 225 | py | Python | sonic_pi_code_generator/lib/flat_ast.py | hq9000/sonic-pi-code-generator | e1dd400ac5b1c16ddd7620337a24a9f9deff67fe | [
"MIT"
] | null | null | null | sonic_pi_code_generator/lib/flat_ast.py | hq9000/sonic-pi-code-generator | e1dd400ac5b1c16ddd7620337a24a9f9deff67fe | [
"MIT"
] | 1 | 2021-12-19T05:55:48.000Z | 2021-12-19T05:55:59.000Z | sonic_pi_code_generator/lib/flat_ast.py | hq9000/sonic-pi-code-generator | e1dd400ac5b1c16ddd7620337a24a9f9deff67fe | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from typing import List
@dataclass
class FlatASTElement:
position: int
type: str
value: str
has_right_sibling: bool
has_children: bool
children_positions: List[int]
| 17.307692 | 33 | 0.737778 | 28 | 225 | 5.785714 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217778 | 225 | 12 | 34 | 18.75 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.9 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3f46a1f316179110abe7d7295aea225eb3e8c225 | 2,529 | py | Python | tests/test_sslcompat.py | geertj/gruvi | 1d77ca439600b6ea7a19aa1ee85dca0f3be3f3f8 | [
"MIT"
] | 47 | 2015-01-06T06:35:32.000Z | 2021-11-11T16:11:42.000Z | tests/test_sslcompat.py | geertj/gruvi | 1d77ca439600b6ea7a19aa1ee85dca0f3be3f3f8 | [
"MIT"
] | 10 | 2015-02-17T13:15:12.000Z | 2017-09-05T11:28:11.000Z | tests/test_sslcompat.py | geertj/gruvi | 1d77ca439600b6ea7a19aa1ee85dca0f3be3f3f8 | [
"MIT"
] | 10 | 2015-05-27T09:53:53.000Z | 2017-11-17T11:56:21.000Z | #
# This file is part of Gruvi. Gruvi is free software available under the
# terms of the MIT license. See the file "LICENSE" that was provided
# together with this source file for the licensing terms.
#
# Copyright (c) 2012-2014 the Gruvi authors. See the file "AUTHORS" for a
# complete list.
from __future__ import a... | 30.107143 | 73 | 0.608936 | 337 | 2,529 | 4.501484 | 0.252226 | 0.187871 | 0.225445 | 0.203032 | 0.550428 | 0.403428 | 0.27884 | 0.223467 | 0.071193 | 0.071193 | 0 | 0.012759 | 0.256228 | 2,529 | 83 | 74 | 30.46988 | 0.793727 | 0.110716 | 0 | 0.421875 | 0 | 0 | 0.028112 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 1 | 0.078125 | false | 0 | 0.078125 | 0 | 0.171875 | 0.015625 | 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 |
3f4acb5b144be83b6fc28ada8af65de20a2fc970 | 684 | py | Python | scripts/run_ska_index.py | fmalmeida/PopPIPE | 0012ff55c9959f1c7ac359412ca22d9c1948d00c | [
"Apache-2.0"
] | 7 | 2020-05-04T10:16:25.000Z | 2021-05-09T20:22:19.000Z | scripts/run_ska_index.py | fmalmeida/PopPIPE | 0012ff55c9959f1c7ac359412ca22d9c1948d00c | [
"Apache-2.0"
] | 4 | 2020-07-01T09:07:47.000Z | 2021-05-19T12:04:37.000Z | scripts/run_ska_index.py | fmalmeida/PopPIPE | 0012ff55c9959f1c7ac359412ca22d9c1948d00c | [
"Apache-2.0"
] | 2 | 2021-05-09T00:34:29.000Z | 2021-11-21T22:23:17.000Z | import re
import subprocess
if re.match(r"\.(fq|fastq)\.$", str(snakemake.input['assembly'])):
subprocess.run("ska fastq -o output/ska_index/" + str(snakemake.wildcards['sample']) + \
" -q " + str(snakemake.params['fastq_qual']) + " -c " + \
str(snakemake.params['fastq_cov']) ... | 52.615385 | 98 | 0.542398 | 73 | 684 | 5.027397 | 0.410959 | 0.294278 | 0.138965 | 0.20436 | 0.544959 | 0.544959 | 0.544959 | 0.544959 | 0.316076 | 0.316076 | 0 | 0 | 0.269006 | 684 | 13 | 99 | 52.615385 | 0.734 | 0 | 0 | 0.166667 | 0 | 0 | 0.213139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3f4cb7856afb4e890b9f59b229eeebbae96c3f90 | 157 | py | Python | flaskstarter/extensions.py | jamiemhall/FlaskStarter | 470547275835cfcea1b5cec5d7cfbe0d91156b76 | [
"MIT"
] | null | null | null | flaskstarter/extensions.py | jamiemhall/FlaskStarter | 470547275835cfcea1b5cec5d7cfbe0d91156b76 | [
"MIT"
] | null | null | null | flaskstarter/extensions.py | jamiemhall/FlaskStarter | 470547275835cfcea1b5cec5d7cfbe0d91156b76 | [
"MIT"
] | null | null | null | from flask_sqlalchemy import SQLAlchemy
from loguru import logger
db = SQLAlchemy()
logger.add('app.log', format="{time} {level} {message}", colorize=True)
| 26.166667 | 71 | 0.757962 | 21 | 157 | 5.619048 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10828 | 157 | 5 | 72 | 31.4 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0.197452 | 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 |
3f56b6c537b44c9061c064e68f1a435794797d44 | 549 | py | Python | bioinformatics_stronghold/fib.py | Wytamma/Rosalind | d3ffecc324f806df79c43bc9f89128b5d2a57dfb | [
"MIT"
] | null | null | null | bioinformatics_stronghold/fib.py | Wytamma/Rosalind | d3ffecc324f806df79c43bc9f89128b5d2a57dfb | [
"MIT"
] | null | null | null | bioinformatics_stronghold/fib.py | Wytamma/Rosalind | d3ffecc324f806df79c43bc9f89128b5d2a57dfb | [
"MIT"
] | null | null | null | SAMPLE_DATASET = """5 3"""
SAMPLE_OUTPUT = """19"""
def population_size(n: int, k: int) -> int:
"""
Returns the population at time 'n' given 'k' generation size.
Fn = Fn−1 + (Fn−2 * k)
"""
if n <= 2:
# F1 = F2 = 1
return 1
return population_size(n - 1, k) + (population_size(n -... | 23.869565 | 70 | 0.588342 | 83 | 549 | 3.807229 | 0.445783 | 0.177215 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033735 | 0.24408 | 549 | 22 | 71 | 24.954545 | 0.722892 | 0.176685 | 0 | 0 | 0 | 0 | 0.011574 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.272727 | false | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3f59ffc38c2d29dfbe2e595a354a02263e320f25 | 499 | py | Python | tests/strings.py | AFriemann/simple_tools | 27d0f838c23309ebfc8afb59511220c6f8bb42fe | [
"BSD-3-Clause"
] | 1 | 2021-07-07T13:14:28.000Z | 2021-07-07T13:14:28.000Z | tests/strings.py | AFriemann/simple_tools | 27d0f838c23309ebfc8afb59511220c6f8bb42fe | [
"BSD-3-Clause"
] | null | null | null | tests/strings.py | AFriemann/simple_tools | 27d0f838c23309ebfc8afb59511220c6f8bb42fe | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
"""
.. module:: TODO
:platform: Unix
:synopsis: TODO.
.. moduleauthor:: Aljosha Friemann a.friemann@automate.wtf
"""
import unittest
from simple_tools.strings import compact
class StringTestCase(unittest.TestCase):
def test_string_compacting(self):
... | 21.695652 | 67 | 0.691383 | 66 | 499 | 5.181818 | 0.712121 | 0.023392 | 0.076023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014423 | 0.166333 | 499 | 22 | 68 | 22.681818 | 0.807692 | 0.446894 | 0 | 0 | 0 | 0 | 0.203774 | 0 | 0 | 0 | 0 | 0.090909 | 0.166667 | 1 | 0.166667 | false | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3f5a2a352aa3a95c4de95b90f2096d9a28696c87 | 85 | py | Python | foo.py | thanhkaist/colab_test | 86d3c03b85ceed26c5ebab6db2aa8d88b2f531be | [
"MIT"
] | 1 | 2020-04-04T14:19:45.000Z | 2020-04-04T14:19:45.000Z | foo.py | thanhkaist/colab_test | 86d3c03b85ceed26c5ebab6db2aa8d88b2f531be | [
"MIT"
] | 1 | 2020-04-14T06:33:35.000Z | 2020-04-14T06:38:36.000Z | foo.py | thanhkaist/colab_test | 86d3c03b85ceed26c5ebab6db2aa8d88b2f531be | [
"MIT"
] | null | null | null | import os
def foo():
print("foo func")
def bar():
print("bar func")
| 7.727273 | 19 | 0.517647 | 12 | 85 | 3.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317647 | 85 | 10 | 20 | 8.5 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58cfc3319d586fafae1da078eb2d8f9acd97c69a | 437 | py | Python | posts/admin.py | benkuhn/benkuhn.net | e3fed9266fbc7ade04f8787777030026e5451a51 | [
"MIT"
] | null | null | null | posts/admin.py | benkuhn/benkuhn.net | e3fed9266fbc7ade04f8787777030026e5451a51 | [
"MIT"
] | null | null | null | posts/admin.py | benkuhn/benkuhn.net | e3fed9266fbc7ade04f8787777030026e5451a51 | [
"MIT"
] | 1 | 2021-07-29T09:55:58.000Z | 2021-07-29T09:55:58.000Z | from posts.models import Post, Tag, Comment
from django.contrib import admin
class PostAdmin(admin.ModelAdmin):
prepopulated_fields = {'slug':('title',)}
filter_horizontal = ('tags',)
class TagAdmin(admin.ModelAdmin):
prepopulated_fields = {'slug':('name',)}
class CommentAdmin(admin.ModelAdmin):
pass... | 25.705882 | 45 | 0.745995 | 51 | 437 | 6.333333 | 0.509804 | 0.139319 | 0.157895 | 0.204334 | 0.229102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118993 | 437 | 16 | 46 | 27.3125 | 0.838961 | 0 | 0 | 0 | 0 | 0 | 0.048055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.166667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
58d1ae3fa7b783f13f3569efb38e54312d2cb7b1 | 43 | py | Python | EmeraldAI/Logic/Memory/__init__.py | MaxMorgenstern/EmeraldAI | 4bbb50f94b656904c428fc28cdbb61e7353e61aa | [
"Apache-2.0"
] | null | null | null | EmeraldAI/Logic/Memory/__init__.py | MaxMorgenstern/EmeraldAI | 4bbb50f94b656904c428fc28cdbb61e7353e61aa | [
"Apache-2.0"
] | null | null | null | EmeraldAI/Logic/Memory/__init__.py | MaxMorgenstern/EmeraldAI | 4bbb50f94b656904c428fc28cdbb61e7353e61aa | [
"Apache-2.0"
] | null | null | null | __all__ = ["Brain", "Entity","STT", "TTS"]
| 21.5 | 42 | 0.55814 | 5 | 43 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0.395349 | 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 |
58d7849b34b458f324251c44484f326aa03d4246 | 9,107 | py | Python | harvester/core/migrations/0001_initial.py | surfedushare/search-portal | f5486d6b07b7b04a46ce707cee5174db4f8da222 | [
"MIT"
] | 2 | 2021-08-19T09:40:59.000Z | 2021-12-14T11:08:20.000Z | harvester/core/migrations/0001_initial.py | surfedushare/search-portal | f5486d6b07b7b04a46ce707cee5174db4f8da222 | [
"MIT"
] | 159 | 2020-05-14T14:17:34.000Z | 2022-03-23T10:28:13.000Z | harvester/core/migrations/0001_initial.py | nppo/search-portal | aedf21e334f178c049f9d6cf37cafd6efc07bc0d | [
"MIT"
] | 1 | 2021-11-11T13:37:22.000Z | 2021-11-11T13:37:22.000Z | # Generated by Django 2.2.10 on 2020-05-20 12:54
import datagrowth.datatypes.documents.db.collection
import datetime
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
from django.utils.timezone import utc
import json_field.fields
class Migration(mig... | 52.33908 | 166 | 0.582629 | 921 | 9,107 | 5.624321 | 0.16721 | 0.045174 | 0.064865 | 0.062741 | 0.739961 | 0.71139 | 0.682046 | 0.662162 | 0.63166 | 0.62471 | 0 | 0.011163 | 0.272098 | 9,107 | 173 | 167 | 52.641619 | 0.770252 | 0.005051 | 0 | 0.608434 | 1 | 0 | 0.145491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042169 | 0 | 0.066265 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58eb4759f88897fa0cdeb75176ad090eee6a094d | 6,829 | py | Python | code/test_line_fitting_CaII.py | abostroem/asassn15oz | ade090096b61b155c86108d1945bb7b4522365b8 | [
"BSD-3-Clause"
] | null | null | null | code/test_line_fitting_CaII.py | abostroem/asassn15oz | ade090096b61b155c86108d1945bb7b4522365b8 | [
"BSD-3-Clause"
] | 3 | 2019-02-24T23:24:33.000Z | 2019-02-24T23:25:12.000Z | code/test_line_fitting_CaII.py | abostroem/asassn15oz | ade090096b61b155c86108d1945bb7b4522365b8 | [
"BSD-3-Clause"
] | null | null | null | import os
import numpy as np
from matplotlib import pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
from astropy.io import fits
from astropy.time import Time
from astropy.table import Table, Column
import yaml
from spectroscopy import calc_wavelength
from fit_spectral_lines import define_feature
i... | 56.438017 | 164 | 0.612388 | 845 | 6,829 | 4.692308 | 0.23432 | 0.027238 | 0.037831 | 0.045397 | 0.702396 | 0.702396 | 0.702396 | 0.698865 | 0.690542 | 0.690542 | 0 | 0.066014 | 0.252453 | 6,829 | 121 | 165 | 56.438017 | 0.710676 | 0.015229 | 0 | 0.579439 | 0 | 0 | 0.186532 | 0.097288 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.102804 | 0 | 0.102804 | 0.037383 | 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 |
4522b66090c4fff4ae77e633bea5692e0f0e813b | 820 | py | Python | ps5/problem_4.py | lcsm29/edx-mit-6.00.1x | b61838928a24a0ff8301faf72854d9b7226c0f9c | [
"MIT"
] | null | null | null | ps5/problem_4.py | lcsm29/edx-mit-6.00.1x | b61838928a24a0ff8301faf72854d9b7226c0f9c | [
"MIT"
] | null | null | null | ps5/problem_4.py | lcsm29/edx-mit-6.00.1x | b61838928a24a0ff8301faf72854d9b7226c0f9c | [
"MIT"
] | null | null | null | # Problem Set 5 - Problem 4 - Decrypt a Story
#
# Released 2021-07-07 14:00 UTC+00
# Started 2021-07-08 04:29 UTC+00
# Finished 2021-07-08 04:32 UTC+00
# https://github.com/lcsm29/edx-mit-6.00.1x
#
# oooo w r i t t e n b y .oooo. .ooooo.
# `888 ... | 48.235294 | 68 | 0.528049 | 120 | 820 | 3.575 | 0.55 | 0.125874 | 0.083916 | 0.04662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294776 | 0.346341 | 820 | 17 | 69 | 48.235294 | 0.505597 | 0.808537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 3 |
18a363dccc93cf19be1cbc4f9e51222e86c8de4b | 198 | py | Python | stachrl/utils/preprocessing.py | christophstach/reinforcement-learning-klutzy-back-phoebe | 7fdf557f51ea29038a193fbfc6b63261e5fe4685 | [
"MIT"
] | null | null | null | stachrl/utils/preprocessing.py | christophstach/reinforcement-learning-klutzy-back-phoebe | 7fdf557f51ea29038a193fbfc6b63261e5fe4685 | [
"MIT"
] | null | null | null | stachrl/utils/preprocessing.py | christophstach/reinforcement-learning-klutzy-back-phoebe | 7fdf557f51ea29038a193fbfc6b63261e5fe4685 | [
"MIT"
] | null | null | null | import cv2
def grayscale(image):
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
return image
def crop(image, up, down, left, right):
return image[up:(-1 - down), left:(-1 - right)]
| 18 | 51 | 0.656566 | 29 | 198 | 4.448276 | 0.517241 | 0.124031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.19697 | 198 | 10 | 52 | 19.8 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
18ad8d69c74762f187223584639f9a70df6047e2 | 486 | py | Python | kafka/serializer/abstract.py | timgates42/kafka-python | 3861e16ea4ef8d60bc6ffc51c0183da33c629642 | [
"Apache-2.0"
] | 4,389 | 2015-06-12T06:00:10.000Z | 2022-03-31T20:41:42.000Z | kafka/serializer/abstract.py | timgates42/kafka-python | 3861e16ea4ef8d60bc6ffc51c0183da33c629642 | [
"Apache-2.0"
] | 1,595 | 2015-12-02T20:58:22.000Z | 2022-03-27T07:28:03.000Z | kafka/serializer/abstract.py | timgates42/kafka-python | 3861e16ea4ef8d60bc6ffc51c0183da33c629642 | [
"Apache-2.0"
] | 1,115 | 2015-12-02T23:17:52.000Z | 2022-03-30T03:34:29.000Z | from __future__ import absolute_import
import abc
class Serializer(object):
__meta__ = abc.ABCMeta
def __init__(self, **config):
pass
@abc.abstractmethod
def serialize(self, topic, value):
pass
def close(self):
pass
class Deserializer(object):
__meta__ = abc.ABCMe... | 15.1875 | 41 | 0.623457 | 53 | 486 | 5.301887 | 0.433962 | 0.071174 | 0.092527 | 0.142349 | 0.576512 | 0.434164 | 0.434164 | 0.434164 | 0.434164 | 0.434164 | 0 | 0 | 0.290123 | 486 | 31 | 42 | 15.677419 | 0.814493 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.1 | 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 |
18c8480ae62ac51df75353cf0f63a0c92443791a | 446 | py | Python | 8KYU/same_case.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 8KYU/same_case.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 8KYU/same_case.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | def same_case(a: str, b: str) -> int:
if not a.isalpha() or not b.isalpha():
return -1
return 1 if a.islower() and b.islower() or a.isupper() and b.isupper() else 0
My solution
def same_case(a, b) -> int:
# your code here
if not a.isalpha() or not b.isalpha():
return -1
elif a.isl... | 24.777778 | 81 | 0.576233 | 75 | 446 | 3.4 | 0.333333 | 0.137255 | 0.086275 | 0.094118 | 0.556863 | 0.258824 | 0.258824 | 0.258824 | 0.258824 | 0.258824 | 0 | 0.022222 | 0.293722 | 446 | 17 | 82 | 26.235294 | 0.787302 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | null | null | 0.066667 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
18e38e02815818d5897978a66a5422959803ca26 | 103 | py | Python | CodingBat/Python/Warmup-1 > sum_double.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/Warmup-1 > sum_double.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/Warmup-1 > sum_double.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | #Warmup-1 > sum_double
def sum_double(a, b):
sum = a + b
if a == b:
sum = sum * 2
return sum | 14.714286 | 22 | 0.553398 | 20 | 103 | 2.75 | 0.5 | 0.109091 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.31068 | 103 | 7 | 23 | 14.714286 | 0.746479 | 0.203884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
18e38e8e6ca3ff331157452655db4281aba3fbd9 | 8,047 | py | Python | modules/chempy/hetatm.py | kingdavid72/pymol-OpenSource | 8068af8b53a4ae16657b536e83bfd5310e58a8bd | [
"CNRI-Python"
] | 1 | 2017-10-05T15:25:56.000Z | 2017-10-05T15:25:56.000Z | modules/chempy/hetatm.py | telamonian/pymol | 8192e75bf3d4c1072d6bd399b7dacd065bf78a06 | [
"CNRI-Python"
] | null | null | null | modules/chempy/hetatm.py | telamonian/pymol | 8192e75bf3d4c1072d6bd399b7dacd065bf78a06 | [
"CNRI-Python"
] | null | null | null | #A* -------------------------------------------------------------------
#B* This file contains source code for the PyMOL computer program
#C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific.
#D* -------------------------------------------------------------------
#E* It is unlawful to modify or remove ... | 45.982857 | 84 | 0.388095 | 730 | 8,047 | 4.206849 | 0.191781 | 0.021491 | 0.009769 | 0.035168 | 0.719635 | 0.7014 | 0.683165 | 0.652556 | 0.652556 | 0.652556 | 0 | 0.010056 | 0.443892 | 8,047 | 174 | 85 | 46.247126 | 0.676201 | 0.145272 | 0 | 0.8 | 0 | 0 | 0.057501 | 0.009486 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.028571 | 0 | 0.064286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18ee9fc821fb93a7848fe90cfddaffc2f5a07cb0 | 82 | py | Python | problem/10000~19999/10833/10833.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/10000~19999/10833/10833.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/10000~19999/10833/10833.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | a=0
for i in range(int(input())):
b,c=map(int,input().split())
a+=c%b
print(a) | 16.4 | 30 | 0.585366 | 19 | 82 | 2.526316 | 0.684211 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.134146 | 82 | 5 | 31 | 16.4 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
18ffbb025bba6e484c4dbaba31f267a8d4b2f2c5 | 346 | py | Python | clifford/test/__init__.py | eric-wieser/clifford | 37ea6d2eff27137cdc1d94664f0c92dfb681c411 | [
"BSD-3-Clause"
] | 642 | 2017-11-17T09:49:48.000Z | 2022-03-21T22:02:25.000Z | clifford/test/__init__.py | eric-wieser/clifford | 37ea6d2eff27137cdc1d94664f0c92dfb681c411 | [
"BSD-3-Clause"
] | 347 | 2017-11-17T13:57:43.000Z | 2022-01-20T09:40:15.000Z | clifford/test/__init__.py | eric-wieser/clifford | 37ea6d2eff27137cdc1d94664f0c92dfb681c411 | [
"BSD-3-Clause"
] | 61 | 2017-11-19T17:15:26.000Z | 2022-01-15T05:18:27.000Z | import os
import pytest
import numpy as np
@pytest.fixture
def rng():
default_test_seed = 1 # the default seed to start pseudo-random tests
return np.random.default_rng(default_test_seed)
def run_all_tests(*args):
""" Invoke pytest, forwarding options to pytest.main """
pytest.main([os.path.dirname... | 23.066667 | 74 | 0.728324 | 52 | 346 | 4.634615 | 0.596154 | 0.082988 | 0.116183 | 0.149378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003472 | 0.16763 | 346 | 14 | 75 | 24.714286 | 0.833333 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7a0367f72deb268fae85700ce2580444d18e94de | 260 | py | Python | plugins/html_converter.py | macrat/BlankGenerator | 8b1cbfdae7c5a4c281cecec9e0744fa07bb0cfe6 | [
"MIT"
] | null | null | null | plugins/html_converter.py | macrat/BlankGenerator | 8b1cbfdae7c5a4c281cecec9e0744fa07bb0cfe6 | [
"MIT"
] | null | null | null | plugins/html_converter.py | macrat/BlankGenerator | 8b1cbfdae7c5a4c281cecec9e0744fa07bb0cfe6 | [
"MIT"
] | null | null | null | import jinja2
def converter(content, context):
"""
>>> converter('hello {{ name }}!', {'name': 'world'})
'hello world!'
"""
return jinja2.Template(content).render(context)
def init(register):
register.converter('.html', converter)
| 17.333333 | 57 | 0.615385 | 26 | 260 | 6.153846 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009569 | 0.196154 | 260 | 14 | 58 | 18.571429 | 0.755981 | 0.261538 | 0 | 0 | 0 | 0 | 0.02907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e131b0c80e006b3d7b098e437b35ba7541d30fef | 46 | py | Python | fusion/model/dim/__init__.py | Mrinal18/fusion | 34e563f2e50139385577c3880c5de11f8a73f220 | [
"BSD-3-Clause"
] | 14 | 2021-04-05T01:25:12.000Z | 2022-02-17T19:44:28.000Z | fusion/model/dim/__init__.py | Mrinal18/fusion | 34e563f2e50139385577c3880c5de11f8a73f220 | [
"BSD-3-Clause"
] | 1 | 2021-07-05T08:32:49.000Z | 2021-07-05T12:34:57.000Z | fusion/model/dim/__init__.py | Mrinal18/fusion | 34e563f2e50139385577c3880c5de11f8a73f220 | [
"BSD-3-Clause"
] | 1 | 2022-02-01T21:56:11.000Z | 2022-02-01T21:56:11.000Z | from .dim import Dim
__all__ = [
'Dim'
] | 7.666667 | 20 | 0.565217 | 6 | 46 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 46 | 6 | 21 | 7.666667 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
e131d650446593c4a718f85066f749a6472c08e6 | 87 | py | Python | python/coursera_python/FUND_OF_COMP_RICE/FUND_OF_COMPUTING_RICE2/week1/list_fibo.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | python/coursera_python/FUND_OF_COMP_RICE/FUND_OF_COMPUTING_RICE2/week1/list_fibo.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | python/coursera_python/FUND_OF_COMP_RICE/FUND_OF_COMPUTING_RICE2/week1/list_fibo.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | l = [0,1]
for i in range(1,10+1):
k = l[i] + l[i-1]
l.append(k)
print(l.pop())
| 14.5 | 23 | 0.471264 | 22 | 87 | 1.863636 | 0.545455 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 0.252874 | 87 | 5 | 24 | 17.4 | 0.523077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
e1334bbe89f53f0aea30518cbda58ee9d15c000a | 258 | py | Python | weeby/util.py | asheeeshh/weeby.py | 3da48e55bd1f824902bb7b2f7d31675cdeb080b6 | [
"MIT"
] | 5 | 2021-10-19T11:46:47.000Z | 2022-02-28T03:29:16.000Z | weeby/util.py | asheeeshh/weeby.py | 3da48e55bd1f824902bb7b2f7d31675cdeb080b6 | [
"MIT"
] | null | null | null | weeby/util.py | asheeeshh/weeby.py | 3da48e55bd1f824902bb7b2f7d31675cdeb080b6 | [
"MIT"
] | 1 | 2021-12-09T08:53:43.000Z | 2021-12-09T08:53:43.000Z | import requests
import json
def make_request(url: str, headers):
resp = requests.get(url, headers=headers)
return(json.loads(resp.content))
def image_request(url: str, headers):
resp = requests.get(url, headers=headers)
return(resp.content) | 25.8 | 45 | 0.728682 | 36 | 258 | 5.166667 | 0.416667 | 0.107527 | 0.139785 | 0.215054 | 0.623656 | 0.623656 | 0.623656 | 0.623656 | 0.623656 | 0.623656 | 0 | 0 | 0.151163 | 258 | 10 | 46 | 25.8 | 0.849315 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e15a32c7ba21546802874f107497bccbe9968fdc | 2,606 | py | Python | 05_oop_advance/demo2.py | kaixiang1992/python-advance | 93982b3030b6c3b4bc56bdd3be6b1065da1d9a93 | [
"MIT"
] | null | null | null | 05_oop_advance/demo2.py | kaixiang1992/python-advance | 93982b3030b6c3b4bc56bdd3be6b1065da1d9a93 | [
"MIT"
] | null | null | null | 05_oop_advance/demo2.py | kaixiang1992/python-advance | 93982b3030b6c3b4bc56bdd3be6b1065da1d9a93 | [
"MIT"
] | null | null | null | """
【Python面向对象进阶】元类 2019/10/14 20:58
"""
# TODO: 返回的是类,而非实例化对象
print('返回的是类,而非实例化对象...')
def choose_class(name):
if name == 'foo':
class Foo(object):
pass
return Foo
else:
class Bar(object):
pass
return Bar
my_class = choose_class('foo')
print(my_c... | 19.303704 | 115 | 0.668457 | 351 | 2,606 | 4.65812 | 0.287749 | 0.082569 | 0.051376 | 0.04893 | 0.297248 | 0.297248 | 0.206728 | 0.165138 | 0.165138 | 0.165138 | 0 | 0.025962 | 0.172295 | 2,606 | 135 | 116 | 19.303704 | 0.732035 | 0.204144 | 0 | 0.296296 | 0 | 0 | 0.068347 | 0 | 0 | 0 | 0 | 0.02963 | 0 | 1 | 0.074074 | false | 0.074074 | 0 | 0 | 0.296296 | 0.407407 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
e162220d1b75dbbee7f75f7c92025ea22378c99e | 38,343 | bzl | Python | examples/remote/binary_dependencies/cargo/crates.bzl | wchargin/cargo-raze | dac8a761403f7e0bc9c8cf177ae2cabc45acbd03 | [
"Apache-2.0"
] | null | null | null | examples/remote/binary_dependencies/cargo/crates.bzl | wchargin/cargo-raze | dac8a761403f7e0bc9c8cf177ae2cabc45acbd03 | [
"Apache-2.0"
] | null | null | null | examples/remote/binary_dependencies/cargo/crates.bzl | wchargin/cargo-raze | dac8a761403f7e0bc9c8cf177ae2cabc45acbd03 | [
"Apache-2.0"
] | null | null | null | """
@generated
cargo-raze crate workspace functions
DO NOT EDIT! Replaced on runs of cargo-raze
"""
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load
load("@bazel_tools/... | 43.423556 | 119 | 0.670761 | 4,507 | 38,343 | 5.447748 | 0.057466 | 0.085529 | 0.171059 | 0.070867 | 0.746793 | 0.684641 | 0.648271 | 0.639637 | 0.572272 | 0.504256 | 0 | 0.165785 | 0.196594 | 38,343 | 882 | 120 | 43.472789 | 0.631261 | 0.006598 | 0 | 0.433291 | 1 | 0.151207 | 0.595062 | 0.422088 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001271 | true | 0 | 0 | 0 | 0.001271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e162f594a4fa86dec8d9d4915529c8a9afc63bc1 | 1,680 | gyp | Python | source/agent/addons/quic/binding.gyp | andreasunterhuber/owt-server | 128b83714361c0b543ec44fc841c9094f4267633 | [
"Apache-2.0"
] | 2 | 2021-02-05T04:57:58.000Z | 2021-04-11T08:36:19.000Z | source/agent/addons/quic/binding.gyp | andreasunterhuber/owt-server | 128b83714361c0b543ec44fc841c9094f4267633 | [
"Apache-2.0"
] | 3 | 2020-07-09T06:48:40.000Z | 2020-09-17T03:04:30.000Z | source/agent/addons/quic/binding.gyp | andreasunterhuber/owt-server | 128b83714361c0b543ec44fc841c9094f4267633 | [
"Apache-2.0"
] | null | null | null | {
'targets': [{
'target_name': 'quic',
'sources':[
'addon.cc',
"QuicFactory.cc",
'QuicTransportStream.cc',
'QuicTransportServer.cc',
'QuicTransportConnection.cc',
'../../../core/owt_base/MediaFramePipeline.cpp',
'../../../core/owt_base/MediaFrameMulticaster.cpp',
... | 25.846154 | 63 | 0.510714 | 179 | 1,680 | 4.608939 | 0.603352 | 0.033939 | 0.053333 | 0.072727 | 0.10303 | 0.075152 | 0.075152 | 0 | 0 | 0 | 0 | 0.011182 | 0.254762 | 1,680 | 65 | 64 | 25.846154 | 0.647764 | 0.025595 | 0 | 0.171875 | 0 | 0.015625 | 0.622249 | 0.283007 | 0 | 0 | 0 | 0.015385 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.