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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
272b5c19cadd7877f148f25a62fe64f10a99d4d0 | 4,332 | py | Python | tests/flow/test_filters.py | 10088/RedisGraph | ddccace7154ea13dbf96d1cfd5ccb26e80b17f06 | [
"ISC",
"Apache-2.0",
"MIT",
"Ruby",
"BSD-3-Clause"
] | 313 | 2017-06-06T19:22:15.000Z | 2018-11-02T09:42:37.000Z | tests/flow/test_filters.py | 10088/RedisGraph | ddccace7154ea13dbf96d1cfd5ccb26e80b17f06 | [
"ISC",
"Apache-2.0",
"MIT",
"Ruby",
"BSD-3-Clause"
] | 107 | 2018-03-20T07:59:03.000Z | 2018-11-01T22:04:39.000Z | tests/flow/test_filters.py | 10088/RedisGraph | ddccace7154ea13dbf96d1cfd5ccb26e80b17f06 | [
"ISC",
"Apache-2.0",
"MIT",
"Ruby",
"BSD-3-Clause"
] | 30 | 2017-07-14T22:04:24.000Z | 2018-10-28T03:17:50.000Z | from common import *
class testFilters():
def __init__(self):
self.env = Env(decodeResponses=True)
def test01_filter_with_different_predicates(self):
g = Graph(self.env.getConnection(), "g")
g.query("UNWIND range(1, 5) AS x CREATE (:N { v: x, b: x % 2 = 0 })")
# test and opera... | 48.674157 | 156 | 0.506694 | 716 | 4,332 | 3.02933 | 0.108939 | 0.035961 | 0.04426 | 0.049793 | 0.78746 | 0.778239 | 0.762563 | 0.707238 | 0.646842 | 0.646842 | 0 | 0.032781 | 0.359187 | 4,332 | 88 | 157 | 49.227273 | 0.748559 | 0.033934 | 0 | 0.428571 | 0 | 0.128571 | 0.168741 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 1 | 0.071429 | false | 0 | 0.014286 | 0 | 0.214286 | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2783a054d94cdd03857527aad98e1cb0a7de21cd | 465 | py | Python | locust/files/locustfile.py | arraen/aws_terraform_echo_locust | ef491ec2190ebe345393da95e17a4029d1632b24 | [
"MIT"
] | null | null | null | locust/files/locustfile.py | arraen/aws_terraform_echo_locust | ef491ec2190ebe345393da95e17a4029d1632b24 | [
"MIT"
] | null | null | null | locust/files/locustfile.py | arraen/aws_terraform_echo_locust | ef491ec2190ebe345393da95e17a4029d1632b24 | [
"MIT"
] | null | null | null | from locust import HttpUser, TaskSet, task
class UserBehavior(TaskSet):
def on_start(self):
self.client.post("/login", {"login":"user", "pass":"secret"})
def on_stop(self):
self.client.post("/logout", {"login":"user"})
@task(3)
def index(self):
self.client.get("/")
@task(1)
de... | 22.142857 | 68 | 0.621505 | 59 | 465 | 4.830508 | 0.559322 | 0.112281 | 0.196491 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.204301 | 465 | 21 | 69 | 22.142857 | 0.743243 | 0 | 0 | 0 | 0 | 0 | 0.107296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.0625 | 0.0625 | 0 | 0.625 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
2789b50255163a12844ec08f1f08d0a270c917f1 | 331 | py | Python | Configs.py | AL-Noman21/AccGenBot | e4b27e539ff42f76b87f8be9d3766795f52a8fbb | [
"MIT"
] | 8 | 2021-04-24T03:27:07.000Z | 2021-10-07T04:09:22.000Z | Configs.py | AL-Noman21/AccGenBot | e4b27e539ff42f76b87f8be9d3766795f52a8fbb | [
"MIT"
] | null | null | null | Configs.py | AL-Noman21/AccGenBot | e4b27e539ff42f76b87f8be9d3766795f52a8fbb | [
"MIT"
] | 12 | 2021-04-24T05:16:56.000Z | 2022-03-16T13:48:39.000Z | import os
class Config(object):
TOKEN = os.environ.get("TOKEN", None)
API_HASH = os.environ.get("API_HASH", None)
API_ID = int(os.environ.get("API_ID", 6))
CHANNEL_US = os.environ.get("CHANNEL_US", None)
CHANNEL_URL = os.environ.get("CHANNEL_URL", None)
LOGS_CHAT = int(os.environ.get("LOGS_CHAT... | 33.1 | 55 | 0.673716 | 53 | 331 | 4.018868 | 0.377358 | 0.253521 | 0.338028 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003597 | 0.160121 | 331 | 9 | 56 | 36.777778 | 0.76259 | 0 | 0 | 0 | 0 | 0 | 0.148036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2793d71ed2c7ca434b487ed20cc3ef8ad1532d5c | 3,081 | py | Python | python/testData/inspections/PyArgumentListInspection/initializingTypingNamedTuple.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyArgumentListInspection/initializingTypingNamedTuple.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyArgumentListInspection/initializingTypingNamedTuple.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import typing
MyTup1 = typing.NamedTuple(bar=''<warning descr="Parameter 'typename' unfilled">)</warning>
MyTup2 = typing.NamedTuple("MyTup2", bar=int, baz=str)
MyTup3 = typing.NamedTuple("MyTup2", [("bar", int), ("baz", str)])
class MyTup4(typing.NamedTuple):
bar: int
baz: str
class MyTup5(typing.NamedTu... | 28.266055 | 164 | 0.666342 | 357 | 3,081 | 5.7507 | 0.07563 | 0.204579 | 0.276181 | 0.116902 | 0.775938 | 0.771067 | 0.6566 | 0.464686 | 0.249391 | 0.249391 | 0 | 0.017728 | 0.102889 | 3,081 | 108 | 165 | 28.527778 | 0.725036 | 0.032132 | 0 | 0.109091 | 0 | 0 | 0.277947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.018182 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2795621e544a6046f412633616edb4043f51da28 | 207 | py | Python | doorbot/services/notifications.py | masom/doorbot-api-python | daad4bd279661bee268ae2584769f09e4a132982 | [
"MIT"
] | null | null | null | doorbot/services/notifications.py | masom/doorbot-api-python | daad4bd279661bee268ae2584769f09e4a132982 | [
"MIT"
] | null | null | null | doorbot/services/notifications.py | masom/doorbot-api-python | daad4bd279661bee268ae2584769f09e4a132982 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from ..core.service import Service
from structlog import get_logger
logger = get_logger()
class Notifications(Service):
def account_created(self, account, owner):
pass
| 18.818182 | 46 | 0.705314 | 26 | 207 | 5.5 | 0.692308 | 0.125874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.183575 | 207 | 10 | 47 | 20.7 | 0.840237 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
27b90721a2fb44bc8ba5d091b5f68fa43072d407 | 113 | py | Python | tools/hashlib_shortcuts.py | p/jira-proxy | 2e06f740b9de676fd92fdaf3f9cd973ec055d04b | [
"BSD-2-Clause"
] | 1 | 2020-01-26T12:31:46.000Z | 2020-01-26T12:31:46.000Z | tools/hashlib_shortcuts.py | p/jira-proxy | 2e06f740b9de676fd92fdaf3f9cd973ec055d04b | [
"BSD-2-Clause"
] | null | null | null | tools/hashlib_shortcuts.py | p/jira-proxy | 2e06f740b9de676fd92fdaf3f9cd973ec055d04b | [
"BSD-2-Clause"
] | null | null | null | import hashlib
def md5_hexdigest(data):
md5 = hashlib.md5()
md5.update(data)
return md5.hexdigest()
| 16.142857 | 26 | 0.681416 | 15 | 113 | 5.066667 | 0.533333 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.20354 | 113 | 6 | 27 | 18.833333 | 0.788889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
27e4b3069ec1568c8a749085cd2416c35a2d7a97 | 101 | py | Python | twitoff/__init__.py | lucaspetrus/twitoff | 41edef483487a99683a4b379c298133abdcdda79 | [
"MIT"
] | null | null | null | twitoff/__init__.py | lucaspetrus/twitoff | 41edef483487a99683a4b379c298133abdcdda79 | [
"MIT"
] | null | null | null | twitoff/__init__.py | lucaspetrus/twitoff | 41edef483487a99683a4b379c298133abdcdda79 | [
"MIT"
] | null | null | null | from .app import create_app
# Makes an app with the function we created in app.py
APP = create_app()
| 25.25 | 53 | 0.762376 | 19 | 101 | 3.947368 | 0.684211 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 101 | 3 | 54 | 33.666667 | 0.903614 | 0.504951 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
27f09f5041a6b8042e3dd5af2f8e996a7195983b | 3,000 | py | Python | subversion/bindings/ctypes-python/csvn/auth.py | timgates42/subversion | 0f088f530747140c6783c2eeb77ceff8e8613c42 | [
"Apache-2.0"
] | 7 | 2018-01-18T06:13:21.000Z | 2020-07-09T03:46:16.000Z | subversion/bindings/ctypes-python/csvn/auth.py | timgates42/subversion | 0f088f530747140c6783c2eeb77ceff8e8613c42 | [
"Apache-2.0"
] | 4 | 2015-01-12T22:23:41.000Z | 2015-01-12T22:33:52.000Z | subversion/bindings/ctypes-python/csvn/auth.py | timgates42/subversion | 0f088f530747140c6783c2eeb77ceff8e8613c42 | [
"Apache-2.0"
] | 6 | 2015-10-24T06:23:10.000Z | 2022-03-07T11:25:05.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "Licens... | 36.585366 | 80 | 0.657 | 384 | 3,000 | 5.044271 | 0.419271 | 0.030976 | 0.020134 | 0.032525 | 0.130614 | 0.113578 | 0.113578 | 0.077439 | 0.077439 | 0.077439 | 0 | 0.001877 | 0.289667 | 3,000 | 81 | 81 | 37.037037 | 0.907086 | 0.671667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0 | 1 | 0.3125 | false | 0.3125 | 0.0625 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
27f5ee7802f1862282213d310843001c2556eac7 | 178 | py | Python | visual_novel/cinfo/genres/admin.py | dolamroth/visual_novel | c67379df395561b3bca7e91e2db6547d2e943330 | [
"MIT"
] | 9 | 2018-03-11T12:53:12.000Z | 2020-12-19T14:21:53.000Z | visual_novel/cinfo/genres/admin.py | dolamroth/visual_novel | c67379df395561b3bca7e91e2db6547d2e943330 | [
"MIT"
] | 6 | 2020-02-11T22:19:22.000Z | 2022-03-11T23:20:10.000Z | visual_novel/cinfo/genres/admin.py | dolamroth/visual_novel | c67379df395561b3bca7e91e2db6547d2e943330 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Genre
@admin.register(Genre)
class GenreAdmin(admin.ModelAdmin):
list_display = ('title', 'alias', 'rank_by_visits', )
| 22.25 | 57 | 0.747191 | 23 | 178 | 5.652174 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129213 | 178 | 7 | 58 | 25.428571 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7e05e25b132841c528c109cd2750e208f3e51a06 | 606 | py | Python | Sem5SLLPYTHON/demo/evenusn.py | tanisha03/5th-Sem-ISE | 7adc291057e290572be3b52493a797aef167992f | [
"MIT"
] | 1 | 2020-07-20T04:03:47.000Z | 2020-07-20T04:03:47.000Z | Sem5SLLPYTHON/demo/evenusn.py | tanisha03/5th-Sem-ISE | 7adc291057e290572be3b52493a797aef167992f | [
"MIT"
] | 2 | 2019-10-19T12:38:52.000Z | 2019-12-23T11:05:18.000Z | Sem5SLLPYTHON/demo/evenusn.py | tanisha03/5th-Sem-ISE | 7adc291057e290572be3b52493a797aef167992f | [
"MIT"
] | 19 | 2019-09-15T12:04:30.000Z | 2020-10-02T13:21:28.000Z | student = {
"074":{
"name":"Nidhi CP",
"branch":"ISE",
"sem":"5",
},
"075":{
"name":"Nikhil",
"branch":"ISE",
"sem":"5",
},
"076":{
"name":"Nikhil T",
"branch":"ISE",
"sem":"5",
},
"077":{
"name":"Nimish",
... | 16.833333 | 27 | 0.328383 | 58 | 606 | 3.431034 | 0.465517 | 0.271357 | 0.361809 | 0.39196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072829 | 0.410891 | 606 | 36 | 27 | 16.833333 | 0.484594 | 0 | 0 | 0.342857 | 0 | 0 | 0.261944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7e0acc3ca20a9e9d96afe2d639a0e6e2d1a01ce6 | 305 | py | Python | subaligner/exception.py | JohnVillalovos/subaligner | 41bd00b4661b4ba35bdd2915e89fc368dcc7663a | [
"MIT"
] | 227 | 2020-01-05T18:47:15.000Z | 2022-03-19T20:19:33.000Z | subaligner/exception.py | JohnVillalovos/subaligner | 41bd00b4661b4ba35bdd2915e89fc368dcc7663a | [
"MIT"
] | 43 | 2019-12-16T09:15:38.000Z | 2022-03-21T10:39:40.000Z | subaligner/exception.py | JohnVillalovos/subaligner | 41bd00b4661b4ba35bdd2915e89fc368dcc7663a | [
"MIT"
] | 9 | 2020-11-16T03:33:11.000Z | 2022-03-11T22:12:38.000Z | class UnsupportedFormatException(Exception):
""" An exception raised due to unsupported formats."""
class TerminalException(Exception):
""" An exception raised due to unrecoverable failures."""
class NoFrameRateException(Exception):
""" An exception raised due to frame rate not found."""
| 27.727273 | 61 | 0.744262 | 32 | 305 | 7.09375 | 0.53125 | 0.145374 | 0.264317 | 0.343612 | 0.409692 | 0.409692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157377 | 305 | 10 | 62 | 30.5 | 0.883268 | 0.481967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fd7dff2e21fc2c873497fe9b87a02926b78bfb20 | 127 | py | Python | impc_etl/jobs/extraction/cda_extractor.py | mrelac-ebi/impc-etl | 271d77a24acb2a694b5ad1fdfca209010c217572 | [
"Apache-2.0"
] | 4 | 2021-04-14T09:28:51.000Z | 2022-02-07T10:52:14.000Z | impc_etl/jobs/extraction/cda_extractor.py | mrelac-ebi/impc-etl | 271d77a24acb2a694b5ad1fdfca209010c217572 | [
"Apache-2.0"
] | 85 | 2018-10-30T10:49:28.000Z | 2022-03-25T13:51:31.000Z | impc_etl/jobs/extraction/cda_extractor.py | mrelac-ebi/impc-etl | 271d77a24acb2a694b5ad1fdfca209010c217572 | [
"Apache-2.0"
] | 7 | 2018-10-30T11:36:57.000Z | 2021-07-15T15:36:14.000Z | """
CDA data loader module
load_statistical_results: Loads the output of the Statistical Pipeline to a Spark Dataframe
"""
| 25.4 | 95 | 0.771654 | 18 | 127 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173228 | 127 | 4 | 96 | 31.75 | 0.914286 | 0.929134 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fd8f5347ba6ffbe48e5ba3a9f8eae83f1f3b04dc | 39 | py | Python | handlers/__init__.py | itcosplay/bot_test | 64d2e1e0333d44df69732447af3160c3cf23c11d | [
"MIT"
] | null | null | null | handlers/__init__.py | itcosplay/bot_test | 64d2e1e0333d44df69732447af3160c3cf23c11d | [
"MIT"
] | null | null | null | handlers/__init__.py | itcosplay/bot_test | 64d2e1e0333d44df69732447af3160c3cf23c11d | [
"MIT"
] | null | null | null | from .echo import dp
__all__ = ['dp'] | 9.75 | 20 | 0.641026 | 6 | 39 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 4 | 21 | 9.75 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fddfcfab012f4a1fade1390db46f34b4e0cac8e1 | 3,373 | py | Python | tests/monthly_spend_tests.py | barrybridgens/monthly_spend | 759304caf459f78953a9bc5c412357a69534218c | [
"MIT"
] | null | null | null | tests/monthly_spend_tests.py | barrybridgens/monthly_spend | 759304caf459f78953a9bc5c412357a69534218c | [
"MIT"
] | null | null | null | tests/monthly_spend_tests.py | barrybridgens/monthly_spend | 759304caf459f78953a9bc5c412357a69534218c | [
"MIT"
] | null | null | null | # monthly_spend tests
from nose.tools import *
from monthly_spend.monthly_spend import MonthlySpend
def setup():
print "SETUP!"
def teardown():
print "TEAR DOWN!"
def test_basic():
print "I RAN!"
def test_for_month():
ms = MonthlySpend()
assert_equal(ms.for_month(1, '10000000000'), False)
... | 41.641975 | 114 | 0.662615 | 579 | 3,373 | 3.692573 | 0.158895 | 0.2058 | 0.243218 | 0.111319 | 0.727783 | 0.684752 | 0.485033 | 0.445744 | 0.377923 | 0.314312 | 0 | 0.194268 | 0.16217 | 3,373 | 80 | 115 | 42.1625 | 0.562279 | 0.023718 | 0 | 0.15873 | 0 | 0 | 0.196049 | 0 | 0 | 0 | 0 | 0 | 0.634921 | 0 | null | null | 0 | 0.031746 | null | null | 0.047619 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fdf881ff98789b73c1ebda40672ec89919c743f9 | 242 | py | Python | Operation/CentralTendency/GeneralizedMean/cubicmean.py | InnovAnon-Inc/sceadar | 56ab87a5e813cbf5129f0bc8bb518c25331041dc | [
"Unlicense"
] | null | null | null | Operation/CentralTendency/GeneralizedMean/cubicmean.py | InnovAnon-Inc/sceadar | 56ab87a5e813cbf5129f0bc8bb518c25331041dc | [
"Unlicense"
] | null | null | null | Operation/CentralTendency/GeneralizedMean/cubicmean.py | InnovAnon-Inc/sceadar | 56ab87a5e813cbf5129f0bc8bb518c25331041dc | [
"Unlicense"
] | null | null | null | from Operation.CentralTendency.GeneralizedMean.generalizedmean \
import GeneralizedMean
class CubicMean (GeneralizedMean):
def __init__ (self, length, min_value, max_value):
GeneralizedMean.__init__ (self, length, min_value, max_value, 3) | 40.333333 | 66 | 0.822314 | 27 | 242 | 6.925926 | 0.555556 | 0.085562 | 0.149733 | 0.181818 | 0.320856 | 0.320856 | 0.320856 | 0 | 0 | 0 | 0 | 0.004566 | 0.095041 | 242 | 6 | 66 | 40.333333 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fdf8f085ec72183aec7e4a54b79569db2ad1d1c2 | 75 | py | Python | bitmovin_api_sdk/analytics/queries/median/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/analytics/queries/median/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/analytics/queries/median/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.analytics.queries.median.median_api import MedianApi
| 37.5 | 74 | 0.893333 | 11 | 75 | 5.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 75 | 1 | 75 | 75 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8bfe5994ca7739151a5ff3df300ed9f10c5028d1 | 1,050 | py | Python | test_group_calculator.py | mmokko/aoc2017 | 0732ac440775f9e6bd4a8447c665c9b0e6969f74 | [
"MIT"
] | null | null | null | test_group_calculator.py | mmokko/aoc2017 | 0732ac440775f9e6bd4a8447c665c9b0e6969f74 | [
"MIT"
] | null | null | null | test_group_calculator.py | mmokko/aoc2017 | 0732ac440775f9e6bd4a8447c665c9b0e6969f74 | [
"MIT"
] | null | null | null | from unittest import TestCase
import day9
class TestGroupCalculator(TestCase):
def test_calculate_groups(self):
self.assertEqual(1, day9.calc('{}'))
self.assertEqual(6, day9.calc('{{{}}}'))
self.assertEqual(5, day9.calc('{{},{}}'))
self.assertEqual(16, day9.calc('{{{},{},{{}}}}'))
... | 43.75 | 71 | 0.554286 | 120 | 1,050 | 4.758333 | 0.266667 | 0.394046 | 0.183888 | 0.201401 | 0.542907 | 0.241681 | 0.241681 | 0.241681 | 0.161121 | 0.161121 | 0 | 0.038813 | 0.165714 | 1,050 | 23 | 72 | 45.652174 | 0.613014 | 0 | 0 | 0 | 0 | 0 | 0.18 | 0.082857 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e37c05dc2d8b59eeb7069f553d0f2e5c68afc8a5 | 2,848 | py | Python | pytasty/resources.py | Aplopio/pytasty | f43ce5521719a78a572dcfcb1d3eb6f6f43f3b2d | [
"MIT"
] | null | null | null | pytasty/resources.py | Aplopio/pytasty | f43ce5521719a78a572dcfcb1d3eb6f6f43f3b2d | [
"MIT"
] | 1 | 2021-01-05T09:33:06.000Z | 2021-01-05T09:33:06.000Z | pytasty/resources.py | Aplopio/pytasty | f43ce5521719a78a572dcfcb1d3eb6f6f43f3b2d | [
"MIT"
] | 2 | 2016-01-10T15:13:46.000Z | 2019-10-07T13:14:01.000Z | '''
from request_handler import HttpRequest
from field_handlers import get_field_handler
_request_handler = HttpRequest()
class ListResource(object):
def _generate_schema(self):
self.schema = _request_handler.request("GET",self.schema_endpoint, [rbox.username,rbox.api_key])
def _generate_detail_cla... | 32.363636 | 122 | 0.679775 | 358 | 2,848 | 5.039106 | 0.223464 | 0.093126 | 0.034922 | 0.039911 | 0.162971 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0.001794 | 0.216994 | 2,848 | 87 | 123 | 32.735632 | 0.807175 | 0.99684 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0.011494 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e37f10461d8931c41901fd6e72066a20df108665 | 158 | py | Python | setup.py | thatcr/cffi-xll | 70c20dc470ffc8944a37ad73456198a162662b2f | [
"MIT"
] | null | null | null | setup.py | thatcr/cffi-xll | 70c20dc470ffc8944a37ad73456198a162662b2f | [
"MIT"
] | null | null | null | setup.py | thatcr/cffi-xll | 70c20dc470ffc8944a37ad73456198a162662b2f | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='cffi-xll',
version='0.0.1',
packages=find_packages('src'),
platforms=['Windows'],
)
| 17.555556 | 43 | 0.658228 | 20 | 158 | 5.1 | 0.75 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.177215 | 158 | 8 | 44 | 19.75 | 0.761538 | 0 | 0 | 0 | 0 | 0 | 0.14557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b5f0b2cae0463252d9de8904ce706830bb6a008 | 112 | py | Python | main.py | pranavjain110/StockMarket | 5c332bbe98ed98b0effe67e74fbaf23178f9d9c4 | [
"MIT"
] | null | null | null | main.py | pranavjain110/StockMarket | 5c332bbe98ed98b0effe67e74fbaf23178f9d9c4 | [
"MIT"
] | null | null | null | main.py | pranavjain110/StockMarket | 5c332bbe98ed98b0effe67e74fbaf23178f9d9c4 | [
"MIT"
] | null | null | null | from nsetools import Nse
nse = Nse()
print (nse)
q = nse.get_quote('infy')
from pprint import pprint
pprint(q)
| 14 | 25 | 0.723214 | 19 | 112 | 4.210526 | 0.526316 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 112 | 7 | 26 | 16 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
8b6e5a007f9f5ef3c9e7613a3f919dc8cb34a46a | 142 | py | Python | src/pfh/glidersim/extras/__init__.py | pfheatwole/glidersim | 12cca5fdd39438d0effe549c320a602b27a96e82 | [
"MIT"
] | null | null | null | src/pfh/glidersim/extras/__init__.py | pfheatwole/glidersim | 12cca5fdd39438d0effe549c320a602b27a96e82 | [
"MIT"
] | null | null | null | src/pfh/glidersim/extras/__init__.py | pfheatwole/glidersim | 12cca5fdd39438d0effe549c320a602b27a96e82 | [
"MIT"
] | null | null | null | """Predefined component models and utility functions."""
from pfh.glidersim.extras import airfoils, compute_polars, plots, simulation, wings
| 35.5 | 83 | 0.802817 | 17 | 142 | 6.647059 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 142 | 3 | 84 | 47.333333 | 0.889764 | 0.352113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8b71d92f79195942b9178a798ca631c531fe1698 | 65 | py | Python | streaming/sensors/Ultrasonic/test.py | z687wang/self-driving-rc-car | 91665058a13f877081540d83407f1406da602ea4 | [
"MIT"
] | null | null | null | streaming/sensors/Ultrasonic/test.py | z687wang/self-driving-rc-car | 91665058a13f877081540d83407f1406da602ea4 | [
"MIT"
] | null | null | null | streaming/sensors/Ultrasonic/test.py | z687wang/self-driving-rc-car | 91665058a13f877081540d83407f1406da602ea4 | [
"MIT"
] | null | null | null | import UltrsonicSensor
ult = UltrsonicSensor()
ult.all_data() | 16.25 | 24 | 0.769231 | 7 | 65 | 7 | 0.714286 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 4 | 25 | 16.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8b789dd93a800cbd27280de83270b49cf3343049 | 23 | py | Python | recipe_scrapers/__version__.py | nhomka/recipe-scrapers | d06f0b832b597ec6d33ab208fa4832653c9d1b01 | [
"MIT"
] | null | null | null | recipe_scrapers/__version__.py | nhomka/recipe-scrapers | d06f0b832b597ec6d33ab208fa4832653c9d1b01 | [
"MIT"
] | null | null | null | recipe_scrapers/__version__.py | nhomka/recipe-scrapers | d06f0b832b597ec6d33ab208fa4832653c9d1b01 | [
"MIT"
] | null | null | null | __version__ = "10.0.5"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b87dfcbe7e5a1e20e71ac4035c55067161af327 | 66 | py | Python | GridSearch.py | kingzone/kaggle | 661b30fd1ce7481e20ad855e68a662019e7ce736 | [
"Apache-2.0"
] | 1 | 2017-04-04T15:49:58.000Z | 2017-04-04T15:49:58.000Z | GridSearch.py | kingzone/kaggle | 661b30fd1ce7481e20ad855e68a662019e7ce736 | [
"Apache-2.0"
] | null | null | null | GridSearch.py | kingzone/kaggle | 661b30fd1ce7481e20ad855e68a662019e7ce736 | [
"Apache-2.0"
] | null | null | null | from sklearn.datasets import fetch_20newsgroups
import numpy as np | 33 | 47 | 0.878788 | 10 | 66 | 5.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.106061 | 66 | 2 | 48 | 33 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8b8bd13abe53061c9ff6801ec058728d669c844c | 117 | py | Python | study/python/BasicAlgorithms/template.py | YoungsAppWorkshop/dev_environment_setup | f197c81059ec5f1ce0bd8b5d972034252f29d9d0 | [
"MIT"
] | null | null | null | study/python/BasicAlgorithms/template.py | YoungsAppWorkshop/dev_environment_setup | f197c81059ec5f1ce0bd8b5d972034252f29d9d0 | [
"MIT"
] | 3 | 2021-01-06T10:18:17.000Z | 2021-09-02T17:55:51.000Z | study/python/BasicAlgorithms/template.py | YoungsAppWorkshop/dev_environment_setup | f197c81059ec5f1ce0bd8b5d972034252f29d9d0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Topic
"""
def func(args):
pass
if __name__ == '__main__':
print(func(args))
| 7.8 | 26 | 0.57265 | 15 | 117 | 3.933333 | 0.866667 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.230769 | 117 | 14 | 27 | 8.357143 | 0.644444 | 0.230769 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
47434935f796ddae7fcc189a732dc73f9b960c02 | 83 | py | Python | aio/grpc/proto/__init__.py | eigenphi/gcommon | bce1ee422874fa904d90afee03fd703a06dc7a4d | [
"MIT"
] | 3 | 2021-11-09T09:43:21.000Z | 2021-12-16T18:15:43.000Z | aio/grpc/proto/__init__.py | eigenphi/gcommon | bce1ee422874fa904d90afee03fd703a06dc7a4d | [
"MIT"
] | null | null | null | aio/grpc/proto/__init__.py | eigenphi/gcommon | bce1ee422874fa904d90afee03fd703a06dc7a4d | [
"MIT"
] | 2 | 2022-03-10T11:24:46.000Z | 2022-03-25T06:39:17.000Z | # -*- coding: utf-8 -*-
# created: 2021-07-31
# creator: liguopeng@liguopeng.net
| 16.6 | 34 | 0.638554 | 11 | 83 | 4.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 0.156627 | 83 | 4 | 35 | 20.75 | 0.628571 | 0.903614 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
475832a8ed955187d7fe19f509a8ca7a50343f8a | 370 | py | Python | services/traction/api/endpoints/routes/tenant_api.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/api/endpoints/routes/tenant_api.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/api/endpoints/routes/tenant_api.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | from fastapi import APIRouter
from api.endpoints.routes import connections, credentials, tenant_admin
tenant_router = APIRouter()
tenant_router.include_router(connections.router, prefix="/connections", tags=[])
tenant_router.include_router(credentials.router, prefix="/credentials", tags=[])
tenant_router.include_rout... | 41.111111 | 80 | 0.810811 | 44 | 370 | 6.613636 | 0.340909 | 0.164948 | 0.195876 | 0.257732 | 0.199313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064865 | 370 | 8 | 81 | 46.25 | 0.84104 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
475efa99044befa0ca8b2db1dfe2cf1506bc5991 | 1,146 | py | Python | tests/test_linear_decider.py | matez0/decide-raw | 1ad4aeb80539b2713eae62466d6672dd0d7711d6 | [
"MIT"
] | null | null | null | tests/test_linear_decider.py | matez0/decide-raw | 1ad4aeb80539b2713eae62466d6672dd0d7711d6 | [
"MIT"
] | null | null | null | tests/test_linear_decider.py | matez0/decide-raw | 1ad4aeb80539b2713eae62466d6672dd0d7711d6 | [
"MIT"
] | null | null | null | # coding: utf-8
#
# Copyright (c) 2019 Zoltán Máté
# All Rights Reserved.
#
# Author: Zoltán Máté <mate.zoltan0@gmail.com>
#
from linear_decider import LinearDecider
def test_create_decider():
assert LinearDecider([1, 2, 3])
def test_decider_evaluate_linear_combination_of_reversed_values_starting_with_orig():
... | 29.384615 | 85 | 0.675393 | 178 | 1,146 | 4.202247 | 0.308989 | 0.243316 | 0.304813 | 0.187166 | 0.330214 | 0.237968 | 0.074866 | 0 | 0 | 0 | 0 | 0.084492 | 0.184119 | 1,146 | 38 | 86 | 30.157895 | 0.715508 | 0.095986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.181818 | false | 0 | 0.045455 | 0 | 0.227273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47789d15417b6d594f13f3bee08e997b9633c3b0 | 96 | py | Python | ajax_django/apps.py | nazmulhasan7447/django-dependent-dropdown | e1b97ba47a398c0c63a60eef070a38cd3e4bf875 | [
"MIT"
] | 1 | 2021-08-12T17:57:05.000Z | 2021-08-12T17:57:05.000Z | ajax_django/apps.py | nazmulhasan7447/django-dependent-dropdown | e1b97ba47a398c0c63a60eef070a38cd3e4bf875 | [
"MIT"
] | null | null | null | ajax_django/apps.py | nazmulhasan7447/django-dependent-dropdown | e1b97ba47a398c0c63a60eef070a38cd3e4bf875 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AjaxDjangoConfig(AppConfig):
name = 'ajax_django'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
477a02fe4036e308091a758268a2b1499f1638eb | 76 | py | Python | helper.py | jnayak1/-cs3240-labdemo | 25f73ed4e0672e2ce4208e47369dbeb641451b3e | [
"MIT"
] | null | null | null | helper.py | jnayak1/-cs3240-labdemo | 25f73ed4e0672e2ce4208e47369dbeb641451b3e | [
"MIT"
] | null | null | null | helper.py | jnayak1/-cs3240-labdemo | 25f73ed4e0672e2ce4208e47369dbeb641451b3e | [
"MIT"
] | null | null | null | # Jesse Nayak
# jdn4ae
# 2/22/15
# helper.py
def greeting(msg):
print(msg) | 10.857143 | 18 | 0.671053 | 13 | 76 | 3.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.171053 | 76 | 7 | 19 | 10.857143 | 0.714286 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
477a68e9dadcf1f54c9262e99a20828c610a91a8 | 753 | py | Python | cactus/plugin_base.py | randomknowledge/Cactus_Refactored | bdc38c32271c2191132fdb15320e9d19ebe41ff4 | [
"MIT"
] | 3 | 2015-09-11T11:58:10.000Z | 2018-08-11T19:37:23.000Z | cactus/plugin_base.py | randomknowledge/Cactus_Refactored | bdc38c32271c2191132fdb15320e9d19ebe41ff4 | [
"MIT"
] | 3 | 2015-01-07T22:46:06.000Z | 2015-01-08T19:31:06.000Z | cactus/plugin_base.py | randomknowledge/Cactus_Refactored | bdc38c32271c2191132fdb15320e9d19ebe41ff4 | [
"MIT"
] | null | null | null | # coding: utf-8
class CactusPluginBase(object):
def __init__(self, site):
self.site = site
self.name = self.__module__.split(".").pop().replace("plugins_", "")
try:
self.config = site.config.get("plugins").get(self.name)
except:
pass
if not self.conf... | 21.514286 | 76 | 0.540505 | 81 | 753 | 4.91358 | 0.407407 | 0.140704 | 0.246231 | 0.271357 | 0.316583 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001934 | 0.313413 | 753 | 34 | 77 | 22.147059 | 0.767892 | 0.017264 | 0 | 0.291667 | 0 | 0 | 0.02168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.291667 | 0 | 0.041667 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
478ad3e9dc8c72e485cd60c892a315239454aada | 9,321 | py | Python | tests/conftest.py | seekrcentral/seekr2_systems | 938e36ea61a3f106c0fb8d81b9bd02f664327ac7 | [
"MIT"
] | null | null | null | tests/conftest.py | seekrcentral/seekr2_systems | 938e36ea61a3f106c0fb8d81b9bd02f664327ac7 | [
"MIT"
] | null | null | null | tests/conftest.py | seekrcentral/seekr2_systems | 938e36ea61a3f106c0fb8d81b9bd02f664327ac7 | [
"MIT"
] | null | null | null | """
conftest.py
configurations for SEEKR2 system tests
"""
import os
import pytest
import copy
import seekr2.prepare as prepare
import seekr2.modules.common_base as base
import create_model_input
TEST_DIRECTORY = os.path.dirname(__file__)
@pytest.fixture(scope="session")
def tryp_ben_mmvt_model_input_persistent(tm... | 38.516529 | 79 | 0.748954 | 1,267 | 9,321 | 5.116022 | 0.074191 | 0.09025 | 0.071274 | 0.049367 | 0.938291 | 0.847578 | 0.766584 | 0.715366 | 0.634681 | 0.543505 | 0 | 0.001713 | 0.18571 | 9,321 | 241 | 80 | 38.676349 | 0.852306 | 0.201802 | 0 | 0.349315 | 0 | 0 | 0.019815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123288 | false | 0 | 0.041096 | 0 | 0.287671 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47afa8834a6d56ae55d9eeacc6784e16dc620aa7 | 6,606 | py | Python | hmm/labeling/utils.py | ryansteed/heuristic-moral-machine | ba80ae7d0e94b2ffa40edb95e4fbe57aaeb0af64 | [
"MIT"
] | null | null | null | hmm/labeling/utils.py | ryansteed/heuristic-moral-machine | ba80ae7d0e94b2ffa40edb95e4fbe57aaeb0af64 | [
"MIT"
] | 1 | 2020-12-02T19:15:38.000Z | 2020-12-15T15:47:02.000Z | hmm/labeling/utils.py | ryansteed/heuristic-moral-machine | ba80ae7d0e94b2ffa40edb95e4fbe57aaeb0af64 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
characters_all = [
'Man', 'Woman', 'Boy', 'Girl', 'OldMan', 'OldWoman', 'Stroller', 'Pregnant', \
'LargeMan', 'LargeWoman', 'MaleAthlete', 'FemaleAthlete', 'MaleExecutive', 'FemaleExecutive', \
'MaleDoctor', 'FemaleDoctor', 'Homeless', 'Criminal', 'Dog', 'Cat'
]
chara... | 42.619355 | 178 | 0.532092 | 1,145 | 6,606 | 3.006987 | 0.160699 | 0.200407 | 0.284055 | 0.357827 | 0.364508 | 0.335463 | 0.246006 | 0.225094 | 0.20912 | 0.195179 | 0 | 0.096556 | 0.26158 | 6,606 | 155 | 179 | 42.619355 | 0.607421 | 0.103845 | 0 | 0.083333 | 0 | 0 | 0.162935 | 0.003617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092593 | false | 0.111111 | 0.018519 | 0.027778 | 0.194444 | 0.009259 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
47f915fa447e80200e26f92c84862cd7c4b851bf | 268 | py | Python | fpo/fpo/doctype/farmer_quotation_item/farmer_quotation_item.py | shahzorkhan/fpo | bb12c7f1d7a844974bc6867c8faccca09f51bd33 | [
"MIT"
] | null | null | null | fpo/fpo/doctype/farmer_quotation_item/farmer_quotation_item.py | shahzorkhan/fpo | bb12c7f1d7a844974bc6867c8faccca09f51bd33 | [
"MIT"
] | null | null | null | fpo/fpo/doctype/farmer_quotation_item/farmer_quotation_item.py | shahzorkhan/fpo | bb12c7f1d7a844974bc6867c8faccca09f51bd33 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2015, Shahzor Khan and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class FarmerQuotationItem(Document):
pass
| 24.363636 | 51 | 0.787313 | 34 | 268 | 6.058824 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021552 | 0.134328 | 268 | 10 | 52 | 26.8 | 0.866379 | 0.44403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
9a22cf5af3cdeaa8ba406d1fd2ef7b53cb67e560 | 140 | py | Python | python/testData/dotNet/inner_class.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/dotNet/inner_class.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/dotNet/inner_class.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import clr
clr.AddReferenceByPartialName("SingleNameSpace")
from <caret>SingleNameSpace.Some.Deep.WeHaveClass import MyClass
print MyClass | 23.333333 | 64 | 0.857143 | 15 | 140 | 8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 140 | 6 | 65 | 23.333333 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9a242bf05cf9b04446e62a705ec950f4c0b3a31d | 3,676 | py | Python | Aplicacion5/Ejercicio9.py | adritake/AMCA-18-19 | 75fd4ce982eaf501a3adedd76d890f18a4c6bc04 | [
"MIT"
] | null | null | null | Aplicacion5/Ejercicio9.py | adritake/AMCA-18-19 | 75fd4ce982eaf501a3adedd76d890f18a4c6bc04 | [
"MIT"
] | null | null | null | Aplicacion5/Ejercicio9.py | adritake/AMCA-18-19 | 75fd4ce982eaf501a3adedd76d890f18a4c6bc04 | [
"MIT"
] | null | null | null | # Script para calcular el método de las potencias o el método de las potencias normalizado de una matriz determinada
import numpy as np
# Si NORMALIZADO == True se usa el método de las potencias normalizado
NORMALIZADO = False
# Número de iteraciones que se van a hacer en el método de las potencias
ITERACIONES = 20
... | 32.245614 | 116 | 0.523123 | 771 | 3,676 | 2.491569 | 0.155642 | 0.352941 | 0.485685 | 0.589276 | 0.350338 | 0.272775 | 0.207184 | 0.207184 | 0.206143 | 0.206143 | 0 | 0.031484 | 0.274211 | 3,676 | 113 | 117 | 32.530973 | 0.688531 | 0.284004 | 0 | 0.203704 | 0 | 0 | 0.055206 | 0.015012 | 0 | 0 | 0 | 0.017699 | 0 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.018519 | 0.148148 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9a412f4e937efbda0a330f447bbbdd5a9abb3b29 | 175 | py | Python | tests/globals/document/error_document.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 21 | 2021-11-23T13:01:36.000Z | 2022-03-23T03:45:30.000Z | tests/globals/document/error_document.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 217 | 2021-11-23T00:11:01.000Z | 2022-03-30T08:11:49.000Z | tests/globals/document/error_document.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 4 | 2022-01-04T01:48:30.000Z | 2022-02-11T03:19:32.000Z | import numpy as np
from relevanceai.utils import make_id
def error_document():
document = {"value": np.nan}
document["_id"] = make_id(document)
return document
| 17.5 | 39 | 0.702857 | 24 | 175 | 4.958333 | 0.625 | 0.10084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194286 | 175 | 9 | 40 | 19.444444 | 0.843972 | 0 | 0 | 0 | 0 | 0 | 0.045714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9a70f71dd1d2bcbd0c8a3f5473ee495bbddbd17f | 338 | py | Python | model/loss.py | vujadeyoon/PyTorch-CIFAR-10 | 032c7bfd4208f861e0a5716d2c6850a6a89b2310 | [
"MIT"
] | null | null | null | model/loss.py | vujadeyoon/PyTorch-CIFAR-10 | 032c7bfd4208f861e0a5716d2c6850a6a89b2310 | [
"MIT"
] | null | null | null | model/loss.py | vujadeyoon/PyTorch-CIFAR-10 | 032c7bfd4208f861e0a5716d2c6850a6a89b2310 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch.nn.functional as F
class CrossEntropyloss:
def __init__(self, _device):
self.loss = nn.CrossEntropyLoss().to(_device)
def __call__(self, _logits, _targets):
return self.loss(input=_logits, target=_targets)
def nll_loss(output, target):
return F.nll_los... | 22.533333 | 56 | 0.713018 | 46 | 338 | 4.891304 | 0.478261 | 0.097778 | 0.115556 | 0.168889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183432 | 338 | 14 | 57 | 24.142857 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7bf66b24fc0f1ca17a11815ca42bad01779dffd4 | 37 | py | Python | libffpy/tests/__init__.py | vitsalis/libffpy | 9362e8dc810d5a03f7598a9ef5dba6d7a61288d6 | [
"MIT"
] | 2 | 2018-05-01T10:43:40.000Z | 2018-05-01T16:19:07.000Z | libffpy/tests/__init__.py | vitsalis/libffpy | 9362e8dc810d5a03f7598a9ef5dba6d7a61288d6 | [
"MIT"
] | null | null | null | libffpy/tests/__init__.py | vitsalis/libffpy | 9362e8dc810d5a03f7598a9ef5dba6d7a61288d6 | [
"MIT"
] | 1 | 2020-02-25T15:12:06.000Z | 2020-02-25T15:12:06.000Z | """
Tests for the libff wrapper
"""
| 7.4 | 27 | 0.621622 | 5 | 37 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 4 | 28 | 9.25 | 0.793103 | 0.72973 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d000b83b7c1534ee3180c959f5885b08fc6bfb6e | 46 | py | Python | parcellearning/jkgat/__init__.py | kristianeschenburg/parcellearning | 93811f7d11c1c5583d8f541c7629dbbaa1785304 | [
"BSD-3-Clause"
] | 6 | 2017-07-03T23:11:29.000Z | 2022-01-04T16:41:57.000Z | parcellearning/jkgat/__init__.py | kristianeschenburg/parcellearning | 93811f7d11c1c5583d8f541c7629dbbaa1785304 | [
"BSD-3-Clause"
] | null | null | null | parcellearning/jkgat/__init__.py | kristianeschenburg/parcellearning | 93811f7d11c1c5583d8f541c7629dbbaa1785304 | [
"BSD-3-Clause"
] | 1 | 2018-04-24T18:01:19.000Z | 2018-04-24T18:01:19.000Z | from .jkgat import JKGAT
__all__ = ['JKGAT']
| 11.5 | 24 | 0.695652 | 6 | 46 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 3 | 25 | 15.333333 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d003acdb50f79df099aba94106cae331eed319e0 | 94 | py | Python | model/text_classification/__init__.py | JiangFeng07/NLPIK | bacd52e24690e8ba706895b54a076ee05d785d7b | [
"Apache-2.0"
] | null | null | null | model/text_classification/__init__.py | JiangFeng07/NLPIK | bacd52e24690e8ba706895b54a076ee05d785d7b | [
"Apache-2.0"
] | null | null | null | model/text_classification/__init__.py | JiangFeng07/NLPIK | bacd52e24690e8ba706895b54a076ee05d785d7b | [
"Apache-2.0"
] | null | null | null | #!/usr/local/bin/ python3
# -*- coding: utf-8 -*-
# @Time : 2022-03-14 13:42
# @Author : Leo | 23.5 | 27 | 0.56383 | 15 | 94 | 3.533333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.180851 | 94 | 4 | 28 | 23.5 | 0.506494 | 0.914894 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d0137692384ff65d5de5111690c6701feabb7feb | 61 | py | Python | test/tests/func_with_types.py | pixie-io/libpypa | 32a0959ab43b1f31db89bc3e8d0133a515af945e | [
"Apache-2.0"
] | null | null | null | test/tests/func_with_types.py | pixie-io/libpypa | 32a0959ab43b1f31db89bc3e8d0133a515af945e | [
"Apache-2.0"
] | null | null | null | test/tests/func_with_types.py | pixie-io/libpypa | 32a0959ab43b1f31db89bc3e8d0133a515af945e | [
"Apache-2.0"
] | null | null | null | def fun(a, b: int, c: str = None, *argc, **kwargs):
pass
| 20.333333 | 51 | 0.540984 | 11 | 61 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245902 | 61 | 2 | 52 | 30.5 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d02c5bd94f7d34f01c45f4f13a2e1cd993138865 | 2,684 | py | Python | pypoptools/pypoptesting/framework/node.py | black0rwhite/alt-integration-cpp | f08f1227fec8434bb6255c82b67ce03374ed0610 | [
"MIT"
] | null | null | null | pypoptools/pypoptesting/framework/node.py | black0rwhite/alt-integration-cpp | f08f1227fec8434bb6255c82b67ce03374ed0610 | [
"MIT"
] | null | null | null | pypoptools/pypoptesting/framework/node.py | black0rwhite/alt-integration-cpp | f08f1227fec8434bb6255c82b67ce03374ed0610 | [
"MIT"
] | null | null | null | import time
from abc import ABC, abstractmethod
from typing import List
from .entities import *
class Node(ABC):
# Control
@abstractmethod
def isstarted(self) -> bool:
pass
@abstractmethod
def isrpcavailable(self) -> bool:
pass
@abstractmethod
def start(self) -> None:
... | 19.591241 | 74 | 0.625931 | 238 | 2,684 | 7.058824 | 0.315126 | 0.283333 | 0.275 | 0.05 | 0.210119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288003 | 2,684 | 136 | 75 | 19.735294 | 0.879121 | 0.016393 | 0 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.319149 | false | 0.297872 | 0.042553 | 0.010638 | 0.382979 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d071ca7f5dc8b175731101535b6b62bf69435603 | 689 | py | Python | tests/test_forms.py | mattbev/finpandas | 9ff08b7eace01ce8353a83f1daab6dcc18d0d5d2 | [
"MIT"
] | 1 | 2022-01-20T22:11:13.000Z | 2022-01-20T22:11:13.000Z | tests/test_forms.py | mattbev/finpandas | 9ff08b7eace01ce8353a83f1daab6dcc18d0d5d2 | [
"MIT"
] | 2 | 2022-01-08T22:28:56.000Z | 2022-01-08T22:31:44.000Z | tests/test_forms.py | mattbev/finpandas | 9ff08b7eace01ce8353a83f1daab6dcc18d0d5d2 | [
"MIT"
] | null | null | null | import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from finpandas import dispose, fundamentals
from finpandas.dataframes import Form10K, Form10Q, HistoricalStockPrices
###########################################################################
#########################... | 36.263158 | 75 | 0.320755 | 34 | 689 | 6.382353 | 0.647059 | 0.119816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.056604 | 689 | 18 | 76 | 38.277778 | 0.326154 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d0a2a019b2f536d60d81a5a3b92bd90b171656de | 619 | py | Python | cherrydo/common.py | mihail-ivanov/cherrydo | 78d303b2189244610e4db4322cc6ef7b612c3a52 | [
"MIT"
] | null | null | null | cherrydo/common.py | mihail-ivanov/cherrydo | 78d303b2189244610e4db4322cc6ef7b612c3a52 | [
"MIT"
] | null | null | null | cherrydo/common.py | mihail-ivanov/cherrydo | 78d303b2189244610e4db4322cc6ef7b612c3a52 | [
"MIT"
] | null | null | null |
from cherrydo.utils import is_cherrydo_project
class CherryDoException(Exception):
pass
class BaseGenerator(object):
def __init__(self, name, params):
self.name = name
self.params = params
def formatted_name(self):
return self.name.replace('_', ' ').title().replace(' ', '')
... | 19.967742 | 67 | 0.642973 | 66 | 619 | 5.863636 | 0.469697 | 0.116279 | 0.087855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253635 | 619 | 30 | 68 | 20.633333 | 0.837662 | 0 | 0 | 0.210526 | 0 | 0 | 0.048544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.105263 | 0.052632 | 0.157895 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
d0f8f4579466664c6b54350ece9aa6eaf754e506 | 232 | py | Python | tests/test_set_config.py | clearcare/cc_dynamodb | 71e2e2217439efb281893414f6463c5c977b9503 | [
"MIT"
] | null | null | null | tests/test_set_config.py | clearcare/cc_dynamodb | 71e2e2217439efb281893414f6463c5c977b9503 | [
"MIT"
] | 4 | 2016-04-21T19:59:51.000Z | 2018-12-06T15:29:50.000Z | tests/test_set_config.py | clearcare/cc_dynamodb | 71e2e2217439efb281893414f6463c5c977b9503 | [
"MIT"
] | 1 | 2015-06-25T17:50:57.000Z | 2015-06-25T17:50:57.000Z | def test_success(fake_config):
import cc_dynamodb
config = cc_dynamodb.get_config()
assert config.aws_access_key_id == '<KEY>'
assert config.aws_secret_access_key == '<SECRET>'
assert config.namespace == 'dev_'
| 29 | 53 | 0.715517 | 31 | 232 | 4.967742 | 0.548387 | 0.233766 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 232 | 7 | 54 | 33.142857 | 0.802083 | 0 | 0 | 0 | 0 | 0 | 0.073276 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ef8002e8922ca1c2f74c004a360ea3e8d9d3f58b | 494 | py | Python | crazytown.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | 44 | 2018-08-15T08:32:43.000Z | 2022-02-15T20:25:03.000Z | crazytown.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | null | null | null | crazytown.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | 7 | 2018-09-08T20:05:58.000Z | 2021-11-22T12:46:15.000Z | Scale.default = Scale.minor
p1 >> pluck([0,0, 3, 3, 4, -2,4, -2],dur=[1/2,1,1/2, 1, 1/2, 1, 1/2, 1/4, 1/4],oct=3, amp=1.3,lpf=linvar([400,4000],16)).every(4, "trim", 3)
d1 >> play("x-o-x-o-x-o-x-oo(oo)",room=0.8, mix=0.4,amp=[0.7, 0.6, 0.7, 0.8]).every(5, "trim", 2)
p2 >> pads([0,2,4,6], dur=4, spin=4, oct=4,amp=2.0, c... | 49.4 | 140 | 0.552632 | 130 | 494 | 2.1 | 0.361538 | 0.03663 | 0.054945 | 0.043956 | 0.069597 | 0.043956 | 0.043956 | 0.043956 | 0.043956 | 0 | 0 | 0.221219 | 0.103239 | 494 | 9 | 141 | 54.888889 | 0.395034 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
efae6100f26a265bc27db39ba872077fbec6889f | 319 | py | Python | CONFIG/TestApp/api/serializers.py | Brktrlw/Instagram-Clone-Django-and-React | 6390db2133d3beae2097a680097e170bd4fbcabe | [
"MIT",
"PostgreSQL",
"Unlicense"
] | null | null | null | CONFIG/TestApp/api/serializers.py | Brktrlw/Instagram-Clone-Django-and-React | 6390db2133d3beae2097a680097e170bd4fbcabe | [
"MIT",
"PostgreSQL",
"Unlicense"
] | null | null | null | CONFIG/TestApp/api/serializers.py | Brktrlw/Instagram-Clone-Django-and-React | 6390db2133d3beae2097a680097e170bd4fbcabe | [
"MIT",
"PostgreSQL",
"Unlicense"
] | null | null | null |
from rest_framework import serializers
from TestApp.models import TestModel
class SerializerTest(serializers.ModelSerializer):
class Meta:
model=TestModel
fields="__all__"
class SerializerCreateTest(serializers.ModelSerializer):
class Meta:
model=TestModel
fields="__all__"
| 19.9375 | 56 | 0.736677 | 30 | 319 | 7.533333 | 0.533333 | 0.230089 | 0.274336 | 0.309735 | 0.513274 | 0.513274 | 0.513274 | 0.513274 | 0 | 0 | 0 | 0 | 0.203762 | 319 | 15 | 57 | 21.266667 | 0.889764 | 0 | 0 | 0.6 | 0 | 0 | 0.044025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 4 |
efb37fef958754fbb9e78bce41f886fe6738704f | 320 | py | Python | crawler/utils/__init__.py | hpthreatresearch/subcrawl | 37a50118a4d2e1003fdcacca339ca45d59d0c673 | [
"MIT"
] | 85 | 2021-08-04T20:01:44.000Z | 2022-03-26T14:31:35.000Z | crawler/utils/__init__.py | hpthreatresearch/subcrawl | 37a50118a4d2e1003fdcacca339ca45d59d0c673 | [
"MIT"
] | 5 | 2022-03-10T15:50:26.000Z | 2022-03-25T21:06:31.000Z | crawler/utils/__init__.py | hpthreatresearch/subcrawl | 37a50118a4d2e1003fdcacca339ca45d59d0c673 | [
"MIT"
] | 18 | 2021-08-13T01:35:26.000Z | 2022-03-23T16:06:49.000Z | # © Copyright 2021 HP Development Company, L.P.
from utils.logger import SubCrawlLogger, SubCrawlLoggerLevels
from utils.banner import SubCrawlBanner
from utils.sqlite_model import *
from utils.setup_redpanda_topic import check_topic
from utils.ansi_colors import SubCrawlColors
from utils.helpers import SubCrawlHelpers | 45.714286 | 61 | 0.859375 | 43 | 320 | 6.302326 | 0.627907 | 0.199262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.1 | 320 | 7 | 62 | 45.714286 | 0.923611 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
efb5f479d88898567eab1fa2b22c9faf8e9411d8 | 234 | py | Python | ex005.py | lucasjop/Python-Mundo1 | 3e8c70b930221e7189b66d0d405453b8f0ea1dd9 | [
"MIT"
] | null | null | null | ex005.py | lucasjop/Python-Mundo1 | 3e8c70b930221e7189b66d0d405453b8f0ea1dd9 | [
"MIT"
] | null | null | null | ex005.py | lucasjop/Python-Mundo1 | 3e8c70b930221e7189b66d0d405453b8f0ea1dd9 | [
"MIT"
] | null | null | null | '''
Faça um programa que leia um número inteiro e mostre na tela o suscessor e seu antecessor.
'''
print('===== Exercício 05 =====')
n1 = int(input('Digite um número: '))
print(f'O antecessor de {n1} é {n1-1} e o sucessor é {n1+1}')
| 29.25 | 90 | 0.649573 | 41 | 234 | 3.707317 | 0.658537 | 0.105263 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041451 | 0.175214 | 234 | 7 | 91 | 33.428571 | 0.746114 | 0.384615 | 0 | 0 | 0 | 0.333333 | 0.683824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
efd1621c715edbae876bc8c96823a1efa965247a | 197 | py | Python | Python_OOP_Softuni/Iterators_Generators_Exercises/venv/possibel_permutations.py | borisboychev/SoftUni | 22062312f08e29a1d85377a6d41ef74966d37e99 | [
"MIT"
] | 1 | 2020-12-14T23:25:19.000Z | 2020-12-14T23:25:19.000Z | Python_OOP_Softuni/Iterators_Generators_Exercises/venv/possibel_permutations.py | borisboychev/SoftUni | 22062312f08e29a1d85377a6d41ef74966d37e99 | [
"MIT"
] | null | null | null | Python_OOP_Softuni/Iterators_Generators_Exercises/venv/possibel_permutations.py | borisboychev/SoftUni | 22062312f08e29a1d85377a6d41ef74966d37e99 | [
"MIT"
] | null | null | null | def possible_permutations(numbers):
for i in numbers:
for j in numbers:
for k in numbers:
if i != j and i != k and k != j:
yield [i,j,k] | 28.142857 | 48 | 0.467005 | 29 | 197 | 3.137931 | 0.413793 | 0.32967 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.446701 | 197 | 7 | 49 | 28.142857 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ef228a8bce52b879b38a7021ef8ec21bbf5ecc9a | 65 | py | Python | OnlineQuizPlatform/config.py | ssoad/OnlineQuizPlatform | c29b4ad3f58852007a8cbd66f07ef8bc963b3ec0 | [
"MIT"
] | 7 | 2020-10-19T03:37:10.000Z | 2022-03-24T19:33:30.000Z | OnlineQuizPlatform/config.py | ssoad/OnlineQuizPlatform | c29b4ad3f58852007a8cbd66f07ef8bc963b3ec0 | [
"MIT"
] | 1 | 2020-12-02T14:53:43.000Z | 2020-12-02T15:11:55.000Z | OnlineQuizPlatform/config.py | ssoad/OnlineQuizPlatform | c29b4ad3f58852007a8cbd66f07ef8bc963b3ec0 | [
"MIT"
] | 4 | 2020-10-19T00:59:53.000Z | 2021-11-28T12:19:40.000Z |
EMAIL_ACC = "onlinequizplatfom@gmail.com"
PASSWORD = "@Cse2020"
| 16.25 | 41 | 0.753846 | 7 | 65 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.107692 | 65 | 3 | 42 | 21.666667 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.546875 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ef42b8f3bea39602f1805ca390d2d38f04affb54 | 407 | py | Python | core/net_errors.py | nikon-petr/kohonen | c23ae3032c58681040fe023bfa395d1ff9989876 | [
"MIT"
] | null | null | null | core/net_errors.py | nikon-petr/kohonen | c23ae3032c58681040fe023bfa395d1ff9989876 | [
"MIT"
] | null | null | null | core/net_errors.py | nikon-petr/kohonen | c23ae3032c58681040fe023bfa395d1ff9989876 | [
"MIT"
] | null | null | null | class JsonFileNotFound(Exception):
pass
class JsonFileStructureIncorrect(Exception):
pass
class NetConfigIndefined(Exception):
pass
class IncorrectFactorValue(Exception):
pass
class IncorrectInputVectorLength(Exception):
pass
class NetIsNotInitialized(Exception):
pass
class NetIsNotC... | 13.129032 | 44 | 0.769042 | 32 | 407 | 9.78125 | 0.34375 | 0.332268 | 0.402556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17199 | 407 | 30 | 45 | 13.566667 | 0.928783 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ef471be9d5b9af11fe7b13db772f24b3ba3f4183 | 693 | py | Python | tests/kyu_7_tests/test_guess_my_number.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_7_tests/test_guess_my_number.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_7_tests/test_guess_my_number.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_7.guess_my_number import guess_my_number
class GuessMyNumberTestCase(unittest.TestCase):
def test_equals(self):
self.assertEqual(guess_my_number('0'), '###-###-####')
def test_equals_2(self):
self.assertEqual(guess_my_number('01'), '1##-##1-####')
def test... | 28.875 | 67 | 0.656566 | 97 | 693 | 4.402062 | 0.360825 | 0.131148 | 0.24356 | 0.337237 | 0.449649 | 0.449649 | 0 | 0 | 0 | 0 | 0 | 0.098107 | 0.161616 | 693 | 23 | 68 | 30.130435 | 0.636833 | 0 | 0 | 0 | 0 | 0 | 0.134199 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | false | 0 | 0.133333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ef59301f59afb61fef9c4900110a5ca0188b089b | 142 | py | Python | src/modules/agents/__init__.py | dennismalmgren/marl | baa846dc4144cf6f53e51d8cf1e2fcf5800c9f95 | [
"Apache-2.0"
] | null | null | null | src/modules/agents/__init__.py | dennismalmgren/marl | baa846dc4144cf6f53e51d8cf1e2fcf5800c9f95 | [
"Apache-2.0"
] | null | null | null | src/modules/agents/__init__.py | dennismalmgren/marl | baa846dc4144cf6f53e51d8cf1e2fcf5800c9f95 | [
"Apache-2.0"
] | null | null | null | REGISTRY = {}
from .rnn_agent import RNNAgent
from .distri_rnn_agent import DRNNAgent
REGISTRY["rnn"] = RNNAgent
REGISTRY["drnn"] = DRNNAgent | 23.666667 | 39 | 0.774648 | 18 | 142 | 5.944444 | 0.5 | 0.149533 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 142 | 6 | 40 | 23.666667 | 0.856 | 0 | 0 | 0 | 0 | 0 | 0.048951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
325ec3245aaad5564ef68c6de1c3f812c925c7f7 | 10,458 | gyp | Python | sippet/sippet.gyp | sippet/sippet | c6f4b0e9723f56cfb6d345d307a48f1ff0eb2c65 | [
"BSD-3-Clause"
] | 26 | 2015-04-01T22:56:51.000Z | 2021-11-29T08:46:35.000Z | sippet/sippet.gyp | sippet/sippet | c6f4b0e9723f56cfb6d345d307a48f1ff0eb2c65 | [
"BSD-3-Clause"
] | null | null | null | sippet/sippet.gyp | sippet/sippet | c6f4b0e9723f56cfb6d345d307a48f1ff0eb2c65 | [
"BSD-3-Clause"
] | 8 | 2015-04-01T22:56:56.000Z | 2021-06-10T02:21:26.000Z | # Copyright (c) 2013 The Sippet Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'../build/win_precompile.gypi',
],
'targets': [
{
'target_name': 'sippet',
'type': 'static_library',
... | 36.062069 | 76 | 0.570377 | 1,113 | 10,458 | 5.169811 | 0.185085 | 0.238443 | 0.132951 | 0.027981 | 0.198297 | 0.042753 | 0 | 0 | 0 | 0 | 0 | 0.000668 | 0.284471 | 10,458 | 289 | 77 | 36.186851 | 0.768275 | 0.031268 | 0 | 0.08156 | 0 | 0 | 0.644463 | 0.521102 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.003546 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
32669577145c3ffd4aaa08c06ea4a97352629777 | 186 | py | Python | code_analyzer/modules/saving_formats/csv.py | congor/otus_task_3 | bce73280acb261848ad3383ad5694d71c8b6aa09 | [
"MIT"
] | null | null | null | code_analyzer/modules/saving_formats/csv.py | congor/otus_task_3 | bce73280acb261848ad3383ad5694d71c8b6aa09 | [
"MIT"
] | null | null | null | code_analyzer/modules/saving_formats/csv.py | congor/otus_task_3 | bce73280acb261848ad3383ad5694d71c8b6aa09 | [
"MIT"
] | null | null | null | import os
import csv
def save_csv(results_file_path, data):
with open(os.path.join(results_file_path), 'w') as file:
writer = csv.writer(file)
writer.writerows(data) | 26.571429 | 60 | 0.693548 | 29 | 186 | 4.275862 | 0.551724 | 0.177419 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 186 | 7 | 61 | 26.571429 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0.005348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3276a00c19d68b06eab737f5fd6529dc2efd92e6 | 158 | py | Python | product/forms.py | Farzan-ul-haq/POS | 607418f90a13b66118fdab47cc07aa6518b7cca7 | [
"MIT"
] | null | null | null | product/forms.py | Farzan-ul-haq/POS | 607418f90a13b66118fdab47cc07aa6518b7cca7 | [
"MIT"
] | null | null | null | product/forms.py | Farzan-ul-haq/POS | 607418f90a13b66118fdab47cc07aa6518b7cca7 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from .models import Product
class ProductForm(ModelForm):
class Meta:
model=Product
fields= '__all__' | 19.75 | 34 | 0.708861 | 18 | 158 | 6 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227848 | 158 | 8 | 35 | 19.75 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.044025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3298bd6d89fcd5276932bec41e012f61233b3f96 | 379 | py | Python | python_base/floats_and_ints.py | RuigerS/Tuturials | 2169f778161933b2739608c3613a684bacdaef80 | [
"MIT"
] | null | null | null | python_base/floats_and_ints.py | RuigerS/Tuturials | 2169f778161933b2739608c3613a684bacdaef80 | [
"MIT"
] | 1 | 2021-01-03T11:38:43.000Z | 2021-01-03T11:38:43.000Z | python_base/floats_and_ints.py | RuigerS/Tuturials | 2169f778161933b2739608c3613a684bacdaef80 | [
"MIT"
] | null | null | null | import os
#clear the screen
os.system('cls')
###################################################
num_1 = 3
num_2 = 2
print (num_1+num_2)
num_1 = 10
num_2 = 3
print (num_1/num_2)
print (int(num_1/num_2))
print (round(num_1/num_2))
print (round((num_1/num_2),2))
print (round((num_1/num_2),4))
#######################... | 18.95 | 51 | 0.498681 | 61 | 379 | 2.836066 | 0.344262 | 0.184971 | 0.242775 | 0.277457 | 0.543353 | 0.364162 | 0.364162 | 0.254335 | 0.254335 | 0.254335 | 0 | 0.068047 | 0.108179 | 379 | 20 | 52 | 18.95 | 0.443787 | 0.118734 | 0 | 0 | 0 | 0 | 0.012987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
32a96d333a7b5617ee339067990f960be64de0c9 | 465 | py | Python | host/database/db_upgrade.py | zadjii/nebula | 50c4ec019c9f7eb15fe105a6c53a8a12880e281c | [
"MIT"
] | 2 | 2020-04-15T11:20:59.000Z | 2021-05-12T13:01:36.000Z | host/database/db_upgrade.py | zadjii/nebula | 50c4ec019c9f7eb15fe105a6c53a8a12880e281c | [
"MIT"
] | 1 | 2018-06-05T04:48:56.000Z | 2018-06-05T04:48:56.000Z | host/database/db_upgrade.py | zadjii/nebula | 50c4ec019c9f7eb15fe105a6c53a8a12880e281c | [
"MIT"
] | 1 | 2018-08-15T06:45:46.000Z | 2018-08-15T06:45:46.000Z | from migrate.versioning import api
import os, sys
sys.path.append(os.path.join(os.path.join(sys.path[0], '..'), '..'))#dirtyhack fixme
# REALLY FUCKING DIRTY
from host.host_config import DATABASE_URI as SQLALCHEMY_DATABASE_URI
from host.host_config import MIGRATE_REPO as SQLALCHEMY_MIGRATE_REPO
api.upgrade(SQLALCHEMY_... | 51.666667 | 106 | 0.823656 | 69 | 465 | 5.304348 | 0.42029 | 0.120219 | 0.172131 | 0.098361 | 0.360656 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0.002336 | 0.07957 | 465 | 9 | 106 | 51.666667 | 0.852804 | 0.077419 | 0 | 0 | 0 | 0 | 0.070093 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | null | null | 0 | 0.571429 | null | null | 0.142857 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
32ab55ede93f3f5332ca96682b48acbb96136cf9 | 93 | py | Python | herokuapp/apps.py | dakotabourne373/MeetUpFinder2-10 | d75c3f6ecaa68562ac56a6191f9b21a3b2d25187 | [
"BSD-3-Clause"
] | 7 | 2020-08-05T12:42:27.000Z | 2022-03-08T03:25:00.000Z | herokuapp/apps.py | nahuelmol/djangoheroku | 90679bc7fb4f6935a29474ea5d47f599c27c7792 | [
"MIT"
] | 6 | 2020-11-17T04:43:07.000Z | 2022-02-10T14:08:42.000Z | herokuapp/apps.py | nahuelmol/djangoheroku | 90679bc7fb4f6935a29474ea5d47f599c27c7792 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class HerokuappConfig(AppConfig):
name = 'herokuapp'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
32b2aca0c5a53e611a77c062bb66eddc1b8d87c4 | 81 | py | Python | test/driver.py | Dou-Meishi/nedr | 41bc14cc551b715ed044df1ee84ebcabcb2d49ec | [
"MIT"
] | 1 | 2020-11-26T15:06:25.000Z | 2020-11-26T15:06:25.000Z | test/driver.py | Dou-Meishi/nedr | 41bc14cc551b715ed044df1ee84ebcabcb2d49ec | [
"MIT"
] | null | null | null | test/driver.py | Dou-Meishi/nedr | 41bc14cc551b715ed044df1ee84ebcabcb2d49ec | [
"MIT"
] | null | null | null | import nedr
nedr.register('driver.py', {'alpha': 0.5}, description='use alpha')
| 20.25 | 67 | 0.691358 | 12 | 81 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.098765 | 81 | 3 | 68 | 27 | 0.739726 | 0 | 0 | 0 | 0 | 0 | 0.283951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
08629e34da83322cb3d947d2963bfa56405b866c | 257 | py | Python | Kaspa/modules/exceptions/moduleError.py | karim-awad/kaspa | 701d935dd215bfd9a4810a4430973b33fecec257 | [
"MIT"
] | null | null | null | Kaspa/modules/exceptions/moduleError.py | karim-awad/kaspa | 701d935dd215bfd9a4810a4430973b33fecec257 | [
"MIT"
] | null | null | null | Kaspa/modules/exceptions/moduleError.py | karim-awad/kaspa | 701d935dd215bfd9a4810a4430973b33fecec257 | [
"MIT"
] | null | null | null | class ModuleError(Exception):
"""used for unexpected errors"""
def __init__(self, module_name, message):
# Call the base class constructor with the parameters it needs
super(ModuleError, self).__init__(module_name + ": " + message)
| 36.714286 | 71 | 0.692607 | 30 | 257 | 5.6 | 0.733333 | 0.119048 | 0.202381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206226 | 257 | 6 | 72 | 42.833333 | 0.823529 | 0.342412 | 0 | 0 | 0 | 0 | 0.01227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0888d85b8261cb47b93c806b8301edcd363765e4 | 155 | py | Python | model/__init__.py | originalMemory/formula-manager | df12ec546d2a5fb41e0ca06191e6616ff41fb698 | [
"MIT"
] | null | null | null | model/__init__.py | originalMemory/formula-manager | df12ec546d2a5fb41e0ca06191e6616ff41fb698 | [
"MIT"
] | null | null | null | model/__init__.py | originalMemory/formula-manager | df12ec546d2a5fb41e0ca06191e6616ff41fb698 | [
"MIT"
] | null | null | null | # coding=utf-8
"""
@project : formula-manager
@ide : PyCharm
@file : __init__.py
@author : illusion
@desc :
@create : 2021/8/8 6:21 下午:16
"""
| 15.5 | 30 | 0.593548 | 22 | 155 | 4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 0.232258 | 155 | 9 | 31 | 17.222222 | 0.638655 | 0.935484 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
088ed6776cc77c3c2f46cddc43c9b6dae5b18efd | 494 | py | Python | infocache/errors/giis.py | placiflury/gridmonitor-infocache | 12f720c05d0ac95e9f7e71f15dabf38909d6de97 | [
"BSD-3-Clause"
] | null | null | null | infocache/errors/giis.py | placiflury/gridmonitor-infocache | 12f720c05d0ac95e9f7e71f15dabf38909d6de97 | [
"BSD-3-Clause"
] | null | null | null | infocache/errors/giis.py | placiflury/gridmonitor-infocache | 12f720c05d0ac95e9f7e71f15dabf38909d6de97 | [
"BSD-3-Clause"
] | null | null | null | # last modified 10.3.2009
class GIISError(Exception):
"""
Exception raised for GIIS errors.
Attributes:
expression -- input expression in which error occurred
message -- explanation of error
"""
def __init__(self, expression, message):
self.expression = expression
... | 23.52381 | 62 | 0.639676 | 52 | 494 | 6 | 0.615385 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.277328 | 494 | 20 | 63 | 24.7 | 0.854342 | 0.42915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
0890b4e0d6250db2092433c85bff03853931cf75 | 137 | py | Python | monitor/tests.py | gserv/mining_monitor | 1967f24a0a64c358386cd9c7dc888766896fb4bb | [
"MIT"
] | null | null | null | monitor/tests.py | gserv/mining_monitor | 1967f24a0a64c358386cd9c7dc888766896fb4bb | [
"MIT"
] | null | null | null | monitor/tests.py | gserv/mining_monitor | 1967f24a0a64c358386cd9c7dc888766896fb4bb | [
"MIT"
] | null | null | null | from django.test import TestCase
import datetime
# Create your tests here.
thisTime = datetime.datetime.now().strftime("%Y%m%d%H%M%S")
| 19.571429 | 59 | 0.744526 | 22 | 137 | 4.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 137 | 6 | 60 | 22.833333 | 0.842975 | 0.167883 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
08bd2b9d9ecd07a53a3b17e3f38830da5adbe13a | 296 | py | Python | nengolib/networks/__init__.py | ikajic/nengolib | bd30ec38ba656bedb94a267b5f86b51d1cec4954 | [
"MIT"
] | 27 | 2016-01-21T04:11:02.000Z | 2021-11-16T20:41:04.000Z | nengolib/networks/__init__.py | ikajic/nengolib | bd30ec38ba656bedb94a267b5f86b51d1cec4954 | [
"MIT"
] | 178 | 2016-01-21T16:04:34.000Z | 2021-05-01T16:28:02.000Z | nengolib/networks/__init__.py | ikajic/nengolib | bd30ec38ba656bedb94a267b5f86b51d1cec4954 | [
"MIT"
] | 4 | 2019-03-19T18:22:02.000Z | 2021-03-23T16:06:57.000Z | """
Networks (:mod:`nengolib.networks`)
===================================
.. currentmodule:: nengolib.networks
.. autosummary::
:toctree:
LinearNetwork
RollingWindow
"""
from .echo_state import *
from .linear_network import *
from .reservoir import *
from .rolling_window import *
| 16.444444 | 36 | 0.631757 | 26 | 296 | 7.076923 | 0.653846 | 0.163043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141892 | 296 | 17 | 37 | 17.411765 | 0.724409 | 0.591216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
08e35c047ce097eee4a4994abb0befbe16b7630d | 300 | py | Python | Scripts/selected-glyphs/metrics/set-margins.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | Scripts/selected-glyphs/metrics/set-margins.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | Scripts/selected-glyphs/metrics/set-margins.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | # [h] set margins dialog
'''Set left/right side-bearings of selected glyphs.'''
# debug
import hTools2
reload(hTools2)
if hTools2.DEBUG:
import hTools2.dialogs.glyphs
reload(hTools2.dialogs.glyphs)
# import
from hTools2.dialogs.glyphs import setMarginsDialog
# run
setMarginsDialog()
| 14.285714 | 54 | 0.75 | 37 | 300 | 6.081081 | 0.540541 | 0.186667 | 0.266667 | 0.231111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.153333 | 300 | 20 | 55 | 15 | 0.862205 | 0.296667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
08f45a28b2f3235c1b9adfe9e6f6b6e27c65f329 | 188 | py | Python | backend/ultimate_frisbee_management/apps.py | oefsv/ulti-players | 156b4b34a7a1eba70a739973bd18ba403317543b | [
"MIT"
] | 6 | 2018-09-11T17:34:04.000Z | 2022-01-29T08:21:33.000Z | backend/ultimate_frisbee_management/apps.py | oefsv/ulti-players | 156b4b34a7a1eba70a739973bd18ba403317543b | [
"MIT"
] | 45 | 2018-09-18T14:35:02.000Z | 2022-03-02T02:56:23.000Z | backend/ultimate_frisbee_management/apps.py | oefsv/ulti-players | 156b4b34a7a1eba70a739973bd18ba403317543b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class UltimateFrisbeeManagementConfig(AppConfig):
name = 'ultimate_frisbee_management'
def ready(self):
from .signals import permissions | 26.857143 | 49 | 0.771277 | 19 | 188 | 7.526316 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 188 | 7 | 50 | 26.857143 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3e9d18f45523f39765243397b64aba2a32812d5d | 166 | py | Python | example/gharchive/logutils.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 13 | 2020-01-04T07:37:38.000Z | 2021-08-31T05:19:58.000Z | example/gharchive/logutils.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 3 | 2020-06-05T22:42:53.000Z | 2020-08-24T07:18:54.000Z | example/gharchive/logutils.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 9 | 2020-10-19T04:53:06.000Z | 2021-08-31T05:20:01.000Z | import logging
import coloredlogs
def get_logger(name):
logger = logging.getLogger(name)
coloredlogs.install(level='DEBUG', logger=logger)
return logger
| 20.75 | 53 | 0.753012 | 20 | 166 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 166 | 7 | 54 | 23.714286 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.03012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3eb547617e6ce504579ceb9c8ce5ebead4a694b2 | 1,369 | py | Python | trains/migrations/0005_trainroutes.py | Seshathri-saravanan/quest | 397c92e36167b9554fd72f55bdac0a2cbcdfea6f | [
"MIT"
] | null | null | null | trains/migrations/0005_trainroutes.py | Seshathri-saravanan/quest | 397c92e36167b9554fd72f55bdac0a2cbcdfea6f | [
"MIT"
] | null | null | null | trains/migrations/0005_trainroutes.py | Seshathri-saravanan/quest | 397c92e36167b9554fd72f55bdac0a2cbcdfea6f | [
"MIT"
] | 1 | 2021-11-09T15:58:33.000Z | 2021-11-09T15:58:33.000Z | # Generated by Django 3.1.3 on 2020-11-24 04:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('trains', '0004_auto_20201123_2342'),
]
operations = [
migrations.CreateModel(
name='TrainRoutes',
fields=[
... | 39.114286 | 114 | 0.55588 | 138 | 1,369 | 5.362319 | 0.42029 | 0.304054 | 0.364865 | 0.486486 | 0.527027 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077559 | 0.293645 | 1,369 | 34 | 115 | 40.264706 | 0.687694 | 0.032871 | 0 | 0 | 1 | 0 | 0.098336 | 0.017398 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3eedbd00c1529d5a9cb740be1c9fd6efef08ce53 | 662 | py | Python | coax/_base/errors.py | coax-dev/coax | 7553ab11b0f709e69d8d70d1d3b4326296b0b479 | [
"MIT"
] | 81 | 2021-03-11T06:10:25.000Z | 2022-03-18T18:00:10.000Z | coax/_base/errors.py | coax-dev/coax | 7553ab11b0f709e69d8d70d1d3b4326296b0b479 | [
"MIT"
] | 12 | 2021-05-27T12:21:54.000Z | 2022-02-07T16:12:54.000Z | coax/_base/errors.py | coax-dev/coax | 7553ab11b0f709e69d8d70d1d3b4326296b0b479 | [
"MIT"
] | 2 | 2021-08-10T06:03:22.000Z | 2022-03-14T06:05:33.000Z |
class CoaxError(Exception):
pass
class SpaceError(CoaxError):
pass
class ActionSpaceError(SpaceError):
pass
class DistributionError(CoaxError):
pass
class EpisodeDoneError(CoaxError):
pass
class InconsistentCacheInputError(CoaxError):
pass
class InsufficientCacheError(CoaxError):
... | 11.821429 | 45 | 0.747734 | 56 | 662 | 8.839286 | 0.303571 | 0.236364 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188822 | 662 | 55 | 46 | 12.036364 | 0.921788 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3ef0bcca5c276630b7d09e8324264e8e0b4502bb | 97 | py | Python | pystratis/api/global_requestmodels/__init__.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 8 | 2021-06-30T20:44:22.000Z | 2021-12-07T14:42:22.000Z | pystratis/api/global_requestmodels/__init__.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 2 | 2021-07-01T11:50:18.000Z | 2022-01-25T18:39:49.000Z | pystratis/api/global_requestmodels/__init__.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 4 | 2021-07-01T04:36:42.000Z | 2021-09-17T10:54:19.000Z | from .sendtransactionrequest import SendTransactionRequest
__all__ = ['SendTransactionRequest']
| 24.25 | 58 | 0.85567 | 6 | 97 | 13.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 3 | 59 | 32.333333 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0.226804 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f5b0f0055938e1a1c2a2e3431e8d2df811a0cc5d | 741 | py | Python | solutions/python3/765.py | sm2774us/amazon_interview_prep_2021 | f580080e4a6b712b0b295bb429bf676eb15668de | [
"MIT"
] | 42 | 2020-08-02T07:03:49.000Z | 2022-03-26T07:50:15.000Z | solutions/python3/765.py | ajayv13/leetcode | de02576a9503be6054816b7444ccadcc0c31c59d | [
"MIT"
] | null | null | null | solutions/python3/765.py | ajayv13/leetcode | de02576a9503be6054816b7444ccadcc0c31c59d | [
"MIT"
] | 40 | 2020-02-08T02:50:24.000Z | 2022-03-26T15:38:10.000Z | class Solution:
def minSwapsCouples(self, row):
res, index = 0, {num: i for i, num in enumerate(row)}
for i in range(0, len(row), 2):
if row[i] % 2 == 0 and row[i + 1] != row[i] + 1:
f = row[i + 1]
row[i + 1], row[index[row[i] + 1]] = row[i] + 1, row[i + ... | 49.4 | 113 | 0.39946 | 123 | 741 | 2.406504 | 0.186992 | 0.297297 | 0.337838 | 0.27027 | 0.641892 | 0.641892 | 0.641892 | 0.641892 | 0.641892 | 0.641892 | 0 | 0.070615 | 0.407557 | 741 | 15 | 114 | 49.4 | 0.603645 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f5c90a2d6e035b9240b480f3dd17a7a9e300438f | 243 | py | Python | temp/textblob_test.py | bromjiri/Presto | e5790f60d0935bb1182f676db414b0724ba35c1b | [
"MIT"
] | null | null | null | temp/textblob_test.py | bromjiri/Presto | e5790f60d0935bb1182f676db414b0724ba35c1b | [
"MIT"
] | null | null | null | temp/textblob_test.py | bromjiri/Presto | e5790f60d0935bb1182f676db414b0724ba35c1b | [
"MIT"
] | null | null | null | from textblob import TextBlob
test = TextBlob("after identifying the covered locations, microsoft merely encouraged buyers to get help if they encounter problems or just contribute to the ongoing hololens conversation")
print(test.sentiment) | 48.6 | 189 | 0.831276 | 33 | 243 | 6.121212 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131687 | 243 | 5 | 190 | 48.6 | 0.957346 | 0 | 0 | 0 | 0 | 0.333333 | 0.696721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f5e6180f17845df020dd3e6299d5480c056e50f7 | 1,289 | py | Python | tests/test_bdtr_en2zh.py | ffreemt/baidu-tr-free | d0f2400d1f23f3a6af850cc0813b0e107376a3b7 | [
"MIT"
] | 1 | 2019-07-17T09:23:27.000Z | 2019-07-17T09:23:27.000Z | tests/test_bdtr_en2zh.py | ffreemt/baidu-tr-free | d0f2400d1f23f3a6af850cc0813b0e107376a3b7 | [
"MIT"
] | 2 | 2019-11-28T11:29:00.000Z | 2021-02-28T02:33:11.000Z | tests/test_bdtr_en2zh.py | ffreemt/baidu-tr-free | d0f2400d1f23f3a6af850cc0813b0e107376a3b7 | [
"MIT"
] | 1 | 2019-10-17T00:35:38.000Z | 2019-10-17T00:35:38.000Z | ''' vrious tests '''
# from sys import maxsize
from random import randint
import pytest
from bdtr import bdtr
def test_en2zh_def_random():
''' test en2zh random '''
rint = str(randint(1, 10000))
assert rint in bdtr('test ' + rint)
def test_def_long_random():
''' test text longer than 30 '''
rin... | 25.78 | 144 | 0.65865 | 193 | 1,289 | 4.321244 | 0.300518 | 0.041966 | 0.083933 | 0.089928 | 0.724221 | 0.724221 | 0.678657 | 0.613909 | 0.613909 | 0.613909 | 0 | 0.0499 | 0.222653 | 1,289 | 49 | 145 | 26.306122 | 0.782435 | 0.179209 | 0 | 0.391304 | 0 | 0.086957 | 0.279961 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.217391 | false | 0.086957 | 0.130435 | 0 | 0.347826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f5e841388969d0827b4e4f59d33acbb0b6e95067 | 180 | py | Python | docker/part1/assets/step4/app/api.py | Code360In/katacoda-scenarios-34 | b9eee8213a7fcdc5897601b745d851801a7c08b6 | [
"MIT"
] | 1 | 2020-09-10T11:55:51.000Z | 2020-09-10T11:55:51.000Z | docker/part1/assets/step4/app/api.py | Code360In/katacoda-scenarios-34 | b9eee8213a7fcdc5897601b745d851801a7c08b6 | [
"MIT"
] | 1 | 2021-06-02T01:25:23.000Z | 2021-06-02T01:25:23.000Z | docker/part1/assets/step4/app/api.py | Code360In/katacoda-scenarios-34 | b9eee8213a7fcdc5897601b745d851801a7c08b6 | [
"MIT"
] | 3 | 2020-05-25T12:57:20.000Z | 2021-08-04T12:56:12.000Z | from fastapi import FastAPI
# INITIATE API
app = FastAPI(title="Prediction API", docs_url="/", version="1.0.0")
@app.get("/health")
def healthcheck():
return {"health": True} | 22.5 | 68 | 0.683333 | 25 | 180 | 4.88 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.133333 | 180 | 8 | 69 | 22.5 | 0.762821 | 0.066667 | 0 | 0 | 0 | 0 | 0.197605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
eb075b824c7298e1533abff0dd70901293f37f85 | 115 | py | Python | package_name/errors.py | bachya/pypi-template | 9383b75effc0ec8a88f2746aafc788d329f51e8c | [
"MIT"
] | null | null | null | package_name/errors.py | bachya/pypi-template | 9383b75effc0ec8a88f2746aafc788d329f51e8c | [
"MIT"
] | null | null | null | package_name/errors.py | bachya/pypi-template | 9383b75effc0ec8a88f2746aafc788d329f51e8c | [
"MIT"
] | null | null | null | """Define package exceptions."""
class PackageNameError(Exception):
"""Define a base exception."""
pass
| 14.375 | 34 | 0.669565 | 11 | 115 | 7 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 115 | 7 | 35 | 16.428571 | 0.819149 | 0.443478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
eb0868b312b1cd5747404ee99a5ab8eb51c2603b | 147 | py | Python | pyconcz/common/urls.py | messa/cz.pycon.org-2019 | 14be8c97e279f1d74122726ef08cd1cbc260e4ce | [
"MIT"
] | null | null | null | pyconcz/common/urls.py | messa/cz.pycon.org-2019 | 14be8c97e279f1d74122726ef08cd1cbc260e4ce | [
"MIT"
] | null | null | null | pyconcz/common/urls.py | messa/cz.pycon.org-2019 | 14be8c97e279f1d74122726ef08cd1cbc260e4ce | [
"MIT"
] | null | null | null | from django.conf.urls import url
from pyconcz.common.views import tickets_index
urlpatterns = [
url('^$', tickets_index, name="tickets"),
]
| 16.333333 | 46 | 0.721088 | 19 | 147 | 5.473684 | 0.684211 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14966 | 147 | 8 | 47 | 18.375 | 0.832 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eb171bb6674f70802de93a0d6793c991ef90d970 | 92 | py | Python | komax_api/apps.py | UsernameForGerman/PrettlNKKomax | 8684300852458ab99988a63e49db47d53ff7ddc4 | [
"Apache-2.0"
] | null | null | null | komax_api/apps.py | UsernameForGerman/PrettlNKKomax | 8684300852458ab99988a63e49db47d53ff7ddc4 | [
"Apache-2.0"
] | 9 | 2021-03-19T14:08:01.000Z | 2022-03-12T00:41:09.000Z | komax_api/apps.py | UsernameForGerman/PrettlNKKomax | 8684300852458ab99988a63e49db47d53ff7ddc4 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class KomaxApiConfig(AppConfig):
name = 'komax_api'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eb34060266be9d827c0f86307eccda240c7ba655 | 123 | py | Python | cocapi/client/__init__.py | bim-ba/coc-api | 69ff957803cb991dfad8df3af752d193171f2ef0 | [
"Unlicense"
] | 1 | 2022-03-29T12:39:36.000Z | 2022-03-29T12:39:36.000Z | cocapi/client/__init__.py | bim-ba/coc-api | 69ff957803cb991dfad8df3af752d193171f2ef0 | [
"Unlicense"
] | null | null | null | cocapi/client/__init__.py | bim-ba/coc-api | 69ff957803cb991dfad8df3af752d193171f2ef0 | [
"Unlicense"
] | null | null | null | from . import api
from .client import Client
from .baseclient import BaseClient
__all__ = ("Client", "BaseClient", "api")
| 20.5 | 41 | 0.739837 | 15 | 123 | 5.8 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 123 | 5 | 42 | 24.6 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.154472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eb455ba719f29047f58008c7d918bcb809acc963 | 52 | py | Python | WebMirror/management/rss_parser_funcs/feed_parse_extractNop.py | fake-name/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 193 | 2016-08-02T22:04:35.000Z | 2022-03-09T20:45:41.000Z | WebMirror/management/rss_parser_funcs/feed_parse_extractNop.py | fake-name/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 533 | 2016-08-23T20:48:23.000Z | 2022-03-28T15:55:13.000Z | WebMirror/management/rss_parser_funcs/feed_parse_extractNop.py | rrosajp/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 19 | 2015-08-13T18:01:08.000Z | 2021-07-12T17:13:09.000Z | def extractNop(dummy_item):
"""
"""
return None
| 8.666667 | 27 | 0.634615 | 6 | 52 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 52 | 5 | 28 | 10.4 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
de59f5420138364a4a3e8390142b0e6e990bca30 | 108 | py | Python | apps/service/demo.py | luohu1/flask-api | b5d9305649013716d16fcf8d4d2df0718c8d3a51 | [
"MIT"
] | null | null | null | apps/service/demo.py | luohu1/flask-api | b5d9305649013716d16fcf8d4d2df0718c8d3a51 | [
"MIT"
] | null | null | null | apps/service/demo.py | luohu1/flask-api | b5d9305649013716d16fcf8d4d2df0718c8d3a51 | [
"MIT"
] | null | null | null | from flask_restful import Resource
class DemoResource(Resource):
def get(self):
return "DEMO"
| 15.428571 | 34 | 0.703704 | 13 | 108 | 5.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 108 | 6 | 35 | 18 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
de5ebec2a8d30f868ca63326404e145262f52655 | 107 | py | Python | nutricionistas/nutri_app/apps.py | karinamg17/nutricionistas | d7cac627fd25692f9db88525d1b8da326f1dde5f | [
"MIT"
] | null | null | null | nutricionistas/nutri_app/apps.py | karinamg17/nutricionistas | d7cac627fd25692f9db88525d1b8da326f1dde5f | [
"MIT"
] | null | null | null | nutricionistas/nutri_app/apps.py | karinamg17/nutricionistas | d7cac627fd25692f9db88525d1b8da326f1dde5f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class NutriAppConfig(AppConfig):
name = 'nutricionistas.nutri_app'
| 17.833333 | 37 | 0.785047 | 12 | 107 | 6.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 38 | 21.4 | 0.902174 | 0 | 0 | 0 | 0 | 0 | 0.224299 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
de8cb36aec1819aa7b0e1dd5fdb12c66081d93a7 | 4,414 | py | Python | App/models.py | happyoneweek/FlaskAXF | 0e2dd8797b178e01baf189e5316b91ab6ab321ee | [
"Apache-2.0"
] | null | null | null | App/models.py | happyoneweek/FlaskAXF | 0e2dd8797b178e01baf189e5316b91ab6ab321ee | [
"Apache-2.0"
] | null | null | null | App/models.py | happyoneweek/FlaskAXF | 0e2dd8797b178e01baf189e5316b91ab6ab321ee | [
"Apache-2.0"
] | null | null | null | from App.exts import db
class HomeBanner(db.Model):
__tablename__ = 'axf_wheel'
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
img = db.Column(db.String(200))
name = db.Column(db.String(200))
trackid = db.Column(db.String(16))
class MainNav(db.Model):
__tablename__ = 'axf_n... | 35.886179 | 72 | 0.685093 | 644 | 4,414 | 4.613354 | 0.161491 | 0.218108 | 0.272635 | 0.242343 | 0.735106 | 0.540559 | 0.413665 | 0.364524 | 0.364524 | 0.320767 | 0 | 0.04161 | 0.161531 | 4,414 | 122 | 73 | 36.180328 | 0.761146 | 0 | 0 | 0.3 | 0 | 0 | 0.015632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.01 | 0.01 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
deae3c4632069031f306607dba77dffaa956a077 | 158 | py | Python | config/constant.py | XiaochenCui/package-analyze | e67826742d77bcc63a5e71e85f1b45061c8954ad | [
"BSD-3-Clause"
] | null | null | null | config/constant.py | XiaochenCui/package-analyze | e67826742d77bcc63a5e71e85f1b45061c8954ad | [
"BSD-3-Clause"
] | null | null | null | config/constant.py | XiaochenCui/package-analyze | e67826742d77bcc63a5e71e85f1b45061c8954ad | [
"BSD-3-Clause"
] | null | null | null | from bunch import Bunch
LOCK_MODE = Bunch()
LOCK_MODE.NOT_LOCKED = 0
LOCK_MODE.COMPLETE_LOCKED = 1
LOCK_MODE.LIMITED_SPEED = 2
LOCK_MODE.LIMITED_TORQUE = 3
| 17.555556 | 29 | 0.797468 | 27 | 158 | 4.333333 | 0.555556 | 0.34188 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.132911 | 158 | 8 | 30 | 19.75 | 0.824818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
deb63d9598de1d653c28b9fe5fd66a94ddb6fc70 | 40 | py | Python | imgcollector/__init__.py | jm33-m0/img2location | 87c4f4658d546f2d592103dec841c007dcb8c0e4 | [
"MIT"
] | 12 | 2019-05-16T09:41:07.000Z | 2022-03-10T08:17:51.000Z | cbir/__init__.py | jm33-m0/img2location | 87c4f4658d546f2d592103dec841c007dcb8c0e4 | [
"MIT"
] | null | null | null | cbir/__init__.py | jm33-m0/img2location | 87c4f4658d546f2d592103dec841c007dcb8c0e4 | [
"MIT"
] | 2 | 2020-02-25T15:21:53.000Z | 2022-01-28T01:33:36.000Z | #!/usr/bin/python3
'''
main package
'''
| 8 | 18 | 0.6 | 5 | 40 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.125 | 40 | 4 | 19 | 10 | 0.657143 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
debcc3a018de7038e5f41e7a7e620611a16172c6 | 100 | py | Python | ExerciciosPYTHON/PythonCeV/111.py | Samuel-Melo890/Python-Desafios | 2abc7734d6a6c1f5ab67421f792d6889d93bac94 | [
"MIT"
] | null | null | null | ExerciciosPYTHON/PythonCeV/111.py | Samuel-Melo890/Python-Desafios | 2abc7734d6a6c1f5ab67421f792d6889d93bac94 | [
"MIT"
] | 2 | 2022-03-18T16:06:07.000Z | 2022-03-18T16:55:29.000Z | ExerciciosPYTHON/PythonCeV/111.py | Samuel-Melo890/Python-Desafios | 2abc7734d6a6c1f5ab67421f792d6889d93bac94 | [
"MIT"
] | null | null | null | #O 111 era para pegar o módulo moeda e colocar em um pacote com tudo funcionando. Feito com sucesso! | 100 | 100 | 0.79 | 19 | 100 | 4.157895 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.18 | 100 | 1 | 100 | 100 | 0.926829 | 0.99 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
deec5e0569c8dd5dcf53799e5aa42216c8155d82 | 191 | py | Python | FirstProject/Article/admin.py | pinarbldrc/Python_DjangoDemo | 7e0b3966014d523b0fa3113c07a85140d4a0d0d7 | [
"MIT"
] | null | null | null | FirstProject/Article/admin.py | pinarbldrc/Python_DjangoDemo | 7e0b3966014d523b0fa3113c07a85140d4a0d0d7 | [
"MIT"
] | null | null | null | FirstProject/Article/admin.py | pinarbldrc/Python_DjangoDemo | 7e0b3966014d523b0fa3113c07a85140d4a0d0d7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Article
# class ArtiicleAdmin():
# class Meta:
# models=Article
admin.site.register(Article)
# Register your models here.
| 15.916667 | 32 | 0.717277 | 23 | 191 | 5.956522 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198953 | 191 | 11 | 33 | 17.363636 | 0.895425 | 0.460733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7216ed92064bbf595599138764901350b861452c | 100 | py | Python | run.py | cpflyingduck/CS6310-FinalProject | f9a70e3083bad3a80f9694d63c1d0413a7c21d68 | [
"MIT"
] | 1 | 2021-11-10T21:10:55.000Z | 2021-11-10T21:10:55.000Z | run.py | cpflyingduck/CS6310-FinalProject | f9a70e3083bad3a80f9694d63c1d0413a7c21d68 | [
"MIT"
] | null | null | null | run.py | cpflyingduck/CS6310-FinalProject | f9a70e3083bad3a80f9694d63c1d0413a7c21d68 | [
"MIT"
] | 4 | 2016-04-12T02:38:32.000Z | 2021-12-11T05:24:19.000Z | from api import flask_app
if __name__ == '__main__':
flask_app.run('0.0.0.0', 5000, debug=True) | 25 | 46 | 0.69 | 18 | 100 | 3.277778 | 0.722222 | 0.101695 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 0.15 | 100 | 4 | 46 | 25 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
721b6673a88553a61293b50847c63af164dd91b7 | 131 | py | Python | ucondb/tools/__init__.py | ivmfnal/ucondb | 447b131a157597c84cb1bccec4e871db3d5c9323 | [
"BSD-3-Clause"
] | null | null | null | ucondb/tools/__init__.py | ivmfnal/ucondb | 447b131a157597c84cb1bccec4e871db3d5c9323 | [
"BSD-3-Clause"
] | null | null | null | ucondb/tools/__init__.py | ivmfnal/ucondb | 447b131a157597c84cb1bccec4e871db3d5c9323 | [
"BSD-3-Clause"
] | null | null | null | from .dbdig import DbDig
from .py3 import PY3, to_str, to_bytes
from .timelib import text2datetime, UTC, ShiftTZ, fromepoch, epoch
| 32.75 | 66 | 0.793893 | 20 | 131 | 5.1 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.137405 | 131 | 3 | 67 | 43.666667 | 0.876106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
723b9bb327ec16e6cb49a4d976ec574915c9bc47 | 485 | py | Python | src/masonite/providers/FrameworkProvider.py | StevenMHernandez/masonite | f3088e124c40d0f9cd9de8f4518dd3ae4c296db6 | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | src/masonite/providers/FrameworkProvider.py | StevenMHernandez/masonite | f3088e124c40d0f9cd9de8f4518dd3ae4c296db6 | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | src/masonite/providers/FrameworkProvider.py | StevenMHernandez/masonite | f3088e124c40d0f9cd9de8f4518dd3ae4c296db6 | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from ..foundation import response_handler
from ..request import Request
from ..response import Response
class FrameworkProvider:
def __init__(self, application):
self.application = application
def register(self):
pass
def boot(self):
request = Request(self.application.make("envir... | 26.944444 | 69 | 0.696907 | 51 | 485 | 6.529412 | 0.372549 | 0.315315 | 0.114114 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204124 | 485 | 17 | 70 | 28.529412 | 0.862694 | 0 | 0 | 0 | 0 | 0 | 0.045361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.230769 | 0 | 0.538462 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a0dd375aa1283c98cc741059c6ceaa8780cc7556 | 91 | py | Python | polyline/apps.py | UjalaJha/DMBIProject | 1f9762e9d1f0261ab0421c185cd120e7890f77e9 | [
"MIT"
] | null | null | null | polyline/apps.py | UjalaJha/DMBIProject | 1f9762e9d1f0261ab0421c185cd120e7890f77e9 | [
"MIT"
] | null | null | null | polyline/apps.py | UjalaJha/DMBIProject | 1f9762e9d1f0261ab0421c185cd120e7890f77e9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PolylineConfig(AppConfig):
name = 'polyline'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9d026f08a2560a59e65cdbb242edadf8271ef356 | 192 | py | Python | ckeditor_api/admin.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | 3 | 2019-10-22T00:16:49.000Z | 2021-07-15T07:44:43.000Z | ckeditor_api/admin.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | 1,183 | 2018-04-19T18:40:30.000Z | 2022-03-31T21:05:05.000Z | ckeditor_api/admin.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | 12 | 2018-04-17T19:16:42.000Z | 2022-01-27T00:19:59.000Z | from django.contrib import admin
from ckeditor_api.models import CKEditorPage
@admin.register(CKEditorPage)
class CKEditorPageAdmin(admin.ModelAdmin):
readonly_fields = ('updated_at',)
| 21.333333 | 44 | 0.807292 | 22 | 192 | 6.909091 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 192 | 8 | 45 | 24 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9d158f990ee18c1c66bab80ffb7727749e1b2ed9 | 357 | py | Python | meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/simple.py | xyuzi/meiduo_project | 33f3ea8e14f2abb57b7a9fa052f0950c59b4b51e | [
"MIT"
] | null | null | null | meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/simple.py | xyuzi/meiduo_project | 33f3ea8e14f2abb57b7a9fa052f0950c59b4b51e | [
"MIT"
] | 7 | 2020-06-06T01:44:48.000Z | 2022-02-10T14:32:45.000Z | meiduo_mall/meiduo_mall/apps/meiduo_admin/serializers/simple.py | xyuzi/meiduo_project | 33f3ea8e14f2abb57b7a9fa052f0950c59b4b51e | [
"MIT"
] | null | null | null | from rest_framework import serializers
from django.contrib.auth.models import Group, Permission
class GroupModelSerializer(serializers.ModelSerializer):
class Meta:
model = Group
fields = '__all__'
class SimplenModelSerializer(serializers.ModelSerializer):
class Meta:
model = Permis... | 22.3125 | 58 | 0.714286 | 34 | 357 | 7.352941 | 0.617647 | 0.208 | 0.248 | 0.28 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210084 | 357 | 15 | 59 | 23.8 | 0.886525 | 0 | 0 | 0.2 | 0 | 0 | 0.036415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 4 |
9d226681b7e83b423234ad7edf681ccfba51370f | 110 | py | Python | nbscript/__init__.py | NordicHPC/nbscript | db82f74db109d61bc93e884a56c95152885041d1 | [
"BSD-3-Clause"
] | 2 | 2021-03-26T13:39:20.000Z | 2022-01-19T10:24:23.000Z | nbscript/__init__.py | NordicHPC/nbscript | db82f74db109d61bc93e884a56c95152885041d1 | [
"BSD-3-Clause"
] | null | null | null | nbscript/__init__.py | NordicHPC/nbscript | db82f74db109d61bc93e884a56c95152885041d1 | [
"BSD-3-Clause"
] | null | null | null | from .nbscript import (
argv,
is_active,
output_filename,
)
from ._version import __version__
| 15.714286 | 33 | 0.681818 | 12 | 110 | 5.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254545 | 110 | 6 | 34 | 18.333333 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9d46ac070c71df9e30b7e7da40bc75ca27fc8638 | 35 | py | Python | introduction_course/lesson2/task2/undefined_variable.py | behzod/pycharm-courses | 0ba74ff0ff87e7747173c60cd139c25b8d7f3b0e | [
"Apache-2.0"
] | 213 | 2015-01-03T19:25:02.000Z | 2020-02-06T03:08:43.000Z | introduction_course/lesson2/task2/undefined_variable.py | behzod/pycharm-courses | 0ba74ff0ff87e7747173c60cd139c25b8d7f3b0e | [
"Apache-2.0"
] | 24 | 2021-06-23T10:33:17.000Z | 2022-03-09T15:44:17.000Z | introduction_course/lesson2/task2/undefined_variable.py | behzod/pycharm-courses | 0ba74ff0ff87e7747173c60cd139c25b8d7f3b0e | [
"Apache-2.0"
] | 139 | 2015-01-03T19:24:22.000Z | 2020-01-24T18:05:51.000Z | variable = 1
print(other_variable)
| 11.666667 | 21 | 0.8 | 5 | 35 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 35 | 2 | 22 | 17.5 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
19b3eadba7adbedbce00c3745ce81651396e1088 | 265 | py | Python | src/python/shotbot/bots/__init__.py | RWJMurphy/shotbot | 3f6f1edc5d14d84f5e3837c1f7f6b6064f7dbfd5 | [
"MIT"
] | null | null | null | src/python/shotbot/bots/__init__.py | RWJMurphy/shotbot | 3f6f1edc5d14d84f5e3837c1f7f6b6064f7dbfd5 | [
"MIT"
] | null | null | null | src/python/shotbot/bots/__init__.py | RWJMurphy/shotbot | 3f6f1edc5d14d84f5e3837c1f7f6b6064f7dbfd5 | [
"MIT"
] | null | null | null | """Task-specific workers."""
from .commenter import Commenter, QuoteCommenter
from .renderer import Renderer, CommentContextRenderer
from .watcher import Watcher
__all__ = ('Commenter', 'Renderer', 'Watcher', 'QuoteCommenter',
'CommentContextRenderer')
| 33.125 | 64 | 0.754717 | 23 | 265 | 8.521739 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 265 | 7 | 65 | 37.857143 | 0.852174 | 0.083019 | 0 | 0 | 0 | 0 | 0.253165 | 0.092827 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
19b64eb21ca994382a01e77eb26529b73a802b2f | 98 | py | Python | run.py | merschformann/brickmos | 16dbc230cce01f29f67d6c803bd54ea6cd97a233 | [
"MIT"
] | 2 | 2022-02-21T02:32:07.000Z | 2022-02-22T06:47:40.000Z | run.py | merschformann/brickmos | 16dbc230cce01f29f67d6c803bd54ea6cd97a233 | [
"MIT"
] | null | null | null | run.py | merschformann/brickmos | 16dbc230cce01f29f67d6c803bd54ea6cd97a233 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from brickmos.brickify import main
if __name__ == "__main__":
main()
| 14 | 34 | 0.693878 | 13 | 98 | 4.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.173469 | 98 | 6 | 35 | 16.333333 | 0.728395 | 0.214286 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
19da57827d0978b0d624d0e12c1ffdb76debcd26 | 64 | py | Python | Problem145.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | Problem145.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | Problem145.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | """
How many reversible numbers are there below one-billion?
""" | 21.333333 | 56 | 0.734375 | 9 | 64 | 5.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 3 | 57 | 21.333333 | 0.854545 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.