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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a48cc014bf7b4d3a4eb29d5e3d4f7b97e5e699e | 1,511 | py | Python | sarpy/io/general/nitf_elements/tres/unclass/MPDSRA.py | pressler-vsc/sarpy | fa6c951c42b9a7d9df2edfa53c771494cb0246fb | [
"MIT"
] | 1 | 2021-02-04T08:44:18.000Z | 2021-02-04T08:44:18.000Z | sarpy/io/general/nitf_elements/tres/unclass/MPDSRA.py | pressler-vsc/sarpy | fa6c951c42b9a7d9df2edfa53c771494cb0246fb | [
"MIT"
] | null | null | null | sarpy/io/general/nitf_elements/tres/unclass/MPDSRA.py | pressler-vsc/sarpy | fa6c951c42b9a7d9df2edfa53c771494cb0246fb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class MPDSRAType(TREElement):
def __init__(self, value):
super(MPDSRAType, self).__init__()
self.add_field('BLKNO', 's', 2, value)
self.add_fie... | 35.97619 | 51 | 0.572469 | 209 | 1,511 | 3.91866 | 0.282297 | 0.213675 | 0.3663 | 0.498169 | 0.533578 | 0.533578 | 0 | 0 | 0 | 0 | 0 | 0.026019 | 0.236929 | 1,511 | 41 | 52 | 36.853659 | 0.684302 | 0.013898 | 0 | 0 | 0 | 0 | 0.122312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a49514760cbe41908df473ea9cfc95d082820b7 | 261 | py | Python | bf2/pagination.py | ctrlwebinc/badgr-server-bf2 | 926d2c0bbd9bb187a814ff0a52ba6ef31c27b1e2 | [
"BSD-3-Clause-Clear"
] | null | null | null | bf2/pagination.py | ctrlwebinc/badgr-server-bf2 | 926d2c0bbd9bb187a814ff0a52ba6ef31c27b1e2 | [
"BSD-3-Clause-Clear"
] | null | null | null | bf2/pagination.py | ctrlwebinc/badgr-server-bf2 | 926d2c0bbd9bb187a814ff0a52ba6ef31c27b1e2 | [
"BSD-3-Clause-Clear"
] | null | null | null | from rest_framework.pagination import LimitOffsetPagination
class BadgrLimitOffsetPagination(LimitOffsetPagination):
ordering = '-created_at'
def __init__(self, ordering=None, page_size=None):
super(BadgrLimitOffsetPagination, self).__init__() | 37.285714 | 59 | 0.796935 | 24 | 261 | 8.208333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122605 | 261 | 7 | 60 | 37.285714 | 0.860262 | 0 | 0 | 0 | 0 | 0 | 0.041985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0a4c0d0ee5f39dafa89a6d0018e3003bb4862f5d | 152 | py | Python | lessons/student_dictionary.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | lessons/student_dictionary.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | lessons/student_dictionary.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | students = {
"males" : ["joseph", "stephen", "theophilus"],
"females" : ["kara", "sharon", "lois"]
}
print(students["males"])
print(students["females"]) | 25.333333 | 46 | 0.625 | 15 | 152 | 6.333333 | 0.666667 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098684 | 152 | 6 | 47 | 25.333333 | 0.693431 | 0 | 0 | 0 | 0 | 0 | 0.398693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a54c3d9d59cc3439bd526a9e890a0fb45994c7b | 1,143 | py | Python | test/test_client_io.py | tsangpozheng/asyncgrpc | 79ba732ab74d15ad02ef94763259298554198899 | [
"MIT"
] | 2 | 2018-11-06T04:43:06.000Z | 2018-12-05T09:20:02.000Z | test/test_client_io.py | tsangpozheng/asyncgrpc | 79ba732ab74d15ad02ef94763259298554198899 | [
"MIT"
] | null | null | null | test/test_client_io.py | tsangpozheng/asyncgrpc | 79ba732ab74d15ad02ef94763259298554198899 | [
"MIT"
] | null | null | null | import sys
sys.path.append('.')
import grpc
from protos import benchmark_pb2
from protos import benchmark_pb2_grpc
def generate_messages():
messages = [
benchmark_pb2.HelloRequest(name='First'),
benchmark_pb2.HelloRequest(name='Second'),
benchmark_pb2.HelloRequest(name='3'),
benc... | 25.4 | 73 | 0.673666 | 139 | 1,143 | 5.374101 | 0.366906 | 0.144578 | 0.192771 | 0.2249 | 0.323963 | 0.093708 | 0 | 0 | 0 | 0 | 0 | 0.023965 | 0.19685 | 1,143 | 44 | 74 | 25.977273 | 0.78976 | 0 | 0 | 0.064516 | 1 | 0 | 0.097988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.129032 | 0 | 0.193548 | 0.16129 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a5bcfcc91a17e3f936640705ef742bf833c4924 | 148 | py | Python | app/app.py | Karola766/NewsChiller | ac76081f1139a62e18a0f07366ae76c26f40d70a | [
"MIT"
] | 1 | 2020-08-06T10:46:30.000Z | 2020-08-06T10:46:30.000Z | app/app.py | Karola766/NewsChiller | ac76081f1139a62e18a0f07366ae76c26f40d70a | [
"MIT"
] | 1 | 2020-02-25T09:22:13.000Z | 2020-02-25T09:22:13.000Z | app/app.py | Karola766/NewsChiller | ac76081f1139a62e18a0f07366ae76c26f40d70a | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
db_uri = 'mysql+pymysql://root:@localhost/feedreader'
app.config['SQLALCHEMY_DATABASE_URI'] = db_uri
| 24.666667 | 53 | 0.777027 | 21 | 148 | 5.095238 | 0.714286 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 148 | 5 | 54 | 29.6 | 0.798507 | 0 | 0 | 0 | 0 | 0 | 0.439189 | 0.439189 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a5e577293c6f69a32570ab0aeab0f0c78a4d5b9 | 5,063 | py | Python | trinity/protocol/eth/events.py | renaynay/trinity | b85f37281b21c00dce91b7c61ba018788467c270 | [
"MIT"
] | null | null | null | trinity/protocol/eth/events.py | renaynay/trinity | b85f37281b21c00dce91b7c61ba018788467c270 | [
"MIT"
] | null | null | null | trinity/protocol/eth/events.py | renaynay/trinity | b85f37281b21c00dce91b7c61ba018788467c270 | [
"MIT"
] | null | null | null | from dataclasses import (
dataclass,
)
from typing import (
Sequence,
Type,
)
from eth.abc import (
BlockAPI,
BlockHeaderAPI,
ReceiptAPI,
SignedTransactionAPI,
)
from lahja import (
BaseEvent,
BaseRequestResponseEvent,
)
from p2p.abc import NodeAPI
from eth_typing import (
Bl... | 22.303965 | 98 | 0.724077 | 541 | 5,063 | 6.726433 | 0.212569 | 0.030778 | 0.036274 | 0.061555 | 0.501786 | 0.4133 | 0.4133 | 0.4133 | 0.385271 | 0.35147 | 0 | 0.001244 | 0.206202 | 5,063 | 226 | 99 | 22.402655 | 0.904205 | 0.320166 | 0 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034783 | true | 0.06087 | 0.069565 | 0.034783 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6a6b2465e6ecf20ac3375b6bee8300f9dbe39a0e | 97 | py | Python | example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Refine, using assumptions/Refine.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Refine, using assumptions/Refine.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Refine, using assumptions/Refine.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | expr = exp(pi*I*2*(x+y))
assumption = Q.integer(x) & Q.integer(y)
expr = refine(expr, assumption) | 32.333333 | 40 | 0.670103 | 18 | 97 | 3.611111 | 0.611111 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.113402 | 97 | 3 | 41 | 32.333333 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a70d11e8a3bf7945ab826db678fbc14b501c5f6 | 213 | py | Python | script.service.hue/service.py | semool/script.service.hue | 5d5a21a7976376b73d702f95d06fa5caf346067c | [
"MIT"
] | 33 | 2019-05-29T18:23:05.000Z | 2022-01-21T20:07:39.000Z | script.service.hue/service.py | semool/script.service.hue | 5d5a21a7976376b73d702f95d06fa5caf346067c | [
"MIT"
] | 39 | 2019-06-02T19:21:27.000Z | 2022-03-17T03:42:40.000Z | script.service.hue/service.py | semool/script.service.hue | 5d5a21a7976376b73d702f95d06fa5caf346067c | [
"MIT"
] | 21 | 2019-05-18T14:29:14.000Z | 2022-02-20T12:28:31.000Z | import xbmc
from resources.lib import core, reporting
try:
core.core()
except Exception as exc:
xbmc.log(f"[script.service.hue][EXCEPTION] Service exception: {exc}")
reporting.process_exception(exc)
| 21.3 | 73 | 0.737089 | 29 | 213 | 5.37931 | 0.62069 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150235 | 213 | 9 | 74 | 23.666667 | 0.861878 | 0 | 0 | 0 | 0 | 0 | 0.262911 | 0.14554 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a782f492f7eb470b14c0dc14995c11c15e26db0 | 1,129 | py | Python | Python3Lab/Mymodule.py | lkljlh1001/HelloPython | 57042aee083a5f0edc05fce24d1709771865a0c7 | [
"Apache-2.0"
] | null | null | null | Python3Lab/Mymodule.py | lkljlh1001/HelloPython | 57042aee083a5f0edc05fce24d1709771865a0c7 | [
"Apache-2.0"
] | null | null | null | Python3Lab/Mymodule.py | lkljlh1001/HelloPython | 57042aee083a5f0edc05fce24d1709771865a0c7 | [
"Apache-2.0"
] | null | null | null | #프로그램을 구성하는 독립적인 단위를
#각각 정의하고 관리하는 방법
#자주 사용하는 일반적인 기능은 모듈로 한번 만들어 두면
#필요할때 마다 도입해서 활용 할 수 있다.
#모듈 : 관련성 있는 데이터들, 함수,클래스
#모듈을 사용하려면 import 명령으로 인터프리터에게
#사용여부를 알려야 한다
#import random
# 인터프리에게 사용여부를 알림 (import)
#import random
#import random as r #별칭으로줄여쓰기
#from random import randint #모듈명 줄여쓰기
#from math import pi
#from ... | 19.135593 | 37 | 0.723649 | 213 | 1,129 | 3.816901 | 0.638498 | 0.061501 | 0.068881 | 0.03936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02603 | 0.183348 | 1,129 | 58 | 38 | 19.465517 | 0.855748 | 0.861825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6a7a43a77f36e82180048b02ac6de029f417dc3d | 6,291 | py | Python | tests/unit/output/test_nested.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 12 | 2015-01-21T00:18:25.000Z | 2021-07-11T07:35:26.000Z | tests/unit/output/test_nested.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 86 | 2017-01-27T11:54:46.000Z | 2020-05-20T06:25:26.000Z | tests/unit/output/test_nested.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 12 | 2015-01-05T09:50:42.000Z | 2019-08-19T01:43:40.000Z | # -*- coding: utf-8 -*-
'''
Unit tests for the Nested outputter
'''
# Import Python Libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.unit import TestCase
# Import Salt Libs
import salt.output.nested as nested
class Nest... | 46.6 | 118 | 0.450167 | 853 | 6,291 | 3.203986 | 0.166471 | 0.216612 | 0.160263 | 0.17929 | 0.622759 | 0.586169 | 0.544091 | 0.528723 | 0.524332 | 0.51921 | 0 | 0.175983 | 0.385789 | 6,291 | 134 | 119 | 46.947761 | 0.531315 | 0.169131 | 0 | 0.185185 | 0 | 0.382716 | 0.563577 | 0.352042 | 0 | 0 | 0 | 0 | 0.037037 | 1 | 0.061728 | false | 0 | 0.049383 | 0.012346 | 0.135802 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a8153513f9710ac2af8f067891c6359c6c5a0e8 | 3,601 | py | Python | util/icosahedron_model.py | chlorophyll/chlorophyll | 900eb78d1f63b7105c27b06b941a1b84639b4168 | [
"MIT"
] | 2 | 2019-11-04T19:21:09.000Z | 2020-10-16T08:51:06.000Z | util/icosahedron_model.py | chlorophyll/chlorophyll | 900eb78d1f63b7105c27b06b941a1b84639b4168 | [
"MIT"
] | 35 | 2017-12-11T00:22:16.000Z | 2022-03-25T18:40:45.000Z | util/icosahedron_model.py | chlorophyll/chlorophyll | 900eb78d1f63b7105c27b06b941a1b84639b4168 | [
"MIT"
] | 1 | 2019-06-17T16:05:12.000Z | 2019-06-17T16:05:12.000Z | def lerp(v1, v2, pct):
return list(v1[i] + pct*(v2[i] - v1[i]) for i in xrange(3))
hubs = [
(-102.337, 267.923, -177.254), #0
(-102.337, 267.923, 177.254), #1
( 204.676, 267.923, 0.00), #2
( 165.586, 63.248, -286.803), #3
(-165.586, -63.248, -286.803), #4
(-331.171, 63.249, ... | 22.092025 | 113 | 0.38045 | 655 | 3,601 | 2.076336 | 0.155725 | 0.017647 | 0.022059 | 0.044118 | 0.248529 | 0.213235 | 0.05 | 0.039706 | 0.039706 | 0.039706 | 0 | 0.274809 | 0.308803 | 3,601 | 162 | 114 | 22.228395 | 0.271595 | 0.06887 | 0 | 0.027586 | 0 | 0 | 0.011401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006897 | null | null | 0.006897 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a82b4848fdca0fa3ef32f3fd2794a4699b8f937 | 205 | py | Python | utilities.py | uwmadison-chm/factuator | 649b1b4e42f97b8e833f3576e7bf2cf64c38a126 | [
"MIT"
] | null | null | null | utilities.py | uwmadison-chm/factuator | 649b1b4e42f97b8e833f3576e7bf2cf64c38a126 | [
"MIT"
] | 8 | 2019-04-24T17:58:30.000Z | 2021-11-29T20:47:31.000Z | utilities.py | uwmadison-chm/factuator | 649b1b4e42f97b8e833f3576e7bf2cf64c38a126 | [
"MIT"
] | 1 | 2019-04-24T16:30:59.000Z | 2019-04-24T16:30:59.000Z |
def study_template(p):
study_regex = r"Study"
for template in p.filter_templates(matches=study_regex):
if template.name.strip() == study_regex:
return template
return None
| 25.625 | 60 | 0.668293 | 27 | 205 | 4.888889 | 0.592593 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 205 | 7 | 61 | 29.285714 | 0.851613 | 0 | 0 | 0 | 0 | 0 | 0.02451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
6a87da00093c5dd37d55e0c46812d38843cbfc7c | 169 | py | Python | monero_glue/messages/RecoveryDeviceType.py | ph4r05/monero-agent | 0bac0e6f33142b2bb885565bfd1ef8ac04559280 | [
"MIT"
] | 20 | 2018-04-05T22:06:10.000Z | 2021-09-18T10:43:44.000Z | monero_glue/messages/RecoveryDeviceType.py | ph4r05/monero-agent | 0bac0e6f33142b2bb885565bfd1ef8ac04559280 | [
"MIT"
] | null | null | null | monero_glue/messages/RecoveryDeviceType.py | ph4r05/monero-agent | 0bac0e6f33142b2bb885565bfd1ef8ac04559280 | [
"MIT"
] | 5 | 2018-08-06T15:06:04.000Z | 2021-07-16T01:58:43.000Z | # Automatically generated by pb2py
# fmt: off
if False:
from typing_extensions import Literal
ScrambledWords = 0 # type: Literal[0]
Matrix = 1 # type: Literal[1]
| 21.125 | 41 | 0.721893 | 23 | 169 | 5.26087 | 0.782609 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0.195266 | 169 | 7 | 42 | 24.142857 | 0.852941 | 0.443787 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a987b7ae050d2a450a0ff84b7ff507f14214e30 | 109 | py | Python | restdoctor/__init__.py | khmelevskiy-alex/restdoctor | 696f31ab73f96dc70b1245d6eb5ef668e374cf2d | [
"MIT"
] | null | null | null | restdoctor/__init__.py | khmelevskiy-alex/restdoctor | 696f31ab73f96dc70b1245d6eb5ef668e374cf2d | [
"MIT"
] | null | null | null | restdoctor/__init__.py | khmelevskiy-alex/restdoctor | 696f31ab73f96dc70b1245d6eb5ef668e374cf2d | [
"MIT"
] | null | null | null | from __future__ import annotations
__version__ = '0.0.52'
default_app_config = 'restdoctor.apps.AppConfig'
| 18.166667 | 48 | 0.798165 | 14 | 109 | 5.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.110092 | 109 | 5 | 49 | 21.8 | 0.752577 | 0 | 0 | 0 | 0 | 0 | 0.284404 | 0.229358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6aa57044745f9edc35f7b48188ac734dced8b6f9 | 228 | py | Python | drinks/admin.py | jmhubbard/cocktail_api | 47c2cca699f02dc14af04b989beeee9855a797f0 | [
"Unlicense"
] | 1 | 2020-11-25T04:57:34.000Z | 2020-11-25T04:57:34.000Z | drinks/admin.py | jmhubbard/cocktail_api | 47c2cca699f02dc14af04b989beeee9855a797f0 | [
"Unlicense"
] | null | null | null | drinks/admin.py | jmhubbard/cocktail_api | 47c2cca699f02dc14af04b989beeee9855a797f0 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Drink
class DrinkAdmin(admin.ModelAdmin):
list_display = ('name', 'instructions',)
list_filter = ('name', 'instructions',)
admin.site.register(Drink, DrinkAdmin)
| 19 | 44 | 0.72807 | 26 | 228 | 6.307692 | 0.653846 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 228 | 11 | 45 | 20.727273 | 0.841026 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6aac52ea2a2e1a7ed38d2e1791394146bfe64d52 | 257 | py | Python | tuplas.py | LuanOliveiira/aulas-python | 8197f4ec1d81ea6255b9092d45ede086c083afa7 | [
"MIT"
] | null | null | null | tuplas.py | LuanOliveiira/aulas-python | 8197f4ec1d81ea6255b9092d45ede086c083afa7 | [
"MIT"
] | null | null | null | tuplas.py | LuanOliveiira/aulas-python | 8197f4ec1d81ea6255b9092d45ede086c083afa7 | [
"MIT"
] | null | null | null | nomes_paises = ('Brasil', 'Argentina', 'China', 'Canadá', 'Japão')
print(nomes_paises)
nome_estado = 'São Paulo',
print(nome_estado, type(nome_estado))
len(nomes_paises)
nomes_paises[0]
b, a, c, ca, j = nomes_paises
print(b, c, j)
print(*nomes_paises)
| 17.133333 | 66 | 0.70428 | 40 | 257 | 4.3 | 0.5 | 0.383721 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.124514 | 257 | 14 | 67 | 18.357143 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.155642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6abcf18766bdfed91068f320a20ee16238b46110 | 267 | py | Python | src/7/db/DatasetParameter.py | ytyaru/Python.Sqlite3.class.201803041400000 | 4b1751ff96f4d84cbe8ce87254bc73ebfd654b57 | [
"CC0-1.0"
] | null | null | null | src/7/db/DatasetParameter.py | ytyaru/Python.Sqlite3.class.201803041400000 | 4b1751ff96f4d84cbe8ce87254bc73ebfd654b57 | [
"CC0-1.0"
] | null | null | null | src/7/db/DatasetParameter.py | ytyaru/Python.Sqlite3.class.201803041400000 | 4b1751ff96f4d84cbe8ce87254bc73ebfd654b57 | [
"CC0-1.0"
] | null | null | null | class DatasetParameter:
def __init__(self, db_url, **dataset_kwargs):
self.db_url = db_url
self.dataset_kwargs = dataset_kwargs
@property
def DbUrl(self): return self.db_url
@property
def DbKwargs(self): return self.dataset_kwargs
| 29.666667 | 50 | 0.700375 | 35 | 267 | 5 | 0.371429 | 0.114286 | 0.154286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217228 | 267 | 8 | 51 | 33.375 | 0.837321 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
6ac4117f980842bd403711887fde51c8ce4c73de | 147 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection3K/UsageOfFunctionDecoratedWithTypesCoroutine/a.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnresolvedReferencesInspection3K/UsageOfFunctionDecoratedWithTypesCoroutine/a.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/PyUnresolvedReferencesInspection3K/UsageOfFunctionDecoratedWithTypesCoroutine/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import types
import asyncio
@types.coroutine
def foo():
yield from asyncio.sleep(1)
return 3
async def bar():
return await foo() * 2 | 13.363636 | 31 | 0.673469 | 22 | 147 | 4.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.231293 | 147 | 11 | 32 | 13.363636 | 0.849558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6aeb1147b1ed4821220217751227df50fa956d60 | 849 | py | Python | src/openbiolink/graph_creation/metadata_edge/onto/edgeMetaDisOntoIsA.py | cthoyt/OpenBioLink | c5f85b99f9104f70493136c343e4554261e990a5 | [
"MIT"
] | null | null | null | src/openbiolink/graph_creation/metadata_edge/onto/edgeMetaDisOntoIsA.py | cthoyt/OpenBioLink | c5f85b99f9104f70493136c343e4554261e990a5 | [
"MIT"
] | null | null | null | src/openbiolink/graph_creation/metadata_edge/onto/edgeMetaDisOntoIsA.py | cthoyt/OpenBioLink | c5f85b99f9104f70493136c343e4554261e990a5 | [
"MIT"
] | null | null | null | import os
from openbiolink.graph_creation import graphCreationConfig as glob
from openbiolink.graph_creation.metadata_edge.edgeOntoMetadata import EdgeOntoMetadata
from openbiolink.graph_creation.metadata_infile.onto.inMetaOntoDoIsA import InMetaOntoDoIsA
class EdgeMetaDisOntoIsA(EdgeOntoMetadata):
NAME = 'Onto ... | 53.0625 | 127 | 0.771496 | 104 | 849 | 5.894231 | 0.413462 | 0.114193 | 0.171289 | 0.185971 | 0.287113 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.161366 | 849 | 16 | 128 | 53.0625 | 0.849719 | 0 | 0 | 0 | 0 | 0 | 0.030588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6aeecefa7c95994ec3c97d4d06140c543de53427 | 821 | py | Python | vsmask/types.py | Irrational-Encoding-Wizardry/vsmask | aa14f13fd219bcaf45befb219f99d9dc28e0d546 | [
"MIT"
] | 10 | 2021-12-29T23:48:52.000Z | 2022-01-20T19:16:56.000Z | vsmask/types.py | Irrational-Encoding-Wizardry/vsmask | aa14f13fd219bcaf45befb219f99d9dc28e0d546 | [
"MIT"
] | 1 | 2022-02-04T14:00:58.000Z | 2022-02-05T01:37:11.000Z | vsmask/types.py | Irrational-Encoding-Wizardry/vsmask | aa14f13fd219bcaf45befb219f99d9dc28e0d546 | [
"MIT"
] | 2 | 2022-03-17T11:58:09.000Z | 2022-03-20T21:25:33.000Z |
from __future__ import annotations
from typing import TYPE_CHECKING, Optional, Protocol, Sequence
from vapoursynth import VideoFormat, VideoNode
if TYPE_CHECKING:
class _VideoNode(VideoNode):
format: VideoFormat
def ensure_format(clip: VideoNode) -> _VideoNode:
return _VideoNode()
else:
... | 28.310345 | 109 | 0.644336 | 82 | 821 | 6.219512 | 0.390244 | 0.101961 | 0.058824 | 0.07451 | 0.294118 | 0.294118 | 0.168627 | 0 | 0 | 0 | 0 | 0 | 0.231425 | 821 | 28 | 110 | 29.321429 | 0.808241 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.105263 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6af14d2f8faef9adcba97b32c89eda1e53cc9602 | 271 | py | Python | tinyrecord/__init__.py | jdufresne/tinyrecord | 6affc1814314e067f266a65d9d7d21b2e978b23f | [
"MIT"
] | 68 | 2015-01-02T06:58:15.000Z | 2022-02-08T01:29:12.000Z | tinyrecord/__init__.py | jdufresne/tinyrecord | 6affc1814314e067f266a65d9d7d21b2e978b23f | [
"MIT"
] | 15 | 2015-11-14T01:53:11.000Z | 2021-09-19T19:33:40.000Z | tinyrecord/__init__.py | jdufresne/tinyrecord | 6affc1814314e067f266a65d9d7d21b2e978b23f | [
"MIT"
] | 13 | 2016-01-20T12:37:57.000Z | 2021-09-19T17:36:10.000Z | """
tinyrecord
~~~~~~~~~~
Implements atomic transaction support for the
embedded TinyDB NoSQL database.
:copyright: (c) 2014 by Eugene Eeo.
:license: MIT, see LICENSE for more details.
"""
from tinyrecord.transaction import transaction, abort
| 19.357143 | 53 | 0.675277 | 30 | 271 | 6.1 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0.221402 | 271 | 13 | 54 | 20.846154 | 0.848341 | 0.671587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0a7d73d83bbcf584b913557e0ff72ebf7712dd6d | 691 | py | Python | Recruiters_Friend/jd/views.py | tapaswenipathak/Recruiters-Friend | fa2171af9512fafb0ecd82cd362490f7eb8a2fc3 | [
"MIT"
] | 2 | 2019-08-17T21:22:02.000Z | 2020-08-27T12:32:08.000Z | Recruiters_Friend/jd/views.py | tapaswenipathak/Recruiters-Friend | fa2171af9512fafb0ecd82cd362490f7eb8a2fc3 | [
"MIT"
] | 1 | 2016-03-27T07:40:08.000Z | 2016-03-27T07:40:08.000Z | Recruiters_Friend/jd/views.py | tapaswenipathak/Recruiters-Friend | fa2171af9512fafb0ecd82cd362490f7eb8a2fc3 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
import sys
import string_matching
import json
# Create your views here.
def base(request):
return render(request,'jd.html')
def rating_calculation(request):
data=request.GET.get('jd')
count, absent = string_matching.find_words(data)
rating=... | 27.64 | 79 | 0.788712 | 92 | 691 | 5.847826 | 0.467391 | 0.096654 | 0.141264 | 0.193309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.091172 | 691 | 25 | 80 | 27.64 | 0.850318 | 0.033285 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.263158 | 0.210526 | 0.789474 | 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 | 0 | 0 | 0 | 3 |
0a867be4359789e9a3810fd26728dd469c048d3c | 274 | py | Python | oidc/pyoidc-master/tests/test_utils_for_tests.py | ekivemark/BlueButtonDev | c751a5c52a83df6b97ef2c653a4492d959610c42 | [
"Apache-2.0"
] | null | null | null | oidc/pyoidc-master/tests/test_utils_for_tests.py | ekivemark/BlueButtonDev | c751a5c52a83df6b97ef2c653a4492d959610c42 | [
"Apache-2.0"
] | 7 | 2020-02-11T23:00:50.000Z | 2021-12-13T19:41:39.000Z | oidc/pyoidc-master/tests/test_utils_for_tests.py | ekivemark/BlueButtonDev | c751a5c52a83df6b97ef2c653a4492d959610c42 | [
"Apache-2.0"
] | 2 | 2018-10-06T21:46:22.000Z | 2020-10-10T16:10:42.000Z | # pylint: disable=missing-docstring
from utils_for_tests import url_compare
def test_url_compare():
# reorder query params is still the same url
assert url_compare("http://example.com?baz=xyz&foo=bar",
"http://example.com?foo=bar&baz=xyz")
| 27.4 | 60 | 0.686131 | 40 | 274 | 4.55 | 0.7 | 0.164835 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20073 | 274 | 9 | 61 | 30.444444 | 0.83105 | 0.277372 | 0 | 0 | 0 | 0 | 0.348718 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0abce176edbd66623c597c484e0cdd8476065a33 | 625 | py | Python | test/trie.py | PeganovAnton/transformer-xl | f36428445cc903872fde54d90bc5e61886420a5a | [
"Apache-2.0"
] | 133 | 2019-04-17T05:06:39.000Z | 2022-03-24T03:43:56.000Z | test/trie.py | PeganovAnton/transformer-xl | f36428445cc903872fde54d90bc5e61886420a5a | [
"Apache-2.0"
] | 21 | 2019-05-01T03:54:10.000Z | 2021-03-12T07:00:44.000Z | test/trie.py | PeganovAnton/transformer-xl | f36428445cc903872fde54d90bc5e61886420a5a | [
"Apache-2.0"
] | 18 | 2019-04-28T16:56:06.000Z | 2021-04-01T05:52:41.000Z | import unittest
from generating.trie import TrieNode
class TrieNodeTest(unittest.TestCase):
def test_something(self):
root = TrieNode()
root.add_word("abc", 0)
self.assertEqual(root.get_values("abc"), [0])
root.add_word("abd", 1)
self.assertEqual(root.get_values("abd"), [... | 26.041667 | 56 | 0.616 | 81 | 625 | 4.530864 | 0.37037 | 0.245232 | 0.310627 | 0.359673 | 0.504087 | 0.427793 | 0.348774 | 0 | 0 | 0 | 0 | 0.02444 | 0.2144 | 625 | 23 | 57 | 27.173913 | 0.723014 | 0 | 0 | 0 | 0 | 0 | 0.0464 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ac310e35477458aae223af14164280e3f4914f5 | 4,601 | py | Python | vivisect/symboliks/tests/test_reduce.py | cmaruti/vivisect | 828a9af1b662d6417cf4c78f20a4ba37a1b3b670 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-23T19:23:17.000Z | 2020-12-23T19:23:17.000Z | vivisect/symboliks/tests/test_reduce.py | cmaruti/vivisect | 828a9af1b662d6417cf4c78f20a4ba37a1b3b670 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | vivisect/symboliks/tests/test_reduce.py | cmaruti/vivisect | 828a9af1b662d6417cf4c78f20a4ba37a1b3b670 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-23T19:23:58.000Z | 2020-12-23T19:23:58.000Z | import unittest
from vivisect.symboliks.common import *
from vivisect.symboliks.expression import symexp
class TestReduceCase(unittest.TestCase):
'''
tests the reduction of asts consisting of add's and sub's if widths are
the same.
'''
def assertReduce(self, s1, s2):
sym1 = symexp(s1).redu... | 41.080357 | 81 | 0.555314 | 574 | 4,601 | 4.381533 | 0.125436 | 0.394433 | 0.271968 | 0.10497 | 0.702584 | 0.5666 | 0.524056 | 0.484692 | 0.442942 | 0.425447 | 0 | 0.083742 | 0.247338 | 4,601 | 111 | 82 | 41.45045 | 0.642507 | 0.051076 | 0 | 0.070588 | 0 | 0 | 0.304468 | 0 | 0 | 0 | 0.017964 | 0 | 0.776471 | 1 | 0.141176 | false | 0.011765 | 0.035294 | 0 | 0.188235 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ad2cb948713005c498dec94390421ecc8946dbb | 1,798 | py | Python | domino/http_request_manager.py | ddl-awroblicky/python-domino | ad09118a05806489c6eb1d3d8b63fff6b44e5f17 | [
"Apache-2.0"
] | 47 | 2016-05-16T23:00:20.000Z | 2022-03-23T17:26:02.000Z | domino/http_request_manager.py | ddl-awroblicky/python-domino | ad09118a05806489c6eb1d3d8b63fff6b44e5f17 | [
"Apache-2.0"
] | 67 | 2016-08-19T17:16:28.000Z | 2022-03-14T20:27:45.000Z | domino/http_request_manager.py | ddl-awroblicky/python-domino | ad09118a05806489c6eb1d3d8b63fff6b44e5f17 | [
"Apache-2.0"
] | 49 | 2016-06-13T18:36:13.000Z | 2022-03-25T18:32:26.000Z | from bs4 import BeautifulSoup
from http import HTTPStatus
from requests.auth import AuthBase
from .exceptions import ReloginRequiredException
import logging
import requests
class _HttpRequestManager:
"""
This class is responsible for
making Http request calls
"""
def __init__(self, auth: AuthBas... | 35.96 | 117 | 0.667964 | 228 | 1,798 | 5.109649 | 0.346491 | 0.041202 | 0.072103 | 0.077253 | 0.264378 | 0.264378 | 0.183691 | 0.183691 | 0.183691 | 0.183691 | 0 | 0.000723 | 0.230812 | 1,798 | 49 | 118 | 36.693878 | 0.841649 | 0.096774 | 0 | 0 | 0 | 0 | 0.024953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0 | 0.181818 | 0.151515 | 0.606061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0aded2467e45339eb118dfbfb10f42467ae2921c | 65 | py | Python | umonitor/__init__.py | RuslanSergeev/uMonitor | f1d4f8e5981d436b8405968ce6273edc0ee0b83a | [
"MIT"
] | null | null | null | umonitor/__init__.py | RuslanSergeev/uMonitor | f1d4f8e5981d436b8405968ce6273edc0ee0b83a | [
"MIT"
] | null | null | null | umonitor/__init__.py | RuslanSergeev/uMonitor | f1d4f8e5981d436b8405968ce6273edc0ee0b83a | [
"MIT"
] | null | null | null | from .uMonitor import uMonitor as uMonitor
__version__ = '0.1.5'
| 21.666667 | 42 | 0.769231 | 10 | 65 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.138462 | 65 | 2 | 43 | 32.5 | 0.767857 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0aea9f0156aca1d4add9589c5bf637e0113dd38f | 228 | py | Python | random_password_generator.py | R4ULtv/easy-project | afc63974d2a271730d992e5b829666b74ac8b8b0 | [
"MIT"
] | 1 | 2021-09-16T19:53:13.000Z | 2021-09-16T19:53:13.000Z | random_password_generator.py | R4ULtv/easy-project | afc63974d2a271730d992e5b829666b74ac8b8b0 | [
"MIT"
] | null | null | null | random_password_generator.py | R4ULtv/easy-project | afc63974d2a271730d992e5b829666b74ac8b8b0 | [
"MIT"
] | null | null | null | import random
passlen = int(input('Inserisci la lunghezza della password : '))
string = 'abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()?'
p = "".join(random.sample(string,passlen ))
print (p) | 28.5 | 86 | 0.723684 | 20 | 228 | 8.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055276 | 0.127193 | 228 | 8 | 87 | 28.5 | 0.773869 | 0 | 0 | 0 | 0 | 0 | 0.513514 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0aeafb474e47c6a8be22adbc0b5618d64be5e739 | 1,299 | py | Python | placement/models.py | bpmaurya/campus_management_app | 19304d746600b5a72f96085634eff43db93e8f1f | [
"MIT"
] | 11 | 2020-09-27T17:41:35.000Z | 2022-03-28T11:47:36.000Z | placement/models.py | Kavish-Agnihotri/campus_placement_app | 478f25475b9692dd14b4e55005053b18d5216bf7 | [
"MIT"
] | 23 | 2020-09-25T21:15:55.000Z | 2021-04-30T08:16:03.000Z | placement/models.py | Kavish-Agnihotri/campus_placement_app | 478f25475b9692dd14b4e55005053b18d5216bf7 | [
"MIT"
] | 5 | 2020-09-26T19:40:31.000Z | 2020-10-02T19:43:52.000Z | from django.db import models
from django.utils import timezone
from django.contrib.auth.models import User
from django.urls import reverse
# Create your models here.
class company(models.Model):
company_name = models.CharField(max_length=100)
company_location = models.CharField(max_length=100)
company_ctc ... | 35.108108 | 83 | 0.74057 | 171 | 1,299 | 5.421053 | 0.374269 | 0.12945 | 0.15534 | 0.20712 | 0.311758 | 0.239482 | 0 | 0 | 0 | 0 | 0 | 0.021918 | 0.157044 | 1,299 | 37 | 84 | 35.108108 | 0.824658 | 0.018476 | 0 | 0.103448 | 0 | 0 | 0.035322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.137931 | 0.137931 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0af132744c0e2203fab2e72167920297ef936df2 | 135 | py | Python | Assignment/Assigment/For_loop_even_numbers.py | Orleanslindsay/Python_Programming | dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55 | [
"MIT"
] | 1 | 2021-08-16T10:25:01.000Z | 2021-08-16T10:25:01.000Z | Assignment/Assigment/For_loop_even_numbers.py | Orleanslindsay/Python_Programming | dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55 | [
"MIT"
] | null | null | null | Assignment/Assigment/For_loop_even_numbers.py | Orleanslindsay/Python_Programming | dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55 | [
"MIT"
] | null | null | null | #The code is implemented to print the range of numbers from 100-15000
for x in range(50,750):
x = x * 2
print(x)
print("Even number") | 27 | 69 | 0.711111 | 27 | 135 | 3.555556 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 0.185185 | 135 | 5 | 70 | 27 | 0.745455 | 0.503704 | 0 | 0 | 0 | 0 | 0.164179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
0af7c83946b5cce18a3a9f21ed14412c90ef9070 | 971 | py | Python | dataview/data_utils.py | joshloyal/DataView | 28fa57ff421115638244d59dccfaf5b3403be765 | [
"MIT"
] | null | null | null | dataview/data_utils.py | joshloyal/DataView | 28fa57ff421115638244d59dccfaf5b3403be765 | [
"MIT"
] | null | null | null | dataview/data_utils.py | joshloyal/DataView | 28fa57ff421115638244d59dccfaf5b3403be765 | [
"MIT"
] | null | null | null | import six
import pandas as pd
import numpy as np
def null_filter(x):
return True
def unflatten_list(llist):
return [l for sublist in llist for l in sublist]
def dtype_dict(dataframe, dtype_filter=None):
column_series = dataframe.columns.to_series()
dtype_groups = column_series.groupby(dataframe.d... | 22.068182 | 79 | 0.716787 | 136 | 971 | 4.933824 | 0.367647 | 0.065574 | 0.080477 | 0.092399 | 0.163934 | 0.163934 | 0.163934 | 0.163934 | 0.163934 | 0 | 0 | 0 | 0.197734 | 971 | 43 | 80 | 22.581395 | 0.861361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.115385 | 0.192308 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0af897c926dbd74e7a93345cbe9093d160c191df | 254 | py | Python | registry/admin.py | neo-maker-sudo/dj-registry | cccf4f98d64e3ee0c6858e2dec5c474e8b7cd7ff | [
"MIT"
] | null | null | null | registry/admin.py | neo-maker-sudo/dj-registry | cccf4f98d64e3ee0c6858e2dec5c474e8b7cd7ff | [
"MIT"
] | null | null | null | registry/admin.py | neo-maker-sudo/dj-registry | cccf4f98d64e3ee0c6858e2dec5c474e8b7cd7ff | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Entry
# Register your models here.
@admin.register(Entry)
class EntryAdmin(admin.ModelAdmin):
list_display = ('key', 'value', 'type', 'enabled', 'comment', )
list_filter = ('type', 'enabled')
| 28.222222 | 67 | 0.704724 | 31 | 254 | 5.709677 | 0.677419 | 0.124294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145669 | 254 | 8 | 68 | 31.75 | 0.815668 | 0.102362 | 0 | 0 | 0 | 0 | 0.163717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e40c36b176814cfad34b6be54a8d22ee304fdb8c | 628 | py | Python | lib/music21/ipython21/__init__.py | lasconic/randomsheetmusic | 862e2991b38531d6c2122c809cf6a7745653df57 | [
"MIT"
] | 2 | 2016-12-29T04:34:53.000Z | 2017-08-01T20:36:18.000Z | lib/music21/ipython21/__init__.py | lasconic/randomsheetmusic | 862e2991b38531d6c2122c809cf6a7745653df57 | [
"MIT"
] | null | null | null | lib/music21/ipython21/__init__.py | lasconic/randomsheetmusic | 862e2991b38531d6c2122c809cf6a7745653df57 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#-------------------------------------------------------------------------------
# Name: ipython21/__init__.py
# Purpose: music21 iPython Notebook support
#
# Authors: Michael Scott Cuthbert
#
# Copyright: Copyright © 2013-15 Michael Scott Cuthbert and the music21 Project
# ... | 36.941176 | 82 | 0.546178 | 56 | 628 | 5.964286 | 0.642857 | 0.098802 | 0.179641 | 0.161677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046125 | 0.136943 | 628 | 16 | 83 | 39.25 | 0.568266 | 0.673567 | 0 | 0 | 0 | 0 | 0.092784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7c15f1c458db729e8998b57579c9c08766f8199a | 746 | py | Python | tech_project/lib/python2.7/site-packages/phonenumbers/data/region_SH.py | priyamshah112/Project-Descripton-Blog | 8e01016c6be79776c4f5ca75563fa3daa839e39e | [
"MIT"
] | 2,424 | 2015-01-05T05:34:45.000Z | 2022-03-28T22:37:53.000Z | tech_project/lib/python2.7/site-packages/phonenumbers/data/region_SH.py | priyamshah112/Project-Descripton-Blog | 8e01016c6be79776c4f5ca75563fa3daa839e39e | [
"MIT"
] | 166 | 2015-01-30T23:59:18.000Z | 2022-03-14T21:08:42.000Z | tech_project/lib/python2.7/site-packages/phonenumbers/data/region_SH.py | priyamshah112/Project-Descripton-Blog | 8e01016c6be79776c4f5ca75563fa3daa839e39e | [
"MIT"
] | 345 | 2015-01-02T00:33:27.000Z | 2022-03-26T13:06:57.000Z | """Auto-generated file, do not edit by hand. SH metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_SH = PhoneMetadata(id='SH', country_code=290, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[256]\\d|8)\\d{3}', possible_length=(... | 67.818182 | 136 | 0.739946 | 102 | 746 | 5.166667 | 0.54902 | 0.174573 | 0.220114 | 0.273245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069971 | 0.080429 | 746 | 10 | 137 | 74.6 | 0.698251 | 0.071046 | 0 | 0 | 1 | 0 | 0.133916 | 0.042213 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c17b2c77547192b49c4facdb55838379c22f407 | 27,807 | py | Python | easy_work_service_sdk/model/easy_flow/deploy_strategy_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | easy_work_service_sdk/model/easy_flow/deploy_strategy_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | easy_work_service_sdk/model/easy_flow/deploy_strategy_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: deploy_strategy.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.prot... | 47.614726 | 2,569 | 0.760132 | 3,498 | 27,807 | 5.714122 | 0.070898 | 0.051231 | 0.069342 | 0.038423 | 0.777667 | 0.703322 | 0.643636 | 0.631079 | 0.59991 | 0.578397 | 0 | 0.037622 | 0.120581 | 27,807 | 583 | 2,570 | 47.696398 | 0.77975 | 0.028986 | 0 | 0.673432 | 1 | 0.00369 | 0.175974 | 0.133286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01476 | 0 | 0.01476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c17fbf0bcb07bdbfdf9498e0ee87d88c0abd4c8 | 181 | py | Python | games/forms.py | LucaAlexandru/MediaTracker | 61b7613b0c7187ef4614acd9fb840f92819398aa | [
"MIT"
] | null | null | null | games/forms.py | LucaAlexandru/MediaTracker | 61b7613b0c7187ef4614acd9fb840f92819398aa | [
"MIT"
] | null | null | null | games/forms.py | LucaAlexandru/MediaTracker | 61b7613b0c7187ef4614acd9fb840f92819398aa | [
"MIT"
] | null | null | null | from django import forms
from games.models import Game
class GameForm(forms.ModelForm):
class Meta:
model = Game
fields = "__all__"
exclude = ('user',) | 20.111111 | 32 | 0.635359 | 21 | 181 | 5.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276243 | 181 | 9 | 33 | 20.111111 | 0.847328 | 0 | 0 | 0 | 0 | 0 | 0.06044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7c37e21518702c4985cf546496b46f729192f5c6 | 1,129 | py | Python | ikfs_anomaly_detector/core/reader.py | DSPLab-IC6/ikfs_anomaly_detector | e0a36e185be6e9dcd75451c956a2aaf6a6fec677 | [
"MIT"
] | null | null | null | ikfs_anomaly_detector/core/reader.py | DSPLab-IC6/ikfs_anomaly_detector | e0a36e185be6e9dcd75451c956a2aaf6a6fec677 | [
"MIT"
] | 4 | 2020-01-28T22:45:39.000Z | 2022-02-10T00:21:51.000Z | ikfs_anomaly_detector/core/reader.py | DSPLab-IC6/ikfs_anomaly_detector | e0a36e185be6e9dcd75451c956a2aaf6a6fec677 | [
"MIT"
] | null | null | null | from typing import List
import h5py
import numpy as np
from ikfs_anomaly_detector.core.custom_types import Signals
class TelemetryReader:
def __init__(self, path: str) -> None:
self._file = h5py.File(path, 'r')
self._cache = {}
def __enter__(self) -> 'TelemetryReader':
return self
... | 24.543478 | 75 | 0.578388 | 136 | 1,129 | 4.573529 | 0.382353 | 0.051447 | 0.038585 | 0.061093 | 0.073955 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002561 | 0.308237 | 1,129 | 45 | 76 | 25.088889 | 0.793854 | 0 | 0 | 0 | 0 | 0 | 0.037201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.129032 | 0.129032 | 0.580645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7c4c7bd78c1b46dd1678d7fb620a268dc685c4b4 | 422 | py | Python | office365/directory/directory_object_collection.py | takatsugu-kato/Office365-REST-Python-Client | 143e21bbb891b712005d62c905cdd3d6649f3097 | [
"MIT"
] | null | null | null | office365/directory/directory_object_collection.py | takatsugu-kato/Office365-REST-Python-Client | 143e21bbb891b712005d62c905cdd3d6649f3097 | [
"MIT"
] | null | null | null | office365/directory/directory_object_collection.py | takatsugu-kato/Office365-REST-Python-Client | 143e21bbb891b712005d62c905cdd3d6649f3097 | [
"MIT"
] | null | null | null | from office365.directory.user import User
from office365.runtime.client_object_collection import ClientObjectCollection
from office365.runtime.resource_path_entity import ResourcePathEntity
class DirectoryObjectCollection(ClientObjectCollection):
"""User's collection"""
def __getitem__(self, key):
re... | 35.166667 | 77 | 0.779621 | 42 | 422 | 7.642857 | 0.571429 | 0.121495 | 0.124611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02507 | 0.149289 | 422 | 11 | 78 | 38.363636 | 0.869081 | 0.040284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
7c4d57fa431bfce60cb78660cac2b8d693597886 | 162 | py | Python | code/1039.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | code/1039.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | code/1039.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | # [기초-산술연산] 정수 2개 입력받아 합 출력하기2(설명)
# minso.jeong@daum.net
'''
문제링크 : https://www.codeup.kr/problem.php?id=1039
'''
n1, n2 = map(int, input().split())
print(n1+n2) | 23.142857 | 48 | 0.641975 | 30 | 162 | 3.466667 | 0.933333 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06993 | 0.117284 | 162 | 7 | 49 | 23.142857 | 0.657343 | 0.635802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
7c56f5807736d0a6f0649f8900f378db0b1bf33f | 224 | py | Python | propertyappraisal/appraisal/admin.py | SriramSrinivas/Real-Estate-WebScraping | d91ca896d2c69fd6b03aed59f34a241b51cedfce | [
"MIT"
] | null | null | null | propertyappraisal/appraisal/admin.py | SriramSrinivas/Real-Estate-WebScraping | d91ca896d2c69fd6b03aed59f34a241b51cedfce | [
"MIT"
] | null | null | null | propertyappraisal/appraisal/admin.py | SriramSrinivas/Real-Estate-WebScraping | d91ca896d2c69fd6b03aed59f34a241b51cedfce | [
"MIT"
] | 1 | 2018-12-06T16:31:26.000Z | 2018-12-06T16:31:26.000Z | from django.contrib import admin
from appraisal.models import Customer
class customerlist(admin.ModelAdmin):
list_display=('customerName','customerEmail','customerPhone')
admin.site.register(Customer,customerlist)
| 28 | 65 | 0.803571 | 24 | 224 | 7.458333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 224 | 7 | 66 | 32 | 0.886139 | 0 | 0 | 0 | 0 | 0 | 0.170404 | 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 | 0 | 0 | 0 | 3 |
7c596f864e42fd3ce2d85ff98af800f3e431de41 | 321 | py | Python | pypesto/optimize/__init__.py | lcontento/pyPESTO | cbec7ee1343b4d66f86eb26e1d77cf77571184a4 | [
"BSD-3-Clause"
] | null | null | null | pypesto/optimize/__init__.py | lcontento/pyPESTO | cbec7ee1343b4d66f86eb26e1d77cf77571184a4 | [
"BSD-3-Clause"
] | null | null | null | pypesto/optimize/__init__.py | lcontento/pyPESTO | cbec7ee1343b4d66f86eb26e1d77cf77571184a4 | [
"BSD-3-Clause"
] | null | null | null | """
Optimize
========
Multistart optimization with support for various optimizers.
"""
from .options import OptimizeOptions
from .optimize import (
minimize)
from .optimizer import (
Optimizer,
ScipyOptimizer,
IpoptOptimizer,
DlibOptimizer,
PyswarmOptimizer)
from .result import OptimizerResult... | 17.833333 | 60 | 0.732087 | 28 | 321 | 8.392857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183801 | 321 | 17 | 61 | 18.882353 | 0.896947 | 0.246106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7c5a193a22c513160e746c1d4d47e1f1b631f32b | 745 | py | Python | hikyuu/admin/widget/HkuPersonInfoWidget.py | kknet/hikyuu | 650814c3e1d32894ccc1263a0fecd6693028d2e3 | [
"MIT"
] | 1,283 | 2016-04-06T16:06:46.000Z | 2022-03-31T06:37:53.000Z | hikyuu/admin/widget/HkuPersonInfoWidget.py | kknet/hikyuu | 650814c3e1d32894ccc1263a0fecd6693028d2e3 | [
"MIT"
] | 47 | 2017-08-12T10:37:03.000Z | 2022-03-28T13:22:21.000Z | hikyuu/admin/widget/HkuPersonInfoWidget.py | kknet/hikyuu | 650814c3e1d32894ccc1263a0fecd6693028d2e3 | [
"MIT"
] | 416 | 2017-05-15T05:28:26.000Z | 2022-03-22T07:44:15.000Z | # -*- coding: utf-8 -*-
from PyQt5 import QtWidgets, QtCore
from data import SessionModel
from service import UserService
from translate import _translate
from dialog import HkuChangePasswordDialog
from .Ui_HkuPersonInfoWidget import Ui_PersonInfoForm
class HkuPersonInfoWidget(QtWidgets.QWidget, Ui_PersonInfoForm):... | 28.653846 | 64 | 0.742282 | 78 | 745 | 6.871795 | 0.525641 | 0.061567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003268 | 0.178523 | 745 | 25 | 65 | 29.8 | 0.872549 | 0.028188 | 0 | 0 | 0 | 0 | 0.029086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0.055556 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
7c6c978b31d59decd3b0878c476df290e979c6de | 47 | py | Python | adventofcode/_version.py | vonNiklasson/adventofcode-library | 53c3cc30d4879e0dde56c63a2064d27b86f40deb | [
"MIT"
] | null | null | null | adventofcode/_version.py | vonNiklasson/adventofcode-library | 53c3cc30d4879e0dde56c63a2064d27b86f40deb | [
"MIT"
] | null | null | null | adventofcode/_version.py | vonNiklasson/adventofcode-library | 53c3cc30d4879e0dde56c63a2064d27b86f40deb | [
"MIT"
] | null | null | null | """
Package version
"""
__version__ = "0.1.0"
| 7.833333 | 21 | 0.595745 | 6 | 47 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 47 | 5 | 22 | 9.4 | 0.538462 | 0.319149 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c709e898df935bf8e99a5b1f229d963c0d31bbe | 19,939 | py | Python | attgconv/attention_layers.py | dwromero/att_gconvs | 872259cad49763fdcfa3e96e80b6b5c331adf084 | [
"MIT"
] | 53 | 2020-07-07T11:06:30.000Z | 2022-03-26T02:42:49.000Z | attgconv/attention_layers.py | dwromero/att_gconvs | 872259cad49763fdcfa3e96e80b6b5c331adf084 | [
"MIT"
] | null | null | null | attgconv/attention_layers.py | dwromero/att_gconvs | 872259cad49763fdcfa3e96e80b6b5c331adf084 | [
"MIT"
] | 2 | 2020-09-19T12:10:33.000Z | 2020-10-29T19:37:08.000Z | # In this class the attention layers are defined, which are used in the attentive group convolutions.
import torch
import math
import numpy as np
##########################################################################
############################## ConvAttention #############################
######################... | 47.815348 | 192 | 0.606851 | 2,888 | 19,939 | 3.977839 | 0.102839 | 0.036125 | 0.020717 | 0.014624 | 0.770978 | 0.734157 | 0.713962 | 0.69577 | 0.683931 | 0.660341 | 0 | 0.019456 | 0.262751 | 19,939 | 416 | 193 | 47.930288 | 0.762041 | 0.235719 | 0 | 0.607692 | 0 | 0 | 0.00142 | 0 | 0 | 0 | 0 | 0.004808 | 0 | 1 | 0.119231 | false | 0 | 0.034615 | 0.015385 | 0.261538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c74365603f33cdc941ddcd8efdb52da3d43f25b | 12,530 | py | Python | panel/tests/layout/test_base.py | nritsche/panel | 15aa31b1c78988d107b3ace765d3c0fec36188c8 | [
"BSD-3-Clause"
] | 2 | 2021-05-03T15:19:04.000Z | 2021-05-13T16:02:25.000Z | panel/tests/layout/test_base.py | nritsche/panel | 15aa31b1c78988d107b3ace765d3c0fec36188c8 | [
"BSD-3-Clause"
] | null | null | null | panel/tests/layout/test_base.py | nritsche/panel | 15aa31b1c78988d107b3ace765d3c0fec36188c8 | [
"BSD-3-Clause"
] | 1 | 2020-12-23T16:57:08.000Z | 2020-12-23T16:57:08.000Z | import pytest
import param
from bokeh.models import Column as BkColumn, Div, Row as BkRow
from panel.layout import (
Accordion, Card, Column, Row, Tabs, Spacer, WidgetBox
)
from panel.layout.base import ListPanel, NamedListPanel
from panel.param import Param
from panel.pane import Bokeh
from panel.tests.util imp... | 26.323529 | 92 | 0.656824 | 1,660 | 12,530 | 4.83253 | 0.092771 | 0.070307 | 0.055098 | 0.100474 | 0.747071 | 0.717028 | 0.705684 | 0.692969 | 0.672276 | 0.655821 | 0 | 0.032616 | 0.202314 | 12,530 | 475 | 93 | 26.378947 | 0.769985 | 0.002075 | 0 | 0.602339 | 0 | 0 | 0.033035 | 0.00192 | 0 | 0 | 0 | 0 | 0.178363 | 1 | 0.108187 | false | 0 | 0.02924 | 0 | 0.143275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c744cb62ce48b1823995c41e8aa8f13ded6e4d9 | 105 | py | Python | exercicios/desafio 10.py | ibianco91/curso_em_video | 13829b5d2e2290fcffe47ef0ab902b5e4a24a0ed | [
"MIT"
] | null | null | null | exercicios/desafio 10.py | ibianco91/curso_em_video | 13829b5d2e2290fcffe47ef0ab902b5e4a24a0ed | [
"MIT"
] | null | null | null | exercicios/desafio 10.py | ibianco91/curso_em_video | 13829b5d2e2290fcffe47ef0ab902b5e4a24a0ed | [
"MIT"
] | null | null | null | r=float(input('Quantos reais voce quer converter?'))
print('voce pode comprar US$ {:.3}' .format(r/4.05)) | 52.5 | 52 | 0.695238 | 18 | 105 | 4.055556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.095238 | 105 | 2 | 53 | 52.5 | 0.726316 | 0 | 0 | 0 | 0 | 0 | 0.575472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
7c79188d920a52592684b9726fd22dd1e1092000 | 144 | py | Python | tests/roots/test-ext-autodoc/target/functions.py | benkrikler/sphinx | 15bc5a32bb0b78b432803e55fffa10c801182c75 | [
"BSD-2-Clause"
] | null | null | null | tests/roots/test-ext-autodoc/target/functions.py | benkrikler/sphinx | 15bc5a32bb0b78b432803e55fffa10c801182c75 | [
"BSD-2-Clause"
] | 2 | 2021-05-11T23:24:45.000Z | 2022-03-02T10:00:18.000Z | tests/roots/test-ext-autodoc/target/functions.py | benkrikler/sphinx | 15bc5a32bb0b78b432803e55fffa10c801182c75 | [
"BSD-2-Clause"
] | null | null | null | from functools import partial
def func():
pass
partial_func = partial(func)
builtin_func = print
partial_builtin_func = partial(print)
| 12 | 37 | 0.756944 | 19 | 144 | 5.526316 | 0.473684 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173611 | 144 | 11 | 38 | 13.090909 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7c959afc402244ddf9d64fc21950ffa5d50b6287 | 158 | py | Python | todo.py | danielkanzel/todoist-add-task-cli | 28bcb568c07717734c6639c9935103d89603a329 | [
"MIT"
] | null | null | null | todo.py | danielkanzel/todoist-add-task-cli | 28bcb568c07717734c6639c9935103d89603a329 | [
"MIT"
] | null | null | null | todo.py | danielkanzel/todoist-add-task-cli | 28bcb568c07717734c6639c9935103d89603a329 | [
"MIT"
] | null | null | null | import todoist
import sys
api = todoist.TodoistAPI('e765a4e66d7a826f03b66ff2a8c557352b6a81f3')
api.sync()
item = api.items.add(str(sys.argv[1]))
api.commit() | 22.571429 | 68 | 0.78481 | 20 | 158 | 6.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184932 | 0.075949 | 158 | 7 | 69 | 22.571429 | 0.664384 | 0 | 0 | 0 | 0 | 0 | 0.251572 | 0.251572 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7ca417522d20d161acf352a60b6a85bdb547953a | 126 | py | Python | start/apps.py | DavidGarciaFer/Flag-Challenge | 083b589041393bff0e783406bf6bff2d6c7e6c7e | [
"MIT"
] | null | null | null | start/apps.py | DavidGarciaFer/Flag-Challenge | 083b589041393bff0e783406bf6bff2d6c7e6c7e | [
"MIT"
] | null | null | null | start/apps.py | DavidGarciaFer/Flag-Challenge | 083b589041393bff0e783406bf6bff2d6c7e6c7e | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class StartConfig(AppConfig):
name = 'start'
| 15.75 | 39 | 0.785714 | 15 | 126 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 126 | 7 | 40 | 18 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7cab2cf19df8140dbb87d1346c9c1172bd2c4431 | 2,027 | py | Python | large-repo-master/test-3/nb05.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | large-repo-master/test-3/nb05.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | large-repo-master/test-3/nb05.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | # Databricks notebook source
GFMGVNZKIYBRLMUHVQJSGYOCQYAYFKD
NATXOZQANOZFMUPBDEBUCJBHQ
BJWJMKDTNLLWEEQGCDJHHROEXMTBAULGXCRKMKPAOIFSOXERBMUOUQBBIVEWZHMSYRLVABWGSRFDRZXZCVSGFRALYARODLWSCWHPCCCYDSNEVCUWSKZJHCKBJDB
HRYAMXRDXHYWHJVTVBJEHAQTXYHBGBHHTNXU
OICSMCKGDPDCHROEZXHBROAOVOMOHKSZQSTZHZOBOUBKWKFQJFW
XVYHXHBOYUJCZFNBKYBK... | 37.537037 | 143 | 0.959053 | 52 | 2,027 | 37.384615 | 0.980769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0296 | 2,027 | 54 | 144 | 37.537037 | 0.988307 | 0.031574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cae1025cb4cc3e20ca2a5e62630d1c422798b37 | 1,896 | py | Python | models/unet_blocks.py | vshipitsin/Ultrasound | deb1e7f0edee023748e675300573656f81e8a5b7 | [
"MIT"
] | 3 | 2021-05-12T06:32:06.000Z | 2021-06-15T10:58:24.000Z | models/unet_blocks.py | vshipitsin/Ultrasound | deb1e7f0edee023748e675300573656f81e8a5b7 | [
"MIT"
] | null | null | null | models/unet_blocks.py | vshipitsin/Ultrasound | deb1e7f0edee023748e675300573656f81e8a5b7 | [
"MIT"
] | null | null | null | import torch
class double_conv(torch.nn.Module):
def __init__(self, in_channels, mid_channels, out_channels, kernel_size=3, stride=1, padding=1):
super(double_conv, self).__init__()
self.conv = torch.nn.Sequential(
torch.nn.Conv2d(in_channels, mid_channels, kernel_size, stride, paddin... | 35.773585 | 102 | 0.679852 | 268 | 1,896 | 4.488806 | 0.156716 | 0.081463 | 0.173732 | 0.187032 | 0.76143 | 0.716542 | 0.634248 | 0.580216 | 0.472984 | 0.438071 | 0 | 0.015192 | 0.201477 | 1,896 | 52 | 103 | 36.461538 | 0.779392 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.027778 | 0.083333 | 0.472222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cb78ae6c82395c8127bbd1a89cc205c2f87ab02 | 699 | py | Python | tests/user_test.py | MosesOpiyo/PitchBook | 39b763881b6c5a85c3e4f4d3ecf1ca18c5658f30 | [
"Unlicense"
] | null | null | null | tests/user_test.py | MosesOpiyo/PitchBook | 39b763881b6c5a85c3e4f4d3ecf1ca18c5658f30 | [
"Unlicense"
] | null | null | null | tests/user_test.py | MosesOpiyo/PitchBook | 39b763881b6c5a85c3e4f4d3ecf1ca18c5658f30 | [
"Unlicense"
] | null | null | null | import unittest
from app.models import User
class UserModelTest(unittest.TestCase):
'''
Test case to test behaviours of the user model
Args:
unittest.TestCase: Test case class that helps create test cases
'''
def setUp(self):
'''
Method that will run before every test
... | 27.96 | 71 | 0.670959 | 89 | 699 | 5.123596 | 0.505618 | 0.061404 | 0.096491 | 0.105263 | 0.127193 | 0.127193 | 0 | 0 | 0 | 0 | 0 | 0.018939 | 0.244635 | 699 | 25 | 72 | 27.96 | 0.844697 | 0.227468 | 0 | 0 | 0 | 0 | 0.020243 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.333333 | false | 0.583333 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7cb89747ee13677bc4877fe7aad7bf4c2781725c | 645 | py | Python | tests/test_tag_shape.py | Ricyteach/polygontagger | 40cf5f56a2a7b6127ab00fc206815a2f6291ecf8 | [
"MIT"
] | null | null | null | tests/test_tag_shape.py | Ricyteach/polygontagger | 40cf5f56a2a7b6127ab00fc206815a2f6291ecf8 | [
"MIT"
] | null | null | null | tests/test_tag_shape.py | Ricyteach/polygontagger | 40cf5f56a2a7b6127ab00fc206815a2f6291ecf8 | [
"MIT"
] | null | null | null | import pytest
from polygontagger.main import tag_shapes, ContainmentError
_LEN = 10
@pytest.fixture
def objs():
return [x for x in range(_LEN)]
@pytest.fixture
def tags():
return [str(x) for x in range(_LEN)]
@pytest.fixture
def containers():
return [_TestContainer(x) for x in range(_LEN)]
class _... | 18.970588 | 59 | 0.703876 | 90 | 645 | 4.833333 | 0.411111 | 0.062069 | 0.110345 | 0.048276 | 0.177011 | 0.177011 | 0.142529 | 0.142529 | 0.142529 | 0 | 0 | 0.005769 | 0.193798 | 645 | 33 | 60 | 19.545455 | 0.830769 | 0 | 0 | 0.142857 | 0 | 0 | 0.00155 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.238095 | false | 0 | 0.095238 | 0.190476 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7cbbda3aa49d5d011d2223bd2083aa31ce64bbdc | 18,431 | py | Python | curio/test/sync.py | ABaldwinHunter/curio-clone-classic | 43aebdb36d71296af63863b7a176acc831d4f8cf | [
"BSD-3-Clause"
] | null | null | null | curio/test/sync.py | ABaldwinHunter/curio-clone-classic | 43aebdb36d71296af63863b7a176acc831d4f8cf | [
"BSD-3-Clause"
] | null | null | null | curio/test/sync.py | ABaldwinHunter/curio-clone-classic | 43aebdb36d71296af63863b7a176acc831d4f8cf | [
"BSD-3-Clause"
] | null | null | null | # sync.py
#
# Different test scenarios designed to run under management of a kernel
import unittest
from collections import deque
from ..import *
# ---- Synchronization primitives
class TestEvent(unittest.TestCase):
def test_event_get_wait(self):
kernel = get_kernel()
results = []
async ... | 31.080944 | 72 | 0.45494 | 1,643 | 18,431 | 4.960438 | 0.075472 | 0.141963 | 0.047853 | 0.041963 | 0.805521 | 0.741472 | 0.679264 | 0.637791 | 0.605399 | 0.569571 | 0 | 0.012752 | 0.442624 | 18,431 | 592 | 73 | 31.133446 | 0.78059 | 0.007542 | 0 | 0.781784 | 0 | 0 | 0.102428 | 0 | 0 | 0 | 0 | 0 | 0.034156 | 1 | 0.034156 | false | 0 | 0.005693 | 0 | 0.047438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cc247cf555821d95f5b166cc303e855488369ed | 37,691 | py | Python | tensorflow/python/kernel_tests/reduction_ops_test.py | gongyu/tensorflow | c230f52807b7670bbe3fe27746c3a232a538ac6c | [
"Apache-2.0"
] | 54 | 2018-05-29T19:52:44.000Z | 2021-11-30T10:41:12.000Z | tensorflow/python/kernel_tests/reduction_ops_test.py | gongyu/tensorflow | c230f52807b7670bbe3fe27746c3a232a538ac6c | [
"Apache-2.0"
] | 20 | 2017-12-06T18:20:54.000Z | 2021-11-10T09:54:23.000Z | tensorflow/python/kernel_tests/reduction_ops_test.py | gongyu/tensorflow | c230f52807b7670bbe3fe27746c3a232a538ac6c | [
"Apache-2.0"
] | 9 | 2018-02-09T04:51:41.000Z | 2020-10-05T15:41:08.000Z | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 37.880402 | 80 | 0.651747 | 5,582 | 37,691 | 4.192046 | 0.072196 | 0.028205 | 0.05812 | 0.067393 | 0.779744 | 0.742308 | 0.725128 | 0.699231 | 0.67312 | 0.652735 | 0 | 0.037295 | 0.211058 | 37,691 | 994 | 81 | 37.918511 | 0.74963 | 0.078586 | 0 | 0.618986 | 0 | 0 | 0.003667 | 0 | 0 | 0 | 0 | 0 | 0.070221 | 1 | 0.130039 | false | 0 | 0.019506 | 0.003901 | 0.178153 | 0.0013 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cd7d2366fa40fad6a5c1a0cce09b6bb181c4681 | 167 | py | Python | EX006.py | gjaosdij/PythonProject | ae27990efa93462b632f165d13c08c7fd93beb38 | [
"MIT"
] | null | null | null | EX006.py | gjaosdij/PythonProject | ae27990efa93462b632f165d13c08c7fd93beb38 | [
"MIT"
] | null | null | null | EX006.py | gjaosdij/PythonProject | ae27990efa93462b632f165d13c08c7fd93beb38 | [
"MIT"
] | null | null | null | n = int(input('Digite um número inteiro: '))
print('O dobro de {} é {}, seu triplo é {} e sua raiz quadrada é aproximadamente {:.2f}.'.format(n, n*2, n*3, n**(1/2)))
| 41.75 | 120 | 0.610778 | 31 | 167 | 3.290323 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.167665 | 167 | 3 | 121 | 55.666667 | 0.697842 | 0 | 0 | 0 | 0 | 0 | 0.640719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
7cddca9dd219a317ea7c18d654320c6446136e79 | 140 | py | Python | run.py | limvus/limbook-api | 26c1c2493c4115532b3c8cdc8f6c79c16108ca20 | [
"MIT"
] | null | null | null | run.py | limvus/limbook-api | 26c1c2493c4115532b3c8cdc8f6c79c16108ca20 | [
"MIT"
] | 32 | 2020-05-10T03:42:43.000Z | 2022-01-13T02:40:25.000Z | run.py | limvus/limbook-api | 26c1c2493c4115532b3c8cdc8f6c79c16108ca20 | [
"MIT"
] | null | null | null | from limbook_api import create_app, Config
# Create flask app
app = create_app(Config)
if __name__ == '__main__':
app.run(debug=True)
| 17.5 | 42 | 0.735714 | 21 | 140 | 4.380952 | 0.666667 | 0.195652 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164286 | 140 | 7 | 43 | 20 | 0.786325 | 0.114286 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cfdf709a3bb8739ba737ffbf1b99230708ed7ef | 146 | py | Python | dipy/external/__init__.py | JohnGriffiths/dipy | 5fb38e9b77547cdaf5eb140730444535733ae01d | [
"BSD-3-Clause"
] | 8 | 2019-05-29T09:38:30.000Z | 2021-01-20T03:36:59.000Z | dipy/external/__init__.py | JohnGriffiths/dipy | 5fb38e9b77547cdaf5eb140730444535733ae01d | [
"BSD-3-Clause"
] | 12 | 2021-03-09T03:01:16.000Z | 2022-03-11T23:59:36.000Z | dipy/external/__init__.py | JohnGriffiths/dipy | 5fb38e9b77547cdaf5eb140730444535733ae01d | [
"BSD-3-Clause"
] | 3 | 2016-08-05T22:43:16.000Z | 2017-06-23T18:35:13.000Z | # init for externals package
""" Calls to external packages """
# Test callable
from numpy.testing import Tester
test = Tester().test
del Tester
| 18.25 | 34 | 0.746575 | 20 | 146 | 5.45 | 0.8 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 7 | 35 | 20.857143 | 0.893443 | 0.472603 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6b1436a2af4f67e77bd5d6bf219b2c7d3e86de50 | 569 | py | Python | sf3dmodels/__init__.py | andizq/star-forming-regions | 1105b856c5814635692704b41da66dc6fe38092b | [
"BSD-3-Clause"
] | 13 | 2017-11-28T03:47:47.000Z | 2021-06-09T16:31:59.000Z | sf3dmodels/__init__.py | andizq/sf3dmodels | 4a2b33ad5ae75473a5b023eed712c4009e99ca3c | [
"BSD-3-Clause"
] | 4 | 2020-07-07T21:22:04.000Z | 2020-10-29T20:32:23.000Z | sf3dmodels/__init__.py | andizq/sf3dmodels | 4a2b33ad5ae75473a5b023eed712c4009e99ca3c | [
"BSD-3-Clause"
] | 3 | 2018-12-10T16:32:11.000Z | 2020-08-12T09:32:35.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
sf3dmodels : star-forming regions 3d modelling package
"""
# ----------------------------------------------------------------------------
from ._astropy_init import *
# import version_error
# ------------------------------------------------------------... | 33.470588 | 78 | 0.544815 | 58 | 569 | 5.017241 | 0.810345 | 0.089347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006073 | 0.13181 | 569 | 16 | 79 | 35.5625 | 0.582996 | 0.876977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6b3375e3d8158fc3ea5eb8e2a9f82b5426f26081 | 362 | py | Python | toolbox/misc.py | redfast00/euler | 98fc49a1fcb8b49415cc4384952a6447378bd4f4 | [
"MIT"
] | null | null | null | toolbox/misc.py | redfast00/euler | 98fc49a1fcb8b49415cc4384952a6447378bd4f4 | [
"MIT"
] | null | null | null | toolbox/misc.py | redfast00/euler | 98fc49a1fcb8b49415cc4384952a6447378bd4f4 | [
"MIT"
] | null | null | null | from math import floor, log10
def number_of_digits(number):
return math.floor(math.log10(number)) + 1
def is_pandigital(string):
if len(string) != 9:
return False
for i in '123465789':
if i not in string:
return False
else:
return True
def digital_sum(number):
... | 21.294118 | 45 | 0.627072 | 54 | 362 | 4.12963 | 0.537037 | 0.107623 | 0.053812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057252 | 0.276243 | 362 | 16 | 46 | 22.625 | 0.793893 | 0 | 0 | 0.153846 | 0 | 0 | 0.024862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6b38f433061ca82af0d3a411149718e5d758ee8b | 245 | py | Python | test/test_preprocessors.py | DeepPSP/torch_ecg | 6db5ffb063d0e8fb4ce97029a0d184a658f43a37 | [
"MIT"
] | 9 | 2021-06-26T03:00:55.000Z | 2022-03-03T13:43:00.000Z | test/test_preprocessors.py | wenh06/torch_ecg | a260bac0b4be8cd84c411874af3337358f135442 | [
"MIT"
] | 1 | 2021-10-01T09:29:30.000Z | 2021-10-02T03:41:55.000Z | test/test_preprocessors.py | wenh06/torch_ecg | a260bac0b4be8cd84c411874af3337358f135442 | [
"MIT"
] | 2 | 2021-04-28T03:13:11.000Z | 2021-05-15T14:15:34.000Z | """
"""
from pytest import approx
from torch_ecg._preprocessors import (
BandPass,
BaselineRemove,
Normalize,
MinMaxNormalize,
NaiveNormalize,
ZScoreNormalize,
Resample,
)
from .test_data import load_test_clf_data
| 14.411765 | 41 | 0.714286 | 24 | 245 | 7.041667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216327 | 245 | 16 | 42 | 15.3125 | 0.880208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.090909 | 0.272727 | 0 | 0.272727 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
860a1d5022816c8e33e23ee2018cd09c03a2bb74 | 260 | py | Python | HLTrigger/Configuration/python/HLT_75e33/eventsetup/hltESPTrackAlgoPriorityOrder_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:24:46.000Z | 2021-11-30T16:24:46.000Z | HLTrigger/Configuration/python/HLT_75e33/eventsetup/hltESPTrackAlgoPriorityOrder_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 4 | 2021-11-29T13:57:56.000Z | 2022-03-29T06:28:36.000Z | HLTrigger/Configuration/python/HLT_75e33/eventsetup/hltESPTrackAlgoPriorityOrder_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:16:05.000Z | 2021-11-30T16:16:05.000Z | import FWCore.ParameterSet.Config as cms
hltESPTrackAlgoPriorityOrder = cms.ESProducer("TrackAlgoPriorityOrderESProducer",
ComponentName = cms.string('hltESPTrackAlgoPriorityOrder'),
algoOrder = cms.vstring(),
appendToDataLabel = cms.string('')
)
| 32.5 | 81 | 0.780769 | 20 | 260 | 10.15 | 0.7 | 0.08867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 260 | 7 | 82 | 37.142857 | 0.882609 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
860d23acef1b205fa311ea2697fdb9858cf65829 | 715 | py | Python | django_multisite_plus/conf.py | yakky/django-multisite-plus | b62612146cb3bd37baa555f23dc73592ee00f23e | [
"BSD-3-Clause"
] | 1 | 2021-08-17T20:18:51.000Z | 2021-08-17T20:18:51.000Z | django_multisite_plus/conf.py | yakky/django-multisite-plus | b62612146cb3bd37baa555f23dc73592ee00f23e | [
"BSD-3-Clause"
] | null | null | null | django_multisite_plus/conf.py | yakky/django-multisite-plus | b62612146cb3bd37baa555f23dc73592ee00f23e | [
"BSD-3-Clause"
] | 1 | 2020-10-07T20:44:13.000Z | 2020-10-07T20:44:13.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
import os
from aldryn_addons.utils import boolean_ish
env = os.environ.get
UWSGI_DEFAULT_DOMAIN = env('DJANGO_MULTISITE_PLUS_UWSGI_DEFAULT_DOMAIN')
UWSGI_BASE_SOCKETS_DIR = env('DJANGO_MULTISITE_PLUS_UWSGI_BASE_SOCKETS_DIR', '/app/uwsgi... | 44.6875 | 119 | 0.841958 | 108 | 715 | 4.990741 | 0.351852 | 0.100186 | 0.200371 | 0.244898 | 0.447124 | 0.315399 | 0.25974 | 0 | 0 | 0 | 0 | 0.00149 | 0.061538 | 715 | 15 | 120 | 47.666667 | 0.801788 | 0.029371 | 0 | 0 | 0 | 0 | 0.476879 | 0.460983 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86106cde01d3b9a48323c76361654fa58b507f3d | 583 | py | Python | Tests/test_image_getextrema.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | Tests/test_image_getextrema.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | Tests/test_image_getextrema.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | from tester import *
from PIL import Image
def test_extrema():
def extrema(mode):
return lena(mode).getextrema()
assert_equal(extrema("1"), (0, 255))
assert_equal(extrema("L"), (40, 235))
assert_equal(extrema("I"), (40, 235))
assert_equal(extrema("F"), (40.0, 235.0))
assert_equal(ext... | 32.388889 | 80 | 0.591767 | 85 | 583 | 3.952941 | 0.470588 | 0.261905 | 0.428571 | 0.125 | 0.22619 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0.165272 | 0.180103 | 583 | 17 | 81 | 34.294118 | 0.537657 | 0.022298 | 0 | 0 | 0 | 0 | 0.028169 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 1 | 0.153846 | false | 0 | 0.153846 | 0.076923 | 0.384615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
861845383966e93217820398dd1080469b95d029 | 2,328 | py | Python | project/fixtures_index.py | cforlando/intake | a5233d5c0f862f28ee265b9b4831405aabeec7e2 | [
"MIT"
] | 51 | 2016-07-20T02:26:57.000Z | 2021-07-07T14:45:06.000Z | project/fixtures_index.py | cforlando/intake | a5233d5c0f862f28ee265b9b4831405aabeec7e2 | [
"MIT"
] | 1,091 | 2016-04-29T18:07:45.000Z | 2021-04-19T18:39:39.000Z | project/fixtures_index.py | cforlando/intake | a5233d5c0f862f28ee265b9b4831405aabeec7e2 | [
"MIT"
] | 24 | 2016-06-14T18:10:43.000Z | 2021-11-14T20:26:39.000Z | # These contain production data that impacts logic
# no dependencies (besides DB migration)
ESSENTIAL_DATA_FIXTURES = (
'counties',
'organizations',
'addresses',
'groups',
'template_options',
)
# These contain fake accounts for each org
# depends on ESSENTIAL_DATA_FIXTURES
MOCK_USER_ACCOUNT_FIXTURE... | 31.04 | 50 | 0.789089 | 326 | 2,328 | 4.95092 | 0.220859 | 0.198265 | 0.178439 | 0.200743 | 0.607807 | 0.263321 | 0.048327 | 0 | 0 | 0 | 0 | 0.0185 | 0.140893 | 2,328 | 74 | 51 | 31.459459 | 0.7885 | 0.167096 | 0 | 0 | 0 | 0 | 0.658714 | 0.616701 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8623b436af8dc57bcb516a236138428b2c1e8f9c | 1,820 | py | Python | src/crazy_joe/models/value.py | dpasse/crazy_joe | bb77b2f8ee2cfb26cd8f2c45e0f0da2c2db3f805 | [
"MIT"
] | null | null | null | src/crazy_joe/models/value.py | dpasse/crazy_joe | bb77b2f8ee2cfb26cd8f2c45e0f0da2c2db3f805 | [
"MIT"
] | null | null | null | src/crazy_joe/models/value.py | dpasse/crazy_joe | bb77b2f8ee2cfb26cd8f2c45e0f0da2c2db3f805 | [
"MIT"
] | null | null | null | from . import Unit
from typing import Optional
import numpy as np
class Value(object):
def __init__(self, unit: Optional[Unit]) -> None:
self._unit = unit
@property
def unit(self):
return self._unit
def is_unitless(self):
return self._unit == None
def get_value(self) ->... | 26 | 92 | 0.607692 | 239 | 1,820 | 4.200837 | 0.158996 | 0.10757 | 0.071713 | 0.095618 | 0.605578 | 0.549801 | 0.517928 | 0.517928 | 0.39243 | 0.318725 | 0 | 0.002946 | 0.253846 | 1,820 | 69 | 93 | 26.376812 | 0.736377 | 0 | 0 | 0.387755 | 0 | 0.020408 | 0.166484 | 0.135714 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265306 | false | 0 | 0.061224 | 0.102041 | 0.653061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
86336e329b921494e1e8494681ac632d23823f6d | 2,482 | py | Python | query_generation/base_query_generator.py | jprashant21/ElNeuKGQA | ebafa0a3d3e779e487a665fabc4f9ed50f21f134 | [
"MIT"
] | null | null | null | query_generation/base_query_generator.py | jprashant21/ElNeuKGQA | ebafa0a3d3e779e487a665fabc4f9ed50f21f134 | [
"MIT"
] | null | null | null | query_generation/base_query_generator.py | jprashant21/ElNeuKGQA | ebafa0a3d3e779e487a665fabc4f9ed50f21f134 | [
"MIT"
] | null | null | null | from typing import List, Union
from dataset_tools import QuestionCase
from query_tools import Query
class BaseQueryGeneratorMethodNotImplemented(Exception):
"""
Exception when a BaseQueryGenerator method hasn't been implemented yet.
"""
pass
class BaseQueryGenerator:
"""
Base Query Generato... | 42.067797 | 153 | 0.714343 | 289 | 2,482 | 6.065744 | 0.228374 | 0.030804 | 0.027952 | 0.047918 | 0.617228 | 0.466629 | 0.398745 | 0.305191 | 0.305191 | 0.25271 | 0 | 0.00104 | 0.224819 | 2,482 | 58 | 154 | 42.793103 | 0.910083 | 0.546334 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.0625 | 0.1875 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
865f31da7a419a0d36ddedf61084d61d387835d2 | 1,458 | py | Python | model/metric.py | heygrain/HFM | 0bc5c0a44bdbad72febc53c6839df116b8fe433f | [
"MIT"
] | 2 | 2020-06-19T01:58:12.000Z | 2020-07-29T11:50:11.000Z | model/metric.py | heygrain/HFM | 0bc5c0a44bdbad72febc53c6839df116b8fe433f | [
"MIT"
] | 1 | 2021-10-03T22:13:00.000Z | 2021-10-03T22:13:00.000Z | model/metric.py | heygrain/HFM | 0bc5c0a44bdbad72febc53c6839df116b8fe433f | [
"MIT"
] | 2 | 2020-12-03T00:19:02.000Z | 2021-10-03T22:13:02.000Z | import torch
from .loss import mse_loss
def mrr_at(prediction, target, k=10):
""" Compute mean reciprocal rank
@param prediction: (n_test_users, n_items)
@param target: groud truth of users' clicks (n_test_users, )
"""
rank_target = (prediction.t() > prediction[range(prediction.shape[0]), target]... | 27 | 110 | 0.662551 | 219 | 1,458 | 4.273973 | 0.255708 | 0.032051 | 0.064103 | 0.060897 | 0.597222 | 0.55235 | 0.522436 | 0.44765 | 0.44765 | 0.44765 | 0 | 0.030586 | 0.19273 | 1,458 | 53 | 111 | 27.509434 | 0.764656 | 0.427984 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.05 | 0.1 | 0.15 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
866714250e507d91b507a7af708c95b57a8bb9db | 2,055 | py | Python | py-scoring/src/ai/h2o/sparkling/ml/params/H2OAlgorithmCommonParams.py | NivekNey/sparkling-water | 05831cbbca38ec1e5b54874d431d97f134850d0c | [
"Apache-2.0"
] | null | null | null | py-scoring/src/ai/h2o/sparkling/ml/params/H2OAlgorithmCommonParams.py | NivekNey/sparkling-water | 05831cbbca38ec1e5b54874d431d97f134850d0c | [
"Apache-2.0"
] | null | null | null | py-scoring/src/ai/h2o/sparkling/ml/params/H2OAlgorithmCommonParams.py | NivekNey/sparkling-water | 05831cbbca38ec1e5b54874d431d97f134850d0c | [
"Apache-2.0"
] | null | null | null | #
# 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 "License"); you may not us... | 40.294118 | 95 | 0.759611 | 251 | 2,055 | 6.191235 | 0.505976 | 0.046332 | 0.067568 | 0.085586 | 0.132561 | 0.033462 | 0 | 0 | 0 | 0 | 0 | 0.009445 | 0.175669 | 2,055 | 50 | 96 | 41.1 | 0.90791 | 0.393187 | 0 | 0 | 0 | 0 | 0.096827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0.173913 | 0.304348 | 0.913043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
866babfd5cbcf60608f3ac62d2d4514ab0376506 | 614 | py | Python | timecorr/__init__.py | F1LM1/timecorr | 636a988968e6c9d18c12c0ccdae76198cf9a6e32 | [
"MIT"
] | 25 | 2019-09-11T09:50:16.000Z | 2022-03-29T03:26:29.000Z | timecorr/__init__.py | F1LM1/timecorr | 636a988968e6c9d18c12c0ccdae76198cf9a6e32 | [
"MIT"
] | 3 | 2020-02-13T21:15:39.000Z | 2021-06-15T19:50:05.000Z | timecorr/__init__.py | F1LM1/timecorr | 636a988968e6c9d18c12c0ccdae76198cf9a6e32 | [
"MIT"
] | 11 | 2019-09-09T21:27:15.000Z | 2021-07-24T00:03:20.000Z | #!/usr/bin/env python
from .timecorr import timecorr
from .helpers import isfc, wisfc, autofc, wcorr, gaussian_weights, gaussian_params, mat2vec, vec2mat, laplace_weights,\
laplace_params, format_data, t_weights, t_params, mexican_hat_weights,\
mexican_hat_params, eye_weights,... | 68.222222 | 132 | 0.723127 | 71 | 614 | 5.901408 | 0.549296 | 0.047733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004115 | 0.208469 | 614 | 9 | 133 | 68.222222 | 0.858025 | 0.032573 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
867ec8c61a360aec168449ed28e1c6aaa2ccebe3 | 461 | py | Python | sdk/python/ws_examples.py | LibraEx/LibraEx-OpenApi | 727de3c2440f4f472dab736fc15f0193c82f97d8 | [
"Apache-2.0"
] | null | null | null | sdk/python/ws_examples.py | LibraEx/LibraEx-OpenApi | 727de3c2440f4f472dab736fc15f0193c82f97d8 | [
"Apache-2.0"
] | null | null | null | sdk/python/ws_examples.py | LibraEx/LibraEx-OpenApi | 727de3c2440f4f472dab736fc15f0193c82f97d8 | [
"Apache-2.0"
] | null | null | null | from libraex.websockets import LibraexWss
def handler(msg):
print(msg)
client = LibraexWss(api_key='', secret='')
client.subscribe_to_realtimes(symbol='BTCUSDT,ETHUSDT', callback=handler)
client.subscribe_to_trades(symbol='BTCUSDT', callback=handler)
client.subscribe_to_kline(symbol='BTCUSDT', interval='5m',... | 21.952381 | 76 | 0.791757 | 58 | 461 | 6.103448 | 0.5 | 0.211864 | 0.29661 | 0.254237 | 0.403955 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002353 | 0.078091 | 461 | 20 | 77 | 23.05 | 0.830588 | 0 | 0 | 0 | 0 | 0 | 0.08243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
868515ecdf6bb0435244d98697d40a1431ad1caf | 6,701 | py | Python | mistral/tests/unit/engine/test_action_defaults.py | ISCAS-VDI/mistral-base | 630dd8c2c3f8b939cf91bf4b3bf6bf1d9aa8174b | [
"Apache-2.0"
] | null | null | null | mistral/tests/unit/engine/test_action_defaults.py | ISCAS-VDI/mistral-base | 630dd8c2c3f8b939cf91bf4b3bf6bf1d9aa8174b | [
"Apache-2.0"
] | null | null | null | mistral/tests/unit/engine/test_action_defaults.py | ISCAS-VDI/mistral-base | 630dd8c2c3f8b939cf91bf4b3bf6bf1d9aa8174b | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 - StackStorm, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 29.782222 | 79 | 0.622295 | 818 | 6,701 | 4.882641 | 0.216381 | 0.024036 | 0.030045 | 0.036054 | 0.724086 | 0.715073 | 0.703055 | 0.68653 | 0.68653 | 0.68653 | 0 | 0.013942 | 0.261454 | 6,701 | 224 | 80 | 29.915179 | 0.79309 | 0.103268 | 0 | 0.686391 | 0 | 0 | 0.203738 | 0.003504 | 0 | 0 | 0 | 0 | 0.071006 | 1 | 0.023669 | false | 0.011834 | 0.053254 | 0 | 0.08284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86ac2e9e8c091d857f7f57572702a2e762a14723 | 122 | py | Python | one/some/Accounts/urls.py | pralakxavier24/Django | 988708fa6f6efd401b93b9c2f051b93fe64191ff | [
"BSD-3-Clause"
] | null | null | null | one/some/Accounts/urls.py | pralakxavier24/Django | 988708fa6f6efd401b93b9c2f051b93fe64191ff | [
"BSD-3-Clause"
] | null | null | null | one/some/Accounts/urls.py | pralakxavier24/Django | 988708fa6f6efd401b93b9c2f051b93fe64191ff | [
"BSD-3-Clause"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('register',views.register,name = 'register'),
] | 20.333333 | 54 | 0.713115 | 15 | 122 | 5.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 122 | 6 | 55 | 20.333333 | 0.84466 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
86ad35a508f32c701e965c85670f22fd89770c3b | 13,502 | py | Python | day10/app10/views.py | 940716tian/PythonStudy | 05738c50c9d504d5f073ded9e70b29c2f76f5ea6 | [
"Apache-2.0"
] | null | null | null | day10/app10/views.py | 940716tian/PythonStudy | 05738c50c9d504d5f073ded9e70b29c2f76f5ea6 | [
"Apache-2.0"
] | null | null | null | day10/app10/views.py | 940716tian/PythonStudy | 05738c50c9d504d5f073ded9e70b29c2f76f5ea6 | [
"Apache-2.0"
] | null | null | null | from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import AnonymousUser
from django.http import JsonResponse, HttpResponse, QueryDict
from django.shortcuts import render, redirect
from django.urls import reverse
from djan... | 13,502 | 13,502 | 0.500667 | 1,474 | 13,502 | 4.421303 | 0.185889 | 0.027006 | 0.037134 | 0.025779 | 0.326224 | 0.24812 | 0.205463 | 0.155593 | 0.114623 | 0.062145 | 0 | 0.008946 | 0.38735 | 13,502 | 1 | 13,502 | 13,502 | 0.778893 | 0.05577 | 0 | 0.380697 | 0 | 0 | 0.075973 | 0.00364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048257 | false | 0.010724 | 0.029491 | 0.008043 | 0.171582 | 0.002681 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86b4704ca66f5535f547d7b0a5ffbbaff375696c | 11,505 | py | Python | nfldb/category.py | sdcalmes/nfldb | 9cc2fe8280cada7c1595d54e4dc698b99da72a40 | [
"Unlicense"
] | 999 | 2015-01-04T14:38:27.000Z | 2022-03-18T02:09:34.000Z | nfldb/category.py | sdcalmes/nfldb | 9cc2fe8280cada7c1595d54e4dc698b99da72a40 | [
"Unlicense"
] | 250 | 2015-01-01T18:43:53.000Z | 2021-01-26T19:10:17.000Z | nfldb/category.py | sdcalmes/nfldb | 9cc2fe8280cada7c1595d54e4dc698b99da72a40 | [
"Unlicense"
] | 325 | 2015-01-02T01:59:54.000Z | 2022-03-28T19:46:25.000Z | categories = [
(82, False, "player", "defense_ast", "Assist to a tackle."),
(91, False, "player", "defense_ffum", "Defensive player forced a fumble."),
(88, False, "player", "defense_fgblk", "Defensive player blocked a field goal."),
(60, False, "player", "defense_frec", "Defensive player recovered a fu... | 102.723214 | 295 | 0.689961 | 1,688 | 11,505 | 4.617891 | 0.187204 | 0.132649 | 0.048493 | 0.025401 | 0.326876 | 0.220654 | 0.193714 | 0.184221 | 0.177293 | 0.167287 | 0 | 0.02516 | 0.170882 | 11,505 | 111 | 296 | 103.648649 | 0.792012 | 0 | 0 | 0 | 0 | 0.126126 | 0.723338 | 0.005476 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
86c166f6380dc9d8a8d6e250ac7a961a034e15bb | 2,366 | py | Python | roglick/engine/random.py | Kromey/roglick | b76202af71df0c30be0bd5f06a3428c990476e0e | [
"MIT"
] | 6 | 2015-05-05T21:28:35.000Z | 2019-04-14T13:42:38.000Z | roglick/engine/random.py | Kromey/roglick | b76202af71df0c30be0bd5f06a3428c990476e0e | [
"MIT"
] | null | null | null | roglick/engine/random.py | Kromey/roglick | b76202af71df0c30be0bd5f06a3428c990476e0e | [
"MIT"
] | null | null | null | from roglick.lib import libtcod
class Random(object):
def __init__(self, seed=None, generator=None):
if generator is not None:
self._gen = generator
elif seed is None:
self._gen = libtcod.random_new()
else:
self._gen = libtcod.random_new_from_seed(seed)
... | 26.288889 | 77 | 0.59552 | 329 | 2,366 | 4.158055 | 0.31307 | 0.087719 | 0.070175 | 0.100877 | 0.033626 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.296281 | 2,366 | 89 | 78 | 26.58427 | 0.8 | 0.155959 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.280702 | false | 0 | 0.017544 | 0.175439 | 0.561404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
86c8a34bafdd20f496eb63871047c53100e2ee4d | 6,288 | py | Python | Cognito/decode-verify-jwt/decode-verify-jwt.py | vincentpham13/decode-verify-jwt | 1c1a6bba13c59fb7927f525d8be36c74d411cc98 | [
"Apache-2.0"
] | null | null | null | Cognito/decode-verify-jwt/decode-verify-jwt.py | vincentpham13/decode-verify-jwt | 1c1a6bba13c59fb7927f525d8be36c74d411cc98 | [
"Apache-2.0"
] | null | null | null | Cognito/decode-verify-jwt/decode-verify-jwt.py | vincentpham13/decode-verify-jwt | 1c1a6bba13c59fb7927f525d8be36c74d411cc98 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
# except in compliance with the License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file ... | 79.594937 | 1,248 | 0.846215 | 472 | 6,288 | 11.165254 | 0.474576 | 0.011385 | 0.004554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082891 | 0.102099 | 6,288 | 78 | 1,249 | 80.615385 | 0.850514 | 0.60194 | 0 | 0.052632 | 0 | 0 | 0.500203 | 0.408925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.131579 | 0 | 0.236842 | 0.131579 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86d2106f778c98a1fb0b5ad9479b167d54b0c17d | 138 | py | Python | manage.py | Kipngetich33/My_Blog_Post | e14b05d9cc4bbf5e81e0c7ba0573b4fe340f2c0e | [
"Unlicense"
] | null | null | null | manage.py | Kipngetich33/My_Blog_Post | e14b05d9cc4bbf5e81e0c7ba0573b4fe340f2c0e | [
"Unlicense"
] | null | null | null | manage.py | Kipngetich33/My_Blog_Post | e14b05d9cc4bbf5e81e0c7ba0573b4fe340f2c0e | [
"Unlicense"
] | null | null | null | from app import create_app
#creating the instance of the app
app = create_app('development')
if __name__ == '__main__':
app.run()
| 13.8 | 33 | 0.710145 | 20 | 138 | 4.4 | 0.65 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 138 | 9 | 34 | 15.333333 | 0.785714 | 0.231884 | 0 | 0 | 0 | 0 | 0.180952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86ea52c808d4aeda64ff78db736c27119db0323a | 99 | py | Python | qsessions/apps.py | QueraTeam/Django-QSessions | 6a8b4ccf75f45b0232e1096a87211b094a245c49 | [
"MIT"
] | 108 | 2018-01-20T10:45:51.000Z | 2022-03-30T15:38:09.000Z | qsessions/apps.py | QueraTeam/Django-QSessions | 6a8b4ccf75f45b0232e1096a87211b094a245c49 | [
"MIT"
] | 12 | 2018-11-17T10:57:28.000Z | 2021-07-23T15:06:00.000Z | qsessions/apps.py | QueraTeam/Django-QSessions | 6a8b4ccf75f45b0232e1096a87211b094a245c49 | [
"MIT"
] | 11 | 2018-08-03T14:47:02.000Z | 2021-12-26T10:44:15.000Z | from django.apps import AppConfig
class DjangoQsessionsConfig(AppConfig):
name = "qsessions"
| 16.5 | 39 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 40 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 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 | 0 | 0 | 0 | 3 |
86f432b12a2a91f305cd13556cfaba0de055161e | 2,794 | py | Python | mindpile/Mapping/sensors/brick.py | MelbourneHighSchoolRobotics/Mindpile | 9dd0a14ee336810c2b62826afff4da8719455ba0 | [
"BSD-3-Clause"
] | 2 | 2021-02-16T22:21:36.000Z | 2021-02-17T03:16:30.000Z | mindpile/Mapping/sensors/brick.py | MelbourneHighSchoolRobotics/Mindpile | 9dd0a14ee336810c2b62826afff4da8719455ba0 | [
"BSD-3-Clause"
] | 2 | 2021-02-17T03:20:24.000Z | 2021-04-30T06:46:02.000Z | mindpile/Mapping/sensors/brick.py | MelbourneHighSchoolRobotics/mindpile | 9dd0a14ee336810c2b62826afff4da8719455ba0 | [
"BSD-3-Clause"
] | null | null | null | from mindpile.Mapping.types import List
from mindpile.Mapping.utils import MethodCall, Requires, Setup
# TODO: verify button code works on brick before enabling it
@Setup
def buttonSetup():
return '''
import ev3dev2.button
brickButtons = ev3dev2.button.Button()
buttonMap = [None, "left", "... | 34.925 | 118 | 0.577666 | 259 | 2,794 | 6.212355 | 0.293436 | 0.02486 | 0.064636 | 0.029832 | 0.129273 | 0.095712 | 0.095712 | 0 | 0 | 0 | 0 | 0.009574 | 0.32713 | 2,794 | 79 | 119 | 35.367089 | 0.846277 | 0.020759 | 0 | 0.304348 | 0 | 0.028986 | 0.818947 | 0.134601 | 0 | 0 | 0 | 0.012658 | 0 | 1 | 0.057971 | true | 0 | 0.043478 | 0.057971 | 0.246377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8112ca88a62fe0a44c39b887413f6ab89088bbff | 149 | py | Python | user_view/apps.py | anandarupmukherjee/SS_excel | e183d5a0451e93d7fdc91003dd02e85e89a7f666 | [
"MIT"
] | null | null | null | user_view/apps.py | anandarupmukherjee/SS_excel | e183d5a0451e93d7fdc91003dd02e85e89a7f666 | [
"MIT"
] | null | null | null | user_view/apps.py | anandarupmukherjee/SS_excel | e183d5a0451e93d7fdc91003dd02e85e89a7f666 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class UserViewConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'user_view'
| 21.285714 | 56 | 0.765101 | 18 | 149 | 6.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147651 | 149 | 6 | 57 | 24.833333 | 0.874016 | 0 | 0 | 0 | 0 | 0 | 0.255034 | 0.194631 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8124174acc175e5d992113c2aacabf31494d8c6e | 859 | py | Python | lightautoml/__init__.py | alexeytomashyov/LightAutoML | 41e8e10d430344dbdb5e39dd48342653ee31988c | [
"Apache-2.0"
] | null | null | null | lightautoml/__init__.py | alexeytomashyov/LightAutoML | 41e8e10d430344dbdb5e39dd48342653ee31988c | [
"Apache-2.0"
] | null | null | null | lightautoml/__init__.py | alexeytomashyov/LightAutoML | 41e8e10d430344dbdb5e39dd48342653ee31988c | [
"Apache-2.0"
] | null | null | null | __all__ = ['automl', 'dataset', 'ml_algo', 'pipelines', 'image', 'reader', 'transformers', 'validation', 'text', 'tasks', 'utils',
'addons', 'report']
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata
__version__ = importlib_metadata.version(... | 27.709677 | 130 | 0.738068 | 104 | 859 | 5.903846 | 0.317308 | 0.309446 | 0.123779 | 0.078176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150175 | 859 | 30 | 131 | 28.633333 | 0.841096 | 0 | 0 | 0 | 0 | 0 | 0.102445 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.851852 | 0 | 0.851852 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8127d18f0eb50f431708260c1815432edfa946d1 | 752 | py | Python | chorus/model/nucleicacid.py | mojaie/chorus | 63cbe4764ab2498b7b1da11a628bec01d03ca012 | [
"MIT"
] | 5 | 2018-03-23T04:56:17.000Z | 2022-03-04T15:54:39.000Z | chorus/model/nucleicacid.py | mojaie/chorus | 63cbe4764ab2498b7b1da11a628bec01d03ca012 | [
"MIT"
] | 4 | 2017-09-08T02:08:12.000Z | 2018-06-12T00:55:18.000Z | chorus/model/nucleicacid.py | mojaie/chorus | 63cbe4764ab2498b7b1da11a628bec01d03ca012 | [
"MIT"
] | 6 | 2018-01-22T22:21:20.000Z | 2021-03-25T04:47:11.000Z | #
# (C) 2014-2017 Seiji Matsuoka
# Licensed under the MIT License (MIT)
# http://opensource.org/licenses/MIT
#
from chorus.model.Abstractatom import AbstractAtom
def collapse(self):
""" recognize nucleic acid moiety and convert into NucleicAcid object """
# TODO: not implemented
pass
class NucleicAcid(... | 19.789474 | 77 | 0.646277 | 88 | 752 | 5.420455 | 0.522727 | 0.062893 | 0.08805 | 0.062893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014414 | 0.261968 | 752 | 37 | 78 | 20.324324 | 0.845045 | 0.25266 | 0 | 0.1 | 0 | 0 | 0.016364 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.3 | false | 0.05 | 0.05 | 0.15 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
812b93254a8e1619a6c9af4ff29733463fbf0210 | 1,759 | py | Python | disnake/__init__.py | dob9601/disnake | 20be6dc85f2442b756e93b2443e149dc90692adf | [
"MIT"
] | null | null | null | disnake/__init__.py | dob9601/disnake | 20be6dc85f2442b756e93b2443e149dc90692adf | [
"MIT"
] | null | null | null | disnake/__init__.py | dob9601/disnake | 20be6dc85f2442b756e93b2443e149dc90692adf | [
"MIT"
] | null | null | null | """
Discord API Wrapper
~~~~~~~~~~~~~~~~~~~
A basic wrapper for the Discord API.
:copyright: (c) 2015-present Rapptz
:license: MIT, see LICENSE for more details.
"""
__title__ = "disnake"
__author__ = "Rapptz, EQUENOS"
__license__ = "MIT"
__copyright__ = "Copyright 2015-present Rapptz, 2021-present EQUENOS"
__versi... | 22.844156 | 97 | 0.731097 | 225 | 1,759 | 5.497778 | 0.444444 | 0.315279 | 0.027486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012829 | 0.158044 | 1,759 | 76 | 98 | 23.144737 | 0.822417 | 0.090392 | 0 | 0 | 0 | 0 | 0.072282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.77193 | 0 | 0.877193 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
812f62c327b38bf4561b255e015106caaaf528dc | 316 | py | Python | tag/urls.py | noriHanda/study_matching | 55e9525c9502c45c799f8f3a4c9c2b54406ed9e1 | [
"MIT"
] | null | null | null | tag/urls.py | noriHanda/study_matching | 55e9525c9502c45c799f8f3a4c9c2b54406ed9e1 | [
"MIT"
] | null | null | null | tag/urls.py | noriHanda/study_matching | 55e9525c9502c45c799f8f3a4c9c2b54406ed9e1 | [
"MIT"
] | null | null | null | from rest_framework import routers
from .views import TagViewSet
from . import views
from django.urls import path
router = routers.DefaultRouter()
router.register(r'', TagViewSet)
app_name = 'tag'
urlpatterns = [
path('fetch_user_having_tags', views.fetch_user_having_tags, name='fetch_user_having_tags'),
]
| 21.066667 | 96 | 0.781646 | 43 | 316 | 5.488372 | 0.511628 | 0.114407 | 0.190678 | 0.241525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123418 | 316 | 14 | 97 | 22.571429 | 0.851986 | 0 | 0 | 0 | 0 | 0 | 0.149206 | 0.139683 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8138910a4647abbdc82335918ac6b5da3185fac9 | 963 | py | Python | corpus/helpers/getArtistCatalog.py | tomivs/dankenstein | 17d4d0f9838ec58b781aca029b2140709d036566 | [
"BSD-3-Clause"
] | null | null | null | corpus/helpers/getArtistCatalog.py | tomivs/dankenstein | 17d4d0f9838ec58b781aca029b2140709d036566 | [
"BSD-3-Clause"
] | null | null | null | corpus/helpers/getArtistCatalog.py | tomivs/dankenstein | 17d4d0f9838ec58b781aca029b2140709d036566 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python2
import darklyrics
import codecs
import sys
import re
def get_lyrics(artist, file_name):
with codecs.open(file_name, 'wb', 'utf-8') as f:
f.write(re.sub('^\s', '', re.sub(r'(?<=[\?\.\!])[\?\.\!]', '', re.sub('\s\.\n\n', '', re.sub('\.\n', '.\n\n', re.sub('(\n){2,}', '\n', re.sub('(... | 33.206897 | 355 | 0.538941 | 144 | 963 | 3.479167 | 0.381944 | 0.06986 | 0.181637 | 0.215569 | 0.229541 | 0.181637 | 0.181637 | 0.181637 | 0.181637 | 0.181637 | 0 | 0.013661 | 0.239875 | 963 | 28 | 356 | 34.392857 | 0.670765 | 0.080997 | 0 | 0.105263 | 0 | 0 | 0.132503 | 0.023783 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.210526 | null | null | 0.105263 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
813995950bdd59c49988db63653253c7ea3d300a | 190 | py | Python | bin/sticks/one-sided-welded-tetrasticks-trapezoid.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/sticks/one-sided-welded-tetrasticks-trapezoid.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/sticks/one-sided-welded-tetrasticks-trapezoid.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""
7 solutions
"""
import puzzler
from puzzler.puzzles.tetrasticks import OneSidedWeldedTetrasticksTrapezoid
puzzler.run(OneSidedWeldedTetrasticksTrapezoid)
| 15.833333 | 74 | 0.805263 | 18 | 190 | 8.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.094737 | 190 | 11 | 75 | 17.272727 | 0.883721 | 0.194737 | 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 | 0 | 0 | 0 | 3 |
813c77b7f8f148ed18e08b9ebd34ab6ef76cc4ce | 945 | py | Python | iam_morphology/iam_morphology.py | pswapnesh/iam-essentials | b3aa4c5cd10c5ad585d7a25400e58d24f1c292cf | [
"MIT"
] | null | null | null | iam_morphology/iam_morphology.py | pswapnesh/iam-essentials | b3aa4c5cd10c5ad585d7a25400e58d24f1c292cf | [
"MIT"
] | null | null | null | iam_morphology/iam_morphology.py | pswapnesh/iam-essentials | b3aa4c5cd10c5ad585d7a25400e58d24f1c292cf | [
"MIT"
] | null | null | null | import skimage.morphology as morph
import numpy as np
from napari.types import ImageData, LabelsData
import scipy.ndimage as ndi
'''
dilation erosion etc.
dilation without touching
remove smalle holes
remove small objects
remove objects with contraints
'''
def iam_binary_dilation(binary: LabelsData, disk_size :in... | 31.5 | 78 | 0.779894 | 129 | 945 | 5.527132 | 0.310078 | 0.089762 | 0.067321 | 0.134642 | 0.496494 | 0.496494 | 0.496494 | 0.45582 | 0.308555 | 0.308555 | 0 | 0.004872 | 0.131217 | 945 | 29 | 79 | 32.586207 | 0.863581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.285714 | 0.357143 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
813e37511521c658d745c56d843ef00cc5289f94 | 3,212 | py | Python | python/ql/test/experimental/library-tests/frameworks/flask/routing_test.py | NateD-MSFT/codeql | f0d5a91d59dca9a67e772beaa8b7f73ba876d831 | [
"MIT"
] | 1 | 2021-09-16T13:14:03.000Z | 2021-09-16T13:14:03.000Z | python/ql/test/experimental/library-tests/frameworks/flask/routing_test.py | NateD-MSFT/codeql | f0d5a91d59dca9a67e772beaa8b7f73ba876d831 | [
"MIT"
] | null | null | null | python/ql/test/experimental/library-tests/frameworks/flask/routing_test.py | NateD-MSFT/codeql | f0d5a91d59dca9a67e772beaa8b7f73ba876d831 | [
"MIT"
] | null | null | null | import flask
from flask import Flask, make_response
app = Flask(__name__)
SOME_ROUTE = "/some/route"
@app.route(SOME_ROUTE) # $routeSetup="/some/route"
def some_route(): # $requestHandler
return make_response("some_route") # $HttpResponse
def index(): # $requestHandler
return make_response("index") # $... | 32.77551 | 132 | 0.698941 | 430 | 3,212 | 5.032558 | 0.306977 | 0.044362 | 0.024954 | 0.036044 | 0.440388 | 0.345656 | 0.321627 | 0.207948 | 0.207948 | 0.207948 | 0 | 0.003786 | 0.177771 | 3,212 | 97 | 133 | 33.113402 | 0.8156 | 0.437422 | 0 | 0.145833 | 0 | 0 | 0.120318 | 0.014188 | 0 | 0 | 0 | 0 | 0 | 1 | 0.229167 | false | 0.145833 | 0.083333 | 0.104167 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
81417d9fefcff32cc4b9e6a28c02e7a0606f5c95 | 1,899 | py | Python | src/robot/variables/isvar.py | gaurav294/robotframework | 8db0d492920837c5933e4929c789a78bb6cbfe53 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/robot/variables/isvar.py | gaurav294/robotframework | 8db0d492920837c5933e4929c789a78bb6cbfe53 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/robot/variables/isvar.py | gaurav294/robotframework | 8db0d492920837c5933e4929c789a78bb6cbfe53 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright 2008-2015 Nokia Networks
# Copyright 2016- Robot Framework Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
... | 33.315789 | 77 | 0.705635 | 273 | 1,899 | 4.78022 | 0.410256 | 0.068966 | 0.091954 | 0.091954 | 0.150192 | 0.150192 | 0.150192 | 0.150192 | 0.150192 | 0.150192 | 0 | 0.015635 | 0.19168 | 1,899 | 56 | 78 | 33.910714 | 0.834528 | 0.3802 | 0 | 0.111111 | 0 | 0 | 0.037964 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.62963 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
d48f6cfd001fe23f5f1cb2cb71af7eb227563a0a | 1,311 | py | Python | website/feeds.py | felixyin/qdqtrj_website | 43ae31af887cfe537d6f0cff5329dac619190210 | [
"MIT"
] | null | null | null | website/feeds.py | felixyin/qdqtrj_website | 43ae31af887cfe537d6f0cff5329dac619190210 | [
"MIT"
] | null | null | null | website/feeds.py | felixyin/qdqtrj_website | 43ae31af887cfe537d6f0cff5329dac619190210 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
"""
@version: ??
@author: liangliangyy
@license: MIT Licence
@contact: liangliangyy@gmail.com
@site: https://www.lylinux.net/
@software: PyCharm
@file: feed.py
@time: 2016/12/22 下午10:16
"""
from django.contrib.syndication.views import Feed
from blog.models import Article
from ... | 23.410714 | 66 | 0.700992 | 173 | 1,311 | 5.202312 | 0.491329 | 0.044444 | 0.062222 | 0.037778 | 0.075556 | 0.075556 | 0.075556 | 0 | 0 | 0 | 0 | 0.020599 | 0.185355 | 1,311 | 55 | 67 | 23.836364 | 0.821161 | 0.166285 | 0 | 0 | 0 | 0 | 0.054428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0 | 0.241379 | 0.241379 | 0.965517 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d492b9843f34465bcd91588db1edd25625635065 | 4,828 | py | Python | doom/env/doom_corridor.py | prometeista/sil-montezuma | f896986529bcae6b96115c0e1055173bc89911b3 | [
"MIT"
] | 11 | 2018-09-12T08:59:20.000Z | 2022-03-11T03:09:58.000Z | doom/env/doom_corridor.py | prometeista/sil-montezuma | f896986529bcae6b96115c0e1055173bc89911b3 | [
"MIT"
] | 4 | 2021-06-01T22:36:44.000Z | 2022-03-11T23:27:56.000Z | doom/env/doom_corridor.py | prometeista/sil-montezuma | f896986529bcae6b96115c0e1055173bc89911b3 | [
"MIT"
] | 2 | 2018-10-17T17:04:07.000Z | 2021-09-17T12:11:40.000Z | import logging
from .doom_env import DoomEnv
logger = logging.getLogger(__name__)
class DoomCorridorEnv(DoomEnv):
"""
------------ Training Mission 2 - Corridor ------------
This map is designed to improve your navigation. There is a vest
at the end of the corridor, with 6 enemies (3 groups of 2). Yo... | 41.264957 | 128 | 0.584507 | 559 | 4,828 | 4.994633 | 0.443649 | 0.015043 | 0.019341 | 0.02149 | 0.146132 | 0.087393 | 0.087393 | 0.037249 | 0.037249 | 0.037249 | 0 | 0.093836 | 0.324565 | 4,828 | 116 | 129 | 41.62069 | 0.762343 | 0.895816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d4985e5c29301570134e8578cdf2dad6b8180f4b | 9,728 | py | Python | tests/test_common.py | tiloc/python_withings_api | 64c9706ab70c93e4c54cc843a778ecd3f9960980 | [
"MIT"
] | null | null | null | tests/test_common.py | tiloc/python_withings_api | 64c9706ab70c93e4c54cc843a778ecd3f9960980 | [
"MIT"
] | null | null | null | tests/test_common.py | tiloc/python_withings_api | 64c9706ab70c93e4c54cc843a778ecd3f9960980 | [
"MIT"
] | null | null | null | """Tests for common code."""
from typing import Any, Dict
import arrow
import pytest
from withings_api.common import (
AuthFailedException,
BadStateException,
ErrorOccurredException,
InvalidParamsException,
MeasureGetMeasGroup,
MeasureGetMeasGroupAttrib,
MeasureGetMeasGroupCategory,
Mea... | 33.088435 | 88 | 0.609992 | 828 | 9,728 | 6.92029 | 0.154589 | 0.019546 | 0.031763 | 0.043106 | 0.726178 | 0.718848 | 0.701222 | 0.684293 | 0.64014 | 0.619197 | 0 | 0.031753 | 0.310444 | 9,728 | 293 | 89 | 33.201365 | 0.822451 | 0.016653 | 0 | 0.558704 | 0 | 0 | 0.005877 | 0 | 0 | 0 | 0 | 0 | 0.068826 | 1 | 0.024292 | false | 0 | 0.024292 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d49f373cec428ee5a427585dbd67d3e13b741aca | 319 | py | Python | python/ql/test/library-tests/PointsTo/new/code/l_calls.py | p-snft/ql | 6243c722c6d18f152fe47d2c800540d5bc5c3c3f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-27T20:08:34.000Z | 2020-12-27T20:08:34.000Z | python/ql/test/library-tests/PointsTo/new/code/l_calls.py | p-snft/ql | 6243c722c6d18f152fe47d2c800540d5bc5c3c3f | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-02-21T16:20:02.000Z | 2019-05-01T12:10:05.000Z | python/ql/test/library-tests/PointsTo/new/code/l_calls.py | p-snft/ql | 6243c722c6d18f152fe47d2c800540d5bc5c3c3f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
def foo(x = []):
return x.append("x")
def bar(x = []):
return len(x)
foo()
bar()
class Owner(object):
@classmethod
def cm(cls, arg):
return cls
@classmethod
def cm2(cls, arg):
return arg
#Normal method
def m(self):
a = self.cm(0)
return a.cm2(1)
| 11.814815 | 24 | 0.507837 | 45 | 319 | 3.6 | 0.488889 | 0.08642 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019139 | 0.344828 | 319 | 26 | 25 | 12.269231 | 0.755981 | 0.040752 | 0 | 0.125 | 0 | 0 | 0.003311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0 | 0.25 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d4abc13fe2bee9e02736228fbe23ec5deac1dc7f | 114 | py | Python | IntroProPython/Aula8-Funcoes/listagem8-14.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | IntroProPython/Aula8-Funcoes/listagem8-14.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | IntroProPython/Aula8-Funcoes/listagem8-14.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | def fibonaci(n):
if n <= 1:
return n
else:
return fibonaci(n-1)+fibonaci(n-2)
fibonaci(0) | 16.285714 | 42 | 0.54386 | 18 | 114 | 3.444444 | 0.5 | 0.435484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.315789 | 114 | 7 | 43 | 16.285714 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
d4d2ad75bb2d93b2640623a7fe8eb722300562a5 | 523 | py | Python | tests/orm/__init__.py | HeathLee/sorator | 271668865bf0d039908643e3df9b98c966b9d956 | [
"MIT"
] | null | null | null | tests/orm/__init__.py | HeathLee/sorator | 271668865bf0d039908643e3df9b98c966b9d956 | [
"MIT"
] | null | null | null | tests/orm/__init__.py | HeathLee/sorator | 271668865bf0d039908643e3df9b98c966b9d956 | [
"MIT"
] | null | null | null | from orator.connections import SQLiteConnection
from orator.connectors import SQLiteConnector
class DatabaseConnectionResolver:
_connection = None
def connection(self, name=None):
if self._connection:
return self._connection
self._connection = SQLiteConnection(
SQLit... | 22.73913 | 64 | 0.688337 | 49 | 523 | 7.163265 | 0.469388 | 0.159544 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235182 | 523 | 22 | 65 | 23.772727 | 0.8775 | 0 | 0 | 0.142857 | 0 | 0 | 0.043977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.142857 | 0.071429 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d4e269df30d05b3d42917917a80242fbed7917da | 14,573 | py | Python | tests/test_versioning.py | daleione/django-rest-framework | f81ca786427db40b648b5bcc0e67044163215457 | [
"BSD-3-Clause"
] | 4 | 2019-02-11T13:01:34.000Z | 2020-10-22T08:39:57.000Z | tests/test_versioning.py | daleione/django-rest-framework | f81ca786427db40b648b5bcc0e67044163215457 | [
"BSD-3-Clause"
] | 34 | 2020-05-19T08:07:13.000Z | 2021-01-11T22:40:52.000Z | tests/test_versioning.py | daleione/django-rest-framework | f81ca786427db40b648b5bcc0e67044163215457 | [
"BSD-3-Clause"
] | 2 | 2020-12-04T17:45:50.000Z | 2020-12-04T17:59:38.000Z | import pytest
from django.conf.urls import include, url
from django.test import override_settings
from rest_framework import serializers, status, versioning
from rest_framework.decorators import APIView
from rest_framework.relations import PKOnlyObject
from rest_framework.response import Response
from rest_framework.r... | 37.366667 | 102 | 0.668222 | 1,535 | 14,573 | 6.166124 | 0.09772 | 0.040676 | 0.059271 | 0.066033 | 0.805177 | 0.7701 | 0.723296 | 0.693502 | 0.617433 | 0.570206 | 0 | 0.012965 | 0.206066 | 14,573 | 389 | 103 | 37.462725 | 0.805099 | 0.001716 | 0 | 0.570934 | 0 | 0 | 0.120421 | 0.014941 | 0 | 0 | 0 | 0 | 0.138408 | 1 | 0.128028 | false | 0.00692 | 0.034602 | 0.010381 | 0.269896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4f185b74d0ac632f705cfbae438b9b4dcec31b7 | 2,351 | py | Python | kernel/transfer/framework/horz/blocks/model_scatter.py | rinceyuan/WeFe | 8482cb737cb7ba37b2856d184cd42c1bd35a6318 | [
"Apache-2.0"
] | 39 | 2021-10-12T01:43:27.000Z | 2022-03-28T04:46:35.000Z | kernel/transfer/framework/horz/blocks/model_scatter.py | rinceyuan/WeFe | 8482cb737cb7ba37b2856d184cd42c1bd35a6318 | [
"Apache-2.0"
] | 6 | 2021-10-14T02:11:47.000Z | 2022-03-23T02:41:50.000Z | kernel/transfer/framework/horz/blocks/model_scatter.py | rinceyuan/WeFe | 8482cb737cb7ba37b2856d184cd42c1bd35a6318 | [
"Apache-2.0"
] | 10 | 2021-10-14T09:36:03.000Z | 2022-02-10T11:05:12.000Z | # Copyright 2021 Tianmian Tech. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | 40.534483 | 106 | 0.755849 | 322 | 2,351 | 5.369565 | 0.344721 | 0.069404 | 0.030075 | 0.037016 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0 | 0.008126 | 0.162484 | 2,351 | 57 | 107 | 41.245614 | 0.869985 | 0.490855 | 0 | 0.210526 | 0 | 0 | 0.010265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.052632 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d4f85378b5b146e605d5fb2f5665dff78c5bd61e | 42 | py | Python | vk_api/__init__.py | makerus/vk_api | ab6e2d88686b6b464f88daf2d932062a4b2d7a77 | [
"MIT"
] | null | null | null | vk_api/__init__.py | makerus/vk_api | ab6e2d88686b6b464f88daf2d932062a4b2d7a77 | [
"MIT"
] | null | null | null | vk_api/__init__.py | makerus/vk_api | ab6e2d88686b6b464f88daf2d932062a4b2d7a77 | [
"MIT"
] | null | null | null | __all__ = ['api', 'logger', 'http_util']
| 21 | 41 | 0.595238 | 5 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4fb0b0f8adae9aedc845e1c71bc15c5f0e573d6 | 241 | py | Python | hello.py | kasono21/kasa3 | f07ac9cdbb4d68c3f013237cd7d067f3d97b5f3b | [
"MIT"
] | 1 | 2019-09-30T10:58:37.000Z | 2019-09-30T10:58:37.000Z | hello.py | kasono21/kasa3 | f07ac9cdbb4d68c3f013237cd7d067f3d97b5f3b | [
"MIT"
] | 1 | 2020-10-11T15:20:20.000Z | 2020-10-11T15:20:20.000Z | hello.py | kasono21/kasa3 | f07ac9cdbb4d68c3f013237cd7d067f3d97b5f3b | [
"MIT"
] | 1 | 2021-03-15T02:46:41.000Z | 2021-03-15T02:46:41.000Z | from __future__ import print_function
import sys
def hello(what):
print('Hello, {}!'.format(what))
def say_what():
return 'world'
def main():
hello(say_what())
return 0
if __name__ == '__main__':
sys.exit(main())
| 12.05 | 37 | 0.634855 | 32 | 241 | 4.3125 | 0.5625 | 0.101449 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.215768 | 241 | 19 | 38 | 12.684211 | 0.724868 | 0 | 0 | 0 | 0 | 0 | 0.095436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.090909 | 0.636364 | 0.181818 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.