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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
65cbfd8579011a17dd02f7f97ef3094aeac16dbd | 66 | py | Python | WEEKS/CD_Sata-Structures/general/practice/PYTHON/countVowelConsonant.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 11 | 2021-02-18T04:53:44.000Z | 2022-01-16T10:57:39.000Z | WEEKS/CD_Sata-Structures/general/practice/PYTHON/countVowelConsonant.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 162 | 2021-03-09T01:52:11.000Z | 2022-03-12T01:09:07.000Z | WEEKS/CD_Sata-Structures/general/practice/PYTHON/countVowelConsonant.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 8 | 2021-02-18T05:12:34.000Z | 2022-03-06T19:02:14.000Z | return sum([1 if i in "aeiou" else 2 for i in eval(dir()[0])[0]])
| 33 | 65 | 0.606061 | 16 | 66 | 2.5 | 0.8125 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.181818 | 66 | 1 | 66 | 66 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65d0b3d3ee335eaeb9b898869b21d07efd65dd66 | 250 | py | Python | robot/pi/botSending.py | SoonerRobotics/mercury_software_2021 | 45c594cc5bcddb4037ea10b3918307639036d517 | [
"MIT"
] | 1 | 2020-09-20T02:02:52.000Z | 2020-09-20T02:02:52.000Z | robot/pi/botSending.py | SoonerRobotics/mercury_software_2021 | 45c594cc5bcddb4037ea10b3918307639036d517 | [
"MIT"
] | 7 | 2020-09-29T22:14:45.000Z | 2021-04-06T23:50:43.000Z | robot/pi/botSending.py | SoonerRobotics/mercury_software_2021 | 45c594cc5bcddb4037ea10b3918307639036d517 | [
"MIT"
] | null | null | null | # Code Goes Here
def init():
"""Code to set up connection for sending data"""
def sendCam():
# TODO: Send Camera data to laptop
def sendSensors():
# TODO: Send sensor data to laptop
def quit():
# TODO: Cleanup and close connections | 20.833333 | 52 | 0.668 | 36 | 250 | 4.638889 | 0.666667 | 0.095808 | 0.143713 | 0.179641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232 | 250 | 12 | 53 | 20.833333 | 0.869792 | 0.464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65e5e61c549104fc713a80b58c067ec8bb13dffb | 1,520 | py | Python | center_initializations.py | AbChatt/KMeans-GMM-PCA-Python | 3391ea1c700fe663978b9589c109cf16dd68346a | [
"MIT"
] | null | null | null | center_initializations.py | AbChatt/KMeans-GMM-PCA-Python | 3391ea1c700fe663978b9589c109cf16dd68346a | [
"MIT"
] | null | null | null | center_initializations.py | AbChatt/KMeans-GMM-PCA-Python | 3391ea1c700fe663978b9589c109cf16dd68346a | [
"MIT"
] | null | null | null | """
CSCC11 - Introduction to Machine Learning, Winter 2020, Assignment 3
B. Chan, S. Wei, D. Fleet
===========================================================
COMPLETE THIS TEXT BOX:
Student Name: Abhishek Chatterjee
Student number: 1004820615
UtorID: chatt114
I hereby certify that the work contained here is m... | 26.666667 | 92 | 0.568421 | 188 | 1,520 | 4.526596 | 0.468085 | 0.056404 | 0.024677 | 0.025852 | 0.434783 | 0.390129 | 0.390129 | 0.390129 | 0.390129 | 0.390129 | 0 | 0.017974 | 0.194737 | 1,520 | 56 | 93 | 27.142857 | 0.677288 | 0.751974 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
029cf0052b6e7fc66ee3505969ad1c4709fa47ca | 4,469 | py | Python | src/frontend/company_admin_settings.py | anton-shumakov/Random-Coffee-Bot | 9102dcde16c70423901b005f8e5120bcbfd46899 | [
"MIT"
] | null | null | null | src/frontend/company_admin_settings.py | anton-shumakov/Random-Coffee-Bot | 9102dcde16c70423901b005f8e5120bcbfd46899 | [
"MIT"
] | null | null | null | src/frontend/company_admin_settings.py | anton-shumakov/Random-Coffee-Bot | 9102dcde16c70423901b005f8e5120bcbfd46899 | [
"MIT"
] | null | null | null | from telebot import types
from frontend.text import (SET_PAUSE, SET_RUN, SHOW_PROFILE, USERS, USER_SETTINGS, BACK, SETTINGS,
PAIRS, GENERATE_PAIRS, SEND_INVITES, GET_PASSWORD, GENERATE_PASSWORD, ASK_WHICH_USER_CHOOSE, BLOCK,
YES, NO, ARE_YOU_SURE, DONE)
def get_company_admin_user_... | 29.401316 | 117 | 0.653838 | 458 | 4,469 | 6 | 0.111354 | 0.135371 | 0.200509 | 0.165939 | 0.696507 | 0.663755 | 0.547307 | 0.436681 | 0.436681 | 0.436681 | 0 | 0.000609 | 0.264712 | 4,469 | 151 | 118 | 29.596026 | 0.835666 | 0 | 0 | 0.540984 | 1 | 0 | 0.090848 | 0.046543 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057377 | false | 0.040984 | 0.016393 | 0 | 0.07377 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02b14697d4501d0ba55e4d46d723690ad44dab2c | 56 | py | Python | geodash/__init__.py | wfp-ose/geodash-framework-django | cc577070998cacba318f92a43cc2ae689a5bd4cd | [
"BSD-3-Clause"
] | 3 | 2017-02-16T10:04:08.000Z | 2021-06-22T12:22:41.000Z | geodash/__init__.py | geodashio/geodash-framework-django | cc577070998cacba318f92a43cc2ae689a5bd4cd | [
"BSD-3-Clause"
] | null | null | null | geodash/__init__.py | geodashio/geodash-framework-django | cc577070998cacba318f92a43cc2ae689a5bd4cd | [
"BSD-3-Clause"
] | 2 | 2016-09-30T14:29:01.000Z | 2017-12-14T20:26:36.000Z | default_app_config = 'geodash.apps.GeoDashDjangoConfig'
| 28 | 55 | 0.857143 | 6 | 56 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02eb02287fe55bcfd81ea4675c0a7005a645ee24 | 323 | py | Python | backend/manage.py | vmware-samples/accessibility-visual-report | a24e46e752e1565e83e204b4c407d962de8f89a6 | [
"MIT"
] | null | null | null | backend/manage.py | vmware-samples/accessibility-visual-report | a24e46e752e1565e83e204b4c407d962de8f89a6 | [
"MIT"
] | null | null | null | backend/manage.py | vmware-samples/accessibility-visual-report | a24e46e752e1565e83e204b4c407d962de8f89a6 | [
"MIT"
] | null | null | null | # Copyright 2022 VMware, Inc.
# SPDX-License-Identifier: MIT
#!/usr/bin/env python
import os
import sys
if __name__=="__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE","accessibility.settings.opensource")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.ar... | 29.363636 | 87 | 0.789474 | 43 | 323 | 5.55814 | 0.744186 | 0.09205 | 0.150628 | 0.1841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.108359 | 323 | 11 | 88 | 29.363636 | 0.815972 | 0.235294 | 0 | 0 | 0 | 0 | 0.258197 | 0.22541 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f30dc21670e725f3bead676b0aeb84be1d9f6b1c | 7,731 | py | Python | tests/test_truth.py | ritabt/petra | a7b391cdcd34f07ca201e2a396e141a3d2f12884 | [
"Apache-2.0"
] | null | null | null | tests/test_truth.py | ritabt/petra | a7b391cdcd34f07ca201e2a396e141a3d2f12884 | [
"Apache-2.0"
] | null | null | null | tests/test_truth.py | ritabt/petra | a7b391cdcd34f07ca201e2a396e141a3d2f12884 | [
"Apache-2.0"
] | 1 | 2020-04-13T20:12:26.000Z | 2020-04-13T20:12:26.000Z | from typing import cast, Callable
import petra as pt
import unittest
from ctypes import CFUNCTYPE, c_bool, c_int8
program = pt.Program("module")
x, y = pt.Symbol(pt.Int8_t, "x"), pt.Symbol(pt.Int8_t, "y")
z, w = pt.Symbol(pt.Bool_t, "z"), pt.Symbol(pt.Bool_t, "w")
program.add_func(
"lt", (x, y), pt.Bool_t, pt.... | 33.323276 | 83 | 0.582719 | 1,158 | 7,731 | 3.788428 | 0.05095 | 0.164121 | 0.207887 | 0.082061 | 0.848416 | 0.566446 | 0.510372 | 0.504217 | 0.498746 | 0.444039 | 0 | 0.028759 | 0.230889 | 7,731 | 231 | 84 | 33.467532 | 0.709048 | 0 | 0 | 0.057292 | 0 | 0 | 0.009831 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.0625 | false | 0 | 0.020833 | 0 | 0.088542 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f30dd147a6cfbe7fd828a0eecddb2d6546ea8bf7 | 92 | py | Python | cj1-3.py | MoltenAshes/astr-19 | 628c1d6fd9c5cf5eb9cbcf23bd1fa48b8c572153 | [
"MIT"
] | null | null | null | cj1-3.py | MoltenAshes/astr-19 | 628c1d6fd9c5cf5eb9cbcf23bd1fa48b8c572153 | [
"MIT"
] | null | null | null | cj1-3.py | MoltenAshes/astr-19 | 628c1d6fd9c5cf5eb9cbcf23bd1fa48b8c572153 | [
"MIT"
] | null | null | null | import numpy as np
def f(x):
return x**3+9
print (f(9))
if f(9)>27:
print('YAY!')
| 11.5 | 19 | 0.543478 | 20 | 92 | 2.5 | 0.7 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.25 | 92 | 7 | 20 | 13.142857 | 0.637681 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
b82f0cd48bb9f238af3c08ca524348e47107b709 | 69 | py | Python | celery_singleton/__init__.py | aryanbaghi/celery-singleton | 9869515c04a751254b92622b7d9ede68c538b766 | [
"MIT"
] | null | null | null | celery_singleton/__init__.py | aryanbaghi/celery-singleton | 9869515c04a751254b92622b7d9ede68c538b766 | [
"MIT"
] | null | null | null | celery_singleton/__init__.py | aryanbaghi/celery-singleton | 9869515c04a751254b92622b7d9ede68c538b766 | [
"MIT"
] | null | null | null | from .singleton import Singleton, clear_locks
__version__ = '0.1.3'
| 17.25 | 45 | 0.768116 | 10 | 69 | 4.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.130435 | 69 | 3 | 46 | 23 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 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 |
b838caec424355a27bdf733abd74acfa067e4173 | 24,756 | py | Python | tests/test_kinetic_law.py | ModelEngineering/Kinetics-Validator | 9350da492fd9c1482b50332f386632e6db0e7ed2 | [
"MIT"
] | null | null | null | tests/test_kinetic_law.py | ModelEngineering/Kinetics-Validator | 9350da492fd9c1482b50332f386632e6db0e7ed2 | [
"MIT"
] | null | null | null | tests/test_kinetic_law.py | ModelEngineering/Kinetics-Validator | 9350da492fd9c1482b50332f386632e6db0e7ed2 | [
"MIT"
] | null | null | null | """
Tests for Kinetic Law
"""
from SBMLKinetics.common import constants as cn
from SBMLKinetics.common import kinetic_law
from SBMLKinetics.common.simple_sbml import SimpleSBML
from SBMLKinetics.common.kinetic_law import KineticLaw
from tests.common import helpers
#from sympy import *
import copy
import libsbml
impor... | 33.318977 | 115 | 0.64651 | 3,128 | 24,756 | 4.869565 | 0.089194 | 0.128676 | 0.058298 | 0.074842 | 0.766807 | 0.704372 | 0.681985 | 0.679819 | 0.677258 | 0.665901 | 0 | 0.016231 | 0.223501 | 24,756 | 742 | 116 | 33.363881 | 0.776154 | 0.118638 | 0 | 0.722414 | 0 | 0.001724 | 0.127049 | 0.030931 | 0 | 0 | 0 | 0 | 0.082759 | 1 | 0.087931 | false | 0 | 0.015517 | 0 | 0.189655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b85503fdf56543313002d69baeecca634e73e0b9 | 269 | py | Python | themyscira/admin.py | Vehe/themyscira-tfg | 6cfc0fffbde7a161590a2c141c998105044d417d | [
"MIT"
] | 3 | 2019-04-30T23:25:46.000Z | 2019-05-02T12:21:32.000Z | themyscira/admin.py | Vehe/themyscira-tfg | 6cfc0fffbde7a161590a2c141c998105044d417d | [
"MIT"
] | null | null | null | themyscira/admin.py | Vehe/themyscira-tfg | 6cfc0fffbde7a161590a2c141c998105044d417d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Question)
admin.site.register(Response)
admin.site.register(Autor)
admin.site.register(Video)
admin.site.register(Timestamp)
admin.site.register(RequestAutor)
admin.site.register(RequestVideo)
| 24.454545 | 33 | 0.825279 | 36 | 269 | 6.166667 | 0.416667 | 0.283784 | 0.536036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05948 | 269 | 10 | 34 | 26.9 | 0.87747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b856ff5ce3fb420b21c15d8678d8a99cfcc122f6 | 111 | py | Python | src/lesson_developer_tools/pdb_run.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2018-08-14T09:33:52.000Z | 2022-03-21T12:31:58.000Z | src/lesson_developer_tools/pdb_run.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_developer_tools/pdb_run.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | import sys
def f():
print('Command-line args:', sys.argv)
return
if __name__ == '__main__':
f()
| 11.1 | 41 | 0.585586 | 15 | 111 | 3.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252252 | 111 | 9 | 42 | 12.333333 | 0.686747 | 0 | 0 | 0 | 0 | 0 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.5 | 0.166667 | 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 |
b85985d8f8fa5f49296e6992e8298873ad71f41d | 119 | py | Python | src/1330.py | uuuugi/- | 8d2bacdd6726b614c3c957c20e0ccef421a303f5 | [
"CECILL-B"
] | null | null | null | src/1330.py | uuuugi/- | 8d2bacdd6726b614c3c957c20e0ccef421a303f5 | [
"CECILL-B"
] | null | null | null | src/1330.py | uuuugi/- | 8d2bacdd6726b614c3c957c20e0ccef421a303f5 | [
"CECILL-B"
] | null | null | null | a, b = input().split()
a = int(a)
b = int(b)
if a > b:
print(">")
elif a < b:
print("<")
else:
print("==")
| 11.9 | 22 | 0.428571 | 20 | 119 | 2.55 | 0.45 | 0.156863 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 119 | 9 | 23 | 13.222222 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b85a09d69705c56e00e7410b96f7485df7118401 | 181 | py | Python | DS&Algo Programs in Python/prime.py | prathimacode-hub/HacktoberFest-2020 | c18bbb42a5e78f6a7dbfc15fbafd127e738f53f7 | [
"MIT"
] | 386 | 2020-05-08T16:05:16.000Z | 2021-10-05T17:39:14.000Z | DS&Algo Programs in Python/prime.py | prathimacode-hub/HacktoberFest-2020 | c18bbb42a5e78f6a7dbfc15fbafd127e738f53f7 | [
"MIT"
] | 830 | 2020-08-31T17:16:45.000Z | 2021-10-06T14:14:23.000Z | DS&Algo Programs in Python/prime.py | prathimacode-hub/HacktoberFest-2020 | c18bbb42a5e78f6a7dbfc15fbafd127e738f53f7 | [
"MIT"
] | 923 | 2020-05-29T15:04:29.000Z | 2021-10-06T15:18:01.000Z | n = int(input("Enter a number: "))
for i in range(1, n+1):
count = 0
for j in range(1, n+1):
if i%j==0:
count= count+1
if count==2:
print(i)
| 20.111111 | 34 | 0.469613 | 34 | 181 | 2.5 | 0.5 | 0.164706 | 0.188235 | 0.211765 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 0.364641 | 181 | 8 | 35 | 22.625 | 0.669565 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b861c2ee030e8dfd0382ddd70f3ca627f19d69ee | 1,031 | py | Python | definitions/Data_Types_en.py | cehceh/pythonCodes | eb5694363ebaaf1a2d9d2a0b812fd6c83f9d51b9 | [
"MIT"
] | null | null | null | definitions/Data_Types_en.py | cehceh/pythonCodes | eb5694363ebaaf1a2d9d2a0b812fd6c83f9d51b9 | [
"MIT"
] | null | null | null | definitions/Data_Types_en.py | cehceh/pythonCodes | eb5694363ebaaf1a2d9d2a0b812fd6c83f9d51b9 | [
"MIT"
] | null | null | null | #what is python
#added by @Dima
print("What is Data Types?")
print("_______________________________________________________")
print("Collections of data put together like array ")
print("________________________________________________________")
print("there are four data types in the Python ")
print("_________... | 28.638889 | 68 | 0.781765 | 96 | 1,031 | 4.90625 | 0.479167 | 0.127389 | 0.110403 | 0.152866 | 0.44586 | 0.250531 | 0.127389 | 0 | 0 | 0 | 0 | 0.004435 | 0.125121 | 1,031 | 35 | 69 | 29.457143 | 0.517738 | 0.027158 | 0 | 0.388889 | 0 | 0 | 0.826174 | 0.334665 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.722222 | 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 |
b8683ddfdaec9f77a897b9c4f96ea4f983b68cc5 | 2,323 | py | Python | lib/passlib/handlers/postgres.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | 674 | 2015-11-06T04:22:47.000Z | 2022-02-26T17:31:43.000Z | lib/passlib/handlers/postgres.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | 713 | 2015-11-06T10:48:58.000Z | 2018-11-27T16:32:18.000Z | lib/passlib/handlers/postgres.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | 106 | 2015-12-07T11:21:06.000Z | 2022-03-11T10:58:41.000Z | """passlib.handlers.postgres_md5 - MD5-based algorithm used by Postgres for pg_shadow table"""
#=============================================================================
# imports
#=============================================================================
# core
from hashlib import md5
import re
import logging; ... | 40.051724 | 162 | 0.433491 | 192 | 2,323 | 5.109375 | 0.541667 | 0.056065 | 0.042813 | 0.079511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006426 | 0.129143 | 2,323 | 57 | 163 | 40.754386 | 0.478497 | 0.647869 | 0 | 0 | 0 | 0 | 0.053876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0.15 | 0.35 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
b8805069cc37f9b1702b9eb18b8fca1bb701406e | 1,869 | py | Python | src/domain/movie_session/movie_session.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | src/domain/movie_session/movie_session.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | src/domain/movie_session/movie_session.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | from __future__ import annotations
from datetime import date
from typing import Union
from src.domain.common.entity import Entity
from src.domain.movie_session.interval import Interval
from src.domain.movie.movie import Movie
from src.domain.movie_session.movie_session_id import MovieSessionId
from src.domain.movie_se... | 27.895522 | 106 | 0.684323 | 224 | 1,869 | 5.415179 | 0.209821 | 0.046167 | 0.053586 | 0.059357 | 0.136026 | 0.064303 | 0.064303 | 0.064303 | 0 | 0 | 0 | 0.000692 | 0.226859 | 1,869 | 66 | 107 | 28.318182 | 0.838754 | 0 | 0 | 0.2 | 0 | 0 | 0.011771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.16 | 0.14 | 0.66 | 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 |
b892cd090d88ff289fc2ca14a7d4782f15667e14 | 277 | py | Python | wagtail/asv_tests/unit/base_test.py | Arvinwijsman/wagtail | 83bc6da05d954d6c99eebc53a6667ebf7e8670bf | [
"BSD-3-Clause"
] | null | null | null | wagtail/asv_tests/unit/base_test.py | Arvinwijsman/wagtail | 83bc6da05d954d6c99eebc53a6667ebf7e8670bf | [
"BSD-3-Clause"
] | null | null | null | wagtail/asv_tests/unit/base_test.py | Arvinwijsman/wagtail | 83bc6da05d954d6c99eebc53a6667ebf7e8670bf | [
"BSD-3-Clause"
] | null | null | null | import unittest
class BaseTest(unittest.TestCase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@classmethod
def setUpClass(cls):
cls.config_file = 'pytest.ini'
@classmethod
def tearDownClass(cls):
pass
| 18.466667 | 41 | 0.631769 | 29 | 277 | 5.724138 | 0.689655 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245487 | 277 | 14 | 42 | 19.785714 | 0.794258 | 0 | 0 | 0.2 | 0 | 0 | 0.036101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.1 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b8ab68aa160d97014eccadf85c5c4fd722b48332 | 1,949 | py | Python | social_blog/models.py | higorspinto/Social-Blog | bec89351bf76778059f112c0e2a66de9348dda54 | [
"MIT"
] | null | null | null | social_blog/models.py | higorspinto/Social-Blog | bec89351bf76778059f112c0e2a66de9348dda54 | [
"MIT"
] | 4 | 2021-03-19T03:43:40.000Z | 2022-01-13T01:39:30.000Z | social_blog/models.py | higorspinto/Social-Blog | bec89351bf76778059f112c0e2a66de9348dda54 | [
"MIT"
] | null | null | null | # models.py
from social_blog import db, login_manager, whooshee
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
from datetime import datetime
@login_manager.user_loader
def load_user(user_id):
return User.query.get(user_id)
class User(db.Model, UserMixi... | 30.453125 | 102 | 0.680862 | 268 | 1,949 | 4.761194 | 0.279851 | 0.062696 | 0.07837 | 0.062696 | 0.173197 | 0.130878 | 0.109718 | 0.109718 | 0.057994 | 0 | 0 | 0.007557 | 0.185223 | 1,949 | 63 | 103 | 30.936508 | 0.79597 | 0.013853 | 0 | 0.1 | 1 | 0.025 | 0.094468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.175 | false | 0.15 | 0.1 | 0.125 | 0.775 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
b21c7bb52fc4f68d075a5dd58e71d9cffb6a3c7e | 472 | py | Python | ex29.py | AisakaTiger/Learn-Python-The-Hard-Way | b7fa0d7abd21d0061957f0c5a6f666f54ef4ec53 | [
"MIT"
] | null | null | null | ex29.py | AisakaTiger/Learn-Python-The-Hard-Way | b7fa0d7abd21d0061957f0c5a6f666f54ef4ec53 | [
"MIT"
] | null | null | null | ex29.py | AisakaTiger/Learn-Python-The-Hard-Way | b7fa0d7abd21d0061957f0c5a6f666f54ef4ec53 | [
"MIT"
] | null | null | null | people = 20
cats = 30
dogs =15
if people < cats:
print "Too many cats! The world is doomed!"
if people > cats:
print "Not may cats! The word is saved!"
if people < dogs:
print "The world is drooled on!"
if people > dogs:
print "The world is dry!"
dogs += 5
if people >= dogs:
print "People are... | 16.275862 | 52 | 0.639831 | 78 | 472 | 3.871795 | 0.384615 | 0.18543 | 0.198676 | 0.281457 | 0.476821 | 0.476821 | 0.390728 | 0.211921 | 0 | 0 | 0 | 0.020173 | 0.264831 | 472 | 28 | 53 | 16.857143 | 0.850144 | 0 | 0 | 0 | 0 | 0 | 0.428875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.388889 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b22a009046e8db38619ab1d33a72857a6ddcbaee | 520 | py | Python | tests/tests.py | PaulBrownMagic/PythonPengines | a039ef54317461d9b873eabfa8a9f78c4a259b56 | [
"MIT"
] | 7 | 2018-05-23T06:39:25.000Z | 2021-08-20T11:05:30.000Z | tests/tests.py | PaulBrownMagic/PythonPengines | a039ef54317461d9b873eabfa8a9f78c4a259b56 | [
"MIT"
] | 19 | 2017-09-05T15:32:31.000Z | 2020-06-26T01:36:23.000Z | tests/tests.py | ian-andrich/PythonPengines | de5fde20297b2f269ea4f8c70bf59330ecf4b579 | [
"MIT"
] | 8 | 2018-05-06T18:06:14.000Z | 2022-03-26T17:51:10.000Z | from pengines.Builder import PengineBuilder
from pengines.Pengine import Pengine
q = "between(1,1000,X)"
factory = PengineBuilder(urlserver="http://localhost:4242", destroy=False, ask=q)
pengine = Pengine(builder=factory, debug=True)
# Start query.
print()
print(pengine.currentQuery.availProofs, "Has More? ", pengine.... | 32.5 | 83 | 0.794231 | 64 | 520 | 6.4375 | 0.546875 | 0.230583 | 0.116505 | 0.169903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018908 | 0.084615 | 520 | 15 | 84 | 34.666667 | 0.846639 | 0.053846 | 0 | 0.166667 | 0 | 0 | 0.09816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.416667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b237572e2b59351c697eb7094e9b831106e75946 | 261 | py | Python | test/compact/compact.test.py | OmarTahoun/30-seconds-of-python-code | d94bc9bf52701018aabc5dcd89809797f9179847 | [
"CC0-1.0"
] | 2 | 2019-05-13T17:29:23.000Z | 2019-09-22T01:55:13.000Z | test/compact/compact.test.py | OmarTahoun/30-seconds-of-python-code | d94bc9bf52701018aabc5dcd89809797f9179847 | [
"CC0-1.0"
] | 8 | 2020-03-24T17:47:23.000Z | 2022-03-12T00:33:21.000Z | test/compact/compact.test.py | OmarTahoun/30-seconds-of-python-code | d94bc9bf52701018aabc5dcd89809797f9179847 | [
"CC0-1.0"
] | 2 | 2020-08-07T05:38:27.000Z | 2021-11-09T11:54:18.000Z | import types,functools
from pytape import test
from compact import compact
def compact_test(t):
t.true(isinstance(compact, (types.BuiltinFunctionType, types.FunctionType, functools.partial)),'compact is a function')
test('Testing compact',compact_test) | 43.5 | 124 | 0.793103 | 34 | 261 | 6.029412 | 0.529412 | 0.107317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 261 | 6 | 125 | 43.5 | 0.883621 | 0 | 0 | 0 | 0 | 0 | 0.140078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b23851d4b7725406bbc16e97ade31f278c77b7a3 | 129 | py | Python | Depreciated/sound.py | gchai/hackster.io-2015 | b7cbe3014681187d860b4a5cf2d2435b373559cb | [
"MIT"
] | null | null | null | Depreciated/sound.py | gchai/hackster.io-2015 | b7cbe3014681187d860b4a5cf2d2435b373559cb | [
"MIT"
] | null | null | null | Depreciated/sound.py | gchai/hackster.io-2015 | b7cbe3014681187d860b4a5cf2d2435b373559cb | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import mraa
import sys
pot = mraa.Aio(2)
while 1:
potVal = float(pot.read())
print potVal | 12.9 | 30 | 0.620155 | 20 | 129 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.255814 | 129 | 10 | 31 | 12.9 | 0.8125 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b23e9f503d4cce04940416a6f635f4fb428f0afd | 208 | py | Python | sample.py | sphh/python-colorlog | 1297254a29a4d6a68cc5e0a477a075f4421dd285 | [
"MIT"
] | 745 | 2015-01-12T20:12:53.000Z | 2022-03-28T03:27:31.000Z | sample.py | sphh/python-colorlog | 1297254a29a4d6a68cc5e0a477a075f4421dd285 | [
"MIT"
] | 90 | 2015-01-06T14:35:34.000Z | 2022-03-15T11:58:29.000Z | sample.py | sphh/python-colorlog | 1297254a29a4d6a68cc5e0a477a075f4421dd285 | [
"MIT"
] | 93 | 2015-01-24T15:21:45.000Z | 2022-03-18T14:49:40.000Z | import logging
import colorlog
fmt = "{log_color}{levelname} {name}: {message}"
colorlog.basicConfig(level=logging.DEBUG, style="{", format=fmt, stream=None)
log = logging.getLogger()
log.warning("hello")
| 20.8 | 77 | 0.735577 | 26 | 208 | 5.846154 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 208 | 9 | 78 | 23.111111 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0.221154 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b252537ec616bab8e2bfb6512c46bdf7571ca52e | 644 | py | Python | refresh.py | hanueluni1106/distini_refresh | a04b4268c21d0dac034b534c5b63dd096961ebe0 | [
"MIT"
] | 1 | 2022-01-25T05:31:44.000Z | 2022-01-25T05:31:44.000Z | refresh.py | hanueluni1106/distini_refresh | a04b4268c21d0dac034b534c5b63dd096961ebe0 | [
"MIT"
] | null | null | null | refresh.py | hanueluni1106/distini_refresh | a04b4268c21d0dac034b534c5b63dd096961ebe0 | [
"MIT"
] | null | null | null | import requests
def refresh():
headers = {'authority' : 'disnity.com' , 'path' : '/api/server/refresh/874183024483377193', 'referer' : 'https://disnity.com/' , 'cookie' : '_ga=GA1.1.1233460131.1640572155; __gads=ID=e582b49cab592b91-22da57b68ccf00c1:T=1640572155:RT=1640572155:S=ALNI_May2vdCHFNt6jh3t-0fPjYx... | 53.666667 | 435 | 0.757764 | 69 | 644 | 6.971014 | 0.681159 | 0.06237 | 0.066528 | 0.141372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233969 | 0.104037 | 644 | 11 | 436 | 58.545455 | 0.599653 | 0 | 0 | 0 | 0 | 0.166667 | 0.68323 | 0.501553 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2670b53ac3a16ed422feee259c9b5a7e286c688 | 159 | py | Python | server/user/urls.py | johnugeorge/medperf | 5bc3f643064df14e9476bd4d4c1a4c0cce5337d5 | [
"Apache-2.0"
] | 1 | 2021-09-24T18:09:53.000Z | 2021-09-24T18:09:53.000Z | server/user/urls.py | johnugeorge/medperf | 5bc3f643064df14e9476bd4d4c1a4c0cce5337d5 | [
"Apache-2.0"
] | 2 | 2021-09-27T16:14:04.000Z | 2021-11-03T14:24:54.000Z | server/user/urls.py | johnugeorge/medperf | 5bc3f643064df14e9476bd4d4c1a4c0cce5337d5 | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path("", views.UserList.as_view()),
path("<int:pk>/", views.UserDetail.as_view()),
]
| 19.875 | 50 | 0.660377 | 21 | 159 | 4.904762 | 0.619048 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157233 | 159 | 7 | 51 | 22.714286 | 0.768657 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b27c24c9c8f1012c9c99b354fa5c56398d0dc6f0 | 2,478 | py | Python | paa191t1/dijkstra/datastructs/avl.py | dmmoura/PAA-2021 | 435005f6494ece76f03807fb524e0d4a3e1d7222 | [
"Apache-2.0"
] | null | null | null | paa191t1/dijkstra/datastructs/avl.py | dmmoura/PAA-2021 | 435005f6494ece76f03807fb524e0d4a3e1d7222 | [
"Apache-2.0"
] | null | null | null | paa191t1/dijkstra/datastructs/avl.py | dmmoura/PAA-2021 | 435005f6494ece76f03807fb524e0d4a3e1d7222 | [
"Apache-2.0"
] | null | null | null | import math
from paa191t1.dijkstra.datastructs.tree import DistanceNode
from paa191t1.dijkstra.datastructs.tree.avl import AVL as Tree
from paa191t1.dijkstra import datastructs
class AVL(datastructs.DijkstraDistance):
def __call__(self, nodes):
"""Cria uma árvore AVL com todos os nós e suas distâncias in... | 32.181818 | 111 | 0.612994 | 343 | 2,478 | 4.323615 | 0.349854 | 0.016183 | 0.045853 | 0.012138 | 0.15644 | 0.049899 | 0.037761 | 0 | 0 | 0 | 0 | 0.009249 | 0.301856 | 2,478 | 76 | 112 | 32.605263 | 0.847977 | 0.430186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b27ccdd68f94ad2070dd02ebac14f9da3fae5078 | 2,075 | py | Python | semantic_segmentation/convolutional_neural_network/layer/resnet_blocks.py | FMuenke/semantic_segmentation | 607d576116c33d821976b2cc9b98903d2ec5c1b4 | [
"MIT"
] | null | null | null | semantic_segmentation/convolutional_neural_network/layer/resnet_blocks.py | FMuenke/semantic_segmentation | 607d576116c33d821976b2cc9b98903d2ec5c1b4 | [
"MIT"
] | null | null | null | semantic_segmentation/convolutional_neural_network/layer/resnet_blocks.py | FMuenke/semantic_segmentation | 607d576116c33d821976b2cc9b98903d2ec5c1b4 | [
"MIT"
] | null | null | null | from tensorflow.keras.layers import (
Activation,
Convolution2D,
BatchNormalization,
Add,
)
def conv_block(
input_tensor, kernel_size, filters, stage, block, strides=(2, 2)
):
nb_filter1, nb_filter2, nb_filter3 = filters
bn_axis = 3
conv_name_base = "f1_res" + str(stage) + block + "_b... | 24.411765 | 87 | 0.599036 | 244 | 2,075 | 4.848361 | 0.192623 | 0.021978 | 0.091293 | 0.094675 | 0.830093 | 0.808115 | 0.704142 | 0.646661 | 0.521555 | 0.481826 | 0 | 0.028178 | 0.264578 | 2,075 | 84 | 88 | 24.702381 | 0.747051 | 0 | 0 | 0.681159 | 0 | 0 | 0.055904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0 | 0.014493 | 0 | 0.072464 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2832f81575857f7873b635d45357efbf7204237 | 98 | py | Python | FC/First_commit/apps.py | tinkerhub-org/MyFOSC | 040eb34d43c64677638322c35e2382269df2196d | [
"MIT"
] | 1 | 2020-09-10T03:03:15.000Z | 2020-09-10T03:03:15.000Z | FC/First_commit/apps.py | tinkerhub-org/MyFOSC | 040eb34d43c64677638322c35e2382269df2196d | [
"MIT"
] | null | null | null | FC/First_commit/apps.py | tinkerhub-org/MyFOSC | 040eb34d43c64677638322c35e2382269df2196d | [
"MIT"
] | 2 | 2020-12-12T13:46:07.000Z | 2020-12-12T14:31:22.000Z | from django.apps import AppConfig
class FirstCommitConfig(AppConfig):
name = 'First_commit'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 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 |
b28a3176201f69da72b81d6944b69e200aca5088 | 1,455 | py | Python | pipelines/head-pose-pipeline/training/util.py | tonouchi510/kfp-project | 67b78ae53cc3de594b8254999a4f553a8d5cec27 | [
"MIT"
] | null | null | null | pipelines/head-pose-pipeline/training/util.py | tonouchi510/kfp-project | 67b78ae53cc3de594b8254999a4f553a8d5cec27 | [
"MIT"
] | null | null | null | pipelines/head-pose-pipeline/training/util.py | tonouchi510/kfp-project | 67b78ae53cc3de594b8254999a4f553a8d5cec27 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras import backend as K
class DecayLearningRate(tf.keras.callbacks.Callback):
def __init__(self, startEpoch):
self.startEpoch = startEpoch
# self.isFine = isFine
def on_train_begin(self, logs={}):
# if self.isFine:
# self.build_ht_cop... | 28.529412 | 90 | 0.571134 | 199 | 1,455 | 3.924623 | 0.331658 | 0.038412 | 0.070423 | 0.057618 | 0.171575 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0.012024 | 0.314089 | 1,455 | 50 | 91 | 29.1 | 0.770541 | 0.303093 | 0 | 0.24 | 0 | 0 | 0.037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0 | 0.08 | 0.2 | 0.64 | 0.04 | 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 |
a231cedbbcbbcf31a76d21c81a2673edcba66cd5 | 481 | py | Python | croissantsapi/models/croissants.py | SocgenGoToCloud/CroissantsAPI | 59519cc18573caf9d86371a8fc1ba9fd8c7cfcce | [
"MIT"
] | null | null | null | croissantsapi/models/croissants.py | SocgenGoToCloud/CroissantsAPI | 59519cc18573caf9d86371a8fc1ba9fd8c7cfcce | [
"MIT"
] | null | null | null | croissantsapi/models/croissants.py | SocgenGoToCloud/CroissantsAPI | 59519cc18573caf9d86371a8fc1ba9fd8c7cfcce | [
"MIT"
] | null | null | null | from datetime import datetime
from typing import List
from pydantic import BaseModel
from croissantsapi.models.buildings import DeliveryLocation
class CroissantRequest(BaseModel):
id: int
amount: int
location: DeliveryLocation
requester: str
time: datetime
class NewCroissantRequest(BaseModel):... | 18.5 | 59 | 0.765073 | 48 | 481 | 7.666667 | 0.479167 | 0.048913 | 0.092391 | 0.179348 | 0.336957 | 0.336957 | 0.336957 | 0.336957 | 0.336957 | 0 | 0 | 0 | 0.18711 | 481 | 25 | 60 | 19.24 | 0.941176 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.235294 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a2873c9953c475b32417c397e1739e34f831d25e | 22 | py | Python | wouso/interface/apps/pages/__init__.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 117 | 2015-01-02T18:07:33.000Z | 2021-01-06T22:36:25.000Z | wouso/interface/apps/pages/__init__.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 229 | 2015-01-12T07:07:58.000Z | 2019-10-12T08:27:01.000Z | wouso/interface/apps/pages/__init__.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 96 | 2015-01-07T05:26:09.000Z | 2020-06-25T07:28:51.000Z | __author__ = 'alex'
| 11 | 19 | 0.636364 | 2 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 20 | 11 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 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 |
a2aa0b304c0807035905b6fd00baa9aad6c5e10d | 180 | py | Python | Process_Resolver/GUIConstants.py | selcox/Process-Resolver | a31efc5ea928eccf0312b50ef70927930e215afd | [
"Apache-2.0"
] | null | null | null | Process_Resolver/GUIConstants.py | selcox/Process-Resolver | a31efc5ea928eccf0312b50ef70927930e215afd | [
"Apache-2.0"
] | null | null | null | Process_Resolver/GUIConstants.py | selcox/Process-Resolver | a31efc5ea928eccf0312b50ef70927930e215afd | [
"Apache-2.0"
] | null | null | null | LARGE_FONT = ("Verdana", 12)
MEDIUM_FONT = ("Verdana", 9)
PID_OPTIONS = ["A", "B", "C", "D", "E"]
PRIORITY_OPTIONS = ["NO PRIORITY", "LOW PRIORITY", "MID PRIORITY", "TOP PRIORITY"] | 45 | 82 | 0.627778 | 25 | 180 | 4.36 | 0.72 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.133333 | 180 | 4 | 82 | 45 | 0.679487 | 0 | 0 | 0 | 0 | 0 | 0.364641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2b390dcc0c77fed09b09e91d48954d662e8611c | 10,519 | py | Python | Project4/Tests/InstructionCodeTest.py | orrinjelo/virtual-machine | 2236db81b5e5e6b99161dc8c5aa5d5f3c9ca0a01 | [
"MIT"
] | null | null | null | Project4/Tests/InstructionCodeTest.py | orrinjelo/virtual-machine | 2236db81b5e5e6b99161dc8c5aa5d5f3c9ca0a01 | [
"MIT"
] | null | null | null | Project4/Tests/InstructionCodeTest.py | orrinjelo/virtual-machine | 2236db81b5e5e6b99161dc8c5aa5d5f3c9ca0a01 | [
"MIT"
] | null | null | null | import unittest
import os
from TestUtils import Asm
class InstructionCodeTest(unittest.TestCase):
def test_jmp(self):
a = Asm(
'''
JMP END
END TRP 0''', 'asm_test_instr_jmp.log', 24, False)
hex = a.execute().hexdump
ret = a.retcode
self.assert_(hex == '1000 c000 0000 0000 0000 00... | 35.901024 | 113 | 0.58342 | 1,626 | 10,519 | 3.607011 | 0.065191 | 0.10503 | 0.10844 | 0.079113 | 0.884569 | 0.840921 | 0.758568 | 0.690026 | 0.507246 | 0.408525 | 0 | 0.127404 | 0.288145 | 10,519 | 293 | 114 | 35.901024 | 0.655849 | 0.005134 | 0 | 0.363636 | 0 | 0 | 0.354967 | 0.123731 | 0 | 0 | 0 | 0.003413 | 0.363636 | 1 | 0.121212 | false | 0 | 0.015152 | 0 | 0.141414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2dad12554d4d5486b6c5e8043cedd162cd5bd23 | 3,120 | py | Python | tests/formats/mysql/file_reader/parsers/test_type_text.py | cmancone/mygrations | 30d1d568ca7d6c38dbc5211834dd2d04c0bcf078 | [
"MIT"
] | 10 | 2018-04-09T08:39:42.000Z | 2022-03-14T15:36:05.000Z | tests/formats/mysql/file_reader/parsers/test_type_text.py | cmancone/mygrations | 30d1d568ca7d6c38dbc5211834dd2d04c0bcf078 | [
"MIT"
] | 14 | 2018-05-02T11:14:08.000Z | 2022-01-15T18:48:54.000Z | tests/formats/mysql/file_reader/parsers/test_type_text.py | cmancone/mygrations | 30d1d568ca7d6c38dbc5211834dd2d04c0bcf078 | [
"MIT"
] | 5 | 2018-07-18T02:20:48.000Z | 2022-02-19T09:32:07.000Z | import unittest
from mygrations.formats.mysql.file_reader.parsers.type_text import type_text
class test_type_text(unittest.TestCase):
def test_simple(self):
# parse typical insert values
parser = type_text()
returned = parser.parse("name text not null,")
self.assertTrue(parser.mat... | 35.454545 | 116 | 0.644551 | 351 | 3,120 | 5.635328 | 0.210826 | 0.194135 | 0.091001 | 0.066734 | 0.791709 | 0.73913 | 0.704752 | 0.678463 | 0.678463 | 0.579879 | 0 | 0.002101 | 0.237179 | 3,120 | 87 | 117 | 35.862069 | 0.828992 | 0.057372 | 0 | 0.59322 | 0 | 0 | 0.130879 | 0 | 0 | 0 | 0 | 0 | 0.610169 | 1 | 0.101695 | false | 0 | 0.033898 | 0 | 0.152542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0c0ddcc2881bcd33fb2911fb6fb5ab6b7c7d0a79 | 1,245 | py | Python | modular_bot/Module.py | wonwooseo/modular_bot | 9f254f6b3b681743dc6850fd8ed64f3252e8e318 | [
"MIT"
] | null | null | null | modular_bot/Module.py | wonwooseo/modular_bot | 9f254f6b3b681743dc6850fd8ed64f3252e8e318 | [
"MIT"
] | null | null | null | modular_bot/Module.py | wonwooseo/modular_bot | 9f254f6b3b681743dc6850fd8ed64f3252e8e318 | [
"MIT"
] | null | null | null | class BaseModule:
"""
Base module class to be extended by feature modules.
"""
command_char = ''
# To be updated in subclasses
module_name = ''
module_description = ''
commands = []
def __init__(self, user_cmd_char):
"""
Sets command prefix while initializing.
... | 26.489362 | 62 | 0.594378 | 142 | 1,245 | 5.049296 | 0.387324 | 0.041841 | 0.09205 | 0.07113 | 0.124128 | 0.097629 | 0.097629 | 0.097629 | 0 | 0 | 0 | 0 | 0.328514 | 1,245 | 46 | 63 | 27.065217 | 0.857656 | 0.314056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0c156b382b86c7c930f7bf2214f5f79fc169acb7 | 668 | py | Python | op_webgui/admin.py | lkmhaqer/gtools-python | cff6d80525b78a4fadfb686566489fbe1687d889 | [
"MIT"
] | 5 | 2016-10-31T17:46:17.000Z | 2022-02-02T00:40:49.000Z | op_webgui/admin.py | lkmhaqer/gtools-python | cff6d80525b78a4fadfb686566489fbe1687d889 | [
"MIT"
] | 33 | 2018-05-09T06:07:50.000Z | 2021-09-22T17:39:56.000Z | op_webgui/admin.py | lkmhaqer/gtools-python | cff6d80525b78a4fadfb686566489fbe1687d889 | [
"MIT"
] | 1 | 2020-05-14T21:44:25.000Z | 2020-05-14T21:44:25.000Z | # file: op_webgui/admin.py
from django.contrib import admin
from netdevice.models import logical_interface, interface, router
from netdevice.models import network_os, vrf
from address.models import ipv6_address, ipv4_address
from static.models import ipv6_static, ipv4_static
from bgp.models import neighbor, aut_num
... | 30.363636 | 65 | 0.83982 | 99 | 668 | 5.515152 | 0.272727 | 0.181319 | 0.342491 | 0.091575 | 0.084249 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012882 | 0.070359 | 668 | 21 | 66 | 31.809524 | 0.866345 | 0.035928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.352941 | 0 | 0.352941 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
0c1fd648e332f9dd11e037e4c1440a728e048878 | 137 | py | Python | youtubeDownloader/Constants.py | alexandermueller/youtubeDownloader | 2d007785745d07cdcf008c8bbe90f03ca9091d4f | [
"MIT"
] | null | null | null | youtubeDownloader/Constants.py | alexandermueller/youtubeDownloader | 2d007785745d07cdcf008c8bbe90f03ca9091d4f | [
"MIT"
] | null | null | null | youtubeDownloader/Constants.py | alexandermueller/youtubeDownloader | 2d007785745d07cdcf008c8bbe90f03ca9091d4f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Paths
VIDEOS_PATH = '~/Desktop/Downloaded Youtube Videos'
VIDEOS_PATH_WIN = '/mnt/e/Alex/Videos/Youtube'
| 19.571429 | 56 | 0.708029 | 19 | 137 | 4.947368 | 0.736842 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 6 | 57 | 22.833333 | 0.803419 | 0.189781 | 0 | 0 | 0 | 0 | 0.559633 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0c3f9fd63a5636a4ab7d5de7689106b1d556ecf1 | 751 | py | Python | py-polars/polars/exceptions.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | 3 | 2022-03-06T12:45:47.000Z | 2022-03-26T08:43:31.000Z | py-polars/polars/exceptions.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | null | null | null | py-polars/polars/exceptions.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | null | null | null | try:
from polars.polars import (
ArrowError,
ComputeError,
NoDataError,
NotFoundError,
SchemaError,
ShapeError,
)
except ImportError: # pragma: no cover
# They are only redefined for documentation purposes
# when there is no binary yet
class ArrowErr... | 18.317073 | 56 | 0.58988 | 66 | 751 | 6.651515 | 0.484848 | 0.136674 | 0.191344 | 0.216401 | 0.305239 | 0.305239 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338216 | 751 | 40 | 57 | 18.775 | 0.8833 | 0.23036 | 0 | 0.2 | 0 | 0 | 0.117958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.066667 | 0 | 0.266667 | 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 |
0c5bc77c245171a3bcb530eb7e4648aead3375b6 | 947 | py | Python | appengine/findit/libs/test/floating_point_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 2 | 2021-04-13T21:22:18.000Z | 2021-09-07T02:11:57.000Z | appengine/findit/libs/test/floating_point_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 21 | 2020-09-06T02:41:05.000Z | 2022-03-02T04:40:01.000Z | appengine/findit/libs/test/floating_point_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from libs import floating_point_util
from waterfall.test import wf_testcase
class FloatingPointUtilTest(wf_testcase.WaterfallTestCase):
def testAlmostEq... | 45.095238 | 74 | 0.79831 | 126 | 947 | 5.825397 | 0.412698 | 0.177112 | 0.231608 | 0.355586 | 0.606267 | 0.604905 | 0.410082 | 0.22752 | 0.163488 | 0 | 0 | 0.098225 | 0.107709 | 947 | 20 | 75 | 47.35 | 0.770414 | 0.163675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.692308 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0c614f1f6667b449a7c1586edbbd995c2c641e87 | 391 | py | Python | swahiliapiapp/admin.py | florianschmidt1994/swahili-dictionary | 301e99a2e1f169ffcc1038a77ecd6658bc4ab864 | [
"Unlicense"
] | null | null | null | swahiliapiapp/admin.py | florianschmidt1994/swahili-dictionary | 301e99a2e1f169ffcc1038a77ecd6658bc4ab864 | [
"Unlicense"
] | null | null | null | swahiliapiapp/admin.py | florianschmidt1994/swahili-dictionary | 301e99a2e1f169ffcc1038a77ecd6658bc4ab864 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import English
from .models import Swahili
class EnglishAdmin(admin.ModelAdmin):
list_display = ("english_word", "swahili_word")
class SwahiliAdmin(admin.ModelAdmin):
list_display = ("swahili_word", "english_word")
admin.site.regi... | 21.722222 | 51 | 0.777494 | 47 | 391 | 6.340426 | 0.404255 | 0.067114 | 0.107383 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122762 | 391 | 17 | 52 | 23 | 0.868805 | 0.066496 | 0 | 0 | 0 | 0 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a73fc41cced9e14b9e9af57959a65ed262919bb5 | 915 | py | Python | h/admin/__init__.py | project-star/h | fd1decafdce981b681ef3bd59e001b1284498dae | [
"MIT"
] | 1 | 2017-06-16T14:01:28.000Z | 2017-06-16T14:01:28.000Z | h/admin/__init__.py | project-star/h | fd1decafdce981b681ef3bd59e001b1284498dae | [
"MIT"
] | null | null | null | h/admin/__init__.py | project-star/h | fd1decafdce981b681ef3bd59e001b1284498dae | [
"MIT"
] | 1 | 2020-02-16T08:04:56.000Z | 2020-02-16T08:04:56.000Z | # -*- coding: utf-8 -*-
def includeme(config):
config.register_service_factory('.services.user.rename_user_factory', name='rename_user')
config.include('.views')
config.add_route('admin_index', '/')
config.add_route('admin_admins', '/admins')
config.add_route('admin_badge', '/badge')
config.... | 39.782609 | 93 | 0.703825 | 116 | 915 | 5.224138 | 0.275862 | 0.207921 | 0.323432 | 0.438944 | 0.326733 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001236 | 0.115847 | 915 | 22 | 94 | 41.590909 | 0.747837 | 0.022951 | 0 | 0 | 0 | 0 | 0.432735 | 0.06278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.058824 | 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 |
a753f20e5938226a4f429095a3de6bdcff7b0a9c | 871 | py | Python | basics/ch3__INTRODUCING_LISTS/3_motorcycles.py | bedoyama/python-crash-course | 39101237c478cd9c97f1a47f866408d2754c849f | [
"Apache-2.0"
] | null | null | null | basics/ch3__INTRODUCING_LISTS/3_motorcycles.py | bedoyama/python-crash-course | 39101237c478cd9c97f1a47f866408d2754c849f | [
"Apache-2.0"
] | null | null | null | basics/ch3__INTRODUCING_LISTS/3_motorcycles.py | bedoyama/python-crash-course | 39101237c478cd9c97f1a47f866408d2754c849f | [
"Apache-2.0"
] | null | null | null | motorcycles = ['honda', 'yamaha', 'suzuki']
print(motorcycles)
motorcycles[0] = 'ducati'
print(motorcycles)
motorcycles.append('honda')
print(motorcycles)
motorcycles = []
motorcycles.append('suzuki')
motorcycles.append('honda')
motorcycles.append('bmw')
print(motorcycles)
motorcycles.insert(0, 'ducati')
print(mot... | 19.355556 | 78 | 0.765786 | 104 | 871 | 6.394231 | 0.336538 | 0.264662 | 0.203008 | 0.069173 | 0.198496 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006321 | 0.091848 | 871 | 44 | 79 | 19.795455 | 0.834387 | 0 | 0 | 0.515152 | 0 | 0 | 0.23651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.515152 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a76a3895b097f26dffd0cb1659d11b9ac5213603 | 501 | py | Python | common.py | leegeunhyeok/deep-learning-study | 19dbe4967b77a7c01e2997ed15dc1b95fb4b1768 | [
"MIT"
] | null | null | null | common.py | leegeunhyeok/deep-learning-study | 19dbe4967b77a7c01e2997ed15dc1b95fb4b1768 | [
"MIT"
] | null | null | null | common.py | leegeunhyeok/deep-learning-study | 19dbe4967b77a7c01e2997ed15dc1b95fb4b1768 | [
"MIT"
] | null | null | null | import numpy as np
def step_function(x):
return np.array(x > 0, dtype=np.int)
def sigmoid(x):
return 1 / (1 + np.exp(-x))
def relu(x):
return np.maximum(0, x)
def cross_entropy_error(y, t):
delta = 1e-7
return -np.sum(t * np.log(y + delta))
def softmax(a):
c = np.max(a)
exp_a = np.ex... | 17.275862 | 54 | 0.578842 | 95 | 501 | 2.936842 | 0.389474 | 0.086022 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024324 | 0.261477 | 501 | 28 | 55 | 17.892857 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0.157895 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a7995fe94cf1ea39ef76640f3db02ba4bd3b3ae4 | 883 | py | Python | bokeh/server/views/statics.py | timelyportfolio/bokeh | a976a85535cf137c6238ce9e90b41ab14ae8ce22 | [
"BSD-3-Clause"
] | 1 | 2015-07-17T13:57:01.000Z | 2015-07-17T13:57:01.000Z | bokeh/server/views/statics.py | timelyportfolio/bokeh | a976a85535cf137c6238ce9e90b41ab14ae8ce22 | [
"BSD-3-Clause"
] | null | null | null | bokeh/server/views/statics.py | timelyportfolio/bokeh | a976a85535cf137c6238ce9e90b41ab14ae8ce22 | [
"BSD-3-Clause"
] | 1 | 2016-03-18T03:01:59.000Z | 2016-03-18T03:01:59.000Z | from __future__ import absolute_import
import flask
from ..app import bokeh_app
## This URL heirarchy is important, because of the way we build bokehjs
## the source mappings list the source file as being inside ../../src
@bokeh_app.route('/bokehjs/static/<path:filename>')
def bokehjs_file(filename):
""" Return... | 26.757576 | 71 | 0.730464 | 126 | 883 | 4.992063 | 0.404762 | 0.063593 | 0.041335 | 0.063593 | 0.486486 | 0.486486 | 0.378378 | 0.378378 | 0.378378 | 0.378378 | 0 | 0.016621 | 0.182333 | 883 | 32 | 72 | 27.59375 | 0.854571 | 0.490374 | 0 | 0 | 0 | 0 | 0.148241 | 0.148241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 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 |
a7acee7026195d38286790c18e3386058e19b9e4 | 497 | py | Python | Session 2/List/Display & Delete from list.py | Tassneem04Hamdy/AUG-Problem-Solving-For-Bioinformatics-Level-1- | 7273610cc2e37acb65530dc384472e78ee8c30f7 | [
"MIT"
] | 4 | 2021-04-16T12:27:16.000Z | 2021-10-08T19:05:33.000Z | Session 2/List/Display & Delete from list.py | Tassneem04Hamdy/AUG-Problem-Solving-For-Bioinformatics-Level-1- | 7273610cc2e37acb65530dc384472e78ee8c30f7 | [
"MIT"
] | null | null | null | Session 2/List/Display & Delete from list.py | Tassneem04Hamdy/AUG-Problem-Solving-For-Bioinformatics-Level-1- | 7273610cc2e37acb65530dc384472e78ee8c30f7 | [
"MIT"
] | 5 | 2021-04-18T10:46:44.000Z | 2021-05-03T16:13:25.000Z | @auther nouran ahmed ibrahim
List = [1, "Hallo", [2, "inner list"], "Hello", True]
# print the whole list
print(List)
# print the whole list reversed
print(List[:: -1]) # don't change order permanent
# print range from the list
print(List[0:2])
print(List[:2])
print(List[2:])
# print specific index
print(List[2... | 15.060606 | 53 | 0.684105 | 79 | 497 | 4.303797 | 0.405063 | 0.291176 | 0.088235 | 0.1 | 0.076471 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026005 | 0.148893 | 497 | 32 | 54 | 15.53125 | 0.777778 | 0.309859 | 0 | 0.235294 | 0 | 0 | 0.074405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.705882 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a7b92dc2458c10d29f588d2af09cdb1b76c7e105 | 966 | py | Python | basic_auth/models.py | jockerz/Starlette-Login-Example | 6d3639fe57cbff1f13ed94019aaa1bdba31f979b | [
"MIT"
] | null | null | null | basic_auth/models.py | jockerz/Starlette-Login-Example | 6d3639fe57cbff1f13ed94019aaa1bdba31f979b | [
"MIT"
] | null | null | null | basic_auth/models.py | jockerz/Starlette-Login-Example | 6d3639fe57cbff1f13ed94019aaa1bdba31f979b | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from starlette.requests import Request
from starlette_login.mixins import BaseUser
@dataclass
class User(BaseUser):
identifier: int
username: str
password: str = 'password'
is_admin: bool = False
def check_password(self, password: str):
return self.passw... | 22.465116 | 66 | 0.673913 | 118 | 966 | 5.372881 | 0.381356 | 0.047319 | 0.041009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002717 | 0.238095 | 966 | 42 | 67 | 23 | 0.858696 | 0 | 0 | 0.096774 | 0 | 0 | 0.017598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0.096774 | 0.096774 | 0.129032 | 0.548387 | 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 |
a7bac9c1888a5e8b63f123dd7a55d820d1045067 | 432 | py | Python | ssd/data/collate_batch.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | 1 | 2019-07-12T02:21:24.000Z | 2019-07-12T02:21:24.000Z | ssd/data/collate_batch.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | null | null | null | ssd/data/collate_batch.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | null | null | null | import torch
from torch.utils.data.dataloader import default_collate
class BatchCollator(object):
def __call__(self, batch):
transposed_batch = list(zip((*batch)))
images = torch.cat([t[None] for t in transposed_batch[0]])
targets = default_collate(transposed_batch[1])
labels = def... | 33.230769 | 66 | 0.69213 | 54 | 432 | 5.314815 | 0.592593 | 0.261324 | 0.167247 | 0.202091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011662 | 0.206019 | 432 | 12 | 67 | 36 | 0.825073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7c640f86055c75c36894c6faeb544844c7a9312 | 530 | py | Python | base/forms.py | RockyRoad29/flask-kit | e77501f4d68f76949cff91bea3664292fc17f4d4 | [
"BSD-3-Clause"
] | 1 | 2022-03-20T11:21:00.000Z | 2022-03-20T11:21:00.000Z | base/forms.py | RockyRoad29/flask-kit | e77501f4d68f76949cff91bea3664292fc17f4d4 | [
"BSD-3-Clause"
] | null | null | null | base/forms.py | RockyRoad29/flask-kit | e77501f4d68f76949cff91bea3664292fc17f4d4 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
The most common forms for the whole project.
:copyright: \(c) 2012 by Roman Semirook.
:license: BSD, see LICENSE for more details.
"""
from flask.ext.wtf import Form
from wtforms.fields import StringField, PasswordField
from wtforms.validators import DataRequired, Email
clas... | 27.894737 | 70 | 0.713208 | 64 | 530 | 5.90625 | 0.65625 | 0.058201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.169811 | 530 | 18 | 71 | 29.444444 | 0.847727 | 0.373585 | 0 | 0 | 0 | 0 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.428571 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
a7cad6baf2ad28afbb32e31fd5b54048920b6c82 | 92 | py | Python | rsutils_django/generic/apps.py | reckonsys/rsutils_django | 9343bbbf576ee2058081f0b1c1cb60c55ceffeaa | [
"MIT"
] | 1 | 2019-02-01T10:15:30.000Z | 2019-02-01T10:15:30.000Z | rsutils_django/generic/apps.py | reckonsys/rsutils_django | 9343bbbf576ee2058081f0b1c1cb60c55ceffeaa | [
"MIT"
] | 11 | 2019-02-11T11:26:05.000Z | 2022-02-10T11:39:45.000Z | rsutils_django/generic/apps.py | reckonsys/rsutils_django | 9343bbbf576ee2058081f0b1c1cb60c55ceffeaa | [
"MIT"
] | 1 | 2019-02-01T10:18:16.000Z | 2019-02-01T10:18:16.000Z | from django.apps import AppConfig
class GenericConfig(AppConfig):
name = 'rs_generic'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 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 |
a7d80e0454c2589a0209cbc1f97548514c36c037 | 505 | py | Python | karapace/protobuf/syntax.py | instaclustr/karapace | 60e9d788be360dd7f1d29f6ecb3dc9f881233302 | [
"Apache-2.0"
] | 1 | 2021-09-29T07:17:47.000Z | 2021-09-29T07:17:47.000Z | karapace/protobuf/syntax.py | instaclustr/karapace | 60e9d788be360dd7f1d29f6ecb3dc9f881233302 | [
"Apache-2.0"
] | 9 | 2021-04-20T05:02:26.000Z | 2022-02-04T01:04:22.000Z | karapace/protobuf/syntax.py | instaclustr/karapace | 60e9d788be360dd7f1d29f6ecb3dc9f881233302 | [
"Apache-2.0"
] | 1 | 2021-04-03T16:48:42.000Z | 2021-04-03T16:48:42.000Z | # Ported from square/wire:
# wire-library/wire-runtime/src/commonMain/kotlin/com/squareup/wire/Syntax.kt
from enum import Enum
from karapace.protobuf.exception import IllegalArgumentException
class Syntax(Enum):
PROTO_2 = "proto2"
PROTO_3 = "proto3"
@classmethod
def _missing_(cls, string) -> None:
... | 24.047619 | 77 | 0.70297 | 61 | 505 | 5.622951 | 0.639344 | 0.040816 | 0.075802 | 0.099125 | 0.12828 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009828 | 0.194059 | 505 | 20 | 78 | 25.25 | 0.832924 | 0.19802 | 0 | 0.166667 | 0 | 0 | 0.097015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 |
38f65ffacc237344c1100ec27abe4b064a155c4c | 325 | py | Python | gogoedu/management/commands/create-reset-daily.py | tuandang98/gogoedu | f98587f9d315e1253d3a3b9e1e4cd9f148184e29 | [
"MIT"
] | 2 | 2021-04-27T16:00:32.000Z | 2021-05-30T14:00:07.000Z | gogoedu/management/commands/create-reset-daily.py | tuandang98/gogoedu | f98587f9d315e1253d3a3b9e1e4cd9f148184e29 | [
"MIT"
] | null | null | null | gogoedu/management/commands/create-reset-daily.py | tuandang98/gogoedu | f98587f9d315e1253d3a3b9e1e4cd9f148184e29 | [
"MIT"
] | null | null | null | from django.core.management import BaseCommand
from gogoedu.models import myUser,Mission
from gogoedu.views import reset_daily
import datetime
class Command(BaseCommand):
help = 'Generates fake data for the app'
def handle(self, *args, **options):
reset_daily(schedule=5,repeat=60*60*24, repeat_until=N... | 29.545455 | 66 | 0.766154 | 46 | 325 | 5.347826 | 0.76087 | 0.089431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025271 | 0.147692 | 325 | 10 | 67 | 32.5 | 0.862816 | 0 | 0 | 0 | 1 | 0 | 0.095385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
38faca053fb06946fff539ede1c81b34f8b535fe | 559 | py | Python | radon/tests/test_cli_colors.py | DolajoCZ/radon | 316965b27f1ee9228d8556abc08551381a9e569b | [
"MIT"
] | 943 | 2015-01-05T22:02:39.000Z | 2022-03-31T19:33:08.000Z | radon/tests/test_cli_colors.py | DolajoCZ/radon | 316965b27f1ee9228d8556abc08551381a9e569b | [
"MIT"
] | 165 | 2015-01-03T16:37:23.000Z | 2022-03-31T15:01:04.000Z | radon/tests/test_cli_colors.py | DolajoCZ/radon | 316965b27f1ee9228d8556abc08551381a9e569b | [
"MIT"
] | 108 | 2015-01-03T16:22:14.000Z | 2022-03-02T16:27:36.000Z | import radon.cli.colors as colors
def test_color_enabled_yes(monkeypatch):
monkeypatch.setenv("COLOR", "yes")
assert colors.color_enabled()
def test_color_enabled_no(monkeypatch):
monkeypatch.setenv("COLOR", "no")
assert not colors.color_enabled()
def test_color_enabled_auto(monkeypatch, mocker):
... | 24.304348 | 51 | 0.742397 | 72 | 559 | 5.513889 | 0.361111 | 0.211587 | 0.18136 | 0.143577 | 0.277078 | 0.186398 | 0.186398 | 0 | 0 | 0 | 0 | 0 | 0.150268 | 559 | 22 | 52 | 25.409091 | 0.835789 | 0 | 0 | 0.285714 | 0 | 0 | 0.073345 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.214286 | false | 0 | 0.071429 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac1fb708a042f346fecb1ef90d791ab7069e00d4 | 3,923 | py | Python | pytest_splunk_env/splunk/helmut/connector/base.py | splunk/pytest-splunk-env | 63ce423446f54869e4530627ff7463ea3e26c38a | [
"Apache-2.0"
] | 1 | 2021-03-18T23:35:08.000Z | 2021-03-18T23:35:08.000Z | pytest_splunk_env/splunk/helmut/connector/base.py | splunk/pytest-splunk-env | 63ce423446f54869e4530627ff7463ea3e26c38a | [
"Apache-2.0"
] | null | null | null | pytest_splunk_env/splunk/helmut/connector/base.py | splunk/pytest-splunk-env | 63ce423446f54869e4530627ff7463ea3e26c38a | [
"Apache-2.0"
] | 1 | 2022-03-27T16:55:33.000Z | 2022-03-27T16:55:33.000Z | # SPDX-FileCopyrightText: 2020 Splunk Inc.
#
# SPDX-License-Identifier: Apache-2.0
"""
Module for handling generic connections with a Splunk instance.
@author: Nicklas Ansman-Giertz
@contact: U{ngiertz@splunk.com<mailto:ngiertz@splunk.com>}
@since: 2011-11-21
"""
from abc import ABCMeta
from builtins import range
fr... | 27.055172 | 83 | 0.614326 | 476 | 3,923 | 4.966387 | 0.235294 | 0.060491 | 0.038071 | 0.023689 | 0.22335 | 0.173858 | 0.099831 | 0 | 0 | 0 | 0 | 0.006234 | 0.304869 | 3,923 | 144 | 84 | 27.243056 | 0.860653 | 0.515932 | 0 | 0.139535 | 0 | 0 | 0.017735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209302 | false | 0.186047 | 0.116279 | 0 | 0.581395 | 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 |
ac2775501e6d5c9833d6e7d88f1d657f6c934cc9 | 583 | py | Python | schoolsystem/students/api/serializers.py | RhysMurage/SchoolManagementSystem | 632e4e6f911571ea710e0f1705dca635938fc7f3 | [
"MIT"
] | null | null | null | schoolsystem/students/api/serializers.py | RhysMurage/SchoolManagementSystem | 632e4e6f911571ea710e0f1705dca635938fc7f3 | [
"MIT"
] | null | null | null | schoolsystem/students/api/serializers.py | RhysMurage/SchoolManagementSystem | 632e4e6f911571ea710e0f1705dca635938fc7f3 | [
"MIT"
] | null | null | null | from django.db import models
from django.db.models import fields
from students.models import ClassGrade, ClassStreams, StudentClassInfo
from rest_framework import serializers
class ClassStreamsSerializer(serializers.ModelSerializer):
class Meta:
model = ClassStreams
fields = '__all__'
class... | 23.32 | 70 | 0.737564 | 53 | 583 | 7.867925 | 0.396226 | 0.18705 | 0.223022 | 0.251799 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205832 | 583 | 25 | 71 | 23.32 | 0.900648 | 0 | 0 | 0.375 | 0 | 0 | 0.035959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac3e00da6b0cd5c60139e25c0d116dac25c4c667 | 1,566 | py | Python | sdk/python/pulumi_alicloud/mns/__init__.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/mns/__init__.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/mns/__init__.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .get_queues import *
from .get_service import *
from .get_topic_subscriptions import *... | 36.418605 | 98 | 0.689655 | 184 | 1,566 | 5.706522 | 0.402174 | 0.066667 | 0.037143 | 0.08 | 0.280952 | 0.251429 | 0.251429 | 0.207619 | 0.207619 | 0 | 0 | 0.000806 | 0.207535 | 1,566 | 42 | 99 | 37.285714 | 0.845286 | 0.139847 | 0 | 0 | 1 | 0 | 0.138599 | 0.087183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.344828 | 0.034483 | 0.655172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ac46ffb1e9f5cd35e6049a58ae1b2b2998fc1db5 | 20,568 | py | Python | src/tarski/io/_fstrips/reader.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 29 | 2018-11-26T20:31:04.000Z | 2021-12-29T11:08:40.000Z | src/tarski/io/_fstrips/reader.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 101 | 2018-06-07T13:10:01.000Z | 2022-03-11T11:54:00.000Z | src/tarski/io/_fstrips/reader.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 18 | 2018-11-01T22:44:39.000Z | 2022-02-28T04:57:15.000Z | """
The loader imports the AST visitor from the parser directory - this directory is autogenerated by the
utils/parser appropriate scripts, and should not be manually modified.
"""
import copy
import logging
from antlr4 import FileStream, CommonTokenStream, InputStream
from antlr4.error.ErrorListener import ErrorLis... | 40.648221 | 120 | 0.681933 | 2,408 | 20,568 | 5.688123 | 0.194352 | 0.037819 | 0.040301 | 0.01117 | 0.281814 | 0.220559 | 0.167482 | 0.147624 | 0.105133 | 0.092137 | 0 | 0.001119 | 0.217911 | 20,568 | 505 | 121 | 40.728713 | 0.850367 | 0.121986 | 0 | 0.164265 | 1 | 0 | 0.039004 | 0.00117 | 0 | 0 | 0 | 0.00198 | 0.008646 | 1 | 0.253602 | false | 0.008646 | 0.037464 | 0.063401 | 0.504323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac4d9924ba6c183de3f810322c5e896a725f1023 | 335 | py | Python | desafios/desafio034.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | desafios/desafio034.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | desafios/desafio034.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | #SALÁRIO E AUMENTO | IF: OU ELSE:
salário = float(input('Qual é o salário do funcionário? R$'))
if salário <= 1250:
novosalário = salário + (salário * 15 / 100) #Aumento de 15%
else:
novosalário = salário + (salário * 10 / 100) #Aumento de 10%
print('Quem ganhava R${:.2f} passa a ganhar {:.2f}.'.format(salário,... | 41.875 | 82 | 0.665672 | 48 | 335 | 4.645833 | 0.583333 | 0.161435 | 0.224215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072993 | 0.18209 | 335 | 7 | 83 | 47.857143 | 0.740876 | 0.179104 | 0 | 0 | 0 | 0 | 0.290441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ac66f2997adeb5f0b663ab8e28e28319acdcfdda | 866 | py | Python | examples/utils.py | furimu1234/discord-ext-utils | 1cf792149d871926a97f2b9f83120ced7a5c79a1 | [
"MIT"
] | 1 | 2021-01-28T12:03:34.000Z | 2021-01-28T12:03:34.000Z | examples/utils.py | furimu1234/discord-ext-utils | 1cf792149d871926a97f2b9f83120ced7a5c79a1 | [
"MIT"
] | null | null | null | examples/utils.py | furimu1234/discord-ext-utils | 1cf792149d871926a97f2b9f83120ced7a5c79a1 | [
"MIT"
] | 2 | 2021-02-10T10:55:50.000Z | 2021-11-06T15:23:18.000Z | from pathlib import Path
from discord.ext import utils
# cogs/cog.py
# cogs/foo/cog.py
utils.get_extensions("cogs")
utils.get_extensions(Path("cogs"))
# -> ["cogs.cog", "cogs.foo.cog"]
utils.get_extensions("cogs", recursive=False)
# -> ["cogs.cog"]
# cogs/cog/__init__.py
# cogs/cog/util.py
# cogs/f... | 22.205128 | 64 | 0.65358 | 128 | 866 | 4.171875 | 0.148438 | 0.170412 | 0.269663 | 0.28839 | 0.720974 | 0.67603 | 0.617978 | 0.604869 | 0.40824 | 0.40824 | 0 | 0 | 0.135104 | 866 | 38 | 65 | 22.789474 | 0.712951 | 0.503464 | 0 | 0.7 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
ac6badfbe5914e29c0644a51ae4115e94e809c75 | 1,056 | py | Python | test/model/regiao.py | robertons/dbmodel | 628c4d6a2d0b23d9137015e5b0ea4551b20943bd | [
"MIT"
] | null | null | null | test/model/regiao.py | robertons/dbmodel | 628c4d6a2d0b23d9137015e5b0ea4551b20943bd | [
"MIT"
] | null | null | null | test/model/regiao.py | robertons/dbmodel | 628c4d6a2d0b23d9137015e5b0ea4551b20943bd | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
from dbmodel.entity import *
class Regiao(Entity):
__primary_key__ = ['id']
# FIELDS
@Int(pk=True, auto_increment=True, not_null=True, precision = 10, scale=0)
def id(self): pass
@Int(fk=True, not_null=True, precision = 10, scale=0)
def id_estado(self): pass
@String(max=100)
def reg... | 22 | 89 | 0.69697 | 161 | 1,056 | 4.447205 | 0.347826 | 0.134078 | 0.050279 | 0.094972 | 0.395251 | 0.367318 | 0.25419 | 0.103352 | 0.103352 | 0.103352 | 0 | 0.030435 | 0.128788 | 1,056 | 48 | 90 | 22 | 0.747826 | 0.048295 | 0 | 0.148148 | 0 | 0 | 0.103792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0.037037 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
ac7e971f3ab8381286422ed458408ec8b28bb155 | 66 | py | Python | examples/testpackage.py | green10-syntra-ab-python-adv/mastering-ch03 | 9c08c356ae5186eaf05dc9d066b20abba6400c6f | [
"BSD-2-Clause"
] | null | null | null | examples/testpackage.py | green10-syntra-ab-python-adv/mastering-ch03 | 9c08c356ae5186eaf05dc9d066b20abba6400c6f | [
"BSD-2-Clause"
] | null | null | null | examples/testpackage.py | green10-syntra-ab-python-adv/mastering-ch03 | 9c08c356ae5186eaf05dc9d066b20abba6400c6f | [
"BSD-2-Clause"
] | null | null | null | from examples.demopackage import *
a = ClassA()
b = ClassB()
| 7.333333 | 34 | 0.651515 | 8 | 66 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 66 | 8 | 35 | 8.25 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
3bb20f3a9a2b8a7d0bbfc485acba4d9c9ba84268 | 799 | py | Python | PyInstaller/hooks/hook-numpy._pytesttester.py | SnoopJeDi/pyinstaller | 20f922cdac0207e943395bcae4a23d597558c5f7 | [
"Apache-2.0"
] | null | null | null | PyInstaller/hooks/hook-numpy._pytesttester.py | SnoopJeDi/pyinstaller | 20f922cdac0207e943395bcae4a23d597558c5f7 | [
"Apache-2.0"
] | null | null | null | PyInstaller/hooks/hook-numpy._pytesttester.py | SnoopJeDi/pyinstaller | 20f922cdac0207e943395bcae4a23d597558c5f7 | [
"Apache-2.0"
] | null | null | null | # -----------------------------------------------------------------------------
# Copyright (c) 2013-2022, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License (version 2
# or later) with exception for distributing the bootloader.
#
# The full license is in the file COPYING.tx... | 47 | 118 | 0.620776 | 91 | 799 | 5.428571 | 0.736264 | 0.02834 | 0.044534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026874 | 0.115144 | 799 | 16 | 119 | 49.9375 | 0.671853 | 0.927409 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3bb59cfa30ed046396c9ca4d1d3ee6da6738b208 | 16,923 | py | Python | stubs.min/System/Windows/__init__.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/Windows/__init__.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Windows/__init__.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | # encoding: utf-8
# module System.Windows calls itself Windows
# from System,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089,PresentationFramework,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35,WindowsBase,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35,System.Windows.... | 65.848249 | 406 | 0.904154 | 1,569 | 16,923 | 8.977693 | 0.195666 | 0.138009 | 0.224265 | 0.00355 | 0.019523 | 0.019523 | 0.019523 | 0.019523 | 0.019523 | 0 | 0 | 0.005888 | 0.0767 | 16,923 | 256 | 407 | 66.105469 | 0.895616 | 0.042427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004082 | true | 0.004082 | 0.991837 | 0 | 0.995918 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
3bdaec06c4189a27823fefcabe5176edb8811f97 | 393 | py | Python | tests/testapp/models.py | datakortet/dkmodelfields | 85a150ba237afce75fc2d33d8727b9f1a3f2df2a | [
"MIT"
] | null | null | null | tests/testapp/models.py | datakortet/dkmodelfields | 85a150ba237afce75fc2d33d8727b9f1a3f2df2a | [
"MIT"
] | 3 | 2020-06-05T17:51:19.000Z | 2022-02-03T17:11:27.000Z | tests/testapp/models.py | datakortet/dkmodelfields | 85a150ba237afce75fc2d33d8727b9f1a3f2df2a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from django.db import models
from dkmodelfields import MonthField, YearField
class M(models.Model):
month = MonthField()
def __unicode__(self):
return unicode(self.month)
class Y(models.Model):
yr = YearField()
def __unicode__(self)... | 16.375 | 47 | 0.679389 | 49 | 393 | 5.285714 | 0.530612 | 0.169884 | 0.108108 | 0.15444 | 0.239382 | 0.239382 | 0 | 0 | 0 | 0 | 0 | 0.003236 | 0.21374 | 393 | 23 | 48 | 17.086957 | 0.834951 | 0.053435 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.076923 | 0.230769 | 0.153846 | 0.923077 | 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 |
3bdbe68e8ac0fa8c93bff24a5a3dff46a2c3d0bc | 12,243 | py | Python | lib/turkish_nltk/trnltk/morphology/morphotactics/suffixconditions.py | myasiny/wordembed | d4df516a4ac6eed71d1cc6e085638e895c525de6 | [
"MIT"
] | null | null | null | lib/turkish_nltk/trnltk/morphology/morphotactics/suffixconditions.py | myasiny/wordembed | d4df516a4ac6eed71d1cc6e085638e895c525de6 | [
"MIT"
] | null | null | null | lib/turkish_nltk/trnltk/morphology/morphotactics/suffixconditions.py | myasiny/wordembed | d4df516a4ac6eed71d1cc6e085638e895c525de6 | [
"MIT"
] | null | null | null | """
Copyright 2012 Ali Ok (aliokATapacheDOTorg)
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... | 33.269022 | 159 | 0.719105 | 1,421 | 12,243 | 5.743139 | 0.116819 | 0.057591 | 0.02708 | 0.027448 | 0.701385 | 0.632275 | 0.578238 | 0.500429 | 0.468202 | 0.458767 | 0 | 0.000821 | 0.203953 | 12,243 | 368 | 160 | 33.269022 | 0.836548 | 0.063955 | 0 | 0.573222 | 0 | 0 | 0.038951 | 0.026757 | 0 | 0 | 0 | 0 | 0 | 1 | 0.301255 | false | 0 | 0.004184 | 0.1841 | 0.711297 | 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 |
3be09d248c52f3a7fa7eb554e036139332821f02 | 52 | py | Python | mmtrack/models/sot/__init__.py | sht47/mmtracking | 5a25e418e9c598d1b576bce8702f5e156cbbefe7 | [
"Apache-2.0"
] | 12 | 2021-09-05T20:47:16.000Z | 2022-03-23T07:00:35.000Z | mmtrack/models/sot/__init__.py | hellock/mmtracking | a22a36b2055d80cf4a7a5ef3913849abb56defcb | [
"Apache-2.0"
] | 2 | 2021-09-06T13:20:09.000Z | 2022-01-13T05:36:14.000Z | mmtrack/models/sot/__init__.py | hellock/mmtracking | a22a36b2055d80cf4a7a5ef3913849abb56defcb | [
"Apache-2.0"
] | 1 | 2022-02-28T19:33:49.000Z | 2022-02-28T19:33:49.000Z | from .siamrpn import SiamRPN
__all__ = ['SiamRPN']
| 13 | 28 | 0.730769 | 6 | 52 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 3 | 29 | 17.333333 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 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 |
3bf231dc755b627c647d59186d0fff361eaef21d | 953 | py | Python | Bugscan_exploits-master/exp_list/exp-2691.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 11 | 2020-05-30T13:53:49.000Z | 2021-03-17T03:20:59.000Z | Bugscan_exploits-master/exp_list/exp-2691.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-13T03:25:18.000Z | 2020-07-21T06:24:16.000Z | Bugscan_exploits-master/exp_list/exp-2691.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-30T13:53:51.000Z | 2020-12-01T21:44:26.000Z | #!/usr/bin/evn python
#-*-:coding:utf-8 -*-
#Author:404
#Name:Gobetters视频会议系统post注入再来一枚
#Refer:http://www.wooyun.org/bugs/wooyun-2010-0134733
def assign(service,arg):
if service=="gobetter":
return True,arg
def audit(arg):
url=arg+"web/users/usersave.php"
post="from=123&deptid=0&... | 41.434783 | 404 | 0.701994 | 142 | 953 | 4.640845 | 0.725352 | 0.068285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180638 | 0.111228 | 953 | 23 | 405 | 41.434783 | 0.597403 | 0.13851 | 0 | 0 | 0 | 0.083333 | 0.618868 | 0.561006 | 0 | 0 | 0.005031 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ce069a1783da29f99cf180c01d69a7f108b32ba2 | 802 | py | Python | Python3/1323.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | Python3/1323.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | Python3/1323.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
class Solution:
def maximum69Number (self, num: int) -> int:
for idx in range(len(str(num))):
if str(num)[idx]=='6':
return int(str(num)[:idx]+'9'+str(num)[idx+1:])
return n... | 42.210526 | 98 | 0.690773 | 69 | 802 | 3.710145 | 0.405797 | 0.117188 | 0.105469 | 0.242188 | 0.34375 | 0.34375 | 0.34375 | 0.34375 | 0 | 0 | 0 | 0.017488 | 0.215711 | 802 | 18 | 99 | 44.555556 | 0.389507 | 0 | 0 | 0.388889 | 0 | 0 | 0.004988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 |
ce0e05183e2c48c40c1c8ef53fb17d6e82f0d2c3 | 282 | py | Python | copulas/bivariate/__init__.py | Chrisebell24/Copulas | cb6bdf51678ca175a6e4a49244d6f2060f183c85 | [
"MIT"
] | 1 | 2021-11-26T02:42:18.000Z | 2021-11-26T02:42:18.000Z | copulas/bivariate/__init__.py | Chrisebell24/Copulas | cb6bdf51678ca175a6e4a49244d6f2060f183c85 | [
"MIT"
] | null | null | null | copulas/bivariate/__init__.py | Chrisebell24/Copulas | cb6bdf51678ca175a6e4a49244d6f2060f183c85 | [
"MIT"
] | null | null | null | from copulas.bivariate.base import Bivariate, CopulaTypes
from copulas.bivariate.clayton import Clayton
from copulas.bivariate.frank import Frank
from copulas.bivariate.gumbel import Gumbel
__all__ = (
'Bivariate',
'Clayton',
'CopulaTypes',
'Frank',
'Gumbel'
)
| 21.692308 | 57 | 0.741135 | 31 | 282 | 6.612903 | 0.322581 | 0.214634 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 282 | 12 | 58 | 23.5 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ce1f25956befdd92a1b5f131070bf48fcb2e6c2c | 488 | py | Python | ceml/backend/tensorflow/costfunctions/losses.py | andreArtelt/ceml | 364d4630d6a01592c2ab86f2d53dbb7feb682381 | [
"MIT"
] | 24 | 2019-07-12T08:11:25.000Z | 2021-12-09T19:24:53.000Z | ceml/backend/tensorflow/costfunctions/losses.py | andreArtelt/ceml | 364d4630d6a01592c2ab86f2d53dbb7feb682381 | [
"MIT"
] | 6 | 2020-09-28T04:42:44.000Z | 2021-09-27T06:59:36.000Z | ceml/backend/tensorflow/costfunctions/losses.py | andreArtelt/ceml | 364d4630d6a01592c2ab86f2d53dbb7feb682381 | [
"MIT"
] | 7 | 2019-09-11T13:54:57.000Z | 2021-01-14T13:13:26.000Z | # -*- coding: utf-8 -*-
import tensorflow as tf
def min_of_list(x):
return tf.reduce_min(x)
def loglikelihood(y_pred, y_target):
return tf.math.log(y_pred)[y_target]
def negloglikelihood(y_pred, y_target):
return -1. * loglikelihood(y_pred, y_target)
def l1(x, x_orig):
return tf.reduce_sum(tf.abs(x... | 22.181818 | 60 | 0.682377 | 91 | 488 | 3.43956 | 0.351648 | 0.095847 | 0.095847 | 0.153355 | 0.514377 | 0.159744 | 0.159744 | 0.159744 | 0 | 0 | 0 | 0.012285 | 0.165984 | 488 | 21 | 61 | 23.238095 | 0.756757 | 0.043033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.461538 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ce25234b31fb01fc1c2ecfafac6a4e47e4aef502 | 45 | py | Python | client/Globals.py | klecko/Anime-Battle-Online | a2790e28331b7aac441a917f85aafc91fa39f89b | [
"MIT"
] | null | null | null | client/Globals.py | klecko/Anime-Battle-Online | a2790e28331b7aac441a917f85aafc91fa39f89b | [
"MIT"
] | null | null | null | client/Globals.py | klecko/Anime-Battle-Online | a2790e28331b7aac441a917f85aafc91fa39f89b | [
"MIT"
] | null | null | null | JugadoresEncontrados=[]
s = None #socket
| 11.25 | 24 | 0.688889 | 4 | 45 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 45 | 3 | 25 | 15 | 0.861111 | 0.133333 | 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 |
ce2844fa9a86a1748314bfd99883c4910bae5776 | 402 | py | Python | uarray/tests/conftest.py | person142/uarray | 49394a26ba2fd0813bff3412cc157884a9e55c6a | [
"BSD-3-Clause"
] | null | null | null | uarray/tests/conftest.py | person142/uarray | 49394a26ba2fd0813bff3412cc157884a9e55c6a | [
"BSD-3-Clause"
] | null | null | null | uarray/tests/conftest.py | person142/uarray | 49394a26ba2fd0813bff3412cc157884a9e55c6a | [
"BSD-3-Clause"
] | null | null | null | import sys
def pytest_cmdline_preparse(args):
try:
import pytest_black # type: ignore
except ImportError:
pass
else:
args.append("--black")
print("uarray: Enabling pytest-black")
try:
import pytest_mypy # type: ignore
except ImportError:
pass
... | 20.1 | 46 | 0.59204 | 43 | 402 | 5.44186 | 0.465116 | 0.076923 | 0.128205 | 0.230769 | 0.384615 | 0.384615 | 0.384615 | 0.384615 | 0 | 0 | 0 | 0 | 0.310945 | 402 | 19 | 47 | 21.157895 | 0.844765 | 0.062189 | 0 | 0.5 | 0 | 0 | 0.187166 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.125 | 0.3125 | 0 | 0.375 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
ce416cd9c084bb672743b4be7eacc6389aed2961 | 445 | py | Python | instarepo/fixers/naming_test.py | ngeor/instarepo | e64f452bac9471b42c9adf57de53f3660c1bcc70 | [
"MIT"
] | null | null | null | instarepo/fixers/naming_test.py | ngeor/instarepo | e64f452bac9471b42c9adf57de53f3660c1bcc70 | [
"MIT"
] | 43 | 2019-01-13T07:09:53.000Z | 2022-03-18T05:52:03.000Z | instarepo/fixers/naming_test.py | ngeor/instarepo | e64f452bac9471b42c9adf57de53f3660c1bcc70 | [
"MIT"
] | null | null | null | """Unit tests for naming.py"""
import instarepo.fixers.dotnet
import instarepo.fixers.maven
from .naming import fixer_class_to_fixer_key
def test_fixer_class_to_fixer_key():
"""Tests various fixer classes can be mapped to a key"""
assert (
fixer_class_to_fixer_key(instarepo.fixers.dotnet.MustHaveCIF... | 27.8125 | 81 | 0.746067 | 64 | 445 | 4.890625 | 0.46875 | 0.191693 | 0.153355 | 0.217252 | 0.389776 | 0.261981 | 0.261981 | 0.261981 | 0 | 0 | 0 | 0 | 0.157303 | 445 | 15 | 82 | 29.666667 | 0.834667 | 0.168539 | 0 | 0 | 0 | 0 | 0.077994 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.111111 | true | 0 | 0.333333 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
02166ae206ecc89d9b0e2fd3470673b1af90c899 | 186 | py | Python | tests/exceptKeyboardInterrupt.py | Tasssadar/mkdoxy | 8d5f563dc83cd90d3f1db4e171580bf56a391a6b | [
"MIT"
] | null | null | null | tests/exceptKeyboardInterrupt.py | Tasssadar/mkdoxy | 8d5f563dc83cd90d3f1db4e171580bf56a391a6b | [
"MIT"
] | 19 | 2021-08-16T21:48:03.000Z | 2021-11-13T18:13:56.000Z | tests/exceptKeyboardInterrupt.py | JakubAndrysek/mkdocs-doxygen-snippets-plugin | 9caadb772083e134dd67e59f7981245223b6ce78 | [
"MIT"
] | 1 | 2021-11-16T15:58:25.000Z | 2021-11-16T15:58:25.000Z | import time
if __name__ == '__main__':
try:
while True:
time.sleep(1)
print("Hi")
except KeyboardInterrupt:
print("End KeyboardInterrupt")
print("After KeyboardInterrupt") | 16.909091 | 33 | 0.709677 | 21 | 186 | 5.904762 | 0.761905 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.166667 | 186 | 11 | 33 | 16.909091 | 0.793548 | 0 | 0 | 0 | 0 | 0 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
021d1b1cfd72ffc2c746631bde80fc819f18c96a | 185 | py | Python | p52/solve.py | josephok/ProjectEuler | 104e9f2ec910b748745fb346e3bd266d266b3dc8 | [
"WTFPL"
] | null | null | null | p52/solve.py | josephok/ProjectEuler | 104e9f2ec910b748745fb346e3bd266d266b3dc8 | [
"WTFPL"
] | null | null | null | p52/solve.py | josephok/ProjectEuler | 104e9f2ec910b748745fb346e3bd266d266b3dc8 | [
"WTFPL"
] | null | null | null | i = 125874
while True:
if sorted(str(i)) == sorted(str(i * 2)) == sorted(str(i * 3)) == sorted(str(i * 4)) == sorted(str(i * 5)) == sorted(str(i * 6)):
break
else:
i += 1
print(i) | 26.428571 | 129 | 0.540541 | 34 | 185 | 2.941176 | 0.470588 | 0.54 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.205405 | 185 | 7 | 130 | 26.428571 | 0.598639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0235432a1955e5e11112deacf46d1771ca344b03 | 1,804 | py | Python | infoblox_netmri/api/remote/models/device_viewer_router_raw_qos_grid_remote.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/remote/models/device_viewer_router_raw_qos_grid_remote.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/remote/models/device_viewer_router_raw_qos_grid_remote.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | from ..remote import RemoteModel
from infoblox_netmri.utils.utils import check_api_availability
class DeviceViewerRouterRawQosGridRemote(RemoteModel):
"""
| ``id:`` none
| ``attribute type:`` string
| ``DeviceID:`` none
| ``attribute type:`` string
| ``StartTime:`` no... | 20.269663 | 62 | 0.458426 | 107 | 1,804 | 7.700935 | 0.299065 | 0.23665 | 0.309466 | 0.418689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.407982 | 1,804 | 89 | 63 | 20.269663 | 0.771536 | 0.466741 | 0 | 0 | 0 | 0 | 0.222661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0259d95b8c6941b0304b035ce196e320cdf0c33c | 498 | py | Python | tests/example/test_inc_dec.py | SABS-R3-projects/test-driven-development-practice | da48869c4758a8e325cc6b37090a1bc461304f1a | [
"BSD-3-Clause"
] | null | null | null | tests/example/test_inc_dec.py | SABS-R3-projects/test-driven-development-practice | da48869c4758a8e325cc6b37090a1bc461304f1a | [
"BSD-3-Clause"
] | null | null | null | tests/example/test_inc_dec.py | SABS-R3-projects/test-driven-development-practice | da48869c4758a8e325cc6b37090a1bc461304f1a | [
"BSD-3-Clause"
] | null | null | null | import PAID.example.inc_dec as inc_dec # The code to test
import unittest
from hypothesis import given, settings
import hypothesis.strategies as st
def test_increment():
assert inc_dec.increment(3) == 4
def test_decrement():
assert inc_dec.decrement(3) == 2
class TestSimple(unittest.TestCase):
# @ gi... | 29.294118 | 63 | 0.694779 | 74 | 498 | 4.527027 | 0.540541 | 0.071642 | 0.071642 | 0.095522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029925 | 0.194779 | 498 | 17 | 64 | 29.294118 | 0.805486 | 0.126506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0261cf3252ff06cc7c0dd04722c099f7d4d1fb66 | 180 | py | Python | src/anyconfig_configobj_backend/__init__.py | ssato/python-anyconfig-configobj-backend | d447cf0e718b88280631db79fe9b2e5f761af1a2 | [
"MIT"
] | null | null | null | src/anyconfig_configobj_backend/__init__.py | ssato/python-anyconfig-configobj-backend | d447cf0e718b88280631db79fe9b2e5f761af1a2 | [
"MIT"
] | null | null | null | src/anyconfig_configobj_backend/__init__.py | ssato/python-anyconfig-configobj-backend | d447cf0e718b88280631db79fe9b2e5f761af1a2 | [
"MIT"
] | 1 | 2015-01-30T09:56:13.000Z | 2015-01-30T09:56:13.000Z | """anyconfig configobj backend module.
"""
from __future__ import absolute_import
from .configobj_ import Parser
__version__ = "0.1.4"
__all__ = ["Parser", ]
# vim:sw=4:ts=4:et:
| 18 | 38 | 0.722222 | 25 | 180 | 4.64 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032051 | 0.133333 | 180 | 9 | 39 | 20 | 0.711538 | 0.3 | 0 | 0 | 0 | 0 | 0.092437 | 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 |
0273ba271dd62fcd323f431b027e83e2440d9120 | 167 | py | Python | icekit/content_collections/admin.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 52 | 2016-09-13T03:50:58.000Z | 2022-02-23T16:25:08.000Z | icekit/content_collections/admin.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 304 | 2016-08-11T14:17:30.000Z | 2020-07-22T13:35:18.000Z | icekit/content_collections/admin.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 12 | 2016-09-21T18:46:35.000Z | 2021-02-15T19:37:50.000Z | from django.contrib import admin
class TitleSlugAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("title",)}
search_fields = ('title', 'slug', 'id',)
| 23.857143 | 46 | 0.682635 | 18 | 167 | 6.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149701 | 167 | 6 | 47 | 27.833333 | 0.788732 | 0 | 0 | 0 | 0 | 0 | 0.11976 | 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 |
02804fda09fdade522b2f2ac266d09cf55f3fee7 | 116 | py | Python | FreeTAKServer/model/FTSModelVariables/ToolVariables.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 27 | 2020-05-01T01:45:59.000Z | 2020-07-03T00:17:13.000Z | FreeTAKServer/model/FTSModelVariables/ToolVariables.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 34 | 2020-04-26T11:25:52.000Z | 2020-07-03T21:06:34.000Z | FreeTAKServer/model/FTSModelVariables/ToolVariables.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 15 | 2020-05-01T01:46:07.000Z | 2020-07-03T12:14:04.000Z | class ToolVariables:
@classmethod
def ExcheckUpdate(cls):
cls.INTAG = "ExCheck"
return cls
| 16.571429 | 29 | 0.62069 | 11 | 116 | 6.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301724 | 116 | 6 | 30 | 19.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.06087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0281c5f02f0f9dc9cbc8eb1ac251c32e1496e702 | 647 | py | Python | src/crackn/logging.py | cpear98/CRACKn | 6ef1ec144d3d23c98b1d263abba68f4112be8716 | [
"MIT"
] | 1 | 2021-04-07T06:08:32.000Z | 2021-04-07T06:08:32.000Z | src/crackn/logging.py | cpear98/CRACKn | 6ef1ec144d3d23c98b1d263abba68f4112be8716 | [
"MIT"
] | null | null | null | src/crackn/logging.py | cpear98/CRACKn | 6ef1ec144d3d23c98b1d263abba68f4112be8716 | [
"MIT"
] | null | null | null | import crackn.settings as settings
indent = 13
def _generate_message(msg_type, text):
spaces = ' ' * (indent - (len(msg_type) + 3)) # 3 is for the brackets and colon
return f'[{msg_type}]:{spaces}{text}'
def _print_message(msg_type, text, urgency):
if urgency >= settings.log_level:
print(_generat... | 29.409091 | 83 | 0.697063 | 92 | 647 | 4.684783 | 0.402174 | 0.229698 | 0.097448 | 0.12529 | 0.12065 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014787 | 0.163833 | 647 | 22 | 84 | 29.409091 | 0.781885 | 0.047913 | 0 | 0 | 1 | 0 | 0.079675 | 0.043902 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.0625 | 0 | 0.5 | 0.375 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02833d704bf323e855ad207f686737d6207e8ce1 | 1,050 | py | Python | setup.py | xiongchiamiov/zoom | 288df51ad2034a388b8c15543980537280c94d76 | [
"MIT"
] | 3 | 2017-01-05T03:02:13.000Z | 2020-04-20T08:44:08.000Z | setup.py | xiongchiamiov/zoom | 288df51ad2034a388b8c15543980537280c94d76 | [
"MIT"
] | 3 | 2022-03-06T00:46:22.000Z | 2022-03-06T00:46:41.000Z | setup.py | xiongchiamiov/zoom | 288df51ad2034a388b8c15543980537280c94d76 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from setuptools import setup
setup(
name='zoom_shortener',
version='0.2.0',
url='https://github.com/xiongchiamiov/zoom',
author='James Pearson Hughes',
author_email='pearson@changedmy.name',
install_requires=(
'Flask >= 0.11.1, < 0.12',
'gevent >= 1.2.0, ... | 30 | 56 | 0.574286 | 108 | 1,050 | 5.527778 | 0.592593 | 0.159129 | 0.20938 | 0.217755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034749 | 0.26 | 1,050 | 34 | 57 | 30.882353 | 0.733591 | 0.02 | 0 | 0 | 0 | 0 | 0.585603 | 0.021401 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.032258 | 0 | 0.032258 | 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 |
65efed74344c0074fce7a5e6e736d12c2de7fe79 | 20,390 | py | Python | estates/estates_pb2_grpc.py | MruV-RP/mruv-pb-python | 2a640f7667d23f39e50ccc9ba73c98138c6839b5 | [
"MIT"
] | null | null | null | estates/estates_pb2_grpc.py | MruV-RP/mruv-pb-python | 2a640f7667d23f39e50ccc9ba73c98138c6839b5 | [
"MIT"
] | 1 | 2020-11-25T09:52:48.000Z | 2020-11-25T09:52:48.000Z | estates/estates_pb2_grpc.py | MruV-RP/mruv-pb-python | 2a640f7667d23f39e50ccc9ba73c98138c6839b5 | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from estates import estates_pb2 as estates_dot_estates__pb2
class MruVEstateServiceStub(object):
"""The MruV estate service provides procedures for managin... | 45.820225 | 115 | 0.665669 | 1,747 | 20,390 | 7.453349 | 0.08071 | 0.056831 | 0.095308 | 0.112127 | 0.835804 | 0.795715 | 0.55111 | 0.422241 | 0.422241 | 0.422241 | 0 | 0.004927 | 0.263364 | 20,390 | 444 | 116 | 45.923423 | 0.861984 | 0.04409 | 0 | 0.516129 | 1 | 0 | 0.090872 | 0.055318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069892 | false | 0 | 0.005376 | 0.032258 | 0.115591 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a0724d37fb638b451321d18e08dde5554ae4729 | 677 | py | Python | 2018 (Learning New)/methods.py | Alperencode/Python | 6cd1ce6afb76011ec25d567a988367f8522e7461 | [
"MIT"
] | 1 | 2022-03-07T18:57:40.000Z | 2022-03-07T18:57:40.000Z | 2018 (Learning New)/methods.py | Alperencode/Python | 6cd1ce6afb76011ec25d567a988367f8522e7461 | [
"MIT"
] | null | null | null | 2018 (Learning New)/methods.py | Alperencode/Python | 6cd1ce6afb76011ec25d567a988367f8522e7461 | [
"MIT"
] | null | null | null | #%%
class Book:
def __init__(self,author,name,pageNum):
self.__author = author
self.__name = name
self.__pageNum = pageNum
def getAuthor(self):
return self.__author
def getName(self):
return self.__name
def getPageNum(self):
return self.__pageNu... | 19.342857 | 120 | 0.590842 | 81 | 677 | 4.469136 | 0.37037 | 0.138122 | 0.154696 | 0.116022 | 0.132597 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.286558 | 677 | 34 | 121 | 19.911765 | 0.743271 | 0.005908 | 0 | 0.1 | 0 | 0 | 0.128167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0 | 0.25 | 0.65 | 0.1 | 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 |
5a1c9a0af59cd17b90adc2fed472a34fa6483804 | 747 | py | Python | src/ash/gui/cursorPosition.py | Rolando-Zarate/ash | 6672ec5d2931d39689e712fa476bbadb8733a739 | [
"MIT"
] | 40 | 2020-07-24T06:36:25.000Z | 2022-03-29T11:25:37.000Z | src/ash/gui/cursorPosition.py | Rolando-Zarate/ash | 6672ec5d2931d39689e712fa476bbadb8733a739 | [
"MIT"
] | 12 | 2020-12-22T02:56:05.000Z | 2022-02-18T17:59:16.000Z | src/ash/gui/cursorPosition.py | Rolando-Zarate/ash | 6672ec5d2931d39689e712fa476bbadb8733a739 | [
"MIT"
] | 3 | 2021-02-12T11:49:39.000Z | 2021-07-23T21:17:26.000Z | # ---------------------------------------------------------------------------------------------
# Copyright (c) Akash Nag. All rights reserved.
# Licensed under the MIT License. See LICENSE.md in the project root for license information.
# ------------------------------------------------------------------------------... | 39.315789 | 95 | 0.511379 | 81 | 747 | 4.567901 | 0.54321 | 0.094595 | 0.07027 | 0.091892 | 0.097297 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003135 | 0.145917 | 747 | 19 | 96 | 39.315789 | 0.576803 | 0.669344 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5a30ac12b4a92a6e4ee985f39f3b42cea6176be8 | 220 | py | Python | index.py | Filco306/docker-tutorial | b18e9f37d72861289eaeeb41ddedaa2998ba4c59 | [
"MIT"
] | null | null | null | index.py | Filco306/docker-tutorial | b18e9f37d72861289eaeeb41ddedaa2998ba4c59 | [
"MIT"
] | 2 | 2021-04-06T18:20:31.000Z | 2021-06-02T03:31:30.000Z | index.py | Filco306/docker-tutorial | b18e9f37d72861289eaeeb41ddedaa2998ba4c59 | [
"MIT"
] | null | null | null | from src.run import app
import logging
import os
logging.basicConfig(level=os.environ.get("LOGGING_LEVEL", "INFO"))
if __name__ == "__main__":
app.run("0.0.0.0", debug=os.environ.get("IS_PROD", "FALSE") == "TRUE")
| 24.444444 | 74 | 0.695455 | 35 | 220 | 4.085714 | 0.6 | 0.041958 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020513 | 0.113636 | 220 | 8 | 75 | 27.5 | 0.712821 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 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 |
5a45d71239e5b085babf6e122410bb56e7d1b1ce | 1,173 | py | Python | netcal/metrics/__init__.py | by-liu/calibration-framework | f1995512fea511572171974913fe5b569cac0cd0 | [
"Apache-2.0"
] | 148 | 2019-10-29T03:23:04.000Z | 2022-03-30T12:36:20.000Z | netcal/metrics/__init__.py | EFS-OpenSource/calibration-framework | 7b306e4bbe6361d411b209759b7ba3d016bd0d17 | [
"Apache-2.0"
] | 19 | 2020-02-05T06:00:07.000Z | 2022-03-17T06:37:19.000Z | netcal/metrics/__init__.py | EFS-OpenSource/calibration-framework | 7b306e4bbe6361d411b209759b7ba3d016bd0d17 | [
"Apache-2.0"
] | 25 | 2019-11-30T23:03:01.000Z | 2022-02-16T20:40:29.000Z | # Copyright (C) 2019-2021 Ruhr West University of Applied Sciences, Bottrop, Germany
# AND Elektronische Fahrwerksysteme GmbH, Gaimersheim Germany
#
# This Source Code Form is subject to the terms of the Apache License 2.0
# If a copy of the APL2 was not distributed with this
# file, You can obtain one at https://www.a... | 33.514286 | 108 | 0.760443 | 176 | 1,173 | 5.045455 | 0.573864 | 0.054054 | 0.02027 | 0.038288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013347 | 0.16965 | 1,173 | 34 | 109 | 34.5 | 0.898357 | 0.85081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5a57bf7a247418050344a79a26a1088dd50c242d | 178 | py | Python | app/storage_backends.py | DanielOram/S3-Image-Upload | 31bb9ecdc9c83ea46ab3c451a82bb68b9da9a932 | [
"MIT"
] | null | null | null | app/storage_backends.py | DanielOram/S3-Image-Upload | 31bb9ecdc9c83ea46ab3c451a82bb68b9da9a932 | [
"MIT"
] | null | null | null | app/storage_backends.py | DanielOram/S3-Image-Upload | 31bb9ecdc9c83ea46ab3c451a82bb68b9da9a932 | [
"MIT"
] | null | null | null | from storages.backends.s3boto3 import S3Boto3Storage
class S3MediaStorage(S3Boto3Storage):
location = 's3-upload/'
default_acl = 'public-read'
file_overwrite = False | 29.666667 | 52 | 0.764045 | 19 | 178 | 7.052632 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05298 | 0.151685 | 178 | 6 | 53 | 29.666667 | 0.834437 | 0 | 0 | 0 | 0 | 0 | 0.117318 | 0 | 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 |
5a5dd1de9162282474ab9ea0d7701b49fceba9f8 | 377 | py | Python | ohr/oh/factory.py | gipi/OHR | 14a8cf143c74aa71af3331e6945bbe839d6fbbd8 | [
"BSD-3-Clause"
] | null | null | null | ohr/oh/factory.py | gipi/OHR | 14a8cf143c74aa71af3331e6945bbe839d6fbbd8 | [
"BSD-3-Clause"
] | 3 | 2015-12-07T16:55:43.000Z | 2017-03-06T09:40:33.000Z | ohr/oh/factory.py | gipi/OHR | 14a8cf143c74aa71af3331e6945bbe839d6fbbd8 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from .models import OpenHardware
import factory
class OpenHardwareFactory(factory.django.DjangoModelFactory):
class Meta:
model = OpenHardware
name = factory.Sequence(lambda n: 'name {0}'.format(n))
slug = factory.Sequence(lambda n: 'slug-{0}'.format(n))
... | 34.272727 | 61 | 0.740053 | 46 | 377 | 5.956522 | 0.565217 | 0.094891 | 0.153285 | 0.160584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028125 | 0.151194 | 377 | 11 | 62 | 34.272727 | 0.828125 | 0 | 0 | 0 | 0 | 0 | 0.042328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ce574684ab2a81e6780be50ee61a1654bf481aeb | 290 | py | Python | array/repeated_n_times.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | array/repeated_n_times.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | array/repeated_n_times.py | elenaborisova/LeetCode-Solutions | 98376aab7fd150a724e316357ae5ea46988d9eac | [
"MIT"
] | null | null | null | def repeated_n_times(nums):
# nums.length == 2 * n
n = len(nums) // 2
for num in nums:
if nums.count(num) == n:
return num
print(repeated_n_times([1, 2, 3, 3]))
print(repeated_n_times([2, 1, 2, 5, 3, 2]))
print(repeated_n_times([5, 1, 5, 2, 5, 3, 5, 4]))
| 22.307692 | 49 | 0.555172 | 54 | 290 | 2.833333 | 0.351852 | 0.235294 | 0.366013 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 0.262069 | 290 | 12 | 50 | 24.166667 | 0.621495 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0.375 | 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 |
ce5dd1a2afbf00e9e4d91900ff1161ed385a5651 | 109 | py | Python | src/stopover/__init__.py | labteral/stopover-python | 9cc3eb7f8e0d90fc543f1681ca992e1e13b6c4fc | [
"Apache-2.0"
] | null | null | null | src/stopover/__init__.py | labteral/stopover-python | 9cc3eb7f8e0d90fc543f1681ca992e1e13b6c4fc | [
"Apache-2.0"
] | null | null | null | src/stopover/__init__.py | labteral/stopover-python | 9cc3eb7f8e0d90fc543f1681ca992e1e13b6c4fc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .stopover import * # noqa F403
__version__ = '1.219.1'
| 15.571429 | 36 | 0.614679 | 16 | 109 | 3.9375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0.183486 | 109 | 6 | 37 | 18.166667 | 0.606742 | 0.477064 | 0 | 0 | 0 | 0 | 0.12963 | 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 |
ce92a7943dad8cb59f09964ebbbf321b48fd7105 | 5,245 | py | Python | comfortclassVisitor.py | anonymouse17/comfortclass | b42a1eeea39c140833460a988ede3fc11bd3c232 | [
"MIT"
] | null | null | null | comfortclassVisitor.py | anonymouse17/comfortclass | b42a1eeea39c140833460a988ede3fc11bd3c232 | [
"MIT"
] | null | null | null | comfortclassVisitor.py | anonymouse17/comfortclass | b42a1eeea39c140833460a988ede3fc11bd3c232 | [
"MIT"
] | null | null | null | # Generated from comfortclass.g4 by ANTLR 4.7
from antlr4 import *
if __name__ is not None and "." in __name__:
from .comfortclassParser import comfortclassParser
else:
from comfortclassParser import comfortclassParser
# This class defines a complete generic visitor for a parse tree produced by comfortclassPar... | 34.281046 | 96 | 0.756339 | 560 | 5,245 | 7.032143 | 0.207143 | 0.044185 | 0.073641 | 0.132555 | 0.504317 | 0.504317 | 0.494667 | 0.483748 | 0.483748 | 0.483748 | 0 | 0.000926 | 0.17674 | 5,245 | 153 | 97 | 34.281046 | 0.91107 | 0.33632 | 0 | 0.444444 | 1 | 0 | 0.000292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.063492 | 0.444444 | 0.968254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
cea5587ddea6ac77897dfb986d5aa3daf22dbea6 | 693 | py | Python | hm_web/migrations/0002_auto_20180121_0111.py | dantswain/heavy_meta | c3154130c2c951f1a5b46174193157625bb1be17 | [
"MIT"
] | null | null | null | hm_web/migrations/0002_auto_20180121_0111.py | dantswain/heavy_meta | c3154130c2c951f1a5b46174193157625bb1be17 | [
"MIT"
] | null | null | null | hm_web/migrations/0002_auto_20180121_0111.py | dantswain/heavy_meta | c3154130c2c951f1a5b46174193157625bb1be17 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-01-21 01:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hm_web', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='song',
name='note',
field=... | 23.896552 | 58 | 0.546898 | 70 | 693 | 5.342857 | 0.514286 | 0.160428 | 0.200535 | 0.23262 | 0.516043 | 0.516043 | 0.516043 | 0.516043 | 0.516043 | 0.395722 | 0 | 0.04086 | 0.329004 | 693 | 28 | 59 | 24.75 | 0.763441 | 0.064935 | 0 | 0.545455 | 1 | 0 | 0.066563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ceac3717b4b8a9d3c3e1215c058ff6e01795960e | 2,939 | py | Python | core/migrations/0024_docente_turma.py | ArthurGorgonio/suggestclasses | 7e6ce79cca6cd92ed8a38b12707f900f019508c8 | [
"MIT"
] | null | null | null | core/migrations/0024_docente_turma.py | ArthurGorgonio/suggestclasses | 7e6ce79cca6cd92ed8a38b12707f900f019508c8 | [
"MIT"
] | null | null | null | core/migrations/0024_docente_turma.py | ArthurGorgonio/suggestclasses | 7e6ce79cca6cd92ed8a38b12707f900f019508c8 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.7 on 2019-11-22 19:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0023_auto_20191103_1214'),
]
operations = [
migrations.CreateModel(
name='Docente',
fields=[
... | 46.650794 | 114 | 0.553249 | 257 | 2,939 | 6.124514 | 0.36965 | 0.162008 | 0.194409 | 0.259212 | 0.34371 | 0.195044 | 0.100381 | 0.100381 | 0.100381 | 0.100381 | 0 | 0.032477 | 0.298061 | 2,939 | 62 | 115 | 47.403226 | 0.73049 | 0.015311 | 0 | 0.214286 | 1 | 0 | 0.165284 | 0.032158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ceacbaea7757f78978965f6790c744242aad897d | 160 | py | Python | Atividades/8.py | luizhenrique01/Python | 7b397633d68741c747a42672fc0d3baf8bc0bb3c | [
"MIT"
] | null | null | null | Atividades/8.py | luizhenrique01/Python | 7b397633d68741c747a42672fc0d3baf8bc0bb3c | [
"MIT"
] | null | null | null | Atividades/8.py | luizhenrique01/Python | 7b397633d68741c747a42672fc0d3baf8bc0bb3c | [
"MIT"
] | null | null | null | kelvin = float(input("Enter a kelvin temperature for the conversion to celsius: "))
celsius = kelvin - 273.15
print(f"Temperature in fahrenheit is: {celsius}")
| 40 | 83 | 0.75 | 23 | 160 | 5.217391 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036232 | 0.1375 | 160 | 3 | 84 | 53.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.60625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ced0c9bc95ebc5aed801be61f60762f88e5a216e | 1,192 | py | Python | downloader/src/my_exceptions.py | dlf412/thunderCopyright | c736c9eefc7c934cc830d9d6f27a00cf147e02aa | [
"MIT"
] | 1 | 2021-06-10T02:56:43.000Z | 2021-06-10T02:56:43.000Z | downloader/src/my_exceptions.py | dlf412/thunderCopyright | c736c9eefc7c934cc830d9d6f27a00cf147e02aa | [
"MIT"
] | null | null | null | downloader/src/my_exceptions.py | dlf412/thunderCopyright | c736c9eefc7c934cc830d9d6f27a00cf147e02aa | [
"MIT"
] | 1 | 2020-03-25T23:55:58.000Z | 2020-03-25T23:55:58.000Z | #!/usr/bin/python
#!encoding:utf-8
from const import OFFLINE_HTTP_ERROR, OFFLINE_GENURL_ERROR, OFFLINE_STATUS_ERROR, \
OFFLINE_UNKNOWN_ERROR, OFFLINE_DOWNLOAD_ERROR, OFFLINE_TIMEOUT
class MyException(Exception): pass
class HttpError(MyException):
def __init__(self, message):
super(HttpError, self)._... | 24.326531 | 83 | 0.72651 | 131 | 1,192 | 6.076336 | 0.251908 | 0.105528 | 0.135678 | 0.165829 | 0.497487 | 0.497487 | 0 | 0 | 0 | 0 | 0 | 0.001027 | 0.182886 | 1,192 | 48 | 84 | 24.833333 | 0.816222 | 0.026007 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.037037 | 0.037037 | 0 | 0.518519 | 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 | 0 | 1 | 0 | 0 | 3 |
0c77ab8aa0717e0ba4c121cba9f2487c95745d80 | 13,032 | py | Python | empress/tests/test_tree.py | YimengYang/phyloviz | 0bd2dcc22bc2e47f9c020181bf666030a620decb | [
"BSD-3-Clause"
] | null | null | null | empress/tests/test_tree.py | YimengYang/phyloviz | 0bd2dcc22bc2e47f9c020181bf666030a620decb | [
"BSD-3-Clause"
] | null | null | null | empress/tests/test_tree.py | YimengYang/phyloviz | 0bd2dcc22bc2e47f9c020181bf666030a620decb | [
"BSD-3-Clause"
] | 2 | 2017-12-05T23:44:35.000Z | 2018-01-13T23:46:44.000Z | # ----------------------------------------------------------------------------
# Copyright (c) 2018--, empress development team.
#
# Distributed under the terms of the Modified BSD License.
#
# ----------------------------------------------------------------------------
import unittest
import numpy as np
import pandas ... | 36.2 | 79 | 0.413521 | 1,113 | 13,032 | 4.655885 | 0.2354 | 0.141258 | 0.185257 | 0.069471 | 0.625434 | 0.601698 | 0.579313 | 0.534929 | 0.510228 | 0.443072 | 0 | 0.285672 | 0.475675 | 13,032 | 359 | 80 | 36.300836 | 0.472706 | 0.024401 | 0 | 0.607251 | 0 | 0.003021 | 0.053597 | 0.003148 | 0 | 0 | 0 | 0 | 0.024169 | 1 | 0.030211 | false | 0 | 0.024169 | 0.003021 | 0.063444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0c8a97fc2393c43c7f89795d15f0364d5177a168 | 207 | py | Python | kaggle_adcal_2021/model/sample.py | sinchir0/kaggle_adcal_2021 | 15eec5c3b99e98afc07c11c278230191379a1e30 | [
"MIT"
] | null | null | null | kaggle_adcal_2021/model/sample.py | sinchir0/kaggle_adcal_2021 | 15eec5c3b99e98afc07c11c278230191379a1e30 | [
"MIT"
] | null | null | null | kaggle_adcal_2021/model/sample.py | sinchir0/kaggle_adcal_2021 | 15eec5c3b99e98afc07c11c278230191379a1e30 | [
"MIT"
] | null | null | null | from logging import getLogger
from kaggle_adcal_2021.utils.template import GokartTask
logger = getLogger(__name__)
class Sample(GokartTask):
def run(self) -> None:
self.dump("sample output")
| 18.818182 | 55 | 0.743961 | 26 | 207 | 5.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.169082 | 207 | 10 | 56 | 20.7 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.062802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0ca82582de689599a64ca7e257ade4953e831430 | 55 | py | Python | Problems/Single-element list/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | null | null | null | Problems/Single-element list/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | null | null | null | Problems/Single-element list/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | null | null | null | one_list = ['Helen']
name = list(one_list)
print(name)
| 13.75 | 21 | 0.690909 | 9 | 55 | 4 | 0.555556 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 3 | 22 | 18.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0cd87c569ba45fab7e261261b69ab3392bc8c456 | 254 | py | Python | 1_1_Image_Representation/DayNight/Process.py | OpenJ92/CVND_Exercises | 65a299bed00cad485a011dfd427c0594947a755c | [
"MIT"
] | null | null | null | 1_1_Image_Representation/DayNight/Process.py | OpenJ92/CVND_Exercises | 65a299bed00cad485a011dfd427c0594947a755c | [
"MIT"
] | null | null | null | 1_1_Image_Representation/DayNight/Process.py | OpenJ92/CVND_Exercises | 65a299bed00cad485a011dfd427c0594947a755c | [
"MIT"
] | null | null | null | from DayNight.Load import Load
from DayNight.Transform import Transform
class Process(object):
def __init__(self, load, transforms):
self.load = load
self.transforms = transforms
def transforms_load(self):
pass
| 21.166667 | 41 | 0.673228 | 29 | 254 | 5.724138 | 0.448276 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259843 | 254 | 11 | 42 | 23.090909 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.