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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9880fa10e77c2807369a0e296a058dcca26767fe | 843 | py | Python | quarantine/model/qtime.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null | quarantine/model/qtime.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null | quarantine/model/qtime.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null |
class QTimer:
def __init__(self, ticks_per_hour = 60, hours_per_day:int = 24):
self.ticks = 0
self.ticks_per_hour = ticks_per_hour
self.hours_per_day = hours_per_day
def tick(self, increment : int = 1):
self.ticks += increment
@property
def minutes(self):
retu... | 20.071429 | 83 | 0.6121 | 121 | 843 | 3.950413 | 0.256198 | 0.188285 | 0.150628 | 0.167364 | 0.401674 | 0.338912 | 0.338912 | 0.282427 | 0.209205 | 0.209205 | 0 | 0.046926 | 0.266904 | 843 | 41 | 84 | 20.560976 | 0.726537 | 0 | 0 | 0.259259 | 0 | 0.037037 | 0.086905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.148148 | 0.407407 | 0.148148 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
9884b2f618a80c341a67b657f02ecfef27a92e73 | 322 | py | Python | app/api/errors/handlers.py | rwhughes91/glenn_has_range | 7460a2694f6126956a778e0fc80add189509e749 | [
"MIT"
] | null | null | null | app/api/errors/handlers.py | rwhughes91/glenn_has_range | 7460a2694f6126956a778e0fc80add189509e749 | [
"MIT"
] | null | null | null | app/api/errors/handlers.py | rwhughes91/glenn_has_range | 7460a2694f6126956a778e0fc80add189509e749 | [
"MIT"
] | null | null | null | from flask import Blueprint
from flask_restplus import abort
from .errors import BadRequest
def add_error_handlers(bp: Blueprint) -> None:
@bp.errorhandler(BadRequest)
def handle_bad_request(error: BadRequest) -> None:
payload = error.payload or {}
abort(error.status, error.message, **payload... | 26.833333 | 54 | 0.729814 | 40 | 322 | 5.75 | 0.55 | 0.078261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180124 | 322 | 11 | 55 | 29.272727 | 0.871212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.625 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
98a60bd3bea750b3a938bddc2e10d34bc297f8c5 | 8,536 | py | Python | fastdownload/urls.py | tommichiels/fastdownload | f0628c58a153758db65aa162192642c6c2e9f9b3 | [
"Apache-2.0"
] | 27 | 2021-06-15T00:47:04.000Z | 2021-09-25T02:55:08.000Z | fastdownload/urls.py | tommichiels/fastdownload | f0628c58a153758db65aa162192642c6c2e9f9b3 | [
"Apache-2.0"
] | 26 | 2021-06-18T10:18:16.000Z | 2022-03-20T03:08:11.000Z | fastdownload/urls.py | tommichiels/fastdownload | f0628c58a153758db65aa162192642c6c2e9f9b3 | [
"Apache-2.0"
] | 6 | 2021-06-18T06:53:33.000Z | 2022-03-30T07:43:10.000Z | URLs = {
"ADULT_SAMPLE":[
"https://s3.amazonaws.com/fast-ai-sample/adult_sample.tgz",
968212,
"64eb9d7e23732de0b138f7372d15492f"
],
"AG_NEWS":[
"https://s3.amazonaws.com/fast-ai-nlp/ag_news_csv.tgz",
11784419,
"b86f328f4dbd072486591cb7a5644dcd"
],
"AMAZON_REVIEWS":[
... | 29.74216 | 81 | 0.656396 | 799 | 8,536 | 6.893617 | 0.277847 | 0.068627 | 0.156863 | 0.186275 | 0.396696 | 0.396696 | 0.396696 | 0.300472 | 0.033769 | 0 | 0 | 0.261704 | 0.194236 | 8,536 | 287 | 82 | 29.74216 | 0.53911 | 0 | 0 | 0.195122 | 0 | 0.006969 | 0.668853 | 0.218812 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f37a440c726d6de217e8519b8d605494eb7cce8 | 1,935 | py | Python | launch/launch/substitutions/environment_variable.py | oswinso/launch | abaa861f68f60b77585284c6ebf9fcd5bea419db | [
"Apache-2.0"
] | null | null | null | launch/launch/substitutions/environment_variable.py | oswinso/launch | abaa861f68f60b77585284c6ebf9fcd5bea419db | [
"Apache-2.0"
] | null | null | null | launch/launch/substitutions/environment_variable.py | oswinso/launch | abaa861f68f60b77585284c6ebf9fcd5bea419db | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 36.509434 | 95 | 0.721447 | 247 | 1,935 | 5.550607 | 0.48583 | 0.043764 | 0.018964 | 0.023341 | 0.08388 | 0.049599 | 0 | 0 | 0 | 0 | 0 | 0.005118 | 0.192248 | 1,935 | 52 | 96 | 37.211538 | 0.872041 | 0.496124 | 0 | 0 | 0 | 0 | 0.014192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.421053 | 0 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7f46fe2d08eea7bb9a708473c4bec2cf8f70641d | 177 | py | Python | web/smt/config.py | wzh191920/MyData | bbb3c229736a1196a3a32022d87d69c7ede834d1 | [
"MIT"
] | 7 | 2017-12-17T08:01:57.000Z | 2022-03-13T10:04:08.000Z | web/smt/config.py | wzh191920/MyData | bbb3c229736a1196a3a32022d87d69c7ede834d1 | [
"MIT"
] | null | null | null | web/smt/config.py | wzh191920/MyData | bbb3c229736a1196a3a32022d87d69c7ede834d1 | [
"MIT"
] | 3 | 2019-05-30T04:10:16.000Z | 2020-02-16T03:32:43.000Z | import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
DEBUG = True
SECRET_KEY = 'hard to guess string'
BOOTSTRAP_SERVE_LOCAL = True
| 19.666667 | 53 | 0.683616 | 24 | 177 | 4.75 | 0.833333 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231638 | 177 | 8 | 54 | 22.125 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
7f635b7b7505e3012fd9254d8c3507678a75b14a | 44,853 | py | Python | pysnmp/DeltaUPS-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/DeltaUPS-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/DeltaUPS-MIB.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 DeltaUPS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DeltaUPS-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:43:21 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019,... | 134.290419 | 7,909 | 0.759392 | 5,036 | 44,853 | 6.763503 | 0.07784 | 0.012566 | 0.016999 | 0.022665 | 0.494613 | 0.46907 | 0.435836 | 0.381287 | 0.363994 | 0.356742 | 0 | 0.088763 | 0.081199 | 44,853 | 333 | 7,910 | 134.693694 | 0.73774 | 0.00709 | 0 | 0 | 0 | 0 | 0.077079 | 0.000988 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.09816 | 0.018405 | 0 | 0.018405 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7f7fd8be5926c9e493f5b0b500b9135f8b25448c | 6,718 | py | Python | tethysext/atcore/tests/integrated_tests/controllers/app_users/resource_status.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | 3 | 2020-11-05T23:50:47.000Z | 2021-02-26T21:43:29.000Z | tethysext/atcore/tests/integrated_tests/controllers/app_users/resource_status.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | 7 | 2020-10-29T16:53:49.000Z | 2021-05-07T19:46:47.000Z | tethysext/atcore/tests/integrated_tests/controllers/app_users/resource_status.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | null | null | null | """
********************************************************************************
* Name: resource_status.py
* Author: nswain
* Created On: September 24, 2018
* Copyright: (c) Aquaveo 2018
********************************************************************************
"""
from unittest import mock
from django.http ... | 47.985714 | 101 | 0.70259 | 833 | 6,718 | 5.346939 | 0.138055 | 0.053884 | 0.070049 | 0.078132 | 0.743377 | 0.731253 | 0.71868 | 0.689942 | 0.669511 | 0.649753 | 0 | 0.009767 | 0.161804 | 6,718 | 139 | 102 | 48.330935 | 0.781211 | 0.049866 | 0 | 0.571429 | 0 | 0 | 0.203547 | 0.158977 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.07619 | false | 0.009524 | 0.057143 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f9fe169321ba8c7033862fb262d1d9ab5bcc596 | 160 | py | Python | addrev-spoj.py | satyaaditya/Python_BTech | 4c2587978e6ed84d470cd8c1daafa13b61f2f711 | [
"MIT"
] | null | null | null | addrev-spoj.py | satyaaditya/Python_BTech | 4c2587978e6ed84d470cd8c1daafa13b61f2f711 | [
"MIT"
] | null | null | null | addrev-spoj.py | satyaaditya/Python_BTech | 4c2587978e6ed84d470cd8c1daafa13b61f2f711 | [
"MIT"
] | null | null | null | n = int(raw_input())
while n:
a,b = raw_input().split()
a=a[::-1]
b=b[::-1]
a=str(int(a)+int(b))
a=a[::-1]
print int(a)
n-=1 | 17.777778 | 30 | 0.41875 | 31 | 160 | 2.096774 | 0.354839 | 0.246154 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.3125 | 160 | 9 | 31 | 17.777778 | 0.554545 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.111111 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7fb3c284ff3b37a1e6bd8f1029eb89974ccf6525 | 315 | py | Python | scripts/pepper_interface/body/tablet.py | MPI-IS/reactive_pepper | 079f9b0627bfd6c9e3f2a4466c95ad662002a600 | [
"BSD-3-Clause"
] | null | null | null | scripts/pepper_interface/body/tablet.py | MPI-IS/reactive_pepper | 079f9b0627bfd6c9e3f2a4466c95ad662002a600 | [
"BSD-3-Clause"
] | null | null | null | scripts/pepper_interface/body/tablet.py | MPI-IS/reactive_pepper | 079f9b0627bfd6c9e3f2a4466c95ad662002a600 | [
"BSD-3-Clause"
] | null | null | null | class Tablet :
def __init__(self,tablet_proxy):
self._tablet = tablet_proxy
def set_background(self,color):
self._tablet.setBackgroundColor(color)
def set_image(self,url):
self._tablet.showImage(url)
def load_image(self,url):
return self._table.preLoadImage(url)
| 22.5 | 46 | 0.679365 | 39 | 315 | 5.153846 | 0.435897 | 0.199005 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 315 | 13 | 47 | 24.230769 | 0.820408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7fbc47a9ef77b25dbadfd2afd5d87655320e088a | 668 | py | Python | test_scripts/extract_percentile.py | ukcp-data/ukcp18-data-factory | 939ca5449ebb33415a3aece976ab86065066ce0b | [
"BSD-2-Clause"
] | null | null | null | test_scripts/extract_percentile.py | ukcp-data/ukcp18-data-factory | 939ca5449ebb33415a3aece976ab86065066ce0b | [
"BSD-2-Clause"
] | 8 | 2017-09-11T10:06:40.000Z | 2018-09-19T12:27:11.000Z | test_scripts/extract_percentile.py | ukcp-data/ukcp18-data-factory | 939ca5449ebb33415a3aece976ab86065066ce0b | [
"BSD-2-Clause"
] | null | null | null | import iris
fpath = 'fakedata/ukcp18/data/land-prob/uk/25km/rcp85/percentile/tasAnom/mon/latest/tasAnom_rcp85_land-prob_uk_25km_percentile_mon_20021201-20031130.nc'
fpath = 'fakedata/ukcp18/data/land-prob/uk/25km/rcp85/percentile/tasAnom/mon/latest/tasAnom_rcp85_land-prob_uk_25km_percentile_mon_20081201-20091130.nc'
f... | 27.833333 | 152 | 0.755988 | 119 | 668 | 4.117647 | 0.487395 | 0.065306 | 0.081633 | 0.114286 | 0.436735 | 0.436735 | 0.436735 | 0.436735 | 0.436735 | 0.436735 | 0 | 0.107023 | 0.10479 | 668 | 23 | 153 | 29.043478 | 0.712375 | 0 | 0 | 0 | 0 | 0.142857 | 0.57958 | 0.426426 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.142857 | 0.142857 | null | null | 0.285714 | 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 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f6933a86e9017785ff821801c8da80c010180f68 | 2,861 | py | Python | src/grassfire/test/test_collapsetime.py | bmmeijers/grassfire | 20995d97ca41763d40b23f0fadb6e0581dff859b | [
"MIT"
] | 1 | 2021-07-09T14:53:34.000Z | 2021-07-09T14:53:34.000Z | src/grassfire/test/test_collapsetime.py | bmmeijers/grassfire | 20995d97ca41763d40b23f0fadb6e0581dff859b | [
"MIT"
] | null | null | null | src/grassfire/test/test_collapsetime.py | bmmeijers/grassfire | 20995d97ca41763d40b23f0fadb6e0581dff859b | [
"MIT"
] | null | null | null | import unittest
from grassfire.collapse import compute_event_3triangle, find_gt,\
visualize_collapse
from grassfire.primitives import KineticTriangle, KineticVertex
# class TestCollapseTime(unittest.TestCase):
# def setUp(self):
# #self.now = 0.0799482915
# self.now = 0
# self.triangle ... | 51.089286 | 228 | 0.676337 | 324 | 2,861 | 5.898148 | 0.364198 | 0.021978 | 0.016745 | 0.038723 | 0.321298 | 0.286761 | 0.274202 | 0.223967 | 0.223967 | 0.223967 | 0 | 0.396758 | 0.180706 | 2,861 | 56 | 229 | 51.089286 | 0.418515 | 0.457532 | 0 | 0 | 0 | 0 | 0.021569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.185185 | null | null | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f6a699de6a4acd5f25bbb672e4277170b123163e | 512 | py | Python | automation/fixtures/errors.py | zahed3795/Super-Automation | a207d39910943256ad2117b1a84ebcaaaf7aa43e | [
"MIT"
] | 2 | 2020-11-12T14:01:49.000Z | 2020-11-12T14:01:52.000Z | automation/fixtures/errors.py | zahed3795/Super-Automation | a207d39910943256ad2117b1a84ebcaaaf7aa43e | [
"MIT"
] | null | null | null | automation/fixtures/errors.py | zahed3795/Super-Automation | a207d39910943256ad2117b1a84ebcaaaf7aa43e | [
"MIT"
] | null | null | null | """
Super-Automation MySQL plugin-related exceptions.
Raising one of these in a test will cause the
test-state to be logged appropriately in the DB
for tests that use the Super-Automation MySQL plugin.
"""
class BlockedTest(Exception):
""" Raise this to mark a test as Blocked in the DB. """
pass
class SkipT... | 23.272727 | 62 | 0.703125 | 79 | 512 | 4.556962 | 0.493671 | 0.055556 | 0.077778 | 0.166667 | 0.347222 | 0.258333 | 0.258333 | 0.258333 | 0 | 0 | 0 | 0 | 0.214844 | 512 | 21 | 63 | 24.380952 | 0.895522 | 0.677734 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f6ac49f1182131eadfc7138b9885260c0a6da39e | 115 | py | Python | hotels/apps.py | MaryzangelaBessa/ElRoyale | 4788ec912fde95230b52d481c27577b020678a02 | [
"MIT"
] | 2 | 2019-09-19T13:28:07.000Z | 2019-09-19T19:00:20.000Z | hotels/apps.py | MaryzangelaBessa/ElRoyale | 4788ec912fde95230b52d481c27577b020678a02 | [
"MIT"
] | 4 | 2021-03-19T01:53:26.000Z | 2021-06-10T18:59:34.000Z | hotels/apps.py | MaryzangelaBessa/ElRoyale | 4788ec912fde95230b52d481c27577b020678a02 | [
"MIT"
] | 1 | 2019-11-01T01:37:45.000Z | 2019-11-01T01:37:45.000Z | from django.apps import AppConfig
class HotelsConfig(AppConfig):
name = 'hotels'
verbose_name = 'Hotéis'
| 16.428571 | 33 | 0.721739 | 13 | 115 | 6.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191304 | 115 | 6 | 34 | 19.166667 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f6eee5aa3fcaec7aed69cbea6ce470aefc2a2879 | 1,401 | py | Python | LinkedBinaryTree.py | xliiauo/leetcode | e6c477802379168e084d076066f3b9e559dc553d | [
"MIT"
] | 1 | 2016-05-08T15:51:05.000Z | 2016-05-08T15:51:05.000Z | LinkedBinaryTree.py | xliiauo/leetcode | e6c477802379168e084d076066f3b9e559dc553d | [
"MIT"
] | null | null | null | LinkedBinaryTree.py | xliiauo/leetcode | e6c477802379168e084d076066f3b9e559dc553d | [
"MIT"
] | null | null | null | from BinaryTree import BinaryTree
class LinkedBinaryTree:
class _Node:
__slots__ = '_parent', '_left', '_right', '_element'
def __init__(self, element, parent=None, left=None, right=None):
self._element = element
self._parent = parent
self._left = left
... | 25.944444 | 74 | 0.599572 | 166 | 1,401 | 4.656627 | 0.192771 | 0.090556 | 0.072445 | 0.113842 | 0.186287 | 0.186287 | 0.186287 | 0.186287 | 0.186287 | 0.186287 | 0 | 0.001024 | 0.302641 | 1,401 | 53 | 75 | 26.433962 | 0.790174 | 0 | 0 | 0.076923 | 0 | 0 | 0.018558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.025641 | 0.179487 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
63dbbfc529a10e5453077e9aec6f3059d6ca4ce6 | 815 | py | Python | pyxll_jupyter/qtimports.py | TanKingsley/pyxll-jupyter | 4f7b3eb361079b74683d89340dfff9576fb2ff41 | [
"MIT"
] | 1 | 2020-12-28T10:40:38.000Z | 2020-12-28T10:40:38.000Z | pyxll_jupyter/qtimports.py | TanKingsley/pyxll-jupyter | 4f7b3eb361079b74683d89340dfff9576fb2ff41 | [
"MIT"
] | null | null | null | pyxll_jupyter/qtimports.py | TanKingsley/pyxll-jupyter | 4f7b3eb361079b74683d89340dfff9576fb2ff41 | [
"MIT"
] | null | null | null | """Common imports used by other modules in this package.
They are collected here so we can switch between PySide2 and PyQt5
depending on what's installed.
"""
try:
from PySide2.QtWidgets import QApplication, QWidget, QVBoxLayout, QTabWidget, QTabBar, QShortcut, QMessageBox
from PySide2.QtWebEngineWidgets impor... | 47.941176 | 113 | 0.801227 | 95 | 815 | 6.873684 | 0.536842 | 0.068913 | 0.082695 | 0.104135 | 0.486983 | 0.486983 | 0.2634 | 0.2634 | 0.2634 | 0.2634 | 0 | 0.015896 | 0.15092 | 815 | 16 | 114 | 50.9375 | 0.927746 | 0.186503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.909091 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
63ddb3d63dd7768a61c3ce30d18b410594e57c4d | 104 | py | Python | unidade1/ConsumoEnergia/consumoenergia.py | Davvi-Duarte/prog1 | b22e271d3a0226ebb2cabe211d4c8e243cc93f1c | [
"Apache-2.0"
] | null | null | null | unidade1/ConsumoEnergia/consumoenergia.py | Davvi-Duarte/prog1 | b22e271d3a0226ebb2cabe211d4c8e243cc93f1c | [
"Apache-2.0"
] | null | null | null | unidade1/ConsumoEnergia/consumoenergia.py | Davvi-Duarte/prog1 | b22e271d3a0226ebb2cabe211d4c8e243cc93f1c | [
"Apache-2.0"
] | null | null | null | potencia=int(input())
tempo=int(input())
calculo=(potencia/1000)*(tempo/60)
print(f'{calculo:.1f} kWh')
| 20.8 | 34 | 0.701923 | 16 | 104 | 4.5625 | 0.6875 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0.048077 | 104 | 4 | 35 | 26 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
63e288e33ba4d43d46304cd209143632016af34a | 771 | py | Python | chaper1/cgiweb.py | xrhou/django-book | 9b3e88c66216c7899d1e84b3afea9653065af477 | [
"Apache-2.0"
] | null | null | null | chaper1/cgiweb.py | xrhou/django-book | 9b3e88c66216c7899d1e84b3afea9653065af477 | [
"Apache-2.0"
] | null | null | null | chaper1/cgiweb.py | xrhou/django-book | 9b3e88c66216c7899d1e84b3afea9653065af477 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding:utf-8 -*-
import pymysql
print "Content-Type: text/html\n"
print "<html><head><title>Books</title></head>"
print "<body>"
print "<h1>Books</h1>"
print "<ul>"
connection = pymysql.connect(host='ngaribata.mysql.rds.aliyuncs.com',
user='houxr',
... | 27.535714 | 81 | 0.571984 | 87 | 771 | 5.022989 | 0.712644 | 0.04119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021239 | 0.267185 | 771 | 27 | 82 | 28.555556 | 0.752212 | 0.04799 | 0 | 0 | 0 | 0 | 0.355191 | 0.096995 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.052632 | 0.052632 | null | null | 0.421053 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
63ef89b856f2fd88c7e5d72318b04782be811f42 | 220 | py | Python | tests/unit/context.py | AngryMaciek/angry-moran-simulator | a76dab43a511640a8fa474c1da4f54f36f39db66 | [
"MIT"
] | 5 | 2020-09-01T06:06:37.000Z | 2022-01-17T23:34:41.000Z | tests/unit/context.py | AngryMaciek/angry-moran-simulator | a76dab43a511640a8fa474c1da4f54f36f39db66 | [
"MIT"
] | 24 | 2020-07-25T21:05:56.000Z | 2021-05-28T22:29:23.000Z | tests/unit/context.py | AngryMaciek/angry-moran-simulator | a76dab43a511640a8fa474c1da4f54f36f39db66 | [
"MIT"
] | 5 | 2020-08-24T19:29:29.000Z | 2022-02-05T00:43:36.000Z | import os
import sys
# python path modification to resolve the package modules properly during testing
sys.path.insert(
0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")),
)
import moranpycess
| 22 | 81 | 0.731818 | 31 | 220 | 5.064516 | 0.677419 | 0.11465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.136364 | 220 | 9 | 82 | 24.444444 | 0.821053 | 0.359091 | 0 | 0 | 0 | 0 | 0.028777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1221c75d3493b9a31347b9210b8fe63bade66eb6 | 1,694 | py | Python | Args/Switches.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null | Args/Switches.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null | Args/Switches.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null | #from subprocess import call
import os,sys,re
class Args_Switches():
##!
##! self.__Switches__ acessor.
##!
def Switches_Get(self,switch=None,key=None):
if (switch):
if (self.__Switches__.has_key(switch)):
if (key):
if (self.__Switches__... | 25.666667 | 69 | 0.543093 | 180 | 1,694 | 4.833333 | 0.255556 | 0.151724 | 0.144828 | 0.091954 | 0.273563 | 0.273563 | 0.170115 | 0 | 0 | 0 | 0 | 0.008212 | 0.353011 | 1,694 | 65 | 70 | 26.061538 | 0.785584 | 0.195986 | 0 | 0.068966 | 0 | 0 | 0.013585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.034483 | 0.137931 | 0.551724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
122ee91aacb463a01a3d90fba98f8e705d880dc3 | 116 | py | Python | app.py | calacuda/nanopool-dashboard | e58cd57e40bfcd241002dbf17272176c0ff6dc1c | [
"MIT"
] | null | null | null | app.py | calacuda/nanopool-dashboard | e58cd57e40bfcd241002dbf17272176c0ff6dc1c | [
"MIT"
] | null | null | null | app.py | calacuda/nanopool-dashboard | e58cd57e40bfcd241002dbf17272176c0ff6dc1c | [
"MIT"
] | null | null | null | """
app.py
the main file for launching the web dashboard.
By: Calacuda | MIT Licence | Epoch: Mar 25, 2021
"""
| 10.545455 | 48 | 0.663793 | 18 | 116 | 4.277778 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.224138 | 116 | 10 | 49 | 11.6 | 0.788889 | 0.905172 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
123b6fb1982876f803b89a7456846b56855dab70 | 780 | py | Python | cmaq_preprocess/context.py | steven-thomas/py4dvar | 9e4bdf257e11ee4eb6f65407afc46e372c7990ce | [
"Apache-2.0"
] | 1 | 2022-03-10T06:02:45.000Z | 2022-03-10T06:02:45.000Z | tests/context.py | hulaba/py4dvar | 9e4bdf257e11ee4eb6f65407afc46e372c7990ce | [
"Apache-2.0"
] | null | null | null | tests/context.py | hulaba/py4dvar | 9e4bdf257e11ee4eb6f65407afc46e372c7990ce | [
"Apache-2.0"
] | 3 | 2021-03-10T04:18:22.000Z | 2022-03-10T06:02:38.000Z | """
context.py
Copyright 2016 University of Melbourne.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | 43.333333 | 206 | 0.785897 | 125 | 780 | 4.832 | 0.648 | 0.099338 | 0.043046 | 0.05298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013433 | 0.141026 | 780 | 17 | 207 | 45.882353 | 0.88806 | 0.8 | 0 | 0 | 0 | 0 | 0.013514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
124c267a8dad75ea2d9fa792b6d153beafbf5a1d | 2,149 | py | Python | owtf/lib/exceptions.py | Udbhavbisarya23/owtf | 27623937677caf975569f8de8af7983ca57611bc | [
"BSD-3-Clause"
] | 1,514 | 2015-01-15T18:42:58.000Z | 2022-03-25T08:14:40.000Z | owtf/lib/exceptions.py | justdvnsh/owtf | 3a543b4eb2a7ad67155eb96dd2d99efbc181498d | [
"BSD-3-Clause"
] | 652 | 2015-01-09T18:27:37.000Z | 2022-03-21T18:41:01.000Z | owtf/lib/exceptions.py | justdvnsh/owtf | 3a543b4eb2a7ad67155eb96dd2d99efbc181498d | [
"BSD-3-Clause"
] | 506 | 2015-01-02T09:28:47.000Z | 2022-03-10T23:27:27.000Z | """
owtf.lib.exceptions
~~~~~~~~~~~~~~~~~~~
Declares the framework exceptions and HTTP errors
"""
try:
from http.client import responses
except ImportError:
from httplib import responses
import tornado.web
class FrameworkException(Exception):
def __init__(self, value):
self.parameter = value
... | 18.058824 | 71 | 0.746394 | 185 | 2,149 | 8.616216 | 0.481081 | 0.107277 | 0.287955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165658 | 2,149 | 118 | 72 | 18.211864 | 0.889013 | 0.188925 | 0 | 0.351852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 1 | 0.055556 | false | 0.351852 | 0.074074 | 0.018519 | 0.574074 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
12540e4adf6583adc04cfe0dc3ecf03322ecbb6f | 3,906 | py | Python | Others/NeuralPy/activation.py | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 2 | 2021-01-24T09:00:51.000Z | 2022-01-23T20:52:17.000Z | Others/NeuralPy/activation.py | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 6 | 2020-02-29T01:59:03.000Z | 2022-02-15T10:25:40.000Z | Others/NeuralPy/activation.py | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 1 | 2019-03-22T14:41:21.000Z | 2019-03-22T14:41:21.000Z | """
Activation function module.
"""
__docformat__ = "restructuredtext en"
## Copyright (c) 2009 Emmanuel Goossaert
##
## This file is part of npy.
##
## npy 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; ... | 22.067797 | 79 | 0.63108 | 434 | 3,906 | 5.536866 | 0.320277 | 0.127341 | 0.052434 | 0.033292 | 0.371203 | 0.30129 | 0.238452 | 0.223471 | 0.223471 | 0.198086 | 0 | 0.005058 | 0.291347 | 3,906 | 176 | 80 | 22.193182 | 0.863078 | 0.402202 | 0 | 0.433333 | 0 | 0 | 0.027231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.033333 | 0.116667 | 0.133333 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
89c33deb4138375e82e78651972fbf87ae22c3c2 | 2,579 | py | Python | acc/settings.py | CSC436-18S-GoPiGo/gopigo | eca7aa6c452f2d82802cbadbffdef6223e22316d | [
"MIT"
] | 2 | 2018-09-08T03:51:42.000Z | 2020-02-13T02:25:17.000Z | acc/settings.py | CSC436-18S-GoPiGo/gopigo | eca7aa6c452f2d82802cbadbffdef6223e22316d | [
"MIT"
] | 8 | 2018-04-15T19:10:23.000Z | 2018-04-26T17:04:31.000Z | acc/settings.py | CSC436-18S-GoPiGo/gopigo | eca7aa6c452f2d82802cbadbffdef6223e22316d | [
"MIT"
] | 3 | 2018-04-13T05:03:50.000Z | 2019-01-11T01:59:12.000Z | """
This module contains a class for sharing information on the state of the ACC,
rover, and obstacle between the main process for the ACC and the listener
process. It allows for this information to be relayed to the user.
"""
UNKNOWN = "-" # An initial value given to all of the values, so that the user interface has... | 26.316327 | 120 | 0.676619 | 266 | 2,579 | 6.537594 | 0.342105 | 0.069005 | 0.096607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257852 | 2,579 | 97 | 121 | 26.587629 | 0.908568 | 0.13765 | 0 | 0 | 0 | 0 | 0.000451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.396825 | false | 0 | 0 | 0.190476 | 0.603175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
89c9578e42a7385197c15cd7ff39296b8c751a45 | 15,965 | py | Python | tests/sat/Intensive/c1112.250.UNSAT.dimacs.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/sat/Intensive/c1112.250.UNSAT.dimacs.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/sat/Intensive/c1112.250.UNSAT.dimacs.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
c num blocks = 1
c num vars = 250
c minblockids[0] = 1
c maxblockids[0] = 250
p cnf 250 1112
-32 148 249 0
169 -98 24 0
-122 -32 -128 0
-9 125 200 0
-216 193 138 0
196 54 31 0
-140 -121 -62 0
237 152 -122 0
91 -206 -247 0
172 -115 -101 0
220 -216 152 0
26 88 -69 0
-130 235 226 0
-96 -242 2 0
-184 -48 -190 0... | 14.229055 | 22 | 0.6114 | 4,471 | 15,965 | 2.183181 | 0.058824 | 0.004098 | 0.001434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.844346 | 0.280489 | 15,965 | 1,121 | 23 | 14.241748 | 0.005397 | 0 | 0 | 0 | 0 | 0 | 0.998246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
89da0e88cf43f929669f7d06a7134e529b6866d8 | 243 | py | Python | trnsystor/run.py | samuelduchesne/pyTrnsys | f2deb5eb340a2814722eead5f8b6278a945c730d | [
"MIT"
] | 5 | 2021-07-20T16:07:06.000Z | 2022-02-09T07:57:21.000Z | trnsystor/run.py | samuelduchesne/pyTrnsys | f2deb5eb340a2814722eead5f8b6278a945c730d | [
"MIT"
] | 50 | 2021-02-12T07:36:55.000Z | 2022-03-21T10:40:47.000Z | trnsystor/run.py | samuelduchesne/pyTrnsys | f2deb5eb340a2814722eead5f8b6278a945c730d | [
"MIT"
] | 4 | 2019-06-28T17:56:05.000Z | 2020-02-24T16:33:28.000Z | """Run module."""
class Run:
"""Class describing a TRNSYS simulation.
- convention: left (00:00 is [00:00;01:00[ for an hourly series)
- clock: tzt
"""
def __init__(self):
"""Initialize object."""
pass
| 16.2 | 68 | 0.563786 | 30 | 243 | 4.433333 | 0.8 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.283951 | 243 | 14 | 69 | 17.357143 | 0.695402 | 0.604938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
89da32e8d95d53d2b15d0a36892fa6e86cd96d65 | 2,201 | py | Python | src/tools/metrics.py | Haru4me/NeuralODE | 1c63b1176730d5cb7def171f260f4bd35a45bc62 | [
"MIT"
] | null | null | null | src/tools/metrics.py | Haru4me/NeuralODE | 1c63b1176730d5cb7def171f260f4bd35a45bc62 | [
"MIT"
] | null | null | null | src/tools/metrics.py | Haru4me/NeuralODE | 1c63b1176730d5cb7def171f260f4bd35a45bc62 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch.nn.functional as F
import torch
class R2Score(nn.Module):
def __init__(self):
super().__init__()
def forward(self, input: torch.Tensor, target: torch.Tensor) -> torch.Tensor:
eps = 1e-8
return 1 - torch.sum((input - target)**2)/(torch.sum((target -... | 23.923913 | 103 | 0.624262 | 300 | 2,201 | 4.356667 | 0.15 | 0.210406 | 0.06733 | 0.091813 | 0.635807 | 0.612089 | 0.612089 | 0.612089 | 0.586075 | 0.586075 | 0 | 0.014552 | 0.219446 | 2,201 | 91 | 104 | 24.186813 | 0.746217 | 0 | 0 | 0.519231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.057692 | 0.038462 | 0.673077 | 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 | 0 | 1 | 0 | 0 | 3 |
d60da46c3b523e5caf8011cbde1df85dd5d49389 | 85 | py | Python | app/BlogSite/logic/apps.py | AbhijithGanesh/FastAPI-Blog | ba60f674fa0bf7dc7346768433886039d642830d | [
"BSD-3-Clause"
] | null | null | null | app/BlogSite/logic/apps.py | AbhijithGanesh/FastAPI-Blog | ba60f674fa0bf7dc7346768433886039d642830d | [
"BSD-3-Clause"
] | 1 | 2022-02-10T08:31:52.000Z | 2022-02-10T08:31:52.000Z | app/BlogSite/logic/apps.py | AbhijithGanesh/FastAPI-Blog | ba60f674fa0bf7dc7346768433886039d642830d | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class LogicConfig(AppConfig):
name = "Logic"
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d61b17700ee4672b6b1d010850805d7f1503d506 | 216 | py | Python | CodeWars/7 Kyu/Complete The Pattern #2.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Complete The Pattern #2.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Complete The Pattern #2.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def pattern(n):
s = ''
for i in range(n):
s += str(n)
for ni in range(n-1,i,-1):
s += str(ni)
if n-1 == i:
pass
else:
s += '\n'
return s | 19.636364 | 34 | 0.337963 | 33 | 216 | 2.212121 | 0.454545 | 0.054795 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.50463 | 216 | 11 | 35 | 19.636364 | 0.654206 | 0 | 0 | 0 | 0 | 0 | 0.009217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
d625919279684dd41cfa73328ffb3aa28402e88f | 479 | py | Python | tests/unit/commands/test_wait_for_visible.py | lukas-linhart/pageobject | 6ae83680ae62a94f93cefc394e4f3cc6999aeead | [
"MIT"
] | 1 | 2017-01-12T06:15:36.000Z | 2017-01-12T06:15:36.000Z | tests/unit/commands/test_wait_for_visible.py | lukas-linhart/pageobject | 6ae83680ae62a94f93cefc394e4f3cc6999aeead | [
"MIT"
] | null | null | null | tests/unit/commands/test_wait_for_visible.py | lukas-linhart/pageobject | 6ae83680ae62a94f93cefc394e4f3cc6999aeead | [
"MIT"
] | null | null | null | from tests.unit.fixtures import mock_commands_po as mock_po
def test_wait_for_visible_method_uses_wait_until_displayed_method(monkeypatch, mock_po):
mock_po.wait_until_displayed_called = False
def wait_until_displayed(timeout=None):
mock_po.wait_until_displayed_called = True
return mock_po
... | 34.214286 | 88 | 0.803758 | 72 | 479 | 4.833333 | 0.361111 | 0.155172 | 0.362069 | 0.172414 | 0.385057 | 0.385057 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0.146138 | 479 | 13 | 89 | 36.846154 | 0.850856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d62687a64f0c85129be708c6601c02937dc4eab4 | 1,132 | py | Python | src/command_modules/azure-cli-acr/azure/cli/command_modules/acr/_factory.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | null | null | null | src/command_modules/azure-cli-acr/azure/cli/command_modules/acr/_factory.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | 3 | 2021-03-26T00:48:20.000Z | 2022-03-29T22:05:39.000Z | src/command_modules/azure-cli-acr/azure/cli/command_modules/acr/_factory.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | 1 | 2017-12-28T04:51:44.000Z | 2017-12-28T04:51:44.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 45.28 | 94 | 0.674028 | 116 | 1,132 | 6.353448 | 0.431034 | 0.123474 | 0.075984 | 0.108548 | 0.251018 | 0.108548 | 0.108548 | 0 | 0 | 0 | 0 | 0 | 0.108657 | 1,132 | 24 | 95 | 47.166667 | 0.730426 | 0.433746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d64f5a0dba1ca29c066bb0db382010c81de52c38 | 325 | py | Python | zdiscord/service/integration/chat/discord/macros/Weather.py | xxdunedainxx/zdiscord | e79039621969fd7a2987ccac4e8d6fcff11ee754 | [
"MIT"
] | null | null | null | zdiscord/service/integration/chat/discord/macros/Weather.py | xxdunedainxx/zdiscord | e79039621969fd7a2987ccac4e8d6fcff11ee754 | [
"MIT"
] | 57 | 2020-06-05T18:33:17.000Z | 2020-08-17T18:28:37.000Z | zdiscord/service/integration/chat/discord/macros/Weather.py | xxdunedainxx/zdiscord | e79039621969fd7a2987ccac4e8d6fcff11ee754 | [
"MIT"
] | null | null | null | from zdiscord.service.ServiceFactory import ServiceFactory
from zdiscord.service.messaging.Events import IEvent
async def get_weather_and_send_it(town: str, event: IEvent):
weather_info: str = ServiceFactory.SERVICES['weather'].get_and_format(town)
await event.context['message_object'].channel.send(weather_in... | 36.111111 | 79 | 0.812308 | 43 | 325 | 5.930233 | 0.604651 | 0.094118 | 0.14902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095385 | 325 | 8 | 80 | 40.625 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0.064815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d6542e0712c880194366e3ca91450f15c0108aff | 304 | py | Python | example/models.py | bashu/django-photouploader | 6ac5683a33fb248f5e92a51ec9c228f493cc618f | [
"BSD-3-Clause"
] | 11 | 2018-09-30T18:27:52.000Z | 2020-12-28T14:08:53.000Z | example/models.py | bashu/django-photouploader | 6ac5683a33fb248f5e92a51ec9c228f493cc618f | [
"BSD-3-Clause"
] | 13 | 2018-04-09T11:25:56.000Z | 2020-10-06T06:39:48.000Z | example/models.py | bashu/django-photouploader | 6ac5683a33fb248f5e92a51ec9c228f493cc618f | [
"BSD-3-Clause"
] | 2 | 2018-04-27T19:29:41.000Z | 2019-01-21T20:57:04.000Z | # -*- coding: utf-8 -*-
from django.db import models
try:
from django.core.urlresolvers import reverse
except ModuleNotFoundError:
from django.urls import reverse
class ExampleModel(models.Model):
def get_absolute_url(self):
return reverse("example_edit", kwargs={"pk": self.pk})
| 21.714286 | 62 | 0.717105 | 39 | 304 | 5.512821 | 0.717949 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003968 | 0.171053 | 304 | 13 | 63 | 23.384615 | 0.849206 | 0.069079 | 0 | 0 | 0 | 0 | 0.049822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
c39289069011ff428c84bd6397f7796137497f8e | 53,908 | py | Python | python/ray/dataframe/dataframe.py | cathywu/ray | 8e333977e0991738558f4c8bb737da5fb29df0c6 | [
"Apache-2.0"
] | 2 | 2017-12-19T08:18:51.000Z | 2018-01-19T02:42:28.000Z | python/ray/dataframe/dataframe.py | cathywu/ray | 8e333977e0991738558f4c8bb737da5fb29df0c6 | [
"Apache-2.0"
] | 5 | 2018-01-04T22:54:34.000Z | 2018-02-06T23:48:20.000Z | python/ray/dataframe/dataframe.py | cathywu/ray | 8e333977e0991738558f4c8bb737da5fb29df0c6 | [
"Apache-2.0"
] | 3 | 2018-01-04T21:18:42.000Z | 2019-01-20T05:34:33.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import pandas as pd
import numpy as np
import ray
class DataFrame(object):
def __init__(self, df, columns):
"""Distributed DataFrame object backed by Pandas dataframes.
Args:
... | 35.962642 | 79 | 0.622598 | 6,402 | 53,908 | 5.137301 | 0.111684 | 0.167108 | 0.187996 | 0.208884 | 0.630332 | 0.594028 | 0.56788 | 0.461857 | 0.344249 | 0.275746 | 0 | 0.003552 | 0.273985 | 53,908 | 1,498 | 80 | 35.986649 | 0.836783 | 0.163835 | 0 | 0.418246 | 0 | 0 | 0.125922 | 0 | 0 | 0 | 0 | 0.001335 | 0.003555 | 1 | 0.329384 | false | 0 | 0.007109 | 0.003555 | 0.400474 | 0.001185 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c3a5016c28cb6ee6aac794525d2df71c2af0103b | 154 | py | Python | zedenv/configuration.py | benyanke/zedenv | ca91d05fe74357b786b1a013f18351658e2a4a51 | [
"BSD-3-Clause"
] | 69 | 2018-05-29T19:10:47.000Z | 2022-02-08T21:14:36.000Z | zedenv/configuration.py | benyanke/zedenv | ca91d05fe74357b786b1a013f18351658e2a4a51 | [
"BSD-3-Clause"
] | 21 | 2018-05-30T17:07:25.000Z | 2021-05-18T22:20:50.000Z | zedenv/configuration.py | benyanke/zedenv | ca91d05fe74357b786b1a013f18351658e2a4a51 | [
"BSD-3-Clause"
] | 11 | 2018-05-30T15:31:49.000Z | 2020-05-25T22:48:28.000Z | from typing import Tuple
allowed_properties: Tuple[dict] = (
{"property": 'bootloader', "description": "Set a bootloader plugin.", "default": ""},
)
| 25.666667 | 89 | 0.675325 | 16 | 154 | 6.4375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149351 | 154 | 5 | 90 | 30.8 | 0.78626 | 0 | 0 | 0 | 0 | 0 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c3a754b66669d68d6974f49e7d6508e45daddb0a | 497 | py | Python | minerva/constants.py | Geographs/Minerva | 685676be8fd079e2bb0a593d2a3ab51d102e7dac | [
"MIT"
] | 12 | 2021-07-15T21:40:51.000Z | 2022-02-09T09:50:35.000Z | minerva/constants.py | Geographs/Minerva | 685676be8fd079e2bb0a593d2a3ab51d102e7dac | [
"MIT"
] | null | null | null | minerva/constants.py | Geographs/Minerva | 685676be8fd079e2bb0a593d2a3ab51d102e7dac | [
"MIT"
] | 3 | 2021-07-21T16:25:16.000Z | 2021-09-07T17:44:13.000Z | from minerva.color import Color
ASCII = f"""{Color.Pink1}███╗ ███╗██╗███╗ ██╗███████╗██████╗ ██╗ ██╗ █████╗
{Color.Pink2}████╗ ████║██║████╗ ██║██╔════╝██╔══██╗██║ ██║██╔══██╗
{Color.Pink3}██╔████╔██║██║██╔██╗ ██║█████╗ ██████╔╝██║ ██║███████║
{Color.Pink4}██║╚██╔╝██║██║██║╚██╗██║██╔══╝ ██╔══██╗╚██╗... | 55.222222 | 89 | 0.209256 | 54 | 497 | 7.314815 | 0.685185 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014118 | 0.144869 | 497 | 8 | 90 | 62.125 | 0.230588 | 0 | 0 | 0 | 0 | 0 | 0.899796 | 0.200409 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c3ab04ff652b4b87699156cb89eac6b393385dfd | 508 | py | Python | load_all.py | JuiceBilinskii/wei_pollbot | d1442dca0eb6f854e47355d1fe6eb9a6010c0f80 | [
"MIT"
] | null | null | null | load_all.py | JuiceBilinskii/wei_pollbot | d1442dca0eb6f854e47355d1fe6eb9a6010c0f80 | [
"MIT"
] | null | null | null | load_all.py | JuiceBilinskii/wei_pollbot | d1442dca0eb6f854e47355d1fe6eb9a6010c0f80 | [
"MIT"
] | null | null | null | from aiogram import Bot, Dispatcher
from aiogram.contrib.fsm_storage.memory import MemoryStorage
from database import DatabaseQueriesWrapper
import os
storage = MemoryStorage()
bot = Bot(token=os.environ.get('API_TOKEN'))
dp = Dispatcher(bot, storage=storage)
db = DatabaseQueriesWrapper(host=os.environ.get('host'),... | 31.75 | 64 | 0.655512 | 56 | 508 | 5.910714 | 0.392857 | 0.135952 | 0.181269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234252 | 508 | 15 | 65 | 33.866667 | 0.8509 | 0 | 0 | 0 | 0 | 0 | 0.064961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
c3aeeda343a3f5b10e18678eadedb611b520ce27 | 1,782 | py | Python | QCA4020_SDK/target/sectools/qdn/sectools/features/isc/imageinfo/imageinfo_utils.py | r8d8/lastlock | 78c02e5fbb129b1bc4147bd55eec2882267d7e87 | [
"Apache-2.0"
] | null | null | null | QCA4020_SDK/target/sectools/qdn/sectools/features/isc/imageinfo/imageinfo_utils.py | r8d8/lastlock | 78c02e5fbb129b1bc4147bd55eec2882267d7e87 | [
"Apache-2.0"
] | null | null | null | QCA4020_SDK/target/sectools/qdn/sectools/features/isc/imageinfo/imageinfo_utils.py | r8d8/lastlock | 78c02e5fbb129b1bc4147bd55eec2882267d7e87 | [
"Apache-2.0"
] | null | null | null | # ===============================================================================
#
# Copyright (c) 2013-2017 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# ===============================================================================
import os
... | 24.75 | 81 | 0.616162 | 226 | 1,782 | 4.486726 | 0.221239 | 0.17357 | 0.130178 | 0.078895 | 0.580868 | 0.391519 | 0.317554 | 0.213018 | 0.078895 | 0.078895 | 0 | 0.007107 | 0.210438 | 1,782 | 71 | 82 | 25.098592 | 0.713575 | 0.164983 | 0 | 0.155556 | 0 | 0 | 0.002703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.044444 | 0.155556 | 0.577778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c3b65ef17a830669ea57b5258d841c6b25b7b972 | 851 | py | Python | tests/integrations/config/providers.py | girardinsamuel/masonite-oauth2 | 54975acfdf35c46b1885a8022b4a29f562802430 | [
"MIT"
] | 5 | 2021-11-05T10:23:58.000Z | 2022-03-24T01:36:38.000Z | tests/integrations/config/providers.py | girardinsamuel/masonite-socialite | 04110601b299d8505ec453b7743124cb88047d9d | [
"MIT"
] | 11 | 2021-05-17T06:45:48.000Z | 2021-10-03T15:16:23.000Z | tests/integrations/config/providers.py | girardinsamuel/masonite-socialite | 04110601b299d8505ec453b7743124cb88047d9d | [
"MIT"
] | null | null | null | from masonite.providers import (
RouteProvider,
FrameworkProvider,
ViewProvider,
WhitenoiseProvider,
ExceptionProvider,
MailProvider,
SessionProvider,
QueueProvider,
CacheProvider,
EventProvider,
StorageProvider,
HelpersProvider,
BroadcastProvider,
AuthenticationP... | 20.261905 | 45 | 0.735605 | 51 | 851 | 12.27451 | 0.529412 | 0.047923 | 0.15016 | 0.188498 | 0.236422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215041 | 851 | 41 | 46 | 20.756098 | 0.937126 | 0.025852 | 0 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.078947 | 0 | 0.078947 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c3de47052f16bbaa1e310c72615b78034c3d4c9b | 963 | py | Python | lego/apps/search/signal_handlers.py | ollfkaih/lego | b15aacaf09efe90e7f984d25b0e7bddbe12647e8 | [
"MIT"
] | 45 | 2017-10-24T12:09:06.000Z | 2021-11-03T21:21:03.000Z | lego/apps/search/signal_handlers.py | ollfkaih/lego | b15aacaf09efe90e7f984d25b0e7bddbe12647e8 | [
"MIT"
] | 980 | 2017-10-24T12:29:07.000Z | 2022-03-31T04:04:31.000Z | lego/apps/search/signal_handlers.py | wahello/lego | a0b02f3abc997fe96326e9c9c05b49847170041b | [
"MIT"
] | 23 | 2018-04-11T16:34:22.000Z | 2021-11-23T12:28:30.000Z | from lego.utils.content_types import instance_to_string
from .registry import get_model_index
from .tasks import instance_delete, instance_update
class BaseSignalHandler:
def on_save(self, instance):
pass
def on_delete(self, instance):
pass
class AsyncSignalHandler(BaseSignalHandler):
... | 27.514286 | 77 | 0.683281 | 115 | 963 | 5.530435 | 0.382609 | 0.031447 | 0.075472 | 0.040881 | 0.383648 | 0.245283 | 0.245283 | 0.245283 | 0.245283 | 0.245283 | 0 | 0 | 0.251298 | 963 | 34 | 78 | 28.323529 | 0.882108 | 0.201454 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0.117647 | 0.176471 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c3ffff26c6e684a99b58b698bb57c6e2d562fddc | 1,228 | py | Python | src/transition.py | martgarden/pp-time-analysis | 6cf0e03b0d2d9039cc200c831ee171022cea4e26 | [
"MIT"
] | null | null | null | src/transition.py | martgarden/pp-time-analysis | 6cf0e03b0d2d9039cc200c831ee171022cea4e26 | [
"MIT"
] | null | null | null | src/transition.py | martgarden/pp-time-analysis | 6cf0e03b0d2d9039cc200c831ee171022cea4e26 | [
"MIT"
] | 1 | 2019-12-12T15:01:05.000Z | 2019-12-12T15:01:05.000Z | # -*- coding: utf-8 -*-
from unordered_pair import upair
class Transition:
def __init__(self, pre, post):
self._pre = upair(pre)
self._post = upair(post)
self._preset = frozenset(self._pre)
self._postset = frozenset(self._post)
@property
def pre(self):
retur... | 23.169811 | 70 | 0.579805 | 156 | 1,228 | 4.288462 | 0.224359 | 0.115097 | 0.116592 | 0.067265 | 0.237668 | 0.183857 | 0.183857 | 0.183857 | 0.183857 | 0.183857 | 0 | 0.00114 | 0.285831 | 1,228 | 52 | 71 | 23.615385 | 0.760547 | 0.017101 | 0 | 0.108108 | 0 | 0 | 0.006639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.378378 | false | 0 | 0.027027 | 0.351351 | 0.783784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7f08451858894973273cd9466401c29b3c51eeca | 4,858 | py | Python | usbinfo/__init__.py | 90michaeltran/usbinfo | c0c1b57b78893e265438f2b280cccc57ded88d3a | [
"Apache-2.0"
] | null | null | null | usbinfo/__init__.py | 90michaeltran/usbinfo | c0c1b57b78893e265438f2b280cccc57ded88d3a | [
"Apache-2.0"
] | null | null | null | usbinfo/__init__.py | 90michaeltran/usbinfo | c0c1b57b78893e265438f2b280cccc57ded88d3a | [
"Apache-2.0"
] | 1 | 2020-06-16T00:23:16.000Z | 2020-06-16T00:23:16.000Z | """
The :mod:`usbinfo` module provides methods for gathering information from the
USB subsystem. The :func:`usbinfo` function, for example, returns a list
of all USB endpoints in the system and information pertaining to each device.
For example::
import usbinfo
usbinfo.usbinfo()
might return something like t... | 31.545455 | 78 | 0.570605 | 437 | 4,858 | 6.329519 | 0.270023 | 0.086768 | 0.083514 | 0.135213 | 0.620752 | 0.596529 | 0.596529 | 0.587852 | 0.587852 | 0.587491 | 0 | 0.045073 | 0.264718 | 4,858 | 153 | 79 | 31.751634 | 0.729283 | 0.9331 | 0 | 0 | 0 | 0 | 0.04721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7f12ea15398df730234d986a3758d5e0b60ff9b2 | 109 | py | Python | PyScraper/utils/Request.py | nikan1996/PyScraper | ed6ba5aa490fce96b5ff59e1461b408886744c04 | [
"Apache-2.0"
] | null | null | null | PyScraper/utils/Request.py | nikan1996/PyScraper | ed6ba5aa490fce96b5ff59e1461b408886744c04 | [
"Apache-2.0"
] | 1 | 2018-05-31T19:08:40.000Z | 2018-05-31T19:08:40.000Z | PyScraper/utils/Request.py | nikan1996/PyScraper | ed6ba5aa490fce96b5ff59e1461b408886744c04 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
"""
@author:nikan
@file: Request.py
@time: 28/02/2018 12:19 PM
""" | 10.9 | 26 | 0.633028 | 19 | 109 | 3.631579 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 0.146789 | 109 | 10 | 27 | 10.9 | 0.602151 | 0.889908 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6158a3a4e47aff8ef3628a46a3923607d9bca193 | 358 | py | Python | actions/get_link.py | pertruccio/stackstorm-librenms | 82839b7e8b9ed7aec1b0d4bf803c2e814a54917d | [
"Apache-2.0"
] | 3 | 2020-06-16T12:32:09.000Z | 2022-02-24T08:20:11.000Z | actions/get_link.py | pertruccio/stackstorm-librenms | 82839b7e8b9ed7aec1b0d4bf803c2e814a54917d | [
"Apache-2.0"
] | null | null | null | actions/get_link.py | pertruccio/stackstorm-librenms | 82839b7e8b9ed7aec1b0d4bf803c2e814a54917d | [
"Apache-2.0"
] | 2 | 2021-07-12T09:03:15.000Z | 2021-10-04T07:58:01.000Z | from lib.actions import LibreNMSBaseAction
from urllib.parse import quote
class GetLink(LibreNMSBaseAction):
"""Get a network link"""
method = "get"
def run(self, link_id: str):
self.api_call = f"resources/links/{link_id}"
return self._request()
def _response(self, response):
... | 21.058824 | 52 | 0.664804 | 45 | 358 | 5.177778 | 0.666667 | 0.051502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003559 | 0.215084 | 358 | 16 | 53 | 22.375 | 0.825623 | 0.050279 | 0 | 0 | 0 | 0 | 0.098802 | 0.07485 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
61721859c35b3212c9d702ce3a2c518b69a74ef8 | 89 | py | Python | HOURRANK-26 (HACKERRANK FEBRUARY 2018)/Combo Meal - Hourrank 26 - 1.py | anirudhkannanvp/HACKERRANK | 024c656a853ebc39451da12f5d0ca46ef0e4d1fd | [
"MIT"
] | 3 | 2017-10-02T08:41:34.000Z | 2018-02-12T14:56:43.000Z | HOURRANK-26 (HACKERRANK FEBRUARY 2018)/Combo Meal - Hourrank 26 - 1.py | anirudhkannanvp/HACKERRANK | 024c656a853ebc39451da12f5d0ca46ef0e4d1fd | [
"MIT"
] | null | null | null | HOURRANK-26 (HACKERRANK FEBRUARY 2018)/Combo Meal - Hourrank 26 - 1.py | anirudhkannanvp/HACKERRANK | 024c656a853ebc39451da12f5d0ca46ef0e4d1fd | [
"MIT"
] | 3 | 2017-09-04T19:14:26.000Z | 2018-04-05T00:03:02.000Z | t=int(input())
while(t):
t-=1
b,s,m=map(int,input().split())
print(b+s-m) | 17.8 | 35 | 0.494382 | 18 | 89 | 2.444444 | 0.611111 | 0.363636 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.224719 | 89 | 5 | 36 | 17.8 | 0.623188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
617f14f3ca7a0a6dc9b0774cbdab2cb047a61c98 | 6,053 | py | Python | tests/test_custom_encoders.py | domdfcoding/singledispatch-json | 4437665f03bd8680445424591c24aee0d8c6b63e | [
"MIT"
] | null | null | null | tests/test_custom_encoders.py | domdfcoding/singledispatch-json | 4437665f03bd8680445424591c24aee0d8c6b63e | [
"MIT"
] | 23 | 2020-06-17T21:20:53.000Z | 2021-09-29T11:41:07.000Z | tests/test_custom_encoders.py | domdfcoding/singledispatch-json | 4437665f03bd8680445424591c24aee0d8c6b63e | [
"MIT"
] | 1 | 2020-06-07T20:56:39.000Z | 2020-06-07T20:56:39.000Z | """
Create several custom encoders and test that they work
"""
# stdlib
import collections
from datetime import date, datetime, time, timedelta
from decimal import Decimal
from fractions import Fraction
# 3rd party
import pytest
import pytz # type: ignore
# this package
import sdjson
def test_decimal_float() -> N... | 27.143498 | 102 | 0.718982 | 898 | 6,053 | 4.773942 | 0.146993 | 0.097971 | 0.091206 | 0.062981 | 0.735479 | 0.714252 | 0.650105 | 0.518544 | 0.377887 | 0.255657 | 0 | 0.062233 | 0.147861 | 6,053 | 222 | 103 | 27.265766 | 0.768903 | 0.272262 | 0 | 0.272727 | 0 | 0 | 0.098116 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.254545 | false | 0 | 0.063636 | 0.127273 | 0.445455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
61bba33c536c2e5f6666c2d0e7b57a51a4608039 | 39,484 | py | Python | edm_web1/app/statistics/utils/caches.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | null | null | null | edm_web1/app/statistics/utils/caches.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | 18 | 2020-06-05T18:17:40.000Z | 2022-03-11T23:25:21.000Z | edm_web1/app/statistics/utils/caches.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | null | null | null | # coding=utf-8
import re
import json
from django.template.response import TemplateResponse
from django.http import Http404, HttpResponse
from django.utils.translation import ugettext_lazy as _
from app.statistics.utils import sqls as statistics_sqls, contexts as statistics_contexts
from lib.excel_response import ExcelR... | 45.540946 | 183 | 0.579146 | 5,174 | 39,484 | 4.105141 | 0.06436 | 0.044068 | 0.048305 | 0.036252 | 0.790443 | 0.759746 | 0.733851 | 0.695857 | 0.678625 | 0.673211 | 0 | 0.02374 | 0.293765 | 39,484 | 866 | 184 | 45.593533 | 0.737959 | 0.024162 | 0 | 0.677069 | 0 | 0.005427 | 0.207303 | 0.028564 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009498 | false | 0 | 0.02171 | 0 | 0.040706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
61bd7d6b0835c26447919d0e3ef5d7520df39217 | 17,552 | py | Python | tests/component_service_test.py | pablintino/Altium-DBlib-source | 65e85572f84048a7e7c5a116b429e09ac9a33e82 | [
"MIT"
] | 1 | 2021-06-23T20:19:45.000Z | 2021-06-23T20:19:45.000Z | tests/component_service_test.py | pablintino/Altium-DBlib-source | 65e85572f84048a7e7c5a116b429e09ac9a33e82 | [
"MIT"
] | null | null | null | tests/component_service_test.py | pablintino/Altium-DBlib-source | 65e85572f84048a7e7c5a116b429e09ac9a33e82 | [
"MIT"
] | null | null | null | #
# MIT License
#
# Copyright (c) 2020 Pablo Rodriguez Nava, @pablintino
#
# 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
# t... | 40.535797 | 120 | 0.756039 | 2,287 | 17,552 | 5.47617 | 0.102317 | 0.060364 | 0.032577 | 0.035133 | 0.790243 | 0.744012 | 0.720377 | 0.689636 | 0.652906 | 0.616576 | 0 | 0.013138 | 0.154398 | 17,552 | 432 | 121 | 40.62963 | 0.830683 | 0.062671 | 0 | 0.513158 | 0 | 0 | 0.06422 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.085526 | false | 0 | 0.026316 | 0.003289 | 0.115132 | 0.256579 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f603268e610a8abfcc45208a8949c6161ece1156 | 534 | py | Python | kitab/models.py | fadilzteria/DLIR-ID-AR | a383fc7fc8a066ea8877c34df26a5829ec9c9396 | [
"MIT"
] | null | null | null | kitab/models.py | fadilzteria/DLIR-ID-AR | a383fc7fc8a066ea8877c34df26a5829ec9c9396 | [
"MIT"
] | null | null | null | kitab/models.py | fadilzteria/DLIR-ID-AR | a383fc7fc8a066ea8877c34df26a5829ec9c9396 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class UploadKitab(models.Model):
username = models.CharField(max_length=150, default='Admin')
kategori = models.CharField(max_length=100)
nama_kitab = models.CharField(max_length=100)
nama_pengarang = models.CharField(max_length=1000)
file_kit... | 33.375 | 64 | 0.73221 | 67 | 534 | 5.626866 | 0.61194 | 0.159151 | 0.190981 | 0.254642 | 0.164456 | 0.164456 | 0 | 0 | 0 | 0 | 0 | 0.028761 | 0.153558 | 534 | 15 | 65 | 35.6 | 0.80531 | 0.044944 | 0 | 0 | 0 | 0 | 0.021654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0.090909 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f61b21abeefe9ee25289b20c9f79338cce8d02b4 | 1,011 | py | Python | Python3/940.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | Python3/940.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | Python3/940.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 36 ms submission
from collections import defaultdict
class Solution:
def distinctSubseqII(self, S: str) -> int:
total = 1
dic = defaultdict(int)
m = 10 ** 9 + 7
for c in S:
... | 36.107143 | 98 | 0.614243 | 100 | 1,011 | 3.27 | 0.41 | 0.027523 | 0.036697 | 0.195719 | 0.2263 | 0.2263 | 0 | 0 | 0 | 0 | 0 | 0.039052 | 0.290801 | 1,011 | 27 | 99 | 37.444444 | 0.417015 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.037037 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f626769490807ebfbe39565da4da090e0745cede | 216 | py | Python | contact/serializers.py | talhaibnmahmud/Sysrem-Development-Dackend | fdbd231d6f4dd78518a2d100277a0d642139ccf2 | [
"MIT"
] | null | null | null | contact/serializers.py | talhaibnmahmud/Sysrem-Development-Dackend | fdbd231d6f4dd78518a2d100277a0d642139ccf2 | [
"MIT"
] | 3 | 2022-01-13T03:39:01.000Z | 2022-03-12T00:54:51.000Z | contact/serializers.py | talhaibnmahmud/System-Development-Backend | fdbd231d6f4dd78518a2d100277a0d642139ccf2 | [
"MIT"
] | null | null | null | from rest_framework.serializers import ModelSerializer
from contact.models import Contact
class ContactSerializer(ModelSerializer):
class Meta:
model = Contact
fields = '__all__'
| 19.636364 | 55 | 0.699074 | 20 | 216 | 7.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25463 | 216 | 10 | 56 | 21.6 | 0.906832 | 0 | 0 | 0 | 0 | 0 | 0.034146 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f636dc0b891917d7d7f82741adc192a13b5448e3 | 235 | py | Python | output/models/nist_data/atomic/token/schema_instance/nistschema_sv_iv_atomic_token_length_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/token/schema_instance/nistschema_sv_iv_atomic_token_length_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/token/schema_instance/nistschema_sv_iv_atomic_token_length_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.token.schema_instance.nistschema_sv_iv_atomic_token_length_3_xsd.nistschema_sv_iv_atomic_token_length_3 import NistschemaSvIvAtomicTokenLength3
__all__ = [
"NistschemaSvIvAtomicTokenLength3",
]
| 39.166667 | 179 | 0.885106 | 28 | 235 | 6.75 | 0.642857 | 0.174603 | 0.148148 | 0.21164 | 0.338624 | 0.338624 | 0.338624 | 0 | 0 | 0 | 0 | 0.0181 | 0.059574 | 235 | 5 | 180 | 47 | 0.837104 | 0 | 0 | 0 | 0 | 0 | 0.13617 | 0.13617 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f64f24079e468ba7931d85bdf6a512fae35014a5 | 1,344 | py | Python | accounts/forms.py | zareisajad/online-shop-django | 17bbd008a962ce7a18f5acc56bec45c0e550fdbb | [
"MIT"
] | null | null | null | accounts/forms.py | zareisajad/online-shop-django | 17bbd008a962ce7a18f5acc56bec45c0e550fdbb | [
"MIT"
] | null | null | null | accounts/forms.py | zareisajad/online-shop-django | 17bbd008a962ce7a18f5acc56bec45c0e550fdbb | [
"MIT"
] | 1 | 2022-02-23T15:18:17.000Z | 2022-02-23T15:18:17.000Z | from django import forms
from .models import User
class UserLoginForm(forms.Form):
email = forms.EmailField(
widget=forms.EmailInput(
attrs={'class': 'form-control', 'placeholder': 'email'}
)
)
password = forms.CharField(
widget=forms.PasswordInput(
attrs={... | 24.888889 | 71 | 0.579613 | 118 | 1,344 | 6.584746 | 0.245763 | 0.099099 | 0.126126 | 0.189189 | 0.728443 | 0.687259 | 0.687259 | 0.687259 | 0.687259 | 0.687259 | 0 | 0 | 0.280506 | 1,344 | 53 | 72 | 25.358491 | 0.803516 | 0 | 0 | 0.409091 | 0 | 0 | 0.191964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.204545 | 0.045455 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f65af29ad6fe05ada6b4176f0e9023896c331e28 | 1,055 | py | Python | frankapy/exceptions.py | iamlab-cmu/frankapy | 68d311f5906e6a10dcbb52ac7c9a4196aba63949 | [
"Apache-2.0"
] | 18 | 2021-11-04T00:25:03.000Z | 2022-03-28T07:21:46.000Z | frankapy/exceptions.py | iamlab-cmu/frankapy | 68d311f5906e6a10dcbb52ac7c9a4196aba63949 | [
"Apache-2.0"
] | 2 | 2022-01-31T13:28:25.000Z | 2022-02-03T07:21:04.000Z | frankapy/exceptions.py | iamlab-cmu/frankapy | 68d311f5906e6a10dcbb52ac7c9a4196aba63949 | [
"Apache-2.0"
] | 4 | 2021-11-15T21:36:06.000Z | 2022-03-31T02:28:46.000Z | class FrankaArmCommException(Exception):
''' Communication failure. Usually occurs due to timeouts.
'''
def __init__(self, message, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
self.message = message
def __str__(self):
return "Communication w/ FrankaInterface ... | 31.969697 | 133 | 0.677725 | 111 | 1,055 | 6.108108 | 0.378378 | 0.070796 | 0.070796 | 0.106195 | 0.451327 | 0.317109 | 0.317109 | 0.262537 | 0.262537 | 0.262537 | 0 | 0 | 0.210427 | 1,055 | 32 | 134 | 32.96875 | 0.813926 | 0.174408 | 0 | 0.588235 | 0 | 0 | 0.192444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.176471 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f6684f4dc0f2fe58a6e63e0d32e1de89bd365009 | 1,120 | py | Python | molly/apps/library/providers/__init__.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | 7 | 2015-05-16T13:27:21.000Z | 2019-08-06T11:09:24.000Z | molly/apps/library/providers/__init__.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | null | null | null | molly/apps/library/providers/__init__.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | 4 | 2015-11-27T13:36:36.000Z | 2021-03-09T17:55:53.000Z | from molly.conf.provider import Provider
class BaseLibrarySearchProvider(Provider):
"""
Abstract class implementing the interface for a provider for the library app
"""
def library_search(self, query):
"""
@param query: The query to be performed
@type query: molly.apps.libr... | 26.046512 | 80 | 0.627679 | 123 | 1,120 | 5.666667 | 0.455285 | 0.074605 | 0.060258 | 0.094692 | 0.163558 | 0.163558 | 0.163558 | 0.163558 | 0.163558 | 0 | 0 | 0.010204 | 0.3 | 1,120 | 42 | 81 | 26.666667 | 0.878827 | 0.491964 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.272727 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9c84bf87c355da9a3eb00152558184f31e48153d | 368 | py | Python | matchzoo/utils/__init__.py | ChrisRBXiong/MatchZoo-py | 8883d0933a62610d71fec0215dce643630e03b1c | [
"Apache-2.0"
] | 468 | 2019-07-03T02:43:52.000Z | 2022-03-30T05:51:03.000Z | matchzoo/utils/__init__.py | ChrisRBXiong/MatchZoo-py | 8883d0933a62610d71fec0215dce643630e03b1c | [
"Apache-2.0"
] | 126 | 2019-07-04T15:51:57.000Z | 2021-07-31T13:14:40.000Z | matchzoo/utils/__init__.py | ChrisRBXiong/MatchZoo-py | 8883d0933a62610d71fec0215dce643630e03b1c | [
"Apache-2.0"
] | 117 | 2019-07-04T11:31:08.000Z | 2022-03-18T12:21:32.000Z | from .one_hot import one_hot
from .tensor_type import TensorType
from .list_recursive_subclasses import list_recursive_concrete_subclasses
from .parse import parse_loss, parse_activation, parse_metric, parse_optimizer
from .average_meter import AverageMeter
from .timer import Timer
from .early_stopping import EarlyStop... | 40.888889 | 78 | 0.869565 | 53 | 368 | 5.698113 | 0.490566 | 0.039735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 368 | 8 | 79 | 46 | 0.909639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9cc143927a43c59ea826a00146d40e3cafef9a47 | 2,456 | py | Python | posture.py | sudo-deep/XAEA12-PROJECT | 34b85f2512080d4485abcf5f329b3b6616831eae | [
"Apache-2.0"
] | null | null | null | posture.py | sudo-deep/XAEA12-PROJECT | 34b85f2512080d4485abcf5f329b3b6616831eae | [
"Apache-2.0"
] | null | null | null | posture.py | sudo-deep/XAEA12-PROJECT | 34b85f2512080d4485abcf5f329b3b6616831eae | [
"Apache-2.0"
] | null | null | null | class CheckPosture:
def __init__(self, scale=1, key_points={}):
self.key_points = key_points
self.scale = scale
self.message = ""
def set_key_points(self, key_points):
self.key_points = key_points
def get_key_points(self):
return self.key_points
def... | 40.262295 | 180 | 0.565961 | 326 | 2,456 | 4.07362 | 0.159509 | 0.196536 | 0.23494 | 0.082831 | 0.567018 | 0.475904 | 0.319277 | 0.033886 | 0 | 0 | 0 | 0.014076 | 0.305782 | 2,456 | 60 | 181 | 40.933333 | 0.764809 | 0 | 0 | 0.244898 | 0 | 0 | 0.101836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244898 | false | 0 | 0 | 0.081633 | 0.530612 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9cd3dfbc6941e2c92faf939aa3b6f8386b32c32a | 161 | py | Python | aiocloudflare/api/user/load_balancers/pools/preview/preview.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 2 | 2021-09-14T13:20:55.000Z | 2022-02-24T14:18:24.000Z | aiocloudflare/api/user/load_balancers/pools/preview/preview.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 46 | 2021-09-08T08:39:45.000Z | 2022-03-29T12:31:05.000Z | aiocloudflare/api/user/load_balancers/pools/preview/preview.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 1 | 2021-12-30T23:02:23.000Z | 2021-12-30T23:02:23.000Z | from aiocloudflare.commons.auth import Auth
class Preview(Auth):
_endpoint1 = "user/load_balancers/pools"
_endpoint2 = "preview"
_endpoint3 = None
| 20.125 | 44 | 0.732919 | 18 | 161 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.180124 | 161 | 7 | 45 | 23 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.198758 | 0.15528 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9cf27bc23abba8165c333e395c7d967aad66b400 | 230 | py | Python | backend/Chats/api/urls.py | crowdbotics-apps/nccaa-rfp-33947 | fe376b10f61be3c50c18dfb5ed3e169f6d0a6721 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/Chats/api/urls.py | crowdbotics-apps/nccaa-rfp-33947 | fe376b10f61be3c50c18dfb5ed3e169f6d0a6721 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/Chats/api/urls.py | crowdbotics-apps/nccaa-rfp-33947 | fe376b10f61be3c50c18dfb5ed3e169f6d0a6721 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from Chats.api.serializers import ChatsSerializer
from rest_framework import routers
from .views import ChatsCreateViewSet
router = routers.SimpleRouter()
router.register(r'chats', ChatsCreateViewSet)
urlpatterns = router.urls
| 23 | 49 | 0.834783 | 26 | 230 | 7.346154 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 230 | 9 | 50 | 25.555556 | 0.922705 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9cfbebac325ad470163f0f790ed9c33c821d8361 | 490 | py | Python | scripts/download_author_tweets.py | juliandehne/delab | 763dbab38527e3fcc1caa5e19c74678f591fcc64 | [
"MIT"
] | null | null | null | scripts/download_author_tweets.py | juliandehne/delab | 763dbab38527e3fcc1caa5e19c74678f591fcc64 | [
"MIT"
] | 12 | 2021-11-01T07:03:15.000Z | 2022-03-31T13:03:38.000Z | scripts/download_author_tweets.py | juliandehne/whowhatwhy | fa4c89158e65d90b1cea62838f3d12f7c14e59fb | [
"MIT"
] | null | null | null | from delab.topic.topic_data_preperation import update_timelines_from_conversation_users
def run(*args):
if len(args) == 1:
update_timelines_from_conversation_users(classify_author_topics=(args[0] == "True"))
if len(args) == 2:
update_timelines_from_conversation_users(classify_author_topics=(ar... | 40.833333 | 92 | 0.667347 | 57 | 490 | 5.315789 | 0.403509 | 0.19802 | 0.250825 | 0.409241 | 0.666667 | 0.429043 | 0.429043 | 0.429043 | 0.429043 | 0.429043 | 0 | 0.013228 | 0.228571 | 490 | 11 | 93 | 44.545455 | 0.78836 | 0 | 0 | 0 | 0 | 0 | 0.02449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9cfdc7cf5ec443a8f0ff936fdbb9315ff1773a2e | 3,750 | py | Python | test/proto/test_pb2_grpc.py | fcracker79/reactive-grpc | 0919bedc8de226cde6591bfc9c8bb1103988eed7 | [
"MIT"
] | 1 | 2019-03-26T12:10:12.000Z | 2019-03-26T12:10:12.000Z | test/proto/test_pb2_grpc.py | fcracker79/reactive-grpc | 0919bedc8de226cde6591bfc9c8bb1103988eed7 | [
"MIT"
] | null | null | null | test/proto/test_pb2_grpc.py | fcracker79/reactive-grpc | 0919bedc8de226cde6591bfc9c8bb1103988eed7 | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import test_pb2 as test__pb2
class TestServiceStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""... | 38.265306 | 71 | 0.747733 | 372 | 3,750 | 7.268817 | 0.188172 | 0.046598 | 0.050296 | 0.082101 | 0.686391 | 0.642751 | 0.642751 | 0.642751 | 0.642751 | 0.642751 | 0 | 0.005816 | 0.174667 | 3,750 | 97 | 72 | 38.659794 | 0.867851 | 0.120267 | 0 | 0.520548 | 1 | 0 | 0.127978 | 0.054673 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082192 | false | 0.082192 | 0.027397 | 0 | 0.136986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1402816d22e9b537cbeac38727e0e4cf88b84427 | 1,604 | py | Python | jtimer/config/config.py | occasionally-cool/jtimer-beanstalk-api | 14005501a9dd4ab5409f92317adb41a08995fdba | [
"MIT"
] | 1 | 2019-04-08T22:30:11.000Z | 2019-04-08T22:30:11.000Z | jtimer/config/config.py | occasionally-cool/jtimer-beanstalk-api | 14005501a9dd4ab5409f92317adb41a08995fdba | [
"MIT"
] | 1 | 2019-04-08T21:32:18.000Z | 2019-04-08T21:33:49.000Z | jtimer/config/config.py | occasionally-cool/jtimer-api | 14005501a9dd4ab5409f92317adb41a08995fdba | [
"MIT"
] | null | null | null | """Configuration for flask application"""
import os
class MySQL:
"""Configuration for flask_sqlalchemy"""
# make sure variables are set to something,
# so we don't get errors while building docs
if os.environ.get("MYSQL_HOSTNAME") is None:
os.environ["MYSQL_HOSTNAME"] = "localhost"
if ... | 28.140351 | 59 | 0.648379 | 217 | 1,604 | 4.56682 | 0.317972 | 0.181635 | 0.181635 | 0.171544 | 0.482341 | 0.094854 | 0 | 0 | 0 | 0 | 0 | 0.011094 | 0.213217 | 1,604 | 56 | 60 | 28.642857 | 0.774168 | 0.13404 | 0 | 0 | 0 | 0 | 0.304158 | 0.129103 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0 | false | 0.09375 | 0.03125 | 0 | 0.3125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
141cd056dc7d76b664939e643f665760b7ade161 | 195 | py | Python | project/scene.py | arifBurakDemiray/computer-graphics | acf4781f92e325b12d986974c448b0e3520af431 | [
"MIT"
] | null | null | null | project/scene.py | arifBurakDemiray/computer-graphics | acf4781f92e325b12d986974c448b0e3520af431 | [
"MIT"
] | null | null | null | project/scene.py | arifBurakDemiray/computer-graphics | acf4781f92e325b12d986974c448b0e3520af431 | [
"MIT"
] | null | null | null | # CENG 487 Assignment6 by
# Arif Burak Demiray
# December 2021
class Scene:
def __init__(self):
self.nodes = []
def add(self, node):
self.nodes.append(node)
| 16.25 | 32 | 0.589744 | 24 | 195 | 4.625 | 0.75 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.312821 | 195 | 11 | 33 | 17.727273 | 0.768657 | 0.287179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1431c108b34b00135283b47428bef979557eb4f2 | 479 | py | Python | basic_algorithm/data_structure/tree/binary_search_tree.py | vax521/algorithms | ffcb4af8c7956ee1dcb4c48252fe235d9e275dab | [
"Unlicense"
] | null | null | null | basic_algorithm/data_structure/tree/binary_search_tree.py | vax521/algorithms | ffcb4af8c7956ee1dcb4c48252fe235d9e275dab | [
"Unlicense"
] | null | null | null | basic_algorithm/data_structure/tree/binary_search_tree.py | vax521/algorithms | ffcb4af8c7956ee1dcb4c48252fe235d9e275dab | [
"Unlicense"
] | null | null | null | # 二叉搜索树
class BST:
class Node:
def __init__(self,key,value):
self.key = key
self.value = value
self.left_node = self.right_node = None
def __init__(self):
self.__root = None
self.__count = 0
def get_size(self):
return self.__count
de... | 22.809524 | 63 | 0.563674 | 60 | 479 | 4.083333 | 0.333333 | 0.085714 | 0.089796 | 0.130612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006309 | 0.338205 | 479 | 21 | 64 | 22.809524 | 0.766562 | 0.010438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
143c5887fe69568211aa2c540c791495b0bf7b87 | 238 | py | Python | packages/bestdori/__init__.py | LLRukia/kkrbot | 13d95e5a19e38d36976257ccd00b9442df74e357 | [
"MIT"
] | null | null | null | packages/bestdori/__init__.py | LLRukia/kkrbot | 13d95e5a19e38d36976257ccd00b9442df74e357 | [
"MIT"
] | 2 | 2021-06-08T20:41:10.000Z | 2021-09-08T01:30:52.000Z | packages/bestdori/__init__.py | LLRukia/kkrbot | 13d95e5a19e38d36976257ccd00b9442df74e357 | [
"MIT"
] | 1 | 2019-09-24T09:16:55.000Z | 2019-09-24T09:16:55.000Z | from .models import *
from .crawler import Crawler
from .helpers import get_card_asset_urls_from_metadata, get_gacha_during_event
__all__ = [
'Crawler',
'get_card_asset_urls_from_metadata',
'get_gacha_during_event',
] | 26.444444 | 79 | 0.760504 | 32 | 238 | 5.03125 | 0.4375 | 0.086957 | 0.149068 | 0.198758 | 0.583851 | 0.583851 | 0.583851 | 0.583851 | 0.583851 | 0.583851 | 0 | 0 | 0.168067 | 238 | 9 | 80 | 26.444444 | 0.813131 | 0 | 0 | 0 | 0 | 0 | 0.268398 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
143cde7d5f7b65d1384754d4fc7b1891e11b0c3e | 218 | py | Python | tests/lineturn.py | sasilva1998/uPyArlo | f40567c2e92f17485991851a423c868419a8665c | [
"MIT"
] | null | null | null | tests/lineturn.py | sasilva1998/uPyArlo | f40567c2e92f17485991851a423c868419a8665c | [
"MIT"
] | null | null | null | tests/lineturn.py | sasilva1998/uPyArlo | f40567c2e92f17485991851a423c868419a8665c | [
"MIT"
] | 2 | 2019-12-05T14:10:34.000Z | 2020-09-16T17:12:04.000Z | from arlorobot import *
import utime
bot = ArloRobot()
utime.sleep(1)
while True:
bot.turn(100, 20)
utime.sleep(0.5)
bot.move(200, 200, 20)
utime.sleep(0.5)
bot.turn(100, 20)
utime.sleep(0.5)
| 15.571429 | 26 | 0.62844 | 37 | 218 | 3.702703 | 0.432432 | 0.291971 | 0.262774 | 0.284672 | 0.474453 | 0.474453 | 0.350365 | 0.350365 | 0 | 0 | 0 | 0.147059 | 0.220183 | 218 | 13 | 27 | 16.769231 | 0.658824 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
143d7b3f12161b63ea223091da67e19d67cba02f | 247 | py | Python | djangorestframework/templatetags/add_query_param.py | max-arnold/django-rest-framework | ce5eb85082dd775bb5079ae7af91840fba7f9a6e | [
"BSD-2-Clause"
] | 2 | 2017-12-05T15:32:58.000Z | 2017-12-05T15:33:02.000Z | djangorestframework/templatetags/add_query_param.py | upgrade-drf/django-rest-framework-0.4 | ce5eb85082dd775bb5079ae7af91840fba7f9a6e | [
"BSD-2-Clause"
] | null | null | null | djangorestframework/templatetags/add_query_param.py | upgrade-drf/django-rest-framework-0.4 | ce5eb85082dd775bb5079ae7af91840fba7f9a6e | [
"BSD-2-Clause"
] | null | null | null | from django.template import Library
from urlobject import URLObject
register = Library()
def add_query_param(url, param):
return unicode(URLObject(url).add_query_param(*param.split('=')))
register.filter('add_query_param', add_query_param) | 24.7 | 69 | 0.785425 | 34 | 247 | 5.470588 | 0.470588 | 0.172043 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101215 | 247 | 10 | 70 | 24.7 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
144a783b7b7ef67a6fa5810283d7596d9e744a44 | 155 | py | Python | Lib/test/dtracedata/gc.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 52,316 | 2015-01-01T15:56:25.000Z | 2022-03-31T23:19:01.000Z | Lib/test/dtracedata/gc.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 25,286 | 2015-03-03T23:18:02.000Z | 2022-03-31T23:17:27.000Z | Lib/test/dtracedata/gc.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 31,623 | 2015-01-01T13:29:37.000Z | 2022-03-31T19:55:06.000Z | import gc
def start():
gc.collect(0)
gc.collect(1)
gc.collect(2)
l = []
l.append(l)
del l
gc.collect(2)
gc.collect()
start()
| 11.071429 | 17 | 0.535484 | 25 | 155 | 3.32 | 0.44 | 0.542169 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.296774 | 155 | 13 | 18 | 11.923077 | 0.724771 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
14738f2f0d9516687c5acda20272c14e0a1e463c | 523 | py | Python | main.py | diesears/01-Introduction | 3eae635561cbe93dfdfa60e1488e9e258f0a3d22 | [
"MIT"
] | null | null | null | main.py | diesears/01-Introduction | 3eae635561cbe93dfdfa60e1488e9e258f0a3d22 | [
"MIT"
] | null | null | null | main.py | diesears/01-Introduction | 3eae635561cbe93dfdfa60e1488e9e258f0a3d22 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import utils
utils.check_version((3,7))
utils.clear()
print('Hello, My name is Dietrich Sears')
print('My favorite game is the original Star Wars Battlefront')
print('My concerns with this class are keeping up to pace with the new material and feeling comfotable with new skills')
print('Im exc... | 40.230769 | 120 | 0.776291 | 86 | 523 | 4.709302 | 0.72093 | 0.051852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024283 | 0.133843 | 523 | 13 | 121 | 40.230769 | 0.869757 | 0.040153 | 0 | 0 | 0 | 0 | 0.76494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1495c0da78e0c711f4d6f673b72bce823a354d13 | 729 | py | Python | web-admin-sd/src/sd-web/commons/rest_client/exceptions.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | web-admin-sd/src/sd-web/commons/rest_client/exceptions.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | web-admin-sd/src/sd-web/commons/rest_client/exceptions.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | '''
(c) Copyright 2013 Telefonica, I+D. Printed in Spain (Europe). All Rights
Reserved.
The copyright to the software program(s) is property of Telefonica I+D.
The program(s) may be used and or copied only with the express written
consent of Telefonica I+D or in accordance with the terms and conditions
stipulated in t... | 30.375 | 73 | 0.735254 | 105 | 729 | 5 | 0.619048 | 0.062857 | 0.068571 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006826 | 0.196159 | 729 | 23 | 74 | 31.695652 | 0.889079 | 0.720165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
14a45ea94f651f000fad85862b9755a7c261e760 | 54 | py | Python | fpm/httpheaders/__init__.py | vanja/browserentropy | f541c1f29457f865cb2b8ecf84b1ab8f4b7fb243 | [
"MIT"
] | null | null | null | fpm/httpheaders/__init__.py | vanja/browserentropy | f541c1f29457f865cb2b8ecf84b1ab8f4b7fb243 | [
"MIT"
] | 1 | 2018-03-05T12:53:57.000Z | 2018-03-05T12:53:57.000Z | fpm/httpheaders/__init__.py | vanja/browserentropy | f541c1f29457f865cb2b8ecf84b1ab8f4b7fb243 | [
"MIT"
] | null | null | null | """Retrieve HTTP headers from request object.
"""
| 13.5 | 46 | 0.666667 | 6 | 54 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 54 | 3 | 47 | 18 | 0.837209 | 0.777778 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
14bef4c9ae0c348645193f8231d4728cae323419 | 185 | py | Python | testing/pqrne/simmob/road.py | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 50 | 2018-12-21T08:21:38.000Z | 2022-01-24T09:47:59.000Z | testing/pqrne/simmob/road.py | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 2 | 2018-12-19T13:42:47.000Z | 2019-05-13T04:11:45.000Z | testing/pqrne/simmob/road.py | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 27 | 2018-11-28T07:30:34.000Z | 2022-02-05T02:22:26.000Z | #!/usr/bin/env python
# Copyright Singapore-MIT Alliance for Research and Technology
class Road:
def __init__(self, name):
self.name = name
self.sections = list()
| 20.555556 | 62 | 0.67027 | 24 | 185 | 5 | 0.833333 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232432 | 185 | 8 | 63 | 23.125 | 0.84507 | 0.437838 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
14bfd111dff7aaeaa30f6bcd87ed7eec42dadcae | 816 | py | Python | src/ssp/news_scrape/news_scrape/items.py | gyan42/spark-streaming-playground | 147ef9cbc31b7aed242663dee36143ebf0e8043f | [
"Apache-2.0"
] | 10 | 2020-03-12T11:51:46.000Z | 2022-03-24T04:56:05.000Z | src/ssp/news_scrape/news_scrape/items.py | gyan42/spark-streaming-playground | 147ef9cbc31b7aed242663dee36143ebf0e8043f | [
"Apache-2.0"
] | 12 | 2020-04-23T07:28:14.000Z | 2022-03-12T00:20:24.000Z | src/ssp/news_scrape/news_scrape/items.py | gyan42/spark-streaming-playground | 147ef9cbc31b7aed242663dee36143ebf0e8043f | [
"Apache-2.0"
] | 1 | 2020-04-20T14:48:38.000Z | 2020-04-20T14:48:38.000Z | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html
import scrapy
from scrapy.loader.processors import TakeFirst, Join
class NewsScrapeItem(scrapy.Item):
# define the fields for your item here like:
headline ... | 34 | 63 | 0.737745 | 99 | 816 | 5.989899 | 0.474747 | 0.185497 | 0.229342 | 0.350759 | 0.413153 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001431 | 0.143382 | 816 | 23 | 64 | 35.478261 | 0.846924 | 0.22549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1ad95432e26198f1fd6da03d5175c5057f701aa9 | 272 | py | Python | hmlf/algorithms/ddpg/policies.py | lorenzob123/HMLF | 3577c61b8f2bae7959de81dfd3981c3a8e26d8b6 | [
"MIT"
] | 1 | 2021-05-05T05:59:55.000Z | 2021-05-05T05:59:55.000Z | hmlf/algorithms/ddpg/policies.py | lorenzob123/HMLF | 3577c61b8f2bae7959de81dfd3981c3a8e26d8b6 | [
"MIT"
] | 1 | 2021-05-18T07:51:46.000Z | 2021-05-18T07:51:46.000Z | hmlf/algorithms/ddpg/policies.py | lorenzob123/HMLF | 3577c61b8f2bae7959de81dfd3981c3a8e26d8b6 | [
"MIT"
] | null | null | null | # DDPG can be view as a special case of TD3
from hmlf.algorithms.td3.policies import CnnPolicy, MlpPolicy # noqa:F401
from hmlf.common.policy_register import register_policy
register_policy("DDPG", "MlpPolicy", MlpPolicy)
register_policy("DDPG", "CnnPolicy", CnnPolicy)
| 38.857143 | 74 | 0.797794 | 38 | 272 | 5.605263 | 0.578947 | 0.197183 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020661 | 0.110294 | 272 | 6 | 75 | 45.333333 | 0.859504 | 0.1875 | 0 | 0 | 0 | 0 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1aea364edc14fd4be274533697e4611b1c90f22a | 150 | py | Python | recursion.py | Alexfm101/algorithms | ff0e2489849518e9e58e128f579a64624e449b22 | [
"MIT"
] | null | null | null | recursion.py | Alexfm101/algorithms | ff0e2489849518e9e58e128f579a64624e449b22 | [
"MIT"
] | null | null | null | recursion.py | Alexfm101/algorithms | ff0e2489849518e9e58e128f579a64624e449b22 | [
"MIT"
] | null | null | null | def factorial(x):
if x == 1 or x == 0:
return 1
else:
return x * factorial(x-1)
x = factorial(5)
print("el factorial es:",x)
| 16.666667 | 33 | 0.533333 | 25 | 150 | 3.2 | 0.52 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 0.32 | 150 | 8 | 34 | 18.75 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21131642f28ee0a714920e84ef85648523e65716 | 3,565 | py | Python | src/pagnn/training/gan/args.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | 1 | 2022-01-16T12:06:13.000Z | 2022-01-16T12:06:13.000Z | src/pagnn/training/gan/args.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | null | null | null | src/pagnn/training/gan/args.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | null | null | null | import attr
from attr.validators import instance_of
from pagnn import settings
from pagnn.utils import ArgsBase, str_to_seconds
@attr.s
class Args(ArgsBase):
# === Properties ===
#: Learning rate for Discriminator (Critic).
learning_rate_d: float = attr.ib(0.00005, validator=instance_of(float))
#:... | 36.752577 | 87 | 0.695091 | 492 | 3,565 | 4.882114 | 0.272358 | 0.11657 | 0.213572 | 0.119067 | 0.491674 | 0.39592 | 0.334721 | 0.334721 | 0.254371 | 0.136969 | 0 | 0.02336 | 0.18345 | 3,565 | 96 | 88 | 37.135417 | 0.801786 | 0.304909 | 0 | 0 | 0 | 0 | 0.018382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.095238 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2123a006671a9db1cdd8b4633770c6a63574b45d | 430 | py | Python | tests/test_cardxml.py | kvazario/python-hearthstone | 3855e9565d45f0a5677fffe2f88cbe160cc6c7e1 | [
"MIT"
] | 233 | 2015-09-17T21:22:14.000Z | 2022-03-23T22:55:20.000Z | tests/test_cardxml.py | kvazario/python-hearthstone | 3855e9565d45f0a5677fffe2f88cbe160cc6c7e1 | [
"MIT"
] | 29 | 2016-01-14T19:48:35.000Z | 2021-04-03T15:45:15.000Z | tests/test_cardxml.py | kvazario/python-hearthstone | 3855e9565d45f0a5677fffe2f88cbe160cc6c7e1 | [
"MIT"
] | 69 | 2015-12-22T13:02:56.000Z | 2022-02-08T12:58:53.000Z | from hearthstone import cardxml
def test_cardxml_load():
cardid_db, _ = cardxml.load()
dbf_db, _ = cardxml.load_dbf()
assert cardid_db
assert dbf_db
for card_id, card in cardid_db.items():
assert dbf_db[card.dbf_id].id == card_id
for dbf_id, card in dbf_db.items():
assert cardid_db[card.id].dbf_id == dbf... | 22.631579 | 56 | 0.732558 | 73 | 430 | 3.958904 | 0.315068 | 0.16609 | 0.193772 | 0.110727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029891 | 0.144186 | 430 | 18 | 57 | 23.888889 | 0.755435 | 0 | 0 | 0 | 0 | 0 | 0.053488 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.083333 | true | 0 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
213932d0827859d8aa561f9c461f1c7f0263900b | 17,484 | py | Python | tests/integration/test_api.py | edniescior/bond-registry | 9c57994b96b4144ac65f5ea737bbcf89185bb264 | [
"MIT"
] | null | null | null | tests/integration/test_api.py | edniescior/bond-registry | 9c57994b96b4144ac65f5ea737bbcf89185bb264 | [
"MIT"
] | null | null | null | tests/integration/test_api.py | edniescior/bond-registry | 9c57994b96b4144ac65f5ea737bbcf89185bb264 | [
"MIT"
] | null | null | null | import requests
import json
from boto3.dynamodb.conditions import Key
"""
Integration tests against the bond registry api. These tests execute
against docker containers.
Fixtures to start containers, build the dynamodb table and populate it
with test data are in conftest.py.
"""
def test_health(api_url, table):
... | 37.121019 | 79 | 0.63235 | 2,092 | 17,484 | 5.083652 | 0.099426 | 0.129008 | 0.103244 | 0.054537 | 0.805172 | 0.726845 | 0.606676 | 0.584015 | 0.54819 | 0.530418 | 0 | 0.049182 | 0.224319 | 17,484 | 470 | 80 | 37.2 | 0.734995 | 0.100663 | 0 | 0.465839 | 0 | 0 | 0.323382 | 0.01463 | 0 | 0 | 0 | 0 | 0.440994 | 1 | 0.059006 | false | 0 | 0.009317 | 0 | 0.068323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21419b6ec8def34d321df7d7da73ae9dae38678f | 157 | py | Python | primeNumber.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | primeNumber.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | primeNumber.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | n=int(input("Enter the number"))
for i in range(2,n):
if n%i ==0:
print("Not Prime number")
break
else:
print("Prime Number")
| 19.625 | 34 | 0.541401 | 25 | 157 | 3.4 | 0.72 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.305732 | 157 | 7 | 35 | 22.428571 | 0.761468 | 0 | 0 | 0 | 0 | 0 | 0.293333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2151e3e3141b931b263fe391dd3c32b36f594f71 | 1,446 | py | Python | tensorflow/python/ops/functional_ops.py | jylinman/tensorflow | 5248d111c3aeaf9f560cd77bff0f183f38e31e0b | [
"Apache-2.0"
] | 21 | 2016-03-10T11:55:45.000Z | 2021-02-03T02:49:11.000Z | tensorflow/python/ops/functional_ops.py | jylinman/tensorflow | 5248d111c3aeaf9f560cd77bff0f183f38e31e0b | [
"Apache-2.0"
] | null | null | null | tensorflow/python/ops/functional_ops.py | jylinman/tensorflow | 5248d111c3aeaf9f560cd77bff0f183f38e31e0b | [
"Apache-2.0"
] | 39 | 2016-03-25T05:13:09.000Z | 2020-06-16T01:30:53.000Z | # Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 39.081081 | 79 | 0.715076 | 207 | 1,446 | 4.869565 | 0.560386 | 0.059524 | 0.047619 | 0.031746 | 0.10119 | 0.10119 | 0.10119 | 0.10119 | 0.10119 | 0 | 0 | 0.006436 | 0.140387 | 1,446 | 36 | 80 | 40.166667 | 0.804505 | 0.66805 | 0 | 0 | 0 | 0 | 0.035242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.666667 | 0.111111 | 0.888889 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
dcbdb8f4c6f5486f3ba623bc3a9b042b7fb03059 | 619 | py | Python | backend/app/reservation/rsv_state.py | GJCav/thywy | 3c458bccdd23bab78b6a8bd65603c7845e643d70 | [
"MIT"
] | 8 | 2022-01-23T07:30:06.000Z | 2022-02-15T03:39:25.000Z | backend/app/reservation/rsv_state.py | Dr-Left/thuwy | 3c458bccdd23bab78b6a8bd65603c7845e643d70 | [
"MIT"
] | 5 | 2022-01-21T03:31:22.000Z | 2022-03-04T00:01:59.000Z | backend/app/reservation/rsv_state.py | Dr-Left/thuwy | 3c458bccdd23bab78b6a8bd65603c7845e643d70 | [
"MIT"
] | 2 | 2022-01-23T08:09:46.000Z | 2022-02-24T05:55:02.000Z | STATE_WAIT = 0b000001
STATE_START = 0b000010
STATE_COMPLETE = 0b000100
STATE_CANCEL = 0b001000
STATE_REJECT = 0b010000
STATE_VIOLATE = 0b100000
COMPLETE_BY_CANCEL = STATE_COMPLETE | STATE_CANCEL
COMPLETE_BY_REJECT = STATE_COMPLETE | STATE_REJECT
COMPLETE_BY_VIOLATE = STATE_COMPLETE | STATE_VIOLATE
def isWait(s):
... | 17.194444 | 52 | 0.749596 | 87 | 619 | 5.057471 | 0.275862 | 0.095455 | 0.15 | 0.163636 | 0.231818 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082031 | 0.172859 | 619 | 35 | 53 | 17.685714 | 0.777344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
dcbe3299d96c1fce9e1febc490876ebf442f4999 | 158 | py | Python | NEAT/node.py | NathanZabriskie/neat_py | 342aee0c67bf5952be86094a6f2c03f922000c93 | [
"MIT"
] | 9 | 2017-09-24T00:09:17.000Z | 2021-08-07T05:44:08.000Z | NEAT/node.py | NathanZabriskie/neat_py | 342aee0c67bf5952be86094a6f2c03f922000c93 | [
"MIT"
] | null | null | null | NEAT/node.py | NathanZabriskie/neat_py | 342aee0c67bf5952be86094a6f2c03f922000c93 | [
"MIT"
] | 2 | 2020-09-25T13:05:51.000Z | 2021-10-04T15:40:15.000Z | class Node:
def __init__(self):
self.out = 0.0
self.last_out = 0.0
self.incoming_connections = []
self.has_output = False
| 22.571429 | 38 | 0.56962 | 21 | 158 | 3.952381 | 0.619048 | 0.096386 | 0.120482 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.329114 | 158 | 6 | 39 | 26.333333 | 0.745283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dcf2e7c8f59318c656f58562d3d9b7f63b696b04 | 545 | py | Python | src/data/load_dataset.py | Thabby07/predicting_earthquake_disaster | 147bd54c9b007e04e692158166c3b8099194a56e | [
"FTL"
] | null | null | null | src/data/load_dataset.py | Thabby07/predicting_earthquake_disaster | 147bd54c9b007e04e692158166c3b8099194a56e | [
"FTL"
] | null | null | null | src/data/load_dataset.py | Thabby07/predicting_earthquake_disaster | 147bd54c9b007e04e692158166c3b8099194a56e | [
"FTL"
] | null | null | null | # -*- coding: utf-8 -*-
import logging
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
class LoadDataset:
def __init__(self):
""" TODO Doc """
self.logger = logging.getLogger(__name__)
def read_raw_data(self):
""" TODO Doc """
train_values = pd.read_c... | 21.8 | 66 | 0.644037 | 74 | 545 | 4.445946 | 0.432432 | 0.100304 | 0.082067 | 0.118541 | 0.212766 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0.002364 | 0.223853 | 545 | 24 | 67 | 22.708333 | 0.775414 | 0.077064 | 0 | 0 | 0 | 0 | 0.170431 | 0.170431 | 0 | 0 | 0 | 0.041667 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0d27ef72e494743f5bde68360932dfe0a22c06c3 | 2,033 | py | Python | ecdc_status/upcoming_events/models.py | ess-dmsc/ecdc-status | 8057b2995f2404b6eac6b6a723f8776137a71328 | [
"BSD-2-Clause"
] | null | null | null | ecdc_status/upcoming_events/models.py | ess-dmsc/ecdc-status | 8057b2995f2404b6eac6b6a723f8776137a71328 | [
"BSD-2-Clause"
] | null | null | null | ecdc_status/upcoming_events/models.py | ess-dmsc/ecdc-status | 8057b2995f2404b6eac6b6a723f8776137a71328 | [
"BSD-2-Clause"
] | null | null | null | from django.db import models
from django.utils import timezone
class EventIcon(models.Model):
Name = models.CharField(max_length = 50)
Image = models.FileField(upload_to = "icon_images/")
def __str__(self):
return self.Name
def convertHours(Hours):
ReturnUnit = "hour"
ReturnValue = Ho... | 33.883333 | 90 | 0.640925 | 230 | 2,033 | 5.591304 | 0.356522 | 0.068429 | 0.068429 | 0.080871 | 0.272162 | 0.197512 | 0.195956 | 0.189736 | 0.189736 | 0.189736 | 0 | 0.035393 | 0.235612 | 2,033 | 60 | 91 | 33.883333 | 0.792149 | 0 | 0 | 0.042553 | 0 | 0 | 0.02704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212766 | false | 0 | 0.042553 | 0.170213 | 0.680851 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0d338844d07b0b54eb43367a91823e149a897f0f | 1,078 | py | Python | openapi_core/exceptions.py | correl/openapi-core | 5dcb0dba7642f9959bb7af5e40f3fdeb1b2cc85f | [
"BSD-3-Clause"
] | null | null | null | openapi_core/exceptions.py | correl/openapi-core | 5dcb0dba7642f9959bb7af5e40f3fdeb1b2cc85f | [
"BSD-3-Clause"
] | null | null | null | openapi_core/exceptions.py | correl/openapi-core | 5dcb0dba7642f9959bb7af5e40f3fdeb1b2cc85f | [
"BSD-3-Clause"
] | null | null | null | """OpenAPI core exceptions module"""
import attr
class OpenAPIError(Exception):
pass
class OpenAPIParameterError(OpenAPIError):
pass
class MissingParameterError(OpenAPIParameterError):
"""Missing parameter error"""
pass
@attr.s(hash=True)
class MissingParameter(MissingParameterError):
name =... | 18.912281 | 71 | 0.711503 | 108 | 1,078 | 6.953704 | 0.37037 | 0.026631 | 0.047936 | 0.069241 | 0.386152 | 0.362184 | 0.332889 | 0.203728 | 0.143808 | 0 | 0 | 0.002278 | 0.185529 | 1,078 | 56 | 72 | 19.25 | 0.853075 | 0.050093 | 0 | 0.46875 | 0 | 0 | 0.128332 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.15625 | 0.03125 | 0.125 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
0d4fb661081b71ed826faec1bffc54dc6ccdb805 | 125 | py | Python | Wk1/Demo.py | ANKITPODDER2000/CNN_TF | b1671fca69a0ce167074e91d469f45516e010d0a | [
"MIT"
] | 2 | 2020-07-26T14:41:34.000Z | 2020-09-30T10:11:43.000Z | Wk1/Demo.py | ANKITPODDER2000/CNN_TF | b1671fca69a0ce167074e91d469f45516e010d0a | [
"MIT"
] | null | null | null | Wk1/Demo.py | ANKITPODDER2000/CNN_TF | b1671fca69a0ce167074e91d469f45516e010d0a | [
"MIT"
] | null | null | null | It is a Demo file.
a = zipfile.ZipFile("MyZip.Zip",mode='w')
a.write("Demo.txt",compress_type=zipfile.ZIP_DEFLATED)
a.close() | 31.25 | 54 | 0.736 | 23 | 125 | 3.913043 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072 | 125 | 4 | 55 | 31.25 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b4a5737b405bc8f37fa5726e2ec4d8cd70d52a2e | 882 | py | Python | 2017/day02/test_checksum.py | kgaughan/aoc | ffd1d8f28adb3b5b61da15402fb6ca489b9025b0 | [
"BSD-3-Clause"
] | null | null | null | 2017/day02/test_checksum.py | kgaughan/aoc | ffd1d8f28adb3b5b61da15402fb6ca489b9025b0 | [
"BSD-3-Clause"
] | null | null | null | 2017/day02/test_checksum.py | kgaughan/aoc | ffd1d8f28adb3b5b61da15402fb6ca489b9025b0 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
import unittest
import checksum
class ChecksumTests(unittest.TestCase):
def test_part1(self):
fixture = [
[5, 1, 9, 5],
[7, 5, 3],
[2, 4, 6, 8],
]
self.assertEqual(checksum.checksum_line(fixture[0]), 8)
self.assertEqual(c... | 29.4 | 69 | 0.587302 | 108 | 882 | 4.694444 | 0.296296 | 0.236686 | 0.362919 | 0.366864 | 0.534517 | 0.534517 | 0.447732 | 0 | 0 | 0 | 0 | 0.066978 | 0.272109 | 882 | 29 | 70 | 30.413793 | 0.722741 | 0.02381 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b4bd292cab9177a0685c865fb7dd26b770b4f39a | 58 | py | Python | classwork.py | cs-fullstack-2019-spring/python-arraycollections-cw-clyde5649 | cd4131ef1a1603c169ba1bafdb602e4ef12f04d9 | [
"Apache-2.0"
] | null | null | null | classwork.py | cs-fullstack-2019-spring/python-arraycollections-cw-clyde5649 | cd4131ef1a1603c169ba1bafdb602e4ef12f04d9 | [
"Apache-2.0"
] | null | null | null | classwork.py | cs-fullstack-2019-spring/python-arraycollections-cw-clyde5649 | cd4131ef1a1603c169ba1bafdb602e4ef12f04d9 | [
"Apache-2.0"
] | null | null | null | def main():
problem1()
function problem1()
| 6.444444 | 25 | 0.534483 | 5 | 58 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.344828 | 58 | 8 | 26 | 7.25 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b4c934a757fd4cf9de660cfa46886b0e20b2e063 | 239 | py | Python | string_formatting.py | konstdimasik/python_code | 8e4aef1c4638488c0990068010c0d7e53a076f74 | [
"MIT"
] | null | null | null | string_formatting.py | konstdimasik/python_code | 8e4aef1c4638488c0990068010c0d7e53a076f74 | [
"MIT"
] | null | null | null | string_formatting.py | konstdimasik/python_code | 8e4aef1c4638488c0990068010c0d7e53a076f74 | [
"MIT"
] | null | null | null | def print_formatted(number):
length = len(format(number, 'b'))
for i in range(1, number + 1):
print(f'{i:{length}d} {i:{length}o} {i:{length}X} {i:{length}b}')
if __name__ == '__main__':
n = 20
print_formatted(n)
| 23.9 | 73 | 0.585774 | 38 | 239 | 3.421053 | 0.578947 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.213389 | 239 | 9 | 74 | 26.555556 | 0.670213 | 0 | 0 | 0 | 0 | 0.142857 | 0.267782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b4cfa57ab2a2b6868bc76e6fc8faa260d0887725 | 1,517 | py | Python | algorithms/easy/890_Employee_Importance/employee_importance.py | Garee/leetcode | a4e4ece05b8f3f51bdc921ddf365f1bee18b0189 | [
"MIT"
] | null | null | null | algorithms/easy/890_Employee_Importance/employee_importance.py | Garee/leetcode | a4e4ece05b8f3f51bdc921ddf365f1bee18b0189 | [
"MIT"
] | null | null | null | algorithms/easy/890_Employee_Importance/employee_importance.py | Garee/leetcode | a4e4ece05b8f3f51bdc921ddf365f1bee18b0189 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
"""
You are given a data structure of employee information, which includes the employee's unique id, his importance value and his direct subordinates' id.
For example, employee 1 is the leader of employee 2, and employee 2 is the leader of employee 3. They have importance value 15, 10 and 5, res... | 36.119048 | 370 | 0.71325 | 248 | 1,517 | 4.318548 | 0.395161 | 0.084034 | 0.033613 | 0.024276 | 0.085901 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042184 | 0.203032 | 1,517 | 41 | 371 | 37 | 0.843672 | 0.74621 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b4daed6d6d0be12fe7b1f239d462a0f0a72be923 | 722 | py | Python | tools/leetcode.064.Minimum Path Sum/leetcode.064.Minimum Path Sum.submission7.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | 4 | 2015-10-10T00:30:55.000Z | 2020-07-27T19:45:54.000Z | tools/leetcode.064.Minimum Path Sum/leetcode.064.Minimum Path Sum.submission7.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | tools/leetcode.064.Minimum Path Sum/leetcode.064.Minimum Path Sum.submission7.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | class Solution:
# @param grid, a list of lists of integers
# @return an integer
def minPathSum(self, grid):
if not grid: return 0
line = []
M = len(grid)
N = len(grid[0])
for m in range(M):
for n in range(N):
if m == 0:
... | 722 | 722 | 0.361496 | 89 | 722 | 2.932584 | 0.325843 | 0.076628 | 0.030651 | 0.061303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03966 | 0.51108 | 722 | 1 | 722 | 722 | 0.699717 | 0.081717 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b4eeca111ef1d18e691a01b9459676fa4135a6e1 | 49 | py | Python | relex/__init__.py | allenai/relation_extraction | a8d23b7cdf140544a972c50ab431c3177e198e49 | [
"Apache-2.0"
] | 35 | 2019-04-04T02:07:01.000Z | 2021-03-02T07:28:11.000Z | relex/__init__.py | allenai/relation_extraction | a8d23b7cdf140544a972c50ab431c3177e198e49 | [
"Apache-2.0"
] | 5 | 2019-04-10T07:33:57.000Z | 2020-11-19T03:30:14.000Z | relex/__init__.py | allenai/relation_extraction | a8d23b7cdf140544a972c50ab431c3177e198e49 | [
"Apache-2.0"
] | 7 | 2019-04-10T08:04:58.000Z | 2020-09-15T17:18:16.000Z | """
Relation Extraction.
"""
__version__ = 0.3
| 7 | 20 | 0.632653 | 5 | 49 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.183673 | 49 | 6 | 21 | 8.166667 | 0.625 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b4fd36ef47cc6288832afbfa8c4bf448372fa31d | 196 | py | Python | backend/Education/serializer.py | sourabhmandal/Showcase | 8bf6379291bea852fd49e3aeec511a9d64659e44 | [
"MIT"
] | null | null | null | backend/Education/serializer.py | sourabhmandal/Showcase | 8bf6379291bea852fd49e3aeec511a9d64659e44 | [
"MIT"
] | null | null | null | backend/Education/serializer.py | sourabhmandal/Showcase | 8bf6379291bea852fd49e3aeec511a9d64659e44 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Education
class EducationSerializer(serializers.ModelSerializer):
class Meta:
model = Education
fields = '__all__'
| 21.777778 | 55 | 0.744898 | 19 | 196 | 7.421053 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 196 | 8 | 56 | 24.5 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 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 | 0 | 0 | 0 | 3 |
371e89b3ee00f2c8c127e2f327d0922bdfbd982e | 19,185 | py | Python | Backend/alembic/versions/37f73a9d15d5_.py | TheDescend/elevatorbot | 0909ec9ba213480bdf7f790c3d115dd8c4f3ae17 | [
"MIT"
] | null | null | null | Backend/alembic/versions/37f73a9d15d5_.py | TheDescend/elevatorbot | 0909ec9ba213480bdf7f790c3d115dd8c4f3ae17 | [
"MIT"
] | 41 | 2022-01-12T11:10:40.000Z | 2022-03-22T09:47:25.000Z | Backend/alembic/versions/37f73a9d15d5_.py | TheDescend/elevatorbot | 0909ec9ba213480bdf7f790c3d115dd8c4f3ae17 | [
"MIT"
] | null | null | null | """Create initial database tables
Revision ID: 37f73a9d15d5
Revises:
Create Date: 2022-04-02 10:42:18.076326+00:00
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "37f73a9d15d5"
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# #... | 49.702073 | 110 | 0.654678 | 2,170 | 19,185 | 5.652074 | 0.105069 | 0.136323 | 0.234815 | 0.287648 | 0.765349 | 0.746596 | 0.652426 | 0.517 | 0.420383 | 0.347248 | 0 | 0.002668 | 0.179307 | 19,185 | 385 | 111 | 49.831169 | 0.77631 | 0.015898 | 0 | 0.342391 | 0 | 0 | 0.205381 | 0.052274 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005435 | false | 0.008152 | 0.005435 | 0 | 0.01087 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2e950283f03bb5d0f5953b02916e54754ed70a10 | 376 | py | Python | set1/5.py | dineshkumarc987/matasano-crypto | a10dbd94ce0f5acb3a462a1a8d9bdb117729a206 | [
"MIT"
] | 25 | 2016-11-03T12:56:17.000Z | 2021-07-15T15:45:41.000Z | set1/5.py | dineshkumarc987/matasano-crypto | a10dbd94ce0f5acb3a462a1a8d9bdb117729a206 | [
"MIT"
] | null | null | null | set1/5.py | dineshkumarc987/matasano-crypto | a10dbd94ce0f5acb3a462a1a8d9bdb117729a206 | [
"MIT"
] | 7 | 2017-05-06T01:27:06.000Z | 2019-10-24T11:06:16.000Z | from itertools import *
data = """Burning 'em, if you ain't quick and nimble
I go crazy when I hear a cymbal"""
key = cycle("ICE")
enc = ''.join(chr(ord(a) ^ ord(b)) for a, b in zip(data, key))
print enc == '0b3637272a2b2e63622c2e69692a23693a2a3c6324202d623d63343c2a26226324272765272a282b2f20430a652e2c652a3124333a65... | 34.181818 | 177 | 0.771277 | 43 | 376 | 6.744186 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.361446 | 0.117021 | 376 | 10 | 178 | 37.6 | 0.512048 | 0 | 0 | 0 | 0 | 0 | 0.606383 | 0.393617 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2e9f41be0bc703a14d4a1a39360737c90280a84f | 112 | py | Python | gate/config.py | pawnhearts/kotch | 981653b426bcd82f2fdf11feb7f795b7d77bdedc | [
"MIT"
] | null | null | null | gate/config.py | pawnhearts/kotch | 981653b426bcd82f2fdf11feb7f795b7d77bdedc | [
"MIT"
] | null | null | null | gate/config.py | pawnhearts/kotch | 981653b426bcd82f2fdf11feb7f795b7d77bdedc | [
"MIT"
] | null | null | null | # coding: utf-8
password_livechan = 'annacookie'
url = 'https://kotchan.org'
kotch_url = 'http://0.0.0.0:8888'
| 18.666667 | 33 | 0.678571 | 18 | 112 | 4.111111 | 0.777778 | 0.081081 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.116071 | 112 | 5 | 34 | 22.4 | 0.656566 | 0.116071 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
2ea8d091eb708172ef31184f013c9165a8fb9a82 | 282 | py | Python | qswatplus/imageio/freeze.py | jphuart/swatplus-automatic-workflow | dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4 | [
"MIT"
] | 8 | 2020-06-28T07:50:29.000Z | 2022-01-05T16:29:48.000Z | venv/lib/python3.7/site-packages/imageio/freeze.py | haideraltahan/CropMe | 75a111b9d3b2c50c6f2a9a36d21432053f02284d | [
"MIT"
] | 26 | 2020-03-24T18:07:06.000Z | 2022-03-12T00:12:27.000Z | venv/lib/python3.7/site-packages/imageio/freeze.py | haideraltahan/CropMe | 75a111b9d3b2c50c6f2a9a36d21432053f02284d | [
"MIT"
] | 5 | 2020-06-28T07:50:31.000Z | 2021-08-16T07:09:59.000Z | """
Helper functions for freezing imageio.
"""
import sys
def get_includes():
if sys.version_info[0] == 3:
urllib = ["email", "urllib.request"]
else:
urllib = ["urllib2"]
return urllib + ["numpy", "zipfile", "io"]
def get_excludes():
return []
| 15.666667 | 46 | 0.58156 | 32 | 282 | 5.03125 | 0.78125 | 0.074534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014218 | 0.251773 | 282 | 17 | 47 | 16.588235 | 0.748815 | 0.134752 | 0 | 0 | 0 | 0 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2ebb6e01a19d2c1e4c7b15bbf4e08d7624a2808a | 659 | py | Python | 62.py | HatsuneMikuV/PythonLearning | 34a7179ee20eb8ade50ce74b12732daea491e527 | [
"Apache-2.0"
] | null | null | null | 62.py | HatsuneMikuV/PythonLearning | 34a7179ee20eb8ade50ce74b12732daea491e527 | [
"Apache-2.0"
] | null | null | null | 62.py | HatsuneMikuV/PythonLearning | 34a7179ee20eb8ade50ce74b12732daea491e527 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
-------------------------------------------------
File Name: 62
Author : anglemiku
Eamil : anglemiku.v@gmail.com
date: 2020/1/10
-------------------------------------------------
Change Activity: 2020/1/10:
-------------------------------... | 21.258065 | 53 | 0.396055 | 60 | 659 | 4.216667 | 0.733333 | 0.039526 | 0.055336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108652 | 0.245827 | 659 | 31 | 54 | 21.258065 | 0.400402 | 0.031866 | 0 | 0 | 0 | 0 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.083333 | 0 | null | null | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
2edcf90a09cbc171152d2968d5ddce3d83f4bd92 | 5,957 | py | Python | bakerydemo/locations/migrations/0001_initial.py | jams2/bakerydemo | 32d8809877eaebaa8d6ce056cc8e9661519b766d | [
"BSD-3-Clause"
] | null | null | null | bakerydemo/locations/migrations/0001_initial.py | jams2/bakerydemo | 32d8809877eaebaa8d6ce056cc8e9661519b766d | [
"BSD-3-Clause"
] | null | null | null | bakerydemo/locations/migrations/0001_initial.py | jams2/bakerydemo | 32d8809877eaebaa8d6ce056cc8e9661519b766d | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-15 07:16
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
import wagtail.blocks
import wagtail.fields
import wagtail.embeds.blocks
im... | 80.5 | 1,076 | 0.658553 | 669 | 5,957 | 5.751868 | 0.315396 | 0.070946 | 0.045738 | 0.034304 | 0.664501 | 0.664501 | 0.656185 | 0.627859 | 0.627859 | 0.627859 | 0 | 0.015761 | 0.169213 | 5,957 | 73 | 1,077 | 81.60274 | 0.76177 | 0.011415 | 0 | 0.446154 | 1 | 0.015385 | 0.279307 | 0.047061 | 0.030769 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.138462 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2c02aceecb36a61c7d44117c29dbb1e9d3c695bf | 701 | py | Python | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/HP/texture_lighting.py | temelkirci/Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | 1 | 2022-03-02T17:07:20.000Z | 2022-03-02T17:07:20.000Z | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/HP/texture_lighting.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/HP/texture_lighting.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | '''OpenGL extension HP.texture_lighting
This module customises the behaviour of the
OpenGL.raw.GL.HP.texture_lighting to provide a more
Python-friendly API
Overview (from the spec)
This extension defines a mechanism for applications to request
that color originating from specular lighting be added to
the fragm... | 33.380952 | 63 | 0.814551 | 102 | 701 | 5.539216 | 0.588235 | 0.063717 | 0.120354 | 0.046018 | 0.099115 | 0.099115 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129815 | 701 | 21 | 64 | 33.380952 | 0.92623 | 0.760342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.