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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
306295ff0ec88f278c43fd27550aa426aaa0d5f9 | 256 | py | Python | extraction/lp.py | rdverse/ReproMultiModal | 6d47c71f72eb33ffb6e5065f6457fb2a9753ef50 | [
"MIT"
] | null | null | null | extraction/lp.py | rdverse/ReproMultiModal | 6d47c71f72eb33ffb6e5065f6457fb2a9753ef50 | [
"MIT"
] | null | null | null | extraction/lp.py | rdverse/ReproMultiModal | 6d47c71f72eb33ffb6e5065f6457fb2a9753ef50 | [
"MIT"
] | null | null | null | import layoutparser as lp
import cv2
model = lp.AutoLayoutModel('lp://EfficientDete/PubLayNet')
image = cv2.imread("/home/devesh/Code/ReproMultiModal/test1images/fullimgs/image0.png")
layout = model.detect(image)
# layout = model.detect(image
# image = | 28.444444 | 87 | 0.769531 | 32 | 256 | 6.15625 | 0.65625 | 0.111675 | 0.172589 | 0.22335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017316 | 0.097656 | 256 | 9 | 88 | 28.444444 | 0.835498 | 0.136719 | 0 | 0 | 0 | 0 | 0.426606 | 0.426606 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3078f6f7a835d165214af69930e334c0ce683c2e | 93 | py | Python | followers/apps.py | IanSeng/CMPUT404_PROJECT | 80acd2c57de4b091e0e66ad9f5f2df17801bf09e | [
"W3C-20150513"
] | 25 | 2020-08-30T19:28:01.000Z | 2022-02-18T19:18:14.000Z | followers/apps.py | IanSeng/CMPUT404_PROJECT | 80acd2c57de4b091e0e66ad9f5f2df17801bf09e | [
"W3C-20150513"
] | 81 | 2021-02-14T02:35:52.000Z | 2021-04-10T21:14:27.000Z | followers/apps.py | IanSeng/CMPUT404_PROJECT | 80acd2c57de4b091e0e66ad9f5f2df17801bf09e | [
"W3C-20150513"
] | 27 | 2020-09-06T08:00:49.000Z | 2022-02-01T06:15:08.000Z | from django.apps import AppConfig
class FollowersConfig(AppConfig):
name = 'followers'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
307ad935a73bce6d656b74741ed84febc2ba39f8 | 168 | py | Python | ComGui/build_resources.py | Ingener74/MoneyBot | ff7499287e591767261d99b910cc9901ead8ad90 | [
"MIT"
] | null | null | null | ComGui/build_resources.py | Ingener74/MoneyBot | ff7499287e591767261d99b910cc9901ead8ad90 | [
"MIT"
] | null | null | null | ComGui/build_resources.py | Ingener74/MoneyBot | ff7499287e591767261d99b910cc9901ead8ad90 | [
"MIT"
] | null | null | null | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
from subprocess import run
if __name__ == '__main__':
run('pyside6-uic res/MainWindow.ui -o res/Ui_MainWindow.py')
| 24 | 64 | 0.678571 | 25 | 168 | 4.2 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.14881 | 168 | 6 | 65 | 28 | 0.713287 | 0.255952 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
308063c69468414e0cad061832e26c97c14a068d | 631 | py | Python | exceptions.py | krinskils/chess | d2bf66800a9bcebf842d416f5dc8bb46ec65ce49 | [
"MIT"
] | 2 | 2020-07-27T11:08:06.000Z | 2020-09-16T15:24:39.000Z | exceptions.py | krinskils/chess | d2bf66800a9bcebf842d416f5dc8bb46ec65ce49 | [
"MIT"
] | 1 | 2020-07-11T15:20:44.000Z | 2020-07-11T15:20:44.000Z | exceptions.py | guykrinsky/chess | d2bf66800a9bcebf842d416f5dc8bb46ec65ce49 | [
"MIT"
] | null | null | null | class GameEnd(Exception):
pass
class Tie(GameEnd):
pass
class Checkmated(GameEnd):
pass
class RunOutOfTime(GameEnd):
pass
class MoveError(Exception):
pass
class CheckAfterMove(MoveError):
pass
class SquareNotInValidMoves(MoveError):
pass
class TeamDoesntGotTurn(MoveError):
... | 10.694915 | 39 | 0.717908 | 60 | 631 | 7.55 | 0.3 | 0.278146 | 0.278146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210777 | 631 | 58 | 40 | 10.87931 | 0.909639 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
065291815728d04a5163493b896d4fc41a204682 | 188 | py | Python | plateo/containers/__init__.py | Edinburgh-Genome-Foundry/plateo | c9a608658325f3c507788d9b966a3f3c8e516bc5 | [
"MIT"
] | 22 | 2018-01-29T21:34:25.000Z | 2021-12-14T15:31:49.000Z | plateo/containers/__init__.py | Edinburgh-Genome-Foundry/plateo | c9a608658325f3c507788d9b966a3f3c8e516bc5 | [
"MIT"
] | 3 | 2017-09-20T16:08:45.000Z | 2021-05-28T17:45:14.000Z | plateo/containers/__init__.py | Edinburgh-Genome-Foundry/plateo | c9a608658325f3c507788d9b966a3f3c8e516bc5 | [
"MIT"
] | 5 | 2018-09-18T08:53:37.000Z | 2021-04-28T08:44:38.000Z | from .plates import (
get_plate_class,
Plate96, Plate384, Plate1536, Plate2x4,
Plate4ti0960, Plate4ti0130, PlateLabcyteEchoLp0200Ldv,
PlateLabcyteEchoP05525Pp, Trough8x1
)
| 26.857143 | 58 | 0.771277 | 15 | 188 | 9.533333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203822 | 0.164894 | 188 | 6 | 59 | 31.333333 | 0.707006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
068c80e60619384c0971b60216d5e03d50bb4d63 | 11,503 | py | Python | other/python_parser.py | Delaunay/lython | b4cd21714893beb5b14ccbeb17b2b1af074118bc | [
"BSD-3-Clause"
] | 1 | 2016-11-23T14:39:11.000Z | 2016-11-23T14:39:11.000Z | other/python_parser.py | Delaunay/lython | b4cd21714893beb5b14ccbeb17b2b1af074118bc | [
"BSD-3-Clause"
] | 9 | 2020-02-25T01:48:27.000Z | 2021-12-31T02:56:28.000Z | other/python_parser.py | Delaunay/lython | b4cd21714893beb5b14ccbeb17b2b1af074118bc | [
"BSD-3-Clause"
] | 1 | 2015-12-18T12:17:01.000Z | 2015-12-18T12:17:01.000Z | import ast
from argparse import Namespace
class CPPGenerator(ast.NodeVisitor):
def __init__(self):
super(CPPGenerator, self).__init__()
self.depth = 0
def visit(self, node) -> str:
self.depth += 1
v = super().visit(node)
self.depth -= 1
return v
def visit_... | 23.620123 | 65 | 0.606798 | 1,436 | 11,503 | 4.681755 | 0.12883 | 0.145917 | 0.220884 | 0.335267 | 0.641232 | 0.624721 | 0.624721 | 0.606872 | 0.60122 | 0 | 0 | 0.000738 | 0.292793 | 11,503 | 486 | 66 | 23.668724 | 0.825691 | 0.016952 | 0 | 0.351724 | 0 | 0 | 0.033292 | 0.004162 | 0 | 0 | 0 | 0 | 0.003448 | 1 | 0.375862 | false | 0.003448 | 0.017241 | 0.341379 | 0.772414 | 0.010345 | 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 | 0 | 0 | 0 | 4 |
0690ea2fa92764711ec8101b43b1138d2377dcde | 271 | py | Python | playerhand.py | dlavery/pokerpractice | 80f89974be4a08fc8f7d1c94b0ebfb7d5758b3e4 | [
"MIT"
] | null | null | null | playerhand.py | dlavery/pokerpractice | 80f89974be4a08fc8f7d1c94b0ebfb7d5758b3e4 | [
"MIT"
] | null | null | null | playerhand.py | dlavery/pokerpractice | 80f89974be4a08fc8f7d1c94b0ebfb7d5758b3e4 | [
"MIT"
] | null | null | null |
class PlayerHand:
# player's hand
def __init__(self):
self.__hand = []
def deal(self, card):
# receive a card
self.__hand.append(card)
def gethand(self):
return self.__hand
def burnhand(self):
self.__hand = []
| 15.941176 | 32 | 0.564576 | 32 | 271 | 4.40625 | 0.5 | 0.22695 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324723 | 271 | 16 | 33 | 16.9375 | 0.770492 | 0.103321 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
06966a8713f1e1c24ec91e84d5d3ffa7b5728a20 | 101 | py | Python | app/config/setting.py | xu20065953/FishBook_api | d824bf90e776fe0865759f85933a8824a029ad5e | [
"MIT"
] | null | null | null | app/config/setting.py | xu20065953/FishBook_api | d824bf90e776fe0865759f85933a8824a029ad5e | [
"MIT"
] | null | null | null | app/config/setting.py | xu20065953/FishBook_api | d824bf90e776fe0865759f85933a8824a029ad5e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author : jjxu
# @time: 2019/01/14 14:42
DEBUG = True
HOST = "0.0.0.0"
| 10.1 | 25 | 0.524752 | 18 | 101 | 2.944444 | 0.777778 | 0.113208 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217949 | 0.227723 | 101 | 9 | 26 | 11.222222 | 0.461538 | 0.594059 | 0 | 0 | 0 | 0 | 0.205882 | 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 | 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 | 4 |
233577f43a14cdef601183b23101182e071b1319 | 83 | py | Python | toDo/apps.py | lvieira268/toDo-django-htmx | da298adacf138a08fc1fa0420eb1cdc0c915c643 | [
"MIT"
] | null | null | null | toDo/apps.py | lvieira268/toDo-django-htmx | da298adacf138a08fc1fa0420eb1cdc0c915c643 | [
"MIT"
] | null | null | null | toDo/apps.py | lvieira268/toDo-django-htmx | da298adacf138a08fc1fa0420eb1cdc0c915c643 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TodoConfig(AppConfig):
name = 'toDo'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
233b4a8429e4c7d3b776238257bfdff004136863 | 145 | py | Python | triggercmd_cli/api/schemas.py | GussSoares/triggercmd-cli | d8094bfe4fc815e8a6de664de667e6a5a6dd4888 | [
"MIT"
] | 8 | 2021-09-18T11:33:41.000Z | 2021-10-07T15:39:19.000Z | triggercmd_cli/api/schemas.py | GussSoares/triggercmd-cli | d8094bfe4fc815e8a6de664de667e6a5a6dd4888 | [
"MIT"
] | 5 | 2021-09-22T13:27:59.000Z | 2021-10-14T14:24:43.000Z | triggercmd_cli/api/schemas.py | GussSoares/triggercmd-cli | d8094bfe4fc815e8a6de664de667e6a5a6dd4888 | [
"MIT"
] | 3 | 2021-09-22T01:46:28.000Z | 2021-10-13T22:47:11.000Z | from pydantic import BaseModel
class Command(BaseModel):
trigger: str
command: str
ground: str
voice: str
allowParams: str
| 14.5 | 30 | 0.682759 | 17 | 145 | 5.823529 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262069 | 145 | 9 | 31 | 16.111111 | 0.925234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
2350dec80d17812c5c2e04c51ac798c5a726baf8 | 133 | py | Python | app01/app01/__init__.py | JoeBuzh/learn_django | 9c983b6a149a2e9a71a6548d2307c16859a7fb66 | [
"MIT"
] | null | null | null | app01/app01/__init__.py | JoeBuzh/learn_django | 9c983b6a149a2e9a71a6548d2307c16859a7fb66 | [
"MIT"
] | null | null | null | app01/app01/__init__.py | JoeBuzh/learn_django | 9c983b6a149a2e9a71a6548d2307c16859a7fb66 | [
"MIT"
] | null | null | null | ''' 配置pymysql '''
import pymysql
# 解决mysql版本问题报错而添加的代码
pymysql.version_info = (1, 3, 13, "final", 0)
pymysql.install_as_MySQLdb() | 19 | 47 | 0.714286 | 16 | 133 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.135338 | 133 | 7 | 48 | 19 | 0.756522 | 0.233083 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
88c4fb5027f2473b64831b01c645164309e8e014 | 155 | py | Python | panGraphViewerWeb/pangraphviewer/forms.py | q623928815/panGraphViewer | 05ca341d74d3cbabcbbaa16f5d1be5292c217447 | [
"MIT"
] | 13 | 2021-08-05T09:01:35.000Z | 2022-03-05T17:20:08.000Z | panGraphViewerWeb/pangraphviewer/forms.py | q623928815/panGraphViewer | 05ca341d74d3cbabcbbaa16f5d1be5292c217447 | [
"MIT"
] | 2 | 2021-08-05T13:01:58.000Z | 2022-01-09T09:11:45.000Z | panGraphViewerWeb/pangraphviewer/forms.py | q623928815/panGraphViewer | 05ca341d74d3cbabcbbaa16f5d1be5292c217447 | [
"MIT"
] | 2 | 2021-08-14T03:58:25.000Z | 2022-01-04T05:45:27.000Z | from django import forms
from .models import Upload
class UploadForm(forms.ModelForm):
class Meta:
model = Upload
fields = ('image',)
| 19.375 | 34 | 0.664516 | 18 | 155 | 5.722222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251613 | 155 | 7 | 35 | 22.142857 | 0.887931 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
88cd6708998d2e2858f02e2ca235a2a2140162e8 | 186 | py | Python | src/model/vtn/builder.py | comword/TCD20-DP-DeepModel | 7dca097957b745cf6345d8ac218ff28f306a5218 | [
"MIT"
] | null | null | null | src/model/vtn/builder.py | comword/TCD20-DP-DeepModel | 7dca097957b745cf6345d8ac218ff28f306a5218 | [
"MIT"
] | null | null | null | src/model/vtn/builder.py | comword/TCD20-DP-DeepModel | 7dca097957b745cf6345d8ac218ff28f306a5218 | [
"MIT"
] | null | null | null | from .vtn_effnet import VTN
from .options import VTNOptions
class VTNBuilder:
def __new__(cls, *args, **kwargs):
opt = VTNOptions(*args, **kwargs)
return VTN(opt)
| 18.6 | 41 | 0.66129 | 23 | 186 | 5.130435 | 0.652174 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231183 | 186 | 9 | 42 | 20.666667 | 0.825175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
88e45f8c5a71432f442ab916a7d865237c2a6de8 | 3,948 | py | Python | skp_edu_docker/code/api/views/workflow_pre_feeder.py | TensorMSA/hoyai_docker | 12f0041e6306d8a6421585a4b51666bad30be442 | [
"MIT"
] | 8 | 2017-06-16T00:19:12.000Z | 2020-08-13T03:15:57.000Z | skp_edu_docker/code/api/views/workflow_pre_feeder.py | TensorMSA/tensormsa_docker | 12f0041e6306d8a6421585a4b51666bad30be442 | [
"MIT"
] | 21 | 2017-06-09T10:15:14.000Z | 2018-03-29T07:51:02.000Z | skp_edu_docker/code/api/views/workflow_pre_feeder.py | TensorMSA/hoyai_docker | 12f0041e6306d8a6421585a4b51666bad30be442 | [
"MIT"
] | 4 | 2017-10-25T09:59:53.000Z | 2020-05-07T09:51:11.000Z | import json
from rest_framework.response import Response
from rest_framework.views import APIView
from master.workflow.preprocess.workflow_feed_fr2seq import WorkflowFeedFr2Seq
from master.workflow.preprocess.workflow_feed_fr2wv import WorkflowFeedFr2Wv
from master.workflow.preprocess.workflow_feed_fr2auto import Workf... | 42.913043 | 92 | 0.588652 | 414 | 3,948 | 5.466184 | 0.214976 | 0.106054 | 0.044189 | 0.070703 | 0.787892 | 0.787892 | 0.699514 | 0.699514 | 0.642952 | 0.642952 | 0 | 0.013625 | 0.293566 | 3,948 | 91 | 93 | 43.384615 | 0.797777 | 0.034448 | 0 | 0.72973 | 0 | 0 | 0.072062 | 0 | 0 | 0 | 0 | 0.010989 | 0 | 1 | 0.054054 | false | 0 | 0.121622 | 0 | 0.310811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
000798a1c21ba14f72b73a9f4a38a1727535e25d | 101 | py | Python | Chapter11/class1.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | Chapter11/class1.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | Chapter11/class1.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | class Leapx_org():
pass
L_obj1 = Leapx_org()
L_obj2 = Leapx_org()
print (L_obj1)
print (L_obj2)
| 11.222222 | 21 | 0.693069 | 18 | 101 | 3.5 | 0.444444 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.178218 | 101 | 8 | 22 | 12.625 | 0.710843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
003a496dff05e861d16865e6faeb081be18219ae | 101 | py | Python | references/aoapc-book/BeginningAlgorithmContests/python/ch1/ex1-2.py | voleking/ICPC | fc2cf408fa2607ad29b01eb00a1a212e6d0860a5 | [
"MIT"
] | 68 | 2017-10-08T04:44:23.000Z | 2019-08-06T20:15:02.000Z | BAC/python/ch1/ex1-2.py | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | BAC/python/ch1/ex1-2.py | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 18 | 2017-05-31T02:52:23.000Z | 2019-07-05T09:18:34.000Z | from sys import stdin
f, = map(float, stdin.readline().strip().split())
print "%.3lf" % (5*(f-32)/9)
| 25.25 | 49 | 0.623762 | 17 | 101 | 3.705882 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0.118812 | 101 | 3 | 50 | 33.666667 | 0.651685 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cc454c00a4f5224eb2d81b359f3c24132e873014 | 176 | py | Python | shlkr_controlserver/getInfo.py | rossilhf/shelllinker | 68c188e7287dda03376f0779dcf3dfe2c90db19b | [
"MIT"
] | 1 | 2020-10-30T02:47:16.000Z | 2020-10-30T02:47:16.000Z | shlkr_controlserver/getInfo.py | rossilhf/shelllinker | 68c188e7287dda03376f0779dcf3dfe2c90db19b | [
"MIT"
] | null | null | null | shlkr_controlserver/getInfo.py | rossilhf/shelllinker | 68c188e7287dda03376f0779dcf3dfe2c90db19b | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
def get_curVersion():
"""
get program version
"""
return "V1.0.2"
if __name__ == "__main__":
pass
| 13.538462 | 27 | 0.505682 | 20 | 176 | 4 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0.3125 | 176 | 12 | 28 | 14.666667 | 0.619835 | 0.335227 | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cc608fa1844ce293235934b8933c87e6eb308c51 | 357 | py | Python | corehq/project_limits/rate_counter/interfaces.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/project_limits/rate_counter/interfaces.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/project_limits/rate_counter/interfaces.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z | import abc
class AbstractRateCounter(metaclass=abc.ABCMeta):
@abc.abstractmethod
def get(self, scope):
raise NotImplementedError()
@abc.abstractmethod
def increment(self, scope, delta):
raise NotImplementedError()
@abc.abstractmethod
def increment_and_get(self, scope, delta):... | 22.3125 | 49 | 0.70028 | 35 | 357 | 7.085714 | 0.457143 | 0.205645 | 0.241935 | 0.330645 | 0.637097 | 0.427419 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212885 | 357 | 15 | 50 | 23.8 | 0.882562 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cc7655655bb6224308bc5b4cb14062eb94c941de | 93 | py | Python | src/framat/__init__.py | airinnova/FramAT | 4177a95b4ed8d95a8330365e32ca13ac9ef24640 | [
"Apache-2.0"
] | 9 | 2019-08-13T18:49:22.000Z | 2022-03-31T08:40:29.000Z | src/framat/__init__.py | airinnova/FramAT | 4177a95b4ed8d95a8330365e32ca13ac9ef24640 | [
"Apache-2.0"
] | 5 | 2020-01-08T08:38:25.000Z | 2022-02-07T17:01:45.000Z | src/framat/__init__.py | airinnova/FramAT | 4177a95b4ed8d95a8330365e32ca13ac9ef24640 | [
"Apache-2.0"
] | 5 | 2019-09-20T18:47:20.000Z | 2022-01-11T13:08:55.000Z | MODULE_NAME = 'FramAT'
from ._log import _plogger as log
from ._model import Model, Builtin
| 18.6 | 34 | 0.774194 | 14 | 93 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 4 | 35 | 23.25 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cc8d7e7d2aa77d67b894e04139516eb7dd376d3b | 18 | py | Python | tempCodeRunnerFile.py | raacampbell/BrainRender | c8516bfa4a268a67f89766a9a0c51bcebaa2c091 | [
"MIT"
] | 2 | 2020-02-26T01:34:35.000Z | 2020-08-13T17:12:00.000Z | tempCodeRunnerFile.py | raacampbell/BrainRender | c8516bfa4a268a67f89766a9a0c51bcebaa2c091 | [
"MIT"
] | null | null | null | tempCodeRunnerFile.py | raacampbell/BrainRender | c8516bfa4a268a67f89766a9a0c51bcebaa2c091 | [
"MIT"
] | null | null | null | ata/anatomy/data") | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 18 | 1 | 18 | 18 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
cc9287fa4e40d4a2a955bb3eb086bef85b7edbfd | 188 | py | Python | HelloWorld.py | collvey/AutoHotKey | 378af50954e0d93af00d73b62b49a053b1e80e83 | [
"MIT"
] | null | null | null | HelloWorld.py | collvey/AutoHotKey | 378af50954e0d93af00d73b62b49a053b1e80e83 | [
"MIT"
] | null | null | null | HelloWorld.py | collvey/AutoHotKey | 378af50954e0d93af00d73b62b49a053b1e80e83 | [
"MIT"
] | 1 | 2022-02-21T05:35:43.000Z | 2022-02-21T05:35:43.000Z | import numpy as np
import pandas as pd
if __name__ == "__main__":
print("Hello World")
print(np.__version__) # 1.21.4 as of 12/12/2021
print(pd.__version__) # 1.3.5 as of 12/12/2021 | 26.857143 | 49 | 0.696809 | 36 | 188 | 3.194444 | 0.583333 | 0.13913 | 0.104348 | 0.13913 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147436 | 0.170213 | 188 | 7 | 50 | 26.857143 | 0.589744 | 0.244681 | 0 | 0 | 0 | 0 | 0.135714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
ccb4f9562fc431e3b279295ff9fbc88ceac6382c | 701 | py | Python | nope/octohub/octohub/exceptions.py | nthmost/st-githubdash | b75a790e07759d33f4f374342156147364913326 | [
"Apache-2.0"
] | null | null | null | nope/octohub/octohub/exceptions.py | nthmost/st-githubdash | b75a790e07759d33f4f374342156147364913326 | [
"Apache-2.0"
] | null | null | null | nope/octohub/octohub/exceptions.py | nthmost/st-githubdash | b75a790e07759d33f4f374342156147364913326 | [
"Apache-2.0"
] | 1 | 2021-01-28T22:12:04.000Z | 2021-01-28T22:12:04.000Z | # Copyright (c) 2013 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of OctoHub.
#
# OctoHub is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 3 of the License, or (at your option) any l... | 25.962963 | 78 | 0.706134 | 95 | 701 | 5.084211 | 0.663158 | 0.074534 | 0.05383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.212554 | 701 | 26 | 79 | 26.961538 | 0.86413 | 0.554922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
cccfb1a255ea012ec33d8d425b742395be020040 | 159 | py | Python | examples/example1.py | mtasic85/pynogil | 4150aa655d6bafbb74b6eb5c10e058e8b56ebe54 | [
"MIT"
] | null | null | null | examples/example1.py | mtasic85/pynogil | 4150aa655d6bafbb74b6eb5c10e058e8b56ebe54 | [
"MIT"
] | 1 | 2020-05-01T19:19:11.000Z | 2020-05-01T19:19:11.000Z | examples/example1.py | mtasic85/pynogil | 4150aa655d6bafbb74b6eb5c10e058e8b56ebe54 | [
"MIT"
] | null | null | null | N = 1_000_000
a = list(range(N))
b = list(range(N))
# c = [0] * N
# c = [a[i] + b[i] for i in range(N)]
c = [x + y for x, y in zip(a, b)]
s = sum(c)
print(s)
| 15.9 | 37 | 0.490566 | 40 | 159 | 1.9 | 0.45 | 0.236842 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.257862 | 159 | 9 | 38 | 17.666667 | 0.576271 | 0.295597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ccd3585eaca1a08b7e41e6ec5f43d0ed89b5efc5 | 159 | py | Python | project26/main.py | disaisoft/python-course | 26aaf6da672efa845977a45e58ffad32ecfff9dc | [
"MIT"
] | null | null | null | project26/main.py | disaisoft/python-course | 26aaf6da672efa845977a45e58ffad32ecfff9dc | [
"MIT"
] | null | null | null | project26/main.py | disaisoft/python-course | 26aaf6da672efa845977a45e58ffad32ecfff9dc | [
"MIT"
] | null | null | null |
"""
Diccionarios en python! => tipo de estructuras de datos
que te permite ordenar un conjunto no ordenado de pares clave valor! o en ingles key values
"""
| 19.875 | 91 | 0.742138 | 25 | 159 | 4.72 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194969 | 159 | 7 | 92 | 22.714286 | 0.921875 | 0.924528 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aeaa8f2c301176f8a696d5595458a17c43cbfe19 | 2,409 | py | Python | tests/test_data/test_datasets/test_charades_dataset.py | visaVita/mmaction2 | 2d7107a2d79b990b7facd3d6f7ac0b6ad974c153 | [
"Apache-2.0"
] | null | null | null | tests/test_data/test_datasets/test_charades_dataset.py | visaVita/mmaction2 | 2d7107a2d79b990b7facd3d6f7ac0b6ad974c153 | [
"Apache-2.0"
] | null | null | null | tests/test_data/test_datasets/test_charades_dataset.py | visaVita/mmaction2 | 2d7107a2d79b990b7facd3d6f7ac0b6ad974c153 | [
"Apache-2.0"
] | null | null | null | import copy
from mmcv.utils import assert_dict_has_keys
from mmaction.datasets import CharadesDataset
from .base import BaseTestDataset
class TestCharadesDaataset(BaseTestDataset):
def test_charades_dataset(self):
_charades_test_pipeline = copy.deepcopy(self.charades_test_pipeline)
_charades_te... | 38.854839 | 76 | 0.657949 | 261 | 2,409 | 5.639847 | 0.222222 | 0.11413 | 0.190217 | 0.081522 | 0.73981 | 0.73981 | 0.700408 | 0.640625 | 0.640625 | 0.640625 | 0 | 0.01559 | 0.254462 | 2,409 | 62 | 77 | 38.854839 | 0.804009 | 0.025322 | 0 | 0.673077 | 0 | 0 | 0.081841 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.134615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aead70762ef26dad66dff411ab54670dcc72d2d9 | 107 | py | Python | dachar/fixes/array_fixes.py | roocs/dachar | 687b6acb535f634791d13a435cded5f97cae8e76 | [
"BSD-3-Clause"
] | 2 | 2020-05-01T11:17:06.000Z | 2020-11-23T10:37:24.000Z | dachar/fixes/array_fixes.py | roocs/dachar | 687b6acb535f634791d13a435cded5f97cae8e76 | [
"BSD-3-Clause"
] | 69 | 2020-03-26T15:39:26.000Z | 2022-01-14T14:34:39.000Z | dachar/fixes/array_fixes.py | roocs/dachar | 687b6acb535f634791d13a435cded5f97cae8e76 | [
"BSD-3-Clause"
] | null | null | null | from dachar.fixes._base_fix import _BaseDatasetFix
from dachar.utils.common import UNDEFINED
__all__ = []
| 21.4 | 50 | 0.82243 | 14 | 107 | 5.785714 | 0.785714 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 4 | 51 | 26.75 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 4 |
4e0fd6bebf4b2e49ea31804bd111b575592da4d6 | 252 | py | Python | modules/2.79/bpy/ops/import_anim.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/ops/import_anim.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/ops/import_anim.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | def bvh(filepath="", axis_forward='-Z', axis_up='Y', filter_glob="*.bvh", target='ARMATURE', global_scale=1.0, frame_start=1, use_fps_scale=False, update_scene_fps=False, update_scene_duration=False, use_cyclic=False, rotate_mode='NATIVE'):
pass
| 50.4 | 240 | 0.753968 | 40 | 252 | 4.425 | 0.725 | 0.124294 | 0.180791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012931 | 0.079365 | 252 | 4 | 241 | 63 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4e1e9faefa0b8a9a4f17ae2f824f6dfe55831d7d | 2,327 | py | Python | km_api/functional_tests/know_me/profile/profile_topics/test_profile_topic_detail.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 4 | 2017-08-03T00:46:31.000Z | 2018-11-06T03:32:32.000Z | km_api/functional_tests/know_me/profile/profile_topics/test_profile_topic_detail.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 526 | 2017-06-27T18:13:59.000Z | 2021-06-10T18:00:21.000Z | km_api/functional_tests/know_me/profile/profile_topics/test_profile_topic_detail.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 1 | 2017-07-10T19:46:27.000Z | 2017-07-10T19:46:27.000Z | from rest_framework import status
from test_utils import serialized_time
def test_delete_profile_topic(
api_client, enable_premium_requirement, profile_topic_factory, user_factory
):
"""
Premium users should be able to delete their own profile topics.
"""
password = "password"
user = user_fac... | 31.876712 | 79 | 0.707349 | 309 | 2,327 | 5.019417 | 0.229773 | 0.06383 | 0.073501 | 0.040619 | 0.734365 | 0.734365 | 0.703417 | 0.677627 | 0.677627 | 0.677627 | 0 | 0.004724 | 0.181349 | 2,327 | 72 | 80 | 32.319444 | 0.809449 | 0.08251 | 0 | 0.468085 | 0 | 0 | 0.130206 | 0.061752 | 0 | 0 | 0 | 0 | 0.106383 | 1 | 0.06383 | false | 0.191489 | 0.042553 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4e336f19d38b70b8fca6fbd983666c605eadbf2d | 100 | py | Python | python/y2020/d22/__main__.py | luke-dixon/aoc | 94851a5866a1ef29e3ba10098160cba883882683 | [
"MIT"
] | 1 | 2021-01-12T20:04:01.000Z | 2021-01-12T20:04:01.000Z | python/y2020/d22/__main__.py | luke-dixon/aoc | 94851a5866a1ef29e3ba10098160cba883882683 | [
"MIT"
] | null | null | null | python/y2020/d22/__main__.py | luke-dixon/aoc | 94851a5866a1ef29e3ba10098160cba883882683 | [
"MIT"
] | null | null | null | import sys
from .day22 import Day22
if __name__ == '__main__':
Day22(args=sys.argv[1:]).run()
| 14.285714 | 34 | 0.67 | 15 | 100 | 3.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 0.17 | 100 | 6 | 35 | 16.666667 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9dc19359e23bd77467fd67e776160a43ea20893c | 2,731 | py | Python | script/py-app/options.py | Intelligent-Systems-Lab/ISL-BCFL | 42ceb86708a76e28b31c22b33c15ee9a6a745ec7 | [
"Apache-2.0"
] | null | null | null | script/py-app/options.py | Intelligent-Systems-Lab/ISL-BCFL | 42ceb86708a76e28b31c22b33c15ee9a6a745ec7 | [
"Apache-2.0"
] | null | null | null | script/py-app/options.py | Intelligent-Systems-Lab/ISL-BCFL | 42ceb86708a76e28b31c22b33c15ee9a6a745ec7 | [
"Apache-2.0"
] | null | null | null | import configparser
import sys
# sys.path.append('../option')
# print(sys.path)
from option.dgc import config_dgc
class config_bcfl:
def __init__(self, config):
self.config = dict(config._sections["bcfl"])
def get_sender(self):
return self.config["sender"]
def get_db(self):
retu... | 24.603604 | 58 | 0.632369 | 356 | 2,731 | 4.620787 | 0.157303 | 0.237082 | 0.093617 | 0.133739 | 0.392705 | 0.342857 | 0.261398 | 0.109422 | 0.109422 | 0 | 0 | 0 | 0.23691 | 2,731 | 110 | 59 | 24.827273 | 0.789347 | 0.018674 | 0 | 0.055556 | 0 | 0 | 0.075486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.402778 | false | 0 | 0.041667 | 0.333333 | 0.847222 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9dcd0f8394fb69c421ee1271bf4aa2e0c4105c6f | 585 | py | Python | fractimation/data_models/complex_polynomial_iteration_data.py | Jman420/fractimation | 3b33958b76528a9c7f97af24818d7a1721b1201b | [
"Apache-2.0"
] | null | null | null | fractimation/data_models/complex_polynomial_iteration_data.py | Jman420/fractimation | 3b33958b76528a9c7f97af24818d7a1721b1201b | [
"Apache-2.0"
] | 1 | 2018-06-20T19:44:39.000Z | 2020-03-11T13:10:31.000Z | fractimation/data_models/complex_polynomial_iteration_data.py | Jman420/fractimation | 3b33958b76528a9c7f97af24818d7a1721b1201b | [
"Apache-2.0"
] | 2 | 2018-06-20T19:41:42.000Z | 2019-08-15T03:30:50.000Z | class ComplexPolynomialIterationData(object):
iteration_values = None
exploded_indexes = None
remaining_indexes = None
def __init__(self, iteration_values, exploded_indexes, remaining_indexes):
self.iteration_values = iteration_values
self.exploded_indexes = exploded_indexes
se... | 29.25 | 78 | 0.747009 | 63 | 585 | 6.539683 | 0.222222 | 0.218447 | 0.13835 | 0.101942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201709 | 585 | 19 | 79 | 30.789474 | 0.882227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.214286 | 0.785714 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9ddfb2d0b218504a10cce98c11495faef4fd45ea | 98 | py | Python | src/SEIRcity/cli/variables/__init__.py | UT-Covid/compartmental_model_case_studies | 324e2c92453c928e64c637d6e6fbe570fb714cdb | [
"BSD-3-Clause-Clear"
] | 1 | 2021-02-04T14:59:32.000Z | 2021-02-04T14:59:32.000Z | src/SEIRcity/cli/variables/__init__.py | UT-Covid/compartmental_model_case_studies | 324e2c92453c928e64c637d6e6fbe570fb714cdb | [
"BSD-3-Clause-Clear"
] | null | null | null | src/SEIRcity/cli/variables/__init__.py | UT-Covid/compartmental_model_case_studies | 324e2c92453c928e64c637d6e6fbe570fb714cdb | [
"BSD-3-Clause-Clear"
] | null | null | null | from . import (control, demo, demographics, epi, interventions, timings,
matrices)
| 32.666667 | 72 | 0.653061 | 9 | 98 | 7.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255102 | 98 | 2 | 73 | 49 | 0.876712 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d1b48fc8ade66859f1ef01caa204d7a52eb48baf | 414 | py | Python | python_practice/slicing.py | vishalvb/practice | 4c38f863408c91aa072bd20510f098043fecd043 | [
"MIT"
] | null | null | null | python_practice/slicing.py | vishalvb/practice | 4c38f863408c91aa072bd20510f098043fecd043 | [
"MIT"
] | null | null | null | python_practice/slicing.py | vishalvb/practice | 4c38f863408c91aa072bd20510f098043fecd043 | [
"MIT"
] | null | null | null | #List slicing
my_list = [0,1,2,3,4,5,6,7,8,9]
print("list = ",my_list)
print("my_list[0:]",my_list[0:])
print("my_list[:]",my_list[:])
print("my_list[:-1]",my_list[:-1])
print("my_list[1:5]",my_list[1:5])
#list(start:end:step)
print("my_list[1::3]",my_list[1::3])
print("my_list[-1:1:-1]",my_list[-1:1:-1])
sample_ur... | 24.352941 | 42 | 0.642512 | 85 | 414 | 2.917647 | 0.270588 | 0.33871 | 0.225806 | 0.193548 | 0.241935 | 0.169355 | 0 | 0 | 0 | 0 | 0 | 0.07455 | 0.060386 | 414 | 17 | 43 | 24.352941 | 0.562982 | 0.077295 | 0 | 0 | 0 | 0 | 0.314961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.818182 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d1c010acca335b57149b8fcf21cd70e0cdab7e59 | 92 | py | Python | codes_auto/253.meeting-rooms-ii.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/253.meeting-rooms-ii.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/253.meeting-rooms-ii.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=253 lang=python3
#
# [253] meeting-rooms-ii
#
None
# @lc code=end | 13.142857 | 41 | 0.663043 | 16 | 92 | 3.8125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 0.152174 | 92 | 7 | 42 | 13.142857 | 0.692308 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d1c012d9127f6bf5fba2df1d2483d6cb1fa5c938 | 238 | py | Python | datasets/ImageNet.py | greg1232/intelligent-camera | f1da98c0bb87ecf84646d2a183a34e04f762a4ca | [
"Apache-2.0"
] | null | null | null | datasets/ImageNet.py | greg1232/intelligent-camera | f1da98c0bb87ecf84646d2a183a34e04f762a4ca | [
"Apache-2.0"
] | null | null | null | datasets/ImageNet.py | greg1232/intelligent-camera | f1da98c0bb87ecf84646d2a183a34e04f762a4ca | [
"Apache-2.0"
] | 1 | 2018-03-07T15:40:46.000Z | 2018-03-07T15:40:46.000Z |
from datasets.ImageNetSynsets import ImageNetSynsets
class ImageNet:
def __init__(self):
self.usedLabels = ImageNetSynsets.getUsedLabels()
def getLabelForLogit(self, logitId):
return self.usedLabels[logitId]
| 18.307692 | 57 | 0.735294 | 22 | 238 | 7.772727 | 0.636364 | 0.163743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193277 | 238 | 12 | 58 | 19.833333 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d1c5dcdb89370947a58883709947225cdebb0628 | 11,269 | py | Python | dentexchange/apps/membership/migrations/0001_initial.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | 1 | 2017-11-09T23:09:51.000Z | 2017-11-09T23:09:51.000Z | dentexchange/apps/membership/migrations/0001_initial.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | null | null | null | dentexchange/apps/membership/migrations/0001_initial.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | 3 | 2015-08-11T16:58:47.000Z | 2021-01-04T08:23:51.000Z | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Plan'
db.create_table(u'membership_plan', (
(... | 69.993789 | 195 | 0.593132 | 1,254 | 11,269 | 5.204944 | 0.113238 | 0.106634 | 0.184465 | 0.263521 | 0.776314 | 0.729432 | 0.714723 | 0.625402 | 0.55416 | 0.435422 | 0 | 0.011425 | 0.184488 | 11,269 | 161 | 196 | 69.993789 | 0.698803 | 0.019079 | 0 | 0.108696 | 0 | 0 | 0.53282 | 0.331553 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014493 | false | 0.007246 | 0.028986 | 0 | 0.065217 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d1df834d92b68d553ac426d985f772f5bf3c8d81 | 153 | py | Python | JYTools/util/__init__.py | meisanggou/Tools | 66acd710e4227a3a35acf3b804ce12f1de518912 | [
"MIT"
] | null | null | null | JYTools/util/__init__.py | meisanggou/Tools | 66acd710e4227a3a35acf3b804ce12f1de518912 | [
"MIT"
] | 3 | 2018-01-24T08:16:55.000Z | 2018-01-30T06:55:59.000Z | JYTools/util/__init__.py | meisanggou/Tools | 66acd710e4227a3a35acf3b804ce12f1de518912 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# coding: utf-8
__author__ = '鹛桑够'
def is_num(v):
return isinstance(v, (int, long))
def is_number(v):
return is_num(v) | 13.909091 | 37 | 0.640523 | 26 | 153 | 3.5 | 0.692308 | 0.10989 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.196078 | 153 | 11 | 38 | 13.909091 | 0.731707 | 0.228758 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0609da20528d192de8cb14b5c008b1c3c935ada1 | 323 | py | Python | utils/textboxes_utils/__init__.py | Jaskaran197/Red-blood-cell-detection-SSD | a33b330ad17454a7425aa7f57818c0a41b4e0ff9 | [
"MIT"
] | null | null | null | utils/textboxes_utils/__init__.py | Jaskaran197/Red-blood-cell-detection-SSD | a33b330ad17454a7425aa7f57818c0a41b4e0ff9 | [
"MIT"
] | null | null | null | utils/textboxes_utils/__init__.py | Jaskaran197/Red-blood-cell-detection-SSD | a33b330ad17454a7425aa7f57818c0a41b4e0ff9 | [
"MIT"
] | null | null | null | from .decode_predictions import decode_predictions
from .get_bboxes_from_quads import get_bboxes_from_quads
from .sort_quads_vertices import sort_quads_vertices
from .read_sample import read_sample
from .encode_textboxes import encode_textboxes
from .get_samples import get_samples
from .get_num_quads import get_num_qua... | 40.375 | 56 | 0.891641 | 50 | 323 | 5.32 | 0.3 | 0.078947 | 0.097744 | 0.135338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086687 | 323 | 7 | 57 | 46.142857 | 0.901695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ae2212b09540e1aca1b410f90b1633bbcb466854 | 366 | py | Python | coworker/services/admin.py | upstar77/spacemap | 1babcecabc42b325dc647294599c309d6bda1ad5 | [
"MIT"
] | null | null | null | coworker/services/admin.py | upstar77/spacemap | 1babcecabc42b325dc647294599c309d6bda1ad5 | [
"MIT"
] | null | null | null | coworker/services/admin.py | upstar77/spacemap | 1babcecabc42b325dc647294599c309d6bda1ad5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from mptt.admin import DraggableMPTTAdmin
from .models import Category, ServiceAttribute, Service
class CategoryAdmin(DraggableMPTTAdmin):
prepopulated_fields = {'slug': ['name']}
admin.site.register(Category, CategoryAdmin)
# admin.site.register(Service)
admin.site.register(S... | 22.875 | 55 | 0.803279 | 40 | 366 | 7.325 | 0.475 | 0.122867 | 0.232082 | 0.163823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 366 | 15 | 56 | 24.4 | 0.887879 | 0.076503 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ae2f667a5035fa2197d7b956835e9352ec86b0ac | 61 | py | Python | tests/__init__.py | ryu57/pyHalo | 61b9ab49d76f3552f5680b2e457fbd3e49b9cc89 | [
"MIT"
] | 7 | 2020-12-09T23:58:34.000Z | 2022-03-13T12:18:32.000Z | tests/__init__.py | ryu57/pyHalo | 61b9ab49d76f3552f5680b2e457fbd3e49b9cc89 | [
"MIT"
] | 8 | 2020-10-12T21:30:22.000Z | 2022-01-25T16:04:54.000Z | tests/__init__.py | ryu57/pyHalo | 61b9ab49d76f3552f5680b2e457fbd3e49b9cc89 | [
"MIT"
] | 6 | 2021-06-07T16:30:41.000Z | 2022-01-12T16:58:04.000Z | # -*- coding: utf-8 -*-
"""Unit test package for pyhalo."""
| 15.25 | 35 | 0.557377 | 8 | 61 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.180328 | 61 | 3 | 36 | 20.333333 | 0.66 | 0.852459 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ae5a592ed4d7a29354b4927c56d117faff1c1706 | 268 | py | Python | sdv/constraints/errors.py | HDI-Project/SDV | 04cfd6557d3676fa487e49e1cbd56eecd69a9bc6 | [
"MIT"
] | 39 | 2018-07-07T01:02:42.000Z | 2019-12-17T13:53:47.000Z | sdv/constraints/errors.py | HDI-Project/SDV | 04cfd6557d3676fa487e49e1cbd56eecd69a9bc6 | [
"MIT"
] | 75 | 2018-06-29T00:35:02.000Z | 2019-12-23T16:59:55.000Z | sdv/constraints/errors.py | HDI-Project/SDV | 04cfd6557d3676fa487e49e1cbd56eecd69a9bc6 | [
"MIT"
] | 31 | 2018-10-29T13:16:38.000Z | 2020-01-02T13:10:42.000Z | """Constraint Exceptions."""
class MissingConstraintColumnError(Exception):
"""Error to use when constraint is provided a table with missing columns."""
class MultipleConstraintsErrors(Exception):
"""Error used to represent a list of constraint errors."""
| 26.8 | 80 | 0.753731 | 29 | 268 | 6.965517 | 0.758621 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145522 | 268 | 9 | 81 | 29.777778 | 0.882096 | 0.544776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ae80379285ef546ad88639db292da4b378b3d383 | 6,898 | py | Python | test/unit_tests/test_db.py | Georgi2704/orchestrator-core | bf072caf6b83ac8401426879df41e967f33f9f85 | [
"Apache-2.0"
] | 15 | 2021-02-18T15:30:25.000Z | 2022-02-19T18:57:51.000Z | test/unit_tests/test_db.py | Georgi2704/orchestrator-core | bf072caf6b83ac8401426879df41e967f33f9f85 | [
"Apache-2.0"
] | 70 | 2021-02-24T17:59:23.000Z | 2022-03-31T08:24:56.000Z | test/unit_tests/test_db.py | Georgi2704/orchestrator-core | bf072caf6b83ac8401426879df41e967f33f9f85 | [
"Apache-2.0"
] | 6 | 2021-02-23T18:10:15.000Z | 2022-02-15T16:07:38.000Z | from typing import List
from unittest import mock
from uuid import UUID
import pytest
from sqlalchemy.orm.exc import NoResultFound
from orchestrator.db import ResourceTypeTable, SubscriptionTable, WorkflowTable, db, transactional
from orchestrator.targets import Target
def test_transactional():
def insert_wf(st... | 38.110497 | 174 | 0.676573 | 890 | 6,898 | 5.153933 | 0.230337 | 0.029431 | 0.036625 | 0.059298 | 0.756704 | 0.746021 | 0.71114 | 0.700022 | 0.69152 | 0.669501 | 0 | 0.005106 | 0.233401 | 6,898 | 180 | 175 | 38.322222 | 0.86233 | 0.269208 | 0 | 0.5 | 0 | 0.025424 | 0.213674 | 0.007774 | 0 | 0 | 0 | 0 | 0.09322 | 1 | 0.101695 | false | 0 | 0.059322 | 0 | 0.169492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8847e93e00316a46774725a7494f8c2747ec2138 | 87 | py | Python | wagtail/contrib/routable_page/__init__.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 8,851 | 2016-12-09T19:01:45.000Z | 2022-03-31T04:45:06.000Z | wagtail/contrib/routable_page/__init__.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 5,197 | 2016-12-09T19:24:37.000Z | 2022-03-31T22:17:55.000Z | wagtail/contrib/routable_page/__init__.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 2,548 | 2016-12-09T18:16:55.000Z | 2022-03-31T21:34:38.000Z | default_app_config = 'wagtail.contrib.routable_page.apps.WagtailRoutablePageAppConfig'
| 43.5 | 86 | 0.885057 | 9 | 87 | 8.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 87 | 1 | 87 | 87 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.724138 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8851a4ae6c51fe815572c241a8a9059d0ad4fca7 | 76 | py | Python | command_option.py | Andrusyshyn-Orest/notebook | 4646b35816426cff7e7b1e6116f3b9e53053c62a | [
"MIT"
] | null | null | null | command_option.py | Andrusyshyn-Orest/notebook | 4646b35816426cff7e7b1e6116f3b9e53053c62a | [
"MIT"
] | null | null | null | command_option.py | Andrusyshyn-Orest/notebook | 4646b35816426cff7e7b1e6116f3b9e53053c62a | [
"MIT"
] | null | null | null | """
GitHub repository: https://github.com/Andrusyshyn-Orest/notebook.git
""" | 25.333333 | 68 | 0.75 | 9 | 76 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 76 | 3 | 69 | 25.333333 | 0.791667 | 0.894737 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8884960f8a67c7a8390cb8a3ceade1f806c58cea | 404 | py | Python | Core/solar_tech/pv_efficiency.py | ncatunda/hive | 721731ce83c9ccd4ff1db224824a234035fbcd30 | [
"MIT"
] | null | null | null | Core/solar_tech/pv_efficiency.py | ncatunda/hive | 721731ce83c9ccd4ff1db224824a234035fbcd30 | [
"MIT"
] | null | null | null | Core/solar_tech/pv_efficiency.py | ncatunda/hive | 721731ce83c9ccd4ff1db224824a234035fbcd30 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
The data is (should be) based on the lecture Energie und Klimasysteme II,
Erneuerbare Energieerzeugung am Gebäude, FS 2019
"""
from __future__ import print_function
def get_pv_efficiency(pv_efficiency):
#return "\n".join("{key}: {value}".format(key=key, value=value)
# ... | 31.076923 | 74 | 0.688119 | 54 | 404 | 4.962963 | 0.722222 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015198 | 0.185644 | 404 | 12 | 75 | 33.666667 | 0.799392 | 0.655941 | 0 | 0 | 0 | 0 | 0.077519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
8891923c234aa0850850c06a065c278868725211 | 65 | py | Python | tests/launchagents/examples/unload.py | looking-for-a-job/launchagents.py | 38b0f1d109b67d5828a8441acdb56b4fffc43aa2 | [
"Unlicense"
] | 2 | 2020-07-30T19:19:52.000Z | 2020-11-22T01:42:23.000Z | tests/launchagents/examples/unload.py | andrewp-as-is/launchagents.py | 38b0f1d109b67d5828a8441acdb56b4fffc43aa2 | [
"Unlicense"
] | 1 | 2019-03-12T05:14:01.000Z | 2019-03-13T07:45:47.000Z | tests/launchagents/examples/unload.py | andrewp-as-is/launchagents.py | 38b0f1d109b67d5828a8441acdb56b4fffc43aa2 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
import launchagents
launchagents.unload()
| 13 | 21 | 0.784615 | 8 | 65 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 4 | 22 | 16.25 | 0.864407 | 0.307692 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
31f8b25873416ecb946ecb4a52a7e99bef8b34d0 | 143 | py | Python | reddit2telegram/channels/r_crackwatch/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 187 | 2016-09-20T09:15:54.000Z | 2022-03-29T12:22:33.000Z | reddit2telegram/channels/r_crackwatch/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 84 | 2016-09-22T14:25:07.000Z | 2022-03-19T01:26:17.000Z | reddit2telegram/channels/r_crackwatch/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 172 | 2016-09-21T15:39:39.000Z | 2022-03-16T15:15:58.000Z | #encoding:utf-8
subreddit = 'crackwatch'
t_channel = '@r_crackwatch'
def send_post(submission, r2t):
return r2t.send_simple(submission)
| 15.888889 | 38 | 0.748252 | 19 | 143 | 5.421053 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.132867 | 143 | 8 | 39 | 17.875 | 0.806452 | 0.097902 | 0 | 0 | 0 | 0 | 0.179688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
ee1e52ff54c801c3e811e0854419ea57741c3d36 | 20,888 | py | Python | pycatia/space_analyses_interfaces/section.py | evereux/catia_python | 08948585899b12587b0415ce3c9191a408b34897 | [
"MIT"
] | 90 | 2019-02-21T10:05:28.000Z | 2022-03-19T01:53:41.000Z | pycatia/space_analyses_interfaces/section.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 99 | 2019-05-21T08:29:12.000Z | 2022-03-25T09:55:15.000Z | pycatia/space_analyses_interfaces/section.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 26 | 2019-04-04T06:31:36.000Z | 2022-03-30T07:24:47.000Z | #! usr/bin/python3.6
"""
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384
.. warning::
The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only.
They are there as a guide as to how the visual basic / catscript function... | 34.242623 | 108 | 0.39573 | 1,630 | 20,888 | 5.039264 | 0.143558 | 0.024349 | 0.040906 | 0.029218 | 0.468712 | 0.394083 | 0.329316 | 0.278914 | 0.22279 | 0.137935 | 0 | 0.045201 | 0.544571 | 20,888 | 609 | 109 | 34.298851 | 0.818249 | 0.682976 | 0 | 0.1375 | 1 | 0 | 0.078238 | 0.015779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275 | false | 0 | 0.1 | 0.0125 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ee26ad511d7a9c6ef6b3bdf4f745cce643ad0067 | 628 | py | Python | torchqf/tensor.py | simaki/torchqf | e4dfd154c62ccd858847048f77d8c2f82924ae80 | [
"BSD-3-Clause"
] | 7 | 2021-05-18T17:03:10.000Z | 2021-12-01T07:58:41.000Z | torchqf/tensor.py | vishalbelsare/torchqf | e4dfd154c62ccd858847048f77d8c2f82924ae80 | [
"BSD-3-Clause"
] | 27 | 2021-05-18T03:54:17.000Z | 2022-01-31T15:16:16.000Z | torchqf/tensor.py | vishalbelsare/torchqf | e4dfd154c62ccd858847048f77d8c2f82924ae80 | [
"BSD-3-Clause"
] | 3 | 2021-07-13T12:56:12.000Z | 2021-12-26T23:00:06.000Z | import torch
def steps(end: float, steps=None, dtype=None, device=None) -> torch.Tensor:
"""Create a one-dimensional tensor of size `steps` whose values are evenly spaced
zero to `end`, exclusive of zero. That is, the value are:
`steps(end, steps) = torch.linspace(0, end, steps + 1)[1:]`
Args:
... | 29.904762 | 85 | 0.611465 | 92 | 628 | 4.173913 | 0.48913 | 0.0625 | 0.072917 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073069 | 0.237261 | 628 | 20 | 86 | 31.4 | 0.728601 | 0.646497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ee31ffbe61b2b77d89c871bfa371954e95120d61 | 43 | py | Python | lightningdata/__init__.py | brandongk-ubco/lightning-data | b6282aae45dcfc7da0c484d733be2e6c1af2ead8 | [
"MIT"
] | null | null | null | lightningdata/__init__.py | brandongk-ubco/lightning-data | b6282aae45dcfc7da0c484d733be2e6c1af2ead8 | [
"MIT"
] | null | null | null | lightningdata/__init__.py | brandongk-ubco/lightning-data | b6282aae45dcfc7da0c484d733be2e6c1af2ead8 | [
"MIT"
] | null | null | null | from . import vision
__all__ = ["vision"]
| 10.75 | 20 | 0.674419 | 5 | 43 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 21 | 14.333333 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ee579ce2624069e0ea79f53617e7a1bbf6aad898 | 290 | py | Python | phishdetect/models/__init__.py | phishdetect/phishdetect-python | 8794fc0e86f02ef6c8ef25d7380850688ab9c03c | [
"MIT"
] | 1 | 2019-12-26T11:00:37.000Z | 2019-12-26T11:00:37.000Z | phishdetect/models/__init__.py | phishdetect/phishdetect-python | 8794fc0e86f02ef6c8ef25d7380850688ab9c03c | [
"MIT"
] | null | null | null | phishdetect/models/__init__.py | phishdetect/phishdetect-python | 8794fc0e86f02ef6c8ef25d7380850688ab9c03c | [
"MIT"
] | null | null | null | # This file is part of phishdetect-python:
# https://github.com/phishdetect/phishdetect-python
# See the file 'LICENSE' for copying permission.
from .alerts import Alerts
from .analyze import Analyze
from .indicators import Indicators
from .reports import Reports
from .users import Users
| 29 | 51 | 0.8 | 40 | 290 | 5.8 | 0.575 | 0.146552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 290 | 9 | 52 | 32.222222 | 0.920635 | 0.472414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ee85c5413d8062039b577a6b13a714f839852162 | 170 | py | Python | tests/test_exception_alreadyregistered/registered_blocks.py | WGBH/wagtail-streamfieldtools | 192f86845532742b0b7d432bef3987357833b8ed | [
"MIT"
] | 6 | 2015-12-14T17:59:22.000Z | 2016-09-28T10:38:54.000Z | tests/test_exception_alreadyregistered/registered_blocks.py | WGBH/wagtail-streamfieldtools | 192f86845532742b0b7d432bef3987357833b8ed | [
"MIT"
] | 10 | 2016-05-13T17:59:31.000Z | 2022-03-11T23:13:01.000Z | tests/test_exception_alreadyregistered/registered_blocks.py | WGBH/wagtail-streamfieldtools | 192f86845532742b0b7d432bef3987357833b8ed | [
"MIT"
] | 2 | 2016-03-18T18:56:58.000Z | 2016-05-13T18:14:15.000Z | from wagtail.wagtailcore.blocks import CharBlock
from streamfield_tools.registry import block_registry
block_registry.register_block(
'heading',
CharBlock()
)
| 17 | 53 | 0.8 | 19 | 170 | 6.947368 | 0.631579 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135294 | 170 | 9 | 54 | 18.888889 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0.041176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c9a336225962d5a19e0c018ebf32f19e02cb2d23 | 35 | py | Python | data/studio21_generated/introductory/3405/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3405/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3405/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def pow_root_pandigit(val, n, k):
| 17.5 | 33 | 0.714286 | 7 | 35 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
c9abd9fae48c2f3828341cea8bbde23f5a1afb96 | 107 | py | Python | atcoder/abc183A_relu.py | uninhm/kyopro | bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3 | [
"BSD-3-Clause"
] | 31 | 2020-05-13T01:07:55.000Z | 2021-07-13T07:53:26.000Z | atcoder/abc183A_relu.py | uninhm/kyopro | bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3 | [
"BSD-3-Clause"
] | 10 | 2020-05-20T07:22:09.000Z | 2021-07-19T03:52:13.000Z | atcoder/abc183A_relu.py | uninhm/kyopro | bf6ed9cbf6a5e46cde0291f7aa9d91a8ddf1f5a3 | [
"BSD-3-Clause"
] | 14 | 2020-05-11T05:58:36.000Z | 2021-12-07T03:20:43.000Z | # uninhm
# https://atcoder.jp/contests/abc183/tasks/abc183_a
# implementation
print(max(0, int(input())))
| 17.833333 | 51 | 0.728972 | 15 | 107 | 5.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.084112 | 107 | 5 | 52 | 21.4 | 0.714286 | 0.663551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c9b164845d84ec0ccb28ac64472eac5d49ee253d | 93 | py | Python | bookshelf/apps.py | ffkirill/library | 43249b71df5d8633a5202f4cbb53b25e4a2aa08a | [
"BSD-2-Clause"
] | 35 | 2017-02-25T13:56:05.000Z | 2022-03-28T20:45:16.000Z | bookshelf/apps.py | ffkirill/library | 43249b71df5d8633a5202f4cbb53b25e4a2aa08a | [
"BSD-2-Clause"
] | 31 | 2017-03-15T18:10:20.000Z | 2021-07-30T07:10:16.000Z | bookshelf/apps.py | tinkerhubcek/Project-Libra | 419d104868efad7b793ec8c95235a8870d99ea6e | [
"MIT"
] | 20 | 2017-03-15T17:41:08.000Z | 2021-11-30T10:15:12.000Z | from django.apps import AppConfig
class BookshelfConfig(AppConfig):
name = 'bookshelf'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c9be5645855c1f2ff79799cc282c4df8f8f7ef4f | 753 | py | Python | Python/Tests/TestData/DebuggerProject/EnumChildTestV3.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/DebuggerProject/EnumChildTestV3.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/DebuggerProject/EnumChildTestV3.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | d1 = {42: 100}
d2 = {'abc': 'fob'}
d3 = {1e1000: d1}
s = set([frozenset([2,3,4])])
class C(object):
abc = 42
def f(self): pass
cinst = C()
class C2(object):
abc = 42
def __init__(self):
self.oar = 100
self.self = self
def __repr__(self):
return 'myrepr'
... | 17.511628 | 37 | 0.521912 | 99 | 753 | 3.646465 | 0.414141 | 0.088643 | 0.060942 | 0.077562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074297 | 0.338645 | 753 | 43 | 38 | 17.511628 | 0.650602 | 0 | 0 | 0.181818 | 0 | 0 | 0.023876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0 | 0.151515 | 0.575758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
c9ca57b019b44e7ecc07642ce74b9115c50ba15f | 1,213 | py | Python | ads/migrations/0001_initial.py | dragonrathony/zed_market | c73f17501608c8fe86692c3c4f6e03fc8ba03286 | [
"bzip2-1.0.6"
] | 1 | 2020-06-17T13:45:54.000Z | 2020-06-17T13:45:54.000Z | ads/migrations/0001_initial.py | Honey4251996/zed_market | c73f17501608c8fe86692c3c4f6e03fc8ba03286 | [
"bzip2-1.0.6"
] | 11 | 2021-03-19T07:55:39.000Z | 2022-03-12T00:34:55.000Z | ads/migrations/0001_initial.py | Honey4251996/zed_market | c73f17501608c8fe86692c3c4f6e03fc8ba03286 | [
"bzip2-1.0.6"
] | null | null | null | # Generated by Django 3.0.3 on 2020-03-03 15:15
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='AdList',
fields=[
('id', models.AutoField(a... | 37.90625 | 114 | 0.582028 | 129 | 1,213 | 5.317829 | 0.449612 | 0.218659 | 0.262391 | 0.349854 | 0.373178 | 0.255102 | 0.255102 | 0 | 0 | 0 | 0 | 0.051253 | 0.276175 | 1,213 | 31 | 115 | 39.129032 | 0.730068 | 0.037098 | 0 | 0 | 1 | 0 | 0.100343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c9d0749fdd0d28a319730a605d6f9e0cb86e6916 | 92 | py | Python | config.py | lmchvz/ETL-Group_Project | 7befe85724f147c8fc9830dcadd3865d07a22c08 | [
"MIT"
] | null | null | null | config.py | lmchvz/ETL-Group_Project | 7befe85724f147c8fc9830dcadd3865d07a22c08 | [
"MIT"
] | null | null | null | config.py | lmchvz/ETL-Group_Project | 7befe85724f147c8fc9830dcadd3865d07a22c08 | [
"MIT"
] | null | null | null | #Place postgres connection string here:
connect_string = 'postgres:p4ssword@localhost:5432'
| 30.666667 | 51 | 0.826087 | 11 | 92 | 6.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 0.086957 | 92 | 2 | 52 | 46 | 0.833333 | 0.413043 | 0 | 0 | 0 | 0 | 0.603774 | 0.603774 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c9d9fb7f9936716262666e01df37af645dff438d | 82 | py | Python | 1-computer-vision/1-cv-preprocess-augmentation.py | MLStruckmann/tensorflow-templates | ca35a8f055929ee4ec552fa03737d808a0fe3491 | [
"MIT"
] | null | null | null | 1-computer-vision/1-cv-preprocess-augmentation.py | MLStruckmann/tensorflow-templates | ca35a8f055929ee4ec552fa03737d808a0fe3491 | [
"MIT"
] | null | null | null | 1-computer-vision/1-cv-preprocess-augmentation.py | MLStruckmann/tensorflow-templates | ca35a8f055929ee4ec552fa03737d808a0fe3491 | [
"MIT"
] | null | null | null | # Understand how ImageDataGenerator labels images based on the directory structure | 82 | 82 | 0.865854 | 10 | 82 | 7.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 82 | 1 | 82 | 82 | 0.986111 | 0.97561 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c9db4cc817b3ea693ec23770170fd8358a35007f | 253 | py | Python | final R/videoAnalysis/videoconvert.py | ashwinrishipj/thesis | 05279196a48849fbb44620555c395dd1e056a077 | [
"Apache-2.0"
] | 1 | 2019-06-07T05:30:25.000Z | 2019-06-07T05:30:25.000Z | final R/videoAnalysis/videoconvert.py | ashwinrishipj/thesis | 05279196a48849fbb44620555c395dd1e056a077 | [
"Apache-2.0"
] | null | null | null | final R/videoAnalysis/videoconvert.py | ashwinrishipj/thesis | 05279196a48849fbb44620555c395dd1e056a077 | [
"Apache-2.0"
] | null | null | null | from pydub import AudioSegment
sound = AudioSegment.from_file("C:/Users/AR064679/Documents/thesis/final R/videoAnalysis/processed/ashwin")
sound.export("C:/Users/AR064679/Documents/thesis/final r/videoAnalysis/processed/", format="mp3", bitrate="128k") | 63.25 | 113 | 0.806324 | 33 | 253 | 6.151515 | 0.636364 | 0.059113 | 0.137931 | 0.226601 | 0.561576 | 0.561576 | 0.561576 | 0.561576 | 0.561576 | 0 | 0 | 0.06639 | 0.047431 | 253 | 4 | 113 | 63.25 | 0.775934 | 0 | 0 | 0 | 0 | 0 | 0.57874 | 0.543307 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c9e2ce4dc08274c340fb51c921593307704fe344 | 176 | py | Python | arpyfile.py | CITGuru/arpy | 008638752ae4b3855e0a747a651e1c2cf3ed536c | [
"MIT"
] | 2 | 2018-07-16T15:50:20.000Z | 2019-12-29T13:22:27.000Z | arpyfile.py | CITGuru/arpy | 008638752ae4b3855e0a747a651e1c2cf3ed536c | [
"MIT"
] | null | null | null | arpyfile.py | CITGuru/arpy | 008638752ae4b3855e0a747a651e1c2cf3ed536c | [
"MIT"
] | null | null | null | import arpy
# from subprocess import Popen
# auto push to git
arpy.task("push", ["git add .", "git commit -m 'updates'", "git push origin master"], ".", ignorelist=[".git"])
| 25.142857 | 111 | 0.653409 | 25 | 176 | 4.6 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 176 | 6 | 112 | 29.333333 | 0.777027 | 0.255682 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a0170f4f263d936e99a7ce84a9e4b94bbcdb5baf | 284 | py | Python | WhatsAppManifest/manifest/whatsapp/types.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 15 | 2020-03-11T17:31:12.000Z | 2021-11-19T03:26:09.000Z | WhatsAppManifest/manifest/whatsapp/types.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 5 | 2021-03-31T19:43:15.000Z | 2022-03-12T00:18:38.000Z | WhatsAppManifest/manifest/whatsapp/types.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 4 | 2020-03-11T01:52:57.000Z | 2021-03-16T04:14:33.000Z | """
Data types used on Android and whatsapp
"""
class TextPlain:
def __str__(self):
return "text/plain"
class AnyImage:
def __str__(self):
return "image/*"
class AndroidVndContact:
def __str__(self):
return "vnd.android.cursor.dir/contact"
| 13.52381 | 47 | 0.640845 | 33 | 284 | 5.151515 | 0.666667 | 0.105882 | 0.176471 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 284 | 20 | 48 | 14.2 | 0.798122 | 0.137324 | 0 | 0.333333 | 0 | 0 | 0.198312 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
a01ab40cecf7e71d0d07724987f1bdce6d318eb6 | 700 | py | Python | test/test_txs_eth.py | graphsense/graphsense-python | c0dafc97a04bc3dbf0caf08a981bb591bd1e430a | [
"MIT"
] | 9 | 2020-11-26T12:26:36.000Z | 2022-02-07T22:08:16.000Z | test/test_txs_eth.py | graphsense/graphsense-python | c0dafc97a04bc3dbf0caf08a981bb591bd1e430a | [
"MIT"
] | 14 | 2020-11-17T13:28:08.000Z | 2022-01-24T09:21:43.000Z | test/test_txs_eth.py | graphsense/graphsense-python | c0dafc97a04bc3dbf0caf08a981bb591bd1e430a | [
"MIT"
] | 3 | 2022-02-03T09:24:27.000Z | 2022-02-16T10:13:55.000Z | """
GraphSense API
GraphSense API # noqa: E501
The version of the OpenAPI document: 0.4.5
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import graphsense
from graphsense.model.tx_eth import TxEth
globals()['TxEth'] = TxEth
from graphsense.model.txs_eth import TxsEth
... | 18.421053 | 79 | 0.654286 | 84 | 700 | 5.333333 | 0.595238 | 0.058036 | 0.084821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017078 | 0.247143 | 700 | 37 | 80 | 18.918919 | 0.833017 | 0.384286 | 0 | 0.2 | 1 | 0 | 0.032911 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.2 | false | 0.2 | 0.333333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
a01df042bc0576b6fb78542e1ceec56729915d61 | 164 | py | Python | vplayer/player_app/models.py | Rxavio/youtubevideoPlayer | 9c318b6b40bfcf6bca2fb4bf5b105d8b9ac4ebf5 | [
"MIT"
] | null | null | null | vplayer/player_app/models.py | Rxavio/youtubevideoPlayer | 9c318b6b40bfcf6bca2fb4bf5b105d8b9ac4ebf5 | [
"MIT"
] | null | null | null | vplayer/player_app/models.py | Rxavio/youtubevideoPlayer | 9c318b6b40bfcf6bca2fb4bf5b105d8b9ac4ebf5 | [
"MIT"
] | null | null | null | from django.db import models
from embed_video.fields import EmbedVideoField
class Item(models.Model):
video = EmbedVideoField() # same like models.URLField()
| 27.333333 | 60 | 0.780488 | 21 | 164 | 6.047619 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 164 | 5 | 61 | 32.8 | 0.900709 | 0.164634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4e56deab98ed9a8f33a0ac02bc01435d9e23d7fc | 216 | py | Python | cflearn/models/__init__.py | SaizhuoWang/carefree-learn | 3bf7b00286cdef556cc00fa2fcba5c390b5b9d20 | [
"MIT"
] | null | null | null | cflearn/models/__init__.py | SaizhuoWang/carefree-learn | 3bf7b00286cdef556cc00fa2fcba5c390b5b9d20 | [
"MIT"
] | null | null | null | cflearn/models/__init__.py | SaizhuoWang/carefree-learn | 3bf7b00286cdef556cc00fa2fcba5c390b5b9d20 | [
"MIT"
] | 1 | 2021-01-04T02:23:00.000Z | 2021-01-04T02:23:00.000Z | from .ddr import *
from .ndt import *
from .nnb import *
from .rnn import *
from .wnd import *
from .fcnn import *
from .linear import *
from .tree_dnn import *
from .transformer import *
from .base import ModelBase
| 19.636364 | 27 | 0.726852 | 32 | 216 | 4.875 | 0.4375 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 216 | 10 | 28 | 21.6 | 0.886364 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4e5b07ac56dd3a546c551b8c37f44d07e257e370 | 663 | py | Python | wechat_django/requests.py | cnbillow/wechat-django | fe7c35b6c716599a1deb30f04a38699670c20a90 | [
"MIT"
] | null | null | null | wechat_django/requests.py | cnbillow/wechat-django | fe7c35b6c716599a1deb30f04a38699670c20a90 | [
"MIT"
] | null | null | null | wechat_django/requests.py | cnbillow/wechat-django | fe7c35b6c716599a1deb30f04a38699670c20a90 | [
"MIT"
] | 1 | 2019-09-24T08:19:31.000Z | 2019-09-24T08:19:31.000Z | # -*- coding: utf-8 -*-
"""
微信相关的请求类声明,这些请求类中,包含一个WeChatInfo对象wechat
实际上这些请求类没有真正被使用
但是可以通过docstring声明传参是这些请求类,让你的IDE更加智能地提示代码
"""
from __future__ import unicode_literals
from django.http.request import HttpRequest
class WeChatHttpRequest(HttpRequest):
@property
def wechat(self):
""":rtype: wechat_... | 20.090909 | 60 | 0.707391 | 59 | 663 | 7.813559 | 0.542373 | 0.123644 | 0.143167 | 0.182213 | 0.357918 | 0.357918 | 0.357918 | 0.357918 | 0.357918 | 0 | 0 | 0.001852 | 0.18552 | 663 | 32 | 61 | 20.71875 | 0.851852 | 0.381599 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.214286 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4eadadb8717476de04514f37093f8de01f7c4aca | 285 | py | Python | tests/test_predict.py | justinchanjinle/Iris-Dataset-Classifier | 72de61f6e647788006892b658210aba533645781 | [
"Apache-2.0"
] | 1 | 2019-06-02T12:42:07.000Z | 2019-06-02T12:42:07.000Z | tests/test_predict.py | justinchanjinle/Iris-Dataset-Classifier | 72de61f6e647788006892b658210aba533645781 | [
"Apache-2.0"
] | 9 | 2019-05-20T12:23:59.000Z | 2020-05-24T13:10:15.000Z | tests/test_predict.py | justinchanjinle/Iris-Dataset-Classifier | 72de61f6e647788006892b658210aba533645781 | [
"Apache-2.0"
] | 1 | 2020-05-24T14:12:48.000Z | 2020-05-24T14:12:48.000Z | import pandas as pd
import pytest
from app.src.predict import Predict
def test_predict(predict: Predict, x_test: pd.DataFrame):
try:
y_predict = predict.predict(x_test) # noqa
except Exception as exception:
pytest.fail(f'Prediction failed: {exception}')
| 19 | 57 | 0.708772 | 39 | 285 | 5.076923 | 0.564103 | 0.282828 | 0.212121 | 0.222222 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207018 | 285 | 14 | 58 | 20.357143 | 0.876106 | 0.014035 | 0 | 0 | 0 | 0 | 0.107527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
14c2961bf0d9450b53c238898de25422a5338eba | 259 | py | Python | code_gen.py | AMGIRI-1996/Palmestry | 0d5399a65a81035d654271741025bcf96d96e05e | [
"MIT"
] | null | null | null | code_gen.py | AMGIRI-1996/Palmestry | 0d5399a65a81035d654271741025bcf96d96e05e | [
"MIT"
] | null | null | null | code_gen.py | AMGIRI-1996/Palmestry | 0d5399a65a81035d654271741025bcf96d96e05e | [
"MIT"
] | null | null | null |
baseurl='\t\t\t<input name="marriageLine" type="radio" id="marriageLine%s" value="%s" /><label for="marriageLine%s"><img src="images/marriageLine/%s.jpg" height=195 width=150></label>'
for i in range(1, 18):
url = baseurl % (i,i,i,i)
print(url+"\n") | 43.166667 | 184 | 0.65251 | 44 | 259 | 3.840909 | 0.636364 | 0.230769 | 0.035503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039301 | 0.11583 | 259 | 6 | 185 | 43.166667 | 0.69869 | 0 | 0 | 0 | 0 | 0.25 | 0.679537 | 0.220077 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0922a10120fe3c03311f2165e173a60395fbe72f | 99 | py | Python | pyparsehtml/src/getters.py | pdoms/PyParseHtml | 513ad30cdfb77eea815b66b1ad91c1c96f3dff81 | [
"MIT"
] | null | null | null | pyparsehtml/src/getters.py | pdoms/PyParseHtml | 513ad30cdfb77eea815b66b1ad91c1c96f3dff81 | [
"MIT"
] | null | null | null | pyparsehtml/src/getters.py | pdoms/PyParseHtml | 513ad30cdfb77eea815b66b1ad91c1c96f3dff81 | [
"MIT"
] | null | null | null | def getBy_Element(id, all_tags):
for t in all_tags:
if t.id == id:
return t | 24.75 | 32 | 0.545455 | 17 | 99 | 3 | 0.647059 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 99 | 4 | 33 | 24.75 | 0.809524 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0926a319d07953fb19780c8f8e72fee36b9473a1 | 44 | py | Python | tbltalk/__init__.py | mattmc3/pyfigurine | 3ba77aef47ef9ca9e3f3ee9ec6d025d5c67cd767 | [
"MIT"
] | null | null | null | tbltalk/__init__.py | mattmc3/pyfigurine | 3ba77aef47ef9ca9e3f3ee9ec6d025d5c67cd767 | [
"MIT"
] | null | null | null | tbltalk/__init__.py | mattmc3/pyfigurine | 3ba77aef47ef9ca9e3f3ee9ec6d025d5c67cd767 | [
"MIT"
] | null | null | null | from .tbltalk import *
version = (0, 0, 1)
| 11 | 22 | 0.613636 | 7 | 44 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.227273 | 44 | 3 | 23 | 14.666667 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
092ee1dcb528190e1ebac99c4cd1f7fd3c3b6721 | 1,015 | py | Python | src/441-ArrangingCoins.py | Jiezhi/myleetcode | b346e94c46da2a3033ebc8ff50e621aa179c4f62 | [
"MIT"
] | 1 | 2022-03-03T15:11:48.000Z | 2022-03-03T15:11:48.000Z | src/441-ArrangingCoins.py | Jiezhi/myleetcode | b346e94c46da2a3033ebc8ff50e621aa179c4f62 | [
"MIT"
] | null | null | null | src/441-ArrangingCoins.py | Jiezhi/myleetcode | b346e94c46da2a3033ebc8ff50e621aa179c4f62 | [
"MIT"
] | 2 | 2022-01-20T22:49:58.000Z | 2022-01-20T22:53:13.000Z | #!/usr/bin/env python
"""
CREATED AT: 2021/11/5
Des:
https://leetcode.com/problems/arranging-coins/
GITHUB: https://github.com/Jiezhi/myleetcode
Difficulty: Easy
Tag:
See:
"""
class Solution:
def arrangeCoins(self, n: int) -> int:
"""
Runtime: 924 ms, faster than 35.91%
Memory Usage:... | 21.595745 | 47 | 0.573399 | 138 | 1,015 | 4.15942 | 0.456522 | 0.243902 | 0.452962 | 0.470383 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066845 | 0.263054 | 1,015 | 46 | 48 | 22.065217 | 0.700535 | 0.281773 | 0 | 0 | 0 | 0 | 0.012012 | 0 | 0 | 0 | 0 | 0 | 0.526316 | 1 | 0.105263 | false | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0936f4af0fcb667bf2d480367db24e39aef60068 | 432 | py | Python | backend/models/resnet/model_current.py | andreasntr/Net2Vis | 43da92a233368ace3eea3b034478ab6a8fee614a | [
"MIT"
] | 78 | 2019-02-14T06:44:05.000Z | 2022-03-16T09:10:27.000Z | backend/models/resnet/model_current.py | andreasntr/Net2Vis | 43da92a233368ace3eea3b034478ab6a8fee614a | [
"MIT"
] | 25 | 2019-12-29T13:53:37.000Z | 2022-03-25T09:31:06.000Z | backend/models/resnet/model_current.py | andreasntr/Net2Vis | 43da92a233368ace3eea3b034478ab6a8fee614a | [
"MIT"
] | 11 | 2020-06-19T09:10:54.000Z | 2022-01-18T19:50:54.000Z | # You can freely modify this file.
# However, you need to have a function that is named get_model and returns a Keras Model.
import tensorflow as tf
from tensorflow.python.keras import models
from tensorflow.python.keras import layers
from tensorflow.python.keras import utils
def get_model():
img_height = 256
... | 28.8 | 89 | 0.763889 | 66 | 432 | 4.924242 | 0.621212 | 0.129231 | 0.184615 | 0.230769 | 0.286154 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.180556 | 432 | 15 | 90 | 28.8 | 0.892655 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
11862b1102224d2bedd555db1ce555a0d379b7b9 | 10,232 | py | Python | asterisk/migrations/0001_initial.py | ahmednamoha/astroapp | 10ff7d2fa92ce430ce39a036c501f64429ddcec7 | [
"MIT"
] | null | null | null | asterisk/migrations/0001_initial.py | ahmednamoha/astroapp | 10ff7d2fa92ce430ce39a036c501f64429ddcec7 | [
"MIT"
] | null | null | null | asterisk/migrations/0001_initial.py | ahmednamoha/astroapp | 10ff7d2fa92ce430ce39a036c501f64429ddcec7 | [
"MIT"
] | null | null | null | # Generated by Django 3.1 on 2020-09-05 09:05
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Extentions',
fields=[
('id', models.AutoField... | 75.235294 | 129 | 0.623827 | 1,088 | 10,232 | 5.770221 | 0.144301 | 0.112138 | 0.173304 | 0.238292 | 0.792291 | 0.747531 | 0.713603 | 0.651641 | 0.552565 | 0.188754 | 0 | 0.031191 | 0.226056 | 10,232 | 135 | 130 | 75.792593 | 0.761586 | 0.004203 | 0 | 0.140625 | 1 | 0 | 0.104054 | 0.00216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007813 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
11874102ad92cd5063b37ce93eefb4e57fcf2fd3 | 840 | py | Python | test/test_app.py | bravecollective/neucore-api-python | fac73f71c4d514d77bb9629a958d5d461fd2cdbe | [
"MIT"
] | 2 | 2019-04-17T20:18:53.000Z | 2019-04-25T02:08:09.000Z | test/test_app.py | bravecollective/neucore-api-python | fac73f71c4d514d77bb9629a958d5d461fd2cdbe | [
"MIT"
] | null | null | null | test/test_app.py | bravecollective/neucore-api-python | fac73f71c4d514d77bb9629a958d5d461fd2cdbe | [
"MIT"
] | null | null | null | """
Neucore API
Client library of Neucore API # noqa: E501
The version of the OpenAPI document: 1.26.0
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import neucore_api
from neucore_api.model.eve_login import EveLogin
from neucore_api.model.group import Group
from neuc... | 20 | 79 | 0.670238 | 109 | 840 | 5.036697 | 0.486239 | 0.127505 | 0.102004 | 0.138434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.22619 | 840 | 41 | 80 | 20.487805 | 0.829231 | 0.325 | 0 | 0.157895 | 1 | 0 | 0.047081 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 1 | 0.157895 | false | 0.157895 | 0.368421 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
11acf5dd25722904add2cdd32d33f5db6e820180 | 21 | py | Python | globalState.py | natreed/matrix_python | c2c5f8e545eb2713b53be44f6edbb30c4b83312b | [
"MIT"
] | null | null | null | globalState.py | natreed/matrix_python | c2c5f8e545eb2713b53be44f6edbb30c4b83312b | [
"MIT"
] | 1 | 2021-06-01T23:28:34.000Z | 2021-06-01T23:28:34.000Z | globalState.py | natreed/Secure_Social_Net-Python | c2c5f8e545eb2713b53be44f6edbb30c4b83312b | [
"MIT"
] | null | null | null | class globalState():
| 10.5 | 20 | 0.761905 | 2 | 21 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 21 | 1 | 21 | 21 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
11d80f27b74026eb4f5bdf4308930b941c95fe29 | 171 | py | Python | examples/dff_funfact_skill/annotators/main.py | SaschaC/mds_skills_hackathon | baf8e76adf8e766299dac8c89e41b63a955ef2c1 | [
"Apache-2.0"
] | 1 | 2022-02-07T22:59:26.000Z | 2022-02-07T22:59:26.000Z | examples/dff_funfact_skill/annotators/main.py | SaschaC/mds_skills_hackathon | baf8e76adf8e766299dac8c89e41b63a955ef2c1 | [
"Apache-2.0"
] | null | null | null | examples/dff_funfact_skill/annotators/main.py | SaschaC/mds_skills_hackathon | baf8e76adf8e766299dac8c89e41b63a955ef2c1 | [
"Apache-2.0"
] | 8 | 2021-12-28T09:31:08.000Z | 2022-01-10T17:40:25.000Z | from df_engine.core import Context
from .basic import yes_intent, no_intent
def annotate(ctx: Context):
ctx = yes_intent(ctx)
ctx = no_intent(ctx)
return ctx
| 21.375 | 40 | 0.730994 | 27 | 171 | 4.444444 | 0.518519 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 171 | 7 | 41 | 24.428571 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
11eb888864814334e7589ffa130bea5eb3e78e9c | 245 | py | Python | web/tomato/lib/dump.py | dswd/ToMaTo | 355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4 | [
"BSD-4-Clause-UC"
] | 2 | 2016-11-10T06:12:05.000Z | 2016-11-10T06:12:10.000Z | web/tomato/lib/dump.py | dswd/ToMaTo | 355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4 | [
"BSD-4-Clause-UC"
] | 2 | 2015-01-19T16:00:24.000Z | 2015-01-20T11:33:56.000Z | web/tomato/lib/dump.py | dswd/ToMaTo | 355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4 | [
"BSD-4-Clause-UC"
] | 1 | 2016-11-10T06:12:15.000Z | 2016-11-10T06:12:15.000Z | '''
Created on Nov 20, 2014
This is a dummy to solve dependencies from error.py
@author: Tim Gerhard
'''
# The webfrontend does not dump errors. If this function is called anywhere, this simply doesn't matter.
def dumpError(error):
return | 22.272727 | 104 | 0.742857 | 39 | 245 | 4.666667 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0.183673 | 245 | 11 | 105 | 22.272727 | 0.88 | 0.82449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
11f51267e3b30446e50430c7fdb98ab7e28b0c27 | 145 | py | Python | python/8Kyu/Grasshopper - Messi Goals.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | python/8Kyu/Grasshopper - Messi Goals.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | python/8Kyu/Grasshopper - Messi Goals.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | la_liga_goals = 43
champions_league_goals = 10
copa_del_rey_goals = 5
total_goals = la_liga_goals + champions_league_goals + copa_del_rey_goals | 29 | 73 | 0.841379 | 25 | 145 | 4.28 | 0.48 | 0.11215 | 0.205607 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0.117241 | 145 | 5 | 73 | 29 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
eebf549088249a90d79d2787ec5bec62f2373e65 | 42,920 | py | Python | spacedrive/renderpipeline/toolkit/day_time_editor/ui/resources_rc.py | croxis/SpaceDrive | 3f610cf72002beb11e73a47c2f118e35ff2d9575 | [
"MIT"
] | 5 | 2016-01-02T05:23:37.000Z | 2017-07-01T13:53:36.000Z | spacedrive/renderpipeline/toolkit/day_time_editor/ui/resources_rc.py | croxis/SpaceDrive | 3f610cf72002beb11e73a47c2f118e35ff2d9575 | [
"MIT"
] | 1 | 2016-06-28T08:43:59.000Z | 2016-07-07T20:28:43.000Z | spacedrive/renderpipeline/toolkit/day_time_editor/ui/resources_rc.py | croxis/SpaceDrive | 3f610cf72002beb11e73a47c2f118e35ff2d9575 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt4 (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = b"\
\x00\x00\x0f\x88\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\... | 63.964232 | 130 | 0.715843 | 10,180 | 42,920 | 3.016306 | 0.02888 | 0.066046 | 0.058034 | 0.040253 | 0.587475 | 0.582101 | 0.581906 | 0.58005 | 0.57663 | 0.575751 | 0 | 0.312769 | 0.032409 | 42,920 | 670 | 131 | 64.059701 | 0.426618 | 0.003518 | 0 | 0.521341 | 0 | 0.958841 | 0 | 0 | 0 | 1 | 0.00019 | 0 | 0 | 1 | 0.003049 | false | 0 | 0.001524 | 0 | 0.004573 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eedb51411ebe06538d5fc602a43c921cff353746 | 231 | py | Python | ml/connection.py | cnnr-adams/simple-neural-network-lib | 4973010c20bc959f663f23c5b136b04ef7e99101 | [
"MIT"
] | null | null | null | ml/connection.py | cnnr-adams/simple-neural-network-lib | 4973010c20bc959f663f23c5b136b04ef7e99101 | [
"MIT"
] | null | null | null | ml/connection.py | cnnr-adams/simple-neural-network-lib | 4973010c20bc959f663f23c5b136b04ef7e99101 | [
"MIT"
] | null | null | null | from neuron import Neuron
class Connection:
def __init__(self, output, weight=1):
self.output = output
self.weight = weight
def feedThrough(self, input):
self.output.setInput(input * self.weight)
| 21 | 49 | 0.662338 | 28 | 231 | 5.321429 | 0.5 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.246753 | 231 | 10 | 50 | 23.1 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 1 | 0 | 0 | 4 |
eedebbea44de7cad2a66d57233b588a07bccd388 | 11,267 | py | Python | molsysmt/tools/molecular_systems.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 3 | 2020-06-02T03:55:52.000Z | 2022-03-21T04:43:52.000Z | molsysmt/tools/molecular_systems.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 28 | 2020-06-24T00:55:53.000Z | 2021-07-16T22:09:19.000Z | molsysmt/tools/molecular_systems.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 1 | 2021-06-17T18:55:25.000Z | 2021-06-17T18:55:25.000Z | import numpy as np
from molsysmt._private_tools.exceptions import *
from molsysmt.tools.items import compatibles_for_a_single_molecular_system as items_compatibles_for_a_single_molecular_system
from molsysmt._private_tools.lists_and_tuples import is_list_or_tuple
def is_a_single_molecular_system(items):
if is_lis... | 33.834835 | 125 | 0.613828 | 1,386 | 11,267 | 4.632756 | 0.04329 | 0.072886 | 0.051394 | 0.060738 | 0.78072 | 0.760473 | 0.731817 | 0.640866 | 0.637284 | 0.619218 | 0 | 0 | 0.332742 | 11,267 | 332 | 126 | 33.936747 | 0.854084 | 0 | 0 | 0.715867 | 0 | 0 | 0.066306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0369 | false | 0 | 0.081181 | 0 | 0.158672 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eee12eca4b121670d41db77661696f70326274ce | 538,808 | py | Python | pictures_missing_4.py | darabos/pyweek-lightswitch | b02104e781b204129f50bb29882057504da264f3 | [
"Unlicense"
] | 1 | 2015-01-15T18:00:24.000Z | 2015-01-15T18:00:24.000Z | pictures_missing_4.py | darabos/pyweek-lightswitch | b02104e781b204129f50bb29882057504da264f3 | [
"Unlicense"
] | null | null | null | pictures_missing_4.py | darabos/pyweek-lightswitch | b02104e781b204129f50bb29882057504da264f3 | [
"Unlicense"
] | null | null | null | import collections
P = collections.namedtuple('P', 'time x y pressure')
# time is in milliseconds, pressure goes from 0 to 1000.
words = {
'kid': [
[P(0,237,265,90), P(27,234,264,141), P(29,230,264,172), P(31,229,264,270), P(40,227,264,298), P(54,226,264,321), P(55,224,264,345), P(63,223,264,356), P(67,221,263,38... | 2,263.89916 | 25,544 | 0.66909 | 126,079 | 538,808 | 2.859406 | 0.111264 | 0.006912 | 0.001184 | 0.001609 | 0.000738 | 0.000655 | 0.00058 | 0.0003 | 0.000105 | 0 | 0 | 0.653921 | 0.048882 | 538,808 | 237 | 25,545 | 2,273.451477 | 0.049556 | 0.0001 | 0 | 0.076271 | 0 | 0 | 0.000202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004237 | 0 | 0.004237 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eee37c7931aad4a274e1144f7ee6f7f78cc4a63e | 61 | py | Python | zbx_dashboard/__init__.py | banzayats/zbx-dashboard | 813dc5a5db4ec86dfeddb1e81b34fa2539768898 | [
"MIT"
] | 8 | 2015-07-15T17:27:47.000Z | 2017-05-25T23:58:18.000Z | zbx_dashboard/__init__.py | banzayats/zbx-dashboard | 813dc5a5db4ec86dfeddb1e81b34fa2539768898 | [
"MIT"
] | 1 | 2016-08-01T13:01:56.000Z | 2016-08-01T13:01:56.000Z | zbx_dashboard/__init__.py | banzayats/zbx-dashboard | 813dc5a5db4ec86dfeddb1e81b34fa2539768898 | [
"MIT"
] | 12 | 2015-03-22T18:20:52.000Z | 2020-11-01T09:11:09.000Z | default_app_config = 'zbx_dashboard.apps.ZbxDashboardConfig'
| 30.5 | 60 | 0.868852 | 7 | 61 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 61 | 1 | 61 | 61 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.606557 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eef2518094269679e5f79ec80ecc3cf6a88aca83 | 4,140 | py | Python | CIM14/IEC61968/PaymentMetering/__init__.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | 58 | 2015-04-22T10:41:03.000Z | 2022-03-29T16:04:34.000Z | CIM14/IEC61968/PaymentMetering/__init__.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | 12 | 2015-08-26T03:57:23.000Z | 2020-12-11T20:14:42.000Z | CIM14/IEC61968/PaymentMetering/__init__.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | 35 | 2015-01-10T12:21:03.000Z | 2020-09-09T08:18:16.000Z | # Copyright (C) 2010-2011 Richard Lincoln
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish... | 46 | 243 | 0.811836 | 485 | 4,140 | 6.929897 | 0.408247 | 0.069622 | 0.131508 | 0.247545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055018 | 0.126329 | 4,140 | 89 | 244 | 46.516854 | 0.874205 | 0.460628 | 0 | 0.15 | 0 | 0 | 0.03484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.15 | 0.65 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
010a8bb01d3dea2906afd4fb51d613bf5a08db8f | 174 | py | Python | lib/scrapy/xlib/urlparse_monkeypatches.py | langzeyu/book-crawler | e2d96648384658c7775bd02d94eab086c9ece677 | [
"MIT"
] | 5 | 2019-04-02T05:00:03.000Z | 2021-04-21T11:03:50.000Z | lib/scrapy/xlib/urlparse_monkeypatches.py | langzeyu/book-crawler | e2d96648384658c7775bd02d94eab086c9ece677 | [
"MIT"
] | null | null | null | lib/scrapy/xlib/urlparse_monkeypatches.py | langzeyu/book-crawler | e2d96648384658c7775bd02d94eab086c9ece677 | [
"MIT"
] | null | null | null | from urlparse import urlparse, uses_netloc
# workaround for http://bugs.python.org/issue7904
if urlparse('s3://bucket/key').netloc != 'bucket':
uses_netloc.append('s3')
| 29 | 50 | 0.735632 | 24 | 174 | 5.25 | 0.708333 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0.109195 | 174 | 5 | 51 | 34.8 | 0.774194 | 0.270115 | 0 | 0 | 0 | 0 | 0.184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
015073a24240228f5e623bef05887a688d3e58f1 | 148 | py | Python | config.py | jadehaus/UCE-KAIST-Public | 423ef618e0ccdd6c3efcba93a43f9cba72cedd44 | [
"MIT"
] | 6 | 2022-01-26T04:58:52.000Z | 2022-03-21T06:08:35.000Z | config.py | smpak19/UCE-KAIST-Public | 55e43859eea1d2b3a93dd5a3163879a1a4c0172e | [
"MIT"
] | null | null | null | config.py | smpak19/UCE-KAIST-Public | 55e43859eea1d2b3a93dd5a3163879a1a4c0172e | [
"MIT"
] | 1 | 2022-01-18T08:31:41.000Z | 2022-01-18T08:31:41.000Z | # -*- encoding: utf-8 -*-
"""
Copyright (c) Minu Kim - minu.kim@kaist.ac.kr
Templates from AppSeed.us
This file is hidden for privacy issues.
"""
| 16.444444 | 45 | 0.668919 | 23 | 148 | 4.304348 | 0.913043 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.168919 | 148 | 8 | 46 | 18.5 | 0.796748 | 0.925676 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
018aede66cd4f14b3321f39bcf7678e108a23ef0 | 55,822 | py | Python | parlai/agents/AdaND/custom_LSTM.py | hengyicai/AdaND | 5e3fefb1cf40c42215a37246efc64958ae6db005 | [
"MIT"
] | 9 | 2020-01-17T09:34:00.000Z | 2021-11-19T07:46:52.000Z | parlai/agents/AdaND/custom_LSTM.py | hengyicai/AdaND | 5e3fefb1cf40c42215a37246efc64958ae6db005 | [
"MIT"
] | 5 | 2019-12-29T07:52:39.000Z | 2022-03-12T00:10:03.000Z | parlai/agents/AdaND/custom_LSTM.py | hengyicai/AdaND | 5e3fefb1cf40c42215a37246efc64958ae6db005 | [
"MIT"
] | 2 | 2020-01-28T01:41:52.000Z | 2020-12-27T07:22:07.000Z | """Implementation of customized LSTM."""
import copy
import numbers
import warnings
import torch
import torch.nn.functional as F
from torch import nn
from torch.nn import init
from torch.nn.parameter import Parameter
from torch.nn.utils.rnn import PackedSequence
from parlai.agents.AdaND.utils import reverse, FeedForw... | 45.017742 | 118 | 0.633944 | 7,274 | 55,822 | 4.537668 | 0.046192 | 0.079983 | 0.041143 | 0.019087 | 0.799921 | 0.774472 | 0.7436 | 0.714788 | 0.678402 | 0.646681 | 0 | 0.011565 | 0.258017 | 55,822 | 1,239 | 119 | 45.054076 | 0.78534 | 0.098187 | 0 | 0.619261 | 0 | 0.00224 | 0.020949 | 0.002414 | 0 | 0 | 0 | 0 | 0.021277 | 1 | 0.090705 | false | 0.00112 | 0.011198 | 0.010078 | 0.18589 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6dd402bf8b44cf9e5e30459f1fa06b845e521044 | 816 | py | Python | tests/test_film.py | jlcordeiro/letterboxd_crawler | 97f97a9a0af65beb84827d6b1fe43991a5ec5aef | [
"MIT"
] | null | null | null | tests/test_film.py | jlcordeiro/letterboxd_crawler | 97f97a9a0af65beb84827d6b1fe43991a5ec5aef | [
"MIT"
] | null | null | null | tests/test_film.py | jlcordeiro/letterboxd_crawler | 97f97a9a0af65beb84827d6b1fe43991a5ec5aef | [
"MIT"
] | null | null | null | import unittest
from lmatch import film
class TestFilm(unittest.TestCase):
def setUp(self):
self.sample_film = film.Film(412, "path_that", "name_this", 5.21)
def test_ctor(self):
self.assertEqual(self.sample_film.id, 412)
self.assertEqual(self.sample_film.name, "name_this")
sel... | 32.64 | 73 | 0.651961 | 118 | 816 | 4.347458 | 0.322034 | 0.175439 | 0.245614 | 0.194932 | 0.226121 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044822 | 0.207108 | 816 | 24 | 74 | 34 | 0.748068 | 0 | 0 | 0 | 0 | 0 | 0.060049 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.263158 | false | 0 | 0.105263 | 0 | 0.421053 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6df9f7d802976be3345677197748e6889659534d | 180 | py | Python | venv/lib/python2.7/site-packages/mailinglogger/tests/__init__.py | RyanHartje/vfarm | 47888b1c6a10559692f982667ef891747c4f7294 | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/mailinglogger/tests/__init__.py | RyanHartje/vfarm | 47888b1c6a10559692f982667ef891747c4f7294 | [
"MIT"
] | 1 | 2018-02-23T11:26:08.000Z | 2018-02-23T11:26:08.000Z | mailinglogger/tests/__init__.py | cjw296/mailinglogger | 1962d66049b96da1e8451ea70c572f783206c1b1 | [
"MIT"
] | null | null | null | # Copyright (c) 2007 Simplistix Ltd
#
# This Software is released under the MIT License:
# http://www.opensource.org/licenses/mit-license.html
# See license.txt for more details.
| 25.714286 | 53 | 0.755556 | 27 | 180 | 5.037037 | 0.888889 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0.138889 | 180 | 6 | 54 | 30 | 0.851613 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
097ae4f4ee1f1115e44df29ee0eec29adc39844f | 1,073 | py | Python | tests/test_view_admin.py | madarou/angular-django | 619b8231a74ef1be3233cb0a816c7cbf3bbcdf1b | [
"BSD-2-Clause"
] | 42 | 2015-05-28T14:30:40.000Z | 2019-12-21T03:12:38.000Z | tests/test_view_admin.py | madarou/angular-django | 619b8231a74ef1be3233cb0a816c7cbf3bbcdf1b | [
"BSD-2-Clause"
] | null | null | null | tests/test_view_admin.py | madarou/angular-django | 619b8231a74ef1be3233cb0a816c7cbf3bbcdf1b | [
"BSD-2-Clause"
] | 21 | 2015-05-30T16:40:25.000Z | 2018-04-08T14:10:49.000Z | from django.test import TestCase
from django.core.urlresolvers import reverse
class TestSimplePage(TestCase):
def test_index(self):
resp = self.client.get(reverse('admin_index'))
self.assertEqual(resp.status_code, 200)
def test_code(self):
resp = self.client.get(reverse('admin_blog'))... | 32.515152 | 79 | 0.673812 | 143 | 1,073 | 4.881119 | 0.223776 | 0.070201 | 0.120344 | 0.180516 | 0.76361 | 0.76361 | 0.76361 | 0.56447 | 0.237822 | 0 | 0 | 0.026682 | 0.196645 | 1,073 | 32 | 80 | 33.53125 | 0.783063 | 0 | 0 | 0.291667 | 0 | 0 | 0.092265 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0.291667 | false | 0 | 0.083333 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
098617152b5867bc6940cfce525e5c152d41cb36 | 210 | py | Python | examples/zdppy_random/z01_random_str.py | zhangdapeng520/zdppy_random | 18ab3d335a4b7c5af60be11813863c22b440b954 | [
"MIT"
] | null | null | null | examples/zdppy_random/z01_random_str.py | zhangdapeng520/zdppy_random | 18ab3d335a4b7c5af60be11813863c22b440b954 | [
"MIT"
] | null | null | null | examples/zdppy_random/z01_random_str.py | zhangdapeng520/zdppy_random | 18ab3d335a4b7c5af60be11813863c22b440b954 | [
"MIT"
] | null | null | null | from zdppy_random import Random
r = Random(debug=True)
for _ in range(10):
r.log.info(r.random_str(16))
r.log.info(r.random_str(32))
r.log.info(r.random_str(64))
r.log.info(r.random_str(128))
| 21 | 33 | 0.67619 | 41 | 210 | 3.317073 | 0.439024 | 0.257353 | 0.235294 | 0.264706 | 0.529412 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0.062147 | 0.157143 | 210 | 9 | 34 | 23.333333 | 0.706215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 4 |
0995c0794f7db094cc21fbe2d04c824c9dc0f88f | 171 | py | Python | cebulany/resources/excels/blueprint.py | hackerspace-silesia/cebulany-manager | 5965c39df15aca77a4a891a134762eb4230cbd51 | [
"MIT"
] | 4 | 2019-03-06T20:30:08.000Z | 2020-01-23T19:25:20.000Z | cebulany/resources/excels/blueprint.py | hackerspace-silesia/cebulany-manager | 5965c39df15aca77a4a891a134762eb4230cbd51 | [
"MIT"
] | 9 | 2019-07-06T11:25:50.000Z | 2022-01-22T05:18:39.000Z | cebulany/resources/excels/blueprint.py | hackerspace-silesia/cebulany-manager | 5965c39df15aca77a4a891a134762eb4230cbd51 | [
"MIT"
] | 3 | 2019-10-25T16:55:30.000Z | 2019-10-26T19:55:57.000Z | from os import environ
from flask import Blueprint
URL_PREFIX = environ.get('CEBULANY_APP_URL_PREFIX', '') + '/api/excel'
excel_page = Blueprint('excel_page', 'excel')
| 21.375 | 70 | 0.748538 | 24 | 171 | 5.083333 | 0.583333 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 171 | 7 | 71 | 24.428571 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 0.134503 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
09afc84e6a40a278753ecdb089d7d373f890615c | 87 | py | Python | phoros/apps.py | Soniawangui/Galerie | 1ddc66955c1f13ec46cf4f72a51aa925ae86b9f4 | [
"MIT"
] | null | null | null | phoros/apps.py | Soniawangui/Galerie | 1ddc66955c1f13ec46cf4f72a51aa925ae86b9f4 | [
"MIT"
] | 7 | 2020-06-05T21:52:36.000Z | 2022-03-11T23:53:36.000Z | phoros/apps.py | Soniakoi/Galerie | 1ddc66955c1f13ec46cf4f72a51aa925ae86b9f4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PhorosConfig(AppConfig):
name = 'phoros'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
09d019c62cf2d16484bca344dbb8d834675696cd | 59 | py | Python | app.py | kirilenkobm/gleitzsch | a62e9ae7eae9479da7fdc08900e8d0c11b5167c6 | [
"MIT"
] | 2 | 2020-09-09T23:36:38.000Z | 2020-11-17T17:51:47.000Z | app.py | kirilenkobm/gleitzsch | a62e9ae7eae9479da7fdc08900e8d0c11b5167c6 | [
"MIT"
] | 2 | 2019-09-05T21:43:01.000Z | 2019-09-05T21:43:51.000Z | app.py | kirilenkobm/pixelartor | cd4a61dfb7fd639e3435b8c3a2164e827397a106 | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
import views
| 14.75 | 23 | 0.79661 | 9 | 59 | 4.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 3 | 24 | 19.666667 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
09f1ece94214a5a64c9b4b174bb41a6b88b63d92 | 57 | py | Python | src/inventory/cube.py | soyuka/botty | cc1670ea1db72c5e0ac91685897bf63c89b18896 | [
"MIT"
] | 351 | 2021-11-04T23:04:07.000Z | 2022-03-31T08:24:45.000Z | src/inventory/cube.py | soyuka/botty | cc1670ea1db72c5e0ac91685897bf63c89b18896 | [
"MIT"
] | 277 | 2021-11-05T15:05:12.000Z | 2022-03-31T23:02:06.000Z | src/inventory/cube.py | soyuka/botty | cc1670ea1db72c5e0ac91685897bf63c89b18896 | [
"MIT"
] | 337 | 2021-11-04T21:37:43.000Z | 2022-03-30T10:45:58.000Z | #placeholder, not currently used here (see src/transmute) | 57 | 57 | 0.807018 | 8 | 57 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.901961 | 0.982456 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
09f4bdc01730f88c4ea591e1fc06b61eb42a383a | 14,388 | py | Python | pysnmp/Nortel-MsCarrier-MscPassport-AlarmMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/Nortel-MsCarrier-MscPassport-AlarmMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/Nortel-MsCarrier-MscPassport-AlarmMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-MsCarrier-MscPassport-AlarmMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-AlarmMIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:19:28 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
#... | 191.84 | 2,258 | 0.739088 | 1,598 | 14,388 | 6.654568 | 0.185232 | 0.012601 | 0.146699 | 0.182246 | 0.471695 | 0.434738 | 0.434738 | 0.434738 | 0.422607 | 0.409253 | 0 | 0.083624 | 0.084932 | 14,388 | 74 | 2,259 | 194.432432 | 0.724062 | 0.025577 | 0 | 0 | 0 | 0 | 0.355506 | 0.192135 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.149254 | 0.134328 | 0 | 0.134328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
61d48f0f2dde68e899475fecd4f28a3dc168cdf9 | 184 | py | Python | Products/PloneGetPaid/generations/r10.py | collective/Products.PloneGetPaid | 8a89ce3585315d84221b7ab46bfb28beeefda3b2 | [
"ZPL-2.1"
] | 2 | 2019-10-27T22:12:10.000Z | 2021-02-17T19:54:55.000Z | Products/PloneGetPaid/generations/r10.py | collective/Products.PloneGetPaid | 8a89ce3585315d84221b7ab46bfb28beeefda3b2 | [
"ZPL-2.1"
] | 1 | 2017-08-24T11:40:25.000Z | 2017-08-24T13:38:45.000Z | Products/PloneGetPaid/generations/r10.py | collective/Products.PloneGetPaid | 8a89ce3585315d84221b7ab46bfb28beeefda3b2 | [
"ZPL-2.1"
] | 2 | 2016-02-04T09:06:52.000Z | 2021-02-17T19:55:02.000Z | """
assign a database version to the getpaid installation for future upgrades.
"""
def evolve( portal ):
# the upgrade framework will take care of upgrading for us
pass
| 18.4 | 74 | 0.701087 | 25 | 184 | 5.16 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 184 | 9 | 75 | 20.444444 | 0.921429 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
112ad9cf44e36f3e3e0be12d003ab19528c433df | 432 | py | Python | __init__.py | RockFeng0/muiapy | 7e88f55767b3bbcb6e3300962f93618ff5abaace | [
"MIT"
] | 5 | 2018-07-09T09:50:17.000Z | 2021-12-31T17:14:08.000Z | __init__.py | ayifa/muiapy | 7e88f55767b3bbcb6e3300962f93618ff5abaace | [
"MIT"
] | null | null | null | __init__.py | ayifa/muiapy | 7e88f55767b3bbcb6e3300962f93618ff5abaace | [
"MIT"
] | 4 | 2019-03-22T06:06:15.000Z | 2021-12-31T17:14:19.000Z | # encoding:utf-8
__version__ = 3.0
try:
from muia import WinWPFDriver
except ImportError,e:
import sys,os,clr
print "Warning: %s. Now Calling the dll..." %e
sys.path.append(os.path.abspath(os.path.dirname(__file__)))
clr.AddReferenceToFile("muia.dll")
clr.AddReferenceToFile("UIAut... | 33.230769 | 64 | 0.694444 | 52 | 432 | 5.615385 | 0.615385 | 0.215753 | 0.09589 | 0.178082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008596 | 0.19213 | 432 | 13 | 65 | 33.230769 | 0.82808 | 0.032407 | 0 | 0.181818 | 0 | 0 | 0.212346 | 0.106173 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.363636 | null | null | 0.090909 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
114f74d0ff47244d1bbb3ad53221b4593f598c05 | 30,451 | py | Python | networking_vsphere/tests/unit/monitor/test_ovsvapp_monitor.py | Mirantis/vmware-dvs | 37b874f9bf40b47d0de231c640367275fb3afb9b | [
"Apache-2.0"
] | 8 | 2015-04-23T15:36:56.000Z | 2019-03-06T13:23:28.000Z | networking_vsphere/tests/unit/monitor/test_ovsvapp_monitor.py | Mirantis/vmware-dvs | 37b874f9bf40b47d0de231c640367275fb3afb9b | [
"Apache-2.0"
] | 1 | 2016-10-04T13:24:50.000Z | 2016-10-04T13:24:50.000Z | networking_vsphere/tests/unit/monitor/test_ovsvapp_monitor.py | Mirantis/vmware-dvs | 37b874f9bf40b47d0de231c640367275fb3afb9b | [
"Apache-2.0"
] | 19 | 2015-09-15T13:25:01.000Z | 2019-09-03T08:23:21.000Z | # Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | 50.415563 | 79 | 0.586976 | 3,232 | 30,451 | 5.149134 | 0.08323 | 0.07403 | 0.091936 | 0.054801 | 0.802368 | 0.75003 | 0.720046 | 0.694147 | 0.677743 | 0.658695 | 0 | 0.009818 | 0.337723 | 30,451 | 603 | 80 | 50.499171 | 0.815391 | 0.020722 | 0 | 0.671614 | 0 | 0 | 0.067707 | 0.023117 | 0 | 0 | 0 | 0 | 0.16141 | 1 | 0.055659 | false | 0 | 0.03154 | 0.003711 | 0.111317 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
11568f5f7231dfd8a8811ba2e12652528572acae | 71 | py | Python | ch01/factorial.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | ch01/factorial.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | ch01/factorial.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | """Factorial example."""
from math import factorial
factorial(5)
# 120
| 14.2 | 26 | 0.732394 | 9 | 71 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.126761 | 71 | 4 | 27 | 17.75 | 0.774194 | 0.323944 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.