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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
95ba6ec964da8e4fcf2344741431614d2e3d0148 | 12,429 | py | Python | rbnf/core/parser_algo/for_atom.py | thautwarm/Ruiko | cceec88c90f7ec95c160cfda01bfc532610985e0 | [
"MIT"
] | 44 | 2018-06-08T04:52:02.000Z | 2021-08-06T04:59:56.000Z | rbnf/core/parser_algo/for_atom.py | thautwarm/Ruiko | cceec88c90f7ec95c160cfda01bfc532610985e0 | [
"MIT"
] | 2 | 2018-06-21T14:42:27.000Z | 2018-12-10T06:15:46.000Z | rbnf/core/parser_algo/for_atom.py | thautwarm/Ruiko | cceec88c90f7ec95c160cfda01bfc532610985e0 | [
"MIT"
] | 2 | 2018-06-18T10:43:20.000Z | 2019-05-06T13:51:51.000Z | from ..ParserC import Composed, Atom, Parser, LRFunc
from ..Tokenizer import Tokenizer
from ..State import State
from ..Result import *
from ..AST import *
from Redy.Opt import feature, constexpr, const, goto, label
from typing import Sequence, List
staging = (const, constexpr)
@Atom.match.case(Atom.Any)
def _any_m... | 30.764851 | 79 | 0.565291 | 1,348 | 12,429 | 5.040059 | 0.069733 | 0.060053 | 0.047395 | 0.02355 | 0.824257 | 0.782602 | 0.732411 | 0.706653 | 0.691492 | 0.6204 | 0 | 0.000625 | 0.356585 | 12,429 | 403 | 80 | 30.841191 | 0.848943 | 0.005391 | 0 | 0.672131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088525 | false | 0.003279 | 0.022951 | 0.006557 | 0.304918 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
95f1fe0019b672e234542bcf13339869b178fc79 | 24 | py | Python | amalgkit/__init__.py | kfuku52/amalgk | aae10f9590cb37eac357dc1b6c1d93be2a44d0d2 | [
"BSD-3-Clause"
] | 3 | 2019-10-22T08:06:03.000Z | 2021-11-29T01:44:18.000Z | amalgkit/__init__.py | kfuku52/amalgk | aae10f9590cb37eac357dc1b6c1d93be2a44d0d2 | [
"BSD-3-Clause"
] | 91 | 2019-04-04T12:12:27.000Z | 2022-03-11T13:14:43.000Z | amalgkit/__init__.py | kfuku52/amalgk | aae10f9590cb37eac357dc1b6c1d93be2a44d0d2 | [
"BSD-3-Clause"
] | 1 | 2021-11-24T13:55:49.000Z | 2021-11-24T13:55:49.000Z | __version__ = '0.6.4.12' | 24 | 24 | 0.666667 | 5 | 24 | 2.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.083333 | 24 | 1 | 24 | 24 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0.32 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
25135e0bc8e659cdbe63c01b10813387c0498960 | 282 | py | Python | python/anyascii/_data/_2b0.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_2b0.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_2b0.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' Shi Min Jian Chu Dang Ba Zhuan Li Wu Wei Shuang Min Gui Fei Ai Su Sa Jiu Kou' | 282 | 282 | 0.20922 | 20 | 282 | 2.95 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.780142 | 282 | 1 | 282 | 282 | 0.951613 | 0 | 0 | 0 | 0 | 0 | 0.982332 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2528940931640539cbcda0608b0e324519dbdba6 | 129 | py | Python | Obiora_Fortune/Phase1/Python Basic 1/Task2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Obiora_Fortune/Phase1/Python Basic 1/Task2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Obiora_Fortune/Phase1/Python Basic 1/Task2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | '''
2. Write a Python program to get the Python version you are using
Tools: sys module
'''
#2
import sys
print(sys.version) | 16.125 | 65 | 0.705426 | 22 | 129 | 4.136364 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.20155 | 129 | 8 | 66 | 16.125 | 0.864078 | 0.689922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
c2669ef97b9535d329b8261deb940b094031d909 | 137 | py | Python | run.py | earthza001/hack-Facebook-through-the-loophole | f81113f577e849c4f76f5015a6f95bef9ac38201 | [
"Unlicense"
] | null | null | null | run.py | earthza001/hack-Facebook-through-the-loophole | f81113f577e849c4f76f5015a6f95bef9ac38201 | [
"Unlicense"
] | null | null | null | run.py | earthza001/hack-Facebook-through-the-loophole | f81113f577e849c4f76f5015a6f95bef9ac38201 | [
"Unlicense"
] | null | null | null | import os
print ("กำลังค้นหาช่องโหว่.....")
os.system("wget https://google.com")
os.system("clear")
time.sleep(7)
os.system(clear)
| 19.571429 | 36 | 0.649635 | 28 | 137 | 3.357143 | 0.75 | 0.255319 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.109489 | 137 | 6 | 37 | 22.833333 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0.372263 | 0.167883 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c2775cb35ba3f4f16401c150f17f17831e17093c | 214 | py | Python | geospacepy/__init__.py | rmcgranaghan/geospacepy-lite | 9fe60d312fd88bc184b4ed7a358f6f069be02f3b | [
"MIT"
] | null | null | null | geospacepy/__init__.py | rmcgranaghan/geospacepy-lite | 9fe60d312fd88bc184b4ed7a358f6f069be02f3b | [
"MIT"
] | null | null | null | geospacepy/__init__.py | rmcgranaghan/geospacepy-lite | 9fe60d312fd88bc184b4ed7a358f6f069be02f3b | [
"MIT"
] | null | null | null | """
Geospacepy init file
"""
#import yaml,pkg_resources
#config_file_as_str = pkg_resources.resource_string(__name__,'geospacepy_config')
from geospacepy import geospacepy_config
config = geospacepy_config.config
| 23.777778 | 81 | 0.831776 | 27 | 214 | 6.111111 | 0.518519 | 0.290909 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 214 | 8 | 82 | 26.75 | 0.841837 | 0.588785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c293a387c96cbbeced31fc20445df6d57f9290e4 | 11,016 | py | Python | mypeople.py | MatheusMatozo/Library-software-01 | 9b6f745226bec25de4563d2fe9d9f378e0530a8d | [
"MIT"
] | null | null | null | mypeople.py | MatheusMatozo/Library-software-01 | 9b6f745226bec25de4563d2fe9d9f378e0530a8d | [
"MIT"
] | null | null | null | mypeople.py | MatheusMatozo/Library-software-01 | 9b6f745226bec25de4563d2fe9d9f378e0530a8d | [
"MIT"
] | null | null | null | from tkinter import *
import sqlite3
import addpeople
from tkinter import messagebox
con=sqlite3.connect('database.db')
cur = con.cursor()
class MyPoeple(Toplevel):
def __init__(self):
Toplevel.__init__(self)
self.geometry("650x650+620+200")
self.title("My Poeple")
self.resizable(... | 40.058182 | 141 | 0.608115 | 1,447 | 11,016 | 4.511403 | 0.130615 | 0.075827 | 0.027574 | 0.029871 | 0.788756 | 0.738358 | 0.738358 | 0.729013 | 0.709406 | 0.702206 | 0 | 0.048103 | 0.241376 | 11,016 | 274 | 142 | 40.20438 | 0.733038 | 0.026235 | 0 | 0.656716 | 0 | 0 | 0.113408 | 0.001991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039801 | false | 0 | 0.019901 | 0 | 0.074627 | 0.014925 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c2a8282782b8bfb50e02fa31ee322656d45baf66 | 63 | py | Python | happy_shop/models/__init__.py | xingfuggz/django-happy-shop | a20e4ba4cbafa0673bf9e20fdef127942a2fa94a | [
"MIT"
] | null | null | null | happy_shop/models/__init__.py | xingfuggz/django-happy-shop | a20e4ba4cbafa0673bf9e20fdef127942a2fa94a | [
"MIT"
] | null | null | null | happy_shop/models/__init__.py | xingfuggz/django-happy-shop | a20e4ba4cbafa0673bf9e20fdef127942a2fa94a | [
"MIT"
] | null | null | null | from .models import *
from .goods import *
from .order import * | 21 | 21 | 0.730159 | 9 | 63 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 22 | 21 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c2e20e6babf99770230957051803db2d0ee1ee07 | 201 | py | Python | tests/custom/test_code_to_empty.py | arkhn/cleaning-scripts | ffe88598b476b2e6b53fd06e8ce6092ef0351b19 | [
"Apache-2.0"
] | 9 | 2019-03-31T03:46:51.000Z | 2020-05-20T13:05:06.000Z | tests/custom/test_code_to_empty.py | arkhn/cleaning-scripts | ffe88598b476b2e6b53fd06e8ce6092ef0351b19 | [
"Apache-2.0"
] | 18 | 2019-09-11T09:19:45.000Z | 2021-07-13T09:16:23.000Z | tests/custom/test_code_to_empty.py | arkhn/cleaning-scripts | ffe88598b476b2e6b53fd06e8ce6092ef0351b19 | [
"Apache-2.0"
] | 2 | 2019-09-18T15:20:10.000Z | 2021-07-25T06:46:57.000Z | from scripts import custom
def test_code_to_empty():
assert custom.code_to_empty("-1") is None
assert custom.code_to_empty("(sans)") is None
assert custom.code_to_empty("-2") is not None
| 25.125 | 49 | 0.726368 | 34 | 201 | 4.029412 | 0.470588 | 0.175182 | 0.321168 | 0.394161 | 0.591241 | 0.423358 | 0.423358 | 0 | 0 | 0 | 0 | 0.011905 | 0.164179 | 201 | 7 | 50 | 28.714286 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.049751 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c2fde775c4a09000b73fd86b431c8dade345b559 | 89 | py | Python | flask_accepts/__init__.py | cafetodev/flask_accepts | 6d3728a4008f360e0a208064f6620557d270bcdd | [
"BSD-3-Clause"
] | 170 | 2019-05-04T17:53:15.000Z | 2022-03-03T21:39:59.000Z | flask_accepts/__init__.py | cafetodev/flask_accepts | 6d3728a4008f360e0a208064f6620557d270bcdd | [
"BSD-3-Clause"
] | 104 | 2019-07-04T15:46:15.000Z | 2022-01-14T19:18:12.000Z | flask_accepts/__init__.py | cafetodev/flask_accepts | 6d3728a4008f360e0a208064f6620557d270bcdd | [
"BSD-3-Clause"
] | 55 | 2019-05-04T22:39:30.000Z | 2022-01-13T16:18:13.000Z | from .decorators import accepts, responds # noqa
from .utils import for_swagger # noqa
| 29.666667 | 49 | 0.775281 | 12 | 89 | 5.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 2 | 50 | 44.5 | 0.918919 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6c29557f512672b61aa24e4293816d64e408668b | 44 | py | Python | api/python/remote.py | SKKU-ESLAB/ANT | 5b4c7bdd32224854e86525500fbc0f02616439c0 | [
"Apache-2.0"
] | 21 | 2017-09-21T03:42:36.000Z | 2021-10-12T06:32:27.000Z | api/python/remote.py | SKKU-ESLAB/ANT | 5b4c7bdd32224854e86525500fbc0f02616439c0 | [
"Apache-2.0"
] | 156 | 2017-09-21T12:36:13.000Z | 2021-12-20T13:20:51.000Z | api/python/remote.py | SKKU-ESLAB/ANT | 5b4c7bdd32224854e86525500fbc0f02616439c0 | [
"Apache-2.0"
] | 24 | 2017-09-21T03:42:41.000Z | 2021-10-12T06:36:49.000Z | def ANTRemoteUI():
raise NotImplemented
| 14.666667 | 24 | 0.75 | 4 | 44 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 25 | 22 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
66649226f4038358cf5130eae373debf3d58eed9 | 583 | py | Python | generate_assets.py | Kovak/YACS | cfb9edd27363eccb9b7f4aefd3b59074efafb979 | [
"MIT"
] | 10 | 2015-06-18T03:27:22.000Z | 2020-05-18T11:00:43.000Z | generate_assets.py | Kovak/YACS | cfb9edd27363eccb9b7f4aefd3b59074efafb979 | [
"MIT"
] | null | null | null | generate_assets.py | Kovak/YACS | cfb9edd27363eccb9b7f4aefd3b59074efafb979 | [
"MIT"
] | 5 | 2016-03-10T00:05:10.000Z | 2019-03-29T09:49:21.000Z | from geometry import draw_layered_regular_polygon
def generate_shield_model(radius, width):
radius_color_dict = {1: (radius, (255, 255, 255, 0)),
2: (2., (255, 255, 255, 0)),
2: (.4*width, (255, 255, 255, 125)),
3: (.1*width, (255, 25... | 53 | 71 | 0.439108 | 71 | 583 | 3.43662 | 0.352113 | 0.319672 | 0.258197 | 0.122951 | 0.286885 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0.248555 | 0.406518 | 583 | 11 | 72 | 53 | 0.456647 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
666e812232e47585198f68d51169628a66c36ff6 | 2,516 | py | Python | xinshuo_visualization/test/image_vis/test_visualize_image_with_pts.py | xinshuoweng/cv_ml_tool | 1918b9e37ec5fb8148b8a089f226a4864d67b153 | [
"MIT"
] | 31 | 2020-03-05T12:27:21.000Z | 2022-03-07T04:00:18.000Z | xinshuo_visualization/test/image_vis/test_visualize_image_with_pts.py | xinshuoweng/cv_ml_tool | 1918b9e37ec5fb8148b8a089f226a4864d67b153 | [
"MIT"
] | null | null | null | xinshuo_visualization/test/image_vis/test_visualize_image_with_pts.py | xinshuoweng/cv_ml_tool | 1918b9e37ec5fb8148b8a089f226a4864d67b153 | [
"MIT"
] | 12 | 2020-07-06T05:06:58.000Z | 2021-11-18T14:43:20.000Z | # Author: Xinshuo Weng
# email: xinshuo.weng@gmail.com
import numpy as np
from PIL import Image
import init_paths
from xinshuo_visualization import visualize_image_with_pts
def test_visualize_image_with_pts():
image_path = '../lena.png'
print('testing basic')
img = Image.open(image_path).convert('L')
pts_array =... | 34.944444 | 91 | 0.692369 | 422 | 2,516 | 3.890995 | 0.165877 | 0.107186 | 0.153471 | 0.17905 | 0.782582 | 0.722899 | 0.702801 | 0.702801 | 0.673569 | 0.648599 | 0 | 0.096671 | 0.128378 | 2,516 | 72 | 92 | 34.944444 | 0.652075 | 0.019873 | 0 | 0.509091 | 0 | 0 | 0.107955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.072727 | 0 | 0.090909 | 0.218182 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
668593d9bf3a477f2b611516f9344b29b307cbf6 | 27 | py | Python | Utils/__init__.py | mst-solar-car/kicad-bom-generator | 2aae905056d06f3d25343a8d784049c141d05640 | [
"MIT"
] | 3 | 2018-02-26T12:31:41.000Z | 2020-10-10T14:14:11.000Z | Utils/__init__.py | mst-solar-car/kicad-bom-generator | 2aae905056d06f3d25343a8d784049c141d05640 | [
"MIT"
] | null | null | null | Utils/__init__.py | mst-solar-car/kicad-bom-generator | 2aae905056d06f3d25343a8d784049c141d05640 | [
"MIT"
] | null | null | null | from .string_utils import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
66911cd21f5e749f9569cc58b621e2d971e4d9b3 | 43 | py | Python | example_package/calculations.py | kevinglasson/example-package | 5fa750850c2c060e8cfdea8aca347df094c2d18e | [
"MIT"
] | null | null | null | example_package/calculations.py | kevinglasson/example-package | 5fa750850c2c060e8cfdea8aca347df094c2d18e | [
"MIT"
] | null | null | null | example_package/calculations.py | kevinglasson/example-package | 5fa750850c2c060e8cfdea8aca347df094c2d18e | [
"MIT"
] | null | null | null | def double(x: int) -> int:
return x * 2 | 21.5 | 26 | 0.55814 | 8 | 43 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.27907 | 43 | 2 | 27 | 21.5 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
669359d89273bdce7b720f99199951676b86af03 | 8,911 | py | Python | kscipy/data/job/ttypes.py | lbn/ksci | 53b30d2e5f0937d4040fcfd635c0642150e74388 | [
"MIT"
] | 5 | 2021-06-22T03:39:01.000Z | 2021-12-15T08:02:51.000Z | kscipy/data/job/ttypes.py | lbn/ksci | 53b30d2e5f0937d4040fcfd635c0642150e74388 | [
"MIT"
] | null | null | null | kscipy/data/job/ttypes.py | lbn/ksci | 53b30d2e5f0937d4040fcfd635c0642150e74388 | [
"MIT"
] | 1 | 2021-06-30T14:40:06.000Z | 2021-06-30T14:40:06.000Z | #
# Autogenerated by Thrift Compiler (0.14.1)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 33.626415 | 139 | 0.570755 | 1,023 | 8,911 | 4.743891 | 0.121212 | 0.027818 | 0.03709 | 0.0408 | 0.789821 | 0.753555 | 0.711313 | 0.697713 | 0.697713 | 0.69421 | 0 | 0.011466 | 0.314892 | 8,911 | 264 | 140 | 33.753788 | 0.783456 | 0.029851 | 0 | 0.720588 | 1 | 0 | 0.030186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102941 | false | 0 | 0.02451 | 0.044118 | 0.230392 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
66d349ca2257569d31fef875c182fa310d3f4893 | 189 | py | Python | lbworkflow/core/exceptions.py | MaxMorais/django-lb-workflow | 80c5ee4760fb9fee40b24e03cf6095c8215a2837 | [
"MIT"
] | 1 | 2021-12-06T00:41:30.000Z | 2021-12-06T00:41:30.000Z | lbworkflow/core/exceptions.py | MaxMorais/django-lb-workflow | 80c5ee4760fb9fee40b24e03cf6095c8215a2837 | [
"MIT"
] | null | null | null | lbworkflow/core/exceptions.py | MaxMorais/django-lb-workflow | 80c5ee4760fb9fee40b24e03cf6095c8215a2837 | [
"MIT"
] | 1 | 2021-12-06T00:42:14.000Z | 2021-12-06T00:42:14.000Z | class HttpResponseException(Exception):
def __init__(self, http_response):
super(HttpResponseException, self).__init__(http_response)
self.http_response = http_response
| 37.8 | 66 | 0.761905 | 19 | 189 | 6.947368 | 0.473684 | 0.363636 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 189 | 4 | 67 | 47.25 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
66e5306de7c2bbac799c5c3a2ec4687e61ca2f42 | 252 | py | Python | python/comfo/__init__.py | ti-mo/comfo | 9d6e04ef0540d399243ba317f3a0a168498acd5c | [
"MIT"
] | 3 | 2017-11-14T11:56:01.000Z | 2020-10-24T12:19:10.000Z | python/comfo/__init__.py | ti-mo/comfo | 9d6e04ef0540d399243ba317f3a0a168498acd5c | [
"MIT"
] | null | null | null | python/comfo/__init__.py | ti-mo/comfo | 9d6e04ef0540d399243ba317f3a0a168498acd5c | [
"MIT"
] | null | null | null | """
Comfo client to be used against the Go-based comfoserver API.
Wraps the generated Twirp (protobuf) methods to make them more Pythonic.
All public methods have asyncio variants with the 'async_' prefix.
"""
from .client import Comfo # noqa: F401
| 28 | 72 | 0.761905 | 38 | 252 | 5.026316 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014354 | 0.170635 | 252 | 8 | 73 | 31.5 | 0.899522 | 0.849206 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dd024955f78f14c4bbd6fcef7e38d163eee82040 | 262 | py | Python | Solo/GUI.py | feiticeiro-tec/banco-team-blue | a5524668b0b42377787804ff00bb4aebd9b3cbf0 | [
"MIT"
] | 3 | 2021-06-13T11:31:24.000Z | 2021-06-15T21:51:31.000Z | Solo/GUI.py | feiticeiro-tec/banco-team-blue | a5524668b0b42377787804ff00bb4aebd9b3cbf0 | [
"MIT"
] | 2 | 2021-06-12T12:55:40.000Z | 2021-06-12T15:17:37.000Z | Solo/GUI.py | feiticeiro-tec/banco-team-blue | a5524668b0b42377787804ff00bb4aebd9b3cbf0 | [
"MIT"
] | null | null | null | #+++++++++++++++++++++++++++++++++++++++++++++++++++
# Git: @faticeiro-tec - Inst: @spell_ware
# Banco Conceitual - Back <> Controll <> Front
#+++++++++++++++++++++++++++++++++++++++++++++++++++
from GUI import run
if __name__ == '__main__':
run() | 29.111111 | 53 | 0.374046 | 19 | 262 | 4.684211 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 262 | 9 | 54 | 29.111111 | 0.400901 | 0.748092 | 0 | 0 | 0 | 0 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dd1b1b60fe9748c15b407ad5ae41810f316c1c80 | 111 | py | Python | math_lib.py | cu-swe4s-fall-2020/version-control-mad232 | 6d40887deb637976bc68b2c085ba606aa6c44d8d | [
"MIT"
] | null | null | null | math_lib.py | cu-swe4s-fall-2020/version-control-mad232 | 6d40887deb637976bc68b2c085ba606aa6c44d8d | [
"MIT"
] | null | null | null | math_lib.py | cu-swe4s-fall-2020/version-control-mad232 | 6d40887deb637976bc68b2c085ba606aa6c44d8d | [
"MIT"
] | null | null | null | def div(a, b):
if b==0:
return "error"
else:
return a/b
def add(a,b):
return a+b
| 11.1 | 22 | 0.459459 | 20 | 111 | 2.55 | 0.5 | 0.156863 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.396396 | 111 | 9 | 23 | 12.333333 | 0.746269 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
dd52539d721588fedfb9705448829c107ce4e4a8 | 297 | py | Python | webApp/admin/endpoints.py | rbakash/flask-boilerplate | 58128ae0a3aec48b1917e4b362bb1bb68098bd67 | [
"MIT"
] | null | null | null | webApp/admin/endpoints.py | rbakash/flask-boilerplate | 58128ae0a3aec48b1917e4b362bb1bb68098bd67 | [
"MIT"
] | null | null | null | webApp/admin/endpoints.py | rbakash/flask-boilerplate | 58128ae0a3aec48b1917e4b362bb1bb68098bd67 | [
"MIT"
] | null | null | null |
# Contains all the endpoint related to the user authentication
from flask import render_template, redirect
from flask import render_template
from . import admin
# Renders the error.html page
@admin.route("/products")
def show():
return render_template('shop.html', title='Shop Products')
| 21.214286 | 62 | 0.771044 | 41 | 297 | 5.512195 | 0.634146 | 0.185841 | 0.132743 | 0.185841 | 0.256637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 297 | 13 | 63 | 22.846154 | 0.893281 | 0.296296 | 0 | 0 | 0 | 0 | 0.15122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
dd5fa9663257ce3d1873f60be03f58b5087660ac | 156 | py | Python | tacos/chicken/urls/v1/__init__.py | robinetbatman/figma-lottie | 3de5cd4a478d97ac4cd1bba87cfeac40e1778a8a | [
"MIT"
] | 22 | 2019-05-31T18:04:54.000Z | 2021-11-02T21:47:12.000Z | tacos/chicken/urls/v1/__init__.py | robinetbatman/figma-lottie | 3de5cd4a478d97ac4cd1bba87cfeac40e1778a8a | [
"MIT"
] | 15 | 2019-05-29T17:22:42.000Z | 2021-06-10T21:32:08.000Z | tacos/chicken/urls/v1/__init__.py | robinetbatman/figma-lottie | 3de5cd4a478d97ac4cd1bba87cfeac40e1778a8a | [
"MIT"
] | 1 | 2020-10-04T11:51:21.000Z | 2020-10-04T11:51:21.000Z | from django.urls import include, path
urlpatterns = [
path('', include('chicken.urls.v1.api')),
path('oauth', include('chicken.urls.v1.oauth')),
]
| 22.285714 | 52 | 0.660256 | 20 | 156 | 5.15 | 0.55 | 0.271845 | 0.349515 | 0.38835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.141026 | 156 | 6 | 53 | 26 | 0.753731 | 0 | 0 | 0 | 0 | 0 | 0.288462 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dd7a9e4d77d0173614d818bd10ce96aeaa177565 | 88 | py | Python | fakesite/http_auth/digest.py | akun/fakesite | 19d984011424dba9b9c7641e4ce3603605dd0d43 | [
"MIT"
] | 2 | 2015-12-20T06:57:20.000Z | 2022-03-17T10:26:57.000Z | fakesite/http_auth/digest.py | akun/fakesite | 19d984011424dba9b9c7641e4ce3603605dd0d43 | [
"MIT"
] | null | null | null | fakesite/http_auth/digest.py | akun/fakesite | 19d984011424dba9b9c7641e4ce3603605dd0d43 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from tornado.test.curl_httpclient_test import DigestAuthHandler
| 17.6 | 63 | 0.829545 | 12 | 88 | 5.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 4 | 64 | 22 | 0.8875 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dda1db34cf04b33722d91f21e62c06d26ae87e79 | 187 | py | Python | 5kyu/Luck_check/solution.py | wizh/codewars | bdb421720437a9fcafaa2eda8869a1cd4835bb47 | [
"MIT"
] | 1 | 2015-11-25T00:06:13.000Z | 2015-11-25T00:06:13.000Z | 5kyu/Luck_check/solution.py | wizh/codewars | bdb421720437a9fcafaa2eda8869a1cd4835bb47 | [
"MIT"
] | null | null | null | 5kyu/Luck_check/solution.py | wizh/codewars | bdb421720437a9fcafaa2eda8869a1cd4835bb47 | [
"MIT"
] | null | null | null | def luck_check(s):
if len(s) % 2 == 1:
s = s[:len(s)//2] + s[len(s)//2 + 1:]
return (sum(int(i) for i in s[:len(s)//2]) == sum(int(i)
for i in s[len(s)//2:]))
| 31.166667 | 60 | 0.427807 | 40 | 187 | 1.975 | 0.35 | 0.253165 | 0.316456 | 0.303797 | 0.481013 | 0.481013 | 0.481013 | 0.481013 | 0.481013 | 0.481013 | 0 | 0.05303 | 0.294118 | 187 | 5 | 61 | 37.4 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
06d5ce197b1ac0dfe731e5d32cca6a578511eb1b | 746 | py | Python | interact_blue.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | interact_blue.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | interact_blue.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | def open_door():
# TODO: This needs to be in the stdlib.
Driftwood.area.tilemap.layers[2].tile(4, 0).nowalk = None
Driftwood.area.tilemap.layers[2].tile(4, 0).setgid(27)
def open_door2():
Driftwood.area.tilemap.layers[2].tile(2, 0).nowalk = None
Driftwood.area.tilemap.layers[2].tile(2, 0).setgid(2... | 37.3 | 87 | 0.662198 | 111 | 746 | 4.324324 | 0.351351 | 0.1625 | 0.25 | 0.325 | 0.56875 | 0.45625 | 0.316667 | 0.316667 | 0.175 | 0 | 0 | 0.040323 | 0.168901 | 746 | 19 | 88 | 39.263158 | 0.733871 | 0.049598 | 0 | 0 | 0 | 0 | 0.134371 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.214286 | true | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
06de461999a368a89777aaba491918e4ee7d0980 | 206 | py | Python | bot/models/Group.py | Tuarisa/Secret-Santa-Bot | 5e741eba245e3fd4d12c1da595061b225493d36a | [
"MIT"
] | 12 | 2018-11-26T14:00:37.000Z | 2021-11-26T02:53:15.000Z | bot/models/Group.py | Tuarisa/Secret-Santa-Bot | 5e741eba245e3fd4d12c1da595061b225493d36a | [
"MIT"
] | 8 | 2018-11-28T09:49:27.000Z | 2021-11-29T04:28:10.000Z | bot/models/Group.py | Tuarisa/Secret-Santa-Bot | 5e741eba245e3fd4d12c1da595061b225493d36a | [
"MIT"
] | 12 | 2017-11-17T18:23:22.000Z | 2021-12-14T06:43:47.000Z | from sqlalchemy import Column, Integer
from bot.Base import Base
class Group(Base):
__tablename__ = 'groups'
id = Column(Integer(), primary_key=True)
telegram_id = Column(Integer)
| 18.727273 | 45 | 0.684466 | 25 | 206 | 5.4 | 0.64 | 0.288889 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228155 | 206 | 10 | 46 | 20.6 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
660b55524327ea3f603352bee07221f4c7ebc273 | 9,058 | py | Python | test/test_deadlock.py | tkilias/sqlalchemy_exasol | fa9566fb65f59dbc7d78f3e80a3d175925e171e3 | [
"BSD-2-Clause"
] | null | null | null | test/test_deadlock.py | tkilias/sqlalchemy_exasol | fa9566fb65f59dbc7d78f3e80a3d175925e171e3 | [
"BSD-2-Clause"
] | null | null | null | test/test_deadlock.py | tkilias/sqlalchemy_exasol | fa9566fb65f59dbc7d78f3e80a3d175925e171e3 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
import time
from threading import Thread
import pytest
from sqlalchemy import create_engine
from sqlalchemy.testing import fixtures, config
import sqlalchemy.testing as testing
from sqlalchemy_exasol.base import EXADialect
#TODO get_schema_names, get_view_names and get_view_definition didn't... | 42.327103 | 131 | 0.647052 | 1,052 | 9,058 | 5.326046 | 0.164449 | 0.043191 | 0.029984 | 0.037301 | 0.783866 | 0.763876 | 0.744601 | 0.721756 | 0.719258 | 0.667143 | 0 | 0.017884 | 0.253036 | 9,058 | 213 | 132 | 42.525822 | 0.810228 | 0.044491 | 0 | 0.607143 | 0 | 0.005952 | 0.150439 | 0.043941 | 0 | 0 | 0 | 0.004695 | 0 | 1 | 0.142857 | false | 0.011905 | 0.041667 | 0 | 0.214286 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
661e4ddef2b78d36040fddd182157a8081054391 | 45 | py | Python | hello.py | wSkyandStar/pythonflask01 | 07e19273e76bc20fdbbbe5c1f24f5307f5ce6955 | [
"Apache-2.0"
] | null | null | null | hello.py | wSkyandStar/pythonflask01 | 07e19273e76bc20fdbbbe5c1f24f5307f5ce6955 | [
"Apache-2.0"
] | null | null | null | hello.py | wSkyandStar/pythonflask01 | 07e19273e76bc20fdbbbe5c1f24f5307f5ce6955 | [
"Apache-2.0"
] | null | null | null | print('hello github')
print('second commit!') | 22.5 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 2 | 23 | 22.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b0c416f02eb0d2b5c7147b4c77fef6ccc49e3f04 | 113 | py | Python | pineboolib/q3widgets/qmenu.py | juanjosepablos/pineboo | f6ce515aec6e0139821bb9c1d62536d9fb50dae4 | [
"MIT"
] | null | null | null | pineboolib/q3widgets/qmenu.py | juanjosepablos/pineboo | f6ce515aec6e0139821bb9c1d62536d9fb50dae4 | [
"MIT"
] | 1 | 2017-10-30T22:00:48.000Z | 2017-11-11T19:34:32.000Z | pineboolib/q3widgets/qmenu.py | juanjosepablos/pineboo | f6ce515aec6e0139821bb9c1d62536d9fb50dae4 | [
"MIT"
] | 1 | 2017-10-30T20:16:38.000Z | 2017-10-30T20:16:38.000Z | """Qmenu module."""
from PyQt5 import QtWidgets
class QMenu(QtWidgets.QMenu):
"""QMenu class."""
pass
| 12.555556 | 29 | 0.646018 | 13 | 113 | 5.615385 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.19469 | 113 | 8 | 30 | 14.125 | 0.791209 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
b0d837435416b451da0541661c8dc2145b1ab779 | 44 | py | Python | docs/vscode/01-render-test.py | dmccreary/Python | 1ef12355b7933f2d566acdd22d5f8b25c4cbc40c | [
"MIT"
] | null | null | null | docs/vscode/01-render-test.py | dmccreary/Python | 1ef12355b7933f2d566acdd22d5f8b25c4cbc40c | [
"MIT"
] | null | null | null | docs/vscode/01-render-test.py | dmccreary/Python | 1ef12355b7933f2d566acdd22d5f8b25c4cbc40c | [
"MIT"
] | 1 | 2020-02-06T14:14:38.000Z | 2020-02-06T14:14:38.000Z | import turtle
t = turtle.Turtle()
t.fd(100)
| 11 | 19 | 0.704545 | 8 | 44 | 3.875 | 0.625 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.136364 | 44 | 3 | 20 | 14.666667 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7c036b4a397ea6e39dccb4f13f8057c5485eeb3f | 106 | py | Python | code/abc008_2_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc008_2_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc008_2_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | from collections import Counter
print(Counter([input() for i in range(int(input()))]).most_common()[0][0]) | 53 | 74 | 0.726415 | 17 | 106 | 4.470588 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.075472 | 106 | 2 | 74 | 53 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9fd8584d431a36fbf250f7aa29af34c33e615f35 | 24,357 | py | Python | plugins/_bitmaps.py | genericsoma/XRCed | c4f5077d81eb40e0d885c0be6a867ae17fefe31b | [
"BSD-2-Clause"
] | 27 | 2020-11-12T19:24:54.000Z | 2022-03-27T23:10:45.000Z | plugins/_bitmaps.py | genericsoma/XRCed | c4f5077d81eb40e0d885c0be6a867ae17fefe31b | [
"BSD-2-Clause"
] | 2 | 2020-11-02T06:30:39.000Z | 2022-02-23T18:39:55.000Z | plugins/_bitmaps.py | genericsoma/XRCed | c4f5077d81eb40e0d885c0be6a867ae17fefe31b | [
"BSD-2-Clause"
] | 7 | 2018-02-13T10:22:39.000Z | 2019-07-04T07:39:28.000Z | #----------------------------------------------------------------------
# This file was generated by ../encode_bitmaps.py
#
from wx.lib.embeddedimage import PyEmbeddedImage
wxDialog = PyEmbeddedImage(
"iVBORw0KGgoAAAANSUhEUgAAAE8AAABGCAYAAACNO8lOAAAABHNCSVQICAgIfAhkiAAACuBJ"
"REFUeJztnFtsHNd5x3/nnJld7nKXt9WFoi... | 75.642857 | 78 | 0.867389 | 952 | 24,357 | 22.191176 | 0.978992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153624 | 0.063555 | 24,357 | 321 | 79 | 75.878505 | 0.77259 | 0.01634 | 0 | 0.006494 | 1 | 0 | 0.902676 | 0.902342 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003247 | 0 | 0.003247 | 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 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9ff8f61976eff004aa5837591be6194d7e0cd3a8 | 42,756 | py | Python | osometweet/api.py | osome-iu/osometweet | 0db17955828f1e3c4e1c49a6cb177a7a6daa076c | [
"MIT"
] | 18 | 2021-01-11T19:42:38.000Z | 2022-02-28T09:44:29.000Z | osometweet/api.py | osome-iu/osometweet | 0db17955828f1e3c4e1c49a6cb177a7a6daa076c | [
"MIT"
] | 67 | 2021-01-09T15:33:06.000Z | 2022-02-02T21:31:30.000Z | osometweet/api.py | truthy/osometweet | 0db17955828f1e3c4e1c49a6cb177a7a6daa076c | [
"MIT"
] | 1 | 2021-01-11T19:42:44.000Z | 2021-01-11T19:42:44.000Z | """
The core osometweet collection of API methods.
"""
from typing import Union, Generator
from osometweet.utils import get_logger
from .oauth import OAuthHandler
from .fields import (
ObjectFields,
ObjectFieldsBase,
UserFields,
TweetFields,
MediaFields,
PollFields,
PlaceFields,
)
from .ex... | 35.809045 | 131 | 0.564856 | 4,525 | 42,756 | 5.267624 | 0.091271 | 0.00881 | 0.029913 | 0.022151 | 0.792625 | 0.775004 | 0.77018 | 0.756335 | 0.732212 | 0.706746 | 0 | 0.009898 | 0.333661 | 42,756 | 1,193 | 132 | 35.839061 | 0.826746 | 0.53244 | 0 | 0.598575 | 0 | 0 | 0.126562 | 0.029937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052257 | false | 0.007126 | 0.011876 | 0 | 0.114014 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b01fa49ea4f40f2eec0dc6f25f2b2366faaa996d | 178 | py | Python | comments/filters.py | umatbro/movies-db | 7935b9ff52b4a1da1b8a798a64bdc31e52f9698e | [
"MIT"
] | null | null | null | comments/filters.py | umatbro/movies-db | 7935b9ff52b4a1da1b8a798a64bdc31e52f9698e | [
"MIT"
] | 17 | 2019-03-16T13:30:12.000Z | 2020-06-05T20:04:22.000Z | comments/filters.py | umatbro/movies-db | 7935b9ff52b4a1da1b8a798a64bdc31e52f9698e | [
"MIT"
] | null | null | null | import django_filters
from comments.models import Comment
class CommentFilter(django_filters.FilterSet):
class Meta:
model = Comment
fields = ('movie_id',)
| 19.777778 | 46 | 0.713483 | 20 | 178 | 6.2 | 0.75 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213483 | 178 | 8 | 47 | 22.25 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b0440402f72a22ba8e6e61cf092d04fffa8beda7 | 27,846 | py | Python | lib/pysnmp/smi/mibs/SNMP-VIEW-BASED-ACM-MIB.py | lowitty/sendtrap | 63c194cecd9f4355f4a9edc244d80e54aa9ff0be | [
"MIT"
] | null | null | null | lib/pysnmp/smi/mibs/SNMP-VIEW-BASED-ACM-MIB.py | lowitty/sendtrap | 63c194cecd9f4355f4a9edc244d80e54aa9ff0be | [
"MIT"
] | null | null | null | lib/pysnmp/smi/mibs/SNMP-VIEW-BASED-ACM-MIB.py | lowitty/sendtrap | 63c194cecd9f4355f4a9edc244d80e54aa9ff0be | [
"MIT"
] | null | null | null | # PySNMP SMI module. Autogenerated from smidump -f python SNMP-VIEW-BASED-ACM-MIB
# by libsmi2pysnmp-0.1.3 at Tue Apr 3 16:57:42 2012,
# Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0)
# Imports
( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", ... | 248.625 | 2,569 | 0.786397 | 3,801 | 27,846 | 5.760063 | 0.199947 | 0.003837 | 0.005207 | 0.006943 | 0.326939 | 0.280396 | 0.235361 | 0.217183 | 0.195853 | 0.161917 | 0 | 0.028897 | 0.120125 | 27,846 | 111 | 2,570 | 250.864865 | 0.864699 | 0.011492 | 0 | 0 | 1 | 0.369048 | 0.657422 | 0.113732 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b04875b9bde1adae00640aa1096e825d9647702a | 52 | py | Python | reporec/app.py | dgasmith/reporec | c03fe2a32278a6cc7aac5e910c64d5df10f4ce61 | [
"BSD-3-Clause"
] | 3 | 2018-10-27T22:34:35.000Z | 2019-01-19T18:11:23.000Z | reporec/app.py | dgasmith/reporec | c03fe2a32278a6cc7aac5e910c64d5df10f4ce61 | [
"BSD-3-Clause"
] | 4 | 2018-10-27T22:36:40.000Z | 2019-01-19T18:20:09.000Z | reporec/app.py | dgasmith/reporec | c03fe2a32278a6cc7aac5e910c64d5df10f4ce61 | [
"BSD-3-Clause"
] | 2 | 2018-10-27T21:13:26.000Z | 2019-01-11T13:34:56.000Z | # import falcon
# api = application = falcon.API()
| 13 | 34 | 0.673077 | 6 | 52 | 5.833333 | 0.666667 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 52 | 3 | 35 | 17.333333 | 0.833333 | 0.884615 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c6d4a384e1d8f49786418a12a31939099d33170d | 310 | py | Python | ask/qa/views.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | ask/qa/views.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | ask/qa/views.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | # ask/qa
from django.shortcuts import render
from django.utils.html import escape
# Create your views here.
from django.http import HttpResponse
def test (request, *args, **kwargs):
return HttpResponse(escape(repr(request)))
def quest (request, *args, **kwargs):
return HttpResponse('QUEST IS OK') | 25.833333 | 46 | 0.73871 | 42 | 310 | 5.452381 | 0.619048 | 0.131004 | 0.148472 | 0.200873 | 0.305677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151613 | 310 | 12 | 47 | 25.833333 | 0.870722 | 0.096774 | 0 | 0 | 0 | 0 | 0.039568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
059ed401109d4670588d2d7a5cb6310bc534c8b7 | 266 | py | Python | katas/beta/rammstein_needs_your_help.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/rammstein_needs_your_help.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/rammstein_needs_your_help.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def feuer_frei(concentration, barrels):
fuel_hours = barrels * concentration
if fuel_hours < 100:
return '{} Stunden mehr Benzin ben\xf6tigt.'.format(100 - fuel_hours)
elif fuel_hours == 100:
return 'Perfekt!'
return fuel_hours - 100
| 33.25 | 77 | 0.672932 | 33 | 266 | 5.242424 | 0.545455 | 0.260116 | 0.208092 | 0.208092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063725 | 0.233083 | 266 | 7 | 78 | 38 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.161654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
05c15eaeb28505feb4dc8a9fd84472afc33bb3a8 | 44 | py | Python | setup/blender/init.py | tokejepsen/pype | 8f2b2b631cc5d3ad93eeb5ad3bc6110d32466ed3 | [
"MIT"
] | null | null | null | setup/blender/init.py | tokejepsen/pype | 8f2b2b631cc5d3ad93eeb5ad3bc6110d32466ed3 | [
"MIT"
] | null | null | null | setup/blender/init.py | tokejepsen/pype | 8f2b2b631cc5d3ad93eeb5ad3bc6110d32466ed3 | [
"MIT"
] | null | null | null | from pype import blender
blender.install()
| 11 | 24 | 0.795455 | 6 | 44 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 25 | 14.666667 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 5 |
05df36f1c84d19bc399b0a1652440997855ebcb8 | 91 | py | Python | built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/pytorch/utils/bbox_utils/assigner/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/pytorch/utils/bbox_utils/assigner/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 3 | 2021-03-31T20:15:40.000Z | 2022-02-09T23:50:46.000Z | built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/search_space/networks/pytorch/utils/bbox_utils/assigner/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | from .assign_result import AssignResult
from .all_neg_assigner import MaxIoUAllNegAssigner
| 30.333333 | 50 | 0.89011 | 11 | 91 | 7.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 51 | 45.5 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
05e5a142a0c151f0e3b13eeb576dc1fa3c336f25 | 126 | py | Python | app/main/__init__.py | KempinGe/KempinGe_Blog | 06e6c6bb68fa0a6cd424756794a0686010ce812d | [
"Apache-2.0"
] | null | null | null | app/main/__init__.py | KempinGe/KempinGe_Blog | 06e6c6bb68fa0a6cd424756794a0686010ce812d | [
"Apache-2.0"
] | null | null | null | app/main/__init__.py | KempinGe/KempinGe_Blog | 06e6c6bb68fa0a6cd424756794a0686010ce812d | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
from flask import Blueprint
main = Blueprint('main',__name__)
from . import errors,views
| 6.631579 | 33 | 0.634921 | 15 | 126 | 5.066667 | 0.733333 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.230159 | 126 | 18 | 34 | 7 | 0.773196 | 0.15873 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
af1267ba1946daf6b500635f15312000a103e166 | 24 | py | Python | enemy.py | frederikstroem/new-direction | 2c07dfa3cef31cf8c2c4d1ea481e85b70268d31e | [
"MIT"
] | null | null | null | enemy.py | frederikstroem/new-direction | 2c07dfa3cef31cf8c2c4d1ea481e85b70268d31e | [
"MIT"
] | null | null | null | enemy.py | frederikstroem/new-direction | 2c07dfa3cef31cf8c2c4d1ea481e85b70268d31e | [
"MIT"
] | null | null | null | class Enemy():
pass
| 8 | 14 | 0.583333 | 3 | 24 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 2 | 15 | 12 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
af1f4516ef55f93de6645d021e4e0d92f7fe525d | 161 | py | Python | reddit_backend/reddit/admin.py | cursedclock/reddit-backend | fb5989c758f5459e510f6599c9b9798424c17ba9 | [
"MIT"
] | 1 | 2022-01-30T17:27:44.000Z | 2022-01-30T17:27:44.000Z | reddit_backend/reddit/admin.py | cursedclock/reddit-backend | fb5989c758f5459e510f6599c9b9798424c17ba9 | [
"MIT"
] | null | null | null | reddit_backend/reddit/admin.py | cursedclock/reddit-backend | fb5989c758f5459e510f6599c9b9798424c17ba9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, UserProfile
# Register your models here.
admin.site.register(User)
admin.site.register(UserProfile)
| 20.125 | 37 | 0.807453 | 22 | 161 | 5.909091 | 0.545455 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 161 | 7 | 38 | 23 | 0.909091 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
af2379b7c278bc6d1a5094e29739f61d2b525c00 | 63 | py | Python | MonocularDepthEstimation/src/train/customlossfunction/__init__.py | csharpshooter/DeepLearning | c1d20660c32076468970f7376931e1fcd0d2644e | [
"MIT"
] | null | null | null | MonocularDepthEstimation/src/train/customlossfunction/__init__.py | csharpshooter/DeepLearning | c1d20660c32076468970f7376931e1fcd0d2644e | [
"MIT"
] | null | null | null | MonocularDepthEstimation/src/train/customlossfunction/__init__.py | csharpshooter/DeepLearning | c1d20660c32076468970f7376931e1fcd0d2644e | [
"MIT"
] | null | null | null | from .diceloss import DiceLoss
from .dicecoeff import DiceCoeff | 31.5 | 32 | 0.857143 | 8 | 63 | 6.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 2 | 32 | 31.5 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
afa27681a7ebe509ea8956268ea3493cff0f9d2e | 34 | py | Python | jawfish/static/script/Lib/site-packages/requests.py | NeolithEra/jawfish | 22fe222e607f0ad275860c75d81ab41114a18eb3 | [
"MIT"
] | 52 | 2016-08-08T15:08:19.000Z | 2022-03-23T09:48:53.000Z | jawfish/static/script/Lib/site-packages/requests.py | NeolithEra/jawfish | 22fe222e607f0ad275860c75d81ab41114a18eb3 | [
"MIT"
] | 6 | 2016-10-09T19:50:49.000Z | 2019-08-17T15:34:21.000Z | jawfish/static/script/Lib/site-packages/requests.py | NeolithEra/jawfish | 22fe222e607f0ad275860c75d81ab41114a18eb3 | [
"MIT"
] | 15 | 2017-02-03T03:08:57.000Z | 2021-08-04T06:11:15.000Z | from .requests import __init__.py
| 17 | 33 | 0.823529 | 5 | 34 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
afabf0ce2185370a7da3cb2701d2b97943bb83db | 177 | py | Python | tests/test_generate.py | mariushelf/factory_boss | b9f9c99ea731e2af1c6951f734e20ffe05ba1693 | [
"MIT"
] | 1 | 2021-06-03T12:47:17.000Z | 2021-06-03T12:47:17.000Z | tests/test_generate.py | mariushelf/factory_boss | b9f9c99ea731e2af1c6951f734e20ffe05ba1693 | [
"MIT"
] | 5 | 2021-05-25T12:46:00.000Z | 2021-05-27T18:32:37.000Z | tests/test_generate.py | mariushelf/factory_boss | b9f9c99ea731e2af1c6951f734e20ffe05ba1693 | [
"MIT"
] | null | null | null | from factory_boss.scripts.generate import main
def test_generate_does_not_raise():
main()
assert True, "if we reach this line then main() from generate did not raise"
| 25.285714 | 80 | 0.757062 | 28 | 177 | 4.607143 | 0.75 | 0.124031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175141 | 177 | 6 | 81 | 29.5 | 0.883562 | 0 | 0 | 0 | 1 | 0 | 0.344633 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
afd3f2778e5b09c6c945894e6e38c1c58540a462 | 229 | py | Python | {{ cookiecutter.project_slug }}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}_base.py | Chemios/cookiecutter-chemios | 0f937c438615177449aefee4d7bd1992ddc8f16b | [
"BSD-3-Clause"
] | null | null | null | {{ cookiecutter.project_slug }}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}_base.py | Chemios/cookiecutter-chemios | 0f937c438615177449aefee4d7bd1992ddc8f16b | [
"BSD-3-Clause"
] | null | null | null | {{ cookiecutter.project_slug }}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}_base.py | Chemios/cookiecutter-chemios | 0f937c438615177449aefee4d7bd1992ddc8f16b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Base Class for {{ cookiecutter.instrument_type}} """
from abc import ABC
class {{ cookiecutter.instrument_type.title().replace(' ', '').replace('-','') }}(ABC):
def __init__(self):
pass
| 20.818182 | 87 | 0.60262 | 25 | 229 | 5.28 | 0.72 | 0.333333 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.174672 | 229 | 10 | 88 | 22.9 | 0.693122 | 0.091703 | 0 | 0 | 0 | 0 | 0.013333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0.25 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
bb782d5ebe421abe4dbccd675c68b6da870b7cdb | 70 | py | Python | granule_ingester/granule_ingester/consumer/__init__.py | kevinmarlis/incubator-sdap-ingester | 7ee17fdf16201c499f7bd35cf398844f2c70f046 | [
"Apache-2.0"
] | null | null | null | granule_ingester/granule_ingester/consumer/__init__.py | kevinmarlis/incubator-sdap-ingester | 7ee17fdf16201c499f7bd35cf398844f2c70f046 | [
"Apache-2.0"
] | 1 | 2021-05-03T22:13:11.000Z | 2021-05-03T22:13:11.000Z | granule_ingester/granule_ingester/consumer/__init__.py | kevinmarlis/incubator-sdap-ingester | 7ee17fdf16201c499f7bd35cf398844f2c70f046 | [
"Apache-2.0"
] | null | null | null | from granule_ingester.consumer.MessageConsumer import MessageConsumer
| 35 | 69 | 0.914286 | 7 | 70 | 9 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 1 | 70 | 70 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bb7fa5bc494cf138b975c984dc3821302bfde18f | 86 | py | Python | examples/django_app/api/admin.py | nbxorg/webservices | e66e426b6eb7c91228667f2813a4a8bf70d5571d | [
"BSD-3-Clause"
] | 14 | 2015-11-24T08:56:32.000Z | 2022-03-13T22:52:42.000Z | examples/django_app/api/admin.py | nbxorg/webservices | e66e426b6eb7c91228667f2813a4a8bf70d5571d | [
"BSD-3-Clause"
] | 2 | 2015-11-25T06:29:13.000Z | 2016-05-10T15:00:06.000Z | examples/django_app/api/admin.py | nbxorg/webservices | e66e426b6eb7c91228667f2813a4a8bf70d5571d | [
"BSD-3-Clause"
] | 4 | 2016-06-08T22:41:05.000Z | 2018-07-25T18:09:06.000Z | from django.contrib import admin
from api.models import Key
admin.site.register(Key)
| 17.2 | 32 | 0.813953 | 14 | 86 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 86 | 4 | 33 | 21.5 | 0.921053 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bb95203ad6a90afd88ebecb43122665067f20470 | 39,647 | py | Python | tests/integration/test_api_networks_create.py | shildenbrand/GloboNetworkAPI-client-python | 728ea9d13e3004e62586f5eb6ae2eae2bc41a50e | [
"Apache-2.0"
] | 16 | 2015-05-09T16:33:01.000Z | 2019-10-24T19:06:03.000Z | tests/integration/test_api_networks_create.py | shildenbrand/GloboNetworkAPI-client-python | 728ea9d13e3004e62586f5eb6ae2eae2bc41a50e | [
"Apache-2.0"
] | 3 | 2019-08-09T20:18:12.000Z | 2019-11-11T17:23:48.000Z | tests/integration/test_api_networks_create.py | shildenbrand/GloboNetworkAPI-client-python | 728ea9d13e3004e62586f5eb6ae2eae2bc41a50e | [
"Apache-2.0"
] | 15 | 2015-02-03T17:10:59.000Z | 2021-05-14T21:01:37.000Z | # -*- coding: utf-8 -*-
import logging
import os
import sys
from itertools import izip
from time import time
from unittest import TestCase
from networkapiclient.ClientFactory import ClientFactory
log = logging.getLogger()
log.level = logging.DEBUG
stream_handler = logging.StreamHandler(sys.stdout)
log.addHandler(str... | 30.877726 | 87 | 0.446465 | 3,894 | 39,647 | 4.336415 | 0.063431 | 0.0456 | 0.053121 | 0.051167 | 0.783075 | 0.760156 | 0.715504 | 0.703482 | 0.672687 | 0.665166 | 0 | 0.075473 | 0.418165 | 39,647 | 1,283 | 88 | 30.901793 | 0.656537 | 0.138295 | 0 | 0.736674 | 0 | 0 | 0.186192 | 0.005998 | 0 | 0 | 0 | 0 | 0.00533 | 1 | 0.022388 | false | 0.007463 | 0.007463 | 0 | 0.03838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bba15f3003caa41222e3b892647e4f127a81af54 | 209 | py | Python | ddrr/templatetags/ddrr.py | denizdogan/django-debug-requests-responses | f4e76f167a9f2144849469a894f8bee65b6355d9 | [
"MIT"
] | 18 | 2019-05-18T01:51:59.000Z | 2021-09-28T17:00:56.000Z | ddrr/templatetags/ddrr.py | denizdogan/django-debug-requests-responses | f4e76f167a9f2144849469a894f8bee65b6355d9 | [
"MIT"
] | 6 | 2019-05-27T09:32:28.000Z | 2021-11-24T13:01:19.000Z | ddrr/templatetags/ddrr.py | denizdogan/django-debug-requests-responses | f4e76f167a9f2144849469a894f8bee65b6355d9 | [
"MIT"
] | 1 | 2021-12-01T10:43:25.000Z | 2021-12-01T10:43:25.000Z | from django import template
from django.utils.termcolors import colorize as dj_colorize
register = template.Library()
@register.filter
def colorize(value, fg):
return dj_colorize(value, tuple(), fg=fg)
| 20.9 | 59 | 0.77512 | 29 | 209 | 5.517241 | 0.586207 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133971 | 209 | 9 | 60 | 23.222222 | 0.883978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
bba2a21d55bfd7b513cbf079e63cad77a989712b | 3,472 | py | Python | test/test_mets_header.py | DILCISBoard/py-ip-validator | 1a00f7205d3676cf24c993076614fcbeb50cf8d7 | [
"Apache-2.0"
] | 2 | 2018-11-20T12:17:57.000Z | 2019-09-28T21:01:38.000Z | test/test_mets_header.py | DILCISBoard/py-ip-validator | 1a00f7205d3676cf24c993076614fcbeb50cf8d7 | [
"Apache-2.0"
] | 2 | 2020-06-15T09:28:44.000Z | 2020-06-18T10:30:26.000Z | test/test_mets_header.py | DILCISBoard/py-ip-validator | 1a00f7205d3676cf24c993076614fcbeb50cf8d7 | [
"Apache-2.0"
] | null | null | null | from base import Base
from metsvalidator.mets_validator_impl import validate
# In this class we test first the correct mets header element and then different error samples.
# If validation error was detected - validation result should be False.
class MetsHeaderTestCase(Base):
""" Tests for METS header element """... | 58.847458 | 154 | 0.799827 | 441 | 3,472 | 5.888889 | 0.1678 | 0.107817 | 0.150558 | 0.170196 | 0.768194 | 0.768194 | 0.768194 | 0.734309 | 0.695803 | 0.593762 | 0 | 0.00656 | 0.121832 | 3,472 | 58 | 155 | 59.862069 | 0.845195 | 0.056452 | 0 | 0.317073 | 0 | 0 | 0.25528 | 0.25528 | 0 | 0 | 0 | 0 | 0.317073 | 1 | 0.292683 | false | 0 | 0.04878 | 0 | 0.365854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bbca0296dd3dfc0866b4e452ed8724267e5ba873 | 40 | py | Python | build/lib/TopDownCrawl/__main__.py | bhcooper/TopDownCrawl | b02a5102d25810a4875b9bdf9a62a07e02715202 | [
"MIT"
] | null | null | null | build/lib/TopDownCrawl/__main__.py | bhcooper/TopDownCrawl | b02a5102d25810a4875b9bdf9a62a07e02715202 | [
"MIT"
] | null | null | null | build/lib/TopDownCrawl/__main__.py | bhcooper/TopDownCrawl | b02a5102d25810a4875b9bdf9a62a07e02715202 | [
"MIT"
] | null | null | null | from .TopDownCrawl import main
main() | 13.333333 | 31 | 0.75 | 5 | 40 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 3 | 32 | 13.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 5 |
bbce7724994cb0f64a0a8e7ce81df29db33a46db | 45,206 | py | Python | examples/regcoilPaper_figure10d_constArclengthAngle/tests.py | landreman/regcoil | 99f9abf8b0b0c6ec7bb6e7975dbee5e438808162 | [
"BSD-2-Clause"
] | 5 | 2017-05-26T14:08:43.000Z | 2020-12-30T10:22:26.000Z | examples/regcoilPaper_figure10d_constArclengthAngle/tests.py | landreman/regcoil | 99f9abf8b0b0c6ec7bb6e7975dbee5e438808162 | [
"BSD-2-Clause"
] | 8 | 2018-02-17T07:44:41.000Z | 2020-06-30T20:34:25.000Z | examples/regcoilPaper_figure10d_constArclengthAngle/tests.py | landreman/regcoil | 99f9abf8b0b0c6ec7bb6e7975dbee5e438808162 | [
"BSD-2-Clause"
] | 4 | 2016-12-13T18:15:05.000Z | 2019-06-07T20:58:01.000Z | #!/usr/bin/env python
# This python script checks the output file for an example to
# see if the results are close to expected values. This script may be
# run directly, and it is also called when "make test" is run from the
# main REGCOIL directory.
execfile('../testsCommon.py')
absoluteTolerance = 1e-100
numFail... | 664.794118 | 42,315 | 0.820732 | 4,567 | 45,206 | 8.121305 | 0.5739 | 0.000809 | 0.002265 | 0.004206 | 0.00852 | 0.006525 | 0.005311 | 0.004044 | 0.004044 | 0.004044 | 0 | 0.834684 | 0.055302 | 45,206 | 67 | 42,316 | 674.716418 | 0.033813 | 0.014025 | 0 | 0.217391 | 0 | 0 | 0.002177 | 0.000763 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.021739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bbe8c803a83dffd2b3a2f1bab9d9019db789e702 | 346 | py | Python | model/__init__.py | Jueast/VLAE_Pytorch | 8373390008d611909997e4a3de8396f617d53a49 | [
"MIT"
] | null | null | null | model/__init__.py | Jueast/VLAE_Pytorch | 8373390008d611909997e4a3de8396f617d53a49 | [
"MIT"
] | null | null | null | model/__init__.py | Jueast/VLAE_Pytorch | 8373390008d611909997e4a3de8396f617d53a49 | [
"MIT"
] | null | null | null | try: # Works for python 3
from model.abstract_VAE import *
from model.flat_VAE import NaiveVAE, BetaVAE, MMDVAE
from model.VLAE import VLAE, MMDVLAE, CNNVLAE
from model.VAEGAN import VAEGAN
except: # Works for python 2
from abstract_VAE import *
from flat_VAE import NaiveVAE, BetaVAE
from... | 38.444444 | 56 | 0.734104 | 50 | 346 | 5 | 0.4 | 0.144 | 0.112 | 0.168 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.219653 | 346 | 9 | 57 | 38.444444 | 0.918519 | 0.106936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bbf143f66e157fac98547bafc00821b89194b690 | 223 | py | Python | homebot/formatter/__init__.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | homebot/formatter/__init__.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | homebot/formatter/__init__.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | """Formatter package."""
from homebot.formatter.base import Formatter, StringFormat
from homebot.formatter import help, slack # pylint: disable=redefined-builtin
__all__ = ['help', 'slack', 'Formatter', 'StringFormat']
| 27.875 | 78 | 0.753363 | 24 | 223 | 6.833333 | 0.583333 | 0.134146 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112108 | 223 | 7 | 79 | 31.857143 | 0.828283 | 0.237668 | 0 | 0 | 0 | 0 | 0.182927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a52bc5e80de5124ed23e93e1f9d1aeceba1a301e | 237 | py | Python | fima/viz/__init__.py | gpiantoni/fima | 52bba27409f99dc22f3495e3adc907201f69387e | [
"MIT"
] | null | null | null | fima/viz/__init__.py | gpiantoni/fima | 52bba27409f99dc22f3495e3adc907201f69387e | [
"MIT"
] | null | null | null | fima/viz/__init__.py | gpiantoni/fima | 52bba27409f99dc22f3495e3adc907201f69387e | [
"MIT"
] | null | null | null | """Functions to plot the results of the analyses"""
from .tfr_chan import plot_tfr
from .tfr_time import plot_tfr_time
from .surf import plot_surf
from .utils import to_div, to_html, to_png
from .freqtime import plot_conditions_per_chan
| 33.857143 | 51 | 0.818565 | 42 | 237 | 4.333333 | 0.47619 | 0.21978 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 237 | 6 | 52 | 39.5 | 0.879227 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a5323eafd7866ac3b6e89b60864f4f1936c8acd2 | 908 | py | Python | tests/conftest.py | dlce-eva/python-nexus | 44cd8eeece1522b2839fbf4d586913ccdef7fbfc | [
"BSD-2-Clause"
] | 7 | 2020-12-16T14:17:15.000Z | 2021-12-11T00:26:04.000Z | tests/conftest.py | dlce-eva/python-nexus | 44cd8eeece1522b2839fbf4d586913ccdef7fbfc | [
"BSD-2-Clause"
] | 13 | 2021-01-19T11:58:47.000Z | 2022-03-28T20:52:28.000Z | tests/conftest.py | dlce-eva/python-nexus | 44cd8eeece1522b2839fbf4d586913ccdef7fbfc | [
"BSD-2-Clause"
] | null | null | null | import pathlib
import pytest
from nexus import NexusReader
@pytest.fixture
def regression():
return pathlib.Path(__file__).parent / 'regression'
@pytest.fixture
def examples():
return pathlib.Path(__file__).parent / 'examples'
@pytest.fixture
def make_reader(examples):
def _make(fname):
retu... | 17.132075 | 55 | 0.746696 | 116 | 908 | 5.62069 | 0.224138 | 0.199387 | 0.220859 | 0.184049 | 0.455521 | 0.253067 | 0 | 0 | 0 | 0 | 0 | 0.002574 | 0.144273 | 908 | 52 | 56 | 17.461538 | 0.836551 | 0 | 0 | 0.28125 | 0 | 0 | 0.131057 | 0.050661 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.09375 | 0.28125 | 0.71875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a57b37f5374bf5a218628f6acd4b14bde5c12f49 | 83 | py | Python | graphite_feeder/handler/event/appliance/light/lux_balancing/__init__.py | majamassarini/automate-graphite-feeder | 0f17f99bbdaab86e10e0b7d424d055ff44fc4ca0 | [
"MIT"
] | null | null | null | graphite_feeder/handler/event/appliance/light/lux_balancing/__init__.py | majamassarini/automate-graphite-feeder | 0f17f99bbdaab86e10e0b7d424d055ff44fc4ca0 | [
"MIT"
] | null | null | null | graphite_feeder/handler/event/appliance/light/lux_balancing/__init__.py | majamassarini/automate-graphite-feeder | 0f17f99bbdaab86e10e0b7d424d055ff44fc4ca0 | [
"MIT"
] | null | null | null | from graphite_feeder.handler.event.appliance.light.lux_balancing import brightness
| 41.5 | 82 | 0.891566 | 11 | 83 | 6.545455 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 83 | 1 | 83 | 83 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a5a762e11b57e4879fd377c407e2c50e04d1ac0a | 38,784 | py | Python | multibeam_em712/decode.py | sustain-lab/multibeam-em712 | 90b2999f9ac2c605fd516d1e7317b343819a6fca | [
"MIT"
] | null | null | null | multibeam_em712/decode.py | sustain-lab/multibeam-em712 | 90b2999f9ac2c605fd516d1e7317b343819a6fca | [
"MIT"
] | null | null | null | multibeam_em712/decode.py | sustain-lab/multibeam-em712 | 90b2999f9ac2c605fd516d1e7317b343819a6fca | [
"MIT"
] | null | null | null | import glob
import os
import sys
import struct
import time
import datetime
import utm
import xml.etree.ElementTree as ET
import requests
import dateutil.parser
times = []
tides = []
noTides = -1
min_e = min_n = 99.0
max_e = max_n = 0.0
start_t = stop_t = -1
lastidt = 0
outfile = 0
# Version 2 ... | 40.782334 | 204 | 0.621261 | 4,357 | 38,784 | 5.387423 | 0.139775 | 0.005368 | 0.024922 | 0.00409 | 0.773144 | 0.761811 | 0.750522 | 0.745495 | 0.742768 | 0.742768 | 0 | 0.029219 | 0.288753 | 38,784 | 950 | 205 | 40.825263 | 0.821715 | 0.121545 | 0 | 0.680628 | 0 | 0.001309 | 0.03387 | 0.008664 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009162 | false | 0 | 0.013089 | 0 | 0.028796 | 0.013089 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a5b7581b7b30a01fc9e62df612d303ae57d22d2e | 255 | py | Python | backend/exceptions.py | jacklee1792/spiggy | 8ebb8d3d5465cce1dc45691a914e31922fb5b3cc | [
"MIT"
] | 9 | 2021-05-17T01:53:46.000Z | 2021-12-29T04:05:32.000Z | backend/exceptions.py | jacklee1792/spiggy | 8ebb8d3d5465cce1dc45691a914e31922fb5b3cc | [
"MIT"
] | null | null | null | backend/exceptions.py | jacklee1792/spiggy | 8ebb8d3d5465cce1dc45691a914e31922fb5b3cc | [
"MIT"
] | 4 | 2021-05-22T15:13:42.000Z | 2021-08-22T16:08:18.000Z | class ResponseCodeError(Exception):
"""
Called when the Skyblock API returns an unexpected response code.
"""
pass
class UnexpectedUpdateError(Exception):
"""
Called when the Skyblock API updates during a cache.
"""
pass
| 19.615385 | 69 | 0.67451 | 27 | 255 | 6.37037 | 0.703704 | 0.174419 | 0.22093 | 0.255814 | 0.383721 | 0.383721 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247059 | 255 | 12 | 70 | 21.25 | 0.895833 | 0.462745 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a5ba932544970f9ce5e419f6c1317abd2ad2ec15 | 2,418 | py | Python | project/lib/decorators.py | feilaoda/FlickBoard | 21e6364117e336f4eb60d83f496d9fc1cb2784ae | [
"MIT"
] | 2 | 2016-07-21T08:52:30.000Z | 2017-06-15T06:31:30.000Z | project/lib/decorators.py | feilaoda/FlickBoard | 21e6364117e336f4eb60d83f496d9fc1cb2784ae | [
"MIT"
] | null | null | null | project/lib/decorators.py | feilaoda/FlickBoard | 21e6364117e336f4eb60d83f496d9fc1cb2784ae | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import functools
import urllib
from tornado.web import HTTPError
from tornado.options import options
def admin(method):
"""Decorate with this method to restrict to site admins."""
@functools.wraps(method)
def wrapper(self, *args, **kwargs):
if not self.curren... | 32.675676 | 86 | 0.528122 | 264 | 2,418 | 4.765152 | 0.227273 | 0.069952 | 0.066773 | 0.075517 | 0.762321 | 0.762321 | 0.762321 | 0.73132 | 0.696343 | 0.626391 | 0 | 0.010478 | 0.368486 | 2,418 | 73 | 87 | 33.123288 | 0.81336 | 0.118693 | 0 | 0.803571 | 0 | 0 | 0.010401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.071429 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3c18277e5812880a771803b7a7fd0aad9a5386c9 | 36 | py | Python | ndscheduler/core/scheduler/__init__.py | hairbeartoe/ndscheduler | a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9 | [
"BSD-2-Clause"
] | 3 | 2019-06-28T08:30:10.000Z | 2021-09-10T20:55:41.000Z | ndscheduler/core/scheduler/__init__.py | hairbeartoe/ndscheduler | a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9 | [
"BSD-2-Clause"
] | 1 | 2017-11-16T23:49:21.000Z | 2017-11-16T23:49:21.000Z | ndscheduler/core/scheduler/__init__.py | hairbeartoe/ndscheduler | a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9 | [
"BSD-2-Clause"
] | 3 | 2017-02-09T19:32:31.000Z | 2017-05-04T05:43:13.000Z | """Customize the core scheduler."""
| 18 | 35 | 0.694444 | 4 | 36 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.78125 | 0.805556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3c3e0f15f06a0c26582ddd69a84fda03cc532bab | 172 | py | Python | mealie/routes/groups/groups.py | BryceStevenWilley/mealie | 20c3873980f6d5d01e86ce6ef7915d95a06d8f6a | [
"MIT"
] | 1,927 | 2021-01-02T20:01:15.000Z | 2022-03-31T22:49:18.000Z | mealie/routes/groups/groups.py | BryceStevenWilley/mealie | 20c3873980f6d5d01e86ce6ef7915d95a06d8f6a | [
"MIT"
] | 545 | 2021-01-02T20:32:28.000Z | 2022-03-31T23:37:08.000Z | mealie/routes/groups/groups.py | BryceStevenWilley/mealie | 20c3873980f6d5d01e86ce6ef7915d95a06d8f6a | [
"MIT"
] | 254 | 2021-01-03T00:20:07.000Z | 2022-03-23T22:37:21.000Z | from fastapi import APIRouter
from mealie.routes.groups import crud
router = APIRouter()
router.include_router(crud.admin_router)
router.include_router(crud.user_router)
| 21.5 | 40 | 0.837209 | 24 | 172 | 5.833333 | 0.5 | 0.185714 | 0.271429 | 0.328571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087209 | 172 | 7 | 41 | 24.571429 | 0.89172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3c44b927bd9a26aa5bca72bcff60d5b394aa30b8 | 30 | py | Python | voxelbotutils/__init__.py | 6days9weeks/Novus | a21157f15d7a07669cb75b3f023bd9eedf40e40e | [
"MIT"
] | 2 | 2022-01-22T16:05:42.000Z | 2022-01-22T16:06:07.000Z | voxelbotutils/__init__.py | 6days9weeks/Novus | a21157f15d7a07669cb75b3f023bd9eedf40e40e | [
"MIT"
] | null | null | null | voxelbotutils/__init__.py | 6days9weeks/Novus | a21157f15d7a07669cb75b3f023bd9eedf40e40e | [
"MIT"
] | null | null | null | from discord.ext.vbu import *
| 15 | 29 | 0.766667 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b1db715b8bd221b0d4a24e82568870f2a297c12b | 49 | py | Python | ssds/abc/__init__.py | claytsay/ssds-python | 7396c6b7271710a82001ab91d92ef8bd33108a0e | [
"Apache-2.0"
] | 1 | 2020-07-04T23:11:56.000Z | 2020-07-04T23:11:56.000Z | ssds/abc/__init__.py | claytsay/ssds-python | 7396c6b7271710a82001ab91d92ef8bd33108a0e | [
"Apache-2.0"
] | null | null | null | ssds/abc/__init__.py | claytsay/ssds-python | 7396c6b7271710a82001ab91d92ef8bd33108a0e | [
"Apache-2.0"
] | null | null | null | from ssds.abc.PriorityQueue import PriorityQueue
| 24.5 | 48 | 0.877551 | 6 | 49 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5901d1fe8bbc5cf85f31d69745fef7d43d2146f9 | 18,360 | py | Python | tests/aws/test_s3.py | kislerdm/cloud-connectors | 1a6ab99df7dbbac333fe69873fda1090e0d0b0b1 | [
"MIT"
] | null | null | null | tests/aws/test_s3.py | kislerdm/cloud-connectors | 1a6ab99df7dbbac333fe69873fda1090e0d0b0b1 | [
"MIT"
] | null | null | null | tests/aws/test_s3.py | kislerdm/cloud-connectors | 1a6ab99df7dbbac333fe69873fda1090e0d0b0b1 | [
"MIT"
] | 1 | 2020-06-29T02:12:56.000Z | 2020-06-29T02:12:56.000Z | # pylint: disable=missing-function-docstring
import os
import sys
import json
import inspect
import warnings
import logging
from moto import mock_s3 # type: ignore
import boto3 # type: ignore
from cloud_connectors.aws import s3 as module
logging.basicConfig(level=logging.ERROR, format="[line: %(lineno)s] %(message)... | 31.438356 | 100 | 0.602669 | 2,176 | 18,360 | 4.887868 | 0.081801 | 0.062053 | 0.036856 | 0.051805 | 0.817131 | 0.796352 | 0.766924 | 0.73176 | 0.670741 | 0.652407 | 0 | 0.011963 | 0.266993 | 18,360 | 583 | 101 | 31.492281 | 0.778347 | 0.00512 | 0 | 0.651613 | 0 | 0 | 0.235639 | 0.01829 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036559 | false | 0 | 0.019355 | 0 | 0.055914 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5924e9896781e7e3e7fb3b91f233b0c24adf0dff | 29 | py | Python | python/queue/test/__init__.py | mario21ic/abstract-data-structures | 2bf89db8cff4cf79c66d63eb84a96c33cda6cebd | [
"MIT"
] | null | null | null | python/queue/test/__init__.py | mario21ic/abstract-data-structures | 2bf89db8cff4cf79c66d63eb84a96c33cda6cebd | [
"MIT"
] | null | null | null | python/queue/test/__init__.py | mario21ic/abstract-data-structures | 2bf89db8cff4cf79c66d63eb84a96c33cda6cebd | [
"MIT"
] | null | null | null | from .queue import TestQueue
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5950646a90e5da1c806b92ea4f610c1fb6403e41 | 146 | py | Python | gluoncv/model_zoo/fpn/__init__.py | Angzz/gluon-cv-fpn | fc66b2c2fa97bc65e811aabe9d9d0cd16dc198ec | [
"Apache-2.0"
] | 10 | 2019-01-16T10:08:37.000Z | 2022-02-23T06:13:30.000Z | gluoncv/model_zoo/fpn/__init__.py | Angzz/gluon-cv-fpn | fc66b2c2fa97bc65e811aabe9d9d0cd16dc198ec | [
"Apache-2.0"
] | 1 | 2019-01-18T06:42:59.000Z | 2019-01-18T12:26:11.000Z | gluoncv/model_zoo/fpn/__init__.py | Angzz/gluon-cv-fpn | fc66b2c2fa97bc65e811aabe9d9d0cd16dc198ec | [
"Apache-2.0"
] | 1 | 2019-08-30T12:03:58.000Z | 2019-08-30T12:03:58.000Z | # pylint: disable=wildcard-import
"""Feature Pyramid Networks for Object Detection."""
from __future__ import absolute_import
from .fpn import *
| 24.333333 | 52 | 0.787671 | 18 | 146 | 6.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 146 | 5 | 53 | 29.2 | 0.859375 | 0.541096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
59513023e24543daebceff77b4dde77a52375a46 | 184 | py | Python | example/efilling/apps.py | realnoobs/django-efilling | c105671d122d2f9b35320f12d9bb616f23ccd735 | [
"MIT"
] | 1 | 2021-09-15T17:12:13.000Z | 2021-09-15T17:12:13.000Z | example/efilling/apps.py | realnoobs/django-efilling | c105671d122d2f9b35320f12d9bb616f23ccd735 | [
"MIT"
] | null | null | null | example/efilling/apps.py | realnoobs/django-efilling | c105671d122d2f9b35320f12d9bb616f23ccd735 | [
"MIT"
] | 1 | 2021-09-12T14:08:05.000Z | 2021-09-12T14:08:05.000Z | from django.apps import AppConfig as BaseAppConfig
class AppConfig(BaseAppConfig):
name = "example.efilling"
label = "example_efilling"
verbose_name = "Example Efilling"
| 23 | 50 | 0.75 | 20 | 184 | 6.8 | 0.65 | 0.330882 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 184 | 7 | 51 | 26.285714 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
3cc449bfce0d1a7fc1ae281d24df391b5822c948 | 207 | py | Python | gan/modern-art-gen/settings.py | m3ngineer/ds-cookbook | 933b4518e296c777555f742c908438eb12ae760f | [
"MIT"
] | null | null | null | gan/modern-art-gen/settings.py | m3ngineer/ds-cookbook | 933b4518e296c777555f742c908438eb12ae760f | [
"MIT"
] | null | null | null | gan/modern-art-gen/settings.py | m3ngineer/ds-cookbook | 933b4518e296c777555f742c908438eb12ae760f | [
"MIT"
] | null | null | null | import os
# Path to training dataset
ORIGINAL_IMAGES_PATH = os.environ.get('ORIGINAL_IMAGES_PATH')
# Path to store thumbnails of training dataset
RESIZED_IMAGES_PATH = os.environ.get('RESIZED_IMAGES_PATH')
| 29.571429 | 61 | 0.816425 | 31 | 207 | 5.193548 | 0.451613 | 0.248447 | 0.223602 | 0.236025 | 0.273292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10628 | 207 | 6 | 62 | 34.5 | 0.87027 | 0.333333 | 0 | 0 | 0 | 0 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3cdf85384e49fcc0bdcd42c654ae6e6cb6aa0d8b | 129 | py | Python | FaceSwap-master/pytorch_stylegan_encoder/InterFaceGAN/models/stylegan_tf_official/dnnlib/submission/run_context.py | CSID-DGU/-2020-1-OSSP1-ninetynine-2 | b1824254882eeea0ee44e4e60896b72c51ef1d2c | [
"MIT"
] | 1 | 2020-06-21T13:45:26.000Z | 2020-06-21T13:45:26.000Z | FaceSwap-master/pytorch_stylegan_encoder/InterFaceGAN/models/stylegan_tf_official/dnnlib/submission/run_context.py | CSID-DGU/-2020-1-OSSP1-ninetynine-2 | b1824254882eeea0ee44e4e60896b72c51ef1d2c | [
"MIT"
] | null | null | null | FaceSwap-master/pytorch_stylegan_encoder/InterFaceGAN/models/stylegan_tf_official/dnnlib/submission/run_context.py | CSID-DGU/-2020-1-OSSP1-ninetynine-2 | b1824254882eeea0ee44e4e60896b72c51ef1d2c | [
"MIT"
] | 3 | 2020-09-02T03:18:45.000Z | 2021-01-27T08:24:05.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:826c78ae9230314c70bd91ec7d777a152cc4afbfe99a1da1c544153d819a2b84
size 4349
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.390244 | 0.046512 | 129 | 3 | 76 | 43 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3cfda4b519d16e9bba71990c255e8e086aed5b86 | 3,323 | py | Python | tavern/testutils/comparators.py | rubyszu/tavern | 47766d1474f5f2b951ca482c41c055d4c79a7b13 | [
"MIT"
] | null | null | null | tavern/testutils/comparators.py | rubyszu/tavern | 47766d1474f5f2b951ca482c41c055d4c79a7b13 | [
"MIT"
] | null | null | null | tavern/testutils/comparators.py | rubyszu/tavern | 47766d1474f5f2b951ca482c41c055d4c79a7b13 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def dict_equal(src_data,dst_data):
assert type(src_data) == type(dst_data),"type: '{}' != '{}'".format(type(src_data), type(dst_data))
if isinstance(src_data,dict):
for key in src_data:
assert dst_data.has_key(key)
dict_equal(src_data[... | 35.351064 | 103 | 0.719831 | 454 | 3,323 | 4.914097 | 0.132159 | 0.212013 | 0.207978 | 0.272972 | 0.66069 | 0.623935 | 0.51636 | 0.51636 | 0.47333 | 0.41013 | 0 | 0.000371 | 0.187782 | 3,323 | 94 | 104 | 35.351064 | 0.826232 | 0.00632 | 0 | 0.126761 | 0 | 0 | 0.010906 | 0 | 0 | 0 | 0 | 0 | 0.43662 | 1 | 0.295775 | false | 0 | 0 | 0 | 0.323944 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a7394acf7227facb07b975690f92ba5aabcb481d | 130 | py | Python | examples/docker/emloop_example/dummy/__init__.py | iterait/shepherd | 0847c9885584378dd68a48c40d03f9bb02b2b57c | [
"MIT"
] | 5 | 2018-10-13T19:03:07.000Z | 2019-02-25T06:44:27.000Z | examples/docker/emloop_example/dummy/__init__.py | iterait/shepherd | 0847c9885584378dd68a48c40d03f9bb02b2b57c | [
"MIT"
] | 62 | 2018-09-13T08:03:39.000Z | 2022-01-03T09:05:54.000Z | examples/docker/emloop_example/dummy/__init__.py | iterait/shepherd | 0847c9885584378dd68a48c40d03f9bb02b2b57c | [
"MIT"
] | null | null | null | from .dummy_dataset import DummyDataset
from .dummy_model import DummyModel
from .post_process_dataset import PostProcessDataset
| 26 | 52 | 0.876923 | 16 | 130 | 6.875 | 0.625 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 4 | 53 | 32.5 | 0.940171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
595c88dc21f98daed29cce83946c50a8db669e6c | 136 | py | Python | django/app_whoami/urls.py | a-rey/aaronmreyes_heroku | f397741ec33a35c318b6e4d51837b352183085f9 | [
"MIT"
] | 1 | 2022-03-12T22:23:44.000Z | 2022-03-12T22:23:44.000Z | django/app_whoami/urls.py | a-rey/docker_website | f397741ec33a35c318b6e4d51837b352183085f9 | [
"MIT"
] | 2 | 2020-04-07T22:09:50.000Z | 2020-04-07T22:09:50.000Z | django/app_whoami/urls.py | a-rey/docker_website | f397741ec33a35c318b6e4d51837b352183085f9 | [
"MIT"
] | null | null | null | import django.conf.urls
import app_whoami.views
urlpatterns = [
django.conf.urls.url(r'^$', app_whoami.views.main, name='main'),
]
| 15.111111 | 66 | 0.713235 | 20 | 136 | 4.75 | 0.6 | 0.210526 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 136 | 8 | 67 | 17 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
59778ad8e3aac09bdb8cfae07283d5c76df2e611 | 415 | py | Python | PruebaFinal/apps/encargado/models.py | Estuardiaz2611/PruebaFinalC | 3bec3f5f9c158744827e633c01d6a106125f56f3 | [
"MIT"
] | 1 | 2020-05-28T19:40:40.000Z | 2020-05-28T19:40:40.000Z | PruebaFinal/apps/encargado/models.py | Estuardiaz2611/PruebaFinalC | 3bec3f5f9c158744827e633c01d6a106125f56f3 | [
"MIT"
] | null | null | null | PruebaFinal/apps/encargado/models.py | Estuardiaz2611/PruebaFinalC | 3bec3f5f9c158744827e633c01d6a106125f56f3 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Encargado(models.Model):
nombre_encargado = models.CharField(max_length=50)
apellido_encargado = models.CharField(max_length=50)
genero = models.CharField(max_length=10)
nombre_usuario = models.CharField(max_length=20)
fecha_nacimiento ... | 29.642857 | 56 | 0.742169 | 52 | 415 | 5.673077 | 0.557692 | 0.20339 | 0.244068 | 0.325424 | 0.237288 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0.022857 | 0.156627 | 415 | 13 | 57 | 31.923077 | 0.82 | 0.057831 | 0 | 0 | 0 | 0 | 0.005141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
59797193d4d89e3913f0f6cd9235aa982ca818a3 | 87 | py | Python | models/__init__.py | sanjaybasu/claimsrisk | 13fcb365232a3c6ef643dc583e872a8b8852bf37 | [
"MIT"
] | 1 | 2021-06-14T20:11:03.000Z | 2021-06-14T20:11:03.000Z | models/__init__.py | sanjaybasu/claimsrisk | 13fcb365232a3c6ef643dc583e872a8b8852bf37 | [
"MIT"
] | null | null | null | models/__init__.py | sanjaybasu/claimsrisk | 13fcb365232a3c6ef643dc583e872a8b8852bf37 | [
"MIT"
] | 1 | 2020-01-31T19:54:52.000Z | 2020-01-31T19:54:52.000Z | from .LinReg import LinReg
from .XGBoost import XGBoost
from .LightGBM import LightGBM
| 21.75 | 30 | 0.827586 | 12 | 87 | 6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 31 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
597eb3779d9694f14a5de3ad55ff8c6e40342374 | 101 | py | Python | src/__init__.py | lauryndbrown/AdvancedLaneFinding | 644633623d01db2d267c9090d55853633f09e050 | [
"MIT"
] | null | null | null | src/__init__.py | lauryndbrown/AdvancedLaneFinding | 644633623d01db2d267c9090d55853633f09e050 | [
"MIT"
] | null | null | null | src/__init__.py | lauryndbrown/AdvancedLaneFinding | 644633623d01db2d267c9090d55853633f09e050 | [
"MIT"
] | null | null | null | #from __future__ import absolute_import
import os
os.path.dirname(os.path.abspath(''))
print(os.path) | 25.25 | 39 | 0.792079 | 16 | 101 | 4.6875 | 0.5625 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 101 | 4 | 40 | 25.25 | 0.797872 | 0.376238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5994ac58aa4b297c98a2234d119d32ff078f86ef | 170 | py | Python | Begining/admin.py | Waleed-Daud/Alzitoona | 0f8cd859dfab722050e56dc3001cd5a6c1440c97 | [
"Apache-2.0"
] | null | null | null | Begining/admin.py | Waleed-Daud/Alzitoona | 0f8cd859dfab722050e56dc3001cd5a6c1440c97 | [
"Apache-2.0"
] | null | null | null | Begining/admin.py | Waleed-Daud/Alzitoona | 0f8cd859dfab722050e56dc3001cd5a6c1440c97 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from Begining.models import Student,Professor
admin.site.register(Student)
admin.site.register(Professor)
| 21.25 | 45 | 0.823529 | 23 | 170 | 6.086957 | 0.565217 | 0.128571 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 170 | 7 | 46 | 24.285714 | 0.915033 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
59a2b9baf24f3530e907183c528c273725d11e26 | 152 | py | Python | src/category/apps.py | NestorMonroy/GreatKart | c417faed7e1ec430fd676b58f618cb66e7c07785 | [
"MIT"
] | null | null | null | src/category/apps.py | NestorMonroy/GreatKart | c417faed7e1ec430fd676b58f618cb66e7c07785 | [
"MIT"
] | null | null | null | src/category/apps.py | NestorMonroy/GreatKart | c417faed7e1ec430fd676b58f618cb66e7c07785 | [
"MIT"
] | null | null | null | """ Category app """
from django.apps import AppConfig
class CategoryAppConfig(AppConfig):
""" Category app config """
name = 'src.category'
| 16.888889 | 35 | 0.677632 | 16 | 152 | 6.4375 | 0.75 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190789 | 152 | 8 | 36 | 19 | 0.837398 | 0.217105 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
59bb0ddb8d7ada50d005208b1d40d0f9b202d0a0 | 23 | py | Python | Chapter 01/Chap01_Example1.174.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.174.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.174.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | print(complex('Seven')) | 23 | 23 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 23 | 1 | 23 | 23 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
59d0aa590b5e8abd13aa5652b58b2992b4a91f7f | 148 | py | Python | BasicExerciseAndKnowledge/w3cschool/n40_reverse_a_list.py | Jonathan1214/learn-python | 19d0299b30e953069f19402bff5c464c4d5580be | [
"MIT"
] | null | null | null | BasicExerciseAndKnowledge/w3cschool/n40_reverse_a_list.py | Jonathan1214/learn-python | 19d0299b30e953069f19402bff5c464c4d5580be | [
"MIT"
] | null | null | null | BasicExerciseAndKnowledge/w3cschool/n40_reverse_a_list.py | Jonathan1214/learn-python | 19d0299b30e953069f19402bff5c464c4d5580be | [
"MIT"
] | null | null | null | #coding:utf-8
# 题目:将一个数组逆序输出。
lt = [12, 34, 45, 43]
def print_in_reverse(lt):
for item in lt[::-1]:
print item,
print_in_reverse(lt)
| 13.454545 | 25 | 0.614865 | 26 | 148 | 3.346154 | 0.653846 | 0.16092 | 0.321839 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.222973 | 148 | 10 | 26 | 14.8 | 0.669565 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.6 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ab73c6336a48fb0e20223352874a6f2440af6957 | 166 | py | Python | retinanet/dataloader/__init__.py | lchen-wyze/retinanet-tensorflow2.x | 86404a2da6ec636d4b1aef768ac52f018c127798 | [
"Apache-2.0"
] | 36 | 2020-09-23T13:32:47.000Z | 2022-03-29T18:53:58.000Z | retinanet/dataloader/__init__.py | lchen-wyze/retinanet-tensorflow2.x | 86404a2da6ec636d4b1aef768ac52f018c127798 | [
"Apache-2.0"
] | 12 | 2020-10-25T09:07:58.000Z | 2021-11-17T12:53:50.000Z | retinanet/dataloader/__init__.py | lchen-wyze/retinanet-tensorflow2.x | 86404a2da6ec636d4b1aef768ac52f018c127798 | [
"Apache-2.0"
] | 9 | 2020-11-12T20:03:06.000Z | 2022-01-03T12:40:48.000Z | from retinanet.dataloader.input_pipeline import InputPipeline
from retinanet.dataloader.utils import normalize_image
__all__ = ['InputPipeline', 'normalize_image']
| 27.666667 | 61 | 0.843373 | 18 | 166 | 7.388889 | 0.611111 | 0.195489 | 0.345865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 166 | 5 | 62 | 33.2 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ab7e979e821166a0728af2dfbd80eb7cfe49b239 | 2,258 | py | Python | tests/test_MessengerHookAttachments.py | iizs/PyDooray | ec42d8814fbe6936469f8f25c9cd1e7222fab23e | [
"MIT"
] | 17 | 2021-12-05T23:36:01.000Z | 2022-01-08T04:41:52.000Z | tests/test_MessengerHookAttachments.py | iizs/PyDooray | ec42d8814fbe6936469f8f25c9cd1e7222fab23e | [
"MIT"
] | null | null | null | tests/test_MessengerHookAttachments.py | iizs/PyDooray | ec42d8814fbe6936469f8f25c9cd1e7222fab23e | [
"MIT"
] | null | null | null | import unittest
import dooray
class TestMessengerHookAttachments(unittest.TestCase):
def testCreateAttachment(self):
self.assertEqual(dooray.MessengerHookAttachments._create_attachment(None, None, None, None), None)
self.assertEqual(
dooray.MessengerHookAttachments._create_attachment(... | 43.423077 | 109 | 0.570416 | 218 | 2,258 | 5.816514 | 0.12844 | 0.088328 | 0.165615 | 0.35489 | 0.87224 | 0.84306 | 0.7847 | 0.711356 | 0.600158 | 0.512618 | 0 | 0 | 0.26085 | 2,258 | 51 | 110 | 44.27451 | 0.759736 | 0 | 0 | 0.319149 | 0 | 0 | 0.221435 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 1 | 0.042553 | false | 0 | 0.042553 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
abaff3c431ad4030441ad4e634e3de19421837d5 | 112 | py | Python | molecule_ignite/test/conftest.py | ragingpastry/molecule-ignite | aaf005cabba9a8c933191458cf8553da9bac581d | [
"MIT"
] | 17 | 2020-02-19T08:16:49.000Z | 2022-02-05T08:16:42.000Z | molecule_ignite/test/conftest.py | ragingpastry/molecule-ignite | aaf005cabba9a8c933191458cf8553da9bac581d | [
"MIT"
] | 13 | 2020-02-18T15:32:06.000Z | 2022-03-31T10:58:34.000Z | molecule_ignite/test/conftest.py | ragingpastry/molecule-ignite | aaf005cabba9a8c933191458cf8553da9bac581d | [
"MIT"
] | 11 | 2020-02-18T16:24:29.000Z | 2022-03-28T11:44:51.000Z | """Pytest Fixtures."""
import pytest # noqa
from molecule.test.conftest import random_string, temp_dir # noqa
| 28 | 66 | 0.758929 | 15 | 112 | 5.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 3 | 67 | 37.333333 | 0.85567 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
abe1d93fbf63dc5adb730da8c93bcefc1e3efb5e | 105 | py | Python | fusion/scheduling/batch_size.py | SheaCai/optimus | e9a9a2354376c786d7e6c64e34dee2c2010e5585 | [
"MIT"
] | 3 | 2021-05-05T06:55:38.000Z | 2022-02-19T06:19:59.000Z | fusion/scheduling/batch_size.py | SheaCai/optimus | e9a9a2354376c786d7e6c64e34dee2c2010e5585 | [
"MIT"
] | null | null | null | fusion/scheduling/batch_size.py | SheaCai/optimus | e9a9a2354376c786d7e6c64e34dee2c2010e5585 | [
"MIT"
] | null | null | null |
def init(bs):
global batch_size
batch_size = bs
def get_batch_size():
return batch_size
| 9.545455 | 21 | 0.666667 | 16 | 105 | 4.0625 | 0.5 | 0.553846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 105 | 10 | 22 | 10.5 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e6110dc25d5258c7631b8bea33a6beb104cc6f69 | 790 | py | Python | Taller Estructuras de Control Selectivas/punto10.py | Diegof2612/Algoritmos-y-Programaci-n-Talleres | 2aa645adac5d4de1037b60138e7b3a09807b3f13 | [
"MIT"
] | null | null | null | Taller Estructuras de Control Selectivas/punto10.py | Diegof2612/Algoritmos-y-Programaci-n-Talleres | 2aa645adac5d4de1037b60138e7b3a09807b3f13 | [
"MIT"
] | null | null | null | Taller Estructuras de Control Selectivas/punto10.py | Diegof2612/Algoritmos-y-Programaci-n-Talleres | 2aa645adac5d4de1037b60138e7b3a09807b3f13 | [
"MIT"
] | 1 | 2021-08-04T16:40:29.000Z | 2021-08-04T16:40:29.000Z | """
ENTRADAS
salario_bruto-->float-->salario_bruto
SALIDAS
sueldo_neto-->float-->salario_neto
"""
salario_bruto=float(input("Digite el salario bruto ")
sueldo_neto=0.0#float
if(salario_bruto>=5_000_000):
salario_neto=salario_bruto*0.10+salario_bruto
print("El salario neto es: ",salario_neto)
elif(salario_bruto>=4_3... | 34.347826 | 53 | 0.792405 | 129 | 790 | 4.542636 | 0.217054 | 0.389079 | 0.1843 | 0.235495 | 0.716724 | 0.716724 | 0.578498 | 0.476109 | 0.476109 | 0.40273 | 0 | 0.070442 | 0.083544 | 790 | 23 | 54 | 34.347826 | 0.73895 | 0 | 0 | 0.235294 | 0 | 0 | 0.174419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.294118 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e665496d739cfabf457f8edcdeaf68e80f3f0c5f | 73 | py | Python | src/constellix/protocol/__init__.py | aperim/python-constellix | 11cb19fce5cc00aefd14f8ac6bf63dc2f98731ae | [
"CC0-1.0"
] | null | null | null | src/constellix/protocol/__init__.py | aperim/python-constellix | 11cb19fce5cc00aefd14f8ac6bf63dc2f98731ae | [
"CC0-1.0"
] | null | null | null | src/constellix/protocol/__init__.py | aperim/python-constellix | 11cb19fce5cc00aefd14f8ac6bf63dc2f98731ae | [
"CC0-1.0"
] | null | null | null | """Protocol Support for Constellix API"""
from .protocol import Protocol | 24.333333 | 41 | 0.780822 | 9 | 73 | 6.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 3 | 42 | 24.333333 | 0.890625 | 0.479452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
054a24e69f73d6f042e41e5b4f45fe80f621042a | 219 | py | Python | scrape/src/__main__.py | kagemeka/akibasouken-python | 0805404b0c2b3acefa45a28610a85cacc7771450 | [
"MIT"
] | null | null | null | scrape/src/__main__.py | kagemeka/akibasouken-python | 0805404b0c2b3acefa45a28610a85cacc7771450 | [
"MIT"
] | null | null | null | scrape/src/__main__.py | kagemeka/akibasouken-python | 0805404b0c2b3acefa45a28610a85cacc7771450 | [
"MIT"
] | null | null | null | import typing
from lib.adam import update_current_animes
def main():
update_current_animes()
def lambda_handler(event, context) -> typing.NoReturn:
update_current_animes()
if __name__ == '__main__':
main() | 13.6875 | 54 | 0.748858 | 28 | 219 | 5.321429 | 0.607143 | 0.261745 | 0.38255 | 0.295302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 219 | 16 | 55 | 13.6875 | 0.801075 | 0 | 0 | 0.25 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
055b80ba6fa663a5c08682d83086afe31145a153 | 98 | py | Python | python/basics/random-number.py | u1i/snippets | cc61b5ecaede1d1013df51c7b1b6ab10d927f95c | [
"MIT"
] | 1 | 2018-06-24T15:40:40.000Z | 2018-06-24T15:40:40.000Z | python/basics/random-number.py | u1i/snippets | cc61b5ecaede1d1013df51c7b1b6ab10d927f95c | [
"MIT"
] | null | null | null | python/basics/random-number.py | u1i/snippets | cc61b5ecaede1d1013df51c7b1b6ab10d927f95c | [
"MIT"
] | null | null | null | from random import randint
# print random number between 0 and 9 (inclusive)
print(randint(0,9))
| 19.6 | 49 | 0.765306 | 16 | 98 | 4.6875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.153061 | 98 | 4 | 50 | 24.5 | 0.855422 | 0.479592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
552c58b9afcecafbc55cf66bf03ae6389c79263a | 262 | py | Python | stud_api/student/models.py | Neeraj2701/numpy | bbc3167427eb8ecafeee3c5c9606b3532405dd96 | [
"BSD-3-Clause"
] | null | null | null | stud_api/student/models.py | Neeraj2701/numpy | bbc3167427eb8ecafeee3c5c9606b3532405dd96 | [
"BSD-3-Clause"
] | null | null | null | stud_api/student/models.py | Neeraj2701/numpy | bbc3167427eb8ecafeee3c5c9606b3532405dd96 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
class Stud(models.Model):
Stud_ID=models.CharField(max_length=10)
Stud_Name=models.CharField(max_length=20)
Department=models.CharField(max_length=15)
Marks=models.IntegerField()
def __str__(self):
return self.Stud_Name
| 18.714286 | 43 | 0.790076 | 39 | 262 | 5.051282 | 0.589744 | 0.228426 | 0.274112 | 0.365482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025532 | 0.103053 | 262 | 13 | 44 | 20.153846 | 0.812766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
554874a08b9af6eb97c17e6ce0b9feffc93efbd0 | 472 | py | Python | pyrealtime/__init__.py | ewhitmire/pyrealtime | 5cfd37ff7b05cf33d2aab9b9f45188ddf7c76db4 | [
"MIT"
] | 62 | 2017-07-27T18:09:14.000Z | 2021-07-19T00:09:40.000Z | pyrealtime/__init__.py | ewhitmire/pyrealtime | 5cfd37ff7b05cf33d2aab9b9f45188ddf7c76db4 | [
"MIT"
] | 24 | 2017-06-24T03:26:45.000Z | 2020-11-11T15:24:29.000Z | pyrealtime/__init__.py | ewhitmire/pyrealtime | 5cfd37ff7b05cf33d2aab9b9f45188ddf7c76db4 | [
"MIT"
] | 15 | 2017-07-02T23:22:25.000Z | 2020-10-28T15:23:58.000Z | # from .audio_layers import *
from .decode_layer import *
from .input_layers import *
from .layer import *
from .layer_manager import *
from .network_layers import *
from .pygame import *
from .record_layer import *
from .script_layers import *
from .serial_layer import *
from .utility_layers import *
from .utils impor... | 26.222222 | 29 | 0.769068 | 64 | 472 | 5.515625 | 0.328125 | 0.481586 | 0.271955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 472 | 18 | 30 | 26.222222 | 0.8825 | 0.057203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
5556eed02044751bc94ee833a2c89fa805f8a02d | 42 | py | Python | algo/__init__.py | softarts/tradebook | bdce9206e94147e93c547edb2d1d2aebd17f2f9c | [
"Apache-2.0"
] | null | null | null | algo/__init__.py | softarts/tradebook | bdce9206e94147e93c547edb2d1d2aebd17f2f9c | [
"Apache-2.0"
] | null | null | null | algo/__init__.py | softarts/tradebook | bdce9206e94147e93c547edb2d1d2aebd17f2f9c | [
"Apache-2.0"
] | null | null | null | #from . import period_perf as period_perf2 | 42 | 42 | 0.833333 | 7 | 42 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.119048 | 42 | 1 | 42 | 42 | 0.864865 | 0.97619 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
556645ed45c0298764132b4eeb8302441534b013 | 90 | py | Python | src/error.py | kbinani/dxrip | ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908 | [
"MIT"
] | 4 | 2015-09-23T14:12:07.000Z | 2021-10-04T21:03:32.000Z | src/error.py | kbinani/dxrip | ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908 | [
"MIT"
] | null | null | null | src/error.py | kbinani/dxrip | ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908 | [
"MIT"
] | 2 | 2018-06-26T14:59:11.000Z | 2021-09-01T01:50:20.000Z | class Error(Exception):
def __init__(self, messages):
self.messages = messages | 30 | 33 | 0.688889 | 10 | 90 | 5.8 | 0.7 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211111 | 90 | 3 | 34 | 30 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
5573c6a5d7f8d7e9760db721b7348f9dbb10e14a | 166 | py | Python | util/generic/benchmark/fastclp2/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | util/generic/benchmark/fastclp2/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | util/generic/benchmark/fastclp2/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | import yatest.common as yc
def test_export_metrics(metrics):
metrics.set_benchmark(yc.execute_benchmark('util/generic/benchmark/fastclp2/fastclp2', threads=8))
| 27.666667 | 102 | 0.807229 | 23 | 166 | 5.652174 | 0.73913 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.084337 | 166 | 5 | 103 | 33.2 | 0.835526 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
557f8392992c5efaf65b97edc31fb7606c3623a1 | 227 | py | Python | src/ctc/evm/block_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/evm/block_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/evm/block_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .block_analysis import *
from .block_chunks import *
from .block_creations import *
from .block_crud import *
from .block_gas import *
from .block_normalize import *
from .block_summary import *
from .block_times import *
| 25.222222 | 30 | 0.788546 | 32 | 227 | 5.34375 | 0.34375 | 0.421053 | 0.614035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140969 | 227 | 8 | 31 | 28.375 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 5 |
e96500ca8ce853595ee1940c1977e338dd6e6ae3 | 35,927 | py | Python | dpctl/tensor/_ctors.py | IntelPython/pydppl | e032bc35459b818eae6b0009d13335aa512d3aac | [
"Apache-2.0"
] | 5 | 2020-07-15T13:29:18.000Z | 2020-09-15T15:39:30.000Z | dpctl/tensor/_ctors.py | IntelPython/pydppl | e032bc35459b818eae6b0009d13335aa512d3aac | [
"Apache-2.0"
] | 39 | 2020-07-31T17:27:14.000Z | 2020-09-22T18:56:42.000Z | dpctl/tensor/_ctors.py | IntelPython/pydppl | e032bc35459b818eae6b0009d13335aa512d3aac | [
"Apache-2.0"
] | 4 | 2020-08-05T17:43:48.000Z | 2020-09-14T19:53:12.000Z | # Data Parallel Control (dpctl)
#
# Copyright 2020-2021 Intel Corporation
#
# 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/LICE... | 38.139066 | 80 | 0.613077 | 4,796 | 35,927 | 4.461843 | 0.070267 | 0.055096 | 0.023132 | 0.017664 | 0.771111 | 0.748306 | 0.727931 | 0.712837 | 0.700407 | 0.691574 | 0 | 0.002442 | 0.293456 | 35,927 | 941 | 81 | 38.179596 | 0.840569 | 0.429148 | 0 | 0.59401 | 0 | 0 | 0.089031 | 0.004142 | 0 | 0 | 0 | 0.001063 | 0.001664 | 1 | 0.02995 | false | 0.006656 | 0.011647 | 0 | 0.109817 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e9b1653174d672f1b69bc02d2f6d33001f1e382b | 213 | py | Python | main.py | GUTINGLIAO/net-structure-classes-num-expr | f05222dc517c61a1627c427ef4981b6da13c755c | [
"MIT"
] | 2 | 2021-01-18T15:47:32.000Z | 2021-01-20T05:37:48.000Z | main.py | GUTINGLIAO/net-structure-classes-num-expr | f05222dc517c61a1627c427ef4981b6da13c755c | [
"MIT"
] | null | null | null | main.py | GUTINGLIAO/net-structure-classes-num-expr | f05222dc517c61a1627c427ef4981b6da13c755c | [
"MIT"
] | null | null | null | from net.cnn import Cnn, device
from net.instance import simple_cnn_cifar10_instance_10_classes
if __name__ == '__main__':
print(device)
net: Cnn = simple_cnn_cifar10_instance_10_classes
net.test()
| 21.3 | 63 | 0.769953 | 31 | 213 | 4.709677 | 0.483871 | 0.09589 | 0.219178 | 0.328767 | 0.452055 | 0.452055 | 0 | 0 | 0 | 0 | 0 | 0.044693 | 0.159624 | 213 | 9 | 64 | 23.666667 | 0.77095 | 0 | 0 | 0 | 0 | 0 | 0.037915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e9b3d97eebd0f9ca179a356f9a4c34de70a379da | 70 | py | Python | lesson05/prefecture/hyogo_behavior.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | lesson05/prefecture/hyogo_behavior.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | lesson05/prefecture/hyogo_behavior.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | class HyogoBehavior:
def print(self):
print("Port Tower")
| 17.5 | 27 | 0.628571 | 8 | 70 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 70 | 3 | 28 | 23.333333 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 5 |
75a3c2883372c724766600a702819558e03c53d5 | 55 | py | Python | tests/alphanumeric/tests/__init__.py | contentoolsraushan/contentools-raushan-raj | 3205e72c4a18249adc5c7fd4058540e1ba92a55d | [
"BSD-3-Clause"
] | 1 | 2016-11-16T02:34:00.000Z | 2016-11-16T02:34:00.000Z | tests/alphanumeric/tests/__init__.py | contentoolsraushan/contentools-raushan-raj | 3205e72c4a18249adc5c7fd4058540e1ba92a55d | [
"BSD-3-Clause"
] | null | null | null | tests/alphanumeric/tests/__init__.py | contentoolsraushan/contentools-raushan-raj | 3205e72c4a18249adc5c7fd4058540e1ba92a55d | [
"BSD-3-Clause"
] | 1 | 2020-06-12T09:54:55.000Z | 2020-06-12T09:54:55.000Z | from alphanumeric.tests.views import * # flake8: noqa
| 27.5 | 54 | 0.763636 | 7 | 55 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.145455 | 55 | 1 | 55 | 55 | 0.87234 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.